Posts

Showing posts from 2020

Read 5.25 inch floppy diskettes (1.2mb or 360k) in 2020

 Let's say you happen across this old pc dos (Actually any other platform also) diskette from the 80s, and you really want to read it, what should you do ? If it is a 3.5inch diskette (720kb or 1.44mb) you have luck as there are many 3.5inch to USB on ebay, so just shell several dollars and the data is yours, not so with the larger 5.25 diskettes. Hopefully, someone will come with a simple 5.25ToUsb solution, till then you can buy one of these 3 options: DeviceSide  card (FC5025) KryoFlux card SuperCard Pro Card The above 3 cards work in a similar way, plug your old floppy drive to it and get the data using their personal software using a USB cable. I will elaborate: Purchase an old 5.25 floppy drive (might be pricey ~80$) Purchase a floppy controller - this will be used to connect the data from the floppy drive to the card Purchase a power supply cable for the floppy 5.25 drive (Power cord to floppy drive) So now you have your floppy drive connected to electricity with a da...

Dragg and Drop on Winapp driver and Appium

Scenario The basic scenario here is having a windows desktop application with the drag and drop capability. Testing this application, you are using Appium over Winappdriver. The test I am attending to perform is a simple drag and drop. The above setting and scenario, isn't rare! actually it is a common case in desktop apps, that it is why it is so troubling to find that drag and drop is an issue. Searching the web, I found many ways of accomplishing the D&D, which basically I can split to two groups, the first one is using the driver.Mouse actions, where I will use a mouseDown, mouseMove and MouseUp, the second method will use the Actions object and will consist of actions.dragAndDrop() (Yes, there is such a function), or will do it the long way of Actions.ClickAndHold().MoveTo().Release(). But it seems that in some cases, both approaches just don't work. Let me be clear, this is a HUGE bug! There is a workaround, but it is a huge bug (especially when having a non working a...

Backing Up Automatically your Wordpress Site

Shit happens, thus you want a good wordpress backup plugin for these bad situations. What are the requirements from a backup plugin? Automatic on schedule Automatic before any update to the site (Optional) Can save the backup to a remote location (S3 Amazon server) Easy to use restore (Instead of just unzipping the files and importing the DB) Standalone restore option (Optional) - So if the site got destroyed, you can still restore Well maintained Multisite support (Option to backup every mini site independently) Comfortable price So, after going over the candidates, I have removed non-relevant plugins which don't give me my minimal requirements, and it seems that the difference between plugins will actually be the following watered down requirements: Automatic before site update (Called "Real time backup" in some places) Standalone restore app Good multisite support (to backup/restore specific site) Price My final candidates are: BackWpUp UpDraftPlus Wp Vivid backup JetP...

Web Hosting & Control Panel

Finding the Right Host Currently I am using Hostgator as a hoster for my websites. But I am very disappointed with them, the main drawback is the constant downtimes my sites get due to their shaky servers. I used shared hosting, then upgraded to reseller hosting, the downtimes happen every now and then, the latest one was for more than 12 hours! I must move my sites from that hosting. I want to move my sites to a robust hosting service, one which won't fall, and if it did, it will have a good internal load balancer. Searching for a good web hosting is difficult as the web is spammed with advertised ones, due to the large number of affiliates out there. Anyway, my search, did give me some results. I considered the following: Amazon EC2 Amazon Lightsail Google Cloud Computing Vultr Digital Ocean Linode Amazon EC2 and Google's cloud computing, which looked like my uneducated best guesses, fell from the race due to the complexity of their pricing model. They have a nice price model...

Optimizing my Server @ 2020

I have a brand new Ubuntu linux distribution on my new 2gb memory VPS (Amazon lightsail). What should be installed on it for the best experience. I am defining "best experience" as most secure, speedy and not complicated. I understand that one comes over the other, so if I want a super secure server, it will be more complicated and the speed might also take a hit. It goes the other way around also, so if I want a speedy server, I might want to install the web sites over Nginx instead of apache www, I will gain the speed but I will lose something in the process, as my sites work with wordpress and I have several plugins on them which use the htaccess file, i will need to find replacements for them and give over their benefits (security plugins, permalinks, www redirect, https etc). Another example will be MariaDB which is compatible with mysql but is supposed to be faster, it might complicate things, and because the gain of speed here is really minor, I will keep my sites with...

Choosing your SmartWatch smartly

Specialized Watch or A General Purpose One ? The first thing you should ask yourself is why do you want a smartwatch in the first place. The answer to this question will help you identify which smartwatch is for you. If you want one for upgrading your sleep, you should search for a specialized smartwatch with sleep and heart sensors. If your need is for exercising and fitness, then by all means don't go for the general smartwatches, look for one which takes seriously your steps, heart rate and the rest of your fitness needs. But if you want the smartwatch for the general reasons of getting notifications and other cool functionality then, go over the list of functionalities a smart watch might have, and mark the ones which are necessary for you, these will guide you to the right watch for you. Smartwatch Functionalities Phone Locator - Will cause your phone to ring so you can find it easily Text messages - Notification and answering back Social Media - Notifications ...