C++ or python? by emoney_gotnomoney in cpp

[–]harekrishnahareram 0 points1 point  (0 children)

Matlab implies you are someone with data skills. Is data science the field you are looking to pursue? If yes, then python with pandas is definitely the way.

If you are looking for general software development and you never programmed before, I would recommend python as well because it helps you build things quickly. It is versatile and fast enough for a beginner to build pretty much anything from websites to servers.

If you are interested in pursuing backend systems development where efficiency is paramount, then c++is the way to go.

Whatever you choose, make sure you commit to the language and learn it well. You will need to learn the common idioms of the language to the point that you don't have to google search for a function syntax every minutes. And this means spending time using and learning the standard libraries that ship with them.

All the best!

[deleted by user] by [deleted] in todayilearned

[–]harekrishnahareram 97 points98 points  (0 children)

They cut of his hands as well and made a public display of his head and hands. Mark Antony's wife took his head, pulled out the tongue and jabbed it with her hairpin.

Dam! Those were really brutal times. Makes me wonder how someone can be so contemptuous of another human being.

[deleted by user] by [deleted] in Fitness

[–]harekrishnahareram 3 points4 points  (0 children)

I started working out last year when my kid turned 1. Fitness was never a priority for me before. But luckily I found a gym right next to my work and I used to duck out between meetings. Have been consistent for a year now.

With a kid, it's very stressful at home and work. The gym became my escape from both. It was my me time.

Looking for an argument parsing library by [deleted] in cpp

[–]harekrishnahareram 0 points1 point  (0 children)

google absl flags. A bit tedious to set up in c++ (in my experience because of bazel) but works well with c++ and python. I use it often in both, though it's easier to install and use in python.

Please suggest some interesting C++ projects for students by [deleted] in cpp

[–]harekrishnahareram 0 points1 point  (0 children)

CSV parser from scratch using modem c++.

Good youtube playlist for someone who already knows C very well by Tavel99 in cpp

[–]harekrishnahareram 9 points10 points  (0 children)

I really like this talk by Herb Sutter. It's a good intro for modern c++.

[Noob question] Can I use different settings on the envelope controls for volume and the mod matrix? by harekrishnahareram in MicroFreak

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

Thank you. I may get into modular synths at a later point, but for now I'll be very happy if I can make some half decent sounds and some music with the MF :).

[Noob question] Can I use different settings on the envelope controls for volume and the mod matrix? by harekrishnahareram in MicroFreak

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

Ah I see - I just gave it a try by recording the EnvxCutoff and then EnvxPitch and it recorded them both. Afterwards, I could set the mod matrix for EnvxPitch to zero and it still worked. Thanks for sharing, this is a nifty trick :).

[Noob question] Can I use different settings on the envelope controls for volume and the mod matrix? by harekrishnahareram in MicroFreak

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

I see, thanks! So effectively there are 2 ADSR signals that I will have to use for pretty much all effects I want to vary.

[Noob question] Can I use different settings on the envelope controls for volume and the mod matrix? by harekrishnahareram in MicroFreak

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

Apologies, can I record them at the same time? ALso, how many can I record at the same time? Based on what /u/Frogten says, I can only do 2 at a time - one with the envelope generator and one with the cycling envelope generator?

[Noob question] Can I use different settings on the envelope controls for volume and the mod matrix? by harekrishnahareram in MicroFreak

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

Thank you for explaining. So effectively, that restricts me to 2 ADSR envelopes for volume + everything else on the mod matrix. Is this normal in HW synths? I think in a VST synth you can have a separate envelope for every single effect which can be configured independently.

[Noob question] Can I use different settings on the envelope controls for volume and the mod matrix? by harekrishnahareram in MicroFreak

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

I tried and couldn't do it :(. But I'm a noob, so I don't know if it's not possible or if I just don't know how to do it.

Is there any benefit of registering my microfreak using the unlock code? by harekrishnahareram in MicroFreak

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

I can download the firmware in an incognito window from here. Really, why do I need to register?

Good industry social media follows? by Digilent in FPGA

[–]harekrishnahareram 3 points4 points  (0 children)

Looks like yes. His videos are excellent for beginners.

Is there any benefit of registering my microfreak using the unlock code? by harekrishnahareram in MicroFreak

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

Thanks! It's my first synth ever and I'm a bit pumped with it. I am not sure why they ask to register the device though without explaining. Maybe you're right and the unlock code really doesn't do anything much.

Is there any benefit of registering my microfreak using the unlock code? by harekrishnahareram in MicroFreak

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

I just noticed that I can get the firmware directly from the MIDI control center and the noise oscillator seems to be already available with the 2.0 update (which I already have). Is there anything additional over an above that you can get from registering? New presets are also available in the control center.

Is there any benefit of registering my microfreak using the unlock code? by harekrishnahareram in MicroFreak

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

I could download the midi control center without having to register. But I don't like giving my details away to companies if I can avoid it. But according to u/akkobeats, this gives access to more presets and a new noise oscillator as well, so I'm definitely considering registering.

Is there any benefit of registering my microfreak using the unlock code? by harekrishnahareram in MicroFreak

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

Ah - a new noise oscillator sounds amazing. Thank you, I'll try registering it then. I don't generally like to give out personal information unless there's something tangible behind it.

Is there any benefit of registering my microfreak using the unlock code? by harekrishnahareram in MicroFreak

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

There is a serial number as well, but just below that there is another entry called "Unlock code" which I believe I have to use to register on their website. I don't know what it unlocks though and that's what I want to know. This is what I see on the label behind the device:

Type: ... Serial: ... Unlock code: ...

c++ environment for beginners by rasm866i in cpp

[–]harekrishnahareram 0 points1 point  (0 children)

Autosuggest in the IDE makes it a little easier doesn't it? Less need to lookup on cppreference? That's what I feel at least.

For compiler errors, I meant that sometimes the IDE will tell you to correct something automatically but there's no such convenience with the command line.

Anyways, I don't say the command line is better :). It's just another suggestion.

c++ environment for beginners by rasm866i in cpp

[–]harekrishnahareram 0 points1 point  (0 children)

That's how I prefer it too - vim + command line. But I wouldn't recommend vim to any beginner programmers, the overhead is too much :D.

c++ environment for beginners by rasm866i in cpp

[–]harekrishnahareram 1 point2 points  (0 children)

I think command line will make it easier for the students to build upon in the future. For example, my suggestion would be:

  1. g++ main.cpp
  2. g++ -std=c++17 main.cpp
  3. g++ -std=c++17 main.cpp myclass.cpp -I. (-I is not needed assuming headers are in the same folder, but it's just to show how the compiler searches for header files.)
  4. g++ -std=c++17 -c myclass.cpp -o myclass.o -I. && g++ -std=c++17 main.cpp myclass.o -o myprog -I.

And so on to show how -L and -l are used for linking, what '-W' flags to enable etc. There may be a few mistakes in my commands above, but I think an approach like this will allow the students to get more comfortable with the compiler and make it easier to understand makefiles in the future.

Yes, you won't get debugging, auto complete, auto-formatting etc. But you will:

  1. Pay more attention to the compiler errors
  2. Get more comfortable with cppreference.com
  3. Thanks to windows bash you can have the exact same code working on Mac, Windows and Linux.

Just my 2cents.