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 August, 2016

Online CamelCase to underscore_separators converter and back

Posted by jpluimers on 2016/08/09

Maintaining a suite of project that use CamelCase on the one hand and underscore_separators on the other (partially mapped by code generators) an on-line conversion comes in handy: CCConverter abedo.pl.

–jeroen

Posted in .NET, Delphi, Development, Software Development | Leave a Comment »

Und noch ein Trick, weiterhin kostenlos an Windows 10 zu kommen | heise online

Posted by jpluimers on 2016/08/09

Obwohl das Angebot eigentlich am 29. Juli endete, stellt Microsoft selbst das Werkzeug zum Download bereit, das man zum Umwandeln einer Windows-7/8.1-Installation in Windows 10 braucht.

Sources:

Via:

 

 

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9 | Leave a Comment »

Fr0sT-Brutal/awesome-delphi: A curated list of awesome Delphi frameworks, libraries, resources, and shiny things. Inspired by awesome-… stuff.

Posted by jpluimers on 2016/08/08

Fr0sT-Brutal/awesome-delphi: A curated list of awesome Delphi frameworks, libraries, resources, and shiny things. Inspired by awesome-… stuff.

Just read it. It’s great!

If you want it on a one-pager with comments in mouse-over: Delphi by Anton Frost | ZEEF

–jeroen

via: Baoquan Zuo commenting at What do you think is the greatest Delphi freeware/open source plugin/framework of all time? – Nick Hodges – Google+

Posted in Delphi, Development, Software Development | 1 Comment »

Windows Flaw Reveals Microsoft Account Passwords, VPN Credentials

Posted by jpluimers on 2016/08/08

Attack from the ’90s resurfaces more deadly than before

Source: Windows Flaw Reveals Microsoft Account Passwords, VPN Credentials

TL;DR: block LAN->WAN port 445

Note this won’t affect web-dav shares like \live.sysinternals.com\DavWWWRoot as that uses ports 443 and 80.

–jeroen

via:

Posted in Communications Development, Development, https, Internet protocol suite, Microsoft Surface on Windows 7, NTLM, Power User, Security, SMB, TCP, WebDAV, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista, Windows XP | Leave a Comment »

OpenSuSE Tumbleweed `zypper dist-upgrade`: `mt-st` versus `mt_st`

Posted by jpluimers on 2016/08/08

TL;DR: I’m not the only one being partially word-blind.

I had the below while performing a zypper distribution upgrade on "openSUSE Tumbleweed (20160726) (x86_64)".

revue:/etc # zypper dist-upgrade
...
Detected 2 file conflicts:

File /usr/bin/mt
  from install of
     mt-st-1.3-1.1.x86_64 (Main Repository (OSS))
  conflicts with file from package
     mt_st-1.3-1.2.x86_64 (@System)

File /usr/sbin/stinit
  from install of
     mt-st-1.3-1.1.x86_64 (Main Repository (OSS))
  conflicts with file from package
     mt_st-1.3-1.2.x86_64 (@System)

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): no

Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.

Did you see the cause of the error in the above message?

Neither did I.

So I went to the #opensuse-factory IRC channel on freenode with this information:

revue:/etc # zypper repos --details 
# | Alias                               | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                    | Service
--+-------------------------------------+----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                                  |        
2 | download.opensuse.org-oss           | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                      |        
3 | download.opensuse.org-tumbleweed    | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                        |        
4 | http-download.opensuse.org-f3ba78e8 | server:monitoring          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Tumbleweed/      |        
5 | openSUSE-20150508-0                 | openSUSE-20150508-0        | No      | ----      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001 |        
6 | repo-debug                          | openSUSE-Tumbleweed-Debug  | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                |        
7 | repo-source                         | openSUSE-Tumbleweed-Source | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                               |        
revue:/etc # cat /etc/os-release 
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20160726"
PRETTY_NAME="openSUSE Tumbleweed (20160726) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20160726"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
ID_LIKE="suse"

There cooloo pointed out both the cause and solution were deceptively simple:

coolo: wiert: zypper remove mt_st ; zypper dup; zypper in mt-st
coolo: the package was incorrectly renamed

My partial word-blindness didn’t spot the difference between mt_st and mt-st, but it was indeed renamed.

So here I went:

zypper remove mt_st ; zypper dist-upgrade; zypper install mt-st

Note that strictly zypper install mt-st isn’t needed on my system as it is part of  Base:System. which means that zypper dist-upgrade automatically re-installed it.

–jeroen

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

testssl.sh on BashOnWindows (Ubuntu from Win10) – drwetter/testssl.sh

Posted by jpluimers on 2016/08/08

It works (but is sloooooow)

Source: BashonWindows (Ubuntu from Win10) not finding openssl · Issue #337 · drwetter/testssl.sh

Posted in Encryption, Hashing, https, OpenSSL, Power User, Security, testssl.sh | Leave a Comment »

Logo on the 6502, in honour of Seymour Papert who died this week – G+ mos6502

Posted by jpluimers on 2016/08/05

This week, Logo on the 6502, in honour of Seymour Papert who died this week. He did a lot more, but Logo is a lasting and perhaps most visible… – mos6502 – Google+

–jeroen

 

Posted in 6502, History | Leave a Comment »

So I accidentally broke a Skype messaging bot.. – Album on Imgur

Posted by jpluimers on 2016/08/05

Cool:

// config/db.js
module.exports = {
    url : 'mongodb://localhost/acquisition'
}

Source: break-a-skypebot.js

–jeroen

via:


// config/db.js
module.exports = {
url : 'mongodb://localhost/acquisition'
}

Posted in Development, JavaScript/ECMAScript, Scripting, Skype, Software Development | Leave a Comment »

Graphical emoji are killing Unicode

Posted by jpluimers on 2016/08/05

Unicode is about Glyphs that are used in writing. Have you ever seen the emoji on the right being written like this?

This has been bothering me a while and gets worse over time.

According to: Microsoft just changed its toy gun emoji to a real pistol:

Looks like Microsoft and Apple may not be on the same page about firearm emojis afterall. Right after Apple changed its gun emoji to a water pistol in iOS 10, Microsoft replaced its toy pistol emoji with an actual revolver.

While Apple and Microsoft have gone back to edit their symbols, Google continues to use a pistol in Android keyboards and doesn’t appear to have plans to change this. None of the companies in question have adjusted their knife, sword, bomb, poison and coffin emojis, so… ¯\_(ツ)_/¯

When vendors start prescribing how emojis must look like (influenced by all sorts of emotions) without the user allowing to choose (via a font – that’s what fonts are for!) how they look then it invalidates the whole Unicode principle:

Unicode is a computing industry standard for the consistent encoding, representation, and handling of text expressed in most of the world’s writing systems.

These emoji aren’t text and should be gone from the Unicode standard before they can do more harm.

Will the next step be that vendors define their own colours for certain characters in fonts? For Windows Times New Roman A becomes red, B green, C yellow, but in Courier New we’ll permute these colours and all Operating Systems and Versions will do different random colour choices.

–jeroen

via:

Posted in Development, Encoding, Opinions, Software Development, Unicode | Leave a Comment »

When you get a black screen with mouse cursor: Fast Startup – Turn On or Off in Windows 10 – Windows 10 Forums

Posted by jpluimers on 2016/08/05

The Windows 10 installation does not warn you about it but the Fast Startup in Windows 10 will fail with many video cards and display drivers. This happens a lot on older hardware which somehow Microsoft thinks deserves to be auto-upgraded to Windows 10.

Usually you will see this when – after a previous shutdown – you boot and you get a black screen with a mouse cursor.

If you wait long enough, the machine will go to sleep and if you un-sleep it by pressing the spacebar most of the times everything will be fine.

The actual solution that works most of the time is to disable Fast Startup as described in Fast Startup – Turn On or Off in Windows 10 – Windows 10 Forums.

Sometimes there are other solutions which you can see in the below video.

–jeroen

Read the rest of this entry »

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