🌸 Sat, Apr 1, 2023 🌸
I made a mistake by replying to CNN Twitter post, and now I am being punished by Twitter’s algorithm by it forcibly feeding me CNN content.
I don’t think ChatGPT was trained on books. Yesterday at night I tested it on different sci-fi and fiction books and it was able to recognize one out of twelve (1 / 12) books (novels, short stories) I was talking about. Sometimes it was completely making up the plot.
Did YouTube music just Rickroll me? https://www.youtube.com/watch?v=8oE5Z2GLhNc
I wonder if I should continue complaining, but it’s raining again.
Biden’s tweets make me angry. Is he completely out of touch with reality or is he playing some unknown game to me?
Last week, I saw a group of girls on the beach; it was a quite cold and rainy day. One girl ran into the water and I saw a surprise on her face, then she smiled and yelled at the rest of the group: “The water is so warm!” After a pause, she yelled: “Just kidding!”
I noticed the icons are gone on GitHub. I wonder what else broke after they updated RSA SSH private key.
It’s time to deploy man in the middle ^
Oh shit, I wonder how many GitHub users will be affected. https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
I suddenly became confused by the phrase “third wheel”. That means useless or unwanted, for example in a date. But, in cars, a third wheel is useful, just as a fourth wheel is. In a bicycle, it would also be useful; it can make the bicycle more stable.
What does GLHF mean? Only wrong answers please.
42 is the answer to the meaning of life. That means 420 is an order of magnitude greater than the answer to the meaning of life. (Elon Musk, maybe I’m too lazy to do research)
I asked ChatGPT: Write a short post about Git worktree. Why do we need it? To save disk space if your .git directory is very big.
ChatGPT
Title: Exploring the Benefits of Git Worktree: Saving Disk Space
Are you tired of having multiple copies of your Git repository consuming a significant amount of disk space? Say hello to Git worktree! In this post, we’ll discuss why Git worktree is an invaluable tool for developers looking to optimize disk usage.
Git worktree is a feature that allows you to work with multiple branches simultaneously, without the need to clone your entire repository. This is especially helpful when your .git directory is large and you want to save disk space. By using Git worktree, you create lightweight working directories that share the same .git directory, eliminating the need for multiple full repository copies.
Here’s why Git worktree is essential:
Save Disk Space: With worktree, you can work on multiple branches without duplicating the .git directory, which can be quite large in some cases. This results in significant disk space savings, allowing you to allocate that space for other important tasks.
Efficient Branch Management: Juggling between different branches can be a hassle, and constantly switching contexts can slow down your workflow. Git worktree simplifies this process by allowing you to work on multiple branches simultaneously without the need to stash or commit changes.
Isolated Work Environments: Git worktree creates separate working directories for each branch, ensuring that the changes in one branch do not affect the others. This isolation allows you to test and experiment without worrying about conflicts or accidental merges.
Getting started with Git worktree is easy. To create a new worktree for a specific branch, run the following command:
git worktree add <path> <branch>
This command will create a new directory at the specified path, with the contents of the given branch. You can then navigate to the new directory and work on the branch as you normally would.
In conclusion, Git worktree is a powerful tool that not only helps you save disk space but also improves your workflow by allowing you to work with multiple branches simultaneously. If you haven’t started using Git worktree yet, now is the perfect time to give it a try!
Somebody integrated ChatGPT in emacs: https://github.com/xenodium/chatgpt-shell
Why is there so much focus on STEM? I assume S. includes biology, chemistry, physics, but does it include art? Maybe we should update STEM to STEM&A (Science, Technology, Engineering, Mathematics, and Art)?
I asked ChatGPT: What is the best way to download videos from an iPhone to a Linux machine?
Here is what ChatGPT gave me and it worked!
To download videos from an iPhone to a Linux machine, you can use different methods. One of the best ways is to use the open-source software ‘libimobiledevice’. This library allows Linux systems to communicate with iOS devices natively. Here are the steps to download videos from your iPhone to a Linux machine using ‘libimobiledevice’:
Install dependencies: Open the terminal and run the following commands to install necessary dependencies:
sudo apt-get update
sudo apt-get install -y libimobiledevice6 libimobiledevice-utils ideviceinstaller libusbmuxd-tools libplist-utils python3-imobiledevice
Connect your iPhone: Connect your iPhone to the Linux machine using a USB cable. Make sure to unlock your iPhone and trust the computer when prompted.
Pair your iPhone: Run the following command in the terminal to pair your iPhone with the Linux machine:
idevicepair pair
If pairing is successful, you’ll see a “SUCCESS” message.
Access the iPhone file system: Install the ‘ifuse’ package to mount your iPhone’s file system:
sudo apt-get install -y ifuse
Create a mount point and mount the iPhone:
mkdir ~/iphone
ifuse ~/iphone
Locate and copy the videos: Navigate to the DCIM folder, where your photos and videos are stored:
cd ~/iphone/DCIM
There may be multiple folders (e.g., 100APPLE, 101APPLE, etc.) depending on the number of photos and videos on your iPhone. Locate the videos you want to copy (videos usually have the .MOV or .MP4 file extension) and copy them to your desired location on the Linux machine.
cp /path/to/video/file /path/to/destination/folder
Unmount your iPhone: When you are done, unmount your iPhone and disconnect it:
fusermount -u ~/iphone
That’s it! You have now successfully transferred videos from your iPhone to your Linux machine.
I forgot to have my morning coffee. I’m sooo sleepy now.
So Slack. Slack gives some ways to install Slack on Linux: RPM, and from the Snap Store. I am using Pop OS!, so RPM is an alien package, but Slack from the Snap Store has a bug and refuses to run if you have a company SSO login. I was able to get away by modifying the case of the startup command line arguments, but at some point, it completely broke.
I had been using Slack for some period on the web, but something stopped working on the web.
The last resource I used to convert RPM to DEB worked, but there’s one annoying thing: Pop OS! already has a Slack package, so some tools are for lazy admins. As a result, my update button is always red since the system thinks it needs to update the Slack package.
Ok, here is the full solution with the help of ChatGPT, of course.
Install Alien to convert RPM to DEB: Open a terminal and run the following commands:
sudo apt update
sudo apt install alien
Download the Slack RPM package Convert the RPM package to a DEB package:
sudo alien --to-deb --scripts slack-4.29.149-0.1.el8.x86_64.rpm
Extract the contents of the converted .deb file:
dpkg-deb -R slack_4.29.149-1.1_amd64.deb slack-deb
Edit the control file:
nano slack-deb/DEBIAN/control
Change the Package line from slack
to slack-im
. Save the changes and exit the editor.
Rebuild the .deb package with the new control file:
dpkg-deb -b slack-deb slack-im_4.29.149-1.1_amd64.deb
Install the renamed Slack IM package:
sudo dpkg -i slack-im_4.29.149-1.1_amd64.deb
sudo apt-get install -f
Some people play rain sounds to help with sleep. I am guilty of doing it. So… I had “organic” rain sounds this night, and I barely slept. 😂
All source code line endings should be Unix. DOS are Mac line endings are ridiculous.
I meant Olaf.
I should give a name to my new Tesla. It is the white Tesla Model 3. My current thinking is Pepsi (because Nikola Tesla “Ni-Cola”), or Oliver (because it is white like snowman).
Many of you may be familiar with burn-down graphs, which come from Agile’s sprint methodology. I think we should have burn-up graphs; we just need to flip the y-axis, which would help psychologically, hopefully, as graphs going down are usually seen as bad and graphs going up are seen as good.
Hmm… our new Kirkland water smells like a laser printer. I assume it is ozone. I wonder why?
Automatically generating build artifacts outside of your project directory is evil; you are shooting yourself in the foot. It is a recipe for the issues similar to the DLL-hell.
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 - Next