Viewing profile — kketch
kketch
HN member- Joined
- Tue, Jun 24, 2014, 12:15 PM UTC
- HN karma
- 77
- Public activity
- 27 items
- HN profile
- View on Hacker News ↗
About kketch
No profile information was provided.
Recent public activity
-
comment
Comment #47480023
I think the isolation and memory safety guarantees that worker threads (or Web Workers) provide are very welcome. The friction mainly comes from ergonomics, as pointed out in the a…
-
comment
Comment #47478165
The article calls worker threads "problematic", but it doesn’t really make a strong case for why they’re supposedly problematic. Having a separate isolate in each threads spawned w…
-
comment
Comment #47140640
Really amazing work, congrats!
-
comment
Comment #45423572
The main concern here isn’t really whether the agent needs access to the whole codebase. Personally I feel an agent might need to have access to all or most of the codebase to make…
-
comment
Comment #45423393
I guess maybe even more things? The approach presented in the article doesn't seem like a good way of giving access to these by the way. All of these don't live on a dev machine. T…
-
comment
Comment #45418624
The seems to be looking to let the agent access the source code for review. But in that case, the agent should only see the codebase and nothing else. For a code review agent, all …
- comment
-
comment
Comment #45405571
You can make it change the behaviour at runtime is different than it changes the behaviour at runtime I think? Lots of very useful tooling such as dataclasses and framework like Fa…
-
comment
Comment #45403314
Well, precisely: - There is one obvious way to provide type hints for your code, it’s to use the typing module provided by the language which also provides syntax support for it. -…
-
comment
Comment #45403208
They don’t violate the spirit of the language. They are optional. They don’t change the behaviour at runtime. Type annotations can seem pointless indeed if you are unwilling to lea…
-
comment
Comment #45373018
You can also use Websockets with AWS Lambda through API Gateway. And you can also use Websockets with Cloudflare workers: https://developers.cloudflare.com/workers/runtime-apis/web…
-
comment
Comment #45371711
Just because you haven't heard of it doesn't mean the risk isn't real. It's probably better to make some kind of risk assessment and decide whether you're willing to accept this ri…
-
comment
Comment #45345728
When not using python, been using this script to create ephemeral postgres databases for tests but also persistent one in my dev containers: https://github.com/eradman/ephemeralpg …
-
comment
Comment #45345581
I've been using postgres as a local database for one of my personal projects, a GUI app or to run python tests that depend on it without having to rely on installing it in my envir…
-
comment
Comment #45299583
Yes there is some glue needed. The amount of boilerplate needed can be reduced with a bundler or depending on the library you use (just like it is the case when you use workers wit…
-
comment
Comment #45287636
You can do all of this using Rust today. Very sane access to multi-threading => writing rust code that runs in parallel and is compiled without you worrying about it to run under s…
-
comment
Comment #45287568
WASI does not implement POSIX. And it isn't the goal of WASI to implement POSIX. It does not support pthreads either. WASI is similar to POSIX because its an API that provides a "s…
-
comment
Comment #45287501
WASM itself does not support pthreads. However things like Emscripten have very good support for pthreads. WASM is one of the compilation targets of Emscripten (we had asm.js befor…
-
comment
Comment #45255101
React is the front end framework I've used the most when doing front end. It is and was sold as a simple and performant library to build interactive web apps, but things like its v…
-
comment
Comment #45051413
True. But I would not expect any programming language to do that. Rust provides safeguards and helps you to enforce mutability and ownership at the language level, but how you leve…
-
comment
Comment #45047457
Technically no. Producing side effects from a setter is not unexpected, even if it often the best idea to have a setter have a lot of unexpected side effects. However producing sid…
-
comment
Comment #45047382
assignments are side effects, even more so when they are done through a setter on an object / class instance
-
comment
Comment #44856223
This article makes me wanna try building a token field in Flutter using a LLM chat or agent. Chat should be enough. A few iterations to get the behaviour and the tests right. A bit…
-
comment
Comment #44794255
You are saying the responsibility for the instant incineration of hundreds of thousands of civilians lies with the bombed, and not the bomber?
-
comment
Comment #44794202
How could detonating a nuke over a city not violate humanitarian law … ?