This blog came under heavy attack starting in late 2020 (presumably from cultists who objected to my spreading heretical information) and my hosting provider was unable to cope. I now have a new provider, so I restored it from a backup. We’ll see if my new provider can keep a WordPress install secure. Unfortunately the backup was only text, so various media files (such as heretical videos I rescued from YouTube before they could be censored) were lost.
Category: Computers
-
Cities: Skylines Traffic Lights
I’ve been playing Cities: Skylines lately–it’s a city building game along the lines of the old SimCity series. It’s a very complicated game and doesn’t have any tutorials, so I spent some time watching YouTube videos to learn how to play it. I noticed that the people making the videos always use a mod called Traffic Manager: President Edition to keep their traffic flowing smoothly. I decided to play without mods until I got a city to the final population milestone, and in doing so learned why that mod is so popular.
Here’s an illustration of a busy intersection with a vanilla Cities: Skylines traffic light. It’s a good thing there are no collisions in this game, or everybody would be dead. The game’s traffic lights have no separate left turn lights, so cars are trying to turn through opposing traffic from the opposite direction, and pedestrians pay no attention to the lights and just cross at will, further blocking things up. The lights also can’t be synchronized with each other, so things like the ubiquitous diamond interchange with two sets of traffic lights don’t work correctly.
I found that to compensate for this in the un-modded game, busy intersections needed to have only one light and no pedestrians, or no lights at all. The first thing I tried was the single-point urban interchange, shown above. It mostly works, although the light phases are wrong. There’s a pedestrian bridge just out of sight to the right, keeping them from clogging it up. I found that to get interchanges to really work well I had to use something which doesn’t actually exist in the real world: the double crossover merging interchange. Since fancy new interchanges are generally made by retrofitting an existing one, it’s not surprising none of these have actually been built. They work great in vanilla Cities: Skylines, though, where that’s not a concern and avoiding lights is vital.
-
Twitter’s new rules supposedly going into effect
The Twitter Rules. You also may not affiliate with organizations that — whether by their own statements or activity both on and off the platform — use or promote violence against civilians to further their causes. We will begin enforcing this rule around affiliation with such organizations on December 18, 2017. [Twitter.com]
Supposedly this new Twitter rule will be going into effect today, with people who violate it having their accounts banned. However, this is obviously not going to happen. If it did, every account associated with any government would be banned, as would anyone affiliated with any government (including employees and businesses that do business with governments). Since this covers not just activity but statements, mainstream media sources such as the New York Times and CNN would also be banned.
But of course this is Twitter, so they’ll actually just be banning people who aren’t sufficiently enthusiastic Social Justice Warriors, because anything that makes a pinko sad is literally violence.
-
A very large difference in ease
Simple Web Development with Xojo. Do you find it frustrating to create web apps? HTML, CSS, JavaScript, and AJAX can be challenging, and frameworks such as Node, React, Ruby on Rails, ASP.NET, PHP and Java are often overwhelming for those just beginning web development.
There is a simpler solution: Xojo. Using a single programming language and a single IDE, you can go from zero to a working web app in an amazingly short amount of time with Xojo. [Xojo Blog]
In my experience the difference in complexity is enormous. Not long ago I was assigned to write a GWT composite widget containing over a dozen other widgets. To be sure I understood the written spec, I first created a working prototype of the widget as a Xojo container control so that I could show it my boss and confirm that I understood what he wanted. Once he had confirmed it, I implemented the same UI using GWT. The Xojo version took an hour and had a dozen lines of code. The same UI in GWT took a week and 150 lines of code.
-
The end of CityDesk
RIP CityDesk – Joel on Software. In those days all the cool kids wrote their own blogging platforms. I wrote CityDesk. In what turned out to be a monumentally wrong bet, I thought that people would want to blog on Windows, with all the slick WYSIWYG editing goodness that wasn’t yet available in early versions of HTML. CityDesk kept your entire website in a SQL database (Microsoft Jet, the backend of Access) and had a frontend like a word processor. Every time you needed to publish, it generated the entire site as a set of html pages, which it then uploaded to an ftp server for you.
[…]
Over the years the CityDesk code base (VB 6.0, another bad bet) stopped running on the latest versions of Windows. Nobody else cared but by that time I was using a custom version of CityDesk which only ran on Windows XP. So until recently, I had a virtual machine set up with Windows XP running in there, and a copy of CityDesk.
[…]
Matt Mullenweg over at WordPress has been trying to get me to move Joel on Software over to WordPress for so long it’s not even funny. I finally gave in. [Joel on Software]
I used CityDesk myself to manage my main website for a number of years after the sad demise of UserLand Frontier, before finally replacing it with nanoc around the time I moved to Austin in late 2012. It was an unusual product in that it was actually better than any Mac alternative at the time (something that’s usually true only of games).
-
Twenty Years
I’ve now had the orange-road.com domain name for twenty years.
-
Google Fiber
My apartment got Google Fiber yesterday, so I got it set up last night and cancelled my Time Warner internet service today. I get twenty times the bandwidth for $50 less per month. Google also allows their customers to plug in the box themselves instead of making them wait at home all day for an “installer” as cable companies do, and they even let people pick up the box from their office if they wish. That was a particularly nice touch, as I live just a few blocks away and normally walk past it a few times per week.
In addition to getting an Internet connection just as fast as my gigabit Ethernet wired network, I get about a 166 megabits per second over WiFi, which my AppleTV uses. The difference is pretty noticeable with Netflix and YouTube.
There is one aspect that could use improvement. The Google Fiber network box doesn’t have a bridge mode, which means I couldn’t use my old router. That required a certain amount of hassle with updating things on my network.
-
Amusing Easter Egg
This weekend I was playing Crusader Kings II, a historical strategy game covering 769 to 1453. While playing a Norse ruler, I discovered a mysterious metal box while sacking a French city. Shortly thereafter, this event happened:
The key fits the lock, and you slowly open the chest. It contains nothing but dust! As you run your hand through it, strange lights begin to manifest in the room and you close your eyes when the first ghostly apparitions appear. You hear the screams of your guards, and when you finally open your eyes again, the specters are gone… and your guards have been reduced to ash.
So, apparently I found the Ark of the Covenant.
-
Blog fixed
The problem I was having with my blog software has been fixed, thanks to MacHighway’s support people. It’s nice to do business with a company that actually cares about their customers!
-
Blog glitch
In the past few days something has started interfering with WordPress’s XML-RPC interface. That’s a problem because MarsEdit, the client app I use, depends on it. Although they initially denied it, my hosting provider is now admitting that it’s their fault. I’m hoping I can convince them to fix the problem.