I recently started to play around with Pentaho again for a side project at work and found that it was crashing whenever I tried to edit the database connection details. After doing a number of searches, I came across this Jira ticket in Pentaho. The gist of it is that El Capitan is not officially supported and causes Data Integration to crash. Fortunately there’s a fix out there that seems to work.
- I travel to work daily on local public transit
- I travel weekly to out of town for day trips and sometimes overnight trips
- I travel yearly for vacation
I decided to downgrade my computer from Windows 10 to Windows 8 today and was unable to re-install Windows 8 initially. Whenever I tried to install Windows 8, I kept running into the issue where I got the following error “We couldn’t create a new partition or locate an existing one. For more information, see the Setup log files.” After banging my head for a while, I came across a number of articles including this one which I took the steps from.
- Remove all drives from the computer. This includes hard disks, usb disks and also any PCI-E disks you might have
- Reboot the PC with the Win 8 CD in and select repair
- Head over to the advanced tools option
- Once in the command prompt Type the following:
DISKPART LIST DISK SELECT DISK <whatever disk number you have> CLEAN CREATE PARTITION PRIMARY ACTIVE FORMAT FS=NTFS QUICK ASSIGN LETTER=<whatever disk letter you want it to be>
- Repeat the steps above for all other Hard Disks present but don’t make any other disks active
- Reboot and start the installation again
I think I ran into this issue primarily because I also dual boot my machine between Ubuntu and Windows and Windows 8 doesn’t seem to like seeing a GRUB partition in existence.
This works with Windows 8
The easiest way to get the latest version of Ansible consistently is to not depend on the OS repositories (i.e. homebrew or apt) but rather through PIP.
Install the development tools
sudo apt-get install python-dev python-setuptools build-essentials
With that install, you should get easy_install as well
sudo easy_install pip
Now with PIP installed, you can quickly install Ansible
sudo pip install ansible
I found that I needed to install python-dev and build-essentials to compile any of the necessary files
Hope this helps!
While we’ve been using Ansible for almost a year at Kinetic Cafe, I’ve been spending a lot more time with it at a personal level. A big part of it is that I tend to really like being familiar with the tools that my team uses at work and the other is because I actually have a lot of home and cloud servers running because I tend to like being familiar with the tools that the team uses at work. Ansible’s strength stems from the idea that you can ssh to a server and perform a series of tasks based on modules already built for you. At it’s core are concepts like inventories, roles, handlers, dependencies and variables but then allows users to use it in many different ways within that structure. However, this flexibility lead to chaos when I started to use it so I took some time organizing Ansible in a meaningful way for my home infrastructure.
I decided to run a bundle update on one of my core projects today and lo and behold, I received the following error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /Users/kelvin/.rbenv/versions/2.2.0/bin/ruby -r ./siteconf20150415-9556-1l623l4.rb extconf.rb checking for main() in -lpthread... yes checking for main() in -lobjc... yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling accessor.cc clang: warning: argument unused during compilation: '-rdynamic' In file included from accessor.cc:1: In file included from ./rr.h:6: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:265: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found #include <__debug> ^ 1 error generated. make: *** [accessor.o] Error 1 make failed, exit code 2 Gem files will remain installed in /Users/kelvin/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/therubyracer-0.12.2 for inspection. Results logged to /Users/kelvin/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-14/2.2.0-static/therubyracer-0.12.2/gem_make.out An error occurred while installing therubyracer (0.12.2), and Bundler cannot continue. Make sure that `gem install therubyracer -v '0.12.2'` succeeds before bundling.
It turns out that there is an issue with the command line tools in Xcode 6.3. So you have to revert back to Xcode 6.2. For a full reference, here’s the link from StackOverflow where I got my information from.
Unfortunately, there’s not an easy way to directly link to the download but here’s the link to the general Developer Downloads from Apple
Learning Ansible has been on my to-do list for a very long time now but I finally found the time to learn it, play with it and even write scripts to
- create a server on Vultr
- configure a server based on my preferred configuration
- deploy an Apache server and a MySQL server
- Configure the Apache and MySQL server for WordPress
- Restore my old WordPress install to the new WordPress install
I decided to declare Contact Bankruptcy – it’s based on the premise of email bankruptcy where you delete all your emails and assume that if you’ve missed any critical email, the original sender would email you with a reminder of sorts. When I declared contact bankruptcy, it was the idea of deleting all of my contacts and starting again.
For most people, this is probably not an issue. I’m actually often times shocked about how laissez faire most people are about their contacts. Not me. I’m obsessed with information correctness especially about personal information especially contact information. To give you some context, I’ve been managing my personal information electronically since around 1995. I’ve countless desktop software (i.e. Lotus Organizer, Microsoft Outlook, Palm Desktop) before transitioning to various online services (Google Mail, Yahoo, Microsoft Hotmail, Plaxo, Gist). As a result of porting data from one system to the next, I have all of the issues that come with large ETL projects and it’s resulted in really dirty contact data. Of all the issues, the ones that drive me most mad is that I have contacts who are either irrelevant (i.e. contact information is no longer valid so I can’t contact them anyway), information that is incorrect (fields filled with incorrect information due to a messed up export/import) and contacts that have been incorrectly merged. One particular pet peeve – I have well over 300 contacts that have an anniversary date of Dec 31, 1969. In itself may seem harmless except that on New Year’s even, I have 300 recurring events of fictional anniversary dates. The most telling sign for me is that my contact list is over 3000 contacts long and I sure don’t know 3000 people. So I decided to declare contact bankruptcy.