lectured on how to treat your underpaid employee by a big tech company
@sh.itjust.works
A vibe programmer that built a palm-sized fusion reactor in a cave over the course of 3 months with a single companion? Perfectly respectable to me. And he probably made his own AI too :)
I've always imagined peak programming as building up from low level languages, putting on some layers of abstraction and automatization written by yourself, and end up writing some trivial commands to produce very interesting outputs... Who knows? Maybe throwing around some holograms and voice-commands asking for nonsense. It doesn't get much more vibey than that.
Programming in vim and emacs does look like that lol.
I mean, just because you implemented something in a low level lang, it doesn't mean you're gonna have the fastest implementation. Even in high level langs, there's usually heavy optimization involved in things that are done all the time (e.g. web servers)
Not mentioning fixed point in an article about floating point alternatives is a sin. Unlike any of the alternatives listed here (yes, even floating point), if your computer can do integers, fixed-point comes practically builtin! it's literally the same machine instruction plus one or two bitwise shifts.
Decimal floating point is probably the worst of every world. Without specialized hardware, implementing floating point is pretty hard in software, and comparatively slow. Since internally the decimals are stored in binary, a shift in the exponent means you have to recompute the mantissa as if you did multiplication or division, so you also lose the advantages of binary :)
Fractions are probably the most practical implementation for arbitrary precision as they are base-agnostic, and thus, free of repeating fractionals. The problem is that you need to do lots of gcd and lcm for addition. I have never done a full implementation, but I'd say libraries represent them internally as mixed numbers, integer part and less-than-one fractional part.
Symbolic computation is really hard. I hope you know your data structures and graph traversals!
Interval arithmetic is niche and I didn't pay attention to the lecture on measure errors so I'm not very familiar, but wikipedia says binary operations between intervals is literally matching and min/maxxing so this one may have the second simplest software implementation.
For binary-coded decimal my guess is that decimal digits are stored as 4 bits each. Probably wasteful for any kind of arithmetic, so their use would mainly be conversions--after all, no matter how good binary is, people are used to decimal (which is not even that good of a base), and it's the computer's task to output that.
0! = 1 isn't an exception.
Factorial is one of the solutions of the recurrence relationship f(x+1) = x * f(x). If one states that f(1) = 1, then it only follows from the recurrence that f(0) = 1 too, and in fact f(x) is undefined for negative integers, as it is with any function that has the property.
It would be more of an exception to say f(0) != 1, since it explicitly denies the rule, and instead would need some special case so that its defined in 0.
You should bookmark theindex.moe (aka piracy.moe), it has a comprehensive list of manga/anime streaming sites, you can use search criteria like langauges, soft-subs, noads, no anti-adblock, etc.
I currently use hianime .to the most
Genuine question: How exactly are they more culturally relevant than Japan besides K-pop and maybe Korean novels? When it comes to matters besides entertainment, I guess I'm a little clueless.
thanks for using Leebra!
go to feed...