skysight-inc/HackerNews huggingface dataset:
You should never write Go code by swallowing errors first and promising yourself you'll clean it up later. You should be coding the error path first, and backfilling your business logic. The error path directly informs your method definitions and the structure of your code, which resist modification once they're in-place.
I'm using this tool from the Mac App Store: https://itunes.apple.com/us/app/cookie/id415585910?mt=12

The UI is pretty bad, but it seems to be doing its job.
Qubes OS: My Experience So Far
Somewhat related and another great read - the detailed plan for a never-launched Columbia rescue mission (including a space shuttle rendezvous):

http://arstechnica.com/science/2014/02/the-audacious-rescue-...
About 10 years ago, I had to do a php/mysql online shop for a customer, and I did not had much time for the backend.

So I bought a ~$100 product, I think it was CodeCharge Studio from YesSoftware. I was skeptic, but I had no option.

Turned out great. I was ready in a day and it looked very good. You could generate the admin site in multiple languages and it was very easy to use.
Karma isn't a huge factor, at least this is what my own experience here has led me to believe. My very first post here got over a hundred upvotes. Your post was probably just overlooked. It happens.
> If the hashing is made more efficient, that doesn't make it simpler for an attacker to grab a bigger % of the total hashing. After all, it's easier for everyone, so everyone can do more.

Sure, but "more efficient" doesn't mean anything when the whole point is to burn CPU cycles. If you figured out a clever algorithm to do hashing 2x as fast, that would just mean everyone did 2x as many hashes, burning just as much power as before.

> End result: Miners race to mine a block, then are sitting idle until the next block time-unlocks. We still have the same problem for the attacker; they still have to take over 51% of the hashrate but as they can't defeat the timelock they have no way to improve their position.

I guess that works, but you're assuming a magical timelock that can be synchronized to the millisecond across the distributed bitcoin network, and can't be sped up by applying more computing power. That kind of timelock seems very implausible; I can't imagine how one would even begin to go about implementing such a thing (given that the whole point of bitcoin is not to rely on any centralized authority).
Netflix streaming is now 31% faster on Verizon FiOS 5 months after peering deal
You might recognize this as being similar to the Stanford page but a slightly different header:

http://theory.stanford.edu/~amitp/GameProgramming/AStarCompa...

The Stanford page links to a redblobgames e-mail so it's probably the same person
Well it is a West Coast Internet company, headquartered in San Bruno between Google's Mountain View HQ and San Francisco. In fact I know quite a few Googlers who moved to Youtube because it was closer to the city and saved them an hour+ googlebussing ;)
When Theft Was Worse Than Murder
Reliant Robin, not Renault. The French have nothing to do with it, you'll upset the proud Englishmen.
I've heard Melodyne solves this problem very successfully, and the demos look impressive. Any idea what it's doing? Is it patented / secret / witchcraft? Or just has more templates?
Why is dynamic typing a feature of high level languages? I know quite a few high level languages that are statically typed. And what does C have to do with C++?
A good language is not one which maximizes the number of "cool new features", but rather one in which all features interoperate coherently.
Edo – Save time. Live better
> They are solving the password problem well, but only if you seek out the tool and understand the need for the tool

How about Apple's Keychain? iOS and Mac users get suggested auto-generated passwords that are then automatically saved and synced across devices with no extra installs or options.
I grew up in the English countryside a few miles away from a US airbase which was designated as one of the possible landing sites in the event of an aborted launch, due to it's long runway.

There was an American couple living in our village and the guy's job was to be on call during a shuttle launch. Suffice it to say he and his buddies spent most of their days playing poker.
That's really interesting. I've noticed that complaining on Twitter often helps things get moving when the telephone support is giving you the run-around, but I always assumed that was because I was airing their dirty laundry publicly. Seems like complaints via non-standard routes work even when private...
Ask HN: Is it hard to get to Level 2 in our phaser.io game?
Anytime I read something along the lines of "The nation’s Communist leaders"

Except that that's the conventional journalistic way to refer to leaders who come from the political party with the formal name Communist Party of China (中国共产党). The party has been ruling China as a one-party state, in effect, since 1949, and Marxist-Leninist official ideology (which declares that China is currently in the stage of "socialism," in Marx's view of history) is still the framework for discussing national policy in the state-controlled press.

Unfortunately, the constitution mostly has not been followed.

That's an understatement. Yep, most countries that are ruled by a formal Communist Party have very appealing language in their written constitutions, because the constitutions are strictly propaganda documents, not legal documents that a citizen can take to court to rely on for protection of individual rights.

I'll trust the journalists who are not under direct party control for information about China, thanks.
Please let us know if we made it too hard.
It fragments the ecosystem. A developer that does not want to use a feature gets limited in its choice of libraries. It makes it harder for people to contribute to other C++ projects (experience can not be directly translated since different aspects of the language might be used).

Exceptions are a good example of that: you can't use a library that's built around exceptions for error reporting if you don't want to use exceptions in your own code.
Apple's Swift makes more sense with its curry feature. If you have class 'C' with method 'm' taking argument 'x', you can call that method either like c.m(x) or C.m(c, x) because C.m is automatically provided closure taking instance of C (typically as "self") and argument x.

Most importantly, there is no magic going on with namespaces. Method 'm' still belongs to its class's namespace.
It's not a necessary feature of high-level languages, but you won't find it in a low-level language. The same with all other features I've mentioned.
That linked discussion is a pretty common copyright pitfall, and not only on Wikipedia: people often assume that they own the copyright on photographs they paid a photographer to take of themselves, but this is often not the case. It depends on the jurisdiction and the agreed to license (if any), but often they aren't automatically considered a work-for-hire.

A very common arrangement is that the photographer retains copyright, and the subject gets only a right to use the photographs, not copyright ownership. Therefore the subject can't release the photograph under a CC license, because they aren't the copyright holder. In some cases the subject/purchaser has bought only noncommercial rights, not commercial-use rights (as in this case, where the photographer retained commercial-use rights, which he subsequently sold to Getty Images). In very traditional arrangements the subject doesn't even have reproduction rights: they have to order more prints from the photographer if they want more copies. All they own in that case is the physical copies they've bought from the photographer!

The short of it is: if you want to own the copyright on photos you pay someone to take, make sure you get a copyright assignment in writing. It is getting more common for photographers to agree to do that. Incidentally this is good practice for software contract work as well: the contract should clearly specify who owns the copyright on any software produced.
Google DNS was down !
https://twitter.com/search?q=google%20dns%20down&src=typd

BTW, Not sure if anyone noticed, I changed the title on this thread twice. Started out as "Is Google DNS Down ?" then went to "Google DNS is Down !" and finally to "Google DNS was down !"
Microsoft Roslyn compiler project will boost C#, Visual Basic
Setting Up Your Text Editor for JavaScript Development
The US has been pretty low on my list of places I might want to visit exactly because of this constant undermining of basic rights and freedoms. Civil forfeiture and the police apparently being able to shoot you for whatever reason they choose, is the nail in the coffin.
Well, same goes for sites using elements from Twitter, Facebook, Google (think of their JS CDN)... For those sites you can use https://disconnect.me/
http://www.docracy.com/

Really like this idea. Haven't been able to test it out yet due to HN overload. Will check it out again later.

Also, on the pricing tables. Headers and some text acting up with the responsive design for small screens.
Yep. As is google search - a little bit, anyway
First of all, don't flame me too much because if you follow my advice it wouldn't be C++ anymore. This is not a suggestion about the post but an invite to think.

I always wondered why somebody designs object oriented languages with functions and eventually run into this kind of problems.

An answer might be that they're not willing to wrap fundamental types with classes, even if it would be only syntactic sugar that the compiler can easily unwrap without losing efficiency in the generated code. Probably this is not the only reason, as for the case of Python's len() and the like. Python's designer actually wanted functions to make sure all classes had the same methods, exported as functions.

Furthermore there might be historical reasons, in the case of C++ to make it look like C. Too many differences can scary people away. Think about what it took to make Objective-C successful, the almost impossibility to use any other language to program on a given platform.

Finally, there is convenience, as in void fn(int x) {...} main() { ...; fn(x); ...} By the way, Ruby solves that by adding fn to the Kernel class so it allows the same convenient syntax in a complete OO world.

Anyway, an OO language in which everything is an object doesn't suffer from the kind of problems the post is trying to solve. Years ago I went to Ruby from Java and a little of C++. I was happy not to have that kind of int vs Integer duality. Then I looked at Python and found it a little bit weird with functions mixed to methods, but that's the way it is.

So my advice is as radical as unrealistic in the case of C++: if you want to change the language, make it use methods where it still uses functions. The compiler will deal with that. Remember that when you'll design your next OO language :-)
Stroustroup tries to bend your API to his liking only because in his opinion certain syntax is "older" and more "general". Alarming quotes:

"The functional (mathematical) notation is far older and more general than the object-oriented dot notation."

"For example, I prefer intersect(s1,s2) over s1.intersect(s2)."
6 Reasons Carl Icahn Overvalues Apple by $700B
Show HN: CLI tool for capturing responsive website screenshots
I wouldn't say give up on F1, but certainly adding WEC into your viewing is a must. I'd actually say that WEC increased my enjoyment of F1 as it reinforced the strategic racing aspect, rather than judging the race by its overtake count (if you want both, add in BES. GT3 has close racing, but the endurance element adds in the strategy too).
Interesting - now you say it, that's how I feel as well, that it's more about the sport in general than the races themselves. I'll quite happily skip watching a race, but almost never skip reading the news and rumours in between.
and i was just yelling at our system administrators for screwing things up!
How  Facebook Geo-Targeting Will Change Your Life
Why don't you use Bootstrap?
Sure, but "more efficient" doesn't mean anything when the whole point is to burn CPU cycles. If you figured out a clever algorithm to do hashing 2x as fast, that would just mean everyone did 2x as many hashes, burning just as much power as before.

By more efficient, I'm talking about being able to force all clients to not work 100% of the time by way of the timelock, not about hashing 2x or 3x as fast.

That kind of timelock seems very implausible; I can't imagine how one would even begin to go about implementing such a thing

Nor can I; however that was the subject of the original article that we're all commenting on, it discusses possible solutions to this (none unfortunately are up to scratch). If such a timelock could exist, then you could reduce the CPU load of bitcoin down to minimal levels without affecting the currency.
The great thing about China as a country to study for examples of national policy is that China was divided into two parts. After 1949, when the Chinese Nationalist Party (中國國民黨) regime had effective control only of the island of Taiwan and a few offshore islands that are technically parts of other provinces of China, its policy direction could be distinguished from the policy direction of the Communist Party of China (中国共产党) regime ruling the mainland regions of China. Land reform, all over the world, is a crucial problem in national economic development. Taiwan's program of land reform was notably successful[1] and acclaimed in books from a rather leftist perspective[2] by the 1970s. By the 1980s, I was living in Taiwan and occasionally visiting Hong Kong and China during a three-year stay overseas, and I had been continually reading the Chinese press (first in English, and then in the original Chinese) since beginning my study of Chinese language and history in 1975 (while the Cultural Revolution in China was winding down).

I've seen a lot of policy claims about China go back and forth over the decades. Plainly, China's Communist government has never been as careful about individual rights or civil liberties as Taiwan's government was even while it was still a one-party dictatorship. (I lived in Taiwan both before and after the mostly peaceful transition to multiparty democratic government with full protection of individual rights and civil liberties there, and China is nowhere near as far along that path as Taiwan already was in the 1970s.) Rural people in China need economically productive employment to continue to advance in prosperity. The country still needs food production, even if it ends up with many fewer farmers, as all other countries do along the path to economic development. Private land rights with actual legally protected sales of those rights can eventually rationalize how land is used for farming, and who lives where. (Many of my uncles and quite a few of my cousins in the United States in 2014 are STILL farmers, generations after when most Americans have stopped being farmers.) The key issue is whether the Communist Party's overwhelming appetite for corruption will allow the needed economic transformation to happen or not.

[1] https://en.wikipedia.org/wiki/Taiwan_Miracle

[2] http://www.tni.org/tnibook/how-other-half-dies-0
The Sveriges Riksbank Prize in Economic Sciences 2014
Confirmed. Its back up from my location now.
One point I always remind myself on is that the tyres are actually the most important part of the car (no tyres, you're just driving round on titanium discs...), so they should have outweighted focus to a certain degree.
The problem is that there is no way to reduce complexity in a programming language that is serious about backward compatibility. C++ now has close to 30 years of non-trivial additions built on the craggy basis of backward compatibility with C and its own feature set.

In the early 1990s, it was complex. The Annotated Reference Manual that was used as the de facto standard was full of edge cases and detail that required a great deal of study. No other language since has approached that level of complexity and I'm talking about what it was like before templates.

I sincerely believe that C++'s downfall is underway and it comes from a very simple fact - it's increasingly hard (read impossible) for new C++ programmers to go from zero knowledge of the language to being able to read and maintain modern C++ programs that have taken full advantage of the feature set over the past decades.
It seems to be working again now.
Capturing the Potential of Outlier Ideas in the  Intelligence Community (2011) [pdf]
ActiveHours: spend your paycheck before getting it
Previous discussion: https://news.ycombinator.com/item?id=7305224 (252 points, 228 days ago, 152 comments)
Works from here.

Did you test the secondary (8.8.4.4)?

Edit: twitter says the secondary was down aswell. So I guess I'll have 208.67.222.222 (OpenDNS) as the second DNS on my systems from now.
How Leaders Pick Leaders: 3 Executives Reveal How Promotions Are Decided
Charles Petzold Departing MSDN Magazine
My grandparents had lead christmas tree tinsel, which they carefully removed from the tree at the end of christmas and packed away for next year. It was admittedly beautiful, and it hung straight down without fluttering around like that cheap plastic stuff!
As I mentioned on my post entertainment system is not connected to the flight system.
The interesting part to me with this, is that for the last 20 years or so there's been a certain strain of C++ development, spurred on by increasing template/meta-programming support, that have advocated for moving more code to non-member functions, to benefit from improved reuse.

But this has been awkward because it means calling conventions may often be different and functionality that's "mixed in" this way seem far less integrated than functionality that's brought in via inheritance. It's also had the disadvantage that if you ever suddenly needed one of those free-standing functions to depend on internal state of an object, you'd either have to break encapsulation, or break the API (by moving the function into the class), or provide a legacy function to forward to the new API.

This change would make it even more attractive to break out functionality that does not depend directly on the internal state of an object as standalone functions, in effect creating a sort-of "limited class re-opening".
I would expect some comments on covariance here.
With this you seem to have a magic first parameter x that gets to be dispatched based on the runtime type of x,
while y isn't and gets to be overloaded according to its static type. The dot notation at least conveys some notion of x being looked at in a different way than y.
The depleted uranium powder we scattered all over the countryside is worse than lead.
Yii, feels more complicated, and rough around the edges to me...than laravel... There's just a lot of things that make sense to me in Laravel.
With LinkedIn being as bad as people say, why do people sign up to it?

For me, it's because not being part of the network is worse than being part of the network. LinkedIn is probably more prevalent in the business world than even having a Facebook or Twitter account, so to me it would look odd if I were not at least findable there, even if I don't maintain my profile.
Optimus Prime, Sheriff Woody and What Makes a Character Great
1. Ebola's rate of infection is ~1.5 - 2 new infections per infected persons [1] Even though this is an exponential rate, it does nowhere get near the rates of many other viruses. As such it is easier to restrict further infections than it is for most other infectious diseases.

2. The 1.4M people prediction from the CDS assumed no intervention or help from other countries and a collapse of the local healthcare systems. That's why I am saying that we should focus our efforts on helping the healthcare workers in West Africa.

> Who knows what the infection rate will be outside of West Africa
Way lower than the rate in West Africa, that is for sure. Ebola doesn't spread through the air, you have to get in direct contact with body fluids. You don't get infected by sitting in a bus or plane with someone, who is infected. Most of the infected people are healthworkers in a setting without protective clothing, even gloves are rare to come by.
Others are direct relatives who don't know much about ebola and who have burial rituals that are very different to the ones most of us are used to. It is very common in West Africa to wash out the mouth of dead persons and to kiss them goodbye. I am pretty sure this would not happen in the US or Europe, especially not if the deceased person died by bleeding out of all body openings.

A very large majority of ebola infected people in West Africa can't go to a hospital - there are no free beds at the moment. So they go back home to their families. THIS is how ebola spreads.

That's why we have to act, but not by panicking, but rather by sending well trained medical staff to help.

[1] http://www.nejm.org/doi/full/10.1056/NEJMoa1411100#t=article
Sounds cool an all, but mesh networks are slow and very insecure, the blockchain doesn't scale and thus cannot remain fully decentralized, and there's no practical way to run a trusted autonomous agent in an untrusted environment.

Computer science researchers have been working on and dreaming about these ideas for decades. It's great that some of them have found real-world applications, but that doesn't mean a revolution is near. It will be just as hard as it used to be.
Cool, I'll make sure to check it out. I hope it can help me finally connect Meteor to my Jenkins.
This idea _almost_ sounds like a joke. A member function is indeed different from a non-member function precisely because it is not a member of the set of functions responsible for maintaining the object's invariants. Treating

f(x, y);

as

x.f(y);

only makes sense (to me?) if all other things being equal, if f(x, y) is a friend of the class. And picking the member function form over the non-member function in the caller's scopes seems like a step away from encapsulation. Prefer non-member functions. Scott says so!
Hey, thanks! Looks like it might be something useful. If people finds this thread in the future I have also looked at https://www.ragic.com, which seems really powerful.
Show HN: Laravel Database Designer
> I'll trust the journalists who are not under direct party control for information about China, thanks.

I'm not sure I'd trust a lot of US press to be entirely objective on China, though, and in particular, when it comes to a different economic strategy than is the norm in the US.
Alan Turing and Enigmatic Statistics (2012) [pdf]
The patent office is rejecting a lot more software patents
If you sell services to business professionals, or Enterprise software, LinkedIn is a very powerful marketing and and market intelligence tool.

e.g. I already sell a product to lawyer John who practices speciality X. With LinkedIn it's easy to find all the people who look like John, and then try to pitch them on my product.
Radio interview: Peter Thiel talks valuations, investing, economics (10/13/2014)
Link should skip to 1:41:40 (interview is 40 minutes).
You have two months
Chris Fenton here - someone did actually send me an 80MB 'disk pack' with software, and I was able to modify a super old disk drive to actually read it:

http://www.chrisfenton.com/cray-1-digital-archeology/

And thanks to some awesome help from others, I was able to actually recover a copy of COS (Cray OS):

http://www.chrisfenton.com/cos-recovery/

Andras Tantos and I have been collaborating on this together for a while now, and he actually has a downloadable Cray X-MP datacenter simulator he wrote, where you can run the COS image I found:

http://www.modularcircuits.com/blog/articles/the-cray-files/