Archive for the ‘technology’ Category

Android Development: DDMS perspective

Tuesday, December 15th, 2009

Don’t forget DDMS perspective in Eclipse. It’s the best way to pull/push files, and you can screen capture your android phone, so easily!

For example, to push files on the emulator, go to
Eclipse->Window->Open Perspective->DDMS


there is sdcard folder with d–rxrwx permissions
drag and drop audio or other files with all possible extensions.

Google Phone: It’s real

Sunday, December 13th, 2009

The long awaited google phone is finally materializing and today Google gave them to its employees to test out:

Google Releases Experimental Phone to Employees:
http://www.pcworld.com/businesscenter/article/184541/google_releases_experimental_phone_to_employees.html

This is the phone I want. I need an unlocked phone, with data plan only, can run Skype to make calls, to be open-source based, can run Java. Google phone looks like, finally, my dream phone.

I like iphone/ipod, but I do not like the way that all is prepriotary. I don’t want to buy another pc/notebook to develop iphone apps running in a mystery OS uisng Object C. Wifi and Skype do not work well too. I hate they exclude Java programs from their OS and Steve Jobs’s rediculous comments about Java.

Did I mention that you can use your sd card to expand your storage without paying bigger bucks? Better than iPhones too!

Change domain name for joomla/virtuemart

Saturday, December 12th, 2009

It’s easy for Joomla itself (at its global config within online admin interface) but tricky for embedded virtuemart. Annoying thing is, after the domain name change you can not access config page online via admin interface.

Here is the file you have to make the changes to make virtuemart work after domain name change: (Remember you have to know what your folder your Joomla points to)

/administrator/components/com_virtuemart/virtuemart.cfg.php:

// these path and url definitions here are based on the Joomla! Configuration
define( ‘URL’, ‘http://newdomain.com/’ );
define( ‘SECUREURL’, ‘http://newdomain.com/’ );

After that all is set with your embedded virtuemart.

坐在马桶上也能写博客

Thursday, December 10th, 2009

我觉得 ipod touch/iphone 成功的地方在于,它成功地让人们在马桶上就能方便地写博客。

Disney park day 2

Monday, November 30th, 2009

11/24 tuesday epcot

Arrived about 9 am. After a short wait, we proceed to get into the epcot park.

Got fastpass for sorin,

Places visited: spaceship earth, living with the land, journey to the imagination, sorin, honey it shrunk me, test track, mission space, nemo.

Sorin got my highest score. You have the feeling that you are suspended from the sky, flying over the sky way way up high, through golden gate, bay area , maintains.

Next is mission space.

All cool editors in iphone/ipod touch

Sunday, November 22nd, 2009

iPhone Editors and Blogging Apps

http://webdesign.about.com/od/iphoneapps/tp/iphone_editors_blog_tools.htm

Wordpress(not Wordpress 2? Wordpress 2 requires 3.0 software), and lifecast are not available in US store.

WordPress

WordPressScreen shot by J Kyrnin

I got this app to connect to my many WordPress blogs. It works fine on the one that uses the root as the blog. But the others I have that don’t I couldn’t get connected to. Frustrating. It also only seems to connect to one blog at a time, and I currently have 3 active WordPress blogs.

This app is free.

—————————————————————-

LifeCast

LifecastScreen shot by J Kyrnin

One of the nice features of LifeCast is how easy it is to connect to various different blogs and blog platforms. You can set up multiple blogs and maintain them all from this one app. The drawback being that while it is a nice looking tool that allows you to upload images to your blogs, when I tried to post something, it didn’t go live on my blog.

This app is free.

=================================

iPhone apps that bloggers will love

http://www.tuaw.com/2009/11/01/iphone-apps-that-bloggers-will-love/

Podcasts approved by iTunes

Tuesday, November 17th, 2009

I submitted my podcasts request on weekend and today I saw it was approved by Apple today (Monday 1:09PM). Wow, just took less than one business day(are they working on weekends?), it is really fast:


Dear Podcast Owner

Your podcast, located at [ http://blog.dengsoft.com/podcasts/podcasts.rss ], has been approved. You should expect to see it in iTunes within the next few hours. When it’s available, you will be able to access it with the URL below.

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=340673816

Your podcast will be searchable within the iTunes Store in approximately 1-2 days.

If you have other questions or wish to change your podcast, please consult the technical spec at http://www.apple.com/itunes/podcasts/techspecs.html. The spec contains detailed information about key topics like adding “cover art” and changing your feed URL.

After adding a new episode, update your feed in the fastest possible manner with the ping service by visiting this URL:

https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=340673816

See the technical spec for more information on updating your feed using the ping service.

There is also an Apple Discussions Forum exlcusively for podcast producers, located here: http://discussions.apple.com/forum.jspa?forumID=1107. If you have a question or a problem that the technical spec cannot answer, the community of iTunes podcasters may be able to provide valuable guidance.

Sincerely,

The iTunes Store Team



Myvidoop: when will your plugin with Firefox 3.5 becomes availble?

Thursday, August 27th, 2009

After several weeks’ waiting I still did not see any progress regrading myviddop’s plugin with Firefox 3.5. So today I went to their web site’s contact support to send the following message (This is the second time I contacted them via their online form. No reply from the first one yet). (I wish Firefox has a feature to let us downgrade!)

Can you let us know when will your  plugin in for firefox 3.5 will become available. I can help develop it too.

I stopped using myvidoop after I upgraded to Firefox 3.5 weeks ago and there are many users like me who stopped using myvidoop because your plugin stops working with FF 3.5.

Thanks.

GNU libiconv library: Solaris 10 does not meet what ruby/rails need

Thursday, August 20th, 2009

Get a copy from sunfreeware.com. I used version 1.11. Gunzip/tar xvf the archive and then cd to the newly created directory.

./configure --prefix=/usr
make
make install

This should be done before you compile ruby. If not, you'll have problem down the road.

Compile Ruby on Solaris 10

Thursday, August 20th, 2009

I downloaded ruby-1.9.1-p243 and gunzip/tar’ed it. When doing

./configure -prefix=/usr/bin -enable-pthread; make; make install

(BTW, I should have used /usr as bin dir is implied in the build)

[note: Second time when I did it, I ran the following command to compile ruby in Solaris 10:

./configure --enable-pthread --prefix=/usr --exec-prefix=/usr
make
make install

--enable-pthread is not needed if your tck/tl did not compile with this option.
]

It spits error like “no output file specified”. Looking into the C codesm under lib, I chnaged several lines in mkmf.rb, which solved the problem. The chnaged line as reflected in diff:

/home/ror/ruby-1.9.1-p243# diff lib/mkmf.rb lib/mkmf.rb.orig
1918,1919c1918,1919
< COMPILE_C = config_string(’COMPILE_C’) || ‘$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG) $@ -c $<’
< COMPILE_CXX = config_string(’COMPILE_CXX’) || ‘$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG) $@ -c $<’

> COMPILE_C = config_string(’COMPILE_C’) || ‘$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<’
> COMPILE_CXX = config_string(’COMPILE_CXX’) || ‘$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<’
1921c1921
<   “$(CC) #{OUTFLAG} conftest $(INCFLAGS) $(CPPFLAGS) ” \

>   “$(CC) #{OUTFLAG}conftest $(INCFLAGS) $(CPPFLAGS) ” \

/home/ror/ruby-1.9.1-p243# uname -a
SunOS zone100-246 5.11 snv_79a sun4v sparc SUNW,Sun-Fire-T200

Did a sym link to make ruby in PATH again:

ln -s bin/ruby ruby

Now I have the newest ruby on Solaris!

:/home/ror/ruby-1.9.1-p243# /usr/bin/bin/ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [sparc-solaris2.11]