Category Archives: Uncategorized

Sublime text 2 current path (plugin development)

Just a quick tip to find your sublime text 2 current path. If you ever find yourself writing a sublime plugin and want to get the current path, DO NOT use os.getcwd , it just doesn’t work, and returns your system32 windows path. Instead, you should use the following method supplied by the sublime api to get the path to the packages folder, and then append to it the name of your package, and you’re good to go:   hope this spares some hours of frustration.

Posted in Uncategorized | Leave a comment

7 reasons to join mashroo3i contest next year

We were first place winners in mashroo3i this year (2012). It was the contest’s first year version. As previous winners, here are some motivational points for you to encourage you to participate next year. It’s totally worth it 1. It’s more than just a contest If you’re gonna join mashroo3i because you want to win the contest, don’t participate. Mashroo3i is more than just a contest. It’s a whole new experience. It’s something that you don’t get exposed to everyday. We usually see successful companies Around us and wonder how they did it all. Well now you get to try “starting” … [Read More]

Posted in Uncategorized | Leave a comment

My experience with job interviews

Over the past few months I’ve had the chance to go to a handful of job interviews. Some of those were really good, others not so good. Overall I’ve been trying to analyze the questions and techniques used to interrogate test the applicants. Note that I’m talking about programmer/software developer job interviews, so it might slightly differ from any other job role. So there are many books and articles discussing Job interviews, why am I doing this again? Well somebody needs to act like a smartass and re-invent the wheel, right? Also, none of the analysed information in this article is guaranteed … [Read More]

Posted in Not code, Uncategorized | Leave a comment

Why I quit my job

update we won first place in the contest!!!!!! We bought the trophies home with us! I quit my job last week. You’re probably wondering: did I even get a job in the first place? Actually yes. I had a job as a JavaScript programmer for a telecom company, but they also had me do some PHP later on. Work was fun!!!!!! And you probably wonder again : why did I quit after a month? Why did I quit my job! Well several reasons. And that’s exactly what this post is about 1- working for somebody Working under someone might have its … [Read More]

Posted in Uncategorized | 3 Comments

Ubuntu: Transfering files using openSSH

For some reason, I wanted to transfer files from a remote machine using SSH. I wanted to use the default SSH client that comes with Ubuntu , which is openSSH. Actually, to transfer files between two machines, BOTH machines should have an SSH server program (I think), and ofcourse, at least one should have an SSH client. A part of the file transfer command got me confused, so i’m sharing this with you. 1 – Connecting to remote host The first step is of course, connecting to the remote host. Go ahead and type the following command: and ofcourse, enter the … [Read More]

Posted in Uncategorized | Leave a comment

OOP in Javascript using MooTools

Why? I’m not an expert JS coder/frontend engineer, but I’d love to be one someday. Maybe for some smaller programs, modular programs with split apart functions might work. But alas, this may not be the case in larger scale programs. I noticed this while working on my senior project. Things may be nice and good on the small scale, but as they get larger, it gets less nice. It doesn’t get nice at all. The problem is that sometimes one writes functions that have nothing to do with the overall program, but act like “helper” functions to other functions … or … [Read More]

Posted in Uncategorized | 7 Comments

Discovering hidden talents

The views expressed in this article are not based on any scientific research or facts, but are rather random ramblings and rants expressing my inner thoughts, the same thoughts that have been disturbing me for the past 19 years. Everybody has a talent of their own, but the real challenge lies in discovering this talent. One would think that education systems should help students in discovering those talents and deciding on what they’d rather be doing for the rest of their natural lives. On the contrary, I’ve seen colleagues of mine (computer science majors) who would rather be accountants, some better … [Read More]

Posted in Not code, Uncategorized | 3 Comments

Authentication vs. Authorization

I’m writing this post for my own reference, because I always tend to forget Authentication Authentication is the means of ensuring that a user is he who claims to be. Most common means of authentication is “login” system. Authorization Authorization answers the question “Can the user perform foo action on my system” ? Based on the answer, we either perform or reject the action. So authorization ensures that a user is allowed to perform an action on the system … So a user authenticates himself, then based on that , we may decide the actions he may or may not perform … [Read More]

Posted in Not code, Uncategorized | 1 Comment

Revolution vs evolution

This is a non-code related article, but it’s just something that hit my mind randomly, so I decided to share it. So I started wondering what the difference between ‘revolution’ and ‘evolution’ is. Although Google has always been my trusty friend, it betrayed me on this one.So I decided to seek the expertise of a friend of mine who is majoring in English literature (I hope that’s even related). And so I asked Sahresh Mir the difference between revolution and evolution, to which she replied: Major difference, I’d say as evolution is the formation, growth and development of something. For instance, … [Read More]

Posted in Not code, Uncategorized | Leave a comment

What is open source?

We must ask ourselves this question. What is meant by the term open source? Is all free software ($0) considered open source? Why can’t we just call it free software then? According to Wikipedia: “The term open source describes practices in production and development that promote access to the end product’s source materials. “ Meaning? Well it means that any piece of software that allows you to take a look at the source code, and use parts of it in your own software is considered open source. Makes sense. So apparently, open source has nothing to do with cost. You can … [Read More]

Posted in Uncategorized | 2 Comments