The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • Pages

  • All categories

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

    Join 1,839 other subscribers

A Tour of Go

Posted by jpluimers on 2018/04/10

[Archive.isA Tour of Go

and

Paw is a full-featured and beautifully designed Mac app that makes interaction with REST services delightful.Whether you are an API maker or consumer, Paw helps you build HTTP requests, inspect the server’s response and even generate client code.

[WayBackPaw – The most advanced API tool for Mac

via:

–jeroen

Posted in Development, Go (golang), Software Development | Leave a Comment »

kentcdodds/issue-template: A way for github projects to make templates for github issues.

Posted by jpluimers on 2018/04/10

Ever seen the cool issue and pull request templates on GitHub? For instance the one used at https://github.com/rg3/youtube-dl/issues/new

This older repo and site are still there to help you generate a basic structure for them:

–jeroen

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

BAG Viewer – 0363100012131170

Posted by jpluimers on 2018/04/09

Resultaat

Bouwjaar
1995
Status
Pand in gebruik
Gebruiksdoel
woonfunctie
Oppervlakte
185 m2
Status
Verblijfsobject in gebruik
Postcode
1060NP
Huisnummer
71
Huisletter
Huisnummer toev.
Status
Naamgeving uitgegeven
Naam
Pyreneeën
Status
Naamgeving uitgegeven
Naam
Amsterdam
Status
Woonplaats aangewezen
Naam
Amsterdam

Source: BAG Viewer – 0363100012131170

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

iSesamo Opening Tool – iFixit

Posted by jpluimers on 2018/04/09

Great tool for opening electronics. Use with care as it’s metal.

[WayBackiSesamo Opening Tool – iFixit

via: Teardown of an IKEA Koppla USB power supply.

Read the rest of this entry »

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

Git repository with fixed binaries for Tumbleweed on Raspberry Pi 3 – Bug 1084419 – Glibc update to 2.27 causes segfault during name resolution

Posted by jpluimers on 2018/04/08

OSC downloads for [archive.is] https://bugzilla.opensuse.org/show_bug.cgi?id=1084812

The binaries provided by Stefan Brüns, together with installation instructions are now in a git repository at [WayBack] wiert.me/public/linux/opensuse/tumbleweed/aarch64 a.k.a. arm64/1084182-fix-osc-binaries · GitLab.

Follow the steps in Applying the fixes on a broken system to at least temporarily get your system to work (a new zypper dist-upgrade might fail, so be careful with that).

The cause was some ARM A53 errata handling:

–jeroen

Posted in *nix, *nix-tools, Development, DVCS - Distributed Version Control, git, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, Source Code Management, SuSE Linux, Tumbleweed | Leave a Comment »

Disable the Delphi clipboard history; originally by Attila Kovacs at https://plus.google.com/u/0/108426155215159556558/posts/6MBZuMYDTCD

Posted by jpluimers on 2018/04/07

Delphi Clipboard History

Delphi Clipboard History

[WayBack] Castalia had a Clipboard History for Delphi since a long time and since the acquisition of it around Delphi XE8, that was [Archive.isintegrated into the IDE for everyone to use as the [WayBack] “Delphi Clipboard History

Some people object to the history viewer, for instance:

  • stability reasons
  • security issues

Even though used by a lot of password managers to transfer saved passwords to applications requiring credentials, the clipboard isn’t really a secure place as it is a shared resource that any application can monitor: [WayBackIs a password in the clipboard vulnerable to attacks? – Information Security Stack Exchange.

It’s just that often the clipboard is about the only way to communicate date between two applications.

The real reason to get rid of the clipboard history is that in many Delphi versions it causes trouble with RichEdit controls: [Archive.isCastalia’s Clipboard history + TRichEdit = IDE deadlock | Andy’s Blog and Tools after Eugene Kotlyarov posted a [WayBack] bug issue on G+.

I’m still not sure why Castalia and Delphi include a Clipboard History and even show it by default as:

If you would want to build such a tool (that can hide itself when not needed), then use the free repository at chrisrolliston/CCR.Clipboard: Extended TClipboard implementation for Delphi (FMX and VCL) [Archive.isDitto download | SourceForge.net

At G+, Attila Kovacs published a non-intended version of the below version: [WayBack]

Source: Disable the Delphi clipboard history; originally by Attila Kovacs at https://plus.google.com/u/0/108426155215159556558/posts/6MBZuMYDTCD

–jeroen

Read the rest of this entry »

Posted in Castalia, Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »

Chris Bensen: Sync a Shared Google Calendar with Calendar in iOS or macOS

Posted by jpluimers on 2018/04/06

[WayBack] Chris Bensen: Sync a Shared Google Calendar with Calendar in iOS or macOS

Cool: configure a shared Google Calendar to show up in the Calendar in iOS or macOS

https://calendar.google.com/calendar/syncselect

–jeroen

Posted in Apple, Google, GoogleCalendar, iOS, iPad, iPhone, iPod touch, Power User | Leave a Comment »

Teardown of an IKEA Koppla USB power supply. – YouTube

Posted by jpluimers on 2018/04/06

Seems like  a good USB power supply:

Posted in IKEA hacks, LifeHacker, Power User, USB | Leave a Comment »

Solid state drives in Linux: Enabling TRIM for SSDs – fstrim command and mount option discard | Opensource.com

Posted by jpluimers on 2018/04/06

When using SSD drives on Linux, mind the discard option in mnt and the fstrim command: [WayBackSolid state drives in Linux: Enabling TRIM for SSDs | Opensource.com

–jeroen

Posted in *nix, *nix-tools, Hardware, Power User, SSD, Trim | Leave a Comment »

Tumbleweed: Comparing your local version with the on-line versions

Posted by jpluimers on 2018/04/05

Comparing your local version with the on-line versions

Before upgrading a Tumbleweed system, it makes sense to check which is your local and which is the on-line version. This is actually a tad more complicated than it sounds.

There are three versions involved:

There is a mismatch between the last two as a side effect of decoupling the arm port a bit from the high checkin frequency of openSUSE:Factory; ARM simply has not enough power to build the snapshot in the same time Intel and PowerPC can do.

[WayBack] Dominique a.k.a. DimStar (Dim*) – A passionate openSUSE user thinks the last two are mismatched is a side effect off [WayBack] osc service remoterun operates on outdated sources (product builder) · Issue #4768 · openSUSE/open-build-service · GitHub.

He also tech-reviewed this post.

Your local release version

There are various ways to get your local version:

The easiest is to inspect the file  /etc/os-release, for instance 20180208 in the file content:

NAME="openSUSE Tumbleweed"
# VERSION="20180208 "
ID=opensuse ID_LIKE="suse"
VERSION_ID="20180208"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20180208"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

You can also perform rpm --query --provides openSUSE-release | grep "product(openSUSE)" which for the same install returned this product(openSUSE) = 20180208-0.

Finally, you can use zypper to query the installed product which also includes the version:

$ zypper search --installed-only --type product --details
Loading repository data...
Reading installed packages...

S  | Name     | Type    | Version    | Arch    | Repository       
---+----------+---------+------------+---------+------------------
i+ | openSUSE | product | 20180228-0 | aarch64 | (System Packages)

The on-line release version

I will explain this for the aarch64 architecture, but the mechanism holds for all architectures, it is just that the directory names vary.

Architectures and base directories you can use this mechanism with:

Each architecture contains the version number in two kinds of places:

  1. The content of the repository meta data in a file named *-primary.xml.gz referenced from repomd.xml in the repodata subdirectory
  2. The filename of a package named ?P=openSUSE-release-2*

Back to the aarch64 architecture:

The on-line build version

I will explain this for the aarch64 architecture, but the mechanism holds for all architectures that build on openQA, it is just that the directory names vary and not all architectures are running on openQA.

Architectures and base directories you can use this mechanism with:

Architectures not on openQA:

  • armv6hl
  • armv7hl

Each platform contains the version number in two kinds of places:

  1. The content of the repository meta data in the file named media.1/media and media.1/products
  2. Names used in the openQA links

Back to the aarch64 architecture on the ARM platform:

–jeroen

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »