skysight-inc/HackerNews huggingface dataset:
You are, I think, too focused on the transwoman part of it, and leaving how how the group also wants to exclude bisexual women (including non-transwomen) from public events.

Why should an anti-discrimination law allow a lesbian group to exclude bisexual women (trans or otherwise) from a public event?

If you think that's okay, then you are fine with gender discrimination. If you think that's an issue, then apply the same logic to transwomen.

You should bear in mind a few comments from the link to the previous reporting, https://www.theguardian.com/australia-news/article/2024/sep/... :

> But Dr Daye Gang, the commission’s counsel, said taking trans women out of the protections of the SDA was a high bar to meet.

> She said every group under the SDA was guaranteed the same bundle of rights and there was no “hierarchy” of protected groups. “This is not a contest of who is most marginalised,” she said.

as well as:

> The tribunal heard that there were many subsets of lesbians, some more exclusionary than others.

> Dr Elena Jeffreys, a sex worker advocate and academic, told the tribunal that lesbians who believed transgender women were men, were not a large group.

Why should one marginalized group get to discriminate against another marginalized group for public events?

Since most of those who are "female and homosexual" regard transwomen as women, you really shouldn't use the broad category of "female and homosexual" to justify discrimination against transwomen at a public event.
DaisyUI
Reminds me of Transport Tycoon bug where extra multiplication caused big cities to generate absurd number of passengers. Only few years ago it was fixed (as option) in OpenTTD.

Fascinating how it went under the radar for 20 years and survived reimplementations, unlike other glitches such as signed wraparound for negative money.
I just add the websites I try to avoid to my hosts file (e.g. /etc/hosts):

127.0.0.1 facebook.com www.facebook.com
Are there any good open source cursor alternatives?
I just tried cursor and it's not bad, but I would like to use something like this on a pay per use basis with my own claude or chatgpt api keys.
Show HN: Print-less debugging of Python code
I got roasted bad on r/Python for posting this toy project so I wanted to see broader responses.

pled is a library that traces your Python program's execution with zero instrumentation code.

Just run your module/function using pled's executor and it will collect runtime data at special tracepoints like function entry, exit, etc. and generate a report in JSON or sequence diagram.

It's like pdb/logging/PySnooper without bothering you to set up and clean up debug code.
Show HN: Nodify – I built this because folders are where notes go to die
I was frustrated with how my notes became digital graveyards, so I built Nodify in my spare time. It automatically generates knowledge graphs from live meetings, research PDFs, and YouTube videos.

Free, Open source (MIT) and uses Whisper API for transcription.

Built with Node/Vue/Electron. Would love feedback from fellow makers.

All data is stored locally and your OpenAI key is encrypted and never stored in the cloud. It is a locally running Electron app.

Demo: https://nodify.app/
Repo: https://github.com/appliedUI/nodify
> Our nightly CI machines run on Amazon AWS, which has the advantage of giving us a real, uncontainerized root user.

> We don’t have the necessary files outside of the container, and our containers are quite minimal and don’t allow us to easily install gdb.

Have people lost the ability to build and debug their code locally, without clouds and containers?
Exactly. What's the big idea to be strong and stable when you have no respect whatsoever for human lives? You can just kill the competition!

Sacha Baron Cohen's The Dictator is a piece of art that demonstrates this absurdity in the best possible way.
In my head that feels like triaging but idk people really be patching bugs without reproducing? That sounds crazy to me idk why

I've never worked at a place that had local dev used to think computers hated me but wondering if this is better dev practice in general
What fascinates me about this is this is what dreams are like. The human brain tries to loosely predict reality, leading to object impermanence and all kinds of trippy weirdness we call dream logic.

It’s also why writing good fiction is hard. You have an idea and try to put it down and it’s a mess because your idea is just a loose prediction of what you want to achieve. Then it has to be thought out deliberately or the edges don’t meet up. I’m sure the same goes for painting, etc.
Teams selecting someone to speak for them is voters selecting a representative. Different representatives for different committees isn't unusual. A rotating representative is similar to a rotating president or sortition.
Previously: The business of gutting failed Bay Area tech companies – https://news.ycombinator.com/item?id=42107870
> It isn’t much of an in-app purchase machine

Did you see TikTok live?
This is the most painful bit of REST for sure.
yeah, its a very blurry line (like the overall separation and balance between client and server roles anyway).
When the cultures and worldviews are too different the integration hassles are not worth it.
True, but only when you login with your Apple account.

Which kind of defeats the purpose for some parts
uncontended mutexes are very cheap but not free. lock cmpxchg has way higher latency (and coherency traffic) costs than a simple move or (xchg). Java had lock elision, effectively trying to solve the hardware problem in software back in mid 00s. There are optimizations to be made it running on a single core (no need for the lock), e.g. docker with taskset
I was going to say, I'm sure Desmond Dene has sheep there.
I'm scratching my head here. HATEOAS is the core of REST. Without it and the uniform interface principle, you're not doing REST. "REST" without it is charitably described as "RESTish", though I prefer the term "HTTP API". OpenAPI only exists because it turns out that developers have a very weak grasp on hypertext and indirection, but if you reframe things in a more familiar RPC-ish manner, they can understand it better as they can latch onto something they already understand: procedure calls. But it's not REST.
It's safer to not ingest any poison. You don't extinguish fire with gasoline because kerosene might be worse. You don't eat rat poison because fentanyl would be worse. It's a false dichotomy.
Update: they responded to my disclosure with a canned response "there was not enough information to answer your question, please go through our contact form again". I guess that's an invitation to publish.

So here is the primer:
the Belgian National Lottery used to be e-lotto.be. They decided to change (in French) to loterie-nationale.be. You might notice that in Belgium lotto has 2 T, same for "lottery" in English while the organization is "Loterie Nationale" with 1 T.
They didn't register lotterie-nationale.be. I suggested it to them, got ignored. So I did it. If you go there now, you'll get a banner informing you about your mistake. I have a couple of victims every day, a lot more on Friday 13 etc.

There was a recent scandal that our former Finance Minister is accused of money laundering 800,000€ through that platform, so it's not a small website.
There's a way to phrase this comment better, which reflects sadness on the facts of the market, and isn't a kind of attack on the author.
It may work for top, but not ps among others. The only reliable way is clobbering argv. That's just the way it is. In my opinion, glibc should finally provide setproctitle(), so programs like postgresql or chrome (https://source.chromium.org/chromium/chromium/src/+/main:bas...) don't have to resort to argv hacks.
Why the next energy race is for underground hydrogen
It is quite funny to me to see that the author first states that high computational costs is among the main challenges for solving PDEs, and then carries on by modeling the heat equation using PINNs.
The center of the city has just as much (or more) to do with vibes than physical geography.
> For example, they used multiple threads and a whole OS, when a simple loop would've been sufficient, perhaps in a misguided attempt at trying to keep the UI "responsive"; there would not be any race conditions if everything ran in the same thread.

Of course, there are also high-profile computer errors caused by UI unresponsiveness (in combination with inept programming).

Here in the UK a bunch of post office employees were convicted of fraud when they'd done nothing wrong, due to a computer system with hundreds of bugs.

"One, named the “Dalmellington Bug”, after the village in Scotland where a post office operator first fell prey to it, would see the screen freeze as the user was attempting to confirm receipt of cash. Each time the user pressed “enter” on the frozen screen, it would silently update the record. In Dalmellington, that bug created a £24,000 discrepancy, which the Post Office tried to hold the post office operator responsible for."

https://www.theguardian.com/uk-news/2024/jan/09/how-the-post...
> the first step in our research towards more complex interactive worlds

As we know, object permanence is not really needed in any videogame, so this makes sense. It's also easy to add in, they just didn't do it because they didn't feel like it.

Snark aside, not sure what that is supposed to mean. This isn't interactive in the same sense that games are, its not a world because it doesn't have any properties of a world, its just a video generator you can steer with keys. Cool, but not what we would call an interactive world
Though I appreciate the effort you put into your response, I think you're quibbling and missed the point.

His qualm is with companies developing what amounts to a good demo (whether you call it MVP, prototype, Beta product, etc), validate their hypothesis but then call it a finished product.
Validation is supposed to be just that, validation. Instead he's arguing companies call that initial validation market success, then relabel the demo a working product, warts and all.

And, you're correct in saying the Vision Pro didn't flop because it wasn't developed properly. It flopped because no one wants what it has to offer, and that's a different problem from what the author describes
Yes. It’s shocking just how much cloud SaaS has distorted peoples understanding of things. You need all kinds of layers of cloud complexity and deployment to do the most trivial stuff. We have 100% reversed the PC revolution and returned to the era of clunky expensive mainframe computing.

The reason is that cloud is where all the money is because cloud is DRM. Put software there and you can charge a subscription and nobody can evade it and you have perfect lock in forever. People usually can’t even get their data out. You can also do all kinds of realtime analytics conveniently to optimize your product.

Computing architecture is downstream of the business model. Mainframe died originally because there was no Internet and PCs were cheaper, but vendors also lost a lot of their lock in power. Now they have a way to bring a model that is much more profitable back. No more pesky freedom for users, who to be fair if given such freedom will often just refuse to pay, making quality software a non-viable business.

Tangent I know.
Is this news? Reddit's owners and mods hate Elon Musk for the most part, and they've never qualms about boosting their politics by changing the app and sandbagging the opposition.
using copy on write would be easier (and more performant), along with getenv_r. POSIX requires not to copy the data which makes the entire mutex/lock or CoW pointless. Of course, there will be the mandatory mentioning of "extern char *environ;"[0]. That returns are raw C strings as you can find them.

What could work is per thread env. changes - but that's not likely to happen

[0]: https://linux.die.net/man/3/environ
The kids teased me so much for trying to build an obsidian generator. Almost the whole game was new for me.
Guess it's another Azure outage....
As someone who isn't familiar with the norms of this community, the first few posts were somewhat surprising. I mean to say, they were overtly sexual and public. I have many trans friends and gay friends so I'm not saying I've never heard terminology like that, but it was usually in a closed conversation. I wonder if those are spam comments? It would be interesting to hear how you plan to guard against people who will probably see this as a good place to hunt for vulnerable people. I'm interested because I thought this might be a good place to help find ways to support my friends in an awful time. But I am not sure I would want to participate in the community just given the first few posts I saw.
Should the work of women be on that list for the sole reason that they are women? There are many more men who have written papers far influential than the ones you've mentioned yet they didn't make the list. If you believe in equality, then you have to believe that the work of people who happen to be women can compete on their own merit. The absence of women in that list isn't necessarily evidence of bias as implied in your remark.
Minecraft has been around for more than 15 years, and the game was already fully recognisably itself by around 2012. There's 13 years of additions that will always feel mostly unnecessary to many players.
For local development, yes. But I see that almost never done in production settings, especially with containerized workloads. Is there a neat way to do it in Kubernetes?
As a long time DG reader, this is both really on brand and completely novel.
Excuse my ignorance but why does it look so complicated and unnecessary? What exactly does it improve over lets say PHP or Rails or whatever?
> With tailwind, just add 2 classes, done.

But you can do that with a library of SASS mixins as well.

Going through some of the answers I'm noticing that another "issue" I have with the tailwind approach is that it works by providing a post-processor when in reality most people just need a simple preprocessor and macro system.
Same. Been doing this for 20+ years. I’ve worked at companies whose names are recognized and respected. My current Tailwind project is by far the most maintainable one I’ve worked on when it comes to CSS.
Hahaha how do you like the weather they're controlling?
Frontend Case Studies: learn about FE development in world-class companies
In the US you cannot exclude people from a public event based on sex, race, national origin, and a few other characteristics. (The full list depends on the location.)

On the other hand, if you want a white-only private club, that's well within your right.

As I read it, the Australian law is similar. From https://humanrights.gov.au/our-work/legal/legislation#sda :

> The Sex Discrimination Act 1984 protects people from unfair treatment on the basis of their sex, sexual orientation, gender identity, intersex status, marital or relationship status, pregnancy and breastfeeding.

Would it be weird to want to exclude pregnant women from a public event?

What about preventing unmarried people?

Friends of mine organized a Valentine's Day party that was only for single people. That's a private event, so legal. As I read understand it, an Australian bar couldn't have a public Valentine's Day party with the same restrictions.

The same law, it would seem, prohibits banning bisexual women from a public event organized by a lesbian group.
I've always looked at this a bit differently. For me the last 20% is fulfilling, but it's also a grind.

In a software job I rarely have to do that to get paid, I can spend most of my days on the easy stuff that gets far enough. The pay is good enough that I can spend my time outside of work doing what I want and put in the effort to grind through the last 20% and really feel proud if the end result.

This may be why so many software developers gravitate to wood working. If you have the time to put in the effort for that last 20% its very noticeable and satisfying.
I managed to train Facebook out of showing me ads.

It took about two years of monthly clicking on "I don't want to see content from this page again" for it to stick, but now I haven't seen an ad in forever. Either I exhausted all companies in my area that advertise with Facebook, either the algorithm has stopped showing them to me.
SAP, Samwer brothers and many people related to Rocket Internet, Frank Thelen and his buddies, Philip (PIP) Klöckner, …

q.e.d.
...and money, apparently? How do you pay for all this in high school?
I had to write (heavily improve? I don't remember) the React Native guide when I release my first RN app there (non RN apps were easy). Though I assume/hope things are better now?
Isn't it possible to write it in Zig as a separate extension? Every mature language I'm aware of supports this AFAICT
Hacking Subaru: Tracking and controlling cars via the admin panel
Yeah this is the way, I mean if the spec already exists it makes sense to go spec-first. I went spec-first last time I built an API because I find most generators to be imperfect or lacking features; going spec-first ensured that the spec was correct at least, and the implementations could do the workarounds (e.g. type conversions in Go) where necessary.

That is, generate spec from code and your spec is limited to what can be expressed by the code, its annotations, and the support that the generator has. Most generators (to or from openapi) are imperfect and have to compromise on some features, which can lead to miscommunication between clients/servers.
Binary search and efficient sorting algorithms is pretty important.
> Does anyone actually use Paxos in real life?

Yes, it's very widely used at Google through Chubby, which underpins many core pieces of infrastructure, including name resolution. (It used to be common practice to depend more directly on Chubby for synchronization of state via shared global files, but that fell out of favor about 6 years ago due to reliability risks associated with just blasting out changes globally without any canarying.)

https://en.wikipedia.org/wiki/Paxos_(computer_science)#Produ... lists a bunch of other use cases (notably, Google's Spanner and Amazon's DynamoDB).

> And let me ask the same question for all other academic distributed algorithms right away.

Raft (designed as a more understandable alternative to Paxos) is more commonly used, as I understand it.

https://en.wikipedia.org/wiki/Raft_(algorithm)#Production_us...

> I recall seeing a study some 10 years ago checking the major cloud providers for Byzantine fault tolerance and finding none of them to exhibit the qualities that the known algorithms would guarantee.

I'm curious which study you're referring to. I could believe that while Paxos might be used as a building block, it might not be used in a consistent manner throughout.

Also, note that not all of the variations of Paxos handle Byzantine faults.
By the way, you can tune boot times further. My print server board boots in 8 seconds to Debian 12 (bootloader + kernel + userspace).

1. Make sure the bootloader (u-boot) loads the kernel as fast as possible.
- Disable automatic Ethernet/USB/other subsystems initialization (you can keep them enabled, just don't activate unless requested in the shell manually by the user)
- Tune `distro_bootcmd` command
- Make sure that MicroSD/eMMC/SSD works full-speed (with proper clocks and speed protocol)
2. Use fast decompression algorithm for the kernel and initramfs
- It's either zstd or gzip
3. Collect boot file access data and sort the files on the filesystem
- The benefit in near-linear access & read-ahead

I'm pretty sure that the current 20 seconds could be shrunk down to 14 or so.
that's gonna do so much damage to burndown-charts worldwide.
Fats are definitely the easiest way to mess up counting, especially when a lot of people can't compute not cooking without oil/butter.

If the goal is losing weight, I found that maximising volume (e.g. Minimising calory density) works wonders for me. I am used to being full before feeling satiated (mostly upbringing I guess), so this is my trick.
Using 2 Editors Because Xcode Is Dumb
There's a part of me that still sees it as BSkyB, the old corporate name for the UK's largest satellite television network
Went all the way through the article to be surprised at you saying:

> I ran out of time

And then realized this was a ... high school project!?

Way to go, amazing work!
The words "senior project". Which, fair enough, might mean different things in different parts of the world.
In college Intro to CS was taught with Racket (a lisp) and we even had to write code with pen and paper during our exams. Got really good at quickly visually matching parentheses which is still helpful to me today in non-lisps. (But given that the handwritten code would never be run, you could also just fudge it and write a bunch of )))))'s at the end and hope the TA grading it wouldn't count them either)
this is nice, i love chinese free products haha
The problem is there are no good long term prospects.

For example, you might get a job at a research institute or at government funded startup and gain experience working with cutting edge technologies. The pay is mid, but you don't care because you are gaining experience. Then your contract ends. The private sector cannot make use of your experience. So you have to pivot to programming CRUD webapps or you emigrate, or you get another public sector contract with the corresponding public sector salary.
Turn it over to the NSA and CIA assuming they will play nice together. NSA to figure out who is doing what given they likely already know and CIA to be the sharp end of the stick assets already in country.
GP likely meant investigators instead of instigators
Looking forward to the postmortem over this outage.

OpenAI has really gotten terrible overtime with maintaining uptime with the likes of Google or Meta. Perhaps it is this pervasive lack of experience with site-reliabililty engineering that is missing at OpenAI.

But once again, local modals such as DeepSeek-R1 don't need this sort of waiting or multiple outages.
Append-only writes are actually amazing, having several processes writing into the same file and have their writes interleaved instead of destroying each other is almost impossible to re-create in the user space.

And I still don't understand why processes "modifying their own envp or argv" are met with such revulsion in this comment thread except from the "I dislike that on ideological grounds" reason. Now, the ability to modify envp and/or argv of other processes while those are running, yes, that's a horrible idea. But modifying your own internal process state?

Oh, and fcntl file locks are horrible for the historical reasons: basically, when POSIX (or its predecessor?) were trying to decide on a portable interface, the representative of one of the vendors cobbled together this API and its implementation in a week or two, and then showed to the meeting with it. To his surprise, instead of arguing everyone else basically said "eh, looks fine", and that was it, we now have broken "why on earth does close()/fork()/exec() interact with locks like that" behaviour.
Would you sit in such a "haunted" chair if you're just launching your own startup though?
Who said anything about not reproducing?

It just takes a lot less time to reproduce if you have some logging in production... and some people seem to believe that's not needed.

And if you have logs, you may not need to reproduce it because said logs give you all the info you need.

Disclaimer: circumstances may vary. A bug is a bug is a bug and you may solve it by reading one log line, or you may spend a week with a debugger in your development environment and it will still crash in production when you deploy the fix.

Happy now?
Hiring Cafe
I hadnt checked it out in a while, but it seems to support OPDS now which is nice, I can browse my ebook library remotely now