HNHacker News
TopNewBestAskShowJobs

dharbin

203 karma · joined May 21, 2012

submissionscomments
dharbin··on Jonathan Ive and the Future of Apple
I thought the bit on cars was timely:

> Ive acknowledged that he and Marc Newson, who recently joined Apple as a London-based employee, could “incite ourselves to a sort of fever pitch” of design distress; they’ll complain about things “developed to a schedule, to a cost,” or “developed to be different, not better.” He and Newson are car guys, and they feel disappointed with most modern cars; each summer, they attend the Goodwood Festival of Speed, where vintage sports cars are exhibited and raced in the South of England. “There are some shocking cars on the road,” Ive said. “One person’s car is another person’s scenery.” To his right was a silver sedan with a jutting lower lip. Ive said, quietly, “For example.” As the disgraced car fell behind, I asked Ive to critique its design: “It is baffling, isn’t it? It’s just nothing, isn’t it? It’s just insipid.” He declined to name the model, muttering, “I don’t know, I don’t want to offend.” (Toyota Echo.)

dharbin··on ‘Goodbye Photoshop’ and ‘Hello Krita’ at University Paris 8
Isn't that ImageMagick? And at one point Pixelmator was implemented on top of ImageMagick.
dharbin··on Master Concurrent Processes with core.async
Just one caveat to the use of core.async as a processing pipeline (as in section 6: Callbacks), make sure you're taking extra care to handle exceptions. Since the exception occurs in a separate thread, it will happen silently and will cause your pipeline to stall.

Some recommended reading for how to handle such a scenario:

http://martintrojer.github.io/clojure/2014/03/09/working-wit...

https://github.com/zachallaun/async-pipeline

https://github.com/ztellman/manifold

dharbin··on If Sony Hack Wanted to Stop 'The Interview' Release, It Worked
If true, what's the motive of the hack? lulz? Was there some kind of extortion attempt?
dharbin··on Peter Thiel: I'm on human growth hormone [video]
Is Peter Thiel really gwern in disguise?
dharbin··on Why I like XSLT
Somebody can invent the coffeescript of XSLT! That way, we can keep the compatibility and ubiquity the article talks about, and get the benefit of not writing code-as-XML.
dharbin··on Representing Trees in PostgreSQL
There's also the ltree module which is built-in to postgres: http://www.postgresql.org/docs/9.1/static/ltree.html
dharbin··on I Hate Puzzles: Am I Still a Programmer? (2011)
New web frameworks are making web development a more difficult problem, and Google's biasing of their hiring process towards "puzzle-solvers" has given birth to the poster-child of such complexity: AngularJS. AngularJS takes web development from something inelegant but simple into something inelegant and convoluted. I miss the days when web developers didn't need to add "transclusion," "directives", and "providers" into their vocabulary.
dharbin··on How to Hire and Build a Remote Team
I have never run a company before but I can imagine it might cause tax headaches.
dharbin··on Apple releases U2 album removal tool
I agree. I have to play whack-a-mole to keep songs out of my library that I'm no longer interested in.
dharbin··on New Requests for Startups
Which ones are the new ones?
dharbin··on A first step toward more global email
Does it support emoji?
dharbin··on What ORMs have taught me: just learn SQL
Take a look at my library, swigql[1]. You can create a base query and then extend that query however you want via template inheritance.

[1] https://github.com/civitaslearning/swigql

dharbin··on What ORMs have taught me: just learn SQL
I'm loving all the momentum towards writing templated-sql, in fact, I wrote a library for this myself[1].

By leveraging jinja2/django-style template inheritance, you can even bring some advantages of ORMs (composition, reuse, and extending) into the raw-sql world.

The OP also intimated that he's taking a templated approach:

"“In these cases, I've elected to write queries using a templating system and describe the tables using the ORM. I get the convenience of an application level description of the table with direct use of SQL. It's a lot less trouble than anything else I've used so far.”

[1] https://github.com/civitaslearning/swigql

dharbin··on Kids Don’t Care About Cars
I certainly view a car as a tool, nothing more, but I don't know why this author presumes to talk for all people under forty.
dharbin··on Two-Way Data Binding
I disagree. You can write robust, clean, modular, and scalable code without a framework. If you need a framework to help you "stay within the lines" or speed up development, then by all means. But I've built large JS systems with vanilla js + jquery + requirejs just fine.
dharbin··on PostgreSQL columnar store benchmarks on SSDs
I'm very excited about this! Add a mechanism to distribute data and queries across a cluster, and this could be the makings of an open-source Amazon Redshift.
dharbin··on Joyent us-east-1 rebooted due to operator error
salt '*' system.reboot
dharbin··on Comparing Node.js Promises, Try/Catch, Angular Zone.js and Zone
q.js can properly handle exceptions thrown in a handler. see the examples here: https://github.com/kriskowal/q#chaining
dharbin··on An open question (rant) about Node.js
Threads are more difficult than writing event-loop based code IMO
dharbin··on Help Scale NPM
So now we live in a world where people extort you to fix their broken service. The first repository is always free...
dharbin··on Winning at Candy Crush
I wonder if you played anybody who was also proxying Windows chess? Battle of the computer wits!
dharbin··on Is Google building a hulking floating data center in SF Bay?
Somebody told them about docker and this is what they did....
dharbin··on Where are the Voyagers?
Has it reached the machine planet yet? See: http://en.memory-alpha.org/wiki/V'Ger
dharbin··on Perl::Critic - Automatically review your code
JSHint[1] seems to be the most popular JS linter, although I believe Perl::Critic to be the more powerful of the two tools. I've always appreciated how Perl::Critic allows you to write your own rules, and I wish JSHint was so customizable because I have coding standards I'd like to automate that don't exist in JSHint's options.

1: http://jshint.com/

dharbin··on Chef, EC2 Auto Scaling, and Spot Instances for Fun and Profit
Has anyone done something like this to scale out a hadoop cluster? I'm a total n00b at this stuff....
dharbin··on Bootstrap 3.0 Upcoming changes
_this_. And why drop support for FF 3.6 too? Is there a technical reason to drop support for older browsers or is it idealism?
dharbin··on Evernote 5 for Mac
The Pinterestification of UI continues...
dharbin··on “Nones” on the Rise: One-in-Five U.S. Adults Have No Religious Affiliation
Ah yes, Hacker News... the go-to place for all your news on religion.
dharbin··on A Statistical Justification For IE Ads
Then why not just advertise Bing itself?
← PreviousPage 2 of 3Next →