Archive

Posts Tagged ‘arabic’

arabish

March 10th, 2009 ahmedre No comments

do you watch anta ambooba in tha3lab al nar? click here for a list of funny, literal arabizations done by my roommate and i.

Categories: random Tags:

unicode control characters

March 2nd, 2008 ahmedre No comments

i always used to get upset when i send a message or set a status on an english site in arabic, only to have the punctuation all messed up. well, thanks to two unicode control characters, \u200e and \u200f (for ltr and rtl, respectively), i can finally go from writing:

يحيى الإسلام!

to writing:

يحيى الإسلام!‏

much better :) thanks goes to this wikipedia article and adil allawi, whom i first heard about this from.

Categories: technology Tags:

arabic answers rip off

May 14th, 2007 ahmedre No comments

one of my coworkers sent me this today. pretty funny that they blatantly ripped off the images and such. on a similar note, it seems as though there’s way too much red tape to go through in order to get something like this officially done.

Categories: random Tags: ,

مسلسل حضرة المتهم ابي

December 6th, 2006 ahmedre 1 comment

مسلسل قوي بجد و راءع

حال الدنيه يحزن – اءول ايه بس – اللهم احفظنا واحفظ شباب و بنات المسلمين… امين

update – try pasting that into google translate and see what it says… apparently, “ameen” translates to secretary and google doesn’t like egyptian slang…

Categories: random Tags: ,

iconv, vim 7

May 10th, 2006 ahmedre 6 comments

iconv rocks. so often do i find this command really useful:
iconv -f original_encoding -t utf8 file > utf8_file

i’ve been using vim 7 beta for a while (which, by the way, was just released as vim 7 a day or so ago), but i never really realized how easy they’ve made it to look at arabic text files now (compared to what it used to be… there used to be an intricate setup process and a set of patches to run for vim 6x as documented by nadim on arabeyes. now, all you have to do is :set encoding=utf8 and :set arabic and you’re set.

you can see a screenshot here.

Categories: code, technology Tags: ,

technology, languages, and y3k

March 2nd, 2006 ahmedre 4 comments

the past 2 days at work, i’ve had some interesting happenings… yesterday, i met my egyptian friend and coworker who works here with me too, and, when he asked how i was doing, i said, “el7asharat wel saraseer metala3een 3aynee” (which roughly means, ‘insects and roaches are giving me a hard time’) — he said, “oh, you’re one of those guys! just like these other guys who are like, ’senna zar2a’ for bluetooth” :p i practiced it on some germans in broken german too, ‘hast du blau tzan on dein komputer?’ — hehe.

i guess what’s interesting though is that in pretty much all languages, all the technical terms are in english. it sounds really funny to say ’senna zar2a’ or ‘blau tzan’ for bluetooth and ’saraseer’ or ‘7asharat’ for bugs… why though? hehe i guess in arabic, some people call the internet, ‘alshabaka,’ which literally means ‘the net’ (like a fishing net) — (by the way, why don’t they say ‘3esh el3enkaboot’ or something? (spider web)). but yeah, most people call it, “el net” — ‘el’ being the.

as for y3k… so today, i introduced a y3k in the source code to our application. i asked my project lead and such if it was okay, and they said, “no one will be using our software until then.” — basically, i had a list of files, *strTIMESTAMP.ext — and i wanted to delete them all, but i don’t want to delete *str.ext itself — just the ones with a timestamp. so because the delete method doesn’t take in a regex (so i can’t pass in *str+.ext), i had to find another solution.

the easy way (which i didn’t want to do because i am lazy) is just copy *str.ext if it exists to something else, do the delete, and copy it back. but instead, i opted to do delete *str2*, which means in the year 3000, our software will stop deleting its temporary files… i might go back and fix it later after fixing the other important bugs…

update: i found a much easier fix — use *str?*.* instead since ‘?’ is supported :)

Categories: code, random, technology Tags:

php doesn’t take “ﻻ” for an answer?

November 14th, 2005 ahmedre 1 comment

peace…
one interesting observation i came along is the treatment of “ﻻ” (which you get by pressing b on a qwerty keyboard) in php… for whatever reason, if someone enters it into a form for example and you try to get the value of the first character of the string, you get 0. oddly enough, this works fine for any other arabic characters typed in. any ideas on why this would happen?

no one has still fixed the bugzilla bug i reported a while back about arabic shaping… looks like i might have to grit my teeth and do it if i really want it done :)

Categories: code Tags: ,

!عربى

November 8th, 2005 ahmedre 2 comments

لقد عزمت النية ان اتعلم كتابه العربيه على الكمبيوتر إن شاء الله.

Categories: random Tags:

first bugzilla bug

August 10th, 2005 ahmedre No comments

at the suggestion of behdad off the arabeyes-developers list, i’ve posted my color and arabic shaping frustrations [along with the code] on gnome’s bugzilla.

hopefully someone can point me in the right direction…

Categories: code Tags: ,

pango issues, etc

April 28th, 2005 ahmedre No comments

greets…
so the pango team [owen in specific] were really helpful in the past in helping fix the arabic tashkeel problem [where tashkeel on characters causes random spaces in the text]. luckily, this is fixed now. (interestingly enough, firefox for windows is broken in this respect, and, in linux, if you don’t compile with enabling pango, its broken there too… but it works on osx out of the box).

i ran into another little issue and was wondering if anyone knew how to get around this [and i emailed owen taylor in the meanwhile]. basically, the issue arises that when you insert html tags in the middle of a word, the state information of the parser is lost… as a result:

i went to houston last weekend. pretty nice, the only notable thing is that all the traffic lights are sideways. that and our flight to got delayed for such a long time because the gas truck ran out of gas [or, as we were to later discover, "broke down"]. thank God i didn’t have a connecting flight… anyways… that’s all for now.

Categories: random, technology Tags: , ,