iPhone & Ubuntu notes…

Need Help Writing Essays No Flash stuff this time ๐Ÿ™‚
During my last trip to New York city I finally decided to buy an iPhone for me too (I think I have everything from Apple right now.. except a mac ๐Ÿ™‚ ).
The most annoying thing for a linux user like me is obviously the fact that the iPhone syncronization should pass from iTunes, which is not available for linux…
Ok, there are some ways indeed to copy music like this: http://help.ubuntu.com/community/PortableDevices/iPhone, but as you can see is not so smart.

Sync your address book isn’t easy too. The AddressBook sqlite can be easily browse using an SQLite browser such as SQLite Database Browser http://sqlitebrowser.sourceforge.net/, just get the AddressBook.sqlitedb (it’s intoย  /private/var/mobile/Library/AddressBook/)ย  from the iphone via sftp (just remember to install BSD Subsystem and OpenSSH) and call a simple query like this:

1
SELECT t1.First, t1.Last, t2.value from ABPerson as t1, ABMultiValue as t2 WHERE t2.record_id = t1.ROWID

For a full AddressBook sync you can read more here: http://www.estamos.de/blog/…the-making-of/

Another tip I just discovered is how to upload into the iPhone my own Ringtones.
First convert the mp3 file into an M4R file using this command line script:

1
2
3
mplayer -ao pcm input_file.mp3 -ao pcm:file="~temp.wav"
faac ~temp.wav -o output_file.m4r -w
rm ~temp.wav

then using sftp put the output_file.m4r into /Library/Ringtones directory. A sample workflow can be this one:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
~/iphone/Ringtones$ mplayer -ao pcm The_Spell.mp3 -ao pcm:file="~temp.wav"
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing The_Spell.mp3.
Audio file file format detected.
Clip info:
Title: The Spell
Artist: Lunatica
Album: Fables & Dreams
Year: 2004
Comment:  00001A75 000016D0 00004374
Track: 6
Genre: Other
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
[AO PCM] File: ~temp.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
Cannot sync MAD frame 538.0 (08:58.0)  0.8%
Cannot sync MAD frame
Cannot sync MAD frame
Cannot sync MAD frame 538.0 (08:58.0)  0.8%
A: 288.3 (04:48.2) of 538.0 (08:58.0)  0.8%
Exiting... (End of file)
alessandro@alessandro-u-laptop:~/iphone/Ringtones$ faac ~temp.wav -o The_Spell.m4r
Freeware Advanced Audio Coder
FAAC 1.26.1 (Jan 22 2008) UNSTABLE
Quantization quality: 100
Bandwidth: 16000 Hz
Object type: Low Complexity(MPEG-2) + M/S
Container format: Transport Stream (ADTS)
Encoding ~temp.wav to The_Spell.m4r
frame          | bitrate | elapsed/estim | play/CPU | ETA
12388/12388 (100%)|  137.8  |   12.5/12.5   |   22.95x | 0.0
alessandro@alessandro-u-laptop:~/iphone/Ringtones$ sftp root@192.168.1.203
Connecting to 192.168.1.203...
root@192.168.1.203's password:
sftp> cd /Library/Ringtones
sftp> put The_Spell.m4r

(my)SQL-Front is back!

After more than one year I received an email saying that finally mysql-front is back and no it’s SQL-Front.
MySQL-Front was one of the first mysql clients I ever installed and I was very disappointed when it closed..

Editing Services Australia Here I quote the Nils entry about the comeback and the new name:

Descriptive Essay About Me “Hi,
16 months ago, many users of this program were surprised and disappointed to see the project discontinued rather suddenly. I am sorry that I was unable to find a way of continuing the project at that time, so that the users had to suffer from its disappeance. This discontinuation was the result of a senseless fight – from which, at the end of the day, noone had an advantage.

So the question is: Why do people fight when they don’t have an advantage from it? There are multiple answers to this question, but often jealousy of other people or fear about one’s own future are the reasons for it. In my humble opinion, if someone fights against you, you should consider how to help them instead of getting involved in senseless fighting. Therefore, I decided not to fight with them last year, but to withdraw.

http://www.dekart.com/?custom-research-paper-writing Custom Research Paper Writing In the past weeks, I was able to find a solution…” (read full article)

Essay Editing Service Uk P.S. Great, my old license key is still valid!

Microsoft to release .NET libraries source code

Well, it seems that Microsoft will release the .NET libraries (not all, but it seems the most relevants ) source code with the next release of Visual Studio 2008 late this year.

Custom Written Papers This will be useful indeed while debugging in VS, but also it would be very interesting to look into the source code to view how they did it, expecially the Windows Form related part.. (..but what about Silverlight? :))

Read more here: http://weblogs.asp.net/scottgu/…framework-libraries.aspx

Apple Safari for Windows. Terrible!

Probably you know that Apple just released a public beta version of its web browser Safari for Windows.

Why don’t try it out? So, after Internet Explorer, Firefox and Opera I downloaded and installed it immediately just for curiosity, even if looking at the demo I saw they forced the application UI to be like OSX rather than following the Windows standards (like for iTunes).
And this is the first reason I dont like Apple applications for Windows (I’m on pc, not on a mac and I dont want to have a mac UI!).

Ok, I’ve installed it and uninstalled just after 5 minutes. I can understand it’s just a beta, but quite all the pages I tested are weird with lot of things missing, the HTML isn’t rendered as I expected.
I did just a search on google as first attempt but the result page was unreadable at all!

Some minor issues:
why the font smoothing can be changed in the application preferences? On Windows the font smoothing it’s set in the OS preferences, so just use that value.

During these 5 minutes I found many other issues, but I really think this is due to the fact it’s still the first public beta..

Fear of Silverlight?

Since the announcement of Microsoft Silverlight I continue to read posts of flashers (being subscribed to mxna feed) attacking silverlight in various manner.. (here some links to these posts)
I must admit I don’t know silverlight at all. I just watched some online demos and downloaded some examples.
For what I’ve seen I don’t like it too (but just for personal feeling), but I also have to consider it’s the first (and beta) version….
Otherwise I think the vector rendering engine is more powerful than the flash one.

But why people fear of it? Does it because it’s a Microsoft stuff? Or just because it’s a possible Flash competitor?
Usually when someone attacks something, this means that you fear or it. But I don’t agree, I hope MS will continue the development of silverlight because competition can only be a benefit in a global market.
Don’t you agree with this?