Lightroom: spot heal bug after DNG conversion

I discovered a bug in Lightroom!

If you apply the spot heal tool to an area in a RAW file (in this case, a Sony ARW one) and convert it to lossy DNG the spot heal will become a pink square. It’s easily fixed by applying the spot heal again but of course this shouldn’t happen.

While on the subject of Lightroom bugs, a long time ago I also noticed that the Transform tool acted differently on the compressed DNG version of a photo compared to the RAW (CR2) version. Hopefully that’s been fixed because that was a couple of years ago and I’m sure someone else has noticed by now ..

Oddities of C64 BASIC

1 BORDER=1

Can you tell me why the very short BASIC programme above has a syntax error?

1 BRDER=1

But then the one with a slightly renamed variable name is perfectly ok?

It turns out it’s one of the limitations of Commodore BASIC V2. As explained here:

Variable names were limited to two letters. Or, specifically, any variable name longer than two characters was truncated, so that MARKUP and MAINTOTAL would both point to a single variable named MA.

Can somebody confirm this? IIRC, the C64 could handle longer variable names, but it’s a long time ago so I could be wrong.

Correct, the first two letters of a variable name must be unique. Also, your example variable MAINTOTAL contains the reserved word INT which would produce a ?SYNTAX ERROR.CarstenKlapp

http://wiki.c2.com/?CommodoreBasic

The word BORDER contains the BASIC command OR that cannot be used in a variable name!

I have no idea if I knew this back in the 90s. I presume I did but it had me scratching my head for 10 minutes last tonight trying to figure out why my BASIC programme wasn’t running.

The (re)discovery that variable names shouldn’t be longer than 2 characters long also explains the terse variable names I used in the BASIC portion of DMSREADER. We’re spoiled these days.

I also discovered that petcat doesn’t like uppercase BASIC commands but I have a nice Makefile now to compile BASIC and ASM portions of Disk Masher and copy them into a D64 for testing so it was a productive night.

From Rio to Waterfalls

Follow along from “I Go To Rio” to “Ritmo De La Noche” to “Every Teardrop Is a Waterfall” by Coldplay. I had no idea Ritmo De La Noche had such a history!

Of course there’s a C64 version! Maduplec of BUDS/NATO/Crest fame created a SID version of Ritmo De La Noche for his 1992 Glober demo. Every time I hear that song I think of that demo. I couldn’t find it on Youtube so you’ll just have to fire up an emulator to watch the spinning globe but here’s the SID tune!

I rescued a cat today

Somehow a cat got stuck in the cavity blocks of a wall in Blarney today. My wife was alerted to it by a post on the Muskerry News Facebook page. She was very upset and decided immediately to go up there and see what she could do.

I know the area well as I bring my dog for a walk there most days. I thought I could get the cat out by breaking the block around it so I grabbed a hammer and screwdriver, and for height a plastic chair from the garden.

The cat was so calm and friendly. She didn’t once give out, or try to claw me. She was obviously in distress because she had only her head and a single paw out.

After 20 minutes of carefully digging around her she pulled back into the wall so I was able to break it apart more quickly She came back too soon and poked her head out again, and wouldn’t duck her head back down to make my job easier!

My wife had a brain wave then to get the tin of cat food she had left in the car. We allowed the cat to smell it and made sure she saw us drop a few bits into the block in front of her. A moment later she ducked down to eat and I was able to dig away at a faster pace.

Once again she came up for air, but she backed down again and eventually the hole was big enough and out she popped with a little help! 🙂

I took her off the wall and put the tools away in the car to shouts that, “the cat has jumped up on the wall and is trying to get in again!” Luckily there were humans around to discourage this adventurous side of her personality. I grabbed a few rocks and covered the hole.

I recognised the cat once she was out. She tried to make friends with my dog a few times when we were out walking. Lovely cat, hopefully she’ll keep out of trouble now!

Three days later I went for a walk this morning and the cat is still safe and sound. 🙂