MurphyA/hacker-news huggingface dataset:
by VTimofeenko | 2025-12-12 19:59:42+00:00
I will not argue with the stock part. When the search _does_ finish, stock info is usually correct IME.

What grinds my gears is the speed of this search, regardless of the phone reception. Even on the desktop it feels like they have a bunch of interns running a sneakernet. Or the website is laden with pointless javascript that slows everything down before the search is actually performed.

I go to the same Home Depot every time. (Well I don't if I can help it, but that's beside the point). There is no reason they cannot store the preferred store in the localStorage or cookies or wherever else. Other stores have figured this out.
by eliasdejong | 2025-12-12 19:59:44+00:00
It is also possible to encode JSON documents directly as a serialized B-tree. Then you can construct iterators on it directly, and query internal fields at indexed speeds. It is still a serialized document (possible to send over a network), though now you don't need to do any parsing, since the document itself is already indexed. It is called the Lite³ format.

Disclaimer: I am working on this.

https://github.com/fastserial/lite3
by sp4nner | 2025-12-12 20:00:24+00:00
You may be interested in the biotech startup Oobli <https://oobli.com/>. They're attempting to commercialize a protein-based sweetener, where the protein itself is interacting with your taste receptors and registering as 'sweet'.

The technology is based on some naturally occurring proteins from fruit native to West Africa, but I'd say the idea of sweet things that are good for you is pretty novel!
by wat10000 | 2025-12-12 20:00:40+00:00
Being forced to join the union to have a job there is little different from being forced to become an employee of the company in order to work in the store. It's extremely common to have a requirement to become part of some organization in order to work in a place, it's just that this organization is usually a for-profit business, and typically you only have to join one.

People think very weirdly about unions. If you strip away all the fluff, a union is ultimately a business that sells labor, typically with a setup where the buyer(s) of that labor pay the labor directly, and then the labor pays the supplier, rather than having the money flow through the supplier first. The direction of money flow is unusual, but makes no practical difference.

All you're describing is an exclusive arrangement between a supplier and a business that buys from them. If it was a contracting agency instead of a union, and your family member was told that the only way to work in the store was to go through the agency, you wouldn't bat an eye. But call it a "union" and suddenly "he got squeezed."
Show HN: MarkdownManager, a flat-file PHP Markdown notes viewer/editor (no DB)
by henkster | 2025-12-12 20:00:44+00:00
I wanted a notes tool that behaved like a folder of .md files, not like an “app” that needs a database, accounts, syncing rituals, and a 40-step export when you want to leave.

So I built MarkdownManager: a self-hosted Markdown viewer + editor written in plain PHP. Notes are just *.md files on disk. If the project disappears tomorrow, your notes are still there, readable by any editor.

What it does - index.php: browse + read notes in the directory tree - edit.php: edit notes with a live HTML preview - desktop: 3-pane layout (file list / Markdown / preview) - mobile: 2-row layout (Markdown + preview) with a toggleable file-list overlay

How to try it (no signup) Repo: <REPO_URL> Demo (optional): <DEMO_URL> (if you have one; ideally read-only)

Local run: 1) git clone <REPO_URL> 2) cd markdownmanager 3) php -S 127.0.0.1:8000 4) open http://127.0.0.1:8000/index.php

What’s different (and why I bothered) - Flat-file by design: no database, no migration story, no lock-in - Fast browsing rules that match how I name notes: - newest-first when filenames start with yy-mm-dd- - otherwise A→Z - folders grouped A→Z - client-side filtering - Editor UX that stays simple: - server-rendered preview (POST current text, get HTML back) - SPA-like navigation in the editor (fetch JSON with markdown + rendered HTML + extracted title; update URL with history.pushState) - resizable panes on desktop (saved in localStorage) - unsaved-changes indicator + discard prompt - Optional “shortcuts” list via links.csv - “Secret notes” list (secret_mds.txt) behind a lightweight session password gate (not encryption)

Technical notes - PHP 8+ (uses str_starts_with/str_ends_with) - Markdown rendering is a small custom PHP parser supporting a practical subset (headings, emphasis, links, fenced code blocks, tables, lists, etc.). If you need full Markdown or images, you’ll probably want to swap the parser for a library.

Security note (please read before you roast it) This is intended for personal/self-hosted use. There’s no user management, no per-note ACL, no encryption. “Secret notes” is just a session flag + password. Don’t expose it directly to the public internet. Run it on localhost, on a LAN/VPN, and/or behind reverse-proxy auth.

I’d love feedback on: - whether the server-rendered preview + JSON navigation approach feels sane in 2025 - sharp edges in the markdown subset - security gotchas in the “flat file + PHP” approach - UI/UX annoyances (especially on mobile)
by pie_flavor | 2025-12-12 20:01:10+00:00
You're trying to minimize the power of the union by quoting dollar amounts, when the whole point of the union is to have power, and the whole point of unionization is to defeat superior dollar amounts by capturing the organizational memory that money cannot buy.

You cannot replace your entire gamedev team at once without destroying what makes your company, your company. You cannot respond to your entire gamedev team refusing to work other than by replacing them or by getting them to stop striking, either by aggressively union-busting or by negotiating with the union. That is the reason unions work at all.
by lynndotpy | 2025-12-12 20:01:16+00:00
Yes! I miss it very much. When I was on Android, I used to have it set to 100ms. I used to very quickly send well-punctuated text. On iPhones, it seems like the digitizer has 100ms of hysteresis built in.

now i just Lettuce my iPhone sden whatever it wants with no punctuation its not real good

Unfortunately, MacOS doesn't have settings (which I am told it had) for animation scales, like Androids have. The interface is sloooooooooooooooooooooooooooooooow.
by michaelafam1 | 2025-12-12 20:01:23+00:00
We don't auto generate issues exploits but rather find the already existing exploits and break them further to test the full depth of the vuln. We use some aspects of graph DB but its not quite the same thing. This differs from Mend and CodeQL because they focus on deep semantic analysis or SCA, We use parallel detection systems for hybrid, holistic analysis by combining advanced static testing, execution modeling, and ML on test data to improve bug breadth, path feasibility, and alert prioritization aka. prove deep rooted issues other tools are not trained to find.

And yes it does integrate in line with the code and trace exec flow. Would you wanna try it out and see what it can help you find? It runs locally so nothing leaves your system
by belorn | 2025-12-12 20:01:52+00:00
As long there is no need to use gas during periods of non-optimal weather, then solar and wind is great.

The lithium battery plant in northern Sweden went bankrupt so its difficult to say how to solve the storage solution by both being cheap and financial viable. New battery solutions are being made, but in the end it need to be cheap enough over the long term. The current use of gas for non-optimal weather means prices jump up by a factor of around 100x of what it is during good weather, and the average price in nordpool (the northen pan-European power exchange) is about 20x than what you get with good weather. That should illustrate how much variability there is in the energy price right now, and how much people are paying for that gas powered electricity in periods of non-optimal weather conditions.

A lot of fossil fuel subsidies goes directly to support the high variability power grid, and they more than doubled during 2022 when the gas prices went up. It is incredibly expensive, likely more than nuclear, to have a grid supported by renewables during optimal weather conditions and fossil fuels during non-optimal weather conditions. It also generate a lot of waste in term of pollution which has a bigger issue both short and long term than nuclear waste.
by thinkcontext | 2025-12-12 20:01:55+00:00
Looks like the feed is 95% glucose derived from corn starch[1]. They claim to have 1/4 the carbon footprint of chicken[2].

[1] https://en.wikipedia.org/wiki/Fusarium_venenatum

[2] https://eathealthy365.com/quorn-vs-meat-the-2025-environment...
by wtallis | 2025-12-12 20:02:58+00:00
Repeating this weird claim won't make it true. DDR4 isn't going to come back into fashion, even during a DRAM shortage. Demand for DDR4 can't increase meaningfully when no current-generation processors can use it, and older-generation processors aren't seeing any increase in production or sales. DDR4 is not a substitute good for the RAM that's in short supply.
by VLM | 2025-12-12 20:03:08+00:00
Its the usual Youtube thing where there's multiple videos. The one linked is the bibliography popular science utterly non-technical spin. There's a three part technical series, a fun two hours viewing, and the end of the third technical video goes has some performance shots. It performs really well for a tiny little thing, like per gram or per cubic centimeter the performance is excellent. Its a cool technology and when I saw it I immediately wondered if it would be possible to make a microscope the same way out of single solid cylinder of glass. I don't think so; but it would be cool. It would also make an interesting, although probably very expensive, binocular technology.
by ssalka | 2025-12-12 20:03:42+00:00
For those interested, National Geographic has the "Out of Eden Walk" [1], a journey along the path of historical human migration, led by Paul Salopek. He started in Ethiopia in January 2013 – nearly 13 years ago – and just recently made it to Alaska. The planned end of the trip is at the southern tip of South America.

[1] https://outofedenwalk.nationalgeographic.org/
by dorianmariecom | 2025-12-12 20:04:14+00:00
i tried in ruby up to 1 million (1 billion was taking too long)

File.write("check.rb", (["if i == 0\n puts :even"] + (1..1_000_000).map { |i| "elsif i == #{i}\n puts :#{i % 2 == 0 ? "even" : "odd"}" } + ["end\n"]).join("\n"))

and added at the top

i = ARGV.first.to_i

but i'm getting SIGILL

fish: Job 1, 'ruby check.rb 0' terminated by signal SIGILL (Illegal instruction)
by AnthonyMouse | 2025-12-12 20:04:18+00:00
> Approximately zero end consumers care about code

Most people don't care about reading it. They very much care about what it does.

Also, it's not "approximately zero" at all. It's millions or tens of millions of people out of billions, and when a small minority of people improve the code -- because they have the ability to -- it improves the code for all the rest too. Which is why they should have a preference for the ability to do it even if they're not going to be the one to exercise it themselves.

> if the marginal cost of switching the service provider is zero, it's enough to be 1% better to take 99% of the market.

Except that you'd then need to be 1% better across all dimensions for different people to not have different preferences, and everyone else is trying to carve out a share of the market too. Meanwhile if you were doing something that actually did cause 99% of people to prefer a service that does that then everybody else would start doing it.

There are two main things that cause monopolies. The first is a network effect, which is why those things all need to be open systems. The second is that one company gets a monopoly somewhere (often because of the first, sometimes through anti-competitive practices like dumping) and then leverages it in order to monopolize the supply chain before and after that thing, so that competing with them now requires not just competing with the original monopoly but also reproducing the rest of the supply chain which is now no longer available as independent commodities.

This is why we need antitrust laws, but also why we need to recognize that antitrust laws are never perfect and do everything possible to stamp out anything that starts to look like one of those markets through development of open systems and promoting consumer aversion to products that are inevitably going to ensnare them.

"People don't want X" based on observed behavior is a bunch of nonsense. People's preferences depend on their level of information. If they don't realize they're walking into a trap then they're going to step right into it. That isn't the same thing as "people prefer walking into a trap". They need to be educated about what a trap looks like so they don't keep ending up hanging upside down by their ankles as all the money gets shaken out of their pockets.
by zzo38computer | 2025-12-12 20:04:35+00:00
Something I had thought of (which does not fully solve the problems mentioned there, but would allow GNU nested functions to work in a way that can be implemented without trampolines and executable stacks, so that it can work in standard C and with the standard ABI), is to allow a nested function to optionally be defined with the "static" and/or "register" keywords.

With "static", it is implemented as an ordinary function, but the name is local to the function that contains it; it cannot access stuff within the function containing it unless those things are also declared as "static".

With "register", the address of the function cannot be taken, and if the function accesses other stuff within the function that contains it then the compiler will add additional arguments to the function so that its type does not necessarily match the type which is specified in the program.

This is not good enough for many uses though, so having the other extensions would also be helpful (possibly including implementing Apple Blocks in GCC).
by wat10000 | 2025-12-12 20:05:10+00:00
Unions are part of the market like anything else. If wages are higher, they aren't above market-clearing levels, those are the new market-clearing levels. If workers form a union and bargain collectively, that is what the market naturally set.

Do you apply the same argument for employers? Companies contribute to low wages. By collectively bargaining with employees (e.g. hiring at the local grocery store is centralized, you can't go around to all the individual managers and start a bidding war) they can negotiate wages that are lower than what the market would naturally set.
by pengaru | 2025-12-12 20:05:56+00:00
Munchies are pretty benign if you have enough sense to stock your home with healthy options like unprocessed foods and no sugary stuff.

There is no benign volume of alcohol consumption. It's hard on your liver[0], causes cardiovascular disease[1], produces carcinogenic metabolites[2], it's a horrible drug... without even considering the high occurrence of abusive/violent drunks compared to weed.

[0] https://en.wikipedia.org/wiki/Alcoholic_liver_disease

[1] https://en.wikipedia.org/wiki/Alcohol_and_cardiovascular_dis...

[2] https://en.wikipedia.org/wiki/Alcohol_and_cancer#Acetaldehyd...
by palmotea | 2025-12-12 20:07:00+00:00
> That's fine and all until the company hires black people or Palestinian refugees and then suddenly the union has[0] to care.

There's nothing about representing Palestinian in a workplace that means you have to take an official position on Gaza or even spend any time talking about it. Or any analogous thing for a member of any group.

> OK, that's a contrived scenario. But even outside of that scenario, social oppression is downstream of worker oppression. Cops aren't shooting black people because it's their kink, they're doing it to enforce the same social order that keeps your workers down. The next time the union strikes, those same cops are going to be there to break the picket line. Police are always the enemy of labor, and thus keeping the police in check is in-scope to a union's political activities.

But the problem is scope creep undermines the organization. All of what you said may be true, but Tech Union X isn't going to solve those problems and getting involved with them will make Tech Union X less effective at the things it can do.

Tech unions aren't even off the ground and unions generally are weakened and getting weaker, this is not a time to let the perfect be the enemy of the good.
by Shalomboy | 2025-12-12 20:07:08+00:00
I would very much like to leave the "free state of Florida". All of the benefits of living here that I grew up knowing by heart no longer exist and the state government's only concern seems to be punishing people for wrongthink. It isn't cheap to lease or buy property anywhere near a metro area, the coral reefs and sponge beds have mostly disappeared, the beautiful wildlife in our state parks has been curtailed by constant wildfires, and the schools have atrophied to a shell of their former selves. What's the point of living here anymore, or raising my kids here?
by thegrim33 | 2025-12-12 20:07:30+00:00
For some reason it took this long to hit me.

If you take as axioms:

1) Countries have major political interest in whether other countries have nuclear reactors

2) Countries are already, at large scale, manipulating discourse across the internet to achieve their political goals

Then of course it follows that any comment thread on a semi-popular or higher site about whether a country should build more nuclear reactors is going to be heavily manipulated by said countries. That's where (most) of the insane people in such threads are probably coming from.

How are we supposed to survive as a civilization with such corrupted channels of communication?
by Jabbles | 2025-12-12 20:07:32+00:00
re 2: special relativity is not general relativity - large elements will not provide testable predictions for a theory of everything that combines general relativity and quantum mechanics.

re: "GR environments (such as geostationary satellites)" - a geostationary orbit (or any orbit) is not an environment to test the interaction of GR and QM - it is a place to test GR on its own, as geostationary satellites have done. In order to test a theory of everything, the gravity needs to be strong enough to not be negligible in comparison to quantum effects, i.e. black holes, neutron stars etc. your example (1) is therefore a much better answer than (2)
by throw0101a | 2025-12-12 20:07:49+00:00
> Here in Ontario, residentially we pay about 0.09 USD per kWh at night and 0.18 USD with demand peak pricing on weekday afternoons.

Provincial regulatory report from 2025-2026:

* https://oeb.ca/sites/default/files/rpp-price-report-20251017...

Search for "RPP Price Report" for previous ones:

* https://www.oeb.ca/consultations-and-projects/policy-initiat...
by csallen | 2025-12-12 20:07:52+00:00
I did play Skyrim, and I was fine with it. Something about video games takes the fear out of it. I mean, they're definitely a little bit more unsettling than other video game creatures, but not by much, so I don't get a fear response. I'd react more to a "jump scare" in a game than a 3D spider.
by m000 | 2025-12-12 20:08:17+00:00
"But unlike all the other Compute Modules, the CM0 has castellated edges like a Pico. That way, a company integrating this into their product can just pick and place it and solder it onto their main PCB, instead of working with more delicate board-to-board connectors."

But wasn't the board-to-board slide-in connection the whole point with other CM models?
by Ajedi32 | 2025-12-12 20:08:51+00:00
My phone that I purchased is not "their" platform. Better analogy would be if Wal-Mart sold me a fridge and then somehow managed to make it so I can only store groceries purchased from Wal-Mart in that fridge. Now if anyone wants to sell me groceries they need to sell them to me through Walmart, otherwise I can't refrigerate them.
by phil21 | 2025-12-12 20:09:02+00:00
What does this mean exactly? Pretty much any reasonably modern ALPR system also records make/model/type/color of vehicle along with the plate reading these days. Obviously some are better at this than others, but even my Unifi cameras do this these days.

The “secret sauce” of Flock is the extensive nature of the camera network and database correlation.
by michaelt | 2025-12-12 20:09:11+00:00
> All vehicles that don't display their license plate for cameras of any kind are illegal, the spirit of this law is to make it so we can identify through the number assigned to the vehicle from the state that identifies it is obvious if a picture is taken of the vehicle from the front or the back.

Quarter inch high license plates are now legal. It’s hardly the motorist’s fault if the camera is too low resolution :)

Regular license plates are illegal, because they’re unreadable to a type of camera - thermal cameras :)
by MangoToupe | 2025-12-12 20:09:19+00:00
> Yet you are wrong

Ahh here you are speaking nonsense again. We ain't talking formal logic, we're speaking human to human

> For instance, building a large project in a language with only one major compiler, can introduce risk.

Ok let's introduce an alternative to gcc then

> But Steve Klabnik will lie about that

You seem fine to both tarnish the reputation of, erm, c defenders with your own actions and to slander the reputation of Klabnik (or "lie" as I'm sure you'd term it), who both speaks more coherently and with his own name. Why do this in the name of open source if you have nothing to contribute, knowing that you're setting your own project back?
by wtallis | 2025-12-12 20:10:14+00:00
By far the most important thing about the PS5 SSD was the fact that it wasn't optional, and developers would no longer have to care about being able to run off mechanical drives. That has repercussions throughout the broader gaming industry because the game consoles are the lowest common denominator for game developers to target, and getting both Xbox and PlayStation to use SSDs was critical. From the perspective of PlayStation customers and developers, the introduction of the PS5 was the right time to talk about the benefits of SSDs generally.

Everything else about the PS5 SSD and storage subsystem was mere icing on the cake and/or snake oil.
by dweekly | 2025-12-12 20:10:54+00:00
I was able in an afternoon to implement a pretty decent completely async Swift DNS resolver client for my app. DNS clients are simple enough to build that rolling your own async is not a big deal anymore.

Yes, there is separate work to discern what DNS server the system is currently using: on macOS this requires a call to an undocumented function in libSystem - that both Chromium and Tailscale use!
by CommanderData | 2025-12-12 20:10:54+00:00
That's very true, when Israel consistently bombed and destroyed almost every hospital in Gaza. The media tried very hard to narrowly frame it this as legitimate.

Unfortunately for people, Israel will further be tightening its grip on the world (and has already) by buying and censoring platforms such as TikTok.

So there goes one of the main ways news was being shared defying the main stream narrative.

These are the facts and you will be labelled for stating them.
by mmcnl | 2025-12-12 20:11:01+00:00
Windows Notepad is seriously underrated.

It also doesn't nag you with administrative tasks to "save" notes when you close Notepad. You close the editor, Notepad is gone. You open Notepad, the notes are there again. And since recently it has tabs too. What a time to be alive.

There's nothing on macOS or Linux that comes close.