| Profilo di AndreFurtaSpace - www.afurtad...FotoBlogElenchi | Guida |
|
19 giugno 50k visits and a gift for you! / 50 mil visitas e um brinde para você!
This blog was born less than 10 months ago. As an evolution of my previous, academic-focused TheSpoke blog, FurtaSpace has a broader line: to share personal experiences and thoughts of our Information Technology Era world, with special focus on software development & engineering, career, games and Microsoft. It was initially in Portuguese, then in English, now it's bilingual. Yesterday, an achievement: FurtaSpace has reached more than 50,000 visits, now with currently about 2000 visits per week! Bah, that's only a fraction of what many ordinary websites receive per day, I know, but anyway I'd like to thank you for your time to not letting these posts go into the vacuum! To express my gratitude, I'd like to give away a 1-year Windows Live OneCare subscription, to one of the first 5 people who comment on ways to improve this blog (topics they would like to see, topics they would not like to see, etc.). These 5 people (or less, if less people comment) will take part in a lottery whose winner will be awarded. PS: I'll use my AFurtado Random Number Generator, simple/stupid yet useful tool I used to employ when giving prizes during my events in Brazil. If you need such a tool, Thanks, The statements or testimonies I offer in this post represent my own personal views. English - Portuguese 15 giugno A typical Microsoft interview question: try it! / Uma pergunta típica de entrevistas para a Microsoft: tente você mesmo!
Here you have a typical question that would be asked to you during a Microsoft job interview: "People in a given building are complaining that an elevator (or lift, as you wish) is taking too long to move people from one floor to another. How would you solve this problem?" Think about this question during the week; I'll come back next weekend to share a great answer from my friend, co-worker and previous Imagine Cup Japan 2005 partner, Igor Gatis. It would be cool if you share your thoughts in the comments as well... []s The statements or testimonies I offer in this post represent my own personal views. English - Portuguese 14 giugno Generating .NET documentation files with Sandcastle / Gerando arquivos de documentação .NET com o Sandcastle
Sandcastle is a tool that extracts XML comments from code and generates documentation files. The tool is very flexible, but unfortunately, since it requires some scripting from the end-user, it may not be intuitive for those who simply want the basic scenario of generating a .chm (help file) from a .NET assembly. I've created a simple .NET app (BuildDoc.exe) together with a hacked Sandcastle script (build.bat) to help you to generate basic documentation from XML comments. You just need to follow the steps below: 1. Comment your code with XML comments (duh!). A warning is that your class should be public, otherwise it won't appear in the generated documentation files. 2. In the project properties Build tab, select the option XML documentation file. Now when your solution is built, a .xml file with the name of your .NET assembly will be generated as well, containing the documentation. 3. Download Sandcastle. 4. Create a new folder in the c:\Program Files\Sandcastle\Examples folder to be used temporarily for the documentation generation. For example, call it "TestDoc". 5. Copy your .NET assembly and its .xml file to the TestDoc folder. 6. Copy my BuildDoc.exe program and build.bat script (get these files here) to that same TestDoc folder. If Sandcastle in your machine is installed in a folder other than c:\Program Files\Sandcastle\, change this twice in the build.bat file. 7. Open a command prompt session. If running Vista, use elevated privileges. 8. Go to TestDoc folder and then run BuildDoc <AssemblyName>.dll. 9. Wait for the generation process to happen. It may take a few minutes. 10. Your generated documentation will be at TestDoc\Output\<AssemblyName>.chm: If you want more control in the generation process, you can do further hacking in my script and other Sandcastle scripts. For example, you can change the generation style from "vs2005" to "hana". I'll leave this as an exercise to the reader. ;) []s The statements or testimonies I offer in this post represent my own personal views. English - Portuguese 12 giugno Testing automatic translation / Testando tradução automática
Sometimes machines do far a better job than humans, right? Perhaps translating this blog may be one of these jobs. This is the first post in which I'm using a "robot" called Machine Translation Bot to translate my blog posts. The father of the creation is Helvecio Ribeiro, a brazilian co-worker at Microsoft. The bot is actually a Live Writer plug-in and requires very less effort to adjust any remaining mistakes. Let's give it a chance! []s The statements or testimonies I offer in this post represent my own personal views. English - Portuguese 07 giugno The Pale Blue DotPlease think about this...
Have a nice weekend! []s
-- AFurtado
The statements or testimonies I offer in this post represent my own personal views. I am speaking for myself and not on behalf of my employer, Microsoft Corporation. Gadgets, ActiveX and x64 machinesI created an ActiveX component using C#, adding the ComVisible(true) attribute to the assembly and enabling the "Register for COM Interop" option in the Build tab of the project properties pages.
Then I was trying to make a Sidebar gadget to consume it, using something in its javascript code like: var myActiveX = new ActiveXObject("Namespace.ClassName").
After two days with no clue why my gadget was not being able to see the ActiveX, I was finally able to find the cause: my machine is a x64 machine and requires a different process:
1. Setting the target platform as x64 in the project properties build tab 3. And here comes the big trick: registering the assembly for COM interop manually. But a 64-bit version of RegAsm.exe should be used for this: the one located at c:\windows\Microsoft.NET\Framework64. 4. [added 13/Aug/2008]: Register the assembly in the global assembly gache using .NET's gacutil -i <assemblyName> command. It's not the first time 64-bit machines give me development headaches! This one should be called a nightmare, actually. []s
-- AFurtado
The statements or testimonies I offer in this post represent my own personal views. I am speaking for myself and not on behalf of my employer, Microsoft Corporation. 06 giugno Gyroscopic pool tableThat's lovely to see technology working to improve game experience (digital or not). This video shows a pool table, in a cruise, that is always level due to a gyroscope.
[]s
-- AFurtado
The statements or testimonies I offer in this post represent my own personal views. I am speaking for myself and not on behalf of my employer, Microsoft Corporation. 05 giugno City Rain - Brazilian XNA game and Imagine Cup 2008 finalistCity Rain is the XNA game representing Brazil at the Imagine Cup France 2008 world finals, in Paris. City Rain have already won the second place in the 2nd XNA Challenge Brazil, of which I was one of the judges.
At that time, what impressed me the most was the fact that the game presents a creative mix between two different styles: (city) pieces fall down as in Tetris, while they should be properly put together as in Sim City. The graphics are cute and remind me of nice "pixel art" work.
I believe that the environment-specific features of the game (such as properly disposing city garbage) makes it unique, especially for this year's Imagine Cup theme. On the other hand, I personally dislike some of the Sim City "generic" elements which were added to the game, such as violence or disasters like earthquakes (IMHO I believe they could be changed by more environment-specific stuff which would be better aligned to the main theme). But the balance in general is very positive.
It seems the game is available for download in its website. If you are only curious about how it looks like, check the video below:
[]s
-- AFurtado
The statements or testimonies I offer in this post represent my own personal views. I am speaking for myself and not on behalf of my employer, Microsoft Corporation. 04 giugno Tip of the week: Office Labs Community ClipsIf you are looking for a free Camtasia-style screen/audio recording solution, you should try the Community Clips, by Office Labs. The installation takes seconds and just after that the tool is displayed as an icon near to the system clock, and can be easily launched to record any window or region of the screen:
Other interesting feature is the fact that you can email or upload the recorded video to Soapbox when you're done. Integration with Office applications is an extra and also interesting case you want to create help videos to the community:
Give it a try!
[]s
-- AFurtado
The statements or testimonies I offer in this post represent my own personal views. I am speaking for myself and not on behalf of my employer, Microsoft Corporation. |
|
|