MurphyA/hacker-news huggingface dataset:
by chriswarbo | 2025-04-21 06:42:07+00:00
One straightforward approach would be:

- Generate a random number N for the size (maybe restricted to some Range)

- Generate N `Char` values, by using a random number for each code point.

- Combine those Chars into a string

falsify runs a generator by applying it to an infinite binary tree, with random numbers in the nodes. A generator can either consume a single number (taken from the root node of a tree), or it can run two other generators (one gets run on the left child, the other gets run on the right). Hence the above generator would use the value in the left child as N, then run the "generate N Chars" generator on the right child. The latter generator would run a Char generator on its left child, and an 'N-1 Chars' generator on its right child; and so on.

To shrink, we just run the generator on a tree with smaller numbers. In this case, a smaller number in the left child will cause fewer Chars to be generated; and smaller numbers in the right tree will cause lower code-points to be generated. falsify's tree representation also has a special case for the smallest tree (which returns 0 for its root, and itself for each child).
by doubtfuluser | 2025-04-21 06:42:36+00:00
> Intellectually many want this. But the feed shortcuts our reptile brain and gains more engagement minutes / day.

I’m not sure if that’s actually a “shortcut” to the reptile brain and it’s just about “I have to scroll more to get stuff I’m interested in. At least for me it feels like that and it causes me to use these social media things far less.

For me it feels more like intermittent rewards vs full rewards at once. Obviously for the ad-industry the intermittent rewards are more useful, that’s why we can’t have nice things
by thayne | 2025-04-21 06:42:56+00:00
1. Most people don't actually read long EULAs. And who can blame them? We have been trained not to read them, and if you do, you are spending a significant amount of your life on a tedious and frustrating endeavor.

2. If you do read it, it is a long document in difficult and intentionally misleading legalese, where you can easily miss something.

3. If you don't agree to the terms, and return it, does the company pay for the shipping? Even if they do, you have now wasted a fair amount of time on this product you won't actually use.

4. Depending on the product there may not be anything on the market that has an acceptable EULA. In part due to the fact that few enough people read the EULA that companies can afford to lose business from the people who do.
by disentanglement | 2025-04-21 06:43:06+00:00
> However, "macros" are a disaster to debug in every language that they appear.

I have only used proper macros in Common Lisp, but at least there they are developed and debugged just like any other function. You call `macroexpand` in the repl to see the output of the macro and if there's an error you automatically get thrown in the same debugger that you use to debug other functions.
by SantiagoVargas | 2025-04-21 06:45:40+00:00
Right, we ping the servers every minute. Since we charge a one-time fee the credits expire after a year, but the service is scaleable. To answer your question I'll give you some more context:

The architecture uses scalable AWS serverless components (Lambda, SQS, DynamoDB) and is well-suited to handle a large increase in monitored endpoints. The primary scaling mechanism is the automatic concurrency scaling of the Lambda functions processing messages from SQS queues. Should we scale to 10,000 endpoints we do expect some bottlenecks that would require optimizing i.e. increasing lambda timeouts/memory etc. but we'll cross that bridge when we get to it.

For the actual sms sending our numbers can send up to 100 sms texts/second.
by WalterBright | 2025-04-21 06:46:02+00:00
I remember TV remotes in the 60's that had tuning forks embedded in them. Pressing the TV remote button struck a tuning fork, and the TV picked up the sound. Wild!

The sound feedback from the machines is still ahead of our time.

I dearly love the hotel room at the end. It's so creepy. I wondered why for a long time, and finally realized it was because it was lit from the floor rather than the ceiling. If I owned a hotel, one of the rooms would be like that! Haha!
by phire | 2025-04-21 06:46:18+00:00
In many countries, the consumer protection laws are strong enough that consumers probably can return such appliances, as long as the facts about app requirements weren't made abundantly clear to them at the store.

Though, it's usually the store who's responsible for that refund, not the manufacturer . Still, stores are motivated to reduce return rates and will put pressure on manufactures to not do stupid things.
by monkeywork | 2025-04-21 06:48:09+00:00
>abortions _are not_ (the only affect those having them, and potentially the medical professionals).

Strong disagree. They affect at minimum 2 (potentially 3 depending how you define life/person) by default. Both the parents are impacted by the choice either physically, emotionally, financially, and responsibility.

Situations where the two parents conflict on this choice are common and the power is incredibly asymmetrical and can/does lead to abuse.
by inopinatus | 2025-04-21 06:48:34+00:00
My vote could be swayed by a policy platform making it not merely forbidden, but outright criminal, to market software and hardware that cannot function without assignment of a user id. Everything from drones to games.

In many cases this would thoroughly annoy certain authoritarian regimes that are normalised as totalitarian surveillance states. Their exports would be disrupted. What a pity.
by mirekrusin | 2025-04-21 06:49:53+00:00
Severity in majority of library functions is undecidable, it’s decidable at the call site instead. That’s why language should be providing sugar to pick behaviour - exceptions (propagate as is, optionally decorate/wrap), refute (error value, result type), mute/predicate-like (use zero value, ie undefined in js/ts).
by whatnow37373 | 2025-04-21 06:50:48+00:00
I can’t help but notice how all those points are centered around you being the bearer of truth and others being the source of dismay.

While these may be easy ways to avoid exposing yourself to sources of discomfort it might also not be a bad idea to learn how to deal with confrontation and dissonance in a productive manner.

Besides being contrarian, I am nothing if not that, I honestly think our society at large will benefit from learning how to deal constructively with opposing perspectives and mindsets - assuming we ever get to that point.
by d1sxeyes | 2025-04-21 06:50:48+00:00
The “like” button killed genuine engagement, and made Facebook an exercise in lever-pressing. The problem is that in a lot of cases (not all), those stupid remarks and outrageous influencers are being “liked” and “reposted” by your network in order to gather reflected glory and dopamine hits.

A social network is no better than the sum of its parts, and to create something really worthwhile, you have to limit what people are allowed to post (original content only, for example).

Doing that at scale I think is very hard.
by milesrout | 2025-04-21 06:51:19+00:00
The result of a purely chronological feed is that you have to scroll through 10 posts from the same person and never see anything from people that post good content rarely.

Plenty of people like and enjoy "algorithmic feeds". I can enjoy occasionally scrolling through a feed. Banning it is like banning alcohol because there are alcoholics in society.

If you can't handle it, switch it off.
by ben_w | 2025-04-21 06:52:06+00:00
I am very confused by your response. I listed a bunch of different *common* definitions of "what is a woman" and showed that *all of them have flaws*. It's the idea of "common sense language" that I'm opposing here, because the reality is much more interesting than such simple definitions.

I am also not labelling *you* transphobic at all. It was quite obvious that you are not, even before you stated you are a trans woman. Fun fact: myself, gender fluid. (Huh, first time I've said that in a pubic forum with my name on it…)

When I wrote:

> Quite a lot of transphobes focus entirely on women, thus ignoring how their own rules end up forcing trans men to end up in women's-only spaces.

This sentence is not about you. It's a much more general observation, noting what is wrong with *the public discourse*, specifically that transphobes insist on certain definitions which end up with outcomes that they themselves are dissatisfied with.

> RHPS

While I also watched the Rocky Horror Picture Show in my teens (late 90s), that film (1975) predates me by so much, I wasn't sure if they used "transvestite" to mean "cross dressing" or "transgender". Where I first used the word "transvestite" to your objection, I meant specifically what is also called "cross dressing", because I was talking about *outward appearance in public*, and clothes are the outward appearance in public.

That and hair, I guess. My hair is long enough I've had at least one straight guy get half way through a wolf-whistle before noticing a beard. At least, I assume they were straight, given the appearance of a beard was simultaneous with them stopping.
by bigbacaloa | 2025-04-21 06:52:10+00:00
These percentages are similar to those that one sees for alcohol consumption or problematic gambling.

The business model of the casinos and the drug dealers and the alcohol venders is the same - you need a huge pool of unproblematic recreational users to find the problematic users who generate the bulk of your profits.

The same model works for video games and social media.
by justinclift | 2025-04-21 06:52:39+00:00
I have a homelab with a bunch of old HP Gen 8 Microservers. They hold 4x 3.5" hdds and also an ssd (internally, replacing the optical slot):

https://www.ebay.com/itm/156749631079

These are reasonably low power, and can take up to 16GB of ECC ram which is fine for small local NAS applications. The cpu is socketed, so I've upgraded most of mine to 4 core / 8 thread Xeons. From rough memory of the last time I measured the power usage at idle, it was around 12w with the drives auto-spun down.

They also have a PCIe slot in the back, though it's older gen, but you'll be able to put a 10GbE card in it if that's your thing.

Software wise, TrueNAS works pretty well. Proxmox works "ok" too, but this isn't a good platform for virtualisation due to the maximum of 16GB ram.
by Imustaskforhelp | 2025-04-21 06:52:47+00:00
Oh I am so so sorry I didn't see your gender and assumed it to be a (he). { really sorry about that once again}

Also didn't expect you to respond to my comment xD

I went through the slow realization of while reading this comment that you are the creator of anubis and I had such a smile when I realized that you commented to me.

Also, this project is really nice, but I actually want to ask, I haven't read the docs of anubis but could it be that the proof of work isn't wasted / it can be used for something (I know I might get downvoted because I am going to mention cryptocurrency, but nano currency has a proof of work required for each transaction, so if anubis actually does the proof of work as by nano standards, then theoretically that proof of work could atleast be some useful)

Looking forward to your comment!
by thaumasiotes | 2025-04-21 06:53:19+00:00
> If I had seen them in the opposite order, would I feel the same way? I don't know.

This can go both ways. Sometimes you like things because you saw them that way first. Sometimes you're exposed to two versions of something and the second version is clearly an improvement on the first.

Example (A): I prefer the PC speaker soundtrack to The Secret of Monkey Island. I played it on an IBM. Without the exposure, there's no real reason to believe I'd have the same preference.

Example (B): The Swedish dub of the Moana musical number Shiny enjoys the considerable disadvantages that: (1) I heard the English version first; (2) I don't understand Swedish; (3) the English version is more authoritative, because the film was developed in English; and (4) the translation isn't especially close.† But I strongly prefer it anyway; to me the Swedish lyrics (as represented in the English subtitles I found on Youtube) give a very different feeling to the song and the character, one that greatly improves the film.

I'd lean toward taking people at their word if they seem to have a reason for the preference they express. The 2011 Blu-Ray Star Wars release pans down from outer space to a view of a planet more rapidly than the original film does. This seems like an issue where views either won't exist or will be dominated by the idea that whatever it was like before, it should stay that way.

"Han shot first", on the other hand, is a strong point of characterization, and objections to the change seem unlikely to be dominated by conservatism.

† Actually, I spent a fair amount of time listening to various dubs of Moana songs, and my favorite versions all make a significant change to the message of the song as I perceive it. I didn't care too much for the English Shiny, but this was also true of the songs that I liked in the original. My best model of why that might be is: every dub makes some more-or-less random changes to the song, and by methodically searching through a large number of them, I ended up finding the changes that appealed to me.
by crypto9 | 2025-04-21 06:54:16+00:00
I put together a list of 50 Twitter account ideas based on current trends and what actually seems to work. No fluff or generic advice. The goal was to make something useful for people starting fresh or trying to grow a themed account with real traction.

Curious to hear what others think or what’s missing from the list. What kind of accounts do you see getting real engagement lately?
by john_minsk | 2025-04-21 06:57:15+00:00
Because it spits out the most probable answer, which is based on endless copycat articles online written by marketers for C-level decision makers to sell their software.

AI doesn't go and read a book on best practices, then comes back saying "Now I know Kung Fu of Software Implementation" and then critically thinks looking at your plan step by step and provides answer. These systems, for now, don't work like that.

Would you disagree?
by djaychela | 2025-04-21 06:57:30+00:00
>As a music fan, I really love little mistakes in incredible albums.

Me too. For me as a Genesis fan since I was a teenager, the worst example of a change has been the 'remastered' version of Supper's ready. There's a 'mistake' in the bass part right at the end, which to me is absolutely beautiful. It's about 22:46 in, right at the fade, and he plays the wrong bass note, a tone (I think) above what should be there, and then resolves down to the root note of the chord. Always loved this, it sounds lyrical and works really well.

And in the remastered version, it's not there, he goes straight to the root note.

And for me, it ruins 20+ minutes of buildup. I never listen to the remastered version and I'm glad I ripped my CDs back in the day so I have a record of the original (and for me, far better) bass part. Yes, it's only one note, but it's a great note!
by ashishb | 2025-04-21 06:58:10+00:00
> It sounds like the author makes a blanket claim to avoid asynchronous functions, even when using an inherently asynchronous web framework (FastAPI), which would negate any FastAPI asynchronous concurrency gains.

FastAPI is faster than the other popular framework, Flask (I posted data supporting that), even without using async.

I only suggested that one should use their discretion when using async.

When did I suggest not to write async code?
by donatj | 2025-04-21 06:58:37+00:00
Before its fall, I had over 700 followers on Twitter. I could post any random thought and within minutes be having an interesting conversation with some rando about it. For example I pondered why phone manufacturers didn't use a p2p protocol for distributing updates and had an enlightening conversation with a person who worked for a major telco chiming in as to why that would be problematic for their infrastructure.

This was my biggest source of joy on the modern internet.

When the walls fell and everybody left, I dropped 200 followers to 500 but by X's own metrics no one sees my tweets. I would estimate between 13 and 20 is my average view count. When I do post, I am lucky a single person interacts, and it is almost always someone I know in the real world.

I have presences on Mastodon and Bluesky, but my follower count on both remains in the low teens. I don't think the market is there anymore for "dude that ponders technology questions". I tweet like it's 2010 and no one cares anymore.

This was the death of social media for me. This was the last place I was really "social" on the internet and it died.

Genuinely this has had a very negative effect on me, the only somewhat of a silver lining is that I now have these conversations with ChatGPT. It's not as much fun though.

Instagram is just brainrot these days. I'd used it for years to post my absolute best photos as a sort of curated gallery. No one cares anymore. Nothing I post ever gets seen. Why bother.

That sums up my general opinion of all social media these days, why bother.
by manjunaths | 2025-04-21 06:58:54+00:00
I am running this on 16 GB AMD Radeon 7900 GRE with 64 GB machine with ROCm and llama.cpp on Windows 11. I can use Open-webui or the native gui for the interface. It is made available via an internal IP to all members of my home.

It runs at around 26 tokens/sec and FP16, FP8 is not supported by the Radeon 7900 GRE.

I just love it.

For coding QwQ 32b is still king. But with a 16GB VRAM card it gives me ~3 tokens/sec, which is unusable.

I tried to make Gemma 3 write a powershell script with Terminal gui interface and it ran into dead-ends and finally gave up. QwQ 32B performed a lot better.

But for most general purposes it is great. My kid's been using it to feed his school textbooks and ask it questions. It is better than anything else currently.

Somehow it is more "uptight" than llama or the chinese models like Qwen. Can't put my finger on it, the Chinese models seem nicer and more talkative.
Ask HN: Why are many of this user's comments marked [dead]?
by nomilk | 2025-04-21 06:59:04+00:00
Randomly noticed this user [0] made a (fairly reasonable) comment [1] on a thread, and in less than 1 minute it was marked [dead]. I noticed a lot of their other comments suffered a similar fate.

Just wondering if there could be some sort of bot doing that?

I asked an LLM what could be happening and it suggests the user may be shadowbanned. But some of their other comments seem to get through.

[0] https://news.ycombinator.com/user?id=bigbacaloa

[1] https://news.ycombinator.com/item?id=43749051
by AStonesThrow | 2025-04-21 06:59:45+00:00
He's been working at the same job, in the same place, since he graduated from college over 30 years ago. So that's an average rate of 5 blog posts per week. Not too shabby.

And your surface-level scans indicate a lot of specialized deep-thinking about some specific tools. Sure, but you'll also find some good generalizations that arose from the depth and breadth of experience. He knows Linux like the back of his hand, and he's been using Debian and Ubuntu, and Fedora, so perhaps we can derive some takeaways from those? And thoughts on ZFS and anti-spam email hosting, those are good too.

cks is the guy who influenced me to run Byron's rc shell, and also to install and run MH as my mail reader in 1993, and he also singlehandedly convinced me to install Ubuntu in 2006, which I maintained through multiple computers and upgrades through 2020. I cannot say that many, if any, of his blog posts were directly helpful to me, except for his opinions on PC hardware such as PCIe, parity RAM, and the like. But his wisdom is truly inspiring, as is his ability to stay with one employer for 100% of his career, doing more or less the same sysadmin things as he did in 1995.
by prometheon1 | 2025-04-21 06:59:56+00:00
From the HN guidelines: https://news.ycombinator.com/newsguidelines.html

> Be kind. Don't be snarky.

> Please don't post shallow dismissals, especially of other people's work.

In my opinion, your comment is not in line with the guidelines. Especially the part about sillytavern being the only LLM frontend that matters. Telling the devs of any LLM frontend except sillytavern that their app doesn't matter seems exactly like a shallow dismissal of other people's work to me.
by ashishb | 2025-04-21 07:00:22+00:00
> "Consider using an unstable package manager" is a really really rough start.

You can use poetry instead. Poetry is stable.

I wish `uv` was version 1.0 or later. However, despite it not being version 1.0 yet, I do see that it provides a superior experience for me to switch from `poetry` to `uv` and to make that recommendation after adding the pre-version 1.0 caveat.
Show HN: Totogram – Turn your photos into Studio Ghibli-style AI art
by mrblueshadow | 2025-04-21 07:00:47+00:00
Hey HN,

I recently built Totogram, an AI-powered web app that transforms ordinary photos into illustrations inspired by the visual style of Studio Ghibli films.

It started as a side project—I wanted a way to turn personal photos into something more magical and nostalgic, like a scene out of Spirited Away or My Neighbor Totoro. The result is a tool that applies a custom-trained AI model to give photos a soft, hand-drawn, Ghibli-inspired aesthetic.

Right now, it's in pre-launch with early access open (no login needed, just a waitlist). Key features:

-Authentic Ghibli-style transformations (custom model)

-Before/after viewer with slider

-High-res output for printing or gifting

-No subscriptions—one-time access

The goal is to offer a meaningful way to preserve memories with an emotional/artistic twist. Would love feedback on:

#The concept in general—too niche or just right?

#The user experience and clarity of the landing page

#Any ideas for other use cases (prints? social sharing? etc.)

Thanks for checking it out!

→ https://totogram.io
by hansworst | 2025-04-21 07:00:48+00:00
Obviously there’s a balance to be struck here. We could legalise fentanyl and tell people to just not use it, but that probably wouldn’t have a very positive impact on society.

At the very least we should acknowledge the negative externalities. Just leaving it up to the market to figure out (especially if we allow the current tech monopolies to exist) will result in serious societal impact.
by sudhirmangla | 2025-04-21 07:02:21+00:00
this DevelopersVoice article does a pretty solid job explaining the basics of public cloud architecture. It tells you what the public cloud actually is and walks you through the main ingredients – like compute power, storage space, networking, and databases. It also points out the big pluses, like being able to scale easily, only paying for what you use, and it being reliable, giving a nod to the usual suspects like AWS, Azure, and GCP. It keeps things fairly simple, so it's perfect if you're just starting out or need a quick refresher on how stuff gets set up in the cloud. Definitely gets the core ideas across without making your head spin.
by ttctciyf | 2025-04-21 07:03:38+00:00
As with randomly generated CA, I think the most interesting are the ones that exhibit some large scale characteristic which persists while micro states continue to evolve unpredictably, as for example:

https://maximecb.github.io/Turing-Drawings/#4,4,1,3,2,3,2,0,...

I wonder if Stephen Wolfram has opined on the applicability of his 4 classes of CA behaviour (fixed, periodic, random, complexly structured) to this type of automaton?
by thaumasiotes | 2025-04-21 07:03:43+00:00
If you'll take a followup question: what is the best that can be achieved if you must decide which boxes to open before seeing what's inside any of them?

(That was how I understood the original description, and I was having a really hard time imagining a strategy other than "make sure there is an assignment of numbers to boxes that can satisfy the plan".)