{Recipe} Vanilla Bourbon Cherry Ice Cream

So this is a modification of my Vanilla Cherry Ice Cream in which I added Burbon to give it a wonderful woody flavor. For my use, I prefer to use Bulleit Bourbon Frontier Wiskey. Its one of my favorite bourbons, and has one of the most unique flavors. It also works well for Ice Cream as it caries the most flavor through the ice cream without needing to add a lot. Since alcohol has the ability to cause freezing to be harder. This lends a hand in providing flavor and not creating as much of a freezing problem.

Ingredients:

  • 1 Cup Milk
    I prefer whole milk. It creates a much creamer base
  • 2 Cups Whipping Cream
    Use plain wipping cream unless you want to boost the cream taste up a lot.
  • 3/4 Cup Suger
  • 2 Large Eggs
  • 2 tsp Vanilla Extract
  • ~10 Maraschino Cherries cut in half.
    Fill free to use more if you like more fruit in your ice cream.
  • 2 tsp Maraschino Cherry Juice
  • 1/3 Cup Bourbon

Continue reading

Posted in Experiments in Food | Tagged , , , , , | Leave a comment

{Recipe} Vanilla Cherry Ice Cream

This will be my first ever recipe posted here but figured besides tech things it might be fun to post some of my food creations. So this 1st will be an Ice Cream recipe that went over real well for Thanksgiving. This is based off of Ben and Jerry’s Sweet Cream base from their Ice Cream Cookbook.

Ingredients:

  • 1 Cup Milk
    I prefer whole milk. It creates a much creamer base
  • 2 Cups Whipping Cream
    Use plain wipping cream unless you want to boost the cream taste up a lot.
  • 3/4 Cup Suger
  • 2 Large Eggs
  • 2 tsp Vanilla Extract
  • ~10 Maraschino Cherries cut in half.
    Fill free to use more if you like more fruit in your ice cream.
  • 2 tsp Maraschino Cherry Juice

Continue reading

Posted in Experiments in Food | Tagged , , , , | Leave a comment

Using Flume with Hive and Lzo (Part 1)

With one of my projects at Lijit I got the pleasure of learning and getting to contribute back to the Flume Project. If your not familiar with Flume its basically a distributed, reliable, and highly available service for efficiently collecting, aggregating, and moving large amounts of log data. With the added ability of moving this log data into Hadoop.

So the basics of this project was to implement Flume to move log data from our web servers into our Hadoop cluster for processing. As part of our standard storage practice in Hadoop we compress everything. This saves us in space and reduces disk and network IO wait time. The only downside is an increase in CPU utilization. Now as many people know the cpu tends to not be the bottleneck. Making the trade off well worth it. Now we don’t just compress with Gzip or BZip, we prefer to use LZO. Why us ask? Well because LZO allows for a single file to be separated into chunks. Allowing for a much improved Map phase. You can read more on LZO with this great article from Twitter.

Now to get Flume to support LZO you’re going to need a few things. Mainly the key library for which you most likely have installed into your Hadoop install, LZO support itself. Now I wont go into detail on how to install this as there are many great articles and a readme on how to do this.

In a basic Flume setup you have 3 types of machines. An agent, a collector, and a master node. For LZO support we don’t really care about any of the other nodes but the collector. As the collectors job is to actually preform the writing into HDFS/Hadoop. To do this you just need to make a few changes to your Flume config files.

Extend Flume’s Java Classpath with the LZO Native Libs.
/usr/lib/flume/binflume-env.sh

#64 Bit OS
export JAVA_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-amd64-64

#32 Bit OS
export JAVA_LIBRARY_PATH=/usr/lib/hadoop-0.20/lib/native/Linux-i386-3

Make flume aware of the compression codec you want to use.
/usr/lib/flume/config/flume-site.xml

<property>
    <name>flume.collector.dfs.compress.codec</name>
    <value>Lzop</value>
    <description>Writes formatted data compressed in specified codec to dfs. Value is None, GzipCodec, DefaultCodec (deflate), BZip2Codec, or any other Codec Hadoop is aware of </description>
</property>

You will also need to create a symlink or copy the hadoop-lzo.jar file that exists in your hadoop install’s lib folder. To Flume’s lib folder in /usr/lib/flume/lib. Once both of these changes are completed you should now have LZO support within Flume. Currently the only ways to use compression in your write outs of files is via the customDFS, escapedCustomDFS, and collectorSink sinks. These sinks will automatically compress the output thanks to the change in the flume-site.xml file.

Now a note about LZO. The LZO library mentioned provides access to two versions of the LZO codec, LZO and LZOP. LZO is a streaming version from what I can piece together, and the LZOP is a file based version of the codec. In most cases the LZOP version is what you want.

This concludes Part 1. You should now have support for LZO in your Flume flows. In Part 2 I’ll go over how to use escapedCustomDFS and collectorSink to allow for your output to be pupped right into Hive.

Posted in Personal Projects | Tagged , , , , | 3 Comments

PySQLPool moving to GitHub

So as many followers of PySQLPool may know I’ve already moved PySQLPool over to Github in terms of Source Control. I will also be working on migrating blueprints and issue tracking away from Launchpad sometime in the future. This all depends upon me finding a better way of managing all this. Was hoping Jira would work but trying to host it myself proved to me more then it was worth.

So my reasons for moving to Github are simple those of moving to git as a source control. In my use of Github with many other Open Source projects. I noticed how great and flexible git and Github proved in allowing myself and others to help out with projects. The ease of forking allows for people to go off on there own with the support of source control and create there own patches and improvements.

I hope this movement in the direction of the project can help spure more and faster improvements to the project.

On a different note I have already started heavy work on the next version of PySQLPool 0.4. My goal with this version is to completely stabilize the method names and classes. As well as provide basic backwards integration with 0.3. I also have plans for Unit Testing and much much better transaction support. There will also be a complete overhall of the core of PySQLPool the pool layer. The changes I have planned and started should improve thread speeds at acquiring a connections. As well as improvements in managing the over all collection of connections. In short this version will be a pretty big overhal from 0.3.

Github: https://github.com/nerdynick/PySQLPool

Posted in Personal Projects | Tagged , , | Leave a comment

SSH Autocomplete

So many of a time you see an article about ssh autocomplete that reads your known_hosts file. Well that great and all but what about just reading your ssh config file for all your pre-configured hosts. Well here is the code to do it. Just add it to your ~/.bash_profile or ~/.bashrc file.


if [ -r ~/.ssh/config ]; then
complete -W "$(echo `if [ -r ~/.ssh/config ]; then cat ~/.ssh/config; fi | grep Host | cut -f 2 -d ' ' | uniq`;)" ssh
fi

Posted in Computer Systems | Tagged , , | Leave a comment

PySQLPool Upcoming Release 0.3.6

For all of you who use PySQLPool or are thinking about using PySQLPool in the future. You will be happy to know in the coming weeks a new release will be on its way.

Now this release doesn’t so much focus on improvements but more on documentation and prep work for trying to clean up the coding style to becomes more pythonic. If you are currently using PySQLPool in one of you applications. You will not need to worry about these code changes impacting anything you do. All the old functions are still there. They will just be under the hood calling the new ones. These code changes are to start prepping for future goals for the 0.4 release that will be to try to get PySQLPool more in line with PEP8.

As for the documentation effort. I have been working hard at trying to get everything documented in the coolness that is Sphinx. As some of you will know Sphinx is the tool currently being used for the Python 2.6+ documentation efforts. It provides a great way to document your code in reStructuredText, and be able to generate from those RST files a beautiful HTML based documentation site with a Javascript powered search system. Along side with some improvements with PyPi. This has allowed me to host this documentation up on PyPi. Which you can view at http://packages.python.org/PySQLPool.

I hope with this documentation effort this will provided to you all some better ideas for what is going on in the background. Allowing you to do more actions with PySQLPool.

Keep an eye out for this release and the 0.4 release that will contain some much needed improvements. Like much better transaction support, and some slight speed performances.

Posted in Personal Projects | Tagged , , , , , , , , | Leave a comment

First Impressions of a New Mac User

Well as many of you may know I made a recent Mac purchase. So far it has been a pretty decent machine. However there is a few things that I have come across that I wish Apple would fix and/or change.

Keyboard Layout: Function, Control, Option, and Command keys need to reorded. If you going to force me to use Command as the equal to Ctrl on PC. Then at least place it in the same spot. The current placement of the Command key makes it a little un-functional for use with Copy/Paste and all other shortcuts. In order to hold command+c you have to remove your hand from its standard position. Make your work efficiency slower and more un-comfy to preform for long durations. In order to combat this problem I did have to switch the key bindings for the Command and Control Keys. However the function keys placement makes this not the most Ideal position. I do wish that they would also add a Control key near the arrow keys for the MacBook. With my key rebinding my lazy web browsing methods just do not work the same. I know I can use mouse gestures, but they do not have these for Firefox yet.

I did have another problem with the keyboard in that at first I thought that the naming of the Backspace key to delete was a bad name, but once you discover the fn+del shortcut you begin to understand this naming scheme. Their was also a few other keyboard settings that kind of bugged me like the F1-12 Key’s being auto set to the fn+f(1-12) action taking place over the normal action. This was more of a fact that I was use to using the PC way of using them.

Terminal: Now as I am not familiar with Unix but more so Linux. Some of these may just be Unix problems and not Mac. Tab finishing of a folder name should include the trailing /. This gets a little annoying when your trying to go a couple folders deep. I do plan to get into the Bash configs and add this into it myself but would like to see it as the default action. There are also a few key shortcuts I would like to see fixed. In a normal mac window Command+left/right arrows function and home and end keys, but in the terminal you have to substitute command for the function key. This inconsistency of key shortcuts becomes a little annoying when you are first starting out.

Filesystem: I’m still searching through this one but so far where is /proc. I know this is not a Unix but a Mac problem. Where did you place my /proc folder?

Now I know there a few ton more problems that a normal user will have with switching to Mac from PC, but with my use of Ubuntu and all things Open Source. It has prepared me for a lot of other resources that have already been converted to work on Mac thanks to their Unix under layer. Wine is one of these great apps. On my Linux boxes this has helped out so much with getting Windows apps to work on Linux. That I was happy to see a Mac port as well. After installing that I was able to get my SQLYog installed and usable. There was a few things that I have had to hand compile but so far everything appears to be going good with finding Mac packages of these apps. One of the biggest apps I would like to see a DMG package for is QT. Took me a couple hours to compile myself. Just wish there was an easier and faster way of getting it.

Posted in Computer Systems | Tagged , , , , | 2 Comments

Memcached Manager Updates to Core++

This is just a quick update on Memcached Manager. I have done a bit of work on the core classes and code base to make it a bit cleaner and easier to add new features. Their is still a bit I need to finish in the rework, but at least the bulk of the work has been completed.

I have also condensed the Add Server and Add Cluster dialogs into 1 central Dialog that will allow you do to both in one go. This should make adding your Clusters a whole lot faster. David has also started work on converting the save files to YAML vs the current Pickle approach. This should make it a bit easier for you to modify the raw save file on your own if you wish.

Their is also a new feature that allows you to modify the preferences of how Memcached Manager interacts with your servers or displays the data back to you. This should hopefully allow you to customize it how you see fit a bit easier.

I have also started a new feature to allow you to get keys back from the cluster so that you can inspect the data and/or if keys are being created during development. This feature will also feature a RegEx based key search. It is also worth noting on this RegEx search it can take some time to preform this search as a request for all keys on every server has to be preformed before the RegEx can be executed. I also plan to implement a toggle for support for Cluster being populated by the PHP Pecl package. This is due to some differences in how the library picks what server to place your key on vs how the Python Package choices.

Among these changes their where some small bugs fixed and a few starts on other areas of the app. I also do plan to get some updated screenshots of the new changes. So you can get a better feel of how the app looks. If you have any ideas for what else you would like to see or if you find any bugs please be sure to post your requests on the Launchpad page, and if your using the app please post your usage at the Ohloh Page.

Posted in Personal Projects | Tagged , , , , , , , , | 2 Comments

WordPress Mu and The New Blog.NerdyNick.com

Well in an effort to migrate off of my current server so that I can upgrade to a more up to date OS (Currently Fedora Core 3). I have setup a new VPS with WordPress MU installed on it. This new install of WordPress MU should allow me to condense all my blogs into 1 central framework and reduce my need to have to re-install and maintain multiple copies of WordPress for each one.

I have currently migrated this blog as well as setup a Blog for Skeletal Design, Inc.. I have a few more that need migrating. So its going to take me some time, but in the end I should be that much closer to getting ride of the old server and getting a new one. Hopefully I can buy a rack from Dell and host it down at ViaWest or 393 if anything else just rent one for a while.

For anyone who wishes to host WordPress Mu with the intent to have a TLD for each blog you may wish to read this http://mu.wordpress.org/forums/topic.php?id=2076. Took me a little while to figure out the problem but it appear that WordPress MU doesn’t like you to have multiple TLD’s and still allow people to login under each of them.

Posted in Website News | Tagged , , , | Leave a comment

Memcached Manager Updated

Managed to bust out a few features and updates to Memcached Manager over the last few nights. Feels great to get some work done again on a side project. Just hoping I can get to finishing the first version of this ting sometime. Still got a nice sized work load and it keeps growing as I talk to people, or wish I had the ability to do something one day.

New Features:

  • You can now double click a Cluster in the Tree List and make it active.
  • Server names in the Tree List now contain the IP and Port to make it easier to make sure you got the right cluster
  • Now when you delete a cluster and/or server it removes itself from the Tree List

Just need to some time do a code base clean up and a little reworking. Tends to happen when your learning QT and Python App creation for the first time.

As always the links for Memcached Manager are:

Posted in Personal Projects | Tagged , , , , , , , , , | 1 Comment

You Succeed as a Team

I was reading a great article on YouTube’s Architecture and came across this last bullet point that they make. Just had to share it.

You succeed as a team. Have a good cross discipline team that understands the whole system and what’s underneath the system. People who can set up printers, machines, install networks, and so on. With a good team all things are possible.

Posted in Project Management | Tagged , , | 1 Comment

Memcached Manager

So as some of you may know I have been working on a Memcached Manager App. I decided to do this because I was tired of seeing Memcached as this little blackhole that you put stuff in and magicly got it back out quicker then a DB would. So really what better way to understand Memcached then by building something that interacts directly with every part of Memcached. So far everything is actually going real well with the whole project. I’m managing to bust out features like crazy and I’m hoping to have a 1st release before Christmas if not before Thanksgiving if I can.

Some Screenshots:

Memcached Manager Screenshots
Posted in Personal Projects | Tagged , , , , , , , , , | Leave a comment

PySQLPool V0.3b1 Released

Well I have finally managed to get back to it and have finally released a new version of PySQLPool. Its been some time seance the last release. There has been a few new features added and a few more have been improved. I have also started to host parts of the Project at Launchpad along side with the Google Code Hosting.

Where to find PySQLPool

Posted in Personal Projects | Tagged , | Leave a comment

Ubuntu Release Party Tonight

Just a quick reminder to all. The Colorado Ubuntu Team’s Release Party for Intrepid Ibex is tonight in about 1hr. So don’t be late.

Full details about the party can be found at the Colorado Ubuntu Team’s Website

Posted in Tech Social Scene | Tagged , , , , | Leave a comment

Memcached Presentation @ Boulder BarCamp

So for all of you who managed to come see me give my Memcached Presentation. I figured I would provided to you all the links to the resources that I presented to you.

Posted in Tech Social Scene | Tagged , , , , , , , , , , | 1 Comment