|
please.js - A simple PostMessage based communication library
-
engineering.wingify.com
-
12 years ago
-
eng
In one of our previous posts, we talked about the problems we faced when communicating with frames on a different domain in our application…
|
|
My Interdiction single player AI (named Toaster) has been coming along slowly. It’s still very far from the unbeatable cylon I want it to be, but it at least tries to defend itself by intercepting the player and attempting to build up its own lines.
|
|
I have always had great trouble starting to write. I seldom found the actual act of writing difficult, only getting started. The same goes for programming: once I had successfully implemented the main functionality I set out to imbue First Crack with, I ceased iterating on the project not for lack of new ideas — with the underlying code functional and working, I wanted to design an accompanying GUI, for example — but instead because I lacke..
|
|
With the minor caveat of having drawn its entire inspiration solely from one of the most unintelligible and idiotic videos I have ever seen, Jon Negroni’s theory that all Pixar movies not only take place within the same world but also serve to establish a connected timeline is nevertheless a very interesting one. Like most conspiracy theories, Jon’s proposition makes use of many seemingly related happenstances and strings them together in..
|
|
Last time we worked through some basic examples of universal properties, specifically singling out quotients, products, and coproducts. There are many many more universal properties that we will mention as we encounter them, but there is one crucial topic in category theory that we have only hinted at: functoriality. As we’ve repeatedly stressed, the meat of category theory is in the morphisms. One natural question one might ask is, what no..
|
|
Last time we worked through some basic examples of universal properties, specifically singling out quotients, products, and coproducts. There are many many more universal properties that we will mention as we encounter them, but there is one crucial topic in category theory that we have only hinted at: functoriality. As we’ve repeatedly stressed, the meat of category theory is in the morphisms. One natural question one might ask is, what no..
|
|
Last time we worked through some basic examples of universal properties, specifically singling out quotients, products, and coproducts. There are many many more universal properties that we will mention as we encounter them, but there is one crucial topic in category theory that we have only hinted at: functoriality. As we’ve repeatedly stressed, the meat of category theory is in the morphisms. One natural question one might ask is, what no..
|
|
Reading stuff online can become addictive. So addictive, in fact, that it can negatively affect your productivity as a programmer. Most of us go to Hacker News or Reddit to get our dose of news. We justify it by saying that it’s research or that we are trying to stay current in the community . Whatever your excuse, you know you have a problem when you check Hacker News every ten minutes just to see if anything new and awesome has bee....
|
|
Reading stuff online can become addictive. So addictive, in fact, that it can negatively affect your productivity as a programmer. Most of us go to Hacker News or Reddit to get our dose of news. We justify it by saying that it’s research or that we are trying to stay current in the community . Whatever your excuse, you know you have a problem when you check Hacker News every ten minutes just to see if anything new and awesome has bee....
|
|
In our last post we saw that so-called “N-blocks” (regions of the genome for which sequences are not available) were not getting decoded correctly by our decoder . The solution is to look back into the so-called “file index” which specifies where the N-blocks are, and how long each block is. The modified decoder looks like this: (defn genome-sequence " Read a specific sequence, or all sequences in a file concatenated....
|
|
In our last post we saw that so-called “N-blocks” (regions of the genome for which sequences are not available) were not getting decoded correctly by our decoder . The solution is to look back into the so-called “file index” which specifies where the N-blocks are, and how long each block is. The modified decoder looks like this: (defn genome-sequence " Read a specific sequence, or all sequences in a file concatenated....
|
|
In our last post we saw that so-called “N-blocks” (regions of the genome for which sequences are not available) were not getting decoded correctly by our decoder . The solution is to look back into the so-called “file index” which specifies where the N-blocks are, and how long each block is. The modified decoder looks like this: (defn genome-sequence " Read a specific sequence, or all sequences in a file concatenated....
|
|
When I was coding in C/C++ it was imperative to understand type. If you didn’t, you would get into a lot of trouble with both the compiler and running your code. Regardless of the language, type touches every aspect of programming syntax. A good understand of types and pointers is critical to good programming. This post will focus on type. Take these bytes of memory for starters:
|
|
I’m a software developer by trade who after years of leaving articles and blog posts all over the place has finally gotten around to consolidating them all into this single site. I am a professional software engineer who has been working in development with a focus on testing for over 15 years. In that time I have played an integral part in developing and implementing testing methodologies for all sorts of projects including,
|
|
Looking for a practical guide to CAPTCHA decoding? All About CAPTCHA’s. This eBook will teach you how to identify weaknesses and exploit CAPTCHA’s from beginning to end. Buy now using Leanpub Most people don’t know this but my honors thesis was about using a computer program to read text out of web images. My theory was that if you could get a high level of successful extraction you could use it as another source of data which could be ..
|
|
At AdRoll, we have a lot of data to deal with. As we keep accumulating all of this data, our scaling issues become more complicated, and even something as simple as counting becomes a bit of a chore. After using Bloom filters to count uniques, we eventually wanted to find something more space efficient. We started researching, and implemented a form of HyperLogLog, which gives us the ability count uniques with good accuracy, do it in a....
|
|
Someone asked a question on the forum today on how to gain the benefits of inheritance without embedding. It is really important for everyone to think in terms of Go and not the languages they are leaving behind. I can’t tell you much code I removed from my early Go implementations because it wasn’t necessary. The language designers have years of experience and knowledge. Hindsight is helping to create a language that is fast, lean and real..
|
|
In the past two posts , we created and validated a decoder for genome data in 2bit format. Let’s start actually looking at the human and yeast genomes per se . First, if you haven’t downloaded it yet, you’ll need a copy of the human genome data file: cd /tmp wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/bigZips/hg19.2bit (Depending on your local bandwidth conditions, this can take quite awhile.) Again we def....
|
|
In the past two posts , we created and validated a decoder for genome data in 2bit format. Let’s start actually looking at the human and yeast genomes per se . First, if you haven’t downloaded it yet, you’ll need a copy of the human genome data file: cd /tmp wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/bigZips/hg19.2bit (Depending on your local bandwidth conditions, this can take quite awhile.) Again we def....
|
|
In the past two posts , we created and validated a decoder for genome data in 2bit format. Let’s start actually looking at the human and yeast genomes per se . First, if you haven’t downloaded it yet, you’ll need a copy of the human genome data file: cd /tmp wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/bigZips/hg19.2bit (Depending on your local bandwidth conditions, this can take quite awhile.) Again we def....
|
|
Part of me think that an entry level iPhone will be very much like an iPod touch with an antenna, with hardware that’s capable enough to run all of iOS 7’s features, is better than the any last generation iPhone, but won’t compare to what’s inside Apple’s flagship offering.” Permalink.
|
|
Marco Arment, writing in response to a Hacker News commenter questioning the effectiveness of Apple punditry changing minds within the corporation: “I’ve heard a number of times in the last few years that something I wrote was circulated within Apple or brought up in an internal discussion, usually to support one side of a debate. And it’s very unlikely that Marco.org is the only site that Apple employees read.” That’s pretty awesom..
|
|
It’s been a while since I linked to post on Cabin Porn, but this beautiful cabin was just too good to pass up. Permalink.
|
|
Copying iOS 7 is going to be a big problem for cheap hardware. iOS 7’s appearance and dynamics require a powerful GPU and advanced, finely tuned, fully hardware-accelerated graphics and animation APIs. This will hurt web imitators most, but it’s also going to be problematic for Android: while high-end Android phones have mostly caught up in GPU performance, and recent Android versions have improved UI acceleration, most Android devices sold..
|
|
My second foray into the world of Apple speculation. In my first, which I titled Apple’s Wildcard , I spoke to the possibility of Tim Cook announcing an iPone 6 and budget iPhone this fall: while I consider neither particularly likely, leaning more towards an iPhone 5S as the continuation of Apple’s apparent tick-tock cycle and disappointment for those waiting on a budget iPhone, I hedged my bets with Tim Cook’s “Can’t innovate, my ass” ..
|
|
We're more than halfway through the #1GAM year! What I've made so far.
-
liza.io
-
12 years ago
-
eng
I looked at my One Game a Month profile just now and realized that we are halfway through the year. That’s six games made so far! I’ve tried to pick projects that will help me learn something new each month. I figured I’d do a quick recap of what I’ve done so far:
|
|
A simple hack to add a user type to my puppet-ipa module turned out to cause quite a stir. I’ve just pushed these changes out for your testing: 3 files changed, 1401 insertions(+), 215 deletions(-) You should now have a highly capable user type, along with some quick examples . I’ve also done a rewrite of the difference engine , so that it is cleaner and more robust. It now uses function decorators and individual function co..
|
|
A simple hack to add a user type to my puppet-ipa module turned out to cause quite a stir. I’ve just pushed these changes out for your testing: 3 files changed, 1401 insertions(+), 215 deletions(-) You should now have a highly capable user type, along with some quick examples . I’ve also done a rewrite of the difference engine , so that it is cleaner and more robust. It now uses function decorators and individual function co..
|
|
If you work a lot on the command line you are probably familiar with the top utility to see what process is taking the most CPU or memory. There’s a similar utility called htop, which is an advanced, interactive system-monitor utility that can be used as a replacement tool for the default process monitoring command ‘top’ on a Linux ecosystem. This interactive process viewer provides a real-time, dynamic view of what’s happening on your Rasp..
|
|
The first Music Hack Day — organized by our very own Dave Haynes — was held in July 2009 in London, UK. Since then there have been over 3…
|
|
Aswin Natarajan is an associate at TechStars, one of the worlds leading startup accelerators He is also the cofounder of Startup Exchange…
|
|
The first Music Hack Day — organized by our very own Dave Haynes — was held in July 2009 in London, UK. Since then there have been over 3…
|
|
Try this out for fun. int[] i = new int[]{1, 2, 3}; System.out.println(Arrays.asList(i).size()); Integer[] ii = new Integer[]{1, 2, 3}; System.out.println(Arrays.asList(ii).size()); Output: 1 3 What the hell, Java? This is totally unexpected behaviour! In this case Java is being a bit pedantic. See, Collections can contain only contain Objects, and an int is not an Object but int[] is an Object, so that’s why you get a list wi..
|
Recently, we launched our first ever animated guide to A/B testing which made it to the top of HN homepage (Yay!). In this post, I'll go…
|
|
Chocolatey, Remote PowerShell and Azure IAAS - automating dev box creation
-
blog.gripdev.xyz
-
12 years ago
-
eng
Hi All, Recently I’ve needed a throw away environment and so turned to Azure IAAS to get a nice VM up and running quickly. To do this I’ve turned to Chocolatey, its a great utility for installing application and I’d been using it to install simple bits and bobs on my local machine. I fell in love, there are some caveats to be aware of but in short its awesome.
|
|
Computed Properties By design, Handlebars templates don’t allow complex expressions. You are given an {{#if}} block helper, but it can only evaluate whether something is “truthy” (aka true, a non-empty string or array or other value that is not undefined or null.) For example, you can’t do something like this: {{ #if ( eyes.length == 1 ) && ( horns.length == 1 ) && flies && ( color == 'purple' ) && ea..
|
|
Today we’ll validate the genome decoder we described yesterday , once again with our friend the yeast Saccharomyces cerevisiae (you may want to enjoy a slice of freshly-baked bread and a stein of Pilsner with this post). We are aided in this case by the availability of the SacCer3 genome in both 2bit and FASTA formats. We can get the FASTA version in the same place we got the 2bit file : mkdir /tmp/sacCer3_fasta cd /tmp/sac....
|
|
Today we’ll validate the genome decoder we described yesterday , once again with our friend the yeast Saccharomyces cerevisiae (you may want to enjoy a slice of freshly-baked bread and a stein of Pilsner with this post). We are aided in this case by the availability of the SacCer3 genome in both 2bit and FASTA formats. We can get the FASTA version in the same place we got the 2bit file : mkdir /tmp/sacCer3_fasta cd /tmp/sac....
|