Sounds like you're a filer (I am too). Sounds like emdash is kind of a mix of filing and piling.
24 karma · joined May 28, 2014
Sounds like you're a filer (I am too). Sounds like emdash is kind of a mix of filing and piling.
It's been a tremendous amount of work but is otherwise rather doable. The internet/youtube has been very helpful (like Neo downloading how to kungfu). Another surprise is how helpful the building inspectors have been. They're usually dealing with cranky contractors who want to do the minimum, and we've been very eager for their advice on how to make things last since we'll be living there.
It's been notably more expensive (maybe 15-20%) than we expected, mainly do to the modern building practices and materials which are either required by code or just a good idea.
I have some code to read from this, it's not too hard. PM me if you're interested in my code. (I can open source it.)
[0] https://www.sparkfun.com/products/13664 [1] https://www.arduino.cc/en/Reference/RTC
edit: Oh sorry I missed the "with wifi" in your post. One nice thing about the ESP8266 is that lots of people use it -- hopefully that means you can find details on how to run it in low power modes.
Interestingly, that embedded device I made wound up being MVC without explicitly intending so -- the statecharts were the controllers. The only conditional transitions had to do with code reuse, where a single implementation lead to slightly different transitions depending on how it was configured.
From this, we get that accounts should certainly behave like state machines.
And from that, it’s reasonable that other pieces of code ought to be able to
dynamically inspect an account’s current state, as well as its complete graph
of states and transitions. That’s as much a part of its public interface as
any particular method.
I disagree with this a bit. I think that the state transitions are not part of the public interface -- they're an implementation detail of the SM. The public interface of a SM are its states and the events it responds too. It's up to the SM to decide when to do the transitions. (The _author_ of the SM would be very interested in it's transition graph/conditions of course.)For example, reviewing a bunch of the javascript SM libraries I see a few have the SM define a "transition table". This works for simple SM but makes it difficult to conditionally transition. Perhaps we want our bank account SM to automatically transition to the "hold" state if the balance goes below zero. With a fixed (i.e. as configuration) transition table we can't do this (or we have to fight against the SM library, or the SM library has to be more complicated).
I guess I'm fairly influenced by this book: https://www.amazon.com/Practical-UML-Statecharts-Event-Drive... I found that approach worked very well when I used it to implement a fairly sophisticated UI on an embedded device. It was easy to rationalize about, easy to read in the code, and easy to maintain (add/move states). Seems like something similar in javascript would be nice, except doing things in a javascript way.
This is probably true of any publicly traded company (as mine is) which has a legal obligation to shareholders to be careful that all expenses are worth it.
My understanding is that licensezero is essentially doing what you propose, but also addresses practicalities such as how/where to send payments, tools (for licensees) to aid auditing, flexibility in pricing (and changing the pricing as time goes by).
While I think the steps in the article make emotional sense, I didn't think Elon's powerwall presentation was all that well done. For example the "seed of hope" came across more as a "seed of desperation." He didn't really explain why we're now _able_ to make progress, in a way we haven't been able to in the past. (The audience at Elon's presentation also seemed rather irrationally exuberant, excited for some reason other than presentation itself.)
The strength of the ICU message format, in my mind, is that the messages can be "nested" so that the translation can be customized for multiple concerns (plural, gender, whatever).
Also, with the integrations (dust, handlebars, react) the details of translation and display of data lives in the message format and/or template. This is the "view layer", and means that your controller/code isn't littered with a bunch of calls to a translation library.
[1] http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/la...
* Integrations with Handlebars, Dust, and React hopefully make formatjs.io easy to use (since people are already using one of these).
* Focus on the ICU message format, which is fairly simple yet fairly expressive. (Professional translators should hopefully be familiar with this syntax, and it's actually fairly straightforward for us engineers to use.)
One thing that looks interesting (to me) about Globalize is the way the latest/freshest CLDR data is loaded.