Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

Took the past couple of days to make a rough Space Invaders clone. Learned lots. I ran into a bug once where the game got massively scaled up in the game window; haven’t been able to reproduce it but have a feeling it  may have had to do with something on my big PC as it’s been doing weird things and intermittently not loading HTML5 games or YouTube videos properly.



I’ve been getting some heat over the past short while when I talk about my Galaga arcade, because there are 2 different camps when it comes to pronouncing the word Galaga. You can either emphasize the first syllable: GAL-a-ga Or you can emphasize the second syllable: ga-LAG-a I’ve always emphasized the second syllable (ga-LAG-a). However, the Avengers movie came out this year, and Robert Downey Jr. (who plays Iron Man in the mov..

I’ve been getting some heat over the past short while when I talk about my Galaga arcade, because there are 2 different camps when it comes to pronouncing the word Galaga. You can either emphasize the first syllable: GAL-a-ga Or you can emphasize the second syllable: ga-LAG-a I’ve always emphasized the second syllable (ga-LAG-a). However, the Avengers movie came out this year, and Robert Downey Jr. (who plays Iron Man in the mov..

JUnit - www.craigpardey.com - 14 years ago - eng

T E S T S ------------------------------------------------------- [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ junit-categories --- [INFO] com.craigpardey:junit-categories:jar:1.0-SNAPSHOT [INFO] +- org.jmock:jmock-junit4:jar:2.6.0-RC2:test [INFO] | +- org.jmock:jmock:jar:2.6.0-RC2:test [INFO] | | \- org.hamcrest:hamcrest-library:jar:1.3.RC2:test [INFO] | \- junit:junit-dep:jar:4.4:test [INFO] \- junit:junit:jar:4.10:test....


A few weeks ago, I attended News Hack Day in San Francisco. News Hack Days are events that bring together journalists, developers and designers for multi day creative coding and brainstorming sessions. I really like the idea of hack days that bring together people from different backgrounds. After chatting with a few journalists, it became obvious to me that recording interviews on the phone is a real pain. I saw this as an opportunity to b..

A few weeks ago, I attended News Hack Day in San Francisco. News Hack Days are events that bring together journalists, developers and designers for multi day creative coding and brainstorming sessions. I really like the idea of hack days that bring together people from different backgrounds. After chatting with a few journalists, it became obvious to me that recording interviews on the phone is a real pain. I saw this as an opportunity to b..

Use Objective-C's modern subscripting syntax with Xcode 4.4 and iOS 4.3+ through a clever header-only hack that enables array[index] notation.

Changing your perspective even a small amount can have profound effects on how you approach your system. Let’s say you’re writing a web application in Java. In the system you deal with orders, customers and products. As a web application, your classes include staples like PersonController, PersonRepository, CustomerController and OrderService. How do you organize your classes into packages? There are two fundamental ways to structure your p..

La scorsa settimana a EuroPython 2012 ho tenuto un talk intitolato Sviluppare una RESTful Web API con Python, Flask e MongoDB. Mi ha fatto piacere riscontrare forte interesse sia per gli aspetti teorici dell’architettura REST che per la loro implementazione pratica con strumenti quali Flask e MongoDB. In entrambe le sessioni inglese e italiana mi sono state rivolte molte domande, sia in occasione delle Q&A plenarie che nei successivi colloq..

La scorsa settimana a EuroPython 2012 ho tenuto un talk intitolato Sviluppare una RESTful Web API con Python, Flask e MongoDB. Mi ha fatto piacere riscontrare forte interesse sia per gli aspetti teorici dell’architettura REST che per la loro implementazione pratica con strumenti quali Flask e MongoDB. In entrambe le sessioni inglese e italiana mi sono state rivolte molte domande, sia in occasione delle Q&A plenarie che nei successivi colloq..

La scorsa settimana a EuroPython 2012 ho tenuto un talk intitolato Sviluppare una RESTful Web API con Python, Flask e MongoDB. Mi ha fatto piacere riscontrare forte interesse sia per gli aspetti teorici dell’architettura REST che per la loro implementazione pratica con strumenti quali Flask e MongoDB. In entrambe le sessioni inglese e italiana mi sono state rivolte molte domande, sia in occasione delle Q&A plenarie che nei successivi colloq..

Over the past couple of days I’ve tried to get multitouch working and I kind of have (though buggy), but then realized that I don’t think I even need mulititouch after all for what I’m trying to make. I don’t want to complicate things and with the movement controls available to the user multitouch may be a mistake. I guess we’ll see. For now I’ve reverted to non-multitouch movement and kept the  potential for multitouch in the code just in..

Refresher A few months ago, I started writing about my personal requirementsfor simplifying the process of using testing feature branches at work. I'd made quite a bit of headway, but never got around to posting an update. Thankfully, DavidRuttkadecided to remind me that the article needed some resolution. 1 In order to get everyone to buy into the concept of feature branches, the process of being able to test a feature branch needed to pro..


One of the coolest things to have in your home is a real video arcade game - not only for the nostalgia, but for the massive amount of fun that you, your friends, and your family will have when playing it. A video arcade game can round out a rec room, basement, or garage more than anything else ;-) I started seriously getting into arcade games last year - I’ve done tons of research prior to actually buying arcade machines for my own home..

One of the coolest things to have in your home is a real video arcade game - not only for the nostalgia, but for the massive amount of fun that you, your friends, and your family will have when playing it. A video arcade game can round out a rec room, basement, or garage more than anything else ;-) I started seriously getting into arcade games last year - I’ve done tons of research prior to actually buying arcade machines for my own home..

Fedora 17 Tweaks - radek.io - 14 years ago - eng

Much has been written about the emerging Post-PC era, about the new possibilities it brings, and the limitations it imposes on developer creativity. For a while I’ve been planning to record my own experiences of the mobile revolution through the lense of the Maemo mobile Linux ecosystem. This is much in the same spirit as Texrat’s excellent piece . Today’s news made this even more urgent, and so here it is. New Hope, a Linux compute....

In last night’s post I said I’d be taking at least a few days off of doing any coding to step back and think about the larger picture.

There are many approaches to building libraries that wrap HTTP APIs. For many of our officially supported SDKs we chose to build light wrappers around HTTP client libraries with a few added features to make it easier to work with the SoundCloud API. This approach has a few benefits. It guarantees a certain consistency and is relatively easy to maintain. It’s also fairly future proof. Changes in the HTTP API do not typically require updates ..

There are many approaches to building libraries that wrap HTTP APIs. For many of our officially supported SDKs we chose to build light wrappers around HTTP client libraries with a few added features to make it easier to work with the SoundCloud API. This approach has a few benefits. It guarantees a certain consistency and is relatively easy to maintain. It’s also fairly future proof. Changes in the HTTP API do not typically require updates ..

So a friend of mine uses kde4 for its klipper feature. Turns out he’s right that it’s an awesome feature! I realized I couldn’t let gnome3 take second place to a clipboard app, so after a bit of searching… $ sudo yum install gnome-shell-extension-gpaste gpaste xsel Next hit up: https://extensions.gnome.org/local/ to flip on the extension. I had to first type: ALT-F2, “r” (to restart the gnome shell). Don’t worry your apps won’t ..

So a friend of mine uses kde4 for its klipper feature. Turns out he’s right that it’s an awesome feature! I realized I couldn’t let gnome3 take second place to a clipboard app, so after a bit of searching… $ sudo yum install gnome-shell-extension-gpaste gpaste xsel Next hit up: https://extensions.gnome.org/local/ to flip on the extension. I had to first type: ALT-F2, “r” (to restart the gnome shell). Don’t worry your apps won’t ..

This post is not going to have a single line of code (I can hear the collective sigh of relief from here). It’s more going to talk about whatever I want to talk about and I haven’t decided what that is yet. So I’ll just ramble:

I’ve been experimenting with simple gestures and double-clicking in ImpactJS. Over the past couple of days I’ve implemented a directional swipe and double-click. As always, not sure if this is a good approach, but it works for now.

Got quite a bit done yesterday, including a new kind of obstacle and quite a few difficulty refinements. I also changed how I handle player movement. Not sure yet if this is the best way I could’ve done this, but it works better than what I had with the amount of velocity changes the player entity has to go through. I started running into problems when trying to implement a speed boost, but ended up getting it working in the end after makin..



Enhance UIView's recursiveDescription to clearly show view controller hierarchies and containment relationships for easier debugging.

I got quite a lot done on my procedural level experiment over the past couple of days, but don’t really want to talk about that part much in great detail. It involves changing terrain and player physics, but that’s as far as I’ll go with the explanation for now.



SoundCloud loves hack days. Our latest hack day adventure brought us to Music Hack Day in Barcelona and we thought we’d share a bit of the great experience we had there. Photo by Thomas Bonte


SoundCloud loves hack days. Our latest hack day adventure brought us to Music Hack Day in Barcelona and we thought we’d share a bit of the great experience we had there. Photo by Thomas Bonte

Those who visit my site regularly will have noticed a quite substantial change in the last 24 hours, I've finally got around to migrating to 2.5.  Not that all the changes are done quite yet, my old Attachments plugin didn't have a newer version so I need to manually re-add attachment to affected articles. I do have a solution to the EU Cookie Law installed, but won't activate it until I've got more than the session cookie being set (i...

Problem: Reduce the dimension of a data set, translating each data point into a representation that captures the “most important” features. Solution: in Python import numpy def principalComponents(matrix): # Columns of matrix correspond to data points, rows to dimensions. deviationMatrix = (matrix.T - numpy.mean(matrix, axis=1)).T covarianceMatrix = numpy.cov(deviationMatrix) eigenvalues, principalComponents = numpy.linalg.eig(covarianceMat..

Problem: Reduce the dimension of a data set, translating each data point into a representation that captures the “most important” features. Solution: in Python import numpy def principalComponents(matrix): # Columns of matrix correspond to data points, rows to dimensions. deviationMatrix = (matrix.T - numpy.mean(matrix, axis=1)).T covarianceMatrix = numpy.cov(deviationMatrix) eigenvalues, principalComponents = numpy.linalg.eig(covarianceMat..

Problem: Reduce the dimension of a data set, translating each data point into a representation that captures the “most important” features. Solution: in Python import numpy def principalComponents(matrix): # Columns of matrix correspond to data points, rows to dimensions. deviationMatrix = (matrix.T - numpy.mean(matrix, axis=1)).T covarianceMatrix = numpy.cov(deviationMatrix) eigenvalues, principalComponents = numpy.linalg.eig(covarianceMat..

I’ve been continuing to play around around with my procedural level experiment in Impact. In the last update I talked about spawning obstacles (just pits for now) on the fly. The pits were spawning, but I had another problem: pits would sometimes spawn too closely together and overlap each other, creating “superpits” that the player wasn’t able to jump over.

114 visitors online