Hawaii iOS Developer Meetup – Session 32

During this meetup I prepared a tutorial on setting up Firebase Realtime Databases. We hit a snag in the set up of the database when I put the configuration call in the wrong place in the App Delegate. Good thing the one of the developers had done the tutorial before. As a group we were able to debug the connection and get the tutorial to work as expected.

During the group debugging session Adam commented that he wished we could always have a group of developers programming together as we located the bug much faster. 10 eyes are better than 2!

If you’re interested in attending the next Hawaii iOS developer meetup, we’ll be covering ARKit to do augmented reality with the iPhone. Please RSVP if you’re interested in attending!

Takeaways from Accessibility Sessions at All-Campus IT Conference

This slideshow requires JavaScript.

Last week I attended the IT All-Campus Conference at the University of Hawaii at Manoa. There were a number of tracks attendees could take and I chose the Accessibility route.

Here’s a random assortment of takeaways from the Accessibility track:

  • Accessibility is about access, not disability.
  • Making site accessibly a priority makes the site better for everyone
  • How does your website perform for a student studying for his finals?
  • How does your website look when it’s printed?
  • Get in line with A, then AA, then AAA
  • The way I see my website is not the way you see my website.
  • Students shut off images to save data on their plan.
  • Have you looked at your website with a color blindness simulator?
  • If you say required fields will be red and the user can’t see red, you need to do it a different way.
  • high contrast, and large fonts to address cataracts.
  • add whitespace for glaucoma patients.
  • Provide transcripts as they are mandatory. Make sure your captions match the audio, not just a script that has been prepared ahead of time.
  • 75 char or less in line length. Increase line height to 1 and a half height.
  • Space out navigation on mobile.
  • Turn your pdfs into webpages so they can be read by screenreaders.
  • Not all devices can read PDFs.
  • Skip links are required for repetitive navigation.
  • Users don’t want to have to read through the same thing every time if they are already aware of the navigation structure.
  • Add label tags to all of your forms
  • Don’t use click here wording, update it to the verb that states what it is doing.
  • If linking to PDF, share in the link text that this is headed for a PDF.
  • Listen to a website by skipping through the headings. Section the content up this way.
  • Make site navigable by keyboard only!

Resources for more information:

Designing MaiTai’d for iOS – Democratizing Hawaiian Fishpond Tide Data

Combines landscape orientation with HUD

I’m giving a talk at the all-campus IT Conference at the University of Hawaii at Manoa this Friday. Here’s a list of things I’m going to cover in the talk:

  1. Finding a need at Purple Mai’a’s Native Hawaiian Tech Conference
  2. Discovering startlingly steep drops in the cost of water management sensors
  3. Learning why Hawaiian Fishpond tide data matters so much
  4. Leveraging Open Source Software (OSS) to build a rapid prototype
  5. Achievement Unlocked! Minimum Viable Product achieved.
  6. Focus Grouping at Water Conference in Punalu’u in August 7-9
  7. Follow our progress on Github

But first, who am I?

My name is David Neely. I am the Technology and Web Coordinator at the Manoa Career Center. I am most proud of the Pocket Workshops we recently created to allow students to view career development workshops on their mobile devices wherever and whenever they want.

I believe in leveraging the ubiquity of mobile phones to provide every person with superpowers unique to their needs.

I am also the organizer of the Hawaii iOS Developer Meetup. We are a group of nearly 100 developers who meet every Thursday at the iLab here at UHM to discuss the evolving best practices of developing apps for the iPhone, iPad, Mac, and Apple Watch. Next week we’re going to discuss ARKit for the iPhone to do some Augmented Reality on the iPhone with iOS 11.  If you’re interested in attending the meetup or have questions about iOS development, please come and see me after the talk.

Finding a need at Purple Mai’a’s Native Hawaiian Tech Conference

One of the developers at the Hawaii iOS Developer Meetup shared that she would be attending the Purple Mai’a Contest on March 25, 2017 and asked me if I’d be interested. The contest brought together Native Hawaiian Water Management caretakers and app makers.

I checked out their website and watched the video from the contest the year before. It looked awesome! So I signed up.

The contest provided an excellent opportunity to do service work at the Kanewai, the loi near the dorms, and learn more about the most pressing Native Hawaiian water issues. I learned from the many talks at the conference that “Water dictates the cultural practices of the land.”

They had a few white boards around the space for writing thoughts to share with other attendees. I wrote on the wall just before getting in line for lunch, “If the water could talk, what would it say?”

Discovering startlingly steep drops in the cost of water management sensors

While I was waiting in line, I met Brian Glazer, an associate professor and oceanographer in the University of Hawaii at Manoa’s School of Earth Science and Technology (SOEST).

Brian shared that he was working on a project that leverages the falling price of water sensors that presents a outstanding opportunity to democratize water sensor data. Here’s how he pitched it:

Expensive water sensors used to cost up to $20,000 to purchase

Now those sensors can be had for less than $100!

Brian’s team installed those sensors to monitor tides at He’eia Fish Pond in Kaneohe

They also have a web interface to show the real-time data on desktop computers

But there’s a problem

If you’re working at the He’eia Fish Pond, you’re not going to have access to a desktop computer. They needed an app to display real-time data to allow the caretakers of the findpond to know exactly how much water was flowing from each of the makahas.

Lucky me, I had an opportunity to join the team and I jumped at it.

We met a bunch of times to discuss the state of He’eia Fishpond and the cultural practices that are informed by the flow of both fresh and salt water into the pond.

But why does Hawaiian Fishpond tide data matter so much?

Hawaiian fishponds are unique and advanced forms of aquaculture found nowhere else in the world. The techniques of herding or trapping adult fish with rocks in shallow tidal areas is found elsewhere but the six styles of Hawaiian fishponds, especially large walled ponds, were technologically advanced and efficient as their purpose was to cultivate pua, baby fish, to maturity.

Fishponds provided Hawaiians with a regular supply of fish when ocean fishing was not possible or did not yield sufficient supply (Kelly, 1976).

The compact style of wall slows water flow, allows the pond to maintain a base water level even at the lowest tides, and forces more water to the mākāhā or sluice gates. He’eia Fishpond has six mākāhā – three along the seaward edge that regulate salt water input and three along He`eia stream that regulate fresh water input.

By allowing both fresh and salt water to enter the pond, the pond environment is brackish and therefore conducive to certain types of limu. By cultivating limu, much like a rancher grows grass, the caretaker could easily raise plant-eating fish and not have to feed them.

source: http://paepaeoheeia.org/thefishpond/

Leveraging Open Source Software (OSS) to build a rapid prototype

As I designed the app, I identified 3 pain points. In order to build the app I would need to query the datapoint with a network call, validate and parse the returned JSON, and display that data in an interactive chart.

Luckily I had some experience with open source software and managed to find 3 libraries that would make my job much easier. Here is a list of the OSS I used for this project:


SwiftyJSON is an open source library written in Swift for iOS that allows developers to validate and parse JSON with very clean and simple calls.


AlamoFire is an open source library written in Swift for iOS that allows for clean and simple asynchronous network requests. Errors and callbacks are easy to structure and respond to with this library.


SwiftCharts is an open source library written in Swift for iOS that gives developers deep control over how they present JSON data in a nice, very customizable, interactive graph.

Achievement Unlocked! Minimum Viable Product achieved.

By leveraging the open source software libraries SwiftyJSON, AlamoFire, and SwiftCharts, I was able to build the minimum viable product that queried the endpoint, validated and parsed the JSON, and displayed 24 hours of tide data in an interactive chart for the iPhone.

Here’s a gallery of screenshots that shows the progressive development of the app:

This slideshow requires JavaScript.

Focus Grouping at Water Conference in Punalu’u on August 7-9

On Aug 7-9 we will be conducting a makers conference in Punalu’u where fish pond owners for each of the neighbor islands will come to Oahu to learn how to build and maintain their very own inexpensive water sensors. They will each build their own sensor to take them back to their fish ponds.

Now that we have version 1.0 of the app, we can show them that they will be able to see their real-time data on their phone.

During the water workshop, I’m planning to ask the fishpond owners what features they want in the app and what matters most. I am a big believer in Eric Ries’s Lean Startup Methodology. I want the fishpond owners to validate the product before we build it out.

Follow our progress

If any of this is interesting, please follow our progress on Github: https://github.com/Mai-Tai-D/maitaid001

Thank you for your attention today 🙂

Hawaii iOS Developer Meetup – Session 31

I love it when other developers present at the meetup. It represents a real buy-in to me. And it allows me to focus on someone else’s struggles and eventual victories over the code they are presenting.

Last week Ryan presented a talk on Threading in Swift. I learned a lot and got a chance to ask some questions. The main takeaway from this talk was that Apple’s Grand Central Dispatch (GDC) does not necessarily manage threads but queues.

So what does that mean you might ask. That means that we, the programmers, don’t have to worry about threads locking up because they are trying to access the same memory resource. GCD allows us to set up priority queues to manage which parts of the code will execute before other parts of the code.

This week I’ll be covering Realtime Databases with Firebase. If you’re interested in attending, please RSVP!

Hawaii iOS Developer Meetup – Session 30

Aristotle once said, “You don’t find an audience. You make an audience.” I never really understood that saying until this meetup.

I prepared a long talk on debugging for this meetup. I spent extra time setting up a project that would leverage the step debugger for the meetup attendees and did light research on the visual debugging features in Xcode.

When I started the meetup, I took a show of hands to find out if any of the developers had done step debugging in the past. I was expecting maybe 1 or 2 hands to go up. Unfortunately, all the hands went up. I had planned the right talk for the wrong audience.

In the future I’m going to pursue more feedback from the attending developers to “make the audience.” I’m glad to have these kinds of experiences.

This week Ryan Hanson will be conducting a talk on “Threads in Swift.” Threads are definitely not in my list of strengths. I’m looking forward to learning how Ryan handles threads in this talk. Please RSVP if you are interested in attending!

Hawaii iOS Developer Meetup – Session 29

I set the meetup topic as Generics a few weeks ago. The initial sign ups came in slowly. Then last night, the room was nearly full! Great turn out for this obscure, powerful topic. I posted a gist of the playground I covered last night on github: https://gist.github.com/davidkneely/f1614a1e61e2b8e4424f5cbdfdfae9f4

It was great to have Aron back at the meetup to give insightful tips about how much programming has progressed since the days he was writing C on Macs.

Last night after the meetup he shared a story about how when his program crashed (as all programs crash as you build them) his Mac would emit a high pitched yelp and reboot itself. He ended up sticking a mini plug into the computer’s headphones port to keep the crash to himself and not alert his coworkers. Hilarious stuff.

I was very happy with the discussion that kept going after we finished the stream last night. Looking forward to moving the meetup to the iLab in August.

Got a few more developers interested in presenting on topics that interest them. Next week we will be covering debugging. Please RSVP if you’re interested in attending the next meetup.