Minecraft on Mountain Lion

If you get the error message that Minecraft is damaged after you download it, do the following:

1. Open System Preferences
2. Choose Security & Privacy
3. Click the lock to make changes
4. Change the setting “Allow Applications downloaded from” to Anywhere

Minecraft should now work on Mountain Lion (Mac OS X 10.8)

Removing Press popup from Marietta Daily Journal Online (www.mdjonline.com)

  1. Download the zip from here.
  2. Open up Google Chrome. If you don’t use it, you should. It’s free!
  3. Click on the wrench (or if you have an updated Chrome version, the 3 lines) on the top right hand corner, and goto Settings
  4. Switch to the Extensions tab.
  5. Unzip the zip you downloaded earlier
  6. Drag mdjonline.user.js to the extensions window
  7. Reload any article on mdjonline.com, and it should be popup free!

This doesn’t hack their servers or anything.. they use 2 divs, one that makes it grey, and one with the popup content. This just automates removing those divs.

UPDATE

You can use this script to remove from any website that uses Press+. Just edit the script before installing it to have the URL of the website. If you know a website that uses it, leave it in the comments, and I’ll update the script to include that site. Until Press+ comes up with a better solution to their problem, I’ll keep exploiting and updating this workaround.

MySQL Server Changes

I’m migrating MySQL from a standalone instance to running on Rackspace’s Cloud Database product. This change will happen over time. Expect your site to be moved over. This does mean a host name change. Customers who need the new host name will get it. Username and passwords should be the same. You can access phpMyAdmin at the same place. Just choose “Reaktix Cloud – MySql 1″ for the new server, and “Reaktix Cloud   – Standalone” for the old server.

Entity Framework 4.3 with Code First

So today was my first day trying out Entity Framework’s Code First mechanism. I have to say, I actually like it. Some notes for other people getting started with it:

  • The easiest way to get started is to use “convention over configuration”
  • For entity classes, they should be a POCO. For your ID field, it should be the name of the class with “ID” appended. If the entity class is “TestEntity“, your ID field should be “TestEntityID“.
  • When creating the DbSet<T> getting in your DbContext subclass, name the getter the same as the database table name. For instance, if your database table is named TestEntities, and it corresponds to the entity TestEntity, your getter should be something like public DbSet<TestEntity> TestEntities { get; set; }
  • Name your DbContext subclass the same as your connectionString in your App.config / Web.config file. For instance, if your DbContext subclass is TestDataContext, name your connection string TestDataContext as well, for instance like: <add name=”TestDataContext” connectionString=”Data Source=.;Database=TestEntityFrameworkDatabase;Integrated Security=true;” providerName=”System.Data.SqlClient”/>

Makes it nice and easy. No other configuration needed in code or any config files. No database metadata files, etc…

Server Upgrades…

All of the Linux Reaktix Cloud servers are now running Ubuntu 12.04 Precise Penguin.

Some highlights:

  • Apache 2.2.22
  • PHP 5.3.10
  • MySQL 5.5.22
  • phpMyAdmin 3.4.10.1

Our platform stack also includes Python 2.7, Ruby 1.9, and Mongo 2.0. Reaktix also has Windows Server 2008 R2 with .NET Framework 2.0 available. Interested in using our cloud hosting offering? Let us know! We’re a fully managed hosting provider, you just provide the content. We can even do the development for you as well.

 

Flash’s transition from web development to app development

So, it appears that Adobe is transitioning Flash from a tool used by web developers to a tool for app developers. With Adobe AIR, you can build from a single source code, an app that runs on the desktop, iPhone, iPad, Kindle Fire, Blackberry Playbook, Windows 8 Metro, Android phone, etc…

Very few other technologies come close (.NET/Mono can be used to build it with mostly the same code base, with a different UI layer)

The future of app development will be interesting.

A day in the life of a geek.