MurphyA/hacker-news huggingface dataset:
Show HN: I built an AI that writes your portfolio's React code – and made it OSS
by fudailzafar | 2025-11-12 16:37:57+00:00
Hey hackers,

I’ve been a frontend dev for about 1.5 years, mostly working with React and Next.js.

I always found it hard to build polished personal portfolios, especially when trying to combine design, layout, and live code previews. So I built ChatPortfolio, an AI that writes and updates your React portfolio code in real time.

You can chat like:

“Add a work experience where I worked at Google.” “Change the theme to red.”

And it updates the portfolio instantly — no rebuilds, no manual syncing, just live generative React code.

Under the hood:

- Uses Next.js for server rendering and routing.

- Integrates with Tambo (a generative UI framework) for returning live React components inline.

- Real-time updates through an interactable React tree, so AI changes the UI without triggering rebuilds.

I’m still experimenting with better editing UX, saving user state, and custom schema validation for generated components. And the best part is, it's Open Source!

Demo: https://the-chat-portfolio.vercel.app

Repo: https://github.com/fudailzafar/chatportfolio

P.S. My first HN post, would love any feedback and do check it out :)
by Marshferm | 2025-11-12 16:38:17+00:00
The transition from episodic thought dominance to mythological thought dominance as literary theory posing as neuroscience. For a non pseudoscientific approach, see Aurbachs Mimesis which builds the same argument without pretext. We would never accuse humans of hallucinating false timescales in the time of Song of Roland, how can we do the same thing to ancient greece? The idea that narrative adoption ever stopped being a hallucination is Jaynes’s hand wave. Narrative is adopted in every child, it’s not innate though our prefrontal comes ready to use for it. The conundrum of an animal that can’t think straight.
by jcalvinowens | 2025-11-12 16:38:31+00:00
Meh. NTP is just an awkward less accurate frontend for GPS these days.

It's so easy to run your own NTP server. You can set up a pretty decent one using GPS PPS for like $200. My home ntp server is good for +/- 1us if you believe its ntpq stats...

This isn't like DNS. Everyone can run their own local NTP and that's fine. The only true shared infrastructure is the GPS constellation.
by simonw | 2025-11-12 16:38:45+00:00
I like Quakebot as an example of how to do this kind of thing ethically and with integrity: https://www.latimes.com/people/quakebot

> Quakebot is a software application developed by the Los Angeles Times to report the latest earthquakes as fast as possible. The computer program reviews earthquake notices from the U.S. Geological Survey and, if they meet certain criteria, automatically generates a draft article. The newsroom is alerted and, if a Times editor determines the post is newsworthy, the report is published.
by thmsths | 2025-11-12 16:38:54+00:00
Because when someone working for a public entity is rewarded with more money, eventually it results in someone else publishing something along the lines of "Our investigative team scoured records and sent a bunch of FOIA request, they found that some public servants make more than <insertLargeAmountOfMoney>", cue outrage, tightly defined salary bands set by the legislator and ultimately the problem you describe.
by numpy-thagoras | 2025-11-12 16:39:00+00:00
The default philosophical position for human biology and psychology is known as Representational Realism. That is, reality as we know it is mediated by changes and transformations made to sensory (and other) input data in a complex process, and is changed sufficiently to be something "different enough" from what we know to be actually real.

Direct Realism is the idea that reality is directly available to us and any intermediate transformations made by our brains is not enough to change the dial.

Direct Realism has long been refuted. There are a number of examples, e.g. the hot and cold bucket; the straw in a glass; rainbows and other epiphenomena, etc.
by ximeng | 2025-11-12 16:39:22+00:00
Thanks for the reply (and for Claude Code!). I've seen improvement on this particular issue already with the last major release, to the extent that it's not a day to day issue for me. I realise Github issues are not the easiest comms channel especially with 100s coming in a day, but occasional updates on some of the top 10 commented issues could perhaps be manageable and beneficial.
by embedding-shape | 2025-11-12 16:39:24+00:00
It's just me being paranoid after seeing npm/pypi supply chain attacks, and since then I basically run most software touching the internet in a VM one way or another.

I think in this case, my own laziness is what makes it worse than it has to, currently I'm doing whitelisting by domains, so youtube.com for the yt-dlp runner is obviously OK, and I'd want to avoid whitelisting github.com for that, since it's just downloading one JS file.

For now manually copying the config file into my SCM or just whitelisting GitHub for initial download does the trick. I guess I just had to squeeze in one complaint in my previous comment so I could get the HN stamp of approval, can't be too positive.
by observationist | 2025-11-12 16:40:43+00:00
https://en.wikipedia.org/wiki/Noisy-channel_coding_theorem

You can precisely engineer arbitrary numbers of channels, design sampling methods to raise your data integrity to whatever your desired error rate is, and so on. This gives you an accuracy/efficiency tradeoff dial, which can be useful - you can choose to spend more time or energy for higher fidelity where the cost justifies it.

Feedback and crosstalk creating chaotic relationships, unintended synchronization, and other effects are non-trivial, however.

Neural networks are non-dimensional or unordered sets, meaning you can arbitrarily order the neurons in a layer so long as you maintain the links to the connected layers. If you permute the structure of a network to reorder neurons in a layer by some feature, the function of the network remains identical to the original, but you can highlight a particular function or feature of the layer, with the constellation of coordinates representing the particular configuration of synapse ordering and weight vectors. You can cycle through all possible configurations of orderings, and those represent possible states of a trained network. When trying to work with stochastic optimizations for neural networks, you're playing around in this same space - they're effectively a combinatorial minefield.

If you design a processing regime to sample a particular subset of possible configurations, it might be possible to exploit a traversal of random orderings associated with amplitude of signals where they correlate and coincide with useful computation - selecting and ordering a set of addresses whose function approximates the desired value.

I see some possibilities and interesting spaces to explore with these systems, but they're going to need some heavy duty number theorists just to eke out a set of useful primitives, and it's unclear to me that it can ever be generalized. You might be able to carefully handcraft an implementation for something like ChatGPT 5, for example, but I don't see how you could simply update it, finetune it, or otherwise. You'd have to put in just as much effort to implement any other model, and any sort of dynamic online learning or training seems to hit a combinatorial explosion right out of the gate.
by komali2 | 2025-11-12 16:40:54+00:00
I'm always confused by the anglocentrism of these kinds of ux "standards" because for example in mandarin we call days (三號）, weekdays （星期二 / 禮拜二）, months （二十月）, and years by numbers... And in Japanese they have similar I believe but also have non numbers for weekdays. I imagine other languages have similar flukes, wouldn't be surprised if there was one out there that had special words for the first couple days of the month or something.
by delecti | 2025-11-12 16:41:00+00:00
> Kwik Trip, a family-owned convenience store chain that operates in the Midwest, decided to round down cash purchases in stores where it hasn’t been able to find pennies.

They're rounding all cash transactions down to the nearest nickel, so an average of 2 cents per transaction, 3.4 million customers, gives me $68,000 assuming each "customer" makes a single transaction per year. If they mean that there are 20 million unique customers, not 20m transactions, then the a long tail of customers who make frequent small transactions in cash could make their claim check out.
by jqpabc123 | 2025-11-12 16:41:04+00:00
But as long as everyone accepts the claim — Moses, his fellow tribesmen, the audience reading the Book of Exodus — then it has de facto social truth, which is the only truth this kind of claim ever really needs.

I have a slightly different take.

The only thing Moses really accepted was the need for law and order.

Jails and prisons don't really work for nomadic peoples so Moses invented a judicial systm run by an all powerful (but invisible) entity that can see and hear everything.

He sold this idea to his people for the most practical and mudane of reasons --- in order to help maintain some semblance of control and unity.

This made perfect sense at the time --- survival demanded it. What makes less sense is simple minded individuals looking toward the firmament (aka sky dome) for guidance thousands of years later when we now know that the only thing up there is air.
by rsync | 2025-11-12 16:41:14+00:00
It's rough out there and has become increasingly difficult to maintain our pace of storage deployment.

Further - and most concerning - is the pollution of the supply chain with refurbished/recertified stock being sold and marketed as "new".

One example:

https://kozubik.com/items/MaestroTechnology/

I strongly advise buyers to stick with trusted suppliers, avoid Amazon/ebay channels, and carefully vet your incoming stock with SMART tools to ensure you receive what you think you are ... especially for SSD parts.
by nayuki | 2025-11-12 16:41:28+00:00
We eliminated pennies in Canada in 2012 and the transition was a non-issue. The vast majority of retailers would round cash transactions to the nearest $0.05, but a few would round down to the nearest $0.05 in favor of the customer. https://en.wikipedia.org/wiki/Withdrawal_of_low-denomination...

Canadian cash is better than American cash in several ways: No penny, durable polymer banknotes (instead of dirty wrinkly cotton paper), colorful banknotes (instead of all green) that are easy to distinguish, $1 and $2 coins in wide circulation (instead of worn-out $1 bills).
by pohl | 2025-11-12 16:41:43+00:00
> News is not the place for bias

TBH, I think that journalists tying themselves into pretzels in an effort to remain unbiased does more damage than the presence of some bias. As a consumer of news, I want journalists to be biased, for example, towards the rule of law, the preservations of institutions, and checks & balances, and even norms.
by mring33621 | 2025-11-12 16:41:45+00:00
True!

In a similar vein:

One of the dads at school runs a company that does a nanotech waterproof coating for electronics (backed by patents). I told him that it would be very useful for personal electric vehicles, like electric unicycles. He replied that they looked at that, but decided not to license the tech for that use, because there wasn't enough money in it.

Sad.
Show HN: Heliosinger – The Sun Sings Real-Time Space Weather
by hunterbown | 2025-11-12 16:42:45+00:00
Hey everyone! I've been captured by the recent solar storms like the rest of the internet, so I dug up a project I've been working on for a while.

I built Heliosinger — it's a project that gives the sun a "singing voice" in real-time. I'm a trumpet player and classical vocalist, so my goal was to make the musical choices very intentional, not just random beeps.

Here's a rough idea of how the mapping works: - Pitch = Solar Wind Velocity - Vowels (ee/ah/oo) = Plasma Density + Temperature (using formant synthesis) - Rhythm/Tremolo = Kp Index (geomagnetic activity) - Harmony (Major/Minor) = Plasma Temperature + Magnetic Field (Bz)

Technical details: Built with Web Audio API (custom formant filters for vowel synthesis)

Real-time data from NOAA DSCOVR and SWPC (updates every 15-60 seconds based on activity)

React + TypeScript + Vite

Deployed on Cloudflare Pages

No tracking, no analytics, fully client-side

Try it: https://heliosinger.com

The code is open source: https://github.com/Shannon-Labs/heliosinger

I'd love to hear your thoughts on the sonification mapping and any ideas for improvements! We might hear some crazy sounds tonight!!
by 0_____0 | 2025-11-12 16:42:48+00:00
Waymo (prev. Chauffeur) were cruising freeways long before they were doing city streets. Problem was that you can't do revenue autonomous service with freeway-only driving.

The real reason I see for not running freeways until now is that the physical operational domain of for street-level autonomous operations was not large enough to warrant validating highway driving to their current standard.
by Polizeiposaune | 2025-11-12 16:42:52+00:00
The flare is delaying a rocket launch due to concerns about the potential impact on the payload (two spacecraft bound for Mars):

"NG-2 Update: New Glenn is ready to launch. However, due to highly elevated solar activity and its potential effects on the ESCAPADE spacecraft, NASA is postponing launch until space weather conditions improve. We are currently assessing opportunities to establish our next launch window based on forecasted space weather and range availability."

https://twitter.com/blueorigin/status/1988621902881914961
by lunias | 2025-11-12 16:42:54+00:00
I got a pair of Common Projects Chelsea boots maybe 10 years ago now. I still have them, they're good shoes. I wore them all the time for the first year I got them. They don't make it into my rotation much now these days though. My most worn shoes now are: Guidi PL2, 11 by BBSxSalomon Bamba 2 high, Rick Owens "Vans", Rick Owens "Dunks", CCP Prosthetic Tornados, and Visvim Christo slides. Everything except the Bamba 2 highs is a replica and cost under $400.
by incomingpain | 2025-11-12 16:42:55+00:00
>Your comment include many note taking/editing examples. Not 100% if you left the comment under the wrong thread or not but your suggestion could fit my needs perfectly.

Right thread, but I was kind of placing the context of my needs and what hasnt worked. Just not good enough.

>I would normally be wary of using any remote AI solutions since some of the documents that I am thinking of storing contain very personal information but, llamaindex seems to support local-llms. https://developers.llamaindex.ai/python/framework/getting_st...

llama index can be fully local. In fact, i believe the size of the llms are trivial and dont need to be large.
by embedding-shape | 2025-11-12 16:42:56+00:00
That's a bit like complaining no cars have trouble because your Fiat doesn't have a problem. There are more browser engines out there than the ones you use, some in direct competition with Google themselves, maybe people using those engines are experiencing issues? Jumping to calling out "hyperbole!" sounds like hyperbole itself, since you don't actually have broad experience enough to say if that's true or not.

FWIW, when I use Chromium (logged out/in) on Linux, everything works fine. If I use Firefox (logged in), it works worse. If I change the user-agent to Chromium in Firefox, I get faster buffering than when I use the default user-agent. Make of that what you will.
by sidewndr46 | 2025-11-12 16:42:57+00:00
My work laptop has a company sticker on it. If I'm at a customer's office I'd like everyone to know I don't work for them. TSA also has this really neat trick where my laptop has gotten "lost" several times going through security. I have to describe the laptop in order to get it back. If I don't have an identifying sticker it's basically impossbile to uniquely identify it
by dspillett | 2025-11-12 16:43:03+00:00
> RealPlayer was a dumpster fire

And actually malware IMO. IIRC many of its installs were through tricks: silent installations with other software, drive-by downloads, etc. And once in, by fair means or fowl, it took over every video playing avenue whether you wanted it to or not, and it itself included other malware like Comet Cursor.
by gainda | 2025-11-12 16:43:34+00:00
I have an Apple Watch that I get into from time to time but generally it collects dust despite how many cool functions it has. Mostly because of the battery life & lack of customization. Most of the things it tracks or does I can see or do on my phone so it feels redundant & what can't don't need to monitored continuously in my life.

I daily a black LF20W-1A and I also use the A168W-1 and AE1200WHD. The faces and design are way more interesting to me and they are more affordable.

I wish I never got the Apple Watch ...
by xzjis | 2025-11-12 16:43:44+00:00
What shocks me more than the copy-pasting from ChatGPT (which might actually be more relevant than a journalist paid peanuts) is that it means the articles are never proofread before being published. Even if the article had been written by a human, it would be a disaster and would say a lot about the level of misinformation that can slip through an underpaid newsroom.
by numpy-thagoras | 2025-11-12 16:44:23+00:00
A world model is a persistent representation of the world (however compressed) that is available to an AI for accessing and compute. For example, a weather world model would likely include things like wind speed, surface temperature, various atmospheric layers, total precipitable water, etc. Now suppose we provide a real time live feed to an AI like an LLM, allowing the LLM to have constant, up to date weather knowledge that it loads into context for every new query. This LLM should have a leg up in predictive power.

Some world models can also be updated by their respective AI agents, e.g. "I, Mr. Bot, have moved the ice cream into the freezer from the car" (thereby updating the state of freezer and car, by transferring ice cream from one to the other, and making that the context for future interactions).
by gethly | 2025-11-12 16:44:29+00:00
Raid or whatever your local product name is that you plug into the electric socket and it evaporates poison which is harmless to you as there is very little of it but it kills them. Some have formulas against flies as well.

Also, if you are in ketosis, your blood is acidic and they hate it as they are attracted mostly to sweet blood. So they won't bite.

But I would definitely pay good money for some laser Tourette system to have in my room that would track movement in infrared with high definition camera and fry those ***. I saw some home made attempts but nothing commercially available - yet.
by pdabbadabba | 2025-11-12 16:44:40+00:00
We're in peacetime, but the current leadership perceives us to be in a pitched great-power struggle, and perhaps near-term shooting war, with China. Similarly, while we are not literally at war with Russia, we are in a very acute global conflict with them of another type that might be thought to warrant a different pace of military innovation. Perhaps these factors are what GP had in mind.
by bronco21016 | 2025-11-12 16:44:42+00:00
I don’t live in a served market yet so I haven’t yet tried Waymo. However I have used SuperCruise and BlueCruise from GM and Ford.

What I’ve noticed from those other systems is that a human in the loop makes the system so much more comfortable. I’ve had times where I can see the red lights ahead and the system is not yet slowing because the car immediately in front of me isn’t slowing yet. It’s unsettling when the automated system brakes at the last moment.

Because of this experience the highway has been the line in the sand for me personally. Surface streets where you’re rarely traveling more than 45 mph are far less likely to lead to catastrophic injury vs a mistake at 70 mph.

I don’t think Waymo is necessarily playing fast and loose with their tech but it will be interesting how this plays out. A few fatal accidents could be a fatal PR blow to their roll out. I’m also very curious to see how the system will handle human takeover. Stopping in the middle of a freeway is extremely dangerous. Other drivers can have a lapse in attention and getting smoked by a semi traveling 65 mph is not going to be a good day.
by PaulHoule | 2025-11-12 16:44:48+00:00
Not sure if they are smart or just lucky.

A friend of mine got evicted illegally from the homeless shelter and got a moderately sized settlement which was a challenge for him to receive because he made it to his 50s without ever getting a bank account.

He started getting scam texts from someone who kept needing money to get a bus ticket to visit him and one time claimed to be at the local airport needing money for a cab ride. One of our friends convinced him to take a cab to the airport himself to meet this "person" who wasn't there.

We were thinking that they might have targeted him based on public records but I can say in the last few months I've met five people who are think are scammers sending me DMs on the like of Mastodon, Bluesky and Tumblr.
by _spduchamp | 2025-11-12 16:44:56+00:00
I remember a project I did in undergrad with Prolog that would fit connecting parts of theoretical widgets together based on constraints about how different pieces could connect and it just worked instantly and it felt like magic because I had absolutely no clue how I would have coded that in Pascal or COBOL at that time. It blew my mind because the program was so simple.
by Wistar | 2025-11-12 16:45:01+00:00
There are current litigation efforts to hold Amazon liable for suicides committed by, in particular, self-poisoning with high-purity sodium nitrite, which, in low concentrations is used as a meat curing agent.

A 2023 lawsuit against Amazon for suicides with sodium nitrite was dismissed but other similar lawsuits continue. The judge held that Amazon, “… had no duty to provide additional warnings, which in this case would not have prevented the deaths, and that Washington law preempted the negligence claims.“
by simonw | 2025-11-12 16:45:10+00:00
Here's a recipe for running the proof of concept using Docker on a Mac:

cd /tmp wget https://github.com/crashappsec/h4x0rchat/blob/9b9d0bd5b2287501335acca35d070985e4f51079/h4x0rchat.c docker run --rm -it -v "$PWD:/src" \ -w /src gcc:13 bash -lc 'gcc -Wall -O2 \ -o h4x0rchat h4x0rchat.c && ./h4x0rchat'

Animated screenshot demo here: https://simonwillison.net/2025/Nov/12/h4x0rchat/
by yencabulator | 2025-11-12 16:45:20+00:00
> 3. Binary protocol - implemented PostgreSQL wire protocol from scratch

Any chance of contributing to https://crates.io/crates/pgwire ? pgwire has been great on the server end for me, and it would make sense to have a single high-quality implementation of the whole protocol.

Also, your SQL parser is gonna miss out on a lot of the very complex language. Have you seen https://crates.io/crates/sqlparser ?
Show HN: Unisondb A open source streaming multimodal database for Edge Computing
by ankuranand | 2025-11-12 16:45:23+00:00
Hi everyone — I’m the developer of UnisonDB, an open-source log-native database built in Go for distributed and edge-scale systems.

UnisonDB rethinks the boundary between databases and streaming systems. Instead of treating the Write-Ahead Log (WAL) as a recovery mechanism, it treats the log itself as the database. Every write is immediately durable, queryable, and replicable — without Kafka, CDC pipelines, or changefeed daemons.

UnisonDB unifies persistence and streaming in one system.

It’s designed for real-time, event-driven, and edge-first workloads where data needs to move as fast as it’s written.

Key features:

1. Multi-Modal Storage: Key-Value, Wide-Column, and Large Objects (LOB)

2. Streaming Replication: WAL-based replication with sub-second fan-out to 100+ edge replicas

3. Edge-First Design: Optimized for edge computing and local-first architectures

4. Namespace Isolation: Multi-tenancy support with namespace-based isolation

Feedback, testing, or contributions are all welcome