7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions
https://twitter.com/dustingetz
comment 14y ago · link · parent
here's some discussion that alludes to performance concerns in js vms: http://dev.clojure.org/jira/browse/CLJS-284
here's the original commit for PersistentVector, note how low level the code is: https://github.com/clojure/clojurescript/commit/e615f4cd326e...
here's more discusson by david nolen: https://groups.google.com/forum/?fromgroups#!searchin/clojur...
more discussion about allowing low level code access to js-specific special forms for numerics: https://groups.google.com/forum/?fromgroups#!searchin/clojur...
comment 14y ago · link · parent
[1][2] 'persistent' means different things here.
2974.
Functional fizzbuzz in clojure(github.com ↗)
3 points · by dustingetz · 14y ago · discuss
comment 14y ago · link · parent
one easy trick is to structure your code such that 'null' is impossible, by initializing to an empty value, or re-ordering the way things happen, or using exceptions or error-monad.
comment 14y ago · link · parent
this may or may not be happening now in the programming world.
i've met a handful of "old fart" programmers who are exceptional. i've also met a handful of twenty-something programmers who are equally exceptional. but as far as the long tail goes, the kids are much less resistant to new ideas, new concepts (for example functional programming). i think it might be a generational difference, and i think it could shake up the software economy in the next decade.
edit for the trolls: new to a particular person, not to the world. functional programming is a new concept to most of the people i've met, including several very strong engineers.
comment 14y ago · link · parent
inferior-lisp makes all the problems bpython is trying to solve, irrelevant.
[1] example: http://vimeo.com/22798433 (4 mins)
comment 14y ago · link · parent
decomposing large problems into smaller ones is math. we all took 10 years of math in high school and college.
a broad education is good. coding, in particular, may or may not be relevant, but certainly more and more schools include a year or two of programming in high school or college. that's probably plenty. no need to get all worked up about this.
comment 14y ago · link · parent
here are some different ways to implement functional sequence operations without native python syntax like `yield`:
https://github.com/dustingetz/sandbox/blob/master/etc/lazy.p... https://github.com/dustingetz/sandbox/blob/master/etc/map.py
and an unfinished, sloppy impl of monads in python with lots of minor errors:
http://www.dustingetz.com/2012/04/07/dustins-awesome-monad-t...
comment 14y ago · link · parent
here's a rough, probably incorrect demo in python: https://gist.github.com/2653752
gives you nice, clean, exception-like error handling that doesn't leak to the wrong level of the call stack, and in a statically typed language the compiler can verify your error handling for you. quite similar to checked exceptions. call stack issues can be fixed with some low level C, or you could even unwind the stack with some exception trickery.
2985.
Smartdrugs, performance enhancers, sports and silicon valley(martinsnyder.net ↗)
1 points · by dustingetz · 14y ago · discuss
comment 14y ago · link · parent
[1] http://www.infoq.com/presentations/Simple-Made-Easy (required watching for someone interested in having an opinion on this subject)
you're still saying an awful lot of unsubstantiated opinions. its not about politics, its just about being objectively wrong. frankly, I and it seems also others, just think you're less informed than you think you are. sorry about the super blunt tone, not sure how else to say this. edit: it's good that you're commenting though, these discussions are healthy.
comment 14y ago · link · parent
Clojure, as you point out, has taken great care to have sensible idioms, Clojure is an awesome language in that simply trying to learn it makes you a better programmer, because Hickey has infused it with his opinions of what is excellent code.
whether or not OOP can be done right isn't an interesting question. I'd rather ask what factors in modern mainstream languages are encouraging poor code, and whether its possible to learn from this and design a language/ecosystem that doesn't suffer from these problems. Scala & Clojure have this as a stated goal.
comment 14y ago · link · parent
comment 14y ago · link · parent
when i have questions about why something is, i try to examine people's incentives and doing this i've found I can usually figure things out. with this in mind, here's a speculative perspective to why dev conferences are expensive.
why do speakers speak? The most attractive speakers are super busy with their projects, and they're the most visibly good at what they do so they're at the tip-top compensation. Speakers speak because it gets them visibility - it helps them recruit, it helps them network, it helps build their company brand.
Ever notice how the speakers always have private speaker-only lunch rooms, and speaker-only bar events? Its because the speakers have less interest in networking with the masses. Being a speaker is a decent signal for being among the highest value people in the room. the speakers want to network with other speakers.
Altruism is a motivator, but I speculate, much less of one. If you're speaking at conferences "for the good of the people", you're probably not busy enough, and it will slow down as you become busy, unless it also provides something you need. so as a speaker grows his credibility, he tends to become less interested in the actual conference, perhaps a bit jaded even.
Why do tickets cost much? Most tickets are expensable. The market for headliner speakers drives competitive comp. A first-class venue in vegas will draw a bigger crowd, even if its just people who want to party for a week. More tickets = bigger conference.
This is why you go see Douglas Crawford speak to a room full of experienced developers and he gives some high-school level talk about "javascript the good parts". We get it man, the whole room owns your book. But we're all still at the conference, even if most of us don't realize that while we're wishing to learn something from the headliners, all we actually bought was a ticket to be in a room with them.
2992.
JVM bytecode parsing monad(clojure.net ↗)
3 points · by dustingetz · 14y ago · discuss
comment 14y ago · link · parent
A-level hiring is not about rejection. A-players aren't looking for a "job" and A-managers aren't trying to build an assembly line. It's about finding a mutual relationship where the whole is greater than the sum of its parts, and that requires a lot of things to come together.
> As a startup, if you have the opportunity to bring on an A player in a low risk role (like an internship), you do it
All circumstances are different, so maybe he should have found room for Dan, or maybe not. Engineering quality (and talent in general) is on a power law distribution. When you consider engineering quality to be a competitive advantage (not all startups, even YC startups, need this), your early hires are your future managers, and will tend to influence the future hires. Its tough to attract and close people smarter/better than you.
I imagine myself now at age 26 (pretty decent engineer, doing functional programming and stuff), and compare to age 21 (cocky, overconfident) and while I was smart and driven and all that, it doesn't mean I can contribute to a rockstar team. I would drown and get left behind. World class teams at the top of the power law distribution, say the Clojure team[1], at age 21 I'd be a few orders of magnitude behind them and just not worth paying. at age 26, who knows, probably still at least 1 order of magnitude behind, not worth hiring. Square peg, round hole. At least I can see my trajectory of exponential growth over the last 5 years, and if that keeps up another decade, I can build or join a team like that.
comment 14y ago · link · parent
turns out i'm willing to tolerate a lot of pain to have emacs operations in a shell buffer, haha
comment 14y ago · link · parent
the thesis is that there are places where the type system just gets in the way, and there are places where it is invaluable.
[1] http://phillyemergingtech.com/2012/system/presentations/Horr...
comment 14y ago · link · parent
but it doesn't matter if people are unaware that they're not the best. software gets built, money is made, and people sort themselves into the type of job they're ready for. especially because ability to build a highly valued company is probably a seperate dimension of "goodness" than coding chops. and a more valued dimension.
comment 14y ago · link · parent
edit: all i'm trying to say is there are top 90% devs, and 99% devs, and 99.9% devs... not exactly sure that 42Floors needs them. if they did need them, they wouldn't be saying things like
> We can't compete with Google or Facebook on salary. We
> can't compete with being a founder on equity. So the most
> important thing I have left is my ability to commit to an
> individual employee's personal development
99.9ers don't need you for personal development. Sounds like they're trying to get young potential while its cheap. Nothing wrong with that, but when we discuss it, we should say it like it is.by the way, I quit my 90% job to do hacker/school this summer, I intend to come out a 99er with mad functional programming chops, looking to join a team of 99.9ers so i can someday become one.
3000.
Challenge: find a loop that can't be decomposed into filter/map/reduce(dustingetz.com ↗)
1 points · by dustingetz · 14y ago · discuss