Qt and Community
The opening of the Qt repository is potentially the most important move Nokia has made.Jeff Jarvis documents the decline of print media and explores strategies that could be adopted to keep in...
View ArticleRapid Application Development
An itch showed up, I needed (wanted) a simple, or so I thought, application to edit or create a definition file for the Energy Plus building simulation suite. Energy Plus is a US department of energy...
View ArticlePhantom Pain and Python
Been rereading The Brain that Changes Itself (link). A friend had a severe injury a number of years ago, lost two limbs. He experiences phantom pain, where the missing limb hurts or itches. Quite...
View ArticleAlmost ready to release
Almost ready for the first release of Energy Plus frontend, idfeditor. code.google.com/p/energyplus-frontend. The link lists the features that are done. I'm in the process of testing by building and...
View ArticleRelease
I've packaged up a tarball to make a first release of idfeditor, an application to create and edit the configuration files for Energy Plus building simulation. It can be found at...
View ArticleTruth in Advertising
Jasper's blog (and the seeming tenor of planetkde today) seems negative. It isn't. It is the truth. The Linux desktop is, for all it's advances and neat stuff, pretty limited.There are a few reasons...
View ArticlePaper paper everywhere
I have an itch. I need to get hundreds of pieces of paper to my bookkeeper who happens to be on the other side of the country. And as usual, when poking an itch things happen in interesting ways,...
View ArticlePhotographing Bats
One evening last summer the dogs and I were on the beach near our home. Just as it got dark a group of bats came out of the brush and flew back and forth along the shore feeding on the mayfly hatch....
View ArticleTriggers
Why are almost all software projects structured around the data schema as opposed to the user and environment? This always ends up with the software defining your business as opposed to the business...
View ArticleHerding Cats, or Managing Complexity
Determined to find a rational web based development environment, something stable, that works, has support and is flexible enough to deal with future demands, as well has minimal html involved, I ended...
View ArticleAngular 2 Things that Bite
Services. Angular 2 services are classes that provide a service. They are an effective way of dealing with asynchronous data calls, for sharing data between components. You set them up like this (using...
View ArticleNgrx Platform
I've used ngrx/store and ngrx/effects for a while, and like the pattern. The new version has been released, and here are some of the changes I had to make in my code. Pre v4 you built your reducers as...
View ArticleNGRX Platform, redux
I have been using something similar undoables for an undo/redo function in my reducers. This implementation maintains the last array in memory, which would consume quite a few resources, so I rewrote...
View ArticleNGRX pattern in a node server
I ran into the term CQRS twice in the last while. It means Command Query Responsibility Segregation. Essentially it means that the query, or getting data be segregated from the command, or posting...
View ArticleNGRX Store and State Management
I have seen a couple of times experienced developers finding NGRX difficult to grasp. That was my experience as well. So I'll try to explain what it is about.https://gitter.im/ngrx/platform This is a...
View ArticleNGRX Store and State Management 2
In the first post I described what application state is and how to use it in your components. Here we will get into modifying the state. If you remember, our application State looked like this.export...
View ArticleNGRX Store and State Management 3
In previous articles I described the basic Store and Reducer layout of the pattern. Reducers are the only way state is modified, and the modifications should be pure, meaning synchronous functions....
View ArticleNgrx Entities and One to Many Relationships
When I started with Ngrx the Entity module didn't exist. My state consisted of arrays of objects. The reducers and selectors were array manipulations. It worked well but if the state had a large number...
View ArticleAngular in Docker Containers for Development
I've been using the Google login for authentication for my application. The chain of events is as follows:In the browser a Google login where you either enter your account information or select from an...
View ArticleThe Secrets of Docker Secrets
Most web apps need login information of some kind, and it is a bad idea to put them in your source code where it gets saved to a git repository that everyone can see. Usually these are handled by...
View ArticleState as Observables, State as Ngrx.
Observables and Ngrx are complex. As with any technology, it is very very easy to forget what you are trying to accomplish as you wade through the details.Start and end by thinking "What do I want to...
View ArticleNGRX Normalization
Application state is the data required to render the views over time.One of the conceptual difficulties that makes Ngrx difficult is how to structure the state. There is no one answer because the...
View ArticleNGRX Actions
export interface Action { type: string }This is what defines an Action. Ngrx implements a message passing architecture, where Actions are dispatched.this.store.dispatch(action)The mechanism behind...
View ArticleNGRX Effects
"In computer science, an operation, function or expression is said to have a side effect if it modifies some state variable value(s) outside its local environment, that is to say has an observable...
View ArticleNgrx Selectors
I look at selectors in Ngrx as queries on the data store. They are the method of getting data from the store to the components in the shape of an observable.constructor(private store: Store) {...
View Article