|
Malcolm XML posted:http://whiley.org inshallah so i saw this, said "wow neat" then i saw this : http://whiley.org/2013/01/14/whiley-puzzler-1/ and closed that tab forever
|
# ¿ Apr 10, 2013 18:09 |
|
|
# ¿ Apr 19, 2024 05:48 |
|
ultramiraculous posted:wait are you saying there's something wrong with this behavior or what. not to get all tbc here but permanently retyping a variable due to a query on its type is some academic masturbation of the highest order
|
# ¿ Apr 10, 2013 18:48 |
|
Shaggar posted:yeah im not attached to null or anything, but how would you handle uninitialized objects? just don't allow it? if an object doesn't need to exist then why give it a name
|
# ¿ Apr 20, 2013 00:25 |
|
im' totally ok with having to read the source, as long as i can have access to it. at least it doesnt loving lie to my face
|
# ¿ Apr 29, 2013 03:49 |
|
bavaria is also it's own thing i loving loved munich, best city ever imo. if you like biking and having good beer and a relaxing atmosphere, live in munich
|
# ¿ May 7, 2013 23:37 |
|
MononcQc posted:You are retrying a call that actually succeeded my favorite
|
# ¿ Jun 25, 2013 18:54 |
|
coldfusion is bullshit actionscript is basically just javascript so that's bs too but i did miss tcl which well, i don't work in that domain so w/e
|
# ¿ Jun 28, 2013 00:14 |
|
shrughes posted:Also, Scala wasn't on there, but D was. This list feels out-of-date. agreed, i tried a bunch of stuff (like scala, f#, ocaml etc) that i thought was more "hip" than cf and, well, i lost
|
# ¿ Jun 28, 2013 00:19 |
|
always display your trophy copy of TAOCP in the office my dad got me a really nice set of vol 1,2 and 3 when i got my first "career" job
|
# ¿ Jul 16, 2013 17:44 |
|
Socracheese posted:I do parametrized sql but yeah my queries hang out in my code java + spring/guava + hibernate/mybatis + tomcat/jetty/glassfish + postgres/mssql -> success
|
# ¿ Jul 19, 2013 16:43 |
|
just version your apis and don't make breaking changes? idk works on my machine
|
# ¿ Jul 26, 2013 14:46 |
|
also, haskell's type-system make it so that the drat program nearly writes itself, and if the naming of the functions is any good, the program is basically self commenting
|
# ¿ Aug 2, 2013 15:11 |
|
Notorious b.s.d. posted:this is what i thought clojure would be, but it's 100% definitely not. clojure is a straight up bondage and discipline language. you will enjoy functional programming OR ELSE really? i have written some pretty complex clojure programs with quite a bit of java interop and not really had too many issues. in fact I've done clojure/groovy interop, and that poo poo was kind of a horrorshow but it still worked and the "interop" part wasn't really the issue. Nomnom Cookie posted:Yeah the java interop is barely there. The dot syntax is nice but when you get to more involved stuff then you have to use gen-class and reify and it gets really grody. Also calling clojure from java is a pita where did you run into this? i macro-generate clojure "javabeans" and register them into a spring di app context and don't even really need to muck around with gen-class or reify (proxy and protocols for sure but i've never had to touch reify)
|
# ¿ Aug 21, 2013 16:39 |
|
Nomnom Cookie posted:the primacy of fiduciary duty over all other considerations is the #1 thing wrong with capitalism. "it's just business" is the sound a soul makes when it dies. and java is becoming the official programming language of capitalism, and i make my living off of it. is coding java compatible with socialist ideals? i'm not sure, and it makes me uncomfortable the gently caress wrong rear end bullshit is thhis? theres more patchouli hippie open sores poo poo in java than almost anywhere else
|
# ¿ Aug 28, 2013 00:42 |
|
Tiny Bug Child posted:whoaaaaa they use the name of the operator as the name of the token. that's so crazy. next thing you know they'll be calling plus signs T_PLUS or something goddamnit all the tokens except this one were named in english, and of course this particular token was teh subject of MANY parse errors also "BTW, there is a spelling mistake in the parse error, it should be T_PAAMAYIM_NEKUDATAYIM (in hebrew, the 'double' form is just the original noun + the 'ayim' suffix and 'nekuda' is the single form ['nekudot' is the plural form])."
|
# ¿ Sep 20, 2013 01:27 |
|
OBAMA BIN LinkedIn posted:it's still important to use a good web service standard for your internal services so that any new internal services can crank up a client with the flick of a switch my standard is always guided by resume driven development
|
# ¿ Sep 25, 2013 18:59 |
|
Notorious b.s.d. posted:clojure is riddled with the impracticality you just complained about in other languages. second rate java interop and little/no provisions for OO guaranteed clojure would be a non-starter outside niche use. i use groovy (and clojure fwiw) a lot and i like it more than scala simply because the idiomatic programming style is basically java with better syntax, it suffers from some pretty gnarly syntactic corner cases by trying to be ruby and python at the same time, but just like any language you have to know wehre the dogshit is and veer away i still don't get why you think clojure has second rate java interop? i've got a handful of significant (as in, in production servicing ecommerce) clojure projects and every time i pull in a java library it's easy peasy.
|
# ¿ Oct 2, 2013 16:33 |
|
Posting Principle posted:at some point i need to change this project to maven or gradle from the built in IDEA build system and both terrify me use maven and dont look back, once you get over that initial soreass of moving your source structure to maven everything is gravy
|
# ¿ Oct 2, 2013 16:43 |
|
Nomnom Cookie posted:clojure is ok at calling java code. its more painful for java to call clojure--and before you say but but but you can use reify and gen-class and whatever--java calls scala code by calling it. u make a scala class and java can use it. that's why clojure's interop is second-rate ah well that said :gen-class is easy enough to use, so i guess second-rate is fine by me
|
# ¿ Oct 2, 2013 19:05 |
|
coffeetable posted:soooo you haven't worked in any functional languages then what are you talking about php has had closures for like 4 years now
|
# ¿ Oct 2, 2013 22:22 |
|
clojure just calls java codecode:
|
# ¿ Oct 4, 2013 02:18 |
|
or if you treat clojure as the lingua franca of your project and only use java for the ecosystem/libs or if you need to for whatever reason
|
# ¿ Oct 4, 2013 02:28 |
|
always use osgi
|
# ¿ Oct 8, 2013 17:59 |
|
Nomnom Cookie posted:it's a thing if not all of your dependencies are properly mavenized, and it's not always feasible to mavenize them yourself it's really not that hard, if you have the source, just add a pom if you only have a jar/war/ear, just use the nexus to upload the artifact directly, with a bespoke pom make sure your versioning scheme matches theirs, and what i always do is put my org's group name and extend the artifact name to include their group name (or what i would assume is their group name), spring does this so like, if you have jar "lovely thing" from oracle and it's version 1.2.3, and your org is something awful the gav should be com.somethingawful/com.oracle.lovely-thing/1.2.3
|
# ¿ Oct 8, 2013 18:29 |
|
Notorious b.s.d. posted:tbh i have never used hadoop "in anger" i just spent a week in training and it was really fun to hack on the labs. should try cascalog. it's pretty sweet
|
# ¿ Oct 9, 2013 01:59 |
|
Shaggar posted:so either run each hadoop in its own jvm or run it inside its own container. ez pz problem solved. this is exactly the problem osgi solves, but without the hacks
|
# ¿ Oct 9, 2013 02:01 |
|
Malcolm XML posted:also (paging tef) whats a good intro to prolog/logic programming book not tef but: http://www.amazon.com/dp/0321417461/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=M55D5Z0NCMZY&coliid=IA5PYLPRXEE1M and http://www.amazon.com/Art-Prolog-Ad...s=art+of+prolog are both recommended the second one "Art of Prolog", make sure you get a recent version. the version i have has shitloads of errata in it.
|
# ¿ Oct 9, 2013 18:10 |
|
tef posted:art of prolog is a great book, but it's quite big, but wonderfully through. if you're wanting a taste, i would imagine the reasoned schemer might be more interesting, as I believe it's the source of miniKanren you can also get william byrd's ph.d. dissertation: https://scholarworks.iu.edu/dspace/bitstream/handle/2022/8777/Byrd_indiana_0093A_10344.pdf and cause i'm a clojure fag, dissect the core.logic package: https://github.com/clojure/core.logic
|
# ¿ Oct 9, 2013 19:20 |
|
Bloody posted:cool 14 page """standard""" utf-8 is like 12, and it p much is the best
|
# ¿ Oct 9, 2013 22:53 |
|
Notorious b.s.d. posted:the unicode standard is 692 pages well it's kind of similar json based on the ecmascript spec, at 243 pages
|
# ¿ Oct 9, 2013 22:57 |
|
Notorious b.s.d. posted:json is a bad spec might be true but "it works"
|
# ¿ Oct 9, 2013 23:23 |
|
Nomnom Cookie posted:i dont want a treeset i want a hashset, trees are slow. sorted hashset LinkedHashSet http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSet.html onl;y maintains insertion order, so you need to insert in-order
|
# ¿ Oct 10, 2013 16:21 |
|
Shaggar posted:all timezone problems are actually daylight savings time problems. timezones would be easy if the offset was constant. they also change all the loving time.
|
# ¿ Oct 11, 2013 16:48 |
|
2d9 + 1 isn't 2e0 either.
|
# ¿ Oct 14, 2013 20:01 |
|
Tiny Bug Child posted:yes it is. increment 9 and you get 10. carry the 1 and you have to increment d. increment d and you get e. carry the one? jesus gently caress man. either it's "2d:" or it's 0x2da, changing bases on you while incrementing is absolutely wrong
|
# ¿ Oct 14, 2013 20:30 |
|
i feel like the blond guy from the princess bride, when he is on the torture machine and the 6 fingered man says "i've just sucked one year of your life away"
|
# ¿ Oct 14, 2013 20:51 |
|
php.gif
|
# ¿ Oct 15, 2013 03:49 |
|
it's actually 4
|
# ¿ Oct 15, 2013 03:56 |
|
|
# ¿ Apr 19, 2024 05:48 |
|
Posting Principle posted:i can live without @Value but you will never take @Inject from me (and its not spring specific anyways) @Service @Autowire good poo poo
|
# ¿ Oct 16, 2013 20:44 |