code logs -> 2022 -> Wed, 10 Aug 2022< code.20220809.log - code.20220811.log >
--- Log opened Wed Aug 10 00:00:04 2022
01:14 gizmore [kvirc@Nightstar-8iqsgm.dip0.t-ipconnect.de] has joined #code
01:17 gizmore|2 [kvirc@Nightstar-nani8t.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
01:33
<&McMartin>
abudhabi: Yes, I do this
01:34
<&McMartin>
In fact, I did that back when it was still just a collection on Flickr
02:00 Degi_ [Degi@Nightstar-t54b4s.pool.telefonica.de] has joined #code
02:02 Degi [Degi@Nightstar-3ihdf4.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
02:02 Degi_ is now known as Degi
02:10
<&ToxicFrog>
I also do this.
02:16 jessifae [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
02:18 Kizor_ [a@Nightstar-nfsqa7.yok.fi] has quit [Ping timeout: 121 seconds]
02:54
<&McMartin>
Gentlebeings, I bring you... CRIMES.
02:54
<&McMartin>
https://www.hillelwayne.com/post/python-abc/
03:01 Kizor [a@Nightstar-nfsqa7.yok.fi] has joined #code
03:48
<@celticminstrel>
Ooooh, Python finally added something resembling switch-case…?
03:55
<&McMartin>
Indeed
03:55
<@celticminstrel>
This is amazing.
03:55
<@celticminstrel>
(Reading PEP-0636)
03:57
<@celticminstrel>
Only thing I can see that seems to be missing is ranges?
03:58
<@celticminstrel>
Tho maybe you can use the case…if syntax for that.
03:59
<@celticminstrel>
Something like: case int(val) if 1 <= val <= 5:
03:59
<@celticminstrel>
That feels like it should work.
04:00
<@celticminstrel>
(Side note: Python’s transitive comparison operators are awesome, why don’t more languages do that?)
04:12
<&McMartin>
Inform 6 does it, IIRC
04:12
<&McMartin>
I recall once abusing the absolute shit out of C++ and OCaml to make them do it as part of a coding challenge
04:12
<@celticminstrel>
IIRC I only ever used Inform 7.
04:12
<&McMartin>
My lazy guess is "it plays merry hell with operator precedence"
04:12
<&McMartin>
Inform 6 looks like "we have C++ at home"
04:13
<@celticminstrel>
I may have dipped slightly into 6 for one or two things, don’t remember.
04:16
<&McMartin>
If you were using it in the early days, it was often necessary to dip into 6 for stuff; it later became far less necessary and eventually almost completely useless (as it got its own, fully I7-based, underlying standard library)
04:16
<&McMartin>
And the modern Inform actually no longer guarantees that your backend is I6, so.
04:17
<@celticminstrel>
It probably wasn’t “early days”? Maybe 5-ish years ago?
04:18
<&McMartin>
Yeah, in that case it would only be necessary to do stuff like mess with the VM display code directly
04:19
<&McMartin>
Early days is, like, 12 years ago
04:19
<&McMartin>
maybe 15.
04:19
<&McMartin>
I had to replace big chunks of the I6 layer in a thing I did in 2006.
04:19
<@celticminstrel>
I vaguely remember trying to make a whodunnit that randomizes the culprit. Never got very far tho.
04:20
<&McMartin>
A Pretty Good one of those ended up coming out some years back
04:20
<@celticminstrel>
Hm?
04:20
<@celticminstrel>
Exactly how much of my comment does “those” reference back to?
04:21
<&McMartin>
https://ifdb.org/viewgame?ifid=E71F49CC-5858-45DE-B3A8-0E7F2172ABFE
04:21
<&McMartin>
whodunnit that randomizes the culprit
04:22
<@celticminstrel>
Is the time limit turn-based or real-time?
04:22
<&McMartin>
It's been a long, long time since I've looked at it (I was a beta-tester), but ISTR that it was turn-based but different moves took different amounts of time.
08:30 Alek [Alek@Nightstar-06ca3p.il.comcast.net] has quit [[NS] Quit: bbl]
08:44 Alek [Alek@Nightstar-06ca3p.il.comcast.net] has joined #code
10:37 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
11:03 Alek [Alek@Nightstar-06ca3p.il.comcast.net] has quit [Ping timeout: 121 seconds]
11:06 Alek [Alek@Nightstar-06ca3p.il.comcast.net] has joined #code
15:01
<@gnolam>
https://www.youtube.com/watch?v=-xJZ9I4iqg8
17:06 Kizor [a@Nightstar-nfsqa7.yok.fi] has quit [Ping timeout: 121 seconds]
17:06 Kizor_ [a@Nightstar-nfsqa7.yok.fi] has joined #code
18:41
<@Tamber>
Somewhat belatedly, re: python switch/case: Fucking *finally*
18:42
<@Tamber>
well, match/case
21:01 Kimo|autojoin is now known as Kindamoody
21:06 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Connection reset by peer]
21:57 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Client exited]
22:01 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
22:01 mode/#code [+o Kimo|autojoin] by ChanServ
22:02 Kimo|autojoin is now known as Kindamoody
22:07
<&McMartin>
From the same author: https://www.hillelwayne.com/post/falsehoods-programmers-believe-about-dogs/
22:07
<&McMartin>
I have many unkind comments about the genre of articles this is satirizing, but they do not apply to this.
22:09
<&McMartin>
4. There is at least one dog out there that is not the best dog.
22:09
<&McMartin>
- INCORRECT -
22:35
< Mahal>
I do like the original "falsehoods about names" article tho
22:43 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has quit [Ping timeout: 121 seconds]
22:43 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has joined #code
22:43 mode/#code [+ao McMartin McMartin] by ChanServ
23:52 Kindamoody is now known as Kindamoody[zZz]
--- Log closed Thu Aug 11 00:00:05 2022
code logs -> 2022 -> Wed, 10 Aug 2022< code.20220809.log - code.20220811.log >

[ Latest log file ]