

Who do you think is better at writing assembly? @harbard@fedia.io or a modern compiler with hundreds of contributors.
Who do you think is better at writing assembly? @harbard@fedia.io or a modern compiler with hundreds of contributors.
There are also react devs creating the windows 11 start menu.
The Framework I have is a great laptop, but the battery life while asleep is not very good.
It’s the real world part.
I have written a SMTP-Server in C and some crud services in java, but everything ran on localhost.
If I wanted to expose them on the web I would have to ensure the code is actually secure, ensure compliance with data protection regulations, moderate user generated content, get ssl certificates, a domain and server hosting.
Half those steps are one minor mistake away from a large bill.
That would be 62 bit, not 16 bit.
Rather than dealing with this ‘cargo’ remote repository utility and reliving traumatic memories of remote artefact repositories with NodeJS, Java, etc., we’ll just copy the .rs files of the wrapper directly into the source folder of the project.
[forgets to copy some files]
[complains about compiler error]
This guy is a moron of the first order!
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()
The humble !!
operator.
Making compostable, non-toxic electronics is hard, so we decided on a harder goal!
Look we already made a robot out of 30% edible parts (hint its not the electronics), if we linearly extrapolate we will have full edible robots in no time.
Also eating search and rescue robots? Because the one thing we need in disaster situations, is for the expensive equipment to be single use.
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.
Great quiz. It teaches you the rules while training you to expect the unexpected, even in the rare cases that the rules are applied consistently.
I got exactly half the questions right.