MurphyA/hacker-news huggingface dataset:
by kazinator | 2025-05-21 23:42:38+00:00
No ISO C standard library function sets errno to zero, but functions not in the standard library are not so obliged.

Functions that clobber errno to zero make it impossible to call several functions and use a nonzero value of errno to conclude that one or more of them went wrong.

If you don't think that such code is a good idea (for instance because you believe that every function that can fail should be checked for its specific error), then you probably have nothing against functions which clobber errno to zero.
by no_wizard | 2025-05-21 23:43:12+00:00
I don't think this leaves out initial setup. Another source of information: habit observation. If I do something around the same time every day, over and over again, it would be nice if it simply helped me along unless I interrupt explicitly. It should fine tune itself to observations it makes about my behavior and patterns, as opposed to me interjecting constantly

The constant need to query for information, rather than have useful information contextually pushed to me, fundamentally limits its utility once the novelty wears off. Without a sufficient complexity threshold (and this assumes accurate information and trust) its more work to query for things than it is to simply do them.

From a consumer perspective, thats not great.
by hedora | 2025-05-21 23:44:04+00:00
It looks like these programs were initiated under the CEO that was shot, and have continued under the new leadership. So, I doubt prosecution would matter much: Even if the courts somehow decided to levy murder charges + seek the death penalty, that wouldn't be enough a deterrent for UnitedHealth's leadership.

At this point, it looks like criminal murder charges (seeking the death penalty) + federalizing the company would be minimal next steps towards fixing the problem.

Of course, that won't happen under the current administration.
by jes5199 | 2025-05-21 23:44:04+00:00
this is designed to appeal directly to a certain kind of self-mythologizing Bay Area techie, the kind that was common in the early 2010s. It’s meant to signal continuity, “we’re just like you, we loved Steve Jobs”

apparently it worked on some people: https://daringfireball.net/linked/2025/05/21/sam-and-jony-io
by keyringlight | 2025-05-21 23:44:11+00:00
What's telling for me is that SSDs have been a readily available consumer part for around 15 years now, a default option in PCs for quite a while now, and to my knowledge there hasn't been many tales of SSDs dying (specifically for write endurance or otherwise) beyond occasional bad models like the old OCZ vortex2s. Even early torture tests were finding that you'd need to push around 2PB of writes (on smaller drives than we have now) to get failures, and that was on a sample size of 1 for each model. I wouldn't expect a SSD to die more than any other electronics.
by simonw | 2025-05-21 23:44:27+00:00
You don't need to use natural language to write your rules engine. LLMs speak every language under the sun, real or made up.

You could define your rules in Prolog if you wanted - that's just as effective a way to communicate them to an LLM as English.

Or briefly describe some made-up DSL and then use that.

For coding LLMs the goal is to have the LLM represent the logic clearly in whatever programming language it's using. You can communicate with it however you want.

I've dropped in screenshots of things related to what I'm building before, that works too.
by doubtit | 2025-05-21 23:45:36+00:00
The way to make Linux takeover is get kids using it

To get kids using it needs to do lots of cool shit easily

Windows could play games easily when Linux could not even use a USB mouse

The time is right to make Linux do cool shit easily with local generative models that help iteratively create games

Replace all the desktop legacy with some blank canvas and local models that draw on the canvas. Ship some baked in models to generate shells of games to iterate from, boom.

This is exactly the fear of big SaaS and why VCs outside a key handful are done with it.

Apple Silicon is a glimpse of local compute future. Fanless laptops running models that generate entire coherent universes like Marvel and Star Wars. (Don’t need giant models just dense enough to get 80% and let users “zoom and enhance” with their own input)

Show that potential with local models on Linux and it’s over. Three options then; government demands hardware is locked down to preserve Hollywood/gaming/media, open compute wins, or both sides destroy the world over it.

In an interview with IGN during Covid lockdown Gabe Newell was describing generative AI as an existential threat to content creators. It could be temporary as the next gen grows up with a new normal and doesn’t obsess about a career in digital design or web dev, yt video production. It could end humanity as existential dread settles in for millions stuck in some narrative about their existence that no longer holds economic value.

Interesting times.
by cptskippy | 2025-05-21 23:46:24+00:00
> Meanwhile the user experience of Linux has dramatically increased. Put on a good skin and most people wouldn't notice the difference.

As someone who spends time using MacOS, Windows, and Linux ... even if you managed to make them look pixel perfect identical, everyone would notice something is off immediately. MacOS, Windows, and Linux desktop environments all feel distinctly different.

MacOS feels like you're waist deep in the shallow end of the pool trying to run. You feel like you're being held back in terms of speed but never out of control. Window max/min is easy, want to resize a window? That'll be 5 minutes of your life you'll never get back.

Windows is like an overeager dog, it's fast and nimble but don't blink or you'll loose your mouse cursor. Max/min/resize? Sure it's effortlessly easy right up until your mouse hits a zone and then it snaps the window exactly how you didn't want.

Linux gives you the freedom to do whatever you want, and that's exactly what every single app developer has done with their app experience. Will a click of the scroll wheel move at light speed or a glacial crawl? You never know, but what you can count on is that it will be entirely different if you use a touch pad. Want to resize a window? The mouse cursor might change to the resize icon, but damned if it doesn't activate the window beneath when you try to click and drag.
by jez | 2025-05-21 23:47:09+00:00
I think this is the important point. Something I've mentioned about blocks in Ruby before: if you’re prototyping a new interpreted language and don’t want to have to build a JIT that can optimize code, but still want some semblance of good performance, the block approach Ruby picks can be pretty useful.

Ruby doesn’t haven to allocate a full-on, garbage-collected, closure object every time a function accepts a block: it only has to do this if the block gets stored to a variable. If the block is only ever yield’d to, the allocation can be skipped.

And when your language’s primary looping mechanism is done with blocks, the difference adds up:

xs.each do |ys| # with normal closures and no fancy JIT, # the VM has to allocate a closure once per loop: ys.each do |y| end end

Ruby was able to get away with its closure-heavy standard library APIs without a JIT for almost 3 decades because of the affordances that blocks provide over procs/lambdas.
by raxxorraxor | 2025-05-21 23:49:25+00:00
No, that is not my argument and you don't understand the relationship dynamic. Group 1 would be justifiably upset because they aren't treated as equals to group 2.

You are completely free to provide benefits for the poorest as well.

If you see yourself in group 1, you are very free to take a step back. We both know you don't, you expect that from others.

Neither "balance" nor "long term goals" are in any way defined, you just use random discrimination, which is of course negative between a bunch of negative ideas.

You also draw lines between these group 1 + 2.
by johnQdeveloper | 2025-05-21 23:50:03+00:00
*For people without a 24GB RAM video card, I've got an 8GB RAM one running this model performs OK for simple tasks on ollama but you'd probably want to pay for an API for anything using a large context window that is time sensitive:*

total duration: 35.016288581s load duration: 21.790458ms prompt eval count: 1244 token(s) prompt eval duration: 1.042544115s prompt eval rate: 1193.23 tokens/s eval count: 213 token(s) eval duration: 33.94778571s eval rate: 6.27 tokens/s

total duration: 4m44.951335984s load duration: 20.528603ms prompt eval count: 1502 token(s) prompt eval duration: 773.712908ms prompt eval rate: 1941.29 tokens/s eval count: 1644 token(s) eval duration: 4m44.137923862s eval rate: 5.79 tokens/s

Compared to an API call that finishes in about 20% of the time it feels a bit slow without the recommended graphics card and what not is all I'm saying.

In terms of benchmarks, it seems unusually well tuned for the model size but I suspect its just a case of gaming the measurement by testing against it as part of the development of the model which is not bad in and of itself since I suspect every LLM who is in this space marketed to IT folks does the same thing tbh so its objective enough given that as a rough gauge of "Is this usable?" without heavy time expense testing it.
by charliereese | 2025-05-21 23:54:43+00:00
We process podcast transcripts and other datasets, use that to match over time based on similarity in meaning (or optionally exact and fuzzy matches if desired), then feed matching excerpts (match + surrounding context) into an LLM to score whether the speaker / writer agrees with {customizeable_poll_query_and_scoring}

:)

Note: similar to how DeepSeek started (or pandas or pick one of the many data science innovations), we actually are a quant investing software and data company. As a result of that, everything is time-series.
by roelschroeven | 2025-05-21 23:55:46+00:00
> conventional, consistent[1], and documented--semantics of only setting errno on error.

From that man page:

> The implementation may also set errno to EINVAL in case no conversion was performed (no digits seen, and 0 returned).

There are error cases where the implementation may set errno to EINVAL. There's not even a guarantee. I did a quick test. errno is only set if you pass an invalid base, or if the string does contain a number but it is out of range. If you pass a string which doesn't even remotely look like a number, errno is not set. You have to check endptr.

#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { const char *s = "this is not a number"; printf("strtol(\"%s\")\n", s); errno = 0; long a = strtol(s, NULL, 10); printf("errno: %d; strerror: %s\n", errno, strerror(errno)); printf("result: %d\n", a); return 0; }

Output:

strtol("this is not a number") errno: 0; strerror: Success result: 0

https://godbolt.org/z/TbEKss8zM

That's just rubbish design. In what is in my opinion the most common error case, namely that the string doesn't represent a number while you expect that it does, errno is not set.
by VT-Business | 2025-05-21 23:55:47+00:00
The first two are pretty much what you need. Comprehensive!

- Engineering Mechanics: Statics & Dynamics by Meriam and Kraige - Vector Mechanics for Engineers: Dynamics by Beer and Johnston - Engineering Mechanics: Dynamics by Meriam and Kraige - Engineering Mechanics: Dynamics by R.C. Hibbeler - Classical Dynamics of Particles and Systems by Thornton and Marion
by Chris_Newton | 2025-05-21 23:55:48+00:00
Linux advocacy often reminds me of a favourite quote from Margaret Mead:

“Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it’s the only thing that ever has.”

I think it’s very promising, if you believe in the potential of Linux on the desktop, that gaming used to be the standard “Linux doesn’t do what I need, so I stay on Windows” argument. Thanks to a lot of investment and hard work, particularly by Valve and others contributing to software like Wine/Proton, that is no longer the case. Many games work fine on Linux today, even among the big names. Some even have native versions. It mostly seems to be “anti-cheat” measures that are statistically indistinguishable from malware that still cause trouble.

Another potential sticking point for adoption by home users today is that few, if any, of the big streaming services work well on Linux. This also seems to come down at least partly to DRM. A cynic might suggest that this is because Linux will give a more appropriate response if a copy protection system tries to do invasive things that it has no business doing on someone else’s computer. In any case, it’s another significant barrier, but if we could get to the point where you could at least watch HD content like users of other platforms when you’re paying the same subscription fees, it’s another barrier that could fall.

This latter example is, of course, more than a little ironic given the subject of today’s discussion. But then the behaviour that the DRM system is being subverted to protect against by Signal probably wouldn’t fly for more than five minutes on Linux in the first place, so I don’t think Linux not enabling intrusive/abusive DRM is really the problem here…
by wahern | 2025-05-21 23:56:45+00:00
> Sysadmin: I really dont care what you do

Dropping ICMP breaks path MTU discovery (PMTU). It's the biggest reason why sites break when accessed (or served) over VPNs. This is often mitigated on the server, or in NAT-ing routers, by clamping TCP MSS, but that doesn't really resolve the problem. It doesn't fix it for UDP, nor likely for double VPN scenarios, etc, plus you're just losing bandwidth that way.

Some people make fatalistic arguments that even if they allow ICMP, something downstream may not have, so it's futile. But the networks in the middle rarely if ever block ICMP; those engineers know better. The real issue is on the ends. If you're a sysadmin dropping ICMP, you're half the problem. Fix ICMP on your end, and half the problem goes away. The other half of the problem are those NAT-ing routers, firewalls, and VPNs that don't handle ICMP properly. You can't fix those, but plenty of residential and commercial equipment on the other end, as well as VPN setups, actually do the right thing. Don't make perfect the enemy of better.
by idonotknowwhy | 2025-05-21 23:56:46+00:00
I don't believe them either. We really have to test these ourselves imo.

Qwen3 is a step backwards for me for example. And GLM4 is my current goto despite everyone saying it's "only good at html"

The 70b cogito model is also really good for me but doesn't get any attention.

I think it depends on our projects / languages we're using.

Still looking forward to trying this one though :)
by agarren | 2025-05-21 23:57:03+00:00
Ditto! I haven’t found any hardware that’s daily-driver ready, but I keep looking.

https://store.deepcomputing.io/products/dc-roma-ai-pc-risc-v...

I especially like the idea of getting a framework version in this case I want to swap in a different mainboard. By their own admission, the risc-v board is targeting developers and not ready for prime time. Also coming from the US, not sure how the tariff thing will workout…
by hedora | 2025-05-21 23:57:08+00:00
Crashing on error is almost always the right default behavior. If you do anything else by default, then you get in to the land of data corruption and security holes.

If you do this, and then find your thing crashes in production, then that means you didn't test it well enough.

Before someone mentions safety critical systems, consider the fact that the first apollo landing's computer crashed when it detected it was violating realtime bounds ("alarm 1201" means the OS detected CPU exhaustion + rebooted without clearing process state). At that point, it went into a reboot loop, and got close enough to the surface for Neil Armstrong to nudge the lander to a safe landing.

https://apollo11space.com/apollo-11-computer-problem/
by leoc | 2025-05-21 23:57:27+00:00
Ive doesn’t seem to have come from an especially privileged background (beyond the obvious good fortune of being a white guy in good health born in a developed English-speaking country in the post-war era etc.) Middle-class certainly, but not markedly upper-middle-class or a posh boy. Though I suppose I’m in danger of sounding like pg talking about the Collisons as if they were poor boys made good.
by kazinator | 2025-05-21 23:58:32+00:00
LTO breaks code which assumes that the compiler has no idea what is behind an external function call and must not assume anything about the values of objects that the code might have access to:

securely_wipe_memory(&obj, sizeof obj); return; }

Compiler peeks into securely_wipe_memory and sees that it has no effect because obj is a local variable which has no "next use" in the data flow graph. Thus the call is removed.

Another example:

gc_protect(object); return }

Here, gc_protect is an empty function. Without LTO, the compiler must assume that the value of object is required for the gc_protect call and so the generated code has to hang on to that value until that call is made. With LTO, the compiler peeks at the definition of gc_protect and sees the ruse: the function is empty! Therefore, that line of code does not represent a use of the variable. The generated code can use the register or memory location for something else long before that line. If the garbage collector goes off in that part of the code, the object is prematurely collected (if what was lost happens to be the last reference to it).

Some distros have played with turning on LTO as a default compiler option for building packages. It's a very, very bad idea.
by rendx | 2025-05-22 00:01:52+00:00
"Complex trauma opens up another possible pathway between tinnitus and trauma -- one similar to that proposed for the connection between tinnitus and traditional trauma. Let’s say, for example, that my parents belittled me constantly and that as a result I never felt myself competent in handling challenges. Instead, I was made to feel powerless in the face of adverse circumstances and carried this insecurity into my adult life. Hence, when I am faced with the challenge of responding to tinnitus, my sense of helplessness as a child reemerges and blocks my ability to adequately deal with it. As the authors of the EMDR studies propose, this would mean that to treat the tinnitus we would need to treat the trauma."

https://therapistwithtinnitus.com/2023/01/31/is-tinnitus-tra...

Phillips JS, Erskine S, Moore T, Nunney I, Wright C. Eye movement desensitization and reprocessing as a treatment for tinnitus. Laryngoscope. 2019 Oct;129(10):2384-2390. doi: 10.1002/lary.27841. Epub 2019 Jan 28. PMID: 30693546.

Rikkert M, van Rood Y, de Roos C, Ratter J, van den Hout M. A trauma-focused approach for patients with tinnitus: the effectiveness of eye movement desensitization and reprocessing - a multicentre pilot trial. Eur J Psychotraumatol. 2018 Sep 11;9(1):1512248

Moore, Tal & Phillips, John & Erskine, Sally & Nunney, Ian. (2020). What Has EMDR Taught Us About the Psychological Characteristics of Tinnitus Patients?. Journal of EMDR Practice and Research. 14. 229-240. 10.1891/EMDR-D-19-00055.

"This brief summary considered literature from both the hearing and trauma disciplines, with the goal of reviewing mechanisms shared between tinnitus and PTSD, as well as clinical reports supporting mutual reinforcement of both their symptoms and the effects of therapeutic approaches."

https://www.mdpi.com/2076-3425/12/11/1585

"clinicians who offer tinnitus and hyperacusis rehabilitation should screen for suicidal and self-harm ideations among patients with symptoms of depression and a childhood history of parental mental illness"

https://tinnitustherapy.org.uk/adverse-childhood-experiences...

"Good mental health/EMDR treatment with tinnitus includes a comprehensive phase 1 history taking, targeting any precipitating trauma experiences, and “float back,” targeting the negative cognitions about the present experience of tinnitus."

https://www.emdria.org/blog/emdr-therapy-and-tinnitus/
by pmahoney | 2025-05-22 00:02:28+00:00
Can you explain further? I'm not sure I follow.

> How do you as a method author opt in to distinguishing between [break and next] after yielding to a block?

I don't use Ruby much lately, but if I yield to a block which calls break, control will pass to the code following the block (and not back to my method). If the block calls next or simply finishes, control passes back to me though I cannot know if next was called or not (but do I care? I can go ahead and yield the next element of a collection either way)
by whatshisface | 2025-05-22 00:02:32+00:00
The president is refusing to spend over half of the money Congress has given to the NSF. (Justifications from those in the administration have focused on the fact that funding science supports their, quote, "ideological" enemies, universities.) In response, Congress has the right to make the NSF more independent, or to specify statutorily what the money has to be spent on. Under normal circumstances the fact that Congresspeople themselves were the ones who appropriated the funds would guarantee their support for seeing that their will was put into effect, but in these times there's no telling under what pressures they find themselves to abandon their positions.

Technically the budget has not been cut, and there is enough time for Congress to rescue it - but only if they believe the interest of the responsible public outweighs the risk of being seen to defect from Trumpism that would face them in the upcoming primary election.

Unlike the NIH situation, people are not directly dying from cancelled trials and perishables aren't being tossed out of refrigerators. There is still time to save American hard science from Trumpsim, if Congress could have a little pride and stand up for themselves. Otherwise the attack on our chemistry and physics laboratories will be a lot bigger than anything that has ever happened in a war.
by seanhunter | 2025-05-22 00:03:35+00:00
I didn't misunderstand at all. There is no reason to expect bilateral trade to be balanced and thus there is no reason to expect the aggregate of a large number of bilateral trade relationships to be balanced.

"Nothing, however, can be more absurd than this whole doctrine of the balance of trade, upon which, not only these restraints, but almost all the other regulations of commerce are founded. " Adam Smith, "Wealth of Nations"
by netsharc | 2025-05-22 00:03:37+00:00
If you had a butler or PA who's with you all the time, they would know what genre of food you like based on your restaurant visits and your ravings about what you liked. The imaginary AI would have your location history for restaurant visits, your Instagram feed for pictures of foods/review of restaurants, your chat history to see what you've raved about. It would also have big data from other people who have seemingly similar tastes to you, to recommend you the next place to eat.

Obviously since we're in lage-stage capitalism and everything is designed to extract profit out of you, we can't give commercial systems all our private data...
by mindslight | 2025-05-22 00:04:14+00:00
Discussing ahead of time whether a patient wants specific medical interventions performed or not is squarely in the domain of geriatric medicine. Health Care Proxies can sign DNRs as well, so this argument is completely unfounded.

Your implicit argument is that if the patient doesn't sign a DNR, and their family/HCP doesn't sign a DNR, that it is ethical for the medical system to do it anyway on their behalf. If you want to make that argument explicitly, go right ahead. But it's going to get rejected out of hand in a thread about the healthcare industry making such decisions out of expedience, and rightfully so.