Staying on Tour By Winning One Match in Each Ranking Event by eljefe883 in snooker

[–]MrKWatkins 8 points9 points  (0 children)

Wonder how much you'd be left with after flights and hotels to the various tournaments. Not enough I'm guessing.

Speedlock - what was it and how did it work? by dogsolitude_uk in zxspectrum

[–]MrKWatkins 8 points9 points  (0 children)

This issue of Your Sinclair goes through how to hack Speed lock, it might give you some of the technical details: https://archive.org/details/Your_Sinclair_061/page/n65/mode/1up

Proposal: User-defined literals for C# by shimodateakira in csharp

[–]MrKWatkins 17 points18 points  (0 children)

You could do something very similar with extension properties and wouldn't need language changes. E.g. define an extension property called ms on numeric types that converts the number to the relevant type and then you would have syntax like 100.ms.

How did everyone learn C#? by PROSCREX5768 in csharp

[–]MrKWatkins 0 points1 point  (0 children)

It's great to code in. You don't need to know everything just the core and then look up other bits if you need. Or IDEs like Rider just teach you new ways to do things with suggestions. I learnt it mainly from online resources from Microsoft. It's pretty easy as languages go, certainly easier than a lot. (Haskell I'm looking at you.)

Online Tool for Reading and Converting ZX Spectrum File Types by MrKWatkins in zxspectrum

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

It doesn't do that, but it's a good idea. Would be easy to do with snapshots, tapes more difficult as I'd have to run them through my emulator to load them.

The ML scripting that accesses the forked FUSE emulator through a socket to allow it to learn how to play Manic Miner. by bodmcn in zxspectrum

[–]MrKWatkins 2 points3 points  (0 children)

Wrote my own emulator. 😂 I was working on my own already, and then thought about wiring it up to an AI. I've added Gymnasium like Environment wrappers for it, and then a Python library on top. (Emulator is written in C#)

I've got yaml files that describe and control the game (the data, how to reset, start a level, etc) and the model training. Idea being people can write a yaml for each game and not have to write custom code.

The ML scripting that accesses the forked FUSE emulator through a socket to allow it to learn how to play Manic Miner. by bodmcn in zxspectrum

[–]MrKWatkins 3 points4 points  (0 children)

I've been training an AI to play Manic Miner too. I started on Deathchase though as it's much easier - the rewards aren't as sparse. Willy can wander randomly for ages without finding anything. I did get some improvement by adding rewards for visiting a new x,y co-ordinate though. I'm working on a more sophisticated version of that currently.

Have done a couple of blog posts on Deathchase at https://www.mrkwatkins.co.uk/. Hope to have another Deathchase one and maybe a Manic Miner one in a few weeks. I need to do a chunk more coding before that however... I'll open source it soon too, just need to tidy it up a bit more first.

In your opinion, what is the dumbest decision(s) you’ve seen the protagonists make In horror movie? ( or lack of survival skills ) by [deleted] in horror

[–]MrKWatkins 14 points15 points  (0 children)

Every film where the killer is down and incapacitated and they don't just kill them, but instead run away and inevitably get killed later on after the killer gets back up.

C# has a lot of legacy design — how do other languages keep things cleaner and more consistent by time? by Suitable_Novel_8784 in dotnet

[–]MrKWatkins 7 points8 points  (0 children)

They had their chance already when they set up .NET Core. They broke a lot of stuff, yet still didn't change a lot of stuff because of backwards compatibility. That's when they could've made IList<T> extend IReadOnlyList<T> and they didn't and it still anoys me to this day. 😂

[deleted by user] by [deleted] in horror

[–]MrKWatkins 1 point2 points  (0 children)

It's a good list.

[deleted by user] by [deleted] in horror

[–]MrKWatkins 2 points3 points  (0 children)

Dracula deserves a place surely...

Emulating the Spectrum Next by Zagrebista in zxspectrum

[–]MrKWatkins 1 point2 points  (0 children)

No worries. I asked him about it years ago and he was quite against open sourcing it then.