skysight-inc/HackerNews huggingface dataset:
it's neither shocking or controversial to say that excess alcohol (for example, falling-down drunk) is bad for the majority of people. what is irritating to people of a logical/scientific bent is saying that ANY alcohol at all is going to lead to a a bad result, with minimal or no evidence.

for example, the bottle of gin that i have beside me has a label on it that says i should not exceed 2 small glasses a day. where did this figure come from? somebody made it up!
I know you’re trying to be clever but harm is definitionally bad.
For most recipes involving wine, the alcohol in the dish will have evaporated long before it arrives at your table.
One needs a stiff drink to cope with such bad news!
But I can already read unending COBOL rants online?
> To refuse a beer in Germany is an affront that I would like to weigh against the risk of cancer.

Really? I'm from Germany and I don't think that's the case in most places. In the worst case, just say "sorry, my doctor said I can't drink alcohol for a while - you've got one without alc, pal?" and you should be good.
I love it! Thank you for making it and sharing it. And kudos for pulling it off.

I'm interested in the process of creating the puzzles. What are the conceptual steps you go through to create them? Do you use some algorithmic process or it's all handcrafted?
Acknowledging alternative perspectives has nothing to do with agreeing with them or for that matter, partaking in them.

Also, obviously aware that significant percentage of people focus on attributes that are a poor predictor of long term success in a relationship and have zero desire to engage that market; not to mention you falsely assume that your definition of an entrepreneur is same as mine.

Lastly, happy to be proven wrong, but majority of HN is neither a hacker or entrepreneur, but just people that are curious people interested in being around other curious people.
I didn’t say outlaw it. Cigarettes are not outlawed. Let’s change the peer pressure around drinking like we did with cigarettes
That's a good way to look at it, apprentices. Makes me think about the cover of "pragmatic programmer" which I should open again in fact.
I'm using a self-hosted Shaarli :

https://github.com/shaarli/Shaarli
YC in the beginning was all about giving the people who make things a shot at using their ability and ideas to start a company. Now it's founders, funding, and hiring the first engineer.

Maybe half of what PG said is out of date, but a lot of that is because he wrote about a fundamentally different kind of startup. I think those stillexist, just not at YC any more.
I really meant a fruit juice, i.e., taking fruit and extract juice - no water or sugar added.
I use a mix of tab groups and semi-organized bookmarks. The tab group is useful because if something is no longer relevant, e.g., if I’ve mastered that, closing the tab removes it from the group.

While tab groups are not searchable (at least not on iOS Safari - hint, hint, Apple), bookmarks are. They take a bit more to maintain, and I find the trick is to organize them thematically, and to either prune them periodically or forget about them.

My “favorites” are things I use regularly, with groups for work-related, interesting tech, hobbies, entertainment, etc., but nothing adhered to too slavishly.

Bookmarks that are not favorites are basically a hoarder’s stash of things I cannot be bothered to prune but don’t feel like deleting.

For pruning bookmarks, I find swiping on iOS a slightly friendlier/easier approach than clicking on the desktop.

I’ve tried a few tools over time, and none really beats periodic manual curation. Save as much as you want, thematically, then clean occasionally.
I don't really have a centralised place where I store this stuff. I basically use the native facilities of whatever app I'm using.

In Chrome, I frequently use auto-complete instead of bookmarks. I don't need to use deep links very often, just hit the front page and then sign in. In the event that I do want a deep link, I use a simple bookmark. I really don't need too many of them, but I do like my Bookmark Bar for quick and easy links to stuff. More so at work than personal accounts.

I spend a lot of time in YouTube, and so I have a ton of playlists across two accounts. I have thousands of liked videos and a healthy history of viewed videos as well as searches. I have subscriptions for the best channels I watch all the time. So YouTube's organisation schemes are well-leveraged for me, in a way that can't be achieved with bookmarking or downloading locally.

On Wikipedia, of course I use watchlists for stuff. I really should have some sort of calendar or TODO list, because there are a lot of tasks I abandon or forget after a short while. I am largely a reactive editor who follows up on other people editing an article with my own changes, or contributing to an active discussion. I used to use a chat bot that was able to watch for other editors' edits, but that facility was unfortunately discontinued. (Yes, it was a bit like stalking, but it is 100% acceptable to monitor and verify edits if we expect disruption; my usage was always in the best interest of the project.)

I also use folders and favorites and stuff on Google Drive to organise, and if I need to jot an electronic note, I don't use Keep, I just use Docs. I have some offline Sheets and Docs that document general stuff about my life, for instance a grocery inventory and household measurements.

I used to use Evernote and it was fantastic. I totally agree with the poster upthread who mentioned clipping ability with it. Evernote could totally bring your personal knowledge all together in one place, with offline capabilities. In fact, I briefly, fearlessly, used Evernote as a rudimentary account/password manager before I got a real app that encrypted the stuff!
Then again it's equivalent of 3.5 liters of beer per week. And you don't see people who drink one beer after work and at most two on weekend calling themselves heavy drinkers.
This needs a true cost-benefit analysis. Thats what we do for any type of medical intervention. Some surgeries are super risky and some drugs have severe side effects that can kill you. Still, the overall benefit is positive.

Benefits: reduced stress, increased social interactions, improved mood

Costs: reduced lifespan, liver issues, addiction

I’ll bet the benefits outway the costs over an entire population. Maybe not by much, but i bet its a net benefit.
I usually see it for things like “return_generator”. Then you need to write an overloaded signature to show that it could return a list or generator depending on that param.

Then it’s even worse when there’s also an “allow_raise” param, where the return type will not be None if allow_raise=True. Now you need to write 4 overloaded signatures to account for the 2 polymorphic params
Absolutely not.

I worked on a team like this who regularly wrote function names well into the 160-200 character range. It was useless.
A Samsung Galaxy Tab A 10.1" is 33mm wider than my A7 Lite. I think it could handle a tablet that was 40mm wider, so I think it would work.

It is also 100g heavier, but you seem to be used to that. And on the A7 at least, the gamepad blocks the headphone jack so you need to use bluetooth.
I'm sure many folks here will be familiar with Andrew Huberman. If not, I highly recommend listing to his podcast, The Huberman Lab Podcast. Relevant to this discussion is his brilliant episode on alcohol [1]: "What Alcohol Does to Your Body, Brain & Health". Boy, was this episode a life-changing listen for me. The conclusion is the same as the linked study, that no level of alcohol consumption is safe for our health.

[1] https://hubermanlab.com/what-alcohol-does-to-your-body-brain...
I think the parent comment agrees with you?

They want to be able to choose whether to engage with alcohol without the attached stigma.
Conventional wisdom used to be that a glass of wine or a beer everyday was healthy.
Perhaps it might not make sense to write type hints for your own prototyping code, but the fact that many libraries and stdlib functions are annotated certainly improves my velocity.
Not actually sufficient though, you'll need:

def slow_add_int_float(a: int, b: float) -> float: # etc

where an argument could be made for encoding the return type in the name as well, at least for functions that don't do addition.

What that has going for it is the warm familiarity of C99. People really like function (and sometimes operator, if they draw a distinction) overloading though, and can reasonably argue that writing template instantiations by hand is a poor use of their time.
"Of late, I’ve seen founders very eager to secure fat salaries and to get to liquidity events as fast as possible."

This summarizes my disdain for tech. Most startups seem focused on addressable audience size rather than any form of utility. That is symptomatic of VC funding.
From the bullet points on top of the list:

> The lists describe the level of evidence that something can cause cancer, not how likely it is that something will cause cancer in any person (or how much it might raise your risk). For example, IARC considers there to be strong evidence that both tobacco smoking and eating processed meat can cause cancer, so both are listed as “carcinogenic to humans.” But smoking is much more likely to cause cancer than eating processed meat, even though both are in the same category.
> People want to impress and fit in.

Those that impress the most are those that fit the least.
This is correct. Do you know what percent of lung cancer is attributable to smoking? 90%! 9/10 lung cancer deaths are attributable to smoking.

Compare this to ~5% of cancer related death attributable to alcohol use.

It's just not even an accurate comparison.

To be honest though? I am willing to bet that cost to healthcare system for alcohol related illness is outpacing that of smoking related illness. Cirrhosis of the liver is a very costly disease when it gets close to end stage.
> Quoting is insane and hard to get right.

On the contrary, compared to e.g. bash, unless you're doing something super unusual or wrong, you rarely have to think about quoting in Tcl. Use "" when you want substitution, {} when you don't, {*} when you need to pass a list as multiple words, construct lists and dicts using their appropriate constructors and never by hand — and you're safe. Unlike bash, quoting in Tcl is dead simple, predictable and never surprising.
I think he is referring to hormetic stress. But WHO says the same about lead… there is no safe level. I wouldn’t want to stress my body lightly with a light amount of lead.
Nah, you still get those diffs when the autoformat rules change
Over the two or four years I used Ubuntu, I burned more time fixing upgrade problems in Ubuntu than (barring the libpng nonsense way back in the day) I've spent fixing Gentoo upgrade problems since ~2004.

I really, really, really wanted to be able to recommend Ubuntu, and for a long while it was REALLY good, so I could. But then something happened inside Canonical, (I guess they turned into clowns?) and they started releasing software that would just break _bad_ on upgrade. (In fact, had I not spent so much time developing my sysadmin skills with Gentoo, I would have been unable to recover from the upgrade problems I ran into.)
Where can I find one of those?
The best way, is to stand on shoulder of the giants.

You can clone an existing app, and make it more scalable, more UX friendly, more extensible,...
JabRef - the browser extension and download function are especially useful - [1], Zettlr [2], Git and some discipline taking notes. I also email myself stuff to read later.

[1] https://www.jabref.org/ | https://github.com/JabRef/jabref

[2] https://www.zettlr.com/ | https://github.com/Zettlr/Zettlr
The long and winding road toward an HIV vaccine
I guess people can make their own deductions as to good or bad. Alcohol is mostly detoxified in the body by two enzymes. Alcohol dehydrogenase breaks down alcohol to acetaldehyde which is a highly toxic substance and a known carcinogen. Acetaldehyde is then thankfully further metabolized to acetate (harmless) and thence to water and carbon dioxide. Neither alcohol or acetaldehyde are exactly friendly to cells to put it mildly. As we know, the former is an excellent preservative once the cells are dead.

As with the rest of life, it's a balance of risks. Having the right genes may be helpful. Jeanne Calment lived to 111 and apparently enjoyed a daily spot of port.

https://en.wikipedia.org/wiki/Jeanne_Calment
Windows and doors should come with cancer warnings.
It’s a matter of proportion. A normal smoking habit puts somebody at (if I remember correctly) something like a 50% chance of dying early from a smoking-caused disease. As another reply to your commenter said, as much as 90% of lung cancers are cause by smoking. In comparison, this study is talking about an estimated 4.1% of cancer cases being attributable to alcohol, and only 13.3% of that for the ‘light to moderate’ category, which many would consider still a fairly substantial consumption.

It’s not nothing, and yes, there needs to be stronger messaging about the dangers of heavy drinking, binge drinking etc., but having a couple (2-4) of beers or glasses of wine a week is not massively increasing your risk of cancer, much more than just living somewhere with high UV or a lot of roads.
At my current window size the table of contents on the side overlaps with the text. Otherwise really nice and readable, I agree. I especially like the font.
While Zork and its relatives are interesting, are there any non-narrative based text games?
It's the same all over the World, the majority of car accidents happen during daylight, caused by drivers' distractions, AKA smartphones nowadays.

So WHO should publish a paper where it says "no amount of smartphone usage is safe for your health, you better drink a beer after a walk in the woods"
Exactly. I prefer writing with double quotes as they are easier to hit for me. When/if the formatter changes them to single quotes I couldn't care less. I can accidentally miss-indent something and the formatter will catch it and fix it. Why spend mental energy making sure I'm perfectly writing trivial things when I can focus on the important stuff?
I really liked MHRD

https://store.steampowered.com/app/576030/MHRD/
It'd depend on the network topology and rate of syncing.

For a simple case of two nodes, they'll be divergent until each node sends the other their current state.

For client-server, the "whole system" wouldn't be in the same state until all clients report all their changes to the server and the server re-broadcasts all those changes to all clients.

A pathological case (but happens when people leave an ipad in a drawer or something) -- a node could be offline for 6 months and the rest of the system never gets those changes until that node comes back online. There's technically some divergence: the other nodes are missing whatever state the ipad had, but does it really matter if that node was unimportant enough to be left offline?

Depends on use case for sure.
But likely not a L9 SWE, is he?
Clang as the main compiler? That is going to be a game changer for me. Kudos to the gentoo team!
Friend of mine in recovery pointed out recently that this isn't true. In fact depending on the other ingredients and cooking duration, there may well be quite a bit of alcohol by volume in any 'wine sauce' or similar dish. It's the water that will evaporate first

"Meats and baked goods that are cooked for 25 minutes without being stirred retain 45 percent of alcohol."

https://www.isu.edu/news/2019-fall/no-worries-the-alcohol-bu...
I recently wrote a quip about this on the gentoo forums: https://forums.gentoo.org/viewtopic-t-1161242.html

Basically, portage only ensures package consistency at the start and the end of a portage package transaction (upgrade, install, removal). Anywhere in the middle, if anything fails, or your package upgrades take too damn long and you need to use your system in the meantime, the programs you use can be subtly broken.

This is especially painful when upgrading between ecosystems of packages with modules that are version-bound to eachother. Think for example python upgrade, Qt upgrades and KDE upgrades, that will simply not run until the entire stack has finished upgrading.

This is a problem that many distributions deal with, but the chances of failure in binary distributions are much smaller, and the time taken between the two states wherein your system is "consistent" is significantly shorter.

It'd be nice if portage was able to use a temporary system to build packages in, and only install onto the running system once everything has finished upgrading. Unfortunately, designing machinery for this is complicated, and most veteran gentoo users will suggest you use a chroot or a separate system to build packages for the system you're using.
India tests recovery of spacecraft for Gaganyaan astronaut mission
slow_add is not simple. It reimplements the Python + operator, which is quite complex, specially if you look at it from a type system perspective. As noted, its implementation is very core to the language and it has several edge cases. That's not usually what you do when you create a function. Rather, you have very specific types that you support. It's only "simple" because adding things together is a basic operation.

Even if you write a function that encapsulates some funky arithmetic. You will probably be using more operations, to the point that anything but numbers will really make sense.

That said, yes, adding types to an API that wasn't implemented with a typing system in mind can be challenging. But I feel like you get a better API at the end of that exercise.
In TS, an object is close to being kwargs. My main issue is that it’s much more verbose since you separately write the destructure and type, so you have to write the args twice.

But one nice thing is that consumption is less verbose than Python. In Python you write “greet(name=name)” but in TS you write “greet({name})”
That does not mean it's beneficial.
Then you have a dispute about who owns the 10000s of acres and who to pay for the grazing rights. And who is responsible for maintaining all that range? And can somebody be tried twice for a mistake in their management of open range? Then people with and without badges show up with guns.

Ok, that hardly ever happens.
cost to healthcare is certainly high where some individuals are concerned, as any one who has been in accident & emergency on a saturday night will observe.

but of course the vast majority of people that drink on saturday night do NOT end up in A&E.
Interesting, but then why there aren’t earthquakes in Africa? If a continent is separating from another there should be some seismic activity I guess.
I wish I could help you more, but I don't know if I really can. But look at it this way: What are the odds that you have figured out everything about existence and there is nothing more to it than cold matter? Wouldn't you at least try to prove yourself wrong?
Why not just link directly to the Youtube video?
There is more solid evidence for alcohol causing cancer than for RoundUp(glyphosate). Yet people will happily have a beer while discussing how evil Monsanto is.
Can you point out specifically how I contradict my own post, bet you can’t.
And the Soviet Union is not my role model.
Sometime its other way around.
These guys are doing something similar with crowd sourcing.
https://www.tutela.com/
Even if you're drinking a beer every day, it probably doesn't need to be a whole pint. Most beer bottles / cans are 330ml or close to that.

A small glass of wine is also definitely less than the 200ml you'd need to get anywhere near 1.5 liters a week.
Don't forget drink driving.

~30% of car crashes involve a driver with alcohol in their system. In the US alone that's approximately 11,000 deaths a year.

https://www.nhtsa.gov/risky-driving/drunk-driving#:~:text=Ab...).
Yes, let's follow the lawmakers excellent example of swift coherent action.
> "Today, the supreme commander of NATO is Jens Stoltenberg ... He was a hardliner on all things Putin and Russia who had cooperated with the American intelligence community since the Vietnam War."

During the Vietnam War (1955-1975) Stoltenberg (born 1959) was -4 to 16 years old..

Hersh possibly confused Jens with his father Thorvald Stoltenberg. Who travelled to North-Vietnam in 1970 to negotiate between them and USA, and who was commended for his negotiating skills by the am. intel community in a declassified rapport from 1980.

Links/sources follow:

«Thorvald Stoltenberg and Reiulf Steen visited Hanoi in 1970.»

https://vietnamkrigen-wordpress-com.translate.goog/2010/02/2...

«In a new biography of Thorvald Stoltenberg, it is described how Norway brokered peace between the parties in the Vietnam War at the end of the 1960s.»

https://www-vg-no.translate.goog/nyheter/innenriks/i/Pk947/n...

«Defense Minister Thorvald Stoltenberg was praised for his negotiating skills in a so far classified CIA report from 1980.«

https://www-nettavisen-no.translate.goog/nyheter/cia-vurdert...
The process evolved and I have eventually settled with something like this:

*Step 1: Level Generation*

Let's say I decide to generate 3-ball levels at 4x4 grid

I do `generate_all_boards(width: 4, height: 4,max_obstacles: 6)`
and it will spit out all unique boards 4x4 with at most 6 tiles occupied by an obstacle with regards to all possible isoporphisms (rotations and mirrors)

4 4
....
....
....
....
4 4
X...
....
....
....
4 4
.X..
....
....
....
4 4
....
.X..
....
....

(...)

4 4
XX.X
...X
....
.X.X

Now on each board I decide the starting position (usually 3 balls in a row in a corner and some other choices if not possible)

4 4
ABC.
....
....
....
4 4
X...
....
....
ABC.

4 4
XX.X
A..X
B...
CX.X

Then for each level I start generating with BFS all possible positions reachable from this state. I have several complex heuristics to decide which of those positions makes the most interesting level.

After trying a LOT of heuristics I have made two main conclusions:

- on board there is very often one main trick and any of the interesting final positions have solution based on the same trick and trying to make more levels from one geometry is in all cases I tried a logic duplication.

- the maximum movecount is good enough of a metric

so I take the maximum movecount position, whith some other tie-breakers I don't remember.

e.g.

FINAL POSITION: score:
Movecount: 13
A B C .
a . c .
. . . b
. . . .

Rinse and repeat and I have aproximately 40k levels in the current database.

*
Step 2 : Level Curation*

I have created a version of the game with all those 40k levels split by groups of geometry, number of balls and number of obstacles, and a button "random level in current group". And I started playing those random levels over and over and over. I added a small button "Rate this level" so that whenever I got a level I thought was interesting or some new motive has appeared I rated it as "Super".

In the end all the "Super" levels made it into final game.
Interesting, this deeply conflicts with my own experience in work / voluntary organisations. I wonder if the frustrations you're experiencing with older colleagues could also be accounted for by their having to navigate an environment of high and expanding sensitivity?

"I think they're better trained socially to express themselves and reflect on their reactions and their state" My alternate construal is that they're convinced their interpretation is accurate / important. i.e.: That their feelings in any given situation have as much or more weight as what is objectively true.