HNHacker News
TopNewBestAskShowJobs

kzahel

460 karma · joined March 14, 2012

submissionscomments
kzahel··on Claude Opus 4.6
I looked into it a bit. It stores memories near where it stores JSONL session history. It's per-project (and specific to the machine) Claude pretty aggressively and frequently writes stuff in there. It uses MEMORY.md as sort of the index, and will write out other files with other topics (linking to them from the main MEMORY.md) file.

It gives you a convenient way to say "remember this bug for me, we should fix tomorrow". I'll be playing around with it more for sure.

I asked Claude to give me a TLDR (condensed from its system prompt):

----

Persistent directory at ~/.claude/projects/{project-path}/memory/, persists across conversations

MEMORY.md is always injected into the system prompt; truncated after 200 lines, so keep it concise

Separate topic files for detailed notes, linked from MEMORY.md What to record: problem constraints, strategies that worked/failed, lessons learned

Proactive: when I hit a common mistake, check memory first - if nothing there, write it down

Maintenance: update or remove memories that are wrong or outdated

Organization: by topic, not chronologically

Tools: use Write/Edit to update (so you always see the tool calls)

kzahel··on Claude Opus 4.6
Claude told me he can disable it by putting instructions in the MEMORY.md file to not use it. So only a soft disable AFAIK and you'd need to do it on each machine.
kzahel··on The Codex App
Cool! Your project sounds really interesting. I would love to try it out, especially if you integrated yep! Yes it has yepanywhere --host 0.0.0.0 or you can use HOST env var.
kzahel··on The Codex App
Right? Why not focus on a nice mobile handoff experience? Not being tethered to your desktop or laptop for work is such a game changer! This codex app is like exactly the workflow I use but the fact that I can't pick up where I left off on my phone is just braindead stupid!
kzahel··on The Codex App
I'm also so baffled by this. I had to write my own app to be able to do seamless handoff between my laptop/desktop/phone and it works for me (https://github.com/kzahel/yepanywhere - nice web interface for claude using their SDK, MIT, E2E relay included, no tailscale required) but I'm so baffled why this isn't first priority. Why all these desktop apps?
kzahel··on Show HN: Agent-of-empires: OpenCode and Claude Code session manager
How do you handle session persistence across reboots / restarts for self-hosted models? Does ollama support persistence out of the box? I tried using codex-oss which does support persistence but codex injects 6K of system setup context which I thought was too much for self hosted models.
kzahel··on Anthropic made a mistake in cutting off third-party clients
no, they banned use of the model without the CLI harness/SDK when using the subscription plans. Opencode was spoofing requests as if they were coming from claude code CLI, and controlling the agent loop / tool call totally internally. Anthropic wants subscription plans to use the CLI/SDK.
kzahel··on CLI agents make self-hosting on a home server easier and fun
As an added bonus you could add on a mobile-first claude code UI on top of claude. I've been working on this and use it on my pi5 at home. https://yepanywhere.com/

(and no, this product is not against TOS as it is using the official claude code SDK unlike opencode https://yepanywhere.com/tos-compliance.html)

kzahel··on Anthropic made a mistake in cutting off third-party clients
I use the SDK in my app and it works fine with plan mode. I don't deal with auth at all. I detect if the CLI is installed and it just reuses whatever auth the user has already setup. Works fine.
kzahel··on Anthropic made a mistake in cutting off third-party clients
OpenCode wasn't using claude CLI at all (or claude SDK). They were using their own agent loop and bypassing claude cli entirely (except for spoofing auth).
kzahel··on Anthropic made a mistake in cutting off third-party clients
Can't Opencode just modify their implementation to use the anthropic claude code SDK directly? The issue is they were spoofing oauth. I tried OpenCode before this whole drama and immediately noticed the oauth spoofing and never authorized it. Doesn't opencode speak ACP? https://agentclientprotocol.com/overview/agents
kzahel··on Anthropic blocks third-party use of Claude Code subscriptions
I'm not 100% sure but I think OpenCode wants to control the harness and persistence, tool call flows etc. If they just used the Claude SDK then it would diverge architecturally from all the other providers, persist jsonl to ~/.claude, etc.
kzahel··on Simple Web Server
I wrote the original version of this "simple web server" app (https://chromewebstore.google.com/detail/web-server-for-chro...) because the built-in python http server is a bit buggy. It would hang on some connections when loading a webpage with a lot of small assets. I was surprised how many people found it useful. More so when Chrome web apps were supported on other platforms (mac/linux/windows).
kzahel··on John Carmack on QuakeWorld latency and business model (1996)
The only thing QW really added over vanilla "netquake" was client side movement prediction. Hitscan weapons (infinite velocity bullets) only let you know if you had hit or missed based on the response from the server. You had to lead your shots a certain amount based on your current latency in order to hit your target.

It was great though. It meant you could bunny hop around corners at extremely high speeds without running into walls.

kzahel··on Show HN: Mkcert – Valid HTTPS certificates for localhost
Does anyone know if there's a publicly available domain that does RFC1918 resolutions? Such as

  192-168-86-30.localresolve.com has A record 192.168.86.30
  10-10-10-1.localresolve.com has A record 10.10.10.1
and so on.
kzahel··on Don't learn Dvorak
Dvorak is worth it just for the look on people's faces when they try to use a computer you've been using.
kzahel··on MacOS Update Accidentally Undoes Apple's “root” Bug Patch
I am still confused. I was prompted again today to install the security update I installed yesterday. Did they silently release another improved security update?
kzahel··on Do you need a VPN?
One low maintenance way of doing this would be to setup a SSH server at home (and configure your home NAT/Router to forward traffic to that machine)

Once you have SSH access to home there are a number of ways to tunnel your traffic (on desktop platforms, not sure about mobile). Sshuttle works pretty nice. You can also optionally just tunnel traffic for certain apps or browser profiles by using ssh -D (SOCKS5 proxy)

kzahel··on Key Reinstallation Attacks – Breaking WPA2 by Forcing Nonce Reuse
It has the option to block HTTP traffic, making sites that don't support HTTPS unusable.

You could create a separate "secure" profile and feel safe that all traffic is secured, while still being able to browse HTTP in another profile, for instance.

kzahel··on Key Reinstallation Attacks – Breaking WPA2 by Forcing Nonce Reuse
Yep! That's what I'm doing right now.
kzahel··on Key Reinstallation Attacks – Breaking WPA2 by Forcing Nonce Reuse
No, that was explained in the demonstration video.
kzahel··on Show HN: Encrypted VPN in 2k lines of Go
Sshuttle is very cool. But it only does TCP and UDP. (no ICMP)
kzahel··on Give me 15 minutes and I'll change your view of Linux tracing [video]
Pretty funny. Found this in homebrew casks (https://github.com/yingDev/Tickeys)
kzahel··on Amazon and eBay images broken by Photobucket's 'ransom demand'
Another earlier thread: https://news.ycombinator.com/item?id=14695955
kzahel··on It is as if you were doing work
If you tried it out and were a little confused, here's a little blog post about the motivation and development of the "game": http://www.pippinbarr.com/words/2017/06/14/narrative-framing...

And some more information in form of a "press" release from the github: https://github.com/pippinbarr/itisasifyouweredoingwork/tree/...

I found the "game" to be somehow interesting.

kzahel··on Amazon images broken by Photobucket's change of terms
I spent a little time last week when I found out about this writing an extension to make the images work, https://github.com/kzahel/photobucket-embed-fix

The extension gets permission for Photobucket domains and modifies the referer header. Very simple.

kzahel··on Jeff Bezos Wants Ideas for Philanthropy, So He Asked Twitter
I think you mean Kiva?
kzahel··on Ask HN: Can programming be learnt completely on smartphone?
Use termux (termux.com) and then you can apt install many useful things (https://github.com/termux/termux-packages/tree/master/packag...)

You'll definitely want a keyboard

kzahel··on Xperia Touch makes any surface interactive
Somewhat similar, Sony's project T http://www.futurelab.sony.net/T/ has a popup demo at 717 Market street during business hours. Anyone off the street can drop by. They have several other demos installed.
kzahel··on FlyWeb – An API for web pages to host local web servers
That app can't serve a local directory. It has to make a copy to a sandbox filesystem first. Try this app instead: https://github.com/kzahel/web-server-chrome (https://chrome.google.com/webstore/detail/web-server-for-chr...)
← PreviousPage 2 of 8Next →