|
It’s often said that the Age of Information began on August 17, 1964 with the publication of Cooley and Tukey’s paper, “An Algorithm for the Machine Calculation of Complex Fourier Series.” They published a landmark algorithm which has since been called the Fast Fourier Transform algorithm, and has spawned countless variations. Specifically, it improved the best known computational bound on the discrete Fourier transform from $ O(n^2)$ to $ ..
|
|
It’s often said that the Age of Information began on August 17, 1964 with the publication of Cooley and Tukey’s paper, “An Algorithm for the Machine Calculation of Complex Fourier Series.” They published a landmark algorithm which has since been called the Fast Fourier Transform algorithm, and has spawned countless variations. Specifically, it improved the best known computational bound on the discrete Fourier transform from $ O(n^2)$ to $ ..
|
|
Implement block support for UIMenuItem by swizzling the responder chain to enable cleaner API patterns.
|
|
Recently I fired off the spiders to pull in an additional 30,000 projects I was aware of and then added them to the index. The result being searchcode now has 3.8 billion lines of code indexed. The exact count being 3,863,756,553 lines. Of course the reason this is most exciting for me is that koders.com which is the default code search (now that Google Code search has been retired) has 3.3 billion lines of code index according to their web..
|
|
This post isn’t going to tell you that you should use MVC to structure your application. It isn’t going to tell you which framework to use. It’s not going to tell you to use CoffeeScript or MongoDB. But I’m going to talk about some small helpful things you can do to your Javascript application to make easier to develop and maintain. Naming Conventions Improperly naming your variables, functions and classes can make it nearly impossible....
|
|
This post isn’t going to tell you that you should use MVC to structure your application. It isn’t going to tell you which framework to use. It’s not going to tell you to use CoffeeScript or MongoDB. But I’m going to talk about some small helpful things you can do to your Javascript application to make easier to develop and maintain. Naming Conventions Improperly naming your variables, functions and classes can make it nearly impossible....
|
|
Made a rough Space Invaders clone. Annoyed at Chromium and its HTML5 audio bug.
-
liza.io
-
13 years ago
-
eng
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..
|
|
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.
|
|
How changing Java package names transformed my system architecture
-
jhannes.github.io
-
13 years ago
-
eng
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..
|
|
Today was not as productive as it should've been - Multitouch and stuff
-
liza.io
-
13 years ago
-
eng
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..
|
|
That thing where I said I was going to take my mind off of coding for a while? It didn't work.
-
liza.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 talk about how to do anything. But it's still about (iOS)Impact
-
liza.io
-
13 years ago
-
eng
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.
|
|
How much impact do ImpactJS timers have on performance? Plus implementing player speed boosts.
-
liza.io
-
13 years ago
-
eng
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
|