I have added a Dojo cookie example to my Dojo Examples Page. Setting and retrieving the cookie is pretty straight forward.
The next example will also be with cookies. This time I stick some JSON text in the cookie and retrieve it.
I have added a Dojo cookie example to my Dojo Examples Page. Setting and retrieving the cookie is pretty straight forward.
The next example will also be with cookies. This time I stick some JSON text in the cookie and retrieve it.
I have been a little behind on posts lately. I'm coaching an 8-9 year old volleyball team 2 nights a week and that is cutting into my reading/coding/blogging time. So posts may be a little thin the next couple of weeks, but I should free up again pretty soon.
Even Microsoft, whose bloated Windows software is often blamed for sluggish start times, has pledged to do its part in the next version of the operating system, saying on a company blog that �a very good system is one that boots in under 15 seconds.� Today only 35 percent of machines running the latest version of Windows, called Vista, boot in 30 seconds or less, the blog notes. (Apple Macintoshes tend to boot more quickly than comparable Windows machines but still feel glacially slow to most users.)
Gary Small, a professor at the Semel Institute for Neuroscience and Human Behavior at the University of California, Los Angeles. �Our brains have become impatient with the boot-up process,� Dr. Small said. �We have been spoiled by the hand-held devices.�
For work I needed a burnable CDROM .iso image for use on both Macs and PCs. On OS X 10.5, this can all be done with your Mac, no special software required. Unfortunately, no one has written down all the steps. So, if for only but my own benefit, here are all the steps to create an image. Note: I am doing quite a bit of testing so if I run into any issues, I will post an update.
Source_Code_V1
.Source_Code_V1
. directory.Source_Code_V1
).hdiutil convert Source_Code_V1.dmg -format UDTO -o Source_Code_V1
mv Source_Code_V1.cdr Source_Code_V1.iso
That's it. You should have a shiny new .iso image you can burn to a CD or share with your friends.
If you don't know already, I work in Learning for Sun Microsystems. We are looking at creating an Ajax/JavaScript certification to go along with our existing Java certs. To do that, we generally use real developers developers to define the test objectives and write the questions. And right now we are looking for a few of those folks. So if you have always wanted to say in an interview "I don't have that cert, because I wrote the test." Now is your chance. :)
If you are interested, please add a comment to this post. Please include name, e-mail, your blog/company url, and a phone number so we can contact you. I will pass along your information to the project lead. Since the comments are moderated I will not post any of your information to the Web. This is a limited time opportunity as we need to hear back in the next couple of days. I will remove this post when we have enough people.
And now a word from our sponsor.
My name is Evelyn Cartagena-Meyer and I'm the Java Certification Program Manager. I create all the Java certification exams here at Sun.
I'm in the process of recruiting Subject Matter Experts (SMEs) for the Sun Certified AJAX Developer certification exam.
The two phases I need your expertise in, are:
The week will consist of writing questions for the certification exam using the testing objectives. Each SME will probably write 8-9 questions per day, so Monday thru Wednesday and then on Thursday and Friday we do a technical review and review all 300 questions created by the SMEs.
Past participants have found this workshop to be an extremely rewarding experience where they get to interact with and learn from other top-notch peers and build relationships that lasts beyond the workshop.
The workshop will be the week of December 8-12 here at the Broomfield Colorado campus.
It would be great to have an expert like you on our team for that week.
I hope you are interested in participating and if you know of any other experts that can participate, can you please send me their names or send them my email?
Please let me know.
Thank you.
Evelyn Cartagena-Meyer
Java Certification Program Manager
One of the most annoying things about the eee 1000 is the location of the right shift key. Its small and very far to the right. If you are a touch typist, this makes typing very difficult. Well I have read some blog posts that discussed remapping the keys, but they all seems to mention Windows and not Linux. Since I have the Linux version of the eee 1000 it was time to do a little research.
Googling around I found this really good article on Linux utilities for remapping keys in XWindows. The article only covers remapping the Caps Lock and Control keys. But, playing around with xmodmap
and xev
I was able to figure things out. So here is the result, two shell scripts. The first scripts swaps the up arrow key with the right shift key. The second resets the keys to their original values.
keyswap
#!/bin/bash
xmodmap -e "keycode 98 = Shift_R"
xmodmap -e "keycode 62 = Up"
xmodmap -e "add shift = Shift_R"
keyreset
#!/bin/bash
xmodmap -e "keycode 98 = Up"
xmodmap -e "keycode 62 = Shift_R"
The scripts seem to do the job. But if you have any suggested improvements please pass them along in the comments.
I started a Dojo Examples page here. Currently there is just an example of the forms ValidationTextBox control. Which I gotta say, is a pretty neat tool. I couldn't find anything nearly as easy to use or with as much functionality in the JQuery world.
There will definitely be more to come.
I tried to run jEdit this morning and it would no longer launch on my MacPro. Recently, Apple updated Java on OS X 10.5 and that appears to have broken Java apps. So after Googling around a bit, I found a solution on the support forums.
The jEdit executable is defined as a symbolic link in /Applications/JEdit.app/Contents/MacOS/jedit
, which points to /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub
. This seems to be the problem. To fix it, copy /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub
to /Applications/JEdit.app/Contents/MacOS/jedit
. The jEdit app should now start correctly.
The problem does not affect all systems. The jEdit on my MacBook works just fine after the update. No changes needed.
I'm doing a little house cleaning on the web site this weekend. Some directories are gonna be moved around to make the production site and development sites a little more consistent. I'm planning to use xampp for a little consistency between my macs and my linux laptop. Been thinking about using GeShi to render my code samples. However, the JEdit syntax highlighting plugin seems to do a nicer job. Plus, I'm not sure the nature of the data really requires dynamic processing. Once a code sample is written, its pretty much written, it seldom needs to be touched again. So static files may be a better way to go.
Anyway, if any of my pages are broken over the weekend, please bear with me. :)
I have been trying to incorporate some of the 10 CSS tips I posted about a few days back. When it comes to using shorthand for margins and padding I always get confused. I know you can put in 4 values in one margin statement, but I can never remember what order the 4 values are in.
So to help myself out, I wrote up a page on CSS Shorthand Properties.
So to summarize, when you are defining a margin with 4 values, CSS starts at the top of the box and then moves clockwise around the box. So for example:
h2{ margin: 5px 20px 5px 30px; }
This rule defines a top margin of 5px, a right margin of 20px a bottom margin of 5px, and a left margin of 30px. Start at the top, and move clockwise: top, right, bottom, left. Easy! :)
For more information and examples just click on the link.
I have been running into this problem a lot both at work and with various web sites. You can't teach your audience anything simply by making a statement.
For example, I am going to teach you the theory of relativity and everything you need to know about relativistic physics:
E = MC
Got it! Good. Let's move onto the next subject.... :)
Are you an expert on relativity? Of course not. Without doing the real math behind the equation, you don't really understand anything. There cannot be learning without practice.
Or let's take riding a bike. I could have you read a book on bike riding. Show you videos demonstrating bike riding. Watch a bike race. Any number of things. But you will never learn to ride a bike until you climb on and pedal.
So when you are writing content, at a minimum, include examples your audience can look at, download and explore. Saying it != learning it.