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

Archive for September, 2018

How not to structure your database-backed web applications: a study of performance bugs in the wild | the morning paper

Posted by jpluimers on 2018/09/25

This is about Ruby anti-patterns, which is a good step to start investigating the own anti-patterns you use in your own development environment:

[WayBack] How not to structure your database-backed web applications: a study of performance bugs in the wild | the morning paper

How not to structure your database-backed web applications: a study of performance bugs in the wild Yang et al., ICSE’18 This is a fascinating study of the problems people get into when using…

Via: [WayBack] How not to structure your database-backed web applications: a study of performance bugs in the wild… – Adrian Marius Popa – Google+

–jeroen

Posted in Design Patterns, Development, Ruby, Software Development | Leave a Comment »

If you have trouble getting an screen mirror from Samsung S7 Edge to Chromecast 2 to work: reboot phone

Posted by jpluimers on 2018/09/25

A friend of mine tried to get screen mirror (now called “Smart View”) from a Samsung S7 Edge to a Chromecast 2 working, but the connection would time out each try (but not when casting regular content using the Google Home app): try rebooting your S7 Edge.

Got that reboot tip and renamed functionality thanks to the somewhat related [WayBack] Galaxy S7: How to Screen Mirror to any Samsung Smart TV:

In order to connect (screen mirror) you Galaxy S7 or S7 Edge to your Samsung smart TV you need to swipe down to open your notification area, then on the top right click that little down arrow then select “smart view”. Previous Galaxy phones called it screen mirror, not sure why Samsung changed the name in the S7.

Got the renamed functionality via the video below.

–jeroen

Read the rest of this entry »

Posted in Chromecast, Google, Power User | Leave a Comment »

Unicode spaces

Posted by jpluimers on 2018/09/25

For my link archive:

Via: [WyBack] Are there blank characters in unicode that have the same widths as period, comma and digits? – Lars Fosdal – Google+

Answer: no, though better fonts have period, comma, colon, semicolon and other punctuations the same width as the punctuation space.

The use-case:

I wanted right justified text without having to do custom positioning/drawing – where the decimal zero is white space.

F.x. here 12 instead of 12.0

9.5
11.6
12 <– #$2008 and #$2007
13.4

I.e. PunctuationSpace and FigureSpace

I don’t want to deal with positioning/rendering since it happens inside a third party component.

–jeroen

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

Modern Object Pascal Introduction for Programmers

Posted by jpluimers on 2018/09/25

[WayBackModern Object Pascal Introduction for Programmers

via:

–jeroen

Posted in Conference Topics, Conferences, Delphi, Development, Event, Object Pascal, Pascal, Software Development | 4 Comments »

Dashcam Viewer – By Earthshine Software

Posted by jpluimers on 2018/09/24

Cool piece of software that allows you to view front and rear cameras in one view: [WayBack] Dashcam Viewer – By Earthshine Software:

Picture-in-picture front and rear camera displays for 2-channel dashcams
Swappable front and rear camera views for 2-channel dashcams

The free version is limited to play 5 files in succession (which is about 15 minutes).

–jeroen

 

Posted in LifeHacker, Power User | Leave a Comment »

Fritz!Box – capture network packets in Wireshark (tshark/tcpdump) format or ISDN in dtrace format

Posted by jpluimers on 2018/09/24

You can capture network packets on a Fritz!Box for any interface by:

  1. appending `/html/capture.html` to the IP address of your Fritz!Box
  2. providing your credentials
  3. for ISDN traces optionally entering any dtrace parameters in the edit box
  4. pressing the Start button for the port you want to capture
  5. pressing the Stop button when you are finished capturing

Example URL: 192.168.178.1/html/capture.html

Note it’s ISDN [WayBackDtrace – Fritz!Box, not nx kernel [WayBackDTrace – Wikipedia

I’ve seen this on these devices:

  • Fritz!Box 7360 running FRITZ!OS 06.30
  • Fritz!Box 7490 running FRITZ!OS: 06.83

Note there are tons of tools allowing to capture from various scripting languages:

–jeroen

Read the rest of this entry »

Posted in Fritz!, Fritz!Box, Internet, Power User | Leave a Comment »

For Love of Software: Nano Server on AWS: Step by Step

Posted by jpluimers on 2018/09/24

Source: [WayBackFor Love of Software: Nano Server on AWS: Step by Step

Via: [WayBackAnn Lynnworth – Google+

–jeroen

Posted in Development, Power User, Windows, Windows Server 2016 | Leave a Comment »

If you use Session Buddy, you might want to reconsider: it only saves the session infrequently

Posted by jpluimers on 2018/09/22

I was shocked reading [WayBack] An alternative to Session Buddy: “Tabs Backup & Restore” · Issue #742 · deanoemcke/thegreatsuspender · GitHub: the save frequency is about 1 per browser restart. Which is quite odd when you use it to protect against tabs messing up (it happens, right when you do not expect it, after which a “Restore” by chrome fails too).

So after years of using

[Archive.is] Session Buddy – Chrome Web Store: Manage Browser Tabs and Bookmarks with Ease

I have switched away to

[WayBack] Tabs Backup & Restore – Chrome Web Store: With ‘Tabs Backup & Restore’ you will never lose your work again! Backup an entire Chrome session (windows and tabs).

–jeroen

Posted in Chrome, Google, Power User | Leave a Comment »

pure-bash-bible/README.md – book for doing things in bash without external tools

Posted by jpluimers on 2018/09/21

[WayBack] pure-bash-bible/README.md at master · dylanaraps/pure-bash-bible · GitHub:

The goal of this book is to document known and unknown methods of doing various tasks using only built-in bash features. Using the snippets from this bible can help remove unneeded dependencies from scripts and in most cases make them faster. I came across these tips and discovered a few while developing neofetchpxltrm and other smaller projects.

The snippets below are linted using shellcheck and tests have been written where applicable. Want to contribute? Read the CONTRIBUTING.md. It outlines how the unit tests work and what is required when adding snippets to the bible.

See something incorrectly described, buggy or outright wrong? Open an issue or send a pull request. If the bible is missing something, open an issue and a solution will be found.

Via:

jeroen

Posted in *nix, *nix-tools, bash, bash, Development, Power User, Scripting, Software Development | Leave a Comment »

Compressing and enhancing hand-written notes

Posted by jpluimers on 2018/09/21

Interesting tool:

I wrote a program to clean up scans of handwritten notes while simultaneously reducing file size.

Source: Compressing and enhancing hand-written notes [WayBack]

via:

Posted in Image Editing, Power User | Leave a Comment »