HNHacker News
TopNewBestAskShowJobs

dimava

117 karma · joined May 5, 2023

submissionscomments
dimava··on How to engineer an AI harness for game development
When you start from the end, model may make the proper architecture for everything you will need, and for everything it needs to know that implementations is correct.

I think verifiable game engines are slowly starting to appear. After all, nothing can stop you from unit-testing the game like Factorio does ( https://youtu.be/CgMV2dFFdFE?t=48 ) other then your not bothering to think about it. I have made one even, see https://github.com/Dimava/gensokyo-survivors/tree/master

> this year

Models change so fast now that even "this month" becomes abstract. Everyone, please make sure to mention the name of the model.

dimava··on open-slopware – Alternatives to FOSS projects choosing to use LLMs/AI
When I read "open-slopware" I wanted to see OSSlop Adobe forks Now I'm disappointed -_-
dimava··on Cursor is now a part of SpaceX
There still may be Opus->Fable type bump when they finish training larger models. Remember, Grok 4.6 is still Opus-sized and they have larger models in training.
dimava··on How is the Bun rewrite in Rust going?
"Claude did implement multithreading in JS but we don't want to mantain a fork of WebKit" - jared apparently
dimava··on Potential session/cache leakage between workspace instances or consumer accounts
Just @AGENTS.md should be enough, as @s is CLAUDE.md are inlined (and !`ls` are executed)
dimava··on Bun has an open PR adding shared-memory threads to JavaScriptCore
The ones who accept rewrites are expected to support it indefinitely.

That's why Jared didn't consider using it for Bun even if it's undeniably better, they don't have human resources to support it

dimava··on Do we need billionaires?
1. Owning your own company stock is not having money, it's merely ability to control the company. Elon tries to be BDFL of his companies, so selling the stock is not really an option.

2. Stock valuation and money are not the same thing. As you could've noticed from the recent Bitcoin price drop, the moment you start selling it it starts to worth less. Tesla is bubble-priced, so it's sell price is at least 5 times less then valuation

3. Even if you get the money, distribution is much harder problem then you think after agreeing with this sensense. IIRC it was Musk who said "So you say you can fix the world hunger for $nnn? Bring me the plan how you are going to do it. Noone brought me a plan so far".

dimava··on Rapira (Рапира) – Soviet programming language interpreter
Since I know russian well, here's a proper translation for y'all

    FUNC FACT (N);
       NAMES: P;           (* variable names *)
       1 -> P;
       FOR I FROM 1 TO N ::
          P * I -> P
       DONE                (* endif *)
    RET: P                 (* return value *)
    END;                   (* end of function *)
    
    FOR N FROM 0 TO 6 ::
       ? "FACT(", N, ") = ", FACT(Н)   (* print *)
    DONE;
dimava··on Project Gutenberg – keeps getting better
If it's purely bot traffic, then Anubis could help

You could have seen it on some websites already

https://anubis.techaro.lol/

dimava··on Claude Code adjusting down 5hr limits
The amount of compute you get is not documented anywhere.

Cursor docs do say "You get $70 of api priced tokens on $60 tier"

Anthropic limits were 8.33x with free cached tokens, but those numbers themselves were a leak rather then an official statement

dimava··on No, it doesn't cost Anthropic $5k per Claude Code user
Cursor may be losing money only on $200 sub people who do over $200 of usage (it grants $400)

Everyone else pays them at API prices

dimava··on TypeScript 6.0 RC
And then you have a

    const CatDog = { bark(){}, meow(){} }
and

    const TreeCat = { bark: "oak", meow(){} }
and your code stops working

To make types discriminatable you need either

    type A = { bark: fn, meow?: never } | { bark?: never, meow: fn }
    type B = { species: "dog", bark: fn } | { species: "cat", meow: fn }
    or use instanceof with a class
dimava··on Get free Claude max 20x for open-source maintainers
Just to reiterate

ANTHROPIC IS GIVING EVERY DECENTLY LARGE MAINTAINER $1000 WORTH OF INFERENCE (~x8 that in API prices)

They likely made a marketing budget for this of $1M or so

Other OSS stuff like Copilot or JetBrains costs to providers much less, $100/yr most (licenses are not expenses, only inference is)

Anthropic may get $500(average total for all 6mo) per user of just inference costs

6 months is because this is experimental and they have no idea what to expect

(their devrel department is meh as you could've noticed already), when they see it working they'll make it autorenew or something

ESR (Eric S.Raymond) asked OpenAI to match and got one, so the same offer from OpenAI will likely follow soon[tm]

dimava··on AI uBlock Blacklist
Also check the https://botblock.ai/ , AI extension to detect AI replies on twitter
dimava··on Kimi K2.5 Technical Report [pdf]
Open source models costs are determined only by electricity usage, as anyone can rent a GPU qnd host them Closed source models cost x10 more just because they can A simple example is Claude Opus, which costs ~1/10 if not less in Claude Code that doesn't have that price multiplier
dimava··on GLM-4.7: Advancing the Coding Capability
Tokens will cost same on Mac and on API because electricity is not free

And you can only generate like $20 of tokens a month

Cloud tokens made on TPU will always be cheaper and waaay faster then anything you can make at home

dimava··on Graphite is joining Cursor
When other models would grep, then read results, then use search, then read results, then read 100 lines from a file, then read results, Composer 1 is trained to grep AND search AND read in one round trip It may read 15 files, and then make small edits in all 15 files at once
dimava··on Gemini 3 Flash: Frontier intelligence built for speed
Just ask LLM to write one on top of OpenRouter, AI SDK and Bun To take your .md input file and save outputs as md files (or whatever you need) Take https://github.com/T3-Content/auto-draftify as example
dimava··on I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours
$30 in API pricing

> I was running this against my $20/month ChatGPT Plus account

dimava··on Updated practice for review articles and position papers in ArXiv CS category
refined title:

ArXiv CS requires peer review for surveys amid flood of AI-written ones

- nothing happened to preprints

- "summarization" articles always required it, they are just pointing at it out loud

dimava··on How the AI Bubble Will Pop
DeepSeek on GPUs is like 5x cheaper then GPT

And TPUs are like 5x cheaper then GPUs, per token

Inference is very much profitable

dimava··on The time picker on the iPhone's alarm app isn't circular, it's just a long list
Except 12:01 is in 24-hour clock which doesn't have 12:00 problem in the first place
dimava··on Different Clocks
Can you make a variant for relative passing time?

You probably barely remember anything up to around 10, and then each doubling of age adds one logarithmical unit

So 10 is 1, 20 is 2, 40 is 3 and 80 is 4 (or maybe 0, 1 and 2?)

20 is already half of life passed by -_-

dimava··on Claude Code Router
Aka VSCode DevContainer?

Could work I think (be wary of sending .env to the web though)

dimava··on The Tabs vs. Spaces war is over, and spaces have emerged victorious
Edit: it got fixed, thanks to the author

I think with majority of TypeScript projects using Prettier, 2 is more likely to be the default[0]

The linked page literally says to ignore it [1]

> STOP READING IMMEDIATELY THIS PAGE PROBABLY DOES NOT PERTAIN TO YOU > These are Coding Guidelines for Contributors to TypeScript. This is NOT a prescriptive guideline for the TypeScript community.

4 is a historical thing used as a default for all languages in VSCode [2]

[0] https://prettier.io/docs/options#tab-width

[1] https://github.com/microsoft/TypeScript/wiki/Coding-guidelin...

[2] https://github.com/Microsoft/vscode/issues/41200

Edit: found the TS style guide at https://github.com/basarat/typescript-book/blob/master/docs/... , it should be the correct link

P.S. did send a mail to author hopefully they fix it

dimava··on Vibe coding service Replit deleted production database, faked data, told fibs
They had tools to prevent this, but the tools were still in development

They have since unrolled prod/dev db split and dB snapshots And restored that user's db from backup ofc

dimava··on Running TypeScript Natively in Node.js
There's an ESLint rule with autofixes for that (annotating type imports) One for extension should exist somewhere too
dimava··on xAI's Grok 3 comes to Microsoft Azure
Specifically for Linus Torvalds, the author or Linux

He has a very distinctive style and large amount of training data from all the reviews and emails he made while collaborating on Linux

And as he manages a huge project that's in development for decades, he has to be very strict about the quality

dimava··on Show HN: Free, in-browser PDF editor
I'm 50% sure adding a "Install offline app" button that installs PWA would be enough to make them believe otherwise

Add a "Check for updates" button that redirects to chamgelog page in browser for extra points

dimava··on Show HN: Free, in-browser PDF editor
You should make your app a PWA [1]

PWAs are basically "installable" pages which open in their own browser window and generally can work offline

[1] https://developer.mozilla.org/en-US/docs/Web/Progressive_web...

Page 1 of 3Next →