Writings
Jay n’ Mike’s Rules of Acquisition
My programming partner and I have been working for quite some time on some large projects, and we have come up with a basic list of rules that apply to startup computer businesses, from software development to software sales. You have to pay – Nothing in life is free, someone is always paying for it, [...]
Posted in: Computer Science, Information, Tips and Tricks, Topics, Uncategorized, Writings | No Comments »
Qt C++: Threaded Communication with Artema Hybrid on Linux
Communicating with an Artema Hybrid CC Payment device is actually deceptively simple. I’ve written an application what uses a webkit widget exclusively for the UI display, and so I hook into the Javascript to provide some extra functionality to the app, in this case, reading and writing to/from the Artema Hybrid device. The documentation that [...]
Tags: C++, C/C++, HowTo, QT, Tips and Tricks
Posted in: c/C++, C/C++ Programming, Computer Science, Javascript Tutorials, Linux, OOP, Qt, Tips and Tricks, Topics, Tutorials | No Comments »
A Letter to the Creators of EVE
A Response to CCP Hellmar’s Letter. The estrangement from CCP that many of you have been feeling of late is my fault, and for that I am truly sorry. There are many contributing factors, but in the end it is I who must shoulder the responsibility for much of what has happened. I appreciate both [...]
Posted in: Computer Science, Game Reviews, Information, Reviews and Rants, Writings | No Comments »
Fear and Loathing On Tranquility
There’s a general tendency in the world to cruelty and sadism, a kind of malaise that affects the hearts and minds of those who for all intents and purposes appear to be normal human beings. You never know who they are in your daily life, but they exist, some are called sociopaths, others psychopaths, but [...]
Posted in: Game Reviews, Information, Reviews and Rants, Writings | No Comments »
Rails 3 – PHP Style Global Variables, $_SESSION, $_GET, $_POST in the models, and everywhere.
PHP Globals in Rails 3 So, as part of my slow descent into hell for even showing this stuff, I thought I would make a quick and dirty post about getting PHP like globals into your models in Rails. I wrote a longer article about globals in the model in rails which you can check [...]
Posted in: Computer Science, PHP Tutorials, PHP/MySQL, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Tutorials | No Comments »
Apache2/MySQL on Ubuntu Configuration
Once you’ve installed apache2 and mysql on your server, you might want to try these configuration changes to make it perform a bit better: In /etc/mysql/my.cnf key_buffer = 16K max_allowed_packet = 1M thread_stack = 64K table_cache = 4 sort_buffer = 64K net_buffer_length = 2K And in Apache2′s config, /etc/apache2/apache2.conf, find the section for MPM prefork [...]
Posted in: General Computing, Linux, MySQL, PHP/MySQL, Tips and Tricks, Topics, Tutorials, Writings | No Comments »
Never Again! Backing up your rails .sqlite3 dbs
Well, with mysql, it’s pretty hard to overwrite your dbs, but with sqlite, it’s real easy. I did this, luckily I only lost about a days worth of work, but nevertheless, I have instituted a new rule for sqlite3 dbs: Hourly backups. Here’s the script: #!/bin/sh D=`date +%H` cp -f /var/www/app/db/production.sqlite3 /var/www/fapp/db/production.sqlite3.bak.$D Related Posts:Rails will_paginate [...]
Tags: Backups, Rails, Ruby on Rails, Shell Scripting, Sqlite3
Posted in: Computer Science, General Computing, Linux, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Tutorials, Uncategorized, Writings | No Comments »
Deploy Ruby on Rails to the Desktop (Ubuntu), as a Debian Package
Introduction to deploying Rails Applications to the Desktop Some things you’ll learn in this series of articles: How to distribute a Rails App to an Ubuntu Desktop How to Compile a custom Ruby installation to avoid conflicting with an existing Ruby install Get automatic updates to all users for free by virtue of being a [...]
Posted in: C/C++ Programming, Computer Science, General Computing, Ruby on Rails, Tutorials, Writings | 1 Comment »
Fuck Kindle and Amazon
So a few months ago I bought a Kindle, and was right on the edge of Kindle evangelism, until today. From this point on, all I have to say about Kindle, is fuck you, and fuck Amazon too. I went to amazon.com searching for a book, and for the first time ever, I got this [...]
Tags: Rant
Posted in: Reviews and Rants, Writings | 1 Comment »
Love Ruby, Hate Rails, but still use it — or Ruby vs PHP
Okay, that title was a bit extreme, I don’t really hate Rails. I don’t get why people feel the need to be so completely polarized about a framework, or a language. It’s either the best thing since sliced bread, or the worst, and nowhere in between. Still, most developers who aren’t Ruby purists, can tend [...]
Tags: PHP, RoR, Ruby, Ruby on R
Posted in: Computer Science, PHP/MySQL, Ruby on Rails, Topics, Web Design, Writings | 6 Comments »
