skysight-inc/HackerNews huggingface dataset:
And to add to this - it wasn't the case from the very beginning. It took us shipping a set of services with ISO and SOC 2 requirements to arrive to security model we're employing now. It also helps a lot having corp-wide robust security and compliance teams that drive security mindset across the company. They create a lot of pain for dev teams, but this ultimately results in much better security stance across the board.
Double clicking the title bar of a window to maximize it (without going into full screen mode). I used to install Spectacle on every computer, but this was really the only feature I needed from it.

Somehow it took me 12 years of using macOS to learn how to maximize windows.
That's due to a lack of social activities post work.
Too easy to get down-voted in comments
A problem with commenting on this site is that it is too easy to get down-voted if people disagree or you are wrong. The assumption is, the up-votes from agreement will cancel out the down-votes from disagreement, but there is still negative Brownian drift. The reason is, people are psychologically more inclined to act on things they oppose than agree with. Someone who gets a bad product on Amazon is more likely to leave a negative review than leave a positive review if they are satisfied. There are so many times where people may want to comment on something but fear getting a barrage of down-votes. One solution I have thought of to counteract the negative drift to to only assign a 1/2 - 3/4 point karma deduction from down-votes.
When death rates are measured based on outcomes, as in one either recovers, or is dead, the risk is 3 to 7 percent depending on where you are in the world.

(Dead people)/(recovered people) = (death rate)

Doing the math based on infection ignores the fact that many cases are in progress, outcome unknown. This makes for much smaller numbers, and a less realistic risk perception based on lack of data for the scope of risk being evaluated.

Flat out, we do not yet know whether active cases will turn bad. This also means death rates can and will change over time too. By tracking outcomes we can understand the impact of science and policy, as well as mother nature and how the virus itself continues to mutate.

Further, there is a secondary risk of ongoing, potentially chronic, complications. People may recover, but are changed significantly. Data on that is harder to boil down.

My own outcome is profound fatigue. It is significant and appears very slow to improve. Being sick was no joke. Being more tired for months on end now isn't either.

And I am fortunate, due to fatigue being among the more mild of the potential bad outcomes we know about today.

Surviving the virus does not always mean returning to normal.

Those governments acting to prevent harm are on stronger ground than many may be aware of.

The health care system costs will be serious and endure for a long time, even by measures of what governments consider a long time. In the US, that will be acute, due to our current policy. Other nations are well justified in many of their policies for this reason alone.

Health care impact translates into increased death rates from other causes. Flatten the curve is about that as much as it is being able to manage the death rate direct from COVID down.

Right now, death is understated and poor health outcomes more seriously missing from the policy discussion, as are the timelines and potential costs, efficacy of our potential remedies.

This mess is here with us for a long time. A poorly managed, non global discussion only makes it all worse across the board, risks, costs, quality of life, etc.

It is time to realize COVID is more likely to transition to endemic than we are to return to life and business as it was last year.

That will be true for humans on this planet period.
The problem with techniques like this is that they're microarchitecture dependent. The optimal amount of delay slots to have will depend how how long the pipeline of the CPU is, for instance. This means that you'll always be leaving performance on the table, because you have to cater to the lowest common denominator, or change the isa and recompile everything
The American School of Economics
I don't think that a use-real-names policy is conducive to good conversation, because it means that everything you say has to be something you would be comfortable saying in front of your family and your employer and the whole rest of the world. That takes a lot of topics off the table -- sex, politics, anything that is controversial, anything that might become controversial in the next ten years... Discussions become very bland when everything you say has to be designed to protect your real-life reputation from every audience that will ever have power over you.

It's better to create a system of reputation independent of real-world identity. If new users have limited privileges until they've been around for a certain amount, or if only one account is permitted per IP, even an anonymous account with a name like XxX_FakeName_XxX becomes an identity with value and a reputation. By engaging in bad behaviour, that identity would lose reputation, and might even be banned. Because of the loss of privilege or technical challenge associated with creating a new account, bad behaviour is disincetivized without actually attaching real-world identity to anything online.

There's a balance to be found between lowering barriers to entry and raising barriers to re-entry, but if the balance is done properly it can make a big difference.

Of course, none of this works without moderators doing the legwork of throwing out bad actors, but this is the difference between effective moderation and token moderation that is too swamped to actually do anything.

This also works better in smaller communities, but I think smaller online communities are just healthier in general. This is part of why monoliths like Facebook and Twitter are so toxic -- there is no "Twitter community," rather there are a thousand Twitter communities all of which are bumping into each other constantly because they occupy the same space.
Some governments do exactly that where and when it is believed to be necessary. France, for instance, forbade people from travelling further than 100 km from home at one time.
Three-finger drag is waaay better than drag lock. I wish it was available on Windows as well.
I have saved days and much effort by using `SHIFT + ALT + CMD + X` to resize my windows.
https://github.com/kreeble/SimpleWindowResizer
Reverse-engineering the Intel 8086's instruction register
The desire to be with your life partner, that's something I wouldn't put in the "extremely egoistic" category.
Job cuts announced by U.S. companies jump 54% in July
that's an interesting take. and although i can see the fit, i prefer to look at it from a wider lens of children taking the torch from parents, debts and all. the first step of the harrowed journey to adulthood, in this case.

you can take prostitution specifically out of it, and still see lots of instances of children being burdened with the idiosyncracies of ancestors and environment. a child overcoming an unspecified gluttony of parents and society, if you will.
Re-enable the boot chime on the latest Macs with the following command in terminal:

sudo nvram StartupMute=%00

To turn it back off:

sudo nvram StartupMute=%01
If you go to the Edit menu in finder (or any application) all the way at the bottom of the dropdown menu you’ll see “Emoji & Symbols” and to the right it should tell you the shortcut keys.
One could probably dream up a thousand theories about why capitalism was developed, but it really doesn't matter to me. What matters is what the theory is and whether or not it's true.

And history has borne it out: societies that adopt strong individual property rights coupled with economic freedom have delivered unprecedented wealth to their people at all levels, while societies that focus on the collective at the expense of the individual and upon outcomes instead of opportunities flounder and regress.
CS50 Lecture by Mark Zuckerberg – 7 December 2005
It would seem to be a pretty big factor if I'm reading correctly that it'd be $480/day.
Corporations Receiving Bailout Billions Have Laid Off Staff and Paid Investors
Has the culture of secrecy benefited them at all since the launch of the iPhone?
I guess I also struggle with knowing when it's ok to be a little vs a lot imprecise, and what that means in terms of units. If I'm building something at kilogram scale can I be off by a few milligrams?
Oxygen.
This is how I organize albums.

You can create a smart album that “is not” in “Any”. Now this smart album has all the photos that are not in any album.
You can also use a similar trick when editing your writing, read your work backwards and you're more likely to catch errors you would otherwise have skimmed over by reading forward.
The article makes great points. The most important one is that the carbohydrate content of Oatly is significantly greater than milk with a much higher GI sugar. It has a different sugar formulation which has double the impact (GI) on blood sugar as compared to Lactose (milk sugar). This alone makes it an extremely unhealthy choice as drinking 12 oz is certainly enough to spike blood insulin levels and cause a subsequent roller coaster effect on blood sugar.
People are blindly flocking it to it because sugar tastes good and clever but misleading marketing.

We really need better nutrition education in society and better marketing controls on sugar.
My favorite feature is the help menu, where you can search the menu for a command. I'm not aware of any other OS doing this so consistently.
A Man Who Broke Atlantic City (2012)
In South Korea they will place your table in front of the bathroom and wait for you to quit. They are making it illegal now.
Next step: you should have a status indicator.

And: you should have a power on/off button.
I know there are workarounds, but when you do not have guarantees the phrase 'production ready'is not the first that comes to my mind. (Of course in the problem spaces of matlab and python, and probably R, Julia is probably on par)
Upvoting for Architecture and Design?
I’ve been using windows more recently since my personal Mac bit the dust and I’m trying to decide if there’s really that much reason to own a personal Mac.

So now I realize for years I’ve been using this silent feature of macs for years called “not totally jacked up font rendering”. I would never have imagined this was a feature, but apparently there is a collective insanity in windowsland where the quality of font rendering is not just a total and utter failure. So this is my new top Mac feature.
Robintrack to shut down after Robinhood limits public access to user holding API
The population of Hungary is 98.3% ethnic Hungarians. Other Eastern European countries are similar.
https://www.cdc.gov/salmonella/newport-07-20/index.html
This is fantastic and I'll be giving a try. Do you think the recipe/process works fine if I scale it down to a 1-cup yield?
> and also was my gateway into anime

Slightly off topic, any recommendations on that area? I've never checked out any anime besides children shows and would like to see something good, preferably mature and recent, to see if I'm missing out on something cool.
Dag Prawitz's book "Natural Deduction" isn't too hard to read .
Very cool! Quick question‐when unsplash first started, the images used cc licenses. What happened to those images? Did they get switched to the new unsplash license, or are they still cc licensed? Is this information contained in the dataset?
You don't realize how adjusted to it you may be. I've had rural friends come to my small city and say the air quality is bad, and I in turn found my nose and throat burning when I visited New York City.
Comic Book Industry Reckons with Abuse Claims
IIRC that's actually a setting you can opt out of, though the wording in the app settings is pretty ambiguous
Well, there's "learn" and then there's "Learn." One of my undergraduate QFT courses was taught by a nuclear physicist who wanted to spend the whole time talking about nuclear shells and mass gaps, so he crammed all the QFT in to the last half of the semester. In a blaze of glory, we ran though a bunch of linear algebra, got showed how to do Feynman diagrams and compute cross sections, and saw some vacuum solutions for the Dirac equation. After taking that class, I wouldn't say I knew QFT, but I could say I knew QFT without lying.

If you taught someone how to do derivatives in a half-semester blaze of glory like that, I bet you could combine it with the half-semester blaze of QFT glory to technically qualify as teaching a high school student QFT in half a year.

(I don't regret the professor's decision at all, by the way, I liked the nuclear stuff.)
Why behind the curve?
Apple has had some impact for me on web. I can ship an ogg/webm universally in <video> and <audio> tags, but Safari on iOS is the only one that demands a mp4.
You'd be surprised but in general this

element.html = "...";

is faster then

ReactDOM.render(vdom,dom);

at least for initial DOM tree population.

There are many reasons for that. `element.html =` is implemented as single update transaction, JS function call is significantly more expensive then HTML parsing of single element, etc.
When typing or editing text, Option-arrow to move the cursor one word to the left or right

Command-arrow to move to the beginning or end of the line

Combine either of these with the shift key to quickly select text.
I know what they meant here. The touch bar seems like a keyboard but it's not, because of the sliders and customization.

My original touch bar layout mirrored the pre-touch bar layout out of familiarity. Recently I've learned how to use it as intended (sliders instead of up and down buttons, using application-custom buttons). I realized that I was just being an old man about the touch bar before.
Meanwhile in a China, foreigners (white/black people) are being kicked out of their homes and forced to sleep on the street, restaurants (including a McDonald’s) are refusing to serve foreign customers, foreigners are refused entry to malls, foreigners are unable to access important government-issued apps, etc. Asians aren’t the only ones affected.
Thanks! Have emailed them.
> It shows whatever your stance on abortion that making it illegal doesn't stop it

That’s not an argument. Making homicide illegal does not stop serial killers, is this a good reason for legalizing homicide?

I am not taking a side on the dispute, but: are you in favor of abortion? Then just say openly that, according to your system of values, a fetus of N months can be rightfully killed, for some value of N.
Thanks! Have sent a mail.
https://www.fda.gov/safety/recalls-market-withdrawals-safety...
I built a love story „movie“ using the Office assistants from a C# program.

Later that year we got married, and we still are - 14 years later
We should figure out how to grow only the milk production parts.
Oh this one gets on my nerves so much! And when you go back to correct it, it still tries to “correct” you the second time around.
I honestly couldn't say, I've only made the batch listed in the link. It tends to keep pretty well, so I usually just make a jug of it and use it over the course of a few weeks. The cleanup can be a little cumbersome, so I'd rather do it in bulk and spend less time on the cleanup.
>and it has been a problem for decades

try centuries. Cities used to be population sinks sustained by migration because people kept dying so fast. During the heyday of early industrialisation the life expectancy in Liverpool[1] fell to 25 years. London periodically experienced infamous smogs, the one in 1950 killed about 12000 people.[2] No matter how bad it is today, it was even worse in the past. Electrical vehicles and better public transport and much more awareness and historical trajectory if anything though suggest that things are getting better, not worse. There's not going to be anyone fleeing from the cities, economics opportunities are going to outweigh pollution, as it did in the past.

[1]https://www.economist.com/free-exchange/2013/09/13/did-livin...

[2]https://en.wikipedia.org/wiki/Great_Smog_of_London
There are also a lot more people playing the stock market now than before.

If one is a shareholder of a company, that gives incentive to defend them no matter what.
I think almond milk tastes awful, Oatly was the first milk substitute I actually liked (maybe preferred!) to dairy milk.

Currently I rotate through Oatly, Califa farms, and Silk oat milks depending on what's available.

The water footprint of almond milk is just mind-blowing. I can't fathom ripping out other productive agriculture so that we can suck up more water than other crops just to sell almonds overseas and turn it into.. milk.
Glycemic index is a somewhat deceptive measurement. A snickers bar has a lower glycemic index than a slice of whole wheat bread[0][1]. That doesn't make it better for you.

What glycemic index is actually showing you is the ratio of fat to carbs. And carbs are not inherently unhealthy. As a distance runner, I consume a lot more carbs than the average person, and I'm in the best shape of my life.

[0] https://www.dietandfitnesstoday.com/glycemicIndexDetails.php...

[1] http://www.dietandfitnesstoday.com/glycemicIndexDetails.php?...
I found Richard Curtis' About Time (which also packs an emotional punch in what's supposed to be a light comedy) to be a similar take on the passage of time, only much much more uplifting.
Not doin anythin for me
> all the accents and letters

Nowadays, holding down a key will show a pop-up with all the accent options, which you can then select by mouse or by typing the number under it, much like on iOS. The option route is my preferred one, as it's faster, but the new one is much more accessible to people without keyboard prowess.
Grade-school mathematics in 100 symbols
Wait until you find out you don't even have to save screenshots (most of the time) and can copy them straight to clipboard, and Cmd-V them where you need them. Cmd-Ctrl-Shift-3/4.
Proxy icons?
I really like most of the Pixar movies. I find them enjoyable both from a children and adult point of view while still touching pretty deep subject (inside out, up...)
Isn't this true in real life as well? Humans don't behave well in large groups both online and off.
What is the cause of that ~30%?
If anybody remembers ftrain.com, this is the same writer.
My wife is incredibly good at MineSweeper so I made her a clone for Valentine's a few years ago: http://valenmines.herokuapp.com/

I used the project as an opportunity to learn ReactJS. I thought she would enjoy the twist of the layout being heart shaped instead of rectangular but I think she's a purist ;)
Snowden since then released a cache of documents showing that the NSA wasn't doing what the EFF suspected. Continuing to claim otherwise is conspiracy theory raving.
We (un)fortunately haven’t invented time travel.
If there was some kind of VR physics lab I think it would be fantastic because it would democratize access to all the tools without having to spend money to learn in that setting. In fact you could even simulate large scale things and see how they interact (boulder crashing into car, etc).

Is there educational software like this which is aimed at beginners?
Whoops, just posted that too. Definitely one of the most time-saving shortcuts I found in the last few years.
The sky is blue and all the leaves are green

The air’s as pure as a baked potato

I think you know precisely what I mean

When I say it’s a schpledoinkle day
hn has one of the highest Signal to Noise ratios on the internet. The fact that we have to put up with occasional dings on downvotes, is made up by the great good of reduced time spent on the site wading through bad information, and trolling comments. The fact that the whole thing is run without ads is the really amazing factor here.
That's really useful, I didn't know that! BTW, there's a similar one: holding Option while clicking on the Wifi icon reveals some extra information about reception
Google sent me two of these home speakers for free. Why? I never asked for it and I will never use it.
It does traverse the folders to do just that; look at your CPU usage with that option on.
Hey everyone ️
Excited to be back here with my first no-code thing.

Best-Books.dev is a curated programming books recommendations from all the programming books list I was able to find on the web.

6 months ago, I wondered what was the most recommended programming books of all-time. So I asked Google about it and compiled all the results in one big list.

I shared the results on Twitter and on my blog and had many people asking me to do this for languages, frameworks, techno.

So I did

And this is how Best-Books.dev was born.

So far I compiled more than 7,000 recommendations from more than 500 lists but I don't plan to stop here.

So, what's next for Best-Books.dev?

- Completing 1 recommendation list every week for the next 6 months

- Writing other sorts of curated lists

- Planning a weekly newsletter with recommendations and new interesting releases
Adjust volume by finer increments: hold option+shift while changing volume.
> If it's whether or not to vaccinate or insulate your attic you probably are better off trusting your brain.

Disagree. Even my gut says to not vaccinate my attic.
False. Lattes ARE most definitely bad for you when they contain 30-40 grams of sugar or almost 3 TABLESPOONS.[1]

[1] https://www.starbucks.com/menu/product/414/hot?parent=%2Fdri...
The original comment did say it was only one example. But I'm a bit concerned about the tone of this response - we strive to prevent discrimination just because discrimination is bad, not as some kind of reciprocal favor to the Chinese government.
https://ai.googleblog.com/2020/05/federated-analytics-collab...

https://federated.withgoogle.com/
From the US point of view, it was freeing knowledge from the hands of backwards aristocrats, who for too long had lived on the backs of the common classes. The US felt it needed to be on par with Europe or risk having itself reconquered.

From the Chinese point of view, it is freeing knowledge from imperialist powers that previously conspired to divide its country, drug its populace with opium, set up rape camps for the mere “comfort” their soldiers. It feels that it must be on par with these counties or risk having atrocity after atrocity revisited upon it.

No one feels they are evil, and even when you “cheat” it’s always because you were cheated first.
> that passes the nerd/science test

Apart from the fact that it completely ignores...

[spoiler]

... the uncertainty principle and stochastic processes so that a single computer can confidently model the past and future of the universe. This blew it for me.
Literally my first reaction was "what a great thread, I have to share this on Hacker News!" :D
I did something a long time back when handheld GPS receivers were just coming out. Did a long walk in the shape of a heart. Was surprised it turned out as well as it did. Don't have it online anymore.
> The most important one is that the sugar content of Oatly is not only significantly greater than milk, it has a different sugar formulation which has double the impact (GI) on blood sugar as compared to Lactose (milk sugar).

Let's see...

* 7g of sugar in a cup of a low-fat oatly https://www.fatsecret.com/calories-nutrition/oatly/low-fat-o...

vs.

* 12.5g of sugar in cup of 2% milk https://www.fatsecret.com/calories-nutrition/usda/milk-(2%25...

So you're factually incorrect.

You're also disregarding the fact that even 12.5g of sugar isn't terrible if the rest of your diet is generally sugar free, that some people are lactose intolerant, and finally that oat milk doesn't come with the same terrible externalities associated with the dairy industry.
Mind sharing an example AppleScript of that? Every time I’ve dug in there, it’s never had quite what I wanted. But this seems like an especially leverage-able idea.
shoutout to the lone Kurosawa fan amongst anime lovers, decent flick.