code logs -> 2019 -> Thu, 01 Aug 2019< code.20190731.log - code.20190802.log >
--- Log opened Thu Aug 01 00:00:27 2019
00:07
<&McMartin>
Today in "Python inheriting Lisp's sharp corners" https://pythontips.com/2019/07/30/python-mind-teaser-make-the-function-return-true/
00:08 Kindamoody is now known as Kindamoody[zZz]
00:10
<&Derakon>
McM: ah, that'd be "find the boundary of where Python stops caching integers and instead creates new ones for you" which IIRC is at 128.
00:11 * Derakon reads down.
00:11
<&Derakon>
OK, I wasn't quite right, but I had the gist.
00:11
<&McMartin>
Or, in Common Lisp terms
00:11
<&McMartin>
"This is why EQ and EQL are different functions, you bastards"
00:12
<&Derakon>
I like "is" vs "==".
00:12
<&Derakon>
I feel like it does a decent job of differentiating without being verbose.
00:28
<&McMartin>
Yeah, in Scheme it's "eq?" vs "="
00:28
<&McMartin>
But := lost the war in the algoloids.
00:33
<~Vornicus>
meanwhile, in Python 3.8
00:33
<~Vornicus>
https://www.python.org/dev/peps/pep-0572/
00:58
<@sshine>
learning Google OAuth2 through an undocumented Perl library makes my heart bleed.
01:00
<@sshine>
what spare time projects are you guys doing lately?
01:00
<&McMartin>
Not nearly enough~
01:01 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
01:02
<&McMartin>
But my "should be working on" projects: (1) Ophis modernization project; (2) UQM modernization project; (3) Improving some of the emulation accuracy in the VICE emulator for machines that aren't ones I own; (4) some pseudonymous ROM-hacking that may or may not go anywhere; (5) More demonstration code for my more legit retrocoding ambitions; (6) Organization and cleanup of my five years of retrocoding
01:02
<&McMartin>
writings
01:03
<&[R]>
<sshine> what spare time projects are you guys doing lately? <-- rewritting all of my work automation shit
01:03
<&[R]>
I made the decision to initally write it in xs, as I was learning the language
01:04
<&[R]>
But xs' limitations are brutal
01:04
<@sshine>
xs?
01:04
<&[R]>
Though, the one I'm hitting is actually the same as bash
01:04
<&[R]>
It's a shell
01:04
<&[R]>
https://github.com/TieDyedDevil/XS
01:05
<&[R]>
Lack of 2-dimensional arrays, and lack of any kind of structured data (hash-table for example) is just brutal
01:07
<&[R]>
Though in many respects it was nice to code in it than bash
01:08
<@sshine>
the only new language I've been digging into this year has been 'jq'.
01:08
<&[R]>
jq is really akward to use
01:08
<&[R]>
I wish the man page actually had an example section of common shit you'd use it for
01:08
<@sshine>
yes
01:09
<@sshine>
do you find that there are better DSLs to query/transform JSON?
01:09
<@sshine>
I started writing a jq tutorial just so I could learn it.
01:09
<&[R]>
I work mostly with node.js, so...
01:09
<@sshine>
basically: every time I come up with a non-trivial problem, the manual doesn't help me much, and I struggle and document it, hoping I'll eventually be able to use my own tutorial to compose solutions to larger problems.
01:12 himi [sjjf@Nightstar-vhia1h.optusnet.com.au] has joined #code
01:12 mode/#code [+o himi] by ChanServ
01:14 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code
01:14 mode/#code [+o celticminstrel] by ChanServ
01:41
<&ToxicFrog>
sshine: Nix packaging for CrossFire, getting Lua to run in Bitburner
03:04 himi [sjjf@Nightstar-vhia1h.optusnet.com.au] has quit [Ping timeout: 121 seconds]
03:22 JustLurk [justbob@ServerAdministrator.Nightstar.Net] has joined #code
03:22 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [NickServ (RECOVER command used by JustLurk)]
03:22 mode/#code [+o JustLurk] by ChanServ
03:22 JustLurk is now known as JustBob
03:26 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [Ping timeout: 121 seconds]
03:26 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
03:26 mode/#code [+o JustBob] by ChanServ
05:07 Derakon is now known as Derakon[AFK]
05:15
<&[R]>
$ [ -z ''^'' ] && { echo xs; }; [ -n ''^'' ] && { echo bash; }
05:15
<&[R]>
bash
05:15
<&[R]>
; [ -z ''^'' ] && { echo xs; }; [ -n ''^'' ] && { echo bash; }
05:15
<&[R]>
xs
05:15
<&[R]>
\o/
05:16
<&[R]>
Then instead of an echo, I just source the full lib
05:18
<&[R]>
(For the curious, to xs, ''^'' is the concatenation of two empty strings. To bash it's a single carret)
05:18 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:18 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:43 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:21 * McMartin does battle with libpng
06:22 * [R] just did a major feature update for his meta utility
08:26 Kindamoody[zZz] is now known as Kindamoody
08:38 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Connection closed]
08:39 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
10:47 Kindamoody is now known as Kindamoody|afk
11:07 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
11:07 mode/#code [+o himi] by ChanServ
11:57 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
11:57 mode/#code [+o macdjord|slep] by ChanServ
12:00 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
12:39 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
12:40 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
12:48 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
13:15 Vash [Vash@Nightstar-sjaki9.res.rr.com] has joined #code
13:18 Vash [Vash@Nightstar-sjaki9.res.rr.com] has quit [[NS] Quit: Leaving]
13:20 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
13:20 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
14:14 Vash [Vash@Nightstar-sjaki9.res.rr.com] has joined #code
14:59 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code
14:59 mode/#code [+o celticminstrel] by ChanServ
15:03 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
15:03 mode/#code [+o mac] by ChanServ
15:07 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
15:35 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:35 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:47 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
15:47 mode/#code [+o macdjord|slep] by ChanServ
15:50 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
15:51 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
15:51 mode/#code [+o mac] by ChanServ
15:54 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
16:51 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
17:03 Derakon[AFK] is now known as Derakon
17:38 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
21:45 Kindamoody|afk is now known as Kindamoody
22:12 Vash [Vash@Nightstar-sjaki9.res.rr.com] has quit [[NS] Quit: Leaving]
22:46 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:46 Kindamoody is now known as Kindamoody[zZz]
--- Log closed Fri Aug 02 00:00:28 2019
code logs -> 2019 -> Thu, 01 Aug 2019< code.20190731.log - code.20190802.log >

[ Latest log file ]