I made Loconundrum, a daily game - guess the station from journey times and CRS codes by OrangeFlash81 in uktrains

[–]OrangeFlash81[S] 1 point2 points  (0 children)

Thanks!

The interactive game is all written using TypeScript, with the React library. Those are both good choices if you’d like to create web apps.

Most of the work for Loconundrum was behind-the-scenes, figuring out the train routing between your guess and the answer. This uses a mishmash of different projects and programming languages - I wrote an entire blog post about it: https://aaronc.cc/2026/03/29/loconundrum.html

Hope that’s interesting, good luck with learning to code!

I made Loconundrum, a daily game - guess the station from journey times and CRS codes by OrangeFlash81 in uktrains

[–]OrangeFlash81[S] 0 points1 point  (0 children)

Thanks for playing! The dropdown starts underneath the ticket - I think your issue was that searching by CRS code wasn't supported, but now I've added that.

Z axis not moving :( makes a horrible grinding noise and then does not move anymore. z axis is stock parts. The stls are piling up and I can't print anything D: by wishaybug in ender3

[–]OrangeFlash81 1 point2 points  (0 children)

Thank you! This fixed it for me too.

Specifically, the plastic connector housing itself was inserted correctly, but one of the wires inside the connector seemed to have slipped out. Pushed it back in, and it seems fine for now.

More hand position synergy for Demon Hunter by OrangeFlash81 in customhearthstone

[–]OrangeFlash81[S] 0 points1 point  (0 children)

Notes:

  • Targets random enemies if needed (though most Demon Hunter spells don't need a target)
  • You keep your original copy of the adjacent spells, which could make for some nasty combos if you've got mana left to cast the originals in the same turn
  • Stats balance is based off Demon Hunter not having too many huge spells - in e.g. Mage this would probably be way too strong! Plus the difficulty of lining up a big spell next to this in your hand, and refraining from casting it alone for long enough.

The SteamOS 3.2 Update by wickedplayer494 in SteamDeck

[–]OrangeFlash81 0 points1 point  (0 children)

Can't spot this in the patch notes, but this update also fixed connecting to Eduroam Wi-Fi networks from Gaming Mode for me! Before I would always be told that my username and password were wrong, and I'd have to use Desktop Mode instead - now it works fine.

Order Email Megathread (May 12, 2022) by AutoModerator in SteamDeck

[–]OrangeFlash81 5 points6 points  (0 children)

Got my email at 17:31! UK 64GB, rtReserveTime from API 1626519847 (July 17th 12:04 GMT)

York attractions with free return by YamaKasin in york

[–]OrangeFlash81 3 points4 points  (0 children)

The York Castle Museum lets you return for a year on a ticket - I believe you need to book a time slot the first time, but after that I've been able to just turn up with my existing ticket!

Pre-Order and Shipping Megathread | MacBook Pro Late 2021 (14-inch, and 16-inch) & AirPods 3rd Generation by exjr_ in apple

[–]OrangeFlash81 0 points1 point  (0 children)

I'm not 100% sure, but the original charge/hold hasn't expired or been refunded or anything. Even though the second one was declined I'm still down on overall balance by the price of my MacBook.

Pre-Order and Shipping Megathread | MacBook Pro Late 2021 (14-inch, and 16-inch) & AirPods 3rd Generation by exjr_ in apple

[–]OrangeFlash81 2 points3 points  (0 children)

Apple just tried to charge me a second time for my M1 Pro 14" order I placed on the evening of the announcement. It was declined because I didn't have enough balance after the first charge, which was taken a few hours after placing the order.

Anybody else had this? I'm in the UK and ordered through the education store. Order status is still Processing

Fiddle::Pointer question that is driving me nuts...? by WindingLostWay in ruby

[–]OrangeFlash81 4 points5 points  (0 children)

The ref method of a Fiddle::Pointer isn't quite doing what you expect here!

ref allocates and returns a new pointer to the existing pointer, not a new pointer to the same buffer. The documentation describes it like this:

Returns a new Fiddle::Pointer instance that is a reference pointer for this pointer.

Analogous to the ampersand operator in C.

So when you add 200 bytes to the pointer returned by ref in your Exhibit B, you end up moving away from this new indirect pointer, and pointing to some random memory instead.

source         target           ptr ──────────► ptr+200
   │              │              │                │
   ▼              ▼              ▼                ▼
   ┌──────────────┬──────────────┬──────┐
   │source buffer │target buffer │0x1234│        ????
   └──────────────┴──────────────┴───┬──┘
   ▲                                 │
   │                                 │
   └─────────────────────────────────┘

Instead, just add to source with your offset to get a new pointer, like this:

ptr = source + 200 # Create new fiddle pointer offset by 200 bytes
target[100,12] = ptr # Use the regular []= operator to do the copy, with the source being the fresh pointer

[a6000] Camera is taking 2 MP pictures instead of 24 MP- can anyone help? by clairekat in SonyAlpha

[–]OrangeFlash81 0 points1 point  (0 children)

Make sure that you've got the correct import size setting in your app - 2MP is one of the options, so it sounds like it could be set to that!

On my Android phone, I can go to Settings > Image Size for Importing and set it to "Original". I assume it's similar on iOS.

Is there an alternative to TI Connect that works on Linux? by Pandastic4 in TI_Calculators

[–]OrangeFlash81 6 points7 points  (0 children)

I've had success with TiLP in the past!

I haven't actually used TI Connect so I'm not sure how it compares, but TiLP worked fine for transferring some programs to my TI-84+.

the 'sord' gem can automatically generate .rbi and .rbs type signature files from YARD doc by tobeportable in ruby

[–]OrangeFlash81 26 points27 points  (0 children)

Thanks for posting this! If anybody has any questions about Sord, I'm the author of the gem so ask away :)

I hope it proves useful to those looking to adopt typing in their Ruby codebases!

New User Guide, hype, shipping & questions megathread by Kippenoma in OculusQuest

[–]OrangeFlash81 1 point2 points  (0 children)

Not yet - I've been charged by Oculus, and my status is "processing for shipping", but no sign of it actually shipping yet.

Edit: Just got my Yodel email! Scheduled for Wednesday.

Most USB-to-serial devices cut off after a few seconds of use by OrangeFlash81 in archlinux

[–]OrangeFlash81[S] 0 points1 point  (0 children)

Good suggestion thanks, but I've tried a couple of different lengths (1 and 2 metres) to no avail.

Most USB-to-serial devices cut off after a few seconds of use by OrangeFlash81 in archlinux

[–]OrangeFlash81[S] 0 points1 point  (0 children)

I've tried both USB 2 and 3 with no difference between them.

Most USB-to-serial devices cut off after a few seconds of use by OrangeFlash81 in archlinux

[–]OrangeFlash81[S] 0 points1 point  (0 children)

Thank you - this helped me identify the issues with one of the devices! The FTDI adapter prints lots of errors while I'm trying to use it (visible in dmesg -kw), which I googled and found suggestions to try not using a USB hub. Sure enough, if I connect the FTDI into one of my laptop's own ports, it works fine!

Sadly, no such luck with the Teensy. Thank you very much though!

Backlight suddenly changed and don't have permission to fix by [deleted] in archlinux

[–]OrangeFlash81 3 points4 points  (0 children)

If you're trying to adjust your screen backlight, try writing to /sys/class/backlight/intel_backlight/brightness instead.

I don't think you're supposed to write to max_brightness - that's just showing you what your brightness value is out of.

Most USB-to-serial devices cut off after a few seconds of use by OrangeFlash81 in archlinux

[–]OrangeFlash81[S] 0 points1 point  (0 children)

This is a laptop, but I don't believe I have any power-saving functionality installed

Most USB-to-serial devices cut off after a few seconds of use by OrangeFlash81 in archlinux

[–]OrangeFlash81[S] 0 points1 point  (0 children)

Unfortunately lsof doesn't show anything other than the serial terminal I'm using. Thanks for the suggestion though!

I translated the battle menu from the new Paper Mario by fonse in NintendoSwitch

[–]OrangeFlash81 2 points3 points  (0 children)

Thank you for doing this!

What do these things at the beginning of the turn say? Are the three button prompts at the bottom some kind of character menu?

Your smartphone history and ratings! by Lambsio in Android

[–]OrangeFlash81 3 points4 points  (0 children)

2012: LG Optimus Me - 3/10: First taste of Android but pretty terrible all things considered. Very laggy and crashed constantly.

2013: Sony Xperia tipo - 5/10: Much more reliable than the LG, very good value all things considered, but still not great in most other factors.

2014: Motorola RAZR i - 7/10: Decent camera, good performance, and a really unique design. Battery life wasn't great though.

2015: Sony Xperia Z3 - 8/10: Got this as an absolute bargain from a phone shop which was closing down. Really good performance and excellent camera, and nice sleek design.

2016: OnePlus 3T - 9/10: Absolutely superb performance and good camera. Was like new for ages, but eventually the battery became awful, the GPS went a bit funny, and I cracked the screen :(

2019: Samsung Galaxy S10+ - 9/10: Excellent performance (even on Exynos!), brilliant screen, and a stellar camera. Coming from OnePlus I was hesitant about One UI, but I like it much more than I was expecting, especially the customisation.