MurphyA/hacker-news huggingface dataset:
by drdruide | 2025-04-21 07:27:34+00:00
I made a “Show HN” post 4 days ago, but I regret posting it too soon. After 4 days of non-stop work, I've added a lot more templates.

The first post was well received with a collection of only 5 or 6 designs (and not the best imo), so I wanted to try again but with more content.

The project is called Landing Lab and it's a growing collection of landing pages.

Each template comes with a complete lorem ipsum structure that you can easily customize for any type of business.

Built with Next.js and Tailwind CSS.

Advice, feedback or recommendations would be appreciated.
by weatherlite | 2025-04-21 07:28:37+00:00
> Genuinely this has had a very negative effect on me

I think that's an issue. I totally see why you were negatively impacted but I think we tend to forget it is not real life and in 99% of cases not important conversations/debates we are having with random people on the internet - they could be fun to have (or not) but important they are not. We treat social media popularity as if it is part of our identity, as if its almost as important as actual family and friends - and it really isn't.
by geocar | 2025-04-21 07:29:50+00:00
> An interesting debate emerged about the necessity of checking every possible error:

> In JS world this could be true, but for Rust (and statically typed compiled languages in general) this is actually not the case… GO pointers are the only exceptions to this. There are no nil check protection at compile level. But Rust, kotlin etc are solid.

Yes it actually is the case. You cannot check/validate for every error, not even in rust. I recommend getting over it.

For a stupid-simple example: You can't even check if disk is going to be full!

The disk being full is a real error you have to deal with, and it could happen at any line in your code through no fault of your own, and no it doesn't always happen at write() but can also when you allocate pages for writing (e.g. SIGSEGV). You cannot really do anything about this with code- aborting or unwinding will only ever annoy users, but you can do something.

We live in a multitasking world, so our users can deal with out-of-disk and out-of-memory errors by deleting files, adding more storage, closing other (lower priority) processes, paging/swapping, and so on. So you can wait: maybe alert the user/operator that there is trouble but then wait for the trouble to clear.

Also: Dynamic-wind is a useful general-purpose programming technique awkward to emulate, and I personally dislike subclassing BackTrack from Error because of what can only be a lack of imagination.
by transactional | 2025-04-21 07:30:40+00:00
(Hi! Post author here.)

It is written with a lean towards serializable, partly because there's a wide variety of easy examples to pull which all implement serializable, but the ideas mostly extend to non-serializable as well. Non-serializable but still MVCC will also place all of their writes as having happened at a single commit timestamp, they just don't try to serialize the reads there, and that's fine. When looking at non-serializable not MVCC databases, it's still useful to just try to answer how the system does each of the four parts in isolation. Maybe I should have been more direct that you're welcome to bend/break the mental model in whatever ways are helpful to understand some database.

The line specifically about MySQL running at serializable was because it was in the Spanner section, and Spanner is a (strictly) serializable database.
by nicbou | 2025-04-21 07:32:00+00:00
My traffic is down for the first time in 7 years, and it's down hy 20-30%. I see more and more ChatGPT traffic too.

From my perspective, the big corps are using my work for their profit while denying me any benefits. However they still rely on me to do that work, to translate the real world into LLM input.

It's rather sad because I don't know how long I can stomach it before I need to find another way to make rent.
by jychang | 2025-04-21 07:32:32+00:00
I don't think ollama is quantizing the embeddings table, which is still full FP16.

If you're using MLX, that means you're on a mac, in which case ollama actually isn't your best option. Either directly use llama.cpp if you're a power user, or use LM Studio if you want something a bit better than ollama but more user friendly than llama.cpp. (LM Studio has a GUI and is also more user friendly than ollama, but has the downsides of not being as scriptable. You win some, you lose some.)

Don't use MLX, it's not as fast/small as the best GGUFs currently (and also tends to be more buggy, it currently has some known bugs with japanese). Download the LM Studio version of the Gemma 3 QAT GGUF quants, which are made by Bartowski. Google actually directly mentions Bartowski in blog post linked above (ctrl-f his name), and his models are currently the best ones to use.

https://huggingface.co/bartowski/google_gemma-3-27b-it-qat-G...

The "best Gemma 3 27b model to download" crown has taken a very roundabout path. After the initial Google release, it went from Unsloth Q4_K_M, to Google QAT Q4_0, to stduhpf Q4_0_S, to Bartowski Q4_0 now.
by brnt | 2025-04-21 07:32:34+00:00
The single problem with social media is that they are not public, but are heavily thought of (and propagandized) as such.

Any marketplace that is privately owned, is not a free market place. And, the elephant in the room, these social media marketplaces are owned by parties with very particular interests. As long as don't recognise that, we will let ourselves be distracted by details that are always the result of this private control.

Something social must be public, or it isn't social, and it isn't what you and I really want.
by hyperman1 | 2025-04-21 07:32:47+00:00
I've read somewhere about how leadership challenges need 2 opposite factions: the jesters and the adults. The jesters loudly mock and complain the decision, the adults speek softly using words like 'concerned'.

Neither faction alone us enough. The jesters are obnoxious and the adults easily ignored. Together, the adults provide a safe space for the leaders to retreat into without loosing face, while the jesters demonstrate the necessity of the change.
by physicsguy | 2025-04-21 07:33:20+00:00
Facebook can be hard to get rid of if you actually have hobbies and things because so much gets organised via it. I tried to get rid but my Running club exclusively posts stuff on Facebook.

For Instagram with you needing to log in to view pages, you find that you can’t find opening times for restaurants etc because many places use it to advertise that they’re open/closed at short notice.
by dmurray | 2025-04-21 07:33:23+00:00
I have inherited a suite of apps that do this. I have mixed feelings about this: on the one hand, many of them work just fine and will never need a second worker, and they were relatively easy for inexperienced devs to put together.

On the other hand, some of them do have performance problems and are a nightmare to migrate to a different solution, it's hard to reason about what parts of the application turn out to be stateful.
by mikewarot | 2025-04-21 07:35:21+00:00
I read Facebook with the special URL[1] that gives a traditional reverse chronological feed (plus ads, of course), but it's all my friends and family.

Unfortunately, some of my family post insane political views, usually about now in the early AM. Being told that a King of the USA and the elimination of due process are good things doesn't help my mental health.

[1] https://www.facebook.com/?sk=h_chr
by monkeycantype | 2025-04-21 07:36:07+00:00
I disagree with this negative take. I can use Claude to quickly explore libraries, I’m not familiar with, and have developed a development process where I describe the purpose of each class and method in a markdown file , and have Claude, Gemini, deep seek and Chat all pitch descriptions of how to implement it in shared markdown files. I correct their misconceptions and inefficiencies before any code is written, I can write this code myself, but I’m finding I can work faster like this.
by madaxe_again | 2025-04-21 07:36:26+00:00
Surely an incandescent bulb, being a black body radiator, has a CRI of 100? Yes, the temperature is low compared to sunlight, but the rendering is theoretically perfect.

I suppose if you want to get closer to sunlight, you need a carbon arc, which is only a few hundred degrees cooler and again, a perfect black body emitter.
by rfoo | 2025-04-21 07:36:28+00:00
Google has been doing this since forever for recaptcha. And, to be fair, it seems to be fairly effectively for bot detection.

https://github.com/neuroradiology/InsideReCaptcha

> bots seem to be going a very different route

If the "very different route" means running a headless browser, then it's a success for this tech. Because the bot must run a blackbox JS now, and this gives people a whole new street of ways to run bot detection, using the bot's CPU.
by ay | 2025-04-21 07:38:13+00:00
Blue sky allows you to have many different kinds of feeds and I can say the difference in adrenaline level and mood is palpable depending on the feed I use.

News items - frustration at the state the world is in.

Urban bicycle feed: annoyance at the atrocities of the inept drivers.

Feed with cycle side trip pictures: fun.

Rust projects, Electronics: the curiosity of learning.

Also: Bluesky has an absolutely amazing feature which is you can subscribe to someone else’s block lists. That changes the experience quite a lot, to the better.
by kleiba | 2025-04-21 07:38:36+00:00
I've been using a shitty streaming website whose player interrupts the playback of a video in irregular intervals and presents a cryptic error message. I've started looking into the JavaScript code to see if I can't code up a work-around mechanism (basically debugging their garbage implementation), and of course (why actually?) their player code is also obfuscated.

And I've gotta say, emplying an AI assistant has proven to be an invaluable help in trying to understand obfuscated code. It's actually really cool to take a function of gobbledegook JavaScript and ask the AI to rewrite it in a more canonical and easily understandable way, with inline comments. Of course, there are flaws every now and then, but the ability to do this has been such a game changer for reverse engineering, IMO.

I can even ask to take a guess at finding better variable/function names and the AI can infer from the code (maybe has seen the unobfuscated libraries during training?) what this code is actually doing on a high-level and turn something like e.g(e.g) into player.initialize(player.state) which is nothing short of amazing.

So for anyone doing similar work, I cannot recommend highly enough to have an AI agent as another tool in your tool belt.
by suraci | 2025-04-21 07:40:54+00:00
it's [dead] but not [flagged], so maybe it's the user deleted the comment by him/herself?

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

My conclusion is no: some of my comments survived for a while, then were all flagged at the same time, so it seems like there’s a powerful user who checked my profile and decided to clean up unfriendly or low‑quality comments
by throwaway75471 | 2025-04-21 07:41:19+00:00
I know a dog that jumps on a door to indicate that she wants to go out in the big backyard.

Yesterday she did the same, but didn't want to use that exit when I opened the door, but went to another door and looked at me with a clear expectation that she wanted to use the smaller backyard instead.

That is a relatively advanced form of communication to me. She combined the "let me out" signal and indicated which backyard to use. The way she looked at me was also a form of communication.
by damnitbuilds | 2025-04-21 07:41:57+00:00
Your comprehension here is quite shocking.

You seem unable to parse my statement "Sympathy will be limited when that country is also a repressive dictatorship, if you have gone there of your own accord."

You seem unable to comprehend that the OP complained about some policy choices of his phone's provider, when what actually "can kill" here is the health service of the evil, oppressive country he lives in.

This apparent need to push the discussion away from the issue being presented and instead try and make it a race issue comes across as you being a demented defender of a disgusting regime.

Suspect indeed.

https://www.hrw.org/world-report/2024/country-chapters/unite...
by bowsamic | 2025-04-21 07:41:58+00:00
Yeah this is how all therapy works. It’s about learning what change you can make and taking responsibility and making that change. Not sure why you’re being downvoted but likely because there’s an idea floating around now that all such issues are purely externally imposed by a defect in society, and that it has nothing to do with the actions of the individual who is portrayed as helpless. I think that is a deeply depressing and disturbing trend. I’ve literally seen communities of people telling others they should kill themselves because it’s impossible to be happy under capitalism…
by antirez | 2025-04-21 07:43:44+00:00
Students cheating with LLMs show more a weakness of a system than anything else. Rich folks had other people make assignment for them for ages, now this got democratized. The educational institutions are mostly disinterested in really doing what they should do to teach critical thinking and understanding if students really understood. To check the home made assignments is a small part of that (in theory). It's not LLMs, is terrible schools.
by jychang | 2025-04-21 07:44:28+00:00
MLX is slower than GGUFs on Macs.

On my M1 Max macbook pro, the GGUF version bartowski/google_gemma-3-27b-it-qat-GGUF is 15.6gb and runs at 17tok/sec, whereas mlx-community/gemma-3-27b-it-qat-4bit is 16.8gb and runs at 15tok/sec. Note that both of these are the new QAT 4bit quants.
by Ferret7446 | 2025-04-21 07:45:20+00:00
I don't think you're agreeing to what the article is saying.

The article seems to be saying, instead of using CGI which spawns a process per request, to have a single Web server binary in Go/whatever. Which is totally reasonable and per my understanding what everyone already does nowadays (are any greenfield projects still using CGI?)

CGI is a "clever 'Unixy' hack" to add dynamicism to early web servers. They stopped being "relevant" a long time ago IMO.

In fact, I think your diatribe actually contradicts the article.

Basically, the article is saying that they went with the "simple" CGI approach which ended up creating more complexity than using the slightly more complex dedicated binary. The author essentially followed your advice which ended up causing more complexity and hacks.

The morale of the story is, you need to use the right tool for the job, and know when to switch. Sometimes that is the simple path, sometimes that is not.
by RadiozRadioz | 2025-04-21 07:46:01+00:00
> upgrade windows

Ok, that explains this and the above comment. The last time I had to restart anything to apply an OS update was when I moved to a new RHEL LTS version, the lifespan of which is about 10 years. And there are many ways to do similar GNU/Linux upgrades without a restart at all.

Does Windows Server really need to restart for updates like normal Windows? If so, that's hilariously crap and I'm glad I've never had to touch it.

Edit: not saying a single VPS is fine if it's GNU/Linux, just remaking on the "restart to update" thing they mentioned
by indrora | 2025-04-21 07:46:21+00:00
Tell that to Haas, one of the only US based CnC machine manufacturers.

They instruct technicians to disable features for hardware if you haven’t paid the licensing fee for that hardware. Swapped the 10 head tool changer for a 14 head from a downed machine? Sucks to be you buddy it won’t work because you haven’t licensed the feature to have 14 tools! Oh you bought the machine used? And they swapped it for you? Sucks to be you pay up or it’s scrap metal to you.
by toyg | 2025-04-21 07:46:37+00:00
> David Lynch gave him a role in the show

Not just "a" role - he became "the" key role in the series, the evil spirit that moves the entire plot. Which was both absolute genius (turning a mistake into the first, menacing appearance of a key character) and absolute madness (how do you hand a key character of your expensive production to a random set-dresser with almost no acting career?!?). David Lynch in a nutshell.
by anal_reactor | 2025-04-21 07:46:42+00:00
> So far, you haven't given any evidence of that, only called me racist.

Because you are racist. You judge people's suffering through the lens of their race. My ancestors were victims of a genocide, but that doesn't count, because it was a white-white genocide. Later my country was occupied with a puppet government but that doesn't count, because it was a white-white problem in a poor country far away. Nowadays neighboring country is literally an active warzone, but again, this doesn't count, because it's white-white war. A coworker coming from said country was telling me how difficult it is for him that he's sitting on his comfy chair in safety while his friends are literally dying, but that doesn't deserve empathy, because it's a white-white problem. The company we work for happens to be American, so instead of discussing the issue, we get "black Polynesian pride month" or whatever, as though I'd ever see such a person in my life.

Average black American earns more money than average white in my country, yet the former ones somehow win The Suffering Olympics with gold medal in being underprivileged. This is ridiculous.

I'll never forget it when I, having grown up gay in some godforsaken conservative village in the middle of nowhere, went to the city to see a pride event for the first time in my life, and some middle-upper-class city woman told me that I'm a white man, so obviously I have no idea what it feels like to be discriminated against. To her, my suffering didn't count, because I'm a white man.
by photonthug | 2025-04-21 07:46:56+00:00
> The surprise here is how little of an effect it has [..] measured during elections, when the effect is likely to be greatest.

If you were depressed because of divisive politics on social media, then you leave social media during elections where divisive politics is everywhere in the real world anyway.. self-reported depression seems like it would not change much. So the results might make sense as long as they are targeting people that are old enough to be depressed by politics in the first place, and assuming politics rather than body-image issues etc is the main driver.

Some follow up questions.. does social media make divisive political issues in the real world worse? Seems like it! How old is old enough to be depressed by politics? Probably everyone now, which phenomenon is also likely caused by social media. Honestly regardless of elections, you can't actually leave social media by leaving social media anymore, it's kinda in the very fabric of things.

> my next [admittedly rather cynical] thought is "who funded this?")

Same, I mean this seems to be going against most of the other research on this. For what it's worth, here's a paper with some of the same authors on digital addiction ( https://www.nber.org/papers/w28936 ). Abstract states that

> Looking at these facts through the lens of our model suggests that self-control problems cause 31 percent of social media use.

So.. not necessarily painting social media as wonderful. Social media companies would be interested in research about social media addiction for obvious reasons, but probably do not in general want that research public. Unless of course it hurts competitors more than it hurts them, and this paper is in the middle of drama about a tiktok ban. Maybe the authors just say what people in power want to hear at the time?
by jychang | 2025-04-21 07:47:15+00:00
Those are the same quant, but this is a good example of why you shouldn't use ollama. Either directly use llama.cpp, or use something like LM Studio if you want something with a GUI/easier user experience.

The Gemma 3 17b QAT GGUF should be taking up ~15gb, not 22gb.
by imnitwit | 2025-04-21 07:47:24+00:00
Oh, it is a cultural shift, but not simply towards variety. It feels like it's towards just making a scene of everything, and then selling the scene to you once you're deep in. You'd very commonly find items titled:

"deep loneliness", "caramel kiss", "essence of isolation", "burning blooms", "memories of early morning Paris", "rise of the Persian kingdom" "the battle of joys", "a millennium of bliss", "sausage party", "kiss of the dune", and my favorite: "call it whatever you want".

Yes, those are [roughly translated] titles in a cafe menu(!?) The point is to "have" a variety of options, not to be overwhelmed by the abundance of choices. I'm just ranting since I feel like I have no choice, other than to have too many choices. I want the simple, generic boring stuff, "too". Isn't the lack of that very "generic" option against variety itself? I'm a potential consumer too, but I'm deprived of my choice since I'm not planning to pay 3x for an unnecessarily weird name.
by ChrisMarshallNY | 2025-04-21 07:47:32+00:00
I still have a Facebook account, but never log in. Haven’t done so, in months.

The only reason I had it, in the first place, was so I could participate in a technical forum for an infrastructure platform that I authored.

That platform has long since left the nest, and is in very capable hands. Like a spent first-stage booster, I am no longer relevant.

Before completely walking away from Facebook, I had turned off all notifications, and never doomscrolled. Made walking away, much easier.

I miss it like it like I miss a painful boil on my arse. It was just old white people, screaming at each other.
by skinkestek | 2025-04-21 07:47:41+00:00
> I have presences on Mastodon and Bluesky, but my follower count on both remains in the low teens.

I've been on Bluesky for a few months.

Around 300 followers, mostly generic female names being caricatures of progressive or traditional values, often "looking for true love".

I can post almost anything I want and no one reacts.
by kleiba | 2025-04-21 07:47:54+00:00
I'm certainly an anomaly but since to me the downsides of social media have always been quite prominent and seemed to outweigh the benefits by a margin, I never jumped on the social media train.

But I've got to say, it's getting harder and harder to keep that up. As our kids get older especially, almost all of their social activities are somehow tied to social media one way or the other: no matter what they're joining, minimally there's a WhatsApp group. My wife has reluctantly joined WhatsApp and if it wasn't for that, it feels like we would pretty much be destined to become social outcasts.

In one recent instance, we weren't even aware of a parent group for one of our children's school class until someone asked us (in person!) why we didn't come bowling the previous night. We had no idea, and no-one sees the necessity to include someone who - for whatever reason - is not on WhatsApp.

I can see the argument that we are inconveniencing others by not wanting to be reachable to what has now become a standard means of being in touch, and that we cannot expect others to jump through hoops just to include us. But a few years back, I was quite deeply involved in privacy research and I definitely feel no inclination to share all of my communications (and pictures) with Meta.
by fxtentacle | 2025-04-21 07:49:06+00:00
To me, it increasingly seems like the US lacks cultural autonomy.

US companies are A-OK with censoring movies and games to gain access to the Chinese market, for example remember when Blizzard banned a US player in an US tournament to please Chinese censors? But in the other direction, it seems Chinese companies aren't willing to "return the favor" and modify their products to account for American sensibilities when they export to the US. Perpetual surveillance and only little property rights protection is how everyday life in China works, so Chinese consumers won't be bothered by this. It only bothers US consumers, who are used to more privacy and solid property rights.