RSS Feed

Author Archive

  1. Longhorn Startup Camp

    February 4, 2012 by Austin Hallock

    It’s a great time to be a University of Texas student as an entrepreneur. While there was a fair amount of help for student startups before this past year, Bob Metcalfe‘s arrival has sparked a lot of new resources.

    One of those resources is a thing called Longhorn Startup Camp – office space for student startups.  It’s something new this semester, so when I heard about it, I made sure clay.io would have some space. The entire top floor of UT’s administrative building is dedicated to startups. It’s great being surrounded by other smart, driven students who want to make an impact, and I think this atmosphere will be a huge help.

    Here’s a look at our office before and after we got furniture. Joe’s side looks a bit more classy than mine, but hey, at least mine was easier to move in…We might end up getting a couch in there as well. The building was renovated in 2009, so it feels brand new.

    As someone who lives pretty far off campus, it’s certainly nice having a anchor like this downtown, I’ll be spending many days and nights working there. Big thanks to Kyle Cox and Bob Metcalfe for getting us hooked up!


  2. Global Game Jam 2012

    January 29, 2012 by Austin Hallock

    I woke up Friday morning to learn that there was this thing called Global Game Jam happening at UT this weekend – it’s something that sounded right up my alley, so I gave it a shot. Basically you get together, form groups, and develop video games in 48 hours. I chose to fly solo this weekend, since most game developers don’t have a background in JavaScript and I like a challenge.

    This was a  good opportunity to make a game for my new project, which now has a name: clay.io. This game had to be simple because of the time constraint, so I set upon an idea similar to a mini-game from Mario Party. The premise is, you, and 1-3 others are on a platform, and have to duke it out until one person comes out on top. Of course, I added my own flare to the game as well.

    The game uses WebGL, to render 3d graphics right from the browser without plugins, and a combination of node.js and socket.io for the multiplayer networking. To help make WebGL a bit less painful, I used GLGE. For the 3d-modeling (if you can even call it that…) I used sketchup. That’s definitely the weak point of this game: the art. All of this was done in less than 48 hours by someone who doesn’t consider himself a game developer. I’m surprised more people aren’t hopping on board with WebGL yet.

    Here’s a quick demo video – I’m happy with the results so far:

    You’ll see I just have two Chrome windows open, showing the multiplayer support. It’s kind of lame watching me fiddle with it by myself, it’s much better when actually playing ;) Packets between the server and client are being emitted 10 times per second, much less than the typical 20-30 per second – interpolation takes care of everything in between.  The player can be controlled with either the mouse or keyboard, and the goal of the game is to survive the longest.

    There are 3 abilities to help you survive. One is ‘stomp’, where if you jump in the air and hit the “C” key above you opponent, it will smash them and they won’t be able to move for 1 second. The second is “Push back” – which is something you can use to prevent an opposing player from getting too close to you, or to try and push them off the edge. The final ability is just “Attack” – if you get behind another player and press “R”, it will damage them. 5 hits and they die.

    As you’ll also see, parts of the platform are constantly rising and falling, with a short warning shake beforehand. This adds another dynamic as you have to make sure you don’t fall off.

    I was able to get the game to a playable state, with all the features I’d initially written down. However, it’s still not at the point where I want to release it. There’s a bit more polishing to do before that – but once it’s ready I’ll have it released within clay.io. Right now it’s just 2 players max, but I programmed it with more in mind so it’ll likely be 3 or 4 players in 1 game at a time (it’s more interesting that way).

    That’s all for now – I’m running on 90 minutes of sleep in the past 31 hours so it’s time to relax, watch the Pro Bowl and get a good night’s sleep.


  3. Variety

    January 15, 2012 by Austin Hallock

    Burnout is always a tough thing to deal with, and I’ve definitely suffered from it in the past. By no means have I solved the issue for myself – I’m still constantly trying new ways to prevent it – but one that has certainly helped is having a variety of things to do.

    As a programmer, this mostly involves switching between languages, languages that differ quite a bit. I’ll go anywhere from a few hours to a few weeks working on one language, say, PHP, then if I get tired of that, I have plenty of options. With the current project I’m working on, I’ve been switching from PHP to node.js to frontend javascript (coffeescript to be more specific) to CSS. All are very different in how they are programmed, making each new switch something that helps prevent complete burnout for me. One day I can work on some hard-core backend, getting all the backbone structure in place, and the next I can get more arsty and play around with some HTML and CSS. It’s good to have options. Of course, some days you’re going to be forced to work with one specific area of programming, but having rotated through them throughout the process, you’ll likely not be as tired of it.

    If you’re someone who specializes in one programming language and have issues with burnout, I suggest trying to pickup something new. That doesn’t mean learn Java if you’re a C++ programmer – both are backend – try something on the opposite end of the spectrum like some HTML and CSS. If you’re strictly a frontend developer, try familiarizing yourself with Bash-Scripting to make tools that will speed up your development process.

    It’s not just varying programming languages that helps; some days I’ll just sit back and read/learn about technical stuff (whether it be programming languages, unix, databases, etc) which I still find productive. Others I will focus more on the entrepreneurial side of things and work on planning out the company’s future, taking in advice, or reaching out to others. Lately I’ve spent a good chunk of time reading questions and answers from successful entrepreneurs on Quora. One more option of productivity that I’ve been using lately, is writing my thoughts on this blog, which I enjoy.

    I know many of my readers aren’t programmers, but I’d argue this applies to everything in life that one can be burnt out on. A little bit of variance and changing things up can go a long way. For example, my girlfriend and I were having salmon and shrimp 4 or 5 days a week when we started the Paleo diet. The result of this was after a few weeks we started to despise fish and subsequently haven’t had it in over a month. Had we just been eaten it once or twice a week, I’m sure that would still be a meal in our repertoire. Routines can be good, but with certain things routines need to be switched up every so often to stay fresh and prevent burnout.


  4. CSS3 Box Sizing

    January 8, 2012 by Austin Hallock

    CSS3 let’s you do a lot of cool stuff, most of which add graphical enhancements like gradients and rounded corners, all of which are great. Lately however, I think my favorite new property is box-sizing.

    There are two modes: content-box and border-box. content-box is default, and will calculate the true width for an element as width+padding+border. So if you have a child <div> with 100% width and 10px of padding, it will extend outside the parent <div>. Here’s an example of content-box:

    The parent<div> has a black background and the child has a red background with 50% opacity (rgba is another awesome new tool to use with css)

    With border-box, the padding and border are included in the width of the element. So an element with width: 300px; and padding: 10px; will still have a width of 300px, rather than 320px. Here’s the example from above using border-box:

    This allows for more fluid specification of widths in a lot of instances. Say you need a textarea with width: 100%, you can add padding to it and not have to worry about it extending to be wider than what you really want. Before, I always had to set a fixed width, which obviously isn’t ideal when developing a site you want to work in a variety of resolutions and devices (mobile).

    The box-sizing property doesn’t work in IE 7, but you can get around that with this.

    Here’s how you implement it:

    box-sizing: border-box;
    /* Firefox */
    -moz-box-sizing: border-box;
    /* Webkit */
    -webkit-box-sizing: border-box;
    /* IE */
    -ms-box-sizing: border-box;
    /* Opera */
    -o-box-sizing: border-box;
    

    Hope this helps you out like it has helped me!


  5. A Recap of 2011, and Looking Forward

    January 2, 2012 by Austin Hallock

    It’s that time of year where everyone writes their blog posts detailing the past year, so here’s mine.

    2011 was a fun year – the three things that stick out to me for this past year are going on a lot of adventures (that I wouldn’t normally do) with my girlfriend, the development of IMLoop, and my transition to the University of Texas. Of course, a lot more happened this year, but for the purpose of being succinct, those are the three that stand out most.

    Rachel and I have done a lot this year, most notably our road trip to Florida. We spent a week in New Orleans, LA; Panama City, FL; and Treasure Island, Fl. I never made a blog post about this, but we both had a lot of fun, and made memories for a lifetime. Here are a few pictures from the trip.

    Another big part of my year was the creation and development of IMLoop. Though I’m admittedly not a fan of Internet Marketing, I like the people in the industry (well, most of them  ;)), and I’m proud of what I’ve created. I’ve put hundreds of hours of work into it, and it has certainly been a good learning experience.

    The last major thing of 2011 for me was transferring from Austin Community College to the University of Texas. Ever since I was a kid I wanted to go to UT (I did go through a phase where I wanted to go to Yale, and CU was always an option to, growing up near Boulder). I’ve finally reached that. So far, so good – UT is certainly more difficult than ACC, but it also provides a lot more opportunities, and I like that the professors are passionate about what they do. My favorite class was Architecture and Society taught by Larry Speck…I was only taking it for the Fine Art credit, but it turned out that I learned a lot about what is always surrounding me.

    With 2011 in the past, it’s time to look forward to 2012. As I mentioned, being at the University of Texas means a lot more opportunities for me, and one of those is a class called 1 Semester Startup. It’s essentially a startup incubator for UT students. While in the program you get advice from a bunch of smart people, and learn a lot about entrepreneurship and startups as a whole.

    I’ve applied for the class with a fellow UT student and a project involving HTML5 and WebGL, it’s an idea we’re really excited about. So hopefully, that class will help us in our endeavor in creating something amazing. I’ll have more on this soon.

    I want 2012 to be another year where I learn and improve upon myself by leaps and bounds. Of course, I’d love to see this startup become a success… it has all the right components so it’s just a matter of execution mixed with a bit of luck.