|
Prefix notation I’m a big fan of the prefix notation. It makes everything appear the same (if-statements, function calls , etc). I like how it removes the need for operator precedence rules. All the parentheses Once you get into learning Clojure and you have written a small application, you don’t really see the parens anymore. Sure, sometimes you still get the Unbalanced parens error but those are easy to spot. If you are afraid of....
|
|
The Recipe for Classification One important task in machine learning is to classify data into one of a fixed number of classes. For instance, one might want to discriminate between useful email and unsolicited spam. Or one might wish to determine the species of a beetle based on its physical attributes, such as weight, color, and mandible length. These “attributes” are often called “features” in the world of machine learning, and they often..
|
|
The Recipe for Classification One important task in machine learning is to classify data into one of a fixed number of classes. For instance, one might want to discriminate between useful email and unsolicited spam. Or one might wish to determine the species of a beetle based on its physical attributes, such as weight, color, and mandible length. These “attributes” are often called “features” in the world of machine learning, and they often..
|
|
The Recipe for Classification One important task in machine learning is to classify data into one of a fixed number of classes. For instance, one might want to discriminate between useful email and unsolicited spam. Or one might wish to determine the species of a beetle based on its physical attributes, such as weight, color, and mandible length. These “attributes” are often called “features” in the world of machine learning, and they often..
|
|
The Blessing of Distance We have often mentioned the idea of a “metric” on this blog, and we briefly described a formal definition for it. Colloquially, a metric is simply the mathematical notion of a distance function, with certain well-behaved properties. Since we’re now starting to cover a few more metrics (and things which are distinctly not metrics) in the context of machine learning algorithms, we find it pertinent to lay out the defi..
|
|
The Blessing of Distance We have often mentioned the idea of a “metric” on this blog, and we briefly described a formal definition for it. Colloquially, a metric is simply the mathematical notion of a distance function, with certain well-behaved properties. Since we’re now starting to cover a few more metrics (and things which are distinctly not metrics) in the context of machine learning algorithms, we find it pertinent to lay out the defi..
|
|
The Blessing of Distance We have often mentioned the idea of a “metric” on this blog, and we briefly described a formal definition for it. Colloquially, a metric is simply the mathematical notion of a distance function, with certain well-behaved properties. Since we’re now starting to cover a few more metrics (and things which are distinctly not metrics) in the context of machine learning algorithms, we find it pertinent to lay out the defi..
|
|
I like the idea of Android home screen widgets. I like to visualize information, to get it quickly and perform common tasks in a single tap. Even though Android market is flooded with useful and not-so-useful widgets of any type and price, I was looking for a geeky way to make my own widgets. why? Normally, I need either very simple widgets (like clock, calendar, weather, battery level) or very specific ones (say, a calendar that draws a da..
|
|
What did you actually learn in college? I’m not talking about what you learned while you were there, but what you learned in the part that you paid for – the…
|
|
I like the idea of Android home screen widgets. I like to visualize information, to get it quickly and perform common tasks in a single tap. Even though Android market is flooded with useful and not-so-useful widgets of any type and price, I was looking for a geeky way to make my own widgets. why? Normally, I need either very simple widgets (like clock, calendar, weather, battery level) or very specific ones (say, a calendar that draws a da..
|
|
How to avoid cluster race conditions or: How to implement a distributed lock manager in puppet
-
purpleidea.com
-
14 years ago
-
eng
I’ve been working on a puppet module for gluster. Both this, my puppet-gfs2 module, and other puppet clustering modules all share a common problem: How does one make sure that only certain operations happen on one node at a time? The inelegant solutions are simple: Specify manually (in puppet) which node the "master" is, and have it carry out all the special operations. Downside: Single point of failure for your distributed cluster, a....
|
|
How to avoid cluster race conditions or: How to implement a distributed lock manager in puppet
-
purpleidea.com
-
14 years ago
-
eng
I’ve been working on a puppet module for gluster. Both this, my puppet-gfs2 module, and other puppet clustering modules all share a common problem: How does one make sure that only certain operations happen on one node at a time? The inelegant solutions are simple: Specify manually (in puppet) which node the "master" is, and have it carry out all the special operations. Downside: Single point of failure for your distributed cluster, a....
|
|
I made a Twitter logo in HTML5. It's like the ugly brother of the actual Twitter logo
-
liza.io
-
14 years ago
-
eng
My entry for the js13kgames challenge was cutting it too close to 13kb and I needed more room, so I decided to cut out the one image that I had - the Twitter logo for the sharing link at the Game Over screen.
|
Working on a class in our application, I discovered that it was being included before a number of constants it used for its members were even defined. Puzzled on how this had never been a problem I started to experiment; echoing the member at the bottom of the class file after the class closed showed the expected CONSTANT_NAME. I was very confused at runtime the value of the member in the constructor and elsewhere in the class appeared co....
|
Working on a class in our application, I discovered that it was being included before a number of constants it used for its members were even defined. Puzzled on how this had never been a problem I started to experiment; echoing the member at the bottom of the class file after the class closed showed the expected CONSTANT_NAME. I was very confused at runtime the value of the member in the constructor and elsewhere in the class appeared co....
|
|
Continuous Delivery with Maven and Go into Maven Central
-
www.thoughtworks.com
-
14 years ago
-
eng
In continuous delivery the idea is to have the capability to release the software to production at the press of a button, as often as it makes sense from a business point of view, even on every commit (which would then be called continuous deployment). This means that every binary built could potentially be released to production in a matter of minutes or seconds, if the powers that be so wish.
|
|
Postgres out of the box has an abundance of datatypes, from standard numeric datatypes to geometric or even network datatypes . With extensions you can get even more out of it as earlier discussed with hStore . Though with all of the datatypes its easy to miss out on some of them that are there, in fact one of my favorites is often missed entirely. The Array datatype lets you do just as you’d expect, store an array inside Postgres. ....
|
|
Postgres out of the box has an abundance of datatypes, from standard numeric datatypes to geometric or even network datatypes . With extensions you can get even more out of it as earlier discussed with hStore . Though with all of the datatypes its easy to miss out on some of them that are there, in fact one of my favorites is often missed entirely. The Array datatype lets you do just as you’d expect, store an array inside Postgres. ....
|
|
Webinar with Jim Highsmith and Suzie Prince The Agile scaling myth goes something like this: “Agile development works well for smaller projects, but doesn’t scale to larger ones.” Which raises questions like: “At what size does delivering value to customers fail to be important?” and “Can large organizations afford to be inflexible, rigid, and unresponsive?”
|
|
Just over a year ago, Pearson, who published Continuous Delivery, approached Martin Fowler and I with a proposal to do a series of videos on the topic of continuous delivery. We filmed a bunch of material for these videos, but then both Martin and then I dropped out of the project due to other commitments.
|
|
In my applications any personal data collected is not intentionally sold or shared to any third parties. Apparently the above wasn’t complete enough. Please see below. Your privacy is important to GripDev. This privacy statement provides information about the personal information that GripDev collects, and the ways in which GripDev uses that personal information. Personal information collection GripDev may collect and use the follow..
|
|
കഴിഞ്ഞ മൂന്നു വര്ഷങ്ങളില് എണ്ണം 80-ശതമാനത്തിലധികം കുറഞ്ഞ അണ്ണാരക്കണ്ണന്മാര് ഇപ്പോള് വംശനാശ ഭീഷണി നേരിടുകയാണ് (മാതൃഭൂമി, 15 ഓഗസ്റ്റ്). കേരളത്തിലെമ്പാടും ഒരു കാലത്ത് പതിവ് കാഴ്ച്ചയായിരുന്ന അണ്ണാന് ഇല്ലാതാകുന്നു എന്ന് കേള്ക്കുമ്പോള് ആദ്യം നടുക്കം, പിന്നെ സങ്കടം :(
|
|
Hands Across the Conference Table: Coordinating Simultaneous Agile Work Streams
-
www.thoughtworks.com
-
14 years ago
-
eng
Most of the people I interact with are unequivocally excited about the opportunity to try agile for the first time. Not.
|
|
Shoot yourself in the foot with iptables and kmod auto-loading
-
developers.soundcloud.com
-
14 years ago
-
eng
As some of you might know, we had an outage yesterday. We believe that in every mistake there is something to learn from, so after each…
|
|
Shoot yourself in the foot with iptables and kmod auto-loading
-
developers.soundcloud.com
-
14 years ago
-
eng
As some of you might know, we had an outage yesterday. We believe that in every mistake there is something to learn from, so after each…
|
|
For those who don’t know, GWT-Bootstrap wants to port the Twitter Bootstrap widgets to GWT compatible and easy to use components/widgets.
|
|
There is no Agility for Dummies. Agility isn’t a silver bullet. You don’t achieve it in five easy steps. So what is it? For myself, I’ve characterized agility in two statements: Agility is the ability to both create and respond to change in order to profit in a turbulent business environment.
|
|
Scope creep, for those of you reading this blog purely for the joy of it, is when a team has agreed to build a piece of software for a given price in a given time frame, and then the person who wants the software changes their mind about what they want, and they ask the team to do something outside the initial agreement, often without concomitant adjustments to the budget or the time frame. Scope creep is nasty, and left unchecked may caus..
|
|
Using Python metaclasses to make awesome Django model field choices
-
tomforb.es
-
14 years ago
-
eng
Edit: This code is now on PyPi: https://pypi.python.org/pypi/django-choice-object tl;dr Metaclasses are awesome When using Django’s Model or Form frameworks you can define a fixed set of choices for fields which are list of tuples containing a value and some text to associate with that value. The do...
|
|
Using Python metaclasses to make awesome Django model field choices
-
tomforb.es
-
14 years ago
-
eng
Edit: This code is now on PyPi: https://pypi.python.org/pypi/django-choice-object tl;dr Metaclasses are awesome When using Django’s Model or Form frameworks you can define a fixed set of choices for fields which are list of tuples containing a value and some text to associate with that value. The do...
|
|
On any long running project of consequence, refactoring will happen. While usually this is a good thing, it can sometimes lead to the case where all references to a file are removed, but the file itself still sits in the codebase. Though not technically a problem in itself, this can cause a bit of unnecessarily bloat and confusion, not to mention unnecessary time spent updating these orphaned files to support future refactoring efforts.
|
|
Today we’re featuring a guest post from our friends at Retronyms. They’ve built some amazing community features into their app Tabletop using the SoundCloud API and have open sourced their CloudSeeder Devkit. This post was written for us by David Shu. David is a software engineer at the Retronyms and has worked on a number of iOS apps, including Tabletop and Dokobots. He currently resides in San Francisco, CA. We recently built a SoundClou..
|
|
Today we’re featuring a guest post from our friends at Retronyms. They’ve built some amazing community features into their app Tabletop using the SoundCloud API and have open sourced their CloudSeeder Devkit. This post was written for us by David Shu. David is a software engineer at the Retronyms and has worked on a number of iOS apps, including Tabletop and Dokobots. He currently resides in San Francisco, CA. We recently built a SoundClou..
|
Today I learned that npm (the node.js package manager) has support for arbitrary commands and chained commands. I guess I always knew this…
|
|
In my previous post I talked about making a laser beam using the HTML5 canvas stroke() method. I mentioned the next thing I wanted to do being adding a curve to the beam to make it look more fluid as it moves (and yes, I know lasers do not curve. Mine does. Shut up. It’s a magic laser. Or it may not even be a “laser” when I’m done with it)
|
|
Over the past two days I’ve been working on lasers. It seemed like this would be an easy thing to put in before I started. I mean I already have bullets that you can shoot at will, so a laser is just like a big…bullet…uh…right?
|
|
According to the project site on GitHub , The Guava project contains several of Google’s core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.
|
|
Yesterday, I wrote a small article talking about Guice and JUnit, so, this time, I’ll just say how to use the small lib that I build (not big deal, one class, one annotation =] )
|