MurphyA/hacker-news huggingface dataset:
by AdrianB1 | 2025-07-26 21:46:23+00:00
Management is needed. Having bad managers is bad. For example, a manager cannot have too many people without becoming a full time people manager and doing nothing else, a good manager can handle 5 other people while still contributing him/herself. That means a team of 25-30 people need another management layer, a team of 120-150 another and so on, similar with armies having teams of 4, squads of 10, platoons, companies, battalions, brigades, divisions, corps etc. So based on the size of the organization the number of layers have some optimum numbers, too much or too less is bad. But the worst is the bad quality managers - fragging is not a thing in the corporate world, there is no way to get rid of bad managers and the organizations start to rot, get worse, sometime die.
by everyone | 2025-07-26 21:47:31+00:00
https://en.wikipedia.org/wiki/Beretta_M9 So for single action double action, when you first pull the trigger you are also pulling back the hammer, so the 1st trigger pull is long and hard, and then when you fire that pushes the hammer back so subsequent trigger pulls just release the hammer so they are short and easy.

Striker fired pistols dont have a hammer, and basically the 1st trigger pull is just as easy as subsequent ones in a da/sa gun.. So the benefit is you can fire the 1st shot a tiny bit faster.

I have no experience with guns btw, ive just watched loads of "forgotten weapons" lol
by __MatrixMan__ | 2025-07-26 21:48:15+00:00
I don't think blockchains are the way forward, but the crypto people had one thing right: The incentive towards providing storage/compute/connectivity for transaction settlement should be built into the protocol, not provided by some corruptible institution. The idea that coins would be mined by the people providing the compute has unacceptable consequences, but it did solve the problem that it set out to solve. So we need something like that, but with fewer problematic side effects.

If I were to take a stab such a protocol, it would live on a web of trust that kept track of interpersonal debts. So if Alice owes Bob, and Bob owes Charlie, then Charlie can "pay" Alice by instructing Bob to cancel both of those debts. In this case Bob is the clearinghouse. Some network connectivity is needed (Alice, Bob, and Charlie all on the same network) but it still works if the internet partitions. We incentivize Bob to keep his device available for this by creating a new debt when the transaction settles: this time it's one where Alice and Charlie owe Bob for having been the transaction processor.

If Bob didn't want to act in this capacity, he wouldn't have trusted Alice and Charlie to begin with. Charlie would then need to find a different path to Alice if he wanted to use the network to pay her. (Presumably they don't trust each other directly, otherwise they'd be creating new debts instead of cancelling transitive ones). In this scenario I suppose Bob would be acting as "censor" but his capacity to do so is not greater than any other user of the network.

For Charlie to be fully denied the ability to pay Alice, one of them would have to be behaving so badly that everyone refuses to trust them. That's a desirable outcome, if we must have something like censorship, it should not depend on the feeling of some guy who owns a bank but is otherwise unconnected with the parties of the transaction. It should be decided by the people who are near to Alice and Bob on the trust graph and therefore have to deal with the real world consequences of Alice and Bob's behavior. If they want to collectively prevent those two from doing business, that's their right since it's their community that that business is happening in.

One imagines this featuring in cases where some rich foreigner wants to set up mining operations that would poison the drinking water. The locals can collectively prevent that foreign money from buying local groceries, thereby limiting the ability of the foreign actor to harm them.

So that's my harebrained idea. But I'm not making up fictions and asking people to treat them like money. The people involved with USD are. If they want us to continue participating in their harebrained idea, they should recognize that giving us a system with problematic properties represents a risk that they might lose their privileged position. My point is just that it's on them, the designers of the system, to figure it out how to make it all work--we need only accept or reject it.
by Ray20 | 2025-07-26 21:48:47+00:00
>we no longer have a service based economy, but that we now live in a jester-based economy.

In which way jester-services is worse than any other types of services?

>Science isn't necessarily flashy and loud, it's a lot of hard, often thankless work.

And in most cases it is more useless than the work of jesters

>society has a lot of other roles that need to be filled, but if everyone only wants to be the star, a lot of roles just won't happen

We do not live under communism, so "everyone only wants to be the star" does not imply that society is obliged to fulfill this desires. The market will fill these roles even if everyone wants to be the star.
by wrp | 2025-07-26 21:48:50+00:00
> ...what if the AI generates incorrect code, and the bio people don't realize it?

Cynically, there are plenty of people who don't care so long as they can get it published.

Pragmatically, the quality of work is frequently so poor, leading to so much random variation in results, I doubt that frequent errors in AI-produced work would significantly change the quality range in many fields.
by o11c | 2025-07-26 21:49:03+00:00
FWIW, I've grown the following which handles a few more cases. For some reason I wasn't aware of `caller` ...

set -e is-oil() { test -n "$OIL_VERSION" } set -E || is-oil trap 'echo "$BASH_SOURCE:$LINENO: error: failure during early startup! Details unavailable."' ERR magic_exitvalue=$(($(kill -l CONT)+128)) backtrace() { { local status=$? if [ "$status" -eq "$magic_exitvalue" ] then echo '(omit backtrace)' exit "$magic_exitvalue" fi local max file line func argc argvi i j echo echo 'Panic! Something failed unexpectedly.' "(status $status)" echo 'While executing' "$BASH_COMMAND" echo echo Backtrace: echo max=${#BASH_LINENO[@]} let max-- # The top-most frame is "special". argvi=${BASH_ARGC[0]} for ((i=1;i<max;++i)) do file=${BASH_SOURCE[i]} line=${BASH_LINENO[i-1]} func=${FUNCNAME[i]} argc=${BASH_ARGC[i]} printf '%s:%d: ... in %q' "$file" "$line" "$func" # BASH_ARGV: ... bar foo ... # argvi ^ # argvi+argc ^ for ((j=argc-1; j>=0; --j)) do printf ' %q' ${BASH_ARGV[argvi+j]} done let argvi+=argc || true printf '\n' done if true then file=${BASH_SOURCE[i]} line=${BASH_LINENO[i-1]} printf '%s:%d: ... at top level\n' "$file" "$line" fi } >&2 exit "$magic_exitvalue" unreachable } shopt -s extdebug trap 'backtrace' ERR
by PKop | 2025-07-26 21:49:05+00:00
There's no value to this website if we're talking to LLM's, we can do that on our own. I want to come here to engage directly with other actual people and their brains. Not as an interface to ChatGPT.

That's not something to be proud of that you upvoted it.

It's not a discussion, unless you think talking to an LLM is a discussion or equivalent to HN.

And obviously if this is permitted or rewarded with upvotes it's just going to become an endless spam site of people posting low effort cotton candy they didn't need any thought to produce. No signal all noise
by vu0tran | 2025-07-26 21:49:06+00:00
Thanks for giving it a read! Honestly, I hope you're right and I'm wrong. I think for the most part, the things that people talk about and try to predict don't usually come to fruition. It could be that I'm just completely off my rocker and absolutely wrong, in that case, great. Or, it could be that the things we talk about, people internalize which enables us to sidestep the bad reality. Who knows!

Predicting the future is hard and people are never 100% correct.
by chrsw | 2025-07-26 21:49:26+00:00
Yes. It's very easy to fall into this trap. It's the classic "overestimate what can be done in 2 years but underestimate what will be done in 20 years".

Life in 2 years will be almost identical to what it is today but life in 20 years will be somewhat different, just not in any way people have predicted so far.

For example, my car is 20 years old but my phone can explain to me how to change many of its parts.
by thijson | 2025-07-26 21:49:29+00:00
I remember in the late 90's switching from yahoo to google because google's search results were better. I also set my homepage to google because the homepage was so fast to load, it wasn't all cluttered up like the yahoo homepage.

I remember when I saw google for the first time, it was while searching for stuff on the redhat website, and I saw the Gooooogle at the bottom. I guess google had indexed the website for them. That led me to check out the google web site itself.

I think at some point that google was indexing the web for yahoo, I could be wrong though.
by ForOldHack | 2025-07-26 21:50:24+00:00
Although I hate/detest using AI, I asked Google to calculate it...

0.0000072 degrees is 25.92 milliarcsecond.

Assuming that the Earth is a perfect sphere, which it is not, so now...

I have to burn up some Mathematica time, and have it calculated in elliptical coordinates.
by toomuchtodo | 2025-07-26 21:52:05+00:00
> The world desperately needs better consumer products

Prove this assertion. The world need affordable and accessible housing, childcare, healthcare, and basic nutritional needs met (ie groceries). The world needs low carbon energy manufactured and deployed as fast and inexpensive as possible. There is no evidence consumer products are lacking.

What it turns out is that in a forward looking macro where there is little to no growth, profit seeking ventures are either skimming off the economy in some fashion or speculation.

(venture capital is a poor performing asset class, based on the evidence)
by 5pl1n73r | 2025-07-26 21:52:27+00:00
CUDA programming consists of making a kernel parameterized by its thread id which is used to slightly alter its behavior while it executes on many hundreds of GPU cores; it's very different than general purpose programming. Memory and branching behave differently there. I'd say at best, it will be like traditional programs and libraries with multiple incompatible event loops.
by kldg | 2025-07-26 21:52:59+00:00
I use PWAs for my home websites (things like calendars and thermostat) running on tablets. They're a bit awkward, or I'm just ignorant of The Correct Way. I have to set metadata in a file for some reason I don't understand (most importantly, it must have a dedicated icon to display because ???). Then whenever tablet is restarted, I have to tap the website icon to launch it, then push up from bottom of screen to top and hold it up to bring up whatever Android calls the app manager, and then I tap and hold the window of my app and tap to pin it. -and if Android decides to reboot for whatever reason, I must do this again.

-But it's less pain than trying to turn a generic Android tablet into something more like a kiosk, best I can tell (there are third-party apps that do this, which survives reboots, I'm led to believe, but I'd rather not mess with third-party stuff). I previously made Android apps in Java for the tablets, and while I enjoyed the fragment system it uses, the permissions handling was always a nightmare whenever I wanted to do something neat or experimental -- TTS and mic listening in a PWA makes me much less frustrated than trying to do it via native app (which seems backwards to me), and I can still use the website on any non-Android device.
by lurk2 | 2025-07-26 21:53:36+00:00
A ton of news websites do this now, navigating to a “Before you go…” page when you hit the back button. I’ve always suspected this kind of behavior has a lot to do with why people don’t read articles anymore. You know what you’re getting when you open a comment section on Reddit, Hacker News, or Twitter. The majority of other websites are going to be borderline impossible to view on mobile.
by owenversteeg | 2025-07-26 21:53:37+00:00
Obviously we can, global groundwater depletion is very hard to estimate but estimates range from 20-300 km3/year (this paper uses a figure of 126.) Global desalination production is around 35 km3/year and growing rapidly.

1km3 water =1 gigaton = 1B m3 water.
by scheme271 | 2025-07-26 21:53:54+00:00
That's GC duration time but the article indicates:

"This is because Zing uses a unique collector called C4 (Continuously Concurrent Compacting Collector) that allows pauseless garbage collection regardless of the Java heap size (up to 8 Terabytes)."

Azul's GC runs concurrrently with the app so those GC durations occur without a pause. If you think about it, there's no reason why GC requires a pause in order to work, with the right conditions, GC should be able to analyze and remove dead allocations without stopping an app.
by sigil | 2025-07-26 21:54:12+00:00
> I believe the bounding box has to fit all the possible ascenders and descenders etc., so the em-height is proportioned within the box to whatever the highest and lowest marks in the typeface are.

I wish it were this simple.

The em square != the bounding box of all glyphs. The em square is defined by the font's ascent & descent vertical metrics, which are set by the font designer.

There are reasons why you might want glyphs to escape the em square. Perhaps you're typesetting English text without accent marks above capitals, and using the bounding box's vertical maximum would introduce too much line space. Or perhaps you're using a decorative font which is designed to escape the em square, and potentially even overlap the em squares of lines above and below, like this: https://alangrow.com/images/blog/script-font-escaping-em-squ...

To make matters worse, and mostly for legacy reasons, there are THREE different sets of ascent & descent metrics in a font file. Which is used depends on your OS and the software rendering the font. But the Webfont Strategy described here is a nice one, because you can use the bounding box (winAscent & winDescent) if you really need to, say because any glyph might be used and you want to avoid em square escape: https://glyphsapp.com/learn/vertical-metrics
by nfw2 | 2025-07-26 21:55:24+00:00
Performance - For pages that have different content for every user, the best performance will be reached by caching the app code on the client, only loading the data needed to render, and rendering once on the client. Rendering on an aws machine that is weaker than my 15 year old macbook is not a recipe for good performance.

User Experience - Every single user action should have no perceptible latency between the action and the feedback that that the action was received. This can't be done gracefully without javascript. Moreover, SPAs enable a better ux by enabling developers to build complex features that wouldn't be possible on traditional webpage.
by philwelch | 2025-07-26 21:55:49+00:00
The SIG P320 does go off on its own. The sheer number of incidents with that model in particular, many of which occurred on camera and around multiple witnesses, is telling. SIG may have once been a reliable and trustworthy manufacturer but that’s no longer the case.

https://youtu.be/b33AXiuytn0

https://youtu.be/z789IuTQLs8
by pachorizons | 2025-07-26 21:55:50+00:00
Putting aside the astounding material and resource cost of this fantasy, the claim made here is an example of why people call AI proponents 'out of touch' or 'anti-human.'

Part of the reason why mass media entertainment - Squid Games, Game of Thrones, Star Wars, Minecraft Movie, etc - is so popular is because it is a shared experience that is commodified and then widely distributed. People watch things because their friends and families watch them, and the shared experience is a sort of asynchronous social experience. The same is true of games - just look at the popularity of Lets Play content on Youtube and Twitch. The same is true of music - concerts are still the primary way musicians make money.

So long as this is true, the 'dream' of hyper customised, personalised Netflix-style entertainment is an utter fantasy that denies the human need to experience, share and discuss their entertainment. I would go so far as to call it a delusional claim, and also very dystopian - to realise this goal is to atomise the social lives of billions via a complete walling off of the shared lived experience.

(Maybe this is not true with porn, given it is a commonly viewed in a, uh, solitary context; although at the same time Porntube and pre-Verizon Tumblr both show that it turns out that many people share their porn taste with others.)
by brandonb | 2025-07-26 21:56:02+00:00
Before getting a CAC scan, I'd probably do these tests first:

* ApoB - about 20% of people with normal cholesterol results will have abnormal ApoB, and be at risk of heart disease.

* Lp(a) - the strongest hereditary risk factor for heart disease.

* hs-CRP - inflammation roughly doubles your risk of heart disease

* HbA1c - insulin resistance is a risk factor for just about everything.

* eGFR - estimates the volume of liquid your kidneys can filter, and is an input to the latest heart disease risk models (PREVENT).

Easy to order online: https://www.empirical.health/product/comprehensive-health-pa...

CAC is great for detecting calcified plaque in your coronary arteries. But before you have calcified plaque, the above risk factors tell you about the buildup of soft plaque. And 4 out of 5 of them are modifiable through lifestyle, exercise, and medication.
by burnt-resistor | 2025-07-26 21:56:25+00:00
CA Prop 13 was an unfortunate, short-term bandaid in 1978 that didn't address excessive property taxes for elderly, disabled, and poor people who came after them. It truly was another boomer selfishness moment. The solution is to expand Prop 13 to all who meet low income requirements to make property taxes progressive rather than unreasonable "flat" taxes that punish the poor far more than the rich and moderately rich.

PS: I grew up in south San Jose, graduated from Leland, but can't afford a home anywhere near where I grew up because rich people from all over the world gentrified the Bay Area and boomers went full NIMBY on new developments.
by ForOldHack | 2025-07-26 21:56:56+00:00
Again... AI blows, but ...

"Calculate the fraction of the circumference represented by the arc segment:Divide the arc segment length by the Earth's polar circumference (in inches):31.5 inches / 1,574,896,558.4 inches = 0.0000000200012759 Radians.

Which is kinda interesting, as it calculates the earths' circumference in Inches. 1.57 Billion inches.
by slashdev | 2025-07-26 21:56:58+00:00
Genocide is extremely vague. It requires intentionally killing members of a group just because they're members of a group. It makes no requirement about how many need to be killed - but obviously that matters too. Oct 7th had both intent and the actions - killing Israeli's of all ages just because they were Jews - but it wasn't a genocide because it was mercifully limited in scope. So scale must matter.

I would argue it's like porn, you know it when you see it. Rwanda, Armenia, Bosnia, the Holocaust.

Censoring information in war, which every country does, is not proof of genocide.

Israel is the only country that I am aware of in all of history actually providing food and other essentials to the enemy side during a war. That's not the actions of an entity intent on committing genocide. Without intent, it's not a genocide.

You can say they're being cavalier with human life in Gaza, which happens to an extent in every war, but even then the numbers show they're at least acting with some restraint. Again, that rules out genocide.

Words mean things, you can't just call a war a genocide because it's violent.
by tbrownaw | 2025-07-26 21:57:02+00:00
> "We don't know this" doesn't make very convincingly looking text, so people tend to avoid admitting it up front.

Saying definitively that we don't know something (1) requires an investment of time to verify that lack of knowledge, and (2) can become incorrect at any time.

If you want to do something with the answer but find that it doesn't exist, sure make a note of that to request that someone could maybe try to find out. But if it's just a curiosity rather than directly relevant, why bother?
by anonymous_sorry | 2025-07-26 21:57:07+00:00
No that's just a pigment. They still contain chlorophyll.

Often you'll find leaves in full sun are redder, because they need less chlorophyll to operate at full efficiency. Leaves more in shade may be darker, as they require more chlorophyll (meaning light is absorbed across most of the visual spectrum by the pigment and chlorophyll together)
by Zak | 2025-07-26 21:57:10+00:00
There's one difference between the P320 and most of its direct competitors: most handguns with a short to medium trigger stroke and available configurations without a manual safety have a pivot or lever in the trigger designed to prevent unintentional trigger pulls.

The M18, the military version of the P320 does have a manual safety though, and there are reports of it firing with the safety engaged. This suggests that the high rate of unintentional discharges of this firearm are not only due to its trigger being easier to pull than its competitors.
by giantg2 | 2025-07-26 21:57:15+00:00
Over 90% of people hate DA/SA, and for good reason with the 2 different trigger pulls you have to train for. Cops have been carrying striker fired glocks for decades. Doesn't matter if it's striker fired or otherwise for the ones lacking training - fire type won't fix the training issues. The original case for striker fired was that it was drop safe, hence Glock Safe Action (even though they had discharge issues).
by jterrys | 2025-07-26 21:58:32+00:00
What you're seeing in the drop of value of diamonds also reflects the general shift in tastes of different generations with income. I'm a person that likes to go to flea markets and antique stores on the rare occasion and the value of the same items on the market has drastically shifted in the last 10 years as boomers are no longer in the collectible age bracket. Younger people don't really care about Tiffany jewelry
by calmbonsai | 2025-07-26 21:58:48+00:00
The latest consensus take is the striker safety can fail due to tolerance stacking in certain production runs.

Due to the nature of the higher spring tension and stored momentum of the P320's striker, when the striker safety fails, it can cause the gun to spontaneously fire.

Other striker-fired pistols (e.g Glocks and S&W Shields) have lighter strikers and/or less tension so even if their striker safety failed, it wouldn't be enough to cause a primer detonation.
by metalman | 2025-07-26 21:58:55+00:00
glad I use no ID, or security for anything unless it's an absolute requirement no apps, sign in with email and password(s) through web pages watching the whole "security" monster eat itself in not amusing, but I supose that this is just something we have to go through in order to arrive at something implimentable and future proof....I have my own ideas about that, but they are essentialy the diametric oposite of what is bieng done, so I'll amuse myself
by reactordev | 2025-07-26 21:58:57+00:00
Yeah, I think I remember his first video on it. The issue I have is, without video evidence of a m18 pistol going off on its own, it’s hard to say whether it was the gun - or the current mental state of its user. I don’t know, but I do know the one I have is rock solid. The others I have used have been as well. The only gun that tops it to me is a solid 1911.
by archagon | 2025-07-26 22:00:04+00:00
When I was looking for an apartment in SF, it seemed like half the places we viewed smelled a bit like gas in the kitchen. And then the apartment we ended up renting turned out to have leaking gas pipes basically throughout the entire plumbing run. (Fortunately, the landlord was able to coordinate a brand new gas line installation in a matter of days.)

I think a lot of people live with gas leaks without even knowing, especially in older buildings. This is a good change from a public health and safety perspective.