|
Pryor on Fire posted:Remember how strict xml was going to be the future of the internet/web/everything, people would buy like four books on document type definitions then web "developers" ruined the internet
|
# ? Jun 21, 2017 21:38 |
|
|
# ? May 30, 2024 22:51 |
|
https://www.youtube.com/watch?v=JrTBlV-FGbc in this skit eric idle will be played by prescription drug abuse
|
# ? Jun 21, 2017 21:43 |
|
mod saas posted:has there ever been a successful deirdre. all the ones i've known have been similar terrible never underestimate an early mind worms rush
|
# ? Jun 21, 2017 21:45 |
|
mod saas posted:has there ever been a successful deirdre. all the ones i've known have been similar terrible My first and second grade teacher was named Deirdre and she was very good but then she got some kind of horrible disease and had to quit teaching. So I guess that probably doesn't count as successful
|
# ? Jun 21, 2017 21:47 |
|
hobbesmaster posted:never underestimate an early mind worms rush self-fulfilling prophecy Deirdre (Irish pronunciation: [ˈdʲɛɾˠdʲɾʲə]; Old Irish: Derdriu /ˈderʲðrʲĭŭ/) is the foremost tragic heroine in Irish legend and probably its best-known figure in modern times. She is known by the epithet "Deirdre of the Sorrows" (Irish: Deirdre an Bhróin).
|
# ? Jun 21, 2017 21:47 |
|
Pryor on Fire posted:Remember how strict xml was going to be the future of the internet/web/everything, people would buy like four books on document type definitions for a long time I didn't understand what was happening. it's just a data serialization format, why is everyone talking about it like it does something? i was young and naive and didn't realize these people were just huffing each other's farts
|
# ? Jun 22, 2017 02:29 |
|
yeah they should have sat you down and explained it to you instead. then maybe the web wouldn't be so lovely
|
# ? Jun 22, 2017 02:54 |
|
Shaggar posted:yeah they should have sat you down and explained it to you instead. then maybe the web wouldn't be so lovely shags has a point
|
# ? Jun 22, 2017 02:56 |
|
sure, json is slowly and poorly reinventing xml, and people only use it because javascript, like ugh guys xml is complicated i don't want to think that hard. then again, xml slowly and poorly reinvented asn.1 in text form, and people only use it because the web, like ugh you mean i HAVE to write a schema???
|
# ? Jun 22, 2017 03:50 |
|
if i really want to get close to the metal should i stick with node.js or get really into the depths of xml?
|
# ? Jun 22, 2017 03:52 |
|
JewKiller 3000 posted:sure, json is slowly and poorly reinventing xml,
|
# ? Jun 22, 2017 03:59 |
|
all that is old is new again
|
# ? Jun 22, 2017 04:08 |
|
gently caress xml viva json
|
# ? Jun 22, 2017 04:56 |
|
Triglav posted:gently caress xml viva json why?
|
# ? Jun 22, 2017 05:18 |
|
really? mods?
|
# ? Jun 22, 2017 05:49 |
|
web "developers" cant articulate why they like json other than thats what their other web "developer" friends like.
|
# ? Jun 22, 2017 05:50 |
|
Shaggar posted:web "developers" cant articulate why they like json other than thats what their other web "developer" friends like.
|
# ? Jun 22, 2017 06:33 |
|
.eval should be good enough for everyone.
|
# ? Jun 22, 2017 12:27 |
|
syscall girl posted:She is known by the epithet "Deirdre of the Sorrows" (Irish: Deirdre an Bitcoin).
|
# ? Jun 22, 2017 12:57 |
|
on a side note: you ever meet a bitcoin fanboy irl? or see that someone has printed out stickers and put them up to evangelize the one bitcoin guy i met was trying to get a thing going where he had a desalinization scheme* i jokingly told him maybe try stark industries and then got kind of forklempft and suggested maybe the bill and melinda gates foundation likes that sort of thing *may or may not have involved perpetual motion but the IDEA of using the sun to make seawater into potable is a good one
|
# ? Jun 22, 2017 13:06 |
|
Shaggar posted:web "developers" cant articulate why they like json other than thats what their other web "developer" friends like. I'm not a web developer but xml is just a mess of <>s and impossible to read at a glance and also has the closure issue where oops you missed one / somewhere, good luck bitch good luck trying to read server.xml to find that typo that's preventing your tomcat instance from working right, might as well go hang yourself if there's no local syntax highlighting installed json otoh is cool and good and easily read
|
# ? Jun 22, 2017 13:19 |
|
web developers just want to pass structs and arrays of strings, numbers, dates and they control the client and the server xml is overkill for that
|
# ? Jun 22, 2017 13:47 |
|
most poo poo in the xml sphere was underthought and overengineered, making for a lot of fantastically clunky stuff with the primary purpose of making sure software threw errors on bad input rather than risking doing something unintentionally correct the web got a bit messy by development being again by relative amateurs after a decade of neglect, but the primary cause of the neglect was that the w3c spent that decade trying to convince people that browsers should not incrementally render since they'd risk interpreting a document that turned out to not be ~~strictly correct~~ and the above is just complaining about the surface stuff which could with a bit of effort be argued to possibly serve some purpose, we then have to painfully recall the loving semantic web and owl and all of that hugely misdirected effort
|
# ? Jun 22, 2017 14:27 |
|
btw json is poo poo too, should have gone with a relational format for interchange, as nasty as sql is defining a subset for the web would have been sweet. did some rather hacked up services for a b2b scenario by replicating our databases, setting up a view of the info the service should expose, and using database permission system to lock the service user onto those views, and just had them jdbc in across the internet without bothering to ever write a messy xml/soap/web layer where we would have constrained how the data could be queried for no reason not exactly scalable, but the sql solution we used was an ancient battle-tested thing, and i have little doubt that us wrapping it in something would have been far more likely to gently caress up security/scalability than just letting it do its thing directly
|
# ? Jun 22, 2017 14:35 |
|
Bhodi posted:I'm not a web developer but xml is just a mess of <>s and impossible to read at a glance and also has the closure issue where oops you missed one / somewhere, good luck bitch Linux not having working text editors isn't a failing of xml. also you'd get just as much symbol soup in a server.json but without the benefit of schema.
|
# ? Jun 22, 2017 14:36 |
|
Reasons that I like JSON: It is fine. Reasons that I like XML: It is fine.
|
# ? Jun 22, 2017 14:40 |
|
tk posted:Reasons that I like JSON: It is fine. quick hint colon tif colon saves the keystrokes
|
# ? Jun 22, 2017 14:51 |
|
lol if you dont use yaml
|
# ? Jun 22, 2017 14:56 |
|
lol if you use a markup language whose name is "yet another markup language"
|
# ? Jun 22, 2017 15:00 |
|
Shaggar posted:Linux not having working text editors isn't a failing of xml. also you'd get just as much symbol soup in a server.json but without the benefit of schema. e: yaml is good, mostly. The convention for :item: being a ruby symbol is a hack tho Bhodi fucked around with this message at 15:07 on Jun 22, 2017 |
# ? Jun 22, 2017 15:01 |
|
ufarn posted:lol if you dont use yaml this but literally the opposite
|
# ? Jun 22, 2017 15:50 |
|
xpath is great for when you want to find specific nodes and when you are iterating nodes xml works the same as json. also lol that you're using ruby. double lol @ yaml.
|
# ? Jun 22, 2017 15:52 |
|
Shaggar posted:xpath is great for when you want to find specific nodes and when you are iterating nodes xml works the same as json. the problem with xpath is it was designed for well formed xml and nobody writes well formed xml.
|
# ? Jun 22, 2017 15:54 |
|
all my xml is well formed.
|
# ? Jun 22, 2017 15:55 |
|
every time i have to deal with some json api theres a moment where the realization hits me that im gonna have to build the client and models myself and it makes me sad.
|
# ? Jun 22, 2017 15:57 |
|
misery is other peoples code or code you forgot you wrote
|
# ? Jun 22, 2017 15:58 |
|
cis autodrag posted:misery is other peoples code *nods sagely*
|
# ? Jun 22, 2017 16:19 |
|
Bhodi posted:luv 2 construct xpaths rather than clean array[number]s you're free to dump xml to a stupid hash xpath is just much easier to work with than trying to pick through an eleventy-billion depth tree Bhodi posted:also luv to be forced to use use byte-compiled poo poo like nokogiri cuz native parsers are too slow in this apparently cool and good format used for transporting and translating data neither xml nor json was designed to be fast to parse xml, however, is feature-complete and handles all of the annoying corner cases in a language-independent document format. so it is much more practical to use an off-the-shelf c++ library than try to implement your own 100% complete, correct xml library for every god drat scripting language
|
# ? Jun 22, 2017 17:03 |
|
CommunistPancake posted:this but literally the opposite yaml is unbelievably bad and awful mod saas posted:*nods sagely* stop it
|
# ? Jun 22, 2017 17:04 |
|
|
# ? May 30, 2024 22:51 |
|
i legit think next time i have this problem and the opportunity to do so i will send a sqlite database over the wire, it is entirely trivial to do, and the format is portable
|
# ? Jun 22, 2017 17:05 |