<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Magesh on Medium]]></title>
        <description><![CDATA[Stories by Magesh on Medium]]></description>
        <link>https://medium.com/@imagesh?source=rss-a6597114fa7c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JFmT0BoYaiduUNNZ.jpeg</url>
            <title>Stories by Magesh on Medium</title>
            <link>https://medium.com/@imagesh?source=rss-a6597114fa7c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 12:43:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@imagesh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Meta programming with Ruby Eval: A guide (Part 2)]]></title>
            <link>https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-2-5176b7e80e25?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5176b7e80e25</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[metaprogramming]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 09:43:35 GMT</pubDate>
            <atom:updated>2025-01-01T09:43:35.642Z</atom:updated>
            <content:encoded><![CDATA[<p>Hope you read Part 1 of meta-programming with Ruby eval before coming here, if not you can <a href="https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-1-6c5e54e16811">click this link</a> and read it first. It’s kind of like a pre-requisite.</p><p><a href="https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-1-6c5e54e16811">Meta programming with Ruby Eval — Part 1</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V6a3dRxdOUNz_Dig_zP16A.jpeg" /></figure><p>In part one, we saw the basics of eval and how to dynamically create a class and add methods to it. Now let’s see how we can extend a class, and also learn how to create modules and use them in classes, during runtime. Ready? Let’s dive right in.</p><h3>Extending a class</h3><p>Let’s say we already have a class file, we can extend it dynamically during runtime to add more instance and class methods.</p><p>Consider the below example Animal class:</p><pre><br>class Animal<br> def initialize(name)<br> @name = name<br> end<br>end</pre><p>To add more methods to it, we can simply use the following:</p><pre>## Adding methods using class_eval<br>Animal.class_eval do<br> def speak<br> “#{@name} makes a sound”<br> end<br><br> def self.species<br>   @species ||= []<br> end<br> <br> # Add attribute readers dynamically<br> attr_reader :name<br>end</pre><p>The above code adds an instance method called “speak”, a class method “species”, and also an attribute reader to read the <a href="http://twitter.com/name">@name</a> value.</p><h3>Overriding methods in class or redefining existing behaviour</h3><p>Now, let’s assume the Animal class had a method called “name”, like so:</p><pre>class Animal<br> def initialize(name)<br> @name = name<br> end<br> <br> def name<br>   print “The name is #{@name}”<br> end<br>end</pre><p>I can override it on the fly using the following code:</p><pre>Animal.class_eval do<br> # Store the original method<br> alias_method :original_name, :name<br>  <br> def name<br>   puts “You can call me #{@name}!”<br> end<br>end</pre><p>I can use the class_eval to override any method in any class during runtime. But we have to be careful not to change an expected behaviour which might lead to misunderstanding and cause trouble for other developers.</p><h3>Dynamically create Attribute methods</h3><p>You want to write attribute methods: reader and writer, here’s how</p><pre><br>[‘age’, ‘color’, ‘breed’].each do |attribute|<br> Animal.class_eval do<br> # Create getter<br> define_method(attribute) do<br> instance_variable_get(“@#{attribute}”)<br> end<br> <br> # Create setter<br> define_method(“#{attribute}=”) do |value|<br> instance_variable_set(“@#{attribute}”, value)<br> end<br> end<br>end</pre><pre># Usage examples<br>dog = Animal.new(“Rex”)<br>puts dog.speak # =&gt; “Loudly: Rex makes a sound”<br>dog.age = 5<br>dog.color = “brown”<br>puts “#{dog.name} is #{dog.age} years old and #{dog.color}”</pre><h3>Create Modules using `class_eval`</h3><p>In part one we saw how to create classes, similarly, can i create modules? and maybe include them in classes? Yes, we can. The following code does that:</p><pre># Creating a module <br>module_code = &lt;&lt;-RUBY<br> module Swimmable<br> def swim<br> “\#{@name} is swimming!”<br> end<br> end<br>RUBY</pre><p>Now that’s the module code but i need to evaluate it first and then include it in a class to make it work, right? so how can we do that?</p><pre># Evaluate the module code and include it<br>Object.class_eval(module_code)<br>Animal.class_eval { include Swimmable }</pre><p>In the above code, i first evaluate the module code using `Object.class_eval` and then to include it in a class we used class_eval on the class itself. That’s it. Now i can check it by using the following code:</p><pre>animal = Animal.new(“panda”)<br>puts animal.swim</pre><p>That should work. Now you know how to create modules on the fly and include them in any existing class or we can also create a class on the fly and include the module in it.</p><h3>Adding methods to a module</h3><p>Let’s create a real-world usecase. A validation DSL:</p><pre>module Validators<br> def self.create_validator(field, &amp;validation_logic)<br>   module_eval do<br>     define_method(“validate_#{field}”) do |value|<br>       if validation_logic<br>         instance_exec(value, &amp;validation_logic)<br>       else<br>         value.nil? ? false : true<br>       end<br>     end<br>   end<br> end<br>end</pre><p>You can use the Validators module to create basic presence validation like the following:</p><pre>class User<br> include Validators<br> <br> attr_accessor :email, :age, :username<br> <br> # Create basic presence validators<br> create_validator :email<br> create_validator :age<br> create_validator :username<br>end<br><br>user = User.new<br>puts user.validate_email(nil) # =&gt; false<br>puts user.validate_email(“test@example.com”) # =&gt; true<br></pre><p>If you want to create a custom validation to check the price value, etc. You can do something like this:</p><pre>create_validator(:price) { |value| value.to_f &gt; 0 }</pre><p>See how helpful this can be?</p><h3>Extending Modules</h3><pre>module Extensions<br>  module_eval do<br>    def self.included(base)<br>      base.extend(ClassMethods)<br>    end<br>    <br>    module ClassMethods<br>      def class_method<br>        puts &quot;This is a class method&quot;<br>      end<br>    end<br>  end<br>end</pre><h3>Class and Module Evaluation</h3><p>module_eval (also aliased as module_exec) is a method that allows you to evaluate code in the context of a module. Like class_eval, it lets you define or modify methods that will be instance methods of classes that include the module.</p><pre>module Greeting<br>  def self.add_greeting(name)<br>    module_eval(&lt;&lt;-RUBY)<br>      def greet_#{name}<br>        puts &quot;Hello, #{name}!&quot;<br>      end<br>    RUBY<br>  end<br>end<br><br>class Person<br>  include Greeting<br>end<br><br>Greeting.add_greeting(&quot;alice&quot;)<br>person = Person.new<br>person.greet_alice  # Output: Hello, alice!</pre><p>While `module_eval` and `class_eval` are very similar, there are some key differences:</p><p>Context: module_eval is specifically for modules, while class_eval is for classes. However, since classes are also modules in Ruby (Class inherits from Module), you can use module_eval on classes too.</p><pre># These are equivalent for classes<br>MyClass.class_eval do<br>  def some_method<br>    puts &quot;Hello&quot;<br>  end<br>end<br><br>MyClass.module_eval do<br>  def some_method<br>    puts &quot;Hello&quot;<br>  end<br>end</pre><p>module_eval is often used in module methods to define methods dynamically that will be available to all classes including that module.</p><h3>Dynamic Method Definition</h3><p>`define_method` is a powerful way to create methods dynamically:</p><pre>class APIWrapper<br>  [&#39;get&#39;, &#39;post&#39;, &#39;put&#39;, &#39;delete&#39;].each do |http_method|<br>    define_method(http_method) do |url, params = {}|<br>      # Generic HTTP request handling<br>      puts &quot;Making #{http_method.upcase} request to #{url}&quot;<br>    end<br>  end<br>end<br><br>api = APIWrapper.new<br>api.get(&#39;/users&#39;)   # =&gt; &quot;Making GET request to /users&quot;<br>api.post(&#39;/users&#39;)  # =&gt; &quot;Making POST request to /users&quot;</pre><h3>Removing Methods</h3><p>Just as we can define methods dynamically, we can remove them:</p><pre>class Example<br>  def temporary_method<br>    &quot;I won&#39;t be here long&quot;<br>  end<br>  <br>  remove_method :temporary_method<br>end</pre><h3>Dynamic Constant and Variable Management</h3><p>Setting Constants</p><pre>module Configuration<br> const_set(:API_VERSION, “v1”)<br> const_set(:MAX_RETRIES, 3)<br>end<br><br>puts Configuration::API_VERSION # =&gt; “v1”</pre><p>Variable Operations</p><pre>class StateManager<br> class_variable_set(:@@state, {})<br> <br> def self.state<br>   class_variable_get(:@@state)<br> end<br> <br> def update_state(key, value)<br>   instance_variable_set(“@#{key}”, value)<br> end<br>end</pre><h3>Best Practices and Warnings</h3><h4>Security Considerations</h4><p>- Never use eval with untrusted input<br>- Prefer more specific evaluation methods over basic eval<br>- Use define_method instead of eval when defining methods dynamically</p><h4>Performance Impact</h4><p>- Evaluation methods are slower than static definitions<br>- Cache results when doing repeated evaluations<br>- Consider using metaprogramming during class loading rather than runtime</p><h4>Code Readability</h4><p>- Document why you’re using metaprogramming<br>- Keep dynamic code generation simple and obvious<br>- Consider whether a more straightforward approach might work better</p><p>Ruby’s evaluation methods provide powerful tools for metaprogramming, allowing you to write more dynamic and flexible code. While these tools should be used judiciously, understanding them opens up new possibilities for solving complex problems elegantly.</p><p>Remember that with great power comes great responsibility — always consider whether metaprogramming is the best solution for your specific use case, and document your code well when you do use it.</p><p>That’s all for now. Thank you for reading it till the end.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5176b7e80e25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-2-5176b7e80e25">Meta programming with Ruby Eval: A guide (Part 2)</a> was originally published in <a href="https://medium.com/railsfactory">Railsfactory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meta programming with Ruby Eval: A guide (Part 1)]]></title>
            <link>https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-1-6c5e54e16811?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c5e54e16811</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[meta-porgramming]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 09:24:05 GMT</pubDate>
            <atom:updated>2025-01-02T16:22:04.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ct0KryRzGzcxFv9mXmNY8Q.png" /></figure><p>During one of our bootcamp study sessions, we explored Ruby’s eval and discovered how powerful meta-programming in Ruby can be. It enables you to do almost anything at runtime, from evaluating complex expressions to creating classes, modules, methods, variables, and constants dynamically.</p><p>For starters, what is meta programming?<br>In simple terms, meta programming is about writing code that can generate more code.</p><p>Let me clarify, you write a code that generates more code during runtime which can then be executed dynamically.</p><p>It is not just about executing a logic like 2+2 or (a + b)²<br>Or calling a method dynamically like <br>send(:my_method)</p><p>In ruby, you can write code that will create classes, modules and methods, variables dynamically. It can even extend existing classes/modules and do more.</p><h3>Basic Eval</h3><p>When I was new to ruby, the only thing I knew about eval was to use it for evaluating simple expressions. I thought that was it; I didn’t know it could do more.</p><p>You can use eval to execute arbitrary ruby code contained in a string like below:</p><blockquote>eval(“2+ 3+5”)</blockquote><p>While powerful, eval should be used cautiously as it executes code in the current binding and can pose security risks if used with untrusted input.</p><p>That was super simple but you can do much more. Let’s explore more.</p><h3>Instance Evaluation</h3><p>instance_eval allows you to evaluate code in the context of an object’s instance.<br>This method is particularly useful when you need to:</p><p>- Access instance variables directly<br>- Define singleton methods on specific instances<br>- Modify a single object’s behavior</p><h3>Dynamically set or get instance variables</h3><p>Let’s define a class with an instance variable</p><pre>class Person<br> def initialize(name)<br> @name = name<br> end<br>end</pre><pre>person = Person.new(&quot;Magesh&quot;)</pre><p>Use eval to dynamically set the instance variable like this:</p><pre>eval “person.instance_variable_set(:@name, ‘Dinesh’)”<br>puts person.instance_variable_get(:@name) # Output: Dinesh</pre><p>Use eval to dynamically get the instance variable like this:</p><pre>eval_name = eval “person.instance_variable_get(:@name)”<br>puts eval_name # Output: Dinesh</pre><h3>Using `class_eval` to create class</h3><p>Let’s create a method that can create more classes by taking a name as argument.</p><pre>def create_dynamic_class(name, methods_to_add)<br>  Object.class_eval &lt;&lt;-RUBY<br>    class #{name}<br>      attr_reader :created_at<br><br>      def initialize(name)<br>        @name = name<br>        @created_at = Time.now<br>      end<br><br>      def greet<br>       &quot;Hello! Welcome&quot;<br>      end<br>      <br>      #adding a class method<br>      def self.description<br>        &quot;I am a dynamically created class named #{name}&quot;<br>      end<br>    end<br>  RUBY<br>end</pre><p>Now whenever I want to create a class I can simply call the method like this:</p><pre>create_dynamic_class(‘Dog’, {})<br><br># Let’s execute the method and check<br>milo = Dog.new(“Milo”)<br>Dog.description # =&gt; I am a dynamically created class named Dog</pre><p>That was simple, right? Now, how do we add instant methods to that class?<br>We have to tweak the code a little bit like adding a few more lines to the `create_dynamic_class` method.</p><pre> # Add instance methods using class_eval with a block<br> klass = Object.const_get(name)<br> <br> # Add each method to the class<br> <br> methods_to_add.each do |method_name, method_body|<br>   klass.class_eval do<br>     define_method(method_name, method_body)<br>   end<br> end</pre><p>The above code will take a hash with method names as keys and procs or blocks as values with the implementation.</p><p>We have to create a hash now to add some methods, let’s see how its done</p><p>This is the hash:</p><pre>my_methods = {<br> greet: -&gt; { “Ruf! Ruf!” },<br> say_bye: -&gt; { “Woof! Woof!” },<br> birth_time: -&gt; { “Born at: #{@created_at}” }<br>}</pre><p>Now i have to call</p><pre>create_dynamic_class(“Dog”, my_methods)</pre><p>We can test it to check if all the methods are working:</p><pre>milo = Dog.new(“Milo”)<br>milo.greet<br>milo.say_bye<br>milo.birth_time</pre><p>that should give you the following output:</p><pre><br>#&lt;Dog:0x0000000110a16650 @created_at=2024–12–30 14:20:08.776167 -0500, @name=”Milo”&gt;<br>“Ruf! Ruf!”<br>“Woof! Woof!”<br>“Born at: 2024–12–30 14:22:43 -0500”</pre><p>See what we did? We have created a class dynamically and added a few instances and class methods to it. All during runtime. That was cool, right? Let’s try one more thing.</p><h3>Define singleton methods on specific instances</h3><p>What if we only want to add methods to a specific instance of a class and not to all the instances(objects). In our code above we created a dog named Milo but what if there is another dog and it could do different things that Milo didn’t?</p><pre>simba = Dog.new(“Simba”)</pre><p>Now, what if Simba could roll which Milo couldn’t?</p><pre>simba.instance_eval do<br> def roll<br> “#{@name} is rolling over!”<br> end<br>end</pre><p>Now, the above method `roll` will only be available inside the instance simba.</p><pre><br>simba.roll #=&gt; “Simba is rolling over!”<br>milo.roll #=&gt; undefined method `roll’ for an instance of Dog (NoMethodError)</pre><p>You see, if i call “roll” method on the instance “milo”. I would get an undefined method error because we added the roll method only on the instance “simba”. That’s how you create a singleton method for a instance.</p><p>Great. That’s enough for now. I’ll show you more in Part 2.</p><p><a href="https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-2-5176b7e80e25">Go to Part 2 to read more</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c5e54e16811" width="1" height="1" alt=""><hr><p><a href="https://medium.com/railsfactory/meta-programming-with-ruby-eval-a-guide-part-1-6c5e54e16811">Meta programming with Ruby Eval: A guide (Part 1)</a> was originally published in <a href="https://medium.com/railsfactory">Railsfactory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The GOAT Ruby on Rails 8 is here — What’s new?]]></title>
            <link>https://medium.com/railsfactory/the-goat-ruby-on-rails-8-is-here-whats-new-e9c9ab68ffd9?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9c9ab68ffd9</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Tue, 24 Dec 2024 20:49:54 GMT</pubDate>
            <atom:updated>2024-12-24T21:54:41.142Z</atom:updated>
            <content:encoded><![CDATA[<h3>The GOAT Ruby on Rails 8 is here — What’s new?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sNubqTulmZewfmJJVYncyA.jpeg" /></figure><p>DHH and the team launched Rails 8 in style at the Rails World Conference recently, like never before. Why? because this new version comes with a lot of features that is going to make it the God of all web frameworks</p><p>We love how it simplifies the whole web development process helping you go from MVP to IPO in less time than you can imagine. You do not need a PAAS or any fancy cloud infrastructure anymore, you can build and deploy your product in few seconds. More power to open-source.</p><p>Isn’t that fascinating? Let’s look at how Rails 8 does that.</p><h3><strong>Unparalleled Performance</strong></h3><p>Rails 8 includes enhancements to how ActiveRecord handles database queries, aiming for faster execution and reduced overhead. It has faster boot times for applications. Native support for multithreading and asynchronous processing and reduced memory consumption.</p><h3>Zero-Downtime Deployment Made Simple — Kamal 2</h3><p>Kamal is an open-source zero-downtime deployment tool that simplifies server provisioning and running Rails applications on Docker containers. With Kamal, all you need is the IP address of your server or virtual machine (VM), and it handles everything — from installing development tools and dependencies to configuring your environment. It’s that straightforward and simple.</p><p>Rails 8 now comes preconfigured with Kamal 2 and a highly optimized Dockerfile. This combination can transform a brand-new Linux server or VM into a fully functional application server with a single command: `kamal setup`. Deployment has never been easier.</p><p>Kamal also provides super fast zero-downtime deploys, automated SSL certificates via Let’s Encrypt, and support for multiple applications on a single server without any complicated configuration.</p><h3>Apache or Nginx not required anymore</h3><p>You no longer need Apache or Ngnix as a proxy server to work alongside your rails puma server. Introducing Thruster — a modern, lightweight proxy designed to sit in front of your Puma server. Thruster efficiently handles incoming internet traffic while providing features such as: asset caching, compression and etc.</p><h3>Solid Cable — Redis is no longer required</h3><p>You can now handle WebSocket functionality with just SQLite, eliminating the need for Redis or even a complex setup with MySQL or PostgreSQL. Solid Cable makes real-time messaging simple and accessible without relying on additional infrastructure.</p><h3>Solid Cache — Memcache or Redis is no longer required</h3><p>If you want to fragment cache HTML for your rails application, you can do so with ease without the dependencies required before like memcache or redis service. Add an few lines of config and you can enable caching for your application. Caching no longer uses RAM storage instead it uses the disk which is cheaper.</p><h3>Solid Queue — Background job frameworks are not needed</h3><p>Forget about integrating separate background job processing frameworks like Resque, Sidekiq, or Delayed Job. You can simple enable solid queue in few seconds which uses your existing database. Don’t need redis or any other dependencies for this purpose if you want to keep things simple.</p><blockquote>Solid Queue can either run as a puma plugin, which is the default on a single-server installation, or by using the new bin/jobs command for starting a dedicated dispatcher.</blockquote><p>It is running on Production and is scalable.</p><blockquote>Solid Queue has been meticulously developed within the pressures of a real production environment over the last 18 months, and today it’s running 20 million jobs per day for HEY alone at 37signals.</blockquote><h3>No Build — Asset Managment Simplified</h3><p>Propshaft is the new tool that bids good bye to more than a decade old Sprockets. Javascript ecosystem has come a long way. We are at a time when we don’t have to put up with the whole npm install and node-modules complexity. Now that all the major browsers support ES6 as default we no longer need to transcompile or other outdated processes.</p><p>As the new asset pipeline, Propshaft only does 2 things now: Provide a load path for assets and stamp them with digests to allow for far-future expiry. Sprockets did a million other things that is no longer required if you want to keep things simple.</p><h3>Generate your own authentication — Sorry, Devise!</h3><p>Most of the time people worry about using 3rd parties or plugins for authentication. Now, you can have your own authentication generated with a simple command. You have full control and it can be customized however you want.</p><p>Just run</p><pre>bin/rails generate authentication</pre><p>and you’ll get basic models for Session and User, together with a PasswordsMailer, SessionsController, and an Authentication concern</p><h3>Want to know more?</h3><p><strong>Activerecord Enhancements:</strong></p><p>— Out-of-the-box support for JSONB queries, making it easier to handle structured data.<br> — Optimized eager loading for associations to reduce query overhead.<br> — Enhanced encryption for sensitive data, ensuring better security.</p><p><strong>API improvements:</strong></p><p>— Improved lightweight API-only mode for faster and more efficient APIs.<br> — Enhanced JSON serialization with optimized serializers for better performance.<br> — Native support for GraphQL, making it easier to build powerful APIs.</p><p><strong>Security Enhancements:</strong></p><p>— Automatic generation of Content Security Policies (CSP) for better protection against XSS attacks.<br> — Strengthened CSRF protection for AJAX requests.<br> — Default configuration for secure headers to improve application security.<br> — Advanced management of encrypted credentials, ensuring sensitive data is secure.</p><p><strong>Developer Experience Enhancements:</strong></p><p>— Improved error pages with actionable insights to debug issues faster.<br> — Enhanced logging with structured logs for better debugging and monitoring.<br> — A more interactive Rails console, improving developer productivity.<br> — Simplified scaffolding with updated default templates to get started quickly.</p><h3>What are you waiting for? Try Rails 8 Today!</h3><p>Rails 8 is packed with performance, security, and developer experience upgrades, making it the best choice for building modern applications. Whether you’re starting a new project or considering upgrading your existing apps, Rails 8 is worth the move.</p><p>Need help migrating your older apps? Contact RailsFactory — we’re here to make your transition smooth and efficient. Let’s take your apps to the next level together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9c9ab68ffd9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/railsfactory/the-goat-ruby-on-rails-8-is-here-whats-new-e9c9ab68ffd9">The GOAT Ruby on Rails 8 is here — What’s new?</a> was originally published in <a href="https://medium.com/railsfactory">Railsfactory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby is not dying — It’s Aging like fine wine]]></title>
            <link>https://medium.com/railsfactory/ruby-is-not-dying-its-aging-like-fine-wine-952880cecb01?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/952880cecb01</guid>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 05:47:15 GMT</pubDate>
            <atom:updated>2024-03-21T05:47:15.586Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ruby is not dying — It’s Aging like fine wine</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VsJ_Fp81vI68mbfBZYzgEQ.jpeg" /><figcaption>a wine bottle adorned with the Ruby programming language’s logo, situated in a cozy wine cellar setting</figcaption></figure><p>A few years ago, I noticed the growing popularity of JavaScript and felt that sticking solely to Ruby might not be sufficient. I decided to deepen my knowledge by exploring JavaScript, Node, React, Next.js, etc. I worked on a few projects and taught a lot of people through workshops.</p><p>Fast forward to now, it’s been about five years, I haven’t written much Ruby code, and I’ve almost forgotten how simple it can be to write a piece of code. I’ve missed Ruby so much after seeing what the other side looks like, and now, I’m thinking of returning to the Ruby world (screw popularity and trends)</p><p>Meanwhile, people have been asking if Ruby/Rails is dead, so here’s the reality:</p><p><strong>Ruby isn’t dead, it’s mature.</strong> And like a seasoned professional, maturity brings its own set of strengths and values. Rails continues to be the outstanding prototyping framework it was 20 years ago with the release of new features like Hotwire which lets you accomplish more on the front-end without writing any Javascript code. That’s Rails magic.</p><p>Ruby is not trending anymore but that doesn’t mean the language is about to die. If anything, it is aging like fine wine. Developers might jump ship based on changing trends but Ruby will live because of its powerful community and people like us who continue to use it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jNjmpW6XnahOUOuPrccD1Q.png" /></figure><p>Enough talk, Let’s look at some key data points from the <a href="https://survey.stackoverflow.co/2023/"><strong>Stack Overflow 2023 Developer Survey</strong></a> that showcase Ruby’s continued relevance and potential:</p><p><strong>Popularity and Usage:</strong></p><ul><li><strong>Overall Usage:</strong> While slightly down to 6.23<strong>%</strong> compared to 6.05% in 2022, Ruby holds the 16th position among the most used technologies (it’s above Dart, Scala, Swift, and Elixir in ranking). This indicates its continued presence in the developer landscape.</li><li><strong>Professional Usage:</strong> Among professional developers, Ruby usage is 6.94<strong>%</strong> in 2023, compared to 6.72% in 2022, showing a slight upward trend. This suggests continued adoption and demand for Ruby skills in the professional job market.</li><li><strong>Learning:</strong> 2.55<strong>%</strong> of respondents are interested in learning Ruby, similar to the previous year (2.52%). This suggests a steady interest in the language, particularly among new developers even though it is low compared to other languages like Python and Javascript. Attracting new talent to the Ruby ecosystem might require some focused efforts.</li></ul><p><strong>Developer Satisfaction and Experience:</strong></p><ul><li><strong>Satisfaction:</strong> 47.69<strong>%</strong> of developers who use Ruby admire it, indicating a positive sentiment towards the language and its capabilities.</li><li><strong>Years of Experience:</strong> Ruby developers have an average of nearly 12 years of experience, highlighting a mature and experienced user base. This often translates to greater skills and expertise within the community.</li></ul><p><strong>Other Interesting Points:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bGBu6bLVRCQhToKXqFlkvg.png" /><figcaption>Screenshot from Stack Overflow displaying languages sorted by average pay in USD</figcaption></figure><ul><li><strong>Pay:</strong> Interestingly, professional Ruby developers report a higher median salary than Python, Go, Scala, or Java developers (That is a surprise). According to the survey, the median salary for professional Ruby developers is $98,522 which has increased compared to the previous year ($93,000). This suggests that Ruby skills can be <em>financially rewarding</em> for experienced developers.</li><li><strong>Web Development Usage:</strong> While Ruby on Rails, the popular web framework built on Ruby, saw a slight dip to 5.49<strong>%</strong> usage in 2023 from 5.83% in 2022, it still ranks among the top web frameworks. This indicates its continued relevance in web development, even if it is not experiencing explosive growth.</li></ul><p>In conclusion, the Stack Overflow Developer Survey data paints a nuanced picture of Ruby. While it may not be the most popular language, it still holds relevance and value for developers, particularly those seeking a stable, mature, and rewarding career path.</p><p>Its strong community, rich ecosystem, and potential for higher compensation make it a language worth considering for both seasoned developers and those embarking on their development careers.</p><p><strong>Maturity and stability:</strong> Ruby and Rails have been around for over 25 years, giving them a strong foundation and a proven stability and reliability track record. This can be attractive for projects requiring long-term maintenance and scalability.</p><p><strong>Flexibility and adaptability:</strong> Ruby’s dynamic nature and extensive library of gems allow developers to build a wide range of applications without getting bogged down in complex frameworks or configurations.</p><p>Remember, while trends may shift, the value of a language often lies in its ability to solve problems effectively and efficiently. Ruby, with its unique strengths and dedicated community, continues to be a valuable tool in the developer’s toolbox.</p><p>There are always exciting developments in Ruby and Rails every once in a while. I’m eagerly waiting to see more interesting features and can’t wait to start my next project in Rails with Hotwire. I also want to explore Turbo Native and Strada. See? Many new things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NcvRH8HmldnFy6j-IDvdhw.jpeg" /></figure><p>To sum it all up, the evening will feature a variety of cocktails, beers, and even tequila shots, but wine enthusiasts will remain steadfast. Do you catch my drift?</p><p>Ciao.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=952880cecb01" width="1" height="1" alt=""><hr><p><a href="https://medium.com/railsfactory/ruby-is-not-dying-its-aging-like-fine-wine-952880cecb01">Ruby is not dying — It’s Aging like fine wine</a> was originally published in <a href="https://medium.com/railsfactory">Railsfactory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RailsFactory at RubyConf India 2023]]></title>
            <link>https://medium.com/railsfactory/railsfactory-at-rubyconf-india-2023-21501945c13a?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/21501945c13a</guid>
            <category><![CDATA[tech-conference]]></category>
            <category><![CDATA[developer-community]]></category>
            <category><![CDATA[rubyconf]]></category>
            <category><![CDATA[india]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 14:29:49 GMT</pubDate>
            <atom:updated>2023-09-26T14:29:49.469Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="RubyConf India stage setup" src="https://cdn-images-1.medium.com/max/1024/1*VdOzg0Lhgb147k5whBU2rQ.jpeg" /><figcaption>RubyConf India 2023 Stage Setup</figcaption></figure><p>It’s been a few weeks since the <a href="https://rubyconf.in/">RubyConf</a> event, and we wanted to highlight some of the best moments from this year’s event in this blog post.</p><p>A group of us from <a href="https://railsfactory.com/">RailsFactory</a> attended in Pune, continuing our tradition of participation. With this year’s conference spanning two days, it provided more opportunities to connect with more people. We met many new faces and reconnected with familiar ones from previous years. Isn’t it heartwarming when someone comes over and tells you they remember meeting you at the same conference 5–6 years ago?</p><h3>About RubyConf India</h3><p><a href="https://rubyconf.in/">RubyConf</a> India is a technical conference dedicated to the Ruby language, its frameworks, and tools. This community-organized event draws Ruby developers from India and around the world, fostering a space for learning, sharing, and networking. Every year, over 300 individuals attend to exchange knowledge and experiences.</p><h3>RailsFactory’s Contribution</h3><p>Last year, Amulya from our team did a great job talking about <a href="https://www.youtube.com/watch?v=ALQdQfiY9r0&amp;t=2s">“Exception handling in Ruby”</a>. This year, I took the stage to discuss <a href="https://www.youtube.com/watch?v=0p31ofu9RGk">“Concurrency in Ruby,”</a> shedding light on threads, fibers, and Ractors for those who haven’t explored them yet. We always relish these opportunities to connect with attendees and absorb knowledge from other speakers and experts.</p><p>Last year, as a <a href="https://railsfactory.com/inside-rubyconf-india-2022-ruby-talks-booth-and-more">platinum sponsor</a>, we set up an interactive booth with games and gave away memorable gifts like books and Alexa bots. This year, we were a silver sponsor. Although this time only a few of us were able to attend the conference nevertheless, we had a lot of fun.</p><h3>Day 1</h3><p>Brimming with excitement and energy, we eagerly embarked on the first day of the conference. After a hearty breakfast, we made our way to the event hall where we promptly registered, receiving our passes and commemorative t-shirts. Strategically, we positioned our standee and selfie booth at the hall’s entrance, allowing attendees to snap pictures as they entered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YvyPa17zrnZzLPNjHjcA1g.jpeg" /><figcaption>A bunch of people from Railsfactory</figcaption></figure><p>A highlight of the morning was meeting our Pune colleagues in person — individuals we’d previously only interacted with online. Their warm presence set the tone, and as expected, the conference commenced with its customary vigor and enthusiasm.</p><h3>The Talks</h3><p>Karan from GitHub showcased how to build a Rails application from scratch using AI. We learned a lot of tips and tricks to write code faster. I liked how we are able to do everything within VS code, like selecting code and searching with the context, and also filling in code from chat to files. It was an interesting start to the conference. We also met Karan after the talk and had a really good conversation about his work at GitHub, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qzAXNix-KvFbWW75x2HAoA.jpeg" /><figcaption>Showing Rajinikanth on screen at RubyConf for some humor</figcaption></figure><p>I followed Karan with my talk on Concurrency in Ruby. I used Rajinikanth&#39;s gif images to explain parallelism to people, and this made them laugh. Many came over to me after the talk and asked a lot of interesting questions about Async, Fiber, and Ractor. This is the good thing about talking at a conference, you can share your knowledge and also learn more from others.</p><p>Rish Jain delved into Rails performance monitoring, highlighting key concerns and the frequent errors developers make that affect performance. Maheshwari then spoke on the pitfalls leading to flaky test cases, offering practical strategies to enhance reliability.</p><p>Then we had our very own Harman’s talk on Payment workflow with Ruby and Clickhouse, he talked about the challenges in running many workers with Sidekiq, processing tasks in batches, saving states, and dividing work efficiently. Since they were processing payments they had to make sure the workers were Idempotent. Interesting how they went from processing payments for 200 million records in 2 days to paying them off in just 3 hours. That’s impressive.</p><p>Post-lunch, we were treated to a fantastic <a href="https://www.linkedin.com/feed/update/urn:li:activity:7101144797343621120">energizing session</a>. Zumba instructors were ushered in to get everyone dancing — a brilliant strategy to reinvigorate attendees after a meal! This undoubtedly kept many alert for the subsequent hours. And, as a thoughtful touch, coffee and tea were later served to sustain our energy.</p><p>Other notable talks included meta-programming in Ruby by Arihant Hirawat, and RuboCop usage by Shloka Shah. Rahul Mahale’s insights on Kubernetes scalability, and Chinmay Naik’s advice on avoiding over-engineering were equally enlightening.</p><p>Then we had an unconference-style discussion about AI and the fear around it about people losing jobs, etc. A lot of people asked many interesting questions. One of them was, “If AI is like cricket, why is everyone being forced to play cricket? shouldn’t it be optional?”</p><p>I think AI is not like cricket it is more like a computer back in the day. When the computer was introduced for businesses, people were not forced to use it but accountants, restaurant owners, grocery stores, etc started buying computers not because they were forced but because they wanted to improve their work with speed and efficiency. Computers made things easy for them and their customers. The same goes for AI. You can use it to improve your work and support your customers better.</p><h3>Day 2:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZ857aIHtbwcSmLrqXQy_Q.jpeg" /></figure><p>Day two kicked off with high energy. Highlights included Vipul’s discourse on the evolution of JavaScript tooling in Rails, Aniket’s guide to monitoring Rails apps using open-source tools, and Hiểu Nguyễn’s tips for building a robust MFA framework.</p><p>Manu Janardhanan talked about Async gem and Falcon to execute IO-bound tasks directly with clean, simple, performant, and scalable code. Since his talk was in line with mine (concurrency) I was more interested to hear about his experience working with async.</p><p>Puneet Khuswani shed light on scaling engineering teams, emphasizing maintaining quality and efficiency. Vishwajeet and Ratnadeep then delved into the intricacies of IOT and Rails respectively, rounding off the informative sessions.</p><h3>Sponsors and Swags</h3><p>The sponsor booths were abuzz with activity. Pattern stood out with their distinctive initiative: creating personalized avatars for attendees. Many delightedly shared their quirky avatars on social media.</p><p>From RubyPY, I collected a few treats, including “indoori namkeen” (a spicy snack), a card dispenser, and charger heads. Meanwhile, RailsFactory upheld its tradition of gifting insightful books, a gesture that consistently garners appreciation.</p><h3>Networking</h3><p>Conferences like RubyConf are invaluable for networking. Over the years, many connections made at such events have blossomed into friendships or collaborations for us personally. We always encourage our folks to actively participate in such tech communities; they’re a treasure trove of like-minded professionals and insights.</p><h3>Adios</h3><p>We had an absolute blast this year, just like always. We’re definitely hitting up more of these conferences to hang out and meet even more cool folks. Those two days flew by in the best way. By the time we hit Chennai again, we were feeling pretty stoked.</p><p>Looking forward to participating in more conferences and contributing even more to the community that keeps giving.</p><p>Adios!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21501945c13a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/railsfactory/railsfactory-at-rubyconf-india-2023-21501945c13a">RailsFactory at RubyConf India 2023</a> was originally published in <a href="https://medium.com/railsfactory">Railsfactory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux folks, Ransomware attacks can happen to you too]]></title>
            <link>https://medium.com/hash14-labs/our-acquaintance-with-wannacry-ransomware-two-years-ago-6fd6e2778a46?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fd6e2778a46</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hacked]]></category>
            <category><![CDATA[wannacry]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[ransomware]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Fri, 19 May 2017 11:05:02 GMT</pubDate>
            <atom:updated>2017-05-24T18:27:14.009Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*7gBMi2bMkt9p_mXI2HAaCw.png" /><figcaption>Photo credits: M. Gautham Raj, Minimal Kollywood Posters — <a href="http://lighthouseinsights.in/">http://lighthouseinsights.in</a></figcaption></figure><p>Everyone has been talking about this ‘WannaCry Ransomware’ attack for the past few days. My Facebook TL is filled with links and articles on the same. I was ignoring the news for few days and then people started forwarding text on Whatsapp, funny memes and etc. I finally had to read, just to find out what the fuzz was about.</p><p>That’s when I realised, we have experienced something similar two or three years ago. We didn’t know what it was. But we have solved this for a client. It was on the news this time because it was done on a bigger scale. <a href="https://www.cnet.com/news/wannacry-wannacrypt-uiwix-ransomware-everything-you-need-to-know/">About 200,000 computers in 150 countries have been affected so far.</a></p><h3>The Story</h3><p>One of our long time customers, Varun [name changed] had just started a new e-commerce project with us. They had a magento website which was live and had too many bugs, so we were building a better version of the website using Rails and Spree from scratch. They had around 50 customers placing orders from time to time.</p><p>One day, I got a call from Varun around lunch time.</p><p>“Magesh, our server is down. Something is wrong. Our Magento developer is not available right now. Can you look into this?”, he asked.</p><p>I said yes, got all the credentials from him and ssh’d into his server to find out what went wrong. I saw something we have never seen before. It was weird. All the PHP code files and folders were encrypted (All those files had a .encrypt or similar extension). I tried to open the files but all I saw was random letters, numbers or symbols.</p><p>That’s when we figured, someone has encrypted all the files, making it inaccessible for the web server to load the pages and that is why the website was down. I started thinking of the possibility of someone known to Varun doing this to get back at him for some reason. While I was wondering who could have done something as stupid as this. I saw a README-To-Decrypt file inside the same folder which was not encrypted.</p><p>Now, that’s weird. Why would someone encrypt all the files and leave a manual to help decrypt them. It doesn’t make any sense. I opened the README-To-Decrypt file and laughed. It read:</p><blockquote>If you wish to decrypt all your files, you have to transfer 200$ to this paypal account. some-random@email.com</blockquote><p>What in the world is this? Who is this guy? and why did he hack this server?</p><p>I called Varun and told him about what I saw. “Magesh, we have to solve this immediately. We are getting a lot of calls from customers. Shall I transfer the payment to the hacker?”, he asked.</p><p>I told him, “No Varun. You don’t have to do that. Your server has been hacked because it wasn’t secured. If you have a backup of those code files and the data, I can fix this today.”</p><p>Luckily, Varun had a backup of all the files. It would have been really difficult if he didn’t have the backup. He then sent us all the code files, database backup.</p><p>It was a Virtual Private Server, so we took a backup of all the existing data, erased everything on the drive and re-installed the latest version of the OS. Added a bunch of security settings like disabling root and password login. Adding authorised ssh keys for login and etc. To avoid brute-force attack and unauthorised access. Once that was done, everything was back to normal.</p><p>The problem was:</p><p>Varun had the server set up by a freelancer a few months ago, who apparently, did not care much about the security just like many other developers in our country who ignore such things.</p><p>The unknown hacker used brute-force to find the password for root login and he must have executed a script (ransomware) which automatically encrypts the essential files on the server and holds it like a hostage. Leaving a message asking for a ransom.</p><p>What we experienced might not be WannaCry Ransomware. But it was something similar. People think these Ransomwares can only attack Windows machines. Nope, your Linux machine can also be compromised unless you have all the security settings in place.</p><p>In fact, the server Varun had was a Ubuntu (Linux) Linode instance, which was hacked.</p><p>So, if you are a developer, building softwares for people. You need to think of security as the most important thing. Make sure that no one can hack into your server and even if they manage to do it somehow, make sure the critical data is encrypted and is hard to decrypt. For the safety of your customers.</p><p>Also, make sure you keep a backup of all the files and data somewhere safe on a different machine. If possible have multiple copies. It will come handy when something like this happens.</p><blockquote>At <a href="http://hash14.com/">Hash14</a>, we build amazing web applications, tools and APIs for customers. Solving problems and reducing their everyday work using technology. Have an idea? Let’s talk!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fd6e2778a46" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hash14-labs/our-acquaintance-with-wannacry-ransomware-two-years-ago-6fd6e2778a46">Linux folks, Ransomware attacks can happen to you too</a> was originally published in <a href="https://medium.com/hash14-labs">Hash14</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hiring Web Developers & Content Writers]]></title>
            <link>https://medium.com/hash14-labs/we-are-hiring-web-developers-content-writers-60246293de69?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/60246293de69</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[content-marketing]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Mon, 14 Dec 2015 05:00:06 GMT</pubDate>
            <atom:updated>2015-12-14T15:08:53.280Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*chIWqOvYAOPV_i7VOD8kIg.jpeg" /></figure><p>Interested in working for a startup that solves a lot of complex problems for businesses around the world?</p><p>You will be joining a bunch of passionated technologists who work on their own, learning and building interesting tools or products to help our clients get their tedious everyday work done in the most easy and efficient way possible, using technology.</p><p>We are hiring <strong>Web developers</strong> and <strong>Digital Marketing/Content Writers</strong></p><p>Ruby Web Developers — Apply here: <a href="https://hasjob.co/hash14.com/talkp">https://hasjob.co/hash14.com/talkp</a></p><p>Digital Marketing/Content Intern or part-time — Apply here: <a href="https://hasjob.co/hash14.com/8wva9">https://hasjob.co/hash14.com/8wva9</a></p><p>If you know someone who would fit the requirement please send them the link or let us know.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60246293de69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hash14-labs/we-are-hiring-web-developers-content-writers-60246293de69">Hiring Web Developers &amp; Content Writers</a> was originally published in <a href="https://medium.com/hash14-labs">Hash14</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We are Hash14 Now]]></title>
            <link>https://medium.com/hash14-labs/we-are-hash14-now-73f56fc07a06?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/73f56fc07a06</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[outsourcing]]></category>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Tue, 10 Nov 2015 17:35:21 GMT</pubDate>
            <atom:updated>2015-11-10T18:50:20.147Z</atom:updated>
            <content:encoded><![CDATA[<p>Yes, We have got a new name and a little make over. Do you like it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PU6-tTC-FVzJn9ho3nn9bQ.png" /></figure><p>We bootstrapped this <a href="http://hash14.com/">little startup</a> of ours with zero investment two years ago. Since i had no prior experience running a business i wanted to give it a shot and understand everything about this business, being a technology consultant, building products for clients and helping them scale to large user base. Over the last two years we have learnt so much that we now have started advising young and early stage startups (our clients) on how to go about building their product and making it a success.</p><p>We have done a lot of experiments in the past and learnt things the hard way — and now we are planning to raise the bar a little bit more. We’re rebranding, moving into a better office, hiring more developers and executing things in a much better way. To provide an even more better service for our customers.</p><p>When we started out first, we decided to do what we know best, building products. Though there a lot of people and company that are into technology consulting, very few are capable of doing it the best. They either lack the quality or the commitment. Well, that’s what we want to change.</p><p>We want to make outsourcing of technology painless and easy for startups and small companies. Well, if you ask our clients they will tell you about our work and the kind of support they get. Making outsourcing painless is one thing and the other is, to build error-less and high quality products. We’ve been doing that for the last two years and now we are getting even better.</p><p>We hope to expand our clientele much faster this year. Building amazing products and making it big. Wish us good luck and watch this space for more updates. Thank you.</p><p>Also, give us a hi5 if you like the new name and logo :)</p><p>Checkout our new website <a href="http://hash14.com/">http://hash14.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73f56fc07a06" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hash14-labs/we-are-hash14-now-73f56fc07a06">We are Hash14 Now</a> was originally published in <a href="https://medium.com/hash14-labs">Hash14</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Startup Life - My shopo days]]></title>
            <link>https://imagesh.medium.com/startup-life-my-shopo-days-fc9159490376?source=rss-a6597114fa7c------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc9159490376</guid>
            <dc:creator><![CDATA[Magesh]]></dc:creator>
            <pubDate>Sat, 06 Jul 2013 03:59:58 GMT</pubDate>
            <atom:updated>2014-06-15T15:49:13.064Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Ha7PK5TSec6YIbF0.jpeg" /><figcaption>Shopo Office in thiruvanmyur</figcaption></figure><p>(<strong>Note</strong>: I wrote this post for <a href="http://twitter.com/samyu_d">Samyuktha’s</a> StoryboardDay <a href="http://storyboarddays.wordpress.com/2013/03/26/magesh-sadhasivapandiansoftware-engineerchennai">Blog</a> in March 2013 when i was working for shopo.)</p><p>Few months back an incident happened, someone tried to rob our house early in the morning at around 2 AM but to their surprise, I was awake working.Noticing this,the thief ran away. Again few days later the same thing happened, this time those thieves came at around 3 AM thinking,I would have slept by then but surprise surprise, I was working. They made some 2-3 theft attempts and every time the lights would be on and I would be awake working.</p><p>Those thieves must have thought that I am some kind of an in-house night watchman,so they never came back. No such attempts were made after that, thanks to the in-house night watchman Me So that’s how my life goes, like a nocturnal animal. My nights are usually longer than the days, by the time I wake up half of the day would have gone past. So being a night person (or should i say owl?) let me start with how the hours roll by at night.</p><p>I get back home from office normally at around 7:30 pm, reaching home I usually have a cup of tea and play with my two year old little nephew for sometime. Then I switch on the wi-fi to check whatsapp messages, tweets, instagram photos and other social updates. After that, i spend about 30-60 mins reading books, I am currently reading ‘ReWork’ by Jason Fried &amp; DHH.</p><p>I prefer reading ‘startup’ and tech books mostly. While i read, the little boy at home would be running around shouting and pulling my shirt, sometimes he would stop by to ask Why am i talking to the book? Sometimes I read the book out loud that he thinks I am talking to the book.</p><p>I watch a couple of Friends episodes, to relax and usually around then my mom would yell calling us for dinner. After dinner, I talk to dad,mom and sister about what’s happening in the family and office. Sometimes dad and I debate about random topics like politics, love, religion or god which will go on for hours.I wrap up the day with some work if there’s any, pushing code to github or deploying something on the production server.</p><p>So that’s what happens on a normal evening, and on special days when we have an important launch or something, everything changes. No reading and no sitcoms, instead I spend some time with little nephew and get back to work. During a launch, work goes on till 3 AM , otherwise I go to bed at around 1 or 2 (Got used to sleeping late). Most of the times while going to bed, i plug-in the ear phones,and would quickly fall asleep listening to some nice melodies..</p><p>About my morning life, i have always dreamt about getting up early in the morning at 6, go jogging on the sea shore and spend some time meditating, get back home around 7:30 to grab a cup of coffee or tea. But damn, that never happens..</p><p>What do I actually do in the morning? hmm.. “Morning? have you ever seen it?”, that’s my mom shouting from the kitchen. Well, I wake up at around 8:30 or 9 in the morning, watch some funny videos (yes, again Friends episodes) to start the day with some positive vibes.I don’t have the habit of reading news papers/magazines instead I check my twitter feeds to see what’s going in the world. I also spend some time reading startup/tech. articles on popular blogs like techcrunch, hackers news and yourstory. Later,I check the official emails and reply to the important ones. Then I slowly get ready, have brunch and go to office which is very close to my house.</p><p>By the time I reach office, people would have accumulated 5-10 bugs for me to fix, and as soon as I enter the office they would welcome me with all the love and affection (Sometimes they even sing songs to welcome me). I straight away get to work by fixing bugs raised by customers or sellers and reply to emails. Usual things that a tech guy does at office, nothing new.</p><p>I love the work culture at Shopo. I can work from office or home or anywhere i’m comfortable , but the main thing that matters to us is meeting deadlines, we make sure that things get done before the agreed deadline. Most of the times i go to office and work, and sometimes work from home.</p><p>There’s another interesting thing, our office doesn’t have a corporate set-up with cubicles and other things that induces stress in you automatically, instead we work out of a beautiful house in Thiruvanmiyur, not so far from the beach (pretty close actually). So work is always fun at office, we pull each others leg and have fun between work, we also listen to music while working and sometimes we play fun games as well.</p><p>Soon after the games, everyone would get back to whatever work they were doing earlier, and the room becomes silent, hours would pass and after sometime people would start yawning one by one during that post luch period, and that’s when inji tea (ginger tea) comes to the rescue, We all take a walk to the nearby tea kadai(tea stall) and have this amazing inji tea that refreshes the brain and makes you active. While sipping the tea, we gossip about start-ups, love stories and more.</p><p>Then we walk back to office to continue work, if someone comes up with a new idea, a discussion would begin where we all share our thoughts and contemplate to see if it might actually help improve the business. That’s another advantage of working for a startup, you get to hear about many things from technology to sales and marketing which is not possible in big companies. So we discuss for sometime, bounce ideas and get back to work again.I work on some new features, writing code and once in a while switch to bug-fix mode.</p><p>Once in few days I go out with my office friends, last week we all went to the nearby KFC to stuff our face with some yummy crispy chicken, and last month we all went to the nearby theatre to watch “Vishwaroopam”. Having a little fun outside work helps us keep up the excitement, otherwise we’d get bored of the routine.</p><p>And as the day comes to an end,I leave office at around 7 pm, sometimes I stay at office till 8 or 9 pm that would happen mostly during an important launch, there was one time when all of us in the tech. team were staying up all night to launch Shopo version 2 (revamp), we were awake coding all night without food (seriously!) and time was zipping past, by the time we could fix all the bugs and deploy the new version it was 5 AM in the morning, and again there were few more changes to be done, finished them quickly and went back home at around 6 AM to get some sleep. Work is always interesting because we all work out of deep passion, there’s no stress or people micro managing you.</p><p>So this is the routine I follow. It’s fun and satisfying but the only problem working for startup is, its hard to get sometime to go out &amp; find a girlfriend for yourself or to find time for a date in case you already have a girl friend. In that case your laptop becomes the girlfriend, come home late night and you’ll hear my mom yelling at me, “Why are you sitting with that laptop all the time?”, “You stare into that laptop all the time at office and even after reaching home why do you want to do the same?”, “Why are you up late night, can’t you get some sleep? its 3AM already!”</p><p>And for that I would reply, “Ok mom, i was just going to shut down the laptop and hit the bed, okay! i’m going now..”, i hit the bed and after a while mom would yell again, “Now what the hell are you doing with that phone?”. I don’t know why but putting myself to sleep every night is so hard, as if the world would end if I go to sleep.</p><p>And during weekends when I am not working or sleeping, i attend start-up and tech events that happens in Chennai. I often go to the Chennai Geeks monthly meetings, would participate in hackathons. Otherwise, I spend some time tweeting or hanging out at the nearby Thiruvanmiyur beach or I chill at some mall or theater with friends or family.</p><p>So there is fun, work, and lot of start-up lessons filled in my everyday life</p><blockquote>”Big thanks to my colleague and friend Magesh(I call him Thambu) for writing this post.This very talented guy does some brilliant work for Shopo. He is a little shy, but has over 2000 followers on Twitter! you can follow him <a href="http://twitter.com/iMagesh">here</a>” - Samyuktha</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc9159490376" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>