118 karma · joined May 5, 2023 (3y ago) · 75 submissions
comment 2w ago · link · parent
You may use https://github.com/pingdotgg/t3code as a wrapper above claide/codex/pi/... harnesses, or a proxy below (forgot which one, as agent what theo uses for balancing multiple claude subs)
comment 1mo ago · link · parent
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.
8.
I Think AGI Just Happened(danielmiessler.com ↗)
4 points · by dimava · 4mo ago · 4 comments
comment 5mo ago · link · parent
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".
comment 6mo ago · link · parent
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;comment 8mo ago · link · parent
const CatDog = { bark(){}, meow(){} }
and const TreeCat = { bark: "oak", meow(){} }
and your code stops workingTo 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 classcomment 9mo ago · link · parent
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]
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 11mo ago · link · parent
comment 11mo ago · link · parent
comment 1y ago · link · parent
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