This is surely trolling? "Fullbody Ultrasonic Computational Tomography" has quite the acronym..
Yes, this only prevents the callee from mutating it, it can't provide a strong guarantee that the underlying mapping won't be changed upstream (and hence MappingProxyType can't be washable).
https://www.google.com/search?q=dutch+angle
Yes, some screen readers such as JAWS can be configured to use a different voice to represent bold text, for example. They can also use non-speech sounds to represent things such as HTML elements. One of the things that…
I remember reading somewhere in a different HN thread that some tools use pitch to represent indentation depth. There are all sorts of audio cues that can be used to represent syntactic information about code.
I think ctypes shines when it comes to fast prototyping, since you can iterate on the python bindings without a compilation step. It can also simplify distribution since the bindings can be pure python. Where it's…
You can absolutely use numpy arrays with C functions using ctypes. Numpy has `numpy.ctypeslib` which takes care of some of the boilerplate involved.
If we're treating them as ordered containers then it really ought to be surprising and confusing that two dicts with the same elements in a different order are considered equal. Other ordered containers such as lists or…
Dicts already have confusing half-ordered, half-not semantics. As of 3.7 they are guaranteed to be insertion-ordered, but operators like == don't care about order.
I don't think it's that simple. No one acts 100% rationally all of the time. In this respect, addicts, children, and the mentally unwell differ from the rest of us by degree - they may have diminished responsibility for…
One fairly common convention is to suffix with `_` to avoid shadowing, e.g. `input_`
And they are dancing, the board floor slamming under the jackboots and the fiddlers grinning hideously over their canted pieces. Towering over them all is the judge and he is naked dancing, his small feet lively and…
I think there's a beauty in the bleakness. Some of the descriptions are just so vivid, like a charcoal sketch. > He came forward, holding his belt by one hand. The holes in it marked the progress of his emaciation and…
No, you have to carry the fire
> I'm sure they'd love to carry guns around Some of them would, but perhaps not a majority. When the Police Federation most recently surveyed their members on this question in 2017 [1], 66% were opposed to routinely…
I agree, although I'm not sure if it's partly an unflattering screenshot. To me some of the lowercase letters look a bit indistinct (especially the 'e's and 'a's).
I think one of the challenges with stellarators is that they are harder to simulate due to the twisted geometry of the chamber (with a tokamak you can often simulate a single 2D slice of the torus).
If you can turn it into a collection of STL or MSH files then you can simulate it in MuJoCo. There are some caveats - MuJoCo will use the convex hull of the mesh for collisions, so if you want to accurately simulate…
> This is a completely new model that was entered in CASP14 and published in Nature.
> The default function itself should throw KeyError on values that are logically not in the dict (including, due to Python’s dynamically typed nature, those which are outside of the key domain because of type.) That's…
IMO defaultdicts are kind of dangerous, especially when passed as arguments to other calls that expect a normal dict. Silently returning a default value instead of a raising KeyError can lead to hard-to-find bugs. I…
I'm not sure what you're getting at - if you agree with me that "independent" is clearer than "agnostic" then what's the problem? I could understand your objection if you felt that the replacement word was somehow less…
I think this is about clarity rather than political correctness. Used in this context, "agnostic" is basically just a bit of jargon that's used where what we really mean is "independent". The latter is a drop-in…
Well, it's a policy document for Google developers, who presumably aren't free to just pick and choose which rules to follow. I personally agree with ~95% of the list, and the other 5% seems too trivial to be worth…
I think the goal is to provide practical guidance to developers. Splitting it into N different lists seems strictly worse in this regard.
This is surely trolling? "Fullbody Ultrasonic Computational Tomography" has quite the acronym..
Yes, this only prevents the callee from mutating it, it can't provide a strong guarantee that the underlying mapping won't be changed upstream (and hence MappingProxyType can't be washable).
https://www.google.com/search?q=dutch+angle
Yes, some screen readers such as JAWS can be configured to use a different voice to represent bold text, for example. They can also use non-speech sounds to represent things such as HTML elements. One of the things that…
I remember reading somewhere in a different HN thread that some tools use pitch to represent indentation depth. There are all sorts of audio cues that can be used to represent syntactic information about code.
I think ctypes shines when it comes to fast prototyping, since you can iterate on the python bindings without a compilation step. It can also simplify distribution since the bindings can be pure python. Where it's…
You can absolutely use numpy arrays with C functions using ctypes. Numpy has `numpy.ctypeslib` which takes care of some of the boilerplate involved.
If we're treating them as ordered containers then it really ought to be surprising and confusing that two dicts with the same elements in a different order are considered equal. Other ordered containers such as lists or…
Dicts already have confusing half-ordered, half-not semantics. As of 3.7 they are guaranteed to be insertion-ordered, but operators like == don't care about order.
I don't think it's that simple. No one acts 100% rationally all of the time. In this respect, addicts, children, and the mentally unwell differ from the rest of us by degree - they may have diminished responsibility for…
One fairly common convention is to suffix with `_` to avoid shadowing, e.g. `input_`
And they are dancing, the board floor slamming under the jackboots and the fiddlers grinning hideously over their canted pieces. Towering over them all is the judge and he is naked dancing, his small feet lively and…
I think there's a beauty in the bleakness. Some of the descriptions are just so vivid, like a charcoal sketch. > He came forward, holding his belt by one hand. The holes in it marked the progress of his emaciation and…
No, you have to carry the fire
> I'm sure they'd love to carry guns around Some of them would, but perhaps not a majority. When the Police Federation most recently surveyed their members on this question in 2017 [1], 66% were opposed to routinely…
I agree, although I'm not sure if it's partly an unflattering screenshot. To me some of the lowercase letters look a bit indistinct (especially the 'e's and 'a's).
I think one of the challenges with stellarators is that they are harder to simulate due to the twisted geometry of the chamber (with a tokamak you can often simulate a single 2D slice of the torus).
If you can turn it into a collection of STL or MSH files then you can simulate it in MuJoCo. There are some caveats - MuJoCo will use the convex hull of the mesh for collisions, so if you want to accurately simulate…
> This is a completely new model that was entered in CASP14 and published in Nature.
> The default function itself should throw KeyError on values that are logically not in the dict (including, due to Python’s dynamically typed nature, those which are outside of the key domain because of type.) That's…
IMO defaultdicts are kind of dangerous, especially when passed as arguments to other calls that expect a normal dict. Silently returning a default value instead of a raising KeyError can lead to hard-to-find bugs. I…
I'm not sure what you're getting at - if you agree with me that "independent" is clearer than "agnostic" then what's the problem? I could understand your objection if you felt that the replacement word was somehow less…
I think this is about clarity rather than political correctness. Used in this context, "agnostic" is basically just a bit of jargon that's used where what we really mean is "independent". The latter is a drop-in…
Well, it's a policy document for Google developers, who presumably aren't free to just pick and choose which rules to follow. I personally agree with ~95% of the list, and the other 5% seems too trivial to be worth…
I think the goal is to provide practical guidance to developers. Splitting it into N different lists seems strictly worse in this regard.