MurphyA/hacker-news huggingface dataset:
by chpatrick | 2025-04-11 10:50:40+00:00
I use ChatGPT for most practical stuff but I really enjoy running local models. I find it really interesting and I think it's important for people to know how to run these without being beholden to big tech. If you have a used 3090 you can already run some really strong models. There are some really interesting local models as well, like the abliterated ones.
by noduerme | 2025-04-11 10:50:45+00:00
This is such a well-written response. There's something intentionally soothing about this post that slowly turns into a jarring form of self-congratulation as it goes along. Congratulations for knowing there's a limit to wrecking your parents' property. Congratulations for being able to appreciate the sand on the beach, in some no doubt instagrammable moment of existential simplicity. Congratulations for being so smart that you could have blown up your hand. And for "Leetcoding", whatever the fuck that means. And for claiming you quit a shady job because you got bored (but possibly also grew a conscience). And then topped off by the final turn: "This is, of course, about artificial intelligence development". I'd only add one thing to your analysis: We've got a demo right here of a psyche that would prefer love to money (but mostly both), and it's still determined to foist bad things onto the world in a load-bearing way, as a bid for either, or whatever it can get. My parents used to call that "a kid that doesn't care if he gets good or bad attention, as long as he gets attention." I think that's the root driver for almost all the tech billionaires of the past 20 years, and the one thing that unites Bezos, Zuck, Jobs, Dorsey, Musk... it's: "Look dad, I didn't just take your money. I'm so smart I could'a blown off my hand with all those fireworks you bought me, but see? Two hands! Look how much money I made from your money! Why aren't you proud of me?! Where can I find love? Maybe if I tell people what a leetcoder I am and how I could be making BAD AI but I'm just making GOOD AI, then everyone will love me."

Don't get me wrong, I'm not immune to these feelings either. I want to do good work and I want people to love what I do. But there's something so... so fucking nakedly exhibitionist and narcissistic about these kinds of posts. Like, so, GO FUCKING LAY WITH CLAMS, write a novel, the world is waiting for it if you're really a genius. Have the courage to say you have a conscience if you actually do. Leave the rest of us alone and stop polluting a world you don't understand with your childish greed and self-obsession.
by Alifatisk | 2025-04-11 10:51:01+00:00
I couldn’t click on your link in the HN app.

Link to announcement: https://crystal-lang.org/2025/04/09/1.16.0-released

Also, it’s really cool to see them focusing on concurrency and parallelism. I hope some of that inspirations upstreams to Ruby (syntax wise, maybe not semantically).

One thing I really wish they implemented is making it possible for building standalone binaries that can be run cross-platform, or at least cross-compilation. That would be really cool, I would contribute to that issue if I had knowledge!
by hkmaxpro | 2025-04-11 10:52:14+00:00
Your question prompted me to look up “cost of goods sold”.

From https://www.investopedia.com/terms/c/cogs.asp

> Cost of goods sold (COGS) refers to the direct costs of producing the goods sold by a company. This amount includes the cost of the materials and labor directly used to create the good. It excludes indirect expenses, such as distribution costs and sales force costs.

So the $550 or $650 COGS includes the cost of labor for manufacturing, but excludes (say) marketing and auditing costs.
Show HN: I built a FREE tool to launch your startup's waitlist in minutes
by mpoweredo | 2025-04-11 10:53:14+00:00
Hello,

I made free app to launch waitlist in minutes. THIS APP IS FREE

App is called waitlo and its very simple

1. Create an account 2. Create waitlist in dashboard 3. Either: - Copy and paste our pre-made component and start getting signups - Build your own form and connect directly to our API using your api_key
by gregwebs | 2025-04-11 10:53:56+00:00
This is a great article on the biology of lead exposure.

Unfortunately on the exposure side research wasn’t done and it propagates the myth that lead exposure is only an issue for those with lead pipes or lead paint. It’s true that these are the main sources of severe lead exposure. However the article points out that there is no safe level of exposure to lead and these aren’t the main ways we are exposed to lead in the US anymore.

Today we are mostly exposed by low level contamination and thankfully this usually results in only mildly elevated lead levels. In a toddler sticking things in the mouth this could be almost any object. For adults it is food and drinks and the objects we use to make them.

I know this because my toddler had elevated lead levels even though our neighborhood never had lead paint and our water does not have lead (I tested the water coming out of our faucets).

The US has few laws against lead contamination and they aren’t very stringent and there is little proactive enforcement. This non profit has ended up creating several recalls after reporting their own testing: https://tamararubin.com/category/recall/ Most of the recalls were products marketed for children such as baby bottles. But if a child eats off an adult plate there aren’t any laws against that being contaminated.

Some actions you can take are:

* test children’s lead levels and your own * make sure toddlers aren't playing with old toys (pre 1978 really risky, after 2010 is best) * stop buying things that have a prop 65 warning (I know prop 65 isn’t perfect, but it’s often a lead warning). * Remove risky objects like the above from your children’s classrooms. * For cooking and food and drinks use clear glass, stainless steel, and cast iron * avoid processed foods. There are a lot of particulars here about what is most likely to be high in lead. Chocolate, spices, salt, and cassava products are particularly high in heavy metals.
by vbtechguy | 2025-04-11 10:54:38+00:00
Gist of it was

1. Used https://gemini.google.com Gemini 2.5 Pro canvas mode for Gemini Advanced subscription account to ask it to build Atari missile command game in HTML5. Tweeted about it at https://x.com/George_SLiu/status/1906236287931318747 almost one shotted but after I passed level 1, it jumped to level 182 and pulverised my cities and bases LOL

2. Iterations in subsequent chat sessions in Gemini web to fix it up, add in-game store, leaderboard and end-hame AI analysis and when Gemini 'something went wrong' messages, jumped over to Claude 3.7 Sonnet via Claude Pro subscription web interface to finish off the task

3. A few days ago, I tried Cline with VSC for the first time with Openrouter AI API key and Gemini 2.5 Pro free LLM model has helped me with further development. Also now trying out Google Firebase for more Gemini 2.5 Pro access https://studio.firebase.google.com/ ^_^
by diggan | 2025-04-11 10:54:53+00:00
reagent (which you'd put re-frame on top of) is what handles rendering (via React) when we're using re-frame, and is the library you can say does "UI as a pure function of state". re-frame is basically like redux (over-simplification) but for the CLJS ecosystem, focuses solely on state and how to mutate it.
by MonkeyClub | 2025-04-11 10:55:09+00:00
> It's a bit of a special-purpose tool.

Given its expressivity and extensibility, Lisp is a special-purpose tool for all general and special cases.

TFA has one of the best descriptions of Lisp syntax (and its parentheses) I've ever encountered:

"Parenthesis are the contour lines in the topographic map of your Lisp program."
by schwartzworld | 2025-04-11 10:56:03+00:00
In my case:

Showing me how to use the machine

Showing me how to wear the mask

Configuring the machine with anything other than the default settings

A new machine with the default settings is a nightmare. The apap algorithm will spike your pressure up to 16 (which is too high for most people) one minute and drop down to 4 (which is too low for most) the next. At the high end is aerophagia and leaks, at the low end, your apnea events will still happen.

When I called my doctor and explained the machine made my sleep worse, her office said “we gave you a machine. It’s out of our hands. Would you like us to refer you to a psychologist? The problem must be in your head.” This is almost verbatim.

The equipment supplier wasn’t much better. They offered to do a “mask fitting” but it was mid 2021 and the woman didn’t even want to be in the same room as me for fear of covid.

So what should they have done? I dunno. Eventually a friend recommended a mask that worked for me. I learned to analyze the data reported by the machine and changed the settings myself to something that worked for me. It took a year, the worst year of my life. Tired and constantly waking up. Thank god for YouTube and OSCAR. knowing what I know now, I can (and have) help someone else do this process in a week or two, but I had nobody to even ask.
by louthy | 2025-04-11 10:56:22+00:00
If the price of cheese was the only factor then I’m sure practices would have changed. But people will pay a premium for what they perceive as a premium product, so practices like this just add to the ‘experience’.

The watch on my arm is (mostly) handmade and worth a fortune, there are plenty of other cheaper watches that are arguably better due to them being made by robots.

Same principle, I think.
by Reason077 | 2025-04-11 10:57:18+00:00
> “even if we were to completely stop mining for and using lead (which we aren’t, since the lead-acid battery market is projected to increase in the next years”

I’m surprised by this. Modern cars (EVs, at least) have started replacing their 12V lead batteries with Li-ion, which are more durable, store much more energy, and of course are less toxic.

But in any case, isn’t the one advantage of lead-acid batteries their recyclability? Don’t 99%+ of lead batteries get recycled into new lead batteries?

Surely there can’t be all that much new lead being mined for batteries?
by schwartzworld | 2025-04-11 10:58:14+00:00
> AI won't come around to your business and take professional photos.

Neither will a web developer?

> There's a lot of bits and pieces to a website for bookings, content management, menu updates, etc.

Bolt.new can handle all these quite easily. Although I know several restaurants with very simple websites that have a few pics, a menu and their hours.
by 1dom | 2025-04-11 10:58:27+00:00
I thought this was an interesting read, but I don't necessarily like or agree with it.

I browse fediverse stuff occasionally, and mess around with single user instances for the technical fun, but I've never really had a mature mastodon account anywhere.

The reason why I occasionally browse mastodon is because the vast majority of content I consume online (alright, often from nerds) also list or have a mastodon profile. Sometimes it's not always up to date. But I see and use the mastodon profile links more reliably than I see and use Twitter ones now.

It clearly works. It's obviously not perfect. But I feel like the author is constantly judging a fish by its ability to climb a tree here. E.g.

> The most immediate problem is that you only have access to posts that are present on your local instance, and posts are only propagated to your local instance if it has expressed interest in them (to the instance where they originate). It’s a chicken-and-egg issue: how do you know whether you’re interested in something if you can’t see it?

Maybe I've misunderstood, but I thought this was the entire sales point and draw of many to mastodon, that it's not just one big messy free-for-all like Twitter. It's partially separated by design, and you get to choose.

But then they go on to speak positively of Bluesky with:

> It offers much of the best of Twitter: with a well-curated set of follows (and a chronological, not algorithmic timeline), I get to hear directly from a lot of true experts commenting in real time on current events.

So Bluesky is good with a curated set of follows, but mastodon is bad because you have to curate who to follow?

IMO, most of the authors problems here are with parts of social networks that are put in place to deal with the products of the worst part of human nature (spam, greed, aggression etc.) I can't help but feel the only sort of social network this author will be happy with is one that doesn't have an humans on it.
by throw0101d | 2025-04-11 10:58:42+00:00
> […] and imagine it appeared into a society like ours without any prior thought or discussion about the possible downsides of that technology."

Which is basically how most technologies appear{s,ed} in society: without prior thought / discussion.

There's certainly a lot of talk while it's being rolled out, but rarely prior.

> For example: in a society where autonomous security guard robots kill intruders, there would not be people sneaking into warehouses.

People do crime because they think† they can get away with it, because if you knew that you'd probably get caught why would you do it in the first place? How many people purposefully do crime in order to get caught?

In your specific example people will think they've figured out a way to get past the automated system. (Not even getting into the fact that in some jurisdictions it's illegal to set traps, e.g., Canada Criminal Code §247.)

† When they think at all, and it's not just a heat / spur-of-the-moment action (often when drunk).
by BiteCode_dev | 2025-04-11 10:58:43+00:00
It's $650 in a world in which you don't have tariffs with China.

In a world in which you do, you pay more for the machines, the materials, the components you can't make in the US (a phone is thousands of component, phone makers don't make most of them), etc.

It's probably $650 to design it, build half the parts, ordering most other parts and assemble them.

Now what's interesting with the tariffs is that it's not just it will make the parts you can order more expensive, it will make the supply of such parts available to you restricted since you are now competing with buyers that don't have tariffs and can outbid you easily.

Or course, all this include rare earth supply which China already restricted for US export, so even the part you can make are going to be super expensive. The premium is going to be way more than the tariff ones.

Finally, since you are not going to be able to sell to the Chinese market of 1.5M of people, you will sell fewer phones, meaning your volume effect will be lower.

Meanwhile, competitors from Asia and Europe will be able to sell to the rest of the world, unrestricted by such problems, so much more price competitive and with a more robust cash flow. So you will lose markets in other areas too, hitting your volume effect even more, possibly sending you spiraling.

So, it's definitely pop corn time.
by ben_w | 2025-04-11 10:59:35+00:00
> Taxing things makes them less likely to exist. That’s the fundamental nature of taxes, and why I am opposed to every single tax.

And government spending makes things more likely to exist in exactly the same proportion (on the margin) and for exactly the same reason.

And government spending without balanced (taxation + borrowing) leads to inflation, which is functionally a tax on holding cash.

(Thanks to the dollar being a reserve currency, the USA gets to cheat a bit with borrowing, compared to everyone else — but even that's not unlimited).
by adriand | 2025-04-11 10:59:44+00:00
That sounds a lot like the classic “I have lots of black friends” line. But even if you do have Indian friends, there is a big difference between joking with friends vs what is suitable for publication in the public sphere.

I would also note that OP merely posited a thought experiment. They’re not policing anyone. “Get a life” is perhaps a little harsh?

Here’s another thought experiment. If you had a job interview for a senior position at Microsoft and your interviewer was Satya Nadella, would you make this joke?
by somat | 2025-04-11 11:00:35+00:00
I half bricked a laptop once. (never disable usb in the bios when all devices are usb) there was no reset header. so the only recourse was to reflash it the hard way, with a clip and a programmer.

So I buy a cheap clip and programmer kit... and get nowhere, nothing is working right and I have no experience with this sort of thing so don't know what to expect. thus it sat on the healing bench for a year. I chanced on an article that having a good clip was critical for this sort of thing and decided to try again after buying a recommended clip. and the infernal thing worked first try.

So while I still have no idea what I am doing, I am now a firm believer in having a good clip. anyhow, here is the one that worked for me.

https://www.pomonaelectronics.com/products/test-clips/soic-c...
by NoboruWataya | 2025-04-11 11:00:51+00:00
Those of us with an interest in Gemini (the small web protocol, not the AI thing) will have become familiar with CGI and its variants again, as they are commonly used to serve dynamic content over that protocol. Another variant is SCGI[0]. It doesn't seem to have ever been nearly as popular as FastCGI, but seems to be more commonly supported by Gemini servers due to its simplicity.

0: https://github.com/nascheme/scgi
by evan_verkh | 2025-04-11 11:00:51+00:00
Frontend developer

Location: Georgia, Tbilisi Remote: yes Willing to relocate: yes

Technologies: JavaScript / Typescript / React / Next.js / Zustand / CSS/SCSS modules / CSS-in-JS / UI kits / Storybook / Vite / Playwright / GitHub Actions / CI/CD

Résumé/CV: https://www.linkedin.com/in/ivan-verkhoturov-181303124/

Email: verkhoturov314@gmail.com

I'm Frontend developer with 5+ years of experience, specializing in React, Next.js, and TypeScript. Focuses on optimizing processes through modern tools, automation, and UI Kit development. Manages tasks from decomposition to production deployment independently and mentors junior developers.
by TeMPOraL | 2025-04-11 11:01:43+00:00
> As a reader, I don't want page authors to start hard coding sizes into these elements, because then they'll be more likely to choose non-default values to make their page stand out a bit more.

That ship has already sailed. Whether they do it inline or through CSS, no one cares about the defaults, or your defaults. "Standing out" has been by far the biggest factor in web design ever since there was a web, and continues to drive the development of web technologies - that's because most websites are marketing products, either entirely, or in non-functional aspects (branding).

> HTML is about semantic markup, not visual markup.

Hard disagree here. HTML is too low-level to be semantic. "Separation of content and presentation" is a fundamentally flawed idea, because in many cases presentation is core to the semantics, and this is especially true for the Web, as in marketing, presentation is the content.

I remember the times when the CSS Zen Garden appeared, and everyone went on to meditate there and get high on the "separation of concerns" fumes emitted by the stylesheet selector widget. It was a great trip, but like with all such experiences, the effects are transient and don't carry to the adult reality.

Still, many a webdev tried to hold on to this ideal, many still do today. The results speak for themselves. What does "semantic HMTL" look like? A thick soup of nested divs with more or less meaningful class names, that only loosely resembles the natural structure of the content, because it's written specifically for its companion stylesheets, and only looks well with those particular stylesheets.

Here's a thought many still don't seem to realize: "semantics" in HTML isn't just about tag names, it's also about the shape of your tree. Your document isn't purely semantic, when the entire structure of the document is determined by needs of a specific presentation.

</rant>

You do have a good point about blockquotes. It's one of my main annoyances with markup / outliner formats used in many applications: they treat headline levels as absolute instead of relative, which doesn't play well with attempts at nesting documents inside documents.

In fact, to the extent HTML elements are supposed to be semantic, we shouldn't have headline levels in the first place! Instead of <h1>, <h2>, ... we should just have <header> - the headline level is implicit in the nesting anyway, and it naturally supports quoting/embedding documents in documents (and arbitrarily deep). As they are, <hN> are predominantly about presentation.

Same applies to Microsoft Word, too - the decision to have explicit named styles for headings (1 thru 9) as well as lists and others, causes problems more often than one would expect - at least for the few of us who insist on styling the document semantically, instead of applying specific looks to text by hand like most people do.
by TheOtherHobbes | 2025-04-11 11:02:49+00:00
Oil supported by the world's biggest military and huge subsidies.

It's why moving to renewables would be catastrophic for the US. And for all of the big Fossils, including Russia and the Saudis. And the smaller second-order beneficiaries like the UK who make money from "services" - moving the big money around and avoiding taxes on it.

We're in a messy transition to a post-fossil global economy. It's going to take decades, and it's not obvious how much will be left standing when it's over.

But one way or another, it's locked in and unavoidable.
by teivah | 2025-04-11 11:02:54+00:00
No worries I didn't take it as a criticism. I understand your point. I mean when we sign a contract there's a minimum number of pages to write. But personally, I never felt the pressure of having to add more stuff.

Instead, my DE multiple times told me that it's better to favor just-in-time teaching over just-in-case teaching. Meaning multiple times, he made me drop certain section because they weren't really serving the chapter. They were "perhaps helpful" and he made me drop all of those.

I guess it also depends on who you're working with and which publisher. On this aspect, Manning was fair, imo.
by mryall | 2025-04-11 11:04:00+00:00
> As a reader, I don't want page authors to start hard coding sizes into these elements …

They mean h1 elements without a font-size specified in CSS (or style attribute) will be flagged as a warning. User agent styles can still override site styles if you want to set one.

> if I take some existing markup and blockquote it in some container, I'd expect the headings to shrink as they're now all sub-elements of some other section.

This logic only applied to the h1 element specifically, as it was an attempt to shoehorn some “clever” logic from the abandoned <h> tag proposed in a early draft of HTML5 (which was going to work the way you’d describe for headings at any level), on to the existing h1 element.

(Source: I used to follow the WHAT-WG mailing list closely during the HTML5 spec development process.)
by thi2 | 2025-04-11 11:06:26+00:00
I must compliment your ability to keep the reader hooked, I had to see what chapters they saw, stalked your website and ended up reading the whole post about your pre sale.

This is pretty off topic but did you test how your book works on an E-Reader? I check a sample chapter and there where a lot of pictures and colors to distinguish information, this will probably not work very well on my Kindle.
by lproven | 2025-04-11 11:06:30+00:00
> https://serenityos.org/

Trad Unix, redone in C++; not self-hosting; project lead has quit to work on a browser.

> https://collapseos.org/

Interesting but mainly for extreme smallness. Forth will alienate a lot of people. For me, Oberon would have been a more interesting basis.

> http://kolibrios.org/en/

Hostile fork of Menuet OS; based on 25YO code.

I mean, yes, it is good there's interesting stuff, but these are not inspiring examples IMHO.