|
I was doing a simple job test the other day and one of the questions involved creating a simple jQuery plugin. Having never created one myself I had to look into how to do it. I couldn’t find a dead simple hello world plugin example so I thought I would create a simple example here for people to look at. ( function ( $ ){ $ . fn . HelloWorld = function () { $ ( this ). html ( 'Hello World!' ); }; })( jQuer..
|
|
I recently began the big switch to NAB. I had been with ANZ since my very first bank account, but a combination of NAB’s free everyday account, great reviews of the bank from friends, and good marketing had me make the move. In addition, I had already recently moved to UBank for my savings account. UBank being a division of NAB, it made sense to go ahead and make the switch.
|
Convert MPO to JPEG This tool converts MPO files from devices like the Nintendo 3DS, Fujifilm FinePix Real 3D, or other 3D cameras that support MPO files, into more usable images. It's useful for viewing and sharing 3D photos in a more commonly used format. Unlike many other online tools that simply strip one of the eyes from the result, presenting you with a single image, this tool incorporates both the left and right photos, preser..
|
Convert MPO to JPEG This tool converts MPO files from devices like the Nintendo 3DS, Fujifilm FinePix Real 3D, or other 3D cameras that support MPO files, into more usable images. It's useful for viewing and sharing 3D photos in a more commonly used format. Unlike many other online tools that simply strip one of the eyes from the result, presenting you with a single image, this tool incorporates both the left and right photos, preser..
|
|
This blog post was published on the css-tricks blog today: It explains how you can create a bubble on top of a range-slider html5 form element, which shows the value of the slider.
|
|
This weekend is the first-ever Finnish MeeGo Summit , held in Tampere in the same venue where we had aKademy last summer. Despite some announcements , the conference sold out in a very short time. The program looks very interesting, too. I'll give two talks: Location awareness in MeeGo , Hacks & Tricks track Friday 15:30 Midgard Create - Content Management System without forms , Finhack Saturday 12:00 Finhack is a Finnish free..
|
|
This blog post was published on the css-tricks blog today: It explains how you can create a bubble on top of a range-slider html5 form element, which shows the value of the slider.
|
|
It has been a long time coming, but jQuery is now in the index and can be searched on. You can by searching for jquery EDIT And a list of all functions to go with it, List of all jQuery Functions
|
|
I hope to post some details on this soon, but just a note that my ongoing node.js hacking is turning up some real gems. I migrated my application level tests from Zombie to Phantom with great results. phantom.js is pretty rad. Also got remote graphical debugging in the browser working and learned how to properly drop in a REPL for quick and dirty investigations, which is cool. Maybe on Thursday I'll have time to post some of the details, bu..
|
|
One thing I constantly find amazing is the solutions kids come up with for technology problems they encounter. The tools they pick can often seem baffling to those of us who are steeped in tech knowledge. They don't seem to limit their thinking to picking the exact tool designed for the problem at hand. They often pick tools which seem terribly suited for the problem but make it work. What brought about this blog post? A quiz game cre....
|
|
Teams gather around task boards to plan their day. If the conversation and the task board match, we stay on topic and we understand what the rest of the team talks about. The last month, my project has redesigned the task board with this in mind. Here is a picture of our task board as it looked a few weeks ago: Each column represents a day. The top swimline represents testing tasks, the second swim line represents development tasks, and the..
|
|
The IE team released a new preview of IE10 beta today along with a video demo. The video goes out of it's way to point out some difference in CSS3 column rendering between IE 10 and Firefox 4:
|
|
The IE team released a new preview of IE10 beta today along with a video demo. The video goes out of it's way to point out some difference in CSS3 column rendering between IE 10 and Firefox 4:
|
|
I’m sure you’ve heard of CoffeeScript. Everyone is talking about it, it seems. It’s a beautiful language with a simple syntax that you use to write Javascript. CoffeeScript compiles to Javascript. Here is why I think you should be using it: Readability CoffeeScript is designed to be beautiful and readable. There is no unnecessary fluff. Less syntax boilerplate, fewer mistakes. Compare: // regular javascript var author = "....
|
|
I’m sure you’ve heard of CoffeeScript. Everyone is talking about it, it seems. It’s a beautiful language with a simple syntax that you use to write Javascript. CoffeeScript compiles to Javascript. Here is why I think you should be using it: Readability CoffeeScript is designed to be beautiful and readable. There is no unnecessary fluff. Less syntax boilerplate, fewer mistakes. Compare: // regular javascript var author = "....
|
|
Quotes in CSV files are a classic case of a solution to a problem, which in fact does nothing to solve the problem, but is a problem of its own. The problem: If you have a row of data like foo,bar and you wish to include commas in one data element, you can’t, as the recipient system will treat the comma as a field separator as opposed to part of the data. The solution used by programs like Excel: surround such data in double-quotes, i.e..
|
|
From NewsChicago.com: To encourage healthful eating, some Chicago schools don’t allow kids to bring lunches or certain snacks from home
|
|
I just wasted a few minutes troubleshooting one of my scripts – and realized that while SELECT … INTO :bind_variable does not error out when executed as top-level SQL, it doesn’t seem to populate the resulting bind variable: SQL> VAR blah VARCHAR2(10) SQL> SELECT dummy INTO :blah FROM dual; D - X SQL> print blah BLAH -------------------------------- See, the bind variable is empty… Now, let’s run the same statement via PL/SQL eng..
|
|
I just wasted a few minutes troubleshooting one of my scripts – and realized that while SELECT … INTO :bind_variable does not error out when executed as top-level SQL, it doesn’t seem to populate the resulting bind variable: SQL> VAR blah VARCHAR2(10) SQL> SELECT dummy INTO :blah FROM dual; D - X SQL> print blah BLAH -------------------------------- See, the bind variable is empty… Now, let’s run the same statement via PL/SQL eng..
|
|
caption id="" align=“alignleft” width=“263” caption=“Tahlia & I at the iiNet TopGeek Final (photo via Tahlia)”] [/caption]
|
|
One of best ways to get the full effect of pair programming is if everyone programs with everyone else. This maximizes learning in the team. Here are three simple tricks we’ve found useful to get the pair programming to flow better. Magnets: Getting away from task ownership is essential to get pair programming to work. Instead of writing names on the cards that represents the tasks the team is working on, we place magnets with pictures of t..
|
|
I just found an interesting quote by Thomas Fuchs , the creator of script.aculo.us and a core member of the Prototype team. The quote is from his Setup interview: For computer programmers, especially if you’re self-employed, there’s no excuse whatsoever not to get the latest and greatest. You don’t really have other expenses anyway, it’s tax-deductible and, most importantly, it will make you happy and more productive if you know that..
|
|
I just found an interesting quote by Thomas Fuchs , the creator of script.aculo.us and a core member of the Prototype team. The quote is from his Setup interview: For computer programmers, especially if you’re self-employed, there’s no excuse whatsoever not to get the latest and greatest. You don’t really have other expenses anyway, it’s tax-deductible and, most importantly, it will make you happy and more productive if you know that..
|
Today I decided to spruce up a VB.Net application I wrote in college and still use almost daily. In the process of converting it from .Net 2 to .Net 4 I wanted to add a splash of Windows 7 goodness; there were some very simple operations I wanted to add to JumpLists. The problem I ran into with all the examples I could find is that they either called entirely different applications (the Microsoft examples all called Notepad ) or the....
|
Today I decided to spruce up a VB.Net application I wrote in college and still use almost daily. In the process of converting it from .Net 2 to .Net 4 I wanted to add a splash of Windows 7 goodness; there were some very simple operations I wanted to add to JumpLists. The problem I ran into with all the examples I could find is that they either called entirely different applications (the Microsoft examples all called Notepad ) or the....
|
|
UPDATE: Check out our guide on Playing Sounds for the most up to date information. We think the default audio widget from SoundCloud already is one of the sexiest on the web. But maybe you need something a bit simpler or complex and want to tailor the player to your needs. This is where the idea of “custom players” comes into play.
|
|
UPDATE: Check out our guide on Playing Sounds for the most up to date information. This is an introduction to how you can power your app or website with sounds hosted on SoundCloud. Via our API, you get access to millions of different sounds, and in addition to streaming and downloading tracks, you can access meta data and social features like comments and followings.
|
|
UPDATE: Check out our guide on Playing Sounds for the most up to date information. We think the default audio widget from SoundCloud already is one of the sexiest on the web. But maybe you need something a bit simpler or complex and want to tailor the player to your needs. This is where the idea of “custom players” comes into play.
|
|
UPDATE: Check out our guide on Playing Sounds for the most up to date information. This is an introduction to how you can power your app or website with sounds hosted on SoundCloud. Via our API, you get access to millions of different sounds, and in addition to streaming and downloading tracks, you can access meta data and social features like comments and followings.
|
|
I've been working with Node.js a lot recently and enjoying it. However, I'm not sure entirely WHY I am enjoying it. I'm writing it in CoffeeScript , which is pleasant enough, but it doesn't change the fact that javascript is lacking is basic language/library features like a Set object or hashes with non-string keys and so forth. The other day I realized part of my good feelings about node are from my experience with the docs, which norma....
|
|
Douglas Crockford’s JSLint script is almost a golden standard when it comes to checking the syntax and general sanity of your javascript files. Being lazy by nature, I got tired of copying and pasting my code into the web form. I wanted to be able to run the JSLint tool from the command line. JSLint itself is written in javascript. It’s a 6000-line beast. How do you run a javascript library as a command line utility? The answer is node....
|
|
Douglas Crockford’s JSLint script is almost a golden standard when it comes to checking the syntax and general sanity of your javascript files. Being lazy by nature, I got tired of copying and pasting my code into the web form. I wanted to be able to run the JSLint tool from the command line. JSLint itself is written in javascript. It’s a 6000-line beast. How do you run a javascript library as a command line utility? The answer is node....
|
|
UPDATE: Check out our guides on Authentication and Sharing Sounds for the most recent information. If you build an app or web service that generates any type of sound, it’s easy to connect it to SoundCloud and enable your users to share their creations across the web. Allowing users to share what they create to their existing social networks and the SoundCloud community brings great value in a variety of use cases. If you have an app for be..
|
|
UPDATE: Check out our guides on Authentication and Sharing Sounds for the most recent information. If you build an app or web service that generates any type of sound, it’s easy to connect it to SoundCloud and enable your users to share their creations across the web. Allowing users to share what they create to their existing social networks and the SoundCloud community brings great value in a variety of use cases. If you have an app for be..
|
|
Latch contention troubleshooting case study and Flashback Database performance issues with LOBs
-
tanelpoder.com
-
15 years ago
-
eng
Steve Bamber has written up a case study of library cache latch contention troubleshooting of an Apex application with LatchProf. I’m happy that others also see the value and have had success with my new LatchProf based latch contention troubleshooting approach which takes into account both sides of the contention story (latch waiters and latch holders/blockers) as opposed to the guesswork used previously (hey if it’s shared pool latch..
|
|
Latch contention troubleshooting case study and Flashback Database performance issues with LOBs
-
tanelpoder.com
-
15 years ago
-
eng
Steve Bamber has written up a case study of library cache latch contention troubleshooting of an Apex application with LatchProf. I’m happy that others also see the value and have had success with my new LatchProf based latch contention troubleshooting approach which takes into account both sides of the contention story (latch waiters and latch holders/blockers) as opposed to the guesswork used previously (hey if it’s shared pool latch..
|
|
We are happy to introduce you to our new developer portal developers.soundcloud.com. Here we are bundling up all the SoundCloud platform…
|
|
We are happy to introduce you to our new developer portal developers.soundcloud.com. Here we are bundling up all the SoundCloud platform…
|
|
Since Sun’s killers euh Oracle shutdown OpenSolaris, FreeBSD is becoming more and more attracting with ZFS port, you should really give it a try (We are back baby). Here is a fast installation of FreeBSD with a ZFS root. Download http://mfsbsd.vx.sk/, a special iso image that will give you a ZFS on root FreeBSD with no pain. Note that I’m using it over KVM on Gentoo: (kvm -hda /dev/vg0/freebsdvm_root -m 4096 -cdrom /opt/data/kvm/installer/m..
|
|
Yep. Spring Break’s been over for about a week now. Don’t know if I’ll be able to post much. I might be able to post some projects that I’m working on in various classes. So what classes am I taking? Well, my schedule pretty much looks like this:
|
|
One of the things I come across in databases now and then is a collection of single tables with a name like “MessageType”. You have a look in them and it turns out to have 6 or so rows with no foreign key relationships. Every single time it turns out to be someone had the idea to store an Enumeration (Enum) type in the database. Not a bad idea as it turns out since you can add sort options, soft deletes and the like, but the implementation ..
|
Demo Requirements PHP >= 5.4.0 Download The script is available over on GitHub or via Composer: $ composer require 'donatj/phpuseragentparser' Usage The original procedural use is as simple as:
|