The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for 2023

How To Use Twitter Search – Advanced Guide by @Luca – Fresh van Root

Posted by jpluimers on 2023/07/07

Need to check out which of these filters still work:

[Wayback/Archive] How To Use Twitter Search – Advanced Guide by @Luca – Fresh van Root

Operator Description
since:2019-05-06 Tweets published at or after the date. (UTC +0)
until:2019-05-07 Tweets published before the date. (UTC +0)
from:Luca Tweets that are not marked as sensitive media. Tweets published by a specific user.
to:Luca Replies and mentions for a specific user.
lang:de Tweets in a specific language. Language is detected by Twitter on a Tweet basis. “und” for Tweets where Twitter was unable to determine a language.
near:Berlin within:5km [unreliable] Tweets that were posted in specific locations and optionally within a certain range.
min_faves:5 Tweets with at least that amount of faves.
-min_faves:100 Tweets that have fewer faves than specified.
min_retweets:10 Tweets that were at least retweeted that many times.
-min_retweets:3 Tweets that were retweeted less than that many times
min_replies:70 Tweets that got a minimum amount of replies.
-min_replies:8 Tweets that got fewer replies. (max_replies does not work)
filter:follows Tweets by accounts you follow.
list:Luca/Science Tweets by accounts on a specified list.
filter:verified Tweets by verified accounts.
filter:images Tweets with an image.
filter:links Tweets with an URL.
filter:media Tweets with a video or a photo.
filter:retweets [only works with the API or with “include:nativeretweets”] Retweets.
filter:quote Tweets that contain a quoted Tweet.
filter:replies Tweets that are a reply.
filter:mentions Tweets that mention a user.
filter:videos Tweets that contain a video.
filter:native_video Tweets that contain a video, that was directly uploaded to Twitter.
filter:news [unreliable] Tweets that contain a URL to a news source.
filter:safe [unreliable] Tweets that do not contain sensitive material.
include:nativeretweets It allows you to search through retweets as well. Especially useful in combination with from:account or filter:follows.

–jeroen

Posted in Power User, SocialMedia, Twitter | Leave a Comment »

An unexpected turn of events when Jeff Geerling posted “I’m hosting my website on a FARM!”

Posted by jpluimers on 2023/07/06

Some links on the unexpected turn of events after [Archive] Jeff Geerling (@geerlingguy) / Twitter posted

First his site got more traffic because of the post, then within an hour traffic exploded because of a DDoS overflowing both his Raspberry Pi cluster and his mobile data capacity.

Jeff will likely do blog posts on these and update the underlying GitHub repository at [Wayback/Archive] geerlingguy/turing-pi-2-cluster: Turing Pi 2 Cluster , but until then (since his Tweets were not threaded), this is what happened on 20220209 as it taught me a few bits:

Read the rest of this entry »

Posted in Cloud, Cloudflare, Containers, Development, Docker, Hardware Development, Infrastructure, Internet, Kubernetes (k8n), LifeHacker, OpenSpeedTest, Power User, Raspberry Pi, SpeedTest | Leave a Comment »

Thanks Stephan Kämper for showing me how to validate HTML on-line at W3C

Posted by jpluimers on 2023/07/05

In Another difference between the and element in HTML&XHTML, I mentioned Stephan Kämper taught be about the W3C HTML NU validator in [Archive] Stephan Kämper on Twitter: “I try to write fairly simple & #valid #HTML ➙ …gist..Validating it with …online HTML-Validator…, I get the error ‘No p element in scope but a p end tag seen.‘ What? Why? Removing the list from the HTML, gets rid of the error… Why?!? I. don’t. get it. 1/2″ / Twitter.

Upon closer inspection, there are actually two w3c.org HTML validators, each operating in three modes:

  1. Default checker which is DTD-based:

    This validator checks the [Wayback/Archive] markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc. If you wish to validate specific content such as [Wayback/Archive] RSS/Atom feeds or [Wayback/Archive] CSS stylesheets, [Wayback/Archive] MobileOK content (now retired), or to [Wayback/Archive] find broken links, there are [Wayback/Archive] other validators and tools available. As an alternative you can also try our [Wayback/Archive] non-DTD-based validator.

    1. [Wayback/Archive] The W3C Markup Validation Service: #validate_by_uri mode (without #validate_by_uri URL fragment) and

      default: checks the HTML of a URL

    2. [Archive] The W3C Markup Validation Service: #validate_by_upload mode

      you upload a file of which the HTML then gets checked

    3. [Archive] The W3C Markup Validation Service: #validate_by_input mode

      you enter the HTML to be checked into a text box

  2. NU checker which is non-DTD-based:
    1. [Wayback/Archive] Ready to check – Nu Html Checker; #address mode (without #address URL fragment) and

      default: checks the HTML of a URL

    2. [Archive] Ready to check – Nu Html Checker: #file mode

      you upload a file of which the HTML then gets checked

    3. [Archive] Ready to check – Nu Html Checker: #textarea mode

      you enter the HTML to be checked into a <textarea> element

Notes:

  1. that all three above modes get selected by a URL fragment (after a # hash) which the Wayback machine cannot individually save, but Archive.is can, hence the non-default URLs are not saved only in Archive.is, and not in the Wayback machine.
  2. The DTD-based checker seems non-functional and redirects all requests to the non-DTD-based checker.

I also took a look at the Wayback machine saved pages under the direct URLs of both checkers:

  1. https://web.archive.org/web/*/https://validator.w3.org/*
  2. https://web.archive.org/web/*/https://validator.w3.org/nu/*

I learned that the NU validator accepts at least these arguments:

Note that you cannot do this directly with HTML files saved in a gist or GitHub repository because it serves all RAW files as

[Wayback/Archive] text/plain MIME type. You can work around this by using a raw.githack.com trick I explained before at:

I also amended my above reply with more information using the ?doc= parameter with RAW gist files and archived that thread at [Wayback/Archive] Thread by @jpluimers on Thread Reader App – Thread Reader App.

–jeroen

Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »

Another difference between the and element in HTML & XHTML

Posted by jpluimers on 2023/07/04

A few weeks after queueing What is the difference between <p>, <div> and <span> in HTML&XHTML?, Stephan Kämper posted an interesting other “TIL“.

Besides that TIL, it also taught me about an on-line HTML validator. Cool: I learned two things from Stephan that day!

The above post talked about phrasing versus non-phrasing elements, Stephan discovered another difference between the p and div elements:

Stephan’s TIL: [Archive] Stephan Kämper on Twitter: “TIL or Life (and the HTML specification) is full of wonders and surprises ➙ “List elements (in particular, ol and ul elements) cannot be children of p elements.” …” / Twitter

It was based on his quest [Archive] Stephan Kämper on Twitter: “I try to write fairly simple & #valid #HTML ➙ …gist..Validating it with …online HTML-Validator…, I get the error ‘No p element in scope but a p end tag seen.‘ What? Why? Removing the list from the HTML, gets rid of the error… Why?!? I. don’t. get it. 1/2″ / Twitter, which I archived at [Wayback/Archive] Thread by @S_2K on Thread Reader App – Thread Reader App.

I responded this: [Archive] Jeroen Wiert Pluimers on Twitter: “@S_2K I thought it would be something like explained in p/div/span differences But it is yet another html oddity where structural and logical concept are mixed in one language.” / Twitter.

Both his quest and tweet referred to this key documentation part: [Wayback/Archive] HTML Standard: grouping content; the p element; note on lists:

Read the rest of this entry »

Posted in Development, HTML, HTML5, Software Development, Web Development | 1 Comment »

Lissage Angels on Twitter: “Escher’s Rubik’s Cube ” / Twitter

Posted by jpluimers on 2023/07/03

[Archive] Lissage Angels on Twitter: “Escher’s Rubik’s Cube …” / Twitter

Read the rest of this entry »

Posted in LifeHacker, Mathematics, Power User, science | Leave a Comment »

JavaScript Bookmarklet to enable Mastodon publishing for a WordPress.com post that is edited in the Classic Editor

Posted by jpluimers on 2023/07/02

I quickly hacked together this JavaScript Bookmarklet today, so it is without any checks and assumes you have enabled one Mastodon account for publishing, that you are hosting your blog on WordPress.com, and using the Classic Editor:

javascript:(function(){
  publicizeFormEditHref = document.getElementById('publicize-form-edit');
  publicizeFormEditHref.click();
  mastodonCheckboxes = document.getElementsByClassName('wpas-submit-mastodon');
  mastodonCheckboxes[0].checked = true;
  publicizeFormHideHref = document.getElementById('publicize-form-hide');
  publicizeFormHideHref.click();
  updateButtonHref = document.getElementById('publish');
  updateButtonHref.click();
})();

The above code is the state of [Wayback/Archive] JavaScript Bookmarklet for the WordPress classic editor which enables mastodon publishing (assuming you have one mastodon publishing account enabled … )  and due to be improved in a later blog post.

This will enable the currently edited post to be published to Mastodon, then update/publish the post.

On enabling one Mastodon account for publishing:

Read the rest of this entry »

Posted in Bookmarklet, Development, HTML, JavaScript/ECMAScript, Mastodon, Power User, Scripting, SocialMedia, Software Development, Twitter, Web Browsers, Web Development, WordPress, WordPress | Leave a Comment »

Elon loves burning equity. TechCrunch: Twitter now requires an account to view tweets

Posted by jpluimers on 2023/07/01

In other news since yesterday [Wayback/Archive] Twitter now requires an account to view tweets | TechCrunch

Like many of Twitter’s recent changes, this could easily backfire. If tweets aren’t publicly accessible, search engine algorithms could rank the site’s content lower, meaning that fewer people would be directed to the site from Google.

This not only hampers SEO, but any anonymous access to tweets resulting in Twitter to have become a walled garden without any prior announcement.

As of yesterday, this for instance makes it way harder for researchers to access Twitter in a non-biased way (the Twitter Algorithm will always bias the timeline for an account). It also prohibits the Wayback Machine from archiving Tweets (which I rightnow cannot archive):

https://twitter.com/jpluimers/status/1675070261274484736

Twitter is now more restricted than LinkedIn or Facebook, so I think it is a next step of burning the Twitter Equity to the ground followed after many other steps scaring Twitter users away, for instance as of:

Read the rest of this entry »

Posted in Facebook, LinkedIn, SocialMedia, Twitter | Leave a Comment »

Our house is for sale: Pyreneeën 71, Amsterdam – Barnhoorn Vermeer Makelaars | Home

Posted by jpluimers on 2023/07/01

Our house is for sale:

[Wayback/Archive] Te koop: Pyreneeën 71, Amsterdam – Barnhoorn Vermeer Makelaars | Home

Edit 20251028: photos from that site (they tend to load slowly)

Read the rest of this entry »

Posted in About, Personal | Leave a Comment »

Support – ThinkMods

Posted by jpluimers on 2023/06/30

Hopefully this ever arrives before I have died: [Wayback/Archive] Support – ThinkMods

Mod Setup Guide Manual Schematic
ExpressCard to NVMe (TM-E2M-V1) [Wayback]

Via [Wayback/Archive] ThinkMods: ExpressCard NVMe Adapter | Indiegogo.

Read the rest of this entry »

Posted in Hardware, LifeHacker, Power User, ThinkPad | Leave a Comment »

Reading list: Remove sensitive data from your git repository

Posted by jpluimers on 2023/06/29

First: [Archive] Laurent Bugnion 🏡 🇨🇭 on Twitter: “@IrisClasson What I do is use a tool AND nuke the secret. For example generate new tokens, modify the connection string etc.” / Twitter.

I agree to nuke the secret before, as opposed to after: [Archive] Matt Kerr on Twitter: “@grahamcox82 @IrisClasson That’s why it’s best practice to issue a new key after removing it. There’s no need to worry about the old one being compromised if you’ve revoked it.” / Twitter.

For my reading list:

All via [Archive] Iris Classon on Twitter: “Don’t shame me for asking this… but… is rebase a safe way to fix accidentally pushing sensitive info to a remote repo? Obviously you’d change the secrets etc. to be sure, but in theory, will rebase remove everything, or is it still in your history somehow?” / Twitter.

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »