skysight-inc/HackerNews huggingface dataset:
The question was why BB10 is not in the list, and that was a quick answer from my POV.

If you want the long one:
I do maintenance for older (OS4~7) BB apps so I have an interest in where the platform goes. I'm following the evolution of the new OS and SDK since the playbook to the alpha device and up to the Z10, but even after the bbconf workshops on webworks or the sessions on cascade I don't see a future for native dev on this platform, and most of our clients just want their android app ported to BB10.

From the dev perspective, I don't see a good ROI in deeply learning the platform, so I'll be happy with watching over the shoulders of the guys dealing with it.
Hearsay is OK for me when I see the support tickets flying around. Like there is no simple way to have the scroll position of a listview in cascades...that's just crazy when so many apps will be managing lists.

As a user, I'm not in the target audience since they never bothered to add japanese input support, but I tried most of devices by pure curiosity.

I genuinely wonder what particular feature is so well executed that you wanted to dismiss my opinion. I've seen some feature here and there that aren't bad, the focus on gestures is distinctive and there is a definitive push for a "modern" feel...but I'm not a big fan of the swipe up/down gestures, as actual content can be found near these areas, and it conflicts with other operations (like drawing on the screen).
Even the task switching is tiresome at times, as app order is not fully predictable (or you have an excelent memory)

Is there any aspect that is not decent but really great?
Cutting edge can be mildly innovative. Facebook is somewhat innovative in my scale; as far as I know they came up with the timeline and tagging people. But for me really innovative are Kickstarter, Twitter, StackOverflow. Companies that went blue ocean and literally created a new thing or changed culture in a significant way, because of a fundamental idea, and not simply critical mass (like Facebook.)
How to Detect Ad Blocking using Javascript and Google Analytics Event Tracking
> You know that many labor measures - like minimal wages, etc. - were taken - with wide support of unions - to exclude blacks from labor markets, and at the time were openly acknowledged as such?

This is one of those infamous libertarian myths formulated from taking a few past statements to represent a consensus of the time; that somehow black labor should have been cheaper than white labor if the free market was considered alone. This racist crap doesn't belong on Hackernews.
her sisters name
The real problem, design-wise, is that fs.stat operates on a single file at a time. Sometimes you only want info on one file, sure, but in many common use cases, you want info on a bunch of files - perhaps even the contents of an entire directory, or a directory tree. Worse still, stat might be a syscall! Woo, syscall per file.
>You know that you can make things happen when you talk them out, right? You know that you make things happen with other people, no one can be a lone hero a run a product, company or any other greater humanity organization just by himself, right?

You know that "talking" as in using voice communication face to face is not the only way to make things happen, right? You know that I didn't mention anything about being a lone hero or anything of the sort, right?

>You can hate meetings all day long, I hate them too, but I don't hate social interactions, I don't hate face-to-face conversations to clear things up.

The social interaction isn't a problem, it's that the meeting is a fundamentally inefficient way to accomplish what can be done better in many different ways with other tools. If everyone is so prone to wander that it requires an inefficient and expensive (both in opportunity cost to time that could be spent solving other problems or actually doing productive work, and the cost of paying someone to drop everything and talk about doing work instead of doing work), it would seem to speak to a larger problem, either with processes, procedures, or people.

This goes double when the content of the meeting doesn't require anything but status updates or some other kind of communication which translates mostly seamlessly to plain, searchable, referencable text.
I quit going to hackathons when they started to turn into "do something with our web service" instead of "X straight hours of whacking away at whatever project you're working on, surrounded by like minded people doing their own thing, that you can bounce problems off of when you get stuck".

There are two local hackathons coming up, neither of which I'm the slightest bit interested in, since both are based around handfuls of companies and their products' web-based APIs. It's obvious that they are not interested in you turning out a product, or even getting a start on a product. They're using you to determine possible areas their company could branch into, and like Tom Sawyer, they're getting you to pay to help them.
Yeah, a lot of people get distracted about the gear because its easier to be a gear expert than it is to be a great player. In reality there are lots of guitars that are perfectly good for learning at many price brackets and getting hung up in what to buy is a mostly meaningless distraction.

It's like a sport at this stage, you're going to suck, but with everything you do you get better, so the best thing is to just play whatever as much as possible. It really is just a fitness thing at the start, well fitness and musical awareness.

Just for clarification: I've been playin since I was 12 and have graduated university with a music degree and still play consistently in bands and solo projects. The biggest thing I've learned thus far is that the the guitar is just a tool for making good music and lives at the service of the music being made, not the other way around.
The number of ad clicks can indeed rise even as the number of ads shown declines due to better ad targeting. Your reasoning has been consistently flawed in most of the threads.
I've read some articles in the past that argue the people who see and think differently (and create something new and great) are the people who enter the field with a background in another typically unrelated field. Like, I don't know, professional fly fishing and network security.
The NYT article asserts that KJU's actions are targeted at his domestic audience:

“We’re convinced this is about Kim solidifying his place with his own people and his own military, who still don’t know him,” one senior administration official said Friday.

My point was simply to put the NYT coverage in context.

I think you misunderstand my intentions. Most Americans take seriously the kind of foreign affairs coverage the NYT article exemplifies, and I just wanted to point out the common themes to help immunize HN readers from it in the future.

Yes it's fun to poke fun at KJU but that does not mean his foreign policy actions are irrational or that the adjectives used to describe him don't also apply at least as much to US leaders.
Why publishers should explain why papers disappear
This was my thought as well. Promises are declarative... making a promise is almost the very definition of declarative programming.

It's not functional at all. This reaffirms my belief that blog posts are a terrible place to learn. People who know the least shout the loudest.
Calibre?
Pressgram: It’s like Instagram, but for WordPress, and you own everything
> Does anyone know how to 3D-print protein structures?

Use pdb2stl. It's part of mayavi.
... and what does that haves to do with promises?

And in such case you would only do this once outside the listeners of http/or-whatever connections so it would be done just once regardless of the number of concurrent activity.
Anyone else get:

"""Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it."""

When attempting to identify using a Google account?
Allows active users of your app to spy on each other, seeing who connects and when.

Or maybe DOS your site, by pretending to be a PeerCDN participant but instead sending large chunks rate limited to 0.5Kb/s. The SHA1 hash check will stop them being used, but only after a long delay. People could be having a bad experience and you wouldn't even know by watching server stats.

How is the connection between peers encrypted?
I think one point that has been overlooked so far is that many projects might copy in a bunch of JavaScript (jQuery, etc.) and then write the glue code in CoffeeScript. So you get a commit with 3kloc JavaScript and maybe 20loc CoffeeScript.
I agree that his actions are rational. The NYT article paints a picture of him as an unstable person who can't hire a decent special effects team and essentially mocks him, while implicitly lauding the US's own belligerent leaders and actions. It's just not news reporting.
Diverging paths: KDE Plasma Desktop vs. Unity
The main issue is that without private messaging, there needs to be an external interface. It suddenly makes the whole thing a lot less pretty.
At the age of 25 I was a long-haired pot smoking rocker dude who drank Budweiser and played Sega Saturn when I wasn't working night shift at the factory.

I didn't hit my stride until the age of 35, when I self-published my first book after four agonizing years of writing it. I'm 42 now and kicking out better, more innovative stuff than ever before.
My latest project is INDOCTRINATOR: http://indoctrinator.com but I've developed other successful products.

So yeah, as my own experience would suggest, people do get more creative with age. It has to do with mastery of skills, an accumulation of knowledge, and the alchemist's ability to convert these elements into amazing things to offer the world.
I trust you will learn with age not to be make dismissive claims about an article you didn't finish reading.
Science doesn't mean scientific method, and even if you were talking about the scientific method, what exactly does it mean to believe in it? Absolutely nothing. It's like asking "What do hindus believe?" and expecting to get an answer that isn't dumb.
So if you lose your Stripe account, you lose your entire network of affiliates and all the marketing they're doing for you too? It's generally bad business to tie yourself to single providers like that. Write the few lines of code it takes to integrate with one of the affiliate networks that already exist.

The good affiliates know these networks, they know that they track accurately and they get paid on time. They don't know that about you or some new software you plug in to your site and promise to send PayPal payments with. For a few hundred bucks you can get on one of the first-tier networks with access to thousands of existing marketers. Integration is dead simple (put one piece of code on your "thank you" page to track the new signups, write a few lines of code to POST a commission through an API each month for the recurring part).
I'm sorry to be mean, but with a 1994 feel like that, no wonder it didn't get the attention and interest it deserved. And this is coming from an enthusiast. Hopefully someone will take the reins and do it justice though.
>I'll leave iOS and get a garbage feature phone (Symbian, or something)

It's funny that you say that because as a long-time Symbian user I remember when "Symbian" was pretty much synonymous with "smartphone", at least in my part of the world.

As for your idea, well, I'm afraid devices that run recent editions of Symbian (Symbian^3/Anna/Belle, Symbian Series 60 5th Edition) usually don't deliver very good battery life. You'd have better luck with an S60 3rd Edition phone, especially a business-oriented one like the Nokia E72 or the E5 (I own the latter and can recommend it for sheer repairability -- see my earlier HN comment [1]) but it still won't run for a week on a single charge like Nokia's grayscale featurephones do; it's closer to 3-4 days with a fair amount of web browsing with Opera Mini and using GMail. On the plus side, I've written Python programs both for and on my E5 (the QWERTY keyboard is pretty nice) and you'll be able to do the same, unlike with a featurephone.

[1] http://news.ycombinator.com/item?id=5215787
The notion that a theory producing verifiable predictions is "true" is pure fiat.

In which case, so is the meaning of the word "true".

Not sure where you're going here, overloading the word "belief" doesn't help in this case, it obscures.
Yes, But SW it's not a hackathon (at least not in Dallas).
Who gives a crap about helping Google digitize books that they scanned without publisher or author permission and that we won't be able to to read afterwards because we have to respect copyright where they didn't?

Capchas are a pox on the web, and reCaptcha a sleazy immoral one, too.
Design tip: you might want to increase the color contrast. White text on a light grey background isn't very legible.

A useful tool to check color contrast is Paciello's Contrast Analyser [1]

[1]http://www.paciellogroup.com/resources/contrastAnalyser
To be fair, you haven't handled the complete case. What if one of the items fails? You need to handle the error, but only if it's the first error, and make sure to tell all later-called callbacks that they're too late and we have already failed. Except, if we got an error on an early callback but the 0th item comes back later, we need to do whatever we were going to do with that one piece of data.

var result = [];
var hasFailed = false;
paths.forEach(function (i, file){
fs.stat(file, function (err, data){
// if previous callback failed, give up.
// unless this is the first item, which we still need
if(hasFailed && i !== 0) return;
if(err) {
hasFailed = true;
// do something with the error
if (i === 0) // do something special for error on first item.
return;
}
result.push(data);
if (i === 0) {
// Use stat size
// remember we might have already failed, in which case don't add the first item to the general result
if(hasFailed) return;
}
if (result.length === paths.length) {
// Use the stats
}
});
});

That's almost certainly still not close to right. Which just illustrates the basic problem: without either promises or something like async.js, you're reimplementing control flow by yourself. You can easily start with perfectly-nice-looking code that balloons to be incomprehensible as soon as you start caring about error cases. And where two statements, perhaps dozens of lines apart, are preserving some invariant that is not obvious to someone editing your code in the future. Even yourself.
The point is that a properly designed API wouldn't require any amount of scaffolding. You'd go:

fs.statMany(filenames, function (stats) { ... });

or:

var statsPromise = fs.statMany(filenames);

And then in either case, you'd just use a for-loop or forEach or whatever your preference on the result. No thinking about how to preserve complex invariants or whatever is necessary.

Hell, with ES6 generator-y expressions you could make it even more succinct, something like:

var result;
fs.statMany(filenames, function (stats) { result = [... for x in stats]; });

No push nonsense, no nested if statements, no need to explicitly invoke async.parallel or whatever. Just clarity.
Begs the question whether doing meaningful work in a field will take more time given that it takes a decade or two to get up to speed with current research.
"Excel is not functional. It is declarative. You declare the relationships between the cells and Excel uses those to propagate changes."

Whereas in functional languages, the functions declare relationships between values and the language uses the evaluation model to propagate the results between function evaluation. Where's the difference?
Any affiliate network suggestions?
> without introducing logic patterns foreign to many

Consider your use of the forEach() abstraction when you could have used a for() loop just as easily. (That said, I agree the article in general could do a better job of describing the "other" side)
I find it hard to believe that you could be smart enough to build something like this, while also being dense enough to think that it's actually a CAPTCHA. My guess is that some pointy-haired boss really wanted a CAPTCHA and the developer didn't think it was needed. Everyone's happy.

Of course, the developer could have also just slapped RECAPTCHA on there and been done in even less time...
you can use Django-rest-framework ,it's good.
And these job vacancies are gender-specific? If the 50 job vacancies must then be filled by 50 single women, then yes we now have a lot more single women in the Big Apple. If they can be filled by 25 single women and 25 single men, then the single men:women ratio is still 1:1.

I guess I might buy the argument that the vacant jobs might go to 30 women and 20 men, which would back up your point.
So they trust the wine makers that their label is as good as they say it is when they taste it. I guess that makes sense.
I felt like I could here the talk just from reading the bullet points. I know some of these things and some things I knew and forgot or hadn't considered. It is good to have a check against other professionals guiding compasses. Thx for sharing.
"Please give us your email so we can spam you."

Just link to the videos / slideshares / whatevers.
But you and I use real editors (I use Emacs). Users of these silly IDEs aren't used to their editor making their life easier.
tptacke's comment notwithstanding, I have a pediatrician friend who points out that among doctors, pediatricians are the lowest paid. This might be biasing your anecdote here.
With hindsight, sure. But that's not looking at the whole picture.

The problem is not how much effort to stop this one mistake, the problem is how much effort to stop every potential mistake of similar importance to this.

Or worse, perhaps they did get this from a shelf of existing solutions.
I was just about to post the same thing (mentioning emacsclient though). Does that make me a troll? :-)
Excel is not functional. It is declarative.

Alan Kay (yes, that Alan Kay[1] -- the guy that's won a Turing award) formalized spreadsheets as a limited form of first-order functional programming.[0]

[0] http://en.wikipedia.org/wiki/Spreadsheet#Values

[1] http://en.wikipedia.org/wiki/Alan_Kay
No, it's sexist if it's presuming that more women than men have trivial motivations or that those have more influence among women than men. Particularly when there are other, far less condescending and far more likely reasons for the gender skew in NYC.
The point is promises free you from wanting or needing to know about the order that things happen in. I hear you saying you fear promises, because it means it would get in the way of your ability to know that. But the truth is once you embrace them, that need becomes unimportant.

The idea that webservers are "all about side effects" gives me a chill. The whole architecture concept of HTTP is no side effects, so to claim that it's all about side effects seems odd. It should only be the case for POST PUT or DELETE methods, and only in very specific ways.
Or it might cause you to see the same things everyone before you saw, and not know the difference.
declarative is an orthogonal attribute to functional. The two attributes are not mutually exclusive. You may as well say something like: "A bicycle isn't a vehicle at all! A Bicycle is a metallic object!"
This kind of programming certainly is promising </pun>

It's one of the reasons why i started learning haskell.
"Web server programming is entirely about side-effects" is not terribly interesting, when observing current common practice: if it's typically callback driven, there's nothing else it can be about.
It doesn't have rule 30.

//default list of rules
var populateRules = function() {
rules = new Array(57,18,90,129,130,131,132,133);
}
This is a ridiculous attitude. Do you laugh at the concept of "complex" and "imaginary" numbers because a group of these so called "mathematicians" have apparently arbitrarily decided to call some numbers imaginary? RIDICULOUS! LAUGHABLE!
Well, that in particular proves that very, very few people are going to be trusted with a project that has a $100 or $200 million dollar budget when they're 25 and have no track record. Those are the movies that top the box office charts.

I dunno that you can draw much of a conclusion from that.
The example I'm talking about is the one where he doesn't handle errors either, this one: http://pastebin.com/98CarwzU.

And your example is disingenuous too, why do we need to add so much logic instead of collecting the errors if you want to handle them anyway?

result.push(err || data);

So you don't need to copy around a variable called "hasFail", one line can be enough

var failed = results.every(Buffer.isBuffer);
As someone who's started moving from the imperative world, albeit in Java, C# and Ruby based work rather than JavaScript, I can say that letting go is the hardest part.

However, when you learn to stop worrying and let the runtime decide it's so much nicer. It turns out that people have already optimised the framework, so at worst it's just as fast as the code I wrote. At best it's faster because the framework knows more about what it's capable of.

The biggest thing to realise is that while you can easily make things perform well in isolation the runtime can look at the bigger picture. There's no point making an operation run in 300ms if it blocks all other tasks on the server, when it could run in 600ms and allow everything else to keep going.
Ye, makes sense. thanks for clearing that up. :)
I've read a few other blog posts about Promises in the past months, and also was never convinced. Maybe I never read the good ones, because this is the first one that made me sit up a bit in my chair and think that this is really pretty cool. I thought it was really well written and quite illuminating.
Do people not often use "git commit -m" for commit messages? Curious as to the common level of need to launch the full editor.
thank you antihero — you're my hero!
Nope, the shared scope would obligate me to create a function with binded params for each iteration so "i" is not the last value (e.g. path.length) in every call. Examples: http://stackoverflow.com/questions/1451009/javascript-infamo...
Not making it right or wrong.

But mens' nature being what it is, we can expect that most (straight) men would rather have a flight attendant who's more

female / younger / attractive

and less

male / older / unattractive.
Awesome, Looks like an adventure
I agree with the fact that producers will not invest $100/$200 mn on a 25 year old. Thats the nature of the business. No connection with innovation.
If you are on a Mac, you could check if the emitSMS dashboard widget still works. That's what I used to do in the OS X 10.4 & Nokia dumbphone days :) - write SMS from my Mac whenever I had it running.