code logs -> 2019 -> Mon, 07 Oct 2019< code.20191006.log - code.20191008.log >
--- Log opened Mon Oct 07 00:00:18 2019
00:19
<@Alek>
people definitely do still play Everquest, yes.
00:19
<@Alek>
I never did, couldn't afford it when it was in its heyday, nor could I run it or reliably connect. >_>
00:20
<@Alek>
my first MMO was probably, oh, Phantasy Star Online: Blue Burst.
00:20
<@Alek>
I was around when it was shutting down, too. :(
00:25 Kindamoody is now known as Kindamoody[zZz]
01:22 celticminstrel [celticminst@Nightstar-ocfc15.dsl.bell.ca] has quit [Ping timeout: 121 seconds]
01:37 * McMartin writes a script that churns out 3,000 lines of test cases, finds two bugs.
01:37
< Mahal>
!!
01:38
<&McMartin>
The thing about writing programs to write programs is that you end up being really careless about things like repeating yourself in the generated code.
01:39
<&McMartin>
I guess it found three bugs if you count the one it found in its own generator script.
01:51
<~Vornicus>
pf
01:55 celticminstrel [celticminst@Nightstar-ocfc15.dsl.bell.ca] has joined #code
01:55 mode/#code [+o celticminstrel] by ChanServ
02:41 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
02:42 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
02:42 mode/#code [+o Reiv] by ChanServ
03:11 * McMartin finds another bug in his test code, but otherwise has now managed to run through every permutation of use of these data objects. Good stuff.
03:11
<&McMartin>
I think I'll leave the 3,400-line test script *out* of the repository and just check in the script that generates it and the makefile that invokes that.
03:27
<&McMartin>
Aaand, just in time! I see Asia team poking at the PRs.
03:47 Derakon[AFK] is now known as Derakon
04:59 celticminstrel [celticminst@Nightstar-ocfc15.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:02 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
05:09 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:09 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:20 Derakon is now known as Derakon[AFK]
09:33
<@TheWatcher>
https://github.com/mxgmn/WaveFunctionCollapse - generate tiles based on an input texture and ideas from quantum mechanics
09:39
<&Reiver>
...what
09:39
<@TheWatcher>
It's pretty damned awesome
09:42
<~Vorntastic>
Swear this has come up before. But yeah it is super neat
09:42
<@TheWatcher>
Probably, looks like the original version is from 2016
09:43
<@TheWatcher>
But Dera retweated something about it earlier, and I thought it deserved mention here
11:38
<@sshine>
I'm trying to make 'find' ignore a certain .stack-work/ subdirectory and all of its contents, but https://stackoverflow.com/questions/4210042/how-to-exclude-a-directory-in-find-command doesn't seem to work
11:39
<@sshine>
e.g.: find ~ -path .stack-work -prune -o -type f
11:39
<@sshine>
I don't know if it's because it only looks for .stack-work in the outermost directory and not recursively?
11:45
<@sshine>
ah, never mind. this works: find . -type d \( -name .stack-work -o -name .git \) -prune -o -type f -print
13:04 Kindamoody[zZz] is now known as Kindamoody
13:30 celticminstrel [celticminst@Nightstar-ocfc15.dsl.bell.ca] has joined #code
13:30 mode/#code [+o celticminstrel] by ChanServ
13:49 celticminstrel is now known as celmin|away
14:17
<&[R]>
o.hours = (o.hours || 0) - -job.calcHours() // I love JS' type munging...
15:00
< Yossarian>
find is a bit of a weirdo utility in my book, perhaps I have not read the manpages closely enough (yet).
15:02
< Yossarian>
[R]: -job.calcHours()
15:02
< Yossarian>
why the -? unary minus or ?
15:02 * Yossarian having a smoke then jetting off
15:03
< Yossarian>
oh
15:03
< Yossarian>
the o.hours || 0
15:03
< Yossarian>
I see, lol
15:03
<&jeroud>
Presumably + would allow string concatenation or something.
15:04
<&jeroud>
And - - forces numericality or something.
15:04
< Yossarian>
type promotion is a bit weird in C and C++ but the good news is you can't assume anything, at least, if you don't know the platform
15:05
< Yossarian>
some cast and munging a bit weird but C99 or any is "I don't know, what's the platform?"
15:05
< Yossarian>
I imagine the types uintx_s and such are useful
15:05
< Yossarian>
and more descriptive
15:06
< Yossarian>
but I hope to write some JS sometime soon :)
15:07
< Yossarian>
look forward to it though
15:13
<&jeroud>
Ah, the enthusiasm of youth!
15:20
< Yossarian>
didn't say I would have head-to-desk moments and wouldn't be flippin my dick once in awhile
15:20
< Yossarian>
errr LOL ah
15:20
< Yossarian>
s/dick/desk
15:20
< Yossarian>
wow
15:20
< Yossarian>
sorry
15:21
< Yossarian>
I'll be back later, take care! ~wave~
15:22 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:22 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:26
<&ToxicFrog>
TheWatcher: that is extremely cool.
15:26
<&ToxicFrog>
Yossarian: preemptive condolences on your impending experience with javascript.
16:46 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
16:58 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:04 Derakon[AFK] is now known as Derakon
17:04
<&[R]>
<jeroud> Presumably + would allow string concatenation or something. <jeroud> And - - forces numericality or something. <-- ding ding ding
17:08
<&[R]>
The two features I most want for JS: an int type and the ability to specify a type of an argument (with forced conversion or errors as applicable)
17:09
<&jeroud>
[R]: I think you've just described Typescript.
17:10
<&[R]>
I've bad experiences with transpiling
17:10
<&ToxicFrog>
What sort?
17:11
<&ToxicFrog>
If it's specifically about debuggability I believe JS supports sourcemaps these days.
17:11
<&[R]>
Debugging, line-numbers getting all mungled
17:12
<&[R]>
Reminds me of debuggin IE JS issues
17:12
<&ToxicFrog>
Yeah, sourcemaps address that (or are meant to, anyways, I don't know how well they work in practice on big things)
17:13
<&[R]>
Fair enough, something to look into later
17:14
<&ToxicFrog>
I also don't know what browser support is like outside of Chrome or how well (if at all) typescript supports them, since all of my experience with them is chrome + cljs
17:14
<&ToxicFrog>
But the capability exists, at least
17:15
<&[R]>
I do a ton of stuff in node.js actually
17:15
<&jeroud>
From what little Typescript I've seen, it appears to be normal JS with type annotations.
17:15
<&[R]>
That code's from my work maintenance scripts (which are called on the shell)
17:16
<&jeroud>
(Unlike CoffeeScript, etc.)
17:16
<&ToxicFrog>
jeroud: yeah, but you still need a compilation pass or the JS parser in the browser will choke on the annotations.
17:16
<&ToxicFrog>
[R]: my few interactions with node.js have been unpleasant and in fact last night's project was reimplementing (in python) a node.js project that had, in the ~3 years since it was released, bit-rotted to the point where it no longer worked at all.
17:17
<&[R]>
CoffeeScript's actually the main thing that burned me on transpilers
17:17
<&jeroud>
Sure, but all that needs to do is strip the annotations. If they replace them with whitespace or whatever, any source locations are unchanged.
17:17
<&ToxicFrog>
True
17:18
<&ToxicFrog>
(as an added bonus, the python implementation is less than half the size, does more, and has no dependencies outside python3 itself)
17:18
<&[R]>
TF: It's not that bad. Though code written for 0.x has a chance of not working now (as much of the API changed in 0.x)
17:19
<&[R]>
Definately not something to focus learning JS in though
17:19
<&ToxicFrog>
[R]: IIRC this was written for node 6, kind of sort of works in node 8, and doesn't work at all in node 9+
17:19
<&[R]>
Hmm, those changes were while I was majorly depressed, so I don't actually know what occured there
17:20
<&[R]>
Thought 6->8 does ring a bell a little, and I recall having to make a minor change
17:20
<&ToxicFrog>
Yeah, and I'm not particularly interested in digging into why, the python version works so I'm done there
17:21
<&ToxicFrog>
(as an added bonus all the single-character variable names have been replaced with something more descriptive, although I can't really blame node for that; I think parts of the source were actually copy-pasted from a minified and then prettyprinted JS file)
17:22
<&[R]>
Fun fact: JS minification doesn't actually change variable names
17:22
<&[R]>
Because it can fuck up horribly if it tries
17:23
<&[R]>
So JS code written to be minified will have one-character variable names already
17:24
<&[R]>
Unfortunately, since I learned JS with a toolkit that had such a naming convention, it has bled into my own naming scheme (hence "o")
17:29
<&ToxicFrog>
Er? Every minifier I've seen in the past few years does at least partial variable name reduction
17:29
<&ToxicFrog>
Typically for locals where it can prove they aren't used outside the function
17:30
<&[R]>
This was 2010
17:30
<&[R]>
At least this is how that codebase was written
17:32
<&ToxicFrog>
Aah
17:32
<&ToxicFrog>
Yeah, the state of JS source transformation and transpilation has changed a great deal since then
18:42 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
20:54
<@sshine>
I've been hacking on my Linux to make it work neater. update my 2-year-old ConfigurationFiles github repo. this feels good.
20:54
<@sshine>
I infected most of my standard programs (termite, emacs, chromium) with a solarized-light theme.
20:55
<@sshine>
I finally got around to adding a login manager (slim; appears to be deprecated, but it's slim and was easy to set up)
20:55
<@sshine>
also, I updated my .emacs to work with Emacs 26.3.
20:55
<@sshine>
(it was written mostly for Emacs 24, and it worked in Emacs 25, but it broke with Emacs 26.)
20:56
<@sshine>
my Xmonad still bugs me out. I wish it wasn't so difficult to get a proper toolbar.
20:57
<@sshine>
just after installing SLiM, and before changing Xfce back to Xmonad, I started getting these popups from my mail program about appointments since forever. those could be useful. I used to have a popup daemon running in Xmonad, but I had to set it up myself.
21:09 Degi [Degi@Nightstar-2m6rsi.dyn.telefonica.de] has joined #code
21:22 * TheWatcher arghs at his headbones
21:24
<@TheWatcher>
No, I am not going to fucking remake Sentinel Returns, damnit
21:37
<&[R]>
slim's deprcated? D:
21:37 Derakon_ [Derakon@Nightstar-f1lpvo.ca.comcast.net] has joined #code
21:37 Derakon [Derakon@Nightstar-f1lpvo.ca.comcast.net] has quit [NickServ (RECOVER command used by Derakon_)]
21:37 Derakon_ is now known as Derakon
21:37 mode/#code [+ao Derakon Derakon] by ChanServ
21:38
<&[R]>
Since 2013
21:38
<&[R]>
Well, since I'm running wmii (which has had its source purged from the website it came from), I guess it doesn't matter too much
21:39 Derakon_ [Derakon@Nightstar-f1lpvo.ca.comcast.net] has joined #code
21:39 * TheWatcher eyes it, notes "not fully compatible with systemd", counts that in its favour~
21:39
<&[R]>
I was going to make the same joke
21:39
<&[R]>
Apparently Arch still managed to taint it though
21:43 Derakon [Derakon@Nightstar-f1lpvo.ca.comcast.net] has quit [Ping timeout: 121 seconds]
22:01 Derakon_ is now known as Derakon
22:01 mode/#code [+ao Derakon Derakon] by ChanServ
22:05 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:06 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:01 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:21 macdjord [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
23:25 macdjord [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
23:25 mode/#code [+o macdjord] by ChanServ
23:26 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
23:26 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
--- Log closed Tue Oct 08 00:00:19 2019
code logs -> 2019 -> Mon, 07 Oct 2019< code.20191006.log - code.20191008.log >

[ Latest log file ]