Category ArchiveTech



Tech & iPhone & phones 12 Nov 2007 09:52 pm

Could Android crush iPhone?

ZZ5A24F854.jpg

I’ve never been happier with a device than I have been my my iPhone. However, there is one huge problem. You can’t write your own software for it (this doesn’t count) , or even hack some existing software that someone else wrote. OK, at least you can’t do those things without using a process called jailbreak, and then you can’t even update your iPhone without worrying that you’ll lose everything you’ve installed on your it. Recently Android was announced by Google as a device platform, not a device implementation. They got other people on board. But the killer piece is that you can go out right now and download a full SDK for OSX, Linux or Windows. It includes a full emulator to test your code and even a plugin for eclipse. And you can code in Java. Why did Apple skimp on the SDK for the iPhone? February is a long way away. There is probably a legion of people out coding for Android tonight that would have been working on iPhone apps had Apple released a SDK. Some are already wondering if the iPhone can be put to better use….

Can it crush the iPhone? Maybe. In 2008, when there are HTC devices running Android for $99 (or even free) at Sprint, who is going to pay $400 for an iPhone? When they build a dozen different form-factors of Android devices how can the iPhone compete? I suppose there will always be a market for iPhone as long as they function as video iPods, and as long as Apple keeps us locked into iTunes. But Android is using webkit! That’s half the reason I bought the iPhone. Here is a deeper look at the Android stack. Plus you can win some of the $10 million they are giving away for cool applications written from now till March 2008.

android_adc.gif

After getting my iPhone, I thought I finally wouldn’t need or want another device for long time. Too bad it only took two months for that sentiment to disappear.

Picture 5.png

A screen grab of the SDK running on my Mac….

Interesting & Mac & Tech 10 Nov 2007 03:56 pm

Lepoard Firewall - not your ipfw anymore

Browsing the net I came across a great site that answered some questions I had about the new firewall in Leopard. Using it now on the company macbook, and it’s nice. Having the 4 gigs of ram helps also. My poor macbook was pushed to the limit with just 2. The site is worth checking out- there are lots of good Mac tibits.

Software & Tech 24 Sep 2007 08:18 pm

Halo affecting our world

Tech & iPhone 23 Sep 2007 06:45 pm

Video on iPhone

itcrowdtop.3.jpgI’ve hit on a little TV obsession here in my idle hours between baby feedings. This one is cool because it involves way more than just watching something on the telly. This is unavailable-in-the-US show watching. The kind where you pull torrents of the show down from the net using semi-legit sites, then go about converting them so I can watch them on my Mac and put them into iTunes with the correct MPEG format for watching on my iPhone. Now I can watch these episodes on the go, or rather, seated with my one hand full of baby, the other clutching the Jesus Phone and keeping it away from baby vomit.

The show is The IT Crowd, [Fancast Link] and here is a little snippet on YouTube to give you a taste…

Here is a site with links to the 1st season episodes. I found my shows here.

Converting them to iPhone format– that was a another little battle in itself. Google should be ashamed of the link-spam mess that they have become, all in the name of profit. If you google iphone video convert you get pages of link-spam and junk sites pushing ads at you. After more careful digging around on some macintosh sites, I found what I was looking for. VisualHub did the converting perfectly, and gave me excelling quality videos on my iPhone. It cost $35, but is well worth the price for converting Windows format movies to the Mac compatible formats, as well as formatting for the screen size of the iPhone and all the iPods capable of playing video. It will even put them into iTunes for you after it has finished converting them.

vhub.png

I recommend VisualHub if you have a Mac and video-capable iPod and want to easily convert over some of the many free shows available on the net.

Tech & iPhone 07 Sep 2007 09:27 am

What will you do with your $100?

I’m planning on getting iLife ‘08 or an airport express.

Getting the $100 credit is the nice touch by Apple. I was happy paying $599 for my iPhone- the price drop will only mean more iPhones on the street, and more iPhone compatible websites.

PocketPC & Tech & iPhone 23 Aug 2007 05:16 pm

ZunePhone

Yes, this is all over, but it’s so funny.

Mac & Tech 22 Aug 2007 09:33 am

It’s a Big Ass Table

Take that apple!

Mac & Tech 29 Jul 2007 12:20 am

New Apple USB Keyboard

mac_plus.jpegI’ve been dreaming of having a USB keyboard that uses the keys in my Macbook. I’ve been in total love with the keyboard on the MacBook since it came out and I picked one up a few weeks later. The keyboards on MacBookPros feel like crap. The current Mac USB keyboards are also near useless- their gentle slope hurts my hands after a few days of use. Soon however, my dreams may be reality as pictures of the new Apple keyboards are leaking all over the net, and they are definitely MacBook-based. The MacBook keyboard looks like an old 1980’s chicklet keyboard, however, it has the best spacing and feedback of any keyboard I’ve ever used.

See Apple Keyboards Compared to Old Keyboards at circa1978.com.

Newton & Nokia 770 & Tech 28 Jul 2007 05:58 pm

OpenEinstein build 48 for Nokia 770

logo_light.gifI’ve complied OpenEinstein 2007-07 build 48. Current as of today. You can download it below. It’s about 1.8 megs, bzipped. It will expand into a 16 meg file.

Feel free to download the binary here. You’ll need this file also: Einstein.rex. The last thing you need of course is a real Newton ROM, so please have that handy. Directions are in the manual– it’s worth the read if you are going to try and run this.

I’m still trying to figure the best way to make this run on the 770. I like killing the maemo_af_desktop, so that the OpenE isn’t locked into it, but sometimes OpenE won’t start. If someone has it going full screen on the 770, please add a comment for your exact startup line. I still haven’t gotten it to go the full 800×480 on the 770.

CIM & Tech 24 Jul 2007 03:00 pm

Managing multiple JMX controls on Tomcat

jmanage.gifWe had another puzzle at work again. How to manage all the JMX controls that the devlopers had nicely written for us using little tiny MBeans.

Normally, the devs just ssh -X over to their tomcat instance and fire up the jmx console via X. This won’t scale out to 10’s of tomcat nodes. And we have to manage some custom controls on each node.

A great open-source app that handles this smartly is jManage. It’s a self-contained jetty container and app. It deploys quickly and is a snap to setup.

Their Tomcat directions were empty, but I figured out how to make it work with some googling. I’ve since updated their Tomcat Wiki page with the directions. It’s easy. If you need something like this to consolidate JMX management, jManage is just the lightweight tool you need.

[UPDATE 7/25] A good page from sun on JMX Management.

Tech & iPhone 23 Jul 2007 08:39 am

iPhone Compromise Reported

There is a lot of buzz regarding this article that was printed in the NYT this morning. ISE (Independent Security Evaluators) found that not only does every process run as root on the iPhone, the heap is executable. So they fuzzed mobileSafari till they found an overflow, which allowed them to execute any API call on the iPhone. More details are in their white-paper at their site (and direct link is below). They notified Apple back on the 17th of July.

THere white paper discussing their discover techniques and findings is here.

I suppose we’ll be getting our first iPhone update fairly soon now.

Nokia 770 & Tech & iPhone 20 Jul 2007 03:20 pm

First non-Apple iPhone App - creeping closer to N770 hackability

The first ever non-apple application has been allegedly run on the iPhone. The people over at the iPhone DevWiki report. Watch out Nokia 770, soon the iPhone will be as hackable as you are!

At least, some day it will. This user, Nightwatch is using his own arm toolchain, so this isn’t like we have a nice Scratchbox available to install onto debian. But as time moves on, our own apps on the iPhone draw closer and closer.

Linux & Tech 18 Jul 2007 05:19 pm

Xen Domains, RHEL and Networking

xen_image.jpegAt the office I’m deploying some new servers using Xen domains running under RHEL 5.0. We use RHEL 4.4 for our systems, and so re-deploying some of them as RHEL 4.5 (the Xen-kernel enabled version) Domains saves hardware space, money and keeps the server room cooler. Many dev servers are not utilized like production systems and so will benefit from the Xen virtualization.

Setting up the domains is pretty straight forward, RedHat has a nice guide using their virt-manager GUI tool. There are also excellent guides at the Centos wiki.

Two things were not obvious to me, and I’m posting my findings here to help others.

Issue 1 Multiple networks

After building the domain, the first thing that stopped me was that I needed multiple networks. The virtual hosts need to be on three networks, and so I needed three virtual devices. The RedHat guide has a nice section on how to create the necessary br0 (network bridge devices) devices, so modifying the scripts to go from one br0 to three (br0, br2, br3) each corresponding to a real NIC on the host was straightforward. However, how to get the virtual devices to recognize and use these new bridges? There is only one config file for your domain, and it looks like this:

# Automatically generated xen config file
name = "myVirtualPony"
memory = "1024"
disk = [ 'phy:/dev/virt_vg/some_virtdisk,xvda,w', ]
vif = [ 'mac=00:16:3e:3d:11:f7, bridge=xenbr0', ]
vfb = ["type=vnc,vncunused=1"]
uuid = “fff0f6c0-60e2-xxxx-xxxx-xxxxxxxxxx”
bootloader=”/usr/bin/pygrub”
vcpus=1
on_reboot   = ‘restart’
on_crash    = ‘restart’

It should be obvious to any Python programmer, but it wasn’t to me initially. Eventually I realized you had to add some new attributes to the vif list. The Redhat guide has a nice python snippet to generate new MAC addresses for you. I used that to generate two more MACs, then added them in:

# Automatically generated xen config file
name = "myVirtualPony"
memory = "1024"
disk = [ 'phy:/dev/virt_vg/some_virtdisk,xvda,w', ]
vif = [ 'mac=00:16:3e:3d:11:f7, bridge=xenbr0',
        'mac=00:16:3e:19:11:ed, bridge=xenbr2',
        'mac=00:16:3e:49:11:40, bridge=xenbr3', ]
vfb = ["type=vnc,vncunused=1"]
uuid = “fff0f6c0-60e2-xxxx-xxxx-xxxxxxxxxx”
bootloader=”/usr/bin/pygrub”
vcpus=1
on_reboot   = ‘restart’
on_crash    = ‘restart’

Now just reboot the domain with a quick

$ xm reboot myVirtualPony

and loginto the domain. Copy the /etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth1, ifcfg-eth2 and edit them, using the new MAC addresses you created and the proper TCP/IP info.

There is an excellent Page on Xen Networking at Xensource Wiki. I wish I had found this when I was banging my head on this problem.

Issue 2 - Virtual Console

After my domains were setup most Xen docs talk about using the virtual console to login to your domain from the host, similar to what you can do with Solaris Zones.

On the master host you should be able to login to the virtual console of the local domains. However, when you build your domains with RedHat’s virt-manger they don’t setup the virtual console correctly. They attach serial output to the virtual-framebuffer. So if you try and use the virtual tty, you only get the output of the kernel booting, then it stops and your terminal is stuck.

To fix this, you can follow the directions Xen Centos Tips and Tricks page:

You just need to add

co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav

in /etc/inittab

and add

xvc0

to the file /etc/securetty. Then do a @ telinit q to re-load the /etc/inittab and you should be able to use the virtual console from a tty.

Now with that out of the way I can do this to login into my domain:

xm console myVirtualPony

Xen is fun.

Nokia 770 & Tech & iPhone 18 Jul 2007 08:58 am

Next Internet Tablet to include Phone?

Nokia must be responding internally to the iPhone mania. The question is, will it be a more advanced smartphone, or a phone enabled internet tablet? Scoble asked around and only got some smiles. Can Nokia really continue to push the Internet Tablet line, sans phone, now that the iPhone has set the bar so high? Nokia has some cool devices, good technology, mature development infrastructure and a lot of community based support and coding efforts. But relying only on wi-fi will not enable a truly mobile communications device. They have something ready to replace the N800. Will they strap a phone onto it? Will they dump Opera for Mozilla or build-out their Webkit browser? That would certainly be in the arena for an iPhone competitor.

For all the committed Nokia users out there, hating the iPhone buzz– if you haven’t seen this page yet, give it a look. Why? ’cause someone thinks that The iPhone is a piece of shit, and so is your face. Perhaps Nokia’s answer to the iPhone is already here, it’s just losing marketing game.

Newton & Nokia 770 & Tech 18 Jul 2007 12:31 am

iPhone vs N800 Quick Comparison

Apple iPhone: ARM CPU @ 667mhz [Samsung], 128Mb ram, 8GB Flash
Nokia N800: ARM CPU @ 320mhz [TI], 128Mb ram, 256Mb Flash

N800 has dual SD cards for more Flash, iPhone has no way to extend the 8Gb. N800 has a bigger screen, higher DPI but doesn’t have the light-touch touch-screen like the iPhone. I’d still consider getting a N800 to replace my 770 if the price drops. I’d like to use ITOS2007 and have Flash 9 available for browsing– especially now since Mozilla has just been released for ITOS2007. We’ll probally never see Flash in the iPhone, but who knows. I just don’t think Apple will do it.

Newton & Nokia 770 & Tech 18 Jul 2007 12:01 am

Building Open Einstein

Here are some more detailed instructions on getting Open Einstein built on MacOSX Intel, using the JAM complier and targeting the Nokia 770. I also built it for MacOSX, to run locally on my macbook.

The published directions are here, and you should read them first and familiarize yourself with them.

Install MacPorts

* MacPorts-1.5.0-10.4.dmg

Open a terminal and then use macports to install the following packages:

$ sudo port install gettext
$ sudo port installlibffi
$ sudo port install jam
$ sudo port install arm-none-linux-gnueabi-gcc

Then you must add

/opt/local/bin

to your $PATH on the Mac (edit .bash_login in your home directory), then restart your terminal or read in the new bash_profile.

Pull down Klibs and Build

K is located at SourceForge (http://sourceforge.net/projects/KLibs/)

$ cvs -d:pserver:anonymous@klibs.cvs.sourceforge.net:/cvsroot/klibs login
[Enter] for password

$ cvs -z3 -d:pserver:anonymous@klibs.cvs.sourceforge.net:/cvsroot/klibs co -P K

$ cd $PATH_TO_KLibs/_Build_/Jam

$ jam -starget=nokia2006

Klibs should build with out problems. If you want to build for the Mac, just leave off the -starget parameter.

Pull down Open Einstein and Build

$ svn checkout http://einstein.googlecode.com/svn/trunk/ einstein

$ cd einstein/Einstein/_Build_/Jam

$ jam -sK=$PATH_TO_KLibs -starget=nokia2006 -sjittarget=GENERIC

Now there is a new folder in the /_Build_/Jam directory called build.ARM-LINUX-Nokia2006. This folder will contain the einstein binary for the Nokia 770.

Move files over to 770

You need three files:

  • einstein - the ARM binary of einstein.
  • Einstein.rex - the ROM extension for einstein (it has the NewTest app to test your emulation speed).
  • ROM file - the actual ROM file from a newton. Read the Open Einstein Manual on how to create one using your existing Newton and a Tcp/Ip connection.
  • [You should set up sshd on 770, change password of 'user' to something you know, change the ip address below to match your 770 local ip. Use ifconfig -a to check the local 770 ip.]

    Now copy the files:

    $ scp $PATH_TO_EINSTEIN/_Build_/Jam/build.ARM-LINUX-Nokia2006/einstein user@192.168.155.155:
    $ scp $PATH_TO_EINSTEIN/_Data_/Einstein.rex user@192.168.155.155:
    $ scp $NEWTON_ROM user@192.168.155.155:
    

    Once they are copied over, you can start Open Einstein like this:

    /home/user # ./einstein -l log2 -m 737041 .
    Welcome to Einstein console.
    This is Einstein Platform 2007.
    Creating image...
    Max units count = 986
    Max units count = 1026
    Booting...
    Type help for help on available commands.
    einstein> power
    

    And you should see the Newton Start up on your device. Below is a screen shot of the Newton running on my MacBook, in Xwindows:

    oe_mac_1.png

    Newton & Nokia 770 & Tech 16 Jul 2007 12:50 am

    Open Einstein booting on 770

    After some trial and error, and some help from Paul G, I managed to build Open Einstein for both my Intel Mac and for my Nokia 770, using just my Macbook. I followed the directions to build at the Google Code site. I’ll have more explicit directions soon, but the code does build and run on the 770. And you don’t need scratchbox to build it! Excellent work Paul.

    Here are some screen shots (click for bigger versions):

    Einstein2007 2

    Einstein2007 1

    After Einstein was built, the directions for starting it are the same as before. The easiest way to control einstein is via SSH into the 770, so that you can shutdown all the Hildon interfaces.

    Full directions to build this will be up soon.

    Update: There is a new Einstein Platform 2007.7 User Manual at Paul’s Einstein Page.

    Nokia 770 & Tech & iPhone 14 Jul 2007 05:28 pm

    Nokia 800, N95, iPhone Browser Video Comparison

    Update 06/17/07: Here is the link to the original post over at atmaspheric. The blog is worth reading.

    I found a cool video over at umpcportal.com, filmed by Jonathan Greene. He puts an iPhone, Nokia 800 and the N95 thru their paces while browsing the web. The video is nicely done and well narrated. It shows a lot more than my pictorial essay from a few days back. Worth a look at only 22 min long. You’ll certainly get a sense of the various levels of ease-of-use for these devices when browsing the web.

    Some points that stuck me as I watched it:

  • The stylus mode of input just stinks for truly mobile device (cumbersome)
  • The iPhone is fast
  • The N95 is useless if you want to browse anything real on it
  • Apple really put a lot effort and technology into making finger browsing possible and easy (and fun)




  • Mac & Newton & Nokia 770 & Tech 14 Jul 2007 10:30 am

    Newton ARM Emulation Goes Open Source

    The Newton
    At the 2007 Worldwide Newton Conference in Tokyo on July 8th, Paul Guyot announced that his most excellent Newton Emulator for ARM, Einstein, was now open source and available immediately on Google Code. His announcement to the NewtonTalk mailing list is worth the read. One improvement that sounds enticing:

    “the heavy work done these past weeks allowed me to design a new experimental module where NewtonOS instructions are executed natively on ARM PDAs. “

    There have been other improvements to Einstein since last year- the biggest (to me) is the ability to cross-compile and build Einstein on your Mac while targeting the Nokia 770. No more waiting for binaries to be released. The 800 was tested and the binary didn’t run– ITOS2007 has some different libraries (from ITOS 2005 and 2006), which probably caused issues. I’m attempting to roll a build for my 770 this weekend. We’ll see how it goes.

    Here are my screen shots of my 770 from the release of Einstein last year.

    Also announced was the release of Driver Labo, the wifi drivers for Newton by Hiroshi Noguchi. AFAIK, these are the only available drivers in the world that support WEP on the Newton. I had purchased licenses back when they were available, but since 2005 Hiroshi hadn’t ever responded to requests and pleas to accept payment for new licenses. As a result many Newtons can’t participate in locked-down Wifi networks. The release of these drivers as Open Source is a welcome event.

    There is an overview of the WWNC ‘07 with some pictures of course.

    jot_newton.jpg

    Next Page »