Img source: geekycentral.com
I recently changed my laptop and while I was trying to create a new React Native application in my new development environment, the process of creating the app seemed to hang on forever. It did not finish at all, and took a lot of my time, as I was hoping that it will ultimately finish. I was worried about this and this way, I tried to find solutions online in as many places as I could. It took a lot of test and error cases, and a lot of browsing until I finally stumbled upon a solution that will hopefully be beneficial to you as well.
The last message that showed up on the terminal when I was trying to create a new React Native was: “Building fresh packages react native”.
What I had to do was run the following command in the terminal:
yarn add uws
Then I was able to create new React Native application using the React Native command line interface within seconds.
There may be other solutions to this problem, and this is the one that worked for me. If you are having the same issue, then chances are this solution can hopefully work for you as well.
Img caption: blog.trello.com
Trello is a really helpful tool for managing your tasks. It has a very intuitive user interface, and comes up with a lot of features that you can use. If you use it for your personal or professional tasks, you may probably have a few cards that need to repeat on a regular basis. Examples of these types of tasks can be weekly meetings with your team, sending a review report, or reading a book for 10 minutes per day. Fortunately, there is a power-up extension for Trello that you can use to make it easier for you to add these repetitive cards.
Chrome is one of the most popular and widely used web browsers. It is also one of the browsers that takes so much of your RAM, which has led many people to switch to other more lightweight browsers. There is a really great Chrome extension that reduces the amount of RAM that your Chrome uses.
One of the main reasons why we as developers love programming in Ruby is because of the freedom that it gives to us. Having the autonomy to do something is one of the core pillars of motivation. In this article, we will briefly see how you can write a method that you can then call for each of your string objects, prepending an “a” or “an” before words.
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.