What is the best PDF editing tool for Ubuntu Linux?
I was searching for the right PDF Editor for the Ubuntu for a very long time. Various people rmended Master PDF which has a great U.I but lacks important features like Concatenation and splitting of multiple PDFs (which I often require). Finally my search ended with PDF Studio by Quoppa. The U.I. of the software is very different from Adobe Acrobat 11 and you may take a day to understand and find the features youmonly require post which you would be good to go. Here is the detailedparisons of the features and prices of different versions of PDF Studio and Adobe Acrobat. (Picked up from PDF Studio's website) n nHope this helps!
What are the most useful gems to use in Rails?
RubyGems were developed to simplify and accelerate the stages of the application creation deployment and library connection. Utilizing this package manager for Ruby saves you time as you get ready-made solutions to almost any task instead of writing the functions from scratch. Each gem contains a particular element of functionality including all related files. Unfortunately they aren structured in any way so in order to find ruby gems it better to use a regular search engine and the required key words (check GitHub s ). Our dedicated development team also actively employs Ruby Gems in the process of software development. Here is the top of the most popular and useful ruby gems according to our experience GeoCoder s . Being able to connect through itself over 4 APIs this Ruby gem implements both the direct and reverse geocoding by IP address geographical coordinates and even real physical addresses (e.g. the address of the street). Bullet s . The most downloaded Ruby gems out there. It was initially created with an intention to boost software performance. It does so by decreasing the total amount of client-server requests. Basically Bullet tracks the N+1 cases of requests and notifies the developer when other tools can be used instead (e.g. cache counter). Pry s . We rmend to simplify the bug fixing procedures for your RoR-based application with the Pry gem which is a more advanced alternative to the standard IRB wrapper. ActiveModelSerializers s (which starts lagging while processingpound documents) and uses caching. Fast JSON API s . Fast JSON API wille in handy when you need fast serialization of software code. It works much faster than Wicked PDF s . This gem is working alongside with wkhtmltopdf s and helps realizing an interaction with the DSL generator. Devise Masquerade s . This Ruby gem helps developing multi user apps. In particular youll be able to test your app from the perspective of users with different levels of access. Devise s . Based on the MVC model the Devise gem can provide secure user authentication and session management. Letter opener s . If you need to create a newsletter mechanism to send notifications to all users that launched your app this gem will help you do that much easier you won need to integrate and configure your own SMTP server. Money Rails s . If you are planning to integrate your app with Ruby Money this gem wille in quite handy. Pundit s . A tool that allows defining different levels of access to the app functionality according to the rights of an authorized user.
What are some time-saving tips that every Linux user should know?
First I suggest using bash italic rather than any alternative such as tcsh fish italic or zsh italic . These are fine alternatives but bash italic is the default on the vast majority of Linux and other modern Unix systems and derivatives (including MacOS X and *BSD systems). Don't just learn it. Don't just use it. MASTER bash italic ! Also master vi italic (by which I mostly mean the vi italic patible subset of vim italic ). You're an emacs italic fan. Fine. You can live in emacs italic . But if you're going to spend a significant amount of time at any sort of Linuxmand prompt then it's likely that you're involved in administering or operating lots of Linux machines or virtual machine instances in a cluster. (It's primarily in the administrative and operational details where you care whether it's Linux vs. any other Unix-like OS). If you're bouncing around among a multitude of systems then having to stop and ensure that tools like emacs italic or zsh italic are installed will cost you lots of time. You can invest your time in customizing the systems (and whatever infrastructure is in place to automate such customization) ... and you probaly should. But you can also invest some of your time in adapting our skills so you're veryfortable using the default shell and the faster default editor. If you find some system starting nano italic or some other editor when you runmands that try to automatically invoke editors for you then add export EDITOR=$(which vim) italic (or which vi) italic ... to your environment Combine these previous two suggestions. Use set -o vi italic with bash italic to set yourmand line and history editing key bindings to a subset of vi italic bindings. I also like to add bind C-lclear-screen C-plete italic ... to regain a couple of settings from the default ( emacs italic mode) bash italic settings. Also use the italic fc italic (the fixmand)mand (it's in bash italic Korn shell and probably zsh) italic . fc italic launches your preferred editor to allow full screen editing of somemand or range ofmands from your history. This is particularly handy when using cut & paste from web browsers other terminal windows and editors withplexmands. (Frequently you have to copy several different excerpts from such sources ... and doing so with separate operations for each is tedious and time consuming). With fc italic you simply do a sloppy copy of the whole passage containing the various bits of you need and all the cruft you want to remove. The issue amand like fc for Enter code ... paste is the whole mess and then use your favorite editingmands and macros to formulate the rest of yourmand. (In this example it would be your most recent for italic mand and you'd presumably be pasting in a list of targets to iterator over and a body ofmands to execute on each for example). When you save and exit ... themand is automatically executed by your shell. Obviously when the changes are simple then you can save keystrokes by using the various old csh italic patible ! italic history operators including ^ italic (for example changing something like foo to bar in the most recentmand using ^foo^barEnter italic ). But if you spend a lot of time doing ad hocplex multi-linemands .... fc italic can't be beat. Amon shell pattern I use goes something like this d='x xxx xxx ... code y yyy yyyy ... code z zzzz zzzz ... code ...' code echo $d | while read h f r; do echo do_something $h --someswitch $f --otherswitches $r; done code In other words use a shell variable to hold some lines of each line containing some arguments (all usually prepared in my editor in another window usually with creative database or other searches and so). Then iterate over those filling in amand template with my hostnames ssh italic mands and switches and so on. I run that once and look over the output to see if the generatedmands look right. After that I can use ^do echo^do italic ... to reissue the samemand but actually to do_something italic rather than merely inspecting what the resulting template rendering looks like. One trick there is that you can store a significant amount of arbitrary in a shell variable (easily over a 1K) and use that instead of temporary files for most purposes. You can iterate over lines and parse them into variable lists using the | while read x y z; do ...; done italic pattern. When parsing (separating the lines into fields into which to associate the variables (x y and z here) then your shell's IFS italic setting will be used (so you handle trivialma-separated or colon delimited files for example). Additionally the read italic mand will respect any quoting in the input line (consistent with the shell's normal quoting and escaping rules). Also all remaining contents on the line will be assigned to the last variable on the list. Overall I refer to this latter pattern | while read ...; do ....; done italic as the pipemill italic pattern. You're writing code to mill over the output from a pipe. It's very simple example of the producer-consumer pattern and is the most flexible simple shell scripting pattern I've ever found. You can also do stuff like ifconfig -a | egrep 'Link |inet ' | while read iface x;read x a x;do echo $iface $a##*; done italic ... italic to read the first and second line of each interface description from the ifconfig -a italic output (the egrep italic regular expression is set ot a couple of patterns that only occur on the first and second lines respectively). So we read each of those in our while loop using the variable x italic repeatedly to throw away the fields we're not interested in. Then we output just the interface name from the first line and just the IP address from the second line (stripping off the stuff up to the in that field using a bash italic parameter substitution). That's a trivial example but shows that the pipemill is not limited purely to consuming inputs oriented on single lines for each job. You can also throw away a header line using something like ps laxwww | read x; while read x u p ppid x x x x x state x x cmd args; ... done; italic ... here we throw away the header line printed by ps italic and we grab just the columns we're interested in (user PID Parent PID the process state themand's name or argv italic and the read of themand's arguments. This is handing for find italic zombies and killing their parents for example). The next productivity suggest enhances what I've already said. Use GNU screen italic ( GNU Screen - GNU Project - Free Software Foundation ) ... or tmux italic ( tmux ). I rmend the former for the same reason I rmend bash italic over its alternatives. GNU screen italic is installed on most Linux and other modern Unix-like systems by default. However this suggestion is weighted less heavily since you'll normally only be running console multiplexer ( screen italic or tmux italic ) on your local workstation or a preferred jump box or control tower system. The advantage of these systems is that you can maintain a persistent session with all your shell sessions connected to various different systems and running various programs all over the place. You can detach re-attach even allow others to connecte and share your session (obviously only your most trusted colleagues for you main session --- though you can also co-ordinate to run separate liaison sessions as necessary). GNU screen italic in particular also has some fairly advanced backscroll search and keyboard driven cut-n-paste features and macroing. In my daily usage pattern I maintain a notes editor in my first screen italic window. It runs vi italic with a macro for inserting the current date stamp using a single keystroke (F8 in my case). I almost always just work at the bottom of the file and let it grow arbitrarily large. Any time I exit the wrapper script around it mails me a copy. I use this for most of the cases where I would use fc italic (as described above) ... but I just leave the contents there (notes for the future) and paste the results into my other windows to execute asmands etc. When Imit changes to git italic I paste the output from git log italic into my notes; when I'm working on a Jira ticket I paste the URL into my notes (where I can go back right click on it and bring that back up later). When I edit a file on production system (if it's not under some sort of git italic or other version control) I paste a copy into my notes (and usually also into a Jirament). When I use some web based dashboard or work on something from PagerDuty or from any web based Nagios ( Check_MK Thrux Opsview) italic front end I paste the ReSTful URLs into my notes. Gnu screen italic uses vi italic -keybindings for most of its scroll buffer operations and similar features by default. So using it also builds on the same principles that I mentioned earlier. Master vi italic and use those bindings in your shell and everywhere else that the readline italic libraries allow it (via the ~ italic settings for example). I enable them in iPython italic as well. I also frequently use iPython italic for munging data into some form I can use for all this other work. For example on my current contract my boss ends up with various Excell spreadsheets from which he needs to extract data. I usually just export those to .CSV read and parse them in an interactive session and write the results out as . In one recent case he had to versions of the same spreadsheet (last month and current) and wanted to know which hosts has been added or removed from one to the other. It only takes a couple minutes to read in both extract that column from each storing each in a Python set() italic and then take the differences in each direction and finally print the sorted results from each (paste into my notes and into the e-mail response for him). In another case he a long spreadsheet listing every incident of server downtime across our production clusters for the last three monts and he wanted to know which systems appear most often in that list. (This is basically what you'd get by piping just the relevant portion through sort | uniq -c | sort -nr | head -n XX italic ... but in this case I did it using the Python italic class and its .mostmon() italic method). (I also used iPython's italic %save italic mand to save that session and whip the history into a script file for him to re-use from now on with similar data). For another case I used data from a table (Tab-delimited in this case) to generate the 4 or somands necessary to create a new cluster of clusters. The columns in the table were hostnames (which I'd generated using pattern strings with numbers interpolated into them) OpenStack image and flavor IDs (like AWS AMI and designations) as well as some networking data and other parameters. I simply interpolated the fields from each row into a nova boot italic mand (analagous to an aws ec2 run italic mand) and wrote the results into a file. Then I attached the file to the Jira ticket and ran it from the appropriate environment. (Yes much of the editing had gone through my notes file as well). The fact that my script is attached to the Jira ticket gives apletely unambiguous statement of work for later review and was handy when I was asked to change the capacity of one of the cluster s (I was able to simply paste a copy of the relevant lines from my script into a new script search and replace witih the bigger flavor --- kill the old instances and spin up their replacements. Adding or replacing nodes is also easy for anyone on the team because they have the exactmands easily attached. Building a whole new environment (staging for for a different region) is similarly easy. All these work flow practices work together. Gives me time to amuse myself on quora while looking productive. )
Why do old Ubuntu users come back to Windows?
Why do old Ubuntu userse back to Windows? italic I don use Ubuntu. Friends don let friends install Ubuntu. Friends teach their friends to install Debian or their best friends Arch. AnywaysI just went back to Windows last week Ive been on Linux since 22. Suse 8. I actually bought the CD from a local brick and mortar store! I been trying Linux for a few years before but never had the patience to see it through to a usable system. Arch eventually won out as my favorite go-to. Debian is a close 2nd mostly for my workplace as other people aren as afraid of Debian. As of last month my personal laptop that also used for my work (Network & Server Admin) is back to Windows. The thing I miss on Linux is my photography workflow. I love gthumb! Anywaysmy reasons I manage a mixed Linux & Microsoft environment. Linux servers are more easily managed from Windows clients than Windows servers are from Linux. Microsoft doesn put out RSAT tools for Linux. Before you mention PowerShell Core yes I tried it. It doesn work as well as native PowerShell yet and relies heavily on being joined to the AD Domain which is a tedious task as best. Yes I tried. 1 Were very well ingrained in the Office365 setup. PowerShell Core doesn yet play very nice with Azure. Open Word documents in LibreOffice? LibreOffice is good Im not dissing it here. However when good isn good enough when anything you open will be opened by others in Word again. Also TeamsPlannerthe entire suite of collaboration tools which simply have no functional equivalent in Linux. 1 My T48 has a WQHD screen pretty nice for a Thinkpad. I never could the scaling quite right in Linux. Close. Windows just works. Even using Gnome-only applications workflow in Linux just wasn as good. Ive be addicted to Windows Quick Lists which show the most recent files opened by an application. Oook nice touch of of Attach Item which lists the 5 most recently used files so I don have to hunt for them. PowershellyeaIm growing to like it. Now mind you I still don like some stuff about Windows. Im leery of the tracking capabilities and it close ties to the cloud. Im not a big fan of the big brother syndrome of Microsoft knows best and will take care of myputer for me. (I do understand why they are taking this approach thoughit for the other 95% ofputer users who don care about maintenance and just want it to work.) I still run Arch on my home server and my wife is still running Arch on her laptop. When my work changes and I don exist in a Microsoft-centric environment Ill probably go back to Linux on my personal laptop. But ya know well see.
Why is the content of a PDF in a weird language when I open it with notepad?
Thanks for A2A. Raw Postscript is mostly human readable. It is primarily a language based on FORTH. The problem that you face when looking at a PDF file in notepad is that it automatically breaks multi-byte characters into individual 8-bit characters. However because of the way PostScript initially handled extended characters even ue7 should be identifiable by the presence of the c and the although I can guarantee this in the days of Unicode. Back in the DOS days MS Word sent a large header file ahead of a document in order to teach a PostScript printer how to understand its own pre-PostScript MSPrint language that was written with the foresight italic of scalable fonts and the anticipation of outputting to Lino machines. While that header file was rather iprehensible at a glance the actual MSPrint generated document could be loaded back into a editor and the of the original document could be extracted for reconstruction purposes. Admittedly if the persons behind converting PostScript to MSPrint had written a direct italic PostScript driver instead the memory overhead on a PostScript printer would have been significant reduced. Imagine that you have an ancient 8-bitputer that runs BASIC on start-up and w ithin that BASIC you wanted to write a new a program that could run C++. That is what the original header file did to a PostScript printer. Admittedly the PostScript printer driver that shipped with DOS Word was only capable of using the inbuilt fonts and was limited to whole-point sizes. A proper PostScript font is also written in the PostScript language so that new fonts can be downloaded to the printer if they aren already present. While the PostScript language and interpreter were extremely well written the emergent fonts were not. Instead of relying on PostScript ability to draw stretch and distort a basic circle (or any part of the arc of that circle) along with the ability to trace a precise curve according to a mathematical equation many writers of pre-Windows drivers only relied on the line-drawing ability and a circle (or other curve) would be defined by multiple lineto italic mands and neer an arcto italic mand to be found. This resulted in jagged edges which were obviously visible even in fonts particularly when enlarged. PostScript was originally only written to handle black & white and gray shading was aplished with varying sized dots much in the same way that an old newspaper photo was created. There was a specific protocol for downloading bitmap of the font in that size. As each character is required for printing it copies the bitmap into place. When you change font size this process is repeated for the new size. Unless it is short on memory the printer will generally retain these bitmap renditions until it finally receives the EndDocumentmand or it may discard an older bitmap rendering in favor of the current one. Windows uses its own pseudo-PostScript italic language for handling fonts and scaling. When you print a page the output is generated in this pseudo-language which is then translated directly to bitmap form by the selected Windows printer driver. The same applies to generating a PDF file. The Windows pseudo-language must be translated to real PostScript so that a PDF viewer can read it. To aplish this Windows often inserts bitmap renderings of fonts in the desired point-size. Originally there were three basic file s for PostScript. A font file a PDF (Portable Document Format) file and an EPS (Ecapsulated PostScript) file. An EPS can be considered as equivalent to a single PostScript character even if it contains a massively detailed graphic. This can be placed anywhere on a page and scaled up or down in size and the Printer takes care of the rest of it. While .ps and .eps files haven changed drastically PDF has. Instead of being just a PostScript language copy of a document that can either be printed or viewed it has evolved into an interactive document of its own. That is why you can fill out PDF forms before printing. Some of these forms are soplex that selecting one option can create or delete an otherwise hidden but section of the document. As I pointed out above the majority of these PDFs will have been generated by Windows. Ever since the DOS days when No one will ever need more than 64kB* MS has been rather sloppy in its coding. If you take the ever so standard first program that people wrote on their home machinesn* Often attributed to Bill Gates although he denies ever having said it. 1 CLSn2 PRINT HELLO WORLD It takes up almost no space in source-code form. When put through a BASICpiler you end up with 5kB+ exe file that is full of unreferenced DOS-error handling routines that would still be handled by DOS rather than your original program. This same sloppiness applies to Word. Create a single paragraph and export it as HTML. The output will be reams of unnecessary material (where my original paragraph in all of that!?) when a good HTML writer could do the whole thing from scratch resulting in something only slightly larger than your original paragraph. While PostScript as a language attempts to retain its human-readability PDFs generated via Windows (and probably later versions of MacOS) will generally have iprehensible headers and extraneous material because no one knows how to write tight code anymore. Further if the OS were tightened down to bare-bones code the application italic used to create the source of the PDF could still be inserting its own unnecessary material.
As a writer, have you found scrivener worth it?
Yes. Scrivener is not expensive and it represents a paradigm shift from the idea that you can do anything useful with a simple word processor like WORD which although popular is one of the worst editors I have ever used. It slow buggy and many features have never worked and never been fixed. Word Perfect is just as bad. If you are short on cash Libre Office is free. If you can scrape up a few bucks then Scrivener is the way to go. LitteratureAndLatte is not really a softwarepany but the idea behind Scrivener is a virtual breakthrough in application oriented editing. The concept was first pioneered at Digital Equipment Corp. back in the 7s but lost when DEC was sold to HP. The issue that bothers me is just how slowly Scrivener progresses. You can get old waiting for a new version release. They do better on the Apple with macOS which is a great platform even on old machines if they will run or better. Windows? Well its in the works but Version 3 is still not released. One would think Windows would be an easier platform for rapid development but sadly its not. Microsoft has far too many non-American developers for whom English is a part time second language so using their products requires a fair amount of clarivoyance. I strongly rmend you allocate a few days with the manual on the front end. L&L is a niche vendor and a smallpany. Their security has driven me NUTS several times but they seem to be past that knot hole. I use Windows and macOS. Windows is the preferred environment because you can service your machine by replacing a hard drive or upgrading with a new peripheral. macOS is a reasonable platform but Apple is the worst at customer service. Their recent machines can even be opened if your hard drive goes bad they are pricey and they are not conducive to enhancement. For example you can put 4 monitors on a Windows machine add a huge amount of memory the latest processors and expand your interfaces inexpensively. On an Apple you will pay a high price can upgrade can expand can repair and while their packaging technology is first rate theputers they sell are under powered. For a high price you get an architecture 1 years old. If you add enough upgrades to match a typical Windows machine you can easily double the price. So the only real problem with Scrivvenor is the focus on Apple which is required if you want the latest version and you do. Scrivener is like having a library a note taking app an editor and an organizer and a format generator all in one box. Because of that I often use it for many other projects. Like all Editors its missing a good suite of PDF tools. You can pop a PDF page into your manuscript and you can re-use (yet) from a master section that s into the manuscript in several places (oddly you can almost do that with Word now). Perhaps Versionj 3 will have that feature Im waiting for Windows for my next project to see. The backup architecture for Scrivenor is different and well designed. It puts everything into a zip file and saves it where you want it and it will backup up often. Someone obviously lost some data with another program and made sure that would never happen with Scrivenor. It rock solid. The PDF creativity can be aplished with other programs these days but once you get used to one program that does everything but cook your breakfast and tuck you in at night I find it annoying to mess with PDFs at such a low level. Perhaps Im too tense - or focused. I use Scrivener and PDF-Exchange Editor together all the time. With PDF Exchange I can add notes to my PDF grab as or RTF grab or export to images etc. I like Scapple too. Its a bit tough to figure out where your page workspace is but you can do it after a print or 2. I did aplete closing argument in a trial with a Scapple Diagram and after trial the court mentioned that I was incredibly organized and had done a good job bringing all of the points together - on one page - and prevailed at trial. Scapple isn everything but its enough. I have now integrated Scapple with TheBrain and routinely make diagrams with it because its concise and very fast. If you buy the Windows version of Scrivener you will get Versoin 3 for Windows when it is released for free. The upgrade pricing is not yet available to my knowledge if you are an old customer and I am clearly old.