I find the lifecycle of angular services to be quite anti-intuitive when down in the weeds with lazy loaded modules.
If I have a service declared in a lazy loaded child module and that module is loaded the service is instantiated and according to the documentation and pretty much everyone who has wrote on the subject should live for as long as the associated injector (and thus module) lives unlike a module directly imported which I understand shares the injector and thus the services will be available app wide for the lifecycle of the entire app.
I have found that if a lazy loaded module accessed through a router outlet is navigated to from the same lazy loaded module through a different router outlet which effectively wipes the previous base component of the module, the component is redrawn but the service from the previous module and assumably the actual module itself sticks around. The question then is for how long?More Like This
Apple triaged the app review for the latest PocketLab app due a bug that was introduced in the previous release.
I liked the process but even with the triage it took about 18 hours.More Like This
It would be nice to be able to reference previous thoughts when writing new ones.
There are two approaches that initially come to mind to tackle the presentation of referenceable thoughts.
Thoughts are not easily categorized, however as it might be helpful in deciding (to whatever extent we do decide) which thoughts to act upon and how, I will define three broad groups which thoughts could be sorted into.
Thoughts from all groups appear to invoke emotion, so a memory of a nice event or promising plan could invoke a feeling of happiness and/or satisfaction but emotion could also be genesis of the thoughts. Although the genesis of a thought never seems clear to me.More Like This
A couple of ideas on how to use the skills of accounting and programming in the same company.
A couple of thoughts regarding the PocketLab UI.
Although I believe a more liberated engineer (free from excess social, bureaucratic and traditional processes) generally makes for a more for-filled and ultimately more productive engineer it can also be helpful to use self imposed mechanisms to guide behavior where human tendencies can lead us down unproductive paths.
An example of this is a widget I created for android which connects with my Trello boards, sits on my home screen and has the following features:
The alarms and notifications have a pavlovian effect and can be made to quite unpleasant by adjusting vibration length and sound thus increasing the effectiveness.More Like This
I would give Firebase a miss for now especially if a bit of server side code (called Cloud Functions in firebase).
Cold start, the delay incurred when a function hasn't been used in a while, is a killer and can't be over come by paying for a plan.
Admittedly Firebase is in beta although they still provide payments plans...More Like This
Some processes I perform during the day that I might be able to improve on are:
Improvements could entail
For each process one type of improvement may be more desirable than another. For example, I don't want to speed up my coffee making as I use it as a chance to take a break from looking at the computer screen but I do want to speed up project management as it would give me more time to do something I enjoy.More Like This
In Inadequate-Equilibria Eliezer Yudkowsky argues that the efficiency of the economic system and the number of people in the world means that there isn't any low hanging fruit when it comes to converting an idea into something profitable.
Although things are in a state of Nash Equilibrium everywhere the incentive structure in place means that these states can't be resolved in a way that makes money otherwise it probably would have happened already and it wouldn't really be in Nash Equilibrium. Or something like that.More Like This