MurphyA/hacker-news huggingface dataset:
by aspenmayer | 2025-06-01 16:06:46+00:00
I'm not sure what they meant, but Tailscale links to Headscale and says this:

> Headscale is an open source alternative to the Tailscale coordination server and can be self-hosted for a single tailnet. Headscale is a re-implemented version of the Tailscale coordination server, developed independently and completely separate from Tailscale. Headscale is a project that complements Tailscale — with its own independent community of users and developers. Tailscale does not set Headscale’s product direction or manage the community, and neither prohibits nor requires employees from contributing to Headscale.

> Our opinion is that Headscale provides a valuable complement to Tailscale: It helps personal users better understand both how Tailscale works and how to run a coordination server at home. As such, Tailscale works with Headscale maintainers when making changes to Tailscale clients that might affect how the Headscale coordination server works, to ensure ongoing compatibility.

https://tailscale.com/opensource#encouraging-headscale
by johannes1234321 | 2025-06-01 16:06:50+00:00
Yes, a C compiler will do something special for some library functions. However for my library, I can use higher level abstractions to implement my algorithms etc. and benefit from the optimisations well.

And yes, one can write somewhat generic C code, which can be in lines as well, but that's not as high level abstracted code (i.e. not type safe, but around void pointers)
by breuleux | 2025-06-01 16:06:54+00:00
It works, ish. Type checkers have a rule that you must have a non-stub, non-decorated overload, so if using ty for example, you need to --ignore invalid-overload. mypy doesn't seem to recognize the hack, although I could've sworn it did? Anyway, it'd be nice if we could mark a decorator as functioning like @overload but without the need for stubs.
by paddy_m | 2025-06-01 16:07:27+00:00
I was just commenting that I had glossed over that in multiple readings about different typing systems. The parent of my original comment explained it nicely.

I know that dependent type is the term of art, and you should probably keep it. You could say something along the lines of

"ovld supports dependent types (an additionally specific name for a type that is based on its value, ie > 0)" the first time you use the term dependent types."
by revskill | 2025-06-01 16:07:32+00:00
Maybe, if you dropped React from RSC, you got only Server component, it means something more generical for you.

Now is it just html ? Yup, Html returning from server is a server component, executed by browser with DOM API (for script tag).

So if you understand Html and JS, you should understand RSC right ?

THe point here is, your html doesn't get rendered on server, your <script> tag doesn't get executed on server. The server returns a program (code is data) to browser to render the document and execute script.

The real trick, is the server understands the html syntax (using string literal), so you got the illusion of isomorphism between 2 computers.

The server acts as "program generator", the client acts as "program executor".

Ok, it's just one piece of the whole.

The hard trick, is how to keep state preserved between re-rendering.
by sadcodemonkey | 2025-06-01 16:07:45+00:00
Yes! I have to do front-end work occasionally but have been bad at staying on top of trends, so I would resort to jQuery if the requirements aren't super complex. Discovering querySelectorAll() and fetch() eliminated 75% of what I used jQuery for.

In the bad old days, there were a handful of canonical tutorials you used to learn the basics (HTML, CSS, JS) of web dev. Is there anything like that now that starts from those three technologies to build an understanding of web apps?

It seems like it could fill a real need for beginners who want to start by grasping the DNA of the web, so to speak, instead of the complex/sophisticated tools that are popular (not that there's anything wrong with that approach, if you need those skills for a job or project immediately).
by Bender | 2025-06-01 16:07:46+00:00
Ah well in that case I am indifferent. There are many painless low cost or free methods that I will not mention here. I hope those that are suffering know people that know what I know and do not get suckered into paying for some service. Medical businesses are not required. Either way a doctor would violate their oath by performing this whether it is legal or not.
Real Estate AI App looking for feedback
by llermaly | 2025-06-01 16:08:15+00:00
Hi everyone!, we just launched ReelEstate AI , a platform to generate real estate videos based on the property URL:

https://reelestate-ai.com/

We are two developers without a lot of knowledge about marketing or sales. We validated the product with some local real estate agents and we are looking for feedback to start getting our first customers and improve the product.

We are doing cold outreach right now and giving free credits in exchange of feedback/reviews.

Any feedback from you is highly appreciated.
by RajT88 | 2025-06-01 16:09:49+00:00
I will weigh in on my wife's experiences, as she teaches computer engineering.

Plagiarism is now rampant - but for structural reasons. The university seemingly decided they want the money of foreign students, and started deciding that degrees from certain foreign universities counted as prerequisites for CS Masters programs.

A lot of these foreign students somehow have little programming skill despite undergraduate degrees in CS.

The cheating is obvious. She gives students 0's with no push back from administration if she thinks they are cheating. Some amazing stories:

- Students who turn in assignments with someone else's name of them

- Students who admit to cheating and do it again and again, never becoming more sophisticated at it.

- Students who get caught cheating 5 times and ask if there is any way they can pass the course.

- Students who despite being told there is no way to pass the course, request a call or in person meeting to discuss how they might be able to pass the course (she has never taken them up on this - one wonders what their pitch would be)

Cheaters who put a little effort in are undetectable. Or at least she suspects, but can prove nothing and grades the (not obviously plagiarized) code on its own merits. The general feeling is that barring these foreign students, cheating is there but not too widespread.

She does, indeed, have a bad rating on RateMyProfessor and does not care. Her administration still thinks highly of her because of her other work (such as running accreditation programs).

If you are a professor YMMV. This is how it is for my wife.
by dankobgd | 2025-06-01 16:10:05+00:00
on github this was my config: https://github.com/dankobg/nixos-conf. I had that in home.nix. They both couldn't be listed in that apps array at same time, gearlever specifed and smile commented works and vice versa. But doing nix shell -p with both worked together. I didn't have patience to check what was the problem since maybe it's some of the other apps as well.
by joshstrange | 2025-06-01 16:10:19+00:00
Aside from the fact that I wouldn't know what I was looking at, I've been tempted to crack open one of the Stripe M2 readers I have and look inside.

Unfortunately, out of 36 readers that I bought, 7 have "died" (2 won't hold a charge, 1 won't scan NFC, and 4 report "tampered"). That attrition rate is pretty bad on the surface but it doesn't tell the whole story of course, how often were they used? How old are they?

The answer to those questions is much more damning. The devices are 1-3 years old (I bought them over time) and have been used a max of 9 days total [0]. Yes, 9 days _total_ of use and 7 of 36 readers failed in some fashion. Oh, and the readers are all kept in hardshell cases with foam inserts (1 slot per reader) whenever they are moved.

Needless to say, I'm not a huge fan of the M2 readers but they are still the best option for me :/

[0] Some background, my company handles festival payments. We travel to events and handle the in-person payments (most happens on web/app) with iPads+M2 Readers. That's why there are so few "days of use" over 3 years.
by edflsafoiewq | 2025-06-01 16:10:37+00:00
IIUC this is how VanJS works.

// Create new Ref const r = van.state(0) // derive functions as adapt/watch/multiplex. // Implicitly depends on any Ref it uses and re-runs when they change. const r2 = van.derive(() => 2 * r.val) van.derive(() => console.log('r2 is ' + r2.val)) // Changing the value doesn't update r2 or print immediately, it schedules // a batch update when all derives will get recomputed. r.val = 3 // ...So 'r2 is 6' won't be printed here. r.val++ // Refs can be used in a hyperscript-style DOM builder. // This creates a regular HTMLElement, with a regular Text node where r2 goes, // but it holds onto that Text node behind the scenes and automatically // updates it when r2 changes. const {p} = van.tags document.appendChild(p("The value is ", r2))
by ocdtrekkie | 2025-06-01 16:11:30+00:00
I was sent a test device with Astoria by Microsoft, and I an still flabbergasted they abandoned it. It worked really well, Android apps did feel like the most sluggish apps on the platform... but only because they ran like Android apps.

Just one more stepping stone on Microsoft's constant inability to make good decisions.

Fundamentally though, the biggest issue probably was Microsoft was still far too afraid to fight Google directly, their monopoly was at its height but user perception of that hadn't caught up yet.
by absurdo | 2025-06-01 16:11:34+00:00
For the young players: this is what hacker in “Hacker News” stands for. This is 101 and it’s very simply explained which makes it a great step by step example of a typical journey. Hack-a-day is full of these if you want more.

The author is clearly curious and leads in knowing a lot to begin with.

The work-behind-the-work is looking up data sheets for the chips involved, desoldering them without damaging them, in the case of memory resoldering with hookup wire and hopefully its access is slow enough that it can work fine over the length of the wire, following hunches, trying things, and knowing (for next time) the possibility of using a pinhole camera or something of the sort when drilling shallow holes and looking through for tamper traces to avoid in further drills, if so desired be.

As others have mentioned, it would be interesting if the author stuck in and got past the tamper checks to see if it would work as normal. Oh well!
by a_t48 | 2025-06-01 16:12:02+00:00
For Ubuntu it’s possible to use debootstrap to install to an external drive directly. Once you’ve done that, you can chroot into the new drive, fix up a few things that aren’t handled (mounts, locale), then install any software you want on top. Even stuff like installing new kernel/drivers works. Running docker in the chroot also works, if you copy the setup used in docker-in-docker. I wonder if a similar setup is usable here.

Side note wrt tailscale - you should be able to auth without manual registration. Two choices: 1. Make a reusable key that grants the ACL you want to give, store it somewhere secure on your provisioner, then “ssh user@tag sudo tailscale up —-auth-key=$key” to deploy. 2. Make a new tag for “disabled-machine” or similar, locked down with no access. Embed that key in your ISO and use whatever mechanism you have to start it up on boot.

Either way you no longer have to copy paste the setup link to your browser, and the machine always starts off with the ACL tags you want (setting an ACL tag automatically disables expiration btw - no need to do both).

2 is likely tricky to do securely, so take care. :)
by lucideer | 2025-06-01 16:12:27+00:00
It's not part of the main storyline of Luke's journey as an individual & the Jedi order but it is a very big part of one of the main storylines of a ragtag bunch of rebels sticking it to the empire.

A storyline which I'd argue was strongest in A New Hope & the initial trilogy & was weakened by the increased focus on individual storylines in the anakin & rey trilogies.
by MattyRad | 2025-06-01 16:13:02+00:00
I thought it was great except for the final episode of season 1.

Spoilers:

People seem to gush over Maarva's hologram speech, I thought it was pretty weak (it started good then it was fumbled).

Maarva's act of rebellion should have been killing herself to deliver her speech at the right time. She's old and sickly, so it'd add gravitas and cost effectively nothing. Then she should have said that she'd resisted all her life, but killing herself was her first act of rebellion. Then the bomb that gets thrown into the Empire ranks should have been baked into her brick, giving her the chance to fight posthumously.

They had nearly all the plot points set up so nicely for the slam dunk, I was perplexed when it ended so dryly.
by Disposal8433 | 2025-06-01 16:16:10+00:00
You can make fake debit/credit card transactions on a $2 USB card reader. All the specs are here and the protocol is public and documented (IIRC 5000 pages in a lot of PDF, it's a pain in the ass to read).

But to validate those transactions, you must send them to the bank over the internet, and you'll get a visit from the feds/FBI/whatever if you do it.

There is no real protection on card readers (most use Linux with a small shitty password). The protection comes from the contracts and regulations between the shops and the banks.
by scbrg | 2025-06-01 16:16:31+00:00
> But that's not the case. We're not all cosmopolitans traveling the world all the time. For anyone living in a timezone where 00:00 happens when most people are asleep, there'd only be one word for tomorrow, as it'd be synonymous for "after date change" and "after the next sleep cycle". There would be no other word, because there is no need for that.

Meanwhile, I know what the word desert means, even if I have never been in a country that has one. I know what a cyclone is, even if I've never seen one. We're affected by, and have knowledge of more than our local environment. We read books. We watch TV and movies. Heck, we're having this discussion in a language that that isn't spoken in the country I'm living in. Most people do, in fact, interact in some way with people in other time zones right now. Perhaps not on a daily basis, but at least a bit.

It just occurred to me; if we placed the meridian in the Pacific, very few people would have the date change during their sleep cycle. Sucks to be Niue, I suppose ;)

By the way - I'm not even for abolishing time zones. I'm just spectacularly tired of the straw man arguments against it. It's like saying "we couldn't build a city that's on both sides of the river, because people would drown when they go to work", as if building a bridge would be an impossibility.

There is a perfectly good argument against it btw, which is the one you propose at the end. The change itself wouldn't really be worth it. But that's simply because people are confused by changes. Not because the end result would be worse.
by amai | 2025-06-01 16:16:33+00:00
The author has never lived in the US, but thinks he knows the American mindset of life? An the author lived in Germany, but generalizes his experiences there to all of Europe?

The author should refrain from geographical comparisons and instead simply say "The materialistic vs the altruistic mindset." Because surprise, surprise you will find materialistic and altruistic people on both sides of the Atlantic.
by kiitos | 2025-06-01 16:17:45+00:00
First of all, TSAN can identify the presence of a data race, but it can't prove the absence of any data races. If -fsanitize=thread doesn't flag anything, that's insufficient evidence to say that there aren't any data races in the code, at least as TSAN defines data race, which is stricter than how C++ defines data race.

You've now received many comments from many different commenters that all kind of say the same thing, which is basically that your understanding of a "data race" is not really accurate. Those comments have included pretty detailed information as to exactly how and when and why your definition isn't totally correct. If I were you I'd take the L and maybe read up a bit.
by hkpack | 2025-06-01 16:19:03+00:00
I don't know whether you've noticed, but both countries perform robotic drone operation (on land, air and on the water) well above the abilities of direct radio communication in a highly radio jammed space for some time now.

The tech and the infrastructure required for that is non trivial and is being built and evolves every day.

Most likely, for this specific case the civilian infrastructure was used for relaying traffic. This is one of the reason why Russia shuts down internet in the areas of deep aerial drone strikes.

Keep in mind that according to the reports this operation was planned for more than a year and was not something done without deep planning.
by dispin | 2025-06-01 16:19:41+00:00
The article has some interesting technical detail about sex testing with regards to the female category in competitive sport.

It's a case study in the challenges of maintaining this category in the face of attempts to bypass the spirit of eligibility rules by looking for loopholes, and how to guard against this - so in that sense it's related to the hacker mindset.

Perhaps try reading the article with an open and curious mind. The most interesting part is the second half where the impact on female athletes and the biomedical aspect of testing is discussed.

When you look past the "culture war" presumption and let your curiosity explore the details, there's quite some depth to this case, and to the more general issue.
by munificent | 2025-06-01 16:19:51+00:00
A big part of the difference is the timelines and scale.

When you ship a piece of software, it's often expected to be usable by a million people reliably for years.

In film and video production, you're duct taping shit together to get it to stay in one piece just long enough to get the shot and get the film out the door. You're fixing shit in post because you were in a hurry on set. It's a sort of barely controlled chaos.

Game development is somewhere between the two.
by luckylion | 2025-06-01 16:20:00+00:00
How did it change?

It's cheaper now, it's easier to pull off remotely, but most airports already were vulnerable to terrorist attacks. It feels like the primary mechanism that protected civilian airports is that the weapons you'd use aren't easy to get, and states didn't want to supply their sponsored terror groups with that kind of weaponry because it'd be dangerously close to an act of war and very hard to deny.

Individually, you were never safe by default. Your safety depends on not being an interesting target.
by iambateman | 2025-06-01 16:20:27+00:00
I use a modernized version of the PHP+jQuery stack.

It’s Laravel with Alpine (or Vue in some cases).

It retains all the simplicity of classic web development with a lot more sensible tooling and significantly improved language — PHP of today is worlds better than the old days.

There is a lot of gold in the vein of simple web technologies, even if they’re not being propped up by the PR department at billion dollar companies.
by someothherguyy | 2025-06-01 16:20:29+00:00
does using jQuery today make things easier to maintain? i am not so sure. you don't even need jQuery for many things today that you would have used it for thanks to improvements in the Web API, CSS, and JS.

also, maintainability of dependencies in web projects that do use build chains seems much better today than even 8 years ago, and it seems to be improving. esbuild, vite, and other projects have simplified the tool chain. improvements in CSS have reduced the need for pre-processors, etc.
by lolinder | 2025-06-01 16:20:54+00:00
> I don't want to have to dig into a config file for every little aspect of my OS to be in working order

When I see comments like this about NixOS I feel like I must have been using a different breed of distro before and switched to a different NixOS than you did.

My experience has been that other distros—even the supposedly stable ones like Debian—are disasters waiting to happen with no clear way of understanding what goes wrong when you do an upgrade and it breaks. Instead of one config file to troubleshoot I have hundreds of config files that I don't even know about that might be at fault. Or it could be not even a config file, it could be that there's a version mismatch that can't be resolved.

For me NixOS's config file is a breath of fresh air. If something on my system breaks it's because I made a change to that single config file. If something on my system isn't working yet it's fixable in that single config file.

The system is far from perfect, but it's much better than the black magic that other distros lean on.
by paradox460 | 2025-06-01 16:21:27+00:00
"Eye candy" also helps prevent the uncanny valley effect, but for ux.

On Mac OS, I can almost immediately tell when something is a QT app. It can be a beautifully well designed app, and my hindbrain is just screaming that it's not right. Take QGIS. Looks good, works well. But doesn't feel like a Mac app.

And it's not even about following all the Mac conventions. Sure, I like the Mac style preference panes OmniGraffle and Transmit have. But the telegram Mac client, written in swift, has it's own weird preference system, and still feels "right"

Electron apps, ironically, don't trigger the uncanny valley effect. Maybe it's because they all bring their own UX, instead of trying to ape platform ux, maybe it's because the font and other rendering is more polished, by virtue of being browser descended, but either way, they don't make me feel like I'm interacting with some weird not-quite Mac program.
by jajko | 2025-06-01 16:21:28+00:00
Oh yes they are. I detest having to juggle all those cards in my wallet, already have tons for various reasons (not just payment stuff), so no room for ie debit ones.

Dont see the appeal of putting even more stuff into phone or ewatches (prefer good mechanical ones), losing it would be catastrophe enough as it is for privacy. But thats me.
by davidmurdoch | 2025-06-01 16:22:38+00:00
Had a 45 minute conversation with someone from devops this week trying to convince them that I don't need an API server and Front end server since my application is just an app that outputs HTML and uses HTML forms with a maximum of about 2 simultaneous users ever. He couldn't fathom this "architecture" and I ultimately lost the battle ... I must have a front end server for static content, as they don't know how to set up just a backend. He even argued that I must ship JavaScript because oauth won't work without it. I got tired and gave in... I'll just ship a "front end" with a static redirect to the "backend" domain.
by zozbot234 | 2025-06-01 16:22:54+00:00
> My Amiga 1000 ran rings around the Macintosh with the same CPU, because it had custom co-processors

And the earliest ARM machines ran rings around the Amiga because they had a custom-designed RISC CPU, so they could dispense with the custom co-processors. (They still cost a lot more than the Amiga, since they targeted the expensive education sector. Later on ARM also got used for videogame arcades with the 3DO.)
by raincom | 2025-06-01 16:23:22+00:00
Squat toils + bidet attachment is better than squat toilet and a jug for water. No dispute about that. Sit down toilet + hand held bidet attachment is worse than sit down toilet + bidet inside in the toilet without using hand. My answer was about sit down toilet with hand held bidet attachments; how Indians discovered these hand held bidet attachments.
by r3trohack3r | 2025-06-01 16:24:29+00:00
I think when some people say “self hosting is expensive” they factor in the cost of the engineering talent necessary to successfully sysadmin the setup and ongoing maintenance - and the cost/risk of shopping for and evaluating that skillset to find and retain an engineer that isn’t going to muck the whole thing up.

You can subsidize the cost of self hosting by discounting your time/skill in DIY - and you don’t have to interview yourself.