Readit News logoReadit News
hboon commented on My productivity app is a never-ending .txt file (2020)   jeffhuang.com/productivit... · Posted by u/simonebrunozzi
hu3 · 2 days ago
quite the consistency. congratulations.

do you also keep personal notes? I'm inspired

hboon · 2 days ago
Only some and in recent years. The first few years was just timelog like:

11:11 AM - 12:17 PM QuoteEveryday

1:44 PM - 4:57 PM ContractWork:XXX

1:06 AM - 1:26 AM Blog

2:19 AM - 2:40 AM ContractWork:XXX

then I started the logs and TODOs underneath, which now form the bulk of the files.

In recent years, I have some non-work stuff that I do at my computer; those are logged.

fzf is really useful here!

hboon commented on My productivity app is a never-ending .txt file (2020)   jeffhuang.com/productivit... · Posted by u/simonebrunozzi
hboon · 2 days ago
I have a similar system. I keep my wip.md open in Neovim all the time and the difference is: everyday, I move the done items to a timestamped file. I have records going back to 2009.

It's my timelog and work journal as I expand on items and mark them off as I work on them.

Incidently, I was exploring new ways to work with it recently: https://bsky.app/profile/did:plc:bryys25pc2fnagnyxqgsglhd/po...

hboon commented on Amp, Inc. – Amp is spinning out of Sourcegraph   ampcode.com/news/amp-inc... · Posted by u/pdubroy
incoming1211 · 5 days ago
Work pays for it. I don't work for stingy companies that don't provide the tools required to do the job. (our team spends > $1000/m EACH on Amp alone)
hboon · 5 days ago
Could you please share a little on why it's noticeably better than Claude Code on a sub (or 5? I mean, sometimes you can brute force a solution with agents)?
hboon commented on AI agents find $4.6M in blockchain smart contract exploits   red.anthropic.com/2025/sm... · Posted by u/bpierre
ekjhgkejhgk · 12 days ago
Can someone explain smart contracts to me?

Ok, I understand that it's a description in code of "if X happens, then state becomes Y". Like a contract but in code. But, someone has to input that X has happened. So is it not trivially manipulated by that person?

hboon · 12 days ago
It's not a contract.

It's more akin to a compiled executable that optionally has state. The caller pays to make changes to the state. It's up to the programmer who wrote the smart contract to make it so that unwanted changes aren't performed (eg. simple if-elses to check that the caller is in a hardcoded list or ask another smart contract to validate).

Each external from outside the blockchain into the program's functions are atomic., so user wallet initials func1 which calls func2 which calls func3, no matter which smart contract func2 and func3 are in, the whole call stack is 1 atomic operation.

A token is basically a smart contract that has an associate array with the owners as the keys and the values as the balance: [alice: 1, bob: 20].

And then you can imagine how the rest like transfers, swaps etc works.

And then it's kind of a "contract" because of the atomic nature. Since X transfers $1 to Y and Y transfers 1 cat to X for it is 1 atomic transaction.

hboon commented on Zed is our office   zed.dev/blog/zed-is-our-o... · Posted by u/sagacity
giancarlostoro · a month ago
The plugin just opens a terminal whereas in Zed you get a more natively feeling experience. In JetBrains they do support it as one of their agents but now you have to buy into JetBrains AI credit system instead of just using your Claude subscription.

Theres two ways to use Claude Code in JetBrains and instead of helping them make their plugin better they opted to try and make money off of it. Which Zed could have done the same but instead lowered their monthly to let you use your own Claude Code subscription.

hboon · a month ago
Thanks. The JetBrains integration sounds lousy!
hboon commented on Zed is our office   zed.dev/blog/zed-is-our-o... · Posted by u/sagacity
giancarlostoro · a month ago
I used to only use JetBrains for AI stuff, now I just open everything in Zed because of its Claude Code integration. Especially with the linters and other nice to haves. I am insanely close to cancelling JetBrains.
hboon · a month ago
JetBrains products has Claude Code integration. Is it worse?

I still use Claude Code in cli, as a WebStorm user.

hboon commented on Cerebras Code now supports GLM 4.6 at 1000 tokens/sec   cerebras.ai/code... · Posted by u/nathabonfim59
andai · a month ago
Ask and you shall receive!

https://docs.z.ai/devpack/tool/claude

tldr

    "env": {
        "ANTHROPIC_AUTH_TOKEN": "your_zai_api_key",
        "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic"
    }
Although if you want an Actually Good Experience I recommend using Claude Code Router

https://github.com/musistudio/claude-code-router

because it allows you to intercept the requests and forward them to other models. (e.g. GLM doesn't seem to support search or images, so I use Gemini's free tier for that.)

(CCR just launches Claude with the base url set to a local proxy. The more adventurous reader can also set up his own proxy... :)

hboon · a month ago
The Pro and Max plans for z.ai+GLM provides an MCP that does image.
hboon commented on Ruby and Its Neighbors: Smalltalk   noelrappin.com/blog/2025/... · Posted by u/jrochkind1
criddell · a month ago
> makes supporting client side applications so much easier

I was thinking that supporting a Smalltalk application must be a nightmare because it is so malleable. Users can inspect and modify the entire system, no?

hboon · a month ago
In several implementations you can strip the image down (to remove the dev tools, etc). And some let you ship as single file executables
hboon commented on Unix philosophy and filesystem access makes Claude Code amazing   alephic.com/writing/the-m... · Posted by u/noahbrier
nharada · 2 months ago
I do really like the Unix approach Claude Code takes, because it makes it really easy to create other Unix-like tools and have Claude use them with basically no integration overhead. Just give it the man page for your tool and it'll use it adeptly with no MCP or custom tool definition nonsense. I built a tool that lets Claude use the browser and Claude never has an issue using it.
hboon · 2 months ago
How does Claude Code use the browser in your script/tool? I've always wanted to control my existing Safari session windows rather than a Chrome or a separate/new Chrome instance.
hboon commented on Claude Code 2.0   npmjs.com/package/@anthro... · Posted by u/polyrand
polyrand · 2 months ago
Instead of containers, which may not always be available, I'm experimenting with having control over the shell to whitelist the commands that the LLM can run [0]. Similar to an allow list, but configured outside the terminal agent. Also trying to make it easy to use the same technique in macOS and Linux

[0]: https://ricardoanderegg.com/posts/control-shell-permissions-...

hboon · 2 months ago
I didn’t check, but sometimes Claude Code writes scripts and run them (their decision); does your approach guard against that?

u/hboon

KarmaCake day3276October 30, 2008
About
Hwee-Boon Yar.

Based in Singapore.

* Web, macOS, iOS

* TypeScript and less Swift and Ruby

FIND ME:

* Blog: https://hboon.com/

* Bluesky: https://bsky.app/profile/hboon.com

* Twitter: @hboon

* Mastodon: @hboon@mastodon.social

* Email: hboon@motionobj.com

Currently building projects:

* https://theblue.social — Social media Cross-Posting and Bluesky analytics

* https://pingnow.net

* https://summarizevideo.ai

View Original