• BLOG
  • ARCHIVE
  • GITHUB
  • RSS
  • Why Realm?

    May 26, 2017

    Businesses and people rarely come head to head with problems that change very often. Ironically, the solutions are far more volatile. For example, problem of transportation is just getting from point A to B in a timely, reliable way. The solutions: Airplanes, SpaceX, Cars and Trucks (all of them), Containers, Shipment, Tanks, and the list goes on and on. Ever since the dawn of computers, getting, collecting, and saving data has been one of the hardest painpoints for software development. The entire space is littered with databases so diverse and yet so similar that it’s hard to choose one solution.

    ...more
  • Small Post - Asset Management and Risk

    May 16, 2017

    A few nights ago I was having dinner with a friend who was interested in building an asset management mobile application for the construction and municipal industry. I didn’t know too much about asset managment but using some context clues I figured it was related to tracking the conditions of pipes, concrete, materials etc… During our conversation we consistently brought up the topic of “Minimizing Risk”.

    ...more
  • Detaching Realm Objects

    Mar 18, 2017

    There’s a pretty good chance that you’re going to use Realm with something like RxSwift, ReactiveCocoa or some design pattern in which you throw objects from different threads. In most cases, objects that get tossed around from threads and operations should really “live by themselves”. Having pointers to them can create quite a lot of havoc.

    ...more
  • Creating Multiple Realms in Swift

    Feb 26, 2017

    Sometimes you’d like to create multiple Realms in one app. You might need a Realm to hold “drafts” of documents. The documentation doesn’t really explain this very well and is a bit hard to find. I’m currently using the version 2.4.3.

    ...more
  • The Real Minimum Wage is...

    Jan 23, 2017

    The real minimum wage is $0. This is indisputable because that is the state of being unemployed.
    Even if you are on help or have savings to use, you are not trading your labor for money. That is what a wage is. If the quoted “minimum wage” is $13/hr, the all you are saying is no one is allowed to hire you between $0/hr and $13/hr. That range is now illegal.
    So there’s a remarkable sharp cliff to where employment just cannot happen. Labor is a resource, just like buying vegetables from a grocer. If a law says is enacted that all pieces of groceries are to be sold for no less than $13, you’re in quite a bind. If you have valued Brussels sprouts over $13 before and after this wage is enacted, then you might act so drastically (you will act differently but that’s for a more complex discussion on price reactions). But if you’ve valued grapes to be less than $13 before you had the minimum price was set, then you’re going to really evaluate if you’d lose money just to buy grapes.

    ...more
  • Lying Brackets

    Jan 5, 2017

    There’s been a recent trend of trying get people outraged over data. It’s a new trend of infographic-led marketing scheme that aims purposefully deceive both oridinary and smart people. Because of the color artwork and the usage of percentage signs, some of these infographic-deception cases can disarm the skepticism of the brightest minds. If you think fake news is a problem, then this is probably the first thing you should learn.

    Nothing is more absused than the Lying Brackets. These infographics almost always play to your emotions and your heart before your head. In this post, I’ll go over how you can identify if you’re being lied to and what signals you need to watch out for.

    ...more
  • Intermittent Fasting Notes

    Dec 29, 2016

    I can’t stand a lot of health blogs or videos sometimes because they can’t just tell me what to do. I fully appreciate thoroughness, but it’s just way too hard to get the “gist” of some workout or diet plan.
    Here are my notes for intermittent fasting.

    What to do

    Everyday

    • Eat at 1pm or 5 hours after you wake up
    • Eat at 8pm or 7 hours after your last meal

    Don’t:

    • Eat when you wake up
    • Eat when you go to sleep

    When working out

    • Eat your second meal, generally with more calories right after your workout.
    • Try to stick to 40% meat, 40% vegetabls, 20% carbs
    ...more
  • MVVM with RxSwift Slides

    Dec 16, 2016

    I recently did a talk about MVVM on iOS and MacOSX development at Realm at the Swift Language meetup. It’s a fantastic meetup with a brilliant set of engineers who come to learn more about the community and ecosystem.

    ...more
  • What is Left vs Right

    Dec 13, 2016

    What it is not

    Commonly you’ve probably heard that:

    Left:

    • Liberalism
    • Progressives
    • Socialism
    • Democracy

    Right:

    • Facism
    • Totalitarianism
    • Religion
    • Conservativism

    This is an extremely misleading dichotomy with no common similiarities.

    ...more
  • Thomas Sowell on Getting Out Of Poverty

    Dec 13, 2016

    Thomas Sowell could be one of my favorite authors and economists of all time.

    His book Wealth Poverty and Politics is universally acclaimed as a economic-political companion to Jared Diamond’s infamous “Guns Germs and Steel”. One of my favorite conclusions from Sowell was that many groups have risen from poverty to affluence because the group had a culture of work skill and savings not because political activism.

    ...more
NEXT

© 2015 - 2017 Maximilian Alexander, powered by hexo-theme-apollo.