Recently read about Google’s WiFi project that enables WiFi on Indian Railway stations. One of the findings is the average volume of data consumed each day – around 300MB. While this is an astounding number, it seems to be less than what has been observed on Reliance Jio network – around 560MB per day.
Outlook 365 has a curious habit. When sending a reply to an email, by default, the reply window appears in the same view as the one used to read the email. In earlier versions of Outlook, the reply window used to pop out.
The problem with this approach is when we wish to add an existing email as an attachment or we move to some other task in Outlook, before returning to the task of replying.
As the reply is not opened in a separate window, if by chance, you move to some other message in Outlook, you can end up losing track of which email you were replying to as the indicator – a [Draft] shown in small text – is easy to miss. In such cases, the count of emails in the Drafts folder goes up by one.
Recently, two of my hard disks crashed. One containing data and the other containing miscellaneous media files.
Fortunately, I had taken a backup of the data about seven days before the incident. So I lost seven days of email, documents and photos. Sadly the cats will not pose once again, for which I did not have a backup.
Partly, this was due to my own mistake. During a recent machine re-configuration, I added one more HDD to the mixture of two existing ones. This seems to have added load on the power supply. I faced intermittent disconnections on connecting external HDDs and also my mobile phone. but not being savvy enough, did not realize the root cause
of the issue. I continued to blame the product makers.
One day the power supply did not give up, but the HDDs gave up. Then I went out an bought a new HDD to replace the one that crashed. On connecting and rebooting, I was operating normally. After copying data to it from the backup, it suddenly got disconnected. I was puzzled and worried but not scared. I shutdown the computer and started it again. The new HDD was visible and available without problems. I was relieved. Then one day went by. The next day, the same thing happened and I was scared. I immediately shutdown the system and was relieved to find the new HDD still available
and accessible. This time I shutdown the system, disconnected all HDDs except the one containing the OS and took it to the computer shop.
Now I have the system back with me and I am facing the task of reinstalling all the software that I use on a regular basis.
I also connected the mobile phone – and touch wood (here you can picture me touching my head) – the phone did not show its earlier behaviour of intermittent disconnection.
Moral of the story: I learnt a good and expensive lesson due to my stupidity and it might be good to consult others rather than assuming that you are the expert, due to your experience in software.
When I started on my desktop, I had one hard disk drive (HDD). Initially it was an 80GB drive. I then added one more HDD, this time of size 160GB.
Some years later I took out the 80GB drive and changed the config to 160GB + 500GB.
Even more years later, I took out the 160GB drive and changed the config to 500GB + 1TB. A few months later, I added one more 1TB HDD.
And a few months later, DISASTER. My 1TB HDD crashed!!!. Fortunately I had a backup that was one week old.
The reason for the crash was an insufficient power supply. I moved to a two HDD config. But obviously that was not enough. So I put in a more powerful power supply and moved to a three HDD config.
A few weeks later, I realized that I was using the third HDD primarily for backup. No other use. To save on electricity, I disconnected it and now I am back to a two HDD combination.
Recently, I was experimenting with text analytics in Python. One of the modules available is TextBlob. As is standard, the way to learn how to use a package is to look for a related sample and run it on your system.
And that is precisely what I did. I copied the sample into a .py file and ran it.
On execution, Python gave an error – ImportError: cannot import name ‘TextBlob’
Did a Google search and one of the solutions was interesting. It mentioned that you need to rename your file from textblob to something else. And that is exactly what I had done. I had named the sample as textblob.py. Hence it was searching for TextBlob in the source, which obviously was not present. I changed the name and the sample started working.
Over the weekend, I had an internal HDD fail on me and I lost a lot of data. Fortunately, I had a backup on an external HDD. Unfortunately, the backup was one week old.
I have managed to copy all the data from the backup and am recovering from the loss.
Presently, I am using vi, the editor to write bash/Bash scripts as part of a Big Data pipeline implementation. This story is of a typical day.
After a whole day of file editing using vi, I decided to draft an email using Outlook. After the email was done, I by habit pressed the ‘Esc’ key. And then I remembered that I was not using vi!!! Fortunately for me, Outlook threw up a dialog box asking conformation. Immediately I pressed the ‘cancel’ button and breathed a sign of relief. Then I clicked the ‘send’ button to safely send the email on its way.
Sometimes muscle memory is more powerful than the mind.
After moving the files from the sub-directories into one single directory (File Management on Windows – https://twentymegahertz.wordpress.com/2017/10/05/file-management-on-windows), I was left with many empty directories.
Initially I used Windows explorer to click on the directory and it it was empty, I deleted the directory.
Then I thought of an alternative. I selected multiple directories and checked their properties. If the number of files were listed as zero, all the directories were empty and I deleted them at one go.
Recently, (File Management on Windows – https://twentymegahertz.wordpress.com/2017/10/05/file-management-on-windows), when I was wrote a scriptlet, I cam to know that Windows has a ‘move’ command. For all these years, I was under the impression that Windows only has ‘copy’, while Unix/Linux as ‘cp’ (for copy) and ‘mv’ (for move).
Recently I got a zip file that contained many folders and each folder contained many documents. I wanted to remove all the folders and move all the files into one directory. As I was using Windows, I did not want to use Windows Explorer to manually do this activity.
I looked up and found a scriptlet on StackOverflow https://stackoverflow.com/questions/4357233/how-to-move-all-files-with-specific-extension-from-all-subdirectories-to-their-p
for /r "c:\source_directory\" %%x in (*.pdf) do move "%%x" "c:\target_directory\"
this moves all the files from the sub-directories into the target directory.