Recent submissions

Comment · 2 years ago
Several years ago, I wrote a chess-like game where the shape of the pieces showed their potential moves (https://github.com/scottlilly/mogrichess). This was needed because the a capturing piece gained the movement abilities of the piece it could capture, so pieces' movement abilities were always changing.

Unfortunately, I never got around to writing a good AI so you could play against the computer. At some point, I'd like to get back to that project.

Comment · 2 years ago
I remember a version named "dBrief", for those of us programming dBase/Clipper code. It was a great tool back then.
Comment · 3 years ago
The same for me. My current car is a 2014 model, with 42k miles on it. I probably drive less than 2,000 miles a year. The car looks great, drives great, and has plenty of safety features.

Unless there's some life-changing event that requires me to get a larger vehicle, I plan to keep this car until it drops, or I do.

Comment · 3 years ago
I've been using a Manta Sleep mask (no speakers) for the last year and half, and love it. Unlike the cheap eye mask, it doesn't have an elastic strap that eventually gets out of shape. And it blocks 100% of light for me.

As a side sleeper, I can't use masks with speakers or even long ear plugs, as they put enough pressure on my ear cartilage that they make sleep uncomfortable.

Comment · 4 years ago
I'll second Siteground. My WordPress sites were gradually getting slower on DreamHost - with support saying there weren't any problems. I switched to Siteground a few months ago, and so far, I've been happy with them.

Siteground had a "move my WordPress site" plugin that worked much smoother than I expected.

Comment · 4 years ago
I've been streaming some of my side projects on Twitch, with OBS.

During the stream, I keep up a fairly constant spoken description of what I'm doing, what I'm thinking, what problem I'm stuck on, etc.

I've noticed I've also been speaking my thoughts out loud when programming, but not streaming. It ends up being a continuous "rubber duck" conversation, and feels (completely subjectively) like it helps me develop easier/better.

Comment · 4 years ago
For my WordPress site, I replace Google Analytics with Koko Analytics. It provides list visitor information. But, I really just care to see which pages are most popular.
Comment · 4 years ago
I'm also not a lawyer or CPA, but I believe if a US person is a partial owner in a foreign corporation, the company is required to do their accounting by GAAP standards. So, if the company is in a country that follows IFRS standards, it would have to do their books twice.
Comment · 4 years ago
I've had my personal domain since 1999. It was originally hand-coded HTML, but has been WordPress for at least the last eight years.

Back in 2014 I wrote a beginner's guide to C#, with the lessons building a very simple (non-graphical) role playing game. It was mostly to show the thinking behind starting out very simple, with the basics of objects, and eventually build a program that is larger and "complete".

It got a little popular and I've received quite a few messages/comments from people who've told me the lessons helped them understand things better in their programming courses at college or code camps. Those messages have been a lot more fulfilling than being coder #12 on $BigCo's multimillion-dollar, multi-year project.

It's also a nice thing to point to when interviewing. Just like a public GitHub repo, I doubt most interviewers take more than a cursory glance at it, but it is a way to stand out from the crowd of candidates who don't have a technical blog.

I've had times when I've burnt out and haven't posted for a year or more. Other times, I get a burst of energy and write every day. There is a bit of pressure to feel like I should be writing and posting. And, since I have programming guides, there are occasional support questions to answer (especially when Microsoft changes Visual Studio or moves from .NET Framework to .NET Core then to .NET 5/6). But, it usually doesn't take too long to deal with that.

On the technical side, it has been a bit of a pain to go through web hosts every few years. The hosting service eventually gets bought out, service quality goes down, or the site gets slow (and support says, "It looks OK to me"), etc.

Comment · 4 years ago
Several years ago, I wrote a Greasemonkey script to do this. I haven't used it in years, and am not sure if there's an alternative for Brave browser (my new standard).

It basically looked for all the "a" elements in the DOM and:

1. Set the href to call a JavaScript void

2. Set the element style's text-decoration to none

3. Set the element style's background color to #f3f315

Comment · 4 years ago
I've been working on something (probably) similar in C#.

The idea is to tag files/documents with attributes like "auto", "insurance", "2022", encrypt the file locally (using your manually entered key), copy it to a network share/cloud storage/etc., and add the tags and document information to a database.

Later on, you can search for documents based on the tags and get a decrypted copy of the file.

Comment · 4 years ago
Intuit forever lost my business when they tried to run my QuickBooks Payroll from a bank account I deactivated, after moving to a new bank (and updating my bank information in QuickBooks). They then charged me a $100 non-sufficient funds fee because they tried to pull the money from the deactivated account.

After 6-7 hours of dealing with the most aggressively-incompetent "support" I've ever had the misfortune to encounter, I cancelled every Intuit product/service I was using.

The reason they get away with this type of behavior is because we're all trained to fear the IRS to such a degree that we just want someone else who promises to "take care of everything" for us. And what recourse do we have when they behave badly? The court system? That's just as obfuscated and frustrating as the IRS. How much more of my time and money am I willing to put into dealing with Inuit? By the numbers, the smartest move is to just let this go.

It's everyone just settling for the lesser of evils/frustrations - until they get burnt badly enough.

Comment · 4 years ago
https://github.com/ScottLilly/MogriChess

It's a variation of chess where the capturing piece acquires the movement capabilities of the piece it captured.

I originally wrote a version seven years ago, but never got far in building a good AI for the bot player. As much as I like the idea behind the game, the program is really a testbench for me to work on memory and speed optimization techniques and probably eventually learn some AI/ML.

Comment · 4 years ago
Comment · 4 years ago
These are my uBlock settings for YouTube. They actually make using YouTube pleasant.

www.youtube.com###secondary

www.youtube.com##ytd-browse[page-subtype="home"] #primary

www.youtube.com##.ytp-show-tiles.ytp-endscreen-paginate.videowall-endscreen.ytp-player-content.html5-endscreen

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton