👈🏼 🕸💍 👉🏼
Skip to main content

April 11, 2017

 
 

Checked into Seaside Torrance

Seaside Torrance

Home with the little dude!

 
 
 
 

Watching Pete's Dragon (2016) with @williamlacour and @cleverangel while @colettelacour is away at a sleepover.

 
 

Verdict: Pete's Dragon was really good, and @williamlacour is the best.

 
 

@eddiehinkle so tasty! I can't wait to go back and try the chicken sandwiches.

 
 
 
 
 
 
 
 
 

@e_monty @united @delta that would drive costs way up. I'm not convinced overbooking is inherently bad.

 
 

Electron is flash for the desktop

Great article by Joseph Gentle on the rise of Electron for building "native apps" for the desktop. Electron certainly makes it easier to leverage existing web application work to create desktop experiences, but the tradeoffs are significant.

I'm a big believer in Slack, and use it on a daily basis, but as a result of it being built on top of Electron, its a huge resource hog, provides little integration with the operating system, and doesn't feel particularly native at all.

Joseph is careful to point the blame where it belongs:

To be clear, javascript on the desktop isn't the problem. In fact, I think the APIs work with in the modern web are way better than the APIs that exist on desktop. We should use them....

Developers don't let friends write electron apps. If you want to use JS and react to make a native app, try react native instead. Its like electron, but you don't need to distribute a copy of chrome to all your users, and we don't need to run another copy of chrome to use your app. It turns out modern operating systems already have nice, fast UI libraries. So use them you clod!

The open web is important, and web technologies are fantastic. Leverage them for your desktop experiences, but be smart. Use the REST APIs that you've built. Share JavaScript code, where reasonable and possible. Hell, you can even write your entire app in JavaScript, but don't forget about your users and their experience.

Joseph summarizes his recommendations nicely:

Users: Please complain more about slow programs. Its 2016. We carry supercomputers in our pockets. Its simply not ok for apps to be sluggish.

Developers: Performance matters. Memory usage matters. I don't care if you're the prettiest girl at the dance, slack. I quit you the moment I walk out of the office. I delete you from my computer when I can. Slow is a bug. The fastest program is the one you don't run. So stop embedding the entirety of chrome in your app.

Also all you web devs: Go learn C or Rust or something. Your program runs on a computer. Until you know how that computer works, you're doomed. And until then get off my lawn shakes fist.

This reminds me so much of the early days of the "write once, run everywhere" Java zealotry. "Computers are fast now! Don't worry about taking up memory or CPU!" Get off my lawn, indeed.

 

Tesla Solar Panels

Happy to see them releasing their own panels for those of us that have relatively new roofs, already. I'm putting this on the list to explore in 2018!