

Easy:
You take GPU. And then you put GPU.
Understood? /j
Easy:
You take GPU. And then you put GPU.
Understood? /j
Yeah sure, if someone does not fit in with the team and it’s a rather social job, fair enough.
But using something arbitrary like favouring some sports team, even though this served as an example, this doesn’t seem to be either a significant nor sufficient decision basis.
Imagine this, very good grades, strong portfolio and work experience, just to be at the mercy of some random person who rejects you for highly arbitrary reasons like favouring another sports team.
Then you get a default rejection mail, saying they have very carefully considered your application and wish you good luck in your future endeavours.
Fuck this system.
“But I would walk 500 miles
And I would walk 500 more
Just to be the protein who walks a thousand miles
To deliver cargo to your core” ♫
switch case structures are very efficient in c and c++. They work similarly like an offset into memory. Compute the offset once (any expression in the ‘case’ lines), then jump. Using primitives directly, like here with chars, is directly the offset. Contrary to if-else branches, where each case must be evaluated first and the CPU has basically no-op cycles in the pipeline until the result of the branch is known. If it fails, it proceeds with the next one, waits again etc… (Some CPU architectures might have stuff like speculative branch execution, which can speed this up.)
However, code-style wise this is really not elegant and something like your proposal or similar would be much better.
At first I thought, "How are they going to compress 256 values, i.e. 1 Byte sized data, by “rearranging into integers”?
Then I saw your code and realized you are discarding 228 of them, effectively reducing the available symbol set by about 89%.
Speaking of efficiency: Since chars are essentially unsigned integers of size 1 byte and ‘a’ to ‘z’ are values 97 to 122 (decimal, both including) you can greatly simplify your turn_char_to_int
method by just substracting 87 from each symbol to get them into your desired value range instead of using this cumbersome switch-case structure. Space (32) and dot (46) would still need special handling though to fit your desired range.
Bit-encoding your chosen 28 values directly would require 5 bit.
Don’t participate in such a process and the problem solves itself (unless you are very desperate). As long as companies find some idiot who jumps through these hoops, they will continue to do this. When they realize that they are deterring candidates with this shitty process, they might start changing it.
Current state of the art DAC plants are incredibly inefficient. Also, even if they would come with efficiency that is comparable to trees, they would still lack other positive ecological functions of trees.
Have you tried Ecosia?
Here is a metal version of her really impressive protest. How is this not awesome?
which is a fertile cis woman
Alright, women beyond their menopause are no longer women. Check.
What do they mean by “biological” women? There are different characteristics to biological markers: gonodal, genetic / chromosomal, anatomical, hormonal. All can be manifested differently.
/j: joke
/s: sarcasm
/i: irony