skysight-inc/HackerNews huggingface dataset:
> Everything is based on luck.

ITYM chance, not luck. Luck describes a supernatural force. Chance describes simple randomness.
The productivity gains to be able to have an IDE like experience to manipulate data.

- ER data modeling.

- Visual representation of the database objects

- Completion while typing and visual representation of SQL errors

- Ability to change anything on the database without having to know by earth all SQL differences across different RDMS

- Exporting data into various formats

A few examples,

http://www.valentina-db.com/en/valentina-studio-key-features

https://www.jetbrains.com/datagrip/features/
"I feel optimistic, however. We are on the cusp of really efficient solar panels and excellent batteries that will finally make it practical to power homes and offices from sunlight most of the time.
Electric vehicles are ramping up and it's very likely that in 20 years, the average passenger car on the road will be electric, or at least plug-in hybrid with 100 mpg or better."

https://en.wikipedia.org/wiki/Jevons_paradox

Efficiency gains and new technologies will not, in the long run, mitigate the externalities of resource consumption.

The driver is population. That's the only lever that could possibly be effective.

If you're frustrated and confused as to how the reactionary wing of politics in the US could be so willfully blind to the facts or "the science", understand that deep down they know - this is just a classic race for resources and even more deep down a fight for kin group survival.

You might think they're dummies but there is a deep human memory of reproductive calculus at work. They know that at the very end of this line of thinking is a one-child-policy. Or worse.
I don't quite get it, but damn it's awesome!
Since it's not mentioned in the article, this is also called bilateral filtering [1]. The external links section of the Wikipedia article lists some famous SIGGRAPH papers describing fast implementations, and there is some code available [2].

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

[2] http://people.csail.mit.edu/sparis/bf/
No-password access can be pretty good for enterprise but just not realistic for consumers (yet). This humorous take on it actually does a pretty good job of explaining the user-experience reasons.
Your statement is not universally true, it depends on the nonlinearity.
The problem is Ballmer point blank completely utterly failed to successfully transition Microsoft in the single biggest revolution in the Computing Industry in the last twenty years. He also utterly failed to successfully transition Microsoft in the second biggest revolution in the Computing Industry in the last twenty years.

Ask microsoft right now, they would probably trade 50% of their windows and office business to have a strong 25% share in the mobile market. They would also probably trade the other 50% of their windows an office business for 50% of the worlds cloud computing business.

He had no CEO vision, he was an excellent COO who streamlined and improved margins, but absolutely failed to make any of the moves necessary for Microsoft to continue to be at the top of the software industry over the long term.

CEOs need the vision to recognize, and the cajones to go after the big 'bet the company' moments...
So your bonus is linked to your performance.
"We’re still pretty much the only company that tries digitalization of an end to end shipment."

Bullshit
Microsoft is spending a ~billion dollars a year on their entire research department, which AI is a part of.
Non-top-level names are subject to the rules established by their TLD manager. This is iiS for .se domains, and PIR (the Public Internet Registry) for .org. Each such managing organizations is more or less free to establish its own rules and to give and revoke DNS names (or delegate to registrars).

The history of the The Pirate Bay's many domain names (thepiratebay.xx has been registered at some point for almost any value of xx) clearly shows that different TLDs have different policies. Many revoked thepiratebay.xx on request, but some (like .se and .org) haven't.

I don't know what it would mean for ICANN to apply pressure to a TLD manager to change their rules or make an exception in order to revoke or transfer a name. But it would be a form of political pressure; there is no contractual obligation by TLDs to do whatever ICANN tells them to, and there is no technological mechanism in DNS itself to do so. Naively, ICANN seems to present less danger in this regard than the US Government did. Of course that doesn't mean the danger was or is small in absolute terms: the US Government is very good at political pressure!
"Category Theory: essence of interface-based design": talk by Erik Meijer (2015)
It sounds like a good idea, but every time I've seen this implemented it's been as a simple whitelist lookup against user agent. This has two problems. First, user agent is... unreliable. Second, people that use less common systems are erroneously told the page won't work. (I've lost count of the number of times a website has told me that my operating system isn't supported yet the page works fine. What does my os have to do with a web page anyway?)
Can you expand on what you think is missing that's available for MySQL and SQLite?
As a writer, I completely agree with you. Solid feedback about grammar, sentence structure, and even tone of voice would have been super helpful.

That said, not all feedback is meant to be constructive - that can come across clearly, even on the internet. It's unfortunate that a young woman, clearly still in high school, felt torn down instead of built up.

The most important feedback I'd like to send to the young women who publish with us is that there's room for your voice and your opinion, and you'll be treated with respect.
I use CLI stuff for most things, but I've found it much easier to have 5-10 sql statements in a GUI editor that I can edit arbitrarily and run at will. And the GUI results grid is nicer to get around for results sets of pretty much any size. I'd kind of like it actually if somebody could make a command line editor or Vim variant that could do that.
The area right around Grand Central suffers from too few residential units in proportion to everything else and so ends up feeling a bit sterile. It certainly isn't as bad as over by Penn, but I don't think it is anyone's favorite part of town.
THERE'S
NO LANGUAGE ON THE PLANET
THAT CAN DO BETTER
THAN PERL 6

I'm curious as to how reality-compliant this statement in regard to inline auto-threading support.
My eyes are bleeding. Nice idea, but please go seek help from a good designer.
It is known he didnt successfully lead microsoft into the mobile computing industry, and its known he didnt successfully lead microsoft into the cloud computing industry... so whatever his initiatives, goals and objectives were, they were wrong.
I saw a TV show a couple of years ago about which nation's national diet is the healthiest. I admit I don't remember them giving sources for their claims, but France was high up the list of healthiest, even though they eat a lot of saturated fat. The point is they eat real food rather than processed food.

I also read recently that the French have one of the lowest rates of heart disease.
I'm not entirely sure why I'm getting downvotes for this, but I guess I've had a knack for that in the last couple days. With any luck I'll lose my downvoting privileges soon.

I didn't say we should "accept" anything, and I don't endorse harassment of anyone, and I'd greatly prefer people didn't tell to go "kill themselves" (a commonly cited case of harassment).

That said, it's not like it's a big secret that jerks exist on the internet. Anyone who posts something publicly should expect some hate. I'm not saying it's right, I'm not saying it's fair, and I'm not saying I agree with it, but you'd have to be insane to deny it happens.
On of the main reasons is political:

"It will signal that the U.S. has changed its position and no longer believes in a private-sector led internet and that governments will play a primary role in making the final decision. Russia, China, and others will welcome such a decision."

(https://www.icann.org/iana-stewardship-questions)

ICANN and others are afraid that certain, mostly authoritarian governments will want to break away from the global DNS and/or IP allocation system to form alternative, walled systems under the pretext that the US government 'controls the internet'.

So ICANN and others want to take away any argument, however feeble, that supports this position.
most of your calories from fruits, vegetables, and whole grains

Well no, that misses the point. Everyone's diet has some macronutrient ratio, whether that be high-carbohydrate, high-fat, high-protein, or somewhere in between.

It's fine to ignore the debate and just do what works for you personally, but that doesn't make a high-carbohydrate diet (which is what you're suggesting) obviously good general advice.
The idea that "class isn't about money" is a really important one, and a distinction that isn't evident in most people's lives. I grew up in a family that was historically pretty rich and both parents had advanced degrees, but a combination of health problems and mental illness meant that for most of my childhood, we had very little money. At the same time, I went to private schools (on scholarship) my entire life, so all of my friends and acquaintances were also upper upper middle class. I'm now an adult and am extremely successful, more so than any of my acquaintances. As difficult as my childhood could be, a big part of my success is probably attributable to habits and norms I picked up from my parents.

As early as college, the amount of opportunities I've been exposed to just by impressing someone during conversation has been ridiculous. Part of this of course has been knowing my stuff, but undoubtedly it depends in part on my carriage and manner of speaking. And all of this is leaving out the direct networking opportunities inherent in the environment I grew up in.
This is exactly it. When you're recruited (and you're always recruited - it's super rare to have a C-level position open on the website and submit a resume to) to a firm as an exec you have (generally) tremendous leeway to negotiate your own contract, exit criteria, etc.

Yes, the board provides a starting point, but it's much more collaborative negotiation - and you (as the incoming exec) are gonna negotiate based on the criteria I mentioned. It's not at all like an IC where you basically get a "take it or leave it, plus a few % more on salary if you push back" offer. It's a different universe.

Is it fair? I dunno. The "intrinsic value" argument doesn't really apply - the CEO is worth $10M/yr if the board thinks they are.
If you follow the right people in your fields of interest you will have an endless stream of interesting updated content. You can't personalize HN to have the exact sort of news you want but you can tune the people you follow in Twitter and get the best source of curated news there is for you. I frequently find stuff like new library releases/interesting blog posts from someone I follow well before they appear (if they ever do) in places like HN/Reddit subs I frequent.
A benefit of this approach is that it's at the OS level, so it'll work even when in ssh.
Invoke Alexa Skills from your smartphone
I added a feature to my Android smartphone/smartwatch app that let's you invoke your favorite Amazon Alexa/Echo Skills. You have to first enable the Skills. For example, you could enable the Supplement Advisor Skill then ask questions like: "Ask the Supplement Advisor, what supplements are good for gout?"

https://play.google.com/store/apps/details?id=com.treycent.wearapp
>I think young people tend to fetishize old tech because they weren't there when it was used. Floppy failures were common, IRQ issues, programs taking down the entire OS, no real security, and "the computer" was something the specialist at your shop took days of training to learn how to use and when he wasn't there "the computer" was useless.

You sound young to me. Back in the 80s, computers were quite reliable, they just couldn't do that much. Floppies were extremely reliable; they had to be because the computers back then ran entirely on floppies. Only really expensive computers had hard drives until the very late 80s. It wasn't until the mid/late 90s that floppy drives became unreliable, because everyone stopped using them for anything except Windows drivers and the manufacturing of them (both drives and disks) went to low-cost areas and the quality went down the tubes. IRQ issues were a problem with DOS and Windows machines with ISA cards; before that on things like C=64s, there was no such thing. Security wasn't a problem back then, because no one was connected to a network; the best they had was telephone modems to connect to Compu$erve or BBSes. Viruses started becoming a real problem when everyone moved to DOS and downloaded stuff from BBSes. Back in the Apple ][ and C=64 days, security was unnecessary. Even over on the Internet-connected UNIX side (something mainly only used by college people, not by people with C=64s), security didn't become a big issue until Morris's worm in 1988.

As for CLI taking longer to learn, perhaps, but I remember office secretaries using DOS just fine, unlike these days where everyone has no clue what to do with a command line and is terrified of it. They might not have done really advanced stuff, but learning a few DOS commands like COPY and MOVE and DEL really isn't that hard for someone with half a brain.

As for "standardization", I don't know where you get that idea. Tons of people are having all kinds of problems with their Windows software not working on Windows 10, older peripherals not working on Win10, etc. How long did it finally take us to have some standardization on the web, after dealing with IE6 for so long? We didn't have these problems back in the text-only days. And again, over on the UNIX side, they had much better attempts at standardization with the X protocol, which allowed remote GUI access between completely different UNIX OSes, in the 80s. It took ages for anything similar to arrive on Windows machines.
Twice the resolution is 4 times the pixels, no?
Note that although it is not documented, when you query the Google DNS-over-HTTPS service from Chrome, it will usually use QUIC. You can check this at chrome://net-internals/#quic, and will probably see something like this (look DNS/HTTPS/QUIC/UDP/IPv6!):

dns.google.com:443	true	QUIC_VERSION_34	[2607:f8b0:400d:c03::8a]:443	10544469510527000173	0	None	2	9	0	9	true

An independent implementation of QUIC (are there any outside of browsers?) would probably work much the same, modulo any changes during the ongoing standardization of QUIC.
I don't think it happens quite as much to males, but it certainly does happen to males still.
Interesting arrangement. If your tax rate goes up, does your pay go up too?
Thank you so much for your support! I was thinking about mental health solutions while responding to an earlier comment on Medium. It's easy to talk about short term protection like anonymizing content, but I'm so frustrated that we're accepting hate and harassment as inevitable.

I wonder if there's more we can be doing in schools to teach good conduct and respectful discussion on the internet.
Street level tech
Note that Sylvain Paris now works for Adobe’s Advanced Technology Lab.

As far as I can tell the reason that Adobe can’t replace their current Photoshop bilateral filter implementation (which is now 15 years old or something) with a better one is that the precise pixel-level details would be slightly different, potentially affecting someone’s existing workflow.

This stuff should really be done using one of the fast GPU algorithms.
I use stash in one of the two workflows below, neither of which have ever caused problems. Stash's advantage is in not needing to create branches, commit, or un-commit the code back into your working copy. Very quick, and I've never had problems.

- Paired operations `git stash` / `git stash pop` to quickly get rid of everything then reapply it a few minutes later.

- Stash as a "I probably don't want this code, but may as well keep a stashed copy" alternative to a hard reset. These stashes all then show up in my SourceTree sidebar to easily peruse or apply if needed (or copy/paste individual lines). Not a big deal if lost.

If I'm actually backing up code that I'll likely use, or need a remote backup of my current working copy to protect against laptop theft or HDD failure, I'll branch/commit/push the backup. Then use a mixed reset later to get rid of the commit itself and return everything to the working copy.
Björk on nature and technology
> I can think of several examples where applying a process > to a food does not make it something we should avoid ?
> (i.e. when a butcher chops meat, he/she is processing it).

Surely you're a very intelligent person, and you know the difference between whacking off part of a thing, and making say, corn syrup. The latter is essentially one extremely purified sugar, with no nutritional value outside of, "sugar". The former is still a piece of meat.

Go to the grocery store and pick up something for sale. Look at the list of ingredients. Are all the ingredients listed, "food"? Or is the item you picked out itself just one food-item, like a banana?

It's not a perfect test but if it passes,that item is probably an OK thing to eat as part of your regular diet.

Do I want to subsist on olive oil? No. Do I want to use olive oil on my salad? Yes. Do I want to eat cake? Yes? Do I want to eat cake every day? Guh, no.

Does Soylent pass this test? Hell. No.
People using laptops to program without external keyboards or many monitors is one of those things that is a lot more common than you think!
How about a white male youtube personality? Boogie is harassed with every video he puts up. How about Total Biscuit, who receives death threats pretty regularly from anti-gg folks.
Can't believe I just learned about rebase.autoStash! That is super handy.
(1) The study specifically talks about the motivational effect of performance pay and finds that the component of luck means that performance pay must be more difficult to achieve in order to motivate the executive officers to align their interests with the company.

(2) You could reduce the financial risk of executive officers by paying them a fixed salary. In fact, different companies offer very different compensation plans. This was a review of those plans to see what did and did not work. Generous performance pay does not work.

(3) This is an issue of whether executive officers should be paid well in general, not the value of performance pay. And at any rate seems to be a justification for nepotism in an area of business that is already dysfunctionally nepotistic.
Who is the one person in charge of making the company not stink?
" What me and other skeptics argue against is these kinds of overly futuristic announcements that have no ground in reality,"

I am pretty sure this is exactly the kind things people said about going to the moon, build a machine that can add numbers together faster than humans etc... lol

"This is such a grand and far reaching goal that were it to be achieved it would be by far, by very very far, the most important achievement of the human species so far. So far I've seen him put a rocket in orbit and land it again.* So excuse me if I tamper my enthusiasm."

What have people see NASA do when Kennedy announced landing a man on the moon? Would they be able to accomplish if people would tamper their enthusiasm? I don't think so. They had to invent technology that didn't exist to accomplish it and I believe this needs the same thing. Hence the reason I am stoked about it.

Someone who grew up admiring the achievements in space and technology(I was born the same year the Voyagers left earth) that kind of dreaming and willingness, set me on course as a child to study science and work in tech. I am very excited to see announcements like this. Because without dreaming it up and setting a direction we would stagnate. Just like NASA did with the space shuttle program.

Helping out and working on a CubeSat project that is going to be launched in June 2017, I see how much work it is to even communicate in leo never mind beyond that(I can't even begin).
Yet I can barely contain my excitement :)
A fine that realistically they wouldn't have imposed on a major US bank.

Messy, indeed. But it's also a fine they wouldn't have had to worry about had their management not thumbed their noses at imposing adequate internal money laundering controls for a good chunk of a decade or so.
If you would like to email us a screenshot at hn@ycombinator.com we can take a look.

We detached this subthread from https://news.ycombinator.com/item?id=12610520 and marked it off-topic.
Historical example:

https://en.wikipedia.org/wiki/Martingale_(betting_system)

FYI, bonds are the one of most common examples of such a asymmetric bet.

If you buy a nice, safe, investment-grade bond that pays you ~2% more than Treasuries, it's because the market prices in a 2% chance every year that the company goes bankrupt.

So in return for 2% excess yield, you get a 2% chance to lose your entire principal. This is a lot like selling a call option -- if you get paid $2 on a $100 stock for selling a call, but if it goes badly against you, it's very possible to lose $100.

In fact, you can view 'buying a bond' as essentially buying the assets of a company, and then selling back a call option to the equity holder [1].

The difference is that people at least generally understand that with a bond, your entire principal is at stake, and bonds are hard to lever up compared to selling a call -- but the actual economic risk profile is quite similar.

[1] https://books.google.com/books?id=0TTiiI6CGj4C&pg=PA25&lpg=P...
Technically yes, but I get it by default, and only lose it for substandard performance.
A lot of male cultures are heavily centered around ball-busting and giving each other shit. You grow up in that, a lot of what is characterized as low-grade internet harassment doesn't even register.
Gold is supposedly the most malleable metal. One ounce - the size of a quarter - can be hammered out to 10 square meters.

I'll let someone else do the math.
The way I see it, chance is what is out there, luck is getting what you didn't know you had.
Hail the Heroes
When banks are held responsible its the people who end up losing money.

"When banks knowingly engage in irresponsible, or in Deutsche's case, criminal behavior it's people who end up losing money" is the spin I would put on it.
Sentieo's Alexa Skill and the Three Fundamental Laws of Voice User Experience
Open Sourcing a Deep Learning Solution for Detecting NSFW Images
Spectrogram is 2D (plot of amplitude given time and frequency).

Its interesting to think about it for a spectrogram because "similarity" is different in each dimension (freq vs. time).
Frequency is also perceived logarithmically, so you would probably want to convert to e.g. Mel scale before applying this algorithm (a 2000-2100Hz change is much subtler than a 200-300Hz change).
ICANN (as well as other supporters of the transition) believe that even the appearance that the US has control over ICANN is damaging to their ideal of keeping the Internet global, rather than devolving into numerous regional, government-run internets. ICANN doesn't want the Internet sharded under the pretext, "The US controls the Internet, so we'll create our own."

Whether this transition will help prevent that from happening remains to seen.
I vaguely remember the discussion on their first response.

The HN commentary was very negative, and very much not what I usually expect to see on HN. I was rather surprised at the tone.

That HN post was flagged and removed fairly quickly if I remember right - perhaps from the tone of dicussion.
In that case, what's the correct take away from the study? fasting + low protein + high nutrient diet is best?