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

windows – .Net WinForm System Beep on a 64 Bit OS – Stack Overflow

Posted by jpluimers on 2015/01/28

Thanks Shay Erlichmen for answering this on SO why the Beep function does not bell the speaker any more on x64 systems:

Beep has been removed as a native function from all x64 platforms (so no managed version of course), there is a connect issue that petition to return it.

We use a different trick to discover servers, we remote eject the dvd drive, and the drive with the tray open is the one were looking for :)

Larry Osterman has a great article about this: What’s up with the beep driver in Windows 7.

In the mean time, the connect issue has been removed as well.

The good news however (if your hardware still has an Intel 8254 compatible PIT in the South Bridge connected to a PC speaker):

Ludwig Ertl wrote the BEEPx / BeepXP driver that interfaces to the speaker through the 8254. Note it has a (German) changelog, but you can respond in English.

–jeroen

via: windows – .Net WinForm System Beep on a 64 Bit OS – Stack Overflow.

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

Note to self: When sending our xml schema to a third party, make sure to…

Posted by jpluimers on 2015/01/27

From a nice G+ thread:

Maximum line length for XML, oh boy that is just brilliant!

–jeroen

via: Note to self: When sending our xml schema to a third party, make sure to….

Posted in Development, XML, XML/XSD | Leave a Comment »

Hmmm. Castalia for Delphi: Castalia for Delphi is not currently available. Thank you for your interest. – via Uwe Raabe – G+

Posted by jpluimers on 2015/01/27

Thanks Uwe Raabe for sharing

This sounds interesting: http://www.twodesk.com/castalia/thanks.html

</rumours on>

As the page then read:

Castalia for Delphi is not currently available. Thank you for your interest.

Copyright © 2013 Jacob Thurman

–jeroen

via: This sounds interesting: http://www.twodesk.com/castalia/thanks.html.

Posted in Castalia, Delphi, Delphi XE7, Delphi XE8, Development, Software Development | 3 Comments »

CSV libraries for .NET

Posted by jpluimers on 2015/01/27

A few libraries for writing and/or reading CSV files in .NET:

Most of the above links come from these SO questions:

Together with the links from my previous CSV post If you think CSV is easy; think again that should get everyone going.

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, CSV, Development, Software Development | Leave a Comment »

Skiplagged: book flights, and skip legs to make them cheaper – via: Jan Wildeboer, Brandon Downey, Bloomberg

Posted by jpluimers on 2015/01/26

I remembered about skipping flight legs, so was glad to find back this post where Jan Wildeboer has shared:

“Actually, it’s about ethics in ticket booking” ;-)

Brandon Downey originally shared:

Honestly, given how poorly airlines treat their customers, an argument that “Once you buy a ticket to a destination, you agree to travel all the way there and it would be unethical to do otherwise” is pretty laughable — basically, “it is unethical to find loopholes in our broken business model.” Also, great marketing for skiplagged.com.

United, Orbitz Sue Travel Site Over ‘Hidden City’ Tickets:

United Airlines Inc. and Orbitz Worldwide LLC sued to prevent the travel website Skiplagged.com from helping consumers buy what the companies call improper “hidden city” plane tickets that undercut their sales.

–jeroen

via: Honestly, given how poorly airlines treat their customers, an argument that….

Posted in LifeHacker, Power User | Leave a Comment »

More secure SSH: hardening both client and server. And use Tor

Posted by jpluimers on 2015/01/26

Thanks Jan Wildeboer for sharing a link to https://stribika.github.io/2015/01/04/secure-secure-shell.html.

That describes how to harden your secure shell by configuring the most secure algorithms for it.

Related: [WayBack] encryption – What are ssh-keygen best practices? – Information Security Stack Exchange

–jeroen

via More secure SSH. https://stribika.github.io/2015/01/04/secure-secure-shell.html.

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Power User, SSH, TCP | Leave a Comment »

NotePad++: Text Editor which shows \r\n (via: Stack Overflow)

Posted by jpluimers on 2015/01/26

I hadn’t monitored Notepad++ in a very long time, so I was glad that User Thomas Owens mentioned that it can show you the CR and LF codes:

With Notepad++, you can show end-of-line characters. It shows CR and LF, instead of “\r” and “\n”, but it gets the point across. […]

To use Notepad++ for this,

  1. open the View menu, open the Show Symbols slide out, and
  2. select either “Show all characters” or “Show end-of-line characters”.

I needed this because many development environments get confused when you have text files using a mix of line-break kinds (in my case LF, CR and CRLF).

–jeroen

via Text Editor which shows \r\n? – Stack Overflow.

Posted in *nix, Apple, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User, SuSE Linux, Windows | Leave a Comment »

Sudoku Solving Techniques

Posted by jpluimers on 2015/01/23

Interesting: some Links for the less than trivial Sudoku Solving techniques.

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

RosettaCode: cool way to improve your coding skills

Posted by jpluimers on 2015/01/22

Wow: I feel like having lived under a stone for 8 years, as RosettaCode has been alive since it was founded in 2007 by Mike Mol.

The idea is that you solve a task and learn from that, or learn by seeing how others have solved tasks or draft tasks.

So in a sense it is similar to the Rosetta stone: it has different languages phrasing the same tasks.

There are already a whole bunch of languages on RosettaCode (of which a few are in the categories below), and you can even suggest or add your own languages.

When you want to solve tasks, be sure to look at the list unimplemented tasks by language that leads to automatic reports by language (for instance two of the languages I use most often: C# and Delphi).

I’m sure there are lots of programming chrestomathy sites, even beyond the ones, and it feels very similar to programming kata sites.

–jeroen

Posted in .NET, APL, Awk, bash, Batch-Files, C, C#, C++, COBOL, CommandLine, Delphi, Development, Fortran, FreePascal, Java, JavaScript/ECMAScript, Lazarus, Object Pascal, Office VBA, Pascal, Perl, PHP, PowerShell, PowerShell, Prism, Scripting, sed script, Sh Shell, Software Development, Turbo Prolog, VB.NET, VBS, VBScript, Visual Studio and tools, Web Development | Leave a Comment »

A few nice G+ threads on Castalia and Usertility being acquired by Embarcadero, and Jacob Thurman staying active on them

Posted by jpluimers on 2015/01/21

Uwe Raabe was the first one to suggest that it might just be so that Castalia got acquired by Embarcadero. In the thread rumoured Usertility might as well been, or that Jacob Thurman might be responsible for IDE stability.

So today

These seem to be the hard facts:

  • Castalia and Usertility are now owned by Embarcadero
  • Jacob Thurman keeps involved but it is unclear if he is employed by Embarcadero

–jeroen

Posted in Castalia, Delphi, Delphi XE8, Development, Software Development | 3 Comments »