🌸 Mon, Feb 27, 2023 🌸

Is ChatGPT down? Who is going to write code for me while I am vacationing in Florida?


🌸 Mon, Feb 27, 2023 🌸

Internet is bad here. 0.7 Mb/s upload on my phone, WIFI is about the same. I guess I’ll have a proper vacation here and focus on myself instead of streaming.


🌸 Sat, Feb 25, 2023 🌸

Remind me when I get back from vacation what I put the universal receiver inside keyboard. I have a feeling I’ll totally forget about it.


🌸 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), [](auto c) { return (static_cast<unsigned char>(c) & 0b1100'0000) != 0b1000'0000; })


🌸 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 can learn how to motivate and inspire real people.


🌸 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-packaged-game-it-brings-back-to-the-same-level/694199


🌸 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 context menu and click on Picture-in-Picture option. Chrome.


🌸 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

Explanation:

  • git log: This command shows the commit history of the repository.
  • --since='3 months ago': This option limits the log output to commits made in the last 3 months.
  • --pretty=format:'%an': This option specifies the format for each log entry. The %an placeholder prints the name of the author of each commit.
  • sort | uniq: These commands sort the list of authors and remove duplicates, respectively, to show only unique names.

ChatGPT of course.


🌸 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


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