skysight-inc/HackerNews huggingface dataset:
Based off bad science paid for by big sugar.
It's not universally safe to use CSS nesting yet. Without nesting support, writing raw CSS is like raw-dogging a sex-trafficked Vietnamese prostitute from Malaysia. Sure, it will probably work, but if your goal is zero maintenance then you're ignoring the post-exposure prophylaxsis and antibiotic regimens necessary for typical usage patterns.
Shameless plug for my JSON/5 parser written in zig: https://github.com/berdon/zig-json

There is a std json library as well but the aesthetics weren’t great imo.

The specs are quite pleasant to implement.
A woman appeared on the English stage on this day in 1660
If you're preprocessing, you might as well just `grep -v ^#` and support 'real' comments.
My comment will not aim to change your mind, but I felt the need to make my case:

I used to work for an AV vendor. I'm quite familiar with its internals. I used to look at some C++ and disassembled malware samples. I'm technically skilled for that kind of reverse engineering.

The engine is so lightweight and optimized that other vendors license it.

It's so lightweight that those underspec'd bank ATM machines you use on the streets with the unfortunate Windows XP or earlier will use that AV with nearly zero performance impact.

> AV hogs CPU, RAM, disk, and network resources.

I hear you, but this is not the case with the AV vendor I used to work for. Years after leaving the company, I still pay for my license (at a legacy discount of course).

Actually, one of the reasons I pay for my license is precisely computer performance. Windows Defender has some BS file indexer[0] that clogs the SSD with 100% continued usage. I just dread it. This bug still remains since the days of Windows 7.

Once you get a proper AV product in your computer, Windows Defender steps down. Bug fixed by myself. Done deal.

The other reason is peace of mind: Windows Defender is not a real security product. I know the protection capabilities of the AV product I licensed. I'm not a complete idiot using my computer, and yet, even I prefer to have it installed and paid for.

It triggers me people saying Windows Defender is enough. It's quite irresponsible. People haven't seen half the crap I've seen. Windows Defender is a little weak kitten compared to the beasts' proper AV products are.

I'm not saying buy the one I use. All I ask is that people buy a lightweight one that has been properly tested by an unbiased third party like AVTest or Virus Bulletin (look for their VB100 100% Detection award).

> AV comes with their own exploitable vulnerabilities, often running in kernel mode. AV has their own zero-days and zero-click exploits.)

As Windows Defender does. Remember, if you don't have any AV product, you have Windows Defender.

I feel that you made a moot point, as every software under the sun comes with vulnerabilities (whether zero-day or known).

--

[0]: https://nerdschalk.com/how-to-fix-100-disk-usage-issue-on-wi... (read the 15th reason).
This isn't true. OP may be confusing things like this - https://www.gamblingcommission.gov.uk/licensees-and-business... - as saying that crypto is regulated as gambling, but it's not.
Is the tech to do facial recognition at this accuracy available to public ?

Last time I checked there was deepface https://github.com/serengil/deepface/tree/master but it was far to work as well as that
A call out to Bruce the Moose.
> > What a lot of math learners fail to understand is that grinding through concrete examples imbues you with intuition that you will not get if you jump directly to studying the most abstract ideas.

> I feel that's more a lesson for a lot of math teachers to understand.

That's certainly true, but the teachers who teach that way were probably once students who tried to learn that way (I was one on both counts, though I got better), and it'll be better for them as teachers if they learn the lesson as students.
That's a harmless example and a tiny price to pay.

What no-comments saved us from was stuff like this in our data interchange:

{
"count": 123 // bigint
"price": 10.99 // @precision=2
"date": "2024-08-12" // @format=YY-MM-dd
"data": /* !transform(rot13) */ "uryyb"
"storage": 5 // Unit(TB)
}

And who knows what deeper layers of hell we avoided.

Frankly, VSCode shows that all this time people were complaining about no comments in JSON config and how hard it was to write config in JSON, they could have just written their apps to strip comments at read time.

So we do have the best of both worlds.
This is more like a classifier. They have a bunch of human-classified image/sound pairs, and they match unclassified sounds to the classified sounds. Then there's a Midjourney image generation step, but that's probably unnecessary.
iPhone mics are consistent enough to be used for most purposes. Apple provides the correction curves and they are used by apps like Audiotools
Reminds me of the Rebecca Zahau death in San Diego:

https://en.wikipedia.org/wiki/Death_of_Rebecca_Zahau

She tied her own hands behind her back and hung herself from the interior balcony.

Ruled a suicide.

In the US, money does in fact buy anything, including innocence of murder...
Choosing streaming services will be correlated to income. Netflix (medium $) and Disney+ (high $$). The less wealthy are watching YouTube with ads included.
Maybe be should have been though.

Files shouldn't be labeled as compliant with a standard and then not be. Full stop.

The standard that is JSON does not support comments. Don't call something JSON that isn't.

Use one of the many existing JSON extensions or create a new standard. DO NOT however just adhoc crap like this suggests, that's a road to hell.
The recent fashionable term is "nudge theory"
Are you sure about that? When Russia annexed Crimea firing a couple of shots in 2014, we couldn't see all that horror you talk about, so I don't think it would be what would happen. In fact, there's a lot of people in Eastern Ukraine that has been hoping for Russia to start this military operation.

OTOH, we have records of killings and rapes by American military personnel in Iraq when the US invaded the country back in 2003. And they did that unimpeded. Maybe you supported that invasion.
Statistically most would be. Assad's regime were Shiites (~13% of the population) and the HTS are Sunni (74% of the population).

This doesn't necessarily mean they are better but at the very least of two very theistic groups, the latter better represents the population than the former.

And of course while this means Russia and Assad are finally out of the equation, the governments in North and East Syria aren't exactly stoked about the HTS' explosive growth in power.
Welfare is a subsidy /against/ Uber. It means that Uber has to pay more, not less.
A good start would be a ban on ads based on who is viewing the ad vs what the content surrounding the ad is...

So, Casper mattress wants to have an ad spot in a podcast or a YouTube video in the video itself? That's ok.

YouTube wants to include an ad about a mattress in a video about home renovation? Also ok.

Stack overflow wants to show an ad for GitHub? Is ok to me.

YouTube wants to show an ad about Casper mattress based on whether someone has clicked on an ad about mattresses before? Banned!

This alone would be a great start.
> Detected the presence of tuberculosis by listening to a patient’s voice.

links to this article that doesn't mention existence of this patient

https://www.bloomberg.com/news/newsletters/2024-08-29/google...
> Precompiled, portable binaries are the way to go which is what mise is built on.

And where are those mystery meat binaries supposed to come from? What do you do if the provided binaries aren't enough? (Wrong version, wrong build flags, what you want isn't even packaged, don't support your platform, etc, etc, etc.)

Binary package managers have been tried over and over, and never work out well.

> gives your system a "split-brain" problem where you have the "nix world" and the "macos (or whatever) world".

Yeah no, that's inherent as soon as you bring in any kind of secondary package manager. Including pyenv or mise or whatever else.
GJ! Insulin resistance is much more a function of total caloric load and expenditures than composition. It's called metabolic syndrome, not high glycemic index syndrome. You reworked your lifestyle and metabolism and came back into the "zone" before you fell off the cliff.

How much better do you feel?
Wow must have a very self confidence to think people are so dumbs especially after what I’ve be done during 5 years (or having a very poor historical culture)
I sincerely hope the seller of the wind farm reinvests the proceeds into a new wind farm!

If so I can probably convince myself this is broadly good news. I don't think the miner was going to switch their data centre off, so I'm pleased they are using renewable energy rather than fossil fuels.

I wonder what the bitcoin price would have to be before they decide to reconnect the wind farm to the grid and start selling electricity instead of burning it mining crypto. I kind of hope that's where we'll end up but history has taught me that bitcoin doesn't want to die, even though Ethereum doesn't need proof of work anymore!
> Soon, the only real defense may be federal regulation.

That doesn't sound like much of a defense!
Embedding Vectors vs. Vector Embeddings
I need to send it to the author, but ASP.NET Core’s JSON configuration parser also does json + comments by default. Confuses the hell out of my colleagues and VSCode when I do it though :D

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/c...
The article wasn't against the use of AI if that was supposed to seem ironic..
AIs do not have "internal beliefs" any more than a textbook does, or a calculator program. ChatGPT is generally spectacularly bad at "overriding what you said"; its output in response to a programming question will be shaped like an answer, accepting the terms as given, without anything resembling a spontaneous attempt to detect an XY problem. Properties like that require "thinking it through", and LLMs don't even encode a model of such thought - at best, they encode, in some abstract, undebuggable way, the meaning of words in context. They have no will or agency. They are not "following" your instruction, nor could they in principle "refuse" to do so. They are merely generating what seems to "come next" logically.
There is no regular Syrian person. Like most other Middle Eastern countries, Syrian is a random collection of different tribes, sects, and ethnicities forced together by historical accident. Most of those groups don't particularly like each other. So the outcome will be good for some Syrians and terrible for others. Expect another wave of refugees heading to Europe.
> Given that that's its main value proposition, what exactly is the reason for saying that JSON-as-data-format should not have comments? What do we lose if we allow them?

Because JSON originally did have comments, and people were putting pragmas into them, and so different parsers would act different depending on whether they understood them or not. Comments ended up being an anti-feature in JSON because people were abusing them.

Source:

> I removed comments from JSON because I saw people were using them to hold parsing directives, a practice which would have destroyed interoperability. I know that the lack of comments makes some people sad, but it shouldn't. […]

* https://web.archive.org/web/20190112173904/https://plus.goog...
> when Motion+ is connected to my phone via bluetooth, and when it's connected to my laptop via aux-in

Why not for it's always interesting to experiment but one is lossy (all bluetooth codecs are lossy AFAIK) and the other is analog. Probably on top of an already lossy source too. They "sound" the same the same way a pixelized color print of Mona Lisa next to the real Mona Lisa looks identical if you're far enough. You may or may not be able to tell the difference but lossy Bluetooth and analog aux-in don't sound the same.

I decided to go for a simple setup: a Yamaha fully integrated amp that does it all, including a network streamer. And I stream from Qobuz (lossless streaming) and from my own collection of CDs I ripped to FLAC (lossless and bit-perfect rips even though you're ripping from an audio CD, verified with an online DB of hashes from other people who did ripped the same CDs).

So I know that up to amp, it's all lossless. Then the amp does its magic.

It's simple really: even though I can't tell the difference between a pixelized color print of Mona Lisa and the real thing from far enough, I'd still prefer to know I'm actually looking at the real thing.

A Qobuz (lossless) subscription doesn't cost more than a Spotify one (lossy although they announced they'd move to lossless IIRC).

It's 2024: FLAC files are tiny compared to, say, even just a 1080p movie. Bandwith is plenty to stream lossless.

Why even bother with lossy? Lossy audio is tech from a quarter of a century ago.
There's something that is often overlooked in discussions of the problems with and how to fix the American healthcare system.

Two of the biggest problems are that (1) America pays quite a bit more for a given level of care than they do in most other first world countries, and (2) the cost keeps going up significantly more than can be explained just be normal inflation.

The discussion then usually focuses on the differences between the American system and the systems of places like Europe and Japan, with people arguing about which of those differences are why we've got problems and whether or not adopting some ideas from those other systems would fix our high cost and rising cost problems.

The problem with that is while those other systems do indeed cost a lot less than the US, they also have a rising cost problem. For example here are the ratios the per capita costs when up in the US during the decades starting from the '70s [1]: 3.2, 2.6, 1.7, 1.7, 1.5. Pretty horrible.

Here are the numbers for the UK: 3.1, 2.0, 2.4, 1.8, 1.5. Here they are for France: 3.4, 2.2, 2.0, 1.4, 1.4. Also pretty horrible, and about the same level of horribleness as the US.

Here's the ratio of 2018 to 2000 per capita health care costs for a few countries: Japan 2.6, UK 2.6, US 2.3, Germany 2.1, Canada 2.0, France 1.8, Italy 1.7.

This suggests that perhaps the US problem with rising costs does not stem from the differences between the US system and those of most other places.

It also suggests that the problem with higher costs than those other places might not be due to relatively recent changes in the US system that much discussion often focuses on. Instead it might be we pay much more than Europe and Japan now mostly because we paid much more than Europe and Japan 50 years ago.

[1] My data came from https://data.oecd.org/healthres/health-spending.htm which used to have a wonderful interface that allowed you to easily generate various views and reports of OECD country health care costs from 1970 to almost the present that let me get the data I wanted in a convenient form.

The have since reorganized things and that now redirects to https://www.oecd.org/en/data/indicators/health-spending.html which has a different interface and still has, I think, the same data but I no longer know how to get it as conveniently.
> So you want a business to go out of business?

I didn't say that. They can raise premiums, or they can decide that being in a position where you effectively kill people for profit isn't a great place for a company to operate, and abdicate to the government. Either way, profiting off death you contribute to, is generally a Bad Thing. Based off the UHC CEO's murder and the reactions to it, it seems I am not the only one who thinks this.

> This discussion is not about whether or not the government should pay for everyone's healthcare

Actually, that's precisely one of the options I'm discussing! :)

Point being, pointing out "this is hard for a corporation to do and still make money" doesn't excuse the badness of profiting off your contributions to killing people. Like maybe don't do it as a corporation if it's so hard?

> The American public has already decided that should not be the case, and there should exist a business that adjudicates whether or not an appropriate amount of healthcare and cost is being distributed.

Have they? I must have missed that individual question was explicitly on the ballot as you describe.
Still the original one… 80% were saved from the fire
wish we wouldn't keep demonizing fat though, if you decrease one form of energy intake (sugar) you have to increase another form of energy intake, no problem with this being fat, as long as it's naturally occurring in the environment and thus among our adaptations.
> All those dates and names of important figures, almost completely useless information imho.

As someone with an amateur's interest in history, I suspect that it's useless in the same way that learning words from a dictionary, or memorising multiplication tables, is useless. Learning words from a dictionary gives you no facility with a language, but you can't build much facility with a language if you don't know its words. Similarly, multiplication tables are useless for doing mathematics, but I think that it is good, both for the practice of math and in the real world, to have some basic number sense. (This is perhaps more contentious. My opinion is certainly shaped by the fact that I was among probably one of the last generations to be taught this skill, and am glad that I have it, but don't really know what it's like to grow up in a world where the skill is regarded as completely irrelevant.)

That's not to say that history classes don't lean too much on the names-and-dates approach. After all, it's easier for the teacher, both for preparing lessons and for evaluations—it's a lot easier to decide unambiguously whether a student has a date correct than if, say, that student has correctly understood the historical significance of some important event.
This is an interesting observation. Why do you think it is so much lower in UK Vs US? My guess: There are much less private donations in the national UK political system.
Immigrants, even better that their source country paid for their natal care and education rather than us
Hjson!
Space X don’t care about it as far as I know, they already what they need in US
The title could be interpreted as body shaming Douglas Crockford.
The American dream, everyone working for themself.
That's part of it, but also people enjoy the colors that developed in the wood while it was resting in the river.
Totally agree! Actually I had outlined similar ideas and even an example (Pydantic) in https://news.ycombinator.com/item?id=42353209

In a nutshell:

- Algorithmic does not always mean automatic. An algorithm can have a human-in-the-loop element, as S&P500 or NASDAQ Composite have.

- Future versions of the index will account for known funding of OSS owners and maybe even exclude well-funded companies.
I'd love to use this but a key problem seems to be that they don't get updated as soon as a security fix is released, which for browser engines is quite often...
Why has CI for open-source projects become so difficult to secure? Where did we, collectively, go wrong?

I suppose, it's probably some combination of: CI is configured in-band in the repo, PRs are potentially untrusted, CI uses the latest state of config on a potentially untrusted branch, we still want CI on untrusted branches, CI needs to run arbitrary code, CI has access to secrets and privileged operations.

Maybe it's too many degrees-of-freedom creating too much surface area. Maybe we could get by with a much more limited subset, at least by default.

I've been doing CI stuff in my last two day jobs. In contrast, we worked only on private repos with private collaborators, and we explicitly designated CI as trusted.
One thing I noticed is during UK Daytime TV is there are a comical amount of funeral and life insurance ads, it's incredibly depressing.
What’s the price difference?
And also makes complete sense given evolution.
On this subject I highly recommend the documentary "the Century of the Self" (produced by Adam Curtis for the BBC). It explores how Sigmund Freud's theories about the unconscious mind were used by his nephew Edward Bernays to create modern public relations and consumer culture. The documentary shows how corporations and governments learned to manipulate mass desires using psychological techniques, transforming democracy from meeting people's needs to managing their wants through consumption and marketing.

The entire doc is on Youtube: https://youtu.be/GFwDc17WZ-A
The only thing I worry about is how do you parse this, then modify some fields and write back the file with all the comments still in place?
It took me depressingly long to figure out that the URL can simply be embedded like that because `http:` is a label (used to implement an infinite loop) and the rest is commented out by `//`.
As French, I didn’t get it either maybe due to the presence of Trump and Macron seems to like him after that…
Psychohistory is already a study of the past and why it happened the way it did, so maybe it could help answer your question, but it isn’t the ideology you’re seeking.

There is a reason that advertising and media influence is everywhere, it is a cheap and has a decent return on investment, whether that is actual revenue or just a shift in people’s perspective.
direnv unloads the directory's environment as soon as I leave it, so I don't have to worry about the provenance of any one given shell instance. All I have to care about is its current working dir.
> Von Neumann stuck us with the program counter

As opposed to what? A stack of program counters? A set of registers containing program counters? Von Neumann seems related to this as much as the fact that you can only beat one person with a single stick.
Already explained in other comments. Devs can put whatever they want in the comments; (third party) parsers won't need to change anything, because they still treats those "special" comments as regular.
What about the (large, I would argue) slice of parents who want to let their kids watch TV but don't want them bombarded with ads for sugar-saturated foods?

(I mean, we're on HN, so the obvious answer is watching things on a laptop / projector with Firefox + uBlock Origin, but y'know - everyone else).
This book ( or rather a much older edition ) literally changed my life, by essentially teaching me that the whole of a computer was about measurable tradeoffs, from hardware to software.

The fact that it was true for hardware as well hadn’t been obvious to me till then, coming from a math background and being a self taught coder.

The beauty in this is that you can then build systems that fly if you understand the tradeoffs of all your layers, and make sure you fall on the right side of each of them.

Rather unsurprisingly, I ended up doing HPC, where this is all pretty obvious, but I strongly believe that this is true for all software.
They are not “communicating” stress. There’s no active action by the plants.

https://www.nytimes.com/2023/03/30/science/plant-sounds-stre...

> To be clear, the sounds made by harried plants are not the same as the anxious mumbling you might utter if you have a big deadline at work. The researchers suspect the nervous, popping noise is instead a byproduct of cavitation, when tiny bubbles burst and produce mini-shock waves inside the plant’s vascular system, not unlike what happens in your joints when you crack your knuckles.

It’s the equivalent of stepping on a twig and knowing how dry it was based on the sound of the snap it makes.