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

What to change after a fresh Delphi (RAD Studio) installation…

Posted by jpluimers on 2017/05/23

Reminder to self: document what I change, and borrow some from this interesting thread:

Just curious, what do you change after installing Studio? During all these (21!) years, the only thing I change is the editor keyboard settings to… – David Berneda – Google+

–jeroen

Posted in Delphi, Development, Keyboards and Keyboard Shortcuts, Power User, Software Development | Leave a Comment »

Arjen Lubach in NTR | College Tour 

Posted by jpluimers on 2017/05/22

youtube-dl https://www.npo.nl/college-tour/12-05-2017/VPWON_1267708

Werving:

Read the rest of this entry »

Posted in LifeHacker, Power User, SocialMedia, YouTube | Leave a Comment »

“Btrfs rw-snapshots and noatime considered harmful” …

Posted by jpluimers on 2017/05/22

I’ve mounted nearly everything with noatime, doesn’t make sense most of the time to have atime updated.

Source: “BTRFS and find considered harmful?” Thats the headline a colleaqe suggested -…

–jeroen

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

~650-thousand accounts exposed because of md5 hashing: Font sharing site DaFont has been hacked, exposing thousands of accounts | ZDNet

Posted by jpluimers on 2017/05/19

Over 98 percent of the passwords were cracked, thanks to the site’s poor password security.

No this isn’t just the hacked font

Source: [WayBackFont sharing site DaFont has been hacked, exposing thousands of accounts | ZDNet

via: [Archive.isFont Sharing Site DaFont Has Been Hacked, Exposing Thousands of Accounts – Slashdot

–jeroen

Read the rest of this entry »

Posted in Encryption, Hashing, md5, Power User, Security | Leave a Comment »

WannaCry — Decrypting files with WanaKiwi + Demos – Comae Technologies

Posted by jpluimers on 2017/05/19

[Archive.is] Working Windows XP & 7 demos. #FRENCHMAFIA: WannaCry — Decrypting files with WanaKiwi + Demos – Comae Technologies:

TL;DR;

DO NOT REBOOT your infected machines and TRY wanakiwi ASAP*!

*ASAP because prime numbers may be over written in memory after a while.

Via:[WayBack] A French researcher says he’s found a tool that could help some fraction of victims running that older Windows version. Just don’t reboot!  WannaCry Ransomware Victims Might Have Some Hope–If They’re on Windows XP | WIRED

–jeroen

Posted in Power User, Windows, Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

People have been asking about the fact I use old Xeon boxes for my development…

Posted by jpluimers on 2017/05/19

An interesting discussion on Xeon based 2nd hand systems that are way cheaper than new ones:

[WayBack] People have been asking about the fact I use old Xeon boxes for my development platforms (and indeed more). I want to cover what I use, why I use them, … – Alan Cox – Google+

I still run a couple of HP XW6600 workstations with [WayBackE5420 processors (of the [WayBackHarpertown family) to host VMs on. Works splendid.

–jeroen

Source: [People have been asking about the fact I use old Xeon boxes for my developmen…1919

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

ESXi 4.0.0.Update01-208167 Whitebox on HP xw6600: success!

Posted by jpluimers on 2017/05/19

Boy, I totally forgot to post this. It runs also ESXi 5.x; I’ve not tried more recent ESXi versions as they just run fine.

As a follow-up on [WayBackVMware Communities: ESX 3.5 Whitebox on HP xw6600 …, I have installed ESXi 4.0.0.Update01-208167 on a HP XW6600 workstation.

Good news: the generic ESXi 4 installation works, whereas the HP specific ESXi 4 fails (you get a nice purple screen of death).

[WayBackhttp://www.vm-help.com//esx40i/esx40_whitebox_HCL.php

–jeroen

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Hardware, HP XW6600, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

Wow, this parses in Delphi: `property Foo: string index 0 string read GetFoo;`

Posted by jpluimers on 2017/05/18

Quite a few interesting entries got posted after I published this compiler glitch:

Wow, this parses:

property Foo: string index 0 string read GetFoo;

Note the extra “string”.

Found this in an old piece of code so it must have been uncaught by the compiler for quite a while.

– Jeroen Wiert Pluimers – Google+

Some:

property DepartmentName: string index 0 program library uses unit interface string class read GetCustomDataX;

property Foo: string index 0 unit if library uses unit do not inline file else raise object if is nil read GetFoo;

–jeroen

Posted in Delphi, Development, Fun, Software Development | 2 Comments »

Anders Hejlsberg on Modern Compiler Construction | Seth Juarez | Channel 9

Posted by jpluimers on 2017/05/18

One of those “must watch” videos if you are remotely or more interested in how compilers influence our day to day coding activities.

The Red Dragon Book, first edition: Compilers. Principles, Techniques and Tools.

The Red Dragon Book, first edition: Compilers. Principles, Techniques and Tools.

It starts out with referring to the Dragon Book (well, actually the first edition of the Red Dragon Book, as there are three) describing the compilers as having front-ends consisting of a Lexer, Parser and Type Checker and back-ends consisting of Code Generator and Emitter. A full compilation is going through all five stages and there is an increasing cost using these traditional stages when going from syntax highlighting via collapsible regions to red squiggles and code completion will need to go further along those stages taking an increasing time – like seconds or even longer – whereas the user experience requires responses in ~ 100 milliseconds where his code might not even compile in the first place.

Then Anders goes on describing Roslyn, TypeScript and Compiler API JSON interfaces to them so you can run them as a service and keep compiler state, rebuilding just enough of the state on source code changes. He goes on talking about how Visual Studio, Visual Studio Code, Command-Line Compiler, Sublime Text and other tools (can) use these APIs to interact with the compiler so it keeps state of slowly evolving code of which the tools than can emit what they need.

Anders explains this much better and much more visually than I do: so it’s a highly recommended video.

Read the rest of this entry »

Posted in .NET, C#, Delphi, Development, Software Development | 2 Comments »

Delphi Corner Weblog: New: Velthuis.AutoConsole unit – helps against the “optimised” Embarcadero FastMM fork.

Posted by jpluimers on 2017/05/17

Brilliant:

if it is a console program and it was started any other way (from the Windows Explorer, from the Delphi IDE with or without debugger, from another non-console program), then, before the console window can close, it will display:

Press any key...

Source: Delphi Corner Weblog: New: Velthuis.AutoConsole unit [WayBack]

via:

–jeroen

Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, FastMM, Software Development | Leave a Comment »