code logs -> 2015 -> Tue, 09 Jun 2015< code.20150608.log - code.20150610.log >
--- Log opened Tue Jun 09 00:00:45 2015
00:24 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
00:34 thalass is now known as Thalass|afk
00:37 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code
00:37 mode/#code [+o himi] by ChanServ
00:42 catadroid [catalyst@Nightstar-uetsnc.dab.02.net] has joined #code
02:04 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
02:04 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:08 Derakon[AFK] is now known as Derakon
02:56 Meatyhandbag [sebastianfe@Nightstar-s69.1br.73.97.IP] has quit [Ping timeout: 121 seconds]
03:37 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
03:38 Thalass|afk [thalass@Nightstar-unv.ss5.114.24.IP] has quit [[NS] Quit: g'night folks. ]
04:07 jeroud [sid10043@Nightstar-6br85t.irccloud.com] has quit [Connection closed]
04:26 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
04:39 Alek [omegaboot@Nightstar-03ja8q.il.comcast.net] has quit [Ping timeout: 121 seconds]
04:47 Alek [omegaboot@Nightstar-03ja8q.il.comcast.net] has joined #code
04:47 mode/#code [+o Alek] by ChanServ
04:52 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
04:52 mode/#code [+ao McMartin McMartin] by ChanServ
05:01
<@celticminstrel>
There's still one little minor issue with my NSIS installer script.
05:01
<@celticminstrel>
The registry keys mapping file extention to identifier are not deleted.
05:02
<@celticminstrel>
Other than that... it works perfectly! Yay!
05:16 Derakon is now known as Derakon[AFK]
--- Log closed Tue Jun 09 05:20:00 2015
--- Log opened Tue Jun 09 05:20:13 2015
05:20 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
05:20 Irssi: #code: Total of 1 nicks [1 ops, 0 halfops, 0 voices, 0 normal]
05:20!Deepthought.Nightstar.Net TS for #code changed from 1433823613 to 1260554468
05:20 ServerMode/#code [-not TheWatcher] by *.Nightstar.Net
05:20 ServerMode/#code [+nrt] by *.Nightstar.Net
05:20 catadroid [catalyst@Nightstar-uetsnc.dab.02.net] has joined #code
05:20 grindhold [quassel@Nightstar-0ona3l.cyan.servdiscount-customer.com] has joined #code
05:20 Namegduf [namegduf@Nightstar-lcgn9d.beshir.org] has joined #code
05:20 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
05:20 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
05:20 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:20 macdjord|wurk [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
05:20 abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code
05:20 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
05:20 jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code
05:20 ServerMode/#code [+ooaoooao Namegduf Vash McMartin McMartin Syloq macdjord|wurk jerith jerith] by *.Nightstar.Net
05:20 ServerMode/#code [+bbbbbbbbbbb *!*@Nightstar-de4a174d.red.bezeqint.net *!*@Nightstar-857c57c7.red.bezeqint.net *!*@583787.CAD79E.827218.F171EB *!*nsJChat@*.optusnet.com.au *!*@FBC920.AABAAF.636B9D.AD957A *!*ujkan@*.sd.cox.net *!*yllnesha@*.at.cox.net *!*VanDamas@Nightstar-c3544f53.davgita.lt *!*GeniusT@F231F3.69D69B.B0C717.411B9D *!*NSwebIRC@*.adam.com.au *!Turkey@*] by *.Nightstar.Net
05:20 ServerMode/#code [+bbbbbbbbb *!*@*.rv.ipnxtelecoms.com *!*pop@*.ca.comcast.net *!*x@*.ca.comcast.net *!*mIRC@*.hsb.188.78.IP *!*cryptofan@*.mts.251.178.IP *!*jbviuerbg@*.9ov.153.41.IP *!*@Nightstar-94f440dd.home.otenet.gr *!fgd@*.wanadoo.fr *!*@Nightstar-hvd.cgc.195.197.IP] by *.Nightstar.Net
05:20 *.Nightstar.Net changed the topic of #code to: Welcome to #Code! || Ask, then hang about till someone appears who can help: We have high latency, but excellent signal. || We <3 newbies. || Rants and monologues are encouraged; many cores, no waiting || Pastebin: http://pastebin.starforge.co.uk/ (Antispam question: answer 'yes')
05:20 mode/#code [+o TheWatcher] by ChanServ
05:20 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
05:20 Turaiel [Brandon@Nightstar-tlk.ml4.192.12.IP] has joined #code
05:20 Irssi: Join to #code was synced in 39 secs
05:21 Orth [quassel@Nightstar-ksqup0.co.uk] has joined #code
05:21 [R] [rstamer@genoce.org] has joined #code
05:21 froztbyte [froztbyte@Nightstar-frrora.za.net] has joined #code
05:21 EvilDarkLord [jjlehto3@Nightstar-16qmfh.org.aalto.fi] has joined #code
05:21 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has joined #code
05:21 Tamber [tamber@furryhelix.co.uk] has joined #code
05:21 iospace [Alexandria@Nightstar-fkokc2.com] has joined #code
05:21 Wizard [Azash@Nightstar-borbkp.engineering] has joined #code
05:21 celticminstrel [celticminst@Nightstar-uelp1m.dsl.bell.ca] has joined #code
05:21 Ogredude [quassel@Nightstar-dm1jvh.projectzenonline.com] has joined #code
05:21 Derakon[AFK] [chriswei@Nightstar-2fe4eq.ca.comcast.net] has joined #code
05:21 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
05:21 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has joined #code
05:21 tripflag [im@Nightstar-1sfccr.ocv.me] has joined #code
05:21 khyperia [khyperia@Nightstar-6errt8.coppercore.net] has joined #code
05:21 NSGuest32673 [xires@Nightstar-9jm35g.feedthetrolls.net] has joined #code
05:21 Tarinaky [tarinaky@Nightstar-e99cts.net] has joined #code
05:21 ErikMesoy [Erik@Nightstar-skg.uk2.203.80.IP] has joined #code
05:21 Attilla [sid13723@Nightstar-h2b233.irccloud.com] has joined #code
05:21 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
05:21 Kindamoody[zZz] [Kindamoody@Nightstar-l0f.vi4.228.90.IP] has joined #code
05:21 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code
05:21 ServerMode/#code [+oooooooooaoooooqooo Orth [R] froztbyte EvilDarkLord PinkFreud Tamber iospace Wizard Ogredude Derakon[AFK] Derakon[AFK] Reiv JustBob Tarinaky ErikMesoy Vornicus Vornicus Kindamoody[zZz] himi] by *.Nightstar.Net
05:21 ServerMode/#code [+b *!*@F67919.75B938.3B0897.56A93F] by *.Nightstar.Net
05:25 Alek [omegaboot@Nightstar-03ja8q.il.comcast.net] has joined #code
05:25 mode/#code [+o Alek] by ChanServ
05:53 catadroid` [catalyst@Nightstar-23ki0r.dab.02.net] has joined #code
05:57 catadroid [catalyst@Nightstar-uetsnc.dab.02.net] has quit [Ping timeout: 121 seconds]
06:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
06:19 macdjord|wurk is now known as macdjord
06:36 celticminstrel is now known as celmin|Zzzzzz
06:40
<@macdjord>
Ooh. Zachtronics, the people who made SpaceChem, have a new game. Based around assembly programming.
06:48 * macdjord prods McMartin, whom this seems like it might interest
07:09 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
07:09 kourbou_ is now known as kourbou
07:13 Kindamoody[zZz] is now known as Kindamoody
07:20 jeroud [sid10043@Nightstar-6br85t.irccloud.com] has joined #code
07:20 mode/#code [+ao jeroud jeroud] by ChanServ
07:38 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
07:53 Attilla [sid13723@Nightstar-h2b233.irccloud.com] has quit [Connection closed]
07:56 catadroid` is now known as catadroid
08:01 Kindamoody is now known as Kindamoody|out
08:03 AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has joined #code
08:12 catadroid [catalyst@Nightstar-23ki0r.dab.02.net] has quit [[NS] Quit: Bye]
08:19 Attilla [sid13723@Nightstar-h2b233.irccloud.com] has joined #code
08:38 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Tip about keeping secrets: It's easier if you don't know them.]
08:59 AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has quit [[NS] Quit: Leaving]
09:31 macdjord is now known as macdjord|slep
10:03 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed]
10:06 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
10:07 mode/#code [+o mac] by ChanServ
10:09 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
10:20 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
10:35 thalass [thalass@Nightstar-unv.ss5.114.24.IP] has joined #code
10:35 mode/#code [+o thalass] by ChanServ
10:45 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
10:45 mode/#code [+o himi] by ChanServ
10:56 catadroid [catalyst@Nightstar-c6s3d5.dab.02.net] has joined #code
10:57
< catadroid>
dude. dude. IT IS NOT OKAY TO JOKE ABOUT MAKING THE ACRONYM FOR THAT TOOL "RAPE"
10:57
<@TheWatcher>
... yeah, no.
11:01 * catadroid sighs
11:03
< abudhabi>
Then... tell him your opinion? Or is it someone in here that you're talking about?
11:04
<@TheWatcher>
Best not be, or they won't be for long.
11:06 Irssi: #code: Total of 37 nicks [25 ops, 0 halfops, 0 voices, 12 normal]
11:14 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
11:23 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
11:23 mode/#code [+o mac] by ChanServ
11:25 catadroid` [catalyst@Nightstar-60gk0u.dab.02.net] has joined #code
11:25 catadroid [catalyst@Nightstar-c6s3d5.dab.02.net] has quit [A TLS packet with unexpected length was received.]
11:26
< catadroid`>
I did talk to him about it, I just needed to vent somewhere
11:27
< catadroid`>
Also I may have uttered the phrase 'what the fuck is wrong with you?' in the meeting, which might have been a little over the top
11:27 catadroid` is now known as catadroid
11:29
<@TheWatcher>
Arguably possibly unprofessional, but not necessarily unwarranted.
11:31
< catadroid>
given that I said a similar thing when he suggested it be called AssPacker probably warranted
11:31
< catadroid>
anyway
11:31
< catadroid>
I just wanted to yell about it somewhere it wouldn't be a problem to
11:33
<@TheWatcher>
Fair enough!
11:33
< catadroid>
aw, and then a brighter moment as someone asks for advice on using the debugging aids I put into the game recently
11:40 * abudhabi uses JSTL to conditionally print a script block to the page that automatically clicks a hidden button.
11:40
< abudhabi>
Somehow, I think there should be a less convoluted way to do "pop up this modal when the page is loaded", but it works.
11:43
<@TheWatcher>
`$(function() { popup.open(); });` ?
11:43
< abudhabi>
This is roughly what I do. But I'm also basing the decision on whether a particular request parameter is empty or not.
11:44
< abudhabi>
Since Stripes lets me easily work with parameters, I use that to check it, and then optionally launch the modal.
12:23 catadroid` [catalyst@Nightstar-3cp6pl.dab.02.net] has joined #code
12:25 catadroid [catalyst@Nightstar-60gk0u.dab.02.net] has quit [Ping timeout: 121 seconds]
12:45 celmin|Zzzzzz is now known as celticminstrel
12:45 mode/#code [+o celticminstrel] by ChanServ
12:59 catadroid` is now known as catadroid
13:25 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
13:25 mode/#code [+o macdjord|slep] by ChanServ
13:28 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
13:32 macdjord|slep is now known as macdjord|wurk
15:03 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
15:03 mode/#code [+o Checkmate] by ChanServ
15:10
<@celticminstrel>
Why won't it delete the registry key...
15:11
<@celticminstrel>
It has no problem deleting the class-to-command mapping key, which is in the same, uh, area. Why can't it delete the extension-to-class mapping key too?
15:11
<@celticminstrel>
(This is NSIS)
15:23
< abudhabi>
How the hell do I get a day-of-month out of a JS Date?
15:24
< abudhabi>
Also, why is it numbering months starting at 0, but numbering days-of-week starting at 1?
15:25
<@TheWatcher>
getDate() will give you the day of the month (1 to 31)
15:25
<@TheWatcher>
As for the second question: WATMAN.
15:26
<@celticminstrel>
Are you sure it's not just starting the week on Sunday when you expect it to start on Monday?
15:26
< abudhabi>
Why is the day-of-month getter named getDate()?
15:27
< abudhabi>
celticminstrel: Not sure.
15:27
<@TheWatcher>
abudhabi: Javascript.
15:27
<@TheWatcher>
That's why.
15:28
< abudhabi>
celticminstrel: You are correct!
15:28
< abudhabi>
It does start Sunday at 0.
15:29
<@TheWatcher>
(Dates in javascript: bugfuck insane)
15:30
<@TheWatcher>
(Wait. s/Dates in // There, fixed.)
15:30
< abudhabi>
OK. So days-of-week and months are 0-indexed, but days-of-month are 1-indexed.
15:30
<@TheWatcher>
Correct.
15:31
<@TheWatcher>
Also, if you're doing anything in javascript involving dates, beware of the whole UTC v local time spiders.
15:31
<@TheWatcher>
(Yes, Time spiders)
15:32
< abudhabi>
Next issue, how do I get these in double-digit format? Single-digit months and days are ambiguous. I'm trying to fix this with if (day.length === 1) day = '0'+day; but that silently fails to do what I want for some reason.
15:37
<@TheWatcher>
try It's probably not treating it as a string when you're doing day.length. So you need to coerce it to a string, say if(String(day).length === 1)
15:38
<@TheWatcher>
-try
15:38
< abudhabi>
Yeah, that's probably the ticket. I fixed it by treating it as a number instead.
15:38
< abudhabi>
day <= 9
15:44 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
15:44
< ToxicFrog>
abudhabi: if javascript has something like sprintf() you could also just use '%02d' as the former.
15:44
< ToxicFrog>
*format.
16:01
<@celticminstrel>
How are single-digit months and days ambiguous?
16:01
< abudhabi>
celticminstrel: Americans
16:01
<@celticminstrel>
(And you'll probably find that day.length === undefined. :P )
16:02
<@celticminstrel>
Eh?
16:02
< abudhabi>
8/6/2015. 8th June or 6th August?
16:03
<@celticminstrel>
How does adding a 0 help with that?
16:03
<@celticminstrel>
It's still ambiguous, isn't it?
16:03
< abudhabi>
It helps signal as clearly as I can that I'm not using the American notation.
16:05
<@celticminstrel>
It'd help even more if you used big-endian. :P
16:27
< abudhabi>
I'm using YYYY/MM/dd HH:mm. This, I hope, casts no doubt as to where the month is. If I dropped the leading 0s, it would look more like the silly format.
16:27 * celticminstrel shrug.
16:35
< catadroid>
having 0 padding means you can order alphabetically and get chronological ordering for free
16:35
<@celticminstrel>
True.
16:36
<@celticminstrel>
(You'd need padding on the year too, if you had years of different lengths... which is highly unlikely, but still.)
16:39 gnolam [lenin@Nightstar-afpphi.tbcn.telia.com] has joined #code
16:39 mode/#code [+o gnolam] by ChanServ
16:44 gnolam [lenin@Nightstar-afpphi.tbcn.telia.com] has quit [Connection reset by peer]
16:50
<@Alek>
not since the current calendar was introduced, and not for the next almost 8000 years.
16:54 ErikMesoy [Erik@Nightstar-skg.uk2.203.80.IP] has quit [Ping timeout: 121 seconds]
17:01 ErikMesoy [Erik@Nightstar-s1tt9g.80-203-16.nextgentel.com] has joined #code
17:01 mode/#code [+o ErikMesoy] by ChanServ
18:03 kourbou is now known as kourbou|foodz
18:06
< ToxicFrog>
abudhabi: YYYY-MM-dd HH:mm is the standard.
18:09
<@Tamber>
As far as I'm concerned, the only real date-time format is %Y-%m-%dT%H:%M:%S%z
18:11
< kourbou|foodz>
Personally dd-MM-YYYY makes more sense to me. o.o
18:12
<@Tamber>
The only reason I end up using dd-MM-YYYY these days is because people complain that YYYY-MM-dd is different and thus wrong.
18:12
<@Tamber>
Fool-compatibility is irritating. >:C
18:24
< ToxicFrog>
dd-MM-YYYY has all the ambiguity and nonsorting problems of dd/MM/YYYY while also being briefly visually confusing because the - make you think it's going to be a properly formatted date for a moment, though
18:24
< ToxicFrog>
Why would you do that
18:43 Derakon [chriswei@Nightstar-2fe4eq.ca.comcast.net] has joined #code
18:43 mode/#code [+ao Derakon Derakon] by ChanServ
18:43 * Derakon mutters at GUIs.
18:43
<&Derakon>
For some reason my window is spontaneously deciding that it needs to be itty-bitty.
18:44
<&Derakon>
I have overridden every resizing method I can find on JFrames to try to figure out how this is happening, and none of them are being called.
18:44
<&Derakon>
What the Christ.
18:46
<&McMartin>
Man
18:46
<&McMartin>
I remember having to make stuff like that work on X
18:46 kourbou|foodz is now known as kourbou
18:46
<&McMartin>
But X treats all commands to resize, reposition, &c as mere suggestions
18:46
<&McMartin>
This has its advantages (user empowerment!) but it also has all the problems that letting users arbitrarily redefine your CSS does for web pages.
18:46
<&Derakon>
Oh oh oh, that reminds me.
18:47
<&Derakon>
Java GUI objects have a maximum size you can set.
18:47
<&Derakon>
Which is supposed to mean "do not let this object ever grown beyond this size, ever."
18:47
<&Derakon>
But for windows, literally all it means is "the user is not allowed to drag this window larger than the specified size."
18:47
<&Derakon>
Code can happily set it to be larger, and in particular if the layout manager decides it needs more size, whelp.
18:48
<&Derakon>
So if you want to have an object that grows to fill available space without forcing the window larger, fuck you.
18:49
<&Derakon>
Anyway. I half suspect the problem I'm running into now is ImageJ's fault.
18:49
<&Derakon>
ImageJ being the swirling ocean of chaos that our code, like a little dinghy, attempts to navigate without capsizing.
18:53
<@ErikMesoy>
[insert text of various login;logout articles here]
18:54 catadroid` [catalyst@Nightstar-k8kd9p.dab.02.net] has joined #code
18:56 catadroid [catalyst@Nightstar-3cp6pl.dab.02.net] has quit [Ping timeout: 121 seconds]
18:56 * Derakon adds some logging messages, fixes the bug. Fantastic.
18:56
<&Derakon>
I hate race conditions. >.<
18:57
<&McMartin>
... that sounds like a race between adding/setting sizes of widgets and calling the final relayout/invalidate. You aren't mixing UI operations across threads, are you?
18:57 * Derakon restores the logging messages, the bug remains present. ...
18:57
<&Derakon>
I shouldn't be, no.
18:58
<&Derakon>
Hm, maybe it only happens the first display window per program session?
18:58
<&Derakon>
Yeah, that does seem to be the case.
19:01
<&Derakon>
But it doesn't have anything to do with the specific actions we take only for the first display window.
19:01
<&Derakon>
Argh.
19:19 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Tip about keeping secrets: It's easier if you don't know them.]
19:22
<&Derakon>
It doesn't help that NetBeans' debugger has gone bugfuck and can't handle basic stepping operations without dumping me into weird crannies of the JVM.
19:22
<&Derakon>
I think that might have to do with a refactor we did of our code, maybe?
19:24 catadroid [catalyst@Nightstar-bil2u1.dab.02.net] has joined #code
19:26 catadroid` [catalyst@Nightstar-k8kd9p.dab.02.net] has quit [Ping timeout: 121 seconds]
19:37 catadroid [catalyst@Nightstar-bil2u1.dab.02.net] has quit [A TLS packet with unexpected length was received.]
19:37 catadroid [catalyst@Nightstar-j1hq8b.dab.02.net] has joined #code
19:42 catadroid` [catalyst@Nightstar-bil2u1.dab.02.net] has joined #code
19:42 catadroid [catalyst@Nightstar-j1hq8b.dab.02.net] has quit [The TLS connection was non-properly terminated.]
19:48 catadroid [catalyst@Nightstar-bil2u1.dab.02.net] has joined #code
19:48 catadroid` [catalyst@Nightstar-bil2u1.dab.02.net] has quit [A TLS packet with unexpected length was received.]
19:49 catadroid` [catalyst@Nightstar-bil2u1.dab.02.net] has joined #code
19:49 catadroid [catalyst@Nightstar-bil2u1.dab.02.net] has quit [A TLS packet with unexpected length was received.]
19:50 catadroid [catalyst@Nightstar-bil2u1.dab.02.net] has joined #code
19:50 catadroid` [catalyst@Nightstar-bil2u1.dab.02.net] has quit [A TLS packet with unexpected length was received.]
19:50 Kindamoody|out is now known as Kindamoody
19:54 catadroid [catalyst@Nightstar-bil2u1.dab.02.net] has quit [A TLS packet with unexpected length was received.]
19:54 catadroid [catalyst@Nightstar-id42ei.dab.02.net] has joined #code
20:09 catadroid` [catalyst@Nightstar-j1hq8b.dab.02.net] has joined #code
20:09 catadroid [catalyst@Nightstar-id42ei.dab.02.net] has quit [Connection closed]
20:23 catadroid [catalyst@Nightstar-id42ei.dab.02.net] has joined #code
20:23 catadroid` [catalyst@Nightstar-j1hq8b.dab.02.net] has quit [The TLS connection was non-properly terminated.]
20:25 catadroid` [catalyst@Nightstar-id42ei.dab.02.net] has joined #code
20:25 catadroid [catalyst@Nightstar-id42ei.dab.02.net] has quit [Connection closed]
20:38 catadroid` [catalyst@Nightstar-id42ei.dab.02.net] has quit [[NS] Quit: Bye]
20:47 * macdjord|wurk goggles at the scorecard for the primality tester level in TIS-100
20:47 macdjord|wurk is now known as macdjord
20:48
<@macdjord>
Best scores are aroun 5-10k steps. My best is 360k - and I honestly can't see how I could possibly better that by more than, say, half.
20:49
<@macdjord>
Maybe 75%.
20:49
<@macdjord>
Unless I cheesed it with a preprogrammed answer list.
20:51
<&McMartin>
I have to admit that TIS-100 doesn't appeal to me because I could just *go write some C64 demos*, you know
20:52 * Derakon googles.
20:52
<&Derakon>
Oh, another programming game.
20:52
<&Derakon>
If I wanted to program, I'd program without artificial constraints on what I'm allowed to do~
20:55
<&McMartin>
SpaceChem had its charms, being an actual application of parallel befunge
20:56
<&Derakon>
Yeah, but it still felt way too much like work.
21:03
<@macdjord>
The the primality testing, in the absence of a division function, is dominated by the repeated subtraction. I've got that within 50% of theoretical perfecte efficiency. There;s no room for loop unrolling. I could possibly improve efficiency by 75% if I implemented cutoffs so it only tested up to half the target value.
21:05
<@macdjord>
No bitwise operators, so I can't do anything clever with shift-and-add to speed up things.
21:06
<&McMartin>
What if you did a Sieve of Eristosthenes?
21:06
<@ErikMesoy>
*Eratosthenes
21:06
<&McMartin>
Mine is, um, more chaotic, I guess
21:07
<@macdjord>
Hrm. There are a couple stack memory modules provided on this level....
21:09 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:09
<@macdjord>
But, with only stack memory, not random, I don't think I could implement the sieve effectively.
21:11
<@macdjord>
At best, I could make sure I only have to test my candidates against the primes below it, rather than every odd number. But most of the time is spents on 2, 3, 5, and 7 anyway...
21:11
<@macdjord>
Bah. I'm all brained out. I'm going to play some DoomRL now.
21:13
< ToxicFrog>
Speaking of DoomRL, I have now successfully completed Ao100 with sounds enabled on the server
21:13
< ToxicFrog>
I think it's time to turn sound on by default
21:29
<@ErikMesoy>
http://jaiwithani.tumblr.com/post/118054371816/python-what-if-everything-was-a-d ict-java-what
21:31
<@ErikMesoy>
"PHP: What if we wanted to make SQL injection easier?" >_>
21:34 thalass [thalass@Nightstar-unv.ss5.114.24.IP] has quit [Operation timed out]
21:52 thalass [thalass@Nightstar-unv.ss5.114.24.IP] has joined #code
21:52 mode/#code [+o thalass] by ChanServ
22:06 Kindamoody is now known as Kindamoody[zZz]
22:27 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code
22:27 mode/#code [+o Checkmate] by ChanServ
23:07 catadroid [catalyst@Nightstar-rh3.dag.151.95.IP] has joined #code
23:28 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:28 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:32 Derakon [chriswei@Nightstar-2fe4eq.ca.comcast.net] has quit [[NS] Quit: leaving]
23:52 abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Ping timeout: 121 seconds]
23:56 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Wed Jun 10 00:00:35 2015
code logs -> 2015 -> Tue, 09 Jun 2015< code.20150608.log - code.20150610.log >

[ Latest log file ]