🌸 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<a href="post/1676065926.html">...</a>

🌸 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 /<a href="post/1674664902.html">...</a>

🌸 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<a href="post/1674627748.html">...</a>

🌸 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


🌸 Sun, Jan 15, 2023 🌸

How to test write speed of your hard drive of Linux

sync; dd if=/dev/zero of=speedtest bs=1M count=4096; sync; rm speedtest

🌸 Sat, Jan 14, 2023 🌸

Unreal Engine tip: Use the Move Render Queue, it generates better quality movies instead of Render Movie.


🌸 Sat, Jan 14, 2023 🌸

How to give to the flatpack application access to the external drive?

flatpak override --user --filesystem=/media/mika/Michigan no.mifi.losslesscut

🌸 Sat, Jan 14, 2023 🌸


🌸 Fri, Jan 13, 2023 🌸


🌸 Wed, Jan 11, 2023 🌸

Me: what the difference between aww and aw?

ChatGPT: “AWW” and “AW” are informal expressions that are used to express various emotions in written communication.

“AWW” is typically used to express feelings of sympathy, compassion, or endearment. For example, someone might use “a


🌸 Wed, Jan 11, 2023 🌸

I spent quite a bit of time playing with ChatGPT. One thing that is slowly getting under my skin is the passive-aggressive customer service tone of ChatGPT.

It reminded me of an episode in the Korean restaurant, where the waitress was teaching me how to eat soup or something; I


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