22 May 2013

The Ruby Reflector

Topic

MySQL

  Source Favicon
By Leigh Shevchik of New Relic 21 days ago.
Email

* Percona is offering two intensive MySQL workshops the week of May 20 in San Francisco, CA . Join them and increase your MySQL knowledge as you learn from Percona experts.

* Register for HP Discover 2013 in Las Vegas, the ultimate showcase technology event for business and IT professionals to learn, connect and grow.

Our partner ecosystem continues to grow! Learn more about our latest partners:

* Keep your team connected and communicating in one place. …

newrelic.com Read
  Source Favicon
By Todd Hoff of High Scalability over 1 year ago.
Email

Mark Callaghan ( Facebook Engineer): "You can tune # MySQL to perform very fast per node if you know what you're doing."

Jesper Nordenberg : Java is good at hiding the real complexities of programming and introducing incidental ones.

@ markimbriaco : It's true, I'm a hardware nerd. I love servers, not gonna lie.

I see a lot of people comming out of the server closet these days ( Kyle Brandt ). Be proud!

Possibly …

highscalability.com Read
  Source Favicon
By Ilya Grigorik of igvita.com over 2 years ago.
Email

If all is well, launch your mysql CLI, and do a "show processlist" to see the open HandlerSocket connections. Now, if you are curious, you can telnet directly to the read or write port and issue some queries , or pick one of the existing clients ( PHP, Java, Python, Node.js, Ruby) and do it from the comfort of your favorite language.

Ruby & HandlerSocket

HandlerSocket ships with a C++ library ( libhsclient ) for which there are …

igvita.com Read
  Source Favicon
By Klampaeckel of till's blog 1 month ago.
Email

PHP applications are developed on a single host — Apache, PHP and MySQL on localhost. With Vagrant it becomes surprisingly easy to mimic production.

Not to say that I have to run 20 virtual machines to copy my cluster of application servers, but it's perfectly acceptable to set up an environment with four VMs where one is a loadbalancer, two are application servers and then a database server.

Networking and port forwards

Unless you regulary let others use your VMs, don't …

till.klampaeckel.de Read
  Source Favicon
By Julian Dunn of Opscode Blog 1 month ago.
Email

…already familiar, the setup and configuration of a LAMP ( Linux, Apache, MySQL and PHP) stack. Ewart shows how the installation and maintenance of this stack can be automated using Chef and out-of-the-box community cookbooks, downloaded directly from Opscode's community site at community.opscode.com . He then delves more into detail, talking about Chef's other concepts (roles and environments), and also discusses data bags, which can hold global data about an entire …

opscode.com Read
  Source Favicon
By Sharad Jain of » Product Launch Blog over 2 years ago.
Email

Prior to bundler, this is what you would do on snow-leopard to install mysql: $ sudo env ARCHFLAGS= "-arch x86_64" gem install mysql -- --with-mysql- config= /usr/ local /mysql/bin/mysql_config

With bundler, there is no command line option that I could find that I can pass to "bundle install" command. Having been in the loop around bundler, I knew that such OS specific options don't go in Gemfile and have to be specified in user specific files such as …

pathf.com Read
  Source Favicon
By Peter Cooper of Ruby Inside 3 years ago.
Email

Support for popular extensions including sqlite3-ruby, mysql, Nokogiri, yajl-ruby (and the obligatory "much, much more.")

Integrated profiler

JIT compilation (a la JRuby) for über-performance

It doesn't work on Windows (yet)

The How: Getting Rubinius 1.0 Running

Sorry to sound like a broken record but.. the best way to get Rubinius 1.0 running is to use Wayne E Seguin's RVM ( Ruby Version Manager)! RVM has already been updated to support …

rubyinside.com Read
  Source Favicon
By Assaf of Labnotes 1 month ago.
Email

…understanding and communicating relationships in data . Supports PostgreSQL, MySQL, SQLite, Redis, and MongoDB out-of-the-box.

§ Times Haiku, a collection of Haiku found in The New York Times . Love this one :

As an engineer,

I'm sort of a student of

how things fall apart.

§ Eric Bogs :

If Tetris has taught me anything, it is that errors pile up and accomplishments disappear.

§ Rich Rogers :

"A good programmer …

blog.labnotes.org Read
  Source Favicon
On for i in infinity over 3 years ago.
Email

I am starting a series of posts dealing with blockers at work. Here is the first one using gem bundler on Snow Leopard and mysql Mac OS X 10.5 (x86_64) version.

Command: [source:ruby] rake db:create [/source]

Error: [source:ruby] rake aborted! uninitialized constant MysqlCompat:: MysqlRes [/source]

Solution: Compile the bundled mysql gem with correct options. That is, locate your mysql_config and create a ...

anup.info Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 1 month ago.
Email

Week of March 25 - March 31, 2013

As of 336b3767 the PostgreSQL point type maps to a Ruby array of floats.

9600e0b0 adds support for MySQL FULLTEXT and SPATIAL indexes.

afreshcup.com Read