skysight-inc/HackerNews huggingface dataset:
> WHy is it your job, or any one else's, to tell someone what they should do for their own good?

The line isn't quiet as arbitrary as you make it sound. Itd be a different story if your health insurance wouldn't have to pay if you didn't wear it etc. There is also the extra inconvenience of having the road blocked for extended periods of time whenever someone offs themselves etc.

Pretty much every personal safety regulation happens because other people are getting impacted/inconvenienced in some way
Any particular reason for doing the human readable units "manually"? `du -h | sort -h` works just fine.
Please put in the repo that its a joke too, I can see people actually using this, which is very scary. I only realised it was when I came to comment
How to make Dorodango: a step by step guide
Doesn't really matter, the point is that they're patentable. They clearly shouldn't be IMO, but they are.
Yes, if the script you're running adds a repository and uses the native package manager, which is not always the case.
For an implementation of logical immediate encoding without the loop, see https://github.com/LuaJIT/LuaJIT/blob/04dca7911ea255f37be799...
I have a very unique experience. Without diving into details, French health care system welcomed and supported and provided very long, sophisticated and expensive care. I really mean a lot. All for unremarkable insurance (mutuelle) 100€ per month.

Mandatory social insurance, basically my taxes, paid for bulk of it.

High level of professionalism, high standard of care, very little red tape and no unreasonable waiting.

Out of pocket it is usually close to zero.
Absolutely you can. With WebAsm SIMD you have near-native DSP performance. Downsides from my experience [1]:

- You are at the mercy of the browser. If browser engineers mess up the audio thread or garbage collection, even the most resilient web audio app breaks. It happens.

- Security mitigations prevent or restrict use of some useful APIs. For example, SharedArrayBuffer and high resolution clocks.

[1] https://bungee.parabolaresearch.com/bungee-web-demo
But sticking to the familiar crowd-pleasing members of that sequence to make the joke stick, knowing that even on this site working in poor neglected uracil would be trying too hard
You read a book YA about young heroine rebelling.

Why isn't she instead studying for her exams or volunteering for charity work?

You read a book about adventurers. Why the act of doing so is praised, and not the act of hard work in fields or mills?
He has a TikTok account specifically for his political career, @fidiasmep
https://www.tiktok.com/@fidiasmep

The sixth video in the list is the video where he talks about the salary of a MEP.
I installed zed a couple of days ago, tried it for a Java project. It was soooo bare-bone that it vanished from the drive shortly after.

Maybe I'm doing something wrong, I got java/maven plugins but there is no XML highlighting. Java does have highlighting but that's it... OH, and and I installed it this time and I noticed "downloading json-language-server"... (it was there before probably but didn't notice)... like WTF - didn't even ask if I want to... utterly rubbish experience.

For a simple text editor I prefer BBedit on mac, which is native and blazing fast. And for something slightly more complex I usually end up with `code <file>` to quickly edit it...
It's because the person sipping champagne with the software vendor isn't checking the performance of features before signing.
One issue is that the hardest to maintain code I have seen was written by well meaning people who have really put themselves into it. They just made a wrong decision somewhere, because they were not gods.
You don't need to run bleeding edge versions unless you feel like it; there's a stable release with rolling security patches every 6 months (current is 24.05, next will be 24.11).

You don't need to keep multiple copies of each library - but you _can_ when you find out that an update broke something you care about while still updating everything else on your system. You aren't rolling back your entire system state, just the...light-cone of the one tool that has issues.

The problem with SO numbers is that your Python/Ruby/Java/NodeJS packaging and tooling doesn't respect that at all. If you can satisfy all of your dependencies using the Debian-maintained repositories great! When you can't, Nix provides a harm-reduction framework.

Nix also makes certain hard things trivial - like duplicating the exact system state that someone else used to build a thing some months/years ago, or undoing the equivalent of a `dist-upgrade` gone awry.

> And then when there's a security problem, who goes and checks that every version of every dependency of every application has actually been patched and updated?

The nixpkgs maintainers, same as the Debian maintainers. Repology's down right now but nixpkgs seems to do quite well on a CVE level.

> Why would I want to roll a system back to an (definitely insecure) state of a few months ago?

Insecure is sometimes preferable to down. Being able to inspect an older/insecure state with new/secure tools is neat.

> I have many of the same questions about Snap and even Docker.

Snap and Docker solve similar problems that most people don't have. Same with k8s. You might just not have these problems - I have a screwdriver on my desk that's specifically for opening up GameCube consoles (so it's longer than the one I use to open up N64 cartridges, even though it's the same shape); unless you have that specific need, it'd be completely pointless in your toolbox and cause you trouble every time you tried to use it.
Yeah "positive thinking and going with the flow will fix disease". Tell me: why didn't everyone 1000 years ago live to be a hundred everywhere? Oh that's right: because it's not that simple.
Yet another cool OS project that bites the dust.
Well maybe not blind but the analogy with myopia might stand.

For exemple in the case of OCR, a person with myopia will usually be able to make up letters and words even without his glasses based on his expectation (similar to vlm training) of seeing letters and words in, say, a sign. He might not see them all clearly and do some errors but might recognize some letters easily and make up the rest based on context, words recognition, etc. Basically experience.

I also have a funny anecdote about my partner, which has sever myopia, who once found herself outside her house without her glasses on, and saw something on the grass right in front. She told her then brother in law "look, a squirrel" Only for the "squirrel" to take off while shouting its typical caws. It was a crow. This is typical of VLM's hallucinations.
Ultimately those books are the best. Fiction books don't have much of value, as does the rest of entertainment. If you can lean - you could study instead or work instead.
And there's always going to be someone who does who will kick you from your job.
It's much more nuanced than that... Sure, we can agree that if I host and charge users to use the service it is commercial usage... but:

- If my limited company use it to manage internal development, but we aren't yet profitable (making money), is it commercial use?
- If a company uses it to manage internal development, but it isn't the product itself, is it commercial use?
- If I as an individual use it to manage a non-commercial side development project, and when it is then finished, I decide it is worth value and I sell it, does it become commercial usage, and my previous usage turns out to be non-compliant?
- Is a charity using it to manage an internal development project "making money"?
- If I as an individual provide a professional service to deploy this to "non-commercial" users, is this compliant by the license?

You really can drive a truck through the definition of "commercial use", it is nearly as bad as the original JSON license, which stated "The Software shall be used for Good, not Evil." - which is helluva subjective.
"New York City tends to have trash bags haphazardly piled up in it rather than in dedicated receptacles, for many reasons that will be explained in the rest of the article."
It's not uncommon that the curl | sh method actually, among other things, detect what distro you're running and add the repos before installing via the package manager, so in the end it depends on what the script actually does. Atuin does it well for example: https://docs.atuin.sh/guide/installation/ -- and offers other options (as you should).
You're right. For the argument for the other side, the top four largest banks—JPMorgan Chase, Bank of America, Citigroup, and Wells Fargo—collectively hold approximately 43% of all deposits in the United States, and in some ways they are self regulating or have a revolving door with their regulators. But we certainly have a lot of banks and anyone can buy a small one and give the banking business a shot.
Second factor SMS: Worse than its reputation
performance is a feature.
Are you sure that's the right way around? I'm a night person and I have to use alarms and stuff to be able to wake up at the right time, Because I tend to stay awake late into the night. I only wake up when I'm done sleeping at the weekends, when I don't have other obligations in the morning, such as work
`-h` is not available in all `sort` implementations
knew I recognised you from somewhere.
Consistant error handling should be number 1.
Followed by tests.

Optimization is in >80% of all Software unnecessary, it is a nice to have feature.
Rare bit of literary criticism criticism. Watch out for the NYT’s literary critic critic critic reviewing Current Affairs, in revenge.
Discussion (58 points, 16 hours ago, 14 comments) https://news.ycombinator.com/item?id=40927981
"CCC researchers had live access to 2nd factor SMS of more than 200 affected companies - served conveniently by IdentifyMobile who logged this sensitive data online without access control."
Thanks :) (

But I guess there are also very capable American teams and narcissistic European CS.

(I guess it is a very good question why this difference exist and how to change economic policy)
You mention Kamal as if it was some kind of a ubiquitous standard. It is the first time I hear about it. In what way is Kamal better than the hundreds of alternatives?
And the peer reviewed science for this being true is where? Sorry personal anecdotes don't count
Thank you for building this! I've been looking for something like this and even tried to build some for myself. As a non-developer, I've only been able to port some existing services and use very rudimentary structures.
What I like about the chat-style interface is that I can always write little pieces that are easy to send, but hard to edit afterwards. It forces me to keep writing and sending, rather than stopping at a sentence and rethinking the wording and getting halted. I'm actually writing thesis and scientific papers this way.
I'm curious about the data storage: I noticed that you mention data is stored in SQLite database. Can you share the path?
This seems like a pure acquire, and not at a good price? $2M/head with a four year lock in isn't great.
You're so hung up on the heredity angle you've missed the complaint inherent in the point being made during the drawing up of the US Constitution and implicit in my use of the phrase mini-Monarch .. states in which supreme authority is vested in an individual ruler and veer towards succession being tightly controlled.
Well, kxfx whom you replied to was the OP in this thread. And according to their other top-level comment[1], that seems to have been pretty much exactly what they were talking about. (Yeah, a bit far-fetched IMO too.)

[1]: https://news.ycombinator.com/item?id=40874131
This article really needs to mention Japan, who pioneered and perfected the idea and its smooth integration into the subway network. It's common in Tokyo for a train to start as a limited express that travels long distances at speed, then transition into an all-stops subway, tunnel through Tokyo, and then morph back into an express for the long haul out. Some trains on the Toyoko Line do this twice: express, subway in Tokyo, express, subway again in Yokohama.
A Base Model of Drawing Behaviors in Digital Paintings
Off the top of my head:

1) glibc doesn't static link and musl requires you to understand how musl is different from glibc (DNS resolution being a favorite), so you always end up with at least that dynamic dependency, at which point might as well have more dynamic dependencies

2) static binaries take significantly more time to build, and engineers really hate waiting - more than they care about wasted resources :)

3) static linking means having to re-ship your entire app/binary when a dependency needs patching - and I'm not sure how many tools are smart enough to detect vulnerable versions of static-linked dependencies in a binary vs. those that scan hashes in /usr/lib and so on. If your tool is tiny this doesn't matter, but if it's not, you end up in a lot of pain

4) licensing of dependencies that are statically linked in is sometimes legally interesting or different versus dynamic linking, but I'm not sure how many people actually think about that one

I've also personally had all kinds of weird issues trying to build static binaries of various tools/libraries; since it's not as common a need, expect to have to put in a bunch of effort on edge cases.

Resource usage _does_ come up - a great example of this is how Apple handled Swift for awhile - every Swift application had to bundle the full runtime, effectively shipping a static build, and a number of organizations rejected Swift entirely because it lead to large enough downloads that Apple would push it to Wi-Fi or users would complain. :)
> This article is jam packed with so many cliches that are popular with business writing that you would be forgiven in thinking that an LLM wrote it

Almost harder to forgive not thinking that an LLM wrote it...
Why is starting at crack of dawn bad? For night owls, so much daylight is wasted in the early morning hours. For children, they'll be shoved off into a classroom building at dawn any way, might as well enjoy more daylight after the schoolday.

What am I missing haha?
Not going to lie the first thing I thought was, "Why is the John Green book on HN??" I mean, cool, but surprising. Then I read the end and it made more sense ha
Ah sorry, I missed the lifeguard part. I thought this was for regular swimmers. Apologies.
I suggest watching the whole video, I found it very interesting. Here's my attempt to summarize the key points.

An MIT-educated neurosurgeon quit his job after realizing surgeries weren’t addressing the root cause of patients’ problems. He observed that the outcome of surgeries would vary greatly: for some it would help, for others a bit and for others, it would not help at all even though he performed them perfectly every time. Some patients even called before the surgery to say that they were okay and no longer needed surgery.

So he started asking patients questions and after 9 years he concluded that patients who got better and healed did the following (at 19:42 in the video): low salt diet; mostly plant-based diet; did things that would cause sweat: exercise, sauna, or living in hot weather; did not smoke; drank little to no alcohol; had good social support: family, friends, etc; slept 8 hours a day; were not stressed or managed to release it back, e.g. meditate.

Then he talks about the moral dilemma. If he helps patients to truly heal by sharing what he has learned, he and the hospital would not make money.
Implementing a native function detour in C#
Is there anything stopping anyone from making it a flatpak and maintaining it? I'm personally not surprised that they're reluctant to take on more maintenance responsibility than necessary.
I hope you are aware of the fact that LLMs does not have direct access to the stream of words/characters. It is one of the most basic things to know about their implementation.
You are mixing up the Gulf War of 1990, which was in defense of Kuwait, with the illegal invasion of Iraq in 2003 based on false pretenses.

"Giving weapons and ammo to Saddam Hussein?"

Pentagon is giving weapons and ammo to Azov [0], Ukrainian neo-Nazi ultra-nationalists.

And giving weapons is not everything that France is doing now. Think about other measures too, like cutting off American banks from SWIFT, let them use their ACH.

[0] https://en.wikipedia.org/wiki/Azov_Brigade
But that’s not true, even on decade-old iPhone the time from hot open to typing response is about 0.5 sec (if you unload an app and load it again it might be slower)
Same with the "new note" long tap on newer models

Granted, you need to use native apps for that like Simplenote or Notes

Not sure about choppy connections, though, haven't measured that
> Trains arrive as often as every three minutes during peak hours along the central spines of both the Elizabeth Line and the RER Line A.

I've taken the RER A everyday for few years (both and after automation), and that frequency combined with its size still puts me in awe.

My usual connection with RER A, I arrive at the middle of the train platform, and my next connection is at the end of the train.
Statistically I reach the end of the platform before the train arrives maybe 5% of the time?

The frequency is so high that it takes more time to get at the right place of the train than to wait.

It's almost at the level of "don't think of the train, just your walking route".

(I'm saying almost because incidents still happen, and RER A can still suffer of "trains are running slowly because they are overcrowded because trains are running slowly" negative feedback loops, though it's usually resolved within 15m)
No, early risers also go to bed when they're tired and wake up when they're done sleeping.

Having to get up at a time that doesn't suit you due to external constraints is something that can affect anyone.

It's just that early risers get tired earlier (and fast) and then often wake up quickly, fully awake. My brother has always been like this.

I'm a night owl. I get tired more slowly, go to bed later, and take a while to fully wake up too.

It seems to me there is a difference in metabolism as well as the time we get tired. Early birds are like sprinters, fast but short distance. Night owls are more like marathon runners, not so fast but keep going longer. I don't have scientific evidence for this, it's simply how it appears to me.
Actual research paper about the influence of a name on career and other "major life decisions":

• Why Susie sells seashells by the seashore: implicit egotism and major life decisions (https://pubmed.ncbi.nlm.nih.gov/11999918/)

With follow-ups:

• I sell seashells by the seashore and my name is Jack: comment on Pelham, Mirenberg, and Jones (2002) (https://pubmed.ncbi.nlm.nih.gov/14599244/)

• Assessing the validity of implicit egotism: a reply to Gallucci (2003) (https://pubmed.ncbi.nlm.nih.gov/14599245/)
Could you share a link with more details?
stuff I've seen go haywire during DC move includes PSUs frying themselves for no reason (so called magic smoke), cabling might be an unholy mess too, probably badly labelled.
There's some news sites that specialise in positive news stories about the energy transition, like https://climatehopium.substack.com/

I feel you could fill a similar substack with "good news about the energy transition that is being framed as bad news".

> There are several big implications here. The first is that prices will fall and margins will get squeezed. That’s already happening, with a 14% dip in average battery pack prices in 2023, and China’s CATL announcing that it expects to be able to sell battery cells at the equivalent of less than $60 per kWh this year.
Actually some people can do so for a few days at least.

I saw a western study looking at death rates and if I recall correctly: there was a dip in death rates just before 25th December, and then a bulge the same size as the dip after Xmas.
That's great if you don't need any amplification at all, or perhaps nothing more than a typical guitar/bass amplifier. Big venues need a lot more hardware than this.
> But when it comes to a shared to-do list across a team

That would be Kanban.

> then that is apparently the worst thing to ever happen to a project.

Naah: The worst thing to happen to a project is all the rituals, ceremonies, processes, meetings, estimations, deadlines... That it also contains a shared to-do list isn't enough of a saving grace, seeing as how you could have the shared list without all the other bumf.
yes, jetbrains editors are particually good at resolving merge conflicts. They also have a magic button to do all the obvious conflicts automatically.
Love it. My VSCode takes 3GB of RAM and that's a single window with like 5 files open at one time. I've long been looking for a good-enough replacement (though I don't think I'll be able to leave debugpy for a while)
They are questioned (often in bad faith) in almost literally every thread in here. Also reddit is full of this.

Being woke means being aware of prejudice, etc. What ideals are questionable to you and can you provide an overview as to why?

Also, please don't consider this an attack on you specifically, but I'm tired of seeing "I want to say something but I will only insinuate very vaguely and mention how this topic is censored". You can find real discussion of pretty much every social issue on here, nobody will "cancel" you.
Here's a pretty solid overview in the late, lamented JRTR.

https://www.ejrcf.or.jp/jrtr/jrtr63/pdf/14-21_web.pdf (PDF)

The article also notes that the Parisian RER was inspired by Tokyo, and throws casual shade by noting that public transport in Paris at 3 billion trips per year is just a small fraction of Tokyo's 15 billion trips.
Python library with Rust backend*
I agree with this.

If most of us just limit our meat intake, that will have a huge impact. Going from 7 days meat per week to 3 or 4, and maybe reducing the portions can easily halve your impact.

My wife is vegan and we eat a lot of plant-based food. The kids and I still have some meat, and some milk and eggs. As a whole, we've probably halved our animal based food intake without giving up a lot.

There's plenty of great tasting vegetarian/vegan dishes out there.
PaliGemma: A versatile 3B VLM for transfer
On the best practices, as noted by others, there are probably classes in your standard lib/ commons lib that cover this stuff better than storing in integers (e.g. BigDecimal in Java and Python Decimal have precision and rounding mode concepts built in).

Something I've found valuable is on is managing euler units/ratios (e.g. proportions 10^1, percentages 10^-2, basis points 10^-4) . Enforcing a standard that all interchange, data storage has either the same scale, _or is stored with its scale (and not in the name)_ will reduce errors hugely significantly.
How and When to Use Btree_gist
Whilst this is true in theory, the experience of being a data centre customer, taking transit from one or two providers and peering with a handful of others is very different to being a user of a bulk cloud infrastructure provider.

I think the difference is automation, or rather lack of it. You build personal relationships with real people. Senior network engineers at the supplier don't consider it beneath them to ring up similarly competent people at the customer and chat directly.

In the past I've hosted kit on a larger scale for my businesses, but it seems you get the same personal experience as a tiny individual customer. Even with just a couple of racks of kit of for hobby projects and friends' stuff, I know the network engineers at the DC and transit providers and can email or call direct to discuss things when I need to.

More importantly, if (for example) one of my friends starts gobbling 10Gbps of $$$ transit because of a typo in a script, they ring my mobile to chuckle about it while we fix in realtime, rather than some automated process pulling the plug with the real engineers hiding behind support tickets and first-line support staff that can't string a sentence together.