|
Everyone pretend this blog didn't die for six months, okay? Okay. Here's a brain-dump of random things I've learned while not blogging. Distributed programming is tough but really, really fun. gevent , Couchbase , Fabric , and pyzmq are awesome. Django's admin interface can be twisted fairly easily into a CMS for a dynamic website . Bed bugs + week-long power outage + another week with still-broken A/C = fun summer. Leaky washing ma....
|
|
Once you have set up your Raspberry Pi chances are that you want to access it from remote machine or host a little web site on it. The problem is that your provider usually gives you a dynamic IP, which changes every time you connect to the Internet. In Germany most (A|V)DSL provider reset your connection every 24h. The solution for this is a dynamic DNS (DDNS), which automatically updates the name server in the Domain Name System (DNS).
|
Just a handy reminder that you can add "arbitrary" commands to your node NPM modules without creating binaries.
|
|
Today I am officially launching drzzle. drzzle is a small side project I have been working on for a couple of weeks.
|
|
Copenhagen has been the last stop of the current Create.js tour. In here we’ve been integrating VIE and Create into TYPO3 Phoenix , the next major version of this popular CMS. As usual, this collaboration has ended up in some new features in the libraries. The major one of these is more flexible collection handling. In previous Create.js versions, collection handling was pretty simplistic. Essentially you could only add a single ty....
|
|
Js13kGames entry finally submitted. Now I can think about something else, right? RIGHT?
-
liza.io
-
13 years ago
-
eng
Well, it’s done. My final confirmation was positive feedback from /r/gamedev as they were the ones who criticised the heck out of the game before (nicely and constructively; thanks Reddit!) and this time everyone there said it was actually…you know… fun and stuff. I don’t expect to actually win anything because there are already great games submitted and I can already imagine (and have seen some screenshots of) the totally mind-blowing stu..
|
|
Optimizer statistics-driven direct path read decision for full table scans (_direct_read_decision_statistics_driven)
-
tanelpoder.com
-
13 years ago
-
eng
Hello all fellow Oracle geeks and technology enthusiasts! Long time no see ;-) In the hacking session about Oracle full table scans and direct path reads I explained how the direct path read decision is not done by the optimizer, but instead during every execution, separately for every single segment (partition) scanned in the query. I also explained how the _small_table_threshold parameter and the X$KCBOQH.NUM_BUF (which keeps track..
|
|
Optimizer statistics-driven direct path read decision for full table scans (_direct_read_decision_statistics_driven)
-
tanelpoder.com
-
13 years ago
-
eng
Hello all fellow Oracle geeks and technology enthusiasts! Long time no see ;-) In the hacking session about Oracle full table scans and direct path reads I explained how the direct path read decision is not done by the optimizer, but instead during every execution, separately for every single segment (partition) scanned in the query. I also explained how the _small_table_threshold parameter and the X$KCBOQH.NUM_BUF (which keeps track..
|
|
Well said sir! Using "the source luke" has gone from obscure to impossible. We need a standard toolset that can index code and documentation.
|
|
Updated: 2016-04-14 So let's talk about managing runtimes and interpreters for projects and applications. This post comes about after I have seen a vast jungle of non-solutions and dead ends out there for managing installations of interpreters such as Python, Ruby, node.js, etc. First, let's clear the air of a bunch of nonesense you may find out there that makes this problem confusing. Never use the interpreter provided by your operatin....
|
|
My game for Js13kGames is finally complete. Well, complete in the sense that I’m just about ready to submit it, not in the sense that it’s actually submitted because I’m going to get you guys to be my lab rats (hopefully) and give me some feedback (especially on bugs and performance. That would be great).
|
|
I’ve been getting into arcade games pretty heavily this year, and my posts have reflected this for sure ;-) Today’s post is actually a request from John Spitz, who emailed me after reading some of my other video game posts - he wanted to know if there was a typical progression in the types of hardware used in arcade games over the years. The short answer is “yes” as you can see in the diagram I made at the top of this post.
|
|
I’ve been getting into arcade games pretty heavily this year, and my posts have reflected this for sure ;-) Today’s post is actually a request from John Spitz, who emailed me after reading some of my other video game posts - he wanted to know if there was a typical progression in the types of hardware used in arcade games over the years. The short answer is “yes” as you can see in the diagram I made at the top of this post.
|
|
Hi all, For the Windows 8 Preview, I want to say a massive thanks to everyone who has been submitting feedback, I’ve had over 30 bug reports/feature requests and am starting to work through them all now. Keep em coming as I am reading them all and working on getting them into the app as soon as possible. Updates: I’ve released update for both the Windows Phone, it needed it, and the Windows 8 Preview of BBC News Mobile today.
|
|
Transplanting/Replacing Django child instances without deleting the parent
-
tomforb.es
-
13 years ago
-
eng
Django has a very neat feature called Multi Table Inheritance which allows you to create a ‘parent’ model with common fields and a variety of ‘child’ ones with specific fields. For example:...
|
|
Transplanting/Replacing Django child instances without deleting the parent
-
tomforb.es
-
13 years ago
-
eng
Django has a very neat feature called Multi Table Inheritance which allows you to create a ‘parent’ model with common fields and a variety of ‘child’ ones with specific fields. For example:...
|
|
Just over a week ago we had our first internal hackathon at SoundCloud. You can read (and listen!) about it on our community blog or read…
|
|
This is a story of how we adapted our architecture over time to accomodate growth. Scaling is a luxury problem and surprisingly has more to…
|
|
Just over a week ago we had our first internal hackathon at SoundCloud. You can read (and listen!) about it on our community blog or read…
|
|
This is a story of how we adapted our architecture over time to accomodate growth. Scaling is a luxury problem and surprisingly has more to…
|
|
I served as lead developer on this award-winning crowdsourcing platform at the University of Iowa Libraries. The code has been made freely available on Github and has been used by over 20 research libraries and archives around the world, including Yale University, Oxford University Museum of Natural History, The Newberry Library, University College Dublin Archives, […]
|
|
I have been watching a lot of video conferences on security and I'm wondering what will happen in the next couple of years.
|
|
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....
|
|
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
-
13 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
-
13 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
-
13 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....
|