What are the best real-world projects a single programmer can attempt in order to learn as many aspects of his programming language as possible?
Here are a couple project ideas. Whenever you start pursuing something make sure to keep copy to a minimum and use the core language primitives without depending on code from an outside library . If you want to get the most out of the experience build off the skills and tools you have at the time in earnest italic . By the end of the project all those tools will have been enriched by this exercise and you'll have also have gained some new ones as well. CLI Tools Build a simplemand line application that follows POSIX standard and API's. Make itposable with other tools. Always consider modularity and keep in mind all the possible applications and interfaces make sure to work those into your design. Examples italic n A batch file rename tool to automate some desired task or manage some asset . You'll need to efficiently traverse the directory tree. italic Are you going to do it recursively? Do you match with regular expressions or do you use other facilities of your language runtime to handle it? Create a distinct separation of concerns italic between programponents. For instance you don't want to couple your FileIO while you're traversing the directory. Build a parser that reads some data and outputs it in another format. It doesn't need to be a file. It could be a program that grabs the ID3 tags from mp3 files. Learn about all the ways can be represented What can be represented using 7-bit vs 8-bit ASCII. Whats the difference between Unicode and UTF-8. How are invisible characters like tabs newlines and null terminators represented. Know where all these s of encoding schemes exist and be able to make the right assumptions. Create logging program for taking notes . Learn about how filesystem io italic streams italic and file descriptors work italic . Figure out what the best format to use. What kind of notations will you use for formatting and markup? How will you store and generate output? TXT CSV JSON or even a SQLite database. You could even have it interchange between multiple formats and create a schema italic that ensures data isn't lost between conversions. Build a smart todo list or task management tool. Take into consideration that tasks can range in priority and are also sensitive to time of day Also some tasks need to be done in a particular order. Determine the most efficient way to structure your data italic . Learn the argument parsing library for your language and design appropriately. n Plug and Play The Unix philosophy is one of building small tools that do one thing well over large monolithic applications and frameworks. This bes powerful once you startbining other tools together to perform moreplex task. Although this may sound simple in practice it takes a lot of time and polish to get programs to work at this level. For examples consider you want to use the batch file rename tool and ID3 tag parser to manage your music collection. If you've built them correctly these two tools which originally knew nothing of the other shouldpose seamlessly through the interface of Unix pipes and streams. If the solution is writing to a file that the user modifies or only runs correctly on certain platforms configured a certain way are indicators that design has beenpromised for the sake of utility or time.
What are good alternatives to Adobe Acrobat for writing text on PDF files on OS X?
I would rmend PDFelement. Benefits of using PDFelement Easily convert files to HTML Office documents and image files. Create andbine multiple PDFs into one PDF with batch PDF creation. Edit PDF files without effecting original fonts and formatting. Create editable PDF forms from non-fillable files. Secure documents with digital signatures and password encryption.
Can you move files from one folder to another using relative paths in Windows cmd?
The Microsoft page detailing COPY XCOPY and MOVEmands is ed here s s . Text copied below for posterity Move Moves files and renames files and directories. To move one or more files MOVE | drivepathfilename1... destination To rename a directory MOVE | drivepathdirname1 dirname2 drivepathfilename1 Specifies the location and name of the file or files you want to move. destination Specifies the new location of the file. Destination can consist of a drive letter and colon a directory name or abination. If you are moving only one file you can also include a filename if you want to rename the file when you move it. drivepathdirname1 Specifies the directory you want to rename. dirname2 Specifies the new name of the directory. Suppresses prompting to confirm you want to overwrite an existing destination file. Causes prompting to confirm you want to overwrite an existing destination file. The switch may be present in the COPYCMD environment variable. This may be overridden with on themand line. Default is to prompt on overwrites unless MOVEmand is being executed from within a batch script. Xcopy Copies files and directory trees. XCOPY source destination | +file2+file3... source Specifies the file(s) to copy. destination Specifies the location and name of new files. Copies only files with the archive attribute set doesn't change the attribute. Copies only files with the archive attribute set turns off the archive attribute. Copies files changed on or after the specified date. If no date is given copies only those files whose source time is newer than the destination time. +file2+file3... Specifies a list of files containing strings. When any of the strings match any part of the absolute path of the file to be copied that file will be excluded from being copied. For example specifying a string like obj or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively. Prompts you before creating each destination file. Copies directories and subdirectories except empty ones. Copies directories and subdirectories including empty ones. Same as May be used to modify Verifies each new file. Prompts you to press a key before copying. Continues copying even if errors occur. If destination does not exist and copying more than one file assumes that destination must be a directory. Does not display file names while copying. Displays full source and destination file names while copying. Displays files that would be copied. Copies hidden and system files also. Overwrites read-only files. Creates directory structure but does not copy files. Does not include empty directories or subdirectories. includes empty directories and subdirectories. Copies only files that already exist in destination. Copies attributes. Normal Xcopy will reset read-only attributes. Copies using the generated short names. Copies file ownership and ACL information. Copies file audit settings (implies ). Suppresses prompting to confirm you want to overwrite an existing destination file. Causes prompting to confirm you want to overwrite an existing destination file. Copies networked files in restartable mode. The switch may be preset in the COPYCMD environment variable. This may be overridden with on themand line. Copy Copies one or more files to another location. COPY | | source | + source | + ... destination | source Specifies the file or files to be copied. Indicates an ASCII file. Indicates a binary file. destination Specifies the directory and filename for the new file(s). Verifies that new files are written correctly. Uses short filename if available when copying a file with a non-8dot3 name. Suppresses prompting to confirm you want to overwrite an existing destination file. Causes prompting to confirm you want to overwrite an existing destination file. Copies networked files in restartable mode. The switch may be preset in the COPYCMD environment variable. This may be overridden with on themand line. Default is to prompt on overwrites unless COPYmand is being executed from within a batch script. To append files specify a single file for destination but multiple files for source (using wildcards or file1+file2+file3 format).
What is the difference between CMD and BAT?
If you are talking about file extensions there are a few subtleties. Generally .bat is synonymous with .cmd and both can contain msdos style scriptingmands. I think that .bat was the predecessor (the original) and designed to work with the c DOS application shell kernel. The .cmd was still a script file that worked using the same syntax. It was designed forpatability with originally for the OS operating system and then ported to Microsoft Windows as a 32bit application. .bat took priority in terms of execution sequence - a folder could contain both a .bat and a .exe file with the same first name but the .bat file would be the one that runs if no extension was specified. In Windows 9x COMSPEC was set to for execution .cmd would assign a value to the ERRORLEVEL variable even on successful execution. .bat would only set the ERRORLEVEL when an error occurred. Aside from that it did little that was different. It was designed to prevent running with the old 16bit which did support niceties such as the long file names. Most people didn care and just continued to use .bat which was also supported.
How much time it will take to create a framework of selenium from scratch?
Yes. If you want to be a Selenium Automation Tester. Prove your technical skills then Detailed learning plan for Selenium contains First You must have good knowledge on Manual Testing Before start selenium you need to update any one language like Java Perl c# python (Because selenium have its own inbuilt methods). Loops or conditions or variable declarations etc you need to use one language. In Advance Selenium 1. How to read the data and write the data in excel files files properties files etc. learn about various model 1. Page object model Page factory model or repository model etc Learn Extent Reports as per the current market requirement grouping multiple test case execution parallel execution.. Batch file creation execute throughmand prompt Git Lab or Git Hub for which I have mentioned are minimum requirements to work with selenium automation. Then you can crack the interview. Else learn RPA UiPath within one month go for interview. Further information you can call me. ordered-list
What was announced at the Google I/O 2014 keynote?
Android n Android One a global program with OEMs to bring stock Android with high quality hardware to developing countries launching in India first.n Android Paper a unified design and open framework across web mobile TV wearables and other devices.n Android L Preview which includes too much for a single bullet point wearable-based authentication 3D design with polymer+paper beautiful 6FPS animations literally everywhere the official switch from Dalvik to ART (Android RunTime) topic tid 498651 and over 5 other APIs are being added to Android. Android Extension Pack which allows (almost unbelievably good) desktop-quality graphics rendering on new Android devices that ship with Android L including the new Android TV set top boxes. Project Volta an improvement in Android battery life offering up to an extra 1.5 hours with typical use with an apanying battery management app several new battery-efficient API updates and a new Battery Saver mode in Android. The Android Web All Android devices are now conually aware voice enabled and seamless when continuing tasks across multiple devices.n Android Wear a platform for wearables that supports square and circular screens of any size which syncs notifications SMS and Google Now topic tid 24751 cards between your wearable devices your tablet and your phone. An SDK for writing native apps is also available today. Android Auto an Android platform for cars that ispletely voice enabled providing navigation music phone calls and other standard functionality in the car that can be customized (theme your music library playlists contacts etc) on your phone and cast to any car you plug your phone into. The Android Auto SDK is available today and over 25 car brands have signed up to ship Android Auto. Android TV an extension of the core mobile Android SDK to make standard apps also work on televisions. Android devices (including your watch!) can be used as remotes gamepads and other input controllers. Console controllers can also be used. Voice search results in information about movies shows actors etc and allows one-click playing of media from most media services. Netflix-y queries like oscar-nominated movies in 25 will also present movies in the same result view. A Certified Android for Work program now separates work content from personal content at the system level on Android devices. n Hardware n The LG G Watch LG's square-faced watch will be available on the Google Play topic tid 26624 store later today.n The Samsung Gear Live Samsung's square-faced watch will be available on the Google Play store later today.n The Moto 36 Motorola's circular-face watch will be available for purchase later this summer. Cardboard an inexpensive virtual reality headset (that looks very similar to the Oculus Rift (product) topic tid 254973 ) made out of cardboard and other household materials. Download an app on your phone and slip it inside the cardboard as the screen and you're good to go writing VR apps for stupidly cheap. Instructions on how to build your own are at Cardboard s .n n Chrome n Chromecasts can now broadcast their presence to all nearby devices allowing friends to cast to TVs that they can see but aren't connect to the same network of. This feature is opt-in. Android devices can now mirror their screen onto any Chromecast. Chromecast Backdrop allows users to customize the idle Chromecast screen with photos from their albums curated artwork by topic (i.e. art photography flowers etc) widgets like weather and news and other options. The voice action What is on my Chromecast on any Android device will tell you more about the art you're seeing on your TV. Chromebooks now show notifications for iing phone calls and messages with your phone. Your Chromebook can now use a known Android device in the proximity (your phone watch etc) to automatically log in for you. Android apps on Chrome OS A demo showed several Android apps running on a Chromebook; Sundar said they were still in the early stages of making this work but it is definitely in the pipeline. Native Office Editing allows on-device editing of Office files (Word Excel etc) with Google Docs and preserves the original file . n Google Cloud Platform n Cloud Save provides another way to store data. I missed most of the talk on this new service. Cloud Debugger allows setting global breakpoints across all production servers and stepping through source code when any server's execution hits the breakpoint. Conditional breakpoints on local variables are also supported allowing you to say only break on the point when variable name italic equals Andrew. Cloud Tracing gives a tracing view of all requests your servers take and how long they take which then lets you drill down into requests and see a timeline view of every service call made within that request. Can also generate reports on what effects code changes have on traces. Cloud Monitoring gives disks VM and service-level monitoring. Over a dozen open source services (such as Redis topic tid 1758 ) are automatically detected and a dashboard displays your overall system health including third party services. Alerts for usage thresholds downtime and other conditions are also supported. Cloud Dataflow is a fully-managed service to create data pipelines to create shape transform and analyze arbitrarily large datasets in batch or real-time. Optimization parallelization and provisioning of machines are done for you automatically. n Google Play n Appurify allows developers to simulate specific devices for cross-platform testing as well as simulating specific networks and connectivity properties. Google Fit is a centralized location for cross-platform devices and apps tobine their sensor data and analysis into a single app. Fitness information can be shared (opt-in) between apps allowing them to interact with and incorporate data they wouldn't otherwise have. Google Play Games is getting a lot of new features including player profiles (which includes your games achievements leaderboards progress through games etc). Quests allow developers to create time-sensitive activities in-game for players and provide rewards forpletion from a web interface without having to update the game app itself. Carrier Billing is now available on tablets (including Wifi only) using the already-set-up carrier billing process on your phone. n horizontal-rule nAnd of course if you want to watch everyone up on stage but don't have an hour to kill on a video here's most of the announcements distilled into a 9 minute video courtesy of The Verge (website) topic tid 5873 s