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.
Why do people keep saying Linux is better than Windows when there's no Office and Adobe products, which are some of the most useful products?
For me Linux is better becausen The only Adobe product I use is their free PDF Reader (and it's available on Linux too) and that too because it was the first PDF Reader some one introduced me to and I was too lazy to ever try another one. So no Adobe products are not the most useful . Actually they are not at all useful. The time I spend on Office is generally the time I consider a burden Yes I understand the importance of reports but doesn't make the job likeable. And for my use cases pretty printing and Excel macros are a waste of time. Pure waste of time. So no Office is not the most useful software . And the Office equivalents on Linux do my job well enough - all I need is some basic formatting. Nothing fancy thank you. I would rather not waste my time making documents look nice. find grep cut awk sed uniq are the most important tools. And none of them are natively available on Windows. I mean I actually spend hours searching for ways to do these very basic things everytime I am forced to work on Windows. GUI? Why would I care? Most of my work is done on terminals. Most of my play is playing videos (VLC has the same GUI) and browsing (Chrome or Firefox has the same GUI). Even if I consent to be modernised enough to use a GUI IDE Eclipse (and others) have exactly same GUI on all platforms. What's different? The way my desktop looks? Well having multiple workspaces is really cool. Beats having four monitors and swivelling constantly in your chair any day! And really I am the kind of screwed up character who thinks OS X actually looks ugly in some parts. And no it is not that paid software is better than free software because someone somewhere wants to make money and hence put in more effort than the random guy did for free. Look at Google's free products. Free is not equal to bad quality . Free software is generally better in my experience. nBut whichever idiot said Linux is always italic better? Linux is better for anything other than personalputers (servers systems mobile devices) and for any personalputer meant mostly as a dev environment. In any other case it may be italic .
As a visual learner, what method should I use to learn Java?
You need 3 tools Get a good book. Mala Gupta OCA Java SE 8 Programmer I Certification Ge Mala Gupta 9781617293252 Books s is a good one. Cay S. Horstmann Core Java Volume I--Fundamentals (1th Edition) (Core Series) Cay S. Horstmann 97813417734 Books s is an other good one. (My advice go for the most thorough book which is deep in the topic 3 don bother with introductory books that leave fundamental issues open.) Get a good IDE and practice continuously. Some suggest raw editors 3 I think a fully fledged IDE is better for a beginner (too) (especially for Java 3 a good IDE automatically generates boilerplate codes for you). IntelliJ IDEA is clearly the best here; I also like Netbeans a lot. Practice a lot! ordered-list Now use the three resources above together in parallel. Either watch a part on Udemy and then read the details in the book; or 3 what I prefer 3 read the respective chapter from the book first and then watch the Udemy video on the same topic. Always learn keeping your IDE open and try each and every features yourself. Build small programspile and run them. For reading I personally use Readdle PDF Software for Mac. The Best PDF Editor | PDF Expert s both on Mac and iPad. I personally prefer reading on my iPad. If you are a visual learner highlight s in multiple colors. Here is my battle-tested learning method I try to construct full sentences from the highlights . That is a shortened version of the book 3 which contains only the most important points. It is a very good method because you force your brain not only to read and understand carefully but also to construct something new. And 3 later you can literally read the whole book again within half an hour (reading only the highlighted sentences). Last advice set yourself (certification) goals e.g. Oracle Java Certification with a deadline. It motivates you to learn every day and not only reading but also actually learning.
What are some lesser known but useful websites?
#1. A Letter To A Mature You. Usually it's the future that will reflect back to the present. But here they decided to flip that around. A mail or letter from the best person you know is exactly the best thing to receive these days. Yes you can receive a letter from past self. Try writing a letter to your future self today itself and send your future self some words of inspiration. Or just share some thoughts on where you'll or what you'll be up to in a year three ? And then they'll do some time travel magic and deliver the letter to you. You will find how you changed in this few years. It will be one of the best things you will receive in your entire life. Write a letter to the future s #2. The Actual Scenario In Space Ever wondered how tiny you are in this vast universe or how fast or slow you will move at the speed of light or how would the things look at space to you even when you are travelling at the speed of light. It's indeed hard to imagine how mind-bogglingly vast even our solar system. Which is really only a tiny tiny part of the galaxy which is itself only a tiny part. If the Moon Were Only 1 Pixel is a project by interactive media designer Josh Worth that attempts to accurately portray just how distant the Sun and planets are from each other using a single pixel to represent the Earth moon which has an actual diameter of 3474.8 kilometres for scale. Worth was inspired to work on the project after trying to ex the same concept to his young daughter. If the moon were equal to 1 pixel it'd take 17 minutes to scroll through the solar system. italic If the Moon Were Only 1 Pixel #3. 1 Minute Disposable Mail Id Want a disposable mail Id for you don't want to get spammed by various services you register yourself. Don have time to make a new email id everytime? Try disposable email which destroys itself after 1mins 1 Minute Mail - Temporary E-Mail s #4. The Death Clock Maybe this will make you realize how precious is every moment and how life is slipping away... second by second. Like the hourglass of the Net the Death Clock will remind you just how short life is. Check out how many seconds of your life is remaining! When Am I Going To Die? #5. Pixel Thoughts A 6-second meditation tool to help clear your mind. Tell here what's bothering you? Get relaxed and watch your thought. It will make you realize that life is much grander than the thought which bothering you. #6. The Last things you got Finally something's on the internet which will not let you starve anymore. Enter all the ingredients available in your fridge or kitchen you will get awesome recipes. Comes handy when nobody's home. MyFridgeFood - Home Supercook recipe search by ingredients you have at home #7. Quick Draw! Okay that's fun. A game where a neural net tries to guess what you're drawing. Interesting !!! Quick Draw! s #8. Windows 93 It looks a lot like a more primitive and meme-filled edition of Windows 95except instead of Solitaire and Internet Explorer you've got Solitude and Cat Explorer. There's also a highly improved version of MS Paint called Piskel and a hallucinatory program called Acid Box 93. That's just to name a few. Could Windows 93 be your full-time operating system? That depends Do you like drugs? If yes you might enjoy spending your day navigating the 9s-talgic world of pixelated art. If no you'll still enjoy the full-length version of Star Wars rendered in ASCII. And drugs or no drugs if you figure out what Virtual Girl does please let me know in thements. Okay this is not so useful website but definitely awesome one. italic WINDOWS93 #9. An Expert Mathematician Perfect tool to understand and solve mathsplexity. Mathway Select a subject such as Algebra Trigonometry Finite Math Chemistry Pre-Calculus Enter your question and select how mathway should answer you. And you can also check the steps how? Mathway | Math Problem Solver s #1. Is it Really Down Right Now? Ever happened something like a website stopped working only because you opened it? Sounds funny but one time or other we all felt the same way as the server goes down only when the most important work to do is to open the goddamn site toplete your research work or book your tickets. Now you can check whether it's down for everyone or especially for you because you know stopping you from doing your work is the first task for the officials. Is It Down Right Now? Website Down or Not? #11. The Software Next Door. Alternative-To is a new approach to finding good software. This site is extremely useful when you are looking for alternatives of software. Just put the name of the programme It will list some popular alternatives to your current choice of software. AlternativeTo - Crowdsourced software rmendations #12. Gravity Points Click anywhere to create a mass. Click near to it and the two will attract each other and merge to form a single mass and go on having fun with gravity. Gravity Points s There are countless sites on the Web that serve some kind of purpose. They serve important information but what about those sites that seem to have absolutely no point or any useful capability? Nevertheless we visit these websites although they are totally useless crazy weird or pointless. EDIT italic Have a look on two of my similar answers Kiranmoy Samanta's answer to What is the weirdest website on the internet? answer aid 4161277 Kiranmoy Samanta's answer to What is the most interesting website that you found on the internet? answer aid 5562747 Internet is a crazy place. Isn It ? Your Thought italic
What is it like to write for Packt?
Q What is it like to write for Packt?nA I would never want to write another book for Packt Publishing. I was contacted by Packt Publishing to co-write an introductory course on C++. My two co-authors were both experienced C++ developers and both had worked with Packt before. I wrote a technical book for OReilly but had no previous encounters with Packt. We had three or four weeks to produce an outline of the course together. Unfortunately one whole week passed before we were given any gance what Packt wanted to see. We were also asked to produce marketing blurbs for the course which I found strange. Wasn marketing Packt job? So the three of us had so far put in three weeks work with nopensation and no contract. That was a little scary. When I got my contract I noticed that it had many terms that held authors accountable for meeting a strict time schedule but nothing that held Packt accountable for anything. I asked the co-authors how their previous experience with Packt had gone. Both reported that the editing stage after the basic content was written had been haphazard rushed and unpleasant but they were ready to go on this new project. Packt wanted us to produce a new chapter every two weeks. This schedule seemed unachievable to me and Packt eventually agreed to three weeks per chapter. This is still a very aggressive schedule. We produced our first chapters and handed them in on time. This is when the trouble began. We began work on our next chapters expecting Packt to get edits back to us timely. Remember the contract didn hold them to any kind of timliness. Another three weeks passed as we worked on our second chapters. The edits came back about the time we were supposed to submit the second chapters. It was at this time that we began to learn about the highly structured format Packt wanted the writing to be in. We been given a few brief cuts of other books but they were in different formats. Packt also asked us to create overhead slides for the chapters which was a new requirement not in the contract. We had to extensively rework both chapters to meet their vague gelines. Then they said never mind about the overheads. The edit of my first chapter severely damaged the document. Someone had manually changed all cy double quote marks to straight quotes. In the process they had also doubled some of the straight quote marks in code examples which all had to be re-written and tested to see theypiled. The numbering of numbered lists was damaged and had to be manually fixed. In short there was a lot italic of rework just to undo the damage done by the editing process plus all the changes they requested. The edit to my third chapter was four weeks late arriving after I was working on the fourth chapter. These edits were a bit less onerous because we had learned what Packt expected but there were still literally thousands of changes in a 4 page chapter. I got a lot faster at fixing up broken paragraph numbering. Our contracts specified we were to receive half our advance on royalties (a paltry $5 or so) when the chapters were accepted. A month after we had submitted our last chapters no advance had arrived. We were also still waiting for edits of our last chapters. Meanwhile our editor set a publication date that was only 3 weeks off. Given that none of us had seen all the first edits on their chapters and none of us had seen anyone else work that schedule seemed to be not just unrealistic but disconnected from reality. At this point the authors rebelled and would not submit any more work until the advance had been paid. I think we sat on our hands for about two weeks while Packt promised to pay us in four weeks then three then payment arrived in our accounts. Once all the work is submitted and corrections from preliminary edits have been turned around there is a copy-editing phase where our chapters are marked for conformance to the Chicago Manual of Stylesort of. This process took weeks while the publishing deadline loomed and the result was awful. Different people had edited different chapters and made inconsistent changes. As I write this I am still waiting for gance from Packt on the copy-edit changes. But Packt has sent us a PDF of the whole book (with only half of the copy-edit changes in it that we are supposed to sign off on to see that we didn forget to cover something thinking another author was going to do it. Technical authors never make enough money from writing topensate them for the time spent. I knew that going in but I didn't know how much unnecessary rework would be required fixing the unforced errors the fumbling and bumbling of my publisher. This is what I will tell anyone who asks me about my experience writing for Packt. edit Well I have thankfully got this unpleasant experience in the rear-view mirror of time. All of my chapters went through six (count em six) rounds of extensive and mutually contradictory review. There were also I think three reviews of the galleys. All three of the authors threatened to chuck the whole project at one point or another. The quality of the final product was uneven and definitely not something I am proud to have my name associated with. It been over six months since wepleted the last edit and I have received $ in royalties. I rather imagine I am going to have to fly to London and storm the Packt office wearing a suicide vest in order to see another dollar from this effort. Im not sure what I do if there was less than half a planet between them and me. If youre an author heed my cautionary tale and don work with Packt Publishing. If you are a reader consider the low quality of Packt output in this case and don buy books from Packt. You will be glad you steered clear. italic