skysight-inc/HackerNews huggingface dataset:
Good choice on making Greek voters make the call. It is still amazing to me that with all our technology, we aren't going to the people more to make decisions.
tony, can you email me at wow.its.nothing@gmail.com?

Let's talk. You're not broken goods, I don't care. you're viewing yourself as a victim. Let's flip that shit around.
What kind of precedent would it set if Greece's debts were forgiven? Would there be any willing future creditors should another (very likely) financial crisis arise?
The verbosity itself shouldn't be a problem, if it someway helps to understand the class / method meaning. But, on the other hand redundancy can be a problem in my opinion, specially considering there is always a context where your code lives.
A complete coincidence, I was just watching these worst rocket malfunctions [1] then flicked over to HN and this was #1 story.

Initial thoughts are that the main difference is now we have HD video and for some reason the controllers remain silent after the explosion... Why the silence? There used to be at least some reaction from the controllers. From an "oh no" to "obviously a major malfunction"... no sh*t Sherlock...

[1] https://www.youtube.com/watch?v=m6qJh9upqW8
Sometimes I feel that human beings are tough to please. Once they get what they want, soon it loses its shine. Perhaps it's OK, may be that's what keeps us going. But does that impact our happiness levels? Not sure.
And how do you contact a NOC without whois database to:

- contact a sysadmin who is creating BGP instabilities?
- contact a domain with an openrelay?
- contact the webadmin that is hacked?
- contact technician when programs are creating infinite loops by ping ponging bogus messages?
...
(see this link as a "story from the trenches: why whois contacts are important": https://archive.icann.org/en/comments-mail/01apr99-30apr99/m...)

How do you check an operator has really the use of the IPv4/v6/AS BGP... resources if you cannot find the contact and correlate with the RIR who allocated?

How do you check a set of IP address given to be routed in Europe (for defragmentation purpose of the BGP stream) is indeed routed in Europe without whois?

You know all network protocols are far from perfects and don't always detect "infinite loops" and whois database really needs to exists.

If you had to deal with serious scale sys/net admin you know why this article is as stupid as "having a national ID is a privacy violation and I don't want alien on my territory".

Internet cannot work without all sysadmins communicating together by the means of the contacts given in whois database. Or nanog for the big one in america.
When I first started using Objective-C, I noticed how verbose the signatures were when passing messages, but really liked how it read when you were scanning the source.

After that, I stopped giving a shit about how long my identifier names are and just make sure they explain in a direct (but concise!) way what that method does or what that variable is.
I guess you mean typedefs and not separate classes for Money, TaxPercentage etc.

I recently came across a codebase that implement type classes for almost all types of things it handles and found that to be overkill. Almost always, name and age can be represented by a string and an integer respectively; separate Name and Age classes just reduce the readability in your code.
If there are any Greeks on HN, I'd love to hear the sentiment on the ground.
This research seems barbaric.
I would have called the function "calculateTransferTax". It's shorter while providing the same meaning.

Also, the "tax" argument is the tax _rate_. "tax" in this instance I would expect to mean the final amount. So I'd call that parameter "taxRate".

(And I'd use ints for everything, of course)
But wouldn't spammers and scammers simply use bogus WHOIS information anyway?
Just want to say that there is no such thing as damaged goods.
How to write ES6 with instant feedback using webpack-dev-server and Babel
YouTube cannot assure that no GEMA-licensed content is played during the live streams. To avoid a battle with GEMA here, they decided to ban it.
Proxflow can unblock that in Chrome.
You are talking about whois information for IPs and ASs. This is not about that (based on my brief skimming of it - I'm not sure how I feel about IPs and ASs having their identities obscured). This is about domain whois privacy.
In this case, I'd argue that the names are still bad for a couple of reasons.

Firstly, it's too verbose - a nice middle ground would have been better: calculateTransferTax(Double transferValue, Double tax). It's fairly clear what the tax is being calculated over.

Secondly, I'd say that "tax" is a bad name for the tax percentage since it doesn't describe that what actually is (the percentage / rate of tax), and since it's a Double, I'd expect it to be "0.2" for a 20% tax rather than 20.0 which appears to be what the method would actually expect.
A nice growth hack for early stage products
With .NET Core, is there any reason to not just drop IL2CPP completely?

(The whole thing only existed in the first place because they are stuck on a completely outdated Mono version, due to Xamarin changing the license of newer Mono versions trying to extract money from Unity.)
Elm was my first choice for a different side project. I went away because then elm did not have, or it was my lack of knowledge,support for crud widgets. I miss the elm signal approach in haxe for one thing. Here is the link to my repo so things are a bit concrete https://github.com/asm-products/ccar-websockets.git . Warning: this is still work in progress and there are way too many issues before I can even release this. The elm repo is here: https://github.com/dservgun/elm_projects .

Edit: added some repos to set a context. The original comment about 4th attempt hit home as the latest repo is my 4th(I am going to quickly lose count) attempt to achieve at a model that might work/scale. There are still some issues that I would like to solve: whether to use code generators or not. Code gens will save me some typing, but I found myself tweaking printfs or equivalents to fit it into a narrow model.

Edit II: Elm, iirc, is being supported by prezi that also happens to be using haxe quite actively. So I felt a bit more reassured about using haxe.
More on the training tape incident here, with photos of the hardware and operators: http://nsarchive.gwu.edu/nukevault/ebb371/

According to press reports, based on Pentagon briefings, a NORAD staffer caused the mistake by mistakenly loading a training/exercise tape into a computer, which simulated an "attack into the live warning system." This was a distortion because it was not a matter of a "wrong tape," but software simulating a Soviet missile attack then testing NORAD's 427M computers "was inexplicably transferred into the regular warning display" at the Command's headquarters. Indeed, NORAD's Commander-in-chief later acknowledged that the "precise mode of failure ? could not be replicated."

Fascinating, but frightening.
Boo clickbait title. What the article actually says (from what I can see on the first, ungated page) is that what people refer to as "porn addiction" differs from substance addiction in certain ways (physiological responses to the target of addiction). So maybe "addiction" is a poor metaphor for the problem some people have in regulating porn consumption. Which is very different from denying the existence of the problem.
How would you use ints when there's division in the code? I've heard it's usually better to prefer ints to floating points, but in my limited experience I've found that it's easier said than done.
man if a rat can dream, so can a Rhino who's fucking horn got cut off, so can a dog being butchered for meat.
I don't understand all the negative comments here. I read the article and it sounds legit to me.

The important part is that he didn't stop at one site like many people do. Once he saw a significant (to him) income from one site he was able to multiply the success and scale his revenue by hiring people smarter than him in their respective areas of focus.

Howe many people have seen online "success" with a couple-hundred dollars per month and stopped there, treating it as a hobby that pays a bill or two. This guy went big, and I have nothing but respect for that.
I don't know for sure, but I suspect the (not very extensively tested) launch abort system wouldn't have actually been installed of this flight.
It's part of the job. I was working on a mission scheduled to be launched on Columbia when it blew up. Loss of life aside, that our vehicle blew up wasn't the end of the world. We just used another (which required some adjustment- orbiters weren't all the same).
You're going to have to get used to equality between people you do like and people you don't like, if you want people you do like to have rights and privacy.
Depending on where you live you could arrange to meet places with good public transportation access. Wilshire Blvd and Santa Monica Blvd both have regular if slow bus service and have plenty of options for drinks and dinner.

Ultimately you will need to drive as Los Angeles being the home of car culture is simply not setup for getting to places without driving, and culturally not owning a car in LA is somewhat frowned upon.
Using floating point arithmetics for currency is just asking for trouble: http://stackoverflow.com/questions/3730019/why-not-use-doubl...
I think money stuff is complicated and finicky enough to immediately make the example distractingly non-simple. In English, at least, taxes are usually charged and calculated on, not over things. Do you really mean transfer? Those often have fees rather than taxes. Or is it a Purchase? A Transaction? Isn't 'amount' clearer than 'transferValue?'. Is 'tax' supposed to be a percentage? A fraction? An absolute amount?

This sort of thing is probably why such examples are always blandly about cars and their colors and shapes and their areas.
NBOME can be dangerous in two hits. And at smaller doses then you've taken previously.

It's an interesting series though, very visual.
We don't know any of these people, why are we judging them? Sorry to pick your comment, I had this thought after reading any given comment in this thread. Suppress the instinct to judge people you don't know, it is tempting but pernicious, and (occasionally) the path to great evil.
First of all, being less depressed will help you with women. IMHO you need to fix your own depression before you can proceed. It's also good to learn how to interact with women while not drinking (cue Raj from The Big Bang Theory). Women pick up on a man that is confident in his own skin.

I can't speak for LA, but when I was living in SF I would usually get on OkCupid or Tinder and arrange meetup dates at local coffeeshops. It was an easy first date. If there were no red flags at the coffeeshop, I would ask the woman to a second activity date doing something we both enjoyed.

Hope this helps, Good Luck!
Actually, I think using non standard types increases complexity, despite the more informative naming.

I would now have to look up the implementation of Money and TaxPercentage to be sure of what it does, whereas if you move the type names into the variable names like in the following examples: 'double total_money' and 'double tax_percentage' I would immediately understand what's going on.

I do see how a TaxPercentage type allows you to create a type that restricts itself to percentages. I feel that it is serves readability better to leave this checking to the function using the value itself rather than having the type do it.
PostgreSQL uses serializable snapshot isolation (SSI) for the SERIALIZABLE level, which is a relatively new technique that doesn't have much of a performance penalty.

READ COMMITTED will probably remain the default forever though, because many applications aren't prepared for serialization failures (which should normally be retried).
Augmented Reality glasses will fail without content infrastructure
Ask HN: Rewrite of Industry Leading Application
In a recent thread [1] a lot was said about rewriting a successful application. It's an interesting subject, one I'm experiencing now.

My current employer has (had?) the industry leading application. We embarked on a rewrite last year, and this comment from Gibbon1 is being realized:

>> Problem with rewrites is there is the terrible gap that opens up between the old stuff which goes stale quickly, and the new stuff which isn't ready for prime time. Cash-flow then dries up right as the amount of work needed is maximal. Death follows quickly. [2]

Due to lava layers and architecture, the application couldn't scale to the largest customers, and the UI was showing it's age. So, rewrite! Sales dried up because customers are waiting on the new version. The new version is over due, lots of features are missing. And we're still supporting the old version, which is a massive time sink. Release is imminent, but major features are still being changed.

Has anyone seen success from this scenario, or should I ready my resume?

[1] https://news.ycombinator.com/item?id=9777829

[2] https://news.ycombinator.com/item?id=9782681
In Principles of Psychology, William James speculated that any kind of non-corporeal afterlife would necessarily be non-emotional, since our emotions are felt in our bodies rather than our brains.
I worked on the Linux version of a large program and after some years of it I mostly concluded that it's hard to know in advance which things work everywhere and which won't, unless you ensure your programmers are familiar with the quirks of all the platforms you intend to run on (which isn't really practical).

(I was working on the Windows -> Linux path, but for some cross-OS examples that aren't that I was surprised to learn that while toupper follows your locale on Linux, OS X uses the "C" locale by default. Or that shm_open has a tiny size limit on OS X.)

I think the best you can do is (1) write a lot of tests; (2) whenever you add an OS-specific snippet, use the same ifdef string so it's easy to grep for.
In a language that supports it reasonably, the advantage of genuinely separate types is that the language will prevent you from doing stupid things like accidentally multiplying to monetary amounts or adding a percentage to a monetary amount.

Reasonable support here mostly means that you can implement operator overloads, so that you can define e.g. a Money type that can be added but not multiplied.

Money handling may not actually be such a good example for this, because you should really have proper unit testing there anyway. I did work on a codebase that had types for SI units, and it was quite a nice experience.
As an MTV noogler: It's not 5-star gourmet, but it's better than most restaurant food, and certainly better than any fast food you can get. There's lots of healthy options, too, which I really appreciate, as someone trying for a noogler negative fifteen. (Really I'd like to lose 30-40 pounds; it's hard to be active in Cleveland especially during the winter. I'm planning on biking to work regularly.)
It was 45km in the sky when it exploded. Not much oxygen up there to react with, and most of the fuel would've scattered quickly too due to the forces involved.
That's nothing new - the Electrospaces site has called into question the claims of Snowden and Greenwald on numerous occasions. For example:

- Snowden would not have been able to legally "wiretap anybody": http://electrospaces.blogspot.com/2015/02/snowden-would-not-...

- Snowden-documents show no evidence for global mass surveillance: http://electrospaces.blogspot.com/2014/06/snowden-documents-...

- Document shows that it was not NSA, but FBI that monitored 5 Americans: http://electrospaces.blogspot.com/2014/07/document-shows-tha...

- Screenshots from BOUNDLESSINFORMANT can be misleading: http://electrospaces.blogspot.com/2013/11/screenshots-from-b...
Depends...

Globally? None. This has happened before (even in similarly developed countries - see Argentina) and will happen again.

For Europe? It's now clear that countries in the euro zone can default. A few years ago this was associated with the risk that private lenders will turn away from other Southern European (Portugal, Italy, Spain) countries, in turn raising their interest rates and thereby also pushing them into bankruptcy. Now that most debt of Greece is owned by either the ECB, EFSF or the IMF and the bond markets seemed to be back to business as usual this isn't a huge risk anymore.

Long term it might mean that lenders will do some due diligence even for countries of the euro zone (then again, many of them got to sell the Greek bonds at full value to the ECB, so who knows...)

Edit: As you wrote "forgiven" - debt is usually not forgiven but renegotiated once the indebted country stops (or threatens to stop) servicing said debt in the hope that an agreement can be found which is better then a unilateral default.
> it’s the place where case sensitivity problems really show up

Who made the decision to have case insensitive file systems? If I had a time machine they would be high on the list of people to visit and give a stern talking to.
Full disclosure: I'm the blog author.

If you're claiming that the verbose way is just writing out the special functions, then I can assure you that it is not easier to maintain. If you are saying that the class in question could simply write a nested class that wrapped unique_ptr and had the correct copying behavior, maybe, there are arguments for both.

This example is fully intended to be solid code for production use, not primarily to be "clever".
Even though some anomalies are possible, SQL does a great job of eliminating some of the trickiest bugs, particularly on the error paths.
The me the best convention is Linux kernel coding style. I prefer slightly more verbose variable and function names on interpreted languages, to compensate the lack of static type checking, but calculateTaxOverTransfer() is probably too much.

Local variable names should be short, and to the point. If you have random integer loop counter, it should probably be called "i". Calling it "loop_counter" is non-productive, if there is no chance of it being mis-understood. Similarly, "tmp" can be just about any type of variable that is used to hold a temporary value.

If you are afraid to mix up your local variable names, you have another problem, which is called the function-growth-hormone-imbalance syndrome. See chapter 6 (Functions).

Source: Linux kernel coding style - https://www.kernel.org/doc/Documentation/CodingStyle
Promoting Gender Equality be it in tech or at home
Internet access “not a necessity or human right,” says FCC Republican
(Author here :-)

It's difficult to argue about the merit of subjective experiences, but I think that two things are worth emphasizing.

First of all, my experiences are colored by growing up in relative poverty in the 80s and 90s; I explicitly acknowledge that the Poland I left behind many years ago is not the Poland of today. I think that you are painting a rather rosy picture by implying purchasing power parity between Poland and the US - but I don't think I would be unhappy still living there.

Secondly, the appeal to some sort of a patriotic duty to stay in your country of birth is an interesting conversation that I had with several folks before. In essence, my take on this is that the allegiance you have to your children is much stronger than that to your ancestors and the historical circumstances of the place where you were born. It's a complex topic, but I think there are many equally defensible views.

Finally, as for your comment about "not considering criticism" - I think you may be reading too much into this sentence; some of the social critiques of the US that are prevalent in Europe are quite valid; many others are based on smug oversimplifications. The only thing I'm saying in the quoted sentence is that I wanted to find out for myself =)

Anyway, we won't have a very meaningful discussion on HN, but if you'd like to chat, please do drop me a mail :-) I think our views are probably more aligned than it may seem.
Boy does this guy have his head in the sand. I live in rural Kansas and we have stores, banks and post-offices closing right and left here. I have to drive over an hour to get to a Wal-Mart store. I have a shed-building business and I order windows online. I purchase anything from books to RAM to clothing from Amazon.

Luckily, the disaster relief bill for Hurricane Katrina had a grant for our local telephone company to install FTTP (fiber-optic to the premises) and I have 50mbps in the middle of nowhere.

I liken not having internet to the times I have spent in prison.
Seems like the discovered the effects of low-carb diets sixty years ago?

How did you find this paper, out of curiosity? Makes you wonder how many other discoveries were made and ignored.
Minimal mochajs api in about 100 lines
This is the natural consequence of testing being so expensive that you _have_ to test in production.
Just curious. Why not go for QT for the whole GUI on all platforms?
Elon Musk Tweeted:
There was an overpressure event in the upper stage liquid oxygen tank. Data suggests counterintuitive cause.
Elon: "There was an overpressure event in the upper stage liquid oxygen tank. Data suggests counterintuitive cause."
https://twitter.com/elonmusk/status/615185076813459456
When it comes to code readability, and ultimate reusability, I believe renaming variables is where most time refactoring is best spent. Not only does it encourage better naming, but if the naming or paradigm model is off, it encourages better design.
I was hoping for a switch to Microsoft's .Net, which would enable use of Arcadia (Clojure in Unity3D) for serious/big tasks.

Right now, the GC performance of Unity is horrible relative to what you'd get on the JVM and there's no reason to believe IL2CPP is going to be any better.

When you don't have a generational collector, you have to seriously constrain your allocations, crimping your immutable style.

The Unity roadmap suggests they're going ahead with a Mono upgrade (I believe they dynamically link every platform sans iOS):

http://unity3d.com/unity/roadmap/

So it's probably not on the cards (no pun intended). However, the Mono upgrade will bring a generational GC to the platforms on which it's usable (which will fall somewhere on the spectrum of Editor, PC, !iOS).
SpaceX's launch abort system is integral to the Dragon 2 capsule. It's not a bolt-on and couldn't be reasonably retrofitted to Dragon 1.
Keto's been around for a long, long time.

In my own experience with keto, the biggest reason why it works is that it's very difficult to eat at a surplus. I can eat a pound of pasta in one sitting. In contrast, eating that same amount of calories in meat and vegetables is much more difficult. You can get fat very easily by eating pizza and drinking beer. It is significantly harder to do so by drinking water and eating lentils and chicken.
It appears they have cameras on the outside and inside the rocket... I'd like to see what video they captured of the explosion.
People always bring up the point that it's supposed to be more user-friendly, but all of those concerns are really better addressed in the UI rather than in the filesystem layer.
There were pretty close to Main Engine Cutoff so there would have been relatively little fuel left.
Certainly did not make him a better human being between condoning torture, kill lists, and his utter disregard for human liberties. I wonder how any child could respect such a bloodthirsty parent.
From Elon just now via Twitter:

"There was an overpressure event in the upper stage liquid oxygen tank. Data suggests counterintuitive cause. That's all we can say with confidence right now. Will have more to say following a thorough fault tree analysis."
Considering how little actual help we give convicted felons, that's a lot lower than I expected.