๐ŸŒธ Wed, Dec 11, 2024 ๐ŸŒธ

After installing or updating a dynamic library, don’t forget to run ldconfig.


๐ŸŒธ Tue, Dec 10, 2024 ๐ŸŒธ

How to build llama.cpp on my laptop

mkdir build
cd build
cmake .. -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF
cmake --build . --config Release -j
sudo cmake --install .

๐ŸŒธ Fri, Dec 6, 2024 ๐ŸŒธ

I think OpenAI made ChatGPT dumber, so they can put the not dumb model to the $200/month tier without doing anything.


๐ŸŒธ Fri, Dec 6, 2024 ๐ŸŒธ

Someone once said, “If something is free, you are the product.” Remember, you are always the product, whether you got it for free or paid for it.


๐ŸŒธ Sat, Nov 30, 2024 ๐ŸŒธ

What is going on with ChatGPT? It has suddenly become extremely stupid.


๐ŸŒธ Sat, Nov 30, 2024 ๐ŸŒธ

I never had a robots.txt file on my websiteโ€”I simply forgot to add it. Apparently, for Googleโ€™s crawler, no robots.txt equals โ€œdonโ€™t index.โ€ ๐Ÿค” Ever since I added a robots.txt file, Googleโ€™s crawler has been hanging out on my website non-stop. Now, I can final


๐ŸŒธ Fri, Nov 22, 2024 ๐ŸŒธ

Message to my future self. For some reason, Unreal Engine thinks my laptop screen is a High DPI screen and makes the UI huge. So, to address this issue, I need to go to the Editor Preferences and disable support for High DPI.


๐ŸŒธ Wed, Nov 13, 2024 ๐ŸŒธ

I have always had a hard time understanding why we need antivirus software. There is plenty of code that has bugs, and viruses exploit these bugs to compromise systems. Instead of writing more code to protect us from viruses, why not fix the bugs? Similarly, I do not understand:


๐ŸŒธ Wed, Nov 13, 2024 ๐ŸŒธ

The neighbors dog ๐Ÿ• started barking before 5am ๐Ÿ•” in the morning. ๐Ÿค” not sure whatโ€™s wrong with that dog. It may have some PTSD or even worse currently abused.


๐ŸŒธ Wed, Nov 13, 2024 ๐ŸŒธ

I am on a quest to find the perfect software for working from my Oculus Quest on my Linux laptop. So far, Immersed is the best option for me. However, I’m looking for more features and better functionality. For instance, audio is broken. Iโ€™ve tried different methods to troubl


๐ŸŒธ Wed, Nov 13, 2024 ๐ŸŒธ

Did you know that if you want to get to ChatGPT, you can just type in the browser chat.com?


๐ŸŒธ Wed, Nov 13, 2024 ๐ŸŒธ

To start Bluetooth pairing on my Logitech OROCHI mouse, I need to press two side buttons and the DPI button simultaneously for 3 seconds until the DPI LED starts blinking.


๐ŸŒธ Wed, Nov 13, 2024 ๐ŸŒธ

Snap is an annoying feature when I am moving windows or adjusting guidelines in GIMP; sometimes I need it, but more often it is in my way. Probably invert the behavior and enable snapping by some hotkey (e.g., Shift), but by default never snap.


๐ŸŒธ Mon, Nov 11, 2024 ๐ŸŒธ

Standard Apple practice. Make everything suck and then unsuck things one by one and call it innovation.


๐ŸŒธ Mon, Nov 11, 2024 ๐ŸŒธ

Apple added a tool to convert DirectX shaders to Metal. ๐Ÿคฏ Metal can be used with C++. ๐Ÿคฏ

https://developer.apple.com/games/game-porting-toolkit/


๐ŸŒธ Mon, Nov 11, 2024 ๐ŸŒธ

I ended up acquiring Tesla insurance. Had no idea how cheap and convenient it is. Took me about 20 minutes to get it, no waiting for 2 weeks, no talking to representatives, no paperwork; a flat rate of $340/month for two cars and two drivers. I am glad other insurance companies w


๐ŸŒธ Mon, Nov 11, 2024 ๐ŸŒธ

When did auto insurance become such a headache? I got my first and only insurance in 2008, and never had any problems until now. 45 minutes listening to a purely produced MIDI music on the phone waiting for a representative.


๐ŸŒธ Sun, Nov 10, 2024 ๐ŸŒธ

There is an issue with connection reusing in curl multi, not sure if I am doing something wrong or if there is a bug in libcurl. Currently, I work around it by just disabling the connection reuse. curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1L);


๐ŸŒธ Fri, Nov 8, 2024 ๐ŸŒธ

I am working on a new project, and the default character return for source code files is set to the DOS style. That gave Emacs some measles disease, filling the screen with bright red ^M symbols. To investigate, I placed the cursor on ^M, pressed Alt+X, and ran `describe-ch


๐ŸŒธ Thu, Nov 7, 2024 ๐ŸŒธ

What am I doing with my life? I make AI to write code, and spend tons of time debugging and reviewing the code. And AI also blames me for writing bad code. The world is upside down. What if I write messy code and AI reviews it and fixes bugs? Can we arrange that?


๐ŸŒธ Wed, Nov 6, 2024 ๐ŸŒธ

A Thought Experiment: Simplifying C++ Function Calls with Structs (C++20)

Ever dealt with a C++ function that has too many parameters, most of which are optional? Hereโ€™s an example:

auto llm(
    ChatCompletionsQuery,
    int npredict = 2048,
    float te<a href="post/1730913352.html">...</a>

๐ŸŒธ Wed, Nov 6, 2024 ๐ŸŒธ

Donald Trump won.


๐ŸŒธ Wed, Nov 6, 2024 ๐ŸŒธ

Note to future me. I take it back; I realized I have a smaller GPU, and it’s on 7.5. I want to use both. So, the command to build whisper.cpp on my laptop is.

CUDA_DOCKER_ARCH=compute_75 GGML_CUDA=1 make -j

๐ŸŒธ Mon, Nov 4, 2024 ๐ŸŒธ

Command to build whisper.cpp on my laptop. Note for future me.

CUDA_DOCKER_ARCH=compute_86 GGML_CUDA=1 make -j

๐ŸŒธ Mon, Nov 4, 2024 ๐ŸŒธ

Why do we call things headless, usually there is a head, but no body. Like headless Git, it has everything except the working tree. Or a headless VM, it has the brains but no visual representation. Maybe ‘faceless’ would be a more appropriate term?


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