skysight-inc/HackerNews huggingface dataset:
When prototyping stuff is trivial to have a fail(err) function that panics in case err is not nil.

I sometimes do this, and then remove the fail() function to force myself to properly handle the errors. (Still, often is best to handle the errors as soon as you write the code anyway).

The key is that unlike with exceptions, the fact that you are ignoring the error is explicitly stated in the code, is not something that magically might happen.

And most importantly, errors are part of the documented API, with exceptions it is rarely documented what exceptions a function might throw, much less what exceptions the functions called by that function might throw.

Yes, Go error handling is a bit verbose, but that is a sign of how much better it is than exceptions, without falling into the 'checked exceptions' insanity.
As someone who knows someone else's PIN: if they're too inconvenienced by making the payment themselves and don't realize what security it's meant to offer, they'll be quite content to hand the card and the PIN to someone they trust.
Exactly. I'm a Linux user, I already have a copy of Torchlight (which, incidentally, was a fantastic game and well worth the price on its own). It's sold well over a million copies by now, there is going to be some overlap in that number and Linux users.
Funny that not even Facebook devs bothered to change the colours to use the FB brand blue. Twitter Bootstrap slowly becomes synonym to "basic unstyled webpage".
Paypal suspends domestic transactions in Argentina
What if you're on IRC or Usenet instead?
So it's half the efficiency, speed, and battery life but twice the size and heat. Nice milestone.
You can sue whomever you want. The Samsung and the S3 just happened to be their target.
With the iPad3 launch, existing applications would not use retina graphics even if they included them. They had to be re-linked with the latest SDK.

Apple has a long history of doing `linked-on-or-after` checks for compatibility with various older paradigms or iOS versions. As such, I don't think throwing a screenshot into a directory will make the app actually run at full size. It might mollify iTunes Connect, but mollifying iTunes Connect is just one facet of shipping an app: the runtime is a completely different animal.

This is even a difficult condition to test, as installing an app in the 6.0 simulator without rebuilding it for the 6.0 simulator and thus passing the linked-on-or-after checks (and as such, with Xcode 4.5) is nigh-unto impossible, as the 6.0 simulator does not quite predate Xcode 4.5 as the beta versions could very well fall under the "or after" part of the link condition.
Isn't this the laboratory that is doing weapons research under the guise of helping people?

Or am I confusing propaganda? Their logo creeps me out too.
A Screaming Sheep Parody? Really?
Clean fusion power may only be fifty years away.

(Seriously, it's great that there are fundamental research programs still going on. Even the spin-offs are generally worthwhile by themselves.)
LOL. No shit.

No one actually thinks this. It's called pandering to the base.
> I don't expect a high percentage of people to go for that one.

"People" are irrational. If you offer something "for free" today, with a long, expensive contract, they will be all over it.
Have a look at Mashape [1], there are a few APIs registered there.

[1] http://mashape.com
This is awesome! I'd love to get access. singh.shaloo <at> gmail <dot> com
Looking at your images of code they look blurry on Mac. Just a friendly heads up. :) Besides that, Looks like a great idea. Cheers!
It seems pretty unlikely that the highest bid ad is as good as the #1 organic search result for the same click. As advertisers get more savvy, these ads generally go to landing pages (limited navigation, tight funnel). In the rare case that the #1 ad is better than the #1 organic result, you're right-- it doesn't matter. The other 99% of the time, it does.
I think you should read GP's comment more carefully.
That's a totally legitimate point. I'm just pointing out that the quoted bit would lead the reader to believe that a block is defined as a closure.

The problem is almost everyone I talk to in the startup scene thinks that an anonymous function/block == a closure.
Infinite USB by Gonglue Jiang
Call 'em out and take action. Well done.

Now if Congress can tighten patent regs and eliminate the ability to troll altogether.
The email service is free.
The concept of purchasing a piece of clothing with a brand (Lacoste, Nike, Polo, etc) is not novel. I'd rather sport a Dropbox tee over a Nike one.
Good article on building the node.js stack.
"Then he takes the odd tack of complaining about arcana in the Scala typesystem, and then suggests Haskell as a solution."

What's odd about it? He seems to be straightforwardly claiming that Haskell has a less confusing type system than Scala. I don't know whether that's true or false, but certainly don't see anything odd about it.
So what exactly can we do to make them pay?
No, I used to hold some code in my googlecode repo, but gave up a long time ago. Until I get more proficient with git, I'll probably just post it in my blog (and then the marmalade-repo, just like I did with gnusnotes.el) when it is decent enough for general usage
I really like the new command bar. And my initial thought was how awesome a browser integration would be. So, I just started coding a small Chrome extension and here it is:

https://chrome.google.com/webstore/detail/cagcemjohhdepmbdng...

It's far from complete and only supports a subset of GitHub's command bar and not the same ranking logic. But it already does a decent job for repositories and users. As soon as I have more time I will add more features.

Btw I'm sure it could be done for Firefox and Safari too.
Carolina Panthers vs New York Giants live stream watch here NFL online
Carolina Panthers vs New York Giants live stream watch here NFL online
football Regular season 2012 Week 3 and also enjoy NFL full season
NY Giants at Carolina
Match scheduled: Date: THU, SEP 20 2012 Time: 8:20 PM (ET)
NFL Regular season 2012 Week 3 venu: Bank of America Stadium
Carolina Panthers vs New York Giants live stream watch here NFL
online,Carolina Panthers vs New York Giants live stream watch here NFL
online,Carolina Panthers vs New York Giants live stream watch here NFL
online,Carolina Panthers vs New York Giants live stream watch here NFL
online.
YC Startup: Pays HN Tees for the cost of the T-shirts and for the service of printing and distributing them to their followers/customers. (make no profit off customers wearing shirts)

HN Tees: Provides the service of processing and distribution for the startup.

HN Tee's member: Pays $15 for a monthly HN Tee because its a high quality t-shirt designed by an awesome Startup, they like and wear a lot of T-shirts, and follow and support YC Startups.
Wow. I guess I'll take my lowly UC Berkeley degree and startup VPE experience somewhere else. What a crock of elitist BS.

==

Maybe its time to change that piece of copy to be slightly more inclusive.
Alleged Leaked iPad Mini Pics Show Lightning Port, Odd Hole On The Back
It sounds like some new form of militarised disaster ride from a North Korean theme park.
I was curious where Rackspace stands with their own portfolio, and it seems they have actually avoided patents, which surprised me somewhat for a large, public company:

https://www.google.com/search?tbm=pts&hl=en&q=inassi...

The tone of the article -- specifically focusing on patent trolls being problematic, but less focus on the other systemic problems with the patent system -- made me wonder if they were just going after the cases that annoy them.
Windows Phone 7.8 Beta ROM leaked for HTC HD7
> Did you have a test kit to determine whether your experience was actually with pure MDMA

This is pretty important when talking about recreational use of MDMA. It's often pretty hard to find reasonably pure MDMA in many parts of the US. For more information on what pure MDMA looks like and common adulterants, erowid.org is a great resource.
Both strtotime() - PHP's "take a string and do your damnedest to make a date out of it" function - and DateTime.parseFromFormat() - the more restrictive TZ-aware class - accept it and give you March 2/3. There's a separate validate_date() or something like that that actually rejects Feb 31.
Akamai got into that many POPs by "giving away free bandwidth saving appliances" to the ISPs rather than paying to host their commercial edge CDN in a their DCs. Full marks to whoever came up with that spin! (This was circa 1999/2000).
> This bill would require plaintiffs to pay defendants’ legal costs if the suit is unsuccessful. Under current law, the patent trolls don’t have any meaningful risk in bringing litigation. The defendants, on the other hand, are subjected to enormous legal expenses and discovery costs. The SHIELD Act is designed to level the playing field and take away the trolls’ unfair advantage. We encourage all of our customers, partners, open source collaborators and friends to support Reps. DeFazio and Chaffetz in their effort to discourage these abusive patent troll lawsuits.

Contact your elected officials and make them understand why it's critical they support SHIELD.
I keep hoping that they will release Trine 2 as part of the bundles. I know it's only been less than a year since Trine 2 came out. Humble Bundle introduced me to Trine 1, which was the first game I've completed in ages.
it looks like they have to me? The header bar is using #333333 just like facebook.com does.

If "basic unstyled webpage" is now bootstrap, then the world is a better place.
The entire country of Angola has 1 IP Address.
please, americans, stop buying drugs that go through mexico.

i don't care if it should be legalised or not. you still have a choice. so this guy's blood (and his unimaginable suffering) is on your hands. and he's just one of thousands.

[and, to pre-empt the excuses, how do you really know what is home-sourced?]
This reminded me of https://github.com/ckrack/fbootstrapp.
Too bad development stopped.
You won't need a driver's license by 2040
Thanks! I noticed that, too, but was thinking it was a Retina issue. Apparently not. Will fix
Well, Eric Schmidt once said: "If you have something that you don’t want anyone to know maybe you shouldn’t be doing it in the first place" or "Every young person one day will be entitled automatically to change his or her name on reaching adulthood in order to disown youthful hijinks stored on their friends’ social media sites.”

Pretty scary if you think about it that the same guy completely banned a CNet reporter from all Google briefings just because he showed a case of all the information he could find through Google on Eric Schmidt...
Apple does not support devices older than 24 months. It has always been this way. I say this because we've seen this pattern with older iPhones and iPod Touches losing features and functionality since the very beginning.

For example, I was very disappointed when Apple made changes to iOS 2 so that the original iPod Touch couldn't change it's volume. The newer iPhones and iPod's had hardware volume controls so iOS removed the easy volume adjustments from the software. The iTunes app could still adjust volume and that must've been good enough, because I didn't see many people complaining.

The customer experience matters a lot to Apple, and they are awesome at it. However, I agree with that article and I would love if they started also maintaining the experience of their older existing customers.
Haircut = any asset monetized below par value (100%)
Sigh. So fucking what, that facebook uses bootstrap.
Podio Integrates App Design With Project Management
From gymnast to runner: interview with Jason Shen (Ridejoy, YC S11)
I'm not sure that's entirely wrong, just a different attitude than you might expect. Also, for that matter, I think MySQL accepts, will store, and will retrieve Feb 31 IIRC. Why? It's liberal in the correctness of input.
I certainly have that same tendency, and have fun playing the "name that bias" game.

But we are both in a tiny minority and are still influenced by those biases even when we recognize them. I would argue we would be less influenced when we recognize them but that's conjecture on my part.
If these kind of nonsense filters really are in demand, doing them in a cloud environment for photographs is insane. Javascript makes much more sense. For video, I could understand the need for server side processing power, but uploading an image, operating on it and then returning the image is crazy.

However, I am against the whole filter nonsense in the first place. A photograph should should stand on its photographic merit, and not by its medium (filters simulate different mediums, old film, b&w, polaroid etc)
Sandia does weapons research, but it does more than just that. One of the main goals is indeed stockpile stewardship, and to that end Sandia produces a lot of hardware and software. On the other hand, it also does a lot of research into energy generation, such as fusion, wind, solar, and improvements in combustion-operated power sources such as coal plants and internal combustion engines. There's also work in robotics, biology, chemistry, physics (beyond nuclear explosions!), math, computer science; most of these are not for the development of weapons. It's a DOE lab, so it does things which fall under the DOE mandate, which includes maintaining the nation's nuclear stockpile among many other things.

I think fusion energy is a big enough win for everyone that you don't need to assign some sinister backing to it. The Department of ENERGY damn well should be interested in a safe, clean method of generating electricity.

The logo is a thunderbird, after the mythological creature of the Native Americans.
Then you're arguing against something I didn't claim. I never claimed Macs were the same price as the best PCs for specific tasks. I said that a comparable PC will cost a similar price to a mac. Just because your $800 PC does what you need better does not make it a better machine. It just makes it a better machine for you.
Keeping my thumb on the buttons means that I have to curl up my index finger into a less natural position. Much easier to just tap. Also in certain environments the clicking noise is a bother.
The problem that Apple is avoiding though is having a bad experience because you have an outdated OS - this occurs on the desktop with OSX as well. Because older OS won't handle newer software gracefully they just "Force" the upgrade. Not saying I agree with it, but that's the assumed policy.
That's the big question, with a universal application: that tension between the fact that knockoffs have a diluting effect on the original, and the idea that if your idea can so readily be copied it's perhaps not worthy of protection.
I just got a good laugh out of it, and thought others might too. It's certainly not meant to be a bash at Facebook.
Full Show 9/17/12: Occupy Turns One
Taiwan Tests Government Employees with Fake Sexy E-Mail
Is gamifying stock trading a good idea?
After a quick Google search, I didn't see any applications that focused on gamifying stock trading. The idea is basically a fun way to trade stocks. I envision a very childlike atmosphere (It would target kids and teens) with achievements and tutorials that are exciting.

Obviously, there are billions of concerns with this (that I will not explain because I'm sure we can all picture them), so it's just an idea for now.

I just wish I had something like this during childhood (I am 18 now).

Anyway, is there any reality to this idea?
I think the key is to do the things you want to do but are afraid of doing.

Personally, I'm pretty sure I'm not going to regret not going on an around the world cruise, because I hate cruising, and have no interest whatsoever in doing it at all.

I will regret not getting my pilot's license, because it's something I wanted to do since I was like, 5 years old. So, I'm working towards doing it.

When we were children, we all had dreams of the things we could do when we grew up. As we get older, our dreams change, but all to often this change is a result not of us not wanting to do these things, but because we tell ourselves we can't do these things.

That's what we regret. Do those things.
Well, either one can send a single message. It's the reply from a different frame that causes trouble. In fact you can have unlimited FTL messages sent in a single reference frame. It's only when you combine multiple FTL reference frames that things get wonky.
Seriously. I'm just waiting for that day.
I wonder if Microsoft or Apple will oppose this bill. They haven't won all their patent lawsuits.
Indeed.
http://en.wikipedia.org/wiki/Match.com
it's the old community chicken & egg problem, people go for the comments, but unless there are enough 'seed' users the comments aren't there to attract the others. Then along come the trolls and disruptors and before you know it, the community forks and the whole process starts over.
It seems like PersonalWeb is trying to develop software...

http://www.personalweb.com/

Interesting that their CEO was involved early on in P2P.
Sign up with rackspace and github. Use their services. Pay them money.
No, its not bad to die with regrets, but it is soul crushing to live less well with them. Talk to someone who had something they were going to do 'some day' had the opportunity to do it, didn't, and now it is forever lost to them by life's circumstances. Those regrets are the worst.
Just die. Regrets will have no meaning, no consequences, no aftermath.
As an avid iOS user, every time I try and pick up an Android I experience the same types of issues. I wonder whether it actually is a lack of intuition, or that I am so locked into the iOS way that it ends up feeling foreign right from the start.

Re: the back button, I am curious how other mobile OSs handle this problem. An obvious solution would be that the OS forces a particular behaviour, but then again, you were referencing default apps with varying implementations. Having never worked with the Android SDK, I wonder if the behaviour is forced on 3rd party apps?
Also, sometimes the nuclear stuff goes beyond weapons. Like destroying asteroids for example.

http://insidehpc.com/2012/01/08/video-visualizing-the-los-al...
I, for one, welcome our new Dice Holdings overlords.

I used to love slashdot, coffee and a discussion about boot loaders for breakfast. It all went to rat shit of course, but that's just the natural order of the universe.
Well, in the case of the 'LIFX' bulb mentioned in the article, they've made a 5% commission on the $870,447 raised and I can't imagine too much of that would go on administration.

I agree admin costs would be a problem for smaller projects; if Kickstarter was only making $2500 total on a project they couldn't afford a thorough technical design audit. Some costs could be kept down with technology, e.g. prototype demo youtube videos, which creators should be doing to keep their backers engaged anyway. You'd risk rigged demos, of course.

Crowd funding is still a developing industry at the moment, and it's mostly assumption on my part that makes me think creators failing to deliver is going to be a problem. It's going to be interesting seeing what develops.
Apple's attitude is to always be moving forward, and people are welcome to come along, but if they don't, Apple's not going to go out of their way to help. It's the tradeoff they make for staying light on their feet.
Ask HN: Does knowing Python give you a significant head start learning Django?
Taught myself Python 9 months ago to do some data work. Looking to build an alpha version of a data-driven web app. I have no experience with Ruby (or Rails). Does knowing Python help significantly with the Django learning process? Should I even bother investigating Ruby on Rails? Is Django the way to go?

Edit: Edited title for clarity so that this would not appear to be a Django vs Rails question. There are enough of those.
click "examples", it's #08C.
Does it, though?

First red flag for me is that they are based in "East Texas": http://en.wikipedia.org/wiki/United_States_District_Court_fo...

On their "How we do it" page, they mention some Natural Language Processing software that they're developing, but primarily highlight their "valuable" patent portfolio.
The currency of hackers is information. We are interested in its preservation and transformation.

This story concerns information that, if verified, will rewrite a major aspect of the history of one of the most important men in the world's history. That such a significant thing could by lying around on a random scraps of 1600 papyrus is amazing, and makes one wonder what other things are still out there, sitting unrecognized in private collections around the world.

How could that NOT be interesting to hackers?
How long does the vetting process usually take? (My profile has been waiting for approval for some time now and I haven't received an email saying I was accepted or rejected.)
Ah okay, I guess the Nazis ruined a lot of symbolism.

Logo reminded me of something out of Wolfenstein 3D

The paranoia in me always suspect they are all trying to make nuclear weapons without the pesky fallout which would be a horrible "advancement" as it would remove resistance to use them.
Probably not, especially considering he didn't die.
The magician's creed is a lot like an open source license with the restriction of attribution. If attribution is given then copying is considered respectable, whereas if it's not then it's considered theft.
How do you find the sandia logo creepy? Do you think all Native American imagery is creepy?
For $20M I will show you how to do fusion cheaply and safely.

You can do it at home if you want.
Original Source:

http://news.byu.edu/archive12-sep-women.aspx

https://journals.cambridge.org/action/displayAbstract?fromPa...

http://dx.doi.org/10.1017/S0003055412000329
I've posted this a few times on HN. The solution to this problem is, in my humble opinion, very simple. Rather than presenting a divided community to trolls, we have to present a united front. This would come in the form of a legal support organization that would be 100% dedicated to fighting trolls on behalf of it's members.

Call it insurance, if you will. Member companies would pay a monthly or yearly membership fee. In exchange for this the organization would evaluate any and all patent lawsuits and consider them for representation. It's stated mission would be to defend members from trolls.

How?

Well, for starters, imagine a legal organization with hundreds of
millions of dollars in the bank. How many trolls would dare risk going up against them?

Second, I am not a lawyer, but I imagine that there would be a way for this organization to also create a cross-licensing ecosystem for member companies. Maybe this is ridiculous. I don't know. Imagine that every patent of every member company becomes an automatic IP license --only for the purpose of patent defense-- for all members. This means that for my annual fee I could have a virtual shield consisting of tens of thousands, if not hundreds of thousands of patents protecting me.

How much is that worth? Any company doing anything at all that is not trivial should easily be able to afford a $10K per year fee. larger companies could do a lot more. Smaller ones less. It is not hard to imagine raising tens of millions of dollars per year and even reaching a hundred million. With careful management this organization could easily amass a billion dollars in the bank over a number of years.

This would effectively destroy the troll business without legislation and it would probably do wonders towards decimating bullshit software patents (or bullshit patents in general).