codegouge.blogspot.com
Code Gouge: April 2013
http://codegouge.blogspot.com/2013_04_01_archive.html
Saturday, April 20, 2013. Using Python and paramiko to move bits around. Automating the movement of files around a stack is one of those unglamorous jobs that just has to get done. It's certainly possible to do this in bash but Python makes it a little more easy and fun. Is an actively maintained Python module that assists with secure connections to remote hosts. This use cases favors the SFTPClient. Subscribe to: Posts (Atom). Using Python and paramiko to move bits around.
codegouge.blogspot.com
Code Gouge: August 2013
http://codegouge.blogspot.com/2013_08_01_archive.html
Saturday, August 24, 2013. Manually editing Solr's clusterstate.json on Zookeeper. There will probably come a time when you want to do something not readily covered in Solr's APIs. Manually editing the clusterstate.json is easy to do but should be approached with caution. I wanted to drop all shards from a single host from my Solr cluster (didn't care about losing the data) and do a little spring cleaning. To open a command-line interface with ZK:. Subscribe to: Posts (Atom).
codegouge.blogspot.com
Code Gouge: May 2014
http://codegouge.blogspot.com/2014_05_01_archive.html
Saturday, May 17, 2014. Metering tweets (a weekend project). This project will probably take me more than a weekend but Twitter's new mute feature. Got me thinking - I don't need to mute people I follow but I would like to eliminate a lot of their fluff. I can recall at least 10 people I had to unfollow because even though I thought they sent out good stuff, for every good tweet there were 5 worthless ones. Everything I've described is fairly easy. Adding new users for the app to monitor, adjusting w...
codegouge.blogspot.com
Code Gouge: July 2013
http://codegouge.blogspot.com/2013_07_01_archive.html
Tuesday, July 9, 2013. Mismatched Solr 4.x versions with SolrCloud. I wanted to run a Solr. 40 client against a more modern Solr server (like Solr 4.3.1 - shard splitting! While we should match client and server versions, it's not unheard of to float a little bit. 4.0 to 4.3.1 is more than a little bit but I wanted to get Lily. To work against 4.3.1 - notsomuch. You'll likely get an error like this in the Solr ClusterState code:. Subscribe to: Posts (Atom). Mismatched Solr 4.x versions with SolrCloud.
codegouge.blogspot.com
Code Gouge: December 2013
http://codegouge.blogspot.com/2013_12_01_archive.html
Monday, December 9, 2013. Pushing artifacts to your local repo using Maven's Ant plugin. If you have an Ant module that you need to integrate into an existing Maven project, you'll likely face a few challenges. Let's just pretend you don't want to mess with Ant too much. Despite the existence of the maven-antrun-plugin. They don't mesh perfectly together. One issue is getting the built artifact into your local Maven repository. Subscribe to: Posts (Atom). Pushing artifacts to your local repo using Mavens.
codegouge.blogspot.com
Code Gouge: November 2013
http://codegouge.blogspot.com/2013_11_01_archive.html
Saturday, November 30, 2013. Publishing an app for fun, experience, and no profit. The lure of passive income is well documented but for many developers the costs outweigh the benefits. Once you charge money for a web or mobile app, a responsibility to customers is formed - you have. To fix bugs, keep backend services highly available, stand up a customer service process, etc. So why should developers self-publish apps that don't make any money? And Google App Engine. Get the first one out of the way.
codegouge.blogspot.com
Code Gouge: June 2014
http://codegouge.blogspot.com/2014_06_01_archive.html
Saturday, June 7, 2014. A SolrCloud backup scheme. SolrCloud needs a real backup mechanism - there's an open ticket for this. But until then users will have to make due with ReplicationHandler. The HTTP API is really simple:. Host1: mycollection shard1 replica1, mycollection shard4 replica2. Host2: mycollection shard2 replica1, mycollection shard3 replica2. Host3: mycollection shard3 replica1, mycollection shard2 replica2. Host4: mycollection shard4 replica1, mycollection shard1 replica2. 4 calls to Repl...
codegouge.blogspot.com
Code Gouge: Setting up a Solr dev environment
http://codegouge.blogspot.com/2014/01/setting-up-solr-dev-environment.html
Saturday, January 4, 2014. Setting up a Solr dev environment. While I'm waiting for my next class. To begin, I wanted to contribute some Solr. Code I take so much from that project so it's only fair. I use IntelliJ, SVN, and Maven for my non-Android development - Lucene/Solr has an SVN repo and it looks like some people use IntelliJ but the project seems to favor Ant over Maven but when looking through the Ant commands, there are hooks into Maven. Haven't had a chance to explore that much yet. Though it ...
codegouge.blogspot.com
Code Gouge: Modifying the Solr QueryParser
http://codegouge.blogspot.com/2014/01/modifying-solr-queryparser.html
Monday, January 20, 2014. Modifying the Solr QueryParser. If you're doing development in Solr trunk and want to adjust the QueryParser, take a look at the JavaCC grammar file. At lucene/solr/core/src/java/org/apache/solr/parser/QueryParser.jj. This isn't a tutorial about JavaCC - there are plenty of those out there. Subscribe to: Post Comments (Atom). Modifying the Solr QueryParser. Setting up a Solr dev environment. Awesome Inc. template. Powered by Blogger.
codegouge.blogspot.com
Code Gouge: CU-Boulder's CAETE program - my experience
http://codegouge.blogspot.com/2014/08/cu-boulders-caete-program-my-experience.html
Sunday, August 24, 2014. CU-Boulder's CAETE program - my experience. When I left the military in 2011, I intended to make use of my GI Bill. Benefits. They are generous enough to pay for a graduate degree and I felt like I really needed that to make up for lost time spent outside the software development industry. University of Colorado Boulder. Has a solid engineering program with a department called Center for Advanced Engineering and Technology Education (CAETE). Lectures conducted during the day in B...