This is Jason Buberel's Typepad Profile.
Join Typepad and start following Jason Buberel's activity
Jason Buberel
Sunnyvale, CA
Interests: nature, photography, politics, science, philosophy, fitness, health
Recent Activity
Ah yes, an off-by-one error on my part. Thanks!
HOWTO: random sleep duration in bash
Here is a quickie shell script (bash) tip. If you ever want to insert a random sleep/pause into a running script: sleep $[ ( $RANDOM % 10 ) + 1 ]s This will introduce a 1-10 second random sleep/pause in the script. Can be handy at times.
Jeremey,
Unfortunately, I haven't tested this technique on newer versions of either Selenium or JQuery. So it doesn't surprise me that some tweaking will be required. Please let me know if you happen upon a working solution.
-jason
HOWTO: Test JQuery AJAX autocomplete menus with Selenium
I recently decided to give the functional web testing framework Selenium (and the related premium test execution service, Sauce Labs) a trial run, using the Altos Research purchase workflow as a testbed. After a few hours of experimenting, I had run into a stone wall: Automating the test of an j...
As a small business owner, I am not at all concerned with the uncertainty resulting from the use (abuse?) of presidential authority. While the president may overstep traditional bounds in specific cases, the targets of those actions are typically very specific - BP, GM, United Steel - and do not have industry-wide effects.
Instead, the regulatory uncertainty that stems from the undefined application and enforcement of the recent Health Care Reform and Financial Industry reform is of much greater concern. Many of the implementation details of those bills were left to the regulatory agencies. Because of the lack of specificity in the legislation, it will take years of litigation before the boundaries of those laws become clearly defined.
The Abuse of Presidential Power-Becker
"Power tends to corrupt, and absolute power corrupts absolutely”. This famous dictum of Lord Acton is as relevant today as it was when stated in 1887. It applies to the private sector, such as private monopolies, as well as the public sector, but this insight has become much more important in t...
While I do understand and empathize with all people who suffer from chronic illnesses, I don't buy the argument that the government can or should compel private businesses to absorb the losses of unprofitable customers. That, after all, is the main argument for having a some sort of public option or 'insurer of last resort'.
By forcing BC/BS to absorb those costs, it will inevitably lead to rate increases for all of their existing customers. The math just doesn't work any other way.
I believe we're starting to see this in Massachusetts, where guaranteed coverage has led to steep rate increases as insurers are compelled to provide insurance to any customer.
This recent article in the Boston Globe sums it up nicely, I think:
http://www.boston.com/business/healthcare/articles/2010/06/10/state_presses_insurers_to_add_low_cost_plan_options/
How MoveOn.org lost my support on health care
I just received a fundraising request from MoveOn.org that opened with the following expression of indignation: "Blue Cross has just announced that it's immediately raising premiums charged to hundreds of thousands of individual customers by as much as 39%—even though their parent company's prof...
To be honest, I haven't touched this stuff much in the two years since the original post was written. I have no doubt that much has changed in the world of GStreamer in that time. Sorry I can't be of more assistance - are you using GStreamer from your distro's packages, or is this a custom build?
Using a USB Webcam on Ubuntu Linux to produce good quality video captures that can be uploaded to YouTube directly
Please excuse the lengthy title, but after spending the better part of the last two days getting this entire process nailed down I want to make sure that this write-up is indexed by the search engines as comprehensively as possible. The whole thing started when I was asked the seemingly simple q...
Jason Buberel is now following The Typepad Team
Mar 15, 2010
Update for 2009:
Based on a suggestion from a friend, I have also introduced a 'drying' period of 24 hours in the fridge between brining and grilling. This gives the skin a chance to dry out a bit, and will result in a crispier texture in the final result.
The (near) perfect turkey
I've been meaning to document the outcome of my Thanksgiving cooking adventures for a few days now, but just keep forgetting. Although we initially had decided on the 'buy a fully cooked turkey approach', the closure of the local Honeybaked store in Sunnyvale led Young and I to try cooking it ou...
You must physically measure the distance. That is an input to the formula, not an output of it. Use a tape measure (http://en.wikipedia.org/wiki/Tape_measure) , or laser tape measure (http://bit.ly/68O0YM).
Camera Lens Calculators
Question: How far away from my subject can I be and still fill the photo frame (top-to-bottom) with an image of the subject? Height of Object: meters Focal length of the lens: millimeters Vertical size of image sensor: millimeters Answer: The maximum distance from the...
Minku,
In the equation above, I simply assume that the photographer knows the distance between the object and the image sensor. In practice, you would have to physically measure that distance. Or simply enter an estimate in the box above.
-jason
Camera Lens Calculators
Question: How far away from my subject can I be and still fill the photo frame (top-to-bottom) with an image of the subject? Height of Object: meters Focal length of the lens: millimeters Vertical size of image sensor: millimeters Answer: The maximum distance from the...
FB Person:
Unfortunately, it has been years and years since I last used these scripts. I know that there has been quite a bit of packaging changes in the Xiph.org stuff, and I have not upgraded these scripts to take that into account.
I long ago gave up the hope of managing my entire music collection in multiple encodings, and instead just signed up for Rhapsody.com so I can play any song every recorded any time I feel like it.
Which is all just my long-winded way of saying that you're gonna have to figure out on your own how to get oggenc to recognize the FLAC files and choose an appropriate decoder for them.
-jason
Batch FLAC to Ogg converter
Updated Feb 09, 2010: A newer version of the script has been released - for the update, please visit: http://techpatterns.com/forums/about1491.html This whole thing came about when I decided it was time to pick up a new iRiver H140 portable media player. Once of the factors that led to the iRiv...
James-
You make a very good point. I should probably be thrilled that I don't remember dreams very often, although I do feel somewhat deprived as I never have good dream stories to tell people about!
My next undertaking is to try and increase the amount of deep sleep that I get each night. Not sure what experimental variable I will tweak first yet...
First week of sleep results with My Zeo
It has been just over a week since the arrival of my Zeo Personal Sleep Coach device, and to be completely honest, the results were a total surprise to me. For the longest time, I had believed and would frequently claim that it took me hours and hours to fall asleep at night. My belief was so st...
All fixed - thanks for pointing out the error!
Using a USB Webcam on Ubuntu Linux to produce good quality video captures that can be uploaded to YouTube directly
Please excuse the lengthy title, but after spending the better part of the last two days getting this entire process nailed down I want to make sure that this write-up is indexed by the search engines as comprehensively as possible. The whole thing started when I was asked the seemingly simple q...
Sounds good - cloning we can do. I'll start with Dolly the Sheep (first mammal) and work our way to the possibility of human cloning and what that might mean.
Welcome to Mr. B's Science Blog
Hello there to Mr. Jackson's 7th grade science classes. Over the next few days, I will start adding links to upcoming science stories, and some ideas for future classes. Feel free to use the comments feature to suggest a topic or ask a science related question. See you Friday! -- Mr. B.
I don't know for sure - but if you turn on SQL logging, you should be able to figure it out:
When you execute an HSQL 'like' query, does the generated SQL contain: where name like 'ti%'? If it does, then this technique would not allow the encrypted contents to be searched.
Transparent Data Encryption with Java, Hibernate and PostgreSQL
A new feature that I've been developing for Altos Research will require that we store the credit card information of our subscribers. This makes me nervous as hell. I am scared to death of the impact a data security breach would have on the customers whose data is compromised as well as on the f...
Subscribe to Jason Buberel’s Recent Activity