<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kevin</title>
    <description>The latest articles on DEV Community by kevin (@atkevins).</description>
    <link>https://dev.to/atkevins</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F240741%2F85d27a7e-48a8-4d0a-84fb-f15fa1602dac.jpg</url>
      <title>DEV Community: kevin</title>
      <link>https://dev.to/atkevins</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/atkevins"/>
    <language>en</language>
    <item>
      <title>How to get the most out of your MacBook battery life?</title>
      <dc:creator>kevin</dc:creator>
      <pubDate>Sun, 02 Apr 2023 00:00:00 +0000</pubDate>
      <link>https://dev.to/atkevins/how-to-get-the-most-out-of-your-macbook-battery-life-292l</link>
      <guid>https://dev.to/atkevins/how-to-get-the-most-out-of-your-macbook-battery-life-292l</guid>
      <description>&lt;p&gt;Here are the tips based on my experience to get the most out of your MacBook battery life. I’ve been doing them since eight years ago. Here’s the result: my old MacBook air battery can hold a charge after eight years. Keep your MacBook cool all the time. It is the most important. It is similar to any other electronic device. MacBook also doesn’t like hot temperatures. If you’re in a tropical zone, please use your MacBook with running air conditioning.&lt;/p&gt;

</description>
      <category>macbook</category>
      <category>battery</category>
    </item>
    <item>
      <title>Google's featured snippets are not always accurate</title>
      <dc:creator>kevin</dc:creator>
      <pubDate>Sun, 20 Nov 2022 15:40:45 +0000</pubDate>
      <link>https://dev.to/atkevins/googles-featured-snippets-are-not-always-accurate-3hag</link>
      <guid>https://dev.to/atkevins/googles-featured-snippets-are-not-always-accurate-3hag</guid>
      <description>&lt;p&gt;read &lt;a href="https://kevinhq.com/google-featured-snippets-are-not-accurate/" rel="noopener noreferrer"&gt;Google's featured snippets are not always accurate&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Managed vs Unmanaged hosting</title>
      <dc:creator>kevin</dc:creator>
      <pubDate>Sat, 19 Nov 2022 08:36:06 +0000</pubDate>
      <link>https://dev.to/atkevins/managed-vs-unmanaged-hosting-444o</link>
      <guid>https://dev.to/atkevins/managed-vs-unmanaged-hosting-444o</guid>
      <description>&lt;h2&gt;
  
  
  Managed hosting generally provides more support and assistance than unmanaged hosting
&lt;/h2&gt;

&lt;p&gt;Managed hosting generally provides more support and assistance than unmanaged hosting. This is because managed hosting providers will often have a team of experts on hand to help you with any problems that you might encounter. They will also proactively monitor your server for any potential issues, and can often provide you with advice on how to avoid them.&lt;/p&gt;

&lt;p&gt;With managed hosting, businesses can focus on their core business functions and leave the hosting to the experts.  Managed hosting providers typically offer 24/7 support and monitoring, as well as proactive support to prevent issues from arising. They will also often offer additional services such as security and backups. &lt;/p&gt;

&lt;p&gt;This can give businesses peace of mind knowing that their hosting is in good hands.  Overall, managed hosting can be a great solution for businesses that want to focus on their business and leave the hosting to someone else. It can provide peace of mind and allow businesses to avoid any potential hosting issues.&lt;/p&gt;

&lt;h2&gt;
  
  
  With unmanaged hosting, you're responsible for your server maintenance and security
&lt;/h2&gt;

&lt;p&gt;With unmanaged hosting, you're responsible for your server maintenance and security. This means you'll need to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; keep your server up to date, &lt;/li&gt;
&lt;li&gt;perform regular backups, and &lt;/li&gt;
&lt;li&gt;monitor for security threats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While this may sound like a lot of work, it's not as difficult as it sounds. There are plenty of resources available online to help you with server maintenance and security. And, if you're not comfortable performing these tasks yourself, you can always hire a server administrator to help you out.  &lt;/p&gt;

&lt;p&gt;The biggest advantage of unmanaged hosting is that you have complete control over your server. This means you can customize it to meet your specific needs. If you're running a small business, you can choose to install only the applications and services you need. This can help keep your server costs down. Additionally, you can choose to install custom applications or scripts to further customize your server.  &lt;/p&gt;

&lt;p&gt;Another advantage of unmanaged hosting is that you're not tied to any one hosting company. If you're not happy with your current host, you can easily switch to another one. This flexibility can be a lifesaver if your hosting company goes out of business or if you need to move to a new location.  &lt;/p&gt;

&lt;p&gt;The biggest disadvantage of unmanaged hosting is that it can be more expensive than managed hosting. This is because you're responsible for all of the server maintenance and security yourself. Additionally, if you're not experienced in these areas, you may need to hire someone to help you out.  &lt;/p&gt;

&lt;p&gt;Overall, unmanaged hosting can be a great option for those who need complete control over their server and don't mind paying a bit more for it. Just be sure to do your research and be prepared to put in a bit of work to keep your server running smoothly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Managed hosting can be more expensive than unmanaged hosting
&lt;/h2&gt;

&lt;p&gt;Managed hosting can be more expensive than unmanaged hosting, but it can also be worth the investment. With managed hosting, you get more support and assistance with keeping your website and server running smoothly. &lt;/p&gt;

&lt;p&gt;The host will also monitor your server for any potential issues and take care of any that arise. This can give you peace of mind, knowing that someone is always keeping an eye on your site and making sure everything is running smoothly. In some cases, managed hosting can also offer more features and tools than unmanaged hosting, which can make it worth the extra cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unmanaged hosting requires more technical expertise than managed hosting
&lt;/h2&gt;

&lt;p&gt;Unmanaged hosting is a great option for those with the technical expertise to manage their server. This type of hosting requires more technical knowledge than managed hosting, but it can be a great option for those who are comfortable with managing their server. &lt;/p&gt;

&lt;p&gt;With unmanaged hosting, you will be responsible for managing your server, including updates, security, and maintenance. This can be a great option for those who want complete control over their server, but it is not recommended for those who are not comfortable with managing their server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Managed hosting services often include monitoring and updates
&lt;/h2&gt;

&lt;p&gt;Managed hosting services are a type of web hosting service that includes monitoring and updates. This type of hosting is often used by businesses and organizations that have a website or need a website that is reliable and secure. Managed hosting services can help to keep a website running smoothly and can provide peace of mind for businesses and organizations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unmanaged hosting gives you more control over your server
&lt;/h2&gt;

&lt;p&gt;If you're looking for more control over your server, unmanaged hosting is the way to go. With unmanaged hosting, you have complete control over your server, including the operating system, applications, and data. This means you can customize your server to meet your specific needs, and you don't have to worry about your host making changes that could affect your business.  Of course, with more control comes more responsibility. &lt;/p&gt;

&lt;p&gt;With unmanaged hosting, you're responsible for maintaining your server, and if something goes wrong, you're the one who has to fix it. This can be a bit daunting for some people, but if you're comfortable with managing your server, it can be a great option.  &lt;/p&gt;

&lt;p&gt;If you're not sure whether unmanaged hosting is right for you, we suggest talking to your hosting provider. They can help you determine if you have the skills and knowledge necessary to manage your server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Managed hosting can provide peace of mind, knowing that someone is looking after your server for you
&lt;/h2&gt;

&lt;p&gt;Managed hosting can provide peace of mind, knowing that someone is looking after your server for you. This means that you can focus on your business, rather than worrying about server maintenance. &lt;/p&gt;

&lt;p&gt;Managed hosting can also be a good option if you don't have the time or resources to manage your server yourself.  A managed host will take care of all the server updates and security patches for you. They will also monitor your server for performance issues and will provide support if you need it. This can be a great way to avoid any unexpected downtime for your website or application.  &lt;/p&gt;

&lt;p&gt;Managed hosting can be more expensive than self-managed hosting, but it can be worth it for the peace of mind and support that you'll receive. If you're not sure whether managed hosting is right for you, talk to your hosting provider about your options.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unmanaged hosting can be more flexible, as you can choose your configurations
&lt;/h2&gt;

&lt;p&gt;Unmanaged hosting can be a great option for those who need complete control over their server environment. With unmanaged hosting, you are responsible for all server administration, including security, updates, and monitoring. This can be a great option for experienced users who are comfortable managing their servers, or for those who need a highly customized server environment. However, it is important to note that unmanaged hosting can be more expensive and time-consuming than other types of hosting, so it may not be the best option for everyone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Managed hosting can be more reliable, as the hosting provider will take care of any issues
&lt;/h2&gt;

&lt;p&gt;Managed hosting can be more reliable, as the hosting provider will take care of any issues that arise. This can free up your time to focus on other aspects of running your business. In addition, the provider will often have a team of experts on hand to help you with any problems that may come up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unmanaged hosting can be faster, as you can make your changes without waiting for approval
&lt;/h2&gt;

&lt;p&gt;One of the main reasons people choose unmanaged hosting is for the speed benefits. When you are in complete control of your server environment, you can make changes and see results much faster than with a managed hosting solution.  &lt;/p&gt;

&lt;p&gt;With managed hosting, you are typically reliant on the hosting provider to make changes or updates to your server. This can often take weeks or even months, as they need to test and approve any changes before they are implemented.  &lt;/p&gt;

&lt;p&gt;With unmanaged hosting, you can make changes to your server immediately, without having to wait for the approval. This means you can get your website or application up and running faster, and make changes as you need to.  &lt;/p&gt;

&lt;p&gt;Another advantage of unmanaged hosting is that you have complete control over your server environment. This means you can customize it to your specific needs, and add or remove features as you see fit.  &lt;/p&gt;

&lt;p&gt;Of course, unmanaged hosting does come with some risks. If you are not experienced in server administration, it can be easy to make changes that break your server or website. And, if you do not have a good backup plan in place, you could lose all your data if something goes wrong.  Overall, unmanaged hosting can be a great option for those who need the speed&lt;/p&gt;

&lt;h2&gt;
  
  
  Managed hosting can be more secure, as the hosting provider will often have security measures in place
&lt;/h2&gt;

&lt;p&gt;Managed hosting can be more secure, as the hosting provider will often have security measures in place to protect your site from attacks. This can include things like firewalls, DDoS protection, and more. &lt;/p&gt;

&lt;p&gt;The hosting provider will also usually have a team of security experts that can help you if your site is ever hacked.  If you're looking for a more secure option for your website, you may want to consider managed hosting. With this type of hosting, the provider will often have security measures in place to protect your site from attacks.  The hosting provider will also usually have a team of security experts that can help you if your site is ever hacked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unmanaged hosting can be more affordable, as you are not paying for extra services
&lt;/h2&gt;

&lt;p&gt;For example, with a managed host, you might pay for features like security monitoring, backups, and support. With an unmanaged host, you are responsible for these tasks yourself or need to hire someone to do them for you. This can save you money, but it also requires more time and effort on your part.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SOURCE&lt;/strong&gt;: &lt;a href="https://kevinhq.com/managed-vs-unmanaged-hosting/" rel="noopener noreferrer"&gt;Managed vs Unmanaged hosting&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>webhost</category>
    </item>
    <item>
      <title>6 Most Prominent Ruby IDE for Linux based on first hand experience</title>
      <dc:creator>kevin</dc:creator>
      <pubDate>Sun, 06 Nov 2022 04:45:12 +0000</pubDate>
      <link>https://dev.to/atkevins/6-most-prominent-ruby-ide-for-linux-based-on-first-hand-experience-2il1</link>
      <guid>https://dev.to/atkevins/6-most-prominent-ruby-ide-for-linux-based-on-first-hand-experience-2il1</guid>
      <description>&lt;p&gt;There were many IDEs out there that supports Ruby on Linux. However, not all of them are good. Here's the list of recommended Ruby IDE you can use on Linux. The list based on my first-hand experience. It sorts by the alphabetical order. That means, the first Ruby IDE on Linux mentioned on the list doesn't mean it's better than the others below it.&lt;/p&gt;

&lt;p&gt;Some of the IDEs below are on the cloud and accessible through modern web browser like Chrome or Firefox. That means, those Ruby IDE not only can run on Linux, but also can run on the other platforms with web browser support. Yes, even iPad or Android tablet with supported web browser can run those cloud based IDE. So, it's possible to write and debug your code directly on your iPad or your favorite tablets.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS C9
&lt;/h2&gt;

&lt;p&gt;Formerly known as Cloud9 IDE, before it's brought by Amazon. It's now renamed as AWS C9, and it's integrated with other Amazon services like EC2. The ones I love about this Cloud IDE are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It really replicates the Cloud9 IDE so the learning curve is not that steep for me and anyone who's used to work with Cloud9 IDE.&lt;/li&gt;
&lt;li&gt;It runs as EC2 instance on Amazon which means it's accessible from Amazon  AWS Console.&lt;/li&gt;
&lt;li&gt;It gives a "sudo" access. There's another Cloud IDE that doesn't support "sudo" natively on their terminal. Read on if you want to find it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, the ones I don't like about AWS C9 as Ruby IDE on Linux:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The cost is calculated similarly to other Amazon AWS services like EC2. It can be pretty expensive.&lt;/li&gt;
&lt;li&gt;The terminal often disconnects and reconnects if it's been idling for some minutes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's the link to AWS C9 if you want to give it a try: &lt;a href="https://aws.amazon.com/cloud9/" rel="noopener noreferrer"&gt;https://aws.amazon.com/cloud9/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Github Codespaces
&lt;/h2&gt;

&lt;p&gt;This basically a Visual Studio Code put on the cloud by Github (Microsoft?). I haven't explored this Cloud IDE deeply but it's really similar to Gitpod, except for some facts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Unlike Gitpod, it doesn't need any YML file to run. &lt;/li&gt;
&lt;li&gt;It's more natively integrated with Github&lt;/li&gt;
&lt;li&gt;It also gives "sudo" and I can do "sudo apt update" and "sudo apt install" to any package I want to install. The package will stay installed even the IDE had been timed out and reloaded.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But, there are also some cons to consider before you tried this cloud IDE:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The pricing schema seems pretty similar to Amazon AWS C9 so it can be pretty expensive for some cases.&lt;/li&gt;
&lt;li&gt;It's unknown how long it will be available to individual account for free.&lt;/li&gt;
&lt;li&gt;It must be enabled by the organization who's owning the Github repository.&lt;/li&gt;
&lt;li&gt;The longest timeout I can set, based on my first hand experience is 40 minutes&lt;/li&gt;
&lt;li&gt;It's only available for Github. If you're using Gitlab or Bitbucket, then you can't use Codespaces in any way.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Gitpod
&lt;/h2&gt;

&lt;p&gt;This is pretty similar to Github Codespaces but there's a slightly different concept with Gitpod:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It based on Dockerfile with gitpod.yml to prepare the packages to install on IDE before starting.&lt;/li&gt;
&lt;li&gt;Assuming all packages required for the project are installed, the running Gitpod IDE will be ready for the developer to focus working on the code ,without having to worry about installing any packages.&lt;/li&gt;
&lt;li&gt;You can install package on the runtime of IDE, but it will be gone once the IDE hits timeout and stopped.&lt;/li&gt;
&lt;li&gt;The longest timeout I can set (so the IDE won't stop when it's not used) is 3 hours on the highest plan.&lt;/li&gt;
&lt;li&gt;It has simpler plan to calculate pricing than Github Codespaces too. So, it's more predictable to use Gitpod IDE.&lt;/li&gt;
&lt;li&gt;Unlike Github Codespace, Gitpod IDE can be used on other repositories like Bitbucket and Gitlab.&lt;/li&gt;
&lt;li&gt;On 2020, like the Github Codespaces, Gitpod is also moving to VS Code (Visual Studio Code), after the remote support of VS code is provided, just like Github.dev and now Github Codespaces.&lt;/li&gt;
&lt;li&gt;You can use my coupon code for Gitpod IDE to get a discount for your first 3 months. Haha.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Repl.it
&lt;/h2&gt;

&lt;p&gt;For this, I've written everything I knew on &lt;a href="https://kevinhq.com/repl-it-as-one-of-cloud9-ide-alternative/" rel="noopener noreferrer"&gt;this post&lt;/a&gt;. The most interesting of Repl.it IDE are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It's available for free to try. There's a free plan with 500MB storage. For small projects, you may be able to stay with free plan.&lt;/li&gt;
&lt;li&gt;Even if you have to pay, there's $7/month plan. This is much cheaper for many cases if you compare it to Gitpod or Github Codespaces above.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  RubyMine
&lt;/h2&gt;

&lt;p&gt;This one is Ruby IDE for Linux from JetBrains. Unlike the other IDEs above, this one is desktop and not a cloud IDE. The pricing is pricey as well but the features paid it off. &lt;/p&gt;

&lt;p&gt;If you're interested to give it a try, there's 30 day trial when you download the IDE. Compared to the other IDEs, I've to admit it's the most completed features of Ruby IDE on Linux. It's really built for Ruby/Ruby on Rails development.&lt;/p&gt;

&lt;h2&gt;
  
  
  Visual Studio Code
&lt;/h2&gt;

&lt;p&gt;If you've written code since early of 2000 (just like me), you've heard about Visual Studio from Microsoft. At that time, VS is a complete IDE from Microsoft that supports programming languages that runs on .NET (dot net) framework, such as: VB.NET, C#, etc.&lt;/p&gt;

&lt;p&gt;However, this Visual Studio Code is completely different than that old Visual Studio (the latest I used was VS 2008). This one doesn't require the Windows operating system. Nor it needs .NET framework anymore. It's now available as Ruby IDE on Linux as well. As its tagline says: &lt;strong&gt;Free&lt;/strong&gt;. Built on open source. Runs everywhere.&lt;/p&gt;

&lt;p&gt;Nowadays Visual Studio Code is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Free.&lt;/li&gt;
&lt;li&gt;Open source.&lt;/li&gt;
&lt;li&gt;Can run everywhere&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The only thing that bothers me is it's still a native application rather than web based cloud Ruby IDE like the others: Gitpod, Repl.it, Github Codespaces, AWS C9. &lt;/p&gt;

&lt;h2&gt;
  
  
  What's the best Ruby IDE on Linux?
&lt;/h2&gt;

&lt;p&gt;This is not about which one is the best. It's about which one is the most suitable for your Ruby or Ruby on Rails project. For example, if your Ruby or Rails project is already hosted on AWS EC2, the best Ruby IDE choice may be that AWS C9.&lt;/p&gt;

&lt;p&gt;But, if another project is just hosted on Github, and you don't know where you'll deploy it, Gitpod or Github codespaces may be your best bet. Again, this really depends on the condition of the project you're working on.&lt;/p&gt;

&lt;p&gt;Not only that, there are many other factors to consider such as: budget, deadline of the project, and other factors like repository used on the project. When you used Bitbucket or Gitlab, it's impossible to use Github Codespace. Gitpod is your best best for such case.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original source&lt;/strong&gt;: &lt;a href="https://kevinhq.com/6-most-prominent-ruby-ide-for-linux/" rel="noopener noreferrer"&gt;6 Most Prominent Ruby IDE for Linux&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ide</category>
      <category>ruby</category>
      <category>rails</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How I solve weird CLS issue: more than 0.25</title>
      <dc:creator>kevin</dc:creator>
      <pubDate>Sat, 31 Oct 2020 00:00:00 +0000</pubDate>
      <link>https://dev.to/atkevins/how-i-solve-weird-cls-issue-more-than-025-4168</link>
      <guid>https://dev.to/atkevins/how-i-solve-weird-cls-issue-more-than-025-4168</guid>
      <description></description>
      <category>seo</category>
    </item>
  </channel>
</rss>
