skysight-inc/HackerNews huggingface dataset:
Thank you for your explanation. I've tried it.

I'm a system programmer, not a web developer, and it shows ;-)
In reality yes, it works, I've done it. We took a horrible, accreted web application, and rewrote it in stages over a period of about 12 months. At the same time we were making regular releases, and needless to say the site stayed up the whole time.

You just have to plan things carefully, work hard, and keep your head screwed on. (Just like with many things in life ...)
Report Gauges Emotional Impact of Cybercrime
The authentication / authorization was merely an example, and I agree that most of these solutions are done before rendering occurs.

However, my point is that in order to take advantage of flushing, you want to start sending the HTML as soon as possible and this forces you to decide the status and the headers. If there's something in your stack which requires different status/header, you either need to evaluate it earlier in the request or hack around it by appending different HTML.

The more you decide to evaluate earlier, the less efficient becomes the flushing. So for every piece in the stack you have to make a choice: What is the chance that this requires different status/headers/content? How much do we gain by deferring? How can we hack around it if we've already started sending a response?

This is something you can't do automatically, and as far as I can see, this isn't mentioned in Yehuda's post at all.
If You Want to Be Original, Start from a Different Box
I used to commute by bicycle about 20 miles a day (total) from the East side of Edinburgh, through the middle of town and out to the West (to the Riccarton Campus) - I worked late a lot so I was often returning in the dark.

Best thing I ever did was get an extremely powerful set of lights (Vistalite I think) - they were very expensive but I'm sure they saved my life on multiple occasions. I used to have one light angled so that it illuminated the road with the other pretty much shining into the faces of car drivers - probably not legal but at least I knew I could wiggle the handlebars to shine a light into a drivers face if they were about to do something that would cause a problem.

Unfortunately, bright lights can't protect you from other road hazzards - kids throwing a brick at me being an example of what cyclists have to put up with.
And they're renamed with obscure filenames, and you can't do this with iPods touch or iPhones.
Even better, a link to a single page version without the adds, scripts and popups:

http://www.boston.com/bostonglobe/ideas/articles/2010/09/05/...
Do you also not change the oil of your car, since that's just temporary?
True, what they have is pretty darn close. As long as it offered me TV and Movie level content and gave me a custom-tailored feed based on what I like.
Showers at work are helpful. In the morning i just wake up, throw on my bike clothes and go, and finish my morning routine once at work.
Lol. Service Unavailable...Knuth really was wrong. This server should be premature optimized for hacker news :D .
Also, the android Market is available in far fewer countries, and sometimes apps don't show up in different regions even when they have a Market there.

This is not considering the potential difference in disposable income between purchasers of £45/month iphones and £15-20/month androids
Cardpool (W10) Introduces Instant Redemption
Droidcon London - barcamp and conference about Android development
I work in downtown Denver and live nearby. Denver is a pretty bike friendly city.
So are you saying that if a customer expects a desired result to a scenario and when they test the scenario (manual testing) and the desired result isn't there then a cucumber test should not be written?
Quantum Chess adds Uncertainty
The best are the retorts to comment 25 (https://bugzilla.mozilla.org/show_bug.cgi?id=579522#c25)
So link to one of the many android market web frontends out there, like androlib.com or my personal favorite, appbrain.com, which even has an app to allow users to install your app "from the web".
Women, Entrepreneurs and Tech
I like the workflow Jeff describes in his article. They keep writing user stories with their clients. I imagine that those stories are written in plain english but in a brief, informal, easy-to-understand style. Much more useful than Cucumber features as communication token, I think.

In my experience, Cucumber features are less useful as user stories than regular user stories and harder to maintain as acceptance tests than regular acceptance tests. Some people may see value in turning user stories into acceptance tests and keep them in sync during all the lifetime of a project. But 80% of value is just in turning every user story into an acceptance test. Jeff's workflow does exactly that, but without the additional effort that maintaining Cucumber features involves.
ZumoCast (YC S07) launched in AppStore
Add to that Jamie Oliver's TED Award acceptance talk
http://www.youtube.com/watch?v=jIwrV5e6fMY
If you contact Red Hat support you'll get immediate help. If you have a support contract you shouldn't be filing bugs in Bugzilla, since the support team will do that for you, and chase the developers to get things fixed. Your support contract will make all this clear.
But what limit is a good limit?
I might not be inclined to the same number philosophy that github forces on me.

Or is Github the Steve-Jobs of revision control ? "You dont need that"
If I've said it once, I've said it 1000 times: Google does everything 75%. They break into a market just to be in it and then they set it aside and move on. Nothing is ever finished and polished with Google aside from search, the one thing they really nail. If Google treated each of its products--or even each of its core products--the same way that Apple treats its few products, Google would run the world.
the command you are looking for is git diff. git status will show you which files changed, git diff will show you where the conflicts are in the files during the merge.
AWS Management Console Support for the Amazon Virtual Private Cloud
++ (but I also liked the article)
The equations describing a field theory contain terms which are the product the field, the thing it couples to (could be another field) and the strength of the interaction. When a field couples to itself, there are terms non-linear in the field. So the non-linearity of GR indicates that the gravitational field couples to itself, i.e. that gravity gravitates.
7 Fundamental Keys to Blogging Success
It's like reading a horoscope in the first person plural - i.e. flattering generalities that make the target feel good/virtuous/whatever.
Hair Loss: How Does It Affect Our Self-Esteem?
You managed to avoid arguing with someone online by composing a lengthy blog post in response to their comment?
Infinite Adaptive Mario
I'm not sure that I understand why this lawsuit is vindictive. HP fires its CEO and a week later the guy is working for their direct competitor? Yeah; that's going to result in a lawsuit one-hundred percent of the time.

You think Hurd might know a few HP secrets? But I bet Oracle just wants him because he's such a darned hard worker.
So go get a 3rd party gps app if you don't like it; You're not forced to download the voice app. I've been using the Navigation app on my Nexus One for a year now without downloading it. It just beeps instead of talking, and I actually like it better that way, compared to my wife's phone where she did download the voices, and it's just some crappy synthesized lady who's hard to understand and talks waaayyy too much.
I'd say more that programming is dull work. You only get excited about it if you're a geek.

To most sane normal people, it's factory work. Mindless monkeys churning out code, working on their own hunched over a computer until 3am.

Women are social. That's the main reason IMHO that programming doesn't appeal to them.
It's not so easy to change culture, though. Also I think at least some parts of culture have evolved because of biological differences between the genders. I don't think women will ever be exactly the same as men - unless we all converge on some new androgynous type.
If this generation doesn't value or have any faith in the traditional employee/employer relationship, then are new YC companies (founded by people this age) finding ways to create a new employee relationship structure which represents this feeling?
>"slip that past the record labels"

What does this feature has to do with that?

/curious
A VC: Waiting For Superman
In fact, "separation of concerns" is one of the major sources of the "bloat" people complain about when they examine modern OSes.

Um, what is your source for that assertion? From where I'm standing, separation of concerns is a technique which favorises the re-use of code, and hence the reduction of bloat.
How 'Waiting for “Superman”' Will Further Fuel the Education Debate
Here's a free e-book, called "Don't Just Roll The Dice", which covers a lot of the basic issues:

http://www.neildavidson.com/dontjustrollthedice.html
First, numerous studies have shown that combining aerobic and anaerobic exercise is less efficient than just doing anaerobic excercise. Combining the two makes the exercise worse, not better.

Second, assuming you can do at least 20-30 crunches in one set, (normal) crunches are basically a waste of time as the resistance is too small.

Third, that you feel you've had a good workout at the time you're doing it doesn't mean it is. For instance, sweat, tiredness, or an elevated heart rate isn't even an indication that you've actually had a good workout.

Just lift heavy weights. That's the most efficient use of your time and effort. Everything else you do in a gym can be good for the purpose of keeping you motivated, or whatever, but it's all quite a bit less efficient than just lifting weights. Keep it under 60 minutes, followed by intake of protein and carbs. The science behind this is well established.
I knew it was a source of its own much smaller gravity, I guess I was wrong about how strongly coupled that is with the original field.

Still, that's not itself being 'normally' affected by gravity, and I've never seen anything discuss it.
The actual line from Knuth's article "Structured Programming with go to Statements" is:

(...) "premature emphasis on efficiency is a big
mistake which may well be the source of
most programming complexity and grief."

Note: not "optimization" but "premature emphasis on efficiency" and "may be the source of complexity and grief" not "root of all evil."

Who invented "root of all evil" then?

Edit: here it is, also Knuth:

" There is no doubt that the grail of efficiency leads to abuse. Programmers waste
enormous amounts of time thinking about
or worrying about, the speed of noncritical
parts of their programs, and these attempts
at efficiency actually have a strong negative
impact when debugging and maintenance a
considered. We should forget about small
efficiencies, say about 97% of the time: premature optimization is the root of all evil.
Yet we should not pass up our opportunities in that critical 3 %. A good programmer
will not be lulled into complacency by such
reasoning, he will be wise to look carefully
at the critical code; but only after that code
has been identified."

OK, there it is, but nicely guarded in a long sentence and not made to be used as some mantra!

Additionally, I agree with Joe Duffy:

"It's an all-too-common occurrence. I'll give code review feedback, asking "Why didn't you take approach B? It seems to be just as clear, and yet obviously has superior performance." Again, this is in a circumstance where I believe the difference matters, given the order of magnitude that matters for the code in question. And I'll get a response, "Premature optimization is the root of all evil." At which point I want to smack this certain someone upside the head (...)"
Ask HN: I made a ruby library to access HN...suggestions/impressions?
You can find the library in question here -> http://github.com/bolthar/ruby-hackernews .I'd love to hear from you about anything - bugs, feature requests, etc.

Thanks in advance for your time!
I'm surprised that people who wanted this feature haven't already enabled manual-sync. Is there really some benefit in having it automatically sync your device to be worth the pain of not being able to plug it in somewhere else?

I went a step further and edited the iTunes DB file's device ids so that they are the same across all 3 of my systems. So my iPhone now recognizes each as the same system allowing me to sync my music with one of my laptops and my videos with my desktop.
Really? The feature's been in iTunes 9, and well, I'm a mac guy but #1 on HN?
Would be worth updating the topic to be prefixed with "Ask HN: " so people know it's a discussion.

As to your question, I'm facing the same problem. I've got a couple of hundred free users who signed up to help beta testing, I think I'll allow them to keep their free accounts as a thank you. Beyond that, I'm going start high and see how it goes. The system is designed to allow certain features to be enabled/disabled easily so I'll offer 3 different price options.

I think it is about finding that sweet spot on perceived value. I'd prefer to have the product priced slightly on the higher side with fewer customers (but roughly the same net revenue), that way I'm just as well off but with a lower support requirement. Plus it gives me room to price-cut in the future.

And then there is always to option to try and split test pricing to see how sensitive your prospective customers are to price adjustments.

Above all, I'd look at other successful companies like Apple and see how they try and structure their products and prices in such a way to convince you that you're actually getting a good deal.

Oh and of course, try and calculate what it costs you to provide the product and support per signed up customer... and don't charge less than that ;)
As the author says this is pretty common in machine learning circles. I used the same trick in POPFile for text classification because you end up dealing with tiny probabilities, but manageable negative log probabilities. And clearly division is just subtraction, just as multiplication becomes addition.

What amused me at the time was that this is how people used to do multiplication with a slide rule or log table. Funny how old ideas come back.
Is it just me, or did this used to work before? I thought you could always play the music off someone else's iPod without being able to copy it.
ZumoCast (YC S07) Debuts Cross-Platform Streaming iPhone And iPad App
thank you, will take a look
YouTube is starting to offer movies and probably TV shows to follow. The stream is personalized based on your activity and the activity of your friends.
Ask HN: The way you think, can it damage your brain?
By "damage" I mean physically.
This leads to another topic: Feelings. Everything happens in our brains and more precisely feelings. Do you think feelings are the result of a certain way of thinking? or is it the opposite, your way of thinking is affected by your feelings? I see a loop here. What comes first?
Clickable url : http://github.com/bolthar/ruby-hackernews
Digg Downtime Debacle Debated
> Couldn't resist.

Try.

Yoda:
> Do, or do not.
> There is no try.
If you're having a problem with the performance then by definition fixing it isn't premature.
FUD... You can.

You don't have to use iTunes, or even an Apple app, to get things on and off an iDevice. For example: http://ecamm.com/mac/phoneview/

Blurb:

Multimedia Is No Longer Trapped on your iPhone, iPad or iPod Touch

Free your Photos and Movies -- Download camera photos and movies in just a few clicks. You can even use PhoneView to export the iPhone's synced Photo Library if you've lost the originals.

Music Made Easy -- Play any iPhone, iPad or iPod Touch music library through your Mac's speakers. Grab music, videos and podcasts from your device with one click.
Most people have though about doing something like this, or done it, but most of us do have choices about where we work, and if you want the word 'honorable' to ever be used to describe you, then you will avoid this type of activity.
Why is emailing an exception bad (Slide 48)? Can a small site get away with it ?
hey, but we have refrigeration and television (50s)
...
hey, but we have VCRs and Walkmans (80s)
...
hey, what was your point again?
I guess I missed the uglyness, but otherwise its a good looking website.
I think that is already happening to a large extent. More and more people are founding their own little companies to fund side-projects and do consulting work. The workplace of the future may simply be a collection of loosely coupled people writing each other invoices.
HP sues scandal-plagued former CEO Mark Hurd over Oracle job
Tell HN: 9 weeks to go and the event I'm running now has 20 paid up attendees
I've mentioned it a few times here, and a few people have been kind enough to email and take an interest, so I thought I'd let you know.

Currently 140 people on the mailing list, with 20 people having paid real money into my account. Running ahead of break-even, and on target to fill to capacity.

Exciting ride.
I could never get it to work with my iPhone, even with "manual sync". There is the possibility I was doing something wrong, but with iTunes 10 it doesn't matter at this point.

http://superuser.com/questions/9794/play-music-on-iphone-thr...
Even if it is him, I don't think DHH would create a Rails based blog just for the purpose of posting pics of his pet project. DHH is a pragmatic guy, and Tumblr is an excellent tool.
Wow, some twenty something's have no idea what life was like in past generations. Or in the present generation overseas.

You unthinkingly jumped through all the meaningless hoops put in front of you and still can't find a job you like? You (and by "you", I mean "someone else the same age as you") joined the military and had a much lower chance of being injured or killed than the person of your parent's generation who was forced to join the military whether they wanted to or not? Your job got outsourced to some other twenty something, who doesn't have to live in poverty anymore?

(I know, a guy named Gupta or Tolentino doesn't deserve a job as much as a precious flower like yourself.)

Attention, "Mass Communication" students of my generation: STFU. The only people had it better than you are people who are a few years older/younger than you who got lucky and timed the recession better.
I have updated the title. Rewarding the beta testers seems like a fair thing to do. The banding we are thinking about is between $4 and $8 per month and we would probably like to start at the $6 per month mark, or $5.95. We are not particularly interested in out-pricing our competitor; we would like a steady increase in market share. Thanks for the comments.
Another issue is whether you are just rewriting the code, or fundamentally changing your data store (as Digg have done).

Rewriting the code is fine - if it goes wrong, just back up to the old code, users won't notice the difference. You can do it on a page-by-page basis, just route URLs selectively to the new install.

Migrating data is something that should be done under only the most extreme circumstances - and something will inevitably go horribly wrong, so be prepared to rollback.
See - Coase's Theory of the Firm:

http://en.wikipedia.org/wiki/Theory_of_the_firm
Yeah, I had already told Yehuda about the potential concurrency issues for apps switching over to this, as fibers are stacks and stack switching can lead to concurrency issues, especially dropping in a re-ordering of the render chain like this. He said this is another of the reasons it should be optional.

I'm surprised he didn't raise this in the article, but I guess the article was more about how it could work, than how it will in the final build, or how it should in all cases.

I've got to disagree partially, or at least present a different point of view about the 200/500 argument. It could be considered acceptable for the response to be a 200, as the server has not completely errored out, it is only a portion of the response that has errored, and at the application level. It seems that some apps would return a 500 in this case, and then render a page, suggesting that the server and app are broken. This is really something that could very quickly turn into a bikeshed discussion, but you can probably see my point even if you don't agree (I'm not sure I agree in all cases, but it is food for thought).

As you probably well know, I've been doing the async on rails and other frameworks game in ruby for about as long as anyone else that's publicly producing code in this arena (in ruby), and I have to say that this solution that they came up with is actually far better than most of the other hacks. It would be really nice if ruby had performant generators for yielding, but without them, we're left with less options. This fiber approach is getting us pretty close, and I think it's worth exploring, even if it turns out to be a bad idea for most people.

The Rack API won't really ever change significantly for the better in this arena. People don't seem to want to lose the simple #call returning a tuple protocol, and without making that either: a) asynchronous (in as much as not relying on a return value, but a call to a response object), or b) some significant changes to the contract for body, we can not really optimise many ways to provide both simplicity and reasonable levels of granular control of IO. ryah of node.js fame was writing an IO driven server years ago when I was first working on the async rack hack that is in thin, zbatery, rainbows and flow. We had a lot of discussions back then about how best to fit this stuff into the Rack API. We both desired to use something similar to Enumerator#next, but this would never fit much better into the existing setups, and as already noted, is not very performant by default.

As you say, this is not trivial, but I would argue that this means we need to experiment with more approaches, as neither of the currently presented solutions (my async api, and this fiber api) are ideal, nor is buffering large volumes of response data in memory, or taking a bigpipe / highly ajax style approach.
Yea, personally I think it's simply a question of experience. For example lispers prefer the cons+nreverse solution to anything else because it tends to be the fastest way (yes, I've tried to beat it with a "smarter" algo and failed too) while still being clear.

I think the idea of not optimizing for efficiency is a good one, but (like all things) can be taken to extremes. If you consistently choose the slowest way to do something then when you are ready to optimize for performance you'll probably have problems. What do you do if after the bottle necks have been removed, the system is still too slow?
Yep, but that's not what I'm asking. Listen to any Mixergy podcast, and what does every company do? Hire people. I want to know what companies founded by gen-Y folks are doing to acknowledge the new thinking about the employer/employee relationship.
I don't see a single sentence in the article that implies this.
This seems to be a very popular thing at the moment. I know of another developer who is currently running something very similar in private beta.
Cool - what event is it?
a. It wasn't me - I just posted the link to someone else's article.

b. Your point is addressed and discussed in the comments.
Mediaite’s Tommy Christopher Live Tweets Major Heart Attack
Is Algae the DIY Answer to Fuel & Food Crises?
How To Value Your Startup Using Comparables
In response to the obvious question: http://www.mathsjam.com

Thanks davidw for reminding me that I should actually mention it.

ADDED IN EDIT: If anyone wants to offer advice on techniques for converting mailing list people to paying punters I'd be interested. I'm sure the advice would be more generally applicable.
Essential Drupal Modules
Here you can find a collection of 30+ essential Drupal modules every Drupal Developer must know. Check it out to find new ideas and gain inspiration for your next Drupal website. Enjoy.
From farming, to factories, to refactoring code