The Daily Parker

Politics, Weather, Photography, and the Dog

B is for BASIC

Blogging A to ZFor day 2 of the Blogging A-to-Z challenge, I'm going to talk about the first computer language I learned, which is still alive and kicking in the .NET universe decades after it first appeared on a MS-DOS 1.0 system disk: BASIC.

BASIC stands for "Beginner's All-Purpose Symbolic Instruction Code." The original specification came from John Kemeny and Thomas Kurtz at Dartmouth College in 1964. Today it's one of the core .NET languages included with Visual Studio as "VB.NET" (for "Visual BASIC," Microsoft's dialect of BASIC released in 1991).

Yesterday I showed you a "Hello, World" application written in C#. (You can download the source code here.)

Here's the VB.NET version:

Module Program

	Sub Main()
		Console.WriteLine("Hello, World!")
		Console.ReadKey()
	End Sub

End Module

What's different? Well, a lot of things: no braces, no include lines, no semicolon line endings...and that's just for a 2-line program.

But look at what's the same. Because this is a .NET program, the actual guts of it look almost exactly the same. There are two calls to different methods on the Console object, and except for the missing semicolons, they are identical to the calls in C#.

Here's the IL:

.method public static void  Main() cil managed
{
  .entrypoint
  .custom instance void [mscorlib]System.STAThreadAttribute::.ctor() = ( 01 00 00 00 ) 
  // Code size       19 (0x13)
  .maxstack  8
  IL_0000:  nop
  IL_0001:  ldstr      "Hello, World!"
  IL_0006:  call       void [mscorlib]System.Console::WriteLine(string)
  IL_000b:  nop
  IL_000c:  call       valuetype [mscorlib]System.ConsoleKeyInfo [mscorlib]System.Console::ReadKey()
  IL_0011:  pop
  IL_0012:  ret
} // end of method Program::Main

Wow. The IL is exactly the same. So both the VB.NET and C# code compile down to functionally identical assemblies.

And that's one of the most important characteristics of .NET: it lets you write code in any language you want (as long as someone has written a compiler for it), and run it on any platform you want (as long as there's a CLR for it).

I worked with Visual BASIC from versions 1 to 6, and then did one project in VB.NET before switching to C# in 2002. You really would need to pay me a lot of money to go back to it. I believe C# is more expressive, more concise, and more able to reflect my intentions than VB.NET.

But there is nothing wrong with VB.NET. If you want to use BASIC, enjoy. With the .NET ecosystem, it's up to you.

April come she will

Blogging A to ZThe A-to-Z Challenge starts tomorrow, and I'm all set to go with a list of 26 topics on programming with Microsoft .NET.

Now I just need to write the actual posts.

It's interesting to me how vacations don't actually lend themselves to much productivity, even when that's the explicit purpose of the vacation.

Anyway, if I do my job today, the first post will hit at noon UTC tomorrow. If I don't do my job today, it'll hit sometime later than that.

Still churning through my to-do list

On the one hand, I've been really productive on my staycation, having checked off 38 to-do items including a few that came from my need to get Parker repaired.

On the other hand, I've done none of the reading and writing I set out to do. With the A-to-Z challenge starting in two days, I really need to get on that.

But, you know, it's still a vacation. So why not vacate a bit?

Parker update

I mentioned yesterday that Parker stopped putting weight on one of his legs after hurting himself running up the stairs Saturday night. Turns out, it's pretty bad.

His primary vet says my aging mutt tore his ACL and meniscus, which will require surgery. He's getting X-rays on Monday to confirm the injury but she has very high confidence in the diagnosis. Surgery is scheduled for Tuesday.

He doesn't seem to be in any pain when he's lying down (which, as an old dog, he does 20 hours a day). Walking up and down stairs is not possible, however. (Did I mention he weighs 30 kg?) And he has some discomfort in his usual sitting posture. I've got him on pain meds and a joint supplement, but he's not going to be a happy dog for the next couple of months. No day care, no long walks, and definitely no running, probably until the end of May.

Poor doggie.

Whisyfest 2018 summary

I mentioned physical items on my desk that needed sorting. My tasting notes from Whiskyfest comprise some of them.

I'm not going to go into details about the whiskies I tasted; here, instead, is a summary table:

Distillery Expression Verdict
Ardbeg 10 year Drink
Ardbeg An Oa Buy
Ardbeg Dark Cove Committee Release Buy
Ardbeg Kelpie Committee Release Drink
Ardbeg Grooves Committee Release Drink
Balvenie 21 year portwood Buy
Balvenie Peat Week Drink
BenRiach 10 year Buy
BenRiach 10 year Curiositas Drink
BenRiach 21 year Drink
BenRiach 21 year Temporis Buy
BenRiach 12 year Triple-Distilled Horizons Drink
BenRiach Cask Strength Batch 2 Drink
BenRiach 2005 Peated Port Single Cask #2683 Buy
Bowmore 18 year Manzanilla Buy
Bowmore 25 year Buy
Four Roses 2017 Limited Edition Small Batch Skip
Glenmorangie Spios Rye Cask (2018 private edition) Buy
Lagavulin Distiller's Edition 2001 Buy
Laphroaig 25 year Buy
Laphroaig 27 year Buy
Linkwood 19 year cask strength Skip
Maker's Mark Cask Strength Skip
Maker's Mark Private Select Skip
Oban Distiller's Edition Buy
Old Rip Van Winkle Pappy 20 year Skip
Old Rip Van Winkle Pappy 23 year Skip
The Tyrconnell 15 year Madeira cask Buy
The Tyrconnell 7 year Drink
The Tyrconnell Madeira cask (no age) Drink
The Tyrconnell Sherry cask Skip
The Tyrconnell Port cask Skip

It's important to note that while I tasted all of these whiskies, but I did not drink all of these whiskies. I went with a friend, and we shared tastes; the pours were generally very small; and we went to seminars for three distilleries, spreading those tastings out over 45 minutes each. The whole event lasted four hours.

Also, Whiskyfest provides a metric shit ton (a shite tonne) of food. Good food. Heavy, fatty food.

But now you have more context for why I did nothing of commercial or professional value over the weekend.

And yeah, as much as I want to buy some of these, I'm not likely to shell out the $1,000 for the Laphroaig 27 next time I'm at Binny's.

Staycation: Day 1

Man, I've needed this for a while.

It's 11:15 on a Monday, after doing nothing of commercial or professional value for an entire weekend, and I'm finally at Inbox Zero for the first time in months.

My to-do list currently has 30 items (plus 6 already finished) ranging in complexity or duration from "set up coffee with so-and-so" to "45,000 steps." Inbox Zero was not on the main list, but my inbox is itself a to-do list, so that counts too. In a few minutes I'll have finished with the physical items on my desk that need sorting, and then...breathe in.

Meanwhile, Parker is still not putting weight on one of his legs. We'll be stopping by the vet this afternoon. His giardia has cleared up (I think; I haven't looked that closely), and despite whatever is wrong with his leg, he's happy to walk on the three that still work properly.

Also, just a little blog housekeeping: the A-to-Z Challenge starts Sunday, so over the next week I might have fewer general posts so I can get a head start on the longer posts for April.

Elite Eight for Loyola

My #2 alma mater Loyola University Chicago's men's basketball team has done something for the first time in my life:

This marks the first time since 1963’s NCAA championship team that Loyola has remained alive this deep into the season. Wearing their championship rings, Jerry Harkness and several of his teammates sat in the front row at Philips Arena to cheer for the 2018 team.

The program hadn’t been to the NCAA tournament since 1985’s Sweet 16 squad. Now, the Ramblers will face Kansas State, a 61-58 victor over Kentucky, on Saturday in the NCAA South regional final.

Meanwhile, my #3 alma mater, Duke, plays Syracuse tonight.

We're #11?

Crain's reported yesterday on the latest business-school rankings from US News and World Report. University of Chicago tied with Harvard at the top spot and Northwestern landed at #6:

The magazine labels its ranking a year in advance, so this is the 2019 list. While it started the rankings in 1990, it has historical data reaching back only to 1994, but it was confident this was the first No. 1 showing for Booth.

“The University of Chicago’s Booth School of Business tied for No. 1 this year due to its strong placement data, meaning it had the highest percentage of employed students at graduation and, among the very top ranked schools, the highest percentage of graduates employed three months after graduation,” Robert Morse, the magazine’s chief data strategist, said in a statement. “The mean starting salary and bonus of Booth graduates was one of the highest among top schools.”

Duke dropped to #11 in the full-time rankings, but stayed at #5 in the Executive MBA list.

I expect they care more about this in Durham than I do here in Chicago.

The Caribbean recovers

Climate change, in part, destroyed two of my favorite places in the world last year, but they're recovering slowly. Yesterday, the New York Times reported on the progress of both. First, Sint Maarten:

Passengers arriving at Princess Juliana International Airport, on the Dutch side of the island earlier this month, were directed onto the tarmac, past the battered terminal to a white wedding-style tent for immigration. Outside the parking lot, the Pink Iguana, a tugboat turned dockside bar, remained capsized in the water. Down the road, Maho Village (http://www.mahovillage.com/) was practically a ghost town. Of the roughly 40 bars, shops, restaurants and clubs along its entertainment strip, only a pharmacy, grocery store, real estate office and a few restaurants had reopened. All four of its seaside resorts — Sonesta Maho Beach Resort, Casino & Spa, Sonesta Ocean Point Resort, the Royal Islander Club La Plage and Royal Islander Club La Terrasse — are undergoing major reconstruction. None are scheduled to open before summer or fall.

Yet with another hurricane season fast approaching, much of the tourist zone is not only rebuilding, but undergoing a multimillion-dollar face-lift. The Maho Group alone is putting more than $50 million into a revamp of the Sonesta Resorts, including overhauling the Sonesta Maho Beach Resort, and incorporating a new contemporary design. Sonesta’s Casino Royale, the largest on the island, with more than 21,000 square feet of gaming, plans to reopen this summer with two new bistro-style al fresco restaurants and a rooftop bar and lounge. Shiny new rental cars awaits visitors at the Alamo rental office. The Rainbow Café (http://rainbowcafe.fr/en/home/) in Grand Case has a new whitewashed deck, a reconfigured layout, and chic red-and-white furnishings. “Everything is destroyed, so I tried to do something better,” the owner, Gobert Douglas, said with a French accent. Pointing out that he could have spent less on the renovation, he said, “I prefer to do this, change the floor, all the seating, all the style of the restaurant to make it new.”

I'm glad to see it. When I last visited the island, I spent some time outside the tourist regions and interacting with the people who lived there. It's not an easy life at the best of times. With tourism almost destroyed and their own infrastructure barely usable, it's no wonder both countries on the island have come together to restore what they could. I hope to visit again within the next year.

Vieques, which is part of the United States, also suffered tremendously in the last hurricane season. They've started putting the pieces back together as well:

Locals in frayed T-shirts and dreadlocks rubbed shoulders with people who’d arrived on dinghies from sailboats bobbing in deeper water, and a few other visitors from colder climates. The first one I met, Stephen, from Atlanta, had been a regular visitor since 2000.

“I’ve always thought of Vieques as ‘my’ island,” said Stephen, who was making his second visit since the storms. He’d discovered it when he was living in Boston and spotted a cheap flight to San Juan. “My copy of ‘Let’s Go’ suggested Vieques as a pretty good day trip. So I left my rental car on the ferry dock in Fajardo, figuring I’d be back that night. I ended up staying the whole week.”

Others lured by Vieques’s beauty, lack of pretension and low cost of living, have lived here for decades: In my short stay I ran into a museum director, an academic, artists, a retired nurse and a couple from Colorado, Norm and Deb, who had retired early and moved to the island sight unseen to live, as they put it, “on purpose.” Stephen was staying at El Blok, a Brutalist-style cement hotel at one end of the Malecón. When it opened in 2014 it was hailed as hip, chic and a little fancy, with a menu created by a famous chef — something of an anomaly on Vieques. Now the building has a plywood facade painted with the slogan “Vieques Se Levanta” — Vieques Will Rise. Workers head to the bar after sunset, and the vibe is friendly and a little raucous.

That the rest of the U.S. has made it so difficult for Vieques to rebuild is, I think, criminal. Especially if you put "America First," though those are exactly the people who have prevented restoration funding from flowing to the island.

If you're interested, click through for some of my earlier posts about Vieques and Sint Maarten.

Almae Matres both advance

Duke advanced yesterday to the Sweet 16. Cool, but their 87-62 win over Rhode Island wasn't exactly a fair fight.

Loyola, though. Loyola advanced on a hail-Mary three-pointer with 3 seconds left on the clock:

Loyola did it again with a 63-62 NCAA tournament thriller against No. 3 seed Tennessee to advance to the Sweet 16 for the first time since 1985 — the last time the Ramblers were in the tournament.

On Saturday night, it was guard Clayton Custer who delivered a game-winning 15-foot jumper with 3.6 seconds left on the clock. In the first round two nights before, it was senior Donte Ingram who nailed a 3-pointer with 0.3 seconds remaining against No. 6 seed Miami to make Loyola a tournament sweetheart.

If Thursday’s victory goes down in Loyola history as “The Shot,” this one will be known forever as “The Bounce."

Custer’s shot from the right side near the free-throw line ricocheted high off the rim to the top of the backboard before rattling through the basket — stunning the Volunteers and adding to what has been a wild NCAA tournament littered with defeated higher seeds.

Nice work, Ramblers. Nice work. Good luck tomorrow to both teams, with Duke against whoever wins today's Syracuse-Michigan State game, and Loyola set to play the winner of tonight's Nevada-Cincinnati game.