Not only is there a UInt8Array, there’s also a bunch of others: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#typedarray_objects
Not only is there a UInt8Array, there’s also a bunch of others: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#typedarray_objects
Huh, I really like code like that. Having a multi-step process split up into sections like that is amazing to reason about actual dependencies of the individual sections. Granted, that only applies if the individual steps are kinda independently meaningful
To adapt your example to what I mean:
Baz do_stuff(int count, boolean cond) {
Foo part1 = function1(count);
Bar part2 = function2(cond);
return function3(part1, part2);
}
This allows you to immediately see that part1 and part2 are independently calculated, and what goes into calculating them.
There are several benefits, e.g.:
Arch was never affected, as described in their news post about it. Arch users had malicious code on their hard disks, but not the part that would have called into it.
Not everyone becomes a joyless spoilsport.
Thanks! Yeah, I’ve been there a few years ago and it was lovely. I definitely want to come again some time.
Yeah, I think the only thing I really believe about it is that it was a good move to decline the world bank’s conditions for giving Vietnam a loan. Those conditions would have involved allowing international investors to buy land and speculate with food. I think having the ability to fix e.g. rice prices as a government can be very beneficial to a country.
But I don’t want to have an illusory view of how things really are if that’s also wrong.
Damn, I guess there’s multiple ways to do that.
I greatly respect the way Vietnam has put things like stable rice prices over Western money. As far as I understand it, this allows for a society where nobody lives in abject poverty. But it also prevents people from getting rich quick by milking their own people. So if I got all of this right, it’s not surprising that some people encountered the idea of getting rich quick through the Internet and try that now.
Oof. C++ really is a harsh mistress.
I guess you can always just add an assert not data.isna().any()
in strategic locations
Rockbox was the shit.
Breathed so much life into my iRiver. And I always had to defend the thing: “it’s older than iPods! It can’t be an rip-off”
I mean, the essential difference of no node_modules is shared, as are workspaces.
I think pnpm is more manual, but therefore less magic than yarn. More compatible, less stuff just works
That’s the one that’s like Yarn’s global cache, but without compression, right?
I’m a software engineer and data scientist.
MATLAB is trash politically, monetarily, for writing APIs, for structuring your APIs and code, and for packaging your work.
The only limitation R has is the structuring one.
I prefer Python. And Rust.
const gender = 0.5
Non-binary, cis, non-genderfluid
It’s a heavy duty hilt that’s easily detachable by a small recessed switch labeled “any”.
(It does its job very well as long as you don’t opt out of using it)
It’s an old sharepic, they didn’t make it.
Absolutely not, python is an actual programming language with sane error handling and arbitrarily nestable data structures.
Don’t be so superficial. When learning something, go with the flow and try to work with the design choices, not against them.
Python simply writes a bit differently: you do e.g. more function definitions and list comprehensions.