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,729 other followers

Archive for January 29th, 2014

delphi – With a class operator is an implicit typecast to itself allowed? – Stack Overflow

Posted by jpluimers on 2014/01/29

In the series “interesting stuff you can do with Implicit operators”:Ā delphi – With a class operator is an implicit typecast to itself allowed? – Stack Overflow.

Be careful though, as Implicit assignment will allow more code paths to the compiler than you expect at first sight (:

–jeroen

Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | Leave a Comment »

.NET/C#: fun with enums and aliases part 2

Posted by jpluimers on 2014/01/29

In theĀ .NET/C#: fun with enums and aliases part 1Ā you saw that an enumerated type can specify an underlying type.

The underlying type is limited to a strict set of built-in C# types: , so you cannot use a CTS type for it.

So you might think that you can only define enumeration values by integer constant like this:

namespace BeSharp
{
    enum TwoState
    {
        False = 0,
        True = 1,
    }
    enum ThreeState
    {
        False = 0,
        True = 1,
        Unknown = -1,
    }
}

Well, you can do it like this too, sinceĀ Operations between different enum types are allowed in another enum declaration: Read the rest of this entry »

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

Clean Up And Shrink VMWare Fusion Virtual Machines With Ease | The Webernets

Posted by jpluimers on 2014/01/29

While getting a Retina MacBook Pro screen replacement, I upgraded from VMware Fusion 4 to VMware Fusion 6 and found out it is really easy toĀ Clean Up And Shrink VMWare Fusion Virtual Machines With Ease | The Webernets.

That saved me bout 100 gigabyte across in total.

Sometimes tiny things not much advertised make an upgrade worthwhile.

Note that as usual some restrictions applyĀ (like not having snapshots, having a backup, and the machines needing to be in the “shut down state), but it went really really smooth (probably the SSD helps a lot here).

–jeroen

Posted in Apple, Fusion, Mac, MacBook, MacBook Retina, MacBook-Pro, Power User, VMware | Leave a Comment »

Google Play stores: Tides Near Me and Tide Chart FREE (+TidesnearMe1 ; app.hanitaro.com) do not install outside the USA.

Posted by jpluimers on 2014/01/29

What worked to get Google Voice on my USA cell phone with a European Google account, didn’t work for the top “Tidal” listingsĀ Tides Near MeĀ and Tide Charts FREEĀ (I didn’t bother checking any payed hanitaroĀ app).

Apparently truckloads of developers think it is wise to limit their application to a certain geographic region, excluding all tourists as potentialĀ customers.

Fine: I installed “Florida Tide Times” and it works well, especially the built-in map makes it really easy to use.

I wanted this because we were staying at Sanibel Island (Florida) and wanted to do some low-tide shelling (some love shelling) as that’s the best time to find many and inspect both the living creatures, and collect dead shells.

Lesson: make your app available as widely as possible or you will miss customers.

Back to Google Voice

If you have a USA phone number, you can apply for a free Google Voice number that can make free USA phone calls (and a lot more) from either the Google Voice app, or voice.google.comĀ in your internet browser with intuitive shortcut key support, theĀ Chrome pluginĀ or even from GMailĀ using theĀ https://mail.google.com/mail/?voiceĀ URL. Read the rest of this entry »

Posted in Google, Google Apps, GoogleVoice, Nexus 4, Power User | Leave a Comment »

 
%d bloggers like this: