code logs -> 2020 -> Thu, 23 Jan 2020< code.20200122.log - code.20200124.log >
--- Log opened Thu Jan 23 00:00:32 2020
01:52 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
02:02 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
02:02 mode/#code [+o Reiv] by ChanServ
04:08 macdjord|out is now known as macdjord|slep
04:12 Degi [Degi@Nightstar-t0rarh.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
04:13 Degi [Degi@Nightstar-na5f37.dyn.telefonica.de] has joined #code
04:58
<&McMartin>
"range {4, 18446744073709551612} causes integer overflow"
04:58
<&McMartin>
God damn it, Jeebs.
05:01
<&McMartin>
AHAHAHAHA, IT WORKS
05:01
<&McMartin>
Time to write significant amounts of internal documentation in lieu of burning the world
05:04 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:05 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
05:05 mode/#code [+o celticminstrel] by ChanServ
05:05 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:05
<&McMartin>
This is one of those cases where I've gotten some publically documented APIs, file formats, and other technologies to actually work
05:06
<&McMartin>
And despite being publically documented across the board, everything required to make it work is so finicky and illogical that I am compelled to treat the actual details of how everything works as basically a trade secret
05:10 Derakon is now known as Derakon[AFK]
05:16 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:16 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
07:28 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Connection closed]
07:29 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
10:02 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
10:45 Kindamoody[zZz] is now known as Kindamoody
12:50 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
12:50 mode/#code [+o celticminstrel] by ChanServ
12:52 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
12:52 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
12:52 mode/#code [+o celticminstrel] by ChanServ
13:39 macdjord|slep is now known as macdjord
14:23 celticminstrel is now known as celmin|away
15:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:09 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:01 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
16:26 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:22 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
18:22 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
18:22 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
19:42
<&ToxicFrog>
[R]: McMartin: UNIX domain sockets work the same as TCP (in SOCK_STREAM mode) in this respect; you can have as many connected clients as ulimit permits.
19:43
<&ToxicFrog>
The server calls bind() and then listen(), and then each accept() produces a new fd connected to a different client as the clients call connect()
19:43
<&ToxicFrog>
You can also have multiple clients in datagram mode using recvfrom/sendto, IIRC, but I'm not sure of the details.
19:49 Derakon[AFK] is now known as Derakon
20:19
<&Derakon>
Bluh, modular arithmetic is giving me a headache.
20:19
<&Derakon>
Stuff like "is this radial direction between these other two directions" is hard.
20:20
<&Derakon>
The problem I'm trying to solve: each gun has a min and max Y rotation about its turret. The gun also as a whole has been rotated, so its global Y rotation is nonzero and its global min and max are actually (global Y + min/max). I have a theta in the range [-180,180]. Is that theta in the range that the gun can rotate to?
20:30
<@ErikMesoy>
Ooooh tricky.
20:33
<&McMartin>
ToxicFrog: I've done the UDP stuff, and when using recvfrom/sendto you don't get extra fds, because there's no continuity between anything and thus no state to preserve in an fd.
20:33
<&McMartin>
The address itself is ultimately the fd
20:33
<&Derakon>
I think I got it sorted...
20:33
<&McMartin>
I think you can set it up to use recv/send, where the address goes in the fd and gets used as one, but I never rolled that way and I got the impression it was frowned on
20:41
<&Derakon>
Kablammo. https://i.imgur.com/9JEqRob.mp4
20:47 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
21:31 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
21:32 mode/#code [+o Reiv] by ChanServ
22:20
<&[R]>
<CrystalMath> i am a former git user who fell in love with CVS
22:21 * macdjord takes a step back from the obvious lunatic
22:21
<&McMartin>
I have a number of skeptical questions about any advantages CVS might purportedly have over Subverion.
22:21
<&McMartin>
*Subversion
22:21
<&[R]>
<CrystalMath> i don't like SVN very much
22:22 * TheWatcher blinks
22:22
<&McMartin>
Yes, this is the claim I do not accept without examples.
22:23
<&McMartin>
Since at a basic level, CVS is SVN without repository coherence
22:23
<@TheWatcher>
Well, username is *almost* right
22:23
<&[R]>
I think it's a troll
22:24
<@TheWatcher>
That or the offspring of a woman with a peculiar habit of covering her hands with butter before picking up her baby.
22:25
<&[R]>
lol
22:26
<&[R]>
https://termbin.com/272q
22:28
<&McMartin>
Oh, I recognize this form of damage
22:28
<&[R]>
https://termbin.com/14gb
22:29
<&[R]>
Oh?
22:29
<&McMartin>
Your secondary link confirms the diagnosis
22:30
<&McMartin>
The two nontoxic versions of it are preferring textual formats over binary one, and preferring interactions that don't require specialized software
22:31
<&[R]>
<CrystalMath> SVN branching however is hell
22:31
<&[R]>
<CrystalMath> CVS does branching way better than SVN
22:31
<&McMartin>
Nope, that's just false
22:31
<&[R]>
Yeah, that's why I shared :p
22:31
<&McMartin>
I mean, what's happening is that he's using tags as if they were branche
22:31
<&McMartin>
s
22:32
<&McMartin>
A thing that SVN is bad at because SVN's idea of a tag is a revision number.
22:32
<&McMartin>
The fact that it can do this is one of the places where SVN is easier to use than Git, though everyone's since worked around this inconvenience~
22:32
<&McMartin>
But it's also part of what makes branches harder to work with.
22:33
<&McMartin>
Also, I suppose, it is fair to note that as long as there is only one file in your repository, then CVS offers little disadvantage to any other centralized system.
22:33
<&[R]>
He's familiar with RCS
22:35
<&McMartin>
IIRC, CVS offers nothing over RCS if there's only one contributor
22:35
<&[R]>
AIUI CVS is a multi-file hack on RCS
22:35
<&[R]>
Which is why it's such a clusterfuck
22:35
<&McMartin>
Your understanding is largely correct; RCS was a check out/return system where you held a lock for hours on the file you were editing by hand
22:35
<&[R]>
Then SVN is a hack on CVS, which is why it's such a clusterfuck
22:36
<&McMartin>
CVS you edited offline and then used RCS to apply the patches.
22:36
<&McMartin>
I do *not* believe SVN wrapped CVS the way CVS wrapped RCS. My memory of SVN is that its earliest versions used berkeleydb instances as their backing stores.
22:36
<&McMartin>
CVS is fancy text files, which was CM's initial claim.
22:36
<&[R]>
Ahh
22:36
<&McMartin>
Of advantage over SVN, that is.
22:37
<&McMartin>
And checking one of my SVN checkouts over here, it appears to now be using sqlite3.
22:37
<&McMartin>
If I had the memetic damage that CM has, I would argue that sqlite3 is basically a text editor at this point
22:38
<&McMartin>
I'm pretty sure I've linked https://www.bitquabit.com/post/unorthodocs-abandon-your-dvcs-and-return-to-sanity/ here before, but it's a pretty good summary of where centralization buys you things in a VCS.
22:38
<&McMartin>
And the part relevant to this:
22:39
<&McMartin>
"It came down to atomicity. CVS treated the atom as the file: a given file had a history, and a file had versions, but the repository really didn't. Oh sure, there were tags and branches, and those did really operate at the repository level, but those were the tools you reached for around release time—not part of your daily flow."
22:39
<&McMartin>
"Subversion treated the atom as the entire repository…almost. I mean, Subversion claimed that's what it was doing, and the entire repository had one single monotonically increasing version number, but Subversion went at once too far and not far enough: it went too far by saying that everything is really just a convention-over-configuration use of a directory, and that in turn meant it didn't go far
22:39
<&McMartin>
enough because it forced Subversion to think of merging and branching at the file level."
22:41
<&McMartin>
Unfortunately, the footnote links on that link are busted and must be resolved manually
23:00
<&[R]>
https://termbin.com/7p8l
23:03
<&McMartin>
Yeah, see, you can actually see the echoes of that in there
23:04
<&McMartin>
He was traumatized as a child by ghost stories about the Classic Mac OS >_>
23:04
<&McMartin>
And yes, I'm making a gender assumption
23:04
<&McMartin>
It's got some solid Bayesian priors now~
23:14
<&[R]>
-*- CrystalMath is a ReactOS developer and knows Windows inside and out
23:14
<&[R]>
O.o
23:17
<&McMartin>
If the former is true, the latter is plausible though possibly overstated
23:18
<&McMartin>
But if you need reverse-engineered Windows Internals information, that tends to be one's best bet.
23:18
<&McMartin>
(If you are unfamiliar with ReactOS: it is an attempt to build a Windows-compatible kernel and userspace ground-up and has nothing to do with react.js)
23:19
<&McMartin>
And IIRC the userspace side of things has largely just been "Wine" for years.
23:20
<&McMartin>
But Wine rather pointedly does not rely on the existence of ntdll.dll, and as a result is often very little help if you're trying to figure out why your device driver is getting bizarre information from a user process
23:22 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:23
<&[R]>
Yeah, I knew what ReactOS was, I guess it's a little obscure still
23:24
<&[R]>
Shame they couldn't keep the Lindows name
23:25
<&McMartin>
It's more that it's far too common nowadays to see "ReactOS" and think "oh my god, some madman is trying to write an entire OS in React"
23:25
<&[R]>
Fair enough
23:25
<&[R]>
I still wish they could've kept the Lindows name though
23:25
<&McMartin>
An understandable mistake, given the relative popularity and also the way JavaScript developers try so damn hard to keep up with the old stereotypes of ivory-tower Lisp hackers
23:25
<&[R]>
Oh
23:26
<&[R]>
Lindows was another project
23:26
<&McMartin>
I'm about 90% sure that the ReactOS kernel isn't Linux-derived
23:26
<&McMartin>
That level of confidence is honestly unwarranted at this point
--- Log closed Fri Jan 24 00:00:33 2020
code logs -> 2020 -> Thu, 23 Jan 2020< code.20200122.log - code.20200124.log >

[ Latest log file ]