811 karma · joined Aug 23, 2021 (5y ago) · 309 submissions
Student of संस्कृतम्
Sanskrit reader at https://www.adhyeta.org.in/
Devlog at https://bhashika.org.in/
comment 6d ago · link · parent
Technically, the combo is worse on every parameter you would normally care about:
- screen size and PPI
- power of the hardware
- build quality
But the overall experience lets it punch far above its weight. I don't see myself buying a Kindle/Kobo-sized device ever again as long as these are available.
My wishlist for this class of product:
- Make the hardware robust to avoid cracked screens
- Keep USB C
- Use the thickness forced by this design to add a larger battery
- Provide a front/backlight
- Slightly more powerful hardware. Maybe the ESP32-S3
- Keep the device unlocked so the community can develop software for it instead of selling an "experience"
- Sub-$100 pricing
comment 2w ago · link · parent
I am of the opinion that there is very little humans can do that other reasonably competent humans cannot also do. So the entire idea of IPR is a joke, but the idea has been with us for a few centuries and might stay on for one more.
That said, human direction is critical in so many things. A camera can be operated by any monkey; all you need to do is click a button. But knowing how to focus, what to focus on, and so may of those tiny decisions is what makes photography an art form. There are hundreds of such fields where the actual human effort involves providing direction to an otherwise mechanical process.
comment 2w ago · link · parent
The runtime maintains state in the config directory so that approve-always works for `(hash(ls), dir_read(/etc))` without producing that question during the next `ls /etc`
comment 2w ago · link · parent
My current thinking is to freeze all caps on startup. pid-0 within the runtime has the max caps the application will ever have and it can parcel out subsets to other processes that need it.
This can show up on the ux side as a single permission request listing all the caps the application claims it needs with a default negative response.
comment 2w ago · link · parent
I started in March and have gone through nearly 300 spec revisions for the runtime and language. Thanks to LLMs, I think I will have something useful to share in 2027.
My problem is that I have ten things in the pipeline at any given moment and I switch between them as time permits. So things get delayed a bit.
comment 2w ago · link · parent
You ideally want to attack the problem at two ends:
- make the syntax noise-free so you can see what is happening
- build primitives at the syscall and stdlib level for common footguns
You would still need to deal with domain-specific logic errors, but you have at least reduced the surface area exposed to casual attacks.
comment 2w ago · link · parent
- statically typed from end to end
- closed and open/extensible types
- closed types are immutable, open ones have two variants: immutable and mutable
- arrays have two variants: immutable and mutable
- no OOP/classes. inheritance is nominal and mainly exists to provide access to class membership (is X a Y?)
- functions operating on data
- UFCS exists to provide nice features like "apple".substr(...)
- first class functions and closures
- monomorphized generics
- tailcalls
- operator overloading
- modules and namespaces to control access
- erlang/beam style first class processes. So you `spawn` a function and communicate between processes using send/recv instead of async/await
Processes are completely isolated at the runtime level. Each has its own stack, heap, mailbox and GC.
The bytecode carries all type information. The VM will compile using AOT-on-load.
My own runtime-becomes-a-os idea is still just an idea. I haven't really pursued it with seriousness. Will probably do that once the language and runtime stabilize.
comment 2w ago · link · parent
The language is restricted to permissions granted on startup and can only access the system via the runtime, which only supports a particular subset of linux syscalls. So, outside of the stdlib, whichever feature you need, you simply use an LLM to port an existing python/rust/JS/TS/Java library to the language and use it.
As the runtime has its own scheduler and GC, I have actually been wondering about the feasibility of skipping the linux kernel and making the runtime itself the "os." Given that so much modern hosting is actually done on virtual hardware, the drivers could be hosted within the runtime as well.
comment 2w ago · link · parent
h = file_open(path)
data = file_read(h)
file_close(h)
return data
is the code you want to read. This essentially is: return file_open(path).success(h -> h, file_read(h)).success(h, data -> file_close(h); data)
A language with thoughtful error handling primitives will support such code.comment 3w ago · link · parent
Both bcachefs and ZFS are social problems, not technical. Nothing stops a distro from shipping ZFS as part of their kernel. Except a legal interpretation of whether CDDL and GPL2.0 allow that marriage.
comment 3w ago · link · parent
We have no idea when the Rāmāyaṇa was composed or who composed it. We traditionally attribute it to Vālmīki and call him the ādikavi and the work the ādikāvyam -- first poet and first piece of poetry respectively. The entire set up presents it as the story of a man named Rāma.
The poet specifically says in the fifth sarga of the Bālakāṇḍa:
तदिदं वर्तयिष्यामि सर्वं निखिलमादितः।
धर्मकामार्थसहितं श्रोतव्यमनसूयया॥ ४
"Now I shall recite the entire thing from start to end. As it relates to dharma, kāma and artha, it should be heard without complaint/malice/envy/etc."
The neo-Western standard of written or epigraphic evidence being the only real evidence was not really that relevant in the ancient world. Hinduism itself is based on the concept of time as a cycle instead of the linearity that is common in Western religions.
So, the story could have received its present form some time in the past 3-4K years, and has been fiddled with by grammar-obsessed scribes across the country over the past 2K years, but it could encode memories from a time long before that. The story has many fantastical elements like the tale of Sagara and his 60K sons and the descent of the river Gaṅgā from the heavens, but it is much more reserved in other aspects. The etymology of the term vānara itself is debatable. Has it been derived from narō vā (is it a man/human)? Or vanam + naraḥ (forest + man = forest dweller)?
comment 4w ago · link · parent
I have a 5 kWp solar plant that produces ~25kWh per day, but it is grid-tied. I considered a hybrid setup with LFP battery back up, but decided to separate the two systems to avoid a single point of failure.
comment 1mo ago · link · parent
This has been my hobby for nearly two decades and it is not so easy because there are hundreds of edge cases that must be considered even if the LLM writes all the code.
comment 1mo ago · link · parent
He does not understand that it is just like a phone. Unless you keep it on standby (which he does not want to do: wastes power), it will boot, slowly, till all the subsystems are up and running. The low powered processors, the low speed ssds, and minimal RAM makes everything worse.
comment 1mo ago · link · parent
- You pay $10/mo for Go and get $10 worth of usage per month
- Now, each model they make available has a multiplier from 1.5-8x
- So, the expensive ones like Kimi K3 have a 1.5x multiplier, cheaper ones like DeepSeek 4.1 Flash have 8x
- This gives you usage of $15 and $80 per month respectively
- You can mix and match
- So, you can use 25% of your quota with K3 and 75% with DS41Flash ... usage of $3.75 and $60 respectively
- You divide the two figures by their respective multiplier ... $3.75 / 1.5 and $60 / 8 ... and you end up with $2.5 + $7.5 = $10 which is what you paid
- You should ignore the requests table and go directly to the price/M tokens table where all the actual rates are given
- They control usage at 5h/1w/1mo intervals
- You can use 25% of your monthly quota in a 5h block, 50% in a week, and 100% in a month.
- If you were only using DS41Flash, that is $20m, $40 and $80 worth of usage respectively which is $2.5, $5 and $10 of your subscription figure after accounting for the multipliers.
It would be so much simpler if they credited 1M microdollars per $1 of subscription and quoted the per M token rates for each model in this currency.
But then Claude/Codex/StepFun and all the other subscription services are far more opaque.
comment 1mo ago · link · parent
- You can change the back end and store everything in an sqlite3 database.
- Spam is what killed usenet as a discussion medium. Topic-specific, moderated google groups are still active and see traffic.
- People keep reinventing the same things over and over again.
comment 1mo ago · link · parent
The goal is to get the 31B working on a 16GB card. Which means weights have to be < 4 bits. The 9070 XT has wmma support for int4. Which doubles compute performance on pp compared to i8/fp8. tg is limited by bandwidth.
comment 1mo ago · link · parent
Only once? This has happened to me so many times with LLM-assisted development. I was writing an OCR engine and pathological shapes would cause OOM that would take the display out. On other occasions, the LLM would try to load 24GB of bf16 weights onto a 16GB GPU without understanding the consequences.
Have to encode this in logic: keep some space reserved for the display, and check before allocation. But some errors are bound to slip through.
---
Inspired by DwarfStar4 and Strata, I am trying to build my own gemma4-specific inference engine designed to run on gfx1201.
It is a lot of work. You cannot simply vibecode one in two days.
comment 1mo ago · link · parent
Subscriptions like these make money by relying on the fact that most people do not try to (or have the time to) extract every last dime out of their plan. The eighty people who do not use up their quota cover for the twenty that do.
That and deals with providers to use spare capacity I guess.
comment 1mo ago · link · parent
Unless you are running a swarm of agents, it is extremely difficult to exhaust these plans in a month.
comment 1mo ago · link · parent
I have been thinking about this for a while in the context of the quest for AGI. If all we want is something to take over some parts of our intellectual labor, then LLMs are already there. They can communicate with you in a language you understand and do stuff that you command them to. Often, on their own.
AGI will have its own telos. An LLM does not (at least I refuse to believe that it does).
So, yeah, you could think of LLMs as programs processing data. But there is definitely some emergent behavior you notice that emerges when the LLM runs. How you interpret all this depends on your view on consciousness and intelligence.
comment 1mo ago · link · parent
Some systems are fully formed AI. Often based on heuristics. Humans have encoded the rules into the system. Others do limited learning based on pattern recognition. Still others learn based on tagged data. And LLMs don't need even that. In a stream of N tokens, the trainer has access to K+1 when it is training a model that knows 1...K and can check if the prediction was correct.
AI literally refers to any artificial thing that feels intelligent to us: does some thing a simple bash script will not. Your rules based chess engine is AI. The bot you compete against in single player Age of Empires 2 is AI. DeepBlue was AI.
ML is where things become interesting because we teach machines to learn.
NN is where we borrow terminology from neuroscience and create "neurons" that learn.
DL is where we stack neurons deeply in layers.
I am trying to make sense of all this myself.[1] So I am building a curriculum for it as I learn. So much of the teaching material in the wild revolves around torch. Makes it useless if you want to peek inside the actual machinery.