๐ŸŒธ Thu, Feb 23, 2023 ๐ŸŒธ

If you need only to count the number of Unicode characters in your UTF-8 string and you do not want to pull a full-blown Unicode library, here is the C++ snippet: `std::count_if(std::begin(v), std::end(v), { return (static_cast© & 0b1100'0000) != 0b100…

๐ŸŒธ Wed, Feb 22, 2023 ๐ŸŒธ

It was so windy at night, I barely slept.

๐ŸŒธ Tue, Feb 21, 2023 ๐ŸŒธ

Unbelievable itโ€™s raining again

๐ŸŒธ Sun, Feb 19, 2023 ๐ŸŒธ

C++ gurus stop gatekeeping C++ and let everyone program in C++ whatever they want to.

๐ŸŒธ Sat, Feb 18, 2023 ๐ŸŒธ

I think I have been trolled. Some viewers were coming to my stream and telling me I have to use Doom Emacs instead of vanilla Emacs. Doom Emacs has vi keyboard shortcuts!

๐ŸŒธ Sat, Feb 18, 2023 ๐ŸŒธ

IMO the game should be as satisfying as eating peanuts: crack open, put in your mouth, chew, swallow, repeat.

๐ŸŒธ Fri, Feb 17, 2023 ๐ŸŒธ

Playing with ChatGPT, I feel like I’m learning how to be better in social situations. Sometimes it gets stuck in a loop and stops believing in itself, or gets into a passive-aggressive mode. I can analyze my prompts and figure out what I did wrong. And essentially, I feel like I …

๐ŸŒธ 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.


๐ŸŒธ 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.

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