|
I just converted a thing from json to xml and the average file size shrank admittedly the json had a bunch of extra white space because it was trying to be human readable, but still
|
# ? Jul 7, 2014 18:40 |
|
|
# ? May 16, 2024 17:48 |
|
you can probably have your json generate eliminate the whitespace which will make it smaller, but really the difference between xml + json size wont ever be significant and if ur compressing it over http its going to eliminate any remaining difference.
|
# ? Jul 7, 2014 19:12 |
|
tbqh if u care about size the first thing is gzip. then see if u still care after that. probably not
|
# ? Jul 7, 2014 19:39 |
|
if ur doing real development, you use xml. if you're doing javascript, you use json.
|
# ? Jul 7, 2014 19:46 |
|
Xtremely-good Markup Language
|
# ? Jul 7, 2014 19:47 |
|
yep, pretty much.
|
# ? Jul 7, 2014 19:48 |
|
Shaggar posted:if ur doing real development, you use xml. if you're doing javascript, you use json. chef uses json for config files
|
# ? Jul 7, 2014 19:48 |
|
tbqh I didn't care in the first place. i switched to xml to get good tool support. it just surprised me because I'd subconsciously believed all the hype about xml being too verbose I guess
|
# ? Jul 7, 2014 19:49 |
|
anytime web "developers" say a thing you can assume the opposite is true.
|
# ? Jul 7, 2014 19:50 |
|
Shaggar posted:anytime web "developers" say a thing you can assume the opposite is true. as a webdev, shaggar was right
|
# ? Jul 7, 2014 19:55 |
|
i look forward to my final year project of doing more django development i really need that A
|
# ? Jul 7, 2014 19:57 |
|
nice av valeyard
|
# ? Jul 7, 2014 19:58 |
|
prefect posted:chef uses json for config files he said real development, not ruby
|
# ? Jul 7, 2014 20:00 |
|
Forums Terrorist posted:nice av valeyard ive never even talked about liking anime, i cant people people would lie like this. also its CHARTS, not GRAPHS, jesus..
|
# ? Jul 7, 2014 20:02 |
|
Symbolic Butt posted:someone redtext prefect with "THIS IS GROOVY" thanks in advance this but with a good will
|
# ? Jul 8, 2014 00:27 |
|
who here protobuf their data streams all over user faces?
|
# ? Jul 8, 2014 00:44 |
|
hey shaggar i saw this and thought of you http://jsonresume.org/
|
# ? Jul 8, 2014 03:30 |
|
MeramJert posted:hey shaggar i saw this and thought of you http://jsonresume.org/ string
|
# ? Jul 8, 2014 03:36 |
|
I gave up on the princeton algos course because I hated the exercises they provided, mainly due to tedium imma resign myself to never doing anything interesting or cool and pop out a couple of kids, later
|
# ? Jul 8, 2014 05:37 |
|
MeramJert posted:hey shaggar i saw this and thought of you http://jsonresume.org/ they also assume everyone lives in a city for some reason? e: i'm the hobby Soricidus fucked around with this message at 09:05 on Jul 8, 2014 |
# ? Jul 8, 2014 09:01 |
|
Share Bear posted:imma resign myself to never doing anything interesting or cool and pop out a couple of kids, later thats a pro post/avatar combo
|
# ? Jul 8, 2014 09:02 |
|
Soricidus posted:lol, they assume everyone has exactly two names. fail at the very first hurdle. if you don't live in a city (town, village, hamlet, commune, whatever), where do you live?
|
# ? Jul 8, 2014 10:12 |
|
http://en.wikipedia.org/wiki/Unincorporated_area
|
# ? Jul 8, 2014 10:16 |
|
i live in a floating libertarian paradise in international waters
|
# ? Jul 8, 2014 10:27 |
|
but enough about coding from the bathtub
|
# ? Jul 8, 2014 10:29 |
|
prefect posted:if you don't live in a city (town, village, hamlet, commune, whatever), where do you live? basically it's the same problem as the first/last name fields. it's overspecifying badly because the creator is incapable of grasping that his requirements are not universal. babby's first schema.
|
# ? Jul 8, 2014 10:48 |
|
first name / last name is a very bad way of doing it
|
# ? Jul 8, 2014 10:52 |
|
Soricidus posted:I live in a town. "city" has a well-defined legal meaning in my country and the place I live is not one. there's probably an rfc for specifying somebody's postal address; they should adapt that into their json thing
|
# ? Jul 8, 2014 11:00 |
|
i work with people that go by: given name / family name; family name / given name; non-legal given name / family name (but your employer would still need to know your legal name); and given name (no family name).
|
# ? Jul 8, 2014 11:01 |
|
ya you dont want to get caught lying on your resume about your legal status of the neighborhood you live
|
# ? Jul 8, 2014 11:02 |
|
Share Bear posted:I gave up on the princeton algos course because I hated the exercises they provided, mainly due to tedium same but the first week
|
# ? Jul 8, 2014 12:03 |
|
Cheap Diner Coffee posted:same but the first week i thought the first week was a weed-out week that they forgot to take out of the online course, but nope this is moreso for the "exercises" rather than the actual homework, which was challenging enough. they probably won't give a survey to ask why i dropped the class. the exercises were mostly questions about what'd happen if you stopped an algorithm after a certain, usually tedious to calculate, number of steps. you could of course write your own implementation, hope it was accurate, and use that to solve the questions, but then you could not reuse the code for the homework.
|
# ? Jul 8, 2014 15:25 |
|
data structures and algorithms are the most important things they'll teach you in a comp sci program.
|
# ? Jul 8, 2014 15:28 |
|
Shaggar posted:data structures and algorithms are the most important things they'll teach you in a comp sci program. why?
|
# ? Jul 8, 2014 15:31 |
|
because the knowledge is general and applicable to real world programming unlike most everything else in your cs degree.
|
# ? Jul 8, 2014 15:34 |
|
I mean even then the implementation details aren't critical, its mostly the ability to think about what they are doing and how they use resources so you can pick the best things for your situation.
|
# ? Jul 8, 2014 15:36 |
|
When I graduated I was like 'wtf I can't write code' but I knew all the data structures and algos and stuff and yeah that does come in handy as time goes. Helps you get past a lot of the fluff in real programming.
|
# ? Jul 8, 2014 15:39 |
|
ok, thx. i just kind of assumed the shaggarpinion would be that "programming java" is more practically important than "implementing your own sort"
|
# ? Jul 8, 2014 15:39 |
|
well thats also true. you should use java and you should never implement your own sort.
|
# ? Jul 8, 2014 16:00 |
|
|
# ? May 16, 2024 17:48 |
|
Shaggar posted:data structures and algorithms are the most important things they'll teach you in a comp sci program. thanks for the update
|
# ? Jul 8, 2014 16:03 |