|
Imagine writing an online shop with different types of products. Normally all products would have common attributes such as title and price. Some attributes will likely differ. Tee may have size such as S, M, or L, while a Pen could have an ink_color. It’s easy to see that Tee is a Product, and so is Pen. We are looking at an is_a relationship. When I program this type of relationship I usually use inheritance. class Product < Activ....
|
|
The web is becoming saturated. It’s no longer the pimply faced 20 somethings living in their mom’s basements that are the key users and the source of most of the traffic on the web. Now you have communities for pregnant moms, sites for elderly widows looking to date, and social sites for kids from the time they’re able to talk. So now that the web is hitting its saturation point of types of people interacting it becomes a critical issue to ....
|
|
The web is becoming saturated. It’s no longer the pimply faced 20 somethings living in their mom’s basements that are the key users and the source of most of the traffic on the web. Now you have communities for pregnant moms, sites for elderly widows looking to date, and social sites for kids from the time they’re able to talk. So now that the web is hitting its saturation point of types of people interacting it becomes a critical issue to ....
|
|
Sometimes things are easy (Part 1): How to fix wrapped execution plan text?
-
tanelpoder.com
-
16 years ago
-
yue
What you see below is a common problem. Someone sends you (or posts to a forum) a wide execution plan, which is unreadable because of wrapped lines. For example, this one below: -------------------------------------------------------------------------------- ------------------- | Id | Operation | Name | E-Rows | OMem | 1Mem | Used-Mem | -------------------------------------------------------------------------------- ------------------....
|
|
Sometimes things are easy (Part 1): How to fix wrapped execution plan text?
-
tanelpoder.com
-
16 years ago
-
eng
What you see below is a common problem. Someone sends you (or posts to a forum) a wide execution plan, which is unreadable because of wrapped lines. For example, this one below: -------------------------------------------------------------------------------- ------------------- | Id | Operation | Name | E-Rows | OMem | 1Mem | Used-Mem | -------------------------------------------------------------------------------- ------------------....
|
|
I’ve been helping a number of people get started working with git over the last couple of weeks, as Ksplice has brought on some new interns, and we’ve had to get them up to speed on our internal git repositories. (As you might expect from a bunch of kernel hackers, we use git for absolutely everything). While that experience is what prompted this post, it wasn’t really anything I haven’t seen before as SIPB transitioned from a group that mo..
|
|
I’ve been helping a number of people get started working with git over the last couple of weeks, as Ksplice has brought on some new interns, and we’ve had to get them up to speed on our internal git repositories. (As you might expect from a bunch of kernel hackers, we use git for absolutely everything). While that experience is what prompted this post, it wasn’t really anything I haven’t seen before as SIPB transitioned from a group that mo..
|
|
Why cURL doesn't work well with relative paths that PHP works fine with, and a workaround for the issue.
|
|
This is the second part of the joint blog “project” with James Morle, called “The Wait Interface Is Useless (Sometimes)”. We already did a joint presentation on this topic at UKOUG and more conferences will follow :) Read the first part by James here for intro. So, where do we go when Oracle’s wait interface doesn’t help us? We will show multiple techniques over time, but here’s where I normally continue when wait interface is “useles..
|
|
This is the second part of the joint blog “project” with James Morle, called “The Wait Interface Is Useless (Sometimes)”. We already did a joint presentation on this topic at UKOUG and more conferences will follow :) Read the first part by James here for intro. So, where do we go when Oracle’s wait interface doesn’t help us? We will show multiple techniques over time, but here’s where I normally continue when wait interface is “useles..
|
|
Finally got sound working in these videos, yay! New features in this video include the aforementioned shadow mapping and reloading, a brand new three player map called Orbit, and heavy modifications to the original Impact level. I really cannot wait to get the multiplayer up and running, and get people playing the beta. Next on my to-do list are a few standard online features: basic match-making, in-game chat, etc. Without further ado:
|
|
There’s a continual shift that seems to be happening on whether contextual advertising is better than behavioral. It seems that most people are becoming bigger and bigger on behavioral, and assuming that contextual has reached it’s peak. After meeting with a company that at first started to do both, blurring the lines, taking advantage of each when they had appropriate data it started to become clear that they more so have their place and t..
|
|
There’s a continual shift that seems to be happening on whether contextual advertising is better than behavioral. It seems that most people are becoming bigger and bigger on behavioral, and assuming that contextual has reached it’s peak. After meeting with a company that at first started to do both, blurring the lines, taking advantage of each when they had appropriate data it started to become clear that they more so have their place and t..
|
|
As it turns out, one of the least used practices of agile development is also one of the most powerful. Up into the start of last year, I only worked sporadically with pair programming. Last year, I was lucky enough to be part of a team that used pair programming all the time. Since I’ve experienced real pair programming, I never want to give it up. Pair programming offers benefits to many stakeholders:
|
|
strong>The Beauly to Denny Power Line Issue... As we would say in Scotland, an ‘almighty rammy’ has predicatably broken out over the decision by the Scottish Government to give the go-ahead to the building of a 137 mile power line connecting Beauly in the North of the country to Denny (...
|
|
strong>The Beauly to Denny Power Line Issue... As we would say in Scotland, an ‘almighty rammy’ has predicatably broken out over the decision by the Scottish Government to give the go-ahead to the building of a 137 mile power line connecting Beauly in the North of the country to Denny (...
|
|
On the 5th of December 2004 when I was 22 years old I changed my life 180 degrees. I quit my earlier very special life and moved back to Sweden to change my life totally. I had no money, education, experience or connections and some people highly doubted that I could get successful – personally [...]
|
|
On the 5th of December 2004 when I was 22 years old I changed my life 180 degrees. I quit my earlier very special life and moved back to Sweden to change my life totally. I had no money, education, experience or connections and some people highly doubted that I could get successful – personally [...]
|
|
This is part three of a multi-part introduction to termios and terminal emulation on UNIX. Read part 1 or part 2 if you’re new here) For my final entry on termios, I will be looking at job control in the shell (i.e. backgrounding and foreground jobs) and the very closely related topic of signal generation by termios, in response to INTR and friends. Sessions and Process Groups For the purposes of termios, processes are organized into two hi..
|
|
This is part three of a multi-part introduction to termios and terminal emulation on UNIX. Read part 1 or part 2 if you’re new here) For my final entry on termios, I will be looking at job control in the shell (i.e. backgrounding and foreground jobs) and the very closely related topic of signal generation by termios, in response to INTR and friends. Sessions and Process Groups For the purposes of termios, processes are organized into two hi..
|
|
Thanks to the Panda3D 1.7.0 shader generator supporting shadow mapping, and the awesome new BuildBot service set up on the Panda3D website, A3P now supports basic shadow mapping! Actually, the sun is just implemented as a giant spotlight with a 2048x2048 shadow buffer. Definitely not the most efficient or high-quality method, but certainly the easiest, and the results are acceptable. Also new in SVN is a reloading mechanic. The shotgun, c..
|
|
I’ve had a couple of mails relating to this PSN, which again references the research that Andy Davidson, Jonathan Oddy and I did last year. It seems that some of the sources of the initial mailing list posts we made are gone (particularly the merit.edu one that is referenced from both Juniper’s site and most other places). For that reason, I’ve included both the mails that we sent to NANOG/C-NSP/J-NSP last year here.
|
|
I’ve had a couple of mails relating to this PSN, which again references the research that Andy Davidson, Jonathan Oddy and I did last year. It seems that some of the sources of the initial mailing list posts we made are gone (particularly the merit.edu one that is referenced from both Juniper’s site and most other places). For that reason, I’ve included both the mails that we sent to NANOG/C-NSP/J-NSP last year here.
|
There Isn't an App For That” - Windows Apps I haven't been able to replace in Mac OS X For a very long time I was a Windows guy, I was once a DOS guy. I switched nearly exclusively to Mac for my home use about 4 years ago. I’ve been very happy with it. Its stable, well engineered, and - my favorite part of all - consistent. Yet, in this time there remain a few applications I cannot seem to replace. Nusphere PhpED I am a PHP Develope....
|
There Isn't an App For That” - Windows Apps I haven't been able to replace in Mac OS X For a very long time I was a Windows guy, I was once a DOS guy. I switched nearly exclusively to Mac for my home use about 4 years ago. I’ve been very happy with it. Its stable, well engineered, and - my favorite part of all - consistent. Yet, in this time there remain a few applications I cannot seem to replace. Nusphere PhpED I am a PHP Develope....
|
|
It's time to face the facts. While the game is progressing at an incredible pace, it's not going to be ready by January 9, or even the end of January. So, I guess I failed to meet my deadline. But! I'm not giving up. I'll still be releasing regular updates, and especially once the multiplayer lobby server is set up, things will start getting a lot more polish. My new goal will be to finish the game before school lets out for the summer. O..
|
|
A lovely, albeit slightly chilly, start to 2010 with the Grupetto this morning. About 90km out to Windsor and back to London on one of our normal training routes. Mark also kindly took some photos , a few of which feature me.
Lots more similar rides to come whilst training for Paris-Roubaix and the Tour of Flanders.
Happy New Year!
|
|
A lovely, albeit slightly chilly, start to 2010 with the Grupetto this morning. About 90km out to Windsor and back to London on one of our normal training routes. Mark also kindly took some photos , a few of which feature me.
Lots more similar rides to come whilst training for Paris-Roubaix and the Tour of Flanders.
Happy New Year!
|
It was fun doing this last year. So I thought I would have another go at it and see what I come up with.
|
|
After seeing some of the great examples of coders working on practiced problems on KataCasts, I decided to try make my own. I am not happy with the pacing of the video. I’m about a minute too early relative to the music. But I thought I’d post the video here, to see what you all think. Comments are welcome! I hope the video will demonstrate how to use refactoring effectively to drive the design of a program.
|
|
For all network deployments, there is a requirement to present information relating to both topology, and various utilisation statistics to some human operator. In many cases, this process has become so ingrained in network requirements that there are almost ubiquitous solutions to the visualising data - for example, link utilisation is almost always presented via some framework or tool powered by RRDTool . Other tools, such as network "we..
|
|
For all network deployments, there is a requirement to present information relating to both topology, and various utilisation statistics to some human operator. In many cases, this process has become so ingrained in network requirements that there are almost ubiquitous solutions to the visualising data - for example, link utilisation is almost always presented via some framework or tool powered by RRDTool . Other tools, such as network "we..
|
|
Some time ago I wrote a post about how COUNT(*) and COUNT(column) are semantically different things ( link ). Such queries may return different results if the column counted has NULLs in it. And the difference comes from that NULL is not a value, it’s rather a state which says “value unknown” or “no value entered”. So, you better understand how NULLs interact with your SQL constructs if you call yourself a DBA or a database developer ;-)
|
|
Some time ago I wrote a post about how COUNT(*) and COUNT(column) are semantically different things ( link ). Such queries may return different results if the column counted has NULLs in it. And the difference comes from that NULL is not a value, it’s rather a state which says “value unknown” or “no value entered”. So, you better understand how NULLs interact with your SQL constructs if you call yourself a DBA or a database developer ;-)
|
|
This is part two of a multi-part introduction to termios and terminal emulation on UNIX. Read part 1 if you’re new here) In this entry, we’ll look at the interfaces that are used to control the behavior of the “termios” box sitting between the master and slave pty. The behaviors I described last time are fine if you have a completely dumb program talking to the terminal, but if the program over on the right is using curses (like emacs or vi..
|
|
This is part two of a multi-part introduction to termios and terminal emulation on UNIX. Read part 1 if you’re new here) In this entry, we’ll look at the interfaces that are used to control the behavior of the “termios” box sitting between the master and slave pty. The behaviors I described last time are fine if you have a completely dumb program talking to the terminal, but if the program over on the right is using curses (like emacs or vi..
|
|
A function for converting characters into a UTF-8 format, required by Google Maps for making API calls.
|