Willem

joined 1 year ago
[–] Willem@kutsuya.dev 7 points 1 day ago (3 children)

On that last note, can't you use the explicit interface implementation in C#?

e.g.

public class SampleClass : IControl, ISurface
{
    void IControl.Paint()
    {
        System.Console.WriteLine("IControl.Paint");
    }
    void ISurface.Paint()
    {
        System.Console.WriteLine("ISurface.Paint");
    }
}
[–] Willem@kutsuya.dev 3 points 1 week ago

While not directly as popular, Blazor allows you to make the entire website in C#/ASP.NET and ship it as wasm.

It's pretty much up to every language to make some library that allows it to work on the web though wasm.

[–] Willem@kutsuya.dev 4 points 4 weeks ago

A smart powerplug and/or a fingerbot would solve that problem I guess? But at that point it's probably cheaper to buy a network connected picture frame.

[–] Willem@kutsuya.dev 2 points 4 weeks ago (2 children)

You could use something like the Toshiba flash air?

[–] Willem@kutsuya.dev 7 points 1 month ago (1 children)
[–] Willem@kutsuya.dev 5 points 1 month ago (4 children)

Systemd timer to poll upower when running on battery power, when battery is at 20%, use either system beep or set system volume and play a sound?

[–] Willem@kutsuya.dev 2 points 1 month ago

I love all the ideas you have! Explaining how computers work, on a basic technical level, is something everyone should know nowadays.

I would suggest to focus the programming on something small, fun and instantly rewarding. Something like Snake in Pygame is not overly complex and you can take it step by step, so that every student will have something to show at the end, with varying levels of complexity. I would advise against using templates for projects, a lot of courses do but in my opinion it makes it harder for the student to replicate the work on its own later on.

In terms of networking, setting up a small test network with a WEP access point, a WPS access point and a WPA2 access point and letting the students (in groups, probably) try to figure out how to access/crack the passwords for them. (WEP and WPS should be easy, but WPA2 would require the deauthing exploit, which is a tad more complex).

Also the idea of cheap usb drives, which they can put on a live distro (or make it come with one) is a great way to start the lesson. This way they can have a setup that's detached from the usual limitations school pc's give. (if that's still a thing).

Do make sure to teach them the ethics around hacking, cracking and downloading. From what I remember, Germany used to be decently lax on all three, but started to crack down on it in the past 10 years. Teaching responsibility and what the consequences are is very important.

[–] Willem@kutsuya.dev 11 points 4 months ago (1 children)

When a new game is released I usually check if it's steam deck compatible, if it isn't for no specific reason (like, a 2d platformer, I'm not going to expect a high fidelity 3d game to work) I'm way less inclined to buy it. The market is there and really should be picked up.

[–] Willem@kutsuya.dev 6 points 6 months ago (1 children)

I don't directly have a game recommendation, but make sure to launch the games once before your flight to get the dependencies installed too :) I forgot that last flight and couldn't play half of the games I planned to because of it...

[–] Willem@kutsuya.dev 3 points 6 months ago (4 children)

Not a scientist, but my first assumption would be that everything on earth, but also earth itself will double in size, knock ourself around our nice orbit around the sun and kill everyone either flashly or coldly.

Ignoring that problem, or applying the effect to the entire universe, probably not much would happen.

[–] Willem@kutsuya.dev 14 points 8 months ago (4 children)

Missing the joke here? We run a 3090 and a 3900x just fine on ArchLinux.

[–] Willem@kutsuya.dev 18 points 9 months ago

My mind directly went to Laserdisc before I realized you were talking about the generic category 😅.

cd/dvd/blueray doesn't become bad that fast, properly stored they can easely live to 50+ years (except the writeable variant). they are physically etched which helps with longevity.

VHS or other types of magnetic storage is more of a chore, they often don't survive the passing of time.

view more: next ›