KindaABigDyl

joined 2 years ago
[–] KindaABigDyl@programming.dev 8 points 5 months ago (1 children)

Isn't anarchy just against imposed hierarchy? Most anarchists I've met are okay with heirarchies that form naturally, and believe those hierarchies to be enough for society to function, hence why they call themselves anarchists, not minarchists.

[–] KindaABigDyl@programming.dev 2 points 5 months ago* (last edited 5 months ago) (2 children)

Bro what? TI has like... the best docs. What are you talking about? They have the Microsoft C# docs of the semiconductor world. Clear examples, every little detail, well organized. Darn near perfect example of what to do

[–] KindaABigDyl@programming.dev 1 points 5 months ago

I mean, it's fine. And if you can't find something the NixOS subreddit is usually pretty helpful

[–] KindaABigDyl@programming.dev 10 points 5 months ago

I have another one:

30min of fighting with an LLM can save you 10s of boilerplate

[–] KindaABigDyl@programming.dev 13 points 6 months ago* (last edited 6 months ago) (1 children)

❌ Imperative

❌ Functional

❌ Object-oriented

❌ Stack-oriented

❌ String-replacement

✅ Rat-Oriented

[–] KindaABigDyl@programming.dev 23 points 6 months ago

GLFW is a C library, not a C++ one, and an old one at that, and so the reason is that a long time ago, there was no bool in C. Every library would make their own true and false bc it's handy to have.

Nowadays, the type _Bool has been added to C, and C++ has built-in bool, but you can still see the legacy of no boolean in C as to use the type name "bool" as well as the key words "true" and "false" for 1 and 0, you have to include "stdbool.h," as well as in custom types in these old GL-adjacent libraries.

[–] KindaABigDyl@programming.dev 21 points 7 months ago (1 children)

And that's why I don't use Python for anything more than simple scripts

[–] KindaABigDyl@programming.dev 4 points 8 months ago* (last edited 8 months ago)

Could I do:

signature primes_less_than(x: number) -> [number]
example primes_less_than(2) = []
example primes_less_than(10) = [ 2, 3, 5, 7 ]
primes_less_than(10582319112759318014901241439012831231539517)

?

I don't pay for OpenAI, so I can't try the playground

[–] KindaABigDyl@programming.dev 0 points 9 months ago

This response needs more up votes

[–] KindaABigDyl@programming.dev 2 points 10 months ago (1 children)

What packaging types are there for Rust? Isn't everything just source-based through cargo?

view more: ‹ prev next ›