MurphyA/hacker-news huggingface dataset:
by irisman | 2025-10-14 13:53:53+00:00
Regarding equity, I was set on this being a bootstrapped business, so I offered 8% at 50h/week over 2 years, vested monthly (unconventional ik). And a few extra % if they stayed 2 years (depends on how many remain). I didn't require full-time, and allowed 20h/week, and equity was proportional to time put in. My stake would was 16%.

I eventually hired 3 full time devs offshore after realizing almost no one has the risk appetite. $500/mo avg. 2 were duds who I removed after a month each, but the last one was great. Learned my hiring lessons.

Consulting would have been difficult because I spent day and night on the startup.

Letting people work 1/2 time on my project and consult the other is smart. I would just have to secure the clients. I will consider that in the future.

I gave people the option to work 20-50h/week, but no one took up that offer. The only people who joined were 5 people: - 3 friends I knew from online and did projects with before. - 1 person I met from reddit and also a unemployed 2024 grad (but she was still money hungry, left 2mo after while being only part-time). - 1 person from YC combinator. Great guy and former founder, but he had to leave 3w in due to a lawsuit abroad.
by giancarlostoro | 2025-10-14 13:54:50+00:00
It's funny because in other typed languages a string can be null because of string being a reference type as opposed to a value type. I think Python type hints make more sense than C# does in this respect, which gives me a chuckle (two of my favorite languages and the untyped one makes more sense with types). That said, not sure if you already have but I would add a github issue / ticket reporting your issue to raise awareness to the devs.
by travelalberta | 2025-10-14 13:55:36+00:00
The flurry of OpenAI deals make me think were reaching a tipping point maybe a lot sooner than I expected. This is a company that needs to show some viability of generative AI as a product and so far they've created AI-Slop TikTok (which the inference to run must be a huge negative for them) and a third party way to purchase things online. Consumer spending is so low that Costco isn't putting out really any Christmas merchandise this year and one of ChatGPT's avenue for profitability is going to be as an intermediary for consumer purchasing?
by lesuorac | 2025-10-14 13:55:40+00:00
But there is a good jobs in the country. His brother has to travel 100 miles to work it.

Tariffs won't resolve this issue. Either the goods becomes too expensive to import and are made here or the aren't.

In the case that they're made here then some other good will no longer be produced (if you could magically make both then you would've in the first place). And so your citizens are worse off because they produce the same amount (or less) and pay more for it.

In the case that they're not made here then you just pay more in tariffs and are worse off.

The problem with global trade is that when you trade 10 apples for 10 bananas it doesn't need to be distributed to your citizens equally. So if you go from an economy producing 5 apples and 5 bananas where everybody gets one of each to one where 3 people get 8 apples and 10 bananas the other 2 get 2 apples the GDP still grew from 10 to 20 but people are worse off. Throwing in tariffs to get back to the 5 apples 5 bananas will cause a recession.

The better solution is to increase the top tax rate and redistribute 2 additional apples and bananas to the bottom 2 and then everybody is still better off.

I leave it as an exercise for the reader to figure out why Trump & Republicans want tariffs as opposed to a higher tax rate.
by tapirl | 2025-10-14 13:55:54+00:00
The "_ [0]byte" trick has no base in my knowledge. For the author's specified example, [1024]float64 will be always allocated on one whole page, aka, always 64-byte aligned.

For "Array of Structs vs Struct of Arrays", using slices as fields is a good idea. If the purpose is to make fields allocated on their respective memory block, just use pointers instead.
by donatj | 2025-10-14 13:55:56+00:00
Exactly this! The educational product I work on is used by hundreds of thousands of students a day, and the secret to our success is how simple our architecture is. PHP monoliths + Cache (Redis/Memcached) scale super wide basically for free. We don't really think about scalability, it just happens.

I have a friend whose startup had a super complicated architecture that was falling apart at 20 requests per second. I used to be his boss a lifetime ago and he brought me in for a meeting with his team to talk about it. I was just there flabbergasted at "Why is any of this so complicated?!" It was hundreds of microservices, many of them black boxes they'd paid for but had no access to the source. Your app is essentially an async chat app, a fancy forum. It could have been a simple CRUD app.

I basically told my friend I couldn't help, if I can't get to the source of the problematic nodes. They'll need to talk to the vendor. I explained that I'd probably rewrite it from the ground up. They ran out of runway and shut down. He's an AI influencer now...
by JohnMakin | 2025-10-14 13:55:59+00:00
You’re thinking purely in terms of app performance. have you ever seen a terrible db schema? Having to suddenly iterate fast with a brittle codebase that doesnt really allow that ive seen bring teams to their knees for a year+.

I’ve seen monoliths because of their sheer size and how much crap and debt is packed into them, build and deploy processes taking several hours if not an entire day for some fix that could be ci/cd’d in seconds if it wasn’t such a ball of mud. Then, what tends to happen, is the infrastructure around it tends to compensate heavily for it, which turns into its own ball of mud. Nothing wrong with properly scaled monoliths but it’s a bit naive, in my personal experience, to just scoff at scale when your business succeeding relies on scale at some point. Don’t prematurely optimize, but don’t be oblivious to future scenarios, because they can happen quicker than you think
by irl_zebra | 2025-10-14 13:56:11+00:00
This reasoning would lead to such absurd results in real life, and I am thankful no courts of any country or jurisdiction follow this logic.

For those reading: this is the difference between proximate cause and actual cause. Yes it's true that but for the fire being started in the first place, the fire would not have rekindled. But once professional firefighters arrive to put out the fire, it's not foreseeable by a normal person that the fire could be rekindled, so that person wouldn't be liable. The harm is too remote. The firefighters may even be grossly negligent because they are professionals, intervened, and the fire rekindled. A person negligently failing to fully extinguish their own fire would lead to liability, though.
by red-iron-pine | 2025-10-14 13:56:46+00:00
bollocks. there is profound unity and direction in US leadership, and has been for years -- it's all written by the Heritage Foundation and funded by a few oil and tech billionaires.

it's been like that since before George W Bush was lock-step with Fox News and a GOP led Congress.

the only difference is in 2025 the billionaires funding these things are as foreign as they are domistic
by rasulkireev | 2025-10-14 13:56:56+00:00
I'm working alone on an Open Source Blog Automation tool: - https://tuxseo.com/ - https://github.com/rasulkireev/TuxSEO

Built a ton of side projects in the last 5 years with none of them going anywhere. Realized the distribution is a problem. So after reading a bunch of marketing books, I decided to give SEO a try. And after some playing around realized there is potential there and decided to automate this process for all my projects.

Keep struggling with moving away from building more features and focusing on marketing.

Recorded a demo today, will start cold-emailing and reaching out to people who hhopefully will find it useful.
by giancarlostoro | 2025-10-14 13:57:12+00:00
I think the 2nd best IDE for Python for me is Visual Studio proper, not Code. I know it sounds crazy, but Microsoft actually put some effort into their Python integration. Again, its a 2nd best, but that still says a lot about everyone else's editors.

Nowadays I'm finding myself using Zed a lot more, so maybe the story will be that all these nice Rust based tools become baked in giving it super powers for Python.
by hedora | 2025-10-14 13:58:23+00:00
People screw up the bcrypt thing all the time. Pick a single threaded server stack (and run on one core, because Kubernetes), then configure bcrypt so brute forcing 8 character passwords is slow on an A100. Configure kubernetes to run on a medium range CPU because you have no load. Finally, leave your cloud provider's HTTP proxy's timeout set to default.

The result is 100% of auth requests timeout once the login queue depth gets above a hundred or so. At that point, the users retry their login attempts, so you need to scale out fast. If you haven't tested scale out, then it's time to implement a bcrypt thread pool, or reimplement your application.

But at least the architecture I described "scales".
by trollbridge | 2025-10-14 13:59:05+00:00
Instead of blaming the workers, they should figure out how to make workers want to show up and find out the incentives they need.

Here’s a start: daily pay (there are a bunch of fintechs out there that will do this for you). My buddy who does construction does this. It filters out people who need a quick fix of cash on day 1 instead of wasting two weeks on them.

View labour unions as a friend, not an enemy, who will figure out where to get more workers and how to keep them willing to show up to the job.
by kps | 2025-10-14 14:00:23+00:00
> so that for example ctrl-a will always go to the beginning of a textbox no matter the application

And Control-W will always erase word no matter the application?

This is actually a major reason I use KDE: I can, with some effort, change keyboard shortcuts to avoid conflicting with terminal Control keys. It doesn't solve the textbox problem, though.

(I don't use Emacs bindings, but Control-W erase word came in the ‘new’ TTY driver in BSD2 in 1983 — predating Windows 1.0, incidentally — likely copying TOPS-20.)
by Broken_Hippo | 2025-10-14 14:00:38+00:00
Go ahead. Invent some new tech that absolutely no one know about or how to do and that isn't based on any known tech. I'm waiting. What's taking so long?

Discovering stuff is hard and harder if you don't think you need it. People kept fire going before they knew how to start fires. If you don't know about the concept of flint or lighting dry stuff with sparks, it is really hard to invent fire starting. Writing isn't as useful if you can just learn what you need to know while growing up. A more complicated world later - as are discoveries slowly started to build up - probably created the need.

But again, those discoveries are hard and they took time. A really long time, apparently.
by red-iron-pine | 2025-10-14 14:00:54+00:00
> If the machine shop is so tightly constrained and error-phobic, that sounds like there's very little space of tinkering, exploration or innovation.

for many machine shops the level of physical risk is > 0, often by a large amount.

making widgets for X means handling large quantities of red hot metal; even simple stuff that's easy to get your hands around often shoots tons of oil, gas, and metal shavings in volumes that could hurt or cripple people.

if my dev VM gets borked I reboot or revert it, but factories aren't so simple
by walkabout | 2025-10-14 14:01:30+00:00
Cannot relate. Aside from creating things for computers (code) I do a lot more creation-related stuff with my phone.

I mean, it's covered in cameras and microphones and shit. I can measure things with it. In a pinch, it's a level. Photos for reference at the hardware store. Filming content for most any purpose short of outright pro-level work, great on a phone. Tuner for my instruments, metronome if I want that, good for sheet music (iPad's best, but a phone will do in a pinch, and I'm not gonna carry a laptop around and unfold it and stuff). It fits in my pocket and I always have it, which means it's the only "notebook" I've been able to stick with for writing down ideas. Working with MIDI? Phone or tablet. In the workshop? Phone or tablet. Cooking? Phone or tablet. Working on my car? Phone. Working on the garden or any handyman-stuff around the house? Phone. A laptop would be a downgrade in every case, I don't really have any use for one aside from writing code.

I messed around with stuff like MSPaint as a kid, like everyone else, but these days I'd do that in Procreate on the iPad (and that is in fact what I use for drawing). Even the Pocket version on a phone would be better.

Unless I'm making things for computers an I-device is at least as good, and usually better, for creation-related stuff. Phones are worse for long-form writing, mostly due to the tiny screen, but a tablet's better for that than a laptop, given an external keyboard, because you can place the screen somewhere other than right on top of the keyboard, for better ergonomics.
by cyphar | 2025-10-14 14:02:35+00:00
Sure, warrants and subpoenas need to exist in order for the legal system to function. However, they have limits.

The modern abuse of the third-party doctrine is a different topic. Modern usage of the third-party doctrine claims (for instance) that emails sent and received via Gmail are actually Google's property and thus they can serve Google a warrant in order to access anyone's emails. The old-timey equivalent would be that the police could subpoena the post office to get the contents of my (past) letters -- this is something that would've been considered inconceivably illegal a few decades ago, but because of technical details of the design of the internet, we have ended up in this situation. Of course, the fact there are these choke points you can subpoena is very useful to the mass surveillance crowd (which is why these topics get linked -- people forget that many of these mass surveillance programs do have rubber-stamped court orders to claim that there is some legal basis for wiretapping hundreds of millions of people without probable cause).

In addition (in the US) the 5th amendment allows you the right to not be witness against yourself, and this has been found to apply to certain kinds of requests for documents. However, because of the third-party doctrine you cannot exercise those rights because you are not being asked to produce those documents.
by itsnowandnever | 2025-10-14 14:02:35+00:00
ha I honestly don't have that strong of an opinion of the author because the few tidbits I've seen I didn't even read all the way because the info on the surface was so flawed. this was the first article I've actually read. so I can't say they're malicious or hallucinating because I haven't looked into why they have the opinions they do. but I'm definitely not inclined to trust them, which was why I had to say that I've recognized the pattern of "Noah Smith" (I don't know who they are, where they work, nothing) seems to just ship out their own copy/paste of whatever trendy (and flawed) opinion is hot at the moment
by noisy_boy | 2025-10-14 14:02:45+00:00
Playing devil's advocate, KDE settings are clear but there might be a possibility for a "Advanced Mode" button (with a first-time click warning) on the top-right of the "Quick Settings" screen that opens up when we launch the Settings. That can hide the "risky" stuff (e.g. "Window Management" etc). There might be value in adding a "Lock Panels" options to handle accidental modifications/removal etc.
by giancarlostoro | 2025-10-14 14:03:29+00:00
I've probably commented the same thing like 20 times, but my rule of thumb and use with AI / "vibe coding" is two-fold:

* Scaffolding first and foremost - It's usually fine for this, I typically ask "give me the industry standard project structure for x language as designed by a Staff level engineer" blah blah just give me a sane project structure to follow and maintain so I don't have to wonder after switching around to yet another programming language (I'm a geek, sue me).

* Code that makes sense at first glance and is easy to maintain / manage, because if you blindly take code you don't understand, you'll regret it the moment you need to be called in for a production outage and you don't know your own codebase.
by reify | 2025-10-14 14:03:34+00:00
Senior ministers are writing to the leaders of all FTSE 100 and FTSE 250 companies this week, as well as "a number of other leading UK firms," imploring them to heed the NCSC's advice.

Imploring!

hang on a minute.

Aren't the same government ministers, who are writing to leaders of the FTSE firms, also trying to introduce a full scale roll out of identity cards and the ever increasing expansion of facial recognition.
Ask HN: Malicious Gmail activity on my personal account
by fosco | 2025-10-14 14:03:44+00:00
I’ve been receiving emails about not deliverable email sent to my gmail account to TLDs within googles service, based on error they successfully sent from my actual account but it did not arrive because the account didn’t exist in that TLD.(I’ve already changed password which I already do frequently)

Can I pay for my gmail account so it’s associated with credit card? What can I do to protect? I’ve already had an account stolen from me when gmail was invite only and it impacted family members sending emails to me still on accident due to saved history on their end. I really do not want to lose this one
by technothrasher | 2025-10-14 14:03:58+00:00
I was recently talking to the head clockmaker at the Chelsea Clock Company, one of the very few, if not the only, remaining original New England clock companies still operating. He showed me some pictures of clock making tools being used during WWII, and then the very same tools in perfect shape still being used today. He also had one tool that dated back to when they were the Boston Clock Company (circa 1894) that was still in active use. In this new world of disposable tools, it was pretty neat to see.
by lanfeust6 | 2025-10-14 14:05:28+00:00
The bait-and-switch rhetorical tactics from the cranks like "not a science" is to feign that empirical evidence doesn't exist (for thee) and therefore we should embrace ideology (theirs). This is why the Is-ought problem is frequently brought up. Though this mostly only flies in sloppy online space; in academia, progressives became Rawls acolytes and eschewed Marx, because of baggage and serious errors that can't be overcome. This seems to have translated to a chimera everything-bagel ideology on social media, where they're Rawlsian (qua social justice) but also many don't want to give up Marx, 'cause Capitalism bad, and this doesn't square.
by Alir3z4 | 2025-10-14 14:05:44+00:00
Just an update for whoever ends up on this comment.

This feature works as long as your venv that uv creates and the uv cache (in user home directory, or anywhere else that is configured to keep the cache folder) are both on the same filesystem.

The drive where the venv was created was NTFS and the user home directory where uv cache exists was ext4 file system.

Therefore the caching didn't work and a warning was shown by uv hinting to the problem.
by binarybard | 2025-10-14 14:05:55+00:00
Right now you can retrieve older entries in couple of ways:

1. filter via tags , one has to manually tag the entries though.

2. filter by company -- maybe way too broad based

3. specific word search.

4. filter by date range -- probably this + tags should help one find those entries which happened last quarter etc

Open to considering other ideas! So glad to see someone being excited about this!!
by zozbot234 | 2025-10-14 14:05:56+00:00
> Why do you think BASIC is not functional?

Because BASIC simply doesn't have first-class functions, and they would be quite hard to represent in a BASIC-like syntax while keeping the language idiomatic. Even the unreasonably clunky C pattern of having a pointer to a function taking void* as its first argument (to account for closure captures) gets you a whole lot closer to functional programming than even the fanciest BASICs.
by bluGill | 2025-10-14 14:06:06+00:00
> There’s no economic sense to build a factory in the states…

That isn't how it works. Details matter.

A local factory can save a ton of money because it can be more just in time - you don't have to build excess because of shipping times. (shipping costs can also save a lot of money for a local factory).

The states have lots of cheap reliable power (not perfectly reliable, but close enough). If your production line is mostly automated (or could be) the states are cheaper - there isn't much labor anyway.

Production close to engineering makes for a lot of savings because when a part is designed you can get a prototype to testing faster.

there are lots of other factors, and most are not in the favor of local production but there are several that are. Where you fall is an optimization problem and there is no one right answer for everything.
by tialaramex | 2025-10-14 14:06:27+00:00
I get why they'd panic, but why have enough segfaults that you noticed? So, I went and read the code.

Zuban seems to have a bunch of scary "I'm not sure if this is correct" unsafe blocks, which to me would be a red flag. I mean, it's better that there's a comment expressing the doubt, but my experience is that if you're not sure whether it's correct, it's probably not correct.
by Cloudmash333 | 2025-10-14 14:06:37+00:00
I wanted to understand what Docker really does under the hood, so I tried building my own container using nothing but Linux commands — unshare, chroot, veth, and cgroups.

It turns out, you can isolate processes, set up virtual networks, and manage resources entirely by hand.

I recorded the whole process (including some mistakes and debugging):

YouTube:https://www.youtube.com/watch?v=FNfNxoOIZJs

Would love feedback from anyone who’s done similar experiments or knows how real container runtimes handle the tricky parts.
by bee_rider | 2025-10-14 14:06:49+00:00
At the intersection of ultrasound and startups (since this is HN), does anyone have any thoughts about that Openwater project? They are apparently working on open source ultrasonic medical devices.

I don’t actually know much about them, I just heard of them because their CEO (Mary Lou Jepsen, she’s quite famous, right?) was on the AMC podcast (months ago, actually, I was just going randomly though the back catalogue).

Tech folks pivoting to medical always throws off some alarm bells to me, but she was fairly compelling on the podcast and the basic idea seemed to make sense. Ultrasonic treatments, using diagnostic-level energies, using focusing and resonance based tricks, I guess. (It is way outside my wheelhouse, sorry if the description is inaccurate).
by jncfhnb | 2025-10-14 14:06:50+00:00
I don’t think it’s clear at all that a CIWS system beats a large swarm of jet turbine drones. I think Ukrainian sea baby style attacks are also going to be very tricky if scaled up beyond the levels we have seen in this war.

FPV drones, imo, have created a system of dynamic mines, effectively. Both sides are able to project defenses forward without boots on the ground. I suspect this will revolutionize naval warfare shortly on a similar kind of story. If it ever becomes relevant again.
by wat10000 | 2025-10-14 14:06:55+00:00
That’s not opposed to what I’m saying. Lots of people want a better society and think that “better” involves powerful people wielding it against people they don’t like. Everybody is the hero of their own story. The Nazis thought they were making the world a better place by murdering all the undesirables.

And I never said I was better. I nearly added a “and this isn’t exclusive to one side” addendum to my comment, but decided that would just derail my point. Maybe I should have.