Wednesday, November 4, 2015

Starting Plopper

A couple of weeks ago, I started building an application with Electron. After a couple of weeks, I'm still enjoying developing in it.

It's a hobby project named Plopper. It is a tool to help you organize ideas. I'm thinking that it will be to graph structures what trello is to list-of-lists.

Progress has been ok. Translation: I haven't been blocked so badly that I wanted to give up on the project.

I'm not an experienced web developer, so I'm always getting tripped up by one thing or another. For example, when I was using the Node.js file system module, I was stupidly expecting the async tool to work in a synchronous manner. Let's just say that it was a good learning and debugging experience.

There have been more fundamental things I'm not sure about either. I am still not sure on how to manage the state of my application. When a user interacts with my application, I can save the state in long term storage in a file (probably a database in the future), but what do I do for intermediate state changes? For now, I've resorted to using some global variables that are around for the life of the application run.

I think the success of my application will depend a lot on the graphical user interface. If it's simple, intuitive, snappy and fun, I think it can work. So, I've been playing a lot with the html5 canvas. You are given rudimentary tools to work with the canvas, like drawing rectangles, lines and text. It's basic, but easy to understand, so I like it. It seems like you could nearly render an entire application using the canvas alone. I'm still feeling out how best to use the canvas.

Sunday, October 25, 2015

El Capitan is good

I upgraded to OS X El Capitan. So far, I am very pleased.

The first noticeable improvement is that my laptop, Macbook Air 13-inch, Mid 2012, works much better with DisplayLink. I am currently using two external monitors, Dell U2410, at 1900 x 1200 resolution each with the laptop in clamshell (closed) mode. I can see that the screen has been turned off completely. In previous OS X versions, the laptop had to remain open and 1 of the external monitors would eventually just stop getting a signal after some time. I have only seen consistent good behavior.

The second noticeable improvement is something I might just be imagining. I think the amount of free disk space that I have has gone up by a few GB. Usually upgrades mean more disk space consumed, but I don't think that happened to me. Maybe I don't remember exactly how much disk space I had used before, and this is flat out wrong. In any case, the disk space consumption hasn't gone up noticeably, so that's good.

I have been a bit underwhelmed by the 'snapping' features for window management. It requires use of a mouse and clicking on the little green icon on top of a window. I'd rather have some keyboard shortcuts that do it for me. For now, I'll stick to using Spectacle.

I have not noticed any negative have only noticed improvements.