Readit News logoReadit News
koakuma-chan commented on SQLite (with WAL) doesn't do `fsync` on each commit under default settings   avi.im/blag/2025/sqlite-f... · Posted by u/Bogdanp
wiradikusuma · 5 hours ago
Does anyone, preferably from Cloudflare, know the settings used in D1, since it's a SQLite dialect?
koakuma-chan · 4 hours ago
Is D1 a dialect? I thought they actually run SQLite.
koakuma-chan commented on How to build a coding agent   ghuntley.com/agent/... · Posted by u/ghuntley
faangguyindia · 16 hours ago
when a problem is entirely self contained in a file, it's very easy to edit it with LLM.

that's not the case with a codebase, where things are littered around in tune with specific model of organisation the developer had in mind.

koakuma-chan · 16 hours ago
> in tune with specific model of organisation

You wish

koakuma-chan commented on What makes Claude Code so damn good   minusx.ai/blog/decoding-c... · Posted by u/samuelstros
throwaway314155 · a day ago
That's been DMCA'd since you posted it. Happen to know where I can find a fork?
koakuma-chan · a day ago
> That's been DMCA'd since you posted it.

I know, thus the :trollface:

> Happen to know where I can find a fork?

I don't know where you can find a fork, but even if there is a fork somewhere that's still alive, which is unlikely, it would be for a really old version of Claude Code. You would probably be better off reverse engineering the minified JavaScript or whatever that ships with the latest Claude Code.

koakuma-chan commented on What makes Claude Code so damn good   minusx.ai/blog/decoding-c... · Posted by u/samuelstros
the_mitsuhiko · a day ago
> https://github.com/anthropics/claude-code

That repository does not contain the code. It's just used for the issue tracker and some example hooks.

koakuma-chan commented on What makes Claude Code so damn good   minusx.ai/blog/decoding-c... · Posted by u/samuelstros
dingnuts · a day ago
it does? why? the term RAG as I understand it leaves the methodology for retrieval vague so that different techniques can be used depending on the, er, context.. which makes a lot more sense to me
koakuma-chan · a day ago
> why?

Hype. There's nothing wrong with using, e.g., full-text search for RAG.

Deleted Comment

koakuma-chan commented on What makes Claude Code so damn good   minusx.ai/blog/decoding-c... · Posted by u/samuelstros
alex1138 · a day ago
What do people think of Google's Gemini (Pro?) compared to Claude for code?

I really like a lot of what Google produces, but they can't seem to keep a product that they don't shut down and they can be pretty ham-fisted, both with corporate control (Chrome and corrupt practices) and censorship

koakuma-chan · a day ago
I don't think Gemini Pro is necessarily worse at coding, but in my experience Claude is substantially better at "terminal" tasks (i.e. working with the model through a CLI in the terminal) and most of the CLIs use Claude, see https://www.tbench.ai/leaderboard.
koakuma-chan commented on It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)   hsivonen.fi/string-length... · Posted by u/program
spyrja · 2 days ago
It's just a convention I use for personal projects. Back when I started coding in C, people often just opted to go with one or two character variable names. I chose three for locally-scoped variables because it was usually enough to identify them in a recognizable fashion. The fixed-width nature of it all also made for less eye-clutter. As for function arguments, the fact that they were fully spelled out made it easier for API reference purposes. At the end of the day all that really matters is that you choose a convention and stick with it. For team projects they should be laid out early on and, as long as everyone follows them, the entire project will have a much better sense of consistency.
koakuma-chan · 2 days ago
Oh. The thing is, I really like my code formatted symmetrically, aligned evenly, etc. I go as far as adding empty comments to prevent the formatter from removing my custom line breaks. I thought you were the same, in a way ;)

e.g., https://github.com/mayo-dayo/app/blob/0.4/src/middleware.ts

koakuma-chan commented on I don't buy Macs anymore   jasonsaidwhat.substack.co... · Posted by u/overbring_labs
smitty1e · 2 days ago
Years of pent-up frustration that were spleen-dumped into the post, as far as I can tell.
koakuma-chan · 2 days ago
Could also be the bias that longer text is better.

u/koakuma-chan

KarmaCake day664October 14, 2024
About
light.beach8865@fastmail.com

https://github.com/koakuma-chan

View Original