frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Xfinity using WiFi signals in your house to detect motion

https://www.xfinity.com/support/articles/wifi-motion
395•bearsyankees•8h ago•271 comments

Rust CLIs with Clap

https://tucson-josh.com/posts/rust-clap-cli/
34•rajman187•2h ago•24 comments

Proton joins suit against Apple for practices that harm developers and consumers

https://proton.me/blog/apple-lawsuit
185•moose44•9h ago•222 comments

I write type-safe generic data structures in C

https://danielchasehooper.com/posts/typechecked-generic-c-data-structures/
234•todsacerdoti•10h ago•91 comments

The new skill in AI is not prompting, it's context engineering

https://www.philschmid.de/context-engineering
447•robotswantdata•6h ago•240 comments

YouTube No Translation

https://addons.mozilla.org/en-GB/firefox/addon/youtube-no-translation/
45•doener•1d ago•2 comments

There are no new ideas in AI only new datasets

https://blog.jxmo.io/p/there-are-no-new-ideas-in-ai-only
333•bilsbie•13h ago•170 comments

People Keep Inventing Prolly Trees

https://www.dolthub.com/blog/2025-06-03-people-keep-inventing-prolly-trees/
58•lifty•2d ago•10 comments

Claude Code now supports Hooks

https://docs.anthropic.com/en/docs/claude-code/hooks
118•ramoz•3h ago•41 comments

The hidden JTAG in a Qualcomm/Snapdragon device’s USB port

https://www.linaro.org/blog/hidden-jtag-qualcomm-snapdragon-usb/
128•denysvitali•9h ago•22 comments

Melbourne man discovers extensive model train network underneath house

https://www.sbs.com.au/news/article/i-was-shocked-melbourne-mans-unbelievable-find-after-buying-house/m4sksfer8
145•cfcfcf•3h ago•39 comments

Donkey Kong Country 2 and Open Bus

https://jsgroth.dev/blog/posts/dkc2-open-bus/
202•colejohnson66•12h ago•49 comments

So you want to serialize some DER?

https://alexgaynor.net/2025/jun/20/serialize-some-der/
34•lukastyrychtr•3d ago•4 comments

GPEmu: A GPU emulator for rapid, low-cost deep learning prototyping [pdf]

https://vldb.org/pvldb/vol18/p1919-wang.pdf
28•matt_d•5h ago•3 comments

End of an Era

https://www.erasmatazz.com/personal/self/end-of-an-era.html
98•marcusestes•8h ago•26 comments

Jim Boddie codeveloped the first successful DSP at Bell Labs

https://spectrum.ieee.org/dsp-pioneer-jim-boddie
26•jnord•5h ago•0 comments

The original LZEXE (A.K.A. Kosinski) compressor source code has been released

https://clownacy.wordpress.com/2025/05/24/the-original-lzexe-a-k-a-kosinski-compressor-source-code-has-been-released/
64•elvis70•8h ago•3 comments

Show HN: TokenDagger – A tokenizer faster than OpenAI's Tiktoken

https://github.com/M4THYOU/TokenDagger
253•matthewolfe•15h ago•70 comments

Publishing Pepys

https://literaryreview.co.uk/publishing-pepys
3•pepys•2d ago•0 comments

Entropy of a Mixture

https://cgad.ski/blog/entropy-of-a-mixture.html
35•cgadski•6h ago•3 comments

They don't make 'em like that any more: Sony DTC-700 audio DAT player/recorder

https://kevinboone.me/dtc-700.html
80•naves•9h ago•67 comments

Ask HN: What Are You Working On? (June 2025)

371•david927•1d ago•1149 comments

Show HN: New Ensō – first public beta

https://untested.sonnet.io/notes/new-enso-first-public-beta/
224•rpastuszak•16h ago•81 comments

Price of rice in Japan falls below ¥4k per 5kg

https://www.japantimes.co.jp/news/2025/06/24/japan/japan-rice-price-falls-below-4000/
84•PaulHoule•7h ago•138 comments

Creating fair dice from random objects

https://arstechnica.com/science/2025/05/your-next-gaming-dice-could-be-shaped-like-a-dragon-or-armadillo/
34•epipolar•2d ago•18 comments

14.ai (YC W24) hiring founding engineers in SF to build a Zendesk alternative

https://14.ai/careers
1•michaelfester•10h ago

The Email Startup Graveyard: Why 80%+ of Email Companies Fail

https://forwardemail.net/en/blog/docs/email-startup-graveyard-why-80-percent-email-companies-fail
52•skeptrune•3h ago•12 comments

Public Signal Backups Testing

https://community.signalusers.org/t/public-signal-backups-testing/69984
38•blendergeek•7h ago•13 comments

A CarFax for Used PCs; Hewlett Packard wants to give old laptops new life

https://spectrum.ieee.org/carmax-used-pcs
66•rubenbe•11h ago•73 comments

Harvest Move – A game that requires careful movement

https://jslegend.itch.io/harvest-move
8•JSLegendDev•2d ago•1 comments
Open in hackernews

Claude Code now supports Hooks

https://docs.anthropic.com/en/docs/claude-code/hooks
118•ramoz•3h ago

Comments

ramoz•3h ago
Really excited to see this implemented.

Hooks will be important for "context engineering" and runtime verification of an agent's performance. This extends to things such as enterprise compliance and oversight of agentic behavior.

Nice of Anthropic to have supported the idea of this feature from a github issue submission: https://github.com/anthropics/claude-code/issues/712

chisleu•2h ago
It is indeed. I don't use Claude Code. I use Cline which is a VS Code extension (cline.bot).

This is a pretty killer feature that I would expect to find in all the coding agents soon.

wilde•3h ago
This is nice but I really wish they’d just let me fork the damn thing already.
coherentpony•3h ago
The next AI winter cannot come soon enough.
petethepig•3h ago
Would love to see this in Cursor. My workaround right now is using a bunch of rules that sort of work some of the time.
artursapek•3h ago
adding a hook to have it push to prod every time baby
apwell23•2h ago
you can just tell it do that or in your claude.md. don't need hooks
thelittleone•2h ago
In some cases cc misses rules in CLAUDE.md.
ramoz•2h ago
In many cases.
apwell23•2h ago
so its back to hand coding stuff again.

They are going to slowly add "features" that brings handcoding back till its like 100% handcoding again.

ramoz•40m ago
This doesn’t come without consideration. You can see I mention this in the original feature request.

Yes - it’s fine to think of it as handholding (or handcoding). These model providers cannot be responsible for ultimate alignment with their users. Today, they can at best enable integration so a user, or business, can express and ensure their own alignment at runtime.

The nature of these systems already requires human symbiosis. This is nothing more than a new integration point. Will empower agents beyond today’s capabilities, increase adoption.

thelittleone•2h ago
This also:

1) Assign coding task via prompt 2) Hook: Write test for prompt proves 3) Write code 4) Hook: Test code 5) Code passes -> Commit 6) Else go to 3.

bgwalter•1h ago
We have to do this, otherwise China wins the "AI" race!
nojs•3h ago

    Exit Code 2 Behavior
    PreToolUse - Blocks the tool call, shows error to Claude
This is great, it means you can set up complex concrete rules about commands CC is allowed to run (and with what arguments), rather than trying to coax these via CLAUDE.md.

E.g. you can allow

    docker compose exec django python manage.py test
but prevent

    docker compose exec django python manage.py makemigrations
rco8786•3h ago
You can already do this in .Claude/settings.json
nojs•2h ago
Ah you’re right, but for more complex logic it’s useful to be able to run it through a custom script
brynary•3h ago
This closes a big feature gap. One thing that may not be obvious is that because of the way Claude Code generates commits, regular Git hooks won’t work. (At least, in most configurations.)

We’ve been using CLAUDE.md instructions to tell Claude to auto-format code with the Qlty CLI (https://github.com/qltysh/qlty) but Claude a bit hit and miss in following them. The determinism here is a win.

It looks like the events that can be hooked are somewhat limited to start, and I wonder if they will make it easy to hook Git commit and Git push.

bionhoward•2h ago
Given the Anthropic legal terms forbid competing with them, what are we actually allowed to do with this? Seems confusing what is allowed.

No machine learning work? That would compete.

No writing stuff I would train AI on. Except I own the stuff it writes, but I can’t use it.

Can we build websites with it? What websites don’t compete with Anthropic?

Terminal games? No, Claude code is a terminal game, if you make a terminal game it competes with Claude?

Can their “trust and safety team” humans read everyone’s stuff just to check if we’re competing with LLMs (funny joke) and steal business ideas and use them at Anthropic?

Feels like the dirty secret of AI services is, every possible use case violates the terms, and we just have to accept we’re using something their legal team told us not to use? How is that logically consistent? Any safety concerns? This doesn’t seem like a law Asimov would appreciate.

It would be cool if the set of allowed use cases wasn’t empty. That might make Anthropic seem more intelligent

nerdsniper•2h ago
Would you argue that Cursor (valued at $10B) is breaking Anthropic's terms by making an IDE that competes with their Canvas feature?
jazzyjackson•2h ago
Is Cursor using Claude code to build? Or they just allow it to plug into Claude?
moralestapia•2h ago
Yes.
varenc•1h ago
Cursor isn't building models trained with the outputs of Anthropic models (I think). That's what the ToS is forbidding.
jazzyjackson•2h ago
Oh come on, your CRUD app is not competing with an LLMaaS
moralestapia•2h ago
Oh come on, understand how contracts work before posting a comment like this one.
paulsutter•2h ago
You’re only competing with them if you’re doing something they consider competitive. OpenAI is competitive, you are not
ethan_smith•2h ago
Anthropic's terms typically restrict training competing AI models with their outputs, not building standard applications or websites that simply use their API as a tool.
parhamn•2h ago
This needs a way to match directories for changes in monorepos. E.g. run this linter only if there were changes in this directory.
ramoz•2h ago
An abstraction via a script should work, right? They document that it pipes the JSON data to your command's stdin,

  ```lint-monorepo.sh

  # read that data
  json_input=$(cat)

  # do some parsing here with jq, get the file path (file_path)

  if [$file_path" == "$dir1"*]
    run lint_for_dir1
  ```
brynary•1h ago
This can be implemented at the line level if the linter is Git aware
carraes•2h ago
So, form my limited understanding, this doesn't take up context, it's something auto where you can configure per tool use, and not MCP that Claude decides "when" to run it?!
AdieuToLogic•2h ago
So many people yearn for LLM's to be like the Star Trek ship computer, which when asked a question unconditionally provides a response relevant and correct, needing no verification.

A better analogy is LLM's are closer to the "universal translator" with an occasional interaction similar to[0]:

  Black Knight: None shall pass.
  King Arthur: What?
  Black Knight: None shall pass!
  King Arthur: I have no quarrel with you good Sir Knight, But I must cross this bridge.
  Black Knight: Then you shall die.
  King Arthur: I command you, as King of the Britons, to stand aside!
  Black Knight: I move for no man.
  King Arthur: So be it!
  [they fight until Arthur cuts off the Black Knight's left arm]
  King Arthur: Now, stand aside, worthy adversary.
  Black Knight: 'Tis but a scratch.
  King Arthur: A scratch? Your arm's off!
  Black Knight: No, it isn't.
  King Arthur: Well, what's that then?
  Black Knight: I've had worse.
0 - https://en.wikiquote.org/wiki/Monty_Python_and_the_Holy_Grai...
bearjaws•2h ago
Claude Code has basically grown to dominate my initial coding workflow.

I was using the API and passed $50 easily, so I upgraded to the $100 a month plan and have already reached $100 in usage.

I've been working on a large project, with 3 different repos (frontend, backend, legacy backend) and I just have all 3 of them in one directory now with claude code.

Wrote some quick instructions about how it was setup, its worked very well. If I am feeling brave I can have multiple claude codes running in different terminals, each working on one piece, but Opus tends to do better working across all 3 repos with all of the required context.

Still have to audit every change, commit often, but it works great 90% of the time.

Opus-4 feels like what OAI was trying to hype up for the better part of 6 months before releasing 4.5

rtp4me•2h ago
Just started using Claude (very late to the game), and I am truly blown away. Instead of struggling for hours trying to get the right syntax for a Powershell script or to convert Python to Go, I simply ask Claude to make it happen. This helps me focus on content creation instead of the mind-bending experience of syntax across various languages. While some might call it laziness, I call it freedom as it helps me get my stuff done quicker.

I have been using it for other stuff (real estate, grilling recipes, troubleshooting electrical issues with my truck), and it seems to have a very large knowledge base. At this point, my goal is to get good at asking the right kinds of questions to get the best/most accurate answers.

dmix•2h ago
That’s great. Regardless of the naysayers about AI hype in tech, it was a major development for general society even if this is all it ends up being.
billbrown•1m ago
It remains to be seen whether it's a net value once the VC firehose dries up and the true costs are revealed. It's quite possible that the profitable price is not worth it for most companies.
jonstewart•1h ago
I've been playing with Claude Code the past few days. It is very energetic and maybe will help me get over the hump on some long-standing difficult problems, but it loses focus quickly. Despite explicit directions in CLAUDE.md to build with "make -j8" and run unit tests with "make -j8 check", I see it sometimes running make without -j or calling the test executable directly. I would like to limit it to doing certain essential aspects of workflow with the commands I specify, just as a developer would normally do. Are "Hooks" the right answer?
bfLives•1h ago
For the `-j` issue specifically, exporting `MAKEFLAGS=-j8` should work.
cheriot•17m ago
Amazing how there's whole companies dedicated to this and yet claude code keeps leading the way.
wippler•2m ago
Not to take away anything here, but hooks are present in other similar products. Atleast one example here - https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/com...