|
Some time ago I wrote an article about the 10g+ SQL_ID being just a hash value of the SQL statement text . It’s just like the “old” SQL_HASH_VALUE, only twice longer (8 last bytes instead of 4 last bytes of the MD5 hash value of SQL text). Slavik Markovich has written a nice python script for calculating SQL_IDs and SQL hash values from SQL text using that approach. Slavik’s article is available here:
|
|||
|
Sorry for double post...) Uh… I think we can use 2 heaps (one for ), that’s a lot easier than skip lists. When you add a value, just put the value in the right heap. If the median isn't the median anymore, just put a value from a heap to the other. To delete value in a heap, set "deleted" in a table. When the top of a heap is set "deleted", delete it (that's "lazy" heap).
|
|||
|
I use gnome-do. It’s fairly useful. One quick trick: press SHIFT -
|
|||
|
I use gnome-do. It’s fairly useful. One quick trick: press SHIFT -
|
|||
|
I was recently asked to give a lecture for the PRELUDE series at McGill. Here was my abstract: I don't like computers, and neither should you. We spend too much time figuring out how to talk to them, instead of having them figure out how to understand us. There's a big discontinuity between what software is providing, and the killer features we want! We're not completely lost though. There are a lot of good tools and methodologi..
|
|||
|
I was recently asked to give a lecture for the PRELUDE series at McGill. Here was my abstract: I don't like computers, and neither should you. We spend too much time figuring out how to talk to them, instead of having them figure out how to understand us. There's a big discontinuity between what software is providing, and the killer features we want! We're not completely lost though. There are a lot of good tools and methodologi..
|
|||
|
Makefiles are both scary and wonderful. When both these adjectives are involved, it often makes for interesting hacking. This is likely the reason I use bash . In any case, I digress, back to real work. I use Makefiles as a general purpose tool to launch any of a number of shell scripts which I use to maintain my code, and instead of actually having external shell scripts, I just build any necessary bash right into the Makefile.
|
|||
|
Makefiles are both scary and wonderful. When both these adjectives are involved, it often makes for interesting hacking. This is likely the reason I use bash . In any case, I digress, back to real work. I use Makefiles as a general purpose tool to launch any of a number of shell scripts which I use to maintain my code, and instead of actually having external shell scripts, I just build any necessary bash right into the Makefile.
|
|||
|
Fun with the preprocessor: CONFIG_IA32_EMULATION hacks in Linux
-
blog.nelhage.com
-
16 years ago
-
eng
About two months ago, Linux saw CVE-2010-0307, which was a trival denial-of-service attack that could crash essentially any 64-bit Linux machine with 32-bit compatibility enabled. LWN has an excellent writeup of the bug, which turns out to be a subtle error related to the details of the execve system call and with 32-bit compatibility mode. While dealing with this patch for Ksplice, I ended up reading an awful lot of the code in Linux that ..
|
|||
|
Fun with the preprocessor: CONFIG_IA32_EMULATION hacks in Linux
-
blog.nelhage.com
-
16 years ago
-
eng
About two months ago, Linux saw CVE-2010-0307, which was a trival denial-of-service attack that could crash essentially any 64-bit Linux machine with 32-bit compatibility enabled. LWN has an excellent writeup of the bug, which turns out to be a subtle error related to the details of the execve system call and with 32-bit compatibility mode. While dealing with this patch for Ksplice, I ended up reading an awful lot of the code in Linux that ..
|
|||
|
I wrote a latch contention troubleshooting article for IOUG Select journal last year (it was published earlier this year). I have uploaded this to tech.E2SN too, I recommend you to read it if you want to become systematic about latch contention troubleshooting: http://tech.e2sn.com/oracle/troubleshooting I’m working on getting the commenting & feedback work at tech.E2SN site too, but for now you can comment here at this blog entry…
|
|||
|
I wrote a latch contention troubleshooting article for IOUG Select journal last year (it was published earlier this year). I have uploaded this to tech.E2SN too, I recommend you to read it if you want to become systematic about latch contention troubleshooting: http://tech.e2sn.com/oracle/troubleshooting I’m working on getting the commenting & feedback work at tech.E2SN site too, but for now you can comment here at this blog entry…
|
|||
|
My Favorite Tech related Webcasts on Startups and Entrepreneurship
-
arnorhs.dev
-
16 years ago
-
eng
I can't believe I've made a "Top X"-post, but I just wanted to get this off my chest. These are in my opinion the best tech-related webcasts on start-ups or entrepreneurship. #### 4\. YCombinator inter...
|
|||
|
My Favorite Tech related Webcasts on Startups and Entrepreneurship
-
arnorhs.dev
-
16 years ago
-
eng
I can't believe I've made a "Top X"-post, but I just wanted to get this off my chest. These are in my opinion the best tech-related webcasts on start-ups or entrepreneurship. #### 4\. YCombinator inter...
|
|||
|
I came up with my own indexed skip list several years ago. I like that you updated the wikipedia page. Skip lists are great. My current version of skip lists is where you can operate on it via both index and object. For example, if you want to search for a node both by ID or by index, this list will do it for you in O(log n) in both cases. Note that the objects can be inserted in random order (and not sorted by name). It's great for im..
|
|||
|
I had a problem recently where Eclipse couldn’t find my source files when remote debugging a particular application. It would stop and the breakpoint and show the class file with a “attach source” button, but pointing it to the source directory didn’t do anything. It turns out that the solution was to add the project to the remote debug configuration. This is done by “Run -> Debug configurations…” Choose the remote config from the tre..
|
|||
|
I've been thinking a lot about SEO (Search Engine Optimization) these days. Mostly due to a pretty controversial article by Paul Boag, Why I don't get SEO. I get the point of the article but I think it misses a few considerations. I want to summarize my own thoughts on SEO in a pragmatic way. Disclaimer: I'm not an SEO expert and I do not work in the field so I could be wrong. This is just a Web Developer's pragmatic perspective.
|
|||
|
Was Java's "for each" version of its `for` statement originally called `foreach`?
-
www.databasesandlife.com
-
16 years ago
-
eng
Java 5 introduced the “for each” syntax. But why did they have to use the keyword for, instead of the keyword foreach used by practically every other language? PHP foreach (list as element) | Perl foreach my element (list) | Java for (element : list
|
|
|
I've been thinking a lot about SEO (Search Engine Optimization) these days. Mostly due to a pretty controversial article by Paul Boag, Why I don't get SEO. I get the point of the article but I think it misses a few considerations. I want to summarize my own thoughts on SEO in a pragmatic way. Disclaimer: I'm not an SEO expert and I do not work in the field so I could be wrong. This is just a Web Developer's pragmatic perspective.
|
|||
|
Quick update just to keep this blog alive. I've made some improvements to the command/AI system. It's now much simpler and easier to tell your units to attack a specific enemy. The closest enemy you're aiming at is highlighted, and you can hit Q or E (depending on which one of your two units you want to command) to order an attack on that enemy. Special abilities are also mapped to Q or E, when tapped twice in quick succession.
|
|||
|
Hi all, long time no see! =8-) Now as I’m done with the awesome Hotsos Symposium (and the training day which I delivered) and have got some rest, I’ll start publishing some of the cool things I’ve been working on over the past half a year or so. The first is Oracle Session Snapper version 3! There are some major improvements in Snapper 3, like ASH style session activity sampling!
|
|||
|
Hi all, long time no see! =8-) Now as I’m done with the awesome Hotsos Symposium (and the training day which I delivered) and have got some rest, I’ll start publishing some of the cool things I’ve been working on over the past half a year or so. The first is Oracle Session Snapper version 3! There are some major improvements in Snapper 3, like ASH style session activity sampling!
|
|||
|
I've been spending a few evenings researching the best way to integrate subscription-based payments for my new SaaS project. I was curious if there were any new start-ups implementing a web-based appl...
|
|||
|
I've been spending a few evenings researching the best way to integrate subscription-based payments for my new SaaS project. I was curious if there were any new start-ups implementing a web-based appl...
|
|||
|
I just wanted to post some thoughts on the topic of selecting software components with regard to the maturity thereof. I think overall the programmer community is by default gung-ho about the bleeding edge. We like the shiny new toys with the bells and whistles. Once something's been around enough to have its weaknesses well understsood, we find it very frustrating to have to continue to work with it. I'm not going to offer any specific rec....
|
|||
|
The fundamental tool of any engineering discipline is the notion of abstraction. If we can build a set of useful, easily-described behaviors out of a complex system, we can build other systems on top of those pieces, without having to understand to worry about the full complexity of the underlying system. Without this notion of abstracting away complexity, we'd be stuck writing our webapps in assembly code – if not toggling them in to our f..
|
|||
|
The fundamental tool of any engineering discipline is the notion of abstraction. If we can build a set of useful, easily-described behaviors out of a complex system, we can build other systems on top of those pieces, without having to understand to worry about the full complexity of the underlying system. Without this notion of abstracting away complexity, we'd be stuck writing our webapps in assembly code – if not toggling them in to our f..
|
|||
|
Hi Mike, I would have contacted you via e-mail but it bounced back. I noticed your blog and link to the Skyline Soaring Club in Front Royal, VA. As one of the champions of the sport of gliding and soaring, I thought you might want to share the intriguing line up of speakers that are coming to Wave Camp at SoaringNV in Minden, Nevada on your blog. I know the camp is some distance from Virginia, but your fellow enthusiasts may be inte..
|
|||
|
i use gnu/linux . it’s probably no secret. what is more of a secret, is that i secretly (well actually not so secretly) love using gedit for editing text. i still use vim , echo ( gnu bash) and emacs (but only for org-mode ). vim is really, really great. but for day to day full-screen coding, i love working in gedit. i only have one [1] longstanding gripe, and today i believe that it is solved. here is the magic combination which ..
|
|||
|
i use gnu/linux . it’s probably no secret. what is more of a secret, is that i secretly (well actually not so secretly) love using gedit for editing text. i still use vim , echo ( gnu bash) and emacs (but only for org-mode ). vim is really, really great. but for day to day full-screen coding, i love working in gedit. i only have one [1] longstanding gripe, and today i believe that it is solved. here is the magic combination which ..
|
|||
|
I’ve recently started using Mercurial , which is a distributed version control system . DVCSs initially struck me as a solution looking for a problem. SubVersion seemed good enough for our purposes at work, but we decided to try out Mercurial for one iteration to see what all the fuss was about. Perhaps the most significant difference between SubVersion and Mercurial is that Mercurial uses a local repository. This subtle distinction s..
|
|||
|
Qaiku , the conversational microblogging service that launched a year ago had a refresh that launched today. While it hasn't yet convinced the twittering masses, it has already proven itself as a lot more thoughtful platform for the Finnish online community, and as a valuable workstreaming tool . The new version looks quite nice and fresh. Notice the privacy information on the right-hand side, which is relevant as Qaiku allows channels....
|
|||
|
This article is a summary of a seminar I had on the topic. If it seems like it’s a continuation of an existing discussion that’s because, to some extent, it is. If you haven’t been discussing exchanging your app server, this article probably isn’t very interesting to you. By putting the application server inside my application instead of the other way around, I was able to leap tall buildings in a single bound.
|
|||
|
I just updated the "Columns" macro for the MoinMoin wiki. This allows you to lay out a wiki page in two to ten columns. This makes it easier to get lots of info on one page in certain situations and I've used it to great benefit on my personal wiki where I organize my stuff. Here's the MacroMarket page where my update has been posted for discussion . The original author may not like it, so it might not become the canonical fork, but th..
|
|||
|
Function which will either build an associative array of the GET URL variables on the current page, or return the value of a specified GET variable in JavaScript.
|
|||
|
After my previous post got posted to reddit, there was a bunch of interesting discussion there about some details I’d handwaved over. This is a quick followup on some the investigation that various people carried out, and the conclusions they reached. In the reddit thread, lacos/lbzip2 objected that in his experiments, he didn’t see tar closing the input pipe before it was done reading the file, and so questioned where the SIGPIPE/EPIPE was..
|
|||
|
After my previous post got posted to reddit, there was a bunch of interesting discussion there about some details I’d handwaved over. This is a quick followup on some the investigation that various people carried out, and the conclusions they reached. In the reddit thread, lacos/lbzip2 objected that in his experiments, he didn’t see tar closing the input pipe before it was done reading the file, and so questioned where the SIGPIPE/EPIPE was..
|
|||
|
i decided i’d compile a short list of features / functionality which should be added to the new nokia N900 to make it totally pro. it’s pretty good as it is, despite it not working with the bell networks. i’ve attempted to order this list in order of importance (more or less). all the closed source bits must become free software under a GPL or AGPL license. it should support a fully encrypted file system. if i lose my phone, i ....
|
|||
|
i decided i’d compile a short list of features / functionality which should be added to the new nokia N900 to make it totally pro. it’s pretty good as it is, despite it not working with the bell networks. i’ve attempted to order this list in order of importance (more or less). all the closed source bits must become free software under a GPL or AGPL license. it should support a fully encrypted file system. if i lose my phone, i ....
|
|||