PHPnews.io

Overview for 'remysharp'

Marbles2 - 14-Oct 2020 [devlog/marbles2]

Written by Remy Sharp / Original link on Oct. 14, 2020

Just starting out and really wanting to start something new whilst making a game that I would enjoy playing myself. I'm come to appreciate that I really like puzzles in games - whether it's spotting patterns or solving problems. So I'm beginning Marbles2 (or Marbles Squared) in NextBASIC. I've star…


Sorting Algorithms Visualized [link]

Written by Remy Sharp / Original link on Oct. 11, 2020

There's been many (many!) visualised sorting algos before, but this is particularly enjoyable - and beautiful a number of different algorithms are used to sort colour (a problem that's hard by itself). Really interesting stuff, but also reminds me that picking an algorithms that suits the dataset…


Use React.memo() wisely [link]

Written by Remy Sharp / Original link on Oct. 6, 2020

A useful focused post on React's memo function. Since moving away from classes (and forcing?) to use pure components with hooks, methods like shouldComponentUpdate can be a bit of a black box. This post reminds me that all components are re-rendered (in memory at least) unless memo is used, and som…


When magenta isn't magenta [blog]

Written by Remy Sharp / Original link on Oct. 2, 2020

Posting this mostly to help some future developer if they run into this issue or even myself after falling down a rabbit hole only to come up empty. The short version: what are colours anyway 🤷‍♀ On the side I've been working on some tools to help with graphic imports into my ZX Spectrum Next. The…


Package Diff [link]

Written by Remy Sharp / Original link on Sep. 30, 2020

Title is a bit misleading, but this tool gives a complete diff of the changes between versions. This is especially useful when you want to vet a potential upgrade to a core package in a project, to understand what and why. Or equally to look at a vulnerability fix to learn from the changes. Source:…


Indexing Outbound Blog Links [link]

Written by Remy Sharp / Original link on Sep. 24, 2020

I really like this idea and more power to those of us who have full control of our online identities. ...an idea struck me: what if I could see all the outbound links on my blog? I'm using markdown-it (where as Jim Nielsen is using marked) so I can definitely hook into the parser to generate all my…