code logs -> 2016 -> Sun, 24 Jul 2016< code.20160723.log - code.20160725.log >
--- Log opened Sun Jul 24 00:00:34 2016
00:37 gizmore [kvirc@Nightstar-orjv4v.dip0.t-ipconnect.de] has joined #code
01:15 Turaiel is now known as Turaiel[Offline]
01:17 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
01:20 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
01:59 catadroid [catadroid@Nightstar-lceln0.dab.02.net] has joined #code
02:35 catadroid` [catadroid@Nightstar-4atsou.dab.02.net] has joined #code
02:38 catadroid [catadroid@Nightstar-lceln0.dab.02.net] has quit [Ping timeout: 121 seconds]
02:47 Thalass is now known as Thalaslee
02:55 Thalaslee [thalass@Nightstar-rfp.o7s.158.104.IP] has quit [Connection closed]
03:31 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
03:32 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
03:32 mode/#code [+o Kindamoody[zZz]] by ChanServ
03:45
<&ToxicFrog>
Either I'm having a crazy or I've found a really weird bug in luajit.
03:45
<&ToxicFrog>
This works:
03:46
<&ToxicFrog>
local val = tonumber(arg); if not val then error(..stuff..) end; return val
03:46
<&ToxicFrog>
This doesn't, instead returning (not throwing) the error message on some valid inputs:
03:46
<&ToxicFrog>
return assert(tonumber(arg), ..stuff..)
03:46
<&ToxicFrog>
They should be eqv!
03:47
<&ToxicFrog>
.....oooooh goddamnit
03:48
<&ToxicFrog>
No they aren't, because assert() returns all of its arguments on success, not just its first argument
03:48
<&ToxicFrog>
So when the enclosing function is called as: table.insert(vals, typeconv(...))
03:48
<&ToxicFrog>
It expands to: table.insert(vals, tonumber(arg), "error message goes here")
03:48
<&ToxicFrog>
And the tonumber() is taken as the index to insert at
03:49
<&ToxicFrog>
And I just happened to choose as my test values values that would be valid indexes for table.insert()
03:59
<~Vornicus>
whups
04:27 gizmore [kvirc@Nightstar-orjv4v.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
04:31 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
04:33 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
04:33 mode/#code [+o Kindamoody[zZz]] by ChanServ
05:01 Derakon is now known as Derakon[AFK]
05:10 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
05:12 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
05:12 mode/#code [+o Kindamoody[zZz]] by ChanServ
06:07 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
07:09 celticminstrel [celticminst@Nightstar-nhhr58.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:31 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
07:32 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
07:32 mode/#code [+o Kindamoody[zZz]] by ChanServ
07:45 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
07:45 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
07:46 catadroid` [catadroid@Nightstar-4atsou.dab.02.net] has quit [[NS] Quit: Bye]
07:46 catadroid [catadroid@Nightstar-4atsou.dab.02.net] has joined #code
07:56 ErikMesoy [Erik@Nightstar-hq72t5.customer.cdi.no] has left #code []
08:14 Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
08:14 mode/#code [+o Kindamoody|autojoin] by ChanServ
08:14 Kindamoody|autojoin is now known as Kindamoody
08:36 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
09:09 catadroid [catadroid@Nightstar-4atsou.dab.02.net] has quit [Ping timeout: 121 seconds]
09:11 ErikMesoy [Erik@Nightstar-hq72t5.customer.cdi.no] has joined #code
09:11 mode/#code [+o ErikMesoy] by ChanServ
11:57 Kindamoody is now known as Kindamoody|afk
11:58 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
12:15 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
12:22 * ToxicFrog writes unit tests for his utility library, discovers many bugs :S
13:40 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Reboot]
13:43 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
13:43 mode/#code [+o gnolam] by ChanServ
14:46
<&jeroud>
New factorio thing: I now have too much iron and copper and need a way to tell my smelters to stop making it.
14:59
<&jeroud>
Also, there is a way to get data from the logistic network into a circuit: read from a roboport.
15:23 * Pi eyes that timesink warily
15:54 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:54 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:58 celticminstrel [celticminst@Nightstar-nhhr58.dsl.bell.ca] has joined #code
15:58 mode/#code [+o celticminstrel] by ChanServ
16:22
<&jerith>
Ha, I think I have it.
16:22
<&jerith>
Four ariths, five deciders, and a constant.
16:24
<&jerith>
Now to try it and see if it actually works.
16:30
<~Vornicus>
take pictures
16:38
<&jerith>
Yay, it works.
16:38
<&jerith>
Pictures are hard.
16:41
<@ErikMesoy>
draw schematics?
16:49
<&jerith>
Those are also pictures.
16:53
<~Vornicus>
that is true. the overview telemetry is often not really enough
17:35
<&jerith>
http://imgur.com/X0IJpY5
17:35
<&jerith>
That's the diagram I used for planning. Turns out the thing I drew it in can publish to imgur.
19:40 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
20:14 Kindamoody|afk is now known as Kindamoody
20:49 Kindamoody is now known as Kindamoody|afk
21:17 Derakon[AFK] is now known as Derakon
22:04 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
22:22 Turaiel[Offline] is now known as Turaiel
22:37 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
22:37 mode/#code [+o ion] by ChanServ
23:16 Kindamoody|afk is now known as Kindamoody
23:56 catadroid [catadroid@Nightstar-ekmomo.dab.02.net] has joined #code
23:56 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
--- Log closed Mon Jul 25 00:00:49 2016
code logs -> 2016 -> Sun, 24 Jul 2016< code.20160723.log - code.20160725.log >

[ Latest log file ]