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.
If you could install only 3 apps on your smartphone, which ones will you choose?
For 3 Apps? Well I would show you. Wechat A Chinese I.M. Software. Wechat can help me Cotact my friends worldwide(If my friend is on Mars and he got signal it would also work). Wechat is my Paypal formercial sake EUR USD CNY HKD JPY would works perfectly on it. It is my Uber I can refill my utility bill ordering food from restaurants. Listening music browsing blogs remind friend in Flowerstore send flowers to my GF(If there is one lol facepalm) and etc. Wechat Where amazing happens. Yes I can watch NBA game through it. Zhihu Zhihu is a replica but improved edition of Quora. (copied assignment but correct errors and add features). Though I can access content of zhihu from FeedMinder. However I need more I need tomunicate with others. Zhihu is my kindle+Audible+WordPress+Medium+Reddit+Instagram+TED(You have access tomunicate with KOL with all business categories) ordered-list With these 3 apps I do not think my life quality would even drop a bit.
What do you think about the recent malware attack (ransome)?
I think its very harsh. If youve done your best to stay away offline for the past two days so you could actually enjoy your weekend you undoubtedly now find yourself trying to catch up on all the news surrounding WannaCry ransomware. What is ransomware? First and foremost let clarify exactly what italic WannaCry italic is. This malware is a scary of trojan virus called italic ransomware. italic As the name suggests the virus in effect holds the infectedputer hostage and demands bitcoins that the victim pay a ransom in order to regain access to the files on his or herputer. italic What it exactly do when it entered in your Windows PC. Yeah Here its the process after affecting - RansomWare italic like WannaCry italic works by encrypting most or even all of the files on yourputer. Then the software demands that a ransom be paid in order to have the files decrypted. In the case of WannaCry specifically the software demands that the victim pays a ransom of $3 in bitcoins at the time of infection. If the user doesn pay the ransom without three days the amount doubles to $6. After seven days without payment WannaCry will delete all of the encrypted files and all data will be lost. Per Symantec here is a full list of the files that are targeted and encrypted by WannaCry .123 .3dm .3ds .3g2 .3gp .62 .7z .ARC .accdb .aes .ai .asc .asf .asm .asp .avi .backup .bak .bat .bmp .brd .bz2 .cgm .cmd .class .cpp .crt .cs .csr .csv .db .dbf .dch .der .dif .dip .djvu .doc .docb .docm .docx .dot .dotm .dotx .dwg .edb .eml .fla .flv .frm .gif .gpg .gz .hwp .ibd .iso .jar .java .jpeg .jpg .js .jsp .key .lay .lay6 .ldf .m3u .m4u .max .mdb .mdf .mid .mkv .mml .mov .mp3 .mp4 .mpeg .mpg .msg .myd .myi .nef .odb .odg .odp .ods .odt .onetoc2 .ost .otg .otp .ots .ott .p12 .pas .pdf .pem .pfx .php .pl .png .pot .potm .potx .ppam .pps .ppsm .ppsx .ppt .pptm .pptx .ps1 .psd .pst .rar .raw .rb .rtf .sch .sh .sldm .sldx .slk .sln .snt .sql .sqlite3 .sqlitedb .stc .std .sti .stw .suo .svg .swf .sxc .sxd .sxi .sxm .sxw .tar .tbk .tgz .tif .tiff .txt .uop .uot .vb .vbs .vcd .vdi .vmdk .vmx .vob .vsd .vsdx .wav .wb2 .wk1 .wks .wma .wmv .xlc .xlm .xls .xlsb .xlsm .xlsx .xlt .xltm .xltx .xlw .zip Do you think Attack is over? Big NOOOOOOO italic WannaCry was first discovered on Friday May 12th and it had spread to an estimated 57puters in more than 15 different countries around the world by the end of the day. European countries were hit the hardest and business ground to a halt at several largepanies and organizations including banks hospitals and government agencies. On Saturday a 22-year-old security researcher named Marcus Hutchins inadvertently slowed the spread of the WannaCry virus when he registered a domain name hidden within the virus code in an attempt to track the spread of WannaCry unintentionally stopping its progress in the process. You can read Hutchins story in his blog post titled How to Accidentally Stop a Global Cyber Attacks. italic Protect yourputers from this stuff Regardless of which operating system you run you should install any and all available security updates immediately. Specifically Windows users with machines that run Windows XP Windows 8 or Windows Server 23 should immediately install this security update s released on Friday by Microsoft. Thanks )
How do I open a Microsoft document on my Android from my Outlook? It always says that I do not have the app to view the document, but I already have Office mobile installed.
I don't know what of document you are trying to open but OfficeSuite should do the job easily or Polaris Office also you may try WPS Office OfficeSuite is Fullpatible with Microsoft formats including DOC DOCX DOCM XLS XLSX XLSM PPT PPTX PPS PPSX PPTM PPSM or Additional support formon formats like RTF TXT LOG CSV EML ZIP; (Open Office - ODT ODS and ODP. Here you download official OfficeSuite s or if you prefer cracked version then try OfficeSuite Pro italic s
What are the formats we can run in SDL Trados?