skysight-inc/HackerNews huggingface dataset:
>> There is a reason why clinical doctors have an abnormally high suicide rate in the US.

> Source needed on this claim. Might be true. I’m skeptical though. High relative to what?

It's a persistent misunderstanding of the data, pushed mostly by doctors or people who don't know where to find the data but also by the complexity of understanding suicide.

Firstly, every death is a tragedy and we should be looking at suicide as mostly preventable. Doctors are highly educated, well paid, and tied into local healthcare systems. These should be protective factors. So we should see lower rates of death by suicide in this group. Both of these mean that the rate of death in doctors is too high, and should be reduced.

The "relative to what?" part should be "to other professionals, such as lawyers or architects". And sure, compared to those groups we see doctors have a higher rate of death, and that's worrying because of the protective factors that should be present. (This is mostly because female doctors have a higher rate of death by suicide than women in general.) In healthcare we see nurses and other female care givers have higher rates than doctors.

https://www.cdc.gov/mmwr/volumes/69/wr/pdfs/mm6903a1-H.pdf

> In 2017, nearly 38,000 persons of working age (16–64 years) in the United States died by suicide, which represents a 40% rate increase (12.9 per 100,000 population in 2000 to 18.0 in 2017) in less than 2 decades.* To inform suicide prevention, CDC analyzed suicide data by industry and occupation among working-age decedents presumed to be employed at the time of death from the 32 states participating in the 2016 National Violent Death Reporting System (NVDRS). †,§

> Compared with rates in the total study population, suicide rates were significantly higher in five major industry groups: 1) Mining, Quarrying, and Oil and Gas Extraction (males); 2) Construction (males); 3) Other Services (e.g., automotive repair) (males); 4) Agriculture, Forestry, Fishing, and Hunting (males); and 5) Transportation and Warehousing (males and females). Rates were also significantly higher in six major occupational groups: 1) Construction and Extraction (males and females); 2) Installation, Maintenance, and Repair (males); 3) Arts, Design, Entertainment, Sports, and Media (males); 4) Transportation and Material Moving (males and females); 5) Protective Service (females); and 6) Healthcare Support (females).
I don't think we have ever had these many GMs live commenting a chess match. Add to that a bunch of very entertaining (and often insightful) post-match analysis by IM/GM level players turned YouTubers. It all spices up the match quite a bit.

I first followed a WC match through live commentary in 2013 (incidentally Carlsen Vs Vishy in Chennai), which I think was the first ever live streamed on YouTube.

I've been following these WC matches since then; in similar boat as yours. Love watching all these analyses of immortal-games etc., but absolutely hate playing it :-)
As a non-American, I have no clue how Baseball works.

It's just chonky dudes chewing tobacco and hitting a ball really hard. Then sauntering over to a white pillow for a rest, right? =)
Ahaha. Unfortunately they are not. As in they don't care enough to fear or face it.
Oh that definitely happened, but we don't have quotes from Google like this:

Prior to joining Google, I set up a meeting on or about November 11, 2004 with Microsoft’s CEO Steve Ballmer to discuss my planned departure….At some point in the conversation Mr. Ballmer said: “Just tell me it’s not Google.” I told him it was Google.

At that point, Mr. Ballmer picked up a chair and threw it across the room hitting a table in his office. Mr. Ballmer then said: “F---ing Eric Schmidt is a f---ing p--sy. I’m going to f---ing bury that guy, I have done it before, and I will do it again. I’m going to f---ing kill Google.”
This is quickly devolving into a Facebook "conversation". I'm disappointed.

In any case, there is a very good argument for the first amendment changing in response to today's challenges, culture, and technology.
Thanks a lot! Can only upvote you once sadly.
I was just on LinkedIn before seeing this post. I think LinkedIn is horrible. The fakeness on there disgusts me.
Honestly if someone breaks into my house they'll be getting a cup of tea and a blanket. Robbery must be an awful way to make a living. They're probably in a life of abuse and addiction.

Yes, I'm a total psycho, I already know this.
> It'd be like saying only the farmer who can do everything by hand without any tools increasing their productivity is a real one. Or an accountant refusing to use Excel/calcuators/ERPs and writing everything on paper.

You're trying to map manual work onto engineering.

And absolutely I'd rather work with accountnant who can write me on paper without Excel/calculator/ERP his logic.

It's like you're being obtuse just for the sake of the argument. Someone who can clearly express themselves without specific medium, be it paper, IDE or whatever is strictly superior to someone who is tied to one specific medium.
it's funny because in some languages, magor means freak or weirdo :D
Will LinkedIn ban my Extension for scraping data we need to find business emails
Today I have a chrome extension that is scraping Google search results for LinkedIn profiles. It got me 4K+ registered users so far and I would like to upgrade it to use LinkedIn profile data needed to look for verified business emails we built inhouse. The data would be scraped from your logged in account using our Extension. Is that something we should pursue or would it be better to do it differently? The aim is to build a list of LinkedIn prospects with verified business emails that can be injected into any tool that does cold email outreach.
Automation is good for reliability, machines are much better at being machines than people are.

The problem is most of the "I automate everything" people seem to use handwritten bash scripts for everything, instead of purpose built tools for whatever it is, even when those tools exist.
I was recommended lost in space, but they had some really obnoxious product placement. You don’t go to space and get excited about Oreos. You get exited about space.
The problem shows up at the central system while the peripheral device is causing it. And those systems belong to very different organizations with very different priorities. I still remember how difficult the discussion was with 3G basestation team persuading them to implement exponential backoff with some random factor when connecting to the management system.
Great quote. I agree with it 100%. It is so obvious too. We act different with our parents than we do with our peers and different with our children than we do with our colleagues. One Identity/Face isn't sustainable.
Show HN: Gnome-stay-awake – temporarily disable your lockscreen
Sometimes I have things like recipes or dashboards open on my laptop whilst I do other things in the background.

It can be annoying having to bump the mouse to avoid the screen locking, and manually changing the settings through the UI has the risk I forget to change them back.

This is a tiny utility that uses `gsettings` to disable the gnome screen lock and idle timeout when it starts, and restores them when it exits.

It's written as a NodeJS / npm package for ease of distribution - you can try it out using `npx gnome-screen-lock`

The code is very straight forward and I'd encourage you to read it prior to trying.
Anecdotally I can confirm that a lot of this is true
Every single business needs permission to exist, not only because you need approval from the government to open one.
> without allowing them to rotate their key into a different person's custody, thus doing a de-facto transaction that would enable someone to integrate the system with an exchange and put a price on account balances?

I don’t think this is possible in the first place. Someone will always be able to go around the system entirely and give someone their entire account. If somone wishes to sell all their names at the same time (or make one account per domain so they can sell it), there’s little to prevent that. I think making it harder is probably more trouble than it is worth for most malicious actors though (especially as they have to work with each individual account to retain the domains).

As to consensus mechanism, I have no idea. I don’t have enough experience with such systems to say one way or another.
There's an active opensource Delphi clone that is nearly feature equivalent - https://www.lazarus-ide.org/ - if you are interested. And you can use it to create commercial software applications too.
I would want the company to provide detailed and accurate information on all their systems, their structure and architecture. I would also want to be set up with all the tools I need.
Oh I like this answer. It immediately reminded me that so many things used to just be instant on. Touch surfaces are slow to respond (think modern kitchen appliances vs older digital buttons), things like car radios have startup delays, even led lights are delayed turning on and slowly fade off (especially annoying if two bulbs on a switch turn on at different speeds). It's comparable to an OS with animations turned on or off, the difference is striking.
Thanks, looks like an interesting project, will definitely keep it on my radar.

However, after compiling it and measuring it on an older machine (a Lenovo T430 running Arch) against the out-of-the-box vlc install, I can see no advantage in memory footprint or cpu usage, they are about the same. (I compared mvp running in terminal against vlc running with ncurses interface module)

Since mpv doesn't offer an ncurses interface, and is still in development, I will, for now, stick with vlc.

However, the scripting options definitely seem great, as I said i will keep it on my radar.
> You will cry looking at source code https://github.com/yjs/y-crdt/blob/main/yffi/src/lib.rs

Am I missing something? You linked a file that is inherently going to be "un-Rusty" because it's meant to be an FFI shim for _non-Rust_ languages to use through a common C API that this file exposes.
If crunch time continues but workers are making money commensurate with the fact that they're working outside reasonable hours, then I view that as progress. If base pay is depressed to make up for this change and workers make functionally the same amount, that's a bummer.

But either way: I don't necessarily view crunch time as a thing that can or will be solved. I just want the game to be more fair than it is now.
Multiple people trapped after roof collapse at Amazon warehouse
LED flashlights don't go up to 100k lumens to my knowledge.

If you need extreme intensity, you'll have to use a solid state laser.

A 10w handheld laser would be an effective defense, but you should wear bandstop glasses at the laser frequency. A beam spreader would also make it easier to aim and still nearly as effective.
This is my goto for learning any new language. Obviously better resources for each language exist individually (like beej's guide to c) but almost nowhere else on the web is there such a high density of good, solid guides
0day Exploit in Log4j
How did this thread about a decentralised serverless I internet protocol end up in a debate about US gun policy?
Ask HN: Is it reasonable to use BRK as a lifelong savings vehicle?
As someone that subscribes to the philosophy of value investing and wants a tax-efficient, set-it-and-forget-it long term savings vehicle, would it be reasonable to use Berkshire Hathaway B for that purpose?
Free vs. Paid Apps for Safety and Emergency Monitoring
This is sort of the right answer, but it assumes someone is willing to devote as much time to each individual terrorist as the terrorist themselves is willing to spend creating networks and preparing violence, or that there's a well-enough agreed upon set of ideas that a given society can make a mass effort to infiltrate those networks. Usually that happens via government or very rarely journalism; there aren't any great examples of vigilante anti-terror or anti-mafia or anti-pedo infiltration networks I'm aware of. Again, because crime (or you could say, 'evil') is an asymmetrical affair, and it takes full time 100 LEOs to find one kid before he blows up his school. It's not really possible for private vigilante networks to compete with that, even if average people did have as much free time as full-time psychopaths.
I have 15 years of experience and have found unless I'm contacted directly by the internal recruiter of a company it's pretty much impossible to even get a reply to a job ad.

I don't know how people who are new to this industry are managing to find work. Pretty sure I'm getting filtered near 100% of the time.
Taylor Swift to face trial in Shake It Off copyright case
The answer is React, or if by lightweight you mean library size, then use Preact [0] which is 3kB .

[0] https://preactjs.com/guide/v10/differences-to-react
>> Hancock and Moore chairs and couches

I think the folks here on HN would be particularly interested in their selection of game chairs.

http://hancockandmoore.com/Products/Search?TypeID=CAT27
Some buddhist sleep meditations are often called clear light meditations.

For them btw is not the trick to remember the thoughts but to stay aware when transitioning to the sleep phase, this is one of the moments clear conciousness can be experienced according to certain teachings.
I'm happy that he's making money, especially since it sounds like he didn't have it easy as a kid.

However it's a bit sad to me that this is the successful end state of the streamer economy. His job is uniquely voluntary. He plays what he wants to play. People tune in and pay him if they want to. And somehow the result is that if he wants to stay at the top of this world he's trapped in that chair for unreasonable spans while people drop by to either praise or abuse him.

If this is the natural evolution of celebrity-fan relationships I think it reflects way worse on the fans than the celebrity. This is what we demand for the sake of our entertainment.
This application and another one called rectangle (for managing window location easily) is what makes Mac os life bearable for me.

The computer to me is a tool and thus switching window / focus should be swift and efficient.

KDE lets me do that out of the box, other DEs needs addons it seems..

The problem with original macos cmd-tab / and in-app window switching is that it gives you two levels of switching.
For the same reason I'm not a fan of tabs in browsers.

I don't want to keep track of which app a window/page is opened in. I want to get to it as fast as my thoughts realize I need to get there.

Most often I work in 2-3 windows in different apps, so quick jumping back and forth is crucial and alttab is a simple and fast way of doing it.
Between 2009 to 2018 there were 288 school shooting incidents in the US. During this time there were a total of 5 similar incidents in the rest of the world. Something is definitely wrong.
What I would be concerned with is this, before anything else:

import "github.com/bradfitz/jndi"

where is the version specified of what we are fetching? And at least a SHA256 to validate that it continues to be the same as what we fetched the first time, once upon a time?

Without this, a good, secure logging library can suddenly turn bad in between your rebuilds, and you don't know.

You probably want this piece to be cached locally, so your project builds even when the network or github is down.

Do people really code like this?
Thanks for pointing it out, there is a typo in the URL. I cannot edit it. This is the correct URL:

https://www.businessinsider.com/amazon-music-wants-to-scrap-...

Can a mod fix it please?
This is what I'm saying - those 60 billion won't exist. Yes, wild animals, so much as they exist now, will continue to do so, but that's not really relevant.
Not stagnation, but regression of Java. Where modern Java 17 loses to Java 8
human drivers do that all the time from getting distracted with your handphone, falling asleep in the driving seat, driving while drunk or otherwise impaired. So it is not much different. But AI cars are likely to be better drivers 2-3 years from now than what they are today humans will either be the same or worse.
The problem with expose is it is slow. You need to visually search for the right window, then select it.

(Unlike the equivalent in KDE that lets you filter by window title by just typing)
If you want to freeze the universe, just freeze all of it, it's easier than ever to keep running Ubuntu 12.04 forever in a Docker image if you need to. Obviously this is a terrible idea for security and compatibility with newer tools, just don't expect the rest of the world to do double maintenance to keep old versions semi-up-to-date-where-i-want-to-yet-not-updated-where-i-dont.
What happens to developers who never go into management?
I moved from Indiana (Midwest US) to Norway. I'm near the cost, so it is kind of mild (comparative to inland), but there are vast differences.

In places with little to no snowfall, they simply don't have the infrastructure to deal with it, nor does the population have practice in driving and walking in the snow. That's the issue in the Southern US and the UK.

Where I lived in the states, it snowed every winter (almost?), but not usually so much at once. We had some infrastructure, but not enough to deal with very much snow at once - pretty much, things shut down if it got above the ankles. This was directly because there wasn't the infrastructure to deal with it.

And then, there is Norway, and the main roads are generally good enough. Folks use winter tires (all-season tires are just starting to get popular here: My neighbor doesn't trust them). Side roads generally aren't scraped down to the pavement, but rather get generally cleared and grit laid down for texture. I've seen videos of folks huddled behind a snowplow with Very deep snow: Where I lived in the US simply couldn't have done such a thing. Plus, the population is used to the amounts of snow they get, which means they aren't so concerned.

Infrastructure plus comfort levels go far.
Great to see more players in this space, especially re-using the thumbor syntax. Curious how much of a feature-parity is there between Imagor and thumbor though? (particularly with some of the plugins)

Context/disclaimer: I've been maintaining the docker image for thumbor[0] (not maintaining thumbor itself, although I work with the thumbor team occasionally). Thumbor works great for us at my company, but it's still python 2.x based. There's some work to transition to python 3.x, but it seems[1] like there are not enough resources or drive to push this forward? and thumbor 7 does not (yet) have feature parity with thumbor 6.

I'm yet to find something that has feature-parity with thumbor though... But it definitely feels like high time for a some new blood in this space. Especially compared against some of the cloud options out there, like Cloudflare Images, especially since they seem to be also lacking some crucial features[2].

[0] https://github.com/MinimalCompact/thumbor/

[1] https://github.com/MinimalCompact/thumbor/issues/67

[2] https://news.ycombinator.com/item?id=29474743
That's fair, and I agree that needs to change.
Python Code Best Practices
I still can't believe exceptions ever went out of style.
I might be missing something, but how do you efficiently switch apps in expose?
And yet the movie industry - which has over half a century's head start over gaming - still has its fair share of studio excess, cost overruns and expensive flops.
Can you point to any Delphi app on the android playstore that doesn't look and feel like shit? Or a Linux app? I used to be a Delphi fan, but the results I've come across are not exactly convincing.
Compare this to Flutter, which looks and feels gorgeous, at least on Android.
Indeed, thanks. I went hunting for the video, but then forgot to paste it in (and am long past the edit window). :/
What are they interviewing for, low level disk experts?

Writing one byte at a time may be “bad” at many levels. First, on a hardware level it is inefficient because the unit is a sector/block and the access latency kicks in hard, together with a wear leveling on ssds. Embedded low level indeed. On an os/syscall level it is inefficient because of a syscall time itself. It is a system level touching C and unbuffered writes in “middle-level” languages/libs. On an application level it may be inefficient if a stream has a processing pipeline with some expensive setup/try/teardown (e.g. a jsonl parser which “tries” the buffer at every new chunk). Is this still low level?

This is a question about streaming, buffering and latency avoidance, which you may not know in hw detail, but have to have at least a vague grasp of. If a candidate seems confused, one may ask them about other situations where one-at-a-time may become “bad”: sql select one row at a time, fetch NNN items one by one, use heavy_expr().x, heavy_expr().y repeatedly or in a loop. If nothing comes to their mind, chances are you are interviewing a completely inexperienced person, because there is no way they didn’t meet that or think of that before.

I totally agree that it shouldn’t be the reason to skip a candidate, but hiring is an analyzing process, and how do you find their limit if not asking deep open questions? I think that the issue is pushing hard on these areas as if it was laughable for a professional to not know it.
Not really on linux.

I mean if you upgrade from x11 to wazland and zour app depends on x11 then sure, but I still use binaries that were compiled in 90s (some because I dont have the source)

And windows is also very backwards compatible.
Sorry to be rude-ish

Probably should be able to do the same with just:

systemd-inhibit --what=idle --mode=block sh -c read

or the more easier ways

https://github.com/eonpatapon/gnome-shell-extension-caffeine
https://github.com/coadmunkee/gnome-shell-extension-espresso

Or via api, which everything leads to

https://people.gnome.org/~mccann/gnome-session/docs/gnome-se...

Noting other apps generally will inhibit via stuff sent through X/Wayland afaik, so this doesn't cover all methods
Interesting. Just wondering if your guys have a dedicated DBA?
This little fella here: https://www.imalentlight.com/imalent-ms18-led-flashlight-cre...
I don't doubt that their technology is able to do that.

I just think taking on liability is a big deal. Probably several lawyers at MB needed some fresh air when they were asked to formalize this policy.

Tesla obviously aims for an all or nothing approach. It's not before a solid level 4 that they want to take this leap.

I wonder whether the market (and regulators) will force their hand before they are good and ready.
Yes, the viewer numbers are the direct link. But viewer numbers are not Twitch revenue. Subscriber are Twitch revenue. And it is not at all impossible to have a lot of viewers and not a lot of subscribers.

How are you going to know what the stream is earning the musician keeping contact with his fan base?
You can always guess someone will comment exactly this.

Yeah the UK have problems with heavy snow. Yes, many countries do. Yes, Northern Europe are better at dealing with it but still have their own issues. Like hotter countries are better at dealing with the heat.
How to Migrate Rails UJS to Hotwire (Turbo)
Which has even less to do with communism though.
Servers are not hard if you have a dedicated person (long time ago known as Systemadminstrator), and fun fact...it's sometimes even much cheaper and more reliable then having everything in the "cloud".

Personally i am a believer in mixed environments, public webservers etc in the "cloud", locally used systems and backup "in house" with a second location (both in Data-centers or at least one), and no, i don't talk about the next google but the 99% of businesses.
I thought Judit and Anish were really wonderful together.