tal

joined 2 years ago
[–] tal@lemmy.today 1 points 49 minutes ago

Much less important than some of these, but there was a British history teacher, Jonathan Pagel, who made some "history raps" for his class back around 1995 and 1996. His website went down many years ago, but the URL was still embedded in a comment in one of the files that I had, and I dug them up with archive.org's Wayback Machine.

They were released under the GNU FDL, so I can repost them:

[–] tal@lemmy.today 1 points 1 hour ago

I consider it completely unimportant who in the party will vote, or how; but what is extraordinarily important is this—who will count the votes, and how.


Joseph Stalin

[–] tal@lemmy.today 6 points 7 hours ago (2 children)

However, Putin was in the 19%.

[–] tal@lemmy.today 3 points 7 hours ago* (last edited 7 hours ago)

I wonder how to tell if an instance supports it apart from just blindly trying.

They don't have to stick it at the same prefix, so there's no reliable way to check by just guessing the name.

It looks like p.lemmy.world is running the Photon frontend. On lemmy.today, we have it at photon.lemmy.today.

Lemmy.today lists the alternate frontends in the instance sidebar, but there's no requirement for an instance to do that.

[–] tal@lemmy.today 8 points 8 hours ago

The breaking point? A price jump of 16%.

When shoppers do make the switch, groceries are the first to go with 76% dropping a brand they were previously loyal to

I guess that's why shrinkflation is such a thing specifically with food.

[–] tal@lemmy.today 6 points 9 hours ago

Have you ever wanted to live in a 200-year-old gothic castle with dozens of acres of gardens and woodland to roam around?

The National Trust is offering a rare opportunity to live and work in one set on the edge of Eryri National Park in north Wales.

Employees residing at the neo-Norman Penrhyn Castle will be asked to help maintain its building and woodland grounds as well as at Plas Newydd House and Garden across the Menai Strait on Ynys Môn, also known as Anglesey.

Hey, it's like The Shining!

The new staff member will also have to deal with the "unexpected challenges" that come with historic buildings.

"Historic buildings have a habit of presenting strange and unusual issues overnight, so being able to think on your feet and find creative solutions is a big part of the role," it said.

...concerningly so...

[–] tal@lemmy.today 24 points 10 hours ago* (last edited 10 hours ago) (8 children)

It's the mlmym frontend, rather than just a theme.

Some instances run it locally as an alternate at a different URL; lemmy.world is one such.

[–] tal@lemmy.today 20 points 10 hours ago* (last edited 9 hours ago) (1 children)

I think that the Australian and New Zealand ones are okay from a technical standpoint.

We have a lot of really bad state flags in the US. A lot of them originally involved slapping the state seal (not optimized for flag use, usually more-detailed) on usually some shade of blue.

That being said, a bunch of them have been revised. Utah ("The Beehive State") did a 2024 revision, which I think is a pretty strong improvement (and follows the "originally just the state-seal-on-blue" pattern):

to

And honestly, I think that most of those warrant a change more than most national flags.

However, if I were going to make changes to national flags...hmm. Well, there are a whole bunch of countries that have extremely similar flags. Nobody wants to back down on their flag, but honestly, the present state of affairs just kind of sucks from a functional standpoint, seeing as the purpose of flags is to let one easily identify something as being associated with a country. It'd be nice if they'd flip a coin or something and have one of the countries pick something more-distinctive.

One of the most-egregious is the flag of Chad:

And the flag of Romania:

There are a bunch more that look very similar at a distance or at small sizes or if one is being flown upside-down. I won't list them all here, but it'd be awesome if those would get sorted out.

Also, while the tricolor, as with the above flags, is associated with republicanism, and thus a lot of countries use it, and technically, it's nice (simple, easy to identify, no text), there are similar alternatives that would help make flags a lot more distinguishable. Take the flag of Czechia, for example:

Still three colors, but looks pretty different from most other national flags. You don't get into the "tricolor with very similar colors" problem.

[–] tal@lemmy.today 3 points 11 hours ago (1 children)

Nah. Doesn't look at $PATH at all.

$ realpath the-secret-to-life-the-universe-and-everything.txt
/tmp/the-secret-to-life-the-universe-and-everything.txt
$ echo $?
0
$ type the-secret-to-life-the-universe-and-everything.txt
the-secret-to-life-the-universe-and-everything.txt: not found
$ echo $?
127
$

It's for doing things like resolving symlinks, and even then, doesn't require that the target exist:

$ ln -s a b
$ realpath b
/tmp/a
$ echo $?
0
$
[–] tal@lemmy.today 27 points 12 hours ago (2 children)
[–] tal@lemmy.today 3 points 12 hours ago* (last edited 12 hours ago) (4 children)

You're right that realpath isn't in POSIX, but realpath doesn't do the same thing as which. @django@discuss.tchncs.de is using which to search $PATH.

He could maybe use type, which is similar, and is in POSIX.

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/type.html

$ cd /tmp
$ which pdfjam
/usr/bin/pdfjam
$ type pdfjam
pdfjam is /usr/bin/pdfjam
$ realpath pdfjam
/tmp/pdfjam
$
[–] tal@lemmy.today 4 points 12 hours ago* (last edited 12 hours ago)

A patch with a couple of changes you might want:

  • Support resuming downloads if interrupted (not that big a deal with how long this comic is).

  • Minimize duplication in the wget commands using a heredoc.

  • Fix command detection. As-written, the command detection doesn't appear to work for dash, which is the default /bin/sh on Debian. The sh string equality operator is = rather than ==, so changing it to that would be a minimal change, but POSIX also specifies a builtin test(1) operator for "is string null" (-z) and "is string non-null" (-n). https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

fixes.patch


jj.sh 2026-06-30 19:00:48.185384533 -0700 +++ jj2.sh 2026-06-30 19:38:30.673920618 -0700 @@ -3,7 +3,7 @@ # create 3-part mini zine from japanese jesus

 check () {
-    if [ "$(which $1 2>/dev/null)" == "" ];
+    if [ -z "$(which $1 2>/dev/null)" ];
     then
         echo "ERROR: missing $1 utility"
         exit 1
@@ -21,37 +21,42 @@
     mv $1.tmp.png $1
 }

-if [ ! -f 000_jjc.png ];then
+if [ ! -f 000.png ];then
     echo "downloading source files"
-    wget https://img.triapul.cz/jjc.png -O 000_jjc.png
-    wget https://img.triapul.cz/christmas.png -O 001_christmas.png
-    wget https://img.triapul.cz/jordan_cold_cock.png -O 002_jordan_cold_cock.png
-    wget https://img.triapul.cz/40days1.png -O 003_40days1.png
-    wget https://img.triapul.cz/40days2.png -O 004_40days2.png
-    wget https://img.triapul.cz/third_oni.png -O 005_third_oni.png
-    wget https://img.triapul.cz/herod.png -O 006_herod.png
-    wget https://img.triapul.cz/mount_8.png -O 007_mount_8.png
-    wget https://img.triapul.cz/lazarus1.png -O 008_lazarus1.png
-    wget https://img.triapul.cz/danbrown.png -O 009_danbrown.png
-    wget https://img.triapul.cz/thread_the_needle.png -O 010_thread_the_needle.png
-    wget https://img.triapul.cz/thread_the_needle_2.png -O 011_thread_the_needle_2.png
-    wget https://img.triapul.cz/dirtydozen1.png -O 012_dirtydozen1.png
-    wget https://img.triapul.cz/dirtydozen2.png -O 013_dirtydozen2.png
-    wget https://img.triapul.cz/gethsemane.png -O 014_gethsemane.png
-    wget https://img.triapul.cz/pleased_to_meet_you.png -O 015_pleased_to_meet_you.png
-    wget https://img.triapul.cz/mrs_robinson.png -O 016_mrs_robinson.png
-    wget https://img.triapul.cz/vickers.png -O 017_vickers.png
-    wget https://img.triapul.cz/calvary.png -O 018_calvary.png
-    wget https://img.triapul.cz/judas.png -O 019_judas.png
-    wget https://img.triapul.cz/ghost_in_training.png -O 020_ghost_in_training.png
-    wget https://img.triapul.cz/fossberg.png -O 021_fossberg.png
-    wget https://img.triapul.cz/constantine.png -O 022_constantine.png
-
+    i=0
+    while read filename; do
+        wget -c "https://img.triapul.cz/$filename.png" -O $(printf %03d.png $i)
+        i=$(( $i + 1 ))
+    done <<EOF
+jjc
+christmas
+jordan_cold_cock
+40days1
+40days2
+third_oni
+herod
+mount_8
+lazarus1
+danbrown
+thread_the_needle
+thread_the_needle_2
+dirtydozen1
+dirtydozen2
+gethsemane
+pleased_to_meet_you
+mrs_robinson
+vickers
+calvary
+judas
+ghost_in_training
+fossberg
+constantine
+EOF

     echo "rotating images"
-    rotate 011*.png
-    rotate 012*.png
-    rotate 013*.png
+    rotate 011.png
+    rotate 012.png
+    rotate 013.png
 fi

 create_part () {
@@ -67,9 +72,9 @@
 }

 echo "creating covers"
-create_cover 000_jjc.png 1
-create_cover 000_jjc.png 2
-create_cover 015*.png 3
+create_cover 000.png 1
+create_cover 000.png 2
+create_cover 015.png 3

 echo "creating pdf files"
 create_part 1 cover1.png $(ls 0*.png|head -n8|tail -n7)

Apply with $ patch -p0 <fixes.patch, assuming that the script filename is jj.sh.

Also, I'm not sure whether you want to remove the downloaded PNG files or not. As things stand, the cleanup function in the script does not do this.

 

June 26 (Reuters) - Power was fully or partially cut off across the ​Russian-held part of Ukraine's Kherson ‌region bordering Crimea, the Russian-installed governor, Vladimir Saldo, said on Telegram ​early on Friday.

Saldo did not ​provide details.

 

An 84-year-old Waffle House customer is suing the chain after becoming “distracted’ by window signage for its limited-edition Strawberry Shortcake Waffle and stumbling over an “abnormally high” curb, smacking face-first into the concrete pavement, according to federal court filings reviewed by The Independent.

view more: next ›