Archive for category CodePlex
[# VS11] Excellent set of libraries for #WinRT developments (i.e. for # Windows8)
Publicado por elbruno en CodePlex, Visual Studio 11, Windows 8 el 19 mayo, 2012
Buenas,
these weeks we we have been hitting with the development of an application to Windows 8. As I was walking weak physical condition; I I have trained as Rocky in Siberia with 30 minutes of CodeKatas per day, the videos of the Build (which led to tell the truth I have not served much) and other techniques of my trained staff that does not allow me to disseminate.
But as the basis of all developments is still
-20% code
-80% understand the platform on which you work
I found this excellent resource that has given me hours and hours of code reading:
My learning process was similar to the following:
1, choose a problem to solve (for the app that we believe there is enough in the backlog)
2. see how to solve it on WinRT
3 investigate how WinRT components that are below the solution we have implemented
4. a bit of TDD
5 return to step 1
6 refactorizar the code and the working process
Is why this set of classes, controls, etc. I’ve been very well, that they comply with basic rules as classes with consistent names, (well almost everything, etc.), clean code in parts using var (sorry @ J0rgeSerran0@ _PedroHurtado @ eiximenis, what a have mounted ehh?), etc.
If these to start with Windows 8 and underground, then I recommend that you check some of the implementations made, that they are really very well.
Project: http://winrtxamltoolkit.codeplex.com/
Source: http://winrtxamltoolkit.codeplex.com/SourceControl/changeset/changes/13755
Saludos @ Home
El Bruno
[#VS11] Excelente set de bibliotecas para desarrollos sobre WinRT (es decir para #Windows8)
Publicado por elbruno en CodePlex, Visual Studio 11, Windows 8 el 19 mayo, 2012
Buenas,
estas semanas nos hemos estado pegando con el desarrollo de una aplicación para Windows 8. Como yo andaba flojo de estado físico; me he entrenado como Rocky en Siberia con 30 minutos de CodeKatas por día, los videos del Build (que a decir verdad no me han servido mucho) y otras técnicas de mi entrenados personal que no me permite difundir.
Pero como la base de todos los desarrollos sigue siendo
- 20% código
- 80% comprender la plataforma sobre la que trabajas
me he encontrado con este excelente recurso que me ha dado horas y horas de lectura de código:
Mi proceso de aprendizaje era similar al siguiente:
1, elegir una problemática a solucionar (para la app que creamos hay bastantes en el backlog)
2. ver la forma de solucionarlo sobre WinRT
3. investigar como funcionan los componentes de WinRT que están por debajo para la solución que hemos implementado
4. un poco de TDD
5. volver al paso 1
6. refactorizar el código y el proceso de trabajo
Es por eso que este conjunto de clases, controles, etc. me ha venido muy bien, ya que cumplen con reglas básicas como clases con nombres coherentes, código limpio (bueno casi todo, etc.), en algunas partes se utiliza var (lo siento @J0rgeSerran0 @_PedroHurtado @eiximenis, menuda han montado ehh??), etc.
Si estas por empezar con Windows 8 y METRO, pues te recomiendo que revises algunas de las implementaciones que han hecho, ya que realmente están muy bien.
Proyecto: http://winrtxamltoolkit.codeplex.com/
Source: http://winrtxamltoolkit.codeplex.com/SourceControl/changeset/changes/13755
Saludos @ Home
El Bruno
[#KINECTSDK] Kinect Missile Launcher (II): moving the rocket missile launcher
Publicado por elbruno en CodePlex, EnglishPost, KinectSdk, Visual Studio 11 el 23 abril, 2012
Buenas,
In the post yesterday explaining how to work with a HID device. Today we will see how to work with it, sending information to the device.
The first thing we must do is decide that library will use to work with a HID device. In my case I will use one that works pretty well, created by Florian Leitner-Fischer, and that can be downloaded from here.
In the post on the previous link, Florian explains the necessary groundwork about how works its creation. In this post we will do the following:
- Connect to the device
- Validate the connection
- Send a message to move the Lance missiles USB
For this we follow the following steps
1. Create a console application
2. Add a reference to the USBHIDDRIVER library
3 Change the settings so that the application is X 86, rather than AnyCPU
4. Already we have our application list
Next we need to determine the VendorId and ProductId of our application. While we saw in the previous post, the following lines of code show us all HID devices you have connected
1: var getAllDevices = new USBHIDDRIVER.USBInterface("_");
2: getAllDevices.Connect();
3: var devices = getAllDevices.getDeviceList();
4: foreach (var device in devices)
5: {
6: Console.WriteLine("device: " + device);
7: }
When we run the application, we see this output in the console Windows
device: \\?\hid#vid_413c & pid_3012 # 7 & 39484631 & 0 & 0000 # {4d1e55b2-f16f-11cf-88cb-001111000030}
device: \\?\hid#vid_0a81 & pid_ff01 # 7 & b08aa68 & 0 & 0000 # {4d1e55b2-f16f-11cf-88cb-001111000030}
Assuming that our device is the second, the values be thus:
- VendorId = vid_0a81
- ProductId = pid_ff01
If for example move the missile down, we have to pass an array of bytes with 2 elements, zero and two. The code would be as follows:
1: var usb = new USBHIDDRIVER.USBInterface(@"vid_0a81", @"pid_ff01");
2: usb.Connect();
3: var startCMD = new byte[2] {0, 2};
4: // move down
5: usb.UsbDevice.writeDataSimple(startCMD);
Well, if you you’ve downloaded the library of Florian, you see that the writeDataSimple() function does not exist. This is because Florian adds a double validation process to send always "clean" arrays to USB devices.
I am a person who lives to the limit and since I have no fear of the BSOD, create the following function to send messages to the device.
1: public bool writeDataSimple(byte[] bDataToWrite)
2: {
3: var success = false;
4: if (getConnectionState())
5: {
6: try
7: {
8: var myOutputReport = new OutputReport();
9: success = myOutputReport.Write(bDataToWrite, myUSB.HidHandle);
10: }
11: catch (AccessViolationException ex)
12: {
13: success = false;
14: }
15: }
16: return success;
17: }
The previous function avoids validations on the buffer to send to the device and sends directly to the array of bytes. On many occasions this might return us a false or throw an exception not handled, but if we already know that the Lance missile works with a buffer of 2 bytes, because we have it easier.
Now, for this information I returned using the SimpleHIDWrite tool. The same when you select a device shows the number of items must have the input array.
In my case, and knowing that they were 2 bytes to implement buffer writing, because I began to try the method of trial/error and came to the following values:
- 00, 00. Stop
- 00, 01. Down
- 00, 02. Up
- 00, 04. Rotation schedule anti
- 00, 08. Rotation schedule
- 00, 10. It shoots missiles
With this data I already have almost everything to start. But of course, in the way I find that CodePlex is a project that already gives me interaction with the Lance missiles, with the Wii remote, etc. But of course, it doesn’t work the first and I have no place to write why. But they have an implementation of a class Rocket, the truth is that is very well.
So I replaced the component used for connection with the HID, I’ve done a little refactoring and I has been a class with the following structure.
Is now only a little work with KinectSDK and ready!
References:
- http://www.Florian-Leitner.de/index.php/2007/08/03/HID-USB-driver-library/
- http://rocket.codeplex.com
Saludos @ Home
El Bruno
[#TFSERVICE] Team Foundation Service Whitepaper released by ALM Rangers
Publicado por elbruno en CodePlex, EnglishPost, Team Foundation Service el 18 abril, 2012
Buenas,
a few days ago, our friends the ALM Rangers have released an extremely useful guide:
Team Foundation Service Preview
Practical experience from the ALM Rangers
As its name suggests, it is a guide where reflected different experiences of working with TFService by the ALM Rangers.
If you still do not know, the ALM Ranger are a group of people whose specialty is ALM but "on the field", i.e., not talking about height 10000kms, but rather from a point of view quite practical, experience-based. This working group is composed of people from Microsoft, MVPs, partners, etc. It is a fairly diverse group and where there are several conflicting views, as the experiences and requirements of each individual job they are different.
- As well, in this whitepaper (still in beta), we can find different topics such as:
- What is Team Foundation Service?
- Different ways to organize a distributed team
- Why is TFService a service designed for organizations?
- etc.
We are going there that is everything a little, as in apothecary. I have given you a look initial and effectively, there is everything a little. The good news is that what serves me I keep it and the rest,… as well as a one-eyed dog, will leave it aside ![]()
Saludos @ Home
El Bruno
[#TFSERVICE] Team Foundation Service Whitepaper released by ALM Rangers
Publicado por elbruno en CodePlex, Team Foundation Service el 18 abril, 2012
Buenas,
hace unos días, nuestros amigos los ALM Rangers han liberado una guía extremadamente útil:
Team Foundation Service Preview
Practical experience from the ALM Rangers
Como su nombre lo indica, es una guía donde se recogen diferentes experiencias de trabajo con TFService por parte de los ALM Rangers.
Si todavía no los conoces, los ALM Ranger son un grupo de personas cuya especialidad es ALM pero “on the field”, es decir, no hablando a 10000kms de altura, sino más bien desde un punto de vista bastante práctico basado en la experiencia. Este grupo de trabajo está compuesto por personas de Microsoft, MVPs, partners, etc. Es un grupo bastante variado y donde hay bastantes opiniones encontradas, ya que las experiencias y requerimientos de trabajo de cada persona son diferentes entre sí.
- Pues bien, en este whitepaper (still in beta), podemos encontrar diferentes temas como:
- Qué es Team Foundation Service?
- Diferentes formas de organizar un equipo de trabajo distribuido
- Por qué TFService es un servicio pensado para organizaciones?
- etc.
Vamos que hay de todo un poco, como en botica. Yo le he dado un vistazo inicial y efectivamente, hay de todo un poco. Lo bueno, es que lo que me sirve me lo guardo y lo demás, … pues bien como un perro tuerto, lo dejaré de lado ![]()
Saludos @ Home
El Bruno
[# CODEPLEX] Updates for VS11 and TFS11 Integration Platform and MSBuild Extension Pack
Publicado por elbruno en CodePlex, EnglishPost, Team Build 11, Team Build 2010, TFS Integration el 9 abril, 2012
Buenas,
now that we have automatic updates to the Beta of Visual Studio 11 (pending post), there are already several products that are upgrading their capabilities to be compatible with Visual Studio 11 and Team Foundation 11.
A couple of examples are as follows:
- TFS Integration Platform, which on 16 March updated its list of controllers to support integration processes also with TFS 11.
- MSBuild Extension Pack. In this case also include many hotfixs tasks are included to support actions with subversion, etc.
Saludos @ Home
El Bruno
Sources:
[#CODEPLEX] Actualizaciones para VS11 y TFS11 en Integration Platform y en MSBuild Extension Pack
Publicado por elbruno en CodePlex, Team Build 11, Team Build 2010, TFS Integration el 9 abril, 2012
Buenas,
ahora que tenemos actualizaciones automáticas para la Beta de Visual Studio 11 (post pendiente), ya hay varios productos que van actualizando sus capacidades para ser compatibles con Visual Studio 11 y Team Foundation 11.
Un par de ejemplos son los siguientes:
- TFS Integration Platform, que el 16 de marzo actualizó su lista de controladores para soportar procesos de integración también con TFS 11.
- MSBuild Extension Pack. En este caso además de incluir muchos hotfixs, se incluyen tareas para soportar acciones con subversion, etc.
Saludos @ Home
El Bruno
Fuentes:
[# CODEPLEX] Now also supports GIT
Publicado por elbruno en CodePlex, EnglishPost, Source Control el 23 marzo, 2012
Buenas,
Although they have already commented in several places, it is important to highlight the news.
Now CodePlex supports the creation of projects based on GIT.
Seen from the outside does not seem something so important, but if we read between the lines there are 2 interesting things to highlight.
Firstly that this change is not based on a strategic decision of MS but which comes driven by the large number of petitions that performs the communicated. Beware, we must not be naive; This does not mean that now MS begin to do what you say the community, nor to think not not win anything with this change. But it is important to note that include a software of this type within the code for the Microsoft communities management platform is a point which opens up many possibilities.
On the one hand, help to improve the Visual Studio family of products. VS11 and TFS11 are fine, but if we compare the fluidity of work which gives a DCVS as GIT, because no color. Therefore, there is a desire to educate the developers guide to a new way of working (already included in VS) behind this decision.
In addition this change is intended to include in Codeplex to a large set of developers who are currently using GIT for their developments.
Secondly, do not lose sight that MS is incorporating an OpenSource software within its platform. This is not the first time, nor will not be the last, but serves as a reference to give an idea of how powerful that is the idea of OpenSource for teams of MS. something that from the outside is not seen much, already only takes into account the facet sell canned software that has Microsoft.
In the long run we will see if it ends up being a copy from GitHub or other more advanced sites based on GIT. What is important not to lose sight of, is that CodePlex not only offers support for a Source Control repository, but it adds several possibilities more… there I leave.
Saludos @ Home
El Bruno
Sources:
http://blogs.msdn.com/b/bharry/archive/2012/03/22/the-future-of-CodePlex-is-bright.aspx
[#CODEPLEX] Ahora con soporte a GIT
Publicado por elbruno en CodePlex, Source Control el 23 marzo, 2012
Buenas,
si bien ya lo han comentado en varios sitios, es importante destacar la noticia.
Ahora Codeplex soporta la creación de proyectos basados en GIT.
Visto desde afuera no parece algo tan importante, pero si leemos entre líneas hay 2 cosas interesantes a destacar.
En primer lugar que este cambio no esté basado en una decisión estratégica de MS sino que viene impulsado por la gran cantidad de peticiones que realiza la comunicada. Cuidado, no seamos ingenuos; esto no significa que ahora MS comience a hacer todo lo que diga la comunidad, ni tampoco que no piensen ganar nada con este cambio. Pero si es importante tener en cuenta que incluir un software de este tipo, dentro de la plataforma de gestión de código para las comunidades de Microsoft es un punto que abre muchas posibilidades.
Por una parte, ayudar a mejorar los productos de la familia de Visual Studio. VS11 y TFS11 están muy bien, pero si comparamos la fluidez de trabajo que da un DCVS como GIT, pues no hay color. Es por esto, que detrás de esta decisión hay un deseo de formar a los developers orientándolos a nueva forma de trabajo (que ya se incluirá en VS).
Además con este cambio, se pretende incluir en Codeplex a un gran conjunto de developers que actualmente utilizan GIT para sus desarrollos.
En segundo lugar, no perdamos de vista que MS está incorporando un software OpenSource dentro de su plataforma. Esto no es la primera vez, ni tampoco será la última, pero sirve de referencia para dar una idea de lo poderosa que es la idea de OpenSource para los equipos de MS. Algo que desde afuera no se ve mucho, ya sólo se tiene en cuenta la faceta de vender software enlatado que posee Microsoft.
A la larga veremos si termina siendo una copia de GitHub o de otros sitios más avanzados basados en GIT. Lo que es importante no perder de vista, es que CodePlex no solo ofrece soporte para un repositorio de Source Control, sino que agrega varias posibilidades más … ahí lo dejo.
Saludos @ Home
El Bruno
Fuentes:
http://blogs.msdn.com/b/bharry/archive/2012/03/22/the-future-of-codeplex-is-bright.aspx
[# TFS2010] Practical Kanban Guidance
Publicado por elbruno en Team Foundation Server, ALM, CodePlex, Team Foundation Server 11, Kanban, EnglishPost el 5 marzo, 2012
Good,
ALM Rangers team is increasingly active. Through this post, I find the projects that are in beta (that now not take more that Beta, RC, RTM, etc.) of a project for the introduction of Kanban for Team Foundation Server.
If you don’t know Kanban, the video I mention in this post is an excellent introduction to the subject and obviously, but 20 pages you I spend in my book "working as a team with Visual Studio ALM" also give a Kanban for TFS approach.
But well, what it was. ALM Rangers team is closing a project called "Practical Kanban Guidance" which aims to illustrate the use of this methodology in TFS with the following contents (shot of codePlex)
- Guidance contains scenario based practical guidance, frequently asked questions and quick reference posters
- Hands-on Lab contains the HOL that provides a walkthrough of the planning, based on the guidance
- HOL Package includes a setup part which prepare and configure your environment for this lab
- HOL Videos which showcase the hands-on labs and guidance in quick 5-10 min videos
I have already "follow" mode and will closely follow the progress of this project.
Saludos @ Home
El Bruno




SocialVibe