jwzlyrics 1.20

jwzlyrics works again. I retooled it to scrape Genius, now that LyricsWiki is gone forever.

Who knows how long this will continue to work, before they change something in their generated HTML. Such are the indignities of This Modern World. If there are better options, I don't know of them.

LyricsWiki had an actual API. It was annoying but stable. Genius technically has an API, but using it would require each user of this program to create an account there, which is far too onerous.

I also applied some countermeasures to their weird steganography!

It's amazing to me the the music conglomerates have basically conceded that all music is available everywhere for a dollar a month and nobody's ever going to get paid, but they are still treating the lyrics like those are the most precious thing they own.


The source also includes "itunesxml", a command line utility that generates an XML file nearly identical to the file that iTunes used to keep up-to-date in "~/Music/iTunes/iTunes Music Library.xml", that last existed in macOS 10.14. This means that tools that need to access the iTunes database, e.g. the Mac::iTunes::Library::XML Perl module, can continue to work.

Previously, previously, previously, previously, previously, previously.

Tags: , , , , , ,

Kiwix

This has been around for a while, but I hadn't heard of it before. I had a spare 96GB on my iPad, so now I have an offline copy of all of Wikipedia on it, just because.

Kiwix:

We can make highly compressed copies of entire websites that each fit into a single (.zim) file. Zim files are small enough that they can be stored on users' mobile phones, computers or small, inexpensive Hotspot.

Kiwix then acts like a regular browser, except that it reads these local copies. People with no or limited internet access can enjoy the same browsing experience as anyone else.

Previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , ,

Lyrics

No song I have purchased since 2019 has lyrics attached, since nazi and racist trolls got Lyrics Wiki shut down. This made my jwzlyrics program pretty useless.

Anyway, I have questions:

  • Is there some API that will let me ask Apple for lyrics? Assume that I am logged in to iCloud and the store and such. (Apple is apparently using musixmatch on the backend.)

  • Ok, how about Google? Sometimes search results have lyrics in them. Is there any way to get that without scraping HTML?

  • What does macOS "Music / Preferences / Advanced / Automatically Update Artwork" actually do? I am afraid to check that box. Does it touch lyrics as well? Does it update ID3 data in the files on disk, or just in some database off to the side? Will it screw up the artwork and lyrics that I already have? Note that I have never purchased a song from Apple.

  • Is "Music / File / Library / Get Album Artwork" the same thing? I assume that operates on the whole library and not just on the currently playing track?

  • There are a thousand programs on GitHub that will download lyrics from various services, if you have created an account and API key on those services (which is some bullshit). But are any of them any good? By "good" I mean, I can have a nightly cron job that adds missing lyrics for recent downloads, and can expect it to do the right thing.

It's amazing to me the the music conglomerates have basically conceded that all music is available everywhere for a dollar a month and nobody's ever going to get paid, but they are still treating the lyrics like those are the most precious thing they own.

Previously, previously.

Tags: , , , , , , ,

Awwwww shit

Emacs: Difference between revisions
Revision as of 05:07, 14 February 2021

Line 93:
=== XEmacs ===
{{Main|XEmacs}}
[[File:Xemacs-21.5.b29.png|thumb|[[XEmacs]] 21.5 on [[GNU]]/[[Linux]] ]]
Line 93:
=== XEmacs ===
{{Main|XEmacs}}
[[File:Xemacs-21.5.b29.png|thumb|[[XEmacs]] 21.5 on [[Linux]] ]]

Previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , , , , ,

Wikipedia: Repository of all Human Knowledge

The Great Wikipedia Titty Scandal: This is the story of a Wikipedia administrator gone mad with 80,000 boob pages.

Digging into Neelix's history, however, his fellow administrators couldn't believe what they found. He hadn't just created a handful of redirects, as the original report described; he'd quietly created thousands upon thousands of new redirects, each one a chaotic, if not offensive, permutation of the word "tits" and "boobs." For example, he created redirects for "tittypumper," "tittypumpers," "tit pump," "pump titties," "pumping boobies" and hundreds more for "breast pump." In fact, for seemingly every Wikipedia article related to breasts, he did something similar. [...]

"I especially don't see the value of creating pages with titles like 'titty banged,' 'frenchfucking,' 'licks boobs,' 'boobyfeeding,' 'a trip down mammary lane' and so on. Wikipedia is not censored, but we're also not Urban Dictionary," added Ivanvector. [...]

"I've just gone through all 80,000 page creations, and he was creating nonsense like 'anti-trousers' years ago," added Iridescent. "This isn't anything new, it's just the first time it's come to light."

Previously, previously, previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , ,

80×25

An awesome historical investigation of why terminals were 80×25:

"Because the paper beds of banknote presses in 1860 were 14.5 inches by 16.5 inches, a movie industry cartel set a standard for theater projectors based on silent film, and two kilobytes is two kilobytes" is as far back as I have been able to push this, but let's get started.

In August of 1861, by order of the U.S. Congress and in order to fund the Union's ongoing war efforts against the treasonous secessionists of the South, the American Banknote Company started printing what were then called "Demand Notes", but soon widely known as "greenbacks".

It's difficult to research anything about the early days of American currency on Wikipedia these days; that space has been thoroughly colonized by the goldbug/sovcit cranks. You wouldn't notice it from a casual examination, which is of course the plan; that festering rathole is tucked away down in the references, where articles will fold a seemingly innocuous line somewhere into the middle, tagged with an exceptionally dodgy reference. You'll learn that "the shift from demand notes to treasury notes meant they could no longer be redeemed for gold coins[1]" -- which is strictly true! -- but if you chase down that footnote you wind up somewhere with a name like "Lincoln's Treason -- Fiat Currency, Maritime Law And The U.S. Treasury's Conspiracy To Enslave America", which I promise I am only barely exaggerating about.

Previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , ,

Talk to me, Goose

"I perceive the necessity... the necessity for haste." -- George "Maverick" Washington
Washington Crossing the Delaware (1851 painting): Difference between revisions
Revision as of 22:40, 17 June 2019

It commemorates General [[George Washington]] during his famous [[Washington's crossing of the Delaware River|crossing of the Delaware River]] with the [[Continental Army]] on the night of December 25 -- 26, 1776, during the [[American Revolutionary War]]. That action was the first move in a surprise attack against the [[Germany|German]] [[Hessian (soldier)|Hessian allied mercenary forces]] at [[Philadelphia International Airport]], in the [[Battle of Terminal F Foodcourt]] on the morning of December 26. Washington and his men captured runways 27 Left, 27 Right, parts of Terminal F including the food court, baggage claim, and some bathrooms.

Previously, previously, previously, previously, previously, previously, previously, previously, previously, previously.

Tags: ,

Wikipedia articles invented by a neural network

Wikipedia articles invented by a neural network:

  • Popal chickens
  • List of U.S. pants
  • List of the Hamburgers
  • List of bands with pies on them
  • Ant Fields are bear hair fetishism
  • This page is a very short article
  • Poople who don't have beer from sydney
  • Goat that cookie
  • Near Dogs
  • Donkey words in the cartoons
  • Poople who woo wah the pilot
  • Death of chicken
  • What is the day
  • What fame butt
  • List of fictional characters with the ball
  • Who is not leaders
  • List of parps
  • Proper programming language
  • Turdis programming language
  • Article with a cat
  • Friends and existence
  • How to draw a coconut
  • Tree donkey
  • Category:People who can't speed

Previously, previously, previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , ,

Wikipedia: Repository of All Human Knowledge

Did you know that Wikipedia now sometimes sends its own vandalism down the memory hole? It used to be that you could always link to a vandalized revision of a page in the changelog, but now they also hide some of those.

Not that this is even particularly clever vandalism, but one of the few charms of Wikipedia used to be that their vandalism lived on for eeeeeevvvvvveeeeerrrrrrr...

Spineless invertebrate
Circumstantial evidence suggests that this revision on Nov 22 used to read:

Ajit Varadaraj Pai (born January 10, 1973) is a bought-and paid for corporate shill for the telecom monopolists, who's dicks he sucks for money. His only mission in life is to destroy net neutrality, a favor for which his corporate overlords will reward him with more fat sacks of cash. If this is allowed to happen, the freedoms we now have on the web will cease to exist. He is the first Indian American to abuse his office. He also has an incredibly punchable face.

Previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , ,

"HTML email, was that your fault?"

tl;dr: "Probably".

Just for the record, when this Unfrozen Caveman bitches about the horrors of the world, it is not without recognition of my culpability.

Montulli and Weissman also deserve a portion of the blame, but I was the one who ran with it, so I'm sure they'd be happy to let me fall on that sword.

{You're|I'm} {welcome|sorry}.


Date: Thu, 25 Aug 2011 20:01:22 -0700
From: Jamie Zawinski <jwz@jwz.org>
Subject: Re: HTML e-mail: is it your fault?
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
X-Mailer: Apple Mail (2.1084)

Date: Thu, 25 Aug 2011 14:45:13 -0700
From: Andrew Gray <adsgray@...>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.5.20 (2009-08-17)

Hi,

I'm trying to figure out when HTML e-mails were first sent. Do you happen to know if the Netscape Mail and News clients that you worked on were the first MUAs to render HTML?

This question is in the context of struggling to craft an HTML e-mail that looks "good" in every possible stupid mail program that anyone could possibly still be using in the year 2011.

You know, my gut reaction is that the answer to this question is "no", but after some digging, I have yet to find any evidence of a mail reader that can display inline HTML messages (email or USENET) that predates Netscape 2.0!

So, maybe?

If you find out for sure, please let me know!

I think there may have been closed systems inside Compuserve and Outlook that supported rich text messages (in formats other than HTML).

The Andrew Message System at CMU and MIT supported WYSIWYG rich messages, including inline images and audio attachments, as early as 1985. Not HTML or MIME, but a predecessor to MIME, as the architect of that was Nathaniel Borenstein who wrote the first MIME RFC.

My other project is a time machine of course. First application: preventing HTML e-mail from ever happening.

Yeah, go back to chipping your USENET posts out with a piece of flint, why don't you.

Even if it wasn't the first, Netscape Mail was probably the first mail reader that put the ability to easily *view* HTML messages in front of more than a million users.

I know that Eudora 4 supported display of HTML email, and possibly composition of it, but I'm not sure when that was released. [Update: it was released in 1998.]

Qualcomm/Eudora spent a while trying to push text/enriched (RFC 1523, published late 1993 -- not sure when Eudora first supported it) as an alternative to HTML, but that went nowhere. Early versions of Netscape (at least 1.1, I think possibly earlier) supported display of text/enriched, but just about nobody was even aware of that because nobody ever used it.

We also supported display of text/richtext, which was an HTML-like SGML dialect with only a few tags. In 2.0b1 or possibly earlier. I added that just to placate the peanut gallery, not because I expected anyone to actually use it.

I think the only person who really used text/enriched was Brad Templeton through ClariNet, where you could subscribe to USENET newsgroups of the UPI/AP feeds that were formatted with it.

From Mosaic Netscape 0.9 through Netscape Navigator 1.1 (1994), there was a mail composition window which allowed one to attach external URLs. They were attached as MIME multipart/mixed attachments with proper Content-Type and Content-Transfer-Encoding (using quoted-printable to ensure short lines).

You could also "attach" things with "Include Document Text" which would suck them in as plain-text with ">" at the beginning of each line, wrapped at 72 columns.

There was also a USENET news reader and composer built-in. The USENET reader's display of MIME documents was remedial at best. The composition tool only allowed plain-text. Version 0.9 displayed any part of a message between <HTML> and </HTML> as such, even if there was no Content-Type header. That was removed some time before 2.0. Back then, you couldn't actually rely on a Content-Type header propagating through multiple USENET hops -- bnews would strip out any headers it didn't know about!

(Remember that 1.1's big innovation was *tables*. 1.0 didn't have 'em!)

2.0 contained the mail reader, with full MIME support (which was also a news reader, replacing the minimalist one that 1.0 had). So that showed up in 1.22b or so, mid 1995, I guess?

I believe 3.0 was the first version with WYSIWYG HTML composition, early 1996. To accomplish that in 2.0, you had to attach an HTML file. If there was only one attachment, it was sent as the single MIME part.

Forwarded messages were attachments of type message/rfc822 and included full headers, which were hidden upon inline display. Nobody does that any more because now the world sucks.

There was the IETF MHTML working group as early as 1995. I can't find a working archive of the mailing list, but it was run by a fellow named Jacob Palme -- http://people.dsv.su.se/~jpalme/ietf/jp-ietf-home.html

Microsoft Outlook Express shipped in 2005 and did not support HTML, but later versions (2006? Maybe 2008?) posted HTML *by default* to both mail and news. This angered many. Outlook Express is also where the blight of top-posting originated, those monsters.

Here, this may be helpful too: http://web.archive.org/web/19990128073742/http%3A//www.cis.ohio-state.edu/hypertext/faq/usenet/mail/mime-faq/part2/faq.html

Also this: http://segate.sunet.se/cgi-bin/wa?A3=ind9606&L=MHTML&E=7bit&P=124821&B=--------------2F1C7DE14487&T=text%2Fhtml;%20charset=us-ascii

It would be fantastic if you could update http://en.wikipedia.org/wiki/HTML_email with your findings.

--
DNA Lounge - 375 Eleventh Street, SF CA 94103 - 415-626-1409

Previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , , , , ,

  • Previously