๐ŸŒธ Tue, May 3, 2022 ๐ŸŒธ

cogito, ergo sum, usually translated into English as “It compiles, therefore is C++”


๐ŸŒธ Thu, Apr 28, 2022 ๐ŸŒธ

C++ compiler so slow, and does some much optimization, sometimes I think it’s Deep Thought computer from Hitchhiker’s Guide to the Galaxy. You put tons of C++ code in it, and after a while it generates assembly

eax, 42
pop rbp

and you have no idea why.


๐ŸŒธ Thu, Apr 28, 2022 ๐ŸŒธ

www.quora.com is useless.

Quite often, answers are useless, e.g., no, you cannot do it; you have to be able to read assembly code. But I can read assembly.


๐ŸŒธ Tue, Apr 26, 2022 ๐ŸŒธ

TIL; fmod I wanted to implement a day/night cycle and I needed to convert time to sun angle. So fmod function can do it like this:

auto angle = std::fmod(time / dayLenght, 1.f) * 360.f

๐ŸŒธ Wed, Apr 20, 2022 ๐ŸŒธ

I’ll bring an unpopular opinion, but “Select is broken.”


๐ŸŒธ Tue, Apr 19, 2022 ๐ŸŒธ

Finally, I took the time I reply to all recruiters. It is a good problem to have but still has to be addressed.


๐ŸŒธ Sun, Apr 17, 2022 ๐ŸŒธ

The phon is a logarithmic unit of loudness level for tones and complex sounds. In contrast with dB, the phon is a unit associated with a subjective percept.


๐ŸŒธ Sat, Apr 16, 2022 ๐ŸŒธ

How to make Unreal Engine load fast on Linux? Go here: https://github.com/adamrehn/ue4-docker/issues/177 and install glibc-dso patch. 4 min 6 sec went down to 14 seconds on my laptop.


๐ŸŒธ Sun, Apr 10, 2022 ๐ŸŒธ

TIL; Lolita by Nabokov is an illegal book in United Kingdom.


๐ŸŒธ Sat, Apr 9, 2022 ๐ŸŒธ

OMG ninite and lumen work under Linux natively in UE5.


๐ŸŒธ Thu, Apr 7, 2022 ๐ŸŒธ

It is so hot here, the heat triggers breakers.


๐ŸŒธ Thu, Mar 31, 2022 ๐ŸŒธ

TIL; meter is American spelling, everybody else spell it as metre.


๐ŸŒธ Mon, Mar 28, 2022 ๐ŸŒธ

Yesterday, I drove over the red light. Nothing happened, but I felt really bad.


๐ŸŒธ Wed, Mar 23, 2022 ๐ŸŒธ

There is no advantage of publishing proof for P=NP problem. If you have proof, you can basically have an infinite amount of money, by mining Bitcoins for example.


๐ŸŒธ Thu, Mar 17, 2022 ๐ŸŒธ

Fix VMWare freezing.

sudo sh -c 'echo 0 > /proc/sys/vm/compaction_proactiveness'

๐ŸŒธ Sat, Feb 26, 2022 ๐ŸŒธ

TIL; shuf - generate random permutations


๐ŸŒธ Tue, Feb 22, 2022 ๐ŸŒธ

How to disable and enable laptop keyboard. You can use xinput to float the input device under X.

  1. Execute the command xinput list to list your input devices.
  2. Locate AT Translated Set 2 keyboard and take note of its id number; this will be used to disable the keyboard. Also, take note of the number at the end, [slave keyboard (#)]; this is the id number of the master, which will be used to re-enable your keyboard.
  3. To disable the keyboard, execute the command xinput float <id#>, where <id#> is your keyboard’s id number. For example, if the id was 10, then the command would be xinput float 10.
  4. To re-enable the keyboard, execute the command xinput reattach <id#> <master#>, where master is that second number we noted down. So if the number was 3, you would do xinput reattach 10 3.

๐ŸŒธ Sun, Feb 20, 2022 ๐ŸŒธ

Story spine:

  1. One upon a time there was…
  2. And every day…
  3. Until one day…
  4. Because of that…
  5. And because of that…
  6. And because of that…
  7. Until finally…
  8. And ever since then…

๐ŸŒธ Sun, Feb 13, 2022 ๐ŸŒธ

I am watching some YouTube about acid trips and realizing my whole live is IRL bad acid trip: with fear, anxiety, panics and so on.


๐ŸŒธ Wed, Feb 9, 2022 ๐ŸŒธ

Cannot sleep, thanks to Santa Ana Wind.


๐ŸŒธ Mon, Feb 7, 2022 ๐ŸŒธ

You can toggle case sensitivity at will in isearch with M-c #emacs


๐ŸŒธ Mon, Feb 7, 2022 ๐ŸŒธ

Hm… Gustav Magnar Witzรธe


๐ŸŒธ Mon, Feb 7, 2022 ๐ŸŒธ

TikTok is everywhere: Facebook, YouTube, Snapchat, Instagram.


๐ŸŒธ Sat, Feb 5, 2022 ๐ŸŒธ

I am annoyed, I learned Wordle is all front-end code. That means all words are embedded in the JS code. It looks like this:

"panic",
"solar",
"shire",
"proxy",
"point",
"robot",
"prick",
"wince",
"crimp",
"knoll",
"sugar",
"whack",
"mount",
"perky",
"could",
"wrung",
"light",
"those",
"moist",
"shard",

๐ŸŒธ Tue, Feb 1, 2022 ๐ŸŒธ

128.5714 BPM, 133.3333 BPM, and 138.4615 BPM are convenient BPMs to make frame-perfect 30 FPS music videos. The first one is 14 frames per beat, the second is 13.5, and the last one is 13 frames per beat. 120 BPM is the best but kind of slow.


Previous - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 39 - 40 - 41 - 42 - 43 - 44 - 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - Next