Thursday, October 30, 2008

Developing Apps for Microsoft Surface: Show me the Code!

Surface is Microsoft's touchscreen technology.

This first video literally develops a basic photo viewing application in under two minutes using XML configuration and the C# language.


PDC Day 1 - Developing for Surface from Dan Waters on Vimeo.


In this second video, the guy codes tells Surface how to react to a particular physical object (painter pallet) by telling Surface its shape, position, and what do do, etc. Then uses this painter color pallet to actually paint things on Surface. It's kinda long, but make sure you watch minutes 3:00 - 4:00 and of course the end of the video.


PDC - Using the Surface SDK to "see" objects from Dan Waters on Vimeo.

Wednesday, October 29, 2008

Prepare your mind for Gears of War 2

Ok, time to get ready for Gears of War 2.... If you haven't watched the Dev Diaries you should really check them out. Here are 3 of them to start....

1. All about Sounds (Can really make a game)


2. A Pixel is Worth 1,000 Words


3. Stars, Gunfire, Drama, Romance


And the cool launch trailer...




Finally, the very cool "Last Day" trailer as we prepare for battle...

Monday, October 13, 2008

GMaven (Groovy + Maven)

I love Groovy and I love Maven but it was a bit of a pain at first to get GMaven working.

To make a long story short, my solution was to use the following parameters:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate \
-DarchetypeGroupId=org.codehaus.groovy.maven.archetypes \
-DarchetypeArtifactId=gmaven-archetype-basic \
-DarchetypeVersion=1.0-rc-3

The real "gem" is having to specify the "2.0-alpha-3" since that's when the generate goal came into practice instead of the old-school "archetype:create." Once this is fixed, you'd be able to just do "archetype:generate." Also, once if the jira passes then you no longer will have to specifry the archetypeVersion, a parameter often missed by n00bs like myself.

G'luck!

Relocating to South America?

I received an email from a friend of mine today interested in relocating to South America and ended up writing a long reply to it. These are just my own opinions but I figured I'd share the email with all of you.

Her email:

"Hi Chris,

I am thinking about relocating to South America in the near
future but I'm not sure where to go.Can you tell me about some of the best places?
I hear Brazil and Peru are very sexual, ia that true?
I'd like to live not far from a beach.
Could I possibly find a job in health care before I relocate? Or should I job hunt once there?
What do you know about Argentina?
Is the cost of living lower there? (south america)
I here you speak Portugese, do they speak English or more Portugese?
How do you like it over there?
I have more questions for you as I think of them ,if thats ok. Please contact me when you can. I hope your family is well."


My Reply:

Languages and Geography
I'm sure you already know, but just in case... In Brazil the language is Portuguese. Everywhere else in South America is Spanish. Argentina has the fastest Spanish that I've ever heard. Oh, and although to us Spanish and Portuguese are very similar (and the fact that they all lived right next to each other on the same continent), they still find it hard to speak one language of the other.

I've only been to Argentina (Buenos Aires) once, so I don't know much. They seem a bit more modern than Brazil, however they still have the weaker currency. This is probably due to big American companies setting up shop in Buenos Aires. The minute you go outside of Buenos Aires, you hit the real Argentina.

Brazil has very very beautiful beaches and climates. People just talk about Rio de Janeiro which is undeniably beautiful, but Rio is in the South, and the further you go North towards the equator the prettier the beaches and climate; Just like in the U.S. the further you go South toward the equator the more beautiful the beaches. For example, I really like the beaches in Salvador, a famous Brazilian city located in the NorthEast (also where I met my wife). Oh, and by the way, I wouldn't move to Rio, there's a civil war going on there between low-salaried corrupt cops, real cops, druglords with gangs, anti-drug ex-cops, pro-drug ex-cops, pliticians, etc. And more often than not, a lost bullet crosses over from that underlying excluded society into "regular" society realizing the neglected problems, yet real problems of that society.

Culture (social, sexual)

Brazil and Peru, and other countries in Latin American are quickly known to be more open, sociable folks. Having been here for a while I can tell there' s much more of an ease to conversation and a willingness for the people here to converse. There' s more physical contact as well such as kissing on each cheek (in Brazil) when greeting, hugging, etc. Sexual contact too, is less discrete but not all willy-nilly either.

There seems to be a stereotypical mixup with Brazil when it comes society here, particularly the women. It's a mixup because some of the things are true and some are not. So everyone knows there is this huge party every year called Carnaval in which there are Samba-dancers, people drinking a lot, more sex than usual, etc. Admittedly, the party is kinda
wild for those few days, but then everything is back to normal. Plus, Carnaval is celebrated differently depending on the city (Salvador carnaval is much different than that in Rio de Janeiro). Most vacationers visit Brazil for the party, then leave. Upon returning to their home-country they spread the experiences of the party and the women there. Judgment has been
put on Brazil as a whole based on a party that lasts just a few days. Kinda like a foreigner visiting the U.S. for Mardi-Gras then leaving.

The negative side of Brazilian culture I find is that they are very "espertinho." That word in some contexts means "clever," however the context in which I'm using it is "slick." Yes, they are very slick, or they "try to get over on you." Not only are Brazilians very socialable in terms of speech, but also in terms of attitude and are not afraid to try and cut corners, make a deal. In other words, they're hustlers. This tends to be a theme in any place where resources such as jobs and money are scarce. It doesn' t mean every brazilian is like this, but still holds true for the culture in general. Any brazilian you speak with will admit this is true. And for those who still deny, just ask them the meaning of "jeitinho brasileiro" ("the brazilian way"), and they'll crack, smile, then tell you the truth.

Job, government, work-society, and the Health Industry
Finding a job here is extremely difficult. Moving from say Atlanta to New York or from California to Chicago has its fair share of challenges, but moving from one city to the next in the same country for Brazilians is much, much harder. It can take months to for them to find a job and at best several weeks. If you are seriously considering moving to Brazil, it's best to have a very secure job lined-up first.

Brazil along with other South American countries are still not first-world countries. It hasn't
been that long since Brazil got out of a dictatorship as well. The society here is still kinda jacked up in terms of the rich-poor divide (no real middle-class here), overpopulated areas, lack of resources, government corruption, high import taxes, etc.

There tends to be a higher-rate of sickness and medical problems in general than in first-world societies and so the Health industry in that respect offers many opportunities. But then while actually on the job you end up suffering from the same things mentioned above. For example, because you cannot import this cool technology that makes it easier to help a patient (due to high import tax), you have to use an old-school, 30year old method to treat the patient while other people in the world enjoy the newer, simpler tools.

Overall advice:
Don't leave the U.S. under any circumstances. LOL, just kiddin'. But seriously, making a living and just living in South America is really difficult and you coming from the U.S. will probably get you blank stares of people trying to figure out why live in South American when most everyone in South America is trying to go live in the United States. If you can get through the bureaucracy and paperwork (that's another story) and don't mind living in a place without all the "goodies" and convenience of a 1st-world country, then you will at least find a nice, cozy place here in South America. The cost of living is not high at all, and there are some very nice deals in many untapped areas where you can buy or build a house close to the beach for cheap.

You should at least vacation to different places before moving there to get a feel. However, I've learned that vacationing to a place and living at that place fully integrated are two completely different experiences. Personally, I'd rather live and work based in the U.S. but have a nice vacation home in Brazil where I can spend a couple months at a time.

I hope this helps.

~= Chris =~

Thursday, October 2, 2008

My EVE-Online Bio



Minmatar - Brutor Tribe

A child of slavery, m0xie set out to get revenge for his ravished home and restore peace to his land. Mercilessly and single-handidly killing all those who opposed, m0xie quickly became popular through fear, a night-breathe roaming through the dark.

With an eager soul and powerful mind, the killing-spree will never end as those next in line gather in ignorance like confused sheep waiting to be slaughtered like a sacrafice to the great unknown we've come to know as EVE.