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

Archive for the ‘Development’ Category

Berlin Typography on Twitter: “The best of #TypeInBerlin: The tʒ and ſʒ ligatures, together at last.” / Güntʒelstraſʒe == Güntzelstraße

Posted by jpluimers on 2023/04/17

Learned a new thing a while ago: I knew about the ſʒ ligature (that nowadays usually is written as ß), but the tʒ ligature was new to me.

So: Güntʒelstraſʒe == Güntzelstraße.

References:

Source: [Archive.is] Berlin Typography on Twitter: “The best of #TypeInBerlin: The tʒ and ſʒ ligatures, together at last. …” / Twitter

Read the rest of this entry »

Posted in Development, Encoding, LifeHacker, Power User, Software Development, Unicode | Leave a Comment »

Some links on configuring MikroTik equipment as multiple switches (or even routers) using RouterOS

Posted by jpluimers on 2023/04/13

MikroTik switches and routers are very flexible to configure, as everything is done through [Wayback/Archive] RouterOS settings.

This means that given enough ports, you can split a physical switch into logical switches. This can be very convenient when you run multiple networks without VLAN.

Earlier this week, I already wrote about Torching a specific port on a MikroTik switch or router running RouterOS which involved turning off hardware acceleration off for specific ports in order to have the flow through the underlying switch chip prohibiting torch and filter features.

For splitting noticing which ports are connected to which switch chip is also important: splitting works best if you can configure each logical switch to exclusively use network ports on one switch chip.

This post was to both research how to configure this, and if my MikroTik devices would allow for hardware acelleration.

Here are some links that should help me with configuring (via [Wayback/Archive] mikrotik split switch in two – Google Search):

–jeroen

Read the rest of this entry »

Posted in Development, Hardware, MikroTik, Network-and-equipment, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »

Torching a specific port on a MikroTik switch or router running RouterOS

Posted by jpluimers on 2023/04/11

On most recent [Wayback/Archive] RouterOS configurations of MikroTik Routers and Switches, running [Wayback/Archive] Torch a port will show zero traffic when they are part of a bridge configuration. The same holds for the Packet Sniffer.

The reason is that these bridges have hardware acceleration turned on, which makes all traffic go through the switch chip instead of the device CPU. Torch works on the CPU level, so won’t show hardly any traffic except for some configuration stuff (depending on the combination of switch chip and CPU type).

This is not documented in the Torch documentation, but it is documented in the Packet Sniffer documentation.

Further reading:

–jeroen

Posted in Development, Hardware, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | 1 Comment »

Thread by @aakashg0 on Thread Reader App: the Twitter tweet ranking algorithm

Posted by jpluimers on 2023/04/05

Interesting read: [Wayback/Archive] Thread by @aakashg0 on Thread Reader App with this takeaway:

If you take away anything, remember this – the models take in 3 inputs:

• Likes, retweets, replies: engagement data
• Mutes, unfollows, spam reports: user data
• Who follows you: the follower graphImage

Read from the start at [Wayback/Archive] Aakash Gupta 🚀 Product Growth Guy on Twitter: “Twitter revealed its algorithm to the world. But what does it mean for you? I spent the evening analyzing it. Here’s what you need to know:”

The algorithm is at [Wayback/Archive] twitter/the-algorithm: Source code for Twitter’s Recommendation Algorithm.

Via [Wayback/Archive] Andrea on Twitter: “Haha, dát is het dus!” / Twitter

Note: for me the only way to reliably follow people is this: [Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on Twitter: “@chrisbensen @geerlingguy @TwitterBlue @elonmusk @tweetbot About the only tweeps I see tweets from on a regular base is the ones I turned notifications on for. It does not matter if they are blue or not. The blue ones tend to post overly large tweets. Those I skip reading.”

–jeroen

Posted in Development, Java, Java Platform, SocialMedia, Software Development, Twitter | Leave a Comment »

Two now 3 months old O’RLY book puns “Getting ChatGPT to write your code” / “Copying and Pasting from ChatGPT”

Posted by jpluimers on 2023/04/04

Earlier this week I got reminded of the “book” so many people seem to fall for via the Tweet by [Wayback/Archive] turbo (@turboCodr) / Twitter.

The image (and text) is in fact a parody both on ChatGPT and on the Stack Overflow meme it is based on (more on my opinion on both further below).

Back to the book title referred by [Wayback/Archive] turbo on Twitter: “Something something last tech book you’ll ever buy”.:

Deploying untested code at break-neck speeds
Essential
Copying and Pasting from ChatGPT
O’REILLY
The Practical Developer

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Awareness, ChatGPT, Development, GPT-3, Software Development | Leave a Comment »

Eight Dollars – Chrome Web Store: see who fell for the twitter blue scam

Posted by jpluimers on 2023/04/03

[Wayback/Archive] Eight Dollars – Chrome Web Store

It’s available for other browsers too (Brave, FireFox, Edge, Opera; Safari should become supported too), and more importantly: open source as well at [Wayback/Archive] wseagar/eight-dollars: A browser extension that shows twitter blue vs real verified users.

Via [Wayback/Archive] Alan Neilan on Twitter: “@IanColdwater pssst check out”.

jeroen

Read the rest of this entry »

Posted in CSS, Development, HTML, JavaScript/ECMAScript, PowerShell, Scripting, Software Development, Web Development | Leave a Comment »

Two more Twitter bots that help with inclusion and accessibility (a11y): @get_altText and @captions_please

Posted by jpluimers on 2023/04/03

  1. [Archive] Alt Text Reader (@get_altText) / Twitter
    I read alt texts from images for you – just mention me in the reply to an image! (alt texts are a cool & accessible way to describe images – see pinned tweet)
    (If I’m broken, complain to @malfynnction)
  2. [Archive] captions_please (@captions_please) / Twitter

    I’m a bot, just starting to beep boop. Tag me in a tweet (or a reply to a tweet) and I’ll do my best to describe the image. Try @captions_please help for more

The first is developed and maintained by [Archive] φnn (@malfynnction) / Twitter with source code at [Wayback/Archive] malfynnction/AltText-Tweeter.

The second is developed and maintained by [Archive] Anil (@TheOtherAnil) / Twitter, with source code at [Wayback/Archive] AnilRedshift/captions_please_go where I learned the bot actually understands more commands, even some German:

Look for these methods in the file [Wayback/Archive] captions_please_go/parse_command.go at main · AnilRedshift/captions_please_go:

  • parseCommand
  • parseGerman
  • parseEnglish
  • parseGermanRemoveModifiers (removes words und and das)
  • parseGermanDirectives (understands the words hilfe, alternativtext, scannen, beschreiben, text)
  • parseEnglish
  • parseEnglishRemoveModifiers (removes words and and the)
  • parseEnglishLang (conditionally removes words in and into)
  • parseEnglishDirectives (understands the phrases help, auto, text, ocr, describe, caption, alttext, alt_text, alt text, translate, get)
  • parseTag (gets the target IETF Language Tag – like du-nl for Dutch-Netherlands or de-de for German-Germany, and fr-be for French-Belgium)
English / German Example Action
(nothing, internally called auto) As in @captions_please Tweets best it can do:

  • alt text if there is an image with an alt attribute,
  • ocr if there is an image without an alt attribute,
  • describe when no alt text or ocr can be returned.
help / hilfe As in @captions_please help Tweets help text
alt text, alttext, alt_text / alternativtext As in @captions_please alt text Tweets user-supplied alt text
ocr, text, get text / scannen As in @captions_please ocr Scan the image for text, then tweets the result
describe, caption / beschreiben As in @captions_please describe Tweets the AI generated description of the image
translate As in @captions_please translate Tweets the translated text

Also observe the commands set boolean flags in a structure, so it is possible to issue multiple commands at once (like @captions_please ocr translate fr-be)

The above Twitter accounts are complementing the below accounts/commands that I wrote about in One of the coolest Twitter bots commands: @AltTextCrew OCR please (and which both are being developed and maintained by [Archive] LGBTired 🏳️‍⚧️⚢ (@hbeckpdx) | Twitter):

 

–jeroen

Posted in About, accessibility (a11y), Awareness, Development, Inclusion / inclusive society, LifeHacker, Personal, Power User | Leave a Comment »

Some notes on converting Twitter threads/tweets to Markdown

Posted by jpluimers on 2023/03/29

I’ve switched to either Markdown or reStructuredText for documentation purposes a while ago.

Often Twitter threads or Tweets are a useful addition to that, so it makes sense being able to convert them to a more portable format, especially since both Markdown and reStructuredText render well on GitHub (including Gists) and GitLab (including Snippets).

So here are some links that hopefully will get me going in the future:

–jeroen

Posted in Development, Lightweight markup language, MarkDown, reStructuredText, Software Development | 1 Comment »

Installing Windows OpenSSH from the command-line on Windows 10 and 11

Posted by jpluimers on 2023/03/28

While writing On my reading list: Windows Console and PTY, I found out that OpenSSH had become available as an optional Windows feature.

It was in [Wayback/Archive.is] Windows Command-Line: Introducing the Windows Pseudo Console (ConPTY) | Windows Command Line:

Thankfully, OpenSSH was recently ported to Windows and added as a Windows 10 optional feature. PowerShell Core has also adopted ssh as one of its supported PowerShell Core Remoting protocols.

Here are a few links:

Read the rest of this entry »

Posted in *nix, *nix-tools, Communications Development, ConPTY, Console (command prompt window), Development, Internet protocol suite, OpenSSH, Power User, SSH, ssh/sshd, TCP, Windows, Windows 10, Windows 11 | Leave a Comment »

The fundamentals of programming, a thread by @isotopp on Twitter

Posted by jpluimers on 2023/03/22

Kristian Kohntöpp publishes great DevOps related threads on Twitter. [Wayback/Archive] Thread by @isotopp “I am Kris, and I am 53 now. I learned programming on a Commodore 64 in 1983. My first real programming language (because C64 isn’t one) was 6502 assembler, forwards and backwards. “ is his response, about a year and a half ago, to a request by Julia Evans (@b0rk) that I also saved: [Wayback/Archive] Thread by @b0rk on Thread Reader App – Thread Reader App.

Her request: [Archive] 🔎Julia Evans🔍 on Twitter: “if you’ve been working in computing for > 15 years — are there fundamentals that you learned “on the job” 15 years ago that you think most people aren’t learning on the job today? (I’m thinking about how for example nobody has ever paid me to write C code)” / Twitter followed by [Archive] 🔎Julia Evans🔍 on Twitter: “I’m especially interested in topics that are still relevant today (like C programming) but are just harder to pick up at work now than they used to be” / Twitter.

The start of his thread is [Archive] Kris on Twitter: “@b0rk I am Kris, and I am 53 now. I learned programming on a Commodore 64 in 1983. My first real programming language (because C64 isn’t one) was 6502 assembler, forwards and backwards.” / Twitter.

Kristian’s story is very similar to mine, though I sooner stepped up the structured programming language ladder as at high school, I had access to an Apple //e with a Z80 card (yes, the SoftCard), so could run CP/M with Turbo Pascal 1.0 (later 2.0 and 3.0) which I partly described in The calculators that got me into programming (via: calculators : Algorithms for the masses – julian m bucknall), followed by early access at the close by university to PC’s running on 8086 and up. The computer science lab, now called Snellius, but back then known as CRI for Centraal RekenInstituut – is now had an educational deal with IBM, which means they switched from the PC/XT to the PC/AT with a 80286 processor as soon as the latter came out).

Read the rest of this entry »

Posted in 6502 Assembly, Assembly Language, Development, ESP32, ESP8266, Software Development, x86 | Leave a Comment »