Monday, December 15, 2008

Android on iPhone?

I was searching material to learn objective C for iPhone, then I found there is an artical saying iPhone DevTeam is working on putting Android on iPhone. They have already successfully ported Linux kernel 2.6 to iPhone OS1 and OS2. That's great. I would like to see Android running on iPhone and compare with the original iPhone Drawin OS.

But I guess the result is the same, I believe the OSX Drawin would be more stable and user friendly while Android has more freedom and control on your hardware and system. I believe Android has more potential then iPhone original OS. Right now, Android is not some thing that I want, since an iPhone can do most stuffs that I want. Well.. of course there are somethign I don't like about iPhone, there is no "copy and paste" and I hate that iTune sync! The sync is even worse than Windows Mobile! unbelievable! Android is still a baby, give it 2,3 years, if there is someone give it a fancier interface, it's gonna be a great Mobile OS!

Anyway, I'm really looking forward to Android on iPhone. ^^

Link:
'Open-Source iPhone' – Linux Boot Possible

Sunday, December 14, 2008

SYA710-lab08 Making your own Fedora Live CD


livecd-tools running
Okay, now we'll make a live-cd for fedora. I was thinking to build a F10 live cd, it seems my Fedora 9 is working perfect in my labtop. I better not to be a lab's mouse, hehe.. So, here we go, NesFedora 9 Live!

The steps are way to simple, download the kit and than type the command.. of couse, this is in the most case, sometime you may need to trouble shoot if there is something happens.

# yum install livecd-tools
# livecd-creator -c /usr/share/livecd-tools/livecd-fedora-9-desktop.ks --> i choose desktop, cos it's the most common used version.

Then just wait and burn the iso to a CD. Of course, you can play around the kickstart file to put whatever you want in the CD. but don't forget it's a CD, the limit is 640.. or 700, if you're over burn. But I suggest to have a 620 or less, just incase. Because some CD rom dose not support over burn.

So, anyway, enjoy your Fedora live-cd

All Done!!

SYA710 Lab07 - Making a Fedora Custom (Spin) CD

Pungi running
I thought I've bloged about this about but.. it seems I didn't so, here I am, blogging about my experience...

The step to complete the task is easy, here is a simple procedure...
yum install pungi -->
cp anaconda-ks.cfg Nes-ks.cfg -->>this kickstart from root directory, and copy it to a different name so we can edit it to suit our need.
pungi -c Nes-ks.cfg --nosource --force --ver=F9 --> here we go pungi it!!

And we all have trouble making pungi in lab, my way of doing it is disable Selinux, and I believe it's the easiest way to do it. Althought you may lost some protection, but in my opinion, you can enable your selinux any time you want. I myself never like the idea of selinux, it make Fedora sounds like Vista. So, I found that's easier to edit the kickstart and I don't even have to disable selinux every time.

After about one hour of waiting, it depends on what package you put in your iso image and also your connection, then it's time to turn you iso. And you can try it in other machine if you want, so, guys have fun. ^^

Pungi done

Friday, December 12, 2008

VMzzzz.. F8, F10





Due to Fedora 10 has changed a lot of since Fedora 8, I have had some trouble in praticing my labs. Therefore I install Fedora 8 as a Virtual Machine. And.. install Lightenment as the windows/desktop manager, isnt' cool? It has a Mac feeling, althought vm is quite slow...




Looks like I have had too much fun with my VMs during my final exam lately, hahaha..


Thursday, December 11, 2008

VNC from here to there and than there...



Finally, i did my belated VNC lab. I was planning to use my osx as the vnc client to connect my VNC server in a lab computer, but since I'm lack of skill and time, so i just have to use my Virtual Machine(vm) instead. And I finally, at the end of this lab, I use my Safari browser to connect to the vnc server. And of course, u'll see my lovely desktop again.. ;-p




Question #1: Describe what happenned.
It connect to the host that's running vnc server. But instead of the terminal I'm using, it open up another x window manager.
Question #2: Which window manager is running?
It's using twm.
Question #3: What is the different this time?
It's using another window manager now.
Question #4: What happenned?
The browser trigger the java plugin and started a java based vnc client.
Question #5: When would you find running a veiwer froma web-browser useful?
I would use it some highly secured system when installing software is restricted. Or if I want to vnc my host just for a shrot period, I would use this instead of installing some software into that system.


Monday, December 8, 2008

SYA710 - Lab08 - Live CD

Live CD could be usefull when you need a emergency disk to recover your data or troubleshooting. We actually had problem on doing this lab, since it check SeLinux when we tried to make live cd image. Since the computers in our lab has a special hardware controller card. A lot of people would disable SELinux and make the live CD. But instead, I change the entry in kickstart file to disable SELinux, I found this easier to finish the lab.

Of course this is not the best way, since you may lost some security protection when booting your live cd. But, if you only use it for trouble shooting instead of daily use. It would recommand it if you have simular situations.

VM Fedora 10 on Mac.. lovely!












Finally, I got a chance to try Fedora 10, and I tried to use Virtual Box in Mac OSX. It had some problem before, I think VM dosen't have 64bit yet and there was some compatiable problem with sound card in my VM. But lucky, I got my network working. Next step, I'm gonna try making my local driver mountable to F10. I tried with the option "Share Folder" in Virtual Box, but it didn't work. Well.. I'm so happy that I can ssh/sftp from vm to my OSX. I think I need top open a port or virtual port to redirect port 20 from my local host to my VM, but I still dunno how to do it yet. I'm gonna find out....

In this few minutes experience, I found that F10 has improved a lot of graphic interface, althought my vm was kind of slow, but i can see the visual effects has running smoothly.

Anyway, here are some captures. I hope you like my desktop setting. ^^


Thursday, December 4, 2008

LPT730 Lab9 - DVD Slideshow




The concept is easy, put all your photos in one directory, select the audio track you want,

sudo yum install dvd-slideshow
sudo yum install mjpegtools
dir2slideshow -t 4 -c 1 -n NesSlide ./
dir2slideshow -t 4 -c 1 -n NesSlide -a "/home/BossaNesta/Music/im_crying.mp3" ./
# Sometime you may have problem if your mp3 file has () or any symbol in the name. So, do change it just in case.

dvd-slideshow -n "NesSlide" -f NesSlide.txt
# I had problem with ffmpeg handling the audio, so I disabled the audio track with the option "ac3=0"
# You can use -L to render your slides into lower quality to debug
sudo vi /usr/bin/dvd-slideshow
# find "ac3=1" and changed to "ac3=0"

Now, the you will see a file with extension "vol", which is standard format for DVD video. If you open a regular DVD movie disk, you may find some files like that. So, all you need is use some DVD burner program to burn the DVD, then you're good to go. ^^

Migrate aNd Manage Release 0.3

Here is my 0.3 release for my LUX project "Migrate aNd Mange", or mNm in short.. The name was originally called "Windows Data Migration Tools". Here is there feature list of mNm.

Feature List

= Support post install files migration
= Support XP/Vista/OSX
= Support random flags syntax in command mode
= Support listing users from XP and Vista
= Support any Linux or Unix based system that has python installed and same user folder structure.
= Support automatic user detection or with a given user name(s)
= Support copying file(s) and folder(s) to specified location
= If given location is not a home folder of the OS type given, it will report error message and exit
= When duplicate file(s) or folder(s) is detected, wdmt has an option to replace older file/folder, backup existing Fedora user folder(s) or replace existing user folder(s)
= Auto create user list with a temporary password and migrate folders and files


LINKS:

Migrate aNd Manage in Fedora Project Wiki
Migrate aNd Manage in Seneca Open Source Wiki
Mirgrate aNd Manage's Source Code

LPT730 Assignment 2 - Video Editing and Converting

Here is LPT Assignment 2 for video editing and converting. Since the video were cut well, but the audio were not captured well. I merge stero into mono to provide clearer sound. I used ffmpeg2theora which is fast and provide converting auto to mono and video compression at once. Here is a capture of ffmpeg2theora.

ffpeg2theora funning..


Videos were converted to the following formats:
* OGG Best Quality (native size)
* OGG Broadband Quality (564 Kbps)
* OGG Low Quality (128 Kbps)
* MPEG-4 AVI Medium Quality (564 Kbps)

Location:
//ireland/home/michal/upload

Command Example...

nohup ffmpeg2theora -V 128 -c 1 "Day 1 - 1130 am_Rm. 1014.mov" -o "Day 1 - 1130 am_Rm. 1014-128kb.ogg" &

And some other video tools experience...
I was trying to use Kino add some FX effects and tittle, but it seems Kino crashes a lot. I tried 3 different machine and none of them works, althought I got my video driver installed right. I tried to use VLC which is a famous multi-platform open source video player, and it has a excellent GUI converting function. But it seems the encoding engine didn't work well. The out put of video quality were not as smooth as I expected. I didn't go into other video tools since I spent too much time on this assignment. Dose any one know why I got crashes with Kino?

Converting from VLC