Better HN
topnewbestaskshowjobs
Log inSign up

tkaemming

198 karma · joined Jan 26, 2010 (16y ago) · 45 submissions

http://kaemming.com http://github.com/tkaemming
Submissions

comment 13y ago · link · parent

It's a shame that comments like this one repudiating several of the details in the original article can't be viewed at the location of the originating post.

Instead, everyone who reads the article in the future will have an one-sided impression of the situation (unless the author edits the post based on the points brought up in this thread) due to the lack of comments.

comment 14y ago · link · parent

> What is a distributed commenting system? An HTML script tag to load a static file that will ping an api that will serve you comments.

This is how Disqus works. Something still has to power the API that serves the data for it and we happen to like Django a lot so that's what we use. There are also a lot of parts of Disqus that are not the embed (moderation panel, account management, etc.)

comment 14y ago · link · parent

> There's no way that we can entrust the business to something that can just catastrophically fail at any moment.

Anything, including service providers, can catastrophically fail at any moment. Fault-tolerant architectures are based on redundancy (including infrastructure provider redundancy, as you mention), not on "guaranteed" SLAs.

comment 14y ago · link · parent

It's worth noting that if you're planning on instantiating multiple instances of the same "class" (to use the term generically/loosely) instead of immediately invoking the function, the module pattern has a much more significant memory footprint than prototypical inheritance — total memory usage should increase linearly with the number of objects you're creating, since you're creating new copies of all member functions each time.

Jeremy Ashkenas (who knows a lot more about this than I do) explains this in another comment thread here: http://news.ycombinator.com/item?id=2991904

comment 14y ago · link · parent

> "git reset" has quite simple syntax, but it confuses the hell out of even experienced git users because it's very clever and potentially very dangerous.

For anyone who gets a panic attack before running `git reset`, this talk may help clarify how things are working under the hood: http://www.infoq.com/presentations/A-Tale-of-Three-Trees

comment 14y ago · link · parent

I've found this view_class_decorator and MultipleFormView particularly helpful with class-based views: https://gist.github.com/1953579

comment 14y ago · link · parent

Seeking Work - Remote preferred, or SF-ish (North Bay)

Available for short- or long-term engagements. Experience with building large Django applications and working all over the stack (both server- and client-side). Would prefer working in a team environment, opposed to being the primary/single programmer responsible for development.

Contact: ted [at] kaemming.com, other details at http://kaemming.com, code at http://github.com/tkaemming

comment 14y ago · link · parent

> Running a whole VM just to run an app is immensely irritating.

Although starting a VM to run an app is irritating, spending time hunting down why your build is breaking (or worse, why production is breaking) because someone had a library a few minor versions out of sync or because they're on a different operating system is immensely more irritating.

comment 14y ago · link · parent

The redirection has to be done on the client-side, because the server never receives the fragment identifier as part of the URL.

10.

Google Code University: Distributed Systems(code.google.com ↗)

3 points · by tkaemming · 14y ago · discuss

comment 15y ago · link · parent

Steve actually drove a Mercedes SL55 AMG: http://latimesblogs.latimes.com/money_co/2011/10/steve-jobs-...

comment 15y ago · link · parent

The Dijkstra transcript referred to a bit deeper in the thread about why sequence numbering starts at zero is a tangentially interesting read: http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EW...

comment 15y ago · link · parent

If you think that's exorbitant, you should check out the $29.99 iPhone app.

comment 15y ago · link · parent

Also worth noting is Steve Souders' control.js (http://stevesouders.com/controljs/) which adds some tools for delayed script execution and solves a few document.write use cases that have been issues with deferred loading/execution.

comment 15y ago · link · parent

It's easier to ensure that you live on a "quiet street" when the street doesn't go anywhere.

16.

Classifying Software Developers(rc3.org ↗)

25 points · by tkaemming · 15y ago · 3 comments

comment 15y ago · link · parent

That's easy — just delete `decimal.py` from your standard library.

comment 15y ago · link · parent

Homebrew is another popular alternative to MacPorts that you may be interested in looking at: https://github.com/mxcl/homebrew

comment 15y ago · link · parent

"I agree with you and generally this is a great way for a startup to save money as well because new grads are cheap."

I'd argue the opposite case — if it's true that a good programmer is at least 5-10x more productive than an average programmer[1], you'd actually save money by paying the experienced programmer significantly more when compared to hiring a team of beginning or average programmers.

[1]: http://en.wikipedia.org/wiki/The_Mythical_Man-Month#The_surg...

comment 15y ago · link · parent

I updated the original comment w/ the original and updated text. Sorry if you saw this as inappropriate — I had updated it before it was upvoted and thought it only clarified the points, not changed it.

Regardless, many deployments use this same technique for just this reason (to avoid spoonfeeding slower clients responses). How is this any more risky than running Apache up front, barring configuration errors (which could just as easily happen with any other server software)?

comment 15y ago · link · parent

They (nginx, lighttpd) are more difficult to exploit, especially when used to buffer requests to a heavier upstream server like Apache.

EDIT (Clarification):

They (nginx, lighttpd) are more difficult — although not impossible — to exploit, especially when used to buffer requests to a heavier upstream server like Apache.

Specifically, they are typically able to handle many more connections than your application server would be able to (as long as they are properly configured), without the incurring the resource overhead of your application server by bufferring the HTTP request/response.

comment 16y ago · link · parent

I'd hardly consider the V8 JavaScript engine a second-class citizen in Chrome at this point.

comment 16y ago · link · parent

If you're going to call Deschutes a Portland beer at 160+ miles away (and at the same time, leave out Rogue? That one confused me.), I think it's fair to call Russian River, North Coast, Lagunitas, Bear Republic, Anchor, and Sierra Nevada all San Francisco area breweries — and it's a little hard to argue with those. (As long as you like hops, at least.)

comment 16y ago · link · parent

They've been sending them out progressively. (I've received 3 over the past 5 hours.)

comment 16y ago · link · parent

The Mythical Man Month — it's a fairly popular read, and it's topic lies somewhere between managing projects and managing people and focuses on the "human element" of software engineering: http://en.wikipedia.org/wiki/The_Mythical_Man-Month

26.

Academic Publications by Googlers(research.google.com ↗)

7 points · by tkaemming · 16y ago · 2 comments

comment 16y ago · link · parent

It's somewhat hidden on the project page, but I love the annotated source view: http://documentcloud.github.com/backbone/docs/backbone.html

Edit: It looks like it's taken straight from the source (http://github.com/documentcloud/backbone/blob/master/backbon...) using Docco: http://jashkenas.github.com/docco/

comment 16y ago · link · parent

Odd — I'm running Snow Leopard and haven't had any issues with many of the libraries or apps you mentioned (boost, ampqlib, postgresql), although it's probably worth noting that I installed them all through Homebrew (http://www.github.com/mxcl/homebrew/).
12