๐ธ 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.
- Execute the command
xinputlist to list your input devices. - Locate
AT Translated Set 2 keyboardand take note of itsidnumber; this will be used to disable the keyboard. Also, take note of the number at the end,[slave keyboard (#)]; this is theidnumber of the master, which will be used to re-enable your keyboard. - To disable the keyboard, execute the command
xinput float <id#>, where<id#>is your keyboard’s id number. For example, if theidwas10, then the command would bexinput float 10. - To re-enable the keyboard, execute the command
xinput reattach <id#> <master#>, wheremasteris that second number we noted down. So if the number was3, you would doxinput reattach 10 3.
๐ธ Sun, Feb 20, 2022 ๐ธ
Story spine:
- One upon a time there was…
- And every day…
- Until one day…
- Because of that…
- And because of that…
- And because of that…
- Until finally…
- 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