MurphyA/hacker-news huggingface dataset:
by mg | 2025-09-05 09:36:10+00:00
I am becoming more and more comfortable with storing everything in JSON.

With its JSON arrow operators and indexed expressions, SQLite makes a really nice JSON document store.

Assume you have a "cars" table with nothing but a "cars" column that is a JSON blob. Then selecting the models of all cars is just:

SELECT cars->>'model' FROM cars

I wish MariaDB would follow suit and also support arrow operators. You can do it in MariaDB, but it becomes more cumbersome:

SELECT JSON_UNQUOTE(JSON_EXTRACT(cars, '$.model')) FROM cars
by fifilura | 2025-09-05 09:36:29+00:00
My understanding is that 2 & 3 are problems with the original (20kWh) Leaf model. Which possibly led to a rumour about the 40kWh models, that the OP has.

My Leaf from 2019 has 100% battery health and I always charge it to 100%. I almost never use fast charging though since it is a commute kind of car.
by austinjp | 2025-09-05 09:36:48+00:00
I discovered this[0] "allowlist" approach for Go a while ago:

# Ignore everything \* # But not these files... !/.gitignore !*.go !go.sum !go.mod !README.md !LICENSE # ...even if they are in subdirectories !*/

[0] https://github.com/github/gitignore/blob/main/community/Gola...
by kstrauser | 2025-09-05 09:37:04+00:00
No! They’re constantly hitting the same stupid URL (“show me this file in this commit in this repo with these 47 query params”) from a few thousand IPs in China and Brazil, with user agents showing an iPod or a Linux desktop running Opera 3.

I wrote a little script where I throw in an IP and it generates a Caddy IP-matcher block with an “abort” rule for every netblock in that IP’s ASN. I’m sure there are more elegant ways to share my work with the world while blocking the scoundrels, but this is kind of satisfying for the moment.
by blagie | 2025-09-05 09:38:18+00:00
I'd be totally down with "content belongs to everyone."

The problem is when you steal my content, repackage it, and resell it. At that point, my content doesn't belong to everyone, or even to me, but to you.

* I'd have no problem with OpenAI, the non-profit developing open source AI models and governance models, scraping everyone's web pages and using it for the public good.

* I have every problem with OpenAI, the sketchy for-profit, stealing content from my web page so their LLMs can regenerate my content for proprietary products, cutting me out-of-the-loop.
by auggierose | 2025-09-05 09:38:48+00:00
I'd say if you are doing proper science, all your steps are towards the eventual vital insight. Many of the steps may turn out to lead down the wrong lane, but you cannot know that in advance. A simplified way to view this: If you are searching for a certain node in a graph, visiting wrong nodes in the process cannot be avoided, and of course is part of finding the right node.

From the outside though, it is tough to decide if somebody is doing proper science. Maybe they are just doing nonsense. Following a hunch or an intuition may look like nonsense from the outside, though.
by sharperguy | 2025-09-05 09:39:07+00:00
My current best guess is that people are finding stablecoins valuable because they are effectively barer assets issued by an entity in another jurisdiction that has no requirement to surveil or control how those tokens are moved around between parties, and hence it allows you to skip a lot of the regulatory overhead you would normally have in dealing with a local bank. Of course this can be stopped by states eventually, but it helps when the jurisdiction of the issuing entity is allowing it.
by protocolture | 2025-09-05 09:40:00+00:00
I remember having to dig up vendor documentation to correct those 5g fallacies.

Thankfully one of the primary vendors (Qualcomm?) had really good doco publicly available.

It even included a lovely diagram showing which frequencies were useful in different scenarios. And a list of likely allocations per country. Letting me create a nice side by side of possible 5g strengths in Australia vs the USA.
by thomascountz | 2025-09-05 09:40:08+00:00
Research doesn't always seem like a big deal. In this case, using CSI extracted from standard wifi packets (beacons, data frames, etc.) from commodity hardware is the core of the "big deal."

In principle, any packet that carries data can also be used for sensing, though, as you mentioned, this isn't what the researchers demonstrated. However, for years, this kind of thing was studied using special multi-antenna Intel cards to get a clean signal. Getting this level of accuracy from such a low amplitude signal from a single antenna on commodity hardware like an ESP32, is the actual breakthrough. It proves the concept is sound before tackling the much harder problem of using a standard home router amidst other traffic or isolating multiple targets in a room.
by numpad0 | 2025-09-05 09:40:15+00:00
ZE1 Leaf(2017) was electronically a big minor update over ZE0(2010). IIRC so much so that ZE1 battery packs almost work on ZE0 body with only minor hack efforts.

So they're basically 15 years old, technologically older than the Model S. Windows 7 was 1 year old when its basic systems shipped.
by whatsyoursource | 2025-09-05 09:40:25+00:00
This paper highlights a paradox I’ve noticed too: the more people are made aware of misinformation risks, the more skeptical they become of everything — yet at the same time they lean harder on outlets they still trust.

I’ve been working on something along those lines: a platform where every post carries a credibility score. Instead of likes or shares, users support or refute posts with sources, and credibility updates across posts, users, and publishers in real time. The idea is to create a platform that is better suited to finding the truth than the other popularity-based algorithmic platforms.

It’s here if anyone wants to take a look: https://noblenews.io

I’d be especially curious how HN readers think a system like this could be gamed or biased — and whether surfacing credibility scores actually helps trust, or just shifts the problem somewhere else.
by ZeroGravitas | 2025-09-05 09:40:33+00:00
This is just what the contemporary Nissan ICE cars looked like.

The first gen leaf got a lot of commentary about this "EV look" and the contemporary Nissan Note had a similar front end. And then both got 2nd gens that evolved similarly.

Their Juke could be an overinflated Leaf at a glance etc.

Wikipedia photos:

1st gen:

https://en.wikipedia.org/wiki/Nissan_Note#/media/File:2005_N...

https://en.wikipedia.org/wiki/Nissan_Leaf#/media/File:2017_N...

2nd gen

https://en.wikipedia.org/wiki/Nissan_Note#/media/File:Nissan...

https://en.wikipedia.org/wiki/Nissan_Leaf#/media/File:Nissan...
by degamad | 2025-09-05 09:40:56+00:00
> an intermediary credited another institution only to realise later they didn't have the money, and have to beg pretty-please to return the payment over a SWIFT message (there is no guarantee here, at best there is "market practice" which is basically just manners, but for banks)

But this situation is not made any better by a blockchain - there's still no way to reverse a transaction except asking nicely and hoping the other party obliges, right?
by hodgehog11 | 2025-09-05 09:41:24+00:00
It's good to see that at least one tech company is interested in using machine learning for scientific research. You know, research that plausibly benefits humanity rather than providing a tool for students to cheat with.

Several colleagues of mine have had to switch out of scientific machine learning as a discipline because the funding just isn't there anymore. All the money is in generic LLM research and generating pictures slightly better.
by Tade0 | 2025-09-05 09:41:24+00:00
To add to what others said: back in 2017 40kWh was the standard, now people scoff at 55kWh. Cars also charge faster, which greatly increases their highway driving potential.

> What if the car requires internet connection and the company dies?

That's not a problem specific to EVs and with Chinese combustion car brands coming and going all the time, it's obvious.
by usui | 2025-09-05 09:41:59+00:00
How can you write "I bought the cheapest EV" in the blog title, and have a section called "Why buy Leaf?" followed by a one-liner zinger aphorism "Price." without writing... the price you bought your used Nissan Leaf for? Someone might want to reference how much it cost back in 2025 a few years down the road.
by foldr | 2025-09-05 09:42:36+00:00
> As for perf - 4x is the worst case and that number is out there because I reported it

I love the concept of Fil-C but I find that with the latest release, a Fil-C build of QuickJS executes bytecode around 30x slower than a regular build. Admittedly this is an informal benchmark running on a GitHub CI runner. I’m not sure if virtualization introduces overheads that Fil-C might be particularly sensitive to (?). But I’ve sadly yet to see anything close to a 4x performance difference. Perhaps I will try running the same benchmark on native non-virtualized x86 later today.

Also, so I am not just whining, my Fil-C patch to the QuickJS main branch contains a fix for an issue that’s only triggered by regex backtracking, and which I think you might have missed in your own QuickJS patch:

http://github.com/addrummond/jsockd/blob/main/fil-c-quickjs....
by prmoustache | 2025-09-05 09:43:23+00:00
> and I found myself with a very short commute, only driving a few miles a day, and a family minivan we use for nearly all the 'driving around the kids' stuff. > > So I wanted a smaller car (get back a foot or so of garage space...) that was also more efficient.

All this to say what he really needs was an electrically assisted bicycle instead of a huge and heavy energy wasting vehicle.
by nabla9 | 2025-09-05 09:43:32+00:00
1. Car company (x) 2. energy company .. 3. robo taxis (by 2019) 4. robots 5. manufacturing company

Less than 10% of Tesla's value is in its existing car and battery business. The company's car business is being left behind by the competition. Tesla's revenue hasn't grown in three years, losing market share and not producing new models. Chinese companies are far ahead in battery technology.

Rest is hype.

ps. Google, Amazon Robotics, Hyundai/Boston Dynamics, even Nvidia are ahead of Tesla in robotics research.
by greggyb | 2025-09-05 09:43:45+00:00
Coming from a data engineering and business analytics background, the terms "structured" and "unstructured" seem to be swapped in meaning here.

I'd expect to talk about anything in a DB as "structured data". Flexible serialization formats such as JSON or XML are "semi-structured". And something from e.g., an office document is "unstructured".

This is not a complaint or criticism. I understand the article just fine. It's just interesting how different perspectives can affect what words mean (:
by yugioh3 | 2025-09-05 09:44:14+00:00
You both have good and valid points of view but this site deserves a higher level of decorum.

We have a lot to thank for the passing of power from one generation to the next over the past millennia. We don’t know what we don’t know. I imagine the next enlightenment or the next freedoms to be won will require older generations to “move on.”
by Arch-TK | 2025-09-05 09:44:18+00:00
Scale wise, from the served side, it these are inactive TCP sessions at the end of the day. There isn't a serious scalability problem that doesn't exist with beacons, except that you might need to create some new software to support this.

A persistent connection when a device is awake, as long as you're not sending data over it, will be nothing compared to the screen power draw.

On the other hand, most phones will aggressively unload your app when the screen goes off or when its not in focus thereby killing your socket.

I don't think there are actually many downsides to this as long as (afaict this is the case) websockets are just HTTP layer sockets downgraded to plain TCP.
by arethuza | 2025-09-05 09:44:43+00:00
This YouTube video is directly responsible for me getting a dog:

https://www.youtube.com/watch?v=ocV7Hpj9keM

While the video is very impressive - my main reaction was to think how incredibly cool that type of dog is. So I eventually ended up getting my own Samoyed and it's been a hugely positive impact on my life.

NB I pretty much like all dogs now - but I love Samoyeds.
by kragen | 2025-09-05 09:44:44+00:00
This is pretty great. I only learned to use perf_events to see annotated disassembly a few weeks ago, although I don't know how to interpret what I see there yet.

I suspect the slowness identified with mmap() here is somewhat fixable, for example by mapping already-in-RAM pages somewhat more eagerly. So it wouldn't be surprising to me (though see above for how much I'm not an expert) if next year mmap were faster than io_uring again.
by numpad0 | 2025-09-05 09:45:22+00:00
EU solved it years ago by mandating CCS2. Even Tesla in EU uses that plug and reportedly just works, except Tesla have no access to DCFC without carrying an adapter because they adamantly reject Combo2. I believe China does the same, only stricter, and some of Model S/X in China reportedly has fuel doors to fit the port.

As if regulations work. They seem to have very strange situations over there.
by ethbr1 | 2025-09-05 09:45:26+00:00
My father once pointed out that salary should be normalized against total work required time, commute included.

At 40 hours & 5 days / week in the office, even a 15 minute one-way commute is a -5.8% change in comp-per-work-time. 30 min is -11.1%. 45 min is -15.8%.
by taffer | 2025-09-05 09:46:11+00:00
Putting business logic in the database: https://sive.rs/pg

Example code: https://github.com/sivers/store

This talk is more Oracle specific but with some minor changes you can apply the same ideas to postgres: https://www.youtube.com/watch?v=GZUgey3hwyI

Personally I am using an architecture similar to https://sive.rs/pg in my personal projects and I am very happy with it. It is important that you put data and procedures/views in different schemas so that you can use migrations for your data but automatically delete and recreate the procedures/views during deployment. Also use pgtap or something similar for testing.
by bluecalm | 2025-09-05 09:46:28+00:00
One problem with Kelly Criterion is that the swings are wild if you apply it. For example if your winning percentage is 55% on a double or nothing bet and you bet according to Kelly 1000 times you are practically guaranteed to have a drawdown of 50% at some point. If you bet 1/2 Kelly the odds of that are about 86% and if you bet 1/4 Kelly they are below 10%.

I've written quick Python script to show the results (1000 bets, 55% winning percentage, starting bankroll 1000, 10000 simulations each).

Full Kelly: Average: 14174823.8 Median: 149660.0 drawdown50: 1.000 drawdown75: 0.939 1/2 Kelly: Average: 145075.3 Median: 42632.0 drawdown50: 0.862 drawdown75: 0.135 1/3 Kelly: Average: 27929.5 Median: 16098.0 drawdown50: 0.330 drawdown75: 0.009 1/4 Kelly: Average: 12146.9 Median: 8916.0 drawdown50: 0.086 drawdown75: 0.000

drawdown50 is a probability of losing 50% of your bankroll at some point and drawdown75 is a probability of losing 75% of your bankroll at some point.

It's a wild ride either way but maybe consider that your utility of money function flattens out much faster than logarithmic one. You may not be able to get 1000 bets in and maybe you don't need 1000x or even 100x your starting capital to get all the money you could ever need.
by txrx0000 | 2025-09-05 09:47:31+00:00
1) It's up to the parents to decide whether they want to put in the effort to look up how to use the parental control settings for their own child.

2) It's up to the child to decide who they want to associate with in school and in society, and up to the parents to advise their child in their decision-making.

Presumably, the parents are the ones buying the child's device, so this can be done at the OS level. The parent creates a user account for the child and a password-protected admin account for themselves on the new device, and only allow the firewall settings to be changed by the admin account. We can even implement offline on-device neural network-based detection and filtering, and you decide what to filter.

If the child is old enough to work and buy their own device, then it's debatable whether they should be moderated at all.

The problem with filtering at beyond the device level is widespread censorship, surveillance, and the erosion of the freedoms of the common man. The systems being built for supposedly the safety of the children are much too powerful that I can't help but question their true purpose.
by Levitz | 2025-09-05 09:47:53+00:00
The article for Gamergate is basically an entire page ultimately sourcing from games journalism outlets when it was explicitly about calling out games journalism and collusion in the industry.

And being fair, if there's one weakness in a site which relies on several sources agreeing on something it surely is when those sources are colluding on something, but the end result is a page rife with misinformation.

This is prevalent in culture wars stuff, Keffals article "graciously" fails to mention how she frequently lied and instigated vast amounts of harassment towards herself or how she basically spent the GoFundMe money she campaigned for on heroin. If the media spins a narrative, Wikipedia doesn't really have a counter to that in any way.
by r_lee | 2025-09-05 09:48:59+00:00
Let me translate this to Senior Vice President of GenAGI innovation speak:

"omg our AI-interaction KPIs went up so much!!! Customers love to chat with the AIs, they send messages back and forth really rapidly like 10 times in the first 30 seconds!!" (to get to the humans...)

time to lay off everyone!

And then everybody clapped and cheered
by gf000 | 2025-09-05 09:49:16+00:00
This discussion is absolutely meaningless without specifying what kind of software we are talking about.

4x slowdown may be absolutely irrelevant in case of a software that spends most of its time waiting on IO, which I would wager a good chunk of user-facing software does. Like, if it has an event loop and does a 0.5 ms calculation once every second, doing the same calculation in 2 ms is absolutely not-noticeable.

For compilers, it may not make as much sense (not even due to performance reasons, but simply because a memory issue taking down the program would still be "well-contained", and memory leaks would not matter much as it's a relatively short-lived program to begin with).

And then there are the truly CPU-bound programs, but seriously, how often do you [1] see your CPU maxed out for long durations on your desktop PC?

[1] not you, pizlonator, just joining the discussion replying to you
by shrikant | 2025-09-05 09:49:41+00:00
YouTube have done the same with the Premium subscription. From the email I received:

> We are updating the Terms of Service for YouTube Premium, YouTube Music Premium and YouTube Premium Lite subscriptions ('Terms'). These new Terms will be included in the YouTube Paid Service Terms of Service and will come into effect on September 26, 2025.

> We are making these changes to improve clarity and transparency regarding your subscription, including:

Clarifying our plan types. Explaining our policies on promotional offers and accepted payment methods. Clarifying that your subscription access should be predominantly from the country where you signed up. Providing additional explanations and clarifications on our subscription policies.
by r_lee | 2025-09-05 09:51:09+00:00
Honestly those problems will get sorted

But I wonder what the effect will be like otherwise, is it gonna be a turnoff knowing you're talking to a robot?

Like what if your cafe barista's were replaced by robots?

Maybe I wouldn't mind so much at first but I'd probably just switch to some place where there were baristas, because why wouldn't I just get a canned coffee from a supermarket if "cheap" was all I cared about
by seviu | 2025-09-05 09:51:50+00:00
You would be surprised about tether though

They are now really backed. It might be they weren’t. Now they definitely are.

https://tether.to/en/transparency/?tab=usdt

All these years all this Fud and so far nobody demonstrated what you clam.

They are also the faster to block their stablecoin whenever there is a hack.
by debugnik | 2025-09-05 09:52:50+00:00
My impression is that most people, as in a majority, aren't using Jane Street's Base and Core. Maybe some or even many, but not most, and specially not in the FOSS ecosystem. I think this idea comes from so many learning materials using their libs, you feel kind of funneled towards them at the start.

But yes, the standard library has added many helper functions that were sorely needed during the last few years, and the upcoming 5.4 keeps adding more. Still not as many goodies as Jane Street's libraries, but nowadays I don't miss them as long as I can use just a few small libraries, mostly by dbunzli and c-cube.
by pbhjpbhj | 2025-09-05 09:53:37+00:00
Yes, due process is important. Habeus corpus is important. Rule of law is a cornerstone of democracy. People acting for the state, such as border police, should act lawfully; they should identify themselves, wear the proper uniform, get the proper warrants and so on.

Why? Because you're breaching innocent peoples rights and removing their ability to get justice.

The fact that prior administrations did this on a large scale without the need to have gangs of thugs shows that the lawlessness of the administration is unnecessary to meet the ends of managing immigration.

Could you explain why you consider this a strawman? It sounds like you're onboard with the dismantling of USA democracy?
by kragen | 2025-09-05 09:53:53+00:00
Usually when people care about worst-case execution time, they are running their code on a computer without caches and either no OS or an OS with a very simple, predictable scheduler. And they never access the filesystem (if there is one) or wait on the network (if there is one) in their WCET-constrained code.

Those are the environments that John upthread was talking about when he said:

> There's tons of embedded use cases where a GC is not going to fly just from a code size perspective, let alone latency. That's mostly where I've often seen C (not C++) for new programs.

But I've seen C++ there too.

If you're worried about the code size of a GC you probably don't have a filesystem.
by sublinear | 2025-09-05 09:54:33+00:00
The chapter titles are too long, and the contents of each are too anecdotal.

That means I can't find an interesting chapter, and just blindly picking one leaves me with a stream of consciousness to sort through.

I don't get the sense that this is coherent enough to be the book or guide people expect. It really does feel like a collection of loose blog posts. That's not necessarily a bad thing if you change how this is presented.

If you want to tell stories that's fine, but don't then organize this as if each chapter is a lesson. That's misleading because there's not enough conceptual meat on the bones there. Organize the chapters by the stories you want to tell, not by the concepts you hope the reader sees in them.

Distilling and organizing the knowledge you think you have in your blog posts would mean an entire rewrite of this book and more careful analysis than just labeling each as its own chapter and adding a few sentences to fill gaps. The book people want would probably be 10% narrative and 90% instructional. This is 100% narrative in its current form.
by blitzar | 2025-09-05 09:54:41+00:00
It's no different to the phones for toddlers at school - they can, they know how, they are just even more affected by FOMO, peer pressure and judgement than children.

The other excuses are all just cope - little Timmy will just find a way around the blocks is true. Little Timmy can also get Heroin if he really wants or just one family might offer all the kids a hit on a crack pipe but it isn't an excuse to keep a needle, pipe and some fresh gear in the living room.