Software Dev

Time (Swift lib)

Time is really confusing when you think about it, especially when you are programming around it. And especially in a mobile app, where the time on the device could be in any timezone and is not guaranteed to be reliable.

I have seen plenty of “time” bugs in my days. I’ve seen time beat some amazing programmers, even leading one of them to question aloud, “What is time?”

This new Swift “Time” library looks like a good shot at simplifying time and restoring sanity.

πŸ‘‰ Introducing Time

I love that the basic classes in this library are Clock and TimeZone. Yesss, that is some simple SOLID goodness!

πŸ‘‰ Time on GitHub

Via iOS Dev Weekly.

The World

Apollo 11 Source Code πŸš€

In the coolest news ever, the source code for the freakin’ Apollo 11 space modules was recently revealed on GitHub. 🀩

Specifically, this is the source code for the guidance systems of the Lunar module (the thingy that landed on the surface of the moon) and the Command Module (the can that orbited the moon during the mission).

πŸ‘‰ Apollo-11 on GitHub

A few cool points:

  • The code submission date is March 28, 1969.
  • The programmer is one Margaret H. Hamilton, Colossus Programming Leader Apollo Guidance and Navigation. If anyone is still saying “girls” can’t code, then you can seriously stop now.
  • There are two literal modules in the project: Comanche055 (Colossus 2A, the Command Module), Luminary099 (Luminary 1A, the Lunar Module). So much for thinking of “modules” as just a programming concept. These were two physical components literally flying around the moon.
  • These nerds were funny too. The master ignition routine is called BURN_BABY_BURN. πŸ˜‚
  • The code seems to be written in some sort of assembler language, as in 1969 basically no modern languages were yet invented.
  • The code comments are currently being translated to other spoken languages as part of this open source project. For all mankind, mothers! 🌎
Software Dev

Cool Controls for iOS

Some great open source libraries for all sorts of UI goodness in your iOS app. These are interesting because most of them are circular dials, like from the Nest app or Autosleep, which you don’t get from the standard iOS controls.

5 iOS Libraries to Improve Your App: Circular view slider, selector, volumelike slider, stepper, and more

Addition: some newly posted iOS UI libs:

πŸ‘‰ 5 iOS Libraries to Make Your App’s UI Really Pop