Powered by Twitter Tools.
Monthly Archives: September 2008
I *need* one of these
Well not quite coz I don?t have the space in SF, but if I did, man, this looks so cool? 🙂
Well it?s actually not all that useful coz when I?m on a multi-hour Skype voice call I am usually also on iChat screen sharing or at least doing work at the same time so I need to be handsfree, but this sure looks damn cool.
The solid walnut and brass PAPPA*PHONE mixes old and new with profound simplicity. This luxury phone, hand crafted in Montreal Canada works as a Skype phone with MAC + PC (via the USB adaptor included)
* – Plugs directly into MAC + PC
* – Plug-and-play, no need for software installation
* – Works with all VoIP services (Skype, iChat, GoogleTalk, Vonage, Yahoo, etc.)
* – Handset Cord Length 1.5 metres
* – Original Design by HULGER, handmade by Furni of MontrealEach phone is handmade to order. This takes 6 to 8 weeks after the order is
placed. Standard delivery times, of 5 days to 2 weeks depending on location,
apply thereafter.[From HULGER US]
Tweets on 2008-09-13
- PwnageTool and QuickPwn 2.1 dropped.. @sidneylo u gonna JB yours again? http://tinyurl.com/4nq83y #
- Air Sharing.app is amazing #
- Finally got SF MOMA membership. #
Powered by Twitter Tools.
Tweets on 2008-09-12
- our ec2 instance now got EBS f/ persistence db storage, huge thx to @rayvinly for staying up late with me… multiapps setup almost wrkng.. #
- downloading 2.1 #
- gonna go into the genius bar to see if they would do something about cracked plastic trim on the upper case of my mbp #
- faster backup/sync, NOT! #
- @seoulfully just upgraded your WP to 2.6.2 via svn #
- Still line at apple store for iPhones. WTF. #
- They would replace upper mbp case but I can go without my laptop for 5 days so gonna do it later. #
- Like maybe after I upgrade and transfer data over when new mbps come out later this year. 😀 #
- @garru Cappuccino ftw! #
- @sidneylo lawyers usually do #
- @seoulfully i just upgraded, didnt have the time to go the restore route, worked fine #
- @seoulfully should just soak with jeans on #
Powered by Twitter Tools.
2.1
Woke up, saw the tweets re: 2.1, which I thought was worth getting up to upgrade the phones… updates I really care about in bold.
Update includes:
* Decrease in call set-up failures and dropped calls
* Significantly better battery life for most users
* Dramatically reduced time to backup to iTunes
* Improved email reliability, notably fetching email from POP and Exchange accounts
* Faster installation of 3rd party applications
* Fixed bugs causing hangs and crashes for users with lots of third party applications* Improved performance in text messaging
* Faster loading and searching of contacts
* Improved accuracy of the 3G signal strength display
* Repeat alert up to two additional times for incoming text messages
* Option to wipe data after ten failed passcode attempts
* Genius playlist creation
Tweets on 2008-09-11
- @iamshimone try verizon evdo. Not sure if they have a USB card though. I tethered on caltrain and was connected 95%. The 5% was the tunnel. #
- @iamshimone just checked vzw’s site, they have USB evdo cards… (also expresscard if i were to get one lol) #
- @iamshimone you can probably buy the evdo card on eBay and sell your AT&T one to cover etf and go contract-free #
- Specailtys kiosk at 1 Post St got some of the best coffee I’m SF. IntelligentsiA ftw. #
- @rayvinly lol http://tinyurl.com/3lpnpw #
Powered by Twitter Tools.
Tweets on 2008-09-10
- @cottonduck dude there is one already. It’s the official Twitter fb app. It can update your fb status. #
- Shaving fail. Need to buy shaving cream from Kiehls. Also a little hung over. #
- At techcrunch 50. #
- “Basically, the collider is a series of tubes intended to guide protons as superconducting magnets propel them close to the speed of light.” #
- looking into using EBS… #
- sometimes ?-T takes FOREVER in textmate, what gives? #
- Act in Project > Find in Project in textmate http://tinyurl.com/5kjdxt #
- GoodGuide is the big winner from the judges… http://tinyurl.com/5g28dl #
- nice, Joss Whedon is in this panel… #
- Open bar. But I’m not drinking. This is a first. #
Powered by Twitter Tools.
Tweets on 2008-09-09
- i’m not tempted to buy anything they announced today, this is a 1st for me… #
- and jack johnson is lame #
- @CarolLiang Congrats. Save some vacation days for snowboarding. 🙂 #
- it’s so weir to type on a newer mac keyboard coz there is so much friction on the keys… #
- this is pretty serious http://tinyurl.com/5ov94h #
- @spankystokes a collider #
- just installed itunes8 #
- genius not much use coz my ext hdd with my lossless music library is at home #
- going over the Objective-J tutorial, can’t help but think how all this is just an attr_accessor in ruby… #
- @seoulfully maybe imma cop the new 120gb classic as my lossless lib ext hdd… #
Powered by Twitter Tools.
Tweets on 2008-09-08
- my Growl (app) keeps dying… #
- who is going to the TC50 myspace party at mezzaline tonight? #
- i have 7 Dropbox invites, anyone wants one? #
- @unklesteve invite sent #
- @DocPop selfedge.com now has auto-discovered atom feed #
- dreamhost server is so freaking slow… #
- @iamshimone i’ve always sub’ed to it myself coz kiya gave me the url, didn’t know it’s not on the site til @DocPop asked me to add it ystrdy #
- @seoulfully damn, expensive software for home vids lol #
Powered by Twitter Tools.
autocomplete with multiple related form fields (in rails)
I?m an advisor and consultant for a social network site where you go upload images and tag the stuff you own and the stuff you want. One of the thing we wanted to do in the stuff-tagging form was to have related autocompletion fields. In this case, we want an autocompletion of brand names, and then based on the brand name input, we narrow down the autocompletion for models to only the models for that brand. This should be a pretty commonly done, but the auto_complete plugin in Rails has no easy way to do this.
The obvious approach was to use Rails? autocompletion plugin to do the first field, and then use Scriptaculous directly for the second field, my first approach looked like this:
<%= text_field_with_auto_complete :product, :brand %> <input id="product_model" name="product[name]" size="30" type="text" /> <div class="auto_complete" id="product_model_auto_complete"></div> <script type="text/javascript"> new Ajax.Autocompleter( 'product_model', 'product_model_auto_complete', '/products/auto_complete_for_product_model', { parameter: 'brand=' + $F('product_brand') } ); </script>
But this didn?t work because the parameters are populated on instantiation of the Ajax.Autocompleter, so dynamic form content are not properly sent to the controller. Took some googling and playing around to figure this out, but the solution is to append the additional parameter by overriding the callback.
<%= text_field_with_auto_complete :product, :brand %> <input id="product_model" name="product[name]" size="30" type="text" /> <div class="auto_complete" id="product_model_auto_complete"></div> <script type="text/javascript"> new Ajax.Autocompleter( 'product_model', 'product_model_auto_complete', '/products/auto_complete_for_product_model', { callback: function(e, qs) { return qs + '&brand=' + $F('product_brand'); } } ); </script>
Just for fun, I?m including the ajax endpoint to show how I generate the results in the desired unordered list format using the auto_complete_result helper. You should always specify a limit in these type of queries.
def auto_complete_for_product_model @results = Product.find_by_sql( [ %Q{select p.name from brands b, products p where lower(b.name) = ? and p.brand_id=b.id and lower(p.name) like ? limit 10}, "#{params[:brand].downcase}", "#{params[:product][:name].downcase}%" ]) if params[:brand] && params[:product][:name] render :inline => "<%= auto_complete_result @results, 'name' %>" end
BTW, this site is gonna make an appearance at the Techcrunch 50 demo pit, I should be there, check my Tweets, stop by and say hi if you happen to be around.