The Kilobyte's Gambit is a lovely mashup of a chess engine in 1K of JavaScript, plus awesome CGA retro pixel art. I love it.

Kicked my ass immediately, I’m not good at chess. A friend of mine in college used to say, regarding vegetarianism, that he wouldn’t eat anything that could beat him at chess. I found this worrisome.

It also reminds me of this:

Atari 2600 Video Chess! This was chess in 4K of 6502 assembly language, on a machine with only 128 bytes of RAM that was only really capable of displaying three, maybe six objects per line on the screen, and that only with tricky programming. If you look closely, you’ll see that the chess pieces are drawn on alternating lines to get around this limitation. Apparently it played decent chess.

Before we hand the OG Atari developers the tiny-chess-program crown, though, the author of the 1K JavaScript chess engine has also written a 326-byte chess game for DOS, as well as... a 1K chess cartridge for the Atari 2600. Yes, it flickers a lot, but hey.

So many props given. Two summers ago I wrote an AI checkers game of my own, using the minimax algorithm. It wasn't terribly good at checkers and it sure wasn't 1K of JavaScript. To be fair, it was also readable code.

MORE
3/6 '21 2 Comments
I didn't last long either!

I love 5K and 1K projects and then I cry when I load a webpage that's 6M and the main purpose is to direct you to a different page.
I was just going to say, the varying lineweights were making me twitchy until I realized what they meant. Clever clever.
 
 

I just renewed onepostwonder.com for three more years. 🎂

Every few years I reach out to the guy who owns onepo.com. He always says no. I have made some credible offers. That's cool, the man likes his domain.

I should really take "beta" off the site, huh.

MORE
6/14 '20 5 Comments
Happy fifth anniversary!
why did I say fifth? what's wrong with me?
Happy Anniversary to you!
And us!
It's a great site!
I do love this neighborhood.

I wish I could convince friends to move in next door. On the other hand, being a quiet cul-de-sac is a large part of the charm.

I am ever grateful for your consistent efforts over the long term to create and hold space for community.
 
  • Three roma tomatoes
  • Two carrots, peeled
  • Two green onion stalks
  • Two stalks of celery
  • 6 small mushrooms of varying kinds
  • 6 ounces tomato paste
  • Goodly shake of MatoZest
  • Goodly shake of italian seasoning 
  • 1/2 tablespoon nutritional yeast

Chop everything. Chuck everything in a vitamix or good blender. Add enough water to get the blender to cooperate. Blend until it looks right — no huge bits but still texture, mostly from the carrots.

Simmer and serve over zucchini noodles.

The carrots lend it a meat sauce texture.

MORE
3/10 '20 7 Comments
I read the first two lines of your post and my brain instinticly sang FIIIIIIIVE GOLDEN RINGSSSSS!

Sure, your recipe doesn't scan, but my brain don't care nope nosiree
FIIIIVVVEE GOLDEN RINGSSSSS
(Ba-dum-bum-bum!) is forever in my head in Miss Piggy's voice.
Mine too. This year during the holidays, Vince was singing "Five. GOLDEN! Rings." in the voice of Mario Cantone doing an impression of Bette Davis. I can almost side-step that ear worm.
Four pounds of back bacon, three French toasts, two turtlenecks, and a beer!
I-in a tree.
Five gollldenn toooooques!
Happy to see you didn't add nutria. (Which honestly was my first thought when I saw the title.)
 

I have tried both Google's my maps and scribble maps and boy, it is a pain in the ass to just... make a map of an interesting route. With some waypoints and some connecting lines. it's not impossible, it's just so fussy that I say forget it. Is this always so bad? Is there a tool that everybody swears by? should I just give up on the idea that I should be able to do this on my phone?

MORE
10/12 '19 3 Comments
I’ve tried the same thing, using Google, and I never achieved it to any satisfaction.
For a route, are you talking about public roads, or are you on a bike?

I generally don't have issues with Google Maps (shhh - don't tell the boss), but I'm not sure how many stops you're talking about / publicness of the route / etc.
 

Oops, I forgot to take a picture before enjoying.

Ingredients

1 red rose black tea bag

1/4 teaspoon fresh-grated nutmeg

1/4 teaspoon fresh-grated ginger

1/4 teaspoon cinnamon

2-3 cloves

1 scant handful almonds

A few raisins

1 teaspoon brown sugar

Instructions

Bring a mug's worth of water, less an inch or so, to a boil. Steep the tea for a few minutes.

Pour the tea and everything else into the vitamix.

Run a smoothie cycle.

Pour into mug.

Enjoy.

Notes

Tastes as good as a "chai latte" and who the hell knows how much sugar (and perhaps fat?) is in those.

If you haven't worked with whole nutmegs before, the "small holes" side of any grater can handle it just fine. Ditto grating fresh ginger.

Mnemonic

Cinnamon and ginger, nutmeg and cloves

That's what gave me this shiny red nose.



MORE
8/15 '19 8 Comments
This looks divine.
Innit tho? And prep time is almost nothin'
A splash of brandy and I'd call it an ABC (Almond-Brandy-Chai) Alexander.

That looks like a well-loved mug!
Like something out of Beauty and the Beast. I like the "t" on the side. Did you make it yourself? Or was it made by your offspring?
Brandy Alexander always gets me into trouble 🎶
OMG NOM.
Yeah, that seems mighty delish.
 
 
 

... You are looking cute!

Specifically, you'll note there is now a little picture icon after you hit reply.

Currently you can post either a picture, or text, not both in a single comment.

Enjoy!

MORE
10/21 '18 18 Comments
Here to confirm it works with Chrome on iOS. :)
Hey, Tom, the picture thing doesn't work with the Grammarly plugin on win10 + chrome. The picture icon appears briefly and then disappears. Not sure if Grammarly is widely used enough for you to care...
Weird. If you start typing it's supposed to disappear... not that?
It reacts when the text is no longer empty. Grammarly must be putting some kind of marker in the field, maybe an invisible character.
THANK YOU TOM-BASED GOD.
Excellent. That's something I've been wanting here. :-)
That's ridiculously adorable.
damn you people for continuing to raise the awesome bar
Oh, wow, look at you, Anne!
Dinner out at the new restaurant in Winooski, with the kiddos +1 (someone else's kiddo), after performing in the Sunday matinee show. From the angle, you can't see how much hair spray is in my hair or how much eye makeup is weighing down my lids!
 

I just wrapped up the followup work I mentioned on making sure existing notifications in the system go away when someone gains or loses access to a lock, or the lock is removed, or the locks of a post are updated.

I need to be realistic about this: I'm one guy, alas, and there will be issues. These were minor in terms of people affected and likelihood of impacting someone. I think I've designed well to avoid more serious problems. I could be mistaken.

So the best I can do is try to be proactive, be responsive when things are pointed out, and oh yeah, be straight with y'all that I'm one guy.

So yeah: I'm not the entire Internet security department of Amazon. Consider yourself reminded. (:

If OPW were to grow, making sure there is a second engineer involved regularly and a code review process in place would be a priority for me. It's not intended as a high-wire act.

(Edited to add: Sean made many large contributions to OPW, including tons of code. Grateful for that! I'm thinking more of what would happen if we had a real budget in terms of best practices for review.)

So how big is OPW anyway, and will it grow? Well: it's tiny. There are about 25 posts per week.

And: it's constant. There have been about 25 posts a week since things settled down in 2015.

But everybody who's here really likes it here. So!

We'll see if little changes like the new Network posts indicator help bring the occasional newcomer more successfully into the fold. But if not... hey. It works for us.

MORE
9/15 '18 5 Comments
Informal code review is a great idea. I will let Sean know we're reviewin' as well.
Thank you for this hard work, Tom.

is there a way we can contribute to making OPW easier/better/more beneficial for you?
What she said.

I can’t imagine what skills I possess that could possibly be of use to you. But if YOU think of something, please please ask.

Also, I love it here in our tiny little village and am daily grateful to you for providing it.
Hey, thanks for all the care and support. I appreciate it. I've accepted Waider's invitation to code review. And in response to the rest...

Public posts help; inviting folks who would enjoy the place helps a lot; and just enjoying it as you always do is the most important thing.
I too am not amazon’s internet security department but if you want an informal code review let me know.