Willem

joined 1 year ago
84
Staaaare (kutsuya.dev)
 
[–] Willem@kutsuya.dev 7 points 2 days 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 3 points 3 months ago

Extension on HTTP 418 I'm a Teapot

[–] Willem@kutsuya.dev 7 points 3 months ago

"Gotta sit on my thinking chair for a bit" or "lemme go listen to my own shit for a while"

Usually in dutch tho, "ff op de denkstoel zitten" or "even naar m'n eigen gezijk luisteren"

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

They will probably have domesticated us, instead of them.

[–] 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 8 points 5 months ago

I've used it, it's pretty rough and unfinished, the current main branch doesn't build without help and you'll need ollama or openai keys.

The results however are impressive, even with a small model like phi3 mini through ollama. They got some good prompts behind it and the results name the sources + have some good followup questions.

view more: next ›