🌸 Thu, Feb 16, 2023 🌸

If I do not understand it, it cannot be science. Based on this definition chemistry is not science. jk


🌸 Wed, Feb 15, 2023 🌸

I realized emacs backup files are just a noise. So I added the following line to my .emacs file:

(setq backup-directory-alist `(("." . "~/.emacs.d/backups")))

🌸 Wed, Feb 15, 2023 🌸

xmacro is useful tool to record and replay keyboard and mouse macro if you want to automate some boring tasks.

https://github.com/alvatar/xmacro


🌸 Wed, Feb 15, 2023 🌸

Not sure what happened in UE 5.1 update but, now we need explicitly package maps. Go to Edit/Project settings Project/Packaging add maps to the field List of maps to include to packaged build. <https://forums.unrealengine.com/t/5-1-open-level-by-name-node-does-not-work-in-a-packa…


🌸 Mon, Feb 13, 2023 🌸

ChatGPT is very good at small tasks and helping to design big projects, but it is very bad at the middle ground.


🌸 Sun, Feb 12, 2023 🌸

You can make your Nav Mesh update at runtime in Unreal Engine. Go to Settings/Project settings menu, select Navigation Mesh section. Find Runtime Generation dropdown and select Dynamic.


🌸 Sun, Feb 12, 2023 🌸

You can pop out YouTube video to a just a frame without any clattering UI. It is useful if you want to have it like a fullscreen but on the the part of the screen. So the feature called Picture-in-Picture, and you right-click on the video 2 (TWO) times it will show you browser’s …


🌸 Fri, Feb 10, 2023 🌸

Write a bash one-liner to extract a list of developers from a git repository for the last 3 months.

Here’s a bash one-liner that will extract a list of developers from a Git repository for the last 3 months:

git log --since='3 months ago' --pretty=format:'%an' | sort | uniq...

🌸 Fri, Feb 10, 2023 🌸

I wonder if we enable accessibility for blind people and feed the output to GPT-3 would it able to use it?


🌸 Thu, Feb 9, 2023 🌸

Humans! Just be nice to each other.


🌸 Wed, Feb 8, 2023 🌸

TIL; C-u M-| You can pipe selected text in Emacs to the command line. For example if you want to sort lines, select lines you want to sort and type C-u M-| sort RET. Or you want to pretty-format XML file. Select whole file and C-u M-| xmllint --format - RET


🌸 Tue, Feb 7, 2023 🌸

Just a reminder: early returns can make the code more readable and easier to follow. They can also improve performance by avoiding unnecessary execution. It’s a good programming practice to use early returns in your code.


🌸 Mon, Feb 6, 2023 🌸

I just learned that ChatGPT does not know about time, but it does know about date, which are based on UTC time, because it was telling me 5 minutes ago that it was February 6th, and now it is telling me that it is February 7th.


🌸 Sun, Feb 5, 2023 🌸

Add AutoPossessAI = EAutoPossessAI::PlacedInWorldOrSpawned; in your Mob or NPC constructor to automatically create AIController.


🌸 Fri, Feb 3, 2023 🌸

Free CC0 low-poly assets: https://quaternius.com/index.html


🌸 Wed, Feb 1, 2023 🌸

Ideas for prompts to Stable Diffusion: super kawaii, Cute Chubby 3D Model, desktop wallpaper


🌸 Tue, Jan 31, 2023 🌸

Apparently, it is not good to overfeed your smartphone. Just keep battery charge around 50%.


🌸 Mon, Jan 30, 2023 🌸

Yesterday I got two endings in Detroit: Become Human. Not sure what I am learning from this game, it gives a fatalistic feeling, no matter what you choose the end result is kind of the same.


🌸 Mon, Jan 30, 2023 🌸

It is raining again. Unbelievable.


🌸 Sun, Jan 29, 2023 🌸

My game did terribly at LD52. I have managed to get an overall score of 2.6. I don’t understand anything about game development. I think I should quit and become a truck driver.


🌸 Sat, Jan 28, 2023 🌸

How to get list of env variables of the specific process:

cat /proc/19457/environ | tr '\0' '\n'

🌸 Wed, Jan 25, 2023 🌸

How to setup transformer by huggingface

conda create --prefix /media/mika/Michigan/prj/bloom
conda activate /media/mika/Michigan/prj/bloom
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
pip install transformers[torch]
cd /...

🌸 Tue, Jan 24, 2023 🌸

Command line to run stable diffusion

conda activate ldm1
cd ~/prj/stablediffusion/
while read line; do   echo === $line ===;  if [[ $line == "q" || $line == "quit" || $line == "exit" ]]; then         break;     fi;     for (( i=0; i<3; i+=1 )); do         python scr...

🌸 Sun, Jan 22, 2023 🌸


🌸 Sun, Jan 15, 2023 🌸

If you have multiple GPUs DXVK may become confused and your windows games on your steam may stop working. To fix it you can force DXVK with the following env varibale.

DXVK_FILTER_DEVICE_NAME="3090" steam

To get the list of GPUs and names you can use vulkaninfo command. Y…


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 - Next