code logs -> 2016 -> Mon, 02 May 2016< code.20160501.log - code.20160503.log >
--- Log opened Mon May 02 00:00:17 2016
00:08
< simon_>
has any of you looked at exercism.io?
00:09
< simon_>
it's a programming language learning platform. it has a command-line interface for fetching and submitting solutions, and a web interface for giving feedback to people.
00:09
<@TheWatcher>
... and entirely too many bad puns about banishing demons?~
00:10
< simon_>
I haven't seen one yet!
00:11
<@TheWatcher>
I am filled with woe and disappointment.
00:11
<@TheWatcher>
I will, however, make a note of looking at it
00:14
<~Vornicus>
I tried it out for a while. it was all right but I got kind of annoyed at the fact that I needed to do command prompt shit
00:16 Kindamoody|out is now known as Kindamoody
00:23
< simon_>
I made my mom a new website: http://shine-translation.dk/
00:43 Kindamoody is now known as Kindamoody[zZz]
00:58 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has left #code ["Leaving"]
01:07 Turaiel[Offline] is now known as Turaiel
01:49 thalass is now known as Thalass|TF2
01:50 Thalass|TF2 is now known as Thalass
02:25 Thalass is now known as Thalass|TF2
02:40 Derakon[AFK] is now known as Dearkon
02:40 Dearkon is now known as Derakon
03:27 catadroid [catalyst@Nightstar-urucki.dab.02.net] has joined #code
03:36 Thalass|TF2 is now known as Thalass
04:02 catadroid` [catalyst@Nightstar-6lj4dr.dab.02.net] has joined #code
04:06 catadroid [catalyst@Nightstar-urucki.dab.02.net] has quit [Ping timeout: 121 seconds]
04:36 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [[NS] Quit: things break]
04:38 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
04:50 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
04:57 Thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [[NS] Quit: something like that]
05:03 Derakon is now known as Derakon[AFK]
05:12 Turaiel is now known as Turaiel[Offline]
05:20 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
05:20 mode/#code [+o Reiv] by ChanServ
06:09 celticminstrel [celticminst@Nightstar-q0f7bb.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:50 Crossfire [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds]
07:20
< pjdelport>
simon_: I've used it
07:23 Kindamoody[zZz] is now known as Kindamoody
07:23 crystalclaw|AFK [crystalclaw@crystalclaw.xyz] has quit [Ping timeout: 121 seconds]
07:24 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
07:30
< simon_>
pjdelport, what languages?
07:31
< pjdelport>
Haskell & Python, for me.
07:31
< pjdelport>
http://exercism.io/pjdelport
07:31
< pjdelport>
I've been inactive for a while, though.
07:31
< simon_>
pjdelport, ah. I looked briefly at F# and OCaml. got kind of stuck in both cases trying to make the test frameworks going, but solved a couple of easy ones.
07:59 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
07:59 mode/#code [+o Crossfire] by ChanServ
08:46 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
09:09 Kindamoody is now known as Kindamoody|afk
09:27 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
10:32 catadroid [catalyst@Nightstar-434igh.dab.02.net] has joined #code
10:35 catadroid` [catalyst@Nightstar-6lj4dr.dab.02.net] has quit [Ping timeout: 121 seconds]
10:40 catadroid [catalyst@Nightstar-434igh.dab.02.net] has quit [[NS] Quit: Bye]
10:56 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
10:59 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
11:00 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
11:03 Reiv [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has joined #code
11:03 mode/#code [+o Reiv] by ChanServ
13:11
< abudhabi>
I hate encoding standards and want them to die.
13:15
<@TheWatcher>
Your ideas are intriguing to me and I wish to subscribe to your newsletter.
13:28
< abudhabi>
Everything seemed to be working right, but then I had to write a tool that submits test requests, and that thing did not do UTF properly.
13:28
< abudhabi>
Digging into it, changing things up with the stuff it uses, I have now broken everything.
13:28
< abudhabi>
Just about nothing does UTF properly now.
13:29
< abudhabi>
I could just revert, but that would tell me nothing why it worked, why the test stuff didn't work, or why it doesn't work now.
13:29
< abudhabi>
Somewhere along the way, UTF-8 text appears to be interpreted as ANSI.
13:30
< abudhabi>
And then it stays that way in UTF-8 form, meaning UTF-8 encoded ANSI symbols.
13:35
< abudhabi>
It works again!
14:08 Reiv [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has quit [Ping timeout: 121 seconds]
14:20
< abudhabi>
Hm. Python doesn't require semicolons, but ignores them?
14:22
<@gnolam>
They can be used to put multiple statements on the same line, if you really feel you want to make your code less readable.
15:57
< simon_>
I'm refactoring some C# code. it basically has: if (!BlockingDownloader.TryDownloadUri(robotsTxtUri, out bytes)) { log message instead of printing it to UI; }
15:58
< simon_>
since the error handling happens at a depth that doesn't have access to UI, I thought it would be better if it would just throw an exception that I can catch at the appropriate level.
15:59
< simon_>
there is another pattern in the codebase, but I think it smells a little; it'd look like: if (BlockingDownloader.TryDownloadUri(robotsTxtUri, out bytes, out errorMessage)) { fun stuff; } else { bytes = null; errorMessage = blah; }
15:59
< simon_>
err
16:00
< simon_>
else { set this function's out variables to something based on errorMessage; }
16:04
< simon_>
eventually I've got: public bool RobotsTxtScraper.IsDownloadAllowed(Uri)... I guess this could have an extra 'out string errorMessage' parameter.
16:04
< simon_>
gosh, I suck at this object-oriented design.
17:03 celticminstrel [celticminst@Nightstar-q0f7bb.dsl.bell.ca] has joined #code
17:03 mode/#code [+o celticminstrel] by ChanServ
17:30 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
17:30 mode/#code [+qo Vornicus Vornicus] by ChanServ
19:04
< pjdelport>
if (foo): #{
19:04
< pjdelport>
this;
19:04
< pjdelport>
that;
19:04
< pjdelport>
#}
19:04
< pjdelport>
^- valid Python :)
19:09
<~Vornicus>
yes but why would you want to
19:09
<@ErikMesoy>
So that your program compiles in as many languages as possible simultaneously?
19:12
<@Namegduf>
Has anyone made a compile-to-polyglot tool?
19:12
<@Namegduf>
Which takes input code in some language and spits out code that does the same thing in lots of languages?
19:21
<~Vornicus>
I mean -- that would literally be "compile to a particular bytecode, package with an interpreter for that"
19:26
<@Namegduf>
No, I mean
19:26
<@Namegduf>
Well, something like that
19:26
<@Namegduf>
It'd be funny
20:05 starkruzr [quassel@Nightstar-m85rjf.fios.verizon.net] has quit [Ping timeout: 121 seconds]
20:28
<@celticminstrel>
There's one useful thing about having braces in some editors - double-clicking a brace selects to the matching brace. It can also be useful to jump to the opposite end of the function, if it's very large. I don't see how that technique allows it to be compilable in multiple languages though...
20:29 starkruzr [quassel@Nightstar-m85rjf.fios.verizon.net] has joined #code
20:35
<~Vornicus>
it doesn't.
21:34 Kindamoody|afk is now known as Kindamoody
22:21 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
22:21 mode/#code [+o Reiv] by ChanServ
22:36 emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:01 Kindamoody is now known as Kindamoody[zZz]
23:11 crystalclaw is now known as crystalclaw|AFK
23:41 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Tue May 03 00:00:33 2016
code logs -> 2016 -> Mon, 02 May 2016< code.20160501.log - code.20160503.log >

[ Latest log file ]