← HomeMehrdad Rashidian

Biography

Mehrdad Rashidian seated at his desk
01 The beginning

I’m Mehrdad Rashidian. I was born in Tehran in 1990, into a very ordinary family.

02 Behind the television

As a child, I loved electronic circuits. I was always behind the television, trying to see what was inside, or behind the refrigerator, trying to figure out how its motor worked.

03 A quiet corner

As a child, I suffered burns to my face and hand. I was often withdrawn and would find a quiet corner where I could be alone.

Going through so many surgeries made me bolder in some ways. I was used to hardship and didn’t give up easily. Yet I still kept mostly to myself.

04 Books and words

Alongside electronics, I loved reading and writing. As soon as I learned to read and write in Persian, I was drawn to Golestan and Bustan by Saadi, the celebrated Persian poet.

Reading and writing came naturally to me, and I loved them both.

04a More words, a bigger world

As a child, before middle school, I always wanted something to work on during the summer. I would spend my time writing summaries of Saadi’s Golestan and Bustan.

That helped me build a richer vocabulary.

More words meant a bigger world.

Around that time, I read the collected poetry of Parvin E’tesami, Saadi, and Hafez, alongside plenty of stories and novels.

05 School and mathematics

Throughout primary school, I always had a perfect average—20 out of 20—and never struggled with my lessons.

From primary school through university, I was good at mathematics: proportions, combinatorics, graphs, and especially topics connected to discrete mathematics.

06 My first computer

In my first year of middle school, I got my first computer. I think it was a Pentium 4, though I can’t quite remember. It had a CRT monitor, and my world changed completely.

I had loved video games since childhood, playing on my yellow-and-green Micro console with the cartridges we called ‘two-edge,’ ‘three-edge,’ and even ‘fourteen-edge.’ The computer opened up a whole new world. The first game I played on it was Hercules!

07 A room, books, and dial-up

There I was, on a separate floor of the house, with an inexpensive wooden bookcase full of books and a computer. A new chapter was beginning.

Around that time, ordinary middle-class families like ours in Iran were just starting to get online with prepaid dial-up internet cards.

08 The Google generation

I was part of the Google generation. From my very first search, I fell in love with it. During Euro 2004, I followed the tournament through its website.

We were the Google generation.

09 Long school days

I went to a SAMPAD school, part of Iran’s selective, government-funded school system. There was an entrance exam, and it gave ordinary kids like me access to better educational resources. In that sense, it felt like a scholarship.

The expectations were higher, too. Where 10 out of 20 was normally a passing grade, at our school we needed at least 14, both in middle school and high school.

Regular school days ran from eight until noon, but my middle-school days could stretch until two or four in the afternoon. In high school, some days lasted until six.

For someone who wanted nothing more than to get back to his computer, those hours felt like torture. I did well at school. I wasn’t top of the class, but I was a good student.

10 The algorithm book

At school, I came across a book about algorithms for the first time. It explained how you could create programs, and I read it.

But algorithms seemed so complicated to me. I couldn’t yet see them as a sequence of steps: doing things in order, repeating them, and getting something done. I just didn’t understand.

11 FIFA, in Persian

The algorithm book didn’t get me very far. But something else around me fascinated me: products that weren’t made in Iran, yet somehow had become Iranian.

Without copyright restrictions being enforced in the same way in Iran, FIFA games reached us incredibly cheaply through local distributors. We had the Euro edition and FIFA 2005, and my brother and I would play together.

I was a keyboard person; he used a controller. I loved Manchester United and Wayne Rooney, while he played as Real Madrid.

But here was the amazing part: FIFA—with commentary by Adel Ferdosipour, the Iranian football commentator!

12 Inside the game folders

It was fascinating. Racing games, King of the Road—all in Persian! I knew these games hadn’t been made in Iran. Something had happened to them, and I wanted to understand what.

So I started digging through their folders, inspecting the files one by one. Eventually, the mystery began to unravel: I found the Persian audio files.

I replaced them with Googoosh songs, the call to prayer, or religious chants. And it worked! :-)

I knew nothing about compiled files or encryption back then. I was simply changing things and seeing what happened.

Around that time, there was also a new Need for Speed—the one with the woman waving a flag at the start. :-)

12a Falling in love with Hogwarts

Back in high school, around the time my brother and I were playing FIFA and Euro, something else happened. Iranian state television began showing Stuart Little, Home Alone, Narnia, and other films with wonderful Persian dubbing. It was the first time I was seeing them there.

Two things drove me crazy. :-) First, Pixar: Toy Story, Finding Nemo, and Monsters, Inc. And alongside those, something that mattered even more to me: Harry Potter.

I fell in love—with Harry, Hermione, Ron Weasley, Hogwarts, and Dumbledore. That same week, I went out and bought a Harry Potter book so I could read J. K. Rowling’s novel.

From then on, alongside making software with Director MX and other tools, I was doing everything I could to learn computer-generated visual effects.

12b The book I bought by accident

In the middle of all this, I heard about a book published in Iran: “جعبه آموزش تکنیک‌های حرفه‌ای جلوه‌های ویژه” by Dariush Farsaei—a training kit for professional visual-effects techniques.

I went to buy it, but came home with a book by the same author about creating computer games with DirectX instead.

I still don’t know why a tiny bookshop near our house stocked such a specialised book with such a small audience. But that was how I discovered DirectX.

I didn’t understand what HAL, HEL, acceleration, or any of those terms meant. But I knew: this was what I wanted.

13 A name in the files

Then something wonderful happened. Alongside tinkering with games, I started doing the same with Iranian software—religious and entertainment CDs with autorun menus that were common back then.

I changed their files and edited their images, thinking I’d become a hacker. :-)

And as I kept digging, one name kept coming up: Multimedia Builder!

14 Thirty-two megabytes

Multimedia Builder didn’t appeal to me. I’m not sure why—maybe I didn’t like its templates, or maybe I just didn’t connect with it.

But while searching on Google, I found a program I fell in love with: AutoPlay Media Studio!

Our internet connection at home was painfully slow. I remember its 32 MB download taking four or five days, with the connection dropping again and again.

15 My first executable

By my third year of middle school, I was building an app about notable Iranian figures, using an encyclopedia I owned. Little by little, I began to understand how a software application flowed—and that was how I created the first .exe of my life. I was fascinated.

I wanted to make it better, so I kept working on new versions.

Somewhere along the way, I discovered Macromedia Director X. It felt like such a cool environment: it could produce an .exe, it had a timeline, and I could create animations myself instead of relying on presets.

16 Thirty computers

In my third year of middle school, I became responsible for the school’s computer lab. Suddenly, instead of one computer at home, I had thirty at my fingertips. That was my first introduction to networking.

I used to want to escape school as quickly as possible. Now I stayed until six or seven in the evening. We played Stronghold Crusader together, and one of my friends introduced me to Visual Studio and Visual Basic. He added a timer, set it up, and made a button move. :-)

17 Making things move

That moving button, together with Director X and AutoPlay Media Studio, led me to Macromedia Flash. For the first time, I discovered morphing, motion tweens, and shape transformations.

At the same time, I loved Harry Potter, Home Alone, and Stuart Little—the one with the little mouse. I’d heard that animation software helped create what I saw in those films. One name I came across was 3ds Max.

I remember trying version 5, and finding a mouse among its sample scenes.

18 A world within reach

For kids like us growing up in Iran, our fathers weren’t wealthy or powerful. We didn’t have special resources, fast internet, or experience of life abroad. We had never even travelled outside Iran, and we had no close relatives overseas.

But growing up there gave us one extraordinary opportunity: software was everywhere, and it cost almost nothing. Local companies copied and distributed collections for just a few dollars.

For around four or five dollars, I could explore different versions of Windows—98, Millennium, XP, and later Vista—and even have several installed on my computer at once.

Adobe applications, Microsoft Office, Visual Studio, Autodesk 3ds Max—all these tools were within reach of kids who loved that world. We could explore these remarkable creations and play the latest games.

Back then, I didn’t think of it as doing anything wrong. We bought the discs from companies; we weren’t the ones copying and selling them. That was simply how software reached us.

As I remember it, life was still relatively affordable. The nuclear crisis either hadn’t begun or hadn’t yet reached the intensity it would later.

19 Late nights, late mornings

My first year of high school was an important one. I had to change schools, register for entrance exams for selective schools, and start thinking about which academic track I would choose in my second year.

I was doing well. At Hedayat High School, I was an above-average student. I never struggled academically, but I never tried to be top of the class either.

I loved computers, though my interests took me in all sorts of directions. I kept exploring, even on days when school lasted until six in the evening.

I stayed up late into the night. And although school was just down the street—perhaps five or six hundred metres away—I held the record for being late.

I spent those nights on the computer or reading. Especially when it rained, I couldn’t put down Emily Brontë’s Wuthering Heights or J. K. Rowling’s Harry Potter.

20 Between poetry and computers

In my first year of high school, I faced an important choice: mathematics and physics, the route toward engineering and computing at university in Iran, or humanities, which led toward subjects such as literature, political science, sociology, and law.

I felt pulled in two directions. Should I follow my childhood love of literature and poetry, or pursue computers and technology?

Vocational education didn’t feel right for me. I didn’t see myself doing hands-on technical work with tools. Medicine wasn’t appealing either—I couldn’t bear the sight of blood, whether human or animal. My choice came down to mathematics or humanities.

I weighed my interests, my future, and the practicalities. The school I had taken the entrance exam for offered only mathematics and physics. My longtime friends would be there, too.

Choosing humanities would mean applying to Farhang, a school specialising in that track. It meant another entrance exam, a longer journey from home, and leaving the friends I had spent those school years with.

I was still uncertain, but I was leaning more and more toward mathematics and physics.

21 RoboCup

Then something happened at just the right time.

Tehran’s education department was running a programme around RoboCup competitions. The branch I discovered was two-dimensional simulated football on Linux. I don’t remember the distribution exactly, but I think it was Ubuntu.

The classes were free, but admission required an entrance exam. I took it—and got in.

A new world opened up: algorithms, flowcharts, and, most importantly, writing console programs in C++ using Visual Studio. Another copy from our familiar software ecosystem. :-)

This was exactly what I needed. I made up my mind: computers were what I loved. :-)

22 There seemed to be plenty of time

My second year of high school was a special one. The first had passed in a blur of foundation subjects, eating in class with the boys, and making noises to annoy—or startle—our teachers.

We didn’t take exams very seriously. We figured we’d be at the same school for four years, and the university entrance exam was still three years away. There seemed to be plenty of time.

Meanwhile, we found other ways to keep ourselves entertained—like taking a friend’s paper during a maths exam and getting him slapped for it.

Mohammad Abi Zadeh—Abi—sorry about that slap. :-)

23 A difficult year ahead

My second year of high school was difficult. In my experience, the second and third years brought some of the most demanding schoolwork. Mathematics and physics were rigorous: our high-school curriculum included limits, derivatives, single-variable integration, and analytic geometry. I don’t know what it is like today.

Alongside those studies, and under pressure from my family, I decided to undergo another reconstructive procedure, hoping to make the scars on my face less noticeable.

I went to 15 Khordad Hospital in Tehran, near Valiasr Square and Karim Khan Street. A device called a tissue expander was placed in my neck.

That was the beginning of another difficult chapter—a hard year ahead.

24 The top bunk by the window

Every week, on Saturday or Sunday, I had to go back to the hospital for an injection. Afterwards, the back of my neck hurt so much that I often couldn’t sleep until morning.

My brother and I shared a bunk bed. I loved the top bunk, beside the window—especially when it rained.

On those nights, when the pain kept me awake, my companions were my computer and programming, and sometimes a book: a Sherlock Holmes short story, Harry Potter, or Emily Brontë.

25 The day I was expelled

We had maths on Saturdays. Our teacher had recently returned from Kuwait and took things a little too seriously. That year, I was barely in his classroom.

Most of my grades were around 17 or 18 out of 20, but I got 12 in maths and 14 in chemistry. At our school, 14 was the minimum passing grade, rather than the usual 10.

There were frequent absences and constant late arrivals, especially on Sundays after the injections, when the pain had kept me awake almost until morning. As the expander grew, I remember its weight reaching almost a kilogram.

Add to that my talking back to the principal and other school staff, and that year I was expelled from the gifted school. I had to move to a regular school.

My mother cried on the way to collect my school records. To her, her bright, supposedly high-IQ son had been expelled, and his future was ruined.

That was the worst day of my life. I still remember it scene by scene—even the people we passed along the way.

26 A promise to myself

That was a strange year for me. Alongside my tendency to withdraw and my love of computers, two more things became part of who I was.

With the expander in my neck, some people made fun of me. Others simply stared, surprised by something they had never seen before. Their stares weighed on me, and their words hurt.

That was when I learned to let things go “in one ear and out the other,” as we say in Persian.

And I made myself a promise: for my mother’s sake, I would find a way back into that school, whatever it took. I wanted to prove the principal wrong.

27 An ordinary school, real friends

I hate school. More broadly, I hate restrictions, being confined somewhere, and anything that takes away my freedom. Unlike the school nostalgia so common in Iran, I have never wished I could go back—not even for a day.

Especially not to those days that ran from eight in the morning until six in the evening, with chemistry in the last period. I couldn’t stand organic chemistry.

But my third year of high school was different. At the new school, I found myself among ordinary kids, outside the world of “gifted” education. Some may have gone down troubled paths later, but they were friends—the kind who stood by one another.

We read sports newspapers during school to find out how Persepolis had done. Once, with the principal away, we moved the school clock forward and fooled the deputy into ringing the bell half an hour early.

The boys wanted to claim their spots outside the girls’ school before anyone else got there. That wasn’t my thing. :-)

28 Third place, no prize

I had a lot of fun at school that year. But my love of computers—and my determination to get back at my former principal—wouldn’t leave me alone.

I entered the Khwarizmi Festival and the computer and software category of the laboratory science competitions. I placed third in Tehran, but I didn’t receive a prize. There was a complication. :-)

The competition’s C++ programming questions were packaged inside a password-protected autorun application built with Multimedia Builder.

Without even understanding the distinction between binary files and plain text, I opened the .exe in Notepad. I searched for the password we had been given for the first section, spotted a pattern, and found the password for the second.

So I started solving the next set of questions early. The organisers considered that cheating, and I was disqualified. :-)

But what mattered to me was that word of my ranking would reach my old school—and that the principal would see my name.

What a strange motivation that was!

29 One–one

In Iran, the third year of high school ended with national final exams. Although I was now at a regular school, I sat those exams at the same centre as my friends from the gifted school.

Our grades weren’t all that different. Except I’d had a good time along the way.

My parents, relatives, and I had no government connections. But through a friend, I found a way to pursue my return. I followed up, and followed up, and followed up. I went to the education department ten times, until I finally got back into my old school.

The day my mother handed my records to the principal—the same man who didn’t want to enrol me—became one of the best days of my life. :-)

His defeated, unhappy expression was the answer to my mother’s tears on the day I’d been expelled.

One–one.

30 The summer of 1388

It was Khordad 1388—June 2009. I had finished my third year of high school and its final exams with good grades. The pre-university year was still ahead of me.

Like so many restless teenagers, we were caught up in the election, going from one campaign office to another. We supported Ahmadinejad; our friends supported Mousavi.

God, how foolish we were, thinking they were different in ways that would change our lives.

Looking back, I’m angry that we fell for Ahmadinejad’s populist promises for his second term. I believe his presidency helped push Iran further into misery, with sanctions devastating people’s lives. Anyway…

31 Supposedly preparing for the Konkur

Now came the university entrance exam: the Konkur. It felt like an enormous barrier. I remember the number being around 1.1 million candidates.

In our time, students began preparing in Tir—the summer after their third-year finals—for the exam held the following summer.

So my preparation was supposed to begin in Tir 1388, in the summer of 2009. In Mehr, that autumn, we would also return to school for the year called “pre-university.” Our Konkur would be in Tir 1389, the summer of 2010.

And I was supposedly going to spend that summer studying!

32 Small projects, small earnings

That was supposed to be my year of studying. I didn’t do much of it. Computers—and the possibility of making money with them—were far more tempting.

From editing other students’ report cards to selling small projects, everything became a source of income. Not that it amounted to much. All of it together wouldn’t cover a week’s expenses. :-)

33 Mathematics I loved

That year, we also had a subject called something like “Discrete Mathematics.” I don’t remember the book’s exact title, but I remember dividing our time between analytic geometry and discrete maths.

Combinatorics, matrices, graphs… I realised this was mathematics I loved, the kind I had felt comfortable with since childhood.

34 Buying books, reading physics

Meanwhile, I was becoming better at buying books than actually reading them. But two physics books were exceptions.

One was a basic physics book published by Fatemi. It taught physics step by step, without burying you in intimidating formulas.

The other was published by Mobtakeran. I must have read its sections on optics, electromagnetism, relativity, and wave motion three or four times.

I read about wave theory four times, yet didn’t answer a single question on it in the Konkur. I had simply enjoyed learning it.

There was another book from Fatemi that explained Hawking’s ideas about black holes and spacetime. That drew me in, too.

35 Two weeks at home

Why am I telling you all this? Because somewhere amid the book-buying and everything else, before Nowruz that year, swine flu—what we called “type A flu”—was going around.

I caught it and spent two weeks ill at home. It nearly got bad enough for me to be admitted to hospital.

After being ill, I had fallen behind and needed to catch up.

36 A wonderful Nowruz

Back then, there was something we called a “pension”: a residential study camp. During Nowruz, students would spend ten to fifteen days at a school or somewhere with dormitories, preparing for the Konkur. Teachers were there, handing out notes and helping them study. There were weekly and monthly practice exams, too.

I did none of it. No study camp, no weekly or monthly exams.

Instead, my parents and brother went to Arak, and I stayed home—to study, supposedly!

At lunchtime, I cooked. In the afternoons, I went to the cinema or watched television. In the evenings, there was pizza and hanging out at cafés, which were just becoming fashionable.

All in all, it was a wonderful Nowruz. I had a great time.

37 About eleven thousand

Four months later, I sat the Konkur.

I did well in the memory-heavy subjects: 98% in Persian literature and 95% in Arabic. English? 25%. I figured I just had no talent for it. :-)

Maths, chemistry, and physics were around 15 or 16% each.

So, between having fun, programming, and getting sick, I ended up with a rank of about 11,000—without a quota. :-)

38 On the side

When the Konkur results came out, we asked my cousin to help me choose a university programme.

He insisted on advice that generations in Iran have heard: choose a degree, then pursue what you love on the side.

I never understood that. Why should I spend years studying something I didn’t want to study?

39 All forty-nine

I listed 49 choices on my university application.

Every single one was computer engineering or computer science.

All 49.

40 Malayer

I got into university in Malayer, a small city in Hamadan Province that I had never visited.

And my life changed direction.

41 Sixteen and seventeen

University felt strange to me. Until then, I had never been away from my family for more than three or four days on a trip—or, at most, two weeks in hospital.

Suddenly, I was in a new city, six hours from Tehran by bus, without knowing a single person.

It began in the registration queue. My student number was 89110017: 89 for my entry year, and 11 for the programme and full-time day course.

Beside me was Dana Rostami. Our surnames were close alphabetically, and so were our student numbers: his ended in 16, mine in 17.

He had come from Paveh and was Sunni—a background very different from mine. And right there, in that queue, we became friends.

42 Meals, buses, and late arrivals

At public universities in Iran, tuition was free, and meals were heavily subsidised. It wasn’t just lunch, either: food was delivered to the dormitories, and we had three basic meals a day.

There were also buses to campus at set times. Though I can’t remember ever booking things properly—or catching the bus. :-)

My lecturers soon knew I was the one who always arrived late.

43 C programming and other priorities

For ordinary Iranian kids like us, who had never been abroad and had grown up in all-boys schools—a proper “male colony,” as we joked—university was fascinating. New people, new surroundings, and, for the first time, classrooms with both women and men.

Since I had started programming in high school, I naturally caught my lecturer’s attention. My favourite subject in the first semester was introductory programming, where we learned the C programming language.

Some of my classmates were betting I would finish top of the class. They didn’t know I preferred mischief.

Pestering the physics lecturer with difficult questions, arguing politics with the literature lecturer, and skipping “Life Skills” and “Family Planning” classes—those were higher on my list than studying. :-)

To be continued.