- 14 Posts
- 5.26K Comments
atzanteol@sh.itjust.worksto
World News@lemmy.world•Minneapolis judge bars DHS agents from arresting peaceful protestersEnglish
11·11 hours agoFucking hell you libs are going to ruin us all over your idiocy. Get. Trump. Out. First. Voters are the ones that make that happen. Without that nothing else has a chance.
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
12·11 hours agoHaving to make a decision isn’t my primary issue here (even though it can also be problematic, when you need to serialize domain-specific data for which you’re no expert). My issue is rather in that you have to write this decision down, so that it can be used for deserializing again. This just makes XML serialization code significantly more complex than JSON serialization code. Both in terms of the code becoming harder to understand, but also just lines of code needed.
This is, without a doubt, the stupidest argument against XML I’ve ever heard. Nobody has trouble with using attributes vs. tag bodies. Nobody. There are much more credible complaints to be made about parsing performance, memory overhead, extra size, complexity when using things like namespaces, etc.
I’ve somewhat come to expect less than a handful lines of code for serializing an object from memory into a file. If you do that with XML, it will just slap everything into child nodes, which may be fine, but might also not be.
No - it is fine to just use tag bodies. You don’t need to ever use attributes if you don’t want to. You’ve never actually used XML have you?
https://www.baeldung.com/jackson-xml-serialization-and-deserialization
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
1·11 hours agoYes, which needs to be supported by your parser.
atzanteol@sh.itjust.worksto
World News@lemmy.world•Minneapolis judge bars DHS agents from arresting peaceful protestersEnglish
13·19 hours agoThe first step is giving the opposition party political power.
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
3·19 hours agoI mean, yeah. But people don’t just do things randomly. Most people put data in the body and metadata in attributes just like html.
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•An alternative decentralized internet for sharing text and media: The Gemini ProtocolEnglish
312·22 hours agoNeat. That’s going nowhere. Less formatting than even markdown… Hey kids you like plain text files right?
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
5·22 hours agoThey’re siblings. They both derive from SGML. There is a version of HTML that is also XML conformant called XHTML but it never caught on…
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
31·22 hours agoJSON is super easy to read and write though. Just needs a parser that allows comments…
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
6·22 hours agoFuck yaml. TOML or literally anything else.
atzanteol@sh.itjust.worksto
Programming@programming.dev•The lost art of XML — mmaguetaEnglish
84·22 hours agoThis is your confusion, not an issue with XML.
Attributes tend to be “metadata”. You ever write HTML? It’s not confusing.
atzanteol@sh.itjust.worksto
News@lemmy.world•Joe Rogan Accuses Trump of Causing Chaos to Distract From Epstein FilesEnglish
52·2 days agoIt’s a little bit like claiming Hitler invaded Poland to distract from his bad policies… But if Epstein is the thing that allows his followers to say “that’s a bridge too far” then so be it.
atzanteol@sh.itjust.worksto
News@lemmy.world•No, antidepressants do not cause mass shootingsEnglish
201·2 days agoThere is some really stiff competition in this administration though.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•I made my home lab immutable with Terraform | XDAEnglish
41·2 days agoThe last thing I want to see when I clock out is another terminal screen.
I’m reacting to this mostly. Self-hosters are a bit of an obnoxious blend of people who want turnkey-but-not-Google solutions and people willing to learn how to do things. People whining about “having to use a terminal” are generally in the former category.
atzanteol@sh.itjust.worksto
News@lemmy.world•‘I’m Witnessing a Lot of Emptiness’: How ICE Uprooted Normal Life in MinneapolisEnglish
461·2 days agoI found the kids hiding in an interior hallway of a fully dark apartment. They were scared to let me turn the lights on because la migra (ICE) might be outside. ICE had been banging on the front door of their building ten minutes ago, so they weren’t being unreasonable. And they were right. La migra was loitering in the area. ICE was also, unfortunately, on the block where the mother was sheltering.
Jesus, shades of Anne Frank’s Diary…
The little ones were understandably confused about why this big white guy was in their house, and they wanted to show me all their things.
🥹
atzanteol@sh.itjust.worksto
News@lemmy.world•Renee Good was shot in the head, autopsy commissioned by her family findsEnglish
711·2 days agoA third shot entered the left side of Good’s head near the temple and exited on the right side,
Goddamnit… I’m surprised her partner wasn’t hit as well. This fascist needs to swing.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•I made my home lab immutable with Terraform | XDAEnglish
41·2 days agoThen don’t self host?
atzanteol@sh.itjust.worksto
Science@mander.xyz•4 Black Eggs Surfaced From the Dark Heart of the Ocean—With 'Alien' Creatures InsideEnglish
9·2 days agoUtter clickbait drivel.
atzanteol@sh.itjust.worksto
News@lemmy.world•These Democrats voted for the DHS funding bill despite ICE furorEnglish
171·2 days agoDemocrats you gotta primary these folks.














You keep using that phrase. I do not think it means what you think it means.