MurphyA/hacker-news huggingface dataset:
by AgentME | 2025-04-01 19:32:39+00:00
The listeners can be garbage-collected if the `greetings` publisher object and any unsubscribe callbacks are garbage-collectable. This is consistent with normal Javascript EventTargets which don't use weak refs.

If only weak refs were kept to listeners, then any listeners you don't plan to unsubscribe and don't keep that callback around will effectively auto-unsubscribe themselves. If this was done and you called `greetings.sub((name) => console.log("hi there", name));` to greet every published value, then published values will stop being greeted whenever a garbage collection happens.
by famouswaffles | 2025-04-01 19:33:09+00:00
>Reddit is also a great source for recommendations: https://www.reddit.com/r/booksuggestions/ https://www.reddit.com/r/fantasybooks/ https://www.reddit.com/r/scifi/

Not really. Everyone recommends the same 20 books that most have read or at least considered.

Let me give you an example that is real to me. I'd like to - 1. Read a fantasy series that pairs a human male and elf female romantically over the course of the series. - 2. What i'm looking for is to read the challenges of two fantasy races that aren't on very good terms so just being an elf won't really cut it. - 3. I also want a love interest that is a big active character in the story so not just a dozen mentions in a book. - 4. Obviously, i have to like the book(s).

It doesn't even have to be elves, it's just much harder trying to find such recs from a bespoke species.

You would think this would be an easy enough recommendation. Elves are the fantasy race after all and they usually aren't on the best of terms with humans. But it's not.. and at this point, i could give you more obscure recommendations that meet at least requirement 1, than you'd get in the vast majority of reddit threads. I spent months going through general amazon/goodreads recs and goodreads shelves with elves and still came out wanting.

Once you are even a little bit specific, options decay and if they exist, they are hard to find.

Shepherd looks good though
by nasretdinov | 2025-04-01 19:33:15+00:00
I think in general people understand that sync.Pool introduces essentially an equivalent of unitialised memory (since objects aren't required to be cleaned up before returning them to the pool), and mostly use it for something like []byte, slicing it like buf[0:0] to avoid accidentally reading someone else's memory.

But the instrument itself is really sharp and is indeed kind of last resort
by mixmastamyk | 2025-04-01 19:33:23+00:00
> pretty clear from the GPs post that they took steps to integrate

I didn't get that at all.

I'm telling you that I spent all my time with TV, computers, and video games and as a result did not learn how to socialize well until much later. If you think simply knowing the details to a popular TV show is going to win friends, at least in my case you'd be wrong.

If you're a kid that's going to get bullied/shunned, the specifics don't matter. Change them and the bullies will pick on something/anything else they can find.
by wasabi991011 | 2025-04-01 19:34:37+00:00
> I saw a story about a senator that actually cares giving an impassioned speech for hours on end. Remember the times when that actually happened.

You are talking about the Cory Booker speech? I don't see any indication that this is an April fool's joke if that's what you're implying. Otherwise I don't understand what you mean.
by mauvehaus | 2025-04-01 19:35:31+00:00
I was kind of hoping that if you have an elliptical (or false elliptical) arch that there was an architect involved at some point.

I grew up in an area with a lot of corn field subdivisions and McMansions. They tend to have a lot of volume/floor space and incredibly poor detailing. On the one hand, I find it hard to believe that anyone building such a big, cheap (at least in the details sense) home on spec would include an elliptical arch. On the other hand, the kinds of contractors that put them up would likely be the kind that struggled to execute such a design element.

I say this having just been very humbled putting up crown in a bathroom. People tell me it looks great, and I reply that it had sure better considering the two weeks of evenings that went into putting it up!
by alabastervlog | 2025-04-01 19:35:53+00:00
I've found that absurd, gibberish rooflines, and weird, uneven jutting-out bits everywhere, plus garages shoved way out in front (?WHY?) do make the houses look bigger, which may be desirable for a builder.

I've shopped for houses a lot, and after "training" mostly on typical '80s+ suburban houses, noticed that when looking at older houses with saner, calmer designs, I'd have to add 500-1,000(!)sqft to my first-impression guesses at their size to get close, while I'd gotten pretty good at guessing the "McMansion" and mini-McMansion style. The older designs don't look as big, at the same size.
by subroutine | 2025-04-01 19:36:07+00:00
Me checking my inbox at 9:30am...

7:28 New Campus Policy printing now costs 5-cents per page 8:34 Re: New Campus Policy - April Fools! Printing is free. 9:14 Re: Re: New Campus Policy - Printing is still free, for now.

delete, delete, mark spam
by anonymousd3vil | 2025-04-01 19:37:09+00:00
This is probably one of the most redundant project out there, but a RSS reader app designed with Tauri, Sveltekit, Tailwind. I wanted to build this to stay in sync with product development as I don't get to do this a lot in my day-to-day job. I also want to build a game, but it is so much effort. I do wish to pursue it in near future.

https://github.com/rahuldshetty/reader-project/releases/tag/...
by kadoban | 2025-04-01 19:37:48+00:00
Go doesn't really have the draw problem. Scoring is sharper in go, so even with integer komi you don't see enough draws to really be a problem. Only reason you _really_ need non-integer komi is if you're running a tournament or rating system that can't accomodate them at all.

Even on 9x9, like look at GoQuest for example, they must have thousands of game a day at 7 komi and ~nobody complains if there's a jigo, it just means the game was really close.

In chess the problem is just high level play has _so_ very many draws, so it can be worth trying to reduce that.

In go you get a draw once in a while. In chess you get a draw by default and have to really work to avoid it (assuming you're at a level vastly vastly higher than I am).
by yokoprime | 2025-04-01 19:38:54+00:00
This is the reasoning of a young child. How do you even define merit? Nobody, except maybe high level athletes are hired on what can be considered merit alone. To do so, you would have to remove people from the process altogether. Those who hire new talent have to evaluate more than pure results. Maybe they have to chose between two people, one is a rockstar with the results to show for it, but not a team player and puts themself first. the other is solid and dependable, better at mentoring, but with more modest results. Its not a given who will be hired in this case.
by lennxa | 2025-04-01 19:39:11+00:00
Hi short_sells_poo, in Hinduism, afaict you - your soul (Ātman [1]) is stuck in a loop of birth-death-rebirth (Saṃsāra [2]). and this is not good, and you live your life in the best way (Dharma [3], Karma [4]) to attain liberation (Moksha [5]), to be one with the God (Brahman [6]), to end the cycle of rebirths.

Thought you might find it interesting.

[1] https://en.wikipedia.org/wiki/%C4%80tman_(Hinduism) [2] https://en.wikipedia.org/wiki/Sa%E1%B9%83s%C4%81ra [3] https://en.wikipedia.org/wiki/Dharma [4] https://en.wikipedia.org/wiki/Karma_in_Hinduism [5] https://en.wikipedia.org/wiki/Moksha [6] https://en.wikipedia.org/wiki/Brahman
by xxs | 2025-04-01 19:39:43+00:00
>all methods of class Object

finalize() is actually is a very hard mode; I'd not expect any extra senior to be able to explain it properly (incl. the semantics of JMM, the fact half created objects can be finalized; the resurrection ability). Deprecated now, so perhaps no need? wait/notify/notifyAll - easier, still require some practice, also not that useful any longer; but still I'd expect to know not to use a naked notify and how to properly use a loop around wait clone() - it'd be a hard nut for many, and I have seen more than enough implementations that straight out use new XXX(); not very difficult but not intuitive hashCode/equals -> hashCode being by default a random number generator is sort of cool; yes they are the backbone of all collection framework; also the value of the not overridden hashCode() is available through System.identifyHashCode() getClass() - if included anonymous classes, it might puzzle some toString() - finally something easy

---

flip note: the standard templates for intellij could use some work when it comes to the quality of hashCode;
by jane-street | 2025-04-01 19:40:05+00:00
Jane Street | Hybrid | Full-time

If you haven't heard of us before, we’re a quantitative trading firm that cares a lot about technology. This means building elegant solutions that scale well, never assuming that “best in market” is the same as “best possible,” and ensuring everybody has the resources needed to do their jobs well.

We're looking for folks in New York, London, Hong Kong, and Singapore for a variety of roles including, but not limited to:

- Data Engineers who can help us understand, clean, manage and share the data that guides our trading. At Jane Street, having a thorough and accurate understanding of data is at the core of everything we do -- https://www.janestreet.com/join-jane-street/position/6558007...

- Network Engineers to help our Network Security team run, scale, and continuously improve our infrastructure through hands-on operations, testing, and automation -- https://www.janestreet.com/join-jane-street/position/6230456...

- Machine Learning Engineers with robust experience in machine learning and strong mathematical foundations. Machine learning is a critical pillar of Jane Street's global business. Our ever-evolving trading environment serves as a unique, rapid-feedback platform for ML experimentation, allowing us to incorporate new ideas with relatively little friction -- https://www.janestreet.com/join-jane-street/position/6485460...

- Machine Learning Performance Engineers with experience in low-level systems programming to help optimize the performance of our models - both training and inference -- https://www.janestreet.com/join-jane-street/position/7449077...

- Software Engineers who are intimately tied into every area of our business. We are big believers in functional programming, using OCaml, a statically-typed functional programming language, as our primary development language. We also believe in the value of open source software, using it in our daily work and releasing hundreds of thousands of lines of our own code as open source -- https://www.janestreet.com/join-jane-street/position/4274288...
by maxglute | 2025-04-01 19:40:05+00:00
Well TBF they will be likely primarily used to "rescue" marines off suicide deployments in 1IC. Marine haphazardly rebranded themselves into MLR / littoral regiment, AKA NMESIS missile battery uber drivers for Pacific theatre to stay relevant. But anyone with half a brain saw how proposal was not sustainable one way mission for crayon eaters. 12 passengers + 3500lb cargon won't reinforce much, i.e. replenish couple Naval Strike Missiles... but likely just supplies to keep the people going, but more realistically it's good for evacuating whose left + body bags because region is going to be saturated with PRC fires. This glider proposal is consoling marines MLR that yes, their rebranding / new conop/conemp isn't terminally stupid, there is an exit plan after hopefully the NMESIS squeeze off their shots, assuming they survive PRC drones/missiles etc.
by znpy | 2025-04-01 19:40:58+00:00
> You would be amazed how many battery packs are multiple 18650s in a trenchcoat

Also laptop batteries used to be many (usually three or six) 18650s in a plastic trenchcoat.

You could literally rebuild your battery when it died, and pick the cells you liked the most. In theory you could pick higher-quality cells than those you find in the batteries sold on ebay from chinese stores. In theory.
by 110bpm | 2025-04-01 19:41:22+00:00
`async` is F#'s original implementation of async programming. It is the precursor to C#'s await/async.

`task` targets the .NET TPL instead, which is also what C#'s await/async and all of .NET *Async methods use.

While the `async` implementation still offers some benefits over `task` (cold vs. hot starts [0]), my advice is - if you're doing backend code on .NET, you should use task. The tigher integration with the .NET ecosystem & runtime results in better exception stack traces, easier debugging and faster performance.

[0] https://github.com/TheAngryByrd/IcedTasks?tab=readme-ov-file...
by ianprayvine | 2025-04-01 19:42:22+00:00
Prayvine | Lead Software Engineer (Full-Stack) and Ministry Partner | REMOTE | Non-profit faith + tech startup | https://www.prayvine.org

At Prayvine, we build software for mission workers who feed the hungry, care for the sick, and plant churches around the globe. Our mission is to fuse the power of prayer with the power of technology to facilitate God’s loving work in the world.

Prayvine delivers a secure prayer request communication platform as a cloud service, currently implemented in a multi-tier web application with email notifications. The core technology stack features Go (Golang), HTML/Javascript, PostgreSQL, and nginx running on Linux in hosted Docker containers and using Amazon Web Services (e.g. SES, SNS).

As Prayvine’s Lead Software Engineer, you will be responsible for defining and implementing the organization’s overall technical strategy. You will develop, test, release, and maintain applications and features to better serve our users. In parallel, you will manage and optimize our cloud infrastructure and deployment pipelines to ensure high reliability, scalability, and security. As a trusted ministry partner to the founder/CEO, you will have a key voice in shaping the future of our strategy, organization and product.

Full job description and apply here: https://learn.prayvine.org/jobs/lead-software-engineer/
Show HN: Automating Corporate Governance
by nablags | 2025-04-01 19:42:28+00:00
Today, we're breaking the status quo and revolutionizing corporate governance with CeoGPT.

CeoGPT is our flagship, 3 quintillion parameter LLM meant to replace the CEOs. Our model has been trained on interviews, books, and tweets from the greatest thinkers and leaders such as: Adam Neumann, Charlie Javice, Elizabeth Holmes, Jack Welch, Jeffrey Skilling, Martin Shkreli, Sam Bankman-Fried and many more.

As we were brainstorming in the lab, we found ourselves confronted with one of society’s biggest dilemmas. After AI has replaced workers, artists, and even our friends and family, what does we do?

We were stuck in the lab, ideating and when our revelation hit. Our mission will be complete when we replace the last human: the CEO.

Enter CeoGPT, a cold, calculating, cruel algorithm that’s designed to do what human CEOs can't: run on electricity.

At the low price of 1,400 USD per hour, CeoGPT costs less than the median salary of a S&P 500 CEO. No more relying on inconsistent, reckless executives. Now CeoGPT can make these mistakes for us.

Ready to experience the future of leadership? Try CeoGPT here: https://ceo-gpt.com
by 0xbadcafebee | 2025-04-01 19:42:31+00:00
I can call an ink pen "a sword". I can even justify this by saying some nonsense like "pens are used to wage war". But if I rush headlong at a Samurai with nothing but a Bic Rollerball, I should not expect to come out of the encounter with all my limbs, much less the expectation of injuring the Samurai. Just calling it "a sword" doesn't mean it has anything to do with an actual sword.

"Tech debt" isn't debt. It has nothing to do whatsoever with the concept of debt. What people mean when they say "Tech debt" is really "I'm putting off work I know I should be doing now, until later, and I'm doing something else instead that I know I'lll need to undo" That's not debt. That's procrastination. That's delaying the inevitable. It ain't debt.

You don't pay off a car loan with procrastination. You don't decide to put off painting your house and then call that a loan.

"Tech debt" has nothing to do with interest, with a lienholder, a creditor, a payment plan, etc. There is nobody to call in the loan. There is no incremental payment. There is no credit. There is nothing whatsoever to do with the entire concept of debt, much less any of the actual practical real-world implications, actions, or actors, behind debt.

Please let's stop perpetuating this cargo cult myth. There is no such thing as "tech debt". There is only compromises and procrastination, and justifying regrettable decisions by pretending there's a good rationale for them. There isn't.
by Workaccount2 | 2025-04-01 19:42:44+00:00
The "actual engineering" you are referring to is a $1.00 BMS board.

We are well past the point where we should have standardized batteries. We have bunch of standardized wall outlets that accommodate an array of "non-zero chance of literally killing your users" end products. No reason for battery packs to not be standardized (other than vendor lock in).
by mrguyorama | 2025-04-01 19:42:48+00:00
Anyone who has been in a YC batch gets a special magic "Orange" name tag on HN that anyone else with an orange name tag can see, and we, the proles, cannot.

This site is an advertisement for YC, and was built primarily for mindshare. "Growth hacker" types that started YC and built HN and spun off Reddit don't build things "for fun" if there is profit to be made.
by gorbypark | 2025-04-01 19:42:50+00:00
Pretty neat! I’m currently working on a project that uses an ESP-C6 that just exposes a “switch” over matter/thread thats based off the results from the Spanish electricity prices API. The idea is have the switch be on when it’s one of the cheapest hours of the day, and off otherwise. Then other automations can be based on it. This was pretty trivial to do in home assistant but I want something that’s ultra low power and can just be completely independent of anything for less technical users. My end goal is to have a small battery powered device that wakes up from deep sleep once a day to check the day ahead prices via WiFi. The C6 might be overkill for this, but once I have a proof of concept working I’ll try and pick something that’s ultra low super ultra low power. Something that needs charging once or twice a year would be ideal.

The ideal form factor might be a smart plug itself, but I can’t find any with hackable firmware and also matter/thread/wifi.
by lexlash | 2025-04-01 19:42:56+00:00
I've introduced mithril at three different companies to audiences of non-UX engineers and it went well each time, resulting in small, static, API-driven single page applications. For my Software Engineering class, I'm able to get the basics across in a day and let students iterate without having to set up build tools for them. Huge fan.

React seems to be a self-perpetuating ecosystem at this point, and I keep reading about the next framework-of-the-month being tied to a specific vendor or having an uncertain future with funding/bugs/forks.

https://mithril.js.org/
by Shared404 | 2025-04-01 19:43:11+00:00
Location: Central US. Remote: Yes, travel ok, flexible timezone Willing to relocate: No Technologies: Linux, *BSD, Docker, Ansible, Technical Writing, Scripting (Bash, Python) Resume/CV: https://a-shared-404.com/hire-me/resume/Evan_Hoose_Resume.pdf Email: Available on my resume.

I'm a Systems Engineer with six years of experience managing Linux and UNIX boxes. I am open to any work not involving generative AI, and would love to work with a non-profit or a purpose driven company that I believe in.
by kimixa | 2025-04-01 19:43:24+00:00
FYI AMD also has similar "accelerators", with the 9070 having separate ALU paths for wmma ("tensor") operations much like Nvidia's model - older RDNA2/3 architectures had accelerated instructions but used the "normal" shader ALUs, if a bit beefed up and tweaked to support multiple smaller data types. And CUDA cores are just what Nvidia call their normal shader cores. Pretty much every subunit on a geforce has a direct equivalent on a radeon - they might be faster/slower or more/less capable, but they're there and often at an extremely similar level of the design.

AMD also have on-die microcontrollers (multiple, actually) that do things like scheduling or pipeline management, again just like Nvidia's GSP. It's been able to schedule new work on-GPU with zero host system involvement since the original GCN, something that Nvidia advertise as "new" with them introducing their GSP (which just replaced a slightly older, slightly less capable controller rather than being /completely/ new too)

The problem is that AMD are a software follower right now - after decades of under-investment they're behind on the treadmill just trying to keep up, so when the Next Big Thing inevitably pops up they're still busy polishing off the Last Big Thing.

I've always seen AMD as a hardware company, with the "build it and they will come" approach - which seems to have worked for the big supercomputers who likely find it worth investing in their own modified stack to get that last few %, but clearly falls down selling to "mere" professionals. Nvidia, however, support the same software APIs on even the lowest end hardware, while nobody is likely running much on their laptop's 3050m in anger, it offers a super easy on-ramp for developers - and it's easy to mistake familiarity with superiority - you already know to avoid the warts so you don't get burned by them. And believe me, CUDA has plenty of warts.

And marketing - remember "Technical Marketing" is still marketing - and to this day lots of people believe that the marketing name for something, or branding a feature, implies anything about the underlying architecture design - go to an "enthusiast" forum and you'll easily find people claiming that because Nvidia call their accelerator a "core" means it's somehow superior/better/"more accelerated" than the direct equivalent on a competitor, or actually believe that it just doesn't support hardware video encoding as it "Doesn't Have NVENC" (again, GCN with video encoding was released before a Geforce with NVENC). Same with branding - AMD hardware can already read the display block's state and timestamp in-shader, but Everyone Knows Nvidia Introduced "Flip Metering" With Blackwell!
by jampekka | 2025-04-01 19:43:26+00:00
The proposal was to (re)nationalize some infrastructure sectors like energy grid, water, rail and mail. Nationalizing these is a very popular policy. There was also proposals for multiple stakeholder boards in these companies, including some worker representation. Worker representation in company boards, including large private companies, is mandatory in e.g. Germany. Calling this as establishing effectively soviets is quite a take.

The separate "right to own" proposal was an option for workers to buy the company in case of it being sold or dissolved. Similar laws exist in e.g. Italy and in some US states. There was also a proposal for public financing for worker coops, which is also in place in many countries.
by znpy | 2025-04-01 19:43:49+00:00
> When battery packs that have a non-zero chance of literally killing your users are commonplace, it actually does make sense to vendor-lock the battery.

Linus from Linus Tech Tips made a few episodes on building a battery out of individual 18650 cells, and one of the thing he stressed (as in, underlined) a lot on is that spot-welding cells is extremely dangerous and there aren't easy ways to put out a lithium fire.

Water is not only not going to help you, it's going to make things worse.

You __have__ to have a bucket of sand with you and if anything goes even slightly wrong you just toss everything in the bucket of sand and bring the whole bucket outside.