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
trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

There Will Be Penalty posted:

lisp syntax is as clean and logical (other than maybe only having prefix operators and Lots of Insidiously Silly Parentheses) as you can get because there's very little of it.

lisp is also awesome because lisp macros are awesome

Adbot
ADBOT LOVES YOU

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

tinselt0wn posted:

JavaScript is pretty amazing cause you can use one language for both client side and server side. No more learning a dozen languages to make your web app. One is all you need.

you can do this with clojure and actually use a lisp for real programs, it's pretty cool i highly recommend it

also gently caress json, s-expressions 4ever

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

There Will Be Penalty posted:

agreed, idiot cadr eater.

wel i never

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Sulk posted:

i could, but when every time you read something/someone saying that java is miserable it becomes more and more of a turnoff to ever learn. i have a basic grasp of objective-c (though i need to work on learning actual design for ios at some point), but i was going to spend some time actually learning c itself because there's a lot of c stuff that you don't really need to touch in objective-C/ios dev.

rotor i'd send you a resume (though i'm on the other side of the country) and a little thing i was working on that i uploaded to github but i don't know what level quantifies "competent"

learn the gently caress out of java, move to chicago, sell your soul to a trading firm, get paid 150-175k

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

rotor posted:

alternately just move to sf and get paid the same at some startup for just dickin around

yeah but a house in chicago isn't 1.5mio, unless you live on the lake/loop

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

rotor posted:

neither is a house in sf unless you live in a really fancy part

slight hyperbole but aren't even normal houses "in the city" like 750+?

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

rotor posted:

my place is around 600, 650. 3bdrms, decent yard.

hm, still more, but not as bad as i thought.

400 will get you a p decent place in chitown, but it's also a huge rear end city, you can get a place for like 60 if you REALLY wanted.

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

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

i had one place ask me during an interview to determine if a string is a rotation of another, so i go and write a hacky longest common substring algo and get 'er done as they say

apparently it's one of those trick ones where you just concat the string and to a strstr. shame on me for not reading the "tricks of the trade: ace the programming interview!!!!" book

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

JawnV6 posted:

wait are u guys talking about hashes?

i think perl/ruby are wrong here cause it's confusing as poo poo (even tho they are implemented with hashing algos)

map is the perfect name cause it's what we've been calling that concept (function from X->Y) since set theory got all hollywood

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

BonzoESC posted:

well "map" is already taken by the first half of the "map-reduce" concept

could be that i'm dumb but idk where you're going w/ that

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Shaggar posted:

map in map -educe refers to a proper map so idgi

ya that's why i'm confused too

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Anal Tributary posted:

code:
var string = "abcaddaaaaa";
var counts = {};
for (var i=0; i<string.length-1; i++) {
  counts[string.charAt(i)] = counts[string.charAt(i)]+1 || 1;
}
console.log(counts);
:3:

seriously i can't imagine any case where this would take > 2-3 minutes at most, drat

dude...
http://documentcloud.github.com/underscore/

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Anal Tributary posted:

_.each(string.split(""), function(char) { counts[char] = counts[char]+1 || 1 }); is a cool one-liner but it's not like there's anything with just using a for loop

one liners are masturbation

code:
_.chain("abcaddaaaa".split(""))
 .groupBy(_.identity)
 .each(function (v,k) { 
	console.log(k+' = '+v.length); });

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Janin posted:

a map is implemented using trees (typically binary)

a dictionary is implemented using hash tables

both a map and a dictionary are associative containers.

there is no such thing as an "associative array".

i'm sure you are aware that java has treemap and hashmap for those distinctions

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

i barely GNU her! posted:

did u know: template metaprogramming is turing-complete


so is the haskell type inference algorithm, but i don't have a cool proof program to show off

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Tiny Bug Child posted:

html is a programming language

holy poo poo

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

JawnV6 posted:

lol let's load an entire shell just to run 5 lil instructions
code:
top: cmpb $0x0, (%eax)
je exit
inc 0x40(%eax)
inc eax
jmp top
exit:

at&t noooooo

<-masm babby

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

JawnV6 posted:

yah im not the biggest fan

that's how intel rolls too isn't it?

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Police Academy III posted:

clojure's the most "modern" lisp and doesn't have alot of the cruft and implementation issues that CL and Scheme have. It's also got a lot of nice features like data structures as functions and super cool lambda syntax adn lots of nice functional programming stuff, and a heavy focus on concurrency which i've never cared about but you might. It does have a lot of dumb problems though, e.g:
  • (= false (contains? [3 3 3] 3))
  • terrible stack traces (although they used to be worse!)
  • p much everything to do with strings
  • have to call out to java libraries even for simple stuff like Math/sqrt
  • terrible docs
  • i still don't know nor care what the difference between refs, vars, atoms, and agents is
anyway on the whole i'd say go for it, but just be prepared to want to pull your hair out until you get into the swing of it.

contains? is kind of weird but it does help you not do a O(n) search of the vector. this is a stupid name for that call, i def agree
stack traces are what they are: awful and very java specific. Things got better with 1.3/1.4 but you still should know some java to be able to really understand wtf is going on. also download the source from github, it has helped me a lot, error messages sometimes don't make a lot of sense when a you call a macro incorrectly, and it blurts out a bunch of bullshit about Var cannot be cast to ISeq or w/e
strings aren't so bad... What issues did you have? all clojure strings are java.lang.String so they're easy to work with imo
the java math stuff isn't too bad, and you can always remap Math/sqrt to (defn sqrt Math/sqrt) or use a library
re: docs, i use clojuredocs.org and it's much better than clojure.org's poo poo
vars are just bindings, you can make them thread local if you need, refs are STM backed vars, agents are a FIFO queue, thread pooled, STM system, and atoms are like synchronous agents, i think. i've never used atoms.

clojure rules because it has a really strong focus on high quality, robust and fast data structures, and it has just a tad of syntax for using them literally (eg. [] vector {} map #{} set '() list), and the ISeq interface makes dealing with them really nice. working with any kind of complex data structure is much easier in clojure than any other language i've ever worked with

clojure has kind of a cool ecosystem too, check out incanter or core.logic for example

there's my carepost for the day

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

HORATIO HORNBLOWER posted:

im 28 years old with a wife two kids and a mortgage, i have an english degree that put me $10,000 in debt and never got me a job, and a CS degree that cost me another $5000 to teach me virtually nothing i didn't already know and i have no paid work experience in the field

"place i want to work for" is literally defined as any place willing to pay me $45,000 or more regardless of how crappy the work is

sorry i didn't meanto interrupt im just having a miniature freakout

man you can make 45k just by being not retarded with excel/access

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

CaptainMeatpants posted:

going to school for computers was literally, sincerely, unambiguously the worst decision of my life

what would you rather do

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

rotor posted:

pascal never caught on because it was designed as a teaching language. Scheme never caught on either.

also lol @ 1 based arrays

turbo pascal was a really nice language but lol borland

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

MononcQc posted:

Report back on how much of it you actually use/need at work tyvm

smart > stupid cause smart enables lazy

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

HORATIO HORNBLOWER posted:

if you don't have a degree you're a worthless sack of crap imb (in my book)

sounds like someone needs to get a new book

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

HORATIO HORNBLOWER posted:

sounds like someone couldn't hack it at state college!

...says the guy who is begging for 45k

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.
clojure is rapidly becoming my favorite language

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

HORATIO HORNBLOWER posted:

my expectations are low because this would be my first job in the field but as i understand it these guys are desperate for warm bodies

*fingers crossed*

swing harder

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

ahhh spiders posted:

have you tried actually problem solving instead of expecting a language to save you

having the language prevent concurrency issues from even being valid is p sweet

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

ahhh spiders posted:

wow! a real live silver bullet!

it's obviously not 100% panacea but it helps tremendously

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

ahhh spiders posted:

what you just said makes no sense. then again, you're Janin

there are somewhat modern abstractions around concurrency that makes human management of primitives like locks and monitors unnecessary. if that's beyond your grasp then i recommend reading a lot

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

ahhh spiders posted:

the only reason anyone pays any attention to you is because 90% of the people in here are morons and can't detect really lazy trolls

he's kinda right tho

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.
i've been looking at joy
http://en.wikipedia.org/wiki/Joy_(programming_language)

which is forth-y and looks like a blast

also proof that dr dobbs still got it goin on:
http://www.drdobbs.com/blogs/architecture-and-design/228701299

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

tef posted:

they should have been using opera

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Werthog posted:

and he gets this sly grin on his face and explains that every time you move one pointer ahead by one node, you move the other pointer ahead TWO nodes, and when the pointers equal each other, you've been through the whole list.

goddamnit

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.
yeah it's a complete mischaracterization (wtf stupid spell check, poo poo's right) of the actual problem, plus a total feint with the "you can't save anything" thrown in

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

MononcQc posted:

SICP is actually neat to teach a bunch of algorithms, if you do the exercises.

i was super proud of myself when i wrote the metacircular evaluator in C.

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

ppp posted:

watch the sicp lectures and do the hand motions that sussman/ableman does along with him

wear the wizard outfit w/ the fez

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Anal Tributary posted:

if this was the case i wouldn't be here asking for materials to learn proper CS

i go a terrible school that doesn't have a CS degree, and while i'm planning to transfer (god loving willing), in the interim i'm stuck spinning wheels

if you spent the time studying some simple algos instead of posting why you can't you'd know them by now.

also sicp, if you do the exercises, is not a one week thing unless that's all you do.

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

Rufo posted:

CLRS is an obvious book suggestion for data structures and algorithms idk what the ~goon opinion~ of it is but its probably on like 99% of university reading lists

cormen is great but if you don't have the math you will get lost loving fast

Adbot
ADBOT LOVES YOU

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

ahhh spiders posted:

do people in jobs really have a 200 level cmpt textbook on their desk?

a bunch of the stuff in cormen is above 200 level unless you're like mr cmu i do nothing else but computer poo poo

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