Better HN
topnewbestaskshowjobs
Log inSign up

dustingetz

7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions

Founder Electric Clojure https://github.com/hyperfiddle/electric

https://twitter.com/dustingetz

Submissions

comment 13y ago · link · parent

Last week in the official cognitect training they said that the transactor can handle 10k writes/sec with appropriate hardware, which is enough to handle all the credit card transactions in the world.

[This next part is me, not them] So despite being theoretically write bottlenecked, it still does better than postgres, because the transactor does less work (though they're in the same ballpark). What do you think?

I hope I'm quoting them right, from memory.

comment 13y ago · link · parent

Datomic is like git. You are working with a heavily lazy cloned copy, where only the parts that matter are cached locally. This "perfect" caching is enabled by an append-only data model, like git; queries don't touch network, like git. This has huge ramifications across the board, both obvious (omg free queries, horizontal read scalability) and subtle (no object relational impedance mismatch).

comment 13y ago · link · parent

mediocre for programming books - you have to be in landscape mode and still code snippets will wrap often. Books with terse code (like functional programming books) work mostly well, but books with less terse code are unreadable even with smallest font in landscape mode. EmberJS in Action comes to mind as totally unreadable on my paperwhite.

A++++ for regular books of all types.

comment 13y ago · link · parent

From the urbit project:

At some point in Martian history, some abject fsck of a Martian code-monkey must have said:

"Fsck this entire fscking ball of mud. For lo, its defects cannot be summarized; for they exceed the global supply of bullet points; for they are as numerous as the fishes in the sea; like the fishes in the sea they fsck, making more little fscking fishes. For lo, it is fscked, and a big ball of mud. And there is only one thing to do with it: obliterate the trunk, fire the developers, and hire a whole new fscking army of Martian code-monkeys to rewrite the entire fscking thing."

This is such an obvious and essential response to the big ball of mud pattern that, despite the fact that we know nothing about Mars, we can deduce that it must have happened on Mars. Probably several times. Probably several hundred. For each of these attempts but the last, of course, the result was either (a) abject failure, (b) another big ball of mud, or (c) both.

But the last, by definition, succeeded. This is the crucial inference we can draw about Mars: since the Martians had 50 million years to try, in the end they must have succeeded. The result: Martian code, as we know it today. Not enormous and horrible - tiny and diamond-perfect. Moreover, because it is tiny and diamond-perfect, it is perfectly stable and never changes or decays. It neither is a big ball of mud, nor tends to become one. It has achieved its final, permanent and excellent state.

[1]

    http://www.urbit.org/
    [1] https://groups.google.com/forum/#!forum/urbit-dev

comment 13y ago · link · parent

4) he lost control and the board won't let him sell. Founder surely wants to sell. Unfortunately snapchat took $800M vc money, and his new VC bosses have completely different incentives to go for a long tail outcome. Which sucks because the founder is probably a lot more likely to get nothing than he is to get a huge exit and he knows it. Though as wengsing says he probably got a bunch of cash in prior rounds so maybe he doesn't really care.

2736.

Markov chain + Facebook status history(what-would-i-say.appspot.com ↗)

2 points · by dustingetz · 13y ago · discuss

comment 13y ago · link · parent

sometimes small differences have massive implications. consider: immutability.

comment 13y ago · link · parent

Can you ramble about how datomic is from ops perspective for a moment if you will? thanks

comment 13y ago · link · parent

I would like to know more about datomic from an ops perspective if you feel like elaborating?

comment 13y ago · link · parent

Any data structures on the public API would have to be marshaled from whatever JVM language into fredge. Even sharing code between scala and java can be painful and obvious.

comment 13y ago · link · parent

It can compile to a loop. JVM can't optimize it for free at runtime. Scala has tail recursion elimination

comment 13y ago · link · parent

"From a business point of view, long hours by programmers are a key to profitability. ..."

wrote Phil Greenspun[1], here's the rest of the quote:

"... Suppose that a programmer needs to spend 25 hours per week keeping current with new technology, getting coordinated with other programmers, contributing to documentation and thought leadership pieces, and comprehending the structures of the systems being extended. Under this assumption, a programmer who works 55 hours per week will produce twice as much code as one who works 40 hours per week. In The Mythical Man-Month, the only great book ever written on software engineering, Fred Brooks concludes that no software product should be designed by more than two people. He argues that a program designed by more than two people might be more complete but it will never be easy to understand because it will not be as consistent as something designed by fewer people. This means that if you want to follow the best practices of the industry in terms of design and architecture, the only way to improve speed to market is to have the same people working longer hours. Finally there is the common sense notion that the smaller the team the less management overhead. A product is going to get out the door much faster if it is built by 4 people working 70-hour weeks (180 productive programmer-hours per week, after subtracting for 25 hours of coordination and structure comprehension time) than if by 12 people working 40-hour weeks (the same net of 180 hours per week). The 12-person team will inevitably require additional managers and all-day meetings to stay coordinated."[1]

[1] http://philip.greenspun.com/ancient-history/managing-softwar... (halfway down the page on this)

comment 13y ago · link · parent

"LONG HOURS ≠ MORE PRODUCTIVITY OR BETTER WORK."

this is false and debunked in mythical man month. It follows from "adding manpower to a late software project makes it later" that we need to add hours, not people. Or we can break our contract if we'd rather to that.

"We respect ourselves and our people enough to honor their time and their personal lives so we cannot agree to your deadline."

This also misses the point - projects start on time and end late. at the time the deadline was agreed to, we happily accepted payment.

comment 13y ago · link · parent

if all those ASICs were so profitable, wouldn't the company making them be keeping them for themselves?

comment 13y ago · link · parent

Zero to employable is a different audience then "program a game for high school kids". I don't like TDD either but it can only help if you're new

comment 13y ago · link · parent

You have no idea what you're talking about. Like, your whole post is false

comment 13y ago · link · parent

Security-after-the-fact is actually +EV just like certain risk distributions are +EV in finance. Companies must balance where they want to be in the secureness spectrum against the investment cost to get there and it seems that high grade security isn't worth the opportunity cost for a pretty big class of companies and customers.

comment 13y ago · link · parent

Pro tip: you can safely ignore whole classes of applicants, that way you don't come off as a douche. I probably won't ever work in a non-functional language, but my resume doesn't say "no javashops, please". Most javashops don't consider themselves to be javashops anyway.

comment 13y ago · link · parent

You do benefit economiclly from war, even if you don't do it deliberately. The American middle class lifestyle is made possible by acting in America's economic interests. Posturing about who deserves blame does not solve the fundamental issues.

comment 13y ago · link · parent

Angular uses dirty-checking, KO uses change listeners (which is why KO is objectively worse because change listeners cause a lot of problems)

http://stackoverflow.com/a/9693933/20003

comment 13y ago · link · parent

"The actual model becomes thoroughly comingled with calls to ko.observable ... I reached a high-water mark and decided to move off Knockout"

+1, this is exactly my experience too. my app is the enterprisey type with lots of really complex and dynamic views

comment 13y ago · link · parent

dirty-checking (angluar) is always better than change listeners (knockout), here is why: http://stackoverflow.com/questions/9682092/databinding-in-an...

Try to do something complicated in Knockout like nest a bunch of complex models and you will very quickly abandon knockout. Angular isn't all roses either but at least its possible to do complex views.

comment 13y ago · link · parent

At the very bottom he describes the use case. Mobile apps optimize for battery life by preferring one big long request up front rather than lots of little ones as needed. But you only need the first 10% of the data to render the first screen of your app.

comment 13y ago · link · parent

Half the value of all these platforms is they each provide a different experience and thus are good for different things. SMS is urgent, Facebook messages are not, email for important thoughtful things, tweets for helping get attention of busy people with the viral factor. UX is critical to shape your users behavior.

comment 13y ago · link · parent

$10/vid is impulse purchase territory and i'd pay $100 for the lot without thinking too much about it

2756.

Web Apps In Clojure And ClojureScript With Pedestal (Strange Loop 2013)(github.com ↗)

1 points · by dustingetz · 13y ago · discuss

comment 13y ago · link · parent

here is the HTML and JS:

    https://github.com/JohnMunsch/airquotes/blob/master/app/index.html
    https://github.com/JohnMunsch/airquotes/blob/master/app/scripts/main.js

comment 13y ago · link · parent

they already have jobs so you have to poach them from where they're working; netflix/facebook/google etc. you do that with money. all this other stuff should be taken for granted. if you're hiring engineers that are failing google interviews then you're not hiring the great ones now are you.

the problem is that most companies don't have the ability to poach great engineers, but they pretend they do so they go and write little posts like this one, but ironically they aren't qualified to be writing these posts in the first place!

1
919293
121