Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sieve
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
sieve
4mo ago
- The e-ink screen is great for reading. The feeling of ink on paper it produces cannot be replicated on any other screen. Not to my satisfaction. - The microcontroller is so weak that you cannot add crappy features like more powerful e-rea
62.
▲
by
sieve
4mo ago
Every item you add to the device adds a failure mode. Light is fine. Touch ... I don't know. I like the tactile feel of buttons. And Android means the device no longer runs on a microcontroller which has consequences for battery life e
63.
▲
by
sieve
4mo ago
Yes. I read multiple books in parallel. Each on a different reader. So syncing is not something I usually need though I did build myself a local sync server for fun.
64.
▲
by
sieve
4mo ago
> It's not the best reader I own, but it's the best reader I have on me at any given moment This. The form factor is almost the right one for an e-reader. The battery lasts for weeks. It is so open that you could probably write
65.
▲
by
sieve
4mo ago
epub is overkill for a vast majority of books. A format that only supported - headings - paragraphs - emphasis (bold/italics) - bullets - inline images is good enough. A simple container with a TOC pointing to text blocks/files wi
66.
▲
by
sieve
4mo ago
Got the X4. Put CrossPoint on it. Works like a charm. The http server accessible over wifi makes transferring books extremely simple. (Shame on the Kindle for locking everything down.) This is proof-of-concept that a microcontroller is more
67.
▲
by
sieve
4mo ago
It took some time but RuPay branded CCs are also available. I have been using them for the last 2-3 years at least. They work, mostly, with UPI. Some merchants disable RuPay CC payments even when they don't get charged merchant fees ti
68.
▲
by
sieve
4mo ago
I like typst. But I am not a fan of the syntax. I use it as an intermediate format on the way to PDF. A document markup language should avoid building a programming language inside it. Pick python, or lua, or whatever.
69.
▲
by
sieve
4mo ago
Depends on the state and the political environment. Some people will deliberately sabotage projects for political reasons. The biggest problem with metros in India is the inability to provide last mile connectivity. Some cities will run bus
70.
▲
by
sieve
4mo ago
There are people running sites hosting old religious texts and hymns and a hundred other things that have nothing to do with programmers. A 4x jump in the bill for someone on limited income not gaining anything from it is not trivial. It re
71.
▲
by
sieve
4mo ago
> Datacenters are weird In the same way that most public utilities are: train stations, railway lines, airports, garbage dumps, sewage treatment plants, military bases and a hundred other things. The negatives are concentrated to the loc
72.
▲
by
sieve
5mo ago
This is very common as they have no conception of time. They are just using ballpark figures based on what they see in the wild. I see estimates for modules in weeks/months when it can produce it in a single afternoon of prompting.
73.
▲
by
sieve
5mo ago
Not comparable, but the story of Gerald Bull is interesting. I read Frederick Forsyth's The Fist of God in the late 90s and only came to know about Bull and Project Babylon when I chanced upon the Wikipedia article on the subject.
74.
▲
by
sieve
5mo ago
While it sounds interesting, I do not see this gaining traction. My main complaint would be that I do not want to think about errors except when I want to. This system sounds like Java checked exceptions in a way. You have to handle every e
75.
▲
by
sieve
5mo ago
Any language that uses error codes instead of exceptions is a non-starter for me. Produces code that craps all over the happy path. Python has a different problem: it is slow as f---. I did a micro benchmark comparison against 5 other langu
76.
▲
by
sieve
5mo ago
A replacement for python. - The base is a freestanding register VM deeply tied to the Linux kernel. - It supports a set of primitives types, array types and record types. - Concurrency is Erlang-ish --- an M:N scheduler that can manage tens
77.
▲
by
sieve
5mo ago
Recovery is simple depending on your syntax (and whether your language supports exceptions). You pick a few places where you trap exceptions, add it to your log and continue. My current project is the first one that might becomes public.
78.
▲
by
sieve
5mo ago
The older ones, no. The current project will be. I am developing in private and occasionally rewriting the jj tree to make each commit self-contained. So it won't contain all the false-starts and bad code, only the cleaned up version.
79.
▲
by
sieve
5mo ago
Every single book starts with regexes and DFA/NFA for lexical analysis. Too much ceremony for something you can write in 30 minutes and 300 lines
80.
▲
by
sieve
5mo ago
> slowly I cannot do slow. It is either burn the candle at both ends, or do nothing at all. I am using LLMs this time as well, but I spent close to 400 hours over a period of 6-7 weeks on my project before I put it to the side temporaril
81.
▲
by
sieve
5mo ago
Yeah. I added the caveat because I haven't looked at the source of the major production compilers and didn't want to overreach. The hobbyist ones mostly stick to hand-rolled recursive descent.
82.
▲
by
sieve
5mo ago
I wish people would start with Nystrom's https://www.craftinginterpreters.com/ and avoid the dragon etc unless they really, really need it. Almost everything I have learnt about compiler/vm development, I have don
83.
▲
by
sieve
5mo ago
> I think compiler courses teach from yacc, bison etc that's where this whole thing came from Very true. I have a shelf full of books on compiler development and optimization. I have read them selectively, a chapter here, a chapter
84.
▲
by
sieve
5mo ago
I have written compilers for two families over the years: C and ML. My current preference is Python. I am currently working on a statically typed language that is inspired by Python (minus objects and OOP) that runs on a register VM. Syntax
85.
▲
by
sieve
5mo ago
Anyone trying to do this... the first thing you do is avoid lex/yacc/bison/antlr. You do not need all this ceremony. A recursive descent parser that uses Pratt parsing will work for a vast majority of cases. The lexer/pa
86.
▲
by
sieve
5mo ago
The equivalent analogy is charging lock/door/drywall/timber makers and suppliers for lapses if a thief entered the house by picking a lock or drilling/sawing through the wall.
87.
▲
by
sieve
5mo ago
The branch is the last place where a real person meets another real person. Even that person looks up everything on their terminal, and the whole thing is probably security theater, but I think having at least one physical backstop is a goo
88.
▲
by
sieve
5mo ago
Claude is opaque as regards token usage. So you might end up using your 5hr limit in 7-10 minutes using regular Sonnet. Meanwhile, OpenCode etc give you exact breakdown in terms of how many cached tokens used per session etc which you can u
89.
▲
by
sieve
5mo ago
Kimi is really good. I have been using Sonnet and others (DeepSeek, ChatGPT, MiniMax, Qwen) for my compiler/vm project and the Claude Pro plan is mostly unusable for any serious coding effort. So I use it in chat mode in the browser wh
90.
▲
by
sieve
5mo ago
I tried VSCode some years ago (immediately moved to Codium) and yes, it is extremely well-done for what it is. But Zed is good enough for me. Everything I care about for Python, TS/JS/CSS and C programming is available. I do not e
More ›