• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Dion Almaer

Software, Development, Products

  • @dalmaer
  • LinkedIn
  • Medium
  • RSS
  • Show Search
Hide Search

Archives for June 2013

JavaScript and iOS 7

June 26, 2013 Leave a Comment


The bridge to happiness

Everyone is talking about the flatness, but I love to look around and see some of the smaller wins on the developer side of an iOS SDK.

I am really excited about something that I haven’t seen mentioned much, and that is a new bridge between the worlds of JavaScript and the runtime of iOS and OS X:

Introducing a new Objective-C API to JavaScriptCore. iOS developers can now integrate scripting into their apps without having to bundle custom language interpreters. This API builds on top of the existing C API to JavaScriptCore available on Mac, and makes programming with JavaScript much easier and less error-prone.

As mentioned, the desktop world had this bridge, and there are various ways to embed a JavaScript interpreter and the like, but getting this first class support is exciting.

The API is pretty clean, so the JavaScript code that calls into Objective-C looks sane OtherThanSoVeryVeryVerbose, and vice versa.

If you have areas of your application where “scripting” would fit in, then this could be a fantastic solution. Areas such as gaming have already done this for a long time. Even though the “apple rules” talk about not being able to download code and run it, games have been doing just that for ages (in Lua, or other languages). Anecdotally Apple seems to not care any more (don’t quote me on that / your mileage may vary).

Beyond games though, I see a lot of use cases where I would love to A/B test areas of the app, and JavaScript could “drive” those tests quite nicely indeed.

I haven’t been able to go deep and see what limitations exist, but man, I am excited to see what can be done.

Our slow evolution

June 2, 2013 Leave a Comment


Course correcting for back pain and “low fat” mistakes

I recently spent some time with the Gokhale Method which aims to help solve the posture problems that so many of us have these days. As I read about the work of Esther Gokhale, and the geo-history behind the issues that our society faces, I started to get a lil angry, just as I did when I read Why We Get Fat.

When someone is doing something knowingly bad to themselves, it is frustrating, sad, and madenning. The next level though is when people think they are doing the right thing and we are sending them down a destructive path.

For nutrition, Gary Taubes highlights the wrongness of the “low fat” revolution, and walks it back to the Nixon administration. A couple of senate committee decisions, and boom…. we now lie with massive obesity problems, and although many actually try to do the right thing, they are not actually attacking the problem. To make low fat work, we see a ton of processed foods, and tricks to hide the taste… normally resulting in a shed load of sugar. Thus, the problems keeps getting worse.

For posture, the lumbar support and expert analysis may not be solving your problem at all. It is quite amazing to see how powerful immitation is, and how our postures have changed, not just due to folks sitting in front of computers.

How much bad science is out there?

As engineers we are used to be able to A/B test and run experiments to prove out hypotheses. We are accelerating the feedback loop and can thus make constant progress.

It sometimes feels like we are in a “modern” world that is using technology for amazing good (groundbreaking medicine) but also takes us away from knowledge that we have collected over our entire existence.

Subtle changes have massive effects. I was reading about “Pepsodent” (excerpt from the Power of Habit book I am reading) and how Claude Hopkins took teeth brushing from 7% to ubiquity in a few years, all through some marketing tricks.

These changes can happen so fast, how can we make sure that mistakes that are bad for us aren’t killed off as quickly?

Or then again maybe I am just forgetting scale. What does “quickly” mean in the grand scheme of things. Maybe I should let evolution take its course.

Primary Sidebar

Twitter

My Tweets

Recent Posts

  • I have scissors all over my house
  • GenAI: Lessons working with LLMs
  • Generative AI: It’s Time to Get Into First Gear
  • Developer Docs + GenAI = ❤️
  • We keep confusing efficacy for effectiveness

Follow

  • LinkedIn
  • Medium
  • RSS
  • Twitter

Tags

3d Touch 2016 Active Recall Adaptive Design Agile Amazon Echo Android Android Development Apple Application Apps Artificial Intelligence Autocorrect blog Bots Brain Calendar Career Advice Cloud Computing Coding Cognitive Bias Commerce Communication Companies Conference Consciousness Cooking Cricket Cross Platform Deadline Delivery Design Desktop Developer Advocacy Developer Experience Developer Platform Developer Productivity Developer Relations Developers Developer Tools Development Distributed Teams Documentation DX Ecosystem Education Energy Engineering Engineering Mangement Entrepreneurship Exercise Family Fitness Founders Future GenAI Gender Equality Google Google Developer Google IO Habits Health HR Integrations JavaScript Jobs Jquery Kids Stories Kotlin Language Leadership Learning Lottery Machine Learning Management Messaging Metrics Micro Learning Microservices Microsoft Mobile Mobile App Development Mobile Apps Mobile Web Moving On NPM Open Source Organization Organization Design Pair Programming Paren Parenting Path Performance Platform Platform Thinking Politics Product Design Product Development Productivity Product Management Product Metrics Programming Progress Progressive Enhancement Progressive Web App Project Management Psychology Push Notifications pwa QA Rails React Reactive Remix Remote Working Resilience Ruby on Rails Screentime Self Improvement Service Worker Sharing Economy Shipping Shopify Short Story Silicon Valley Slack Software Software Development Spaced Repetition Speaking Startup Steve Jobs Study Teaching Team Building Tech Tech Ecosystems Technical Writing Technology Tools Transportation TV Series Twitter Typescript Uber UI Unknown User Experience User Testing UX vitals Voice Walmart Web Web Components Web Development Web Extensions Web Frameworks Web Performance Web Platform WWDC Yarn

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

  • February 2023
  • January 2023
  • September 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • November 2021
  • August 2021
  • July 2021
  • February 2021
  • January 2021
  • May 2020
  • April 2020
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • January 2019
  • October 2018
  • August 2018
  • July 2018
  • May 2018
  • February 2018
  • December 2017
  • November 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012

Search

Subscribe

RSS feed RSS - Posts

The right thing to do, is the right thing to do.

The right thing to do, is the right thing to do.

Dion Almaer

Copyright © 2023 · Log in

 

Loading Comments...