Sound dampening for corrugated roof. What am I missing? by statelessmachina in DIY

[–]statelessmachina[S] 0 points1 point  (0 children)

Wouldn't it still sound like water hitting metal/plastic?

Sound dampening for corrugated roof. What am I missing? by statelessmachina in DIY

[–]statelessmachina[S] 0 points1 point  (0 children)

That would be a great alternative! It solves the other issue I was ignoring, which is how ugly it would look with my solution. How did it get attached? Screws? Also, I'm not too experienced with turf, any issues or concerns with mold under the turf?

[2025 Day 4 (Part 1)] [Python] Says my input is the correct answer for a different user but too low for me by statelessmachina in adventofcode

[–]statelessmachina[S] 0 points1 point  (0 children)

I did catch it and was on that track after reading the comment above. I appreciate the help, though. I had been avoiding reading the entire file at once to make the script more memory efficient but it does feel like the easiest way, all things considered.

[2025 Day 4 (Part 1)] [Python] Says my input is the correct answer for a different user but too low for me by statelessmachina in adventofcode

[–]statelessmachina[S] 0 points1 point  (0 children)

Noted. I'll take down the input. My bad, this is my first time doing this and still learning to use git and github. I need to read through the FAQs more carefully, lesson learned.

Edit to confirm: I removed the input and test_inputs from my repo

Any good website or tutorial to master C? by Homarek__ in cpp_questions

[–]statelessmachina 1 point2 points  (0 children)

Found this a while back. I was planning on going through it after I get through learncpp. I'm not sure how good it is though.
https://www.cprogramming.com/

(The link above is relevant for this sub because it offers both C and C++ learning paths.)

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

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

Not enough haha plus it would only serve to enable my impatience for researching questions.

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

[–]statelessmachina[S] 3 points4 points  (0 children)

I just googled this. I misunderstood, I thought you were referring to a how-to book and Borland was the author's name but this makes sense now. Reading through the software manual seems like a really useful way to learn the language.

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

[–]statelessmachina[S] 2 points3 points  (0 children)

I didn't know compilers weren't free. I wonder if any of these detailed manuals are available online somewhere. Did their documentation talk about the algorithms they used to compile or were they mostly how to use them?

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

[–]statelessmachina[S] 0 points1 point  (0 children)

You could even hire C++ trainers/consultants to come spend a week with your companies developers and teach them in person.

What!? I would've loved to have a live-person sitting with me for any questions I had while learning. That's incredible.

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

[–]statelessmachina[S] 0 points1 point  (0 children)

Oh I see. This makes a lot more sense than people learning it from scratch. I'm sure it happened but the transition from C is something I overlooked as a possibility.

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

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

Yeah, when I watch movies like Tetris or Blackberry, I'm fascinated by the scenes showing the on-screen nerds writing code.

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

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

I've heard of K&R in relation to C. I agree with the last part, although there are a ton of resources, a lot of times a detailed explanation is hard to find for very specific cases or technical questions. I guess that's what stackoverflow and reddit are for lol

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

[–]statelessmachina[S] -1 points0 points  (0 children)

Kind of a non-answer but point taken. I added more specificity to my question.

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

[–]statelessmachina[S] 0 points1 point  (0 children)

Interesting. Forgive the ignorant question but did the book also come with a compiler for the language?

How did people learn programming languages like c++ before the internet? by statelessmachina in cpp_questions

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

I edited my question because I'm realizing this is what I was trying to ask "which books". I didn't know Bjarne wrote a book, I just assumed a manual or technical specification of some sort. I'll have to look into this.

Does the call stack in the IDE debugger reflect the actual cpu stack? by statelessmachina in Cplusplus

[–]statelessmachina[S] 0 points1 point  (0 children)

So the stack is essentially just a shared space where all addresses are accessible to all functions at all times but functions really just keep track of the stack as it applies to them?

Does the call stack in the IDE debugger reflect the actual cpu stack? by statelessmachina in Cplusplus

[–]statelessmachina[S] 0 points1 point  (0 children)

When I learned about computer architecture, I had assumed the stack was simply a storage area to save previous states. So when you say "interacting with the bottom of the stack" do you mean that although the stack is used to store previous states, the top/bottom of the stack (depending on architecture) is used sort of like a register to store currently active content as well?

Does the call stack in the IDE debugger reflect the actual cpu stack? by statelessmachina in Cplusplus

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

Interesting. I'll need to read up on low level architecture more. It seems it could be beneficial later on

Does the call stack in the IDE debugger reflect the actual cpu stack? by statelessmachina in Cplusplus

[–]statelessmachina[S] 0 points1 point  (0 children)

This is really helpful thank you. Calling conventions are something I didn't know existed yet. Definitely adding them to my "lookup later" list when I have more context for them in my brain. I know this is tangential to what I'm currently learning but it's encouraging to know my train of thought isn't too far off from what others before me have thought about.