Img source: gennovacap.com
I am really grateful that I have managed to contribute to a few open source projects, including the ones that I currently use on a regular basis: Ruby on Rails and React. My contributions are very minor fixes, and suggestions, and may not be that much worthy of the praise, but I want to use this article to inspire you to go and make your own contributions as well.
One of my core values is contribution and helping others. That’s one of the reasons why I love to write articles, and also contribute back to the very projects that I have benefitted from over the years.
Although major frameworks that are largely used have gone through tons of reviews and careful analysis over the years, there is always room for improvement or addition. This means that you are not only able to fix bugs, or improve something that is already implemented, but you can also implement new features as well. Continue reading
Img source: medium.com
It is very difficult to think about an application that does not have any string data type. Names, emails, object attributes, etc. are very common. Knowing their wide usages, it is obvious that we should at least learn the best practices about them. I recently learned about the difference between the efficiency of two similar string functions, which was a bit surprising and that made me write this article. Although both methods do the concatenation of strings, there is a big difference in their performance.
Img source: techbrownbags.wordpress.com
It is highly likely that you will have to work on a project that has some type of search forms implemented. Fortunately, as with many other type of functionalities that you can easily get out of the box without writing too much code in Rails projects, there is also a gem that is specific for this purpose. Ransack is a Ruby gem that enables the creation of both simple and advanced search forms for Ruby on Rails projects.
Image caption: compettovll
It’s no doubt that we are using our devices almost all the time, especially before going to bed. Screens produce blue light, which mimics the sunlight and sends mixed signals to our brains about the bed time. As a result, we may not be able to sleep, even though we have put the head on the pillow thirty minutes ago. F.lux is a free app for Mac, Windows, Linux, Android, and iPad, which fixes this: It regulates the screen color of your device and mimics the sunlight during the day, and indoor-like lights during the night.
Img caption: medium.com
It is no doubt that one of the activities that takes most of the time of software developers is debugging. We as programmers can make many mistakes, which may lead to many bugs that need to be fixed. One of the best ways to fix these bugs, understand the flow of an application, or implement new features is through debugging. ByeBug is a great Ruby gem that helps us fix bugs and debug projects by going through each line. It is similar to pry, with additional functionalities.
Image src: rails.devcamp.com
It’s obvious that a lot of applications need an admin panel, where the administrator or other lower level users need privileges to do certain data manipulations. Not everyone of them should be a technical person. Thus, you may need to provide them a user-friendly interface which gives them this opportunity. Fortunately, you can insert an admin panel in your Rails application easily using RailsAdmin.
GitHub is widely known as one of the most famous version control repository, in which you can find pretty much countless public projects for many programming languages. It makes it easy for you to collaborate with your team members, and also with other fellow developers around the globe with many public projects that you can learn and benefit from, and also contribute to. Among many other things, GitHub displays Trending Projects which make it easy for you to differentiate the projects that have received more attention than others. As a result, you have the ability to find projects that have received a lot of stars from other fellow developers in the recent past. Continue reading
Img source: winhelponline.com
You may sometimes need to make sure two files are equal, but do not know how to do it. For example, you may need to make sure two images, PDFs or two pieces of text are equal, but find it very difficult to do it manually. There is a really simple tool that I personally use that I find it really helpful. Continue reading