HN user

masterofmisc

130 karma
Posts1
Comments69
View on HN
Turrican 2 AGA 3 years ago

I dont know, but you made me remember PP Hammer. If you left the character for a while he would stand there and start smoking. oh, how times have changed!

Turrican 2 AGA 3 years ago

This is a rewrite from scratch of the Turrican 2 PC-DOS version for AGA Amigas. 24bit/256 colours, original music/sounds. All levels plus various things that were missing in the DOS version have been reinstated (missing parallax, animations, waterfall effects, etc.)

C# is my daily driver. But If I had the opportunity to code in one of your languages I would pick Rust. I think its the future. But to your question of maximum financial payoff, surely there are 10X more C++ jobs out there at the ioment than Rust or Go due to the age of the language. I know C++ is long in the tooth but it isnt going anywhere and you can still land some high paying jobs if you have it as a skill.

Oh thats piqued my interest. Just out of interest what type of work have you been doing? Are the fantastic day rates in WebDev, Backend or Database work and could you give me a rough figure for the day rates? Also what language are you using and how long have you been in the contracting world? Sorry for all the questions.

Maybe a low-tech solution but I was just wondering if you could have a 2nd server in the same room/datacentre connected to one of those timer plugs. The timer plugs turn the server on at say 2am every day. On bootup, it connects to the main server and copies the latest backups to itself. Once done it shuts itself down. This way, the server is only up for a small window each day minimising the security risk. This idea has just come to me, so have not actually done this myself, but thought it post it anyway!

Good overview is here: https://docs.keyoxide.org/getting-started/what-is-keyoxide/

From that page:

"Keyoxide allows you to prove "ownership" of accounts on websites, domain names, IM, etc., regardless of your username.

That last part is important: you could, for example, be 'alice' on Lobste.rs, but '@alice24' on Twitter. And if your website is 'thatcoder.tld', how are people supposed to know that all that online property is yours?

Of course, one could opt for full anonymity! In which case, keep these properties as separated as possible.

But if you'd like these properties to be linked and, by doing so, establish an online identity, you'll need a clever solution.

Enter Keyoxide.

When you visit someone's Keyoxide profile and see a green tick next to an account on some website, it was proven beyond doubt that the same person who set up this profile also holds that account."

Its hard to know what people mean when they say OOP anymore.

Im just watching now and he advocating for your code to be "procedural" rather than "object-oriented".

And when he says "procedural", he doesnt specificlly mean "functional programming". So, when he says "imperative procedural programming" he means that you have no explicit association between your datatypes and your functions/behavours.

And just to be clear they are not saying its a problem to see an object in your code!! Its the traditional OOO (Object Oriented Objects) that have state and method calls/behaviours.

And thats pretty much the way I code in C#. My data objects are just that. Simple data! And I have other objects that are a collection of functions that take in POD (Plain Old Data Types) objects or return PODs.

He goes on to explain how encapsulation is the problem. Thats where you have an object that holds state/information hidden behind a public interface as well as methods to mutate the state. And when you call that method, it might call through to many other methods on other classes. And if thats the case, it means the object your calling the method on has references to those other classes it depends on. Which means those dependencies/objects must be provided to it via construction.

I have not watched the whole video but I tend to agree with what he is advocating.

Thats interesting. So in your 2nd example, am I right in saying the variables 'apple' and 'slicedApple' are react JSX that you are ultimatly passing through to <DinnerPlate/> to render on the screen? If so, yes, that is fairly intuitive.

So, its React with the sharp edges smoothed away. Interesting. I am not a web developer, so forgive me if this is a stupid question, but can someone tell me, if you decided to use Solid.js as opposed to React, can you still make use of all the 3rd party React UI frameworks out there? Is it compatible with React in that sense?