Suddenly this morning my osx stop working. From booting darwin with -v, I found something wrong with the disk. Something like fsck things.
As suggested by someone on board, I boot with SL install disk and run disk utility to fix the permission error. Unfortunately this won’t fix the problem. I still can’t get into the system.
I tried with safe mode too, -x. Still, it doesn’t work.
Then I read something interesting on forum again. This time I should use darwin command line with -s option for booting.
Finally it is fixed after I run the following command in 2 times. The first time report it the error still occur. And the second time it said ‘repaired’… Yeii
$fsck_hfs -r /dev/disk0s1
Now.. Is it the a moment to setup timemachine? I have it off now.
This one is a common problem that I could not solved months ago or even more than a year ago. I usually give up with mixing charset problem that occur in database. Lucky, in past few days I’m working with Arabic, Dutch and French websites. It give me some knowledge (and problem too) how to deal with them.
Okay … here is a few line of codes that I’m looking for so long and bothering me so much!
Don’t ask me about $$field .. it was coded 10 years ago (with php3), I’m too lazy to change it.
As you can see. I use mb_check_encoding() to check what charset is being use. Also I assume the other mixing charset is defined. In western charset, it is ISO-8859-1. In Arabic, in my case is windows-1256.
At last, then we can use iconv() or mb_convert_encoding() to convert.
I feel like stupid, how can I couldn’t solve this kind of issue before. Just 3 lines of codes make me wait so long to understand it!
Special buat K-ON lover like me ..hehe …. K-ON live concert 2010 : watashi no koi wa hotch kiss … .. lihat para seiyuu main live, very inspiring! Good job!
Seharusnya Indonesia punya website “social music collaboration” semacam niconico dunga (jp), dimana musisi amatir bisa saling berkolaborasi secara online dg mudah. Skr gak perlu lagi harus kumpul bareng dan sewa studio untuk sekedar latihan bareng. Cukup setorkan hasil rekaman dan diskusi secara online.
Thanks to github that introduce to better version control called git. After two weeks working on it, I feel confident to move completely from svn to git. I wish I can host my projects solely with github. But the pricing for private project force me to find alternative solution.
After trying them with free trial, I decide to use Repository Hosting. The main reason is cost effective. It has all I need, specially unlimited repositories. The trac is a bonus as I love it when I was using svn. This is pecfect!
What I really like about github compared with other similar services is that it allow to fork someone else project / repositore. Forking project give full control as if it is your own without worrying about writing permission.
On top of that, as the owner of original project, he has ability to see what changes are made by forked project. The great thing about this is that he can commit the changes if he like and take it as part of the original repository.
Let say you have created a project called abchelpdesk. Then later as this project gain popularity, there are 100 user forking it. Some users adding more features like status update, priority tickets, ticket routing, email piping, etc. While other users also fixing bugs. This is the wonderful thing will happen. Without your hand become dirty, you can see all changes they have made. After reviewing them, if you like you can take them and commit to your own repository.
But..
I don’t understand why github doesn’t allow to fork our own project. On daily work, usually we have main product or project. Usually we do project based on it. It would be great if we can just fork it as another project without mixing with the main project. I know we can do branching. But it would be great if we can fork it instead of create a new branch inside the main project. I’m not the only one who complain about this. Many github users face similar issue. Is there any good reason to disallow it? I wish they fix it in the future.