code logs -> 2020 -> Sat, 15 Feb 2020< code.20200214.log - code.20200216.log >
--- Log opened Sat Feb 15 00:00:21 2020
00:28 Kindamoody is now known as Kindamoody[zZz]
00:39
<&McMartin>
Ugh, this is the worst kind of work to do on Friday
00:40 * McMartin is prepping for a later refactoring, but that basically means the last thing on his Things Done list this week is going to be "made these files suck way more"
00:57 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
01:45
<&McMartin>
"Total download size: 149.70 MiB. Total Installed Size: 912.53 MiB. Net Upgrade Size: 2.56 MiB."
03:25 Degi [Degi@Nightstar-i88kkk.dyn.telefonica.de] has quit [Operation timed out]
03:28 Degi [Degi@Nightstar-eidgm5.dyn.telefonica.de] has joined #code
05:01 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has quit [Connection closed]
05:04
<&McMartin>
Gracious. I appear to have encountered a proper use for XML out in the wild.
05:04
<&McMartin>
Khronos shifted the OpenGL registry over to it from their previous vast collection of semi-structured text files.
05:05
<&McMartin>
*and* seems to also be shipping a python library for treating it as an object graph.
05:08 celmin|away is now known as celticminstrel
05:15 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has joined #code
05:15 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:32 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has joined #code
06: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!]
07:29 Kindamoody[zZz] is now known as Kindamoody
10:45 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
12:02 Kindamoody is now known as Kindamoody|out
12:03
<&jeroud>
It's the '20s now. If you're going to ship XML, you also have to ship tools for mortals to manipulate it with.
12:04
<&Reiver>
no, no
12:04
<&Reiver>
Just ship it completely undocumented with suprise extra conditional buckets!
12:04
<&Reiver>
Oh, and a proprietary header.
12:05
<&Reiver>
Preferably holding a couple UIDs that are system-specific.
12:05
<&Reiver>
Because quality code, don'tchaknow
12:05 * Reiver nods sagely.
12:05 * Reiver then curls into a ball and weeps.
12:05
<@TheWatcher>
Reiver: you forgot about the opaque base64 encoded binary element contents
12:06
<~Vorntastic>
Kill
12:06
<@TheWatcher>
Preferably ones containing base64 encoded zip files containing futher XML and binary data
12:23
<&ToxicFrog>
No, no
12:24
<&ToxicFrog>
base64-encoded zip containing JSON, which is itself a naïve dump of the DOM generated by an XML parsing tool operating on the actual data, which was originally XML
12:35
<~Vorntastic>
That one's suspiciously specific
12:35
<&jeroud>
Inside that is a JPEG containing a photograph of a printed Word document on a wooden table?
12:37
<&Reiver>
jfc
12:38
<&Reiver>
My example was provided to us as an actual, for-real, new feature allowing us to export and load configuration settings in our millions-per-year Enterprise software -_-
12:38
<&jeroud>
The photo of a printed Word doc was a meme somewhere for a while. Maybe dailywtf?
12:38
<~Vorntastic>
Daily wtf yes
12:39
<~Vorntastic>
Web 0.1 - The Daily WTF (https://thedailywtf.com/articles/Web_0_0x2e_1)
12:39
<&jeroud>
Reiver: Your example is Standard Enterprise. TF's is Occasional Enterprise.
12:39
<@TheWatcher>
Mine is Microsoft.
12:42
<&ToxicFrog>
Vorntastic: it's a combination of different things I've seen in the wild.
12:43
<&ToxicFrog>
"our serialization format is JSON of what the XML parser sees" is sadly not fiction, but I've also never seen it inside a binary payload inside more XML.
12:43
<&Reiver>
the bit that annoys me about the Standard Enterprise?
12:43
<&Reiver>
Those UIDs do not transfer between systems.
12:44
<&Reiver>
So you can literally only save a copy and then upload it to the same system.
12:44
<&Reiver>
Assuming no-one has made extra changes to the system in between.
12:44
<&Reiver>
Which rather begs the question what hte point of having a save/import feature is, eh?
12:47
<&jeroud>
How else are you supposed to refer to hidden internal mutable state?~
15:04 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
15:04 mode/#code [+o celticminstrel] by ChanServ
15:17 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:17 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:21 ErikMesoy1 [Bruker@Nightstar-3p2nck.bb.online.no] has joined #code
16:23 ErikMesoy [Bruker@Nightstar-3p2nck.bb.online.no] has quit [Operation timed out]
16:43 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
16:43 mode/#code [+o mac] by ChanServ
16:45 macdjord [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Operation timed out]
17:05 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
18:18
<&McMartin>
jerith: Well, in this case they also shipped with a dozen-page PDF trying to explain the schema in human-understandable terms
18:18
<&McMartin>
And failed in my case because it sure looks like just reading the python parsing code will be simpler
18:20 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has quit [Ping timeout: 121 seconds]
18:21 Kindamoody|out is now known as Kindamoody
18:35
<&jeroud>
Does the parser use etree?
18:36
<&jeroud>
(I can't actually remember all the Python XML APIs anymore. I think I shall consider this a Good Thing.)
18:36
<&McMartin>
lxml, I think.
18:37
<&McMartin>
But it seems to be creating custom-defined objects and *those* are what I wish to interrogate.
18:59 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has joined #code
20:15 Vornicus is now known as Misty
20:15 Reiver is now known as Joe
20:17 Kizor is now known as Shirley
22:07 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has quit [Ping timeout: 121 seconds]
23:06 Misty is now known as Vornicus
23:06 Shirley is now known as Kizor
23:11 Joe is now known as Reiver
23:18 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:34 Kizor is now known as Shirley
23:34 Shirley is now known as Kizor
--- Log closed Sun Feb 16 00:00:23 2020
code logs -> 2020 -> Sat, 15 Feb 2020< code.20200214.log - code.20200216.log >

[ Latest log file ]