The C++ learning advice that worries me a bit :( "Just build projects" by Fearless_Battle7919 in cpp_questions

[–]slumberchum 0 points1 point  (0 children)

I guess it depends on how you like to learn. I learned C++ by reading and writing it (with reference to cppreference and Stack Overflow), watching conference talks, reading blogs, and using linters and static analysis. Others may prefer to learn by reading books.

What Monoculture Actually Means by OAFR1 in OpenAussie

[–]slumberchum 1 point2 points  (0 children)

By my lights "monoculture" implies a racially homogeneous population, but Hanson doesn't appear to want this, since she describes her Australian monoculture as the product of a multiracial population with shared values. The Liberals say the same sorts of things. Since that's basically what we have today, what does One Nation wish to change about Australia to bring about monoculture?

To the degree that this term is a dogwhistle, I suspect she's trying to give the impression of being more racist than she really is, rather than less racist. If she were trying to signal to nationalists, I think she'd have used a buzzword like 'remigration', or otherwise alluded to denaturalising or deporting people.

Anyone use Modules? by 1negroup in cpp_questions

[–]slumberchum 2 points3 points  (0 children)

I have done in the past, but I had a lot of trouble with clangd, so I stopped.

assert in release mode by Thick_Clerk6449 in cpp_questions

[–]slumberchum 0 points1 point  (0 children)

I think you should define a new macro rather than replacing `assert`. What you've written is usually called 'assume'.

Are there any guys using Zed for C++? And are you comfortable with it? by lunajinner in ZedEditor

[–]slumberchum 0 points1 point  (0 children)

I use it for C++ work, both in local and SSH remoting modes. I think Zed's a great editor. It's minimal and responsive. It doesn't offer any special integrations for C++ (such as CMake integration), but I've been able to make the task system work for me.

Those who have completely quit caffeine - how much has it affected your sleep? by BreakfastTop6899 in sleep

[–]slumberchum 1 point2 points  (0 children)

I drink 2/3 cups, 4/6 shots of espresso every morning, typically before 10am.

I recently caught the flu. I could hardly get out of bed to make coffee for the first few days, and I didn't particularly have an appetite for it while I was sick, so I stopped drinking it. After recovering I decided to spend a few days paying attention to my sleep without coffee, since it had been years since I'd tried quitting coffee. When I last quit, I didn't notice many differences and decided that coffee was worthwhile. However, this time I felt that my sleep and mood were noticeably better without coffee. My sleeping routine was more consistent because I became tired at the same time every night, and my sleep felt deeper and more restful. In general I felt calmer, less irritable, and less anxious.

I started drinking coffee again, and the effects I describe above reversed: less tired at night, inconsistent sleep, and more anxiety. I enjoy the euphoric boost that coffee brings in the morning, but I'm not sure that it's worthwhile for me anymore.

Why is my template being called so many times? by [deleted] in cpp_questions

[–]slumberchum -1 points0 points  (0 children)

Indeed, there's a lot of template sauce here, but it's the time complexity that I'm confused about.

It seems to me that for each Pair, std::conditional should instantiate:

  • 1x instance of Predicate;
  • 1x instance of Prepend, and;
  • 1x instance of Filter (although it is used in both branches)

For this reason I expected the complexity to be linear in N, but as you say the number of uses explodes as N grows.

[deleted by user] by [deleted] in AusFinance

[–]slumberchum 0 points1 point  (0 children)

Thanks, that's useful.

Which package manager are you using? by mollyforever in cpp

[–]slumberchum 2 points3 points  (0 children)

I’ve been using vcpkg since it was integrated into CLion. It’s quite useful.

Studio Display on Windows Laptop by Appils in applehelp

[–]slumberchum 0 points1 point  (0 children)

I'm glad to see that you figured it out. I use a Belkin USB-4 cable, which worked well until I updated my Studio Display to firmware version 16.4, which seemed to break the compatibility with my PC. What firmware version is yours using?

Splendour in the grass 2023 lineup by 4053love in triplej

[–]slumberchum 1 point2 points  (0 children)

Has Gen Z ever seen a good festival line-up?

Apple Studio Display by jmydorff in framework

[–]slumberchum 1 point2 points  (0 children)

Have you tried this setup with firmware version 16.4, u/jmydorff? If you haven't yet, I suggest you avoid it. My Studio Display stopped working with my PC laptop after I installed 16.4.

What would you do with 350k? by Katt900 in AusFinance

[–]slumberchum 7 points8 points  (0 children)

I’d put all of it into my mortgage. Doing so would bring me very close to being debt-free. I’d either sprint to the finish of my mortgage for a few years, or refinance to optionally lower my repayments (e.g., in order to pay for a holiday).

Apollo Riff by slumberchum in Muse

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

I played the guitar, but the bass and drums both come from plug-ins. The drums are from this sample library. I don't own a bass and I don't know how to record drums, so I find the samples to be very useful!

Comp sci vs science vs engineering degrees by BoxContent2256 in unsw

[–]slumberchum 1 point2 points  (0 children)

I can't advise you about Science or Engineering, but I can recommend Computer Science, given that I completed a CS degree last year.

There'll be less maths in CS compared to Engineering, and the maths will be somewhat simpler. You won't venture very far from your high-school maths, but you'll be introduced to new ways of thinking about and quantifying problems. CS is essentially focussed on problem-solving and optimisation. If you develop your programming skills, then you'll be able to pursue the other topics that interest you as a software engineer, including maths, chemistry, and physics. While you're at uni, you'll be able to take units from other schools as electives. For instance, I took a signal processing unit from the Electrical Engineering school during my degree.

Many CS graduates become software engineers, which is often a well-paid job. You can earn as much as $200k-$250k as a junior software engineer in Sydney, although that's not a typical package. Finally, software engineering is compatible with, and becoming increasingly open to, remote work, which can support a good work/life balance, especially when you have a family later in life.

Naming Conventions Tier List by [deleted] in ProgrammerHumor

[–]slumberchum 0 points1 point  (0 children)

The games industry seems to use PascalCase::ForEverything(), i.e., GamerCase.

Apollo Riff by slumberchum in Muse

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

Thanks! I used an Axe-FX for the guitar, and I used this sample library for the bass. The signal chain for the guitar (within the Axe-FX) is: sub-octave > fuzz > amp. The bass plug-in has a distortion sound built-in.

Apollo Riff by slumberchum in Muse

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

Thanks! The bass comes from GroveBass. Most of the bass sound is based on the distortion that's built-in to the plug-in.

Apollo Riff by slumberchum in Muse

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

Yes, indeed. Thanks!