skysight-inc/HackerNews huggingface dataset:
I wasn't suggesting a solution. I was highlighting one of the current problems with residency funding. Hospitals need to be able to make money of residents, not lose money on residents.

If I were to suggest a solution, the first step would be allow all hospitals to bill for work done by residents. IF they can make money on residents the entire problem goes away.

If a resident fixes your broken arm with the same quality as regular doctor, I think the hospital should be charging the payer the same.

From the papers I have seen, unbilled procedures by residents is more than enough to cover their salary.

IF it doesnt get there, we could talk about contractual solutions, but the first step should always be figuring out the true value of their work.

PS, I don't pretend to understand the intricacies of the law you linked, but it does not seem to address the issue on first read. It seems that Medicare will pay an arbitrary premium set by Congress on healthcare services not performed by residents to compensate for the fact that neither Medicare nor private insurance pays for the healthcare services that are provided by residents.
America's most boring job is on the brink of extinction
> Linux will "never be ready for the desktop" because of the problems that this causes.

These problems can be mitigated, though. All it takes is a company willing to lead the effort and maintain a stable, limited and tested ecosystem of software built on top of a stable, limited and tested version of Linux. And/or maintain a secure runtime environment like Google has done with Android.

The problem with this is that it invariably takes away some of the freedoms Linux users expect. Personally, if I'm not allowed to run any software I want, how I want to, and terms like "sideloading" and "jailbreaking" are thrown around, it's not Linux and I don't want it. At that point you're no longer using a general purpose machine, but a machine that someone else decided how it must be used.

Besides, like a sibling comment mentioned, bugs do happen even on Windows and macOS. This is an inescapable fact of software development. I was simply pointing out how harder it is to manage this on Linux, and yet it remains usable for many people despite of it.
As someone who only has a passing understanding of parallel training, I always found it wonderful that averaging gradients works at all. It seems non-intuitive to me.

Pretty cool, imho, that there are finding better ways to train in parallel.
I think my favorite introduction to just how insane the pipelines, predictors, and other insanity in "modern" (more than a decade ago now) was trying to improve `Math.sqrt()` performance in JSC. This was during the first generation of JIT JS engines (e.g. no one was inlining functions yet), and I was replacing the host implementation of Math.sqrt with a pure assembly version - essentially calling a host function was significantly more expensive another JS function - e.g. JIT JS function -> JIT JS function was significantly faster than JIT JS function -> host code (e.g. C/C++). As part of doing that I was going step by step through each instruction making sure it was the minimum overhead as each step, think something like (very approximate - again more than a decade ago):

v0:
1. if (input not a number)
fallback to C++; else
2. return tagged 0; // Just making sure the numeric check was optimal

v1:
1. As above
2. If integer
convert to float
3. return tagged 0

v2:
1-2. as above
3. If negative
return tagged nan
4. Return tagged 0

v3:
1-3. as above
4. use the sqrt instruction
5. return tagged 0

v4.
1-4. as above
5. move <4> back to an integer register
6. return tagged 0

v5.
1-5. as above
6. tag the result of sqrt
7. return tagged 0

v6.
1-6. as above
7. Actually return/store the result of <6>

Alas I cannot recall whether at this point return values were going into the heap allocated VM call stack, or whether the return was via rax, but that's not the bit that was eye opening to me.

I had a benchmark that was something like

for (var i = 0; i < large number; i++)
Math.sqrt(i)

Noting that while I was working on this there was no meaningful control flow analysis, inlining, etc so this was an "effective" benchmark for perf work at the time - it would not be so today.

The performance remained "really good" (read fake) until the `v6` version that actually store/returned the result of the work. It was incredibly eye opening to see just how much code could be "executed" before the CPU actually ended up doing any work, and significantly impacted my approach to dealing with codegen in future.

My perspective at the time was "I know there's a significant marshaling cost to calling host code, and I know the hardware sqrt is _very_ fast", so it seemed that it was possible that a 5-10x perf improvement seemed "plausible" to me at the time (because marshaling was legitimately very expensive) - and I can't recall where in the 5-10x range the perf improvement was - but then once the final store/return was done it dropped in perf to only 2x faster. Which was still a big win, but also seeing just how much work the CPU could just avoid doing while trying to build out the code was a significant learning experience.
> We show this technique consistently outperforms validation accuracy, in some cases by up to 18.2\% compared to traditional training approaches while reducing the computation required nearly an order of magnitude because we can now rely on smaller microbatch sizes without destabilizing training.

The accuracy improvement is great, but I'm really looking forward to the reduction in computation required!
How is it valid to claim owernship over classical music, unless it is of a specific performance?
There were some plans to migrate to SHA256, but somehow it still hasn't happened.

The practical upshot is a git commit hash is not enough l to know you are distributing/executing the legitimate code, as opposed to a malicious doppelganger. This is particularly important for tools that rely on it for dependency management, local caches, etc.
It's just a matter of ownership and entitlement. You believe you are entitled to things other people own, that is on their property, because you have provided a service to them that's somehow related.

Outside of specifically silicon valley, that level of entitlement is unheard of. Once you put it in human terms what you're asking for, it sounds absolutely outrageous. Because it is - you and I just exist in a bubble.

This can all be avoided and you can have you cake, too. Run the software on your metal. That's what my company does and it's great in many ways. We have a level of introspection into our application execution that other developers can only dream of. Forget logging, we can just debug it.
No coder should ever, ever be shocked that broken code mostly kind of seems to work, especially if you don't notice things like file corruption because you're not looking, or memory corruption that doesn't happen to matter at the moment. A lot of the failures and bad code are in the unexpected path.
A lot of terrible things were done as a result of this, including China’s one-child policy.
"Operations teams have confirmed NASA’s mission to “touch” the Sun survived its record-breaking closest approach to the solar surface on Dec. 24, 2024."

https://science.nasa.gov/science-research/heliophysics/nasas...
I'm a big linux fan. Use it every day. I even use linux on the desktop to develop Windows software that isn't even distributed on linux.

But am I really that alone in recognizing a lot of truth in this article? It's sad to see so much hostility within some of the other comments, even here on HN, quickly coming to linux's defence rather than having at lest some degree of reflection and acceptance towards what are almost undeniably the very common experiences of many linux users.

It somewhat proves point 7 that while not exactly to the letter of the examples given, support the point that until there is wider acceptance of the problem we are far far from a solution.

It's possible to think very positively of linux yet still recognize so many of the challenges that make linux hard to use on the desktop. This very day I can't suspend/resume my desktop because the kernel crashes on resume, a pretty basic feature of a computer in 2024. I put up with it, because Linux is still a great choice for a technically-minded user. But there are other software orgs out there that simply wouldn't tolerate this level of lived experience of any end user. But linux does, and we are where we are.
https://archive.today/2Yhnq

Accounting.
There are lots of medical researchers who don’t treat patients.
46 billion is only 9 months of this year. Unlikely to reach 80, but the writeoffs are accelerating, hence the article.
I agree that using underground belts makes harder than it should to understand the example. I replaced it with simple belts. I re-calculated the design with the latest version of the code that has an optimization function that favors normal belts to underground ones https://github.com/gianluca-venturini/factorio-tools/blob/ma...
When you are dealing with an aggressive authoritarian regime like CCP or Putin, agreements mean nothing. They all follow the algorithm described by Vladimir Lenin:

— “You probe with bayonets: if you find mush, you push. If you find steel, you withdraw”

They do this relentlessly until they face consequences too costly to continue. Negotiations and agreements are simply, and accurately seen as "I won, I can continue making bigger offenses, and the opponent will do nothing (they won't violate the agreement while I do)" .

I mentioned sanctions first because they can often be more effective than kinetic and less escalatory. That does not mean they should be off the table, particularly kinetic responses with plausible deniability.

But no, this is not a political issue. A political issue would be dumping goods onto the market at sub-production-cost or undercutting us on a deal with an ally. This is a violation of territory just as if they'd broken the locks on the buildings to come in and sit down at the keyboards.
Interestingly, the AVForums review says HDR is the reason (if any) to prefer it. ("WCG" below is "Wide Color Gamut".)

> The biggest reason for sticking with your purchase is probably the application of WCG and Dolby Vision HDR, with the image now a lush — but faithful — palette that enjoys those sun-burnt skin tones (a few pink lips look kinda odd on occasion, but for the most part it's well handled) dominating wood browns, dirty desert backgrounds and often stunning blue skies. Black levels are rich and deep, but don't swallow up all the shadow detail, and the film — in comparison to the old blu-ray — looks a whole lot more "4K" given what we've come to expect from the benefits of WCG and HDR, to the point where it'll likely end up being the default playback for those pot committed on this release.
Banking is something seldom enough that you can just run it in a browser, like God intended
Sure, I'm dramatically oversimplifying, but I think my point still stands: putting it another way, trains have an ability to accommodate travelers in a way that nothing else -- planes, cars, buses, etc. -- can even approach. It wouldn't be as easy as I'm making it out to be, but it also doesn't seem (in the larger picture) to be particularly challenging either.

And you're right, you'd probably have to designate a section of the train as the "getting on and off" bit, and make it easy for people to move from car to car.
>uses OpenAI for LLM inference and embedding

This becomes a cyclical hallucination problem. The LLM hallucinates and create incorrect graph which in turn creates even more incorrect knowledge.

We are working on this issue of reducing hallucination in knowledge graphs and using LLM is not at all the right way.
Oh good lord, I didn't even look at the date, I just googled based on something someone else submitted.

Let's hope this is the least embarassing thing I do today.
The purpose of Trump's Greenland play is to prevent anyone else from using Greenland to keep an eye on this kind of thing.
Co-author here. Super excited to see this work posted on HN!

Happy to answer questions.
The “go to a website, download a binary, install it, and it runs” model has significant security issues.

The security issues are twofold. One is that you could easily be tricked into installing malware. Two is that you will never be able to keep up with security updates, leaving yourself vulnerable to being compromised by flaws in network applications.

Making that model of software distribution difficult is a feature, not a bug.
This was an interesting read, thanks.

One nit on mobile (Firefox and Chrome, Android), your code blocks overflow the background instead of scrolling.
And yet it is legendary for running all sorts of great games (Ultima, Bard's Tale, Wizardry, Castle Wolfenstein, Robotron, Prince of Persia, Maniac Mansion, Choplifter, Lode Runner, and many, many others.)

I still want to try last year's Wizardry remake – which actually emulates the original Apple II code (or subsequent NES code), with a capability of displaying the original interface if desired.
I don't even bother to check now before buying games.
Even when you get the direction correct-- e.g. that you could encode an arbitrary SAT problem as an instance of your problem... that doesn't mean that in practice most instances of your problem can't be solved to an arbitrarily good approximation quickly or even solved optimally in a reasonable amount of time. It only means that in the worst case there is no efficient optimal solution or good approximation.

I've repeatedly encountered people using crappy solutions to problems because they read some result from complexity theory that made them think they couldn't do better. .. when in reality a slightly smarter algorithm does much better on average.

Consider for example the min cover problem: You have a set of bit vectors and you want to find the minimum collection where at least one vector is true for every bit. (e.g. optimizing a collection of tests). There is a simple greedy algorithm-- include the vector that covers the most yet-uncovered bits. There is a proof that this algorithm achieves the best possible worst case approximation error.

But in practice this is a useless result. Worst case approximation error is driven by pathological inputs. It's easy to come up with modifications of the greedy algorithm that significantly improve the quality of the solutions on average (or at least do in the sorts of real problems I've applied it to).
in safari as well
You failed to read and/or understand what I wrote. Also how do I fail a test for a new code addition I didn’t even write?

Unit tests dont test impure functions all they do is test pure functions. Impure functions aren’t unit tested period. So when someone writes an impure function I don’t like what happens? Nothing. It wasn’t part of unit tests annyway, understand?

If you’re referring to integration tests well a newly written impure function isn’t part of integration tests anyway so nothing happens in this case either.

I found your last comment about how I’m triggered to write such a comment rude and lacking in even understanding what I wrote. Please try to understand my point before saying something like that… if you can’t please refrain from replying in such a way as it’s against the rules here. Thanks for reading.
One shouldn't use a locked down device to auto share pictures and approve children app install requests. If there is no need for a separate device for sensitive data then one possibly is not a person of interest and doesn't need a lockdown mode. It is not possible to have comfort and security at the same time.

And a sensitive device should not be easily discoverable to gatekeep who can actually send anything to it. This is also renders it unusable for day to day family tasks.
windows 95 did come with Qbasic for MS-DOS. it wasn't the latest and greatest, but it did contribute to a moderately large online scene of kids making Qbasic games or Windows-like Qbasic GUIs for DOS.
It's literally part of the name of the technology. https://buildpacks.io/
Coconut by Meta AI – Better LLM Reasoning with Chain of Continuous Thought?
I recently switched from Android to iPhone (and had to get a second iPhone because in <2 weeks I got more scratches on my screen than I have on my multiple droid devices used for 5 years...).

I learned a lot about 2FA from that experience... not in a fun way. The problem really comes down to this: let me register >1 devices for authentication! Luckily Google does this but many places don't. So you're kinda fucked if you exchange your device and don't convert everything first. Interfaces are crazy bad. Firefox is a good example: go to manage account, scroll down to "Two-step authentication" and you'll see "Enabled" with an option to "Disable" or "Get new codes". But I registered this into Ente!

Even FIDO keys say you should buy tap two. One to lock in a safe (they should make this easier by allowing some way to clone a key). Why can't I register 2 devices or multiple methods. More so, why can't I set some priority leveling like prefer security key, email if OTP is used, require message to fall back to email OTP.

This isn't just a problem with passkeys, this is a security problem in general. I really don't think there's enough thought put into how things happen in the real world. I'm pretty techy so got my issues solved but if it were my parents? Well they would swear at me for having implemented that security and never trust me again, falling back to much lower security. It's hard to blame them.

So does anyone know the real way to solve these issues? We're on Hacker News. Yes, the best security is if you lose a key you lose access, but this doesn't work for the real world and for most people. You shouldn't be at risk of losing an account if you lose or destroy your phone. We should also have solutions that don't require internet or reliance on big tech 3rd parties that get
Metadata as is the case with single signons. Yes, provide that option, but there's got to be a better way (that can also permeate into standard practices!!!)
Discussions

It Has (94 points, 3 days ago, 17 comments) https://news.ycombinator.com/item?id=42525051

Will soon (165 points, 11 days ago, 145 comments) https://news.ycombinator.com/item?id=42470202

Won't it melt (331 points, 6 years ago, 121 comments) https://news.ycombinator.com/item?id=17743599

Won't it melt (117 points, 6 years ago, 86 comments)https://news.ycombinator.com/item?id=17569741
how do you test the imperative shell except with mocks? Suppose you're calling an external API
> the way forward lies in an empathetic compromise, one that broadly respects transgender Americans’ sense of their own identity—for example, in the use of chosen names and pronouns—while acknowledging that in some areas, biology really matters.

No thank you. The idea that you have to respect any of these self-declared identities is absurd. No-one should feel compelled to deny reality.

Anyway, the last decade or so of trans activism has demonstrated that forcing people to do this has massively backfired. People who may have used preferred pronouns out of courtesy are now unwilling to do so, partly because of how antagonistic and obnoxious these activists are, and partly because the harmful downstream effects of playing along with this nonsense have become painfully clear.
Auto unlock only happens with a TPM. You couple TPM with encrypted RAM, Secure Boot and tamper-detecting erase. So if they remove the bottom cover, TPM is cleared and you need to enter the recovery key. Encrypted RAM prevents extracting secrets from sleep state. All corporate laptops have these features (and also remote erase / destroy with Intel ME / AMT). A correctly setup system will cover almost all of the attacks in physical nature. Of course they can still find exploits in logon screen. It is good enough security combined with convenience. It is more secure than letting normies (and lazy techies) use 12345678 as the pin.
Ask HN: TLS 1.3 and Post-Quantum Encryption for HN?
Could HN benefit from a TLS upgrade, as it's currently at TLS v1.2, (not e.g.: v1.3) (for me, at least)? Also could it benefit from being a leader in implementing post-quantum cryptography?

Cloudflare is beginning to implement it:
https://pq.cloudflareresearch.com
(See cloudflare blog posts about it, too for many more details)..
Still, a success story in my eyes
Related discussion about the merger when it was announced earlier this year:

IBM to buy HashiCorp in $6.4B deal

https://news.ycombinator.com/item?id=40149095
When I was first getting started with programming in about 2008, I found it to be so unbelievably frustrating. Any tutorial I was following would invariably run into something that didn't work how it was supposed to. I would try to find some work around, and sort of would, but it would lead to other unforeseen issues down the line. I finally came across cygwin, and that sort of made things start to work.

Eventually, though, I just installed a linux partition and literally never looked back. The entire ecosystem of everything I was learning at the time (Python, JS, PHP) was set up for unix. Things have improved over time, and obviously WSL is nice, but it's still a pain.
No one was claiming that a random blog post is impartial or authoritative despite it's being right.
That's where I got started, copying basic code from the back of Boy's Life magazine, before I had a modem. I'm sure I'm not the only one here!
>>Kinetic?
Notice I put sanctions first, but considering we hardly go a week without seeing more massive CCP actions from cyberattacks to converting Chinese expats to spies, it needs to be taken seriously.

We could start with, every such attack and another major Chinese conglomerate is banned from US business. Coordinate with EU also to increase effects.

>>Which targets?
I'm not an expert in that field, but I'm sure there are many who could devise an appropriate target list. The targets you suggest are not bad, I'd certainly prioritize equipment and avoiding any human casualties, so maybe going after their power feeds and backpu to their research and data centers would be a start...

The key is a rapid response that they feel, hard.
With all due respect to the author you can create your own Python libs/classes/methods to mimic the BASIC simplicity. I would say that even the Applesoft HGR is unnatural and just drawing a line could be enough. Many times it is about the implicit vs. The explicit balance in code.
Australian PFA limits are many times higher than US but still low. We've just had incidents of above US and below Australian limit detection in Brisbane's water supply catchment area (Brisbane is a large metro area, basically the size of greater los Angeles but a lower population) and the authorities are at the beginning of a process to decide what, if anything to do: nothing is always an option, but is often politically untenable. The indications are as well as revising limits down they will look to remediation and filtration improvement so this kind of thing may be looked at here too.

https://www.theguardian.com/environment/2024/oct/21/australi...
The sources you've listed don't seem to show any environmental damage. In fact, China has been leading among major nations in environmental protection efforts in recent years. For instance, the destruction of natural forests has been virtually halted, and China has been the most successful country in combating desertification through massive reforestation projects.
Ironically, some Western media outlets are now criticizing China for "having too many trees" and reducing desert areas across the globe.
I still buy devices based on the likelihood that they will be supported by LineageOS. Good to see them continuing along.