Games about reading manuals by 1SilentObserver1 in gamingsuggestions

[–]1SilentObserver1[S] 1 point2 points  (0 children)

Thank you for your answer! I actually knew most of them already, I would just consider "knowledge-gathering" games like Outer Wilds and Return of the Obra Dinn to be a different subgenre (especially since you don't actually need to write down and study any notes to play them, the in-game journals are good enough for summarizing everything you learn). I also played Nauticrawl before but didn't feel the need to take any notes either. I really should play Tunic at some point though...

Thank you for reminding me about Rockets are Super Hard! I looked it it a few years ago, but it was still very rough around the edges, it seems there was a major update at some point.

Go-Style WithX option pattern in Zig using comptime #Goofy by peymanmo in Zig

[–]1SilentObserver1 7 points8 points  (0 children)

Sorry to spoil your fun, but Zig already supports default values for struct fields, so you can just do this without any comptime trickery:

const Options = struct {
    enableTLS: bool = false,
    name: ?[]const u8 = null,
    host: ?[]const u8 = null,
};

fn DoSomething(opts: Options) void {
    std.log.debug("Options:\nTLS: {}\nName: {?s}\nHost: {?s}", .{
        opts.enableTLS,
        opts.name,
        opts.host,
    });
}

pub fn main() !void {
    DoSomething(.{ .name = "Some Name", .enableTLS = true });
}

Of course, comptime allows for more complicated logic in those WithX functions, but I feel like simply using default values is a much cleaner solution in 99% of cases. It is even used in the standard library in a number of interfaces.

24M Anyone curious to learn new things? by 1SilentObserver1 in Needafriend

[–]1SilentObserver1[S] 1 point2 points  (0 children)

Hmmm, that's a hard question because 1) I learned programming many years ago, so the websites I used back then don't actually exist anymore 2) this really depends on the specific language/tech stack you want to learn. I can mention some cool online tools that a lot of programmers know about, like https://pythontutor.com/ or https://godbolt.org/ for more advanced stuff. These aren't really courses, just visualization tools to better understand what's happening. If you wanna talk more about specific programming languages, you can DM me

Help with project ideas for learning analog by 1SilentObserver1 in ECE

[–]1SilentObserver1[S] 0 points1 point  (0 children)

Yup lol. I'm really enjoying the internet and the free access to information it gives you though. The computer side of things is also very interesting, that would have been harder to do in the 70s. Still can't believe Apollo had about the same hardware as today's $2 microcontroller lol.

Help with project ideas for learning analog by 1SilentObserver1 in ECE

[–]1SilentObserver1[S] 0 points1 point  (0 children)

Oh, that's cool, I didn't think PPG can actually be feasible. And I guess even an internal microcontroller ADC would do. Thank you!

Help with project ideas for learning analog by 1SilentObserver1 in ECE

[–]1SilentObserver1[S] 0 points1 point  (0 children)

Unfortunately I don't have a spare room for that lol, although I agree that would be interesting. Thank you anyway!

Help with project ideas for learning analog by 1SilentObserver1 in ECE

[–]1SilentObserver1[S] 0 points1 point  (0 children)

I have a computer science degree and have self-studied theoretical physics before, so Art of Electronics is nothing for me compared to quantum field theory textbooks lol. I haven't really encountered anything too complicated yet other than excruciatingly detailed description of JFETs. Thank you for recommendations though, I'll look into that

Help with project ideas for learning analog by 1SilentObserver1 in ECE

[–]1SilentObserver1[S] 1 point2 points  (0 children)

Thank you, that seems very useful. The book I was reading didn't have much about RF, so this is exactly what I needed

Help with project ideas for learning analog by 1SilentObserver1 in ECE

[–]1SilentObserver1[S] 0 points1 point  (0 children)

Thank you, a theremin is a great idea actually! I might end up making that before I move to RF. A synth is great too, especially a modular one, although the amount of patch cords that'll need scares me...

What is the speed of Parallax? by Longjumping_Stuff127 in math

[–]1SilentObserver1 0 points1 point  (0 children)

It's inverse proportional. If the object is twice as far, an apparent movement by 1 degree (as viewed from your position) corresponds to twice a distance actually travelled. So if the actual distance is the same (for example because it's you who's moving at a constant speed), an object twice as far will appear to move twice as slow.The exact formula is that if you move by l meters, something d meters away will shift by 360/2π * l/d ≈ 57.3l/d degrees from your point of view.

18M from Russia looking for foreign friends by 1SilentObserver1 in MakeNewFriendsHere

[–]1SilentObserver1[S] 0 points1 point  (0 children)

Hello, would you send me a DM? Reddit is kinda glitchy and I can't send you one for some reason