Smaller bundles with Webpack and Babili

Recently I took an objective look at file sizes for the bundles generated for formBuilder, Formeo.js and mi18n. Each module had between 30-52kb of bloat added to them so I set out to reduce. For this write-up I’ll be focusing on mi18n since it’s the simplest of the 3 and the gains are more easily measured. It’s also fresh in my mind so should be easier to write about. Continue reading

formBuilder v1.24.0

v1.24.0 Brings a number of features and fixes to formBuilder:

Features:

  • Update value from preview
    • Changes to the preview will now change the data ina field’s edit panel.
  • Custom labels for subtypes
    • subtypes allow a user to switch between a text, email tel and other types from a simple dropdown but in the past this dropdown was not customizable. Now Labels can be passed in with other string translations.
  • setData action, Resolves #281
    • Set the stage with existing fieldData without reloading formBuilder
  • formRender onRender option
    • define callbacks to execute after a form has been rendered

Optimizations:

  • reduced file size
  • more reusable internal api
  • Removed unused and redundant code
  • code cleanup
  • edit panel style updates
  • improved mobile support

Bugfixes:

  • select default value/placeholder Resolves #288
  • controlOrder option Resolves #292
  • toggle option not working with dataType: 'xml'
  • various xml data issues

Restaurants Serving Microwaved Food

TL;DR; DON’T DO IT.

So this is the blog post I write in my head every time I’m served microwaved food. I’m not a “foodie”, I just can’t rationalize paying money for something I wouldn’t eat for free- at home. It’s actually baffling to me, one of the main reasons I eat out is because sometimes don’t feel like cooking. I actually love cooking but sometimes after a long day I’m not up for the cleaning that comes with it. Sure- I could just throw some left-overs in the microwave… thats easy and free. But it’s Saturday, I should get out of the house and microwaved food isn’t very appetizing. So I decide to go out, I place my order wait a few minutes and *ding!*- it’s ready.

…why would anyone PAY money to be served tough and tasteless food

The only reason I even own a microwave is because it came with the house. I don’t like microwaved food. The microwave ruins food by toughening it and killing the flavor, why would anyone PAY money to be served tough and tasteless food. I also have my doubts about how healthy microwaved food is compared to normally cooked food. I think the the microwave breaks down the fat and other molecules (you know, the stuff that makes it taste good) in such a way that it is harder for your body to digest, making it more likely to become fat than energy. BUT I don’t have any proof of that and have never heard the idea backed up by science so for now it remains a personal belief. The main point here is microwaved food sucks.

I’ve been working on a list of restaurants that serve microwaved food. Today the list just received another entry. One more restaurant I won’t be returning to. One less repeat customer for them. I figure if they don’t care about the food they serve (you know, their business) why should I?