code logs -> 2017 -> Sat, 09 Dec 2017< code.20171208.log - code.20171210.log >
--- Log opened Sat Dec 09 00:00:17 2017
00:12 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
00:16 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
00:16 mode/#code [+o Alek] by ChanServ
00:50
<@himi>
ipython does a decent job with that kind of thing
00:51 celticminstrel [celticminst@Nightstar-dlquqe.dsl.bell.ca] has joined #code
00:51 mode/#code [+o celticminstrel] by ChanServ
01:23 Derakon [Derakon@Nightstar-uah.40m.158.73.IP] has joined #code
01:23 mode/#code [+ao Derakon Derakon] by ChanServ
01:23
<&Derakon>
join #fleetpolitics
01:23
<&Derakon>
Thanks, X-Chat.
01:28
<&ToxicFrog>
[R]: in clojure all your imports are a single top-level form, so
02:21 macdjord|slep is now known as macdjord
02:24 Degi [Degi@Nightstar-rid8gk.dyn.telefonica.de] has quit [Connection closed]
03:59 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
04:54 Derakon is now known as Derakon[AFK]
05:08 macdjord is now known as macdjord|slep
05:08 Vornlicious [Vorn@Nightstar-5peffr.sub-174-210-14.myvzw.com] has joined #code
05:12 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
05:16 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
08:24 celticminstrel is now known as celmin|sleep
08:37 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
11:45 Degi [Degi@Nightstar-rid8gk.dyn.telefonica.de] has joined #code
12:03
<&ToxicFrog>
Day 3: several days
12:04
<&ToxicFrog>
Day 4: five minutes
12:11 Kindamoody[zZz] is now known as Kindamoody|afk
12:54
<&jerith>
I have just spent half a day learning enough about elixir macros to write a test generator.
12:57
<&jerith>
Now I can just say `aoc_tests(slow: [1, 3, 5])` and have it generate a test cases for each day that has a solution module complete with appropriate tags for limiting which tests are run.
12:59
<&jerith>
`mix test --only day:3` will run both day 3 tests, `mix test --only part:4.1` will run the test for day 4 part 1, `mix test --exclude slow` will run all tests that I haven't marked as slow.
13:00
<&jerith>
And while the two tests for each day run sequentially, tests for multiple days will run in parallel with each other.
13:01
<&jerith>
(That's not really optimal, since if one part is slow the other is also likely to be, but ExUnit doesn't allow individual tests within a module to run in parallel.)
13:01 NSGuest37804 is now known as Pi
13:01 mode/#code [+o Pi] by ChanServ
13:07
< Vornlicious>
I still remember how long it took me to find an acceptable metric for that radioactive elevator puzzle
13:07
< Vornlicious>
(but once I found it, dang)
13:13
<@TheWatcher>
?
13:14
< Vornlicious>
Last year's had a puzzle where you had to use an elevator to move radioactive materials and the generators that used them, with lots of restrictions.
13:16
<@TheWatcher>
I've missed what's being played~
13:16
< Vornlicious>
I used a* to do it. The heuristic ended up quite complicated
13:16
< Vornlicious>
Oh, adventofcode.com
13:16
<@TheWatcher>
Ooh
13:17
< Vornlicious>
However the complicated heuristic managed to be extremely accurate
13:22 * TheWatcher ughs, apparently can't type 'git' reliably today
13:22
<@TheWatcher>
('gut commit' doesn't work. I'm not even hungry!)
13:42 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
14:27
< Vornlicious>
I'm not sure what gut would do
14:29
<&jerith>
Add 💩 to all your commit messages.
14:32
< Jessikat>
sounds hard to digest
14:34
<@Pi>
Oh dear lord.
14:35
<@Pi>
Now I have to try and not think "gut commit" next time I use git.
15:26 Vornlicious [Vorn@Nightstar-5peffr.sub-174-210-14.myvzw.com] has quit [[NS] Quit: Bye]
15:26 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:27 celmin|sleep is now known as celticminstrel
15:29 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:29 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:48
<@TheWatcher>
Pi: i also have git set up so that if I do `git pish` instead of push it prints out "Tosh!", because I am - as my wife puts it - a Daft Bugger.
17:00 Kindamoody|afk [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection closed]
17:02 Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
17:02 mode/#code [+o Kindamoody|autojoin] by ChanServ
17:14 Kindamoody|autojoin is now known as Kindamoody
17:26 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection reset by peer]
17:26 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
17:26 mode/#code [+o Kindamoody] by ChanServ
18:46 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
18:49 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
18:49 mode/#code [+o Alek] by ChanServ
19:01 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
19:39 Derakon[AFK] is now known as Derakon
19:44 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection reset by peer]
19:45 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
19:45 mode/#code [+o Kindamoody] by ChanServ
19:53 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection reset by peer]
19:57 Derakon is now known as Derakon[AFK]
20:09 Kindamoody|autojoin [Kindamoody@Nightstar-feskdl.mobileonline.telia.com] has joined #code
20:10 mode/#code [+o Kindamoody|autojoin] by ChanServ
20:29 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
20:29 mode/#code [+o mac] by ChanServ
20:32 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
20:53 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [[NS] Quit: ]
20:59 Kindamoody|autojoin is now known as Kindamoody
21:01 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
21:01 mode/#code [+o Alek] by ChanServ
21:01
<&jerith>
So, I spent an hour or so finding a matrix library to optimise my new Elixir solution to an old adventofcode problem.
21:01
<&jerith>
Then I spent an hour or so debubgging why it didn't work.
21:01
<&jerith>
Then I spent most of the afternoon fixing a bubg in the matrix library.
21:02
<&jerith>
Then I discovered that my "optimised" solution runs 15 times slower. (~40 seconds to ~10 minutes.)
21:02
<&jerith>
At least I now have an upstream pull request open for the fix: https://github.com/Qqwy/tensor/pull/4
21:03
<&jerith>
And I've learned some stuff about Elixir.
21:32
<&McMartin>
Heh
21:32
<&McMartin>
I'm considering rewriting my solution for AoC9 in C.
21:35
<&jerith>
I know this isn't actually the case, but my brain is insisting that you must be writing your solutions in 6502 assembler.
21:40
<@Tamber>
or Z80, just for a proper challenge?
21:45
<&McMartin>
Almost everything's in python just for ease of handling arbitrary-sized white-space-and-new-line-separated inputs.
21:46
<&McMartin>
But my solution for p9 involved a lot of dancing around in Python to do something that really looks like repeated calls to fgetc().
21:47
<&McMartin>
The only AoC solution I've run on a commodore 64 I built with cc65.~
21:47
<&McMartin>
And it took minutes.
21:47
<&McMartin>
Usually the 48KB RAM limit is too dear.
21:53 Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
21:53 mode/#code [+o Kindamoody|autojoin] by ChanServ
21:54 Kindamoody [Kindamoody@Nightstar-feskdl.mobileonline.telia.com] has quit [Ping timeout: 121 seconds]
21:54 Kindamoody|autojoin is now known as Kindamoody
--- Log closed Sun Dec 10 00:00:19 2017
code logs -> 2017 -> Sat, 09 Dec 2017< code.20171208.log - code.20171210.log >

[ Latest log file ]