TIL; imgur = image URL
pactl load-module module-null-sink sink_name=music
Unload all null-sinks
pactl unload-module module-null-sink
AirPlay on Linux
Playing the lottery is a waste of money, but why is paying for insurance not?
Ubuntu like 22.04 OSes are coming with
pipewire instead of
pulseaudio. On my machine, it has a bug and
sometimes does not recognize new audio devices. In this case, I need to restart
pipewire with the following
systemctl --user restart pipewire pipewire-pulse
I am trying to code, and the code is not going. And I realized I forgot to wear my programmer socks. But when I put them on, I realized they were just regular socks with binary code printed on them. (GPT-3 assisted story)
🌸 Wed, May 4, 2022 🌸
Why in English is it “open” but “closed”? Why “ed”?
🌸 Tue, May 3, 2022 🌸
I gave up on VMWare. Give back my money.
🌸 Tue, May 3, 2022 🌸
cogito, ergo sum, usually translated into English as “It compiles, therefore is C++”
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.
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.
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
I’ll bring an unpopular opinion, but “Select is broken.”
Finally, I took the time I reply to all recruiters. It is a good problem to have but still has to be addressed.
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.
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.
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.
meter is American spelling, everybody else spell it as
Yesterday, I drove over the red light. Nothing happened, but I felt really bad.
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.
Fix VMWare freezing.
sudo sh -c 'echo 0 > /proc/sys/vm/compaction_proactiveness'
shuf - generate random permutations
How to disable and enable laptop keyboard. You can use
float the input device under X.
- Execute the command
xinputlist to list your input devices.
AT Translated Set 2 keyboardand take note of its
idnumber; this will be used to disable the k…