skysight-inc/HackerNews huggingface dataset:
Apache vs. Nginx Performance: Optimization Techniques
It took a few hours of filtering mistakes out of my kids to make me think about this. I was supportive (I hope), but internally I was thinking about it.

The thing is the most difficult mistake was 5+3 being 14. I tried teaching them to approach the problem from different angles. 3+5 ? Fine. 4+3 ? Right. 6+3 ? Right. 5+3 ? 14 ... it took hours.

In kids, most mistakes are corrected quickly, but a few persist. That reminded me that I have a few choice mistakes that lasted an incredibly long time despite getting corrected again and again and making no real amount of sense (meaning I know dozens of ways to calculate them, and I know how the numbers progress and I know how to use distribution to solve it, to "move the beans" (5 + 7 = 5 + 5 + 2 = 10 + 2 = 12. They present that logic, doing the tens first, as moving beans around. Which makes sense), and yet, there's a few mistakes that stuck. So you have a lot of time to think while correcting one of these sticky mistakes.
To see a doctor ?
Slightly related: My friends have created https://wcfixtures.football. For some reason they only made it work on mobile. We did a similar one back in 2014 but I was not involved in this one. I imagine they use https://www.football-data.org or scape themselves.
The high-tech future of diving and snorkeling
It might be that the check of who can access the FP registers versus what the identity of the current process is takes a few clock cycles due to communication across the core and Intel didn't want to slow down the critical path register load for this since they figured they could just squash any improper execution later. But it might also be as you say.
Linux 4.18 Addition Helps Dell and Thunderbolt Systems – Phoronix
> It works great - for easy cases.

The question in question (haha) was "Who is smarter?".
Anything with a decent yield is oversubscribed in the new issue market right now. That said, these bonds were trading at 92.75 at the lows just days after being issued. New issue bonds don't trade down that low unless there's something seriously wrong with the name or if the entire market is puking.
WhoScored and the StatsZone app are both wonderful to scrape if anybody wanted to poke around harder for more detailed data.
Introducing the Notary Proxy – The Ethereum Oracle Trust Layer
In those situations, even adding printf statements can be enough to change the behavior of the system.
Also: our understanding of physics has evolved:

https://en.wikipedia.org/wiki/Lift_(force)#Alternative_expla...
It sure looks that way. 'If you've got nothing to hide you've got nothing to fear' must be gospel for these people.
They are sold when they are paid for. The preorders are not paid for.
They're quite good at optimising Electron apps though as demonstrated by Visual Studio Code.
> i don't understand how this is even possible

$1 loaned for one year at 10% means, after 1 year, you get $1 back plus 10¢ of interest. $1 loaned for one year at -10% means, after 1 year, you get back $90. This is reality in multiple economies [1].

Traditionally, monetary policy hit a zero bound with rates. Why would one deposit money at -10% when one can hold cash at 0%? But modern finance sometimes means it's better to hold bonds yielding -1% than it is to withdraw physical cash. (For example, to use as collateral.) The ultimate goal of these policies is to make holding cash so uncomfortable that investors have to deploy the capital.

[1] https://www.bbc.com/news/business-32284393
Interview with Manya Koetse: Sinologist and Founder of What’s on Weibo
People have wildly varying sensitivity to pain.
I'll reserve judgement on office until I see it running, but this trend towards moving everything to web tech is a little worrying. So many of my "desktop" apps feel slow and bloated now, and I keep seeing instances of decent software being rewritten in JS. :(

I don't want my spreadsheets crapping out on me at a few thousand rows.
It would be better if most scent diffusers used essential oils, but unfortunately, most are made with VOCs and synthetic fragrance compounds that are known or suspected to cause many health problems, like Glade plugins. Febreze and Lysol are the same but with more VOCs.

I have severe sensitivity to fragrance and cannot tolerate synthetic fragrances, incense, or essential oils. Simply being near people who use artificial deodorant, shampoo, laundry detergent, dryer sheets or any other mainstream product that leaves them covered in synthetic fragrance is very uncomfortable. Essential oils are less problematic.

With essential oils, many of the chemicals present (such as linalool and d-limonene) break down as they oxidize after diffusion, and the oxidation products have different health effects than the original chemical, such as allergy sensitization and irritation.

My mother-in-law visited for two months, and left one of the rooms in my house saturated with Young Living essential oils from a diffuser. Six months later, I still can't go in there.
> Building a new network would not be constrained by existing implementations.

That doesn't answer the question. Why would the transport be "correspondingly faster" in a smaller tunnel than a bigger one, given both are new digs?
> It is all opinion, but there’s a difference between the opinion of Alan Kay and of someone who has two days of Python and a copy of Angry Birds.

I'm not sure I see your point.

We put more stock in the opinions of Alan Kay, because he has a better command of the relevant objective facts than does the newbie.

In 'pure literature', there are no such objective facts.
It's a very different prose style, but it works for the stories he's telling. That he stumbled into that style by trying to pad his length is interesting, but ultimately beside the point: the resulting stories stand or fall on their merits.

(It does raise the question of to what extent good writing relates to the author trying to write well. E.g. I found the "author's preferred text" of American Gods verbose and meandering, and suspect that the original release was superior, even though Gaiman regards it as having been excessively edited for commercial reasons)
I'm sure you are right... but just for my curiosity can you provide a link to this mysterious survey? Apparently it was linked in a deleted comment.
Machine learning. Video editing. Large databases. Some scientific applications. Even high res photo editing / digital art can easily benefit from 32-64 GB once you get enough layers going. Some types of simulations.

Only somewhat snarkily: Any browser with more than a few web apps open, because developers don't believe limited resources exist any more. Electron apps.
Google just released a paper explaining how their “portrait mode” works
Wow, I did learn something today.

https://www.scientificamerican.com/article/how-cia-fake-vacc...

"In its zeal to identify bin Laden or his family, the CIA used a sham hepatitis B vaccination project to collect DNA in the neighborhood where he was hiding."
[...]
"The deadly consequences have already begun. Villagers along the Pakistan-Afghanistan border chased off legitimate vaccine workers, accusing them of being spies. Taliban commanders banned polio vaccinations in parts of Pakistan, specifically citing the bin Laden ruse as justification. Then, last December, nine vaccine workers were murdered in Pakistan, eventually prompting the United Nations to withdraw its vaccination teams. Two months later gunmen killed 10 polio workers in Nigeria—a sign that the violence against vaccinators may be spreading."
There are conventional things that you're going to get a lot of comments about. My conventional thing is running. The hacky part is the endorphins you get.[1] Other than the hack, you constantly set goals and achieve them, it makes you feel good about yourself. Micro goals like "I'll make it to the end of the street without stopping," and larger goals like "I'll run 5 miles today." Positive reinforcement during the run, large feeling of accomplishment after.

[1]https://www.webmd.com/depression/guide/exercise-depression#1
Important E-commerce Business Tips for Beginners
I think it's more that supervised ML is sufficient for most of the low hanging fruit. It's relatively easy and well-understood, and there are a lot of things out there where we have copious data that we just need to digest into a model to make it useful.
Can't open this website.
How do you know how much cash Elon has?
Conditional links with Ember.JS
It's within some dictionary definitions of racist; but xenophobia is barely better. Most people don't have control over their nationality.
This would be fairly easy to build in Emacs for almost any language, but I can't see how this is so useful. Furthermore, if working with Org mode source blocks, it can render structured data as tables upon evaluation. Say you have this block:

#+BEGIN_SRC elisp
(list (list 'col1 'col2) (list 1 2))
#+END_SRC

(I don't use quote syntax to not confuse non-lispers)
Hitting C-c C-c on it produces the following block just below it:

#+RESULTS:
| col1 | col2 |
| 1 | 2 |

With Org source blocks you can have a literate program even using multiple languages and still communicating easily between source code blocks and both generated and static tables. It can easily be intermixed with formatted text and exported to a suite of various formats, including plain text source code (so-called "tangled source").

Edit: just for the sake of it, another example, this one in Python:

#+BEGIN_SRC python
return [[x for x in range(1,5)],
[chr(y) for y in range(ord('a'),ord('e'))]]
#+END_SRC

#+RESULTS:
| 1 | 2 | 3 | 4 |
| a | b | c | d |
> greatest minds in the world

I wouldn't be so generous.
The U.S. measures mean real wages adjusted by cost of living to the county level. For example, Manhattanites earned 39.9 1999 U.S. dollars in 2009; that went up, adjusting for cost of living, to 50.36 in 2016 [1]. This trend, of higher real wages today than pre-crisis, is substantiated across the population.

Real wages have not gone up as much as productivity. And their gains have been unequally distributed. But it is important, in such discussions, to maintain objectivity. Most Americans are better off than they were before the crisis.

[1] https://fred.stlouisfed.org/series/MWACL36061
Even though I never use outlook/ms stuff.

I like google google docs. The thing is, I rarely have to use them, so and it's been FOREVER since I've anything like libreoffice installed. So, in the case I have to handle a word document or spreadsheet, docs is good. I'd rather deal with a slightly slower web app rarely then having all the office suite stuff installed.
the extreme brevity of the financial memory

is a product of the extreme brevity of political memory. These people know exactly what they are doing.
IoT Hackathon 2018
Excuses my ignorance.... Why Florida?
Do you know how to record all backtraces of all threads and child processes with the VS debugger? Just curious. I did it lately with gdb [0], but with a bit guerrilla method. It was my try at localizing the origins of dreadlocks. I would appreciate pointers for something better for dreadlocks, but the original question still stands.

I understand that what I did would be a bit close to a poor man's reversible debugger.

[0] https://gist.github.com/hadrianw/5b8d33a4b353c49e7dbd6eb55f8...
apple makes a chip that's 2x faster than their previous model, why are they putting it in their own phone when they could sell it to other phone manufacturers?
Well, either you compare optimal public transport vs optimal individual transportation, or you compare current public transport vs current individual transportation. And current individual transportation doesn't scale at all. Just observe how much city space is wasted on individual transportation (e.g. large streets through cities, parking spots etc.), and how further that can grow...
Real-Time Streaming Pattern: Preprocessing for Sentiment Analysis
The dangerous MailSend – antivirus heuristics fail
the absolutely batshit advice and business building strategy that comes out of the world of venture capital and tech accelerators.

Would you mind elaborating on this? What advice concretely are you talking about and what exactly is batshit about it?
There could be many use cases within my industry of financial services/retail banking but a fantasy one of mine would be to automatically optimize capital risk levels :)
Is there a reversible AKA time travelling debugger for JavaScript?
As far as I can tell, the Firefox reader mode algorithm needs the entire page loaded in order to figure out what part of the page is actual content. It's necessary because nowadays you can't tell from the HTML alone.
> Very different than people downloading and trusting random Docker images.

I'd say there is a difference of using official Docker images (from the software vendor) vs images from a random person.

Official images exist for most popular packages, under a separate namespace and usually have checksums published etc.
wow, already works in FF:

console.table({me:80,you:15,she:5})

thats why some people love JS!
I think it has been shown to be a fact that both culture and genes affect this. Psychopathy has a large genetic component, and strips a person of most empathy. At intermediate levels, we call it sociopathy, etc.

For the cultural aspect, there are two interpretations:
1) Humans (non psychopaths) are born to feel empathy, and you only take that away if you inflict harm on the person
2) Humans (non psychopaths) are born with some latent capacity to develop empathy, but it must be actively taught in order to develop

From my experience as a father, it seems like empathy develops without much actual teaching. Maybe teaching it can boost it, but at least for my children that has not been needed so far.

But empathy is very definitive limits. It is much easier to feel it towards smaller children, cute pets, etc, and not very easy for children to feel empathy towards authority figures, scary/ugly animals. Also, when hungry, sleepy, scared or angry empathy seems to vanish.

I think this is typical. Nobody feels empathy for everyone all the time.

And it is when dealing with people that you DON'T feel empathy for, that you are most likely to break ethical rules or convensions.

And with (my) children, teaching them to behave morally when not feeling empathy, that requires dedicated effort from the parent.
Sometimes it's just easier. Especially if you have a nice incremental build system or an interpreter to which you can just send expressions and definitions and see the results.

Edit: also, you don't need to remember to weed out debug prints, you can, in almost all languages, define a function or a macro to do that which can be undefined or an ignore function if not built in debug mode. With cpp or Lisp, that'd be a compile time decision, and I suppose many languages could optimise out a function that is defined to just ignore it's arguments and do nothing.
Youth and Political Violence in Nigeria
Counterpoint: emojis are bad and should be discouraged
Before that he was a startup founder, right? Then a YC partner.
Machine Learning – Build a Board Game Predictor
React is pretty crazy. It seems like it's taking over in a way Angular and others never did.
The memory overhead of Visual Studio Code is insane. Don't see how they did a good job optimizing anything there.
"Different Seasons" is my favourite collection, and out of the 4 total stories in it, 3 became movies (The Body became Stand By Me, Apt Pupil, and The Shawshank Redemption). Can't recommend this collection highly enough.
Previous discussion on HN for 'Naughty Strings', was certainly an entertaining and eye opening read...

https://news.ycombinator.com/item?id=10035008
Back in the 60s, in some areas of the US, all kids had their tonsils out, even if they never had an infection. They'd do multiple siblings in a single day.
Nodejs: Fast, disk space efficient package manager: pnpm
Success can only be defined with respect to a particular goal. We all have different goals in life.

Goals may change, so it's good to keep one's options open, but to "instill" anything in a child is hard. With some teenagers the best thing to do might be to ban them from reading and studying and punish them whenever you catch them doing their homework. They might then do those things in secret just to spite you, and then they might at least have the option of going to university.
Going on this [0] comment, desktop Office is remaining in C & C++, and on this [1] Code is Typescript and has no plans to move from Electron.

So I'm really not sure what to make of this random viral tweet.

[0] https://news.ycombinator.com/item?id=17305332,
[1] https://news.ycombinator.com/item?id=17306589
It does. It's our aim to keep all the examples working for the 1.0 release (some deprecation warnings may appear though).
More than 1/3 of American adults take prescription drugs linked to depression
### Features:

- Fast. As fast as npm and Yarn.

- Efficient. One version of a package is saved only ever once on a disk.

- Deterministic. Has a lockfile called shrinkwrap.yaml.

- Strict. A package can access only dependencies that are specified in its package.json.

- Works everywhere. Works on Windows, Linux and OS X.

- Aliases. Install different versions of the same package or import it using a different name.

Edit: formatting
Learn to get out of your head.

Learn to observe thoughts instead of getting lost in them.

Recognize your brain is having a mood, not that you are that mood.

A lot of stuff from meditation/mindfulness can be quite helpful. There's a book called _The Zen Path through Depression_ that's kind of interesting.

I don't view it as a "fight" rather just a "thing". Depression is normal. Not fun, but normal.

Serious depression may require professional assistance. If whatever it is you're doing isn't working, get that assistance. Reach out to people. In general they care.
> Many folks don't get treatment for alcoholism in their early 20's, quit, and drink normally the rest of their life.

If they don't get treatment, were they ever properly diagnosed? As I understand it, "drinking (way) too much" is something a good number of people in their 20s do, then they cut down without any particular problems. That isn't alcoholism, it's just drinking too much. Even the urge to grab a glass of wine to relax, when it's just a habit, isn't an addiction.
Dear database developers, please don't get hung up on string lengths.

I'd be very happy to ask the DB for (say) a UTF-8 string of up-to 80 bytes. That means I could store 80 ASCII characters, 40 two-byte characters, 20 four-byte characters or some mixture as I wish.
Can you embed any of those in Office documents? No.
The Goldfinch was fantastic, definitely in my top 5 favourite book of all time, if not top 2 along with the Empire Falls by Richard Russo and The Stand by Stephen King.
Fair point. That does happen sometimes :)
I'm comparing optimal public transport against optimal individual transport. The problem is that it never will be a solution for everyone, and additionally, the public transport system you're imagining can be integrated into the individual transport system I'm talking about (see my other comments here) - and IMO it's better to do the more integrated, future-proof and optimal solution. Public transport as it is now can never satisfy all people, and making it optimal means moving towards more individual means of transportation.

Thinking about it now, it seems like the distinction of public vs private/individual transport will become less and less important - and that's what we should encourage. Let everyone choose the best option for them - given the prerequisites I talked about in my other comment, the market could take over from there. I'm 100% positive that buses would not cease to exist, just operate more efficiently.
Currently leading a massive thorny project to convert all of our databases to utf8mb4. Definitely heed this warning.
I had never heard of this stuff before. It's WEIRD: https://commons.m.wikimedia.org/wiki/File:FrostBeardDetail.j...
My first point was a bit of a nitpick, sure, but I'd never describe my work as 'implementing' something unless it actually worked, in full.

As to my second point, you're reading dismissal where there is none intended. My question wasn't rhetorical. Ironically, you've just dismissed my question.

Is Wikipedia's PyPy article mistaken in describing it as 'Written in RPython'? I'll go ahead and fix it if so, or perhaps I'm missing something about the status of the C code.
>
If you need a database, don’t use MySQL or MariaDB. Use PostgreSQL.

This is stupid. There are pros and cons to every database. For example, MySQL allows you to set a trigger on an op, PostgreSQL requires you to write a function first.
> optimising Electron apps though as demonstrated by Visual Studio Code.

Go ahead and open 6mb CSV file. Keep me updated :)
Fewer people 'using Facebook for news'
Given that the article says that everyone should use utf8mb4, then why don't/haven't they just fixed it? Should be easy enough, and probably safe, too.
Thanks for the feedback! Totally agree this could be clearer
The massive amount of failed startups is caused by people who think this is a fun popular way to make money out of thin air.

If you're level-headed and sensible, you can do your analysis, make a business plan and figure out if your idea is marketable or not. Then, there's the business-doing portion, which is extremely complex, different from your technical work, and will make or break your company. But that only works if you have a financially viable, novel idea.
Unless you intend to scam bad investors, you can't have a startup without real innovation, period.

The startups were meant to be a way for experts in some field to materialize an (actually) innovative idea with economic potential, and generally an idea that doesn't require absurd amounts of capital.
This could be done in a typical corporate environment, but when the innovation originates from a single individual, the startup model allows him/her to better protect his interests and grow his business faster.

When running a startup became a trend (in many areas of Europe it did, I don't know about the Americas) there was a huge influx of people with no technical expertise, all of whom simple wanted to be a startup owner for the sake of it, with no plans or targets, just to be managers. These people fail over and over, sucking up EU and local government resources with them, and dragging the name of real startups in mud. Many of them are just the kids of wealthy individuals with connections. They leverage these connections to get investments and loans and waste 100s of thousands to millions on repeated failed attempts to materialize some retarded idea, like solar freaking highways or the 10,000th taxi hailing application on the market.

Survivorship bias is bad, but this situation would persist even without it.
In practice the local language always becomes the child's strongest language, whatever you do, so if the local language is the language of the land then you don't need to "make sure they learn the language of the land": it will look after itself. Your problem will be to prevent the local language from completely replacing the other languages.
The reasons why women’s voices are deeper today
This code describes all limitations of the multithreading in Python and kinda explains why Python can't use multiple cores despite using real threads.

Why would you need a working GIL inside the GIL?
At relatively short distances (hundreds of meters), enough radio waves bounce around in the environment to still make it to the receiever. https://spectrum.ieee.org/telecom/wireless/smart-antennas-co.... You need beam forming antennas to take advantage of this fact.

See: http://about.att.com/innovationblog/two_years_of_5g_tria

> Learned mmWave signals can penetrate materials such as significant foliage, glass and even walls better than initially anticipated.
Yeah this my experience too, evaluation ends being almost endless time sink.