code logs -> 2017 -> Tue, 11 Apr 2017< code.20170410.log - code.20170412.log >
--- Log opened Tue Apr 11 00:00:49 2017
00:20 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
00:29 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
00:31 Derakon[AFK] is now known as Derakon
00:46 himi [sjjf@Nightstar-9i1.672.56.130.IP] has joined #code
00:46 mode/#code [+o himi] by ChanServ
00:47 Turaiel[Offline] is now known as Turaiel
00:47 Turaiel is now known as Tur|Game
00:59 Jessikat [Jessikat@Nightstar-1eq.jtr.132.82.IP] has joined #code
01:07 * McMartin dubs this project SHEPHERD MEHITABEL GREEN
02:02 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
02:02 Kindamoody is now known as Kindamoody[zZz]
02:05 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
02:05 mode/#code [+o Alek] by ChanServ
02:32 Jessikat` [Jessikat@Nightstar-qht9ur.dab.02.net] has joined #code
02:34 Jessikat [Jessikat@Nightstar-1eq.jtr.132.82.IP] has quit [Ping timeout: 121 seconds]
02:51 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
02:54 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
03:05 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed]
03:06 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
03:06 mode/#code [+o Syloq] by ChanServ
03:57 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
03:57 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
03:57 mode/#code [+o Reiv] by ChanServ
03:59 * Vornicus rejiggers his unit test rig so he just goes to a terminal window and hits space for it to redo the tests.
04:04 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
04:14 * McMartin writes Hello World in ARM assembler for RISC OS.
04:14
<&McMartin>
24 bytes, tying MS-DOS's record.
04:14 * McMartin sets WinAmp to playing "Six Words Long", as is only appropriate.
04:56 Derakon is now known as Derakon[AFK]
04:57
<@Reiv>
??
05:13
<&McMartin>
https://www.youtube.com/watch?v=_uyyQlIIE5k
05:13
<&McMartin>
The program is written for a 32-bit architecture, and is 24 bytes long
05:13
<&McMartin>
This Program's Just Six Words Long
05:14 * McMartin is now attempting to bludgeon the GNU binutils into submitting to his will, and *thinks* he's got it.
05:15 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:17
<&[R]>
binutils are just for changing stuff in executable binaries, right?
05:18 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
05:18 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
05:19
<&McMartin>
Kiinda
05:19
<&McMartin>
Also for making them in the first place
05:20
<&McMartin>
I have a bunch of ELF .o files
05:20
<&McMartin>
I want, in effect, a completely linked memory image pre-loaded into an absolute address
05:20
<&McMartin>
And I've got it, as long as there's only one .o file, right now.
05:21
<&McMartin>
(Depending on how exactly you slice it up, as and ld may also be in the binutils)
05:21 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed]
05:21
<&McMartin>
ld with a custom linker script to produce an ELF binary that looks the way I need it to, and then objcopy -O binary to get an image dumped
05:21
<&McMartin>
Now to see if my linker script can correctly collate material across multiple .o files.
05:22 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:22 mode/#code [+o Syloq] by ChanServ
05:27 * Vornicus shenzhen i/os, eyes jerith's score on the "diagnostic pulse generator", where it has to toggle between 0 and 100 while a button is held down. *one instruction*?
05:30
<&McMartin>
You'll have cause to revisit earlier ones later. That's all I'll say for the moment.
05:35 * Vornicus examines the "not recommended" items, determines that oh boy will those be useful for this light up esports souvenir
05:44
<&McMartin>
Multiple .o files: SUCCESS
05:53
<~Vornicus>
hooress for success
05:59 Tur|Game is now known as Turaiel[Offline]
06:18 * Vornicus needs a chip with more standard inputs and less xinputs 'cause this *could* be done on one chip, if he could put all the wires in.
06:20
<&McMartin>
Welcome to why this is actually a puzzle game
06:22
<~Vornicus>
apparently i got the same solution as you~
06:23
<~Vornicus>
...apparently I may be entitled to compensation.
06:26
<&McMartin>
wat
06:28
<~Vornicus>
I guess having your self-driving car do dumb things, while not exactly as terrible as mesothelioma, is still worthy of having class action lawsuits
06:28
<&McMartin>
Oh right
06:57
<&[R]>
<thetawaves> http://steve-yegge.blogspot.com/2007/06/rich-programmer-food.html
06:59 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
07:10 himi [sjjf@Nightstar-9i1.672.56.130.IP] has quit [Connection closed]
07:18 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:19
<&jeroud>
Vornicus: I'm just that good. :-P
07:23 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
07:25
<&jeroud>
One of the best things about SHENZHEN I/O is the solitaire it ships with.
07:48 Kindamoody[zZz] is now known as Kindamoody
07:49 celticminstrel is now known as celmin|sleep
08:29 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
09:02 Jessikat`` [Jessikat@Nightstar-d45c75.dab.02.net] has joined #code
09:05 Jessikat` [Jessikat@Nightstar-qht9ur.dab.02.net] has quit [Ping timeout: 121 seconds]
09:08 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
09:31 Jessikat`` is now known as Jessikat
09:31
<&McMartin>
Opcode of the week: SWINE
09:31
<&McMartin>
(SoftWare Interrupt if previous comparison was Not Equal)
09:31
<&McMartin>
Speaking of SHENZHEN I/O, the ARM chip's branches and conditional execution work exactly like that
09:32
<&McMartin>
At least in 16-bit mode. In 32-bit mode you can go conditional on any status flag whatsoever
09:34 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
09:34 mode/#code [+o himi] by ChanServ
09:57 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
10:01 * TheWatcher eyes GTK
10:10
<@TheWatcher>
compile emacs with gtk2, stuff works. compile it with 3.21 and it works. 3.22 and shit breaks all over. Ugh.
10:17 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [[NS] Quit: Leaving]
10:18 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
10:18 mode/#code [+o himi] by ChanServ
10:20 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [The TLS connection was non-properly terminated.]
10:21 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
10:21 mode/#code [+o himi] by ChanServ
10:28 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [The TLS connection was non-properly terminated.]
10:33 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
10:33 mode/#code [+o himi] by ChanServ
10:39 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Connection reset by peer]
10:40 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
10:40 mode/#code [+o himi] by ChanServ
10:44 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Connection closed]
10:44 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
10:44 mode/#code [+o himi] by ChanServ
11:05 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
11:05 mode/#code [+qo Vornicus Vornicus] by ChanServ
12:08 * Vornicus shenzhen i/os, tries to figure out why the slx instruction isn't sleeping.
12:27
<~Vornicus>
...because the radio is non blocking, the dumb thing
14:32 mac [macdjord@Nightstar-ahbhn1.cable.rogers.com] has joined #code
14:32 mode/#code [+o mac] by ChanServ
14:35 macdjord [macdjord@Nightstar-ahbhn1.cable.rogers.com] has quit [Ping timeout: 121 seconds]
14:53 * Vornicus obviously has no idea what he's doing on the vending machine.
15:13 * Vornicus does know what he wants to do on the sandwich maker, runs out of instructions though.
15:32 Jessikat` [Jessikat@Nightstar-un62o3.dab.02.net] has joined #code
15:34 Jessikat [Jessikat@Nightstar-d45c75.dab.02.net] has quit [Ping timeout: 121 seconds]
15:35 Derakon[AFK] is now known as Derakon
16:10 * Vornicus once again finds he needs one more line of code than can fit in the 6000.
16:11 celmin|sleep is now known as celticminstrel
16:12
<~Vornicus>
that's more like it.
16:16 * Azash loses his shit over weird error handling
16:18
< Azash>
I can see why someone might think it was great to catch errors in specific spots but it's pretty non-convenient when the error is reported as happening in the error reporting code rather than *at the place it actually happened*
16:19
< Azash>
I prefer thoughts like "I wonder why it failed in foo.cpp" over "I wonder where the core dump went, oh right, we don't keep those by default"
16:41 Jessikat` is now known as Jessikat
16:47 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
17:22 macdjord|slep [macdjord@Nightstar-ahbhn1.cable.rogers.com] has joined #code
17:22 mode/#code [+o macdjord|slep] by ChanServ
17:25 mac [macdjord@Nightstar-ahbhn1.cable.rogers.com] has quit [Ping timeout: 121 seconds]
17:26
<&ToxicFrog>
Argh, those are the worst
17:29
< RchrdB>
Does C++ have a thing that re-raises the current exception from a catch block without losing the original stack trace? like bare 'raise' in Python does?
17:30
< Jessikat>
throw; is an acceptable way to rethrow an exception
17:30
< Jessikat>
But I don't know how well that carries information
17:30
< Jessikat>
I'm assuming it'll do what you want, though
17:31
< RchrdB>
Ta.
17:32
< RchrdB>
Also you can do things like running gcore against the current process?
17:38
< Jessikat>
Not a clue sorry
17:38
< Jessikat>
I've written virtually no C++ code that uses exceptions
17:43 * gnolam eyes his commits today.
17:45
<@gnolam>
It's *insane* how much my productivity goes up when I don't have to answer e-mails or - gah - the phone.
17:52
< Jessikat>
Makes sense
17:52
< Jessikat>
My productivity is in the toilet because I'm usually the one defining work for myself and I'm completely wiped
18:14 * jerith has been going over old solutions and optimising the hell out of them along all three axes.
18:17
< Jessikat>
:)
18:17 * Jessikat is looking at our bizarre set of standard data structures and scratching her head
18:19
<&jerith>
How bizarre?
18:19
<&jerith>
( https://www.youtube.com/watch?v=C2cMG33mWVY )
18:23
< Jessikat>
Games industry, people fond of hubris and corner cases with very little grasp of any theory
18:25
<~Vornicus>
shenzhen i/o's solitaire is definitely good.
18:26
<&jerith>
I'm somewhere over 60 wins in it now.
18:26
<&jerith>
(I've been playing while mulling over some tricky work things.)
19:01 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
19:04
<@celticminstrel>
Pretty sure bare throw loses the stack trace.
19:04
<@celticminstrel>
Mainly because the stack trace is obtained only by setting a breakpoint on throws.
19:05
<@celticminstrel>
Unlike in Python where it's actually stored as part of the exception, I think?
19:46 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
20:04
<&jerith>
Wow. The punchline of the spoiler-blocking headphones.
21:37 * abudhabi shaves some yaks.
22:02 Jessikat` [Jessikat@Nightstar-kcsmqv.dab.02.net] has joined #code
22:04 Jessikat [Jessikat@Nightstar-un62o3.dab.02.net] has quit [Ping timeout: 121 seconds]
22:09
<@abudhabi>
Hm.
22:10
<@abudhabi>
I feel as though I've asked this before, but does Java's ++ work the same as in C/C++?
22:10
<~Vornicus>
yes
22:10
<@abudhabi>
Cool. Then I CAN shorthand it like, long id = currentId++;
22:11 Turaiel[Offline] is now known as Turaiel
--- Log closed Wed Apr 12 00:00:50 2017
code logs -> 2017 -> Tue, 11 Apr 2017< code.20170410.log - code.20170412.log >

[ Latest log file ]