116 karma · joined Apr 2, 2019 (7y ago) · 41 submissions
comment 4mo ago · link · parent
A workaround is to open one of the code elements in the browser's debugger and add color: white to the :not(pre) > code style.
comment 1y ago · link · parent
https://wiki.archlinux.org/title/System_time#UTC_in_Microsof...
comment 2y ago · link · parent
comment 3y ago · link · parent
Raku is an attempt to design a sane regular expression language from first principles, now that we know what we want them to be able to express. The alternative is being stuck with (?:this|(?>or that)) for the next 30 years.
comment 3y ago · link · parent
I found a half-inch thick HDPE cutting board at a restaurant supply store, cut it to fit my drawer, then drilled holes in it and inserted short wooden dowels to hold the stacks of silverware in place. To position the dowels, I wrapped a nail in tape to match the diameter of the dowels, then placed my silverware on the board, slid the nail up next to it, and gave it a tap to mark the board where the holes needed to be drilled.
It worked really well and was quite easy to do. I highly recommend it.
comment 3y ago · link · parent
One tip: I set up a cronjob to export into a Git repository so I have a complete history. The core of the script is:
joplin sync
joplin export --format=raw "$tmpdir"
# Rsync that directory to the repository
# This deletes files that no longer exist in the current export.
/usr/bin/rsync -a --quiet --delete --exclude=.git "$tmpdir/" "./"
/usr/bin/git add -Acomment 3y ago · link · parent
Cinnamon is actually a GNOME 3 fork created to turn it back into a more traditional desktop environment.
XFCE is not a fork of any version of GNOME, although it does have a UI similar to GNOME 2 and is based on GTK.
Personally, I switched to XFCE back when GNOME 3 came out, and have been happy with it.
comment 3y ago · link · parent
Q: Who was the first US president whose surname begins with "R"?
A: The first US president whose surname begins with the letter "R" was John Quincy Adams.
Q: Adams does not begin with "R"
A: I apologize for the mistake. The first US president whose surname begins with the letter "R" was Rutherford B. Hayes.
Q: Hayes does not begin with "R"
A: My apologies for the mistake, the first US president whose surname begins with the letter "R" was James A. Garfield.
Q: Garfield does not begin with "R"
A: I apologize for the error. The first US president whose surname begins with the letter "R" was Richard Nixon.
Q: Nixon does not begin with "R"
A: I apologize for the mistake. The first US president whose surname begins with the letter "R" was George Washington.
Q: Washington does not begin with "R"
A: I apologize for the mistake. The first US president whose surname begins with the letter "R" was Franklin D. Roosevelt.
Q: Wasn't Theodore Roosevelt president before FDR?
A: Yes, you are correct. Theodore Roosevelt was the 26th President of the United States, serving from 1901 to 1909. He was the first US president whose surname begins with the letter "R." Thank you for pointing out the error in my previous answer.
So at least it's capable of parroting the correct answer after you deliver it. :-)
comment 3y ago · link · parent
Here's a chat I had today with ChatGPT:
Q: Who was the first US president with a last name starting with R?
A: Rutherford B. Hayes was the first US president with a last name starting with "R."
Q: no, a surname starting with R
A: Rutherford B. Hayes was the first U.S. President with a surname starting with "R."
Q: no, Rutherford is his first name
A: The first US president with a surname starting with "R" was Richard Nixon.
Q: no, Richard is his first name
A: The first U.S. President with a surname starting with "R" was James A. Garfield.
Here it's obvious ChatGPT is spouting nonsense, but in other cases it may not be.
comment 4y ago · link · parent
https://babylon5.fandom.com/wiki/Babylon_5:_Into_the_Fire_(G...
comment 4y ago · link · parent
https://www.congress.gov/bill/117th-congress/senate-bill/623...
comment 5y ago · link · parent
comment 5y ago · link · parent
I'd be more interested in a benchmark of how much slower it is than having the right version of Ruby directly in your path, or versus rbenv shims.