Tuesday, February 20, 2018

Won't be able to stream on twitch in 2018

I have promised many of my friends to start streaming Hearthstone on twitch.tv, in fact, I even bought a gaming laptop to do that and even tried to test stream once on YouTube:

However, after doing some research it turns that the current restrictions of my Tier-4 visa in the UK prevent from 'being an entertainer' and streaming myself into gaming could fall into a category.

According to 'Guidance on application for UK visa as Tier 4 student', you cannot be 'be employed as an entertainer' and streaming on twitch could fall into that category. At worst, this could be undertaking self-employment in the UK which is not allowed:

I would have loved to stream Hearthstone as my passion for that game never cease to end. I do play 1-2 hours daily and have bought many packs already.

After consulting a law firm the UK, they have advised me not to stream until I am either outside the UK or switched to a visa that allows me to do that.

It is expected that I stay in the UK until September 2018 unless I find a job opportunity or pursue further academic studies in the country. 

Sunday, February 11, 2018

How To Disable Directory Listing in Apache on Ubuntu 14.04

I found this very good tutorial on a Chinese blog, so it has been translated and reproduced here:

What you see in the picture below Directory Listing in Apache server settings. And this is turned on by default.

To check if you have this problem, try to visit a directory in your apache server location with a browser, such as localhost/someFolder and you will see the contents of this folder. Webmasters and website owners generally don't want this activated because they don't want strangers to browse the contents of their website.

If you see something similar to the above photo, you got this problem as well.

While it might not be a huge security problem to your site, it certainly makes you not comfortable, and it is also not a very pleasant experience for users to crash into your directory like this.

However, it is actually very easy to turn it off in Ubuntu, here is how.

1. Navigate to /etc/apache2

2. From there, you will find a file named :


3.  Open apache2.conf with your favourite text editor. If you don't know how to edit a text file on a server, find some help on Google.

4. Find this line: ( there are actually two lines of these, one's under <Directory /var/www/>, and another one is under <Directory /srv/>, for now, we will work on the former one since that's where our website is in.)

    Options Indexes FollowSymLinks

5. Remove 'Indexes' from this line, so that it will look like this

    Options FollowSymLinks

6. Save the file, open a terminal then restart apache.

    sudo service apache2 restart

And we are done, try to visit a directory under your web var/www in a browser, and you will get a 403 forbidden error.

Tuesday, January 30, 2018

Why You Shouldn’t Care What Others Think About You

This article was written by Micheal Miles. I read it in 2012 and really like it. You may get his new book 'Thirty Days to Change Your Life' and support him by clicking here.

Who’s in control of your life? Who’s pulling your strings?

For the majority of us, it’s other people – society, colleagues, friends, family or our religious community. We learned this way of operating when we were very young, of course. We were brainwashed. We discovered that feeling important and feeling accepted was a nice experience and so we learned to do everything we could to make other people like us. We didn’t want to be singled out by the crowd for being different because this wasn’t such a nice feeling. We learned this way of being so well that, as adults, we continue – mostly through mutual peer pressure – to keep each other in check. Like sheep without any need for a sheepdog, we keep each other in line.

“Most people are other people. Their thoughts are someone else’s opinions, their lives a mimicry, their passions a quotation.”  – Oscar Wilde

It works both ways. First, we are afraid of disapproval. Am I dressed right? Will people laugh at my accent? Will I look stupid? Will I make a mistake? When we feel that others think badly of us, it makes us feel bad and so we try to avoid this.

Second, we all want to feel important and so we crave the positive attention of others. This is one of our basic needs, according to Dale Carnegie, author of the multi-million best seller, How to Win Friends and Influence People. And so when people stroke our ego and tell us how wonderful we are, it makes us feel good. We crave this good feeling like a drug – we are addicted to it and seek it out wherever we can.

We are so desperate for the approval of others that we live unhappy and limited lives, denying huge swathes of ourselves and failing to do the things we really want to do because we’re worried about what other people will think. Just as drug addicts and alcoholics live impoverished lives to keep getting their fix, so we impoverish our own existence to get our own constant fix of approval.

The drug is so addictive that most people will not give it up – they will keep looking for approval because the hit is so intense. But, just as with any drug, there is a price to pay. The price of the approval drug is freedom – the freedom to be ourselves. Do you want your drug or do you want to be free? You cannot have both. If you want to pull your own strings, you need to stop giving away your power – you need to genuinely stop caring what other people think about you.

The truth is that it’s all an illusion anyway – you cannot control what other people think. People have their own agenda, they come with their own baggage and, in the end, they’re more interested in themselves than in you; in fact, they’re thinking about themselves ‘morning, noon and after dinner,’ as Carnegie wrote.

If we try to live by the opinions of others, we will build our life on sinking sand. Everyone has a different way of thinking, and people change their opinions all the time. The person who tries to please everyone will only end up getting exhausted and probably pleasing no one in the process.

So how can we take back control? If we are truly ready to give up the drug of approval and importance (which most people are not), I think there’s only one way – make a conscious decision to stop caring what other people think.

This doesn’t mean that you should start to treat people badly, step on them or use them. Why would it? I read somewhere recently that the world would be terrible if nobody cared what other people thought of them. But why so? We all know what’s right and wrong. I have written before about guiding your life by means of a set of values – not values imposed from the outside by others, but innate values which come from within. If we are driven by these values and not by the changing opinions and value systems of others, we will live a more authentic, effective, purposeful and happy life. We will be actualized and successful.

Only one question remains – do you really want to be free?

Thursday, January 25, 2018

COMP6219 Designing Usable and Accessible Technologies - Feedback

12-Feb-18 Update: this post was updated with a comment from the module leader after my statement regarding 'disabled people':

As we explained on the course In the UK disabled people refer to themselves as 'disabled people' reflecting the social model of disability where society disables people by not creating an accessible environment (e.g. lack of captioning or ramps or accessible web design). They don't like the US term 'people with disabilities' as this reflects the medical model where society has no responsibility for the disability. 

I don't generally post feedback about courses (UK equivalent: modules) I take in college, but this one course was one of my favourites. That is because I really learned something I didn't really know existed before.

About Module 

COMP6219 - Designing Usable and Accessible Technologies is a course taught at the graduate (UK equivalent: postgraduate) level in the world-renowned Faculty of Physical Sciences and Engineering at the University of Southampton.

I am a webmaster and have designed websites for 5+ years but I have was never building a website and thought like 'Would a person with a disability be able to access this website?'.

And this course is designed to exactly be able to answer this question.

I never knew 'accessibility' was a topic for designing website and mobiles applications. And this course will teach you everything about that topic, from A to Z.

It starts from explaining an overview of accessibility and usability, then it talks about universal accessibility and usability standards (mainly WCAG 2.0). During the module, you are also taught how to create personas and later on thought how to evaluate websites and software applications for accessibility and usability. Frameworks are explained and examples in the lab are demonstrated. Other topics include 'business case for accessibility',  'accessibility and mobile technologies', 'designing for adoption' and 'open source development'.

Things liked:  

  • You are evaluated with coursework and not exams. No - seriously, I couldn't be happier. If exams were to be made, it would probably be memorising slides and cramming information to vomit later on an exam paper and not learning anything in the process. But instead, we are evaluated by one huge coursework which is due at the end of the semester.
  • Non-boring (at least for me), any topic about the web excites me. The lectures are filled with videos, websites which sometimes are checked on the spot and are generally interactive. The lecturers don't rely on the slides alone to explain and transfer ideas so you are less likely to be bored. Testimonials, examples, websites, and other educational material were shown in class.
  • The module has three lecturers and not just one. Sometimes the three lecturers are present in the class which dramatically improved the learning experience.
  • Not strict about laptop or cellphone use. Usually, no one is especially at the graduate level which is good.
  • Professionalism and punctuality. 

Things disliked:  

  • Slide Wiki: we are not allowed to use other than SlideWiki to make the slides. But SlideWiki, went down on several occasions. There was a time where I was a saving a slide and an error popped up saying 'Error 403: Service Unavailable'. I feel the site is suffering from a 'management' issue. It is also very hard to make slides on that website, and it fails to auto-save.
  • Sometimes the instructors refer to people with disabilities as 'disabled people'. It might offend some. It would be better if they use more sensitive wording such as 'people with disabilities' instead. 
  • Word limitations were really destructive for me. At the end of the semester, we have to produce a report where we evaluate four applications for accessibility and usability and other factors affecting them. We are only allowed to do that in 3,000 words which is too low for me. In my undergraduate university, the instructor used to tell me 'the limit is the sky' but here in the UK it is different. There are word limitations you have to follow. In my assignment, I had to remove a lot of information to reduce the word 3,100 words.
  • The assignment could have made a bit clearer. For example, we are asked about 'assistive technology description and analysis', but it is not really made clear what or how should we analyse. I do understand, that assignments can't be too explicit about some things to require us to research more but some questions aren't clear like the assistive technology one. 

The coursework 

It is arguably the most important part of that module. It is worth 100% of the total grade. So, I made sure to start way earlier than the deadline. I think I've started working 2 months earlier and made progress every day towards it. The reason why I started that early because the assignment is enormous:

My work

The report can be found here, whereas the oral presentation can be found here and finally the website can be found here. Here is a snapshot of the website:


  • Reusing Microsoft Office: It brought back my old Microsoft Office memories. I broke up with Microsoft Office in 2014 and was using Google Docs for 3 years. I denounced Microsoft Office as a failing product but this time I've had to use it to write the report because it has more accessibility features and an accessibility checker which is something lacking from Google Docs. The product remains awful with a weak integration with OneDrive. I lost one night's work one time because of Microsoft Office and had to redo it.
  • Applications to pick: I had no idea what to evaluate but I wanted applications that are different so I went with: Reddit and Steam (for web), and VLC and Norton Internet Security (for web).
  • Time: The assignment was really time-consuming; especially if you like things to be perfect. It took a lot to build that website (despite having a template) and the presentation took a lot of time as well.  
  • Standards: Didn't know if my work was enough or not. 

Major things learned

    • Microsoft Edge has a good accessibility checker. I was really surprised about that and never thought Microsoft would bring such good feature in their mediocre new browser Edge.
    • Accessibility is generally ignored and most webmasters don't give a damn about making their site accessible (I didn't even know that was a thing). Governments such as UK and US have to put laws sometimes to force websites to comply.
    • All of Web Content Accessibility Guidelines (WCAG) 2.0 in detail.
    • Personas, how to make them and what they mean.
    • That SlideWiki exists. Learned how to use it, but really that wasn't hard.
    • All web accessibility tools aren't completely accurate and can't be accurate. Human intervention is needed. They are basically a script written by a human being.
    • Many people in the world today have disabilities. Having said that, it is important that you feel an ethical obligation to make your website accessible to them. In the same way that you make toilets accessible in the UK or US, you should make accessible websites.
    • Basics of WAI Aria which is a "technical specification that provides a framework to improve the accessibility and interoperability of web content and applications".
    • Generally, how to make websites accessible according to standards.
    • There is a lot more to research, improve and innovate in this field. 


    I scored an 87% (UK Grading System), here are the details of my grade:

        Sunday, January 14, 2018

        Dear Apple thank you for giving me a new iPhone 7 for free

        For the third time in a row, Apple has provided a solution for my iPhone problem for free. The problem with my beloved iPhone 7 started when I upgraded to iOS 8. That moment, the Home Button stopped working. The rest is history.

        Once my home button got broken, I took it to the Apple Store in Southampton and was furious; and the Apple guru said that this is a hardware problem. I was puzzled, and I told him 'that is not reasonable since it stopped working after I upgraded to iOS 8'; however, the apple guru responded with 'it is a coincidence'.

        Eventually, Apple Store was able to fix my phone by replacing it with both a new screen and a new home button. You can't replace only the home button since it seems to all come within one piece.

        However, that repair was free because my iPhone was under warranty. The other issue started when I was in Lebanon, and my iPhone's screen decided to stop working. It kept on blacking out and showing weird colours until the screen stopped working entirely.

        But at that point, my iPhone's warranty had already expired, so I thought I had to pay for the repair. However, the Apple Guru informed me that the screen they replaced not too long ago is still under the 90-days warranty. And he informed that the repair would be free.

        I was really happy, and I was asked to come a few hours later to pick up my phone since the repair is done on the same day.

        When I got back later, another Apple Guru came to me and informed that the issue with my screen being completely black persisted even with a new changed screen, and then I thought 'I was really f*cked' until the Apple Guru handed me a new iPhone 7 black and apologised for not being able to fix my phone.

        The Apple Guru informed me that since the screen was still under warranty, I have to pay nothing and here I am with a new iPhone 7!

        They took the broken iPhone but luckily it was backed up entirely to the iCloud so all my data, photos and phone settings would transfer to the new iPhone.

        Thank you Apple for your professionalism and phenomenal customer support.

        Tuesday, December 19, 2017

        Music habits in 2017 released from Anghami

        Anghami has been using data science to get to know some music habits about me. They analyzed my music habits and they found this: 

        What the...

        I don't know if this is accurate...

        Hmmm, Sia was probably in those songs...

        Ok, whatever...

        50,000 minutes of music? I must really be a music listening addict...

        The screenshots have been taken from Anghami can be found here

        Sunday, December 10, 2017

        Rise of The Tomb Raider (2015) review

        I've finally finished playing Rise of The Tomb Raider (2015) and without a doubt this is one of the best games ever made.

        Rise of the Tomb Raider is an enterprise computer game created by Crystal Dynamics and distributed by Square Enix. It is the spin-off of the 2013 computer game Tomb Raider (which is a game that I've played as well). As of today, the game has reported to have sold 7 million copies.

        The game was immensely enjoyable with a solid story campaign, gameplay mode without outfits and many weapons that are upgradable.

        The game was immensely enjoyable with a solid story campaign, gameplay mode without outfits and many weapons that are upgradable. For some reasons, the gameplay is up on YouTube. This is not meant to be used as a walkthrough and uploaded only as for a future reference to me:

        You might want to check the game's beautiful soundtrack:


        Wednesday, December 6, 2017

        Dear Palestinians Don't Protest In Lebanon

        Following Trump's decision to acknowledge Jerusalem as the capital of Israel, the illegal and unlawful Palestinian people in Lebanon decided to go on the streets, close some roads, and attempt to further incapacitate this vulnerable country.

        I am extremely outraged by this behaviour. Lebanon should not suffer because of the Israeli-Palestinian conflict. It is not Lebanon's job to resolve this conflict!

        Palestinians, do not protest in Lebanon, this is not your country, and you don't even hold the Lebanese passport. Go protest elsewhere!

        Video also I've received also can be seen by clicking on this link.


        Monday, October 30, 2017

        Leon: The professional (1994) [Review]

        This evaluative essay for the movie Leon: The Professional was written by my friend Elie Tom and has been modified to be displayed properly here. I like it a lot so I decided to post it on my blog.

        Léon: The Professional is a 1994 thriller film starring Jean Reno, Natalie Portman, and Gary Oldman and written and directed by Luc Besson. The film received favorable reviews from critics and is one of the best action/drama films of 1994. It pivots around an unusual relationship between Léon, an Italian hitman, and Mathilda, a 12-year-old girl living in a dysfunctional family. The fresh thriller plot, outstanding acting and role performance, and a one a kind script earned Léon: The Professional it’s spot as one of the best drama films of its time and up to this day.

        The plot is straightforward compared to most movies of the same genre; the movie is not driven by a plot-driven movie but rather driven by characters. There is no particular plot twist, although there are a few spectacular action sequences like the climax’s police shootout. The film mainly revolves around the relationship between Leon and Mathilda, and how they change each other’s lives.  Mathilda's abusive father draws the attention of corrupt DEA agents, who have been paying him to hide drugs in his apartment. Although Mathilda is young, she becomes interested in Leon and his job, seeking revenge for the horrific acts committed upon her.

        The performance of the actors in the movie is unprecedented. Natalie Portman as delivers a brilliant performance a twelve-year-old Mathilda as she is able to portray childlike innocence and raw emotion combined with awareness and intelligence that are years ahead of her age. Mathilda is the star of the film, and Portman is outstanding in playing this difficult role. Jean Reno as Léon delivers a sharp character who sets all of his focus on his hitman assignments until Mathilda comes along. You really can sense what Léon’s character is about from the first few scenes; an extremely skilled hitman who is like a child in many ways. Jean Reno plays Leon perfectly. Danny Aiello as Tony makes you wonder whether he’s a bad guy or good guy. His minor role as Tony was excellent and fits the movie like a jigsaw puzzle. Last and certainly not least, Gary Oldman, as the corrupt DEA Agent Norman Stansfield, moves the story along and controls it with his actions. He plays of the most memorable negative role ever and mixed both fear and sarcasm in his actions at the same time. Oldman especially chews the scenery in a way that's both amusing and utterly menacing especially with his Beethoven obsession.

        One issue that may arise in this movie is in the script, although it is one of the best scripts of its time. The love story between a twelve-year-old girl and a hitman would turn a few eyes, but Besson handles it in the most natural way by adding awkwardness in Leon’s script when Mathilda tries to bring up adult topics. There is a breathtaking and heartbreaking scene where Mathilda walks down the corridor past her apartment and knocks on Leon's door to evade the gunman standing at the door to her apartment. You can’t but emphasize with Mathilda. In another scene, a beaten Mathilda asks, "Is life always this hard or just when you’re a kid?" and Leon pauses only to respond with “always like this”. What really stands is the brilliant script and the straightforward direction of the action sequences. Portman, Reno, and Oldman deliver lines that would not be appreciated have they been spoken by any other performer.

        Luc Besson's movie delivers an intense story that is amplified with the perfect-fit casting. Every aspect of the movie adds to the unique overall package. Leon: The Professional attained its success without special effects overuse or a large shooting location. Besson's approach provides it with a European look; Paris in New York. Portman, Reno, and Oldman along with Danny Aiello show us that great acting cannot be replaced. One impressive thing about the movie is how it’s basic story is maximized to it’s potential by the depth of the characters and outstanding acting and a one a kind script along with many other elements that go into the making of the movie.

        The depth of the characters in this movie hooks you from the moment it starts. Matilda is played with great resourcefulness by Portman, who is required by the role to be, in a way, stronger than Leon. She has witnessed many violent things in her life most of which is through her dysfunctional family. She is wise for her age and this is seen when she makes references to movies: "Bonnie and Clyde didn't work alone," and "Thelma and Louise didn't work alone. And they were the best." Léon who has learned to repress his emotions in order to perform his job as a hitman. His world is changed when Mathilda turns to him for help and he learns about living a normal life, even if the circumstances which unite them are far from normal.


        Saturday, October 14, 2017

        Successful application in UKVI's strict system

        I've been recently (~ 2 weeks ago)  given a tier-4 visa study in the United Kingdom:

        A post shared by George Chalhoub (@georgechalhoub) on

        However, I'd be a liar if I say that the process has been easy or straightforward. In fact, obtaining that visa was a long and tedious process which has cost a lot of money, time, paperwork (and an acceptance at St Andrews).

        GO.UK has a clear guide to applying for a tier-4 visa application but it doesn't have all the details and more detailed PDF documents ( > 100 pages) have to be read to make sure you are compliant with all of their guidelines.

        What are the most recent UK Visa incidents?

        Starting the application 

        That wasn't hard because of a new beta system called Visa4UK where you sign up, sign in and apply for a visa application online. There is no need anymore to fill any papers. It is intended to be used by applicants from abroad.

        Making the payments

        All visa applications require you to pay an amount of 456$, plus an immigration health surcharge of 300$ which totals 800$. The amount is only refundable if you don't attend your visa interview and withdraw your application online prior to your interview time. If your visa application has been unsuccessful, the amount remains nonrefundable. 

        Setting up an interview 

        Luckily, that was easy as well. After making the payment, you will be able to set up an interview date using the UKVI's web application Visa4UK. I don't have a screenshot anymore of the page but it looks like this (My interview was not in May 2017, illustration picture only):

        Degree award delayed

        Despite finishing all my courses and requirements at university in July 2017, the university was unable to provide me with a degree telling me to actually wait until September 2017 because of the vote of the Senate. This is clearly an issue as St Andrews University (where I have an acceptance) starts on the 8th of September 2017. I would not be able to catch my university on time. 

        Emailing UKVI

        At that point, I've had to email UKVI and ask if I can apply for a Tier-4 visa before my degree was officially awarded and the answer was no.

        Emailing UKVI again

        At this point, I was really desperate; I told them about my issue and that I would be late for St Andrews but the answer was still no:

        Postponing the interview 

        At that point, I have no choice but to postpone my visa interview until my degree was awarded.

        No degree awarded yet 

        On September the 2nd, LAU still didn't award me my degree. 

        Withdrawing my visa application

        At this point, I've decided to withdraw my visa application and I realized it is unrealistic to attend St Andrews anymore which starts on the 8th of September. Even if the visa is awarded (which would take time), I would be very late to register for and attend St Andrews.

        Informing St Andrews I'm not attending 

        That was done in writing as you see below:

        Official Degree Awarded

        Finally, the good people of LAU have given my degree on the 7th of September.

        Checking another university

        At this stage, I've confirmed to the University of Southampton that I'm attending (already had an acceptance) and I've asked them to issue a CAS. The university was set to start on 28 September.

        Starting new visa application

        That was done quickly and urgently. New payments were set.

        Parents joint bank account issue

        One of the UKVI's major Tier-4 visa requirements is proving that you can finance yourself. I've had decided to use parent's joint bank account. But it turns out, it wasn't accepted. UKCISA has reported:

        It’s important to be aware that according to page 52 of the Tier 4 policy guidance and paragraph 1A(k) of Appendix C of the Immigration Rules you are only allowed to use money held in a joint bank account if you are one of the named account holders.  If you use a joint account that is not in your name then there is a risk that your Tier 4 application will be refused.

        Requesting copy of urgent sponsorship letter

        So I've had now to urgently request from my partial sponsor Fondation Sesam to send me a letter of partial sponsorship support to provide with my application. And they did quickly:

        A post shared by George Chalhoub (@georgechalhoub) on

        Registering with TLSContact Beirut

        This is UKVI's commercial partner that handles all visa applications and interviews in person. I've had to register there and link application and confirm interview times:

        Paying for priority visa

        Attending the interview

        September 13: I've attended the video interview and submitted my passport and all the documentation required.

        Application transferred to UKVI

        September 13: The application was transferred for decision.

        Application received by UKVI 

        September 17: The application was received for decision by the UKVI.

        Decision Made by UKVI

        September 24: The application was accessed for decision by the UKVI.

        Passport ready for collection

        September 25: The password was ready for collection by TLSContact.

        Visa acceptance letter

        I've picked up my password and the letter informing me the visa application has been successful.

        What next?

        I've left Lebanon in few days to catch up with the University of Southampton.

        Tuesday, September 5, 2017

        iCloud Trauma: 13,625 images and videos disappear and how I recovered them

        Imagine that you wake up one day to find out that 13,625 images and videos have disappeared from your iPhone, iPad, and iCloud.com.

        This is exactly what happened to my iCloud and specifically iCloud Photo Library. I woke up one day to find out that all of my old images from March 2014 till March 2017 now have disappeared.

        I kept refreshing icloud.com/#photos, changing browsers, and researching. The "Deleted Photos" folder was empty. I was screwed.

        I even waited a day to check back iCloud.com and still images didn't show up.

        Exact thoughts 

        "Fuck you Apple, literally fuck you". I couldn't process it. I trusted iCloud and I thought my data was safe there but apparently, it wasn't. Those images were important to me and only some images from 2014 were backed up. The rest weren't.

        First attempt to contact Apple Support 

        The first attempt to contact their support was an utter failure. I was barely hearing the support personnel (who was located in Egypt and speaking Arabic). The call disconnected before I articulated my problem and they didn't bother to call me back, they instead sent me this: 

        An empty email with a header message saying contact us. Not even a body message. 

        Using forensic tools

        At that point, I completely gave up on Apple and I started looking for online help to fix my issue. I found a great forensic tool called Elcomsoft phone breaker for Mac:

         What this tool claimed to do was:

        "Elcomsoft Phone Breaker can extract photos and videos stored in the user’s iCloud Photo Library. In addition to existing files, Elcomsoft Phone Breaker can extract media files that have been deleted from the Library during the past 30 days. Selective downloads are possible by specifying which user-created albums to download."

        Exploring Elcomsoft PhoneBreaker

        I was really skeptical about this software so  I decided to give it a try, I have turned off two step authentication temporarily and logged in via their program to see this interface:

        I was really happy that now my missing images are appearing in "Deleted". On icloud.com, the deleted folder was empty. However, they were being displayed in this software.

        Purchasing Elcomsoft PhoneBreaker

        At that point, Elcomsoft has proven to be working (by allowing me to recover only up to 10 pictures). I had to purchase the software for USD200.  

        After a few minutes, I received my registration code:

        Starting the Download:

        This was the most chaotic part. The download took almost a day despite having an internet speed of 1.5 MB/s. The download has interrupted at least 20 times (due to poor internet connectivity or iCloud issues/restrictions).

        However, I realized later that the download is resumable because the pictures are downloaded in chunks inside a hidden folder called .chunks. The contents of the folder look similar to this:

        So every time the download interrupted, I re-downloaded it using the same directory that had .chunks, so the download resumed instead of restarting. At the end of the day, I had my images downloaded. 

        Images had no timestamp

        Images were mixed without a date, so they lost they lost their chronological order. I realized that at that point, I have to contact Apple again.

        Another attempt to contact Apple 

        This time I couldn't even submit a request:

        Final attempt to contact Apple 

        The next day, I kept trying to contact support until they managed to call me. This time, finally, I was able to talk to a support technician from Apple. Apple performed their security checks and when they have done that, they have informed me that they will be able to recover them.

        Their support was really great. 

        Images reappear in Recently Deleted

        After the call ended, support was able to restore images to "Recently Deleted" but not to "All Photos".

        Support attempts to call me again 

        Only to inform me this time that images have been recovered but they are in the "Recently Deleted" folder and I had no move them back to other folders to prevent the permanent deletion of them in 30 days. 

        Case Closed

        Images have been recovered. I moved on. 

        So, what caused this?

        It is not really known what caused the images to be removed. But I believe, when I have switched from my old to my new mac, I used Apple's Migrate Assistant, which moved the old Macbook data to the new Macbook. Later on, I activated iCloud Photos. So the contents of the Photos app were synced (Which had few images only).

        I think that iCloud Photo Library thought that I have removed the images and thus removed them from iCloud Photo Library and consequently all of my devices.

        What is the lesson?

        Never trust the cloud and specifically iCloud. Your data isn't safe and might be removed forever. Physical encrypted backups for everything are a must.

        Final thoughts

        It was important to deal with this situation calmly, I will not stop using iCloud Photo Library even though it fucked up; but I will increase my backups with those photos. I have already downloaded Google Photos and I will be allowing the app to store all of those images. I will be also having physical and encrypted backups of those images.

        Sunday, July 16, 2017

        Challenge: No Internet & Cell Phone For 7 days

        I've known this blogger since I was very young. Inspired by Leo Babauta's post "A Month With Limited Internet, & Now No Cell Phone", I have decided to go offline for 7 days. It believe it is an important challenge. Similarly to Leo Babauta, I:
        • Make my living on the Internet.
        • Watch movies on the Internet.
        • I receive my mail on the Internet.
        • I manage my academic duties on the Internet.
        • Study on the Internet.
        • Listen to music on the Internet.
        • Practice programming on the Internet. 
        • Socialize on the Internet.
        • I pay my bills on the Internet.
        • I make my purchases on the Internet. 
        • Backup my data on the Internet.
        • And so on...
        I don't consider myself as a person struggling with internet addiction, but as a person who spends a lot of time online and sees the Internet as something that has of extreme value and importance in my life.

        So, from Monday, 17th July till Sunday, 23rd July, I will not be connected to the Internet and my phone will be turned off. They will be out of reach and if possible out of the house to avoid the temptation. I will be writing down what happens every day, and in addition to not being connected to the internet, the challenge includes:
        • No SMS or chatting of any kind.
        • No movies or series of any kind.
        • No listening to music of any kind.
        • No use of laptop of any kind.
        • No use of cell-phone of any kind.
        • No use of television of any kind.
        As mentioned above, the challenge will go for 7 days and in addition to that, it is a "cold turkey" challenge. Cheating is not allowed nor tolerated and would mean the challenge has failed.

        Monday, July 3, 2017

        Recovering a hijacked Facebook account

        I can without a doubt confirm that the most hijacked and hacked accounts worldwide belong to Facebook. I have been asked myself to recover more than 15 accounts belonging to my friends or mutual friends. I don't succeed most of the time.

        For example, my best friend's girlfriend had her account hijacked 1 month ago. The girl noticed the change one month later. I was asked to remedy the situation, I was having trouble even locating her account, but when I did nothing could recover her account back. The hijackers set up trusted friends, new email, new phone, new photos and even a new name.

        Recently, my friend's account was hijacked and I was asked to recover it. It was an immensely important account used to conduct business and had chats were supposed confidential, so I wasn't taking it lightly.

        The password's been obviously changed and the email address (Hotmail) hijacked and two-step authentication set up (Confirmed from Hotmail's account recovery process). So, recovering the account was pretty much a dead-end confirmed with Facebook's horrid message:

        So, I was really stuck. At this point, there is was no direct way to contact Facebook regarding hacked accounts. You can directly contact them for impersonation or copyright issues but not for hacked accounts. 

        Then, after that, I have asked the victim to find any web browser where he's logged in on Facebook in the past (with the old password), screenshot he's sent:

        After he has pressed on "click here", he has indicated that the Facebook account has been compromised, next photo:

        After the victim clicked on "Secure My Account", he was taken to this page, the victim's Hotmail account was compromised so he clicked on "No longer have access to these?":

        And surprisingly, and taken to this annoying and useless page, the victim has clicked on "I cannot access my email account":

        Then, Facebook asked for a new email address:

        At this stage, an email address that I operate was provided, this page below was shown; however, this page is not accessible for everyone. The URL for this page is the following https://www.facebook.com/help/contact/278918555806469/ but apparently will not be enabled for anyone unless they went through the recovery process (from a browser that they have logged in on in the past):

        After the ID has been provided, Facebook Support directly sent me an email since the victim set up an email of mine as the contact email for the resolution of the issue:

        Since the victim has uploaded his ID, I have briefly described the issue to Facebook:

        One day later, the account was recoverable. Win:

        But we were not done yet, I've had to reverse the damage. First, I've had to invalidate the old email and add another email for the victim. At this point, I've set up an email for him from my domain name and added it to his Facebook. The email had two-step authentication configured on it as well as a complex password, and no matter what I can recover it:

        The email was confirmed:

        Then, the account was logged out of all the devices: 
        Added phone numbers, emails and apps were all removed:

        Recent activity was checked as well for malicious posts added:

        That's it, the account was recovered and two-step authentication was activated now; a step the victim didn't know existed in the first place.