|
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.
|
|
Da ieri Sublime Text 2 è ufficialmente fuori dalla lunghissima beta. Molte novità anche nell’ultima build, incluso il supporto per il Retina Display di OSX (tanto per dire quanto questi ragazzi stiano sul pezzo). Vi propongo un po’ di link di riferimento: Annuncio della versione 2.0 sul blog Sublime Come Kenneth Reitz ha configurato ST2 per Python Sublime Text 2 un anno dopo , il mio articolo più recente su ST2 PS: io nel frattempo son..
|
|
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 ....
|
|
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..
|
|
Procedural levels continued: randomized pits and performance enhancements
-
liza.io
-
13 years ago
-
eng
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.
|
|
So here we are. We have finally made it to a place where we can transition with confidence from the classical continuous Fourier transform to the discrete version, which is the foundation for applications of Fourier analysis to programming. Indeed, we are quite close to unfurling the might of the Fast Fourier Transform algorithm, which efficiently computes the discrete Fourier transform. But because of its focus on algorithmic techniques, w..
|
|
So here we are. We have finally made it to a place where we can transition with confidence from the classical continuous Fourier transform to the discrete version, which is the foundation for applications of Fourier analysis to programming. Indeed, we are quite close to unfurling the might of the Fast Fourier Transform algorithm, which efficiently computes the discrete Fourier transform. But because of its focus on algorithmic techniques, w..
|
|
So here we are. We have finally made it to a place where we can transition with confidence from the classical continuous Fourier transform to the discrete version, which is the foundation for applications of Fourier analysis to programming. Indeed, we are quite close to unfurling the might of the Fast Fourier Transform algorithm, which efficiently computes the discrete Fourier transform. But because of its focus on algorithmic techniques, w..
|
|
Meet Andrew Pascoe, data scientist! At AdRoll, product is everything. In order to continue offering our customers the most innovative and effective platform in the retargeting space, we’ve made some rockstar additions to our engineering team as of late, growing our eng. team 50% this year. Andrew will contribute to the algorithms powering our efficient real-time bidder (RTBoodah) and the intelligent crunching of the vast amount....
|
|
I find it hard to remember all the .hgignore settings for a new Mercurial repository that I need, so here’s a bootstrap version syntax: glob .hgignore */target/** */.settings/** */.classpath */.project *.log *.orig
|
|
Maximize the Link Juice of your Infographic with the use of the Canonical HTTP Header
-
www.jimwestergren.com
-
13 years ago
-
eng
Since June 2011 Google is supporting to set the rel canonical via the Canonical HTTP Header. This is great for PDF files, but nobody seems to have mentioned images? Does it even work? Link building with your infographic A popular method nowadays, post penguin, is to use an infographic to attract links. But how do [...]
|
|
Maximize the Link Juice of your Infographic with the use of the Canonical HTTP Header
-
www.jimwestergren.com
-
13 years ago
-
eng
Since June 2011 Google is supporting to set the rel canonical via the Canonical HTTP Header. This is great for PDF files, but nobody seems to have mentioned images? Does it even work? Link building with your infographic A popular method nowadays, post penguin, is to use an infographic to attract links. But how do [...]
|
|
A few weeks ago I was sitting at the hotel in Zurich with Jacob Kaplan Moss prior to DjangoCon EU enjoying a beer, talking about Django, and discussing a bit about our upcoming talks for the conference. He talked briefly about his upcoming keynote and how he was doing something different, including essentially 5 mini-talks. This seemed interesting enough, but the part that surprised me was when Jacob said, “I’m among friends here so i....
|
|
A few weeks ago I was sitting at the hotel in Zurich with Jacob Kaplan Moss prior to DjangoCon EU enjoying a beer, talking about Django, and discussing a bit about our upcoming talks for the conference. He talked briefly about his upcoming keynote and how he was doing something different, including essentially 5 mini-talks. This seemed interesting enough, but the part that surprised me was when Jacob said, “I’m among friends here so i....
|
|
OceaniaSmashing Pumpkins use Premiere 1.5 BETA to debut "Oceania"
-
developers.soundcloud.com
-
13 years ago
-
eng
Premiere 1.5 Smashing Pumpkins are using a BETA of the next version of Premiere to debut their new record “Oceania.” Here’s what’s new about the app.
|
|
OceaniaSmashing Pumpkins use Premiere 1.5 BETA to debut "Oceania"
-
developers.soundcloud.com
-
13 years ago
-
eng
Premiere 1.5 Smashing Pumpkins are using a BETA of the next version of Premiere to debut their new record “Oceania.” Here’s what’s new about the app.
|
|
I’ve been running a few experiments and trials with Impact, just to get some stuff working that I wasn’t sure about before. One of these tests that I think will come in useful is having the player grow as it eats or picks up objects. I actually saw a couple of people getting to my blog through search terms related to Impact entity scaling and growth, so thought I’d outline the method I’ve been using here. This is probably not the neatest or..
|
|
Hi, It’s very early days at the moment but I’m going to be looking for some beta testers over the next couple of weeks. I had a great group of testers on WP7 and they helped make the app what it is now, hopefully we can do the same with this. The same logic as with the WP7 app, you have to be willing to give lots of feedback and use an application that isn’t finished, with bugs. Win 8 Machine is mandatory.
|
|
If you’re a frequent flyer (like i’ve oddly enough become recently) you probably have status with your airline that gives you lounge access for when you’re flying. Also, if you’re a frequent flyer, you probably also really enjoy drinking and paying as little as possible for it. So here’s a way that you (and sometimes also your entire family) can all have unlimited party nights out — on your airline’s dollar! Decide you want to party and n..
|
|
Se vi occupate di frontend non perdetevi lo spettacolare articolo in cui Majd Taby ci spiega come usare al meglio il WebKit Inspector. Il panorama mobile è monopolizzato da WebKit e di conseguenza gran parte degli strumenti e dell’infrastruttura per lo sviluppo di applicazioni frontend mobile (e non solo, ndr) risiedono nel WebKit Inspector. Per questo ne analizzerò con cura gli strumenti e spiegherò come e quando usarli.
|
|
Problem: Compute a reasonable approximation to a “streaming median” of a potentially infinite sequence of integers. Solution: (in Python) def streamingMedian(seq): seq = iter(seq) m = 0 for nextElt in seq: if m > nextElt: m -= 1 elif m < nextElt: m += 1 yield m Discussion: Before we discuss the details of the Python implementation above, we should note a few things. First, because the input sequence is potentially infinite, we can’t store a..
|
|
Problem: Compute a reasonable approximation to a “streaming median” of a potentially infinite sequence of integers. Solution: (in Python) def streamingMedian(seq): seq = iter(seq) m = 0 for nextElt in seq: if m > nextElt: m -= 1 elif m < nextElt: m += 1 yield m Discussion: Before we discuss the details of the Python implementation above, we should note a few things. First, because the input sequence is potentially infinite, we can’t store a..
|
|
Problem: Compute a reasonable approximation to a “streaming median” of a potentially infinite sequence of integers. Solution: (in Python) def streamingMedian(seq): seq = iter(seq) m = 0 for nextElt in seq: if m > nextElt: m -= 1 elif m < nextElt: m += 1 yield m Discussion: Before we discuss the details of the Python implementation above, we should note a few things. First, because the input sequence is potentially infinite, we can’t store a..
|