Recently, I decided to support some of the open-source distributed projects such as Tor, IPFS and Bitcoin.
One way of supporting them would be to send some money as a donation,
but because I am a hacker with a good Internet connection I decided to build a computer node that will directly contribute to their networks and make them bigger and more robust.
I call it a “Freedom Node”.
I evaluated lot of options and ended up buying the following components from my local computer hardware supplier:
(If you want to use Bitcoin XT instead of Bitcoin Core just use bitcoinxt-server package instead of bitcoin-server in the line above.)
Edit the Tor configuration file /etc/tor/torrc and uncomment the following lines (the first line opens the relay port, the second one enables the directory service, the third one disables the exit node):
ExitPolicy reject *:*
Also fill in the details on lines with Nickname and ContactInfo.
If you are more adventurous you might skip uncommenting the ExitPolicy reject line, but I recommend reading something about running an Exit Node first.
Edit the Bitcoin configuration file /etc/bitcoin/bitcoin.conf and change RPC password to something random:
Almost two years ago I blogged about my Global Game Jam entry called Hexoboros.
This year’s approacing GGJ reminded me that I wanted to port this game to Android. Back then it turned out to be quite hard and results were not very satisfying.
I knew that SDL 2.0 was released in August 2013 bringing Android support out of the box.
What I didn’t know was that LÖVE 0.9.0 was released in December as well, building on top of SDL2.
I was pretty excited, because I felt that LÖVE on Android will became a real thing soon.
After fixing some minor issues in Martin’s and mine code I ended up with this result:
Great! Now I’m convinced that I’ll be using LÖVE again during Global Game Jam this year.
love-android-sdl2 loads LÖVE resources from /sdcard/lovegame/ directory (this is useful for debugging)
if you zip your LÖVE resources to a file named game.love and add this file to assets directory of Android project, you end up with APK that bundles LÖVE with your game (this is great for deploying final game)
never force fixed resolution in your LÖVE code; rather update your code so it works with any given resolution and aspect ratio (i.e. don’t hardcode sizes and positions of rendered objects)
you can test you got that right by putting t.window.resizable = true in your conf.lua and using something like this in your main.lua code:
Last two years I travelled a lot to various Open Source related conferences.
After few of them I already got quite a good idea what to pack and what not,
depending on the length and the destination of the trip. But from time to time
I forgot something and that later turned out to be a huge mistake.
The idea is to create a mobile application where you can define several lists
of things you need to pack, for example: “3 days in Europe (summer)”,
“a week in the USA (winter)”, “Christmas with Family” and so on.
You open the application while packing packing your stuff at home and it will
show you the list of things you need to pack. Everytime you put an item into your suitcase,
you check the corresponding checkbox in the list. When the list is fully checked you know you didn’t
miss anything. Simple, isn’t it?! :) You do the same process on the last day of your trip, so you
can make sure you don’t forgot anything at the hotel.
One evening I found really nice work
by Ryan Alexander where images are created by simulating a life of mycelium.
I was wondering how it was done and I came up
with my own Processing sketch
that creates something similar (although not as quite nice as the original work).
The principle is simple: you take an image and convert it to grayscale.
The brighter (or darker) is the pixel, the more food you put
on that particular position. Then you run several autonomous agents
that feed from this food, move randomly,
die if they are starving and multiply if they are well enough.
The original photos and the mycelium growing process can be seen here:
The idea is to create a mobile phone application that
is able to take a photo from a camera (and/or open a gallery photo)
and runs the described process on it. The final result
or animated GIF of the process could be then uploaded to the Internet
and shared among your friends.