skysight-inc/HackerNews huggingface dataset:
This looks cool and now I want to mess around with it. I wish there was a torrent for that dataset.
I try to follow a gradual approach to decomposition. When I start to get a lot of related methods I wrap them in a module, but still within the model definition(I just include the module immediately after definition). From there I might just move it to a separate file as is or perhaps I turn into a decorator and add an accessor for it on the model e.g.

class Retailer
...
def metrics
RetailerMatrics.new(self)
end
end

class RetailerMetrics < Struct.new(:retailer)
def profit
# devious stat twisting
end
end

The biggest danger with any of the patterns from the article is that you start using them before you actually need them. Then you just end up with a lot of complexity for no benefit.
From a look at http://www.quicklisp.org/beta/, it looks like another single-language tool for smuggling code onto a box while failing to set up any interdependencies with the system's package manager. I don't like being so harsh, but "every language has its own packages and none of them interop at all" is a growing antipattern that eventually leads to horrible messes.
Running the same benchmark against DocPad a node.js framework, getting good speeds too (1147req/s). Benchmark: https://gist.github.com/3906050

Worth noting the tests are being run against a local copy of - http://docpad-kitchensink.herokuapp.com/ - which does a lot more stuff than the basic haml rendering.
How Cobalt Calibur Uses Canvas to Display Sprite-Based Graphics
reducing the deficit?
45000 Wordpress blogs hacked on 2nd day of Spam campaign
How does anyone know anything about the surface? Haven't most of the press exclusive samples been less than 5 minutes?
Britain blocks high profile hacker's extradition to United States
In spite of me
This is a great site, I like the idea and how it's implemented! Definitely makes you think.
Microsoft Slips on Surface Pricing Strategy, Should Have Been More Aggressive
It doesn't seem to work for me. After installing as per the instructions, I get the following error whenever I try to do `workmode <x>`:

env: node\r: No such file or directory

(I'm on a Mac)

EDIT: Are you using Windows newlines? I think that's the problem.
Good points/questions. I'll try to respond to each...

* RE: Strategy pattern. My understanding of the strategy pattern is it simply refers to "algorithms are encapsulate and can be selected at runtime". (http://en.wikipedia.org/wiki/Strategy_pattern)

* RE: New class per object query. Agreed that grouping these can make sense. Had to keep the example brief.

* RE: Events. That's another approach -- thanks for the suggestion.

* RE: "View Model" vs. "View". I had it as "View Model" in the original draft and got feedback from reviewers that they are usually called just "Views". :-) I've heard it both ways .

Thanks for the questions!

-Bryan
I assume you're referencing stevey's rant, and if so you're conflating two issues. Steve was talking about the use of APIs between services at the application level, not the API for the datacenter/cloud as a platform.
You just used my favorite word (sesquipedalian) haha

That said, it sounds like she struggles with it too (and clearly did with the article):

“The first time I ever witnessed Mary do that,”
I continue, “I swore to myself I’d follow her
example, I’d be that brave. Guess how I’ve done?”

They raise their eyebrows, half-hopeful, half-leery.

“Not that great,” I confess. “It’s ridiculous! I
still do it sometimes! Less often, but yes – from
time to time, I still catch myself faking it!”

I think for most people it's something you work at. Still, an article as an example of something it's railing against = funny.
Why Amazon can spend and grow forever
It's a nice advance and all, but I still think it was cooler when they were talking about putting masses of micro-servers into orbit to make their hosting truly impossible to take down :)
Hurrah For The Beer Keyboard
More trouble for Color: shareholders and board vote to wind down company
Ditto. I also liked that the AP exams gave my high school teachers an excuse to teach the classes to a higher level (the level required to pass the exams.) Do away with AP exams, and I bet you would see academic standards plummet in upper-level high school "honors" classes.
One disadvantage though - it stops working after 107,565 position. You could've included some wealthy guys stats as well. Not that I earn that much, but it would be interesting to see the perspective :)
Busier yet more productive? Say hello to better tasking
Admitting that you don't know something is such an important skill, because it enables one to learn and discuss unfamiliar topics. I've met a lot of people, including professional programmers, who can't admit when they don't know something. I've even noticed it affect my own engineering capabilities. There have been a number of times that, when presented with a new idea (TDD, functional programming, dependency injection, etc) I initially convinced myself that it's not that important. I've further noticed that this usually happens when I'm struggling to understand how to apply it in practice. I've also witnessed this thought process in other engineers. All this has led me to thinking about a theory lately. I think that there's a cognitive bias at play when people are presented with something that's unfamiliar to them [1]. I haven't validated this idea yet, so if anyone has any pointers to some research on this topic, I'd love to know about it.

I've witnessed these thought processes impede discussion and prevent improvement within engineering teams, which is why I push people during an interview to see of they'll say, "I don't know."

[1] Off topic, but I think this proposed cognitive bias enables the existence of most religions, because religion soothes people's uncertainty about metaphysics.
I think that her words are just on the right side of the line. It would be tough to make it more florid without sounding pretentious, but it seems fine at the moment.

Here's an example of the kind of uncontrollable logorrhoea that she's talking about:

"Objective considerations of contemporary phenomena compel the conclusion that success or failure in competitive activities exhibits no tendency to be commensurate with innate capacity, but that a considerable element of the unpredictable must invariably be taken into account."

That's from the George Orwell essay "Politics and the English Language" (I'm sure you're familiar with it - snarf) and it's a rewording of the following Bible verse

"I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all."
Yes! Gradual is they key. Your architecture should scale up gradually to handle the app complexity.
Unless you're the developer who built this (I suspect you are not), you should mention that instead of embedding it in your site without any sort of attribution.
Sweet. I am going to try this out!

Has anyone here used Self Control? (http://visitsteve.com/made/selfcontrol/). Sometimes when I block websites, like Reddit.com and this one and few others it makes other websites look weird. Like the page will still load but be broken. I think Self Control is blocking sites the same way this does. Any idea why this happens?
So, unless it s open source software, how would they know who implements their patented list?
Why? He has nothing to lose. If it's rejected, it's rejected. But if it's accepted.. well you have something going now don't you?

As long as there's a legal way you can exploit something, someone will do it.
Registrierung - HouseTime.FM
Amazon And Apple Don't Need The Government's Help Destroying Google
Also, try Self Control app: http://selfcontrolapp.com
It has a black/white list (depending on what you need) of hosts, and lets you set up a timer.
Maybe they want to recycle complex analytic queries and visualization tools for rdbms-databases, while still enjoying the advantages of mongodb. They mention this in the first paragraph.
Having helped several large companies migrate I would agree that this is a top concern, but it can be shown that Git can handle all of the users without any problem. Common tips like: If you are using pure ssh beyond 500 users you want to move away from the stock sshd. When possible setting up git to handle fetches over smart-http can scale git significantly (I would use all available bandwidth to the box before the cpu was anywhere near to pegged). The usual server side backups, routing and distributing load to local offices are all issues that are not too difficult to deal with. Even going through a worse case situation and on purpose corrupting the git database as an exercise is worth doing with new admin's. Inside the enterprise firewall there are a number of tools such as gitolite, github enterprise, gerrit, etc out there that are available to make the users and server admin's happy. Beyond that there are presentations, books, youtube videos, wiki's etc. I found making sure there is one "local export" really helps make things go smoother and and internal chat room / mailing list for Git can't hurt too.

Slowly migrating users by teachings the early adopters with git-p4 also helps to prevent the sudden switch on "Monday" that goes horribly wrong causing everyone to loose a few days.

The real problem has been shops that have 400GB perforce servers and they employed absolutely no rules about where things would live on the server. This would result in Perforce clients that would cherry pick directories from all sorts of random sub directories across the Perforce server to build a product (v.s. say something simpler like projectFoo/, 3rdparty/, and binaryTools/) The worst are the exceptions in the perforce client such as the perforce client would grab the src/ directory, but exclude src/vs/ because a few years ago someone checked in a visual studio install into the src directory and somewhere someone is still using it so they can't remove/move it... Even if they stick with Perforce companies like this really should clean up their repositories, call it simple professionalism.

After a repository is cleaned up (even a basic pass can make a huge deal) then using git on top of perforce or even thinking of migrating is much easier to do.

Using Git inside large companies is completely doable right now. In the past when Git was younger I gave a few presentations in the Boston area (where I live) to companies that were interested in learning more. If your in the area and if you just want to pick my brain on the topic or how it might apply to your situation I am always up for grabbing lunch.
Speed Trumps Skill
475 Days of Unemployment
Just a counterpoint...

Before even trying to get a VC meeting I'd ask myself, "Can I do this without a VC?" All money comes with strings attached, VC money more than customer money.

There's no one correct answer but if you really believe that your web startup can succeed I'd consider first try filling out your team by adding partners with complementary skills and then put the same effort into sales and marketing to the customer rather than VC's. VC's could be harder to close than typical customers.

What's the main motivation for the VC route? Shooting for the moon? Fear of working without a salary? (nobody's going to pay you while you try to raise money either)
I use Anki[1] with my kids (grades 1 and 3) for spelling, reading, and math. It works really well, was relatively easy to set up (import csv files), and keeps track of the spacing for me so I never have to worry about unconsciously filtering the hardest cards to the bottom.

Even better, Anki v2.0 just came out with the ability to have multiple profiles. (No more including the child's name in the deck's name... yay)

The downsides are:
The documentation is lacking in all but the most basic uses; The help forums are difficult to find [2];
You are tied to your computer (or smartphone).

[1] http://ankisrs.net/

[2] https://groups.google.com/forum/?fromgroups#!forum/ankisrs
10 essential tips for every designer.
This is a bit more general than either a doubly-linked list or a skip list, but it seems a pretty straightforward extension of those ideas.
Apple: Take The Money And Run (Part 2)
Features You Wouldn't Expect in a Checking Account
If your checking account does not offer high-interest checking, no minimum account balance and provide refunds for ATM fees nationwide ... then you need to read this article and check out https://www.kasasa.com/ for information on what you are missing!
I also scored 22/25. I also agree that I will not be able to replicate that score, except for maybe on the last test. I find it interesting that I generally got lower scores on questions I didn't even have to think about at all, because I didn't bother to put in sufficient amounts of justification to my answer.

I'm not sure what I think about the test as a metric for software engineers OR of the results we'll get. Colin is a Putnam fellow - probably not the guy you want writing a math test :) For the results - first, people on HN aren't a representative sample. Second, people had the opportunity to look at the exam before deciding to take it. My hunch is that people who would not have done well may have decided it wasn't worth their time to hear about it. Not sure what we can make of this. Perhaps if Colin was disappointed, he's not as disappointed as he could have been. And also if he was disappointed, it may not actually matter.

Regardless, if I built my own startup and were hiring, I do think I'd want people who have demonstrated that they're fast, dedicated, and could probably get above 50% of the marks on this exam.
For that kind of problem I'd probably be using hadoop, which does object pooling internally with the objects it passes into your mappers/reducers.

For a non-hadoop datasource you could do the same thing by hand: stream in the data from the table, turning it into objects from your pool and passing them through to your reducer function in small batches.
Show HN: Site44 - absurdly simple web hosting, publish from Dropbox
Ruby Padding Issues with Base64 Decoding
That reminded me of the tagline on Nassim Taleb's homepage:

My major hobby is teasing people who take themselves and the quality of their knowledge too seriously and those who don’t have the guts to sometimes say: I don’t know...
These Associations Broke Felix Baumgartner's Fall
I started writing a response but it started getting rather long, so it really deserves to be its own blog post. In the meantime, I'll pick just one thing that seems most relevant:

There's a kind of implicit tactical (minute-to-minute) accountability in coworking, because you're all there to work, but not any larger strategic accountability. I don't think anybody would hold your feet to the fire if you didn't produce anything for a week, or month.
Could someone throw a good "Beginning Dart" Tutorial here please.Just want play with it.
"So is Evanston regulating food trucks to protect the public's health or are they not?"

Yes, they are. They also arbitrarily prevent anyone other than brick-and-mortar restaurant owners from operating a food truck. That was the whole point of the article.
Why SPARQL instead of Relational databases
I tend to be very upfront about what I know or dont know in the corporate world, and I've seen it bite me too many times. There are reasons why people are guarded about what they know or don't know.
In an academic setting however, I never felt any serious repercussions for being transparent.
How I Met Your Girlfriend - Web attacks - DEFCON 18
8 Superlative Practices for Efficient HTML5 coding
Ask HN: Teaching a child to program?
Suppose I have a somewhat precocious child who shows an interest in programming and solving hard problems, and has a fairly decent grasp of logic. How would you approach teaching him or her to program? What age is a good age to start?
"How do you get a patent ..."

The only way I can make sense of these ridiculous patents is if the patent examiners are under pressure to grant patents as part of their yearly performance metrics.
VFabric Suite 5.2 Released
"The implementation of a data structure usually requires writing a set of procedures that create and manipulate instances of that structure." (http://en.wikipedia.org/wiki/Data_structure)

If you gloss over construction and modification details, this "invention" is entirely covered by "Fortran-style" linked lists which have been in common use since the 1950s. (Store the primary list in an array, then have one or more integer arrays containing the index of the next node. Relative to storing the "aux_next" pointer inside the node, this allows dynamically creating and destroying an arbitrary number of indices.)
Deploying a Cassandra Cluster with Application Director
One would need to correct for that horrible lens geometry and rolling shutter first. Not impossible, but kind of tricky to do it right.
Apologies for a second post, but another great point of discussion around this topic: http://52weeksofux.com/post/646711369/cohort-analysis-measur...
Nice project, though if you'd rather not install Node.JS and all of its dependencies, you might want to try https://github.com/leftnode/get-shit-done

There are a few versions of it in Python, PHP and sh so you can pick your preference :-)
That turned out really cool!
Probably echoing other concerns here, but immediate thoughts:

- Filter open bounties (or have a sort option and default to open bounties at the top of the list; not much use in seeing expired bounties)

- Payment should not occur until an answer is accepted, and you should be able to do this via Stripe without much additional effort. Not everyone values or appreciates being forced into a charitable donation when they are attempting to spend money to solve a problem.

- The fee structure is quite exorbitant. Charging an extra $22.44 on top of a $250.00 bounty? The Stripe fee is only $7.55. Same for the $100.00 bounty--Stripe fee of $3.20, and an upcharge of $11.79. That's ridiculous.
A fantastically naughty game from the days of yore. The iOS version is a surprisingly good port, but lacks multiplayer.
Optimized version:

# turn on

sudo rm /etc/hosts

sudo ln -s /etc/hosts{.work,}

# turn off

sudo rm /etc/hosts

sudo ln -s /etc/hosts{.play,}

Optimized further (in your ~/.bashrc):

alias work="sudo rm /etc/hosts && sudo ln -s /etc/hosts{.work,}"

alias play="sudo rm /etc/hosts && sudo ln -s /etc/hosts{.play,}"

Optimization cubed (lets you define a base hosts file):

alias work="sudo rm /etc/hosts && sudo cat /etc/hosts.base >> /etc/hosts && sudo cat /etc/hosts.work >> /etc/hosts"

alias play=...

The number of upvotes, the fact that you thought this was necessary and the fact that this application exists all made me facepalm hard. I can't even see right now.
The human tendency to attempt to avoid looking weak in just about any situation, coupled with a fear of certain cultural/personality types (the types that cause people to spend their time trying to sniff out weakness to use as leverage and fodder for humiliation and/or believe that human beings should be regarded as fungible little cogs who should be replaced if they aren't flawless) seem to be the biggest feeders of this tendency. Insofar as it serves as a defense mechanism, it seems perfectly rational (while also seeming sad that it's necessary) in many cases to not admit, especially when one believes that their livelihood may be on the line (whether immediately or somewhere down the line.)
I have a project which will benefit from Bryan's advice.

There are models which are overly large (the project started as a Rails 1.2 project now at 3.0). The project has moved through different hands and the cruft and bloat has built up.

I look forward to applying some of Bryan's points to these models.
So, basically, the Lenoir data center is their sightseeing location for "factory tours".

The only data stored there is probably Doodles...
IOS 6 App Store Becoming A Headache For Developers
A lot of this boils down to PHP's feeble "array" declarator. Take a page from JavaScript and make it easy.
I always find it suspicious when someone clever falls victim of - and further spreads - FUD that is beneficial to his/her business. Remember they sell proprietary (actually, re-licensed) software that's not under one of those "dangerous" and "viral" licenses.
They didn't steal server code; it was confidential business docs.

> Zynga says Patmore took files that are critically important to the game maker's business, including revenue projections, monetization plans, more than 10 unreleased game design documents, employee compensation details, strategic road maps, and his entire email box, containing 14 months of confidential communications.

http://allthingsd.com/20121014/zynga-files-suit-against-form...

Just because a file doesn't compile, that doesn't mean it's not valuable.
> The Catholic Church believes in evolution

How is this reconciled with Eve being created from Adam's rib? Genuinely curious.
There are two types of people who use "big words": Those who are trying to sound smarter than they are, and those who are so intimately familiar with the English language that they understand the subtle shadings of each word and can't help but use them fluently.

English is often cited as an unusual language for the word count it has. What English has done is load a lot of connotations that in other languages might show in phrases or idioms into the words themselves. In the thesaurus, "conflagration" and "fire" are synonyms, but in fact they don't mean quite the same thing. One is a thing you might cook marshmallows over and the other certainly is not.

Those in the second category can identify those in the first with a glance. Sometimes you can even see them flinch if you're looking at them at the right time, when someone claims to have roasted their marshmallows over a conflagration.

The author is a professional writer and a professor, presumably of English or Writing. She comes by it honestly. If any of the vocabulary in that piece struck me on first reading (before I read your comment), I actually thought she was talking down to her students when she told the story about Mary.

(I am sure Muphry's Law is in full effect for this post.)
I would be curious to see how 'meta-submissions' (i.e., posts about Hacker News itself, about Y-Combinator, and about YC-backed startups) rank in the charts versus the five categories shown in the rjmetrics blog post. (The blog post, which made it to the top of the HN front page, is itself a meta-submission!)
New Planet Is Closest Yet: Earth-Size Lava World a Space "Landmark"
This is close to what I have, except less complex. A single line in /etc/hosts that redirects sites to 127.0.0.1, which gets commented or uncommented. The fact that I have to go through the hassle of sudoing up and removing the comment means I'm far more likely to catch myself before doing it and getting back to work.
My version, in Perl with Arch support:

https://github.com/richardjharris/get-shit-done

I've just realised I'll need to update it now Arch is using systemd...
Can't be more wrong about this. Anyone who actually made a js only site and cares about SEO knows that googlebot only executes client javascript in very specific cases and will not get your content properly indexed.

You need a fallback. Why do you think the meteor guys made a big production out of their "SEO" release.
Interesting. It sounds like your issues are IO dominant since you do not mind the JVM startup cost from Hadoop for each query on each node. I'm more often looking at large data that is all memory resident which tends to drive the design this way. In finance queries need to have latencies way below sub-second which Hadoop cannot come close to satisfying. This is comparing batch to real-time analytics.