skysight-inc/HackerNews huggingface dataset:
It's not as bad now, since most platforms these days insist on a push mechanism that is common to all the apps. You're stuck with different UIs, but the cost is still like running a single client. Even better, because now they cannot run continuously in the background.
Which is funny because there was a messaging client war in the late '90's as well.

I'm waiting for someone to reinvent IRC for smart phones.
Wait, he didn't keep a 6-12 month cash emergency fund?
I've been interested in developing a secured p2p messaging app for ios for a while now. Unfortunately, that's held back by my lack of knowledge on cryptography.

It seems that p2p is the way forward for the future of communication. We simply can no longer trust the old centralized server model. At this point, I simply assume that almost everything has a backdoor.
"<Tim Cook> said that there are many things Apple does because they are right and just, and that a return on investment (ROI) was not the primary consideration on such issues"

The next time someone trots out the tired old "companies are legally obligated to maximize profits/shareholder value" to explain away crappy corporate behavior, I'm linking to this.

And kudos to Cook for telling NCPPR to take a figurative hike.
Might I humbly suggest carrying Pidgin with you on a USB stick or similar using our app, then: http://portableapps.com/apps/internet/pidgin_portable

I find it quite handy with operating in other environments.
def is_file_for(is_nagyker, type):
return ( (type == KIS_ES_NAGYKER)
or (type == KISKER and not is_nagyker)
or (type == NAGYKER and is_nagyker))
Om looks interesting for more complex stuff, but I agree with others that the jquery version shown for comparison is a bit baroque. Here's a simpler one for comparison https://gist.github.com/twfarland/9285304 Short, magic-free, and sufficient for something this simple.
That's not correct. The latest npm (and any npm configured with ca="") will use the CA baked into your operating system's version of OpenSSL. Our old cert, from GlobalSign, works just fine with OpenSSL.
Interesting the article makes fun of Musk because of the hyperloop idea, but fails to look at SpaceX, which, to me, legitimizes Musk's grand visions.

Who would have thought 20 years ago a private company would be reloading the ISS instead of NASA?
for myself, "primary ...IDE" is much different than "primary text editor."

for text editing, i use a simple text editor. for development with integration with ant/gradle and debuggers i'll use an IDE. i assume you are polling about development, given the context of atom.io, but the phrasing of the question two different ways (in the title and the sub title) is little confusing.
But explaining that could almost make it seem like helping the top line justifies environmental sustainability, when really they should do it regardless of whether it helps the top line.
I guess his finances aren't enterprise-ready...
(1) We've heard this song since invention of the steam engine. Yes, dozens of horse-based and carriage-based professions disappeared due to shifts in technology. Yes, US whaling industry, once fifth largest in the economy, is no more. Yes, water-bearers, ice- and kerosene-sellers are not that common anymore, since running water, refrigeration and electric light became commonplace. But somehow there are hundreds of other professions and occupations, unheard of in the age of horse and carriage, that were created instead. There is always something to do. And always will be.

(2) Yes, of course, people will start giving away their possessions really soon now. As soon as there will be communism, which is right around the corner. I'll believe it when somebody gifts me a yacht and a beachfront house somewhere in Mediterranean. BTW, how exactly you would have your magic robots make everybody their own beachfront house in the Mediterranean?

(3) Yeah right. We just need a set of magic technologies which would do something that was never done and nobody has any remotest idea how to do it, and every attempt in the past to do it ended up in spectacular and very bloody disaster. Technology is not magic, it can do a lot but it can not change human nature and it can not produce everything out of nothing for free.

(4) Businesses are people. You're just trying to dehumanize them because these people stand in line of your agenda. While you are glad to describe how people would gift you their possessions and work for you for free, you still realize fat chance they will. So you just say - well, those not true people, those are "elites" and "businesses" and "special interests" (as if anybody but people can have interests!) and as soon as we disenfranchise them and take power to the real people - abundance and happiness will ensue. Too bad this all was already tried a hundred years ago. With exactly the same words and exactly the same promises. The result was and always will be - blood, hunger, suffering, misery and death.
Nice result :)

Btw, it's tempting to use std::function in the same way as you would use a function in Haskell, but it usually isn't a very good idea. In C++ std::function is for when you want type erasure, usually because you wish to store a functor somewhere with a uniform type. Type erasure in C++ is similar to existential typing + a type class in Haskell. You could say that all Haskell closures are implicitly using type erasure and then the compiler has to work hard to optimize away the extra boxing/indirect calls.

Here is another way to write map in C++:

#include <iostream>
#include <list>

template<typename F, typename A, typename B = typename std::result_of<F(A)>::type>
std::list<B> map(std::list<A> const & xs, F f)
{
std::list<B> ys;
for (auto const & x : xs) ys.push_back(f(x));
return ys;
}

int main()
{
std::list<int> xs{1, 2, 3, 4, 5};
auto ys = map(xs, [](int i) { return i * 2; });
for (auto y : ys) std::cout << y << "\n";
}

You can expect this code to run exactly as fast as if you had written the loop by hand instead of using the map template function.
Heard the same arguments when Musk tried to get into rockets. He has no experience making rockets.

Then there was the naysaying when Apple was first getting into phones. What does Apple know about phones? How can they possibly compete with the likes of Nokia?

Often industries are disrupted by newcomers who aren't constrained by the thinking of the existing players. Yes, Musk can't violate the laws of physics or economics. But the cost structures of existing players aren't always dictated by the fundamentals, but also by their own organizational baggage and structure. Hence, SpaceX can compete effectively with DoD defense contractors hooked on hugely inefficient government contracts. Is it that Boeing or Lockheed can't things as cheaply, or that SpaceX quality has to suffer? Maybe the way the government dictates things get funded and manufactured leads to inefficiencies, like spreading things around congressional districts.

Likewise, for other car companies, the Big Three in particular, they are somewhat constrained by their existing investments, existing unions, and just plain old conservativism and aversion to risk taking.

So maybe Musk will fail utterly. No pain, no gain I say. He also has a chance of succeeding spectacularly.
This tells me how secure the algorithm is. Great.

This doesn't really answer the question "how secure is bitcoin" though, at least not the way I imagine most people would ask - which is "how secure is using bitcoin?"
We've seen these detraction pieces every step of the way.
Wait a second. From the lede:

"The self-described conservative think tank was pushing a shareholder proposal that would have required Apple to disclose the costs of its sustainability programs and to be more transparent about its participation in "certain trade associations and business organizations promoting the amorphous concept of environmental sustainability.""

What is so wrong with that request? Forget your opinions and mine, as well as of the think tank. Asking Apple to disclose what it is spending, and where, is a reasonable request. And even if you're a firm believer in the dangers of anthropogenic global warming, you must understand that not all of the organizations doing research or providing information about it are entirely reputable. Information is good. Put it out there. Let stockholders decide.
Perfectly stated
Fortunately, I never take my care to the UK!
Because it's concern trolling - they do not offer these proposals to actually get the information - they are looking for ammunition to stir the pot.
Using it to power your home would drastically impact the lifetime of the battery. Depending on costs, possibly not worth it.
Software development as a career isn't about making you as the developer comfortable. Your job is to build high quality software using the tools given to you. If you are good at your job, and you are able to be a convincing salesman, you can often build software using the tools _you_ want (this has never been an issue for me anyways), but it is not going to be given to you on a silver platter.

It sounds to me like you are convinced that Node is the one and only way to build the software you work on (I think that's bullshit frankly), and you won't accept any alternatives. Well, you are about to find out the hard way what happens when you aren't willing to work past your own pride.
Also, it's not like Apple's out there on their own investing in renewable energy. Intel, Google, and other tech companies are quite mindful of their environmental impact.
Like I said, forget their opinions, but also forget their motivations. What is wrong with the request?
For the 'method object' one, I use nested functions. Python is not Java or Smalltalk.

The @classmethod example I'd write with an ordinary function also, outside the class.
Usually I just bookmark. If I really like something I just paste that into OneNote. When pasting from a website it automatically adds the address to it.
Though it does require a bit of discipline and effort to keep everything organized which is not ideal.
We already know that the encryption behind BitCoin is sound. But every time encryption has been challenged in recent days it's been because of a bug in the implementation of that encryption. It is never due to some ingenious brute force algorithm that actually breaks the key.

The question we really need to be asking is - have all the major vulnerabilities in the implementation of BitCoin - the ones that could actually threaten its existence - been discovered? Are we sure?

I say this as someone who has been evangelizing to everyone he knows about BitCoin.
GCHQ identified Kinect as possible snooping tool
He also fails to mention when he's bashing the quality of the Tesla that it was ranked by consumer reports as the best car of 2014. As well as motor trend's car of the year in 2013. The stock might be overpriced, but the Tesla is the only car that has non car enthusiasts talking. My Father in law and my mother, two out of touch folks both wanna get a Tesla and can't stop talking about them. There is serious consumer demand waiting in the wings for a cheaper Tesla.
Just some more media trolling, nothing to see here, folks.

Even if he is were for a "stunning fail", let him fail gloriously and fantastically. It only means he'll be that much better at this next time around.

I'm completely confident in his ability to fail in order to succeed.

IMHO, Musk is a rare entrepreneur because it's obvious he considers all lessons learned, isn't afraid to learn new ones, and carries that wisdom forward into each decision he makes.
Correlation studies are fine, but I do worry about national GDP as a confounding factor.

Maybe poorer countries have lower life expectancies, (or whatever PYLL measures is higher), and work longer hours.

I would like to see this graph broken down by quantiles of national GDP.
why? I don't understand the attachment.
As an alternative to checking in your dependencies: have your build server 'npm install' your module for testing, then archive the directory tree. Deploy from the archive.
That's a rathole to avoid if you can. It may sound dismissive, but these guys are cranks, and their time in the spotlight is rightly to be minimized. 97%+ of shareholders understand that Apple goes the extra mile in sustainability and agrees with that approach.
Auto-industry consultant predicts victory for incumbents over silicon valley auto startup. Commenters at startup focused website skeptical. News at 11.
At an order of magnitude less cost
This is quite sensational.. "You mad bro?"
I think it's hilarious that Edward Niedermeyer links to complaints about mechanical issues on a Tesla forum to prove that Toyota is somehow more reliable or innovative.

Did he conveniently forget about all this?: http://en.wikipedia.org/wiki/2009%E2%80%9311_Toyota_vehicle_...
You'd be able to see that though, and you can actually load the form over HTTPS, just use https://pandora.com instead of http. It's stupid that it's not default though, and there is actually insecure content also loaded, so yeah. :(
The article seems like more of negative outlook instead of being based on sound data. It lays more emphasis on "It's not been done before, so it's not possible again". It looks more like the view of a Wall Street skeptic.
What's the purpose of articles like this? Sure, you can make a reasoned, persuasive argument that Tesla is overvalued and/or unlikely to succeed spectacularly but this article isn't that. It's simply a spew of vitriol and derisiveness. Was this supposed to be convincing? Musk can't succeed because, well, E.W. Niedermeyer says so?
Would be awesome if you could make a pull or open an issue.

https://github.com/paradoxxxzero/butterfly

Maybe the author ( as I ) is not sure about this or knows how to fix it.

Cheers
Bloomberg probably just signed a juicy advertising contract with one of the big 3. This is the second such article in the last few days.
You can just have a style guide that disallows those constructs.
You're right, I was far too indignant. I can't say that I don't trust npm. I am a javascript developer, after all. For the most part, I have had a great experience working with Node.js and npm. Further, we were not affected by the bug at my company.

I hadn't seen the seldo's apology when I posted, but they do seem very honestly apologetic. Like I said, I have nothing against them messing something up time and again, especially something that shouldn't break responsible production environments. Everybody makes mistakes.

The big red flag to me was the deletion of Rob's criticism. I know they must have been very stressed out, but it wasn't a good move. The industry needs to question if we can rely on these people, and kneejerk reactions like that don't earn any trust.

Nobody can deny that trustworthiness is a touchy subject as npm transitions into a real company. Node developers rely on the reliability of thier development stack, and the reputation of node is largely in the hands of this organization. As npm changes and becomes more opaque, it will become harder for the open alternatives to keep up. If npm gets messed up, node does too. For developers working on production node projects, there is certianally something to loose. If the time comes that npm does need to be forked, the path forward will certianally be a bumpy one.

For the time being, I continue to trust npm for my js modules (and even with my "life", considering I have a few -g installed modules.) Like I said, developers working on node projects don't have much choice, but after reading their apologetic response I will continue to trust npm.
Also, SpaceX iterates stupid fast. How long did we have the Shuttle? The next Falcon 9 rocket already has landing legs on it to test its helium pneumatic pistons in preparation for first-stage return to launch pad.
That line about legal obligation doesn't even pass basic analysis. Who is to say what maximizes value? Contributing to open source creates a good name, but does it harm the company by helping competitors?

It's such an idiotic line and is usually given as a poor substitute for reasoning about a company's actions.
Facebook/WhatsApp deal haunted
Interesting article in retrospect.
Perhaps to drive TSLA stock down so interests who didn't get in at a lower price can?
If this has been Python, a missing/extra indent might've caused a similar issue, or even a duplicate function call. What evidence is there to say that if a C programmer can sometimes miss duplicate lines of code, a Python programmer won't miss duplicate lines of code or a missing/extra indent?

I find it hard to believe that this code had a proper peer review before being committed. A 2nd and 3rd set of eyes experienced at reading C should have spotted this.

They could've spotted this, and maybe due to some other factors (e.g. some people just don't want to point out other's mistakes, like hierarchical cultures) let it pass; or the other reviewers were at the same competency as the one who wrote the code.
Seems like someone wants a faster horse.
I've stuck to ThinkPads. They are great....or were great. They recently changed the keyboard (bad) and also got rid of the physical mouse buttons (NOOOOOO! BAD LENOVO!).

With those gone, there isn't anything particularly compelling about the current ThinkPads. In that case, just pick most anything and go with it. Ubuntu should run great on most anything these days.
Really forbes? One line on the second page..
Seems very easy to steal. and 200$?

I'll buy mine second-hand at the black-market ;)
The standard rate for overhead billed to a grant is 30% and this has increased over time as has the amount of university administration and their salaries , so almost certainly we're not dealing with increased physical plant costs(typically, specific research equipment is billed to the grant, overhead covers things like building maintenance and admin costs).

So yes, (some) science is expensive, but universities also profit from it.
It could never get past that super-secure launch code.
I saw an interview with Musk where he said precisely that. SpaceX's innovated with process, not necessarily technology.
If you wanted to, you could create an iOS client using the tox core. That way you don't have to worry about lacking crypto knowledge. API documentation is being put together here http://api.libtoxcore.so/ for client developers though it's not complete. You could also help with the current iOS app being developed!
A couple of links containing reviews, tests etc:

https://wiki.ubuntu.com/Testing/Laptop

http://www.linlap.com/

-------------------------

And a bunch of earlier HN discussions:

https://news.ycombinator.com/item?id=6514512

https://news.ycombinator.com/item?id=5088260

https://news.ycombinator.com/item?id=5503047

https://news.ycombinator.com/item?id=4847720

https://news.ycombinator.com/item?id=4262106
Please fix the title editorialization.
irccloud.com,
FWIW, probably the better option is to use proxy systems like SudoPay so that we can have zero downtime if anything gets blocked for any reasons.
But you can't. If the motivations weren't there, they wouldn't have asked the question. That kind of question only exists when there's an underlying motivation to use such information as ammunition. This is why such attacks are so cunning. The question sounds logical and fair, but it must be avoided because the potential damage is massive.
Exactly right. I once timed my departure from such a job within a period during which lines lost to attrition or retirement would not be replaced. This was soon after a reorganization. The loss of direct reports hurt the manager's street cred.
The angry Cook wasn't responding to the proposal but to the NCPPR rep who asked questions with the intention to stir the pot after the board already rejected the proposal.

> During the question and answer session, however, the NCPPR representative asked Mr. Cook two questions, both of which were in line with the principles espoused in the group's proposal.

> The first question challenged an assertion from Mr. Cook that Apple's sustainability programs and goals—Apple plans on having 100 percent of its power come from green sources—are good for the bottom line. The representative asked Mr. Cook if that was the case only because of government subsidies on green energy.

> Mr. Cook didn't directly answer that question, but instead focused on the second question: the NCPPR representative asked Mr. Cook to commit right then and there to doing only those things that were profitable.

Pushing the CEO to commit to a promise to only do things that are profitable is a nice way to change the whole tone of the conversation. The NCPPR rep could've asked it differently without demanding something from the CEO.
Besides that, even if he fails I am happy to have lived with someone like him among us.

Every time I see these negative media people pulling the right things down and the wrong things up, I feel these blokes are by design all about increasing entropy (Could be true!). There is no fix for broken media so to speak.
Interesting military hacking. Is it wise to unveil this missile exploit?
Well, for Apple to collect that information would probably be significant work. What's the cost of swapping out bad metals in their batteries? Some of it is really hard to quantify.

But, it wasn't a serious request for information. That's what was wrong with the request — it wasn't one. They were trolling. And you don't feed trolls.
Says the people that do nothing but report the news.

"She can tell you bout a plane crash, with a gleam in her eyes. They love to cut you down to size."
Indeed. The article ignores the history of success in the face of comments just like this one.

Example: Many, many naysayers said the idea that Tesla could begin shipping the Model S to customers in 2012 was absurd, that they were naive and didn't understand the complexities of building a vehicle like Detroit does, etc. Well, they just did it.

Before that, everyone said nobody would buy electric vehicles because (a) you can't get them over 100 miles in range, so nobody will want them, and (b) because there is no charging infrastructure. So Tesla just built bigger/better batteries and built a charging infrastructure.

The problem with articles like this is they are just some random guy saying stuff and it doesn't matter to him ultimately if what he is saying is correct.
That's a non-problem because people who care about online security don't have JavaScript enabled by default.
Completely agree. Whether or not worker safety contributes to ROI should never be a question. Same with environmental impact.
All of which can be done with less? It really doesn't make sense to load up a large file in a text editor and parse the syntax and such if it isn't going to be edited. There are already very good tools for text reading.
Interesting stuff! (Curious, why not just link to the SuperUser question instead of the LifeHacker link, though?)

I rarely use USB drives these days, and I don't remember the last time I used one that didn't belong to me. Probably for the best.
Of course. Anyone violating The Fair Debt Collection Practices Act should be punished. Also, anyone who owes someone money should pay it. If there is a dispute over the validity of a debt, there is a provision in The FDCP Act to handle that. Everyone should be held to the rules equally.
> "The mobile payment industry is saturated with competition"

No. No it isn't. The mobile payment industry is saturated with a lot of average products and tons of opportunity to do things better.
T think there's a whoe new(ish) class of answers to this question if you ask it as :"What Are the Dangers of Using an Untrusted USB Drive from Travis Goodspeed?"?

http://travisgoodspeed.blogspot.com.au/2012/07/emulating-usb...
From the people who was there, it didn't sound like the way this press release suggested it went. This was probably intentionally worded as such to stir the pot.

Cook got angry when the second question was asked, which sounded like the rep demanded Cook to commit to a promise not to do anything that won't make the company more profitable.
Wow, did Eric Schmidt run over his dog or something? Guy's got a serious bias!