Category Archives: Development

Who is Hayseed?

Hayseed is a one person shop, run by me, Rob Fahrni.

I’ve registered a few domains over the years with the thought of starting an Indie development shop.

The first was Pneumatic Industries. At that time in my life I was a hardcore Windows developer working on a product called Visio. My ideas then centered around the creation of a Windows API/C++ application that could track pesticide use for farmers and Pest Control Advisors. This desire was derived from my years of working on Ag products at AgData. Way down the road I’d work for a little company called Agrian that would deliver everything I could have dreamed of and a whole lot more.

My next venture was Apple Core Labs. I started it to develop iOS Apps for myself and others. The fruits of that effort were the creation of RxCalc (please forgive the outdated site) and Arrgly.

I created RxCalc with my brother Jay so he could do Pharmacokinetics calculations at the hospital. Jay sat next to me and we wrote the math for the app in C++ because the original code was going to run on Palm PDA and Windows, which it did, I just never built the UI for it.

Enter the iPhone. When we saw that and Apple shipped an SDK for it I immediately set out to make an iPhone version. The C++ came over no problem, the UI took me forever to build. On July 4, 2009, RxCalc made it debut in the App Store. It’s been there ever since.

I did a bunch of contract iOS work under that moniker, I don’t think any of it exists today, which is a real shame.

Ultimately I failed to make consulting work for me. Too much time away from family and too many hours not working on the things I wanted to build.

Enter Hayseed. I dropped the name Apple Core Labs and started operating under the name Hayseed. Why Hayseed? Well, a hayseed is a derogatory term for someone who isn’t so bright. I see myself has a digital hayseed. I don’t take offense to the term. I’m not sophisticated or the brightest bulb in the box, so I found it fitting, and it just so happened when I went to buy a domain name hayseed.co was available, which was perfect and surprising all at the same time.

Under the Hayseed name I spent a couple years, an hour here, hour there, building Stream, my feed reader. It is, by far, my favorite project to date. I’m really happy with the way it turned out. It did everything I wanted from a feed reader. It may not be wildly successful, but that’s ok, it lives on and I continue to work on it, ever so slowly, to improve it and add features.

Some day I hope to make Hayseed my full time job. My plan is to make it my retirement job. If it happens sooner, by some miracle, that would be great.

In the meantime I have a couple products I’d love to see y’all use. For the Clinical Pharmacists out there please give RxCalc a try. If you are a blogger or avid reader of news, please give Stream a try.

Please send any feedback you may have directly to hello@hayseed.co. I love getting it, even if it’s bad, but I much prefer positive feedback. 😃

If you’d like to support my little projects you can purchase RxCalc directly in the App Store for $2.99, leave a tip for me in Stream by going to Settings > Tip Jar, or support me directly through my Ko-fi account.

So, you want an app?

A wonderful boquet of flowers.Elia Freedman: “Developing an application and making money at it is very very hard to do. Maybe your idea is the right one, maybe it isn’t. No matter the case, though, there are likely faster ways to validate the idea then writing an app.”

Another great piece on the cost of app development. If you’re thinking about writing an iOS, Android, or other mobile application make sure you do a bit of research before you start. I find most people are absolutely stunned by the cost of app development. Elia’s piece points to some other great articles that point out the how-to’s and the why-for’s of apps development, including a classic Craig Hockenberry Stack Overflow post on the true cost of developing their Twitter client, Twitterrific.

Elia later goes on to say:

Want to proceed anyway? Good for you. Just don’t go forward with blinders on.

Great advice.

Introducing Arrgly

We’ve added a new, silly, little application to the mix. It’s called Arrgly. A few years back we’d created a project to explore REST URL shortening services from Objective-C and Cocoa. The code could shorten a URL using a number of services, like bit.ly, ping.fm(gone), tr.im(gone), and a little white label shortener called YOURLS, as well as a few others.

We have a URL shortening service called f67 that uses YOURLS. It became obvious, after a few years, of starting the browser, logging in, pasting the link, pressing the shorten button, and copying the link back to the paste board on iOS that there had to be a much better way. We resurrected the URL shortening code, ARC‘ified it, and created a project. That project became Arrgly.

Yeah, it’s not attractive, and has a funny name, but it does exactly what we needed. It makes shortening a URL using our YOURLS based shortener as easy as copying a URL, starting Arrgly, and pasting the resulting short link that was placed back on the paste board for us.

It’s available in the App Store and, yes, it’s FREE.

If you decide to use it and would like a new feature or would like to report a bug, get in touch.

P.S. Yes, if you’re a designer and feel like improving Arrgly in exchange for our undying love and credit for the app design, we’re listening. Contact us: support@applecorelabs.com

BUG = (LLVM Optimizer + ASIHTTPRequest + ARC)

I’ve been working on a project that makes use of ASIHTTPRequest for my REST needs. It’s been great, I’m a big fan of it.

When I started distributing my build to BETA users we noticed it would start and we’d have an empty screen. Huh? That’s not what was supposed to happen. It should’ve started and made a network request, instead it just stares back at you.

I spent quite a long time trying to figure out what was going on. At first I thought it was some weird TestFlight bug, but nothing could be further from the truth, TestFlight is a rock solid service. I finally posted a question to Stack Overflow, I was desperate. Then it hit me.

This has nothing to do with TestFlight and it only happens with the release build. No network activity, release build, using ASIHTTPRequest, and this is my first project built using LLVM. Ok, that gave me a much better Google search string. Off we went!

The Bug

Watch out! It's a blog fly!
It turns out to be a combination of things; LLVM Optimizer + ASIHTTPRequest + ARC, is the cause of my grief. Luckily I’m not the only person that’s discovered this problem and it’s documented on Stack Overflow as well as the ASIHTTPRequest Google group.

The Bottom Line

If you are using Apple’s LLVM compiler, ASIHTTPRequest, ARC, and building for release, or archive, make sure you follow the instructions outlined in the answer for the Stack Overflow post or the ASIHTTPReqeust Google group.