MurphyA/hacker-news huggingface dataset:
by benreesman | 2025-08-06 22:12:50+00:00
I work for a medium-sized proprietary/discretionary fund. AFAIK the principles trade all kinds of stuff, macro stuff. My current job is tuning up the execution on the cryptocurrency adjacent desk, but not like blockchain stuff, it's somewhere in between OG crypto trading stuff and like Wall St. HFT circa 2006-2010 depending on how you measure, it's in the "kernel bypass matters but FPGAs are still exotic" sort of regime, some of it is legacy REST APIs still but FIX 4.2 SBE and other real finance protocols (and real banks and stuff) are starting to be a part of the ecosystem.

I aspire to be a lot faster than this stuff (I've built faster stuff than this) but this is quite a good library (amazingly good by OSS standards, good stuff in this area is rarely OSS, props to the maintainers): https://github.com/crypto-chassis/ccapi, in particular this library does a really good job of being correct across a lot of surface area, it's serious people doing it, and there are forks of it that use DPDK floating around.

If by who's paying for it you mean the big Anthropic bill? My boss's boss is pretty enlightened about the fact that learning how to use AI well is expensive, so when I'm on a tight schedule I get a pretty forgiving budget for the model fees. It's a pretty serious perk in the sense that it's really expensive to master using these things :)
by hypeatei | 2025-08-06 22:14:37+00:00
Common sense isn't saying "oh there's no ID required at the polls? Illegals must be tipping elections", it's recognizing that there are armies of people auditing these elections each cycle. Irregularities are caught and people challenge results in court all the time. In practice, if you tried to commit voter fraud, I think you'd find it very hard to accomplish (especially if you're trying to change the outcome)

Even in your ideal scenario where ID is a hard requirement and nothing should slip through the cracks, you could still introduce doubt somewhere in the chain (e.g. did the poll worker actually check your ID?)
by pwg | 2025-08-06 22:14:46+00:00
Possible options:

1) big city envy -- we are all grown up now, we have license plate reader cameras

2) overly controlling sherrif/town council -- we must know what you are doing so we can tell you to stop when we don't like it

3) flock offered to pay the tiny city to let it install the cameras

4) ???
by f311a | 2025-08-06 22:15:21+00:00
You can probably fit all words under 10-15MB of memory, but memory optimisations are not even needed for 250k words...

Trie data structures are memory-efficient for storing such dictionaries (2-4x better than hashmaps). Although not as fast as hashmaps for retrieving items. You can hash the top 1k of the most common words and check the rest using a trie.

The most CPU-intensive task here is text tokenizing, but there are a ton of optimized options developed by orgs that work on LLMs.
by tzs | 2025-08-06 22:15:56+00:00
> Tesla drivers can order from the app and often eat without leaving their cars

...

> I’d also read on Tesla’s website that this was a 24-hour restaurant, but as a worker explained to me, it was 24 hours only for Tesla drivers who ordered on the app, from their cars. For everyone else, doors opened at 6 a.m. and closed at midnight.

I wonder if it really is only Tesla drivers or if it is anyone who has the app and a Tesla account?

Many non-Tesla EV drivers get the Tesla app and create a Tesla account so that they can use the app to pay for charging at Superchargers. Even if they can pay via some other means (e.g., Hyundai drivers can pay through Hyundai Pay) many who use Superchargers frequently will choose to go through the Tesla app because then they can buy a Supercharger membership which will usually give them a better price.
by alephnerd | 2025-08-06 22:16:27+00:00
It's an antitrust problem.

Large operations are killing the ability for small farms to adopt a co-op dairy model as processors are demanding 70% of value add.

Read the article.

FTA:

"Here’s another force reshaping the industry that has nothing to do with immigration: processor consolidation. According to industry analysis, just three major cooperatives—Dairy Farmers of America, Land O’Lakes, and California Dairies—now handle over 80% of the nation’s milk marketing.

These processors need massive, consistent volumes. New processing plants require millions of pounds of milk per day to operate efficiently. From a logistical standpoint, it’s far more efficient to contract with a dozen 5,000-cow dairies than 500 smaller operations.

I was at a dairy conference in Wisconsin last year where a DFA representative candidly admitted: “We’re building plants that need 4-5 million pounds per day. We can’t deal with 200 small farms—we need 10 large ones.”

This “processor pull” creates powerful incentives for farm-level consolidation. I’ve seen it happen firsthand in regions where a new mega-processing plant opens—suddenly, there’s pressure on every farm in the area to either scale up or get squeezed out"
by alphazard | 2025-08-06 22:16:47+00:00
If each memory address mapped to a CPU word sized value, that would make sense, and that is closer to the reality of instructions reading a word of memory at a time. Instead of using the CPU word size as the smallest addressable value, or the smallest possible value (a bit) as the smallest addressable value, we use a byte.

It's an arbitrary grouping, and worse, it's rarely useful to think in terms of it. If you are optimizing access patterns, then you are thinking in terms of CPU words, cache line sizes, memory pages, and disk sectors. None of those are bytes.
by submeta | 2025-08-06 22:17:09+00:00
I love(d) Emacs a lot a few years ago. Until my job and obligations didn’t leave me much room for tinkering. There is an inverse relationship between tinkering and getting things done. Although LLMs changed the game: These days I leave the tinkering to Claude Code. And can change every aspect of my tools within seconds. No waste of time, max output. But I still moved away. why? Because I believe the Emacs way is wrong. And here’s why: If I‘d do all my computing in Emacs, I‘d miss out on MailMate as a mail app, on Ghostty as my terminal, on Nvim as an editor, Python as my automation language (instead of Elisp where buffer is the data type used most?) and so much more. I like the Unix way: Do one thing, and do it really good: fzf, ripgrep, yazi, lazygit, absolutely awesome apps for the console. And all can communicate with each other via pipes! So I moved away, and never was happier.
by apparent | 2025-08-06 22:17:11+00:00
I wonder if they will purposely train/instruct chatbot help agents to be a bit less helpful, to mimic the friction and frustration that phone trees and such create.

Or perhaps they'll train them to be cheerfully helpful, but to just dump all the feedback in a virtual circular file. If so, would the chatbot admit this is what happens if the user asked them?
by JumpCrisscross | 2025-08-06 22:17:35+00:00
> a country is more constrained by space than a spaceship?

At the point that we're building 60 km spaceships, yes, I think that's a possibility.

> you're reaching into antiquity then not even normal democracies

The further back we go the more consensus-driven small societies get. I'm also reaching back due to familiarity. There are plenty of small island communities that did fine for generations on their own.

> They all assume all decisions will be unanimous and no one will ever break the law

Sorry, I missed this in the winning design. Where does it say that?

> all exploration and conquest is driven by strict hierarchical organisations

If you need to bring an army, yes. I don't think we know how hierarchical Polynesian settlers were.
by danudey | 2025-08-06 22:18:04+00:00
It sounds like you're complaining that these utilities aren't able to bring these lines up to modern standards because it's necessary to actually check to see what needs to be done to bring them up to modern standards (e.g. environmental review).

If you think a company would happily spend money on lines they aren't using just in case they need to use them in the future but they're prevented from doing so due to onerous regulation, you're definitely not familiar with privatized utilities. These companies won't spend a dime on these lines until the last possible second, at which point they'll complain about how much work they need to do as a result of leaving things until the last possible second.
by 8n4vidtmkvmk | 2025-08-06 22:18:22+00:00
I'm thinking about this selfishly. I'd have to go and take a test. But my employer would probably pay for it. Maybe if I wasn't already employed, it'd be on my own dime, but even that isn't too unlike the school I've already paid for. And I'm sure I'd pass the test. As long as I don't have to recertify too frequently, it probably wouldn't be awful. And also selfishly, if it keeps some riffraft out, I wouldn't hate that either.

I guess my biggest concern, with parallels to that time I sold life insurance, is that they test for one thing and then in practice you do a different thing. I hear the same is true for realtors. So.. it becomes an exercise in memorizing some BS that you won't use again after the test. If we do this, the software engineering test would need to be updated at least annually, and better be written by some well respected security researchers.
Ask HN: How Hard Is $10K MRR in a B2C SaaS?
by azabraao | 2025-08-06 22:19:06+00:00
Imagine this:

You’re building a $15/month SaaS.

To hit $10K MRR, you only need about 700 paying users.

Now, suppose you’re an indie hacker with no audience — but you have a stable income from your day job and can afford to run ads.

Will it be hard to get there?
by grafmax | 2025-08-06 22:19:17+00:00
A portion of the investor class may divest through deregulation as the character of the housing market changes. But the fundamental issue is the presence of the investor class itself. Markets don’t redistribute wealth equitably; they concentrate it. This will continue even if markets acquire new character through deregulation. At best deregulation can change the membership of the investor class. It does not eliminate the investor class.

In other words you are looking at it from a supply side but ignoring the wealth distribution of buyers. Wealth has further concentrated among the richest buyers over the past few years, while the poorest have grown poor, leading to higher prices for everyone. That’s the cause, not NIMBYism, which has been around forever. It’s a wealth redistribution issue not a deregulation issue.
by frigidwalnut | 2025-08-06 22:19:41+00:00
The paper linked in that post proposes a bottleneck at 900Kya in the ancestors of all modern humans. There is a bottleneck associated with the migration out of Africa and the peopling of the world that many populations have, but not all. Based on genetic data the timing is between 100-50Kya, with a lot of the uncertainty coming from converting generation times to years (i.e. how many years on average between parents and offspring). This is a nice reference: https://sci-hub.se/https://www.nature.com/articles/nature213...
by staringback | 2025-08-06 22:19:51+00:00
Ah yes, a micro-apartment the same size as the average American kitchen [1], how affordable!

For comparison, Seattle WA has a minimum wage around 2.5x higher than Tokyo. Here is a larger apartment [2] that is only 1.33x more expensive than your Tokyo broom closet.

Go ahead and find something more akin to the American sized apartments (500sq+ for 1 bd) and you'll see that the prices are almost the same, with much lower wages across the board.

[1]: https://kb.nkba.org/2016/11/new-nkba-research-defines-averag... [2]: https://www.apartments.com/amherst-micro-studios-seattle-wa/...
by _kst_ | 2025-08-06 22:19:52+00:00
OK, but to me a "lockfile" is a file whose existence signals that some resource is locked.

https://en.wikipedia.org/wiki/File_locking#Lock_files

When I saw the title "We shouldn't have needed lockfiles", I expected something about preferring some other mechanism for resource locking.

More generally, I see a lot of articles that talk about an issue in some language or framework that don't mention that context. Just adding "JavaScript" or "NPM" (or whatever) in the title or near the top of the article would be very helpful.
by pkal | 2025-08-06 22:20:10+00:00
I have to say that https://student.mit.edu/catalog/index.cgi looks like a great site! It is all public, and when you open a category (a static site), all the information appears all at once and you can Ctrl-F for keywords. It might not solve that "unknown unknown" problem that the author mentions, but it is certainly much preferable to the solution that our university used (https://www.his.de/hisinone; one example: all courses are displayed in a tree and if you click to unfold a node, the server generates verbose HTML and sends it to the client. This takes at least 10 seconds on good days).
by wpm | 2025-08-06 22:20:40+00:00
I started at a university full-time in 2014 in the IT department. Same year a project to decommission an aging IBM mainframe that sat as a lynchpin in nearly every important operation on campus; course registration and thus billing and grades, transcripts, as well as a home-grown SSO from the early 2000s no one understood any more. The consulting costs were insane, as were the support costs, so that poor thing had to go (second prettiest rig in the datacenter after my Xserves).

When I left that job in 2022, I believe most of it had been offloadded, but I can't say for sure if they had actually shut the fucker down yet.
by xp84 | 2025-08-06 22:21:11+00:00
This is weird to me. (Note: i'll use ruby terms like 'gem' and 'bundle' but the same basic deal applies everywhere)

Generally our practice is to pin everything to major versions, in ruby-speak this means like `gem 'net-sftp', '~> 4.0'` which allows 4.0.0 up to 4.9999.9999 but not 5. Exceptions for non-semver such as `pg` and `rails` which we just pin to exact versions and monitor manually. This little file contains our intentions of which gems to update automatically and for any exceptions, why not.

Then we encourage aggressive performances of `bundle update` which pulls in tons of little security patches and minor bugfixes frequently, but intentionally.

Without the lockfile though, you would not be able to do our approach. Every bundle install would be a bundle update, so any random build might upgrade a gem without anyone even meaning to or realizing it, so, your builds are no longer reproducible.

So we'd fix reproducibility by reverting to pinning everything to X.Y.Z, specifically to make the build deterministic, and then count on someone to go in and update every gem's approved version numbers manually on a weekly or monthly basis. (yeah right, definitely will happen).
by insane_dreamer | 2025-08-06 22:22:05+00:00
They could buy Intel, inject the $ to build its new fabs (currently on hold), get its foundries up to TSMC level, and start manufacturing at least some of its M chips in the US.

Probably won't happen (and some people will say we should just let Intel fall), but wouldn't be the worst way to invest in the US. And would reduce dependency on Taiwan. And it fits with their vertical integration strategy.
by tptacek | 2025-08-06 22:22:19+00:00
You're not answering the question I'm asking. I'm not looking for a treatise. I'm just asking how investors keeping vacant supply off the market could make money in the face of increasing supply. They have to pay to hold the houses. They're not earning income from the houses (they're vacant). Supply of the houses is increasing. Fill in the "???" before "profit".
by Telaneo | 2025-08-06 22:22:57+00:00
Rome wasn't built in a day.

Proton have already gotten a 2000% increase in VPN customers following the Online Safety Act being passed,[1] and we haven't even gotten to the point of Ofcom heavily enforcing this yet. It hasn't even been a month. Governments haven't gotten to see how ineffective their enforcement will be yet, since barely any time has passed.

[1]https://www.uktech.news/cybersecurity/proton-vpn-uk-online-s...
by mdarens | 2025-08-06 22:23:01+00:00
One of the most exciting features of Zig, but am I correct that this doesn’t apply to types themselves like comptime generics in Zig? I find that to be one of the most powerful ideas: type level mappings that have the same syntax as the runtime code where you can just set an iteration limit. This would be a great way to get around the “too large union” problem in TS, for example.
by 8n4vidtmkvmk | 2025-08-06 22:24:26+00:00
Yes. If they nefariously typosquat, that could be grounds for losing your license.

Adding a link to your verified license in your package.json or personal website so that installers can check that the author of the package they are using does have a license sounds perfectly fine.

Proving you reside or are licensed in some country before you can publish to that countries repository sounds very doable too.

We don't even have to do this perfectly. It's not about preventing people from skirting the system, it's about giving users and developers the option to install from only verified sources.

Would you rather get heart surgery from a licensed doctor or an unlicensed one? What if both existed where you live? I'd probably ask to see their license before going through with it.
by ncruces | 2025-08-06 22:24:27+00:00
I've actually used this to implement the linear memory of a Wasm runtime (reserve 4GB and commit as needed) and have faced user complaints (it's in a library that uses a Wasm runtime internally) due to it unexpectedly running into issues, particularly under nested virtualization scenarios.

I've needed to add knobs to configure it, because even a handful of 4GB instances causes issues. I've defaulted to 256MB/instance, and for my own GitHub CI use 32MB/instance to reduce test flakiness.

This is to say: I found the idea that “just reserve address space, it's not an issue of you don't commit it” very flaky in practice, unless you're running on bare metal Linux.
by godelski | 2025-08-06 22:24:49+00:00
I'm sure some other users can give you better answers, but I'm a bit curious what you mean by "standard".

FWIW, Vim (and presumably emacs) can run terminals as well as do things like ssh and ftp. Though I'm pretty sure the easiest thing to do would just be to use the Ctrl-R pattern in vim and have it send curl requests in a different buffer. As far as I'm aware, all the major LLM platforms have APIs that can be accessed through curl (or any other way you want to to GET/PUT requests). Here's something I found with a quick Google search[0].

So I'm not sure there needs to be "a standard" so much as "can it do http requests?" which is yes. I mean with this I think you can also see it wouldn't be too hard to set up and connect to a LLM hosted on the LAN. Could do it all through ssh

[0] https://arjunaravind.in/blog/using-vim-as-a-http-client/
by karohalik | 2025-08-06 22:25:00+00:00
UX & Content Designer | 10+ Years of Experience | Remote & Hybrid Positions

Location: Lisbon, Portugal (EU)

Remote: Yes, any timezone

Willing to relocate: Yes, within EU & SEA; willing to travel

Technologies: UX & Product [Figma, Miro, Adobe Creative Cloud], Content & Strategy [Adobe Experience Manager, WordPress, Ghost CMS, Webflow, Canva, Notion]; Marketing & Analytics [Google Analytics, Adobe Analytics, Semrush, Hotjar, Meta Business Manager, Klaviyo, GetResponse, Mailchimp]; Community Building [Discord, Slack]

Résumé: https://linktr.ee/karohalik_designer

Email: hello@karohalik.pl
by plqbfbv | 2025-08-06 22:25:23+00:00
For me Kagi is the 2010-2015 Google Search experience. It just... works.

I basically pay only to have that. The rest are lots of niceties on top that I can pick if I want them or need them.

It respects your keywords, if it edits anything of the query it tells you why and how, and I think I can count on one hand the number of times I had to scroll to hit the "More results" button since I started using it.

Before I tried Kagi (I tried it out when it was invite-only for testing and then converted to paying user) Google was basically frustrating me with every single query. I had to scroll past the ads, ignore the stuff that looked like websites, ignore the first 5 results because they were useless, ignore the "other results from X" because nothing of value was ever found, then go to the second page, and still find maybe 1 result that was applicable to my query.

Kagi felt like a breath of fresh air. I have a few Googler friends that tried it out on my recommendation and prefer it and pay for it over Google Search, I think that speaks for itself.
by miki123211 | 2025-08-06 22:26:38+00:00
TBH, the FastAPI "docs" are at https://github.com/polarsource/polar/tree/main/server

If you want to actually figure out how to scale FastAPI for a large-ish app, including auth, testing and all that stuff, all with modern practices, "how they do it in that repo" is probably a good way to start with.
by api | 2025-08-06 22:26:56+00:00
Very much so. When you run Oracle DBMS you have your own data in your custody. You also have the software and the ability to spin it up in the future. It’s a binary blob but there’s VMs and longer term emulation for that. I can run MS-DOS software for 16-bit x86 just fine on my ARM64 Mac. This includes unmodified commercial closed source software from decades ago.

With SaaS you usually don’t have your data let alone the code. The app cannot be run by anyone but the ones running it. Old versions can’t be run. If the company goes away it’s gone forever along with the data.

A lot of SaaS is tied to a specific cloud with its specific managed services, so it can’t even be moved between cloud providers without significant effort.
by duxup | 2025-08-06 22:27:03+00:00
Growing up I remember not being very motivated, or smart, but one thing I heard from lots of people is that who you hang out with matters a lot.

So I chose to hang out with the smart people. I don't think I got smart, or motivated... but it did make doing the right thing (even if just due to lack of opportunity to do the wrong) easier / more likely.

Has to be tough to do in prison.
by chmod775 | 2025-08-06 22:27:58+00:00
> The market has failed. It's allowed massive monopolistic and anti-competitive scenarios to play out, and technology outran legislation like crazy.

Why is that the market's fault? That's like blaming a river for flowing downhill. The most stable configuration in a free market is a monopoly. Obviously everything eventually ends up as one without intervention. It's a mathematical certainty.

This is 100% on regulators allowing that to happen.
by ndriscoll | 2025-08-06 22:27:58+00:00
Yeah literally the only thing they need to do to fix it is get rid of the no-cache and Connection: close headers. Maybe make an "All" page for better CTRL-F? Surely their catalog doesn't change more than once per minute and could have some level of caching (at least with revalidation)? Keep-alive would cut out ~150 ms of page load time and letting at least something like nginx cache it seems like it would cut out another ~150 ms.