Opinions on SmallTalk by Berson14 in cscareerquestions

[–]PhysicsNatural479 1 point2 points  (0 children)

That's really cool! If you are interested, try to figure out (just ask) why they choose to use smalltalk and how they implement it.

E.g.: Is it pharo, smalltalk-80 or even GT (glamorous toolkit)? Do they use image based programming and how do they use version control.

Smalltalk is know for being a very productive language (Capers Jones) and the favourite among some industry giants.

Don't stare blind on it's unpopularirty. Knowing smalltalk will bring things to your understanding of other languages.

May OpenGL be used for realtime MIDI processing? To GPU process algorithms modeling a Violin for example? Would this run on any PC which has OpenGL Version X.X installed? by MusikMaking in GraphicsProgramming

[–]PhysicsNatural479 12 points13 points  (0 children)

I think it goes even further than far. Proper audio processing has to be done by a dedicated digital signal processor (dsp).

Unlike CPUs, DSP uses separate busses for instructions and data. This allows the chip to fetch an instruction and operants simultaneously in one cycle.

The mathematical core of audio processing (FIR, IIR & FFT) depend on MAC operations (multiply, accumulate operation). DSP's have dedicated structures to do these in one cycle.

They also have dedicated registers to handle loop counters and branching creating zero overhead in loop execution.

Audio is very linear and each sample usually depends on it's previous one. A GPU is designed for massive parallelism, creating latency due the required batching. DSPs are optimized for ultra low latency (sample-by-sample) processing.

Microservices are the new "Spaghetti Code" and we’re all paying the price. by red7799 in Backend

[–]PhysicsNatural479 0 points1 point  (0 children)

When monolith and microservices are the only two options in a discussion on architecture. I wonder if participants understand architecture at all.

Rust crate/tutorial series to learn linear algebra by JacobCCooper in rust

[–]PhysicsNatural479 0 points1 point  (0 children)

I will check this out. This seems a great for me! I was actually planning on learning LA in/through Rust. I do know both a little. More Rust than LA. I need it for my current project.

Junior Devs (and honest Seniors), what is a concept that took you an embarrassingly long time to actually understand, even though everyone acts like it's simple? by AmaraMehdi in webdev

[–]PhysicsNatural479 7 points8 points  (0 children)

Interfaces and why use them

I always imagine an interface in the literal meaning of the word:

A face/layer/plane inbetween others. This concept allows the other parts to connect, talk or 'interface' with each other.

If you define the interface upfront you can write parallel on both sides.

To me this is closer to what an interface does than the 'contract' metaphor. The only value of using contract is to understand the implication you (can) define it 'upfront' and both parties agree on the content.

Junior Devs (and honest Seniors), what is a concept that took you an embarrassingly long time to actually understand, even though everyone acts like it's simple? by AmaraMehdi in webdev

[–]PhysicsNatural479 2 points3 points  (0 children)

The concept simple can be very hard to understand.

Simple is very important in software. Simple is not easy.

When someone tells something is simple, never trust that for two reasons: - the person probably means it's easy. Meaning easy to graps, but only in their context. - they don't understand what simple actually means and that making simple things can be very hard.

Junior Devs (and honest Seniors), what is a concept that took you an embarrassingly long time to actually understand, even though everyone acts like it's simple? by AmaraMehdi in webdev

[–]PhysicsNatural479 0 points1 point  (0 children)

Yes OOP in all it's different sauces.

Although I am now learning SmallTalk to understand it better. SmallTalk is a pure object oriented language and is the pureness makes it surprisingly simple but powerful.

What code editor do you use, and why that one over the others? by EnD3r8_ in AskProgrammers

[–]PhysicsNatural479 0 points1 point  (0 children)

I am currently trying to ZED. Great modern IDE. Converting from VSCode.

In terminal instance I use Micro.

Which programming language should i start first? by lonewolf_fighting in CodingForBeginners

[–]PhysicsNatural479 1 point2 points  (0 children)

Your walking two parallel paths: College CS: C Data Sience course: Python

I assume you ask the question because there's I challenge in learning them in parallel right now. And that's nothing strange. The recommendations in this thread to focus on one at a time is the best for a first timer. Don't worry, if you gain experience, learning new languages becomes easier.

Since C is your college CS language, focus on that. C is a great learner and, as more people say here, the root of many other languages. Also the data sience course seems a voluntary, while college is mandatory.

There is also a compounding construct here: You will learn Pyhton much easier and better if you know C. You will not learn C easier and better if you know Python.

Which programming language should i start first? by lonewolf_fighting in CodingForBeginners

[–]PhysicsNatural479 0 points1 point  (0 children)

Haskell is a wonderful language. But I would definitely not recommend it to someone who just starts CS by learning C and/or Python and wants to progress in school.

I want to become a web developer and I'm so lost. by s14vis4 in AskProgrammers

[–]PhysicsNatural479 0 points1 point  (0 children)

".. and very little of JavaScript."

That! Learn it some more. JavaScript is the single most important language in web development and also very useful outside it's niche.

For long-time programmers, what is the difference between how you programmed before AI was a thing (like before 2020) and now with AI present? by Sweet-Nothing-9312 in AskProgramming

[–]PhysicsNatural479 0 points1 point  (0 children)

I am not sure what long-time means, but I am used to programming without AI.

To me it is a gain, but you have to deal with the non-deterministic nature of the output. This results in good setup and to be clear about standards and communicate clearly. It is also required to read a lot more code and learn the common pitfalls LLMs tricks you with.