

I like self directed research, it’s mostly rust stuff, but has some really interesting topics mixed in.
I like self directed research, it’s mostly rust stuff, but has some really interesting topics mixed in.
No, the mirror reflects to the view finder untill you press the shutter, then it moves thr mirror to expose the photo sensor and then back.
If it’s a moving mirror camera* and it’s used to take stills it’s probably fine, as the sensor is only exposed for a fraction of a second per image.
If you want to film with it or put it in a phone, where it’s exposed all the time, it would certainly not be enough.
* I have no clue what they are called in english
At least be fair and cut out the .into()
YES, protesters are freely associating members of the general public, whereas the police are vetted and trained professionals, payed by taxes to “uphold the law”.
They should be held to a higher standard!
The humble !!
operator.
maybe we removed the last n characters
(LT(PL * 5,DO) ERROR('079','USER IS NOT SUFFICIENTLY POLITE','1'))
(GT(PL * 3,DO) ERROR('099','USER IS OVERLY POLITE','1'))
Finally, we know how polite to be.
If you want to have a library that can also be a standalone executable, just put the main function in an extra file and don’t compile that file when using the library as a library.
You could also use the preprocessor to do it similar to python but please don’t.
Just use any build tool, and have two targets, one library and one executable:
LIB_SOURCES = tools.c, stuff.c, more.c
EXE_SOURCES = main.c, $LIB_SOURCES
Edit: added example
To my understanding, the original meaning of object oriented is more similar to what we call the actor model today.
In reference to the modern understanding of OO, js uses prototypal inheritance, which some consider closer to the original vision.
That boolean can indicate if it’s a fancy character, that way all ASCII characters are themselves but if the boolean is set it’s something else. We could take the other symbol from a page of codes to fit the users language.
Or we could let true mean that the character is larger, allowing us to transform all of unicode to a format consisting of 8 bits parts.
That requires some form of self describing format and will probably look like a sparse matrix in the end.
It might also introduce spurious data dependencies
Those need to be in the in smallest cache or a register anyway. If they are in registers, a modern, instruction reordering CPU will deal with that fine.
to store a bit you now need to also read the old value of the byte that it’s in.
Many architectures read the cache line on write-miss.
The only cases I can see, where byte sized bools seems better, are either using so few that all fit in one chache line anyways (in which case the performance will be great either way) or if you are repeatedly accessing a bitvector from multiple threads, in which case you should make sure that’s actually what you want to be doing.
C/C++ considers an nonzero number, as your true value but false is only zero. This would allow you to guard against going from true to false via bit flip but not false to true.
Other languages like rust define 0 to be false and 1 to be true and any other bit pattern to be invalid for bools.
Death penalty cases drag on long and if he gets acquitted, I have a feeling the money will go other people’s legal funds.
If they had a case, they would have to cheat so blatantly.
However claims him, loses.
https://youtu.be/sCr_gb8rdEI?t=2416
You are supposed to run sudoedit
.
This command creates a temporary copy, opens it in you editor of choice and overwrites the protected file when the temp file changes.
That way the editor doesn’t run as root.
You can see the difference if you run shell command, like whoami
, in vim.
[forgets to copy some files]
[complains about compiler error]
This guy is a moron of the first order!