Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeremychone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jeremychone
7mo ago
I looked at your solution and extension README, and it's very interesting and well thought out. The fact that you've been using it for six months and that it performs well says a lot. At the end of the day, that's what counts
2.
▲
by
jeremychone
7mo ago
Yes, there is a parallel here. Now, some of those "indexing" steps can be performed by an LLM. And that does not prevent mixing and matching the two, as some comments in this thread suggest. Anyway, it's a great time for prod
3.
▲
by
jeremychone
7mo ago
Very good point. I had two options: 1) Deterministic - Using a tree-sitter/AST-like approach, I could extract types, functions, and perhaps comments, and put them into an index map. - Cons: - The tricky part of this approac
4.
▲
by
jeremychone
7mo ago
point taken.
5.
▲
by
jeremychone
7mo ago
- The ..-code-map.json files are per "developer folder," which would create too many conflicts if they were kept in Git. - I have two main globs, which are lists of globs: knowledge_globs and context_globs. Knowledge can be absolu
6.
▲
by
jeremychone
7mo ago
Even there, I use AI to augment rows and build the code to put data into Json or Polars and create a quick UI to query the data.
7.
▲
by
jeremychone
7mo ago
Oh, that's great. I've always wanted to explore how to fit tree-sitter into this workflow. It's great to know that this works well too. Thanks for sharing the code. (Here is the AIPack runtime I built, MIT: https://
8.
▲
by
jeremychone
7mo ago
So, I have a pro@coder/.cache/code-map/context-code-map.json. I also have a `.tmpl-code-map.jsonl` in the same folder so all of my tasks can add to it, and then it gets merged into context-code-map.json. I keep mtime, but I a
9.
▲
by
jeremychone
7mo ago
Fair point, but because I spent a year building and refining my custom tool, this is now the reality for all of my AI requests. I prompt, press run, and then I get this flow: dev setup (dev-chat or plan) code-map (incremental 0s 2m for i
10.
▲
by
jeremychone
7mo ago
Interesting, I’ve never needed 1M, or even 250k+ context. I’m usually under 100k per request. About 80% of my code is AI-generated, with a controlled workflow using dev-chat.md and spec.md. I use Flash for code maps and auto-context, and GP
11.
▲
by
jeremychone
8mo ago
Very interesting approach. The trick is that sometimes developers use a hybrid approach, AI + Human / IDE, and in this case, we use the language formatter (for example, rustfmt). For example: For my AI Agent / CLI, the dev can add
12.
▲
by
jeremychone
8mo ago
Impressive.
13.
▲
by
jeremychone
8mo ago
By the way, I’ve been switching to RustFS as my S3 mock server, and it works like a charm. They maintain the Docker image, so it works great in a k8s environment, for both local and remote development. Big thanks to MinIO for providing this
14.
▲
by
jeremychone
8mo ago
Not sure "convenience" alone should be the deciding factor when choosing a language for a project/product. What matters more is the long-term value for what’s being built and maintained. For portable, high-performance backend
15.
▲
by
jeremychone
3y ago
This is so awesome. Well done! I played a little with Pico/RP2040 (as a hobby), and it is so much fun. I wish educational content and institutions would embrace it more quickly.
16.
▲
by
jeremychone
3y ago
Reached 8K+!
17.
▲
by
jeremychone
3y ago
This is so counterproductive. I hope the Rust Foundation and the Rust Project change their minds and take a more reasonable route. Protecting against misrepresentation is completely understandable, but forbidding any common and reasonable u
18.
▲
by
jeremychone
4y ago
There is a learning tax at the beginning, for sure, but this is a fixed cost. We experience that once this first hump is passed, the code and output quality is higher, and the cloud resource cost decreases significantly. Now the challenge i
19.
▲
by
jeremychone
4y ago
We have been building relatively big enterprise cloud applications with a high level of compliance over the last decade and a half, and our next blueprint is all Rust on the backend (web server, web services, and job/micro services). F
20.
▲
by
jeremychone
4y ago
Agree, for our approach, sqlx has the right level of abstraction. Not too high, not too low, and close enough of a sql builder pattern to be very useful. (We are not using the compile time type validation though).
21.
▲
by
jeremychone
4y ago
As usual, great article from Discord team. Rust in the Cloud will make more and more sense as companies focus on optimizing operational costs without compromising scalability and quality.
22.
▲
by
jeremychone
4y ago
I have rewritten a relatively small but critical 2k CLI from nodejs/ts to Rust, and this was the best decision ever. Cold start and runtime performance got a big boost, but also the code design got much better, and the code is much sim
23.
▲
by
jeremychone
4y ago
Seems we will need to wait a little more for the if-let-chain.
24.
▲
by
jeremychone
4y ago
Assuming you want a zero-vm runtime, life will be much simpler with a borrow checker than without. The learning curve is a fixed tax for a recurrent return.
25.
▲
by
jeremychone
4y ago
Pola.rs is another good example of how a great Rust library can have an excellent Python façade. Polars ingenuously uses Python's operator overloading scheme to maximize data frames operation efficiencies. I think Python & Rust can
26.
▲
How to write Python extensions in Rust with PyO3
(infoworld.com)
45 points
by
jeremychone
4y ago
|
9 comments
27.
▲
Rust: Cloudflare Outlines How They Rewrote an Nginx C Module in Rust
(phoronix.com)
2 points
by
jeremychone
4y ago
|
0 comments
28.
▲
GCC Gets a New Front End for Rust
(developers.slashdot.org)
3 points
by
jeremychone
4y ago
|
1 comments
29.
▲
by
jeremychone
4y ago
Agree. The problem is that languages like Java, C#, ... are making it so easy not to worry about memory that we (at least I) tend to forget the basics after a decade or so. And the basics have mostly stayed the same.
30.
▲
An Overview of Rust’s Built-In Data Types
(makeuseof.com)
2 points
by
jeremychone
4y ago
|
0 comments
More ›