MurphyA/hacker-news huggingface dataset:
Show HN: SDK for Building AI-Powered Creative Tools
by buss_jan | 2025-07-24 10:04:48+00:00
We’ve integrated AI features into our Creative Editor SDK using its plugin system. It’s model-agnostic, so you can plug in GPT-4V, DALL·E, Stable Diffusion, or your own custom models.

Unlike traditional prompt → copy → paste workflows, this lets users generate, edit, and remix images and video directly on the canvas. You can even compose visual prompts using annotations, references, or multiple images to guide generation. We designed it for real-world creative workflows, beyond simple concept generation.

- Works with any model or API - AI for image, sticker, video and audio generation - Try the live demo in your browser

You are not limited to these workflows; Our plugin system allows you to extend several parts of the UI and create tailored workflows depending on the models you want to use.

Would love feedback or to hear how others are thinking about AI-powered creative tooling. Questions and ideas welcome!
by pyman | 2025-07-24 10:05:36+00:00
Those of us who live outside the US don't think like that. We love German cars, Chinese phones, Korean TV series and Vietnamese food. Our taste is not guided by ideology, it's guided by quality and value.

In school, for example, they taught me that Russia won the "space race" by sending Yuri Gagarin into orbit and making him the first human in space, and the US won the "moon race." What I'm saying is, not all of us live in the same country or have to choose between black or white. We think it's fair to give credit where it's due.
by dathinab | 2025-07-24 10:07:00+00:00
if it's embedded in another service and you already clicked join etc. through that other service to name one UX flow where an additional pre-join dialog would be not supper wanted

I e.g. would not complain if MS Teams (I have to use for work) would not put me into a pre join dialog every time I click join in Outlook but just joins me with mic muted/camera disabled by default. But then it also wouldn't be a security issue in my case as I put MS Teams and co. into it's own browser window/process/profile (not due to concerns but more as a side effect of them refusing to even trying to work on Firefox and not wanting to miss out on the tab sync + tab group + account container and not being allowed to install arbitrary extensions which add similar functionality to chrome).
by graemep | 2025-07-24 10:07:37+00:00
I came across a teenager was using the Google AI summary as a guide to what is legal to do. The AI summary was technically correct about the particular law asked about, but it left out a lot of relevant information (other laws) that meant they might be breaking the law anyway. A human relevant knowledge would mention these.

I have come across the same lack of commonsense from ChatGPT in other contexts. It can be very literal with things such as branded terms vs their common more generic meaning (e.g. with IGCSE and International GCSE - UK exams) which again a knowledgeable human would understand.
Show HN: Smarter Gold and Silver Investing, Powered by AI
by jennyljungblad | 2025-07-24 10:07:42+00:00
Hi HN!

I built GoldSilver.ai because I believe more people should be thinking about sound money, especially now.

Gold just hit an all-time high - but most people missed it. Inflation quietly eats away at savings, and few modern platforms support physical metals or give good insight into mining stocks. I wanted a better way to compare prices, track metals, and research companies - so I built it.

GoldSilver.ai gives you tools to:

Compare bullion prices across multiple dealers Track live metal prices with historical performance Manage a portfolio of physical bullion and mining stocks Research mining companies by key metrics Browse a detailed mining company database Create and follow public portfolios (free account required)

To give an idea of what’s possible: GoldSilver.ai’s own public portfolio is up 135.93% this year - with no leverage, just thoughtful mining stock picks.

The site is clean, fast, and free to browse. AI is used behind the scenes to help generate and maintain the bullion and mining company database, but the focus is on transparency, long-term thinking, and usability.

Tech stack: Next.js + React Native Web (frontend), .NET Core + PostgreSQL (backend), Azure Functions (scraping), and OpenAI for content generation. The site is mobile-friendly and I plan to launch native apps next.

I’m bootstrapping this solo (with a newborn daughter keeping me company), and while dev time is limited, I’m actively improving it based on feedback. I’d love your thoughts - whether you're into investing, building, or just curious how gold became the best-performing asset nobody talks about.

Try it here: https://goldsilver.ai
by altairprime | 2025-07-24 10:08:00+00:00
The difficult is not electricity prices; those can simply be tariff'd for overhead-slash-profit as all U.S. chargers do already. The difficulty is building out hundreds of chargers within a single city block's worth of the city's x,y grid. That level of power density is generally only seen in heavy industrial zones, and residential distribution grids can barely cope with air conditioners, much less with electric vehicles on top of that, before the prospect of upgrading every multifamily residential zone from low-density power to high-density power.

Napkin math time. Assuming that Shanghai has ~1% of China's 420 million vehicles, given that Shanghai has ~2% of China's population (~8 million) and assuming a car ownership rate of 0.5; then Shanghai can be estimated to have 4 million vehicles, while only having 0.8 million charging locations (as the article indicates). 20% certainly does exceed 0.2%, and they're ahead of the game with ~2 charging locations per EV today — but that also means that they've only converted ~10% of Shanghai's gasoline vehicle population and are only provisioned to support 20% conversion right now.

However, I think that China has a significant advantage versus the U.S. — they are primarily selling very small vehicles for intra-city use. So, their charger capacities can be significantly lower per vehicle than in the U.S., which reduces their difficulty of electric conversations probably by a full order of magnitude from ours.
by Paradigm2020 | 2025-07-24 10:08:10+00:00
The problem with this world is that 80% of people think they are above average and from the remaining 20% most are above average and thinking they are below average (~bastardized quote from some famous guy)

I'm almost willing to bet that you did more than good enough work and if you still want to become a (n even) great(er) programmer I'm sure there's quite a few OSS projects you could contribute to as well if you wanted to :))

Re:matching it you could also spread it amongst a couple of projects.

Anyway have a great day
by kotaKat | 2025-07-24 10:08:12+00:00
> major streaming services cutting back on original content due to production costs

Are we sure about that? Apple seems to keep making more and more TV shows instead of focusing on technical debt. Last I knew my phone didn't work right with Apple Intelligence or whatever "Siri" is supposed to be but we're on season 4 of whatever a Ted Lasso is.
by rajnathani | 2025-07-24 10:08:15+00:00
I wonder why he (Andrew Feldman) didn't retort to the SRAM vs HBM memory incorrect assumption made by the OP comment; maybe he was so busy that he couldn't even cite the sibling comment? That's a bigger wrong assumption than being off by maybe 30-50% at most on Cerebras's single server price (it definitely doesn't cost less than $1.5-2M).
by conradfr | 2025-07-24 10:08:32+00:00
Writing typespecs (+ guards) feels really outdated and a drag, especially in a language that wants you to write a lot of functions.

It reminds of the not-missed phpspec, in a worst way because at least with PHP the IDE was mostly writing it itself and you didn't need to add the function name to them (easily missed when copy/pasting).
by theshrike79 | 2025-07-24 10:09:00+00:00
Openweathermap works: https://openweathermap.org/price

I've been using their free (2.5?) API for a while and just last week moved on to the paid-but-with-free-tier 3.0 API for more info.

You just need to put in your credit card (most likely to prove you're an actual human being) and that'll net you 1000 requests per day for free.

Then go into the settings and set a hard limit at 999 and you'll never get billed.

If whatever you're doing needs to get weather data more often than once per minute, start charging for it or cache data on your end more aggressively to not hit the limit.
by spuz | 2025-07-24 10:09:21+00:00
Your source doesn't consider non-plug-in hybrids also known as HEVs because zapmap are a company that sell charging services. The number of HEVs in the UK is about twice the the number of PHEVs so the total number of hybrids is still higher than the total number of BEVs. In 2024, 6% of vehicles on the road were hybrid compared with 3.7% fully electric.

https://www.smmt.co.uk/more-than-a-million-evs-on-uk-roads-a...
Show HN: Track Nancy Pelosi's Stock Trades (Auto-Updated)
by virusyu | 2025-07-24 10:09:26+00:00
Hi HN,

I built https://nancypelosistocktracker.org/ — a site that automatically tracks and visualizes U.S. Congresswoman Nancy Pelosi’s stock transactions using official House disclosure filings.

*Why I built it* I was curious about the recurring headlines claiming “Pelosi’s portfolio outperforms the market.” The raw data is public but buried inside PDFs/TXT bundles on the House Clerk’s website. I wanted a clean, automated way to parse the disclosures, highlight trades, and show positions over time.

*What it does* - Pulls new Periodic Transaction Reports (PTRs) from the House disclosure portal on a schedule - Parses TXT/XML files, normalizes tickers and amounts, and links the original PDFs - Displays recent trades, historical totals, and sector/position breakdowns - Exposes a simple JSON endpoint so others can programmatically reuse the data

*Tech stack* - Scraper: Python + Requests + lxml, scheduled via a small cron container on a VPS - Data store: PostgreSQL for structured trades, Redis for cache - Backend/API: FastAPI - Frontend: Next.js + TanStack Table for fast filtering & sorting - Deployment: Docker Compose on a cheap cloud VM + Cloudflare for caching

*Challenges* - Disclosures are inconsistent (typos, naming differences). I built ticker-mapping heuristics and a manual override table. - The House site occasionally changes file structures, so I added alerting when parsing fails. - Some positions are only visible in annual filings; I’m still refining how to estimate “current holdings.”

*What’s next* - Add charts for performance vs SPY/QQQ - Expand to more politicians (or let users pick who to track) - Consider open-sourcing the parser if people find it useful

*Feedback I’d love* - Parser accuracy: any suggestions on better entity/ticker matching? - Front-end usability: which tables or charts are missing? - Data licensing: anyone done something similar and learned the hard lessons?

Site: https://nancypelosistocktracker.org/ (GitHub repo is private for now; happy to open specific parts if there’s demand.)

Thanks for reading — I’ll be around to answer questions!
by Affric | 2025-07-24 10:09:38+00:00
Agree that Visa shouldn't have the power but the fact is,this isn't it.

The civil liberties guys always jump in one too early to defend the guys who want to fuck kids.

Slippery slope arguments are fallacious. I am ready to destroy Visa/Mastercard as soon as it's not child abuse or erotic depictions of child abuse they are censoring.
by cess11 | 2025-07-24 10:10:15+00:00
Elixir won't allow you to do that:

iex(2)> "/home/cess11" * 9 ** (ArithmeticError) bad argument in arithmetic expression: "/home/cess11" * 9 :erlang.*("/home/cess11", 9) iex:2: (file)

Documentation is full of type information:

https://hexdocs.pm/elixir/Enum.html#types
by johnisgood | 2025-07-24 10:11:07+00:00
Vodka for some reason has always made me nauseated and it often did result in vomiting. None of the other alcohols have ever made me nauseated or nor made me puke, not even in high, undiluted amounts. So I realized if I do want to get drunk, I cannot go wrong with whiskey.

Maybe there is a vodka that would be different.
by impossiblefork | 2025-07-24 10:11:34+00:00
Yes, but companies run for investors will always have to pay investors, so it would have either been a buyback or dividends. When interest rates go up, companies end up competing with government bonds, and they must give dividends that keep them competitive, and in 2023 that was something like 4.3%.

For investing in the future to be possible interest rates must essentially be low.

I've thought a little about this problem, because recently we had situations where we simultaneously had inflation and needed investments to produce products in new ways to counter that inflation, and this obviously leads to a situation where it's difficult to get out of the problem. If we increase the interest rates then we stop the inflation, but the interest rates will be too high for investments to counter them. Concretely: Northvolt was trying to do American-style doomscaling and then interest rates went up, so they went under.

I believe that there is a solution: giving the central banks the additional tool to set a mandatory savings fraction of wages-- that is, that the central banks are allowed to set a fraction of wages that must be saved, and which may be invested or used to start a company but which isn't allowed to be used for consumption.

If you then have inflation and consumers are bidding over each other for goods and driving up the prices the central bank can increase the savings fraction without changing the interest rate. So plausible, in case of inflation you'd look at the need for capital to get out of it: if there's no need for capital to build new things and get out of it, then you just increase the interest rate, if there is, you increase the mandatory savings rate.

I thought about voluntary solutions, but suppose that we consider a savings pacts-- i.e. ordinary people get together and agree to all save a certain fraction of their income, then this drives down prices, so whoever deviates from the pact gets so much goods that he's really happy with what he gets for his money. Consequently such savings pacts are unstable and the savings pact must be mandatory.

I also think this is especially right for Europe. I calculated that if the central banks set this at 5% then this is enough for Draghi's €800B of needed investment, but it's obviously also applicable to the US if the US wants to transition to EVs, and now you have even higher interest rates than we do, so this policy might actually be the right thing for you too.
by some_furry | 2025-07-24 10:11:58+00:00
I'm seeing mixed things about HR 987 and S 401 online. There are resistbot campaigns claiming that this law will do the exact opposite of what we want.

https://resist.bot/letters/eb93c1f2-0b25-4fb3-b080-5e75f9c5c...

EDIT: I decided to blog about this topic. https://soatok.blog/2025/07/24/against-the-censorship-of-adu...
by Affric | 2025-07-24 10:12:51+00:00
Most of your comment I agree with, if Visa has this power they should be using it against people involved in human trafficking. But:

> which presumably don't feature real human beings

I don't really care. As soon as you've created something people will pleasure themselves to you've created the negative feedback loop on the pleasure but the positive feedback loop on the real thing IMO.
by CopyOnWrite | 2025-07-24 10:13:01+00:00
Tried to upgrade from Bookworm to Trixie for my desktops end of April.

Only thing that was broken was the desktop background, everything else worked great w/o any issue and even solved some trouble I had to fix by hand for Bookworm (WiFi sleep mode), so I upgraded all my physical and virtual machines.

Had no issues at all, only thing annoying compared to running stable was the amount of updated packages, which again run trough w/o any hitch and I have to take full responsibility. ;-)

Highly recommended if you want a Linux distribution for a server or a desktop which simply works and keeps working.
by manbitesdog | 2025-07-24 10:13:07+00:00
In Spain most city roads with 2+ lanes per direction have a dedicated bus lane, yet you still get bus bunching and spacing adjustments anyways.

- Imagine bus A is followed by bus B, it's 5PM and people are leaving work simultaneously

- Bus A spends a lot of time on each stop picking passengers up

- When bus B arrives, fewer people are waiting and it tends to take less time

- Eventually, bus B catches up to bus A so A must skip stops to maintain proper spacing

As for why this doesn't annoy people: if both buses are already close together, any ETA changes from spacing adjustments are minimal, and bus A will show no destination on the front display, so no false expectations are created.
by microtonal | 2025-07-24 10:13:17+00:00
This is exactly what the DeepSeek team did, and now Anthropic is repackaging it a year later, calling it “subliminal learning” or using the teacher and student analogy to take credit for work done by Chinese researchers.

What? Distillation is way older. The Hinton paper was from 2015 (maybe there is even earlier work):

https://arxiv.org/abs/1503.02531

When I was still in academia, we were distilling models from BERT/RoBERTa-large to smaller models (remember when those models were considered large?) in 2019 using logits and L2 distance of hidden layers. Before that we were also doing distillation of our own transformer/lstm models on model outputs (though with a different motivation than model compression, to learn selectional preferences, etc.).
by bl1ndl1fe | 2025-07-24 10:13:28+00:00
Did you know about the curb cut effect?

This is when access for disabled people ends up helping everyone.

For example:

1. Electric Toothbrush Originally designed for people with limited grip or coordination. Now everyone uses them!

2. Ramps Built for wheelchair access, but now essential for cyclists, people with prams, delivery workers & more.

3. Text-to-Speech & Voice Assistants Created for blind & mobility-impaired users. Now used daily to set timers, send texts, and manage smart homes.

4. Velcro Invented in the 1940s, Velcro became widely used in disability care settings before it went mainstream, even before NASA made it famous.

5. Audiobooks Developed to provide access for blind readers. Now a key tool for multitaskers, commuters and resting listeners.

6. Touchless & Automatic Doors Designed for accessibility. Now a standard feature in supermarkets, hospitals, airports and office buildings.

7. Subtitles & Captions Created for Deaf & hard of hearing people. Now used by millions to focus, learn, or watch content in quiet settings.

Which other inventions form part of the curb cut effect?
by pietroppeter | 2025-07-24 10:13:30+00:00
For the curious on how it works (not mentioned in the readme), it uses pymupdf and a precise mapping of all information in area coordinates, as such the document layout is hard coded.

When layout changes this breaks but layout changes on this sort of documents do not happen often (I think). Also code is very clean and it serms straightforward to fix.

This kind of code is maybe something that can be generated from an LLM/agent? (It would be easy to write checks)

Besides the practical value for those who might need it, I think it is possibly interesting for others to look at this approach.

Neat project, thanks for sharing!
Ask HN: Should US Offer Free LLMs to Europe to Counter China Influence?
by grillitob | 2025-07-24 10:14:01+00:00
I propose the U.S. provide free LLMs (for individuals/small businesses) to Europe, conditional on avoiding Chinese models — provided U.S. LLMs are at least as capable.

This could preempt China’s potential retaliation (e.g., subsidizing their LLMs) while strengthening Western AI alignment.

Alternatively, Europe might mandate local LLMs to retain independence, though this could limit competitiveness.

Is this realistic? Historically, tech dominance has hinged on early adoption (e.g., cloud wars). Could AI follow a similar path?
by tim333 | 2025-07-24 10:14:42+00:00
Central bank digital currencies are an odd idea that lots of people have talked about but not implemented as they don't really make a lot of sense. It started because things like bitcoin and tether got a lot of traction as mostly unregulated cryptocurrencies and governments thought why have these criminimal using tether - we can issue a government crypto instead. But it doesn't really make sense - if you are going to use something regulated by the government why not just put your money in a bank account and drop the blockchain stuff?
by Filligree | 2025-07-24 10:15:05+00:00
It does not, or at least not very well. Merges can't be rebased without replaying conflict resolution; since Git lacks a first-class concept of conflicts, that becomes a manual process.

Moreover, jj should be able (I haven't explicitly tried this) to autogenerate the conflict resolution in the `jj absorb` case, since it knows what the final post-merge state should be.
Show HN: Built an AI Mock Interview tool because peer-to-peer doesn't scale
by fahimulhaq | 2025-07-24 10:15:22+00:00
MockInterviews.dev makes it easy and affordable for engineers to get realistic, on-demand practice with System Design Interviews, Coding Interviews, and more. After running in beta on Educative.io (with 15K+ interviews conducted), we're finally launching it as a standalone platform.

Some background: A few years ago, we actually tried offering peer-to-peer mock interviews over on Educative. We did this by connecting candidates with experienced engineers. It didn't scale. Scheduling busy engineers was chaotic, and personally conducting hundreds of these interviews left me burned out. We eventually gave up on peer-to-peer mocks altogether.

However, one key insight stuck with me: engineers should ideally practice mock interviews regularly, not just cram one or two at the end of their prep. Peer-to-peer mocks simply weren't viable for ongoing practice because of cost and logistical headaches.

Fast forward to the rise of LLMs. We revisited the idea and started testing AI-driven mock interviews via our integrated coding environment. The results were promising, but System Design Interviews felt incomplete without intuitive diagramming tools. After experimenting for about six months – including adding interactive whiteboarding and speech-to-text capabilities to make the experience as immersive and realistic as possible, I am excited to release Mockinterviews.dev to the public.

Our average session rating climbed from 2.5 during alpha release to a steady 4.5 today, and we've already helped hundreds of engineers simplify the prep process and land jobs at the world’s top tech companies.

I am excited about this progress and eager to keep improving.

Try it out here: MockInterviews.dev

I'd love your thoughts and am happy to answer any questions.

Feel free to reach out directly at fahim.u@educative.io.
by ffsm8 | 2025-07-24 10:15:42+00:00
I doubt you'll get a response from someone with authority on the matter (that actually worked on these models and is willing and authorized to post this publicly)... So I'm gonna add my uninformed consumer perspective:

I sincerely doubt the o3/2.5 pro haven't been distilled. It's unimaginable to me they're that price insensitive (or expressed inversely: were so thrifty in training that the final product can be used without optimization for the consumer usage)

the only conclusion I can come to is that they're indeed not letting you access the "root" models.
by CopyOnWrite | 2025-07-24 10:16:57+00:00
Running Trixie/Gnome on a machine with 4GB (3.6GB usable) w/o any trouble.

Gnome runs better than ever, the problem is in my experience usually the web browser when it comes to RAM usage. Install ZRAM and the machine should be perfectly usable, if your usage patterns are similar to mine.

(Only thing which annoys me is that I cannot find an excuse to buy a better computer, because everything simply works on the machine...)