skysight-inc/HackerNews huggingface dataset:
You are right, I forgot about Gnome and KDE. I tend to use classic shells on Linux, and the graphical shell on Windows, so I made a wrong generalization. It's probably more accurate to say that "undo" of simple operations (rm, mv) is something graphical shells get right.

But why are classic shells shipped without even the simplest "undo" features? We can probably all tell stories-from-the-trenches of how we accidentally did something aweful by typing the wrong command. Sometimes, it's hosing the network configuration of a remote machine, which is not something where "undo" would help you. However, in my experience, most cases involve doing something foolish with rm or mv, where "undo" would be tremendously helpful. I guess the main reason why I don't use the text shells of Windows is that Windows explorer gives me Ctrl+Z, which is saving my behind approximately once per year.

As a final thought, all shells (graphical or not) should expand the undo-features beyond rm and mv. For example, if I change system settings (or even Application settings?) and am not happy, I would love to be able to simply "undo" them, without trying to remember what the previous setting was. I realize that this is an incredibly hard problem, and that it is unlikely to be solved in an evolutionary step of the existing shells. That's why hearing about NGS got me so excited.
I like this idea except I don't use facebook. Sign me up when you target HN :-)
no one should feel pressure to be on either side of this fight

The >40h engineer coming into the office on weekends is, by that very act, pressuring the =40h engineers.

Besides, this isn't the Apollo programme, this is Pinterest. What's the maximum upside of your accomplishment, a return to Pinterest's stockholders?
I don't agree with a lot of the conclusions of this article. E.g. they propose that voting "probably" works the same way in all other countries as the US. There are plenty of objections to be made against that. E.g. 1) the US being a two party state means that getting representatives which represents the great variety of voter opinions is exceedingly difficult.

2) US elections are so dominated by advertisement, expensive campaigns and donations that there is no way a politician can actually do what they tell voters because at the end of the day they have to satisfy donors otherwise they can't get money to run elections. There has been studies that show American politicians are mainly aligned with the wishes of the rich rather than people who vote on them.

That is just two big points, which makes the US stand out of many other western democracies, and there are multiple others.

My other objection is that Boaty McBoatface, somehow represents the will of the people. No it doesn't. It represent the will of people who bothered to vote on an issue most people likely don't give a dam about. If a choice was demanded of the whole population then Boaty McBoatface would never have won.

Whenever there is an issue most people don't have a vested interest in or think is very important it is likely that whoever wants to stirr up stuff or make some fun are going to win, because nobody else has any incentive.

This is of course a major issue with democracy. When you let people make decisions on things they don't really care about then they will make poor decisions. Democracy shouldn't make everything a choice, but rather be about choosing people you think will make good choices on your behalf.
A .kiteignore file would be brilliant. I do a lot of contract work, but also a lot of opensource. My issue with Kite is I would forget to disable it for some projects. If I could have my default project scaffold contain a "*" .kiteignore file it would reduce this fear.
awesome python decorators – let's collect all the interesting ones
I'm really curious, what makes you choose and follow rules that other people set up (i.e. whatever part of being an Eastern Orthodox Christian forbids euthanasia), instead of making choices yourself, whatever you believe is the best for your life? Even if you agree with most of what your religion prescribes or suggests, couldn't you just pick and choose the parts that you like and that influence your life positively, and throw away the rest?
Thanks for letting me know how it affects you. :)
If you believe it would have been outrageous that this man had his name in a british ship, you'll be surprised by the shitstorm that would happen if his name would be given to a spanish ship.
This depends entirely on the person above you. I've found in the past that doing this just results in the person above me either (a) feeling threatened, or (b) relying on me to solve all their problems. Neither is good for career progression.
Funny, that is how I feel about 95% of the thousands of programmers I've talked with over the last years. :)
I've recently set up a Sentry installation internally and I'm quite liking it thus far. We're slowly rolling it out over most of our applications

There's a few things which could be improved for our specific use case, and because it is open source we will most likely make these improvements and try to upstream them where possible.
There are many days I too feel I'm ready to die. But then realize I'm not ready. Couldn't understand why.

Reading what Pieter just wrote makes realize that I lack fortitude in one aspect: compassion. Pieter's words confirms to me that one needs to wield formidable muscles in the compassion department for one to be at peace and be ready to die.

Great man, Pieter.
Farmers have almost no leverage ... It's one of the lowest paid and most difficult job of the modern world. In practice, in relation to what they produce, they are already paid really close to zero so I'm not sure what's your point. You cannot seriously compare farmers with a global company like Monsanto.

And I'm talking about copyright/patent laws here, not wages, so it's even less related.
I really don't know why people hate Unity so much. If you don't want to be stuck in the last decade, regarding desktop workflow (Mate, XFCE, etc.), and if you want to actually use a mouse, your options are basically Unity, KDE, Gnome 3, and Cinnamon.

At the moment, I think Unity is the only one that is not a horrendous misdesign (Gnome 3) or consists of a shoddy and insecure plugin framework that is a moving target stability wise (Gnome 3 and Cinnamon). I never liked the fussiness and the looks of KDE. So far, Unity has been the most stable, configurable (Compiz) and, most importantly, productive experience for me.
Show HN: Crowdsoon – Curated Pre-Launch Crowdfunding Campaigns
Yeah, that was very weird.

Edit: Ah, it must have been a typo, now it's fixed.

> I was checked in and put on antibiotics, which fixed the pain, and on 18 April my oncologist confirmed it was cancer.
Show HN: Unofficial Syncplay client for Android
No.

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

> PieterH 3 days ago | parent | flag

> Just found out today, after a week of tests and six weeks of feeling gradually worse. I'll try to answer your questions. I'm on my phone.
13 Actionable Onpage SEO Tips for Ecommerce Website
Depends on what you're defining as "things". In terms of base instructions? No, all you can do is do less things. (Edit: Although even here, you can do different things to make the overall process cheaper - multiply by the inverse instead of dividing, replace a sin() calculation with a lookup, etc.) In terms of intermediate goals? If you have to process 500 objects, you can either find a way to skip some of the objects ('reduce the number of things you do') or you can make processing an object as fast as possible ('doing them more efficiently').
That's why you're supposed to use law enforcement resources where you know it makes a difference. The FBI made this whole circus around this phone when everyone already knew they wouldn't found anything. But worst of all, they didn't even bother to check the metadata for that phone, which would've also confirmed whether the phone was used to set-up crimes or not.

It was all a ruse to get their precedent for backdoors, and now they're dripping this (probably bullshit) story to the media in a way that further progresses their agenda, after classifying the information in the first place.
Nice shots! If you do it again, you might find the AVR's analog comparator is a better route than the ADC. I use an external comparator on an interrupt pin in my sound trigger, which gives more flexibility.

Perhaps I can tempt you further with a discount. Use the code HACKERNEWS for 10% off. That's open to anyone else reading this too, and is valid until next week.
Containers in the Real World – Stepping Off the Hype Curve
Rethinking the High School Transcript: An Exercise in Data Visualization (2013)
Learn new languages
I think whatever this ship ultimately ends up being called, it is going to be forever more informally referred to as Boaty McBoatface by anyone who goes near it, or to who has call to reference it.
Thanks for catching that. I was figuring the dates out on my calendar and slipped down a row. It was the 18th.
The reason why nobody has sortition, is because deep down democracy is about being as agreeable as possible to the median citizen. If you have vague feeling that you decided who is prime minister, you are more motivated to pay taxes and fight wars.

The country that gets least tax evasion and most volunteers to army is likely to perform better than anybody else. And so survival of the fittest governments has favored democracy for past three centuries.
> We should be focusing on saner bash defaults

Yes! A huge part of the fragility of shell scripting is the fact that there are a billion options which change crucial semantics of how the language works.

Just pick some goddamned sane option values and disallow changing them!

There's a reason you don't see this kind of nonsense in "real" programming languages: It plays absolute havoc with reasoning about what will happen when you run a script. (You could easily miss the fact that the shebang line does/doesn't contain "-e" or that option to error-on-unset-variables is/isn't set, etc.)
Was there something on the phone what made it worth it? I don't know if I understand the hypocrisy of hn. We cry "oh humanity" when Ford pays $50k over sticker for a new Tesla car for reverse engineering but of course if the FBI does something then surely they were judicious with their purse strings.

Surely.
> struggle with making money from any of the other things they do

They're not so much struggling to make money, but struggling to make comparable money to one of the most phenomenally successful businesses ever seen.

It's like saying Apple TV is a hobby because it's only a billion dollar business.

Rounding errors at Google/Apple are greater than our wildest dreams.
4 Ways How to Monetize the Big Data in Your Company's Possession
Another sad day for the software community. I'm a big fan of 0mq and the work that Pieter has done.

As for the euthanasia, my wife's aunt died of cervical cancer and it was very rough, not only on her, but on her entire family. It's not an exaggeration to say that they likely all have PTSD from the experience. I'm not a proponent of euthanasia but I can see the appeal. It probably depends a lot on the individual situation.
When did they get rid of IDs in China?
Cancer Research UK enlists the help of citizen scientists to diagnose cancer
> It's not clear why the Guardian article's author wants to argue for more.

It's pretty clear why - sensationalism, as always.
I'm not sure what to tell you. I would love to find a way to lessen that kind of harsh criticism on HN.
> That assumes the man did not first violate...

My point exactly - your brain skips right over reckless or accidental and goes straight to malice.

> ...doesn't absolve Snowden of responsibility.

Not my intent, just pointing out the use of the phrase betrayed a thinly veiled hope for some federal pound me in the ass prison time.

> ...foreign high-level leadership targets...

If you are referring to NATO allies, then I think the lack of actual response beyond grandstanding indicates that they were aware already.

> ...clandestine hardware implantation in transit...

This was already well known, supply chain security isn't a new concept. The consumers were the only ones surprised by this revelation.

> ...co-traveler inference as a method...

Funny you should mention this. Check drudge, where you'll find "Ex-CIA officer faces 'unprecedented' extradition..." [0] The Italian police used this technique to identify 22 individuals alleged to be part of a CIA snatch team, in 2005. [1] So not a big hit to lose a secret surveillance method that had been widely used by foreign governments for at least a decade prior to the leak.

[0] https://www.washingtonpost.com/local/ex-cia-officer-faces-ex...
[1] https://en.wikipedia.org/wiki/Abu_Omar_case
At least the JVM supports multiple languages (Scala, Clojure etc.), but if there's a spec it shouldn't be hard for anyone to add support for other languages.
First off, this is nothing like how elections work. People are still run by representatives in democratic countries.

Second, everyone, including the government is making it sound as if this is a "terrible name", just because it's out of the framework they imagined it to be. But I think this is a great name and has brought nothing but popularity to the project being done on that boat.
If the image size is your primary concern, there are many alpine linux images which excel at this, for example: https://github.com/mhart/alpine-node
Now I really hope you are not from Yale :)

I totally agree with your point.

But while it is true that Yale is not currently in our upcoming startups batches it will be very soon. Indeed, every month we plan to expand the list of schools and countries from which we accept startup applicants – until eventually allowing startups applicants from all corners of the world.

But at this time we don’t want to spread ourselves too thin. We rather do a few small consecutive batches well (France first, UK second, US third) and then expand from there once we have proven that Seedrunners works and have the resources to scale up.
I would do two things: edit out any uncivil or needlessly personal language; and mention specifics rather than generics like "incompetency".
This will probably happen anyway. Research ships are manned by researchers (usually of the non-bureaucratic variety) and in my experience are game for a laugh. Regardless of what it gets officially named, this ship will almost certainly be unofficially referred to as Boaty McBoatface by its crew.

(And as another commenter who is familiar with the project internals pointed out - they already do call it McBoatface)
"Monsanto is evil. They go after farmers who have their crops infected by Monsanto products due to basic wind and cross-pollination. Once a judge rules the seeds have patented DNA, farmers have to dump all their collected seed supply."

They don't. They go after farmers that intentionally selectivily breed those "infected" seeds. The defendents never tried to argue that it was just accidental cross-pollination.
I could have really used this the other night when I went on to wish my friend a happy birthday....and then missed her birthday.
Well for constructs like that, it's what escape analysis is meant to be good at, as those functions would be small and inlineable.
When it comes to trading that is one cheap lesson!
Retail Comeback Will Be Fueled by Data and Beacons
Why is it undemocratic to not respect the outcome of an online poll? First of all, online polls are never democratic (They are directed to subset of the population - which is pretty obvious when they are hijacked.).

Second - even proper referendums are usually advisory, i.e. the outcome isn't bindnig for legislators. I don't see a democratic problem with that either unless legislators would go against a strong public opinion, repeatedly.
Jeff Dean and Sanjay Ghemawat Elected to American Academy of Arts and Sciences
From two different comments on here:
http://stackoverflow.com/questions/5689369/what-is-the-diffe...

Precision is the number of significant digits. Oracle guarantees the
portability of numbers with precision ranging from 1 to 38.

Scale is the number of digits to the right (positive) or left (negative)
of the decimal point. The scale can range from -84 to 127.

Worth noting this isn't specifically an Oracle thing, most financial systems need to be sure that it can store currency numbers accurately and this convention is widely used to ensure this.

And:

Precision 4, scale 2: 99.99

Precision 10, scale 0: 9999999999

Precision 8, scale 3: 99999.999

Precision 5, scale -3: 99999000

Typically when dealing with currencies scale is only used to represent the units less than whole unit of the currency, i.e. cents and pence. But there isn't anything that restricts it from being used to accommodate larger numbers with the use of negative scales.

A current list of all ISO 4217 codes and the currency properties can be found here http://www.currency-iso.org/en/home/tables/table-a1.html

i.e.

<CcyNtry>
<CtryNm>UNITED STATES OF AMERICA (THE)</CtryNm>
<CcyNm>US Dollar</CcyNm>
<Ccy>USD</Ccy>
<CcyNbr>840</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>

The CcyMnrUnts property denotes 2 decimal places for the sub-unit of the dollar.

So for the above example of 99999.999 you would store an amount of 99999999 and a scale of 3.
I use Messenger.com and I like it except for one big inconvenience. The right bar displaying thumbnails of all your past photos exchanged within a conversation is nothing but annoying and even if you hide it, when you refresh it, it pops up again.
True, but my point was that there's enough talent at Amazon, working on SDKs, and others, and there are precedents where even more complex projects such as JMESPath have wide support [0].

[0]: http://jmespath.org/libraries.html
> Meanwhile illumos and SmartOS are eating Linux's lunch with techology which has been working reliably in Swiss banks since 2006

They would be eating Linux's lunch if they were used in any wider scale.

A primary objection to Solaris zones and a reason they're not used widely is
that they run on Solaris and not on Linux.
Show HN: Dslib – Data Structures library growing on itself in C
The new owners won't be allowed to raise the prices and the whole thing is guaranteed by the government. It seems likely that it'll still be considered a public organisation like National Rail.
5 people, 1 year = 1million.
Likely a team of 4 devs and a PM. 10months to prototype, 2 months to clean up and release?

Sounds reasonable.
Yes, that's exactly what I said.
Visual Studio being 32 bit is an embarrassment for Microsoft in this day and age. That's exactly the kind of technical hole that JetBrains avoided when they bet on Java to write their IDEs in. The transition for them from 32 bit to 64 bit was extremely smooth despite having a huge plugin ecosystem. I've read about the bizarre hacks people with big Visual Studio projects have to use to ensure they can actually load them, that's just not sustainable.

I haven't compared the speed of a recent VS vs IntelliJ as I use a Mac now (another benefit JB got from going with Java). But of my complaints about IntelliJ none are really related to speed.

BTW if it's typing responsiveness you're thinking of, I recall that JB had some inefficient drawing algorithms which they've optimised in very recent builds (or it might even be an experimental feature still). It could cause issues on slow graphics cards. That isn't a Java issue though, it was just IJ using inefficient graphics code.
I found that the timeline is the problem. It has been tweaked and reworked to make you spend as much time as possible mindlessly scrolling, liking and interacting.

I solved the problem by simply removing the timeline. Well, you can't actually remove it. But unfollowing everyone and everything results in this:

https://i.imgur.com/w4JZbct.png

It might not be for everyone, but it works excellent for me. And nowadays I actually complete what I came there for.
Yeah, as soon as I hit "Another kind of performance" it became pretty obvious to me (IMO at least) that this was a thinly veiled opinion piece on static vs dynamic.

And at the end of this day this is an argument with no clear winner, some people are more productive in Ruby and some are more productive in Swift. IMO most modern statically typed languages aren't statically typed because they're faster, they're statically typed because their designers preferred that kind of environment.
Show HN: Unlock Tracks from an Album Based on Its Popularity
In many countries the "doctor" in "medical doctor" is an honorary title, not an actual academic title. Like calling the commander of a ship "captain" whether they actually hold the rank (military/merchant marine captain) or not.
This is an interactive site I made for an electronic music EP. It's powered by an "growth engine" I'm working on that let's you define the social ecosystem around a work of art [1]. The tracks get gradually unlocked as the previous ones get more plays, shares and the artists followings increase.

This is still in very early stages, so I would appreciate some UX feedback. I want to make the template as simple as possible, preferably without text or explanations - keeping it deliberately playful and explorative.

[1] https://songsling.io
The second place name, Poppy Mia, is named after a 16 month old kid who died after battle with incurable cancer.

Just imagine being the parents and losing to McBoatface. Have it named after the kid with Mcboatface be the nickname.
The secret history of Tiger Woods
I'm hesitant to answer for nikolay, but my guess is that he has indeed made such choices -- one of them being to live according to the doctrines prescribed by his religion.

Rigidly adhering to dogma is something that many people take pride in. When done consciously, it's not blind obedience; it's a sort of trust in the groundwork that has been laid by your ancestors.

In other words, to simply "pick and choose" would denigrate the tradition that nikolay has decided to uphold. For some people, death is preferable to the dissolution of one's identity.
In the UK, where this incident happened.
> My other objection is that Boaty McBoatface, somehow represents the will of the people. No it doesn't. It represent the will of people who bothered to vote on an issue most people likely don't give a dam about. If a choice was demanded of the whole population then Boaty McBoatface would never have won.

The point is that if it does represent the will of the people and the people in power don't like it, the will of the people will still lose out.

The two party system in the US is a problem, but it turns out it's natural consequence of Democracy. There's no law against other parties, it just turns out that with direct voting in a large country, over enough time, we arrive here with two parties.

If you look at the Democratic party, in 1968 an unfavored candidate was nominated based on votes, and so the DNC decided to institute the concept of super-delegates from thereon out. They did this because letting normal democracy run its course didn't work because the people elected someone the party elites didn't think was the best. The super delegates composed of party loyalists and high ranking party members that could ignore DNC votes. This essentially gave the party more control over who would win and removed voting power from normal people.

In the current election, Donald Trump is doing the same thing to upset the Republican party leadership. The Republicans haven't implemented anything as undemocratic as super-delegates yet, but if Trump wins they might be encouraged to (since it's the type of Democracy-giving-poor-results scenario people in power try to avoid).
Pattern Interrupts in Content Marketing with Rob Cornish
They just want to use their shiny new-gTLD domain: http://amazon.software