Hacked cars

In this my old post i was in some manner seeing the future.
Now i’m reading this article: Marchionne, are you aware?
We will see an Cisco firewall inside our car dashboard?
Anyway the problem is very hot: with my old 80’s cars (an ugly sample..) there weren’t these problems..

Categories: Uncategorized

New record

running at 60 km/h, same road with some trees, 18:30

Categories: Uncategorized


No, not Saudi Arabia, but northern Italy..and no, the car was not leaved in a parking exposed to the sun: the temperature was encountered along the road.
17-07-2015 15-34-59

Categories: Uncategorized

Eclipse Luna memory problem

Some weeks ago i fought a battle with Eclipse.
I made updates to my PlaceMinder project , updating the Android SDK and some code changes.
The project was working before, now trying to launch on the device (anyone was ever able to get the emulator working?…) errors about “heap space” and “out of memory”.
I was not understanding , because another project even more complex, in another workspace, was working after the SDK updates.
The solution was to modify the eclipse.ini, by changing the last lines from the default values to:


And my app was finally installed on the device.

Categories: Android

Angular modal problem after update

I was already prepared to the head banging.
I had a .NET 4.5 project with Angular 1.3.15, reopening for some update i tried an NuGet update and voilà, Angular 1.4.1 available: but no updates for Bootstrap, still 3.3.4 … troubles to the horizon…
The site is essentially an employees management, with add update delete done using modal windows.
After the update apparently all still working until i tried an update (of a record).
The original code was

modalInstance = $modal.open({
    templateUrl: 'app/partials/formemployees.html',
    controller: 'modalController',
    backdrop: "static",
    keyboard: true,
    modalFade: true,
    scope: $scope

With this code the modal window was appearing, inside the window no problem for fields editing, but after closing the window by the ESC on the keyboard or the Save button, on the browser canvas a grey background was covering everything: only after an F5 the site was working.
The problem seems related to the BootStrap version not aligned to Angular for the “modal” part; after some struggle i found that the problem is relative to the animation feature.
By adding the clause “animation: false, ” :

modalInstance = $modal.open({
    animation: false,
    templateUrl: 'app/partials/formemployees.html',
    controller: 'modalController',
    backdrop: "static",
    keyboard: true,
    modalFade: true,
    scope: $scope

Now the modal is working correctly.

WinPhone 8.1 vm failed to start

I’m trying Visual Studio 2015 in a Vmware Workstation virtual machine , and trying to start an WinPhone 8.1 Hub application i got:

The emulator is unable to verify that the virtual machine is running:
Something happened while starting a virtual machine: 'Emulator WVGA 4 inch 512MB.test' failed to start. (Virtual machine ID <a guid>)

The Virtual Machine Management Service failed to start the virtual machine 'Emulator WVGA 4 inch 512MB.test' because one of the Hyper-V components is not running (Virtual machine ID <a guid>).

After some head scratching i found that in the Vmware vm processor configuration must be enabled “Virtualize Intel VT-x/EPT or AMD-V/RVI”

And in the .vmx file must be added the line

hypervisor.cpuid.v0 = "FALSE"

Windows 10

This morning i started my Windows 8.1 pc , and noticed a new icon on the status bar:

What is, i thinked..and opening:

This guided wizard essentially requests your email.
Since the Windows 1.0 times (the one where the windows were not overlappable… 30 years ago, i used it!) it is the first free Windows major upgrade.

Categories: Uncategorized

Dynamic parameters in SQL IN

The SQL IN is one of the universally implemented keyword, for example


This is the common syntax, but sometimes is requested to have the IN list dynamic.
In Microsoft Sql Server could be used an function, for example

CREATE FUNCTION [dbo].[GetStates](
    RETURNS @arrValues table(val char(2))
   INSERT INTO @arrValues (val) VALUES ('IL')
   INSERT INTO @arrValues (val) VALUES ('AR')

Then can be used

SELECT * FROM Customers WHERE STATE IN (SELECT val FROM dbo.GetStates())

Unfortunately (still searching for an workaround…) this syntax cannot be used in grouping , for example

   WHEN [groupcomponentcode] IN ( '1004', '1003', '1005', '1063' ) THEN Amount 
   ELSE 0 
END)  AS EngineGroup

is working , instead

   WHEN [groupcomponentcode] IN (SELECT val FROM dbo.SomeFunc()) THEN Amount 
   ELSE 0 
END)  AS EngineGroup

gives the error
‘Cannot perform an aggregate function on an expression containing an aggregate or a subquery’

Categories: SQL Server

Azure Tools 2.6 troubles

Some days ago i noticed that was available the 2.6 update of Azure Tools for Visual Studio 2013, and obviously..immediately installed.
Until now i was working on Windows Phone 8.1 projects, then i decided to try an Universal App, and ..error: “No exports were found that match the constraint…”, with a plethora of other error messages; project not created.
After some struggle, the solution : the uninstallation of the Azure Tools 2.6 for Vs 2013, leaving the previous versions 2.5 and 2.4 installed.
Featured image
After that, the creation of an Universal App is successfully.
I’m using Windows 8.1 in English, Visual Studio 2013 in English, both with the latest updates: how is possible that in Microsoft no one got this error while trying to create an Universal App, the new Microsoft Verb ?

Categories: Azure

Get every new post delivered to your Inbox.