Archivos para 29 febrero 2012
[# VS11] Available installers for Visual Studio 11 Beta (you hurt the eyes of both # METRO)
Publicado por elbruno en EnglishPost, Visual Studio 11, Windows 8 el 29 febrero, 2012
Hi,
In addition to Windows 8 that has been the great novelty of today, those that we are dedicated to the development of applications already have the possibility of downloading the new Visual Studio 11 Beta. Before we proceed to simply note the following
I HOPE YOU LIKE THE METRO INTERFACE, BECAUSE NOW IT REALLY UP IN DREAMS!!!!
Having said that, already can go to the official site of Visual Studio 11downloads,http://www.microsoft.com/visualstudio/11/en-us/downloads. Where we see the web installers of Team Foundation Server and Visual Studio Ultimate.
Metro 1
If we instead want the standalone installers (or Satan alone as telling my boss), then select that option and… more metro!
Metro 2
And I tell you that you well not, in any option you select > subway > subway > subway > Metro > Metro > Metro > Metro > ![]()
Come on that before formatting my already viejuno Windows 8 Developer Preview and install the new Windows 8Consumer Preview, I have a little time of download, interface metro of through.
Greetings @ Home
The Bruno
Downloads: http://www.microsoft.com/visualstudio/11/en-us/downloads
[#VS11] Disponibles los instaladores para Visual Studio 11 Beta (te duelen los ojos de tanto #METRO)
Publicado por elbruno en Visual Studio 11, Windows 8 el 29 febrero, 2012
Buenas,
además de Windows 8 que ha sido la gran novedad del día de hoy, aquellos que nos dedicamos al desarrollo de aplicaciones ya tenemos la posibilidad de descargar el nuevo Visual Studio 11 Beta. Antes de seguir simplemente advertir lo siguiente
¡¡¡ESPERO QUE TE GUSTE LA INTERFAZ METRO, PORQUE AHORA LO VERAS HASTA EN SUEÑOS !!!
Dicho esto, ya podemos ir al sitio oficial de descargas de Visual Studio 11, http://www.microsoft.com/visualstudio/11/en-us/downloads. Donde vemos los web installers de Visual Studio Ultimate y Team Foundation Server.
Metro 1
Si en cambio queremos los instaladores standalone (o satán alone como les decía un jefe mío), pues seleccionamos esa opción y … más metro !!!
Metro 2
Y ya te digo que no te salvas, en cualquier opción que selecciones >Metro >Metro >Metro >Metro >Metro >Metro >Metro > ![]()
Vamos que antes de formatear mi ya viejuno Windows 8 Developer Preview e instalar el nuevo Windows 8 Consumer Preview, tengo un tiempito de descarga, interfaz metro de por medio.
Saludos @ Home
El Bruno
Descargas: http://www.microsoft.com/visualstudio/11/en-us/downloads
[# TFS2010] HowTo: Configure a Build to publish debug symbols
Publicado por elbruno en EnglishPost, HowTo, Team Build 2010, Visual Studio 2010 el 28 febrero, 2012
Hi,
I’m going to aim for but I always forget. In this case, my little set of neurons forget it is advisable to take a set of automatic testing with Intellitrace active execution of a build, publish the symbols (symbol data in English) that are related to our Build. For this I simply follow the following steps
1. Create a shared directory where the symbols will be stored. For example //DROPSERVER/Symbols
2 Give Full permissions to the user that runs the Build
3. In the Build definition, select the process and edit the same.
4. In the section "Basic" modify
Index Sources = True
Path to Publish Symbols = Share created for symbols
Ready!
Greetings @ Home
The Bruno
Source: http://msdn.microsoft.com/en-us/library/hh190722.aspx
[#TFS2010] HowTo: Configurar una Build para publicar symbols
Publicado por elbruno en HowTo, Team Build 2010, Visual Studio 2010 el 28 febrero, 2012
Buenas,
me lo voy a apuntar porque sino siempre me olvido. En este caso, mi escaso set de neuronas se olvidan de que para tener un set de pruebas automáticas con Intellitrace activo en una ejecución de una build, es recomendable publicar los símbolos (symbol data en inglés) que están relacionados con nuestra Build. Para esto simplemente sigo los siguientes pasos
1. Crear un directorio compartido donde se almacenarán los símbolos. Por ejemplo //DROPSERVER/Symbols
2. Dar permisos Full al usuario que ejecuta la Build
3. En la definición de la Build, seleccionar el proceso y editar el mismo.
4. En la sección “Basic” modificar
Index Sources = True
Path to Publish Symbols = Share creado para los símbolos
Listo !!!
Saludos @ Home
El Bruno
Fuente: http://msdn.microsoft.com/en-us/library/hh190722.aspx
[# KINECT] Changes in # KinectSdk from Beta 2 to SDK V1.0 (I)
Publicado por elbruno en EnglishPost, Kinect, Visual Studio 2010 el 27 febrero, 2012
Hi,
before that I remain obsolete and while I still participate in the MVP Summit 2012 but virtually come with some of the changes that we have to take into account if we have applications for Kinect to use the Kinect SDK Beta 2 and thought of migrating to Kinect SDK V1.0.
References
Initially we had a reference to Microsoft.Research.Kinect
With the new SDK must resolve the invalid reference and add a new one to Microsoft. Kinect .
Sensor initialization
When we used the Beta 2, we had to define the initialization of the sensor using the Initalize() method and at the same time passed you a series of parameters to initialize camera, depth sensor and detection of skeletons.
1: void InitKinect()
2: {
3: if (Runtime.Kinects.Count == 0)
4: return;
5: kinect = Runtime.Kinects[0];
6: RuntimeOptions = RuntimeOptions.UseDepthAndPlayerIndex |
7: RuntimeOptions.UseSkeletalTracking |
8: RuntimeOptions.UseColor;
9: kinect.Initialize(RuntimeOptions);
10: kinect.DepthStream.Open(ImageStreamType.Depth, 2, ImageResolution.Resolution320x240,
11: RuntimeOptions.HasFlag(RuntimeOptions.UseDepthAndPlayerIndex) ||
12: RuntimeOptions.HasFlag(RuntimeOptions.UseSkeletalTracking) ?
13: ImageType.DepthAndPlayerIndex : ImageType.Depth);
14: kinect.DepthFrameReady += this.KinectDepthFrameReady;
15: }
With SDK V1.0 this is much simpler. I believe that the following code, where only Initializes the depth sensor, is declarative enough as to who understand that the important thing is now in line 6.
1: void MainWindowLoaded(object sender, RoutedEventArgs e)
2: {
3: if (KinectSensor.KinectSensors.Count == 0)
4: return;
5: this.kinectSensor = KinectSensor.KinectSensors[0];
6: this.kinectSensor.DepthStream.Enable();
7: this.kinectSensor.Start();
8: this.kinectSensor.DepthFrameReady += this.KinectSensorDepthFrameReady;
9: }
If we wanted as well as the depth sensor to activate the camera stream and also the recognition of skeletons, the following code is that we have to use. The lines 6, 7 and 8 are the important ones.
1: void MainWindowLoaded(object sender, RoutedEventArgs e)
2: {
3: if (KinectSensor.KinectSensors.Count == 0)
4: return;
5: this.kinectSensor = KinectSensor.KinectSensors[0];
6: this.kinectSensor.ColorStream.Enable();
7: this.kinectSensor.SkeletonStream.Enable();
8: this.kinectSensor.DepthStream.Enable();
9: this.kinectSensor.Start();
10: this.kinectSensor.DepthFrameReady += this.KinectSensorDepthFrameReady;
11: }
In coming posts other examples about some changes from Beta 2 to the Final SDK.
Greetings @ Home
El Bruno
Download: http://www.microsoft.com/en-us/kinectforwindows/develop/overview.aspx
[#KINECT] Cambios en #KinectSdk desde Beta 2 a SDK V1.0 (I)
Publicado por elbruno en Kinect, Visual Studio 2010 el 27 febrero, 2012
Buenas,
antes que me queden obsoletos y mientras sigo participando en el MVP Summit 2012 pero de forma virtual, vamos con algunos de los cambios que tenemos que tener en cuenta si tenemos aplicaciones para Kinect que utilicen el Kinect SDK Beta 2 y pensamos en migrarlas a Kinect SDK V1.0.
Referencias
Inicialmente teníamos una referencia a Microsoft.Research.Kinect
Con el nuevo SDK tenemos que resolver la referencia inválida y agregar una nueva a Microsoft.Kinect.
Inicialización del Sensor
Cuando utilizábamos la Beta 2, teníamos que definir la inicialización del sensor utilizando el método Initalize() y al mismo le pasábamos una serie de parámetros para inicializar la cámara, el sensor de profundidad o la detección de skeletons.
1: void InitKinect()
2: {
3: if (Runtime.Kinects.Count == 0)
4: return;
5: kinect = Runtime.Kinects[0];
6: RuntimeOptions = RuntimeOptions.UseDepthAndPlayerIndex |
7: RuntimeOptions.UseSkeletalTracking |
8: RuntimeOptions.UseColor;
9: kinect.Initialize(RuntimeOptions);
10: kinect.DepthStream.Open(ImageStreamType.Depth, 2, ImageResolution.Resolution320x240,
11: RuntimeOptions.HasFlag(RuntimeOptions.UseDepthAndPlayerIndex) ||
12: RuntimeOptions.HasFlag(RuntimeOptions.UseSkeletalTracking) ?
13: ImageType.DepthAndPlayerIndex : ImageType.Depth);
14: kinect.DepthFrameReady += this.KinectDepthFrameReady;
15: }
Con el SDK V1.0 esto es mucho más simple. Creo que el siguiente código, donde solo se inicializa el sensor de profundidad, es lo suficientemente declarativo como para que se entienda que ahora lo importante está en la línea 7.
1: void MainWindowLoaded(object sender, RoutedEventArgs e)
2: {
3:
4: if (KinectSensor.KinectSensors.Count == 0)
5: return;
6: this.kinectSensor = KinectSensor.KinectSensors[0];
7: this.kinectSensor.DepthStream.Enable();
8: this.kinectSensor.Start();
9: this.kinectSensor.DepthFrameReady += this.KinectSensorDepthFrameReady;
10: }
Si además del sensor de profundidad quisiésemos activar el stream de la cámara y además el reconocimiento de skeletons, el siguiente código es el que tenemos que utilizar. Las líneas 7, 8l y 9 son las importantes.
1: void MainWindowLoaded(object sender, RoutedEventArgs e)
2: {
3:
4: if (KinectSensor.KinectSensors.Count == 0)
5: return;
6: this.kinectSensor = KinectSensor.KinectSensors[0];
7: this.kinectSensor.ColorStream.Enable();
8: this.kinectSensor.SkeletonStream.Enable();
9: this.kinectSensor.DepthStream.Enable();
10: this.kinectSensor.Start();
11: this.kinectSensor.DepthFrameReady += this.KinectSensorDepthFrameReady;
12: }
En próximos posts otros ejemplos sobre algunos cambios desde Beta 2 al SDK Final.
Saludos @ Home
El Bruno
Download: http://www.microsoft.com/en-us/kinectforwindows/develop/overview.aspx
[# VS2010] On LightSwitch and how works internally with their databases
Publicado por elbruno en EnglishPost, LightSwitch, Visual Studio 2010 el 27 febrero, 2012
Hi,
Since a couple of days ago I I am giving a bath of Visual Studio LightSwitch. He may like you or not, but to get you out of a tight spot in a fast CRUD generation, as it is quite powerful. However, when you have a computer with more product trial versions that stable versions, you usually find yourself with errors such as the following.
The first thing I found was at the time of launch my LightSwitch application an error related to the version of SQL Server.
1: Error 67 Sql Server version not supported.
2: 11.00.1440 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets
Of course, the express version of Denali I have installed doesn’t like to LightSwitch. So I decided to change it from Visual Studio configuration: "Tools / / Options"and then in the section"Database Tools / / DataConnections". In my case the option that appeared was ". SQLExpress" and that version of SQL is the 11.
I changed the value for a 10 version of SQL Express that I have installed in local, but also ran the application. The next thing was to go see the execution target. That had the target path in
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets)
Because we see that it has the same code inside. I found several things, but what most caught my attention was that always used a property
$(SqlExpressInstanceName)
that it was not declared anywhere.
1: <!--The Development Database is built in the same location - Bin\Data - for all configurations.-->
2: <BuildSchema Inputs="@(LightSwitchModel)"
3: ProjectPath="$(MSBuildProjectFullPath)"
4: OutputDirectory="Bin\Data"
5: SqlExpressInstanceName="$(SqlExpressInstanceName)"
6: ExternalDataSources="@(ServerExternalDataSources)"/>
7: <!--The _IntrinsicData connection string should be updated to use the SQL Express Instance Name
8: from the LightSwitch Project' Property-->
9: <UpdateDataSourceSection ConfigFile="$(OutDir)\web.config"
10: Name="_IntrinsicData"
11: Key="Data Source"
12: Value=".\$(SqlExpressInstanceName)"/>
So the next thing was to edit the project of LightSwitch. This value is not configurable through any site, unless you edit the project *.lsproj file and in it you can see something similar to the following:
1: <PropertyGroup>
2: <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
3: <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
4: <SchemaVersion>2.0</SchemaVersion>
5: <ProjectGuid>c3800149-599b-4dbc-ba07-190956453c17</ProjectGuid>
6: <OutputType>WinEXE</OutputType>
7: <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
8: <RootNamespace>Application5</RootNamespace>
9: <AssemblyName>Microsoft.LightSwitch.Server.Host</AssemblyName>
10: <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
11: <LightSwitchVersion>v1.0</LightSwitchVersion>
12: <LightSwitchProjectVersion>v1.0</LightSwitchProjectVersion>
13: <Name>Application5</Name>
14: <LightSwitchProjectType>LightSwitch</LightSwitchProjectType>
15: <GenerateManifests>true</GenerateManifests>
16: <SignManifests>false</SignManifests>
17: <BaseIntermediateOutputPath>bin</BaseIntermediateOutputPath>
18: <ApplicationClientType>Desktop</ApplicationClientType>
19: <ApplicationServerType>LocalHost</ApplicationServerType>
20: <RequireSecureConnection>true</RequireSecureConnection>
21: <AuthenticationType>None</AuthenticationType>
22: <ApplicationName>Application5</ApplicationName>
23: <AssemblyVersion>1.0.0.0</AssemblyVersion>
24: <ServiceDefinitionFile>ServiceDefinition.csdef</ServiceDefinitionFile>
25: <ServiceConfigurationFile>ServiceConfiguration.cscfg</ServiceConfigurationFile>
26: <SqlExpressInstanceName>.\sqlexpress</SqlExpressInstanceName>
27: </PropertyGroup>
In my case, I changed the line 26 by the correct value, did a reload of the project and everything worked. But before going a couple of data to take into account
- When you create a project of LightSwitch always take the value configured in Visual Studio. If you change the settings in Visual Studio, this change is not reflected in the draft.
- Both Visual Studio LightSwitch tiempre working with a local sql. And this seems a very simple detail makes the name of the instance in the format ". \INSTANCIA" is invalid. Should be only the name of the instance "Instance"
Good to go with the mega project ![]()
Greetings @ Here
The Bruno
[#VS2010] Sobre LightSwitch y como trabaja con sus bases de datos internamente
Publicado por elbruno en LightSwitch, Visual Studio 2010 el 27 febrero, 2012
Buenas,
desde hace un par de días me estoy dando un baño de Visual Studio LightSwitch. Puede gustarte o no, pero para sacarte de un apuro en la generación de un CRUD rápido, pues es bastante potente. Sin embargo, cuando tienes un ordenador con más versiones de prueba de producto que versiones estables, sueles encontrarte con errores como los siguientes.
Lo primero que me encontré, fue al momento de lanzar mi aplicación de LightSwitch un error relacionado con la versión de SQL Server.
1: Error 67 Sql Server version not supported.
2: 11.00.1440 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets
Claro, la versión express de Denali que tengo instalada no le gusta a LightSwitch. Así que decidí cambiarla desde la configuración de Visual Studio: “Tools // Options” y luego en la sección “Database Tools // DataConnections”. En mi caso la opción que aparecía era “.\SQLEXPRESS” y esa versión de SQL es la 11.
Cambié el valor por una versión 10 de SQL Express que tengo instalada en local, pero tampoco funcionó la aplicación. Lo siguiente fue ir a ver el target de ejecución. Ya que teníamos la ruta del target en
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets
Pues veamos que tiene el código del mismo dentro. Me encontré con varias cosas, pero lo que más me llamó la atención era que se utilizaba siempre una propiedad
$(SqlExpressInstanceName)
que no estaba declarada por ningún lado.
1: <!--The Development Database is built in the same location - Bin\Data - for all configurations.-->
2: <BuildSchema Inputs="@(LightSwitchModel)"
3: ProjectPath="$(MSBuildProjectFullPath)"
4: OutputDirectory="Bin\Data"
5: SqlExpressInstanceName="$(SqlExpressInstanceName)"
6: ExternalDataSources="@(ServerExternalDataSources)"/>
7: <!--The _IntrinsicData connection string should be updated to use the SQL Express Instance Name
8: from the LightSwitch Project' Property-->
9: <UpdateDataSourceSection ConfigFile="$(OutDir)\web.config"
10: Name="_IntrinsicData"
11: Key="Data Source"
12: Value=".\$(SqlExpressInstanceName)"/>
Así que lo siguiente fue editar el proyecto de LightSwitch. Este valor no es configurable por ningún sitio, salvo que edites el archivo de proyecto *.lsproj y dentro del mismo puedes ver algo similar a lo siguiente:
1: <PropertyGroup>
2: <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
3: <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
4: <SchemaVersion>2.0</SchemaVersion>
5: <ProjectGuid>c3800149-599b-4dbc-ba07-190956453c17</ProjectGuid>
6: <OutputType>WinEXE</OutputType>
7: <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
8: <RootNamespace>Application5</RootNamespace>
9: <AssemblyName>Microsoft.LightSwitch.Server.Host</AssemblyName>
10: <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
11: <LightSwitchVersion>v1.0</LightSwitchVersion>
12: <LightSwitchProjectVersion>v1.0</LightSwitchProjectVersion>
13: <Name>Application5</Name>
14: <LightSwitchProjectType>LightSwitch</LightSwitchProjectType>
15: <GenerateManifests>true</GenerateManifests>
16: <SignManifests>false</SignManifests>
17: <BaseIntermediateOutputPath>bin</BaseIntermediateOutputPath>
18: <ApplicationClientType>Desktop</ApplicationClientType>
19: <ApplicationServerType>LocalHost</ApplicationServerType>
20: <RequireSecureConnection>true</RequireSecureConnection>
21: <AuthenticationType>None</AuthenticationType>
22: <ApplicationName>Application5</ApplicationName>
23: <AssemblyVersion>1.0.0.0</AssemblyVersion>
24: <ServiceDefinitionFile>ServiceDefinition.csdef</ServiceDefinitionFile>
25: <ServiceConfigurationFile>ServiceConfiguration.cscfg</ServiceConfigurationFile>
26: <SqlExpressInstanceName>.\sqlexpress</SqlExpressInstanceName>
27: </PropertyGroup>
En mi caso, cambié la línea 26 por el valor correcto, hice un reload del proyecto y todo funcionó. Pero antes de seguir un par de datos a tener en cuenta
- Cuando creas un proyecto de LightSwitch siempre tomará el valor configurado en Visual Studio. Si cambias los settings de Visual Studio, este cambio no se refleja en el proyecto.
- Tanto Visual Studio como LightSwitch tiempre trabajan con un sql local. Y esto que parece un detalle muy simple hace que el nombre de la instancia con el formato “.\INSTANCIA” sea inválido. Hay que poner solo el nombre de la instancia “INSTANCIA”
Bueno a seguir con el mega proyecto ![]()
Saludos @ Here
El Bruno
[# VIDEO] The joy as incentive rather than as a prize, to not suffer by losing me the MVP Summit 2012
Publicado por elbruno en EnglishPost, Personal, Video el 26 febrero, 2012
Good,
yesterday I realized against a wall when trying to travel to Seattle for a problem technical (I prefer describe it as well).However what most caught my attention was the bad customer service that owns IBERIA (if @ iberia) at Terminal 4 of Barajas airport. I won’t go into details so I have made a note of claim, but rather than throw me down the moral I started to find some talks at the TED talk about this same room with family and today.
The following video is really interesting. Speaks among other things about how we can change our State of mind with a little daily exercise of 2 minutes. Not commented thereon nothing more to not give spoilers, but if you’re like me and spend 10 minutes a day for a video of TED, make sure that you will like.
http://video.ted.com/assets/player/swf/EmbedPlayer.swf
Greetings @ Here
The Bruno
[#VIDEO] La alegria como incentivo en lugar de como premio, para no sufrir por perderme el MVP Summit 2012
Buenas,
ayer me di contra un muro al intentar viajar a Seattle por un problema técnico (yo prefiero describirlo así). Sin embargo lo que más me llamó la atención fue la pésima atención al cliente que posee IBERIA (si @iberia) en la Terminal 4 del aeropuerto de Barajas. No voy a entrar en detalles ya que para eso he dejado una nota de reclamación, pero en lugar de tirarme abajo la moral me dediqué a estar con la familia y hoy a buscar algunas charlas en el TED que hablen sobre esto mismo.
El siguiente video es realmente interesante. Habla entre otras cosas sobre como podemos cambiar nuestro estado de ánimo con un pequeño ejercicio diario de 2 minutos. No comento más nada al respecto para no dar spoilers, pero si sos como yo y dedicas 10 minutos al día para un video de TED, este seguro que te gustará.
http://video.ted.com/assets/player/swf/EmbedPlayer.swf
Saludos @ Here
El Bruno






SocialVibe