First Fortnight

Well, we’ve been here for just over two weeks and it has been a whirlwind of getting settled. Adrienne has been putting up great with my desire to get settled in somewhere quickly. In the last two weeks we’ve gotten our bank set up, started renting a great (granny) flat, got our phones hooked up, got my computer set up with a (stand-up!) desk and chair, found a great deal on a new extremely comfortable bed, bought a great sofa for super cheap, bought all the small things that are needed to live somewhere (rice cooker, kitchen utensils, groceries, Costco membership, etc.), and gotten the apartment very livable! Oh, and we bought a fridge, because apparently it is somewhat abnormal to get a fridge with your apartment here. We still have some work to do to get settled in, our living room is still a bit of a mess, but we’ve made awesome progress. It only took us a week to figure out how to get the shower to a reasonable temperature! The hot water heater here is an on-demand electric heater. It gets the water super warm, but it was hard figuring out how to demand the correct amount of hot water. Without further ado, here are the pictures of our place (Adrienne will be posting her own in the coming days, I was just excited to get anything to show):

From the front door

This is the view of our place from the front door. The door you can see in the back on the right is the bedroom door, and the bathroom is straight back.

The kitchen from the bathroom

The opposite side of the kitchen. The bedroom door is barely visible as the first one on the left, and the living room is the second on the left.

Bedroom

The bedroom, with Adrienne packing for a trip to the Blue Mountains (teaser).

Living room

And finally the living room. We’re currently using an inflatable mattress and an extra pad as our sofa. The new one will be arriving on Friday.

Yesterday afternoon we went to see the couch we ended up buying.The Sydney Opera House It was at a place on the other side of town, the easiest way to get there was to take a ferry out of downtown. Before catching the ferry, we gave ourselves enough time that we could explore a little bit. We first went to the Opera house. It is much more beautiful up close than any of the pictures I ever saw conveyed. The roof is covered in differently textured tiles that give it a really awesome look. From a bit of a distance, I actually thought it was a mesh material, and as we got closer the tiles became more apparent. The Opera House's RoofI also didn’t know that the opera house has three distinct buildings on its campus (for lack of a better word), and at least four auditoriums.

Bird Cage Restaurant

We found this really incredible restaurant down an alley that hung bird cages above its outdoor seating. Most were empty.

After the opera house, we continued exploring some of the downtown area. The mix of architecture here is pretty amazing. There is a really cool mixture of steel skyscrapers, five to six story beautifully mason-ed stone buildings, and two to three floor brick or wood house like buildings. I suppose most big cities are like this, there was just something a little more striking about the way it all sits together in Sydney than in other big cities I’ve been in. It seems that there is more contrast in Sydney, the big buildings and small buildings are interspersed throughout and right up next to each other. I’ve really enjoyed the small amount of exploration we’ve done and am looking forward to more.

Luna Park

Here are a couple of pictures of Luna Park from the other side of the harbor.

Zoomed Luna Park

And during the day!

A Point - taken from the Ferry

On the ferry ride we went past this beautiful point jutting out into the Harbor.

We took the ferry out of downtown, which is on the south side of the harbor, to one of the bays on the north side. It was a very pleasant ride with some spectacular views. The harbor coast is amazing, and has a lot of variety. There are the big houses and apartment buildings you would expect to see along a harbor and there are sandstone cliffs. One section reminded me strongly of the idyllic houses in San Francisco: tall, skinny, and squished all together. The harbor itself is also incredibly busy, with boats going all over the place all the time. I am surprised there aren’t more collisions.

Posted in Australia | 3 Comments

Touring some sights

Last Saturday (the 8th) was our last day staying with Viive and Ian before moving into our own place. To celebrate, they took us out to dinner and to see some of their favorite spots around Sydney. We went to dinner at a really great Indian restaurant and shared four dishes between us. I hadn’t completely realized how awesome the food here was going to be, but it makes sense. My theory is that the quality of food is inversely proportional to the distance from its origin, that is: the closer you are to where the food originated the better it is. Australia has amazing Thai and Indian, and I’m sure the Indonesian, Japanese, and Chinese is going to be just as good. We’ve just been so excited about the Thai, that we haven’t gotten around to trying much more.

After dinner, they took us to a beautiful park called Balls Head. It is on the north side of the Sydney harbor with a lot of wonderful trails through the bush. The trails are maintained, but not overly so making the park feel wild even though its in the heart of a large city. There are cliffs and caves and tide pools all carved out of the sandstone that the park sits atop. It makes for wonderful walks with excellent views. Enough talk! More Pictures!

A path through the bush Another path through the bush A beautiful cliff-arch thing

Overhang

Apparently there are all sorts of little caves throughout the park.

Overhang

A view of the same overhang from the other side. The pillar is man-made, probably to keep it from collapsing.

Fire pit cave

And during certain times of year, you can have make fires in the park!

Luna Park's south entranceLuna Park's north entranceAfter the park, we went to a Coney Island-like midway/amusement park called Luna Park. I’ve never been to one, so it was pretty fun to see. Apparently it used to have two roller coasters, but then more residential buildings were built in the area and the residents complained too much. Ahh, the perks of being rich. Currently it has one roller coaster, a ferris wheel, a games midway, bumper cars, a big building labeled “Coney Island”, and some other attractions I can’t remember. Pretty cool place, and it’s along a really beautiful section of the harbor (seems to be a theme…) We didn’t take time to ride anything, but it was fun walking through and seeing it. The iconic Sydney Opera HouseThe park has big brightly lit entrances, so you can’t really miss it, and is across the harbor from the Opera House. Since I was there, I couldn’t help but take a picture.


 I apologize for the layout of the pictures in the post. It’s really hard to get WordPress to do it the way I want it to.

Posted in Australia | Comments Off on Touring some sights

Australia (Oz)

I’ve started a grand adventure: my girlfriend and I have moved to Australia. She will be doing genetics research similar to what she did in the States while I pursue some independent game development. I will be creating a new page (Oz) and separating my blog for this purpose. With all the extra time I will have, I’m going to try to spruce up the place a bit and improve my site. I will try to write to the technical side of my blog more often, but since I am going to be doing a lot of game development these posts may end up focusing more on my games and game design challenges.

We have been in Australia for a week now, and it has been a crazy whirlwind. I have managed to write a few blog posts covering the some of what has happened. The first of those will follow (pre-dated) in 3…. 2…. 1….

Posted in Uncategorized | Comments Off on Australia (Oz)

Miscellany

Our route to Sydney went from Detroit to Los Angles, and then on to Sydney. One of the great things about flying to the south west is that many of the planes go over the Grand Canyon. Adrienne took some pretty great pictures of the view with her phone. I haven’t visited the Grand Canyon on the ground, but I would love to at some point. I’m not sure anything but flying over at 30,000 feet can really give you a correct sense of the Canyons’ scope.
Grand Canyon Grand Canyon Grand Canyon
There seem to be pockets of Sydney where they don’t like street signs. Finding our way around in the first couple days became very hard because most of the streets weren’t labeled! It is really hard to get somewhere when you don’t know what street you’re on or which street you’re crossing. It completely baffles me that they would just fail to label the majority of streets in some of the suburbs. In fact, there would be intersections where the road we were on was labeled, but the road we were crossing was not. There are also areas where all the streets are labeled.
We took the dogs for another walk today, and Adrienne decided to dress up for it:

Adrienne Dressed up Adrienne Dress up and showing off

Park Sign

Warning! You may be stuck between a tiny tree and a wet spot.

During the walk, we found this great sign in the park. The symbols are all things you should look out for while you’re in the park. Some of them are pretty awesome, and I have no idea what some of them mean. My interpretation, from top left to bottom right: (sadly, I cut the first one off) bird strikes, falling branches, falling tress, slippery surfaces, people doing cartwheels up stairs, angry people jumping in holes, snakes and spiders, smelly benches, teeter-totters (they’re sneaky!), freak quicksand storms, cricket, people hovering over bikes, I have absolutely no idea, and lovers (also sneaky).

Posted in Australia | 3 Comments

Chores Chores

I always forget just how much is involved in moving to a new place. Adrienne and I have been dealing with finding housing over the last few days. Sydney’s public transit system is still in its adolescence, and we’re still learning how to use it, so we’ve been doing a lot of walking. Sydney’s housing is a bit more expensive than Ann Arbor is, so I had been preparing myself to settle for something a little closer to what I was used to as a student. Then we found this amazing place. It is what the Australians call a granny flat (I’ve just always called it an apartment), it is a part of a house that has been sectioned off as a separate, stand-alone dwelling. It has two spacious rooms, a kitchen, and bathroom with high ceilings and windows on the east and west sides, so it gets a lot of light [since writing this we’ve moved in to this place, pictures will be coming soon].
Most people here use their phones and 3G/4G USB modems for internet, and for good reason. The bandwidth is much lower than in States, the usage is metered (only allowed so much upload/download a month), the ISPs seem to prefer contracts, and the lines seem to be old and unreliable. Therefore, most people use mobile technology to get to the internet. Some of the same problems apply, but it can be used anywhere, and the connections are a bit more reliable. This is going to take a little getting used to.
It turns out getting money here is way more complex than we expected it would be. I figured I would be able to set up transfers from my bank to here, and just move money whenever I wanted (in fact, in my first call to my bank they said I’d be able to set up online bill pay for this.) I wasn’t going to be surprised when if there would have been some fee involved, but I thought I would have the ability. Turns out my bank is completely useless when it comes to moving money, and it took me three phone calls (thank you Skype) to find out just how bad it is. In the end, it seems like easiest course of action is going to be to mail a check to the States, and then have someone wire the money to our bank. Ugh.
Posted in Australia | 4 Comments

Jet lag? What jet lag?

It’s somewhat difficult to calculate exactly how long I went without more than 2 hours of sleep. We left Michigan around 5PM local time on August 31st and arrived in Sydney around 6:30 AM local time on September 2nd. Sydney is 14 hours ahead of Detroit, so I was mostly awake for 48 hours. When I finally did get in bed, I was asleep before my head hit the pillow, then slept for about 10 hours. I have been pretty much on the correct time zone since! I can’t say if it was the lack of sleep, or the huge shift in time zones that made it so easy to get on the correct schedule, but I can’t complain.
We’ve been running errands around town for the last couple of days. We went to a mall yesterday to deal with getting our phones activated and look into various other small things. In the States I’ve never looked into a non-contract plan, but the one we ended up getting here is remarkably cheap. It doesn’t give us a lot of data, but if we need more, they allow you to add data to your current month at a decent rate. Data is a must have on your phone because free Wi-Fi is much less widely available here [since writing this, we’ve found quite a few places with free Wi-Fi. It seems that availability varies widely suburb to suburb. I haven’t tested any of the other free Wi-Fi we’ve found for speed or reliability yet.] The only place we found wireless was at a McDonald’s, and it was pretty much unresponsive. I was hoping to be able to get out and around town frequently to do work, so this was a bit disappointing to me. I might pick up a USB modem so that I don’t go crazy working at home all the time [and since this writing I have].
We took a walk with Viive’s (pronounced “Viva”, she’s the one letting us stay with her for now) dogs today. It’s fun seeing all of the new plants and wildlife around. Australia has some incredibly beautiful birds and we see them all over the place. They are colored in bright green and red and blue and many of them have loud and obnoxious calls. Even what I’ve been calling Australia’s version of a crow [Australian Magpie] is pretty. We heard a lot of “everything is out to kill you there” when we would tell people we were coming to Australia, but we have yet to see anything truly dangerous. We’ve seen some funnel webs, and Adrienne managed to lure one out today, but we’re fairly sure that the ones we found are mostly harmless and quite skittish.
Funnel Spider

You can see the legs of the spider Adrienne found as it lies in wait down in its funnel home.

Posted in Australia | Comments Off on Jet lag? What jet lag?

We Made It!

We have started our big adventure. We made it into Sydney with no real trouble, the flight was mostly smooth, arrived slightly ahead of schedule, and we breezed through customs without having to say much. However, I did have a small amount of frustration in Detroit before we left. The first TSA agent I encountered didn’t know much about computers and said that I would need to run all of my large computer parts through the X-Ray separately. This meant unpacking an entire carry on bag; I decided that bringing my desktop was going to be considerably cheaper and give me a better overall experience in Australia than buying a new computer. I trusted myself carrying all the parts on a plane more than I trusted the baggage throwers, so they were all in a carry on bag padded with clothing. As I was unpacking, one of the other TSA agents started talking to me about all the parts and how he was planning to build a very similar PC. He then laughed and said I really only needed to run the power supply through separately, which would have meant very little unpacking! In Sydney, they didn’t blink an eye at all of the hardware, hurray!
Wallaby At My Knee

A wallaby exploring the ground near me. These guys had free range of the front portion of the zoo.

We got here with very little actually planned. A woman Adrienne had previously worked with and her husband graciously offered to let us stay with them while we got on our feet. To help us stay awake, they brought us to a small zoo named Featherdale the day we arrived. Compared to most zoos, this one was rather small with and did not have a wide variety of wildlife, focusing on only Australian animals. Featherdale makes up for what it lacks in size with one of the best zoo features ever: it is expected that you will try to feed and pet many of the animals. In fact, in some cases the zoo actively encourages it! There are a ton of wallabies in open pens, so it is not at all uncommon to have one go whizzing past your knees. The keepers take the koalas out to be pet throughout the day, and the pens for the wombat, emu, red kangaroo, and other wallaby have open tops so that guests can reach over them to pet or feed the animals (thankfully, all the animals had off limits areas where they could retreat to if they grew weary of the humans.) Most of the other cages are accessible enough that the animals can be fed or touched. It was a pretty excellent experience, and I ended up petting many wallaby, a couple kangaroo, a couple emu (and having my hand bitten by one), an echidna, and a koala. The only notable disappointment was that there weren’t any platypus! This is a major oversight! How can you have a zoo full of Australian wildlife, and not have a platypus?
Me with Koala

Petting one of the koalas put out by the staff

Adrienne And Echidna

Adrienne petting an echidna that is held by one of the staff.

Adrienne feeding a Cassowary

Adrienne feeding a cassowary some of the provided ice cream cone. In the wild, these are very dangerous birds. They’re not quite as intimidating when they’re waiting for more cone.

Adrienne feeding Emu

Adrienne feeding the Emu. They were so excited for the food they would push up against the fence and lean as far over as they could to get to it.

The most amusing part of zoo trip had to be a particular red tailed black cockatoo. It took a liking to me, and would follow me along it’s cage, using its beak and claws to shimmy along the wall until it caught up to me. I could walk back and forth in front  or around the corners of the cage and it would follow me without fail. When I got out of sight, it would start making a racket. We came back to its cage a couple time, and it would start following me as soon as it saw me. It would also do these displays where it would spread its tail feathers and poof up its head plume for me. I think Adrienne may have felt a bit threatened.
Posted in Australia | 1 Comment

CodeMash 2012

I’m back from CodeMash 2012 and it was great! I want to give a huge thank you to all of the organizers for putting so much time into making such a great conference. I also want to thank them again for the opportunity to speak.

Thank you to all of you who came out to my talk, it was a lot of fun giving it and I hope you took something useful away. I’ve posted my slides and demo code to BitBucket mercurial here:

https://bitbucket.org/benbarefield/kinectcm2012

The HoverBugz code will be available on the SRT website in the next couple of days. If it’s not there yet, check back soon.

Posted in Uncategorized | Comments Off on CodeMash 2012

Answering a Couple Scala.Net questions

Bill Wagner recently asked me a couple of Scala.Net questions after reading my recent blog posts.

What is the debugging story for Scala.Net?

A pdb file is required for debugging in Visual Studio, just like with C#. The pdb file contains all of the debugging symbols that Visual Studio uses to track the run of the program. A pdb file can be generated when running ilasm:

ilasm /PDB <MSIL file>

After running ilasm, open Visual Studio and create a new Blank Solution (found under Other Project Types –> Visual Studio Solutions.) Then right click the Solution and click Add –> Existing Project. Change the filter to show executable files and add the executable generated by ilasm. Now the executable can be run through Visual Studio in various ways; for example, right click the executable –> Debug –> Start new instance.

Before running the executable, make sure that “enable address level debugging” is set by going to Debug –> Options and Settings.

A break point can be set in any of the Scala files associated with the executable by opening the file in Visual Studio (File –> Open) and setting a break point as if it was any other .Net language file.

If you don’t need a using statement, does that mean that all the Scala code goes into the global namespace?

In my Calling Scala from C# post, I said:

… [it] surprisingly doesn’t require any extra using statements

The reason a using statement was not required was because I did not put the Scala code I wrote into a package. If I had, a using statement would have been needed for the package.

For example, if my Scala code has been:

package Speaker
class ScalaSpeaker {
    def Speak() {
        println("Hello");
    }
    def Speak(name: String) {
        println("Hi, " + name + ", glad you could join us!")
    }
}

Then my C# would need “using Speaker;”

Posted in .Net, Scala | Comments Off on Answering a Couple Scala.Net questions

Scala XNA

One of the things that I thought would be a really cool demonstration of Scala.Net was to have an XNA application that was coded completely in Scala. I have mixed news on the subject. I did successfully get an XNA window opened and the game loop running. However, as far as I can tell, all of the ways to draw in XNA rely on generics, which are not yet supported in Scala.Net.

After a short email exchange with Miguel, I was able to get Scala compiling against some of the XNA assemblies. This allowed me to extend the Game class and open an XNA window. The problem I was having was compiling the Scala against multiple dependent dlls. I expected the “Xassem-path”argument to take multiple parameters, one for each of the assemblies. Instead, the solution was to add another –Xassem-extdirs path that contained the XNA assemblies (and mscorlib.) My compile looks like:

<Scala.Net directory>\bin\scalacompiler.exe 
–target:msil 
–Xassem-extdirs <Scala.Net directory>\bin
-Xassem-extdirs <directory with XNA assemblies>
-Xshow-class <Scala class with main defined>
-Xassem-name <Name of MSIL file to output>
<scala files>

After running ilasm on the MSIL file generated, corflags needs to be run on the resulting executable to put it into 32 bit mode. Running the executable opens the game window.

This is certainly a proof of concept; unfortunately that is as far as I could reasonably get. Miguel seems committed to getting Generics support in Scala.Net, so it should be possible to build a full game soon.

Posted in .Net, Scala, XNA | Comments Off on Scala XNA