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

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 - 13 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..

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 - 13 years ago - eng

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

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.


If today’s Google I/O keynote where they parachuted to the conference center from a Zeppelin while streaming the whole experience on a Hangout via Project Glass wasn’t enough future for you, here is another thing. As part of the SmarcoS project , we’ve been working on making the Kinect work as an input device for Qt applications. Basically you move your hand in the air, and are able to grab and drop things on the screen. We call ....

Codesearch API - boyter.org - 13 years ago - eng
Happy to announce that the CodeSearch API is now alive and kicking for those who wish to use it. The details are included below. Example calls, JSON http://searchco.de/api/codesearch_I/?q=%23define http://searchco.de/api/codesearch_I/?q=IO::pipe http://searchco.de/api/codesearch_I/?q=goto%20lang:perl http://searchco.de/api/codesearch_I/?q=test%20lang:perl&p=1 JSONP http://searchco.de/api/jsonp _codesearch_I/?q=%23de..

I did some more playing around with the procedural level stuff in ImpactJS tonight and have made a little bit of progress. Specifically the following has happened:

I have been experimenting with procedurally generated levels in ImpactJS. Up until now everything I’ve done was using levels pre-made in Weltmeister (Impact’s inbuilt level editor). However, being able to generate levels on the fly seems like it would be a much more scalable and more interesting approach for some types of games.

Waveforms I’ve worked at SoundCloud for over two years now, and if there’s one thing I do a lot, it’s color waveforms. Tons of them. And, I’ve done it several different ways. Today, Johannes and I are pumped to announce a new JavaScript library called Waveform.js that will assist you in your coloring efforts. But first, let’s take some time to look back and learn from past techniques.

GWT-Bootstrap is a project that aims to provide all the Twitter Bootstrap styles and widgets to GWT applications.

Waveforms I’ve worked at SoundCloud for over two years now, and if there’s one thing I do a lot, it’s color waveforms. Tons of them. And, I’ve done it several different ways. Today, Johannes and I are pumped to announce a new JavaScript library called Waveform.js that will assist you in your coloring efforts. But first, let’s take some time to look back and learn from past techniques.



1 visitor online