code logs -> 2016 -> Thu, 24 Mar 2016< code.20160323.log - code.20160325.log >
--- Log opened Thu Mar 24 00:00:27 2016
00:34 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
00:51 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
01:09 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
01:12 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
01:32 catadroid [catalyst@Nightstar-m8el60.dab.02.net] has joined #code
01:46
<&Derakon>
http://www.haneycodes.net/npm-left-pad-have-we-forgotten-how-to-program/
01:47
<&Derakon>
A little fallout from today's Javascript insanity.
01:51 * [R] thought mkdirp was the only stupid "project"/"module" for node.js...
01:51
< [R]>
I mean I understand avoiding NIH... but seriously.
01:51
<&Derakon>
"make derp" does sound like a stupid module.
01:51
< [R]>
:p
01:53
<&McMartin>
Man, that article is amazing
01:53
< [R]>
There's also the lovely trio of one-function modules that depend on each other (from the comments)
01:55
<&Derakon>
And of course, all of this would have been a much, much smaller problem if apparently thousands of build tools and deployment systems pulled packages from NPM rather than use locally-cached copies.
01:56
<&Derakon>
And thus, the absence of a package on NPM (or the replacement of that package by hostile code!) would break their websites.
01:57
< [R]>
You mean if they didn't do that?
01:57 Vornotron [Vorn@Nightstar-71g.jub.19.76.IP] has joined #code
01:57 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
01:57
<&Derakon>
Er, right.
01:57 mode/#code [+o mac] by ChanServ
01:58
<&McMartin>
my favorite part is isPositiveInteger having 3 dependencies
01:58
< [R]>
Yeah
01:59 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
02:00 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
02:01
<&Derakon>
Hm...from the comments, common complaints seem to be a) Javascript has a pathetic "standard library", and b) you can't have huge monolithic dependencies (like e.g. boost in the C++ world) because that increases your page size unacceptably.
02:01
<&Derakon>
Seems to me the solution here is to have the browser cache common dependencies.
02:01
<&Derakon>
So the server says "Okay, I need these libraries with these MD5 sums" and then the client says "I already have 75% of those, give me the ones I don't have", bam done.
02:02
< [R]>
npm doesn't run in a browser
02:02
< [R]>
npm is for node.js
02:02
<&Derakon>
...wait, it's server-side?
02:02
<&Derakon>
Then why are they complaining about payload size?
02:02
< [R]>
Also yes, JS' standard library is really bare bones.
02:03
< [R]>
"Page size" to me means RAM usage.
02:05
<&McMartin>
I don't care how bare-bones your library is if the operation is not merely a single line of code but a single expression not only should that not be a module a creditable case can be made that it shouldn't even be a function
02:08
< [R]>
Yeah, iPI is the worst offender of the bunch.
02:09
< [R]>
Actually it kind of reminds me of PHP.net doc comments. Where there's people constantly giving helpful code (of vastly varying quality). Sometimes people share functions that... really needn't have been written.
02:36 Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
02:39 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
02:49 * Vornotron fiddles with the prognosticatron
03:30 Turaiel is now known as Turaiel[Offline]
03:48 Vornotron is now known as Vornicus
03:48 mode/#code [+qo Vornicus Vornicus] by ChanServ
03:49 Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [[NS] Quit: Page closed]
04:05 Derakon is now known as Derakon[AFK]
04:06 Turaiel[Offline] [Brandon@Nightstar-7mqsi0.mi.comcast.net] has quit [[NS] Quit: Bouncer terminated]
04:37 Kindamoody|autojoin [Kindamoody@Nightstar-qicmpi.tbcn.telia.com] has joined #code
04:37 mode/#code [+o Kindamoody|autojoin] by ChanServ
05:10 crystalclaw is now known as crystalclaw|zZz
05:15 crystalclaw|zZz is now known as crystalclaw
05:52 celticminstrel is now known as celmin|sleep
05:55 * Vornicus completes the prognosticatron run, determines that Jean is dominated by Michael and Michael is dominated by Walter: every point Jean gets, Michael also gets, and Jean is already behind... and the same goes for Michael vs Walter. Interesting.
06:20 Kindamoody|autojoin [Kindamoody@Nightstar-qicmpi.tbcn.telia.com] has quit [Client exited]
06:23 Kindamoody|autojoin [Kindamoody@Nightstar-qicmpi.tbcn.telia.com] has joined #code
06:23 mode/#code [+o Kindamoody|autojoin] by ChanServ
06:28 Kindamoody|autojoin [Kindamoody@Nightstar-qicmpi.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
06:43 crystalclaw is now known as crystalclaw|zZz
06:51 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
07:00 Vornicus [Vorn@Nightstar-71g.jub.19.76.IP] has quit [Connection closed]
07:09 catadroid [catalyst@Nightstar-m8el60.dab.02.net] has quit [Ping timeout: 121 seconds]
07:19 Kindamoody|autojoin [Kindamoody@Nightstar-qicmpi.tbcn.telia.com] has joined #code
07:19 mode/#code [+o Kindamoody|autojoin] by ChanServ
07:23 Kindamoody|autojoin [Kindamoody@Nightstar-qicmpi.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
08:05 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Connection closed]
08:10 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
08:10 mode/#code [+o gnolam] by ChanServ
08:16 catadroid [catalyst@Nightstar-ssi09s.dab.02.net] has joined #code
08:23 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
08:46 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
08:53 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
08:53 mode/#code [+o himi] by ChanServ
09:49 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
09:49 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
10:14 thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code
10:14 mode/#code [+o thalass] by ChanServ
10:51 thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
12:13 Emmy is now known as Emmy-Werk
13:00 Emmy [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code
13:16 crystalclaw|zZz is now known as crystalclaw
14:19 natania [NSwebIRC@Nightstar-f3k.t3q.245.162.IP] has joined #code
14:20 natania is now known as natanial
14:20
<&ToxicFrog>
Derakon[AFK]: buried under all that is the fact that apparently, in JS, left-padding a string is 11 lines of code rather than a single call to format
14:28
< natanial>
hello
14:31
<&ToxicFrog>
'morning
14:32
< natanial>
how is thy today
14:38
< natanial>
uhh i have romeo and juliet papers today
14:42
< Emmy>
right. back to useful things. :)
14:43
<&ToxicFrog>
Ick.
14:43
<&ToxicFrog>
I'm mostly managing robots and listening the Crypt of the NecroDancer soundtracks.
14:43
< Emmy>
robots?
14:43
< Emmy>
kewl
14:43
<&ToxicFrog>
Emmy: well, software robots, not physical robots.
14:43 * ToxicFrog is making sweeping automated changes to the codebase
14:43
< Emmy>
oh? how so?
14:43
< Emmy>
oh like that
14:44 catadroid` [catalyst@Nightstar-0l3.o87.132.82.IP] has joined #code
14:44
< crystalclaw>
Gah. flake8 is not cooperating.
14:45
< crystalclaw>
Stupid useless error messages. âincorrect syntaxâ is not useful.
14:46 catadroid [catalyst@Nightstar-ssi09s.dab.02.net] has quit [Ping timeout: 121 seconds]
14:46
< Emmy>
ah, love those
14:46
< crystalclaw>
Can you not set a global variable like global location = loc in python?
14:47
< Emmy>
bad crystal! no globals!
14:47
< crystalclaw>
This is a data management module. I am using globals here so I donât have to everywhere.
14:47
< crystalclaw>
and also so I donât have to remember where the most current data is.
14:48
<&ToxicFrog>
crystalclaw: "global NAME" and the assignment need to be separate statements.
14:48
< crystalclaw>
Ah, okay.
14:49
<&ToxicFrog>
Emmy: specifically, I'm doing a thing that touches ~2000 files and ~10kLOC but will make build/test performance better and make life easier for our experimenters.
14:50
< Emmy>
ah, defragmenting of sorts?
14:52 catadroid` [catalyst@Nightstar-0l3.o87.132.82.IP] has quit [[NS] Quit: Bye]
14:57 * natanial snickers
14:57
<&ToxicFrog>
Emmy: at the moment we have a bunch of...configuration data, for lack of a better term -- that's duplicated in both C++ code and the config files themselves. I'm replacing all occurrences in C++ with a macro that automatically derives it from the contents of the config file.
15:00 * TheWatcher engages in the Feature Request Prognostication Ritual
15:02
< Emmy>
ah, duplicates cleanup.
15:05 natanial [NSwebIRC@Nightstar-f3k.t3q.245.162.IP] has quit [[NS] Quit: Page closed]
15:14 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has left #code []
15:29 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
15:35
< [R]>
<ToxicFrog> Derakon[AFK]: buried under all that is the fact that apparently, in JS, left-padding a string is 11 lines of code rather than a single call to format <-- It was mentioned elsewhere that code is horribly inefficient. There are much simpler and faster ways to do it. General concensus was to use Array's push and join, as V8 optimizes that case.
15:35 catadroid [catalyst@Nightstar-0l3.o87.132.82.IP] has joined #code
15:36
< [R]>
Also holy WTF Vivaldi. Three tabs open, all TVTropes and you need 13 processes and 3.5GB of RAM?
15:38
< Emmy>
...What the fucking fuck? access just outright crashed for no reason
15:39
< Emmy>
vivaldi?
15:39
< Emmy>
also, 12 processors?
15:39
< Emmy>
13, even!?
15:39
< [R]>
Processes
15:40
< Emmy>
ah. makes a bit more sense.
15:40
< Emmy>
perhaps 1 process for every plugin?
15:40
< Emmy>
running on a page, i mean
15:40
< [R]>
Maybe
15:41
<@TheWatcher>
I'm more boggling at that 3.5GB of ram
15:42
< [R]>
One process has 2GB, another 1GB, the rest are totallying around .5GB
15:43
< [R]>
If the multiprocess model is anything like Chromes, I'm guessing those first two are the page displays.
15:43
< Emmy>
i suppose that's also a bit fucky
15:43
< Emmy>
still, 2gb for a single page?
15:43
< [R]>
Which means 1GB per page.
15:52 celmin|sleep is now known as celticminstrel
16:07 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:07 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:10 Emmy [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: *poit*]
16:53 Emmy-Werk is now known as Emmy-ded
17:21 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
18:20 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
19:10 Emmy-ded is now known as Emmy
20:01 Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
20:01 mode/#code [+o Kindamoody|autojoin] by ChanServ
20:01 Kindamoody|autojoin is now known as Kindamoody
20:10 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
20:12 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
20:12 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:24 catadroid [catalyst@Nightstar-0l3.o87.132.82.IP] has quit [The TLS connection was non-properly terminated.]
20:24 catadroid` [catalyst@Nightstar-0l3.o87.132.82.IP] has joined #code
20:28 catadroid` [catalyst@Nightstar-0l3.o87.132.82.IP] has quit [The TLS connection was non-properly terminated.]
20:51 * ToxicFrog discovers the deliciousness of 'lein ring'
20:52
<&McMartin>
Oh hey, it is a TF
20:52 * ToxicFrog also discovers two new NecroDancer soundtracks and a giant pile of Shovel Knight music on bandcamp, goes to town
20:52
<&ToxicFrog>
It is!
20:52
<&McMartin>
Do you happen to have a 64-bit Windows machine you can help me test stuff with after work
20:52
<&ToxicFrog>
I may vanish for dinner soon, though.
20:52
<&McMartin>
Yeah, I just finished lunch and I'm not sure if schedule overlap will work
20:52
<&ToxicFrog>
durandal is win7-professional-amd64, yes
20:53
<&ToxicFrog>
What needs testing?
20:53
<&McMartin>
I'm trying to figure out what needs to be the same for VICE multiplayer to work
20:53
<&ToxicFrog>
As far as schedule coordination goes, we shut down the toddlebot around 1630 your time and I usually go to sleep 2-3 hours after that.
20:53
<&McMartin>
My current theory is "they need to be bit-exact executables" but I don't have two systems anywhere at home running the same OS.
20:53
<&McMartin>
Okay, we won't be sorting anything out tonight~
20:54
<&McMartin>
It's super-unlikely I'll make it home by 1930
20:54 * ToxicFrog nods
20:55
<&ToxicFrog>
I note that it's always possible to bring up two instances on the same machine
20:55
<&McMartin>
Yes, and that works just fine
20:55
<&ToxicFrog>
Or at least I would hope it is
20:55
<&ToxicFrog>
Aah.
20:55
<&McMartin>
It's once I try to connect to another machine on the LAN that everything explodes
20:55
<&ToxicFrog>
So you want to see if that will work with the same executable, but different hardware/patch levels/etc
20:55
<&McMartin>
Or to try to connect to somebody's machine elsewhere.
20:55
<&McMartin>
Right.
20:55
<&McMartin>
And "same executable" means, at least, "compatible OS"
20:55 * ToxicFrog nods
20:56
<&McMartin>
I'll ask around elsenet; people running Win64 are not exactly rarities
20:58 thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code
20:58 mode/#code [+o thalass] by ChanServ
20:59
<&McMartin>
... I suppose I could run a Linux VM on one machine and try to connect it to the actual Linux machine.
21:00
<&ToxicFrog>
Ok, Crypt of the NecroDancer Freestyle Retro is the business
21:17 Kindamoody is now known as Kindamoody[zZz]
21:20 catadroid [catalyst@Nightstar-7en7ur.dab.02.net] has joined #code
21:31 Turaiel[Offline] [Brandon@Nightstar-7mqsi0.mi.comcast.net] has joined #code
21:31
<&McMartin>
I'm two songs in and I fully agree.
21:38
< Attilla>
what's freestyle retro
21:39
<&McMartin>
Jake Kaufman's name for his album of chiptune music for Crypt of the NecroDancer
21:39
< Attilla>
ah, cool
21:39
<&McMartin>
Kaufman did, among other things, the Shovel Knight soundtrack. He's one of the Old Masters for chiptunes at this point.
21:39
<@celticminstrel>
Isn't he the one who did all the Shantae soundtracks?
21:40
<&McMartin>
That too, I think.
21:40
<&McMartin>
He's "virt"
21:40
<&McMartin>
He's done a *lot* of work.
21:40
<&McMartin>
If he didn't do *all* the Shantae soundtracks he was at least involved with them heavily.
21:41 thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
21:41 Turaiel[Offline] is now known as Turaiel
21:42
<@ErikMesoy>
*sigh* Floating pooooooiiiiiiiint. This tooltip is telling me it increases the relevant variable by 220.00000000000003%.
21:43
<@celticminstrel>
Too much precision. :P
21:46
<&McMartin>
Oh hey, also
21:47
<&McMartin>
It's "Freestyle Retro" because this entire album is improvisational based on listening to the soundtrack and trying to mimic it.
21:50
<&ToxicFrog>
Yes.
22:09 Turaiel is now known as Turaiel[Offline]
22:29 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
22:48 catadroid [catalyst@Nightstar-7en7ur.dab.02.net] has quit [Ping timeout: 121 seconds]
23:35 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
23:43 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Connection reset by peer]
23:43 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
23:44 mode/#code [+o mac] by ChanServ
--- Log closed Fri Mar 25 00:00:43 2016
code logs -> 2016 -> Thu, 24 Mar 2016< code.20160323.log - code.20160325.log >

[ Latest log file ]