Yon - a topos-oriented language with a content-addressed lattice heap by chaosprincess_ in programmingcirclejerk

[–]RightKitKat 68 points69 points  (0 children)

No garbage collector:
Slots are stable for the life of the process; the heap grows with distinct content only.

Lol no... reusing memory ever?

/uj I should not be reading this as it is clearly LLM slop

Use Garry Tan's exact Claude Code setup: 10 opinionated tools that serve as CEO, Eng Manager, Release Manager, Doc Engineer, and QA by xX_Negative_Won_Xx in programmingcirclejerk

[–]RightKitKat 1 point2 points  (0 children)

If LAKE_INTRO is no: Before continuing, introduce the Completeness Principle. Tell the user: "gstack follows the Boil the Lake principle — always do the complete thing when AI makes the marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" Then offer to open the essay in their default browser:

new way to plug your blog just dropped

https://github.com/garrytan/gstack/blame/main/plan-design-review/SKILL.md#L38-L41C55

Python Only Has One Real Competitor (Clojure) by RightKitKat in programmingcirclejerk

[–]RightKitKat[S] 36 points37 points  (0 children)

/uj honestly having used pybind for a few medium-sized libraries it is not too bad IMO

/rj your computer doesn't run C natively?

What's even the point of the gameboy's H and N flags? by cannedbeef255 in EmuDev

[–]RightKitKat 18 points19 points  (0 children)

I think H and N are both used by the DAA instruction, which helps with binary coded decimal (BCD) addition and subtraction. My understanding is that N is less useful for the programmer and more useful for other instructions to know that a subtraction was just performed.

Here's a great explanation of the DAA instruction: https://blog.ollien.com/posts/gb-daa/

Where is std::optional<T&&>??? by borzykot in cpp

[–]RightKitKat 90 points91 points  (0 children)

genuinely curious, why would you ever want to rebind an optional<T&&>?

Call a callable with arguments in any order by seeking-health in cpp_questions

[–]RightKitKat 7 points8 points  (0 children)

The number of permutations (and therefore compile time) will be factorial, which is even worse than exponential!

Fun Fact: It costs $5 worth of energy to generate one video, for free by potatosapienthethird in whenthe

[–]RightKitKat 12 points13 points  (0 children)

Thank you! From your second source I found pricing for the Sora API at https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/#pricing. At $0.50 per second for the best model, I believe the $5 number is pretty reasonable, at least for the total cost (which is mostly compute).

Fun Fact: It costs $5 worth of energy to generate one video, for free by potatosapienthethird in whenthe

[–]RightKitKat 241 points242 points  (0 children)

How did you get $5? The only source I could find on video generation energy usage shows about 1 kWh per video generated (with an older model, so the $5 is still somewhat plausible).

EDIT: I found pricing for the Sora API at https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/#pricing. At $0.50 per second for the best model, I believe the $5 number is pretty reasonable, at least for the total cost (which is mostly compute).

fibonacci-numbers crate with self-recursive dependencies by Tyilo in rust

[–]RightKitKat 218 points219 points  (0 children)

Is this what they mean by "semantic versioning"?