skysight-inc/HackerNews huggingface dataset:
Errors are bad. Errors don't respect encapsulation. No amount of design work will anticipate a SomebodyPouredACokeOnARouterInDetroit exception. If a system is composable, there's alway the chance that some subsystem is going to throw an error that wasn't anticipated.

Things like Either[A,B] make me cringe because they're just like what we used to do back in the 1980's in C. You know, it used to be that you wanted to write

int doAandB(x,y) {
return A(x)+B(y);
}

but then you had to deal with error values, and it turns out that A and B never returned a negative integer so you'd write

int doAandB(x,y) {
int a,b;
a=A(x);
if (a==-1)
return -1;

b=B(x);
if (b==-1)
return -1;

return a+b;

}

3 lines of code balloons to 9 lines of code. Read carefully: adding error handling has tripled the size of this code sample!

That's what exceptions win for you... Effectively you get the extra 6 lines of code written for you. You might argue that the default behavior of exceptions might not be exactly what you want, but it's much better than the first example I wrote... Aborting is a better default behavior than barreling past an error.

Now, Either[A,B] is better than returning an in-band signal like -1, but still requires you to write the bulky error handling code.

A real advantage of having something like Either[A,B] is when you're using asynchronous communications. Just the other day, I was dealing with something that used Scala actors and it turned out that sometimes the "business end" of the actor would fail with an Exception. If you catch the Exception in the actor and send it in a message to the next actor, it lets the next actor see the Exception and decide what it wants to do about the failure.

As for variance of Exceptions, that's a pipe dream. Imagine a system that has a subsystem that looks something up in a 'database'. That 'database' could be an in-RAM lookup table (never throws exceptions), it could be an on-disk lookup table (can throw IOException), it could be a web service (can throw networking-related exceptions), or it could be using something like JDBC (which could throw it's own exceptions).

If you constrain the kind of exceptions that can be thrown by the subsystem, you either destroy the composability of the system or you 'dump-down' the error information that's available to the executive level of the software.

Now, if you REALLY want to move forward but not back with composability of error handling, what's needed is some mechanism that the executive level gets 'hints' that would help it deal with the error. That is, lets it answer questions like:

(i) if I try this again immediately, is it likely that this will succeed?
(ii) if I try this again in five minutes, is it likely that this will succeed?
(iii) was this error caused by specific bad data I sent, or is this subsystem in a completely failed state... etc.
>Nuclear is the safest form ..

http://en.wikipedia.org/wiki/Nuclear_power_accidents_by_coun...

"The nuclear industry says that new technology and oversight have made nuclear plants much safer, but 57 accidents have occurred since the Chernobyl disaster in 1986. Two thirds of these mishaps occurred in the US. The French Atomic Energy Agency (CEA) has concluded that technical innovation cannot eliminate the risk of human errors in nuclear plant operation. An interdisciplinary team from MIT have estimated that given the expected growth of nuclear power from 2005 – 2055, at least four serious nuclear power accidents would be expected in that period"

http://www.spp.nus.edu.sg/docs/policy-briefs/201101_RSU_Poli...
The noises coming out of Intel about ARM recently are quite ambiguous. I'd be really surprised if they weren't seriously considering using their ARM license though. There is a massive amount at stake for Intel here.
"Why are you so concerned about the quality of your business cards?" <-- I'm definitely a details person. If you are going to put X > 100 hours into making a site look perfect or making a system behave exactly how you want it to behave, then spending half to make a high quality business card hopefully isn't obsessing.

I guess I'm partially motivated by the van halen m&m's effect: http://en.wikipedia.org/wiki/Van_Halen#Contract_riders
(tl;dr: they asked for a bowl of m&m's with all of the brown ones removed. The band wanted to be sure that the entire contract was read and followed, due to safety concerns, and this is a simple litmus test. Removing all the brown m&m's is a detail-oriented time consuming task)

In my context, in regulated industries, attention to detail is critical. Now, the business cards in and of themselves aren't important, but a higher quality business card at least conveys the sense that attention was paid to every detail :)
Here's a patch that lets you compile with opencv2: https://gist.github.com/999061.

edit:
I'm still getting a Make error for cvSumPixels (unless I comment that check out);

sampleManager.cpp:(.text+0x1a06): undefined reference to `cvSumPixels'
Arbaaz Khan denies his marriage is in trouble with Malaika Arora Khan
Nothing odd about it, it's the good old math at work.

Is (3 / 0) == (4 / 0)?

Is even (3 / 0) == (3 / 0)?

EDIT:

also, see [1] on what becomes when dividing both sides of equation by zero and assuming equality still holds. Essentially, both sides become NaNs and everything is possible -- up to and including 1 == 2. Now that'd would be odd, should it happen in your program.

[1] http://en.wikipedia.org/wiki/Invalid_proof#All_numbers_equal...
They say Color's recent valuation is $41M, confusing valuation and money raised. Usually, when you raise $41M, your valuation is higher :-)
Works great now, thanks. :-)
Sonakshi loses Rs 25 lakh diamond solitaire on sets
First dip into lean
This doesn't answer his question, but anyway: it depends on how you account for things. When you take into account the production cost and materials needed for PV, electricity from them is not a sustainable energy source in any non-marketing meaning of the word.
10 Great Productivity iPad Apps for Web Designers
Defining your product:  Where do you draw the line?
I think he's mistaken is saying that it'll only come from PV; it's for all forms of 'sustainable' energy (I myself wouldn't count PV under that, but the popular opinion does so I'm including it here).

So it's including geothermal, air heat pumps, zero energy use for residential heating (high insulation and heat recuperation in ventilation systems), etc.
Microsoft platform lobbies against European Parliament resolution
India is developing since you can exploit Indians via caste system.
http://www.rediff.com/news/2007/may/03touch.htm

China is developing since you can exploit Chinese by abusing human rights.
http://www.rediff.com/business/slide-show/slide-show-1-tech-...

Americans are suffering since US regime is letting Chindia exploit their people via outsourcing.
If you can swap parts, you may be able to "build" a new laptop by replacing ram, HD, and cpu. SSDs do wonders (assuming your mobo supports it)
Well, Benjamin Pierce has a 600 page book: http://www.amazon.com/dp/0262162091/

Followed by a 600 page book: http://www.amazon.com/dp/0262162288/
Cool, I'm currently using vim and the fugitive plugin offers a similar functionality: http://sontek.net/turning-vim-into-a-modern-python-ide#integ...
The pad is basically a screen magnifier. That's valuable, but I'd probably leave it at home most of the time.
I wish I had read your comment before reading the article.
aka the Socratic Method. It's one of my favorite teaching methods, but damn hard to use in practice.
I don't think there is a physical law that says you can not store energy.
As for variance of Exceptions, that's a pipe dream. Imagine a system that has a subsystem that looks something up in a 'database'. ... or it could be using something like JDBC (which could throw it's own exceptions).

Some languages try to address this by wrapping exceptions. For example, exception chaining in Python:

http://www.python.org/dev/peps/pep-0344/

The code that uses the subsystem will then be able to catch a meaningful exception (such as CannotCreateDatabaseTable), while for diagnostic purposes it is possible to check out or log the inner exception (such as NetworkTimeout). It's a compromise between "dumbing down" the exception (higher-level information is added, even) and making it impossible to anticipate the possible errors.
"Blue army" is just a generic term used for "the other side" in military exercises, as opposed to "red army" for "our side". E.g. see this story from 2006 about blue versus red drills: http://www.china.org.cn/english/China/181264.htm

More informative articles in Chinese:

http://news.xinhuanet.com/mil/2011-05/26/c_121459780.htm

http://news.sohu.com/20110529/n308821878.shtml

The group referred to in the article as the "blue army" is according to these other articles a "network blue army", it's not entirely clear that this is anything more than a training program. There is not much evidence beyond the circumstantial that this will "confirm suspicions that cyber attacks on their systems do indeed originate from China" as the article says.
ISu Lab1 : Building Virtualization Infrastructure
Who in Germany has those plans!? No one. Norway proposed them to Germany, to the Netherlands and Great Britain. None of these HVDC are currently even close to be projected.

Of course, they'd be glad if Germans elect a Government that will force it's citizens to buy the luxury of clean norwegian energy.
1) no one builds any more apps around it (unlikely, already decent sized developer community)

2) governments make it illegal due to tax evasion (so long as the CIA has use for bitcoin it won't be made illegal)

3) multiple blockchains make it confusing and dilute values (so long as the central site promotes 1 blockchain, the largest exchanges, as do the bulk of developers, it shouldn't be an issue)

4) application too large and slow. The client requires a few hundred MBs to maintain the blockchain. It also requires internet access. If either of these are compromised, the app doesn't work (as it's intended.)

5) VCs and angels boycott bitcoin startups, or funding of bitcoin startups is made illegal

--
add:

the biggests risks are from corporate level attacks from the likes of Visa, Paypal, Banks etc, in the way the record companies have attacked various p2p networks over the years. Unlikely. More likely they open up bitcoin divisions.

To its credit, bitcoin is a darling of the mainstream press, and I'd say there are some big investors backing bitcoin for the long haul. Both strong points.

Bitcoin won't go down, something better may come along, but that's some years or many months away. Maybe some corporate or government sanctioned cryptocurrency could steal its thunder. Unlikely.

Overall I'm very bullish on bitcoin.
It's an interesting concept, since it also has advantages.

The pad is only a dock, so it doesn't offer
any functionality by itself

Which means the acquisition cost should be lower than buying both an iPhone and an iPad. And these recent phones have enough processing power for most people's needs, but not enough battery or sufficient display size and the pad takes care of that.

About wireless, everytime I actually need a phone or a tablet (as when I'm on the move) I don't have wireless. When sitting on my bed or other such activities, the tablet is only more convenient, but I can very well use my laptop (and I do, depending on my mood).

The only thing that worries me about this product is build quality and the user experience coming from an interface that should scale from small to big.
> Considering that, I wonder what would be Microsoft's strategy to prevent this "software bonanza" from benefiting the Mono crowd.

If I were Microsoft, I'd consider this a good thing. this just means more software that's capable of running on windows, which leads to more windows license sales.
I can see a long term goal: The smartphone as central authentication key which enables access to applications and data on host tablets, computers, terminals, which will extend funcionality (input devices, display size, physical media...) and improve networking capabilities.

This is not it. It's a stupid display, with difficult physical access to the docked device, no real benefits except a minor increase in screen size with the drawback of an additional device and decreased mobility.
They're complementary. I read the book and watched the movie, and I certainly wouldn't recommend the lectures as a replacement for the book, but they do support each other. Also, the Abelson and Sussman lectures are simply charming.
Eyes on the Big Boys now PBS News Site Hacked
Background Check
Thanks To The Internet, It's Easier Than Ever To Do Background Checks On People—Whether For Personal Or Business Reasons. Background Checks Can Help You Make Decisions About Going Into Business With Someone, Checking A Nanny's Background, Or Help You Find An Old High School Friend. Welcome To Public-Background-Check.com. This Site Is Your Free Information Resource That Will Answer All Of Your Questions About Background Checks.
Goldberg, lightweight CI server hits 1.0
He was saying the law firm was willing to defer up to $20K in fees until he raised a round.

That might include drafting/reviewing things like articles of incorporation, corporate bylaws, vesting agreements, NDAs, IP assignment, contractor and employee paperwork, etc. It's depressingly easy to run up $20K in legal fees at $500/hr.
come on, another german trait is that everyone believes that everyone is to be fooled easily. People are not that stupid. Most just do not care.
Googles Docs Found Hosting Phishing Sites & Other Questionable Forms
"My Job As A Pre-Lunch Startup CEO Was To Buy Sandwiches"

FTFY
A scoreboard is also available at http://scrool.se/icpc/wf2011/
Thanks for the demo and source. I am trying out Backbone and GAE too. What I wonder about and asked on StackOverflow but didn't get a clear answer is how to join together Backbone on the client side and ProtoRPC on the server side. Do you have any ideas? Thanks.
I understand what you mean but I think it's still possible (ex. Apple). When I want to do a quick evaluation of a website I usually ask a random person to load the website and tell me the first 3 things they see and to rank them in their perceived order of priority.

When I do the test myself on your website :

1) REX RAY DODOCASE
2) DODO Case - Protects From Extinction
3) Couldn't tell in less then 5-10 seconds

Is that really what you want me to remember ? Also, my comment apply to "Acquisition", repeat customers is another matter.

PS : Sorry for my poor grammar/syntax, english isn't my first language.
DemoCampHamilton2:Another Success, eh
Sometimes, "Stuff" Happens
There are citing a study by the bank "Landesbank BW".
You can find the same study in other media mentioned.

A bank is usually very reputable in calculating economics.
That's cool. Maybe a key idea here is not the different cards but the ability to track certain expenses by delegating categories to certain people. What would happen if any credit/debit card generated a text message when declined?
> No breakage

I wonder how much userspace stuff will break because it does a version check for 2.6.
Contoh Proposal
Pada posting kali ini Contoh proposal usaha saya up load dan dapat do download dalam format pdf. Pada banyak kasus contoh proposal usaha seperti ini akan sangat membantu untuk memberikan keputusan dalam membuat usaha baru membuat proposal usaha adalah sebagai berikut.
You're just finishing one (useful) degree and you're considering doing a second (useless) one? This sounds to me like typical end-of-university doldrums with a bit of quarter-life-crisis thrown in.

My advice would be to give the whole full time work thing a try for a couple of years. It may be that your desire to go back to university will abate. Then again, maybe it won't, and at least you'll have some more money saved up.

Four years is a lot of your life to invest in learning to paint, so I advise being really sure about it before you do it. And if you were really sure you wouldn't even be asking.
With that reasoning, doctors only have themselves to blame for all the people who refuses vaccines because "it gives autism" ...
The trouble is that the eee is too small for any real work. I want a full size laptop (at least 13"). I'm just amazed at the contrast between building a laptop and a desktop. People have been building desktops for years, but there just isn't a culture of building laptops from scratch!
Give Twitter credit for trying to stand up to the courts – unlike others
Would one of a body of trivia be a "trivium?"
"everyone chooses to live a more basic quieter life against our natural instincts."

Serious? That's a huge claim. yet, so many people do live this "quieter" life. I am striving to live that life. There is quite a growing community (at least in British Columbia) of people concerned with things like food security and climate change.

Ever since I was young, I was disgusted by the City. Yes, this is not a popular view, but I am in no way choosing to live "a more basic quieter life against our natural instincts." The city was never meant for me.

Though, I'm not really sure what movements you are referring to? Do they include those that suggest consuming less? Or are there some movements somewhere suggesting you start living by candle light?

Sorry, if this comment is off-topic from the article, but it seems wildly bold for you to claim that a way of life is against natural instincts. I strive to live a life combining the joy, satisfaction and security of producing my own food, and living with the land as well as benefiting and perhaps contributing to advancements (particularly with water and power management).
First, the Fukushima case is not yet closed. Tepco told us today (faz.net), that the three damaged reactors are stiil out of control, at least until end of this year. We will see, what will happen.

Second: don't you ignore the risk of how many people _could_ die, in the case of a big disaster? That would have global conequences for quite some days (ironic).

Even if nobody would die under normal conditions (nuclear and coal), the consequenences of a (more or less probable) big catastrophe (height of fall) are the main counter argument against nuclear power.
I would have thought that the job for a pre-launch startup CEO was to find customers.
My concern with this is heat. If you have 75% utilization in a mobile device, most turn into briquettes. They're impossible to hold. I wonder how NVIDIA plans to address that.
That is pretty awesome. Nice work. It also keeps the gears turning in your head to constantly re-invest and re-invent
This is the kind of thing I like to see on HN.
What's the problem with returning null from the Integer parse method, provided that you document when this method will return null? The author dismisses this option without much of an explanation.

The aversion to using null for a return type here seems to be a symptom of the same problem as throwing an unchecked exception - when the behavior isn't probably documented, the developer isn't given a chance to know that the return from the method needs to be handled.

But, if you can't trust developers to write or read documentation, then is it really worth it to go out of you way to invent new ways of returning a non-success response from this method? The underlying problem still exists - lack of communication.
I can do this. Are you ok with signing up for a blogging service that allows privacy control per post? Or, are you looking to use this on your own Wordpress like blog?
I've found that many iOS applications implement their own syncing that works quite well (and the OS-level syncing of contacts, calendars, and mail works well). The mere presence of an iPad means I'm more likely to use that than my iPhone, saving the battery for calls. And finally, I'm not sure a tablet with a big phone-sized wart on the back is a net space savings, considering you're usually going to want your phone closer at hand (pocket) than your tablet (bag) anyways.
Online Computer Science BS Degree?
Does anyone know of a good online undergraduate Computer Science program? My girlfriend is almost done her Masters of Science in Nursing online at Vanderbilt. All her courses are online, she does clinicals at local hospitals and private practices, and flies to Nashville for a long weekend every couple of months. I've been looking for something similar for Computer Science, but can only seem to find programs at scam schools. If it's possible to get the credentials which will give you the ability to suture and prescribe narcotics online, shouldn't computer science be handled similarly?

Yes, I am aware of the social implications (e.g. college is a great place to meet people, develop as a person, etc...). I did attend a traditional college, and have about 85 credits. The difficulty is, my business started making money, so I'm too busy to attend scheduled courses. The university wouldn't work with me, at all, so I stopped going. I see value in having a degree, and would like to finish, but it has to be on my time.
Great! Keep us updated on how it goes
It's not that we don't consider ourselves superior to others, it's that we don't speak publicly about having social inferiors, because that is the mark of an inferior person. I have heard trailer-dwellers speaking loudly about "low-class people" (relative to themselves, in their opinion, heh), and how they are better than group x or y, but rarely in the company of higher-caliber people do I ever hear such talk. This is because superior people simply have bigger, better, and more important things to discuss. It's also a matter of class. It's very low-brow to speak of others as being beneath you.

Generally, when I hear people speak of others as beneath them, I pity them for their lack of higher thoughts. I imagine a Klan member on television, talking about how others are beneath him, because his worth is not generated through action or societal contribution, his supposed worth is innate, he is better than group N because he was not born a member of group N; he will never contribute anything to society that improves the social rank he imagines himself to have been born with.

tl;dr: Everyone thinks unbecoming thoughts; only the low-class voice them.
> Off these 17 German reactors currently 13 are off the grid.

A significant number were pulled off the grid in the wake of Fukushima. So while it's true they had an overcapacity, it's not the case anymore. [1] How quickly can renewables close that gap? And does renewables provide for cheap electricity? If you're importing based on price, it's not coming from wind or solar. So where exactly is the environmental benefit, other than to make it someone else's problem (i.e. getting France to hide away more spent fuel rods)?

Being an exporter with renewables is definitely a matter of 'when'. It's foolish to pretend the years between now and then don't exist, they have consequences too.

[1] http://finance.yahoo.com/news/Germany-net-energy-importer-ap...
I would like to hear what you think about this?
Play snake game right inside Gmail.
Co-founder (technical) of a 3 person pre-launch startup here.

Before I didn't believe in non-technical co-founders, but they're really useful. They're not just "idea guys" they're non-technical co-founders, and I like to call them hustlers, a person who does everything they can to make it happen.

I like them (my two co-founders) to do most of the market research, legal stuff, blog, buzz, and do some usability testing. One of my co-founders' dad owns an office, so it's better to work from there, the other one knows some design so he's hugely helpful in the technical side too. I sometimes even code with them and they give me ideas, since I like to teach they're learning some programming too!

Someday they're going to learn programming so I can avoid the shit I get all day at day job: "Hey, so it's just migrating the file - he means database with data from an external API - right? It's only a 2 minute job..." (a guy who has never coded professionally in his entire life).
Lean Designs Now Supports Hybrid Width Website Layouts