It's even worse than it appears.
I'm on a podcast roll these days. 17-minutes worth of rambling about how Apple should fix the TV problem, which btw is all those freaking wires. The tech has advanced so much, you could blow people away with elegance, ease of use, and power, and so what if it costs three times as much as the competition. We're accustomed to paying for the best. I should note that I have some $AAPL stock, purchased in 1997 and held since then so when Apple screws me in software at least I make up for it in my brokerage account. I'm so puzzled why I'm not using Clubhouse these days. And I'm totally maxed out on new services. OMG no more please. Also a story about hanging out with Don Pearson who did the sound for the Dead. #
An idea for a business. Home entertainment system makeovers. I have so many friends with obsolete entertainment systems. They work fine. You get used to them. It was exciting when you got it 10 years ago and you still feel that. But. Things have gotten so much better and so much cheaper. Now, for very little money, relative to the amount of time you use it, you can have something much nicer. You could make people really happy and make a good living doing it, I think, at least for a little while until word gets out you just have to buy a new screen and then work out from there. 💥#
I have a series 5 Apple watch, reading this review, can't see a reason to get the series 6. I use it mainly for timing my exercise, and to see what the temperature is outside and of course the time. I charge it every night, but it never gets less than 1/2 battery. I already have a pulse oximeter, and I take a reading once a day, and record it. #
I have a new iPhone SE, new Pixel 4a, and a new Subaru, which supports both kinds of phones. I love all three very much. I previously had a super high end iPhone, but I'm a middle class kind of guy, and the SE is much more my speed. And for the first time I've been able to use an Android phone for navigation and listening to podcasts and audio books. I took a drive to Albany on Tuesday, and was able to test it out. It all works, in an unsurprising manner, except Google Maps on the Android has one feature that the iPhone version desperately needs. The map re-orients so that the direction you're heading in is always up and to the right. On the iPhone it's kind of random. Hard to parse. And the layout is much better for a driver, who can't spend any time puzzling out what the computer trying to say. If you have a turn in 2 miles, there's a box that says Right Turn in 2 Miles. And it counts down as you get closer. Next time I'm driving I'll try to take a picture (obviously with the iPhone). #
A do-it-yourself Bernie Biden lawn sign. #
  • I believe self-executing functions in JavaScript are obsolete with ES6. I never liked and rarely used them. I prefer to use features put there by the designers, rather than use a clever hack that makes you wonder why the feature wasn't put there. #
  • Now in ., you can create a simple block and declare your variables with let. No clever hacks needed. #
  • Some real-world example code.#
    • { //insert headline for 1st level subs#
      • let htmltext = "";#
      • let ixButtonsArray = ix + 1; #
      • let theButton = theButtons [ixButtonsArray];#
      • function div (classname, val) {#
        • return ("<div class=\"" + classname + "\">" + val + "</div>");#
        • }#
      • function add (s) {#
        • htmltext += s;#
        • }#
      • add (div ("divButtonEmoji", theButton.htmlEmojiCode));#
      • add (div ("divButtonTitle", theButton.theTitle));#
      • add (div ("divButtonVal", ix));#
      • opInsertRawHtml (htmltext, right);#
      • }#
  • The block, like a bundle in Frontier, allows you to collapse some code, hide its variables from the containing code, without declaring a new routine. It's essential that you put a comment at the opening left curly brace to say what the block does. If that's not easy to do that indicates a refactor is needed, imho.#

© 1994-2020 Dave Winer.

Last update: Thursday September 17, 2020; 9:17 PM EDT.

You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)