Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
tef
May 30, 2004

-> some l-system crap ->

Gentle Autist posted:

if tef stays out of it it will evolve into a food thread pretty quickly

sup :krad:


Police Academy III posted:

also, if anyone's curious, here is a list of the real (ie non-syntactic) differences between python and ruby:
  • in ruby you can monkeypatch builtin types
  • python has real multiple inheritance
  • python raises an exception when you access an attribute that doesn't exist, ruby returns nil

python you can monkey patch built-in types using ctypes
python has immutable strings
python uses iterators for collection operations, ruby uses observes (blocks)
ruby uses smalltalk style oo (message passing), python uses simula style oo (attribute lookup)

Adbot
ADBOT LOVES YOU

tef
May 30, 2004

-> some l-system crap ->

Anal Tributary posted:

ok obviously that third line is ironic but the second one is real; i don't know why you'd use java for web stuff, from my limited exposure to it

people don't write java, they write in xml to run on the jvm :confused:

tef
May 30, 2004

-> some l-system crap ->

Ronald Raiden posted:

javascript isn't really c syntax


quote:

゚ω゚ノ= /`m´)ノ ~┻━┻ //*´∇`*/ ['_']; o=(゚ー゚) =_=3; c=(゚Θ゚) =(゚ー゚)-(゚ー゚); (゚Д゚) =(゚Θ゚)= (o^_^o)/ (o^_^o);(゚Д゚)={゚Θ゚: '_' ,゚ω゚ノ : ((゚ω゚ノ==3) +'_') [゚Θ゚] ,゚ー゚ノ :(゚ω゚ノ+ '_')[o^_^o -(゚Θ゚)] ,゚Д゚ノ:((゚ー゚==3) +'_')[゚ー゚] }; (゚Д゚) [゚Θ゚] =((゚ω゚ノ==3) +'_') [c^_^o];(゚Д゚) ['c'] = ((゚Д゚)+'_') [ (゚ー゚)+(゚ー゚)-(゚Θ゚) ];(゚Д゚) ['o'] = ((゚Д゚)+'_') [゚Θ゚];(゚o゚)=(゚Д゚) ['c']+(゚Д゚) ['o']+(゚ω゚ノ +'_')[゚Θ゚]+ ((゚ω゚ノ==3) +'_') [゚ー゚] + ((゚Д゚) +'_') [(゚ー゚)+(゚ー゚)]+ ((゚ー゚==3) +'_') [゚Θ゚]+((゚ー゚==3) +'_') [(゚ー゚) - (゚Θ゚)]+(゚Д゚) ['c']+((゚Д゚)+'_') [(゚ー゚)+(゚ー゚)]+ (゚Д゚) ['o']+((゚ー゚==3) +'_') [゚Θ゚];(゚Д゚) ['_'] =(o^_^o) [゚o゚] [゚o゚];(゚ε゚)=((゚ー゚==3) +'_') [゚Θ゚]+ (゚Д゚) .゚Д゚ノ+((゚Д゚)+'_') [(゚ー゚) + (゚ー゚)]+((゚ー゚==3) +'_') [o^_^o -゚Θ゚]+((゚ー゚==3) +'_') [゚Θ゚]+ (゚ω゚ノ +'_') [゚Θ゚]; (゚ー゚)+=(゚Θ゚); (゚Д゚)[゚ε゚]='\\'; (゚Д゚).゚Θ゚ノ=(゚Д゚+ ゚ー゚)[o^_^o -(゚Θ゚)];(o゚ー゚o)=(゚ω゚ノ +'_')[c^_^o];(゚Д゚) [゚o゚]='\"';(゚Д゚) ['_'] ( (゚Д゚) ['_'] (゚ε゚+(゚Д゚)[゚o゚]+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (゚ー゚)+ (゚Θ゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((゚ー゚) + (゚Θ゚))+ (゚ー゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (゚ー゚)+ ((゚ー゚) + (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ ((o^_^o) - (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ (゚ー゚)+ (゚Д゚)[゚ε゚]+((゚ー゚) + (゚Θ゚))+ (c^_^o)+ (゚Д゚)[゚ε゚]+(゚ー゚)+ ((o^_^o) - (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ (゚ー゚)+ ((o^_^o) - (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ ((゚ー゚) + (゚Θ゚))+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ (゚ー゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ (゚ー゚)+ (゚Д゚)[゚ε゚]+(゚Θ゚)+ ((o^_^o) +(o^_^o))+ (o^_^o)+ (゚Д゚)[゚ε゚]+(゚ー゚)+ ((o^_^o) - (゚Θ゚))+ (゚Д゚)[゚ε゚]+((゚ー゚) + (゚Θ゚))+ (゚Θ゚)+ (゚Д゚)[゚o゚]) (゚Θ゚)) ('_');
yes this is really javascript

tef
May 30, 2004

-> some l-system crap ->

nukethewhales posted:

tef, i unironically like your effort posts, even if they make me feel dumb

thank you for posting them

:tipshat:

i'm actually a gimmick :ssh:


no i'm just a raging autist

tef
May 30, 2004

-> some l-system crap ->

Rufo posted:

i dont think the subset of valid js that consists of only "table flip dudes" is gonna be enough to program in

here is the converter I used http://utf-8.jp/public/aaencode.html hth

tef
May 30, 2004

-> some l-system crap ->

z0ratio fartboner posted:

someone recommend a good phython book

keep in mind i can't add 2 + 2

http://docs.python.org/tutorial/index.html :toot: just install it and mash around it's not like real programming where you have to make an effort, except for lining poo poo up so it's indented

tef
May 30, 2004

-> some l-system crap ->
programming is terrible.

tef
May 30, 2004

-> some l-system crap ->

volkadav posted:

Say what you will about Java, it puts a hard upper limit on how completely insane you can be (sure there's a FactoryFactoryFactory but that code is still easier to read than somebody who thought it would be cool to write the monthly payroll cron job as one ten thousand character regexp or whatever the gently caress cat-on-keyboard spew you can find in the worst perl codebases).

You haven't used enough java if you believe there is an upper limit to lovely code within it.

tef
May 30, 2004

-> some l-system crap ->

CaptainMeatpants posted:

to weed out the undesirables we always ask:

for a given string, output a list of unique characters and their number of occurrences

like 90% of applicants can't figure it out

fizzbuzzin'

code:
>>> from collections import Counter
>>> Counter("lol butts")
Counter({'l': 2, 't': 2, ' ': 1, 'b': 1, 'o': 1, 's': 1, 'u': 1})
>>> 

tef
May 30, 2004

-> some l-system crap ->
the only thing worse than interviewing a show off is being interviewed by one.

tef
May 30, 2004

-> some l-system crap ->

Police Academy III posted:

please explain, this sounds wonderfully hacky

I almost forgot https://gist.github.com/295200

tef
May 30, 2004

-> some l-system crap ->
code:

$ echo -n 'lolbtuts' | sed -e 's/\(.\)/\1\
/g'| grep -v '^$' | sort | uniq -c
   1 b
   2 l
   1 o
   1 s
   2 t
   1 u
uniiiiiiixixixixixiixix

tef
May 30, 2004

-> some l-system crap ->
c++ is great it makes tts write effort posts apologising for the state of generic programming

tef
May 30, 2004

-> some l-system crap ->
http://jsil.org/try/ :toot:

tef
May 30, 2004

-> some l-system crap ->

ppp posted:

welcome to my ignore list

dawwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

tef
May 30, 2004

-> some l-system crap ->
I liked 'the ghetto' more

https://www.youtube.com/watch?v=zY-IueSMAPc

tef
May 30, 2004

-> some l-system crap ->

BonzoESC posted:

the back story for that is pretty hilarious

isn't it just a whiny ruby crank wrote a blog post

tef
May 30, 2004

-> some l-system crap ->

BonzoESC posted:

whiny ruby/erlang crank who is a good friend of mine

does he victor-post less in real life?

http://www.unlimitednovelty.com/2012/04/introducing-dcell-actor-based.html

(make a bingo card out of this http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing )


(he also doesn't understand rest, but then again, that's p. common)

tef
May 30, 2004

-> some l-system crap ->

rotor posted:

~*~progress~*~

you know they're reimplementing http and html in javascript, json and web sockets. local storage instead of http caching too.

hooray!

tef
May 30, 2004

-> some l-system crap ->
turn off javascript, click 'use html mode as default' :krad:

tef
May 30, 2004

-> some l-system crap ->
just kidding use a mail client

tef
May 30, 2004

-> some l-system crap ->

the talent deficit posted:

also richard o'keefe is literally the best reason to be an erlang programmer

I have a book by o'keefe, but it is about prolog :3:

tef
May 30, 2004

-> some l-system crap ->

MononcQc posted:

They changed something about something I'm used to. Curse you people!

when people say 'good user interface is invisible', they don't mean 'click on whitespace and hope for the best', nor 'replace text with arbitrary icons'. them's bad things.

the gmail redesign is arguably a rebranding to bring it in line with the g+ aesthetic.

tef
May 30, 2004

-> some l-system crap ->

MononcQc posted:

Richard O'Keefe is objectively awesome. Guy owns at CS and PLs, wrote about Prolog, stick around Erlang, knows a billion programming languages, and has a PhD in underwater acoustics or something.

His prolog book is one of the best, "Hacking your program is no substitute for understanding your problem. Prolog is different, but not that different. Elegance is not optional."

tef
May 30, 2004

-> some l-system crap ->

ahhh spiders posted:

people throwing up their hands and saying "threads are hard!"

but threads are hard :confused:

tef
May 30, 2004

-> some l-system crap ->

homercles posted:

threads are hard

I should have spelled this out earlier: Shared mutable state is hard, ok? In the sense of doing it correctly and effectively.



quote:

actor frameworks! actor frameworks! developers!
i wrote one in java using ØMQ, every inter-thread message requires a syscall. the way of the future folks :tipshat:

classy! have you seen this for them javas? http://code.google.com/p/disruptor/

tef
May 30, 2004

-> some l-system crap ->

MononcQc posted:

*blanket statement applicable to everything in the world*

I have been informed that haskell is easier if you understand category theory first.

tef
May 30, 2004

-> some l-system crap ->

tinselt0wn posted:

haha no



tef
May 30, 2004

-> some l-system crap ->
I just don't deal with quaint little problems that fit on one little machine :3:

tef
May 30, 2004

-> some l-system crap ->
threads? here's a nickel, buy yourself a real concurrency model :smugdog:

tef
May 30, 2004

-> some l-system crap ->

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 :q:

tef
May 30, 2004

-> some l-system crap ->

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

tef
May 30, 2004

-> some l-system crap ->

Shaggar posted:

first python, now earlang. what unfinished language will math students jump to next!

java,

(python and erlang are older than java)

tef
May 30, 2004

-> some l-system crap ->

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.

tef
May 30, 2004

-> some l-system crap ->

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

tef
May 30, 2004

-> some l-system crap ->

Janin posted:

no it's not. don't be silly.

but I like being silly.

Phil Wadler asked in a talk 'How can we make haskell programs shorter?' I replied 'Get rid of the type signatures' :q:

tef
May 30, 2004

-> some l-system crap ->

Fren posted:

train shaggar and tbc to pet island so we can have a non-retarded discussion about programming languages

and then we can talk about real programming, like tabs, spaces, and braces

tef
May 30, 2004

-> some l-system crap ->

Shaggar posted:

yes lets all unironically discuss which bad functional language is popular this week. great thread idea.

shaggar what do you think of generics in java ?

tef
May 30, 2004

-> some l-system crap ->
if it wasn't for generics, how I would I get to ask awkward interview questions like 'What is the type of Enum in Java' :q:

Adbot
ADBOT LOVES YOU

tef
May 30, 2004

-> some l-system crap ->

Shaggar posted:

unlike python or earlang where unfinished crud is the core.

oh come on, in python, unfinished crud is only 50% of the std lib

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply