skysight-inc/HackerNews huggingface dataset:
Hope you still exist in Jan 2021 when I'm getting (hopefully ah) my PhD ;) so I can apply
How did Samsung dominate the Android market?
After reading the first few comments two things stand out:

1. Genetic Predisposition is always a factor (basically for everything) and therefore has an impact on prices and ultimately "fairness" (whatever your definition). One can have basically the same argument about intelligence and salaries.

2. It is also never the only factor.

Once we start to acknowledge the above two facts, we can start discussing percentages

- To what extend does Generic Predisposition affect Obesity?

- What other factors exist that affect it similarly or more? (Gender, smoking, alcohol, white vs blue collar, leisure activities, marital status, salary, age ...)

Only after that we should discuss whether it's fair: It's highly unlikely that anyone is in the worst of all above categories and a simple cap on expenses (or a progressive negative tax) may help to soften the blow to those cases while still incentivizing everyone to live a healthier life.
I really love 99% Invisible podcast. Fantastically executed stories.
A project with that idea is Electrino: https://github.com/pojala/electrino It provides an electron-like API but uses the OS version of safari. It doesn't seem to be actively developed anymore though.
If the Electron app exists, there's a lot less incentive to write the native one.
Eh, "We've got lots of users so it will take a long time to crack them all" isn't much of a defence.

I mean, if you've got Obama or Snowden or Taylor Swift or Logan Paul or whoever as a user, you think hackers wouldn't spent 2 hours of GPU time per account to crack their passwords?
Their 15.36 TB drive is 11,624.99 at https://www.cdw.com/product/Samsung-PM1633a-MZILS15THMLS-sol... .

So, probably around $25K.
Fact is: when you try to make a reasonable apples to apples comparison between the US and European countries with regards to mass shootings the numbers supporting your original statement are at best murky and at worst bordering on pants on fire falsehood.

You may have some valid points regarding gun deaths and homicide rates, but that's not what this discussion was about.
Yep, I totally get this.

There's a world in which Electron (or rather, "web views as apps") don't exist and Slack is native. Though perhaps it wouldn't have ever happened.

I feel like _many_ of the big apps simply wouldn't have existed in the old model. Native app development has become extremely niche, and each OS has its own quirks. And on the other side of the fence, stuff like Salesforce exist in the browser pretty well.

It's hard to get the causal arrows right on this. But I bet if React Native-style solutions can work well, people would be willing to put in the effort to use it. But so long as the web stack is easier for developers, that'll be where the MVPs get made IMO.
My MSc dissertation topic was on graph theory. I studied a lot of crazy stuff: things like random trees, hypergraphs and partitions of graphs into other graphs. I remember once this internet company came to campus and was trying to encourage mathematicians to join them. This lady said: "One person has a PhD in graph theory but originally thought she wouldn't be needed here. Yet the internet is a graph!" I was thinking, yeah, sure, a lot of graph data structures and algorithms are pretty useful, but it was hard for me to see how some the niche topics I was studying would really, actually, be useful. Luckily mathematics does tend to to surprise us like that. (Saying that, I am now a cryptographer and don't use much graph theory, or any of the economics and game theory I did in my undergradate :-) Game theory in particular, I am highly skeptical of, but that's another story...)
I'd expand that and say management in general.

It's not just your direct manager that can make your job shitty, it can be anyone on the management chain from your direct supervisor up to the CEO.

A good manager can mitigate the effects of poor management at the higher echelons, but it will still persist, hovering under the surface.
While I agree with your sentiment, the more I learn the more I realize there are some profound subtleties that are glossed over by people teaching them and people claiming they understand it. I think it's a sign of maturity to realize that even seemingly simple and well studied problems aren't very well understood by most people.

I've been humbled many times thinking I know something when in fact I really had a shallow understanding. Here are a few examples:

* Stable [1] in place sort. Merge sort requires an extra O(n) space, Quicksort isn't stable. The solution is either Grailsort [2] or Wikisort [2], both of which I still don't understand to this day.

* Gaussian elimination. Turns out Gaussian elimination might blow up exponentially (afaik, still an open problem whether it actually does) in intermediate bit complexity and other methods have to be employed to guarantee a polynomial bit length. [4]

* Fast Fourier Transform. How many bits do you need? When does using 64-bit floating point fail and why? The bit complexity is polynomial and understood but it turns out the most straight forward methods to figure this out uses modular arithmetic to get a handle on the complexity. Also, what's minimum known bit complexity? I'm not sure I know what's bleeding edge for this. [5]

* Dynamic programming. Only recently has it been shown that, unless P=NP, O(n^2) is basically optimal. [6] Also, what if you're comparing similar strings? What are the best algorithms in terms of edit distance and other efficiencies. Ukkonnen [7] Hirschberg [8] and checkpointing [9], but boy did it take me a while to get a good description of all of them, with checkpointing still unclear to me.

I've heard, and agree with, that 95% of programming doesn't require any deep CS knowledge. The flip side of that is 5% of the time you will and for those 1/20 times you encounter a problem that requires theory, you're dead in the water unless you know how to identify it, how to solve it or where to look for solutions to it.

These are just a few. The more I learn the more I realize how little I actually know.

[1] https://en.wikipedia.org/wiki/Sorting_algorithm#Stability

[2] https://github.com/Mrrl/GrailSort

[3] https://github.com/BonzaiThePenguin/WikiSort

[4] Chee K. Yap, "Fundamental Problems in Algorithmic Algebra", Chapter 10, Linear Systems, 10.3 Matrix Inversion

[5] Chee K. Yap, "Fundamental Problems in Algorithmic Algebra", Chapter 1, Arithmetic, 1.4 Modular Fast Fourier Transform

[6] https://rjlipton.wordpress.com/2015/06/01/puzzling-evidence/

[7] https://www.cs.helsinki.fi/u/ukkonen/InfCont85.PDF

[8] https://en.wikipedia.org/wiki/Hirschberg%27s_algorithm

[9] https://github.com/drpowell/sequence-alignment-checkpointing
Is Phentermine a best diet pill?
can someone really believe on phentermine for losing weight?
Show HN: Car Price Guide – Aggregated prices for the UK used car market
I'm not sure I understand your point. It seems you're implying (please correct me if I'm wrong) that ecosystems of modern open-source languages are more local, more tightly coupled and having people working in concert towards a common goal.

In my experience this is often what happens when a new community is spawned. E.g. when nodejs started it was there was always one single implementation of that thing I needed and it was reasonably up to date with the rest of the things around it (including the runtime environment, of which there was only one or perhaps two mayor versions of). As time went on more people started to contributing, often with different levels of commitment.

Often "modern" gets conflated with "young". Almost by definition, young communities don't develop the same kind of problems of mature communities, yet.
If you're including third-party libraries, you have things like ArrayFire and Intel TBB.
It's more that all the optimizations and strategies which apply to a browser built to hold many open tabs at once, support many standards and protocols and quirks etc. must be loaded into memory for a simple application that is not a browser.

You get all the tradeoffs of Chrome (e.g. cache everything you come by) outside of Chrome proper.
Find out how much the company pays for that repair when they do an in-warranty replacement
Yes?

Almost all top tech companies have multiple @accounts, even Twitter does! I've seen multiple times how these companies post same announcements on multiple accounts. Even Twitter sometimes does that, for example when announcing something important in relation to security or policy, they post the same thing on the dedicated channel and their main channel.

Moreover, there are tons of tools build around Twitter API, like consumer ones: buffer, hootsuite and several other big enterprise tools that enable exactly that - connecting multiple accounts and cross-posting/scheduling the same tweet across all channels (as usually these tools also connect to facebook, linkedin and g+).

So, I still don't understand Twitter's move here, they are effectively declaring most of their business use cases to be outside of the guidelines. I'm surprised.
The Complete Advanced Guide to CSS
So if it uses up to 150MB, it is not wasted and if it uses more then it's the user's (dev building on electron) fault. Got it. Electron is never at fault.
They link several proprietary libraries into their APK, including GCM (which has its own internal analytics package)
A good example of new vs old generations of data monopolies.

But, I think we need to stop thinking of the tech monopoly problem in principled, abstract terms. That's hard because it's how law works, and how our moral instincts genrally work.

Bloomberg's data monopoly does/did pay well, give them a nice moat and such. But, it couldn't be leveraged in the same way modern data monopolies can. It didn't permeate into new areas every day. It didn't have all these consequences (eg killing privacy) of scale. They din't lock up a dominant position in categories (eg smartphones, cars) that wouldn't exist for a decade or three.

Bloomberg's market position is more conventional. Being a monopoly gives them pricing power, and nicer margins. That is tame by today's standards.

Today's monopolies can't even be reasoned about in the language of antitrust. they don't act as trusts, generally. Market share is obscure. How do you determine the effects of reduced price competition for maps? It's free. The whole logic of econometrically calculating the harm to a consumer is irelevant.

Yet, the idea that Google owns your phone, browser, search engine, drives your car and controls the ads you see 100 times a day.... That's still a worrying thoguht. Economically, it's easy to see (eg search->maps->phones->cars) how one monopoly leads to another and they strengthen eachother.
The idea of swiping seems cool at first but when you actually use it, appears that to type a word you should know in advance the gesture needed, which kinda kills the purpose. Idk maybe it works for language with shorter words like English, but with longer words it's just awful.
> This feels similar (but not the same!) as the "vaccines cause autism" argument.

Except that it isn't similar at all.

The news may not have been reliable and may have always had a propaganda element in it (especially when it came to things like war coverage, royal families and so on), but it was a reasonably known quantity. The 'weaponization' of news and the horizontal interconnects between people facilitating the formation of cliques and echo chambers is as far as I can see a historically unprecedented affair.

The degree to which this is responsible for the current polarization of entire societies is something that will be studied for a long time, the 'vaccines cause autism' argument is for the most part limited to the fringes rather than that it expands at the speed of light to all corners of our (global!) society.
A price such that if you bought the entire product from their spares catalogue that the total would equal the list price of the full product.
I know exactly where you are coming from. Me too. Thank you be being honest and sharing your experience.
Ok, but from an engineering standpoint I see this as a bit shortsighted.

I mean, shouldn't you care more about shipping a good product (i.e. developing something that doesn't thrash your users' resources) than ease of development?

I get that if it's too hard to develop there's no product to speak of, but still, aren't we going too far off the equilibrium point?
But no count of how often the hash is used. Counting bloom filters are till a bit harder to implement.
Canadian software engineers paid peanuts
So, I’ve been looking at the differentials in pay for software engineers in the US and Canada. And I gotta tell you, it’s just sad. Here are some figures from Vancouver’s pitch[1] to Amazon for HQ2. Toronto pay is half of Seattle pay. No wonder half of each class from Waterloo heads south.

Market Average Annual Tech Wage
Software Engineer (USD)

Vancouver, BC — $60,107
Toronto, ON — $62,365
Atlanta, GA — $92,380
Boston, MA — $103,979
Washington, DC — $108,330
New York, NY — $108,878
Seattle, WA — $113,906

The question is why the difference is so very broad. Off hand, I suspect the problem is demand. Seattle has two large top-tier tech companies based locally. Toronto has nothing of the sort. There are smaller tech companies, of course, and banks and one outpost of one of the majors. But the deep need to fight for talent just isn't there.

[1] http://www.vancouvereconomic.com/wp-content/uploads/2018/02/Vancouver-Amazon-HQ2-Proposal-Feb-2018.pdf
Nice work. I stopped reading about 2 volumes in, though.
Exactly, and building a UI framework as powerful as the web tech is very hard.
Heh. We're developing code that can impersonate the average human better than the average human. Well that about wraps it up for the Turing Test.
Learning Ruby – Happy 25th birthday
The New Economics of TV's Reboot Craze
Why are we not looking at the inverse, hmm????

Have people never wondered

Why people in modern germanic countries don't wear axes anymore.

Why english people don't walk around with broadsword.

Why do Italians (read Romans), not have a gladius strapped on their pants.

Why do the Japanese (read samurai) not all walk around with katanas (this one is relatively recent and is interesting to read as it was met equally with heavy criticism upon banning)

DOES AMERICA THINK THAT THIS IS A NEW THING?!

To be overly verbose.

Every country started out as people carrying weapons if you go far back enough.

And almost ALL stopped carrying personal weapons or it was banned.

I really want people to read each individual countries history around the time weapons became banned/dissappear culturally.

After that look how many of those countries fell into civil war/had increase in gun related deaths. (It didn't really)

WHY did almost every country ever ban weapons in history.

Did you think people were bored and just banned guns randomly?

The direct issue is not the weapons, give me a gun and I won't shoot.

The direct issue is psychological trauma/damage of the individual shooters, but things in general are almost always banned/regulated because off the potential dmg the 1% can do with it. Not relevant if the 99% is responsible.

I go as far as saying that the half the law is a direct resulting bi-product because off these psychological irregularities that due to the unfortunate pseudo butterfly effect of some people's life events come to be every now and then.
we have more love than hate. Good to see that in secret passowrds.

iloveyou - 1,462,146
iloveu - 179,992
ihateyou - 58,656
https://news.ycombinator.com/item?id=16433312

100+ points and comments
A 10-year followup to this could be interesting.
Electron apps are basically a Chrome window with a webpage loaded. This means that, for example, they use HTML to display the UI. HTML/CSS is complex and very dynamic, this makes it resource intensive to parse and load. Then, the whole application is written in JavaScript which is a language that is "far from the metal" (although this is getting better due to a massive investment of web browser developers).

There is also a more hidden problem, which is that Electron app developers often come from a web background, which is a field with little concern for proper resource management and performance. If a webpage has a memory leak, just refresh it. If it takes too much memory, some other inactive tabs will get killed and be refreshed. VS Code is a good example of an Electron application made by people who are concerned by performance. However, developing a performant application using Electron seems to be harder than actually doing it in another language/framework.
One of the best thing to happen on desktop?

I can't think of anything good that has come out of electron. Seriously. Maybe slack (haven't used it) but that is probably about the worst use case for electron imaginable and would be utterly trivial to implement in a proper language natively.
> The majority of people with depression just get better of their own accord, for no obvious reason. The NNT for most antidepressants is ~7, meaning you need to give them to about seven patients for one patient to see a clinically-significant improvement.

Which is fine, as long as they stay alive long enough for natural changes to occur. If a prescription gives only hope, that could be enough to keep people strong enough to battle through another day, week, month, year.
With the old media everyone got the same story. It wasn't assumed to be true, because you knew who was saying this (it's hard for a large newpaper to hide their political affiliation), and the news piece was judged by other reporters on different papers and people you personally knew. Since you all were getting the same news, you could discuss them and argue about their validity. Now this just doesn't happen. Everyone gets a different news feed, which partly is the reason we need comment sections so much. And comment sections and forums were ok before the widespread use of mass censoring based on NLP or manual identification of political bias, pre-fabricated conversations, selective de-ranking and all other kinds of trickery. Simply put, it used to be that internet content was purely the result of individual personal effort, so there was something to trust behind every article, because you knew that someone was putting effort into it and getting almost nothing material in return.
Now the validity of news pieces only boils down to trust, and I trust the established media more than random strangers and small companies trying to make a quick buck, because the established media
can't hide lying and they have something to lose, their trustworthingness and billions of dollars. The same cannot be said for anonymous or pseudomymous internet companies that for all you know were created yesterday and will vanish tomorrow or after the next elections perhaps.
Or electron runtime can do the sane thing and be backward compatible for a few version numbers. It's basic API stability.
It's not just academic topics. It also works if you express mystification of some aspect of popular culture that any "normal" person understands. Even if you are genuinely mystified by it.

Like how is it that so many people can effortlessly memorize the names of hundreds of actors and recognize them on sight, and why do they bother?
> But so long as the web stack is easier for developers, that'll be where the MVPs get made IMO.

Is it really easier for developers, or do people learn web development first, so it's easier to use the same skills on the desktop than learn new ones?

If find it hard to believe React etc. are easier than .Net, for instance.
State.of.dev – The current state of front end development (2018)
Conservative GC: Is It Really That Bad?
I'd be ok with 20% variation too.
C and Rust (can) have different calling conventions. C is the de-facto standard calling convention. When you mark a function as `extern "C"`, it means that it can be called as if it is a C function.
It's all about supply and demand. The big tech companies want the best engineers in the world and they are willing to pay for them as their value and return on investment is what makes them the top revenue companies in the world. If the companies in Vancouver wanted top talent they would need to increase compensation in terms of salary, bonuses, stock options, etc. and insure the community around the business is modern and high tech.

As a top engineer you have the choice to go where ever the best challenges and compensation are. If you have over 10 years experience in a field and very good at what you do you should be paid exceptional well for it. As the value you bring to the company you work for makes the bottom line meter move upwards and you bring innovation and help move the company forward.

Mix a couple of teams of top quality and value engineers and you get products and services that the entire world wants to use. Talent also attracts talent, so if your company has very well known engineers working there that are very well known and respected in their fields other engineers will follow.
AN AI THAT READS PRIVACY POLICIES SO THAT YOU DON'T HAVE TO
Cars are going to lock down their LIDAR systems, so the best one can hope for is that the companies that control that data are also friends of OpenStreetMap and will pass the data on. I’m not optimistic that the individual owners of cars will be able to read from the LIDAR bus without – at best – voiding their car’s warranty.
Here are a few:

- Music player with Spotify and Sonos: https://vimeo.com/237742054

- News and weather forecasts: https://www.youtube.com/watch?v=IFQzDSWr2l0

- Controlling blinds: https://www.youtube.com/watch?v=ukkOLqcm2CY&t=9s

- Zork game: https://www.youtube.com/watch?v=5RX4Dm9TmCY

- Prayer assistant: https://www.youtube.com/watch?v=x1AGaYBLzkA&feature=youtu.be
Wade takes me from a to b in any country without effort and faster than any other.

Wade it is. Yes the chat function is largely useless the report incident function is cool!
You can criticize something even if it does not directly affect you though. For example, I can live with Slack & Skype eating half of my ram but I really wish I would not have to.

I really like Git Kraken, in theory, but if I imagine it as a native app it would be so much better.

I see the appeal of Electron, and to be fair we also use it at work. However our application is destined to be running on a dedicated hardware which runs it and nothing else.

Ultimately I'd like to see products like Slack starting with an Electron app and when the means permit it migrate to a native application. Not the other way around.
Help me understand your logic. You are saying that because two locations have two different rates of obesity, that means genetics plays no role in obesity?

Even if someone has the hypothetical sweet tooth gene, they are still going to be more likely to be obese in the poorer location that has less access to healthy food and less reason/necessity/possibility to walk everywhere.
No, but different init systems may autoload formats based on some configuration files. Systemd, for instance: https://www.freedesktop.org/software/systemd/man/systemd-bin...
What foods should I avoid? I'm been taking Amitriptaline for 8 years now for pain management and wasn't given any advise on substances to avoid.

Although I'm on another Anti-Depressant, I certainly notices a positive effect from Amitriptaline that outweigh the bad effects.