skysight-inc/HackerNews huggingface dataset:
That calculation is not the same one I'm asking for. It's not watts per hour as you've written -- it's actually watt-hours (watt * hour). The answer is also incorrect -- it's not 0.03 watts -- it's 1730 watts. So my request still stands -- show me a one-liner for my original calculation. It's not as simple as you think. ;)

Ok I did some more experimentation and discovered this:
http://www.google.com/search?hl=en&ei=ePsUSs_lJ6HqtQP7l8...
Fair enough. What you have pointed out is that there are not many micro-actions that can help the poor. But, that doesn't mean there aren't any macro-actions that can.

I am in India. I too can't do anything to help the poor but my government sure as hell can (and the good thing, at least for the moment, is that it is doing so).

(For instance, tax money can be and should be spent on policies, subsidies, etc that make education cheaper for everyone and make usury extremely difficult to practice. These are the real ways in which rich nations can help their poor. Seriously, how much money did you give to AIG and friends and how much money would it take to provide free college education for everyone in the US who could get through the selection process?)
There are a few pain points with postgres that have been holding it back. Lacking Windows support has been mentioned (that's in the past now fortunately). Incredibly cumbersome (you could say broken) unicode support makes postgres difficult to use in not exclusively english speaking environments. And mysql is faster for simple things.

On the other hand postgres is way faster for complex queries and its support for SQL features is second to none.
Unsophisticated database user here.

Not only was I totally clueless that MySQL innards are represented on a one-file-is-one-table basis, because I'm an unsophisticated database user precisely because I don't want to know how my database works on the inside, I'm just sophisticated enough to know that any attempt to exploit the knowledge that the users table corresponds to a single file will result in my dog being assassinated by data corruption SQL ninjas.
sqrt(h^2 + h^2)*2 is the max length if your box is 0 is width. The max possible length decreases with sqrt(w^2 + w^2) as width expands.

Assumed the hallways size is symetrical and your object cannot be tilted to achive a smaller length. For example, an object of little height in a high to ceiling room will be possible to tilt with the same measurements are presented above (pythagoras). But if the box has any substancial height you wont get any help from a tilt. A soffa would tilt, a dish washer does not.
1. .:: Memory at the right time ::.

When MySQL first started to take off (circa 1998) it had a lower memory requirement. So did PHP.

Memory was the most precious resource at that time, and so MySQL, PHP expanded rapidly.

They are both still going strong from that initial popularity spurt.

.

2. .:: Novice coders do not think about DB corruption ::.

:: If you are new to coding, and have not been classically trained in a Computing Degree, it seems that people don't care for transactions or consistency.

MySQL was/is worse than Postgres on both these fronts, but the users do not care. At all. And if they do care, it may be because they heard that it was important, rather than actually feeling ill without transactions.

.

:: I value my users and would never want to inflict data loss on them if I could avoid it. I also know SQL well from my Computer Engineering degree and industry experience with Oracle / PSQL / DB2. So I use Postgres and have since 1996.

Most people using MySQL don't realize they could cause data loss to their customers. Even if they do, they may still use MySQL and work around failures by having adequate backup strategies that cover them even if MySQL failed at a bad point.
Shallow might be better.
Gold nanorods could boost capacity of next-generation disks.
Don't get distracted with the intelligence thing. His point is simply that you can't tell how much of the growth in people's fortunes is due to money rolling uphill, because it's probably not the only factor.
Why is it against the terms of service anyway?
I wasn't saying it was a flop, or that it missed the boat to being successful. What I meant was that I don't think it can be the MOST popular platform in 2 years. I actually hope there is not a common platform in two years, mainly because it helps drive competition between companies/carriers etc.
Not sure why anyone would want to replicate growl.
How is sharding an attempt to evade using advanced features?
Oh, that's nifty. I vaguely remember hearing about that, but I guess I'm so used to having to avoid using shiny new things that when the opportunity actually arises with extension code, it's hard to recall. Thanks for the info.
They have different meanings in Java

a == b // same object
a.equals(b) // same value
http://www.shelter-kit.com/kits.php?kit=lofthouse

A complete house-kit with outer shell, siding, roofing materials, doors, windows and all fasteners. Can be erected by 2 unskilled people in 2 weeks.

Starts at $17,185

I do not work for Shelter-Kit. I would like to build one in Austin, though.
Facebook CEO says IPO a few years out
Really? Uploading this with misleading titles/tags is OK by you?
Ask HN: PDF Signatures
I find myself having to print and sign more and more PDFs these days. Anyone know an app for OS X that will let me put an image of my signature on a PDF and then save it back as pdf?
West New York NJ
Located on the west side of the lower Hudson River, West New York , New Jersey , the city is built in what geologists refer to as the New Jersey Palisades.
Gel Nails | About Us | We Have Everything You Need for Gel Nails
Find everything you need to know about gel nails. We have a huge selection of UV gel nails! We sell all products for artificial nails: UV Lamps, Gel Nails, Nail Art, Tips, Brushes, Drills, and much more. We ship all over the world! Great Prices and Excellent Service.
Ask HN: How do you use A/B testing?
After reading a lot of "Lessons Learned" blog, we're going to add split testing process to our games site to track and improve the registration rate (to start with)...

I'm curious what other startups are already using A/B testing for and where it helps most? (and not)
Inertia plays a part.
Google drops idea to buy newspaper
What do you mean? Growl is not good? Why?
this is very cool, and the beginning of a trend, it seems to me. the whole semantic web depends on structured information, but it's a pain to structure information. it makes a lot of sense that the services to structure plain text will be made available as APIs - eg to extract geo information, date and time information, contact information, etc.
Sharding is purely a method to work around lack of scalability features in the database itself.
I really hope they printed the cover on papyrus or something, or else the paper, exposed to UV rays as necessary to degrade the ink, will fall apart first...
Planning your Construction and Home Remodeling
Construction planning, Home Building and Home Remodeling are the phases, where you need to indulge yourself into, as this helps you in organizing your resources.
In the old days, it had a very good JDBC driver that later MySQL bought.
Quoting from the article, there's a photo here:

http://www.shopliftwindchimes.com/0206archive.html

Scroll down to 20th Feb.

I had thought people were being a bit harsh since asking for evidence is a hacker trait, but now it's clear you didn't bother doing your homework, and deserved to be down-mud.
http://www.shopliftwindchimes.com/0206archive.html scroll to 20 feb - or you could follow the links from the article yourself. I have to say that it doesn't look like a stone slab to me, without an angled photo, but they clearly say it is one.

Even without the message of the medium brilliant people are notorious for getting lost in the details, and forgetting how things look from the outside. It doesn't hurt to be reminded.
I've figured out how they got the figures.

These are the numbers they gave in the article:

Average income for top 10% in 1929: $76,625

Average income for bottom 90% in 1929: $10,847

$76,625 is $10,847 times 7.1.

Average income for top 10% in 1932: $52,026

Average income for bottom 90% in 1932: $6,688

$52,026 is $6,688 times 7.8.

They wrote: "Under President Hoover, income inequality, as measured by the ratio of the average income of the top 10 percent compared to the average income of the bottom 90 percent, rose from 7.1 percent in 1929 to 7.8 percent in 1932."

They meant:
"Under President Hoover, income inequality, as measured by the ratio of the average income of the top 10 percent compared to the average income of the bottom 90 percent, rose from 7.1 in 1929 to 7.8 in 1932."

This confusion of ratios and percentage makes me doubt the competence of the authors.

I suggest you alter your wording to fix the ratio/percentage confusion. You should probably also check any other figures you used from that article.

Also, that article doesn't seem to describe a study. Are you sure your terminology is correct? You might want to call it an article rather than a study. I'm confused about what you meant by "the year the study was conducted". You might be talking about a paper by Saez, Emmanuel and Thomas Piketty, which was referenced by the article?
Surviving the Mountain of Death
Staying in the States' Weirdest State
I know this is barely related, but it reminds me of a quote about the Mac vs. PC argument. Paraphrased: Mac's are only more expensive than PCs if you consider the value of your time to be $0.

Again, really off topic, but I like the quote :)
Tcl is actually the sweet spot in terms of its C API - you can do pretty much anything you can do in the language itself, and more. And it's all very nice code to work with.
Breaking Web Browsers' Trust
Though postgresql is much easier than mysql currently (for windows installations). There's all kinds of "gotchas" on windows if you're installing mysql. For example, the normal mysql 5.1 on windows doesn't have innodb, so if you choose "transactional database" during install, mysql dies in the middle of installation and refuses to start up. By default mysql installs into "Program Files" but since that directory name has a space in it, mysql has issues. Uninstalling it is also a pain, sometimes it doesn't fully remove itself and you have to fire up Regedit to remove the mysql key from the registry.

I experienced all of these while trying to help a friend install mysql on windows. I honestly can't believe we spent 3 hours trying to install it. There's a 100 thread posting in the mysql forums for installation troubles on windows so I'm sure I wasn't the only one. On the mac it was as easy as "port install mysql5" and on my Debian machine it was just "apt-get install mysql-server".

Sadly, postgresql was so easy to install in cygwin, but cygwin doesn't have a mysql server equivalent.
All your movies on a single DVD
Remember, you are working in 3 dimensions. It may be possible to squeeze something a bit wider than the 2D solution would suggest.
IPhone market share doubles to more than 10%
I realize that the mature response would be to shake my finger and say "tsk tsk, bad 4chan", but I actually think that, as a prank, this is pretty funny: unexpected, baffling even, but doesn't really hurt anyone or leave long-lasting consequences.

Yes, long term something like this would make YouTube unusable, and would certainly do significant harm to the company, even if to no one else.

And yes, I'm aware that plenty of people do consider such content potentially harmful, but I'd like to see any studies to this effect. My personal view is that (North American?) society is strangely prudish about porn (which isn't going anywhere - why stick your head in the sand) while being remarkably comfortable with violence. This is why I say that, in my view, this prank doesn't actually hurt anyone.

Anyway, I'm sure this will be controversial, and that there are aspects I'm not thinking of. Overall though - funny prank.
Facebook just switched their photo storage system to rely less on CDNs. This may or may not change their cache revocation policies, but that should be considered in the study. I suppose they should be retested in a few months or a year, just to be sure.
But I was really looking forward to picking up The Daily Google from my doorstep each morning.
free for 
people
 Americans who make less than
I'm fairly certain it extends to international students as well - I had friends at Amherst whose families made less than $3000 annually (that's like 1/4 the poverty line in America), and there's no way they would've been able to afford it if they didn't have some serious scholarship money.
I'm not sure that's descriptive so much as an ideal.

In practice (mentioned this in the blog comments as well) I've found that the C++ world is somewhat divided between what I'll label the Boost and Qt camps.

Boost, as kind of a conceptual child of the STL, has extended more along the axis of exploring what's possible with the language, at times at the cost of pragmatism. The Qt camp, on the other hand, tends to hide most of the heavy use of generic programming in private classes and exposes more simplified APIs, typically with minimal use of templates in public APIs.

I personally, as a former long-time KDE developer, fall firmly in the Qt camp and it shows in the way that I write C++. It's also the style that's been preferred in the two companies where I've been employed as a C++ developer.

Which is modern is mostly a semantic issue. I'd wager that while advanced template programming is more cutting-edge, it's also not in fact the way that very much C++ today is actually written, which is the definition of modern I was working with.
If you want to scale horizontally, how do you do it without sharding ?

There is a limit to vertical scaling and it becomes more and more expensive.
However, they seem to want these things to be moral imperatives, not just preferences.

I think that sentence summarizes well the point you want to make. I'm sure there are people who do have a preference to live this way without any eco-political agendas. I think I might be one of them. The thought of being able to live independently from society (in terms of sustainability and self-sufficiency) is intriguing to me, just because it means that I am relatively protected from external forces which I have little control over.
I'm attending the conference in Oakland where this paper was presented; just wanted to throw a heads up that there's a workshop on Web 2.0 Security and Privacy tomorrow (Thursday). Brendan Eich is the invited speaker. You can walk in and register. http://w2spconf.com/2009/
The STL is optional. Templates are widely used in container formats, but in real world programming, for example when people model shopping carts or so, most of the code out there does not use templates. Let's get real here and look at a code repository like codeproject or codeguru - those sites hold diverse examples of real world code - and template usage is minimal.
I would be tempted to agree, except that I know somewhere there's a ConOps person who has to remove all that porn. And given that ConOps always has more to do than time to do it, this is probably in addition to all the other stuff her regular job requires. Remember that there's a person behind all those abuse complaints - somebody just had a very rough day.

It's like how I always thought it was fine to scrape big companies' websites, until I'm the one that has to carry the pager. It's all fun and games until someone loses a weekend.

(I really shouldn't complain though, considering that I dragged spez into fixing an XSRF vulnerability in Reddit on a Sunday morning by exploiting it in a very public manner. If there's a God in charge of overseeing nefarious hijinks on websites, I think I've got more karmic retribution coming.)
Is that true about the broken Unicode support? I was going to try Postgres asap, but this would be a dealbreaker. I can hardly imagine it to be the case, though?
I’d like to know if the "flag" function works out for this. Since it’s a community, and a big one, there shouldn’t be one who looses a weekend but the community which solves this by itself.

They should (temporarily?) disable the need to register to be able to flag a video.
Reviews on working at Google
Or you can look at it this way - if no one ever uploaded porn to YouTube, that ConOps person wouldn't have a job. :p

OK, OK, that falls just short of saying crime is OK because it keeps cops employed. But realistically, if there's any outrage over this, it won't be because a couple of YouTube employees had a bad day.
I would imagine that there's some sort of manual oversight to flagging things - otherwise, wouldn't 4chan just start an uproar by massive flagging of popular videos?

I could be totally wrong though - I'm not really familiar with YouTube, and it'd be just like Google to automate something like this.
I think it's pretty funny as well, but my 5yo won't be using youtube for a while until I'm sure it's mostly clear!
Grameen Bank.
Email provides such a wonderful interface. I definitely wish that blogs w/ comments, web fora, etc. (not to mention bug trackers), used interfaces like email/nntp, instead of little web boxes. If I could make blog posts by sending an email, and then receive all the comments as emails, to be sorted into a thread by my email cleint, that would be fantastic.
Don't have time to properly look into it, but here is a quick guess: I suppose the best you can do is rotate the box around the corner on one point on the "upper" side of the box (upper in 2d). If you pick one point on the upper side of the box (which will be the turning point), you can calculate the distance of the lower corners of the box to that point. These distances have to be less or equal to the distance of the inner corner of the hallway to the opposing side of the hallway (which incidentally might be the width of the hallway).

This gives you two equations for determining the point on the box to rotate around. If you can solve them, the box will fit through the hallway.

Btw., voted up for reminding me of that classic Douglas Adams story where the hero ends up writing a program to calculate how his sofa could have gotten stuck in the hallway.
Designing For Sign Up
dont make me wait for a confirmation email to use your web app
Fireworks CS4 Tutorial
This Adobe Fireworks CS4 Tutorial will help you familiarize yourself with this image editing software and help you create a layout for a website.
Dreamweaver CS4 Tutorial
In this Dreamweaver CS4 Tutorial you will learn how to create a basic website using Dreamweaver CS4. You will learn how to Define a site, Create a template, Design your template page, Design your css style sheet, Insert Editable Regions , Create the pages of your site using the template, Link all the pages together, Create a form, Check your site in the browser and, Upload your site and make it live
It could be justified: Everything Google does is a search of one thing or another. A newspaper is a search of reality (a big database), by journalists (smart agents), for content that is under-ranked in popularity (breaking stories.)
The worst-named Windows app ever
Ask HN: Mosso or EC2?
I just got burned for the last time by ServerPronto, as they are down AGAIN. So, I'm running to the cloud for help. I already have one or two Mosso servers, and haven't had any issues with them, but I'd like to hear some experiences with EC2, Mosso, or another provider that might help my decision.
AWS Import/Export
Linode's pretty good. I see EC2 as more the sort of place you want to go if you think you'll be adding/removing instances on a fairly regular basis, and have the money to do it. Otherwise, it's going to be more expensive to have one node up all the time than something like Linode would be.
Bypass the internet for large transfers: AWS Import/Export
Insurance Industry Micro Blogging, Twitter for the Insurance Industry
I think something like that could be built upon twollars.
Clang vs. GCC memory use graphs
Also the fact that the smallest note in the UK (£5) is approx 10 times the value of the smallest note in the US ($1) helps enormously.

Seriously, what's the point of a $1 note? To irritate people everywhere trying to feed them into vending machines?
Visual Studio 2010 and .NET Framework 4 Beta 1
Cách nhìn biển số xe
I think you are mistaken about Unicode. It is much more mature on postgres. UTF8 was already offered on Postgres 7.3 while MySQL only managed to get it working in version 4.1.
Surprised that nobody has mentioned replication. MySQL replication is a known quantity. PostgreSQL has it, but they're third party and less proven/battle-hardened.
> I am always astounded by those who don't have very good "people skills."

Perhaps they don't have "the skills" because they don't think they need them. Spending 10 minutes of one's life chit-chatting with a complete stranger feels like a waste of time to me.
Frameworks are just libraries with with complex interfaces. Simple interfaces are better sure - but not always possible.
So basically, the developer gets all of the disadvantages of the Apple app store process, in exchange for being distributed with competing apps?
Obligatory Tanenbaum quote:

"Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."
Something I bet most people never noticed (I never did until it was pointed out to me):

Omega -> O, Mega (large "O")

Omicron -> O, Micron (small "O")
I love this.

I live near the equator so the walls and the flooring would have to do away if this was built from where I am at. It would be to hot to live in if this was built in Philippines -- it would have to be built above ground and made of bamboo.
Thanks for the link. Very interesting. We need more ideas on how to break through this vicious cycle of paying that much for real estate.

Look at the Amish - when an Amish couple marries, or needs an extension on a barn, the whole community gets together and builds a structure within days: http://en.wikipedia.org/wiki/Barn_raising
You don't need to sacrifice single-image to scale horizontally, and you haven't for years. Sharding was invented by IBM in the 80s and all the major vendors had abandoned it by the 90s.
Indeed, so obligatory that I included it in my blog post:

http://aws.typepad.com/aws/2009/05/send-us-that-data.html
AWS Import/Export: Ship Us That Disk
Always liked using this phrase to clarify things....

a framework calls your program whereas your program calls a library
Dupe: http://news.ycombinator.com/item?id=620089
You hit it right on the head.

Getting to know a person isn't a technical skill that you master and practice at will. (Granted, parts of the process, like choosing interesting topics and getting a feel for what the other person wants to talk about is sort of a skill gained by practice).

Really getting to know a person requires you to actually care what the other person thinks. Almost all else will follow.

Someone here mentioned that they dislike smalltalk so much that they forget the other person's name right after the smalltalk ends. That's just one example of many of what happens if you contrive to talk to someone without actually caring about them.
Samsung M8800 Pixon-An Elegant Phone
Samsung M8800 Pixon is the stylish phone also called as a camera with a phone attached with stunning 8 Megapixel Camera feature which is comparable to many high-end digital cameras with Video recording possible at different resolutions including 30FPS VGA and 120FPS QVGA and many more features.So enjoy the best deal of Samsung M8800 Pixel
at unlockcell.com.
What Is The Relation Between Organic Products And Trying To Conceive
In the present millennium, we have seen many changes taking place in life due to the rapid development of science and technology. Today, people are suffering from the basic problem of stress and tension due to their hectic lifestyle and changed food habits that is leading to many health problems.
Dean Kamen "Luke arm": a step up for upper amputees
Dean Kamen's company has developed a prototype prosthetic arm which is a significant improvement on existing prosthetics.