Better HN
topnewbestaskshowjobs
Log inSign up

sieve

811 karma · joined Aug 23, 2021 (5y ago) · 309 submissions

I write software

Student of संस्कृतम्

Sanskrit reader at https://www.adhyeta.org.in/

Devlog at https://bhashika.org.in/

Submissions

comment 5d ago · link · parent

As far as the CPU is concerned, yes. Haven't compared the rest of the features. I am not sure how they will harden the e-ink screen though.

comment 6d ago · link · parent

I only charge my device one every month or so. And transfer books over wifi using the built-in web server. So, the charging mechanism does not really matter so much. But it was a needless change.

comment 6d ago · link · parent

CrossPoint + Xteink X4 = I haven't touched my Kobo in nearly three months.

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

> Zarya of the Dawn concludes that human direction and selection is not enough to produce a copyrightable work from AI generated content. Without copyright, there is no legal basis to offer a license. The code is public domain or worse, mislicensed, AI washed GPL or BSD.

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

My current design idea lets the runtime collect all the requests till the application locks its set of demands. This entire set is presented to the user who can then approve/reject/approve-always

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

How will you allow permissions for a `ls` style tool? I want to be able to do `ls /etc`.

comment 2w ago · link · parent

I have been exploring something on the lines of capsicum for my language+runtime and you want to balance usability and security. Too much friction and people WILL use --all like I do with Deno.

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 generally prefer exceptions to result codes. You can even use the mechanism to throw useful results across nested function calls.

I do prefer Maybe/Option/Either style returns in some cases though. Makes for a cleaner API.

So each method has its uses.

comment 2w ago · link · parent

I will publish the code when done to a GH repo over here: https://github.com/orgs/bhashika-org-in

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

Syntax is not going to solve logic errors. No amount of checked exceptions or forced unwrapping of a result will help with TOCTOU or any number of similar vulnerabilities in code.

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

It might throw one. There is a difference between documenting what exceptions can be thrown and forcing every consumer to handle them.

comment 2w ago · link · parent

The language borrows syntax from Python (and a wee bit from Haskell) and is essentially syntactic sugar over facilities provided by the runtime:

- 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

These last few months, I have been building a capability-based language and runtime for fun based on the "port EVERYTHING" idea.

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

In the vast majority of programs, errors and non-results are irrelevant at the call site. You want to program for the happy path and not wrap every single call with error checking code or `try/catch/finally`.

    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

bcachefs exists outside of any drama. I switched my pools to it from ZFS last year and it is working swimmingly. What ZFS use case do you have that bcachefs does not solve? Only thing I can think of is zfs send/receive and I never used that.

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

One is not like the other.

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 dumped my 24V dual LA battery setup for a single 24V LFP battery for my inverter/UPS backup. LFP supposedly has a 10-15y life based on the 4-5000 charge cycles most cells claim. Sodium ion is on the way as well. My setup gives me about 10-12h of backup for critical loads (my PC, lights, fans).

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

I have been developing my language+runtime for the past few months, using LLMs, and would like to see someone whip one up quickly, using LLMs, particularly with no PL background.

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

My dad is extremely irritated with Android TVs as a concept. He just wants to watch something and complains about it taking a few minutes on startup to even show the screen where can can select YouTube.

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

The pricing is opaque for stupid reasons. All the information is actually available for you to calculate your usage exactly.

- 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

The only difference is timing. You can call it groups or channels or whatever else you want. You can expose the same data via two different methods.

- irc.example.org

- news.example.org

could be the same thing. IRC would poll. NEWS would not.

comment 1mo ago · link · parent

- Moderated newsgroups if you really want to chat.

- 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

It will be when done. I have a lot of stuff in the works and switch between them based upon my current interest. I like plotting and writing stories and Gemma is one of the nicer writers.

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

> Using a GPU has, once, caused a driver reset that took the desktop with it.

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

They are a subscription service.

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

Yeah, I barely manage to exhaust the $60 worth of tokens. I have to think of new things to use up $1500 worth.

Thanks to competition from open models, there is a limit to how much prices can be increased though.

comment 1mo ago · link · parent

Have you tried OpenCode Go? $10/mo is what I am willing to spend because most of the stuff I do is hobbyist. And OpenCode Go gives you $60 worth of MS Contributor 1.3 usage for that $10. Starting today, they actually provide $80 worth of DeepSeek 4.1 Flash usage if you want to use that.

Unless you are running a swarm of agents, it is extremely difficult to exhaust these plans in a month.

comment 1mo ago · link · parent

We humans have the habit of falling into the trap of anthropocentric views and explanations of the universe and everything within it. The history of AI is the history of moving goalposts. I don't particularly care if they are conscious or not. Humans have a history of treating even actual, conscious, intelligent beings as chattel or food. So I don't really see why our attitudes would change if we somehow realized that LLMs are conscious.

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

There is a lot of terminological confusion in the field. The fundamental difference is about how the "AI" learns. And who, if at all, supervises the learning.

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.

[1] https://bhashika.org.in/logs/2026/an-ml-curriculum

comment 1mo ago · link · parent

This is a knowledge problem. You can fix it by pointing the model to documentation (if it exists). Otherwise the model will give you the next best guess
12345
11