|
Java: Always explicitly specify which XML parser to use
-
www.databasesandlife.com
-
16 years ago
-
eng
There is the following design error in Java (at least in Servlets): A server may serve multiple applications; each application may use different libraries or even different versions of the same library, “side by side”. XML parsers, transformers (XSLT), etc., have a standard interface, and there may be different implementations of this interface from different vendors, open-source projects, etc. Which XML parser, transformed etc. is actual..
|
|
KGL simulator, shared pool simulator and buffer cache simulator – what are these?
-
tanelpoder.com
-
16 years ago
-
eng
If you have queried v$sgastat on recent Oracle versions (by which I mean 9i and above) you probably have seen allocations for some sort of simulators in Oracle instance. Here’s an example: SQL> select * from v$sgastat where lower(name) like '% sim %' order by name; POOL NAME BYTES ------------ -------------------------- ---------- shared pool kglsim alloc latch area 1700 shared pool kglsim alloc latches 68 shared pool kglsim count o....
|
|
KGL simulator, shared pool simulator and buffer cache simulator – what are these?
-
tanelpoder.com
-
16 years ago
-
eng
If you have queried v$sgastat on recent Oracle versions (by which I mean 9i and above) you probably have seen allocations for some sort of simulators in Oracle instance. Here’s an example: SQL> select * from v$sgastat where lower(name) like '% sim %' order by name; POOL NAME BYTES ------------ -------------------------- ---------- shared pool kglsim alloc latch area 1700 shared pool kglsim alloc latches 68 shared pool kglsim count o....
|
|
Derren Brown correctly predicted the winning lottery numbers and put the feat down to a complex mathematical formula. According to the illusionist and hypnotist, he gathered 24 people who wrote down their predictions after studying last year’s numbers. All guesses were then averaged - added up and divided by 24. The “wisdom of the crowd” theory suggests that a large group of people making average guesses will get the correct figure as an av..
|
|
An Introduction is to introduce people” so rather than to introduce my “Lab” I really ought to introduce myself. Well then, here goes: Hello, I’m Murphy, and I am a Ph.D. student. I’m student of science — chemistry in particular — and of life. I like to think about Questions, big and small. Being a “Lab” means that this is really about experimenting with ideas. Thought experiments? Perhaps. Even just seeing where the questions and answers l..
|
|
KGH: NO ACCESS allocations in V$SGASTAT – buffer cache within shared pool!
-
tanelpoder.com
-
16 years ago
-
eng
Since Oracle 10.2 it’s valid to say that buffer cache can be stored inside shared pool. Now you may think I’m crazy, but read until the end of the post – no matter how crazy I may sound – I have proof ! Here it is: Few years ago I started noticing a strange memory allocation in shared pool (in V$SGASTAT), called KGH: NO ACCESS . SQL> select * from v$sgastat where name = 'KGH: NO ACCESS'; POOL NAME BYTES ------------ -------------..
|
|
KGH: NO ACCESS allocations in V$SGASTAT – buffer cache within shared pool!
-
tanelpoder.com
-
16 years ago
-
eng
Since Oracle 10.2 it’s valid to say that buffer cache can be stored inside shared pool. Now you may think I’m crazy, but read until the end of the post – no matter how crazy I may sound – I have proof ! Here it is: Few years ago I started noticing a strange memory allocation in shared pool (in V$SGASTAT), called KGH: NO ACCESS . SQL> select * from v$sgastat where name = 'KGH: NO ACCESS'; POOL NAME BYTES ------------ -------------..
|
|
I couldn't find any resources on setting up WYSIWYGPro with Cake so I developed this helper along with instructions for total integration with your system. If you've never used WYSIWYGPro, you should check out the demos. I've tried every WYSIWYG editor out there and none of the other ones even come close as far as I'm concerned.
|
|
I couldn't find any resources on setting up WYSIWYGPro with Cake so I developed this helper along with instructions for total integration with your system. If you've never used WYSIWYGPro, you should check out the demos. I've tried every WYSIWYG editor out there and none of the other ones even come close as far as I'm concerned.
|
|
While working with the date/time input fields in Cake I got tired of having to select 3/6 drop down boxes to choose all of the date/time information and specifically of having to select 3/6 drop down boxes if I decided to clear the date. A little bit of jQuery will clear this right up though.
|
|
While working with the date/time input fields in Cake I got tired of having to select 3/6 drop down boxes to choose all of the date/time information and specifically of having to select 3/6 drop down boxes if I decided to clear the date. A little bit of jQuery will clear this right up though.
|
|
If you've spent anytime wanting to use ACL on your applications, you know how tedious it can be to manually enter your entire controller and action structure. This Task will handle finding and loading or updating all of those for you whenever you run it from the command line.
|
|
If you've spent anytime wanting to use ACL on your applications, you know how tedious it can be to manually enter your entire controller and action structure. This Task will handle finding and loading or updating all of those for you whenever you run it from the command line.
|
|
Cake has a wonderful shell script function built into it called extract that will run through your code and create a .po file full of all of the text contained within your __('My text here') calls. You can then pass these files onto to translators to modify them for your languages. When you want to add variables though, you have to break it up into pieces which may change the context of the phrase. Here's a way around that.
|
|
PublishableBehavior allows the use of datetime fields for start and end ranges on content. Included functionality allows for checking published status, toggling to published / unpublished status, and adding conditions to a find to properly filter those results.
|
|
The Federal Emergency Management Agency has questioned whether funds allocated to Baldwin County were used properly for post-hurricane cleanup.
|
|
Cake has a wonderful shell script function built into it called extract that will run through your code and create a .po file full of all of the text contained within your __('My text here') calls. You can then pass these files onto to translators to modify them for your languages. When you want to add variables though, you have to break it up into pieces which may change the context of the phrase. Here's a way around that.
|
|
PublishableBehavior allows the use of datetime fields for start and end ranges on content. Included functionality allows for checking published status, toggling to published / unpublished status, and adding conditions to a find to properly filter those results.
|
|
Most of my working career has been in what many would call an enterprise environment. Corporate structure well in place at most of them and in those cases any development followed closely to a waterfall methodology. You laid out requirements strictly and then built to those requirements. You essentially had nothing to show until you got to the end product. Having been in the valley for several years and interacting with some startups and ....
|
|
Most of my working career has been in what many would call an enterprise environment. Corporate structure well in place at most of them and in those cases any development followed closely to a waterfall methodology. You laid out requirements strictly and then built to those requirements. You essentially had nothing to show until you got to the end product. Having been in the valley for several years and interacting with some startups and ....
|
|
Something I learned very early on in my working career, not so much from my experiences but from observing the results of others, was to engage at a social level as early possible. This doesn’t mean you have to take time after 5:00 to get to know someone, the best opportunity exists every single day during what you would already do, lunch! Everyone usually takes a break and eats lunch during the day, usually there’s two groups in an office.....
|
|
Something I learned very early on in my working career, not so much from my experiences but from observing the results of others, was to engage at a social level as early possible. This doesn’t mean you have to take time after 5:00 to get to know someone, the best opportunity exists every single day during what you would already do, lunch! Everyone usually takes a break and eats lunch during the day, usually there’s two groups in an office.....
|
|
Every Scrum-team should use their taskboard to support their particular way of working. I’d like to share the way we use our taskboard at my current project for your inspiration. [caption id=“attachment_447” width=“300” caption=“Colored ink, paper and makers support team process”][/caption] When I started my current project I went to pick up sticky notes and marker pens for the taskboard. I grabbed, more or less at random three colors of no..
|
|
My colleagues have just released a feature on www.easyname.eu where I work – it’s an automated domain-registration and web-hosting service – that you can “ssh” (log in) to your easyname filespace account. I think that’s cool – I don’t know of many web hosting companies where that feature is offered! (I didn’t program the feature – neither the front-end nor the back-end – but I just released it, so I would have been responsible for any p..
|
|
Morgan Thacker/ Associate Photo Editor Most people who have ventured downtown at night realize that parking spots are scarce.
|
|
Oracle 11gR2 has been released – and with column oriented storage option
-
tanelpoder.com
-
16 years ago
-
eng
You may already have noticed that Oracle 11gR2 for Linux is available for download on Oracle.com website, with documentation . And this document ends speculation about whether Oracle 11.2 will support column-oriented storage – yes it will: http://www.oracle.com/technology/products/database/oracle11g/pdf/oracle-database-11g-release2-overview.pdf However, this is apparently available on Exadata storage only as a new error message b..
|
|
Oracle 11gR2 has been released – and with column oriented storage option
-
tanelpoder.com
-
16 years ago
-
eng
You may already have noticed that Oracle 11gR2 for Linux is available for download on Oracle.com website, with documentation . And this document ends speculation about whether Oracle 11.2 will support column-oriented storage – yes it will: http://www.oracle.com/technology/products/database/oracle11g/pdf/oracle-database-11g-release2-overview.pdf However, this is apparently available on Exadata storage only as a new error message b..
|
|
Box Full of Angels is a fictional operating system based on a paper by Aaron Sachs (Assistant Professor of Media, Technologies, and Culture at Saint Mary’s College of California) concerning the influence of religious belief on the writings of Marshall McLuhan and Walter Benjamin. I created this Flash application as a digital edition of his […]
|
|
A DDoS attack is a Distributed Denial of Service . To understand the basics, I'll explain a DoS attack in the simplistic of definitions so you may understand a DDoS. There are plenty of sub-categories for a DoS attack, but for the purpose of this post I'
|
|
latch: cache buffers chains latch contention – a better way for finding the hot block
-
tanelpoder.com
-
16 years ago
-
eng
Here's a treat for Oracle performance professionals and geeks who are looking for more systematic ways for cache buffers chains (CBC) latch contention troubleshooting. Cache buffers chains latches are taken when a process wants to walk through a cache buffer hash chain, looking if the block with required DBA (data block address) is in buffer cache. If the block happens to be in cache, then in most cases it has to be pinned first before use ..
|
|
latch: cache buffers chains latch contention – a better way for finding the hot block
-
tanelpoder.com
-
16 years ago
-
eng
Here's a treat for Oracle performance professionals and geeks who are looking for more systematic ways for cache buffers chains (CBC) latch contention troubleshooting. Cache buffers chains latches are taken when a process wants to walk through a cache buffer hash chain, looking if the block with required DBA (data block address) is in buffer cache. If the block happens to be in cache, then in most cases it has to be pinned first before use ..
|
|
The generation that has been growing up was raised in a world that was radically different from the world we live in now. There is a generational shift, and we know that what we were taught is no longer true: [caption id="" align=“alignright” width=“200” caption=“What does your brain look like?”][/caption] We were taught to trust information from authorative sources, but we’ve learned to prefer the voices of named individuals. Be personal.
|
|
Every now and then I see someone wondering why Oracle is “returning wrong results” for some count queries when counting using COUNT(column_name) instead of COUNT(*) or COUNT(). Oracle is actually returning correct results, its just that sometimes the people asking the questions haven’t realized that COUNT(column) is something semantically different from COUNT(*). COUNT(*) operation counts all rows fed to it by execution plan branch un..
|
|
Every now and then I see someone wondering why Oracle is “returning wrong results” for some count queries when counting using COUNT(column_name) instead of COUNT(*) or COUNT(). Oracle is actually returning correct results, its just that sometimes the people asking the questions haven’t realized that COUNT(column) is something semantically different from COUNT(*). COUNT(*) operation counts all rows fed to it by execution plan branch un..
|
|
When developing PHP, a front-end PHP file will include other files: classes, utilities, etc. When writing those class files, one also needs to use the tags are necessary to introduce PHP to the “exceptional circumstance” that one might actually want to program some PHP.)
|
|
as part of a different project, i needed to duplicate some existing terminal magic in python. what i needed to write was something similar to the getch() function in curses. it can be found in: ncurses*/base/lib_getch.c after doing an: apt-get source libncurses5 what’s the magic? i need to stay in a continuous loop reading from the file descriptor, however i want to return periodically so that gobject doesn’t block and the interface can r..
|
|
as part of a different project, i needed to duplicate some existing terminal magic in python. what i needed to write was something similar to the getch() function in curses. it can be found in: ncurses*/base/lib_getch.c after doing an: apt-get source libncurses5 what’s the magic? i need to stay in a continuous loop reading from the file descriptor, however i want to return periodically so that gobject doesn’t block and the interface can r..
|
|
Boost Bind/Lambda replaced by Boost Spirit/Phoenix
-
blog.raymond.burkholder.net
-
16 years ago
-
eng
|
|
Boost Bind/Lambda replaced by Boost Spirit/Phoenix
-
blog.raymond.burkholder.net
-
16 years ago
-
eng
|
|
Was playing around with Python for a second there. I learnt about one of the new “multiprocessing” features. Its pretty standard stuff, but thankfully does what I actually wanted Python to always do. Allow me to multiprocess any Map function. Below is the sample code (2.6 and above only sorry). from multiprocessing import Pool import time def f (x): return x * x if __name__ == '__main__' : ..
|
|
Network code is working reasonably well now. The server generates a unique MD5 hash (only six characters) for an entity, then broadcasts a packet to the clients instructing them to spawn an entity of the correct type, and assign the same hash as its ID. From then on, the server turns over the reigns to the entity's controller, which can send any information it wants in its own sandboxed data packet.
|
|
Alter system kill session and ORA-00031: session marked for kill
-
tanelpoder.com
-
16 years ago
-
eng
I’m sure you are all familiar with this situation: SQL> alter system kill session '152,33'; alter system kill session '152,33' * ERROR at line 1: ORA-00031: session marked for kill The session trying to issue the kill will hang for 60 seconds and then return this “session marked for kill” message. And the target session does not get killed at all. So why is that? The issue is in what this alter system kill command is doing. It’s not a....
|