Skip to content

Alecslupu

Be Linux!

Menu
  • Curriculum Vitae
  • Who am I
  • Open Source
  • Contact
  • Blog
    • Programming
      • Ruby On Rails
      • Javascript – Client Side
      • PHP
    • Machine Learning
    • Database Engines
      • Mysql
        • Optimisations
      • Server
      • MongoDB
      • Search Engines
        • Sphinx Search
  • Privacy

Category: Programming

Instrumenting Trailblazer Cells::Rails

September 12, 2020
Database Engines, Ruby On Rails

In a recent project i am involved in, i had to perform some optimization regarding the overall application response time, […]

Read more →

Rails: Use JSON to serialize model attributes

April 1, 2015
Database Engines, Ruby On Rails

Scalling a Rails application’s response is often done by using another programming language. As we might know, Twitter has started […]

Read more →

Exposing serialised fields – meta programming way

March 30, 2015
Programming, Ruby On Rails

class SomeClass < ActiveRecord::Base belongs_to :user def self.serialize(attr_name, class_name = Object, exposed_fields = []) super(attr_name, class_name) serialized_attr_accessor attr_name, exposed_fields end […]

Read more →

Romanian Phone Number validator

July 29, 2014
Javascript - Client Side

Recently i had to implement a Romanian Phone Number validator… and i have managed to implement it as a method […]

Read more →

sphinx mysql command line

May 14, 2014
Mysql, Programming, Sphinx Search

I’ve been searched for a method on how to work using sphinx from console, I needed to access the interface in order […]

Read more →

Horizontal scaling using Db Charmer

January 29, 2014
Optimisations, Programming, Ruby On Rails, Server

I was looking for a way to scale horizontally a Ruby on Rails application, and i have tried several methods […]

Read more →

How to use aggressive file caching

November 27, 2013
PHP, Server

Recently I have observed that one of my servers took long time to respond to users. After an investigation I […]

Read more →

How to reduce code duplication

March 28, 2013
Programming, Ruby On Rails

By using Ruby or Pyton you might know about the fact that both are dynamically typed, as a result a […]

Read more →

How to implement Enum Fields in your Ruby on Rails models

February 3, 2013
Programming, Ruby On Rails

If you reached this page, it might be because you have searched how the hell you could create an enum […]

Read more →

Categories

  • Database Engines
  • Javascript – Client Side
  • MongoDB
  • Mysql
  • Optimisations
  • PHP
  • Programming
  • Ruby On Rails
  • Server
  • Sphinx Search

Archives

  • September 2020
  • April 2015
  • March 2015
  • December 2014
  • July 2014
  • May 2014
  • January 2014
  • November 2013
  • July 2013
  • March 2013
  • February 2013
Alecslupu - Proudly Powered by WordPress
Theme by Grace Themes