skysight-inc/HackerNews huggingface dataset:
> Then ask yourself this, what's wrong with having (Out of Memory Failure, -1234) in addition to DNS Lookup Failure and HTTP Status codes?

Indeed, I see nothing wrong with this.

> However, you do not know about DNS lookups or memory allocation therefore if a problem occurs in those areas it is exceptional -> exception.

This is where the disagreement lies. When I imagine myself as an http function FOR MOST USES, I imagine a "full service" function. You give me a URL (+post data), and get back a return code and a page. This functionality is sufficient for 99% of web uses.

If I can't get a 20x (possibly after following a 30x or 401 unauthorized response), the user in 99% of the cases does not care what the reason for failure is - they just need to know it failed and some reason to log/display.

Turn it the other way around: Why should a user of an http library care about internal implementation details like DNS resolving, to the point of needing to include an explicit check for them? And if you're advocating for "catch all exceptions", how is that different from a multiple-return-value?

> Syntactically valid, but not semantically as -1 isn't a valid file descriptor.

So what? It is a valid return from the "open" function. No, you can't use it for reading or writing or ioctl - but then, whether or not you can do that to any other returned descriptor depends on what that descriptor is (/dev/random? /dev/null? a socket?)

I'm not disagreeing that exceptions can be useful. I'm just disagreeing that what is exceptional vs. what is regular is a well defined thing.
I used to do this (all lower case everywhere) in all electronic forms (email, SMS, notes to self.) This seemed to change when I got an iPhone, and it started auto-capitalising my sentences and I's. Now it sometimes actually annoys me to see it done the lazy way - I don't know what I've become!
Nokia is an excellent company and they built the best mobile phones before the smartphone craze. Just as a testament to how good they are there are still pre-smarphone craze Nokia phones available and their probably the best choice if you tend to drop your phones very often or get mad easily and like to trow them to relieve some anger.

I was very disappointed when they choose to sell their new Lumia phones with windows.
I would have bought a Nokia with Android in a heartbeat but the fact that they choose Microsoft made me think twice and I eventually went with Samsung.

I just hope Microsoft doesn't ruin Nokia they're still one of the better hardware manufacturers unfortunately they were never very good at software.
And ICO has the huge advantage that you can provide multiple bitmap sizes (and color depths) in a single file, avoiding the bullshit of having to specify 6 different icons for 6 different size specs.

Technically, ICO is really a container more than an image format, the original ICO just contained bitmap data, since Vista you can also put PNG data in your ICO file (which MSIE recommends for 256x256 icons).

A similar alternative being Apple's (somewhat more flexible) ICNS
This is classic Microsoft strategy.

Note, as per a few people Microsoft trying to "build everything for everyone" might sound like "lack of focus" but this has worked for Microsoft and will work for them in the future.

In countries like mine(India), the common guy on the street buys things that are cheap and durable. Which is why Nokia phones were such a huge hit for more than a decade, anything Nokia launched would sell like hot cakes. You cold buy a mobile for ~2000 rupees which wouldn't die for years. My dad used his mobile for a decade, and then we had to buy a new one for him after it got wet in the rain. He insisted we buy him Nokia and Nokia only. That's the brand power Nokia holds in India.

You will see memes all over Facebook, depicting Nokia as Thor's hammer. That's what Nokia is known for- ruggedness, durability, quality and amazing value for money.

And now if they can really come up with something similar for tablets and smart phone for the common market it will be a huge success. Apple makes very delicate phones, which are also very expensive for consumers in developing countries. And now with Steve Jobs gone, within a few years it will be price wars all over again.

Though I appreciate what Apple has done on the usability end. I believe things like price, durability and ruggedness are a big part of good engineering. And this is where Nokia scores above Apple.

With the Windows mobile OS, Nokia can great traction in markets like India. Especially if they can keep the price in check.

I just hope Microsoft doesn't mess up with Nokia, the last thing I would hate to see is Nokia lose its hardware edge.
For some reason your argument reminds me of DEC and the PC market - given their position in the early 1980s they should have been in a great position to compete, but they were always on the back foot and constantly playing catch up with the actual market leaders (including, of course, Microsoft).
Ah, hold on.

Doesn't running keytool require you to turn off security in the bios first?
Microsoft is probably aiming to become a patent troll in the long run due to their lack of innovation. They already have many patents they can extort future innovators with, so picking up Nokia's (reported to be worth $6b) makes sense.
Well you got screwed then. I just bought an 820 SIM free for £179 (Can buy three for the price of an iPhone 4S here). Buy a new car, lose WAAAY more than that in 6 months. Only Apple devices hold their value and I don't understand that as the market is saturated with them.

You don't have to pay them to build for your own device. Just register it as a development device and you can push your own stuff to it. I just did this with WP8 and it's fine.

Not published an app yet so can't comment.

No significant software updates (compared to Android that is). That's a good thing. The platform is pretty stable and consistent across all vendors. It's a shit trying to push an app to 5 different versions of Android.

The only PITA is to do WP8 apps, you have to use Windows 8 which I really don't like. It's bearable with Start8 though.

To be honest I've owned iPhones, Android handsets (Samsung, HTC) and the only thing I don't want to throw across the room due to stupid problems has been WP8.
The N95 had a decidedly subpar user experience. The OS was slow, unstable and clearly long past its use-by date and the available apps were with few exceptions really crappy lowest-common denominator stuff.

I say this as a one-time Nokia N95 owner (and long-time Nokia smartphone owner) who moved to an iPhone and found it a revelation. Nokia were ridiculously far behind at that point, the N95 was their best effort and it was one of the most frustrating phones I've ever used.
Yes, but the effect of ecosystem lock-down is huge compared to 5-6 years ago. It's not about who makes the best phones or phone-OS anymore. People are invested in their respective app ecosystems and all their photos, contacts, documents etc. are in Apple's or Google's cloud.

I'm not saying that Microsoft doesn't have a chance at all but I think the odds are against Windows phones ever reaching a significant market share no matter how much capital and R&D they stack behind it.
-sigh- why would you take that away from my comment? The point is that javascript makes it possible to build a performant and smoothly integrated web app where with Java and Flash by their plugin nature it is impossible.
> in a PIN system if I know your PIN and get your card I can loot your account and you are SOL

I guess, but if someone where to know a password to a sensitive online system they could do equal damage.
Well I tried, didn't find anything both free and worthwhile. There's a bunch of overvalued ideas there; you might want to moderate the platform a little, it's quite the turnoff...
Could it have been 'we need a new ceo, hey that guy from Nokia looks like a good candidate, buy nokia, get Elop, make Elop ceo' without the conspiracy?
Keep in mind: This class is part of a conservatory-style BFA program. These students are already, or will soon be, custom to public critiques. And learning how to accept public criticism, positive and negative, is explicitly a goal of many such programs.

My two cents: While I would have hated such a thing in an engineering class, I really appreciated public discussion and criticism of my work in the arts. I found that such transparency, even when painful, was hugely valuable to me as I grew as an artist.
Harvard's Data Science class using Python and Scikit
What part of the UK? They are wildly different in Scotland, Northern England, Northern Ireland, in fact probably anywhere except for the south of England, and even there it doubtless varies.
Maybe that will work for privacy which we can also work with here, but doesn't solve the anonymity problem.

This reminds me... Anonymous remailers have been around for quite a while. The idea being, you get your mail through a forwarding service that wraps the package to the final destination (or another anonymous forwarder) so the sender doesn't know where the final destination is actually.

I don't know of something similar can be implemented with email because you still need headers to be visible. Unless email too can be wrapped in multiple layers of encryption, headers and all, that each subsequent relay must decrypt before finding the destination.
And here we go with the shill comments...

If someone doesn't agree with you it doesn't mean they are a shill.

This isn't Slashdot!
I don't agree with all the things in this article, but there certainly rings a bell of truth in there somewhere.

A 5.44 billion EURO transaction to acquire a company that is already in a strategic partnership with you and working exclusively with your platform doesn't make sense.

My vote also goes for Nokia being financially in trouble, and M$ have their hand forced by the fear of a collapse in Nokia would gut the distribution channels for all the flagship windows phone models.

Worse, what if word got out and someone else bought them?

...wait, no, that would mean Microsoft would have some special insider knowledge of Nokia's finances that no one else was party to. Surely not.
Hah here in Australia I can transfer money over SMS or even bumping my iPhone to someone else (providing they're with the same bank as me).
That's a solid effort!

Pruning immediate repeats is in the todo list, thanks for the recommendation.
The Perfect Nap: Sleeping Is a Mix of Art and Science
Expensive signing bonus to pick up their new CEO?
Thanks for reporting it, I'll take a look.
And a navy.
The biggest reason that phones are a strategic "must have" is the massive drop in desktop sales.
Bubby Weds Praylin
I've heard many non-techs call it "CPU". "Cabinet" or "CPU Cabinet" is also very popular here in India.
Learn together
Clearly they take that sort of thing seriously - they're hiring for a "Privacy Technologist": https://careers.mozilla.org/en-US/position/oJOkXfwy
Don't spread FUD about competitors. Statements like this are incorrect: "Accepting internet payments involved weeks of setup, reams of paperwork, and bureaucratic approval processes"

Your rates are the same as every other damn payment processor, that's why I fail to see the excitement. I'd also be interested to know if you pay tax in any of the countries your service operates.
I don't agree. Most of the general users I know forget their email password every time they fuck up their phone and just buy all the apps again.

This is the norm. The only thing people give a shit about is their data (and that is usually when it's way to late and they're about to lose it), not the apps.
yeah, how dare they allow people to have a useful phone for several years at a time.
It depends on how you define "winning". I would say that Google won - their goal was to get as many devices as possible using Google as their default search engine and running the Google suite of apps.

A few years ago there was a real risk that Apple would start dropping Google services (ref Apple Maps). Fortunately for Google, iCloud is a mess and Apple is so far away from Google in the services-game that it's not even funny.

Then they have the added hedge of Android which they have full control over.

Basically, Google already has Apple by the balls. In a power struggle between the two, Google will come out on top. Android is certainly an important piece to this puzzle, but saying that Android is "winning/losing" is framing the problem incorrectly.
Well, RIM is now RIP. Microsoft was their last hope
Depending on region, it's even hard to differentiate for a native speaker. (I am a native Serbo-Croatian speaker)

Anyways - great game!
A Peopleware Summary in 15 tweets
I don't think it's just about the luck. The guy must have got the skills otherwise Nokia would have never had made him the CEO.
"hi everybody, i'm bill gates. buy this phone and 15 dollars will go to support malaria research".... is what i want to see on tv.
Elop used to work at MS before going to Nokia.
I've been using one since about 2011. It's true that there can be some issues depending on the hardware you have. I've only had issues with waking up my PC, and sound, and only had to download a DSDT for my motherboard.

To be honest, if you already have a desktop which is somewhat compatible, then this makes total sense. The fact that you can continue upgrading hardware, add SSDs, change graphics card is fantastic. I did this as an experiment, and it worked so well that I never switched back. You no longer have to buy the latest Macs to get the latest hardware.

That said, I don't think buying new hardware for making a hackintosh is necessarily the best idea. You _will_ run into problems that can vary, and these aren't necessarily things you expect when buying a new desktop.

The problems mentioned in the article were harder to solve than the ones I had. But a hackintosh's return over investment is HUGE, if it works!
Ask HN: Validate my idea - find a mentor to improve your employment chances
I'm a programmer and recently published author.

I have an idea for a marketplace website where programmers pair up with mentors to improve their chances of employment.

Here's what I have so far, I'd love HN feedback...

A 3 step process:

Stage 1 - ASSESSMENT

Programmer chooses a mentor from a list and pays a fee (or not - considering alternate models, see comments)

Fee is split 80/20 between mentor and site.

Programmer submits CV and/or holds mock phone interview with mentor

Mentor gives feedback including; Would you shortlist this CV? (yes/no) - Based on the phone interview, would you invite this programmer to an in-person interview? - What do you like/dislike about this programmers presentation?

STAGE 2 - MAKEOVER

Mentor and programmer work together to improve CV and interview technique

Focused on feedback from stage 1

Time cap (mentor time is valuable)

STAGE 3 - REVIEW

Revised CV is reviewed by at least 3 additional mentors, all answering the question "would you shortlist this CV"

That's about it. Other thoughts -

- Mentor will typically be an actual hiring manager - this is key - no recruiters
- Direct contact between job seeker and mentor
- No middle-men (recruiters, agencies, job sites etc)
- Relies on candid feedback
I think Diane Greene would be a much better choice than anyone on your list.
I wish the guy gets the reward for his commendable work. He deserves it.

Best of luck Mr. Elope.
Russia detects two missile launches in Mediterranean
> its bootloader is the Linux Foundation one that was signed by MS.

sounds like abomination. Even in the early 1998 our web browser had 4 or 5 root certificates. Why only one in the case of secure boot?
I've seen this in a couple of places of late. Have been waiting for a "don't do this" post from the SO team.
Not a bad article but it needs a step 11:

Know thy database engine for if you do not, your local DBA will be mightily pissed off when you do a cross join across 15 tables and watch his/her IOPS go through the roof...
In Spain and Argentina we say: "the tower".
Yes, as is once, actually.
Terms of Microsoft’s acquisition of Nokia and what it means to us
Clearly Elop agreeing on the acquisition by Microsoft was contingent on Ballmer resigning from Microsoft, Setting Elop up as the next CEO of Microsoft. So, not only was Ballmer fired, his replacement has likely already been chosen.
Built by the people who can't even keep the president's emails safe with the help of US ad networks. Sure that's going to work.

The Brazilian government's reaction to all this has been amazingly incompetent even by Brazilian-government standards.
This kind of ad-hoc innovation is something which is basically dead now.

Back then the number of people involved in browser and web technology was small. Now, even the brightest mind will have any new idea critiqued and iterated by thousands of equally bright minds whether they like it or not.

It's probably too much to say that there are no new ideas in web browsers any more, but it's certainly harder to find them thanks to how collaborative the Internet has made the world (that's almost ironic)
Apart from the fact that a number of the "20 big question in science" aren't scientific questions at all, there's a rather silly claim about the Riemann Hypothesis:

Quote: "An apparent pattern within them – the Riemann hypothesis – has tantalised some of the brightest minds in mathematics for centuries."

But prime numbers don't possess an "apparent pattern," and there's no evidence for a pattern in either primes or the Riemann zeta function -- if there were, we would be much closer to understanding primes. In fact, the article that the linked article itself links to (i.e. http://www.theguardian.com/science/blog/2010/nov/03/million-...) says "Prime numbers also have the annoying habit of not following any pattern. 3,137 is a prime and the next one after that is not until 3,163, but then 3,167 and 3,169 suddenly appear in quick succession, followed by another gap until 3,187. If you find one prime number, there is no way to tell where the next one is without checking all the numbers as you go."

So, no known pattern. Reference:

http://en.wikipedia.org/wiki/Riemann_hypothesis
Apple links old software link to wikipedia
Actually, I'd be really interested to see if Microkia could pull it off, could make an awesome phone that seriously challenged the iOS/Android hegemony. I think they have the resources to be able to do it in a way that Mozilla or Ubuntu or any other strictly software/no experience in hardware company could do. And if Microsoft can reinvent itself and snatch victory out of this, then that means the market is actually wide open. Ultimately, I'd like to see a true, open source, Linux phone, and Microsoft quite ironically could do a lot to prove that one could be successful.

In other words, Microsoft gets to take chances that anyone else gets to learn from. More competition is a good thing.
Nice idea, simple and helpful, especially as there are quite a number of interesting offers with different skill groups like "need help with coding, can offer help in writing" already.
There are issues other than firmware... (http://evertiq.com/design/25484)... but I haven't seen anything on the MTBF's of recent yields.
This has been covered hundreds of times. There is nothing illegal about buying software and modifying it for your tastes. Where a lot of hackintosh resellers fail is they modify it and then distribute it, which will certainly lead to failure.
Some languages provide alternatives to Regexes. For eg. Rebol uses a parse dialect instead - http://www.rebol.com/docs/core23/rebolcore-15.html

Here is the articles example converted to Rebol's parse dialect (minus capturing but it's easy to add):

; build some prereqs for parse
num: charset [#"0" - #"9"]
alpha-lower: charset [#"a" - #"z"]
alpha-upper: charset [#"A" - #"Z"]
alpha: union alpha-lower alpha-upper
alpha-num: union alpha num

; create parse rule block
simple-email-rule: [
alpha
any alpha-num
#"@"
some alpha-num
#"."
some alpha-num
end
]

;
; then later...

parse "valid@example.com" simple-email-rule ; => true
parse "notanemailaddress" simple-email-rule ; => false
Some services are totally unreliable, for example the Geocoder service.
Is there any relatively unobtrusive way of accepting payments via Stripe Ireland from other EU country? Compared to establishing business in USA from Europe to be able to use the US version...
I'd like to see the new Google climbing wall :)
I'm the same. I even put my monitor on a book to make it perfectly in line with my imac.
Wait, what? The story is not about a "US Marine's website", it is about the hacking of the "US Marine Corps' recruiting website." Not a marine, but the marines.
Well, to beginners it's always good to express things in a positive way. The "DBA rules" is part of the 2nd year of SQL experience tutorial :-)
The fact that a lot of people would have bought the phone doesn't mean it would result in profit. Lots of people by HTC phones, but that company is circling the drain. The problem is that an Android phone is a commodity. Its hard to differentiate yourself on the product side. That means you're in extreme price/specs competition. That drives profits towards zero, just as they are on other commodity platforms like the PC (Acer and Lenovo, for example, have abysmal margins). With Windows phone, Microsoft mostly keeps the spec war in check, and WP8 runs fine on 1G/dual 1.5 Ghz on a "flagship" phone.
For the love of everything that is holy: Make Strip available for Scandinavian countries like Norway, Sweden and Denmark. I assure you there is demand.
Well, I for one never knew I was spelled with a capital I until someone pointed it out, ;).

As for style, it depends. When I'm chatting on irc, I tend to forgo capitalisation out of laziness. On more formal communications, like commenting here and emails, things are better.

As for why the OP doesn't use it, I don't know. Broken shift-key perhaps?
New breakthrough could bring quantum encryption to smartphones
Leave. Search for something more motivational. Freelance remotely for a time.
I could not agree more. We're developing an app at NTNU and we're basically just waiting for Stripe to become available.
Turning Apple TV Into Ouroboros
> Microsoft is a company with an institutional disdain for both the truth and for rules of law that lesser entities must respect

Funny, replace Microsoft with Apple in this pull and it would still make sense (but not with the rest of the quote)
Hmm. Cant seem to get it to work [even after disabling all other extensions]. Wont let me get past the first calibration test. Pity, it seems far more accurate than any of the others I've used! Looking forward to seeing a FF version!!
Top 5 Core Differences Between Bootstrap and Foundation
I don't think even Stephen would had ever thought of joining Microsoft and that's too as a CEO.
I wish me all the best for his selection.
Banking in the U.S. is atrocious, but it's rapidly improving.

* no chip and pin - still largely true, they experiment every so often with chips but it never really catches on. I suspect we'll eventually leap frog this when something better comes out

* branch - usually the local bank can handle everything for you

* wire xfer - we usually just use Western Union for sending money back to my wife's family. It's a simple form, and it takes all of 3 minutes.

* staff on your side - banks here do keep playing at bizarre account fee BS, there's no end to it

* bank account # - it's weird. If I have your account # I can deposit and withdrawal money (it's how we do automatic deposit and bill pay). I think the banks try and watch for wire fraud. But it's hopelessly insecure.

* checks - pretty much just old people at this point. I think the last time I wrote a check for anything was 8 years ago when I needed to move lots of money around to buy my house.

* non-US, cash is always good

* direct bill - very common here, you just have to set them up with each service using your account #. Like I said, we haven't had to write a check in years.