peterbjorklund
peterbjorklund
Indie Developer
36 posts
Don't wanna be here? Send us removal request.
peterbjorklund · 10 years ago
Text
Board Game Recommendations
Family
Both for adults and children from the age of ten.
King of Tokyo
Tumblr media
Jamaica
Tumblr media
Takenoko
Tumblr media
Strategy
For those who have played board games a lot.
Blood Rage
Tumblr media
Forbidden Stars
Tumblr media
Cooperative
T.I.M.E Stories
Tumblr media
3 notes · View notes
peterbjorklund · 12 years ago
Photo
Tumblr media
I usually prefer to code in the fantastic Sublime Text, but sometimes it's convenient with more integrated tools, such as runners for RSpec and Cucumber and an real debugger. In those cases there is no better IDE for Ruby than RubyMine. Apart from the fact that it runs on Java - it must be because it's pretty slow at times - I can recommend it to everyone.
Not sold yet? Version 5 has support for RubyMotion!
Still not sold on it? They included Darcula, a new native dark UI theme. =)
1 note · View note
peterbjorklund · 13 years ago
Photo
Tumblr media
Ruby on Mac
Yesterday I wrote about the fantastic RubyMotion. I must mention its cousin - MacRuby. It uses a JIT compilation compared to the statically compiled RubyMotion. Another difference is the garbage collection. In MacRuby it uses the exact same garbage collector as objective-c, while it's a proprietary solution for RubyMotion.
1 note · View note
peterbjorklund · 13 years ago
Photo
Tumblr media
Ruby on iOS
Not sure if I've been living under a rock, but I have completely missed the fact that RubyMotion and MacRuby exists.
RubyMotion allows you to use Ruby to develop applications for iOS (iPhone, iPad, iPod touch). You can do exactly the same things as you do with Objective-C. RubyMotion compiles your ruby code statically to LLVM IR and then to assembler/machine code. Performance is the same (and sometimes better) than the Objective-C counter part. And yes, the resulting app follows the Apple restrictions and can be published on the App Store.
The only downside is that it is closed source, and will set you back about $200.
I think this is one of the most exciting things I have seen in quite some time. Now it can be fun to develop for iOS again!
1 note · View note
peterbjorklund · 13 years ago
Photo
Tumblr media
I think it was my twitter friend Pat Wilson that introduced me to CoffeeScript in 2010. I have tried it out on a couple of projects and I like it a lot!
It includes the nice things with javascript (yes, there are a few), while blocking out some of the real bad parts with it.
4 notes · View notes
peterbjorklund · 13 years ago
Photo
Tumblr media
MongoDB is a fantastic object oriented database. You sometimes want a UI instead of hacking away at the mongodb console.
Check out MongoHub!
6 notes · View notes
peterbjorklund · 13 years ago
Photo
Tumblr media
KanBan-like
I can't understand how I have missed this one?
It's made by Joel Spolsky, who made the fantastic StackOverflow, FogBugz and other great software. But I have tried to find a great kanban-like web app for quite some time, but not found anything that is really simple and easy to use.
Just played around with Trello for a short while, but it looks great! Will make a new post when we have tried it on one of our game projects.
0 notes
peterbjorklund · 13 years ago
Photo
Tumblr media
Automatic Tweeting
I got the question tonight, "how do I post from my own site automatically to twitter?"
It can be a bit tricky to get all the oauth stuff working. But this is a special case. You are the only one that needs to authenticate your own application. Twitter has made this a lot easier for us.
Go to https://dev.twitter.com/
Create your application. The application name is sometimes shown in the twitter clients, so please select a good name.
Make sure that the access level is set to "Read and Write" (default is Read only). Otherwise you won't be able to post to your timeline.
Press the "Create my Access Token" button. Twitter has simplified a lot for us now, we no longer need to request these tokens at runtime. These tokens should never timeout.
There are only four strings that we need to handle to access the api. Consumer Key and Consumer Secret, which is represent our application. And Access Token and Access Token Secret which represent the user giving the access to the application.
Now the call to update our timeline is called statuses/update.
Here is a sample Python application which requires python-oauth2 and httplib2:
import oauth2 as oauth consumer = oauth.Consumer(key="asdfasdf7897987", secret="adfasdf787sa89fd7as89f7as89f7as89d") access_token = "fdas89f8asf8a90sd-sadf8as09d8fas98f0a9sd8f" access_token_secret = "safd8asd0f8a9sd0f8asd0f8asdfasf" token = oauth.Token(access_token, access_token_secret) client = oauth.Client(consumer, token) update_status = "http://api.twitter.com/1/statuses/update.json" response, content = client.request(update_status, "POST", "status=Hello%20World") print "Response", response
GitHub Gist
The API url is http://api.twitter.com/1/statuses/update.json and the parameters are not placed in the URL but sent in the HTTP body as json. The HTTP headers contain the tokens as well as an encrypted HMAC-SHA1 signature.
22 notes · View notes
peterbjorklund · 14 years ago
Photo
Tumblr media
Git - Hit the bucket!
Let the record show that I'm a true GitHub fan. They have a fantastic service. But they only allow a limited number of private repositories, even for paid plans.
BitBucket was previously Mercurial only, but since october they fully support Git. Unlimited private and public repositories, unlimited storage for free (up to five users).
If you have big repositories or a lot of private ones, BitBucket is the way to go.
24 notes · View notes
peterbjorklund · 14 years ago
Photo
Tumblr media
Ludum Dare #22 is in full effect!
It's a competition where you make a game in 48 hours according to a theme that is revealed at the start of the competition. After the event everyone votes for the best entry. No awards, no prizes, just the great honor of participating.
Theme this time: Alone.
Usually I will fail to complete something acceptable within that time. This time probably won't be an exception.
0 notes
peterbjorklund · 14 years ago
Photo
Tumblr media
Salt for everyone.
Native Client makes it possible to run compiled x86 or x64 code with very small performance overhead in a browser. Currently it only works in Google Chrome. Before execution it is checked that the binary is safe and doesn't perform any outside calls. Only calls that are allowed are to Pepper, which supports 2D and 3D graphics (OpenGL ES 2.0), low level audio, keyboard and mouse input, and local file system.
It's a perfect solution for cpu demanding games or if you have an existing code base that is hard to rewrite in Javascript.
7 notes · View notes
peterbjorklund · 14 years ago
Photo
Tumblr media
A humble gesture.
I think that the Humble Indie Bundle (@humble) is a fantastic thing. It gives attention to indie games, it helps charity (Red Cross and Childs Play), and it allows people to buy some great games for any price they want!
The games are multi platform: Mac, Linux and Windows.
You even get them on Steam!
1 note · View note
peterbjorklund · 14 years ago
Photo
Tumblr media
By yourself.
Many times it's a good thing when you're an indie developer. But sometimes you want some quick feedback, or just some company. Easiest to get that is to hang out in IRC (#ludumdare at irc.afternet.org). On Mac I use LimeChat - it's very good and free!
4 notes · View notes
peterbjorklund · 14 years ago
Photo
Tumblr media
I admit it, I'm slow.
At least when it comes to typing. Being a programmer for 25+ years one would think that I can type fast. On a good day I will hit around 80 WPM. And, I'm ashamed to admit it, I still use QWERTY.
My dream is to be as fast as my friend Mathias Wahlin, who is a Dvorak (Svorak) 100+ WPM guy. His last record, on a bad keyboard, was 110.
During the winter holiday I will start converting to Dvorak. But first - Ludum Dare!
6 notes · View notes
peterbjorklund · 14 years ago
Photo
Tumblr media
Time is all we have.
I think it is a good practice to track the time on the project you're working on. If it is for an client, you obviously want to know how much to bill them. If it is for your own project, it's useful to see where your time was spent. 
So I have started testing out freckle (they have a free plan and 30-day free evaluation).
0 notes
peterbjorklund · 14 years ago
Photo
Tumblr media
Do not set your own password
A lot of people use the same password for a number of services. Many also use an easy to remember password, because you have to enter them for all your web apps out there. That's very bad, it is not uncommon that a site gets hacked and all the users passwords (or at least their salted and peppered one) get into the wrong hands. I'm looking at you Sony and Valve.
I strongly recommend using 1Password, but if you need a free version take a look at KeePass.
12 notes · View notes
peterbjorklund · 14 years ago
Photo
Tumblr media
Documentation in markdown
I type a lot of documentation in markdown and I recently started testing Mou, it looks like a very good editor with live preview. Currently using it for the extensive documentation for the new network engine.
26 notes · View notes