|
there was that article about 5 things the json spec leaves open like infinite streams, meaning there's at least 32 parsers that are valid and none agrrr
|
# ? Aug 31, 2016 04:58 |
|
|
# ? May 11, 2024 23:20 |
|
NihilCredo posted:is there a conventional name or operator for this function: i asked hoogle and im not sure what to make of some of these results https://www.haskell.org/hoogle/?hoogle=%28a+-%3E+b%29+-%3E+%5Ba%5D+-%3E+%5B%28a%2C+b%29%5D
|
# ? Aug 31, 2016 05:00 |
|
the best data interchange format involves protobufs
|
# ? Aug 31, 2016 05:04 |
|
xml is good too
|
# ? Aug 31, 2016 05:05 |
|
Bloody posted:involves ?
|
# ? Aug 31, 2016 05:31 |
|
moving from whitespace-delimited text parser to xml is the most incredible thing. I can take a subpart I want to process and pass it to a handler and not worry about the state of the parser if the subpart is malformed in related news I recently learned that jsonp is a thing people regularly do, and nearly shat myself. what the gently caress, how is this our goddamned infrastructure
|
# ? Aug 31, 2016 05:45 |
|
anyone here ever used hessian binary protocol?
|
# ? Aug 31, 2016 07:23 |
|
i've never used java before but i wanna wrap a web app in an android WebView and throw it on their app store so I decided to dig in using this guide for web dev babies like me and like literally the first thing I noticed is that they use hungarian notation for member variables. now regardless of whether or not this is a good idea, I was surprised to see it all over the API docs, so I looked at Google's official java style guide, and they specifically do not recommend it here. then i found a very strongly worded blog post about this here. i'm glad i'm finding out all native app platforms have random confusing issues rooted in poor technical and cultural decisions, just like the web (also I think I'm gonna use hungarian notation just for consistency with these docs because it's a tiny app and I'm a new Java baby who doesn't yet recognize the different syntax highlighting in this editor for member variables and regular variables. this is why I prefer explicit this/self referencing ) abraham linksys fucked around with this message at 07:44 on Aug 31, 2016 |
# ? Aug 31, 2016 07:28 |
|
Mr Dog posted:struct tm is the stupidest goddamn poo poo and so are the ansi c or posix or whatever the gently caress date/time apis most time apis do it that way because month is an enumerated field not a counter. hours and minutes can obv be 0 and day of month can't
|
# ? Aug 31, 2016 08:06 |
|
abraham linksys posted:this is why I prefer explicit this/self referencing ) you are in fact allowed to use explicit this references in java style guides in general recommend that you don't (the same way style guides in general say "don't use hungarian warts you idiot"), but it's entirely permissible.
|
# ? Aug 31, 2016 08:13 |
|
Jabor posted:you are in fact allowed to use explicit this references in java they only time i use explicit this is public void setButt(Butt butt) { this.butt = butt; }
|
# ? Aug 31, 2016 10:54 |
|
hackbunny posted:I check out the whole project at depth "immediates" (svn co --depth=immediates), this gets me trunk, tags and branches, all empty this prompted me to learn what the hell svn was talking about when it referred to 'depth', thanks! guess i'm the terrible version controller
|
# ? Aug 31, 2016 11:34 |
|
redleader posted:this prompted me to learn what the hell svn was talking about when it referred to 'depth', thanks! using a substandard tool is no excuse not to use it properly!
|
# ? Aug 31, 2016 12:08 |
|
I'm surprised people are still discussing hungarian notation in 2016, does any of this poo poo ever die in programming?
|
# ? Aug 31, 2016 13:16 |
|
Symbolic Butt posted:I'm surprised people are still discussing hungarian notation in 2016, does any of this poo poo ever die in programming? when's the last time you saw bcpl code?
|
# ? Aug 31, 2016 13:19 |
|
LordSaturn posted:moving from whitespace-delimited text parser to xml is the most incredible thing. I can take a subpart I want to process and pass it to a handler and not worry about the state of the parser if the subpart is malformed Jsonp is a hack to get around cross domain request.problems. Web "development" is terrible.
|
# ? Aug 31, 2016 13:57 |
|
nice title shag man
|
# ? Aug 31, 2016 14:12 |
|
hackbunny posted:nice title shag man they should have given him a picture of maine's governor
|
# ? Aug 31, 2016 14:13 |
|
LordSaturn posted:moving from whitespace-delimited text parser to xml is the most incredible thing. I can take a subpart I want to process and pass it to a handler and not worry about the state of the parser if the subpart is malformed JSONP is obsolete for any browser that supports CORS, which these days is all of them (except IE8, of course)
|
# ? Aug 31, 2016 14:43 |
|
ie8 has been obsolete for a like a decade
|
# ? Aug 31, 2016 14:49 |
|
does netscape navigator support cors
|
# ? Aug 31, 2016 14:49 |
|
Bloody posted:does netscape navigator support cors no, but it has a feature called javacors
|
# ? Aug 31, 2016 15:08 |
|
LordSaturn posted:moving from whitespace-delimited text parser to xml is the most incredible thing. I can take a subpart I want to process and pass it to a handler and not worry about the state of the parser if the subpart is malformed seriously, if ppl think json or xml file formats are bad, they should stick their eyeballs on the ansi x12 spec sometime. Symbolic Butt posted:I'm surprised people are still discussing hungarian notation in 2016, does any of this poo poo ever die in programming? nope i still have to use that bullshit in vb6 code erry day. at least it makes some sense there because the ide's intellisense sucks balls and telling you what types things are.
|
# ? Aug 31, 2016 15:31 |
|
like, i cant post the specs themselves because you have to pay money for them, but here's the header of a claim file:code:
but also many of the types of lines can appear repeatedly in a section and can be used in many types of sections in the same file, and as far as ive been able to tell its impossible to construct a grammar for these files that is fully left or right recursive, so youre basically hosed trying to write a parser for these things. o(n) is the best you can do, and probably a little worse than that because you have to backtrack sometimes because it can be 3 lines into a section before you have enough information to realize you started a new section 3 lines ago. the specifications are created by an industry group, but they don't even make model implementations of them. they literally just poo poo these spec documents into the wind with nary a thought as to whether the format they've created is actually good for computers. of course, it's not particularly human-readable either so it's basically just bad for everyone.
|
# ? Aug 31, 2016 16:03 |
|
right now this poo poo is so painful to work with that a lot of health plans pay a third party to scrub these files for them and transform them into another format that can be loaded more easily. ive heard that these claim scrubbing services literally can't even automate a lot of it and they have warehouses full of indonesians hunched in front of computers cleaning up these files by hand.
|
# ? Aug 31, 2016 16:06 |
|
that's loving dark
|
# ? Aug 31, 2016 16:12 |
|
sounds like healthcare is ripe for disruption, op
|
# ? Aug 31, 2016 16:17 |
|
Luigi Thirty posted:sounds like healthcare is ripe for disruption, op hahahahahahaha good luck with that have fun navigating the regulatory minefield
|
# ? Aug 31, 2016 16:44 |
Finster Dexter posted:hahahahahahaha good luck with that Repeat after me: We don't provide healthcare, we just match patients with [unlicensed] doctors!
|
|
# ? Aug 31, 2016 17:15 |
|
milstrip is pretty bad too 80 chars (cause mainframes), variable field parsing depending on what the type and contents are oh yeahhhhhhhhhhhhhhhhhh
|
# ? Aug 31, 2016 17:18 |
|
its almost cheating tho, like anybody using mainframes in tyool 2016..............
|
# ? Aug 31, 2016 17:20 |
|
LeftistMuslimObama posted:hell format a good and real post, which I commend the fun thing about "simple" bespoke formats like whitespace-delimited tokens is that it leads to every domain writing their own parser, each of which has its own idiosyncratic behavior also two of the old-guard guys previously on my team wouldn't even talk to each other so lots of poo poo got done twice in differently-crazy ways all implementations take "# comment" but only certain ones will take "#comment" or " #comment" only one specific implementation has a concept of line endings, which helps tons with surviving malformed config data. the implementation that has this is confined to a very specific subdomain etc etc
|
# ? Aug 31, 2016 17:26 |
|
what the gently caress i got banned from stackoverflow?
|
# ? Aug 31, 2016 17:32 |
|
lol what did you do, answer an off topic question or say php was bad?
|
# ? Aug 31, 2016 17:34 |
HoboMan posted:what the gently caress i got banned from stackoverflow?
|
|
# ? Aug 31, 2016 17:36 |
|
i got a message trying to post that basically said "stop being such a lovely poster" e: my questions don't add enough "value" to the "community" e2: this is hilarious, i'm basically hellbanned HoboMan fucked around with this message at 17:44 on Aug 31, 2016 |
# ? Aug 31, 2016 17:37 |
|
lol I want to see what your questions were, now. Post your profile (unless it will doxx you too much or something)
|
# ? Aug 31, 2016 17:50 |
|
Finster Dexter posted:lol I want to see what your questions were, now. Post your profile (unless it will doxx you too much or something)
|
# ? Aug 31, 2016 17:54 |
|
HoboMan posted:e: my questions don't add enough "value" to the "community" give us a sample of questions... were they like "why are p-langs pieces of poo poo?"
|
# ? Aug 31, 2016 17:55 |
|
|
# ? May 11, 2024 23:20 |
|
hobbesmaster posted:give us a sample of questions... were they like "why are p-langs pieces of poo poo?" An example of premium value-add, imo
|
# ? Aug 31, 2016 18:01 |