|
lol. rest apis are a good sign you hosed up bad.
|
# ? Apr 30, 2012 15:17 |
|
|
# ? May 13, 2024 06:36 |
|
BonzoESC posted:UML sequence diagrams are unironically great for explaining how REST APIs work why would you need a loving diagram to explain how a rest api works
|
# ? Apr 30, 2012 15:33 |
|
b/c "REST API" is codeword for "bunch of crap we put together. heres the word doc the intern wrote that mostly explains all the parameters"
|
# ? Apr 30, 2012 15:36 |
|
real APIs are self documenting
|
# ? Apr 30, 2012 15:37 |
|
homercles posted:disrupter looks cool, I was happily using ArrayBlockingQueue for some handrolled stuff, hopefully i can find a use for this I liked the talk the disruptor guys gave. "Queues are either full or empty" was one of the platitudes that stood out. anyway I wrote some wrappers around arrayblockingqueue when I was bored at work ~2 years ago https://github.com/tef/pipeline/blob/master/org.twentygototen.pipeline/src/org/twentygototen/pipeline/Example.java it's java *and* pipes
|
# ? Apr 30, 2012 15:37 |
|
Shaggar posted:b/c "REST API" is codeword for "bunch of crap we put together. heres the word doc the intern wrote that mostly explains all the parameters" unfortunately, this is true. most of the time REST means 'half assed json over http with arbitrary url construction'. I need a crying roy t fielding emote
|
# ? Apr 30, 2012 15:38 |
|
MononcQc posted:There are 5 types of strings in Erlang: This seems like a pain in the rear end until you get used to it, but kind of like the idea of a list of Unicode code points with no encoding. It's probably a pain in the rear end after you get used to it too though
|
# ? Apr 30, 2012 15:40 |
|
Lysidas posted:This seems like a pain in the rear end until you get used to it, but kind of like the idea of a list of Unicode code points with no encoding. It's mostly a pain in the rear end because there's no God drat standard library to handle them, and because there is no good culture about it yet. A lot of people still do not know how to handle Unicode strings, and in general, a lot of people do not even know how Unicode works and want a black box where poo poo magically works. I do expect it to get better as more people talk about it, get to know how stuff works, and libraries get added. And yeah, working directly with codepoints can be pretty nice at times. Incidentally, my biggest String handling pain came from working with Node.JS guys when doing socket.io-erlang marshalling. The node.js guys just assumed a good old 'length(S)' function on a string to tell whatever was valid input or not and determine field length, but based it on string length rather than byte length. This meant that the length of the string was entirely dependent on JS' interpretation of it as a standard, and some grapheme clusters sometimes being unclear (is 'æsthetics' 9 or 10 letters?), and that the act of appending strings together in their format, when encoded under UTF-8, can gently caress up how clustering actually takes place (a standalone ` accent following an e is not always clearly defined as e + `, or è, depending on the circumstances, iirc). The problem in this case wasn't handling unicode in Erlang, but that some Javascript people had no actual idea how Unicode worked and made it a real pain to work with by simply using string length instead of byte length and appending messages. MononcQc fucked around with this message at 15:56 on Apr 30, 2012 |
# ? Apr 30, 2012 15:46 |
|
first python, now earlang. what unfinished language will math students jump to next!
|
# ? Apr 30, 2012 16:00 |
|
Shaggar posted:first python, now earlang. what unfinished language will math students jump to next! java, (python and erlang are older than java)
|
# ? Apr 30, 2012 16:04 |
|
math majors cant use java cause it works and has finished features+libraries.
|
# ? Apr 30, 2012 16:06 |
|
tef posted:java,
|
# ? Apr 30, 2012 16:07 |
|
Shaggar posted:math majors cant use java cause it works and has finished features+libraries. if by finished you mean 'project coin will never see completion', sure.
|
# ? Apr 30, 2012 16:08 |
|
BonzoESC posted:and java is missing some very important and useful features python has like sucking? or maybe code obfuscation tools? java has those but they're 3rd party
|
# ? Apr 30, 2012 16:08 |
|
tef posted:if by finished you mean 'project coin will never see completion', sure. idk what project coin is but finished as in a usable, practical product
|
# ? Apr 30, 2012 16:09 |
|
if java had function primitives i'd probably still be doin java. great libraries, works everywhere if you're not a dumbass, but goddamn i got tired of jumping through a bunch of gay hoops to implement a loving callback
|
# ? Apr 30, 2012 16:20 |
|
either us an anonymous class or make an object like ur supposed to. function pointers are gross
Shaggar fucked around with this message at 16:29 on Apr 30, 2012 |
# ? Apr 30, 2012 16:27 |
|
Shaggar posted:either us an anonymous class or make an object like ur supposed to. these are the gay hoops i was speaking of previously
|
# ? Apr 30, 2012 16:29 |
|
OO only in my OO language please. garbage "functional" code stay out.
|
# ? Apr 30, 2012 16:30 |
|
Shaggar posted:OO only in my OO language please. garbage "functional" code stay out. In Java, everything is an object well ok except for these primitives like ints and chars and booleans and stuff In Java, operator overloading is not allowed well ok except for strings
|
# ? Apr 30, 2012 16:33 |
|
yes they have a few primitives that make sense and + is overloaded on strings for concatination. but oh no this is too simple and makes sense. lets make everything able to operator overload so we can have a big lovely mess of crap like in c++. lets not stop there, we can have functions be primatives too so people can write even more unreadable code. thats just what i want in a collaberative environment where im probably working w/ idiots.
|
# ? Apr 30, 2012 16:37 |
|
altho lol @ that autoboxing bug w/ ints or w/e. that was pretty good.
|
# ? Apr 30, 2012 16:37 |
|
tef posted:it's java *and* pipes code:
|
# ? Apr 30, 2012 16:48 |
|
Shaggar posted:thats just what i want in a collaberative environment where im probably working w/ idiots. then don't work with idiots or, equivalently, don't use languages like java and c# that attract idiots
|
# ? Apr 30, 2012 17:05 |
|
Shaggar posted:yes they have a few primitives that make sense and + is overloaded on strings for concatination.
|
# ? Apr 30, 2012 17:10 |
|
My Linux Rig posted:shagger was right? lol no
|
# ? Apr 30, 2012 17:16 |
|
c# owns tho
|
# ? Apr 30, 2012 17:19 |
|
i want to use c# but I haven't had a reason to use/learn it.
|
# ? Apr 30, 2012 17:24 |
|
anonymous functions are great to just toss in a callback if you have to like show a message or something
|
# ? Apr 30, 2012 17:25 |
|
My Linux Rig posted:shagger was right? daww, it's like you've never encountered a strawman before. c# is an easy counter example to his 'oh noes my javas it could be c++' malarkey
|
# ? Apr 30, 2012 17:34 |
|
c# is alot more annoying to use than java but most people dont really use the arcane and useless features that math spergs demand so its not so bad. it also means theres no reason for those features to be in the language.
|
# ? Apr 30, 2012 17:40 |
|
Gazpacho posted:sweet now try doing it inside an arbitrary function OH SNAP tef posted:I have been informed that haskell is easier if you understand category theory first. you don't need to understand operational semantics to use java, right? why would you need to understand category theory to use haskell?
|
# ? Apr 30, 2012 17:54 |
|
i always feel sorry for functional programmers i mean it must get depressing knowing that nothing you've ever written will ever be used by a single person ever
|
# ? Apr 30, 2012 17:57 |
|
Sweevo posted:i always feel sorry for functional programmers
|
# ? Apr 30, 2012 18:00 |
|
"well my teacher left the industry in '98 and he says everyone uses java, nobody cares about that functional stuff, so who am I am to argue!?"
|
# ? Apr 30, 2012 18:01 |
|
Janin posted:it's cute how all the li'l middleware brogrammers believe this
|
# ? Apr 30, 2012 18:04 |
|
middleware owns cause everyone uses all the good tools + languages unlike in 99% of frontend and some backend stuff.
|
# ? Apr 30, 2012 18:14 |
|
Shaggar posted:middleware owns cause everyone uses all the good tools + languages unlike in 99% of frontend and some backend stuff. but i thought you used java and eclipse
|
# ? Apr 30, 2012 18:15 |
|
yes correct. java and eclipse are the best tools + languages.
|
# ? Apr 30, 2012 18:16 |
|
|
# ? May 13, 2024 06:36 |
|
Shaggar posted:middleware owns cause everyone uses all the good tools + languages unlike in 99% of frontend and some backend stuff. Name me a piece of "middleware" that isn't a complete pile of poo poo, because I've never seen one.
|
# ? Apr 30, 2012 18:26 |