[sticky entry] Sticky: Sticky info

Feb. 7th, 2023 09:16 pm
jbanana: Badly drawn banana (Default)
I don't have much to stick, but this should verify my Mastodon account. We'll see. Edit: worked!
jbanana: Badly drawn banana (Default)
A work colleague asked a question about SQL queries, so I dug out an old post here about that. Problem solved.

But as one problem goes away, another pops up. I used some made up data in that post about animals, and asked:
Can a horse weigh a tonne? No idea.
As Me-From-Years-Ago had been so helpful, I thought Me-from-Today should return the favour. It seems the answer is yes, a horse can indeed weigh that much, and the largest on record is a tonne and a half. At least, according to Wikipedia.

Painting

Jan. 20th, 2025 07:39 pm
jbanana: Badly drawn banana (Default)
Two men came to decorate the bedroom that was (not very much) affected by the leak. I stuck a finger in a colour chart semi-randomly and picked a colour for the walls. It's a sort of red-brown, terracotta, but the name on the colour chart is "Roe Deer". They went and got some of that, and when they came back I overheard some of their conversation.

Bloke 1Roe Deer
Bloke 2What's the matter?
Bloke 1Nothing. Why?
Bloke 2You said "Oh dear".
Bloke 1No, I said "Roe Deer".
jbanana: Badly drawn banana (Default)
We had a water leak. The pipe, which supplied the tank in the loft, was embedded in a wall. Stupid place for a pipe! Luckily there wasn't too much damage. We've had dehumidifers in, and we get some restoration work covered by insurance. First they're coming to decorate one room upstairs, so today I've been emptying everything out of there. I'm writing this sitting on the floor of an (almost) empty room. It seemed quite a small room with furniture in it. Not now.
jbanana: Badly drawn banana (Default)
I haven't posted here for ages. And I don't really have anything to say now. Let's brain-dump some Thumby stuff.

Thumby is a ridiculously small game console and it's not too hard to make a homebrew game. So I made six. I recently finished an escape room game which needed a bunch of artwork. That's not my natural thing, but it's easier because it's tiny and it's monochrome. Here's a couple that I thought came out OK.


Piggy bank - rattles when shaken


Stopped clock

The code wasn't hard, except it got so big it wouldn't load. I had to move the images to a separate file and only load one at a time.

Thumby dev is nice because it's do-able by one person in a reasonable time. You submit it and it goes on the Thumby arcade. The escape room game is still waiting approval.
jbanana: Badly drawn banana (Default)
I don't want a Mastodon account at oulipo.social for it would occupy too much of my day to avoid what is not said on that www host. Brain gymnastics ahoy! Discussion of things past is particularly tricky.

Decorating

Jun. 27th, 2023 03:21 pm
jbanana: Badly drawn banana (Default)
We got a new carpet downstairs, so we had to decorate first. It took nearly five days to take everything upstairs and paint. Then there was one day back at work. Oh no - those two walls need another coat, and the carpet fitter's coming tomorrow, so there goes another evening. Elliot the carpet fitter was a nice bloke. The carpet is laid, and there's a big empty clean-looking space. Nothing in there but a sofa that's to big to remove.

Maybe some of the things we took upstairs can be got rid of instead of taking them back down? And now the rest of the house is looking tatty. We've started, so we'll have to finish. Gradually.
jbanana: Badly drawn banana (Default)
I had a play with image editing after we decorated our Christmas tree
jbanana: Badly drawn banana (Default)
Some people say that if you have nothing to hide, you have nothing to fear. I saw the best response: "I need privacy, not because my actions are questionable, but because your judgement and intentions are questionable."

Footnote: I made a "politics" tag because I couldn't find another suitable tag. I promise not to write about politics, except where it's actually interesting.

Where's J?

Nov. 29th, 2022 04:04 pm
jbanana: Badly drawn banana (Default)
I haven't been posting on here much lately. That's mostly because I was writing in my Gemini capsule, although looking at the feed from there ([syndicated profile] jbanana_gemlog_feed) I haven't been posting much there either. I have been trying out Mastodon (because Vivaldi made that easy for me). No idea if that will be a thing for me. My posts from there are also available here: [syndicated profile] jbanana_mastodon_feed. I notice the feed doesn't include photos (sad face because I just posted some).

I regularly read on DW (but I don't see private posts because I'm not logged in). Thank you to everyone who posts.

So what's happened to me lately? Nothing much. Life continues. So there's not much to post about. Ho hum.
jbanana: Badly drawn banana (Default)
Two men come out of a meeting room. One is speaking to the other in a very positive tone:
...and you can change the colour of the...
the...
little rabbit!
jbanana: Badly drawn banana (Default)
Passed two people discussing some issue. One said "This is going to be a pain in the rump."
jbanana: Badly drawn banana (Default)
Happy new year!

Some people make resolutions for the new year. But they often fail to keep them, for a variety of reasons. If you're going to have resolutions that you probably won't keep, why not have randomly generated ones? Fortunately, I've fixed that for you:
Randomly generated resolutions for 2022
jbanana: Badly drawn banana (Default)
Java's no-frills debugger, jdb, takes debugging input from stdin. But if you're debugging something that gets user input from stdin, it won't ever get any input. So you start the thing you're debugging in another window, telling it to wait for the debugger, then attach the debugger. The incantation for this is verbose and I always have to look it up, so here it is to help me next time.
cmd /c start java -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y SomeJavaClass
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=5005
I also have a regular set of stuff to put in jdb.ini to make jdb less painful.
stop at SomeJavaClass:57
exclude java.*,javax.*,sun.*,com.sun.*,junit.*,jdk.*
run
monitor locals
monitor list
jbanana: Badly drawn banana (Default)
I installed a VM with Alpine Linux. It uses BusyBox, including for the default shell, ash. How do I set an alias?

I tried startup scripts of various names. No joy. They were ignored. The internet suggested that if I put the name of the script in an environment variable called ENV, the named script would be run at shell startup. But where do I set *that*?

After poking around, all scripts in /etc/profile.d get run, so I added /etc/profile.d/setashrc.sh which just contains
export ENV=$HOME/.ashrc

Now I can set an alias in ~/.ashrc but I'm wondering why there isn't some sort of default?

Anyway, this post is mostly in case I ever need to do this again.
jbanana: Badly drawn banana (Default)
I think my bedtime will be big news tonight. I'm expecting blanket coverage.
jbanana: Badly drawn banana (Default)
I've blathered about Gemini. I started gemlog and set up a feed so it's available here: [syndicated profile] jbanana_gemlog_feed

Bird news

May. 5th, 2021 11:48 am
jbanana: Badly drawn banana (Default)
Baby birds have appeared on the lakes where we go lockdown walking. There seem to be lots more ducklings this year. The mothers are very hungry, probably because they at the top, and fewer people go up there. One duck had 11 ducklings, as far as I could count (they wouldn't keep still). Most of them have three or four but another had just one.

We didn't see the coot babies when they were tiny. I suppose we're not going as often as last year. So we missed the "tiny ball of fluff with a red face" stage. The Egyptian geese had one gosling but it was gone next time we saw them. A swan's been sitting on a nest for ages. The swan population is ridiculous. I lost count at 40. A Canada goose also sat on a nest for a long time, but apparently without result. First for this year: great crested grebe nest. I mean, first time for us. The grebes presumably did this before.

The herons have disappeared. The cormorants only turn up very occasionally. The gulls come and go, but it's strangely like being at the seaside when they're there. And the moorhens are always there but very scared of humans.

Other common birds are often hanging around: crows, robins, pigeons, wagtails, sparrows, blackbirds. The crows often stand on the edge of the lake. It's like they want to get in the water but don't dare. One time we saw a dead crow in the water. Perhaps its curiosity was too much and it tried a swim.
jbanana: Badly drawn banana (Default)
I just had an idea. When you get unsolicited email then it might get spam filtered, or you might delete it without even reading. But what if you could request that the email bounces? It should work exactly as if the sender go the address wrong, so it would appear that you don't exist.

No idea if that would be hard to implement, or break email in some unexpected way. And the down side is that a lot of the dross won't have a sensible return address, but the marketing drones who send me stuff at work do have a return address. And I hate them.
jbanana: Badly drawn banana (Default)
I added drag/drop to open a local file; fixed gopher search; added copying a link URL; allowed user to accept expired/changed certificates; fixed a bunch of little bugs.

I find that I'm reading the news more because I can get it without all the bloat of the web.

I've also found that web browsers now have "reader view" that gets you a Gemini aesthetic: clear fonts, plain text, and no distractions. I recommend that if you haven't tried it. Firefox, Safari and Vivaldi have it built in. Chrome and Edge have extensions that will do it.

Feature possibilities: visited link colour; tabs; feed subscription; persistent history; public release (!)
Page generated Jun. 14th, 2025 09:50 am
Powered by Dreamwidth Studios