Skip to content
Aug 31 13

LessAccounting Export

by nick

I wrote a small tool to export data from LessAccounting into JSON format – simregllc/less_accounting_export.

It is basically an API wrapper that performs just enough cleanup to make the API accessible in Ruby. It could be extended by someone who felt like doing so, but I’m not going to be.

Sadly after 3.5 years LessAccounting raised their prices to $36/mo, which is beyond what I can justify as a small business when other options exist.

Aug 28 12

Curb and symbol binding

by nick

I ran into the issue dyld: lazy symbol binding failed: Symbol not found: _curl_global_init when trying to use curb on OS X Lion.

Google linked to but that was of no help.

My fix was to use Homebrew to reinstall curl. However the keg was read-only due to curl being provided by OS X.

  1. brew edit curl

  2. Comment out the keg_only lines

  3. Re-run brew

  4. There will be an error (which I forget right now and cannot find the command for) that basically says “sorry, your target directory exists”. I renamed the target to .old, and re-ran brew link curl.

  5. Re-installed the curb gem.
  6. Success!
Jun 13 12

New Apple Updates

by nick

The new MacBook Pros look interesting.

Here’s my quick thoughts and suggestions, most expensive first:

  • Get the base model MBP Retina and upgrade to 16GB RAM. At some later point upgrade the SSD to one from MacSales ( Similar to the Aura Pro Express ) if you need/want bigger/faster. ($2400 + SSD upgrade estimated at $360 or $800 for 240/480GB).
  • Get the 15″ base model non-retina, upgrade to 16 GB RAM and 240 GB SSD from MacSales. ($2200 +/- 50)
  • Get a 15″ previous generation refurb upgrade to 16 GB RAM and 240 GB SSD from MacSales. ($refurb_price + 410 +/- 50)

If you primarily work from a single location, get a 24″ – 30″ monitor. You may be able to get away with using HDMI and save yourself some adapters. Consider the Apple 27″ only if you have to have it. Dell makes better stuff for the money. The biggest consideration for the Apple monitor is the built in Thunderbolt dock. Add a (very expensive) Thunderbolt RAID array and you’ve got fast external storage, a large screen, and grab-and-go power.

If you must have an iMac, use MacSales’ Turnkey Program. Upgrade RAM to 16 or 32GB, put in a 240GB SSD drive, a 3TB HDD, and external eSata. It will cost you around 1000 to do so, but unless you’re comfortable messing with laptop internals (which is essentially what an iMac is) don’t bother. For what it’s worth, I’d be hesitant to do much with an iMac besides a RAM upgrade. I’d probably end up sending my iMac in for MacSales to do hard drive upgrades.

Those are my thoughts. Ask me for more details if you have any questions. Good luck and happy shopping

Mar 29 12

MetaSearch fun

by nick

I needed to search for multiple values across multiple fields in a search.

params[:search_like] = 'Fanuc 15'
@search_params['make_or_model_in'] = params[:search_like].split(' ')

Results in:

SELECT COUNT(*) FROM machines WHERE ((machines.make IN ('fanuc', '15') OR machines.model IN ('fanuc', '15')))

Mar 19 12

A good start

by nick

I got in a 2 hour ride yesterday. Based on some rough calculations my pace was close to where it was last August. Not too bad.