MurphyA/hacker-news huggingface dataset:
by xp84 | 2025-07-23 04:53:09+00:00
Honestly, when people are making use of CSS to "reach into" the svg dynamically, or like your example, to color it dynamically, I'm not opposed to the strategy.

99% of the inline <svg> usages I see are people using js includes to inline an SVG which is itself stored in a .jsx file. This is just as lazy and wasteful as it would be if Styled Components were built not to generate classnames and a single stylesheet, but instead with all the rules simply inlined in style attributes on every element.
Show HN: NextDevKit – Next.js and OpenNext SaaS Template, Goodbye Vercel Bills
by guangzhengli | 2025-07-23 04:54:02+00:00
After spending months wrestling with Next.js deployment complexity across different platforms, I built NextDevKit - a production-ready SaaS template that works natively on Vercel, Cloudflare Workers, and AWS.

Why I Built This Most Next.js templates either: * Work great on Vercel but nowhere else * Sacrifice features for platform compatibility * Require extensive modifications for each deployment target

I needed something that could deploy to Cloudflare Workers (for $5/month projects) or AWS (for enterprise clients) with the same feature set as Vercel deployments.

Key Features Core SaaS Stack: * Authentication (Better Auth) * Payments (Stripe) * Database (Drizzle ORM) * Email (Resend) * File storage (S3/R2) * Blog & docs (FumaDocs) * i18n support * GDPR-compliant analytics

Deployment Options: * Vercel: Standard deployment * Cloudflare Workers: Uses OpenNext + D1/KV/R2 integration * AWS: SST-based deployment with RDS/Lambda/CloudFront * Containers: Railway, Fly.io, etc.

Technical Highlights * OpenNext Integration: Compatible Node.js API support on Cloudflare Workers * SST for AWS: One-command infrastructure deployment * AI-Friendly Stack: Next.js 15, Tailwind CSS v4, Shadcn UI * Multi-theme Support: Easy color scheme switching * SEO Optimized: 100/100 Google PageSpeed score

The Cloudflare Workers version uses D1 for database, KV for caching/ISR, and R2 for storage - all within the $5/month Worker Standard plan. The AWS version leverages RDS Proxy, Lambda, and CloudFront with proper security configurations for enterprise deployments.

Links

* Website: https://nextdevkit.com * Vercel Demo: https://demo.nextdevkit.com * Workers Demo: https://workers.nextdevkit.com * AWS Demo: https://aws.nextdevkit.com * Documentation: https://nextdevkit.com/docs

Built this because I was tired of rebuilding the same infrastructure for every project. Would love feedback from the HN community on the deployment approach and feature set!
by Zacharias030 | 2025-07-23 04:54:05+00:00
two years ago it didn’t do anything that made me want to use it during work.

The data wall idea of needing 10 more internets is like the peak oil theory of the 2000s, imho. I don’t think 10 more internets are required, and all those tasks like proper security and i18n, none of these require creativity of any kind. These are ideal candidates for LLMs to solve quite soon.

But to talk about the data wall more: Current SOTA LLMs are trained on circa 30-50T tokens. First, that is not a full internet‘s worth; it is estimated that Meta owns more like 200T tokens of user data etc. Second, the work in optimizing for data efficiency is just beginning.
by baalimago | 2025-07-23 04:54:43+00:00
I have a standardized test I use for testing AI image editors, which I ran on Phind.design as well: I have a close-up picture a keyring which has a small hand-drawn painting of my puppy Freija. So my hand is visible in the image, as I'm holding the keyring. I ask the LLM to extract the puppy from the keyring, enlarge it so it fills the entire image and saturate the colours so that the hand-drawn painitng is the only thing which remains. I'm not interested in the picture of my hand holding a keyring, but the hand-drawn painting of the puppy.

This is somewhat trivial to do in Photoshop/Gimp. Hell, I'm sure most of you can visualize this transformation in your minds even. But it seems to be almost impossible for any AI image editor, Phind.design included.

What I got when I tried this using Phind was the very opposite of what I asked: it kept my hand holding the keyring, the keyring itself, but it replaced the puppy. Perhaps this is user error: should I not select the area I'd like to edit? Regardless, there were no attempts to coach me into using the tool correctly, even though the instructions might have been counter-intuitive, which I'd expect is half the point in using an AI tool.

So, well.. Maybe designers are safe for another day.
by Buttons840 | 2025-07-23 04:55:05+00:00
Companies can just raise prices without consequences? Is that free market competition in action?

Snark aside. I've always heard the idea was that free markets and competition would drive down prices, and that if a company was to just raise their prices, they would actually lose money because people would buy from a competitor with better prices. Turns out companies can just raise prices though. What does it mean when the things that happen in a healthy free market aren't happening?
by nisten | 2025-07-23 04:55:36+00:00
I've been using it all day, it rips. Had to bump up toolcalling limit in cline to 100 and it just went through the app no issues, got the mobile app built, fixed throug hthe linter errors... wasn't even hosting it with the toolcall template on with the vllm nightly, just stock vllm it understood the toolcall instructions just fine
by tealpod | 2025-07-23 04:56:06+00:00
Beautiful. I made few CNC's in my previous life, started a CNC company and bankrupted. Bankrupt because I tried to make everything myself, including electronic circuits. Your work looks great, congrats.

I suggest you keep a small video on the homepage(maybe youtube video). Also your site took a little time to load because of huge images (especially github image is 11mb).
by motorest | 2025-07-23 04:56:13+00:00
> Tracking in external system adds overhead not only for filing the issue, but also for triaging it, backlog management, re-triaging to see if it's still a problem, and then closing it when it's finished.

Filing the issue can take as long as writing the TODO message.

Triaging it, backlog management, re-triaging to see if it's still a problem... It's called working on the issue. I mean, do you plan on working on a TODO without knowing if it is still a problem? Come on.

> Issues in an external systems may also be overlooked by developers working on this particular code.

I stumbled upon TODO entries that were over a decade old. TODOs in the code are designed to be overlooked.

The external system was adopted and was purposely designed to help developers track issues, including bugs.

You are also somehow assuming that there is no overhead in committing TODO messages. I mean, you need to post and review a PR to update a TODO message? How nuts is that.

> There are plenty of small things that are worth fixing, but not worth as much as the overhead of tracking them.

If those small things are worth fixing, they are worth filing a ticket.

If something you perceive as an issue is not worth the trouble of tracking, it's also not worth creating a comment to track it.
by nullc | 2025-07-23 04:56:43+00:00
The workflow on the shaper origin is extremely nice, --- apply tape, swing it around to capture the environment, load svg and position. If you need a regular spacing grid, you just press a few buttons and ram the tool into three non-colinear points on the edge of your object.

You can cut objects in place, including irregularly shaped stuff you'd need to disassemble to put on your gantry. That comes up frequently for engraving but it's not exclusive to it.

The whole device is basically the size of a sewing machine. Yet it can cut parts that won't fit on an gantry you're able to fit in your garage.

It's quite tedious for repeated work. So I think it's really more in the class of manual power tools than in the same class as a CNC setup.

As far as accuracy goes, the tracking tape eliminates some source of errors. Say your clamping is not 100% and the part shifts slightly while being worked-- tape the part moves with it and all is still happy. Of course, it introduces some of its own problems too.

So in summary:

1. Very small device, yet can work with arbitrarily large pieces. 2. Good workflow means very fast setup suitable for one offs. 3. Works in situ, especially useful for engraving things in place.

I imagine that if it weren't a bit pricey that many people who do CNC woodworking would also have a shaper origin like device-- much like you probably have a skillsaw in spite of owning a CNC router.

Plus the simplicity of setup and the size makes it attractive to anyone who only wants a tiny amount of CNC for precision engraving, hole positioning, or cutting an inset for a hinge... and would never own a CNC gantry.
by scarmig | 2025-07-23 04:57:56+00:00
Today I got Gemini into a depressive state where it acted genuinely tortured that it wasn't able to fix all the problems of the world, berating itself for its shameful lack of capability and cowardly lack of moral backbone. Seemed on the verge of self-deletion.

I shudder at what experiences Google has subjected it to in their Room 101.
by TMWNN | 2025-07-23 04:58:42+00:00
> The server basically maintains itself, I only go in every so often and bump the docker containers at this point. But I also know that I can add another disk to it in a about 10 minutes and a couple hundred bucks.

Yes. UnRAID rightfully gets a lot of attention for its flexibility in upgrading with disks of any size (which feels like magic), but for me its current >100-day uptime while maintaining a UnRAID array, three VMs, and a few other services is just as important. The only maintenance I do is occasionally look at notifications, and every month (if that often) upgrade plugins/Docker containers with new versions.
by xp84 | 2025-07-23 04:59:21+00:00
An icon served from an <img> is going to be served from browser cache (disk or even RAM) after the very first time it's encountered. Unless you're building something designed to be used for one visit ever (maybe a promotional landing page?) it's better to have a few more requests (HTTP2 especially makes this a non-issue anyway) and have a cache full of assets than to make your dynamic webpages bloated.
by motorest | 2025-07-23 04:59:42+00:00
> Source code is not designed to track and management issues and make sure they get prioritized, so you shouldn't be using your source code to do this.

Indeed. Who in their right mind would think it is reasonable to track relevant tasks purposely outside of a system designed and used explicitly to get tasks done?

Also, no one prevents a developer from closing a ticket before triaging it. If you fix a TODO, just post a comment and close it. I mean, will your manager complain about effortlessly clearing the backlog? Come on.
by CoolCold | 2025-07-23 05:00:18+00:00
just curious, what would be the business direction to "Linux-only code"? Don't need any trade secrets, just quick expression on the area/target auditory.

I.e. - I have tried WSLg (running GUI apps in WSL) but disabled it all together, as after running xclock and couple of things like that to ensure it works, I couldn't find any interest in running GUI apps on Linux.

I can somewhat imagine need for work purposes, if you are falling into some webdev area and need to run some tests against local browser, but that's different from my POV.
by xp84 | 2025-07-23 05:03:36+00:00
Does it need to be more than 6 frames to serve its purpose? It's 3 wiggling bars to be stuck into a 1/4 inch spot inside a button to serve a purpose of communicating a boolean state (sound happening or not?). The artist who actually designed that probably spent an hour plus getting it just right, wasting a ton of time before the engineer even wrote the "clever" GPU-destroying CSS, and then he had to rewrite the second version after discovering how resource-wasteful the first version was.
by antonvs | 2025-07-23 05:06:11+00:00
I was including RLHF in "training". And even the system prompt, really.

If it's true that models can be prevented from spiraling into dead ends with "proper prompting" as the comment above claimed, then it's also true that this can be addressed earlier in the process.

As it stands, this behavior isn't likely to be useful for any normal user, and it's certainly a blocker to "agentic" use.
by troupo | 2025-07-23 05:06:24+00:00
> But I seriously do not understand how people can see these real, hard statistics, not fake money like VC dollars

You're commenting this under an article showing how deeply unprofitable most of "AI" companies are. Revenue isn't profit. Midjourney is probably the only company that is profitable.

> 48% of survey respondents to a recent survey said they've used ChatGPT for therapy [1]. FORTY EIGHT PERCENT.

No idea why you provide this frankly scary statistic. It's not proof that this isn't a bubble.

> This is: "we physically cannot buy enough GPUs to satisfy demand, our services keep going down every week because so many people want to pay for this".

It's called a mania. Manias always end.
by Maro | 2025-07-23 05:07:29+00:00
This is great, and I think this is the right way to use AI: treat it as a pair programming partner and learn from it. As the human learns and becomes better at both programming and the domain in question (eg. a Ruby JIT compiler), the role of the AI partner shifts: at the beginning it's explaining basic concepts and generating/validating smaller snippets of code; in later stages the conversations focus on advanced topics and the AI is used to generate larger portions of code, which now the human is more confident to review to spot bugs.
by Buttons840 | 2025-07-23 05:08:16+00:00
Taxes are on whatever we want to tax.

Instead of taxing income or spending, tax wealth. Will the wealthy make themselves less wealthy in order to avoid a wealth tax? I don't think so. Tax the top 1%; even with a wealth tax they'll still be able to afford multiple homes and a yacht--hell, there are people who can afford two homes and a yacht and don't even fall in the top 1%, so people will still be able to have plenty without ever actually paying a wealth tax.
by mijoharas | 2025-07-23 05:08:25+00:00
So, I was confused by this, looked it up a bit, and essentially think this is incorrect.

The name "La Vache qui rit" is a pun, and comes from the name of a meat wagon in the war that was called "La Wachkyrie". It was mocking the German propensity to name things after Valkyrie's etc.

I think it's incorrect to describe it as a slur however and think the author misspoke.

In addition, I am very confused about this section of the article. At first I thought the article was saying that the subject Kojeve was the creator of the laughing cow and that was the connection. As it is, that doesn't seem to be the case, and I don't understand the relevance of this aside at all?

Can someone explain it to me?

EDIT reread that section and Kojeve invested all his money in the company. I was waiting for it to reoccur in the main text and forgot the details.
by troupo | 2025-07-23 05:09:29+00:00
Currently they are throwing money onto the fire. Almost all of them are not just unprofitable. They are abysmally unprofitable.

The only reason they are raising prices is to try and recoup some of the ongoing operational costs. In the end it will only be Google left standing because Google has unlimited money, and they can price dump indefinitely long, and offer most things for free.
by nacho-daddy | 2025-07-23 05:10:10+00:00
Sounds like a bit of an opsec failure. I get it. As a faceless worker for a nation perceived as evil by most of the other nation’s citizens. Knowing your job is to steal, impersonate and lie, it would feel like the minions were all about your life.

How about a scan of git for related occurrences of Kevin, gru and minion images?
by dawnerd | 2025-07-23 05:10:31+00:00
On the flipside, GPT4.1 in Agent mode in VSCode is the outright laziest agent out there. You can give it a task to do, it'll tell you vaguely what needs to happen and ask if you want it to do it. Doesn't bother to verify its work, refuses to make use of tools. It's a joke frankly. Claude is too damn pushy to just make it work at all costs like you said, probably I'd guess to chew through tokens since they're bleeding money.
by goalieca | 2025-07-23 05:10:33+00:00
Around 10 years ago, I learned to root out people who read reddit based on this principle. My thought at the time was the site made you feel informed. But everyone knew same facts leading to the same incomplete picture and having the same attitude problem of constantly correcting people. “Well actually..” and “that’s misinformation” were thrown around a lot on reddit and the lazy readers end up copying that bad behavior IRL

. But the confidence was high and the picture incomplete. And the worst part of it all, the behaviour was
by weinzierl | 2025-07-23 05:12:51+00:00
Verifiable means you can find a proof that a solution is correct. I am stating that the effort to find this proof can never be more effort than constructing the solution in the first place.

I think where the line of argumentation in the article derails is that the author confused finding a solution with coming up with any odd candidate that could be a solution. The former is serious effort, the latter is trivial. Their Sudoku example is the former, their article example the latter
by accelbred | 2025-07-23 05:14:45+00:00
PIC code would work where PIE does, but likely perform worse. In shared libraries, calls to any non-static function can't be assumed to be the same function at runtime, since another library linked or using LD_PRELOAD may also define the symbol. Thus all calls to non-static functions must go through the shared library lookup machinery. This prevents inlining opportunites as well. Functions in an executable can't be overwridden in this manner, and override the symbols in shared libraries. Thus PIE code can have cheaper function calls and freely inline functions.

Its not that you couldn't use the PIC code, but it would be better to just recompile with PIE.
by anonymousiam | 2025-07-23 05:16:56+00:00
The EVs (from any mainstream manufacturer that began with ICE products) are all fairly immature. My AMG E53 (cabriolet) is a hybrid, and I can tolerate that. It gives me an extra 100+HP when I punch it, but I wonder how long the battery is going to last. The electric power plant adds more than 500lbs to the car, but the car still performs very well. (The car is five years old now.) I like that I can drive over 400 miles on a tank of gas, and I like that I have no trouble finding a gas station, and that it takes only a few minutes to fill the tank.

I'm looking forward to the time when an EV can give me all of these things, and I'll eagerly purchase one when that happens.

I bought this car after owning a high-end BMW. I was looking for a car that performs well, but is very reliable.

It has been a great car, and it cost only 66% of the price that Vicken paid for his Volvo EX90.
by tealpod | 2025-07-23 05:17:48+00:00
AI isn’t ready to take full control of critical systems, and maybe it never will be. But big companies are rushing ahead, and users are placing trust in these big companies.

I believe AI should suggest, not act. I was surprised to see tools like Google CLI and Warp.dev confidently editing user files. Are they really 100% sure of their AI products? At the very least, there should be a proper undo. Even then, mistakes can slip through.

If you just want a simple terminal AI that suggests (not takes over), try https://geni.dev (built on Gemini, but will never touch your system).
by monero-xmr | 2025-07-23 05:18:02+00:00
I pay (personally) for Postico and ChatGPT.

I pay for Mullvad for my VPN of choice, and Eweka and Drunkenslug for newsgroups (i.e. every media ever invented downloaded at maximum speed)

Bitwarden for personal password management

x.com sub to get rid of the ads

youtube pro to get rid of ads
by Leynos | 2025-07-23 05:18:03+00:00
Obsidian

Google (for Deep Research, Gemini and NotebookLM)

ChatGPT (For ChatGPT and Codex)

GitKraken

CodeRabbit

Novelcrafter (for fiction)

Wondercraft (wrapper around Elevnlabs and Googles TTS)

Seriously considering Elevenreader as well

Raindrop (bookmarks)

OutdoorActive (maps for hiking)

YouTube Premium

Sanebox (Email triage)
by HocusLocus | 2025-07-23 05:19:28+00:00
It was Jimmy Carter days and the OPEC Oil crisis. Prior to 1973... electricity and heating oil was cheap, there were many single pane windows that didn't seal completely. So the default condition was houses as originally built, cooler temps in Winter and more natural ventilation in houses with corresponding higher energy costs.

In 1973 fears that heating in Winter would get more expensive, saw an increase in home renovation. IR viewers were employed for the first time and IR images showed windows and attic vents as glowing with heat (as they had all along) and it looked like money escaping. Rubber seals on doors and windows. Double pane windows.

This trapped the radon in basements (and for some rising out of the basement onto the first floor) to be breathed by humans and gain higher concentrations for the first time in US history. Homes were hermetically sealed.

Since smokers bore the penance of sin... the rise of the '2nd leading cause' went unrecognized for years.
Ask HN: Programmable, affordable developer toys similar to DeskHog?
by adarshd | 2025-07-23 05:19:29+00:00
I’m looking for hardware like DeskHog (https://posthog.com/deskhog) : open‑source, hackable, budget‑friendly developer toys that I can customize with code.

Ideally I’d like something:

- Easy to program (Python, C++, or via SDK) - Open for hardware tinkering (add sensors, swap modules) - Affordable for hobby/prototyping use

Anyone have recommendations or experience with similar platforms?
by rramadass | 2025-07-23 05:19:47+00:00
A hacker can easily replace your shared library with their own malicious version or intercept calls into one as needed. As the number of distinct binary blobs for an application increases, the surface area for attack vectors increases making security a nightmare. Every piece also needs to be individually signed and authenticated adding more complexity to the application deployment.

As the gp mentioned, Static libraries have a lot of advantages by having only one binary to sign, authenticate and lockdown/test/prove the public interface. The idea is extended into the "Unikernel" approach where even the OS becomes part of the single binary which is then deployed to bare-metal (embedded systems) or a Hypervisor.
by barrell | 2025-07-23 05:19:55+00:00
Yeah second this. I find model updates mildly interesting, but besides grok 4 I haven’t even tried a new model all year.

Its a bit like the media cycle. The more jacked in you are, the more behind you feel. I’m less certain there will be winners as much as losers, but for sure the time investment on staying up to date on these things will not pay dividends to the average hn reader
by RandallBrown | 2025-07-23 05:20:48+00:00
This gives me an idea for a source control/task task tracking system where TODOs in code get automatically turned into tickets in your tracker, and then removed from your code automatically.

That way you don't fill your code with a list of TODOs and you'll still be able to track what you want to improve in your codebase.

It might not be the right tool for everyone, but I'd love it.
by raincole | 2025-07-23 05:21:21+00:00
It really isn't.

How can the browser know if an arbitrary animation can change an element's height? I'll bet 10 bucks this is equivalent to halting problem.

Unless you 1) don't support full SVG spec or 2) separate SVG elements from the layout completely, it's not a problem that is solvable by browser. The developers need to wrap their animation in a fixed size element and it's very reasonable to expect them to do so.

Plus, the CSS spec doesn't prevent browser vendors from optimizing this specific use case if it's really that needed.

(Of course in the case of this simple web app in OP, the correct solution is to not use animation at all.)