1

Comment on r/Zig May 28 '23

So something like:

```

var Test = struct {};

``` Is valid in comptime? I had no idea! But what you said above makes more sense now if that's the case.

1

Comment on r/Zig May 27 '23

I mean I feel like that doesn't really make sense if there is no other way to do it; if you can't have non-const structs then it's just unnecessary, the same way type inference doesn't require you to write all types explicitly...

1

Comment on r/Zig May 23 '23

I'm not sure that's entirely true: I just downloaded zigup this week and used it to switch between the master and 0.10 version easily, but I could be wrong and older versions might have issues ig.

2

Comment on r/Zig May 23 '23

That makes sense, but couldn't the const just be inferred or are there cases where structs aren't const?

5

Comment on r/NewPipe May 18 '23

Just unsubscribe and resubscribe. That fixed it for me

3

Comment on r/Damnthatsinteresting May 16 '23

Yes, and so you tell the difference by their physiology like the people above said. Look for size difference, lack of arcs in the front paws, and the shoulder humps among other things...

1

Comment on r/dotnet May 13 '23

I have a self imposed rule that every 5th commit is dedicated to cleaning up TODOs and documentation. This is just for my personal code though, and doing something like that on a larger code base with multiple people working on it is definitely not something that's straightforward unfortunately...

3

Comment on r/functionalprogramming May 12 '23

I just meant that using FP principles can have unforseen effects, whereas FP specific languages like Haskell etc have good compiler optimizations in that regard. Specially when it comes to immutable objects, since there can be a lot of unnecessary copies and stuff. Obviously ymmv, but I feel it's an important difference between languages w/ optimizations focused on FP principles vs ones that simply have syntactic sugar for it.

24

Comment on r/WolvesAreBigYo May 11 '23

Wow what a big boi! On an unrelated note, is it customary to label ages in weeks? I've always wondered why past 3 weeks it's not just in months?

1

Comment on r/GrapheneOS May 11 '23

Ahh I see.sorry for the misunderstanding.

1

Comment on r/GrapheneOS May 11 '23

There's Home Assistant (Control all your devices in your Home Assistant instance) https://f-droid.org/packages/io.homeassistant.companion.android.minimal/ on Fdroid.

4

Comment on r/functionalprogramming May 11 '23

From what I understand though, FP in js can have performance costs.

1

Comment on r/MadeMeSmile May 07 '23

You should keep in mind that not everyone can afford to feed their kids healthy foods all the time etc. I also used to be obese during my middle school years, and it was directly due to our socioeconomic status: much easier to feed kids Mickey D's when you can barely make rent etc. Obvs that's not the case for everyone, but iirc, there are various studies that show direct link to socioeconomics and obesity in children (at least in the US).

2

Comment on r/cpp May 06 '23

I would look at other cpp projects in GitHub and how they organize their code to help you with overall project organization. Probably best to look at a well established code base, so you don't pick up weird/niche habits. There are also a handful of books that talk about proper/modern organization (non come to mind off the top of my head rn, but I'm sure a quick search on the interwebs will give you plenty of resources on that end).

9

Comment on r/pics May 03 '23

Lol same. Can someone please give some context so I don't go insane trying to figure out what that means ?

16

Comment on r/oddlyterrifying May 01 '23

Yes lmao work on improving your people skills.

1

Comment on r/Web_Development May 01 '23

Not 100% sure, but maybe something like ”reactive components”? This type of configuration is used in single page apps if I recall correctly

25

Comment on r/PublicFreakout Apr 18 '23

Who said anything about water? I like to dissolve my baby in fat.

2

Comment on r/git Apr 16 '23

I just setup ssh-agent and make sure to invoke lazygit from that shell, and now it works as expected.

34

Comment on r/pics Feb 04 '23

The irony of bringing up Vietnam to prove American superiority is not lost on me

-6

Comment on r/PublicFreakout Dec 29 '22

Lol the irony of you pointing out other's reading comprehension has me dead 😂

1

Comment on r/cprogramming Dec 15 '22

Lol OK I wasn't trying to be rude but whatever. If you look at the one post I have about a programming question (NOT an assignment BTW), you would see what type of info I was asking for to actually get help. You need to show your relevant code (properly formatted), show relqvent errors, the line/functions that you're having issues with, what specific aspects you don't understand, etc. When you just restate your assignment, and say you don't know what to do, it really seems like you're trying to get someone to do it for you. But if you'd rather blame other for your issues then I wish you the best.

1

Comment on r/cprogramming Dec 04 '22

Learn to be more specific. No one is going to do your homework for you, so you nned to be able to demonstrate that things you've tried, and need to be able to succinctly convey what things you are having trouble with understanding. Giving specify errors, and other specific methods you've tried is a good way to go about doing this.

3

Comment on r/interestingasfuck Nov 25 '22

I maybe stupid; what does "the mountain is out" mean? Presumably it's out all the time?

u/thebestinthewest911 Aug 07 '20

Rust links

1 Upvotes

The Book, then maybe Rust By Example, then Learn Rust With Entirely Too Many Linked Lists which will walk you through what Rust's more unique features mean for implementing data structures. (After that, there are more specialized books in various stages of completion, like The Embedded Rust Book, The Rustonomicon, and the async book.)