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,828 other subscribers

It looks like Fritz!Box rebinding protection also prevents accessing a FritzBox over a SSH port forwarding

Posted by jpluimers on 2024/08/09

For quite some times my back-up way to access a Fritz!Box when the VPN itself failed was to SSH into a system behind it and use SSH port forwarding to access the Fritz!Box.

Seems that only works for older models with older firmware versions, but newer models with newer firmware now give a rebinding protection error.

I am not sure why it does this as technically there is no [Wayback/Archive] DNS rebinding – Wikipedia.

Regrettably, I could not find a way around this from the links below.

Read the rest of this entry »

Posted in Fritz!, Fritz!Box, Hardware, Network-and-equipment, Power User | Leave a Comment »

Newer WordPress bookmarklets for navigating from a blog post to the classic editor, or getting the canonical url anchor of a blog post

Posted by jpluimers on 2024/08/08

Last year I posted about Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs.

It depended on HighlanderComments to exist in order for getting its .connectURL which contains the canonical blog post URL (i.e. from https://wiert.me it obtains https://wiert.wordpress.com).

Nowadays HighlanderComments does not always exist, but in that case <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://wiert.wordpress.com/xmlrpc.php?rsd"> does exist.

Its’ href value can be obtained by querying document.querySelector('link[rel="EditURI"]').href and truncate it, so I made some conditional code that first tries the HighlanderComments and defers code obtaining it from the link element I mentioned above.

I also added proper Bookmarklet wrappers so the function results don’t leak to the console or Browser (Firefox really does not like Bookmarklets without this wrapper).

javascript:(function(){
//Statements returning a non-undefined type, e.g. assignments
})();

Firefox also dislikes pasting code into the development console.

Code:

Read the rest of this entry »

Posted in Bookmarklet, Chrome, Development, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »

The regexp for an emoticon ?

Posted by jpluimers on 2024/08/08

I responded to [Wayback/Archive] jilles.com on Twitter: “@0xD4ni @Twitter What is the regexp for an emoticon ?” with [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “@jilles_com @0xD4ni @Twitter \p{So}+ See …”.

I got the answer from [Wayback/Archive] java – What is the regex to extract all the emojis from a string? – Stack Overflow (thanks [Wayback/Archive] vishalaksh, and [Wayback/Archive] Desgard_Duan) which refers to the quoted section below.

Note that correctly matching highly depends on the versions of the libraries you use: there have been lots of releases of Unicode versions over the last years (since 2014 roughly every 12 months) each usually adding more Emoji.

In addition, many Emoji are not single Unicode codepoints: often they are code points (with or without any of the variation selectors) stacked on top of each other with zero-width joiners like I described in Kris on Twitter: “Company chat: »Right, we need more languages with Emoji as variable type indicators and pointer symbols.«….

I tried fiddling on [Wayback/Archive] regex101: build, test, and debug regex and could not always getting it to work as I hoped for, but also could not figure out how recent their libraries are.

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, Emoticons, Encoding, Event, Geeky, RegEx, Software Development, Unicode | Leave a Comment »

ICANN approves use of .internal domain for your network • The Register

Posted by jpluimers on 2024/08/08

–jeroen

Posted in Uncategorized | Leave a Comment »

A big oops: “Researcher finds a way to invisibly reverse Windows updates • The Register”

Posted by jpluimers on 2024/08/07

Keeping an eye on this: [Wayback/Archive] Researcher finds a way to invisibly reverse Windows updates • The Register

--jeroen

Posted in LifeHacker, Power User, Windows, Windows 10, Windows 11 | Leave a Comment »

Downloads: North Pi 3D Files — Fractal Design

Posted by jpluimers on 2024/08/07

Since a few weeks, you can now download the [Wayback/Archive] North Pi 3D Files — Fractal Design

The concept North Pi created for Computex 2024 is now available to download as 3D-print files

  • [Wayback] 3D Print Files
  • [Wayback/Archive] Instrunctions [Wayback PDF View/PDF View]

    Required hardware

    • 3D Printer or access to 3D printing service.
    • Screws:
      • 13 x M2.5 threaded inserts, outer diameter 3.5 mm (other diameter will require altering the holes for the inserts) + tools for inserting them.
      • 9 x M2.5×4 (-6) for case assembly.
      • 4 x M2.5×4 (-6) or stand-offs for motherboard assembly.
    • Screwdriver.
    • Glue.

    Optional hardware

    • File or sanding paper for cleaning up print.
    • Wood strips (for authentic look) and shaping tools for those
    • 2 x 40 mm fans (max 10 mm thick). Check the documentation of your specific SBC on what voltage to use.
    • Paint and paintbrush/airbrush.

This was after a few other people recreated Pi cased in the style of the North Pi:

Read the rest of this entry »

Posted in 3D printing, Development, Hardware Development, Power User, Raspberry Pi | Leave a Comment »

Some notes on codepoints.net and beta.codepoints.net

Posted by jpluimers on 2024/08/07

At the time of writing a lot of this might be more recent, but for quite some time codepoints.net had not been updated with code point information newer Unicode releases.

Basically it was stuck at Unicode version 8.0 with some 120k glyphs. At the time of writing Unicode version 15.0 is in beta and the difference between 15.0 and 8.0 is some 24k glyphs.

So I had a quick twitter chat with the author and jotted down the links in this blog post so I won’t forget them.

There I learned it was open source (I think it is the only Unicode codepoint site that is).

Here it goes:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apache2, codepoints.net, Conference Topics, Conferences, Database Development, Debian, Development, DVCS - Distributed Version Control, Encoding, Event, GitHub, Linux, MySQL, PHP, Power User, Scripting, Software Development, Source Code Management, Unicode, Web Development | Leave a Comment »

Leah Neukirchen: “Lesser known pop music facts: The song “Nothing compares 2 U” is actually about the floating point value NaN. …” – BLÅHAJ Social

Posted by jpluimers on 2024/08/06

From about a year ago, but too funny not to repeat:

[Wayback/Archive] Leah Neukirchen: “Lesser known pop music facts: The song “Nothing compares 2 U” is actually about the floating point value NaN. …” – BLÅHAJ Social

Via [Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on X: “Lesser known pop music facts: The song “Nothing compares 2 U” is actually about the floating point value NaN. blahaj.social/@leah/110781718156325459

--jeroen

Posted in Algorithms, Conference Topics, Conferences, Development, Event, Floating point handling, Fun, Meme, Quotes, Software Development | Leave a Comment »

Kris on Twitter: “Company chat: »Right, we need more languages with Emoji as variable type indicators and pointer symbols.«…

Posted by jpluimers on 2024/08/06

Please do not overdo Unicode outside the ASCII realm for identifiers and stay away from Emoji: [Wayback/Archive] Kris on Twitter: “Company chat: »Right, we need more languages with Emoji as variable type indicators and pointer symbols.«…”

Company chat: »Right, we need more languages with Emoji as variable type indicators and pointer symbols.«
»
🎼initializer🎱«
»
💦 mutable, 🧱 not.«
»
🎁 on the heap, 🥞 on the stack«
»
🍼 ctor, 🪦 dtor«
»� non-utf string result«
»any of
👩‍❤️‍💋‍👨 as a concat operator«
»
📁📂 block delims«

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, Encoding, Event, Fun, Quotes, Software Development, Unicode | Leave a Comment »

The 2002 “Cruft Force” scale in Aug02: The New Adventures of Verity Stob

Posted by jpluimers on 2024/08/05

All computers acquire cruft over time, though with the ever increased data storage space capacities, nowadays it usually takes much longer to notice the effects of the Second Law of Thermodynamics on your computer until it is way too late.

I got reminded of the “Cruft Force” scale in the 2002 DDJ column [Wayback/Archive] “Aug02: The New Adventures of Verity Stob” by [Wayback/Archive] bert hubert 🇺🇦🇪🇺: ‘…”cruft force 9″…’ – Fosstodon

Spent the best part of a day attempting to recover a friend’s Windows 11 machine that had shat itself. Was reminded of the most EXCELLENT description of Windows putrefaction by Verity Stob www.doc.ic.ac.uk/~susan/475/cruft.html “cruft force 9” – in this case, Adobe had deposited a new Adobe Reader install one directory lower apparently every time it had been used (!). There were also 34 numbered Teamviewer binaries getting progressively bigger.

Having known Verity Stob from DDJ (often named “Dr Dobbs”, but officially named “Dr. Dobb’s Journal”) and El Reg (officially named “The Register”). Until recently totally unaware .EXE Magazine had existed, I didn’t know that before DDJ she wrote columns for it nor that DDJ took over after it got renamed to “EXE Magazine”.

Learning new things every day: I love it!

--jeroen

Posted in LifeHacker, Power User, Windows | Leave a Comment »