MurphyA/hacker-news huggingface dataset:
by vinhnx | 2026-03-09 13:42:46+00:00
This month, I'm working on VT Code, a terminal-native coding agent I've been building in Rust (https://github.com/vinhnx/vtcode).

This month I'm focusing on long-pending TODO items: self-benchmarking with Terminal bench (https://www.tbench.ai/), fuzzing the security parsers (it executes shell commands, so the threat model is real), normalizing extended thinking traces across providers, and improving the agent UI/UX and TUI components and harness.
by s_dev | 2026-03-09 13:42:50+00:00
https://en.wikipedia.org/wiki/Renewable_energy_in_China

>"China is the world's top electricity producer from renewable energy sources. China's renewable energy capacity is growing faster than its fossil fuels and nuclear power capacity.[1] China installed over 373 GW of renewables in 2024, reaching a total installed renewable capacity of 1,878 GW by the end of the year. The country aims to have 80% of its total energy mix come from non-fossil fuel sources by 2060, and achieve a combined 1,200 GW of solar and wind capacity by 2030.[1]

>Although China currently has the world's largest installed capacity of hydro, solar and wind power, its energy needs are so large that some fossil fuel sources are still used."

Seems more renewables came online than non-renewables, perhaps your take is outdated?
by glad_you_asked | 2026-03-09 13:43:18+00:00
Not a developer but have few ideas that I didn't pursue due to professional and personal responsibilities. One of them was a simple protein price comparison tool that allows me to find the value for money protein powder which is tested for label accuracy, heavy metals, amino spiking etc. I used to maintain an excel of my known brands and track which ones offered the best value without breaking my bank. I thought if I am looking for such data then there might be others like me. So I recently subscribed to Claude and was able to create a simple website from scratch. It's great that people can create their hobby projects so easily now.

Link to website:

https://compareproteinprices.com/index.html
by noirscape | 2026-03-09 13:43:40+00:00
It's probably a bit of both from what I've seen of how Americans tend to react to their government doing things (online anyways).

The US's quagmire of incoherent laws and many jurisdictions seems to be a bad combination of:

* Apathetic voters that are raised on a media diet of "big government bad", which impedes any regulations on a federal level. (Note that this is irrespective on if the voters actually want a small government, it's what they're led to believe.)

* Politicians that don't like to give up power; there's an unusual desire for local/state US officials to claim responsibility and get very pissy when the federal government steps in with a standardized solution. This is very unusual compared to other countries; punting responsibilities to local officials in other countries is generally seen as a way for politicians to abdicate responsibility by letting it die in micromanagement and overworked administrative workers and isn't popular to do anymore these days. (This is also a two way street, where federal US lawmakers can abdicate making any legislation that isn't extremely popular by just punting it down to the states, even if they have legal majorities.)

* The US has a court system that overly favors case law rather than actual law. Laws in the US are permitted to be painfully underdefined since there's an assumption that the courts will work out all the finer details. It's an old system more designed around the days of bad infrastructure across large distances (like well, the British Empire, which it's copied from). It's meant to empower the judicial branch to be able to make the snap decision even if there's not directly a law on the books (yet) or if a law hasn't actually reached the judiciary in question. The result is that you end up with a bunch of different judiciaries, each with their own slightly different rules. It also encourages other bad behavior like jurisdiction shopping where people will try to find the judiciary most favorable to them, crafting "the perfect case" to get a case law on the books the way you want it to get judges to override similar cases and so on and so forth - in other countries, what the supreme court judges doesn't have nearly the same lasting impact that a decision in the US has.

* And finally, the entire system is effectively kept stuck in place because lobbyists like it this way; if they want to kill regulation, they just get some states to pass on it and then hem and haw at the notion of a federal regulation. Politicians keep it in place on their own, lobbyists provide them the grease/excuse to keep doing it. (And those lobbyists these days also have increasing amounts of ownership over the US media, so the rethoric about voters not liking big government regulations is reinforced by them as well.)

It didn't end up this way on purpose; the historical reasons for this are mostly untied from lobby interests (which is mostly just "the US is the size of a continent in width", "states didn't actually work together that much at first" and "the US copied shit from the British Empire"), but they're kept this way by lobby interests.
by braincat31415 | 2026-03-09 13:43:41+00:00
You must be really dense. I don't repeat anything. I am saying that I am paying through the nose to heat my house as a result. I don't give a flying duck about your Ukraine and Iran. None. Got it? Saving the patch of dirt on the other side of the planet will not motivate me to vote for your party. Reducing cost of living will.
Hopefully more and more people feel the same way.
Show HN: LazyQL: Only compute the GraphQL fields requested (TypeScript)
by matutetandil | 2026-03-09 13:43:48+00:00
Hey HN, I built LazyQL, a small TypeScript library, because I was tired of GraphQL resolvers doing unnecessary work.

The problem: In a typical GraphQL API, your resolver computes all fields for an object, even if the client only asked for 2 out of 15. This means unnecessary database calls, API requests, and CPU time — all thrown away.

The solution: LazyQL uses JavaScript Proxy to intercept field access. You write a class with getter methods (getStatus(), getCustomerEmail(), etc.), and LazyQL ensures each getter only runs when GraphQL actually reads that field.

@LazyQL(OrderDTO)
class Order {
constructor(private id: number, private db: Database) {}

getEntityId() { return this.id; }
getStatus() { return this.db.getOrderStatus(this.id); }
async getCustomerEmail() { return this.db.getCustomerEmail(this.id); }
async getShippingAddress() { return this.db.getShippingAddress(this.id); }
}

// Query { entity_id, status } → only getEntityId() and getStatus() run
// getCustomerEmail() and getShippingAddress() never execute

In my benchmarks, a query requesting 3 out of 10 fields made 6 calls instead of 35 with the traditional approach.

Key design decisions:
- Works transparently with Apollo, Mercurius, or any GraphQL server — they don't know LazyQL exists
- Naming convention maps snake_case DTO fields to getCamelCase methods automatically
- @Shared() decorator caches expensive operations that multiple getters depend on
- Validates at startup that all required DTO fields have matching getters (fail fast)
- Zero runtime dependencies beyond reflect-metadata

It's been running in production for a few weeks now with zero issues. The whole point was to build something invisible — it sits there, does its job, and doesn't interfere with anything.

~400 lines of code, MIT licensed. Would love to hear your thoughts.
Dismantle systemic silence with secure, timestamped voices
by redsunbird | 2026-03-09 13:44:01+00:00
In AI Strategy, we often prioritize frictionless user experiences. However, for survivors of intimate partner violence, digital friction is a vital safety mechanism. The architecture of Sophia.chat demonstrates how strategic technical barriers protect those in high-stakes environments.

The app implements Privacy by Design in these core architectural choices:

--#DecoyAndDisappearingAct: Standard browser history is a liability in abusive environments. Sophia.chat utilizes decoy links that transform into a secure vault only under specific conditions.

--#ImageBasedCryptography: Traditional credentials are vulnerable to coercion or social engineering. Sophia.chat leverages steganographic principles, using a local image file as a cryptographic seed and provides the unique entropy required to decrypt the secure volume.

--#HighFidelityEvidenceLog: To combat gaslighting and evidence tampering, the platform maintains timestamped files via low-latency, encrypted uploads. By syncing data the integrity of the evidence remains intact even if the physical hardware is seized or undergoes a factory reset.

This #InternationalWomensDay, let's celebrate tech that heals. The architecture of Sophia.chat is a blueprint for how AI can dismantle systemic silence with secure, timestamped voices. Let’s commit to building infrastructure that doesn't just process data, but protects people.

#IWD2026 #AIStrategy #CyberSecurity #PrivacyByDesign #RightsJusticeAction
by galangalalgol | 2026-03-09 13:44:53+00:00
My understanding is that they started turning away from it, but have turned back in many states. We were told it was important that we delay teaching our child typing until they had finished learning cursive because it had been discovered that teaching cursive developed something or other that I zoned out on while waiting to ask when that would be. Education has fads that don't seem to line up with peer reviewed articles that well. For instance, current reading instruction is non optimal for dyslexic students, while early 20th century instruction seems to (not entirely intentionally) worked much better.

Edit: Apparently it has to do with dyslexia and executive functioning. California and Texas amongst others have now required it be resumed. So there is a roughly decade long gap in cursive in the us, maybe a little less.
by b-man | 2026-03-09 13:45:01+00:00
ocation: EST Remote: Yes Willing to relocate: Yes (US preferred)
Technologies: PostgreSQL (partitioning, performance, OLTP architecture), SQL, F#, C#, C, Java, Clojure, Common Lisp, Scheme, Emacs Lisp, Python, Ruby, AWS, Linux

Email: ebellani at gmail

I work on high-throughput PostgreSQL systems, especially when they’ve grown into a state where migrations, performance, or schema design have become limiting factors.

Recent work:

Re-architected two multi-terabyte OLTP tables (~2TB and ~1TB) receiving 200+ writes/sec. I focus on “rescue architecture” work: fixing dangerous schemas, stabilizing hot paths, removing app-level complexity, and making Postgres scale without rewriting the product.

Open to consulting or full-time roles where Postgres is core to the business and performance/architecture matters.

Résumé: https://www.linkedin.com/in/eduardo-bellani/ https://ebellani.github.io/
by jahnu | 2026-03-09 13:45:44+00:00
> they know windpower and solar are not viable long term

That’s why they are installing it all over their country at the fastest pace of any country by far? That’s why they probably hit peak oil consumption?

The coal thing is complicated in China. They are replacing many old coal stations, local governments are fearful of being caught short in a cold winter which has happened. Rate of coal consumption increases is slowing. Peak coal may have happened last year.

https://www.carbonbrief.org/guest-post-why-china-is-still-bu...

Hopefully this new info might help change your views.
by d_burfoot | 2026-03-09 13:45:45+00:00
The business plan makes sense to me. They are a company that is focussed specifically on building AI data centers, which is a huge part of the economy at the moment. The big cloud players know about generic data centers, but there are likely big efficiency wins to be gained by specializing on AI. There is also the geopolitical angle: European countries (and others!) will likely trust a UK-based company more than one of the American BigCos. NVidia is a great partner and investor for them: NScale will buy billions worth of NVDA chips, and also send information and learnings about the unique needs of the market to the chipmaker.

That being said, financial engineering tricks like depreciation and tax sheltering are of course hugely important in the global economy. It's likely that NVDA has a lot of cash sitting in Europe that it doesn't want to repatriate because it would have to pay taxes on it.
by thephyber | 2026-03-09 13:46:03+00:00
Paul Warburg on YouTube is a geopolitical analyst. His video from this weekend[1] walks through the many reasons why the energy market is resilient and adjusts to issues like Hormuz being temporarily impassable, ship insurance risk, the geopolitical uncertainty of Iranian leadership, the price of oil/gas and how changes in the supply/demand curve cause other wells elsewhere in the world to take up the slack, etc.

[1] https://m.youtube.com/watch?v=2rgVaTofGQU
Show HN: Catnav – macOS Finder-style column navigation for the terminal
by andyjtyler | 2026-03-09 13:46:30+00:00
catnav is a terminal tool for navigating directory trees using Finder-style Miller columns.

Instead of repeatedly running cd, cd .., and ls to move around, catnav shows directories in side-by-side columns so you can see the current directory, its children, and the path you came from at the same time. This makes it easier to explore unfamiliar repos and quickly jump between sibling directories.

Navigation is simple:
- Use arrow keys to move between directories
- Press Enter to select a directory
- / filters items in the current column (search)
- . toggles hidden files

catnav runs inline in the terminal rather than taking over the full screen, so it fits naturally into normal shell workflows.

Selecting a directory will immediately cd your shell to that directory.
by entropyie | 2026-03-09 13:46:38+00:00
Another Irishman here.
Stop trying to harken back to some notional "good old days" that didn't exist. People are better off than they've ever been.
Energy was always expensive relative to income. When I was a kid in the 80s, we weren't allowed to turn on the central heating unless there were arctic conditions. The main issue driving COL issues is the complete lack of social housing construction for the last 15 years. You can't blame the tree huggers for that. Renewable energy is a matter of national security, and prevents our hard earned money being sent overseas to regimes like Russia and all the charmers in the Middle East. Our very first electricity plant as a free state was hydro ffs.
by auxym | 2026-03-09 13:46:42+00:00
They had stopped for a while because they were transitioning away from using Paypal as a processor. A few weeks, maybe a month or so tops? I had to switch to JLC PCB for an order back in January, because they didn't support any viable payment method for me in Canada (tried to make a payoneer account, they don't do business in Canada).

But I just checked and it seems that they now accept CCs again.
by BinaryMachine | 2026-03-09 13:46:53+00:00
I go everyday but started just using Sundays for walks outside.

30min resistance and 30min "Jeffing" (called the run-walk method, run-walk-run).

Saturdays since I have more time 1:30hr resistance, 1hr-2hr cycling outside.

Eating healthy is also important, cook for yourself always.
Meal prepping saves so much money.

I think time is also against me and life is moving quickly that if I don't spend everyday on body and mind its a wasted day.
by antoniokokoshka | 2026-03-09 13:47:07+00:00
AI coding assistants generate code but lose track of decisions.

In larger projects this becomes a problem:
• no traceability
• no architectural decisions recorded
• no resumable workflows

Forge adds a structured pipeline:

Idea → Discover → Plan → Track → Decide → Execute → Validate

It keeps a decision log and a dependency-aware task graph so
changes remain explainable and resumable.

Repo:
https://github.com/forgeprime/forge
by westurner | 2026-03-09 13:47:10+00:00
Biological effects of high-energy visible light > Blue light blocking:
https://en.wikipedia.org/wiki/Biological_effects_of_high-ene...

f.lux > sleep research: https://justgetflux.com/research.html

How does blue light blocking compare to breathing patterns for sleep and exercising at least an hour before bed and sugar and animal protein restriction after dinner?

Sleep hygiene: https://en.wikipedia.org/wiki/Sleep_hygiene
Giving local LLMs read-only institutional memory before task execution
by LavaDMan | 2026-03-09 13:47:20+00:00
I run a three-tier agentic system: cloud LLM for architecture/review, local 32B model for code generation and execution, smaller models for evaluation. The local model (Qwen2.5-Coder 32B) kept making avoidable mistakes — suggesting approaches that had already failed, ignoring active project context, reinventing solutions we'd already discarded.
The problem isn't capability. It's that each delegation is stateless. The local model gets a task string and nothing else.
The fix: Before every local model call, run a parallel enrichment pipeline and inject the results into the system prompt.
async def fetch_qdrant_hits():
# Embed the task, search execution_memory for similar prior operations
# Returns: operation_type, outcome_score, last_action, result summary

async def fetch_active_mandates():
# Pull IN_PROGRESS and APPROVED work from Postgres

async def fetch_pending_horizon():
# Pull top PENDING items — awareness only, not authorization

qdrant_hits, mandates, horizon = await asyncio.gather(
fetch_qdrant_hits(),
fetch_active_mandates(),
fetch_pending_horizon(),
return_exceptions=True # enrichment failure never blocks execution
)
The injected block looks like:
---
INSTITUTIONAL MEMORY (read-only, do not modify):

Prior relevant operations:
- [SECURITY] Score:9/10 | Action:detonate_package
Result: PERC H710 Mini does not support JBOD/Non-RAID on iDRAC 7.
Used single-drive RAID-0 as workaround.

Active mandates:
- [Phase 15] R720xd Provisioning — APPROVED (priority 8)

Upcoming pipeline (awareness only — not yet authorized):
- [priority 6] Visual & Strategy Audit — PENDING

CONSTRAINTS: Read this context to inform your work. You may NOT update
mandates, write to memory, or modify fleet state. All outputs are
returned as string payloads to the L3 Architect for review and commit.
---
The hard constraint block matters. Without it, a capable local model will attempt to act on context it shouldn't touch. The read-only boundary is enforced in the prompt, not technically — but in practice it works because the model is explicitly told its role.
Results so far: The hardware-specific mistake that prompted this (local model looping on invalid RAID commands for 20 minutes) wouldn't happen now — the correct workaround is in execution_memory and would surface on the next similar task.
The open question: How do you prevent the context window from getting polluted over time as execution_memory grows? Right now using score_threshold=0.5 and limit=3 on the semantic search. Curious whether others have found better filtering strategies for long-running agentic systems.
Code is self-hosted, stack is Qdrant + Postgres + Neo4j + Ollama. Happy to share more details on any piece.
by busterarm | 2026-03-09 13:48:17+00:00
Building multiscale means more work to build which means higher prices and more complex repairs. A reasonable jump in work/cost for marginally better playability. Also more things for the builder to fuck up and get wrong. That's kinda normal though, there's a lot of terribly-built instruments on the market and a lot of customers who can't even tell (e.g., people still buying Gibson despite decades of everyone saying their instruments don't QC).

I have all kinds of wild/bizarre/insane instruments for different purposes -- there's nothing puritanical here (I spend most of my time at NAMM in Hall E). I'm just saying that for 99.9% of players though these features aren't doing a damn bit of difference and most people are buying them out of gear-worship.

I think it's wild that we're talking about the "physics" of neck construction/playability and tension when at least 80% of guitar players can't even properly set up their own instrument and their tone sucks. It's in the fingers, man.

If any of you think that cargo-culting among software developers is bad, guitar players are that 10x over. If not 100x.
Show HN: Discord-timestamp-generator – No-login dynamic time tool
by PeterAnderson | 2026-03-09 13:48:31+00:00
Hi HN,

I built a small tool that generates Discord timestamps.

Discord has a built-in feature where you can embed timestamps in messages using a format like:

<t:1700000000:F>

When sent, Discord automatically converts the time to each user's local timezone. This is really useful for global communities, events, and announcements.

The problem is that you first need to convert a normal date into a Unix timestamp and format it correctly. If you just want to quickly schedule an event, that step can be a bit inconvenient.

So I made a simple generator that converts a date directly into the correct Discord timestamp format.

https://discord-timestamp-generator.com/

You can pick a date and it instantly generates the timestamp with different Discord display formats, plus a quick preview.

It's a tiny side project but I found it useful when managing Discord communities.

Feedback welcome!

Also, if anyone here works with Twitter/X embeds, I previously built a small Twitter web viewer that lets you view tweets without login:

https://twitterwebviewer.com/
by abound | 2026-03-09 13:50:53+00:00
I'm working on a simple, single person, self-hostable scheduling app [1] (think Calendly or Cal.com) to replace my self-hosted Cal.com instance, as it's way overkill for my needs and annoying to maintain.

I'm also using this as an experiment to see how to use AI tools to build a maintainable project of medium complexity. Too big to do in "one shot", but doable if decomposed into a few dozen tasks.

It's going well! I think I only started Saturday morning and put in maybe 4-5 hours on it, and it's in pretty decent shape. Not ready for prime time yet, but only a few hours away from replacing Cal.com for my own use. The slowest part is that I'm manually reviewing the code, but that's part of the deal for this experiment.

[1] https://git.sr.ht/~bsprague/schedyou
by oldandboring | 2026-03-09 13:51:09+00:00
Reading some the comments on this thread reveals one of the main reasons why a campaign like this is necessary if you're Underwood. Huy Fong has achieved "category king" status in this space; most people don't know what Huy Fong is, that red sauce is called "Sriracha". Huy Fong knows quite well that as long as the sauce still comes in that bottle and tastes like chilis, 99% of their customers will still buy it. Making a dent in this segment beyond foodies and hot-sauce enthusiasts requires some guerrilla marketing and and public education.
by dollyxan | 2026-03-09 13:51:11+00:00
After years of burnout, stress, and wasting time on tedious, low-challenge tasks, I recently made the switch to Vibe Coding. It’s been a breath of fresh air, but I hit a wall trying to integrate open-code with the get-shit-done (gsd) workflow.

The main issue? The project lifecycle, commands, and agents aren't exactly "beginner-friendly" documented. I found myself staring at the terminal more than actually shipping.

Instead of going back to the old way of manual debugging and README-hunting, I decided to lean into the philosophy: I used the agent to document itself. I fed the codebase to the vibe-coding loop and had it generate a comprehensive, visual lifecycle guide and cheatsheet. It helped me understand the flow, and I figured it might help anyone else trying to escape the "boring task" trap.