Are you a developer?
Do you have Ruby on Rails installed - anywhere?
DO THIS NOW!!!!
- Open a terminal
- Type in this:
gem update rails
After reading this article, I ran around to all my everyday machines and made sure I was up to date. The scariest part for me was this:
To keep tabs on the situation, check in at the official Ruby on Rails blog.
Over the past month, I’ve invested in some new hardware. In order to keep a consistent development workflow, I had the opportunity to install RoR on Windows 8, Mac Mountain Lion, and Ubuntu.
If you are on Windows or Mac the first thing you should do is visit RailsInstaller.org. This is a great project by EngineYard. On windows this will install the following:
- Ruby 1.9.3-p125
- Rails 3.2
- Bundler 1.0.18
- Git 1.7.6
- Sqlite 3.7.3
- TinyTDS 0.4.5
- SQL Server support 3.3.3
On Mac you will get:
- Ruby 1.9.3-p194
- Rails 3.2.7
- Git 22.214.171.124
- Sqlite 3070500
- osx-gcc-installer 4.1
- JewelryBox 1.3.0
- RVM 1.14.2
- SM 0.10.3
Command Line Install
When it came time for my Ubuntu install, I couldn’t find any Linux packages that were as convenient as the Windows and Mac installers. However, I did find these instructions here.
This great write up worked well for my Ubuntu12.04 desktop. Bonus! Since it is a command line install, this write up works for your headless Ubuntu servers too! I should note that Digital Ocean is a company that provides competitively priced virtual private servers.
I took a look at my sweet custom built server and decided that I was underutilizing my resources. I could be doing so many more cool things with 16GB of RAM and a quad-core CPU.
After looking around at free and open source solutions for virtualization, I decided to dedicate the hardware to Proxmox. Proxmox is an opensource KVM hypervisor that is fully administered through a browser window. Check it out here.
Things had been going really well with my Mac and administering VMs in Proxmox. However, I was having trouble in Linux. In both Ubuntu 12.01 and LinuxMint 13, I couldn’t keep a Proxmox window open without crashing the browser.
It turns out that Proxmox uses a Java appelet to serve up a VNC connection to the VM desktops. On a Mac, you need to install the Java plugin yourself and you generally get it straight from Oracle. However, on Ubuntu and Mint OpenJDK is pre-installed.
This is a nice feature to make the distros a bit more user friendly out of the box. However, OpenJDK and Proxmox did not get along well.
The solution ended up being to uninstall all instances of OpenJDK and IcedTea. Then I followed these instructions to install the proper version of Java7 from Oracle. FYI - the instructions are a bit easier (add a ppa and then apt-get install) than the instructions on the Java site (manual download, unzip, copy and more).
I found this while poking around on t.msn.com. FYI - that site only was reachable from IE on my Windows 8 VM.
<meta name="application-name" content="MSN for Windows 8"/>
<meta name="msapplication-TileColor" content="#007eb0"/>
<meta name="msapplication-TileImage" content="/content/images/MSNButterfly.png"/>
This looks like specific code for putting a webapp into the start menu in the Windows 8 Modern UI.
Windows 8 was just released and I was recently able to get my hands on a copy. Here are some thoughts on what sys admins and technical support staff will need to deal with as organizations transition to the next Windows operating system.
Yes. Microsoft has designed most of the OS level interactions to be touch based. In fact, every device (including phones, tablets, notebooks, and desktops) sold in the retail Microsoft stores has a touch screen. Instead of questioning the wisdom of this decision, lets just dealt with the real question: How to accomplish the OS level interactions with only a mouse?
Start - The start button is gone. However, a swipe from the top of the screen straight down the middle of the screen will get you the “modern” UI version of the start menu. To access this with just a mouse, you will have to put your mouse in the lower left hand corner, wait for the start icon to appear, DON’T MOVE, then click. Your reflex to move over the icon will be strong. When you move to hover your cursor over the icon; it will disappear. Resist the urge!
Settings - Many different hardware interactions that existed on the Vista and Win7 start menus are missing from the “modern” start UI. All settings, device properties, search, and sharing have been moved to the… (sigh) ‘charms’ bar. The charms bar is normally accessed by swiping in from the right side of the screen into the desktop. With only a mouse, you will need to move your mouse into the upper right hand corner and then move straight down when the bar moves out from hiding.
Minimized Programs - In Vista, windows introduced aero with the ability to hover over minimized programs in the bottom task bar and see a miniaturized version of the window. These programs have been moved to the left side of the screen and they are now hidden. To view running or minimized programs, use a swipe in from the left side of the screen into the middle of the desktop. With only a mouse, this is done by moving your mouse to the upper left hand corner of the screen. This will reveal a portion of a rectangle. Moving your mouse over these shapes will reveal the mini representation of the window.
For fearless and intuitive users, knowing those locations will help you to get through most everyday tasks and 80% of administrative tasks. More casual users will need some guidance and perhaps even training to regain their comfort level and productivity.
Where is the (fill in the blank) ?
Easy answer? It’s in there somewhere…
This is confusing and is likely to leave even the most seasoned techs and super users extremely frustrated.
After about 8 hours of testing, I’m now able to reliably find the old control panel. One important thing to understand is that the Settings Menu can deal with two different types of settings: (1)settings in the legacy style for desktop and (2) settings that relate specifically to the Modern UI.
If you are looking at your desktop, you should be able to summon the ‘charms’ bar and click on “Settings”. The menu that opens up will have the Control Panel listed near the top.
If you are in a Metro app or at the Modern UI start screen, summoning the ‘charms’ bar and clicking on “Settings” will only get you Settings that relate to the “Modern” UI.
The desktop as it is presented in Windows 95 through Windows 7 is still present, albeit without a start button. If you need to find your way back to familiar territory, the desktop is a large tile in the new start menu.
The selections for restart or shutdown are no longer part of the start menu. You can find shutdown in the Settings portion of the ‘charms’ bar. Unlike the Control Panel, it is persistent through both the desktop settings and the “Modern” UI settings.
I recently had to hack through a server and Wordpress to get permalinks to look good and function. Here’s my solution;
Found this answer on Stackoverflow:
add this and remove any non-specific rewrite rules:
try_files $uri $uri/ /index.php;
The only thing missing was where to put that line of code. This post pointed me to insert that line before the first location declaration.
Once I did that, then I restarted the Nginx daemon with:
sudo service nginx restart
The I went into the permalinks section of the Wordpress installation. The permalink setting I like is the “Post Name” setting. Choosing that radio button sets the url structure as:
Unfortunately this setting still returns 404’s when you enter the structure of the site. I then chose the “Custom Structure” radio button and deleted the index section of the structure to get:
Then you get happy pretty urls!
This very helpful article shows how you can make iOS6 maps better (so it works when I finally get around to installing it).
I am currently preparing to give a talk at the Ohio LinuxFest on September 29, 2012. I was thrilled to be invited! I’ll be talking about Amahi - Powerful, Simple, Home Server.
I have played with several different presentation programs. I was most familiar with Power Point and have been impressed with the ease of use of Keynote in both desktop and mobile versions. However, since this was a Linux conference, I committed myself to using LibreOffice Impress.
As I wrapped up the creation of my presentation and started rehearsing my talk, I found myself wanting a notes view. This is a view that gives the presenter a view that includes notes, a timer, a clock and sometimes a view of the current and next slides. I had found this in PowerPoint and found the notes view in Keynote presenter remote on my iPhone to be really convenient.
Creating slides in Impress was much the same as in PowerPoint and Keynote. However I had a very difficult time finding the notes view for LibreOffice.
Here is my solution:
1 - Download the Presenter Console Extension
Many sites instructed me to download the Presenter Console Extension and then enable it in Libre Office. I could not find the extension at the LibreOffice extension site. It turns out that the extension is still an Oracle product. If you aren’t familiar with the split from OpenOffice to LibreOffice, you can read about it here. Long story short - the download link above takes you to the Oracle site, not LibreOffice.
2 - Enable the extension in LibreOffice
From the top toolbar: [Tools > Extension manager]
3 - Use Multiple Screens
If you are practicing your presentation using only your computer, you will not be able to see the presenter console. You need to have a second monitor connected to your computer and enable that monitor as a second screen (NOT mirrored displays).
I recently found an article on the NY Daily News in my rss feed. When I clicked through to the site on my phone, I found a decent website and simple mobile ad at the bottom of the screen.
I like several things about this ad.
- It’s simple.
- It doesn’t take up a lot of screen space.
- It’s interactive and dismiss-able.
The last two points are of particular importance. From a users point of view, I appreciate the ability to make the ad go away. From an advertiser’s point of view, the ability to dismiss the ad is a way to give the user incentive to look ad the ad. As long as the ads stay small, this seems to be a tolerable mobile advertising solution.
Usually this blog contains tech related information. However, I had an experience on vacation that is worth sharing…
One calm morning, I took my daughter and her cousin out on a canoe ride. First we all put our life jackets on. Next, the girls listened patiently as I explained canoe safety and paddling.
Then we set out to put the canoe in the water. There was about 60 yards and a flight of stairs between us and the water. If you have ever tried to carry a five person aluminum canoe, you know that this can be a difficult task. You should also know that the girls were ages 7 and 11 and their weight combined was probably the same as the boat.
We tried to lift a little and drag the canoe to the water, but the grass beneath us was impeding progress. So we all lifted the canoe and shuffled ten steps - then rested. Then we repeated the process. It was a chore, and we looked like we were struggling.
A couple aunts and uncles stepped in and offered assistance. I waved them off and without thinking said “If these girls want to go on a canoe ride, we will get the boat to the water ourselves.” This off-hand remark carried more weight than I thought it would.
We had a nice boat ride and returned to the shore. I mentioned to the girls that we had to put our oars, life jackets, and the boat away before doing anything else. I lifted the boat back up to the level of the lawn and needed to wash the sand off of my head before helping the girls carry the boat back to its resting place. I walked back to the lake and rinsed the sand off my arms and head and went back to assist in carrying the boat.
By the time I got back, two little girls, who weighed approximately as much as the boat, had gotten the boat 90% of the way back to where we started! I was startled. Had they really done it? There was no body else around…
I learned a lesson that morning. If you set your standards and expectations high, you may struggle to achieve your goal. But, the act of setting that seemingly unachievable goal puts it into the realm of possibility. Those two little girls did something really difficult that morning and taught me something in the process - without even trying.