What's the most beautiful code you've ever written? By beautiful I mean simple, clean, and implementation of a potentially complex function/algorithm.
I wrote a Turing machine in a version of Turtle Art made of snap-together programming blocks for the purpose of teaching Computer Science concepts to elementary school students in the One Laptop Per Child program. I coded the symbols on the Turing machine tape as colored dots which the turtle could read and translate to integers used as indices into the program table. The table was also made of dots that the turtle could read to determine what state to go into what symbol to write on the tape and which way to move the head for the next iteration. The initial state of the tape for the simple addition 3+2 math appears on the top edge and the program table below. At the end of execution for this simple case when the machine halts we get the tape state containing the answer and also an execution trace as shown below. Activities Art Art Turing Machine s Here are pictures of theplete code with annotations. Activities Art Art Code for Turing Machine s I also provided a machine translation into Logo on a separate page ed from those above. Inparison with -basedputer languages this kind of Turtle Art makes most typing and syntax errors impossible. The user programs directly in a tree structure a much more natural CS representation of a program than a that has to go through lexical analysis and parsing stages to get to a parse tree. On a larger scale I rmend a number of elegant programming language implementations that an undergraduate could read in their entirety including the original Pure LISP the original FORTH Smalltalk and J Ken Iverson's last version of APL. Some of them have implementations written entirely in their own languages with a kernel that can be crosspiled to any new architecture.
How do I remove the RSA-2048 Encryption and CryptoWall 3.0 ransomware virus and restore the files?
CryptoWall is still being distributed and can be found in the wild. One of the nastiest viruses out there as you can see from the variety of responses here. And yet there is no method for the full decryption of data locked by this ransomware. Removing it efficiently will rely on a good anti-malware tool. All security programs will have this in their definitions (unless they are not targetting viruses but a more specific area in IT security). Here is an example of how to remove the ransomware and several ways you could try to recover some files encrypted by CryptoWall Your friend probably already removed the ransomware but still might not have recovered the lost data. Reading about new ways to try and restore files is always a plus. Data recovery programs are reported as of late to work in partial recovery of the data locked by ransomware. If files were deleted before the encryption process and the disk drive was not formatted since there is a big chance at least a few files to be recovered. Try a few methods for recovery which you haven tried before and pray. Also try searching for other ways to unlock your friend files. Best of luck!
How do I repair corrupt PowerPoint file?
PowerPoint file gets corrupted due to the following reason Virus attack Forcefully cancellation of Powerpoint file Human error Hard disk failure etc. PowerPoint file can be repaired manually There is a built-in- repair feature in Microsoft PowerPoint that is Open and Repair feature. Launch Microsoft PowerPoint program on your system2 Click File tab 2Click open or press Ctrl=+O. Browse corrupt PowerPoint file location2 Select the file. Now Click the drop-down button2 option Open and Repair Click on it. If the corruption is minor it can fix it otherwise third-party tool help bes a necessity. One such tool is SysInfotools PPT Repair Tool. It does not need technical know-how and even a novice user can use it. Also it is simple and easy-to-use. You can choose from both the option whichever suits your requirement.
What is the nastiest computer virus?
I would say Flame (Skywiper) which is based on Stuxnet and has similar features. This malware is so powerful (in my opinion) because it goes undetected on almost everyputer it infects and it's hard to remove unless you know how. I know how Stuxnet works I won't go into it but it's actually fairly simple (albeit tedious work) to make something similar. Current anti malware programs will not detect Flame as they don't write files to disk and they cover up there tracks. Flame has a lot of features (can pretty much do anything) but that's not a huge deal. A simple reverse TCP shell installed on a targetputer can let you do just about anything you want with thatputer including installing more malware or adware for profit. But any anti virus worth installing will detect this pretty easily just by monitoring Internet traffic. Conficker (Kiddo worm) is a pretty nasty worm as far as spreading to otherputers. Once you get a worm on aputer you can install the malware of your choice. These two malware programs are powerful but in terms of damage caused my vote goes for Zeus. Why simple Zeus? Because it did a lot of damage stealing bank account info credit cards and identities in its day but mostly because the source code was publicly leaked and it's easy for anyone to get and modify. The source code of Zeus has created so many spin-offs that get more and more advanced as programmers add more features. Zeus is probably the root of most damage done to society by malicious hackers kiddies. Literally anyone with no experience programming could get Zeus installed on a C&C server and start spreading via poorly made youtube videos offering impossible hacks to ignorant kids. Cryptolocker is a novel idea but it's a simple piece of malware and it won't bother smart people who keep regular (offline) back-ups of important data. Crypto is dead now anyway (government seized the C&C server) decryption keys can be found here Ransomware like crypto locker still exists since it's easy to make. You could forego the encryption altogether just write a simple program that creates a small hard drive partition in empty space with a simple linux OS that boots to a ransom screen saying pay or yourputer won't work anymore. Also program a trigger to active a disk wiper like DBAN on the other HDD partitions uponputer sleep or shutdown. If they dont pay up in time you could flash the bios and lock it up with a password so theputer couldnt get past the bios easily. You'd have to be an asshole though... kinda like the original Cryptolocker authors. TL;DR Flame (Stuxnet) is powerful but very is a good worm but it relies heavily on people that have weak is cool but only affects is designed to steal money and spread it's the malware of choice for cyber thieves and since the source code is out there any idiot can have their own banking trojan botnet.
How can I recover corrupted PowerPoint files?
Hope the following methods can help you Method 1 Move the Presentation to Another Location Step 1 Go to the folder which contains the corrupted file. Step 2 Right Click on the file and select Copy. And then paste the file in another storage media. Step 3 you can create a new folder in the storage drive and save the file in that location. Step 4 Open the copied file you have saved in the new location. Step 5 If you are able to run the file from the new location then this is clear that the original location is corrupt. Method 2 Insert Slides into a New Presentation Step 1 Open the PPT file with the issue and try to import slides on the new PPT file. Step 2 Select the blank Presentation when you are up with this task. Step 3 Select the New Slide by clicking on the Home button. Step 4 Select the Reuse Slides from the options provided at the bottom of the menu. Step 5 Select Browse button and click Browse files. This will open a new window where you can select the particular file. Step 6 Right Click on the selected slides and select Resue All. Step 7 Then you can import all the slides and save the new presentation file at another location. Method 3 Use the PowerPoint Viewer (Windows) PowerPoint Viewer is a program offered by Microsoft which allows you to access the PowerPoint files. It allows you to open the corrupt files. Step 1 Open the PowerPoint viewer and start the installer. Step 2 Install the program on your PC. Step 3 Open the PowerPoint Viewer from the Start menu. Step 4 Open the current files in the viewer. Method 4 Open PowerPoint in Safe Mode (Windows) PowerPoint Viewer is a program offered by Microsoft which allows you to access the PowerPoint files. It allows you to open the corrupt files. Step 1 Press the Ctrl key and hold it down and then click to open your PowerPoint file. Step 2 Next you will see the confirmation dialog click Yes on the dialog to enter safe mode. Step 3 You will see that Safe Mode appears in the name of the open PowerPoint file. Method 5 Use an Online tool After trying all the above methods if you are still unable to recover the corrupt PowerPoint files then you can use any online free PowerPoint repair tool such as etc. These online PowerPoint repair tool is free and you don need to install any third-party software. However these online free PowerPoint repair tools have lots of shorings. If you need to recover the corrupted ppt files you can use some data recovery software like Recoverit easeus stella recuva ect.
Which files does files extension ransomware encrypt for backup?
The backups should be done to prevent data loss if something happens independently what. Ransomware is one threat only. Computer theft hard disk breaking hackers deletion by coworker accidental overwrite virus infection is important as well. Think about files you would hate to loose rather ones that one or another attack tries to attack. 3. Some ransomwares encrypt whole disk or file name table. (all files) e.g. Petya.