Hugo and Azure Static Web Apps

Azure Static Web Apps are free, so why not use them? This site is hosted on it, and it literally costs me zero money. Let’s go! What you need A GitHub account An Azure account Steps If you haven’t already, install Git Install Hugo Create a new Hugo site (locally). Example: hugo new site mysite cd mysite Create a GitHub repo and commit the site. Example: 1 2 3 git init git add ....

February 22, 2023 · 1 min · skaiser

Code Test

Python 1 2 3 4 5 6 def fib(n): a, b = 0, 1 while a < n: print(a, end=' ') a, b = b, a+b print() SQL 1 2 SELECT p.name, a.address FROM person p INNER JOIN address a ON p.address_id = a.id JavaScript 1 2 3 4 5 6 7 8 9 document.getElementById("theme-toggle").addEventListener("click", () => { if (document.body.className.includes("dark")) { document.body.classList.remove('dark'); localStorage.setItem("pref-theme", 'light'); } else { document.body.classList.add('dark'); localStorage.setItem("pref-theme", 'dark'); } })

February 22, 2023 · 1 min · skaiser

Coronavirus Diary 256

Global cases: 57,975K. US cases: 12,143K. US deaths: 259K Been a while…sigh. We’re in a “third wave” of infections, since the first and second waves were never controlled. It’s hitting WA pretty hard too, although we are doing WAY better than the rest of the country now. Sturgis was definitely a superspreader event, no surprise. Fucking Trump lost, but of course he refuses to concede. Filing lawsuits all over the land to try and overturn elections....

November 21, 2020 · 2 min · skaiser

PostGIS geocoding setup—Azure PostgreSQL

Setup steps (for Windows) Install software Install PostgreSQL 13.x or higher on your local machine After installation, use the PostgreSQL Application Stack Builder to install Spatial > PostGIS 3.0 Install Azure Data Studio Create staging folders cmd.exe 1 2 mkdir c:\gisdata mkdir c:\gisdata\temp Create an Azure PostgreSQL server (Single Server). Create a database on your Azure server called gis. Be sure your server allows connections from your local client IP address....

November 3, 2020 · 5 min · skaiser

Coronavirus Diary 182

Global cases: 27606K. US cases: 6454K. US deaths: 194K. We made it to the 6 month mark! 😭 6 months of the stay at home order from work. Businesses closed, school barely functioning, cabin fever at all-time highs. Ellie’s school is fully remote, but it’s fantastic. So much better than last spring! And she’s back to her amazing self. Hoping we can get one more camping trip in this year.

September 9, 2020 · 1 min · skaiser

Coronavirus Diary 151

Global cases: 19770K. US cases: 5127K. US deaths: 165K. 151 days and there is no end in sight, no vaccine, and people continue to think the virus is a hoax, or nothing to worry about, or someone else’s problem. Schools are already opening in other parts of the country, and covid cases are spiking because people aren’t wearing masks (and schools aren’t allowed to force mask wearing, like in Georgia). Ellie’s school is planning to open (at 50% capacity), but who knows if that will last....

August 9, 2020 · 1 min · skaiser

Coronavirus Diary 43

Global cases: 2707K. US cases: 890K. Kind of bummed today. Work was fine, but it seems like this might go on for a long time. Months or more of not really seeing people. Working from home has been tough. Amber is on a ton of loud conference calls, and if I don’t bug Ellie to do her homework, it doesn’t happen. I can’t blame Ellie. She has an overflowing inbox of emails telling her what is due....

April 23, 2020 · 1 min · skaiser

Coronavirus Diary 17

Global cases: 663K. US cases: 123K. The numbers are increasing so fast. People are saying the next month is going to be really bad. I think WA is far ahead and we’re closer to hitting the hump than other states. Still, the worst is yet to come, even here. Sense of smell/taste is getting somewhat better. It’s only at like 10% of normal, so I have to sort of use my imagination when I smell something....

March 28, 2020 · 1 min · skaiser

Coronavirus Diary 10

Global cases: 381K. US cases: 46K. So, apparently my lack of smell/taste is a marker for coronavirus. It just came out yesterday. And it’s been about a week and a half since I probably got the virus. Crazy that this is a new marker–everything is evolving so quickly.

March 23, 2020 · 1 min · skaiser

Coronavirus Diary 9

Global cases: 307K. Doubled in a week. US cases: 27K, 11x from a week ago. COO of Swedish says that the US Navy may park a ship in Seattle as a floating hospital. Not a bad idea. I was playing with a modeling tool yesterday that looks pretty depressing. Shows that even with “strong mitigation” (social distancing) there will be a second round of cases a year from now, which is much worse than the current one....

March 21, 2020 · 1 min · skaiser