Quatlicopatlix

joined 1 year ago
[–] [email protected] 1 points 19 minutes ago

I mean in c/c++ statics arent really globals, you cant acess the from outsside their scope can you? They just retain their value or am i wrong?

[] for arrays is the thing that has been used forever so why should we not use it annymore?

Overloading is also pretty usefull, overloading class constructors is great. I am not a 40 year experience developer but learning c/c++ i never thought that was so bad.

[–] [email protected] 2 points 2 hours ago (2 children)

Yea what is wrong with static members? What do they even mean with "[] for arrays"? Why is that bad? Method overloding is bad? why??

[–] [email protected] 2 points 3 days ago (1 children)

Die meisten spülmaschinentabs haben abbrasive partikel die helfen den schmutz abzutragen, das sorgt bei messern aber auch dafür, dass die schneide stumpf wird und bei beschichteten pfannen die ptfe beschichtung abgelöst wird. Von nicht rostfreien messern mal abgesehen, das ist denke ich selbsterklärend. Edelstahlpfannen und töpfe sind eigentlich kein Problem, brotmesser und co mache ich auch in die Spühlmaschine.

Gute küchenmesser einfach direkt nach dem benutzen mit heißem wasser und spüle abspülen und gut ist, solange nichts antrocknet bekommt man die mit 2 handgriffen schnell sauber.

Gusstöpfe/pfannen sollten durch das benutzen ja einee LEICHTE patina aufbauen die hilft, dass nichts beim braten festklebt die würde in der spühlmaschine zerstört und guss rostet. Hier auch einfach direkt per hand spülen und gut ist.

[–] [email protected] 14 points 1 week ago

For me its like "oh great a old textbook, now i can finally understand our legacy codebase".

[–] [email protected] 2 points 4 weeks ago (1 children)

What do you mean? Its not the keybord that can decide if the hardware on the mobo is just a ps2 to internal usb adapter or not.

[–] [email protected] 1 points 1 month ago (1 children)

Ahh ok yea i also do some terminal shenanigans most in gdb to fix all the segfaults i make, git stuff and reading tons of compiler and cmake errors. Most time is spent thinking about what i broke and how, instead of typing.

I am a electrical engineering student in my last semester but i have been working at my position since starting uni. So my work is more low level stuff wirh c/c++, embedded linux and some pcb layouting. I dont think that i would ever use vim, sublime or vscode/vscodium is the sweet spot for me.

[–] [email protected] 1 points 1 month ago (3 children)

Ok but what is your job then? I do software development and in no way would it make my work faster if i can type 2 more words a minute because i dont type that much. Most time is used to read sourcecode, chassing references through the codebase and reading api references in the browser. If i have to do more hardware related stuff i would never want to use a keyboard to scroll through datasheets.

[–] [email protected] 3 points 1 month ago (6 children)

And i always thought Real™️ linux users dont need a desktop manager? No wait they need arch with a tiled window manager because it looks cool but actually dont do annything besides configure their install.

[–] [email protected] 4 points 1 month ago

I work in a company that has a old codebse in c with tons of realtime intime stuff that is acessed via a shared memory from the realtime to the non realtime system. Tons of strucs get copied around then typecast to other structs and global variables all over the place. You never know where a variable is written to and where it is also acessed from or if it is just a copy. No assembly but still super obscure.

[–] [email protected] 11 points 1 month ago (2 children)

Seriusly, if you cant filter information or you are not able to react to your surroundings please dont drive. Half a second of reaction time more is a lot when you are driving a 2 ton car with 100kmh around... that si rhe reason drunk driving is not allowed or driving while high...

[–] [email protected] 10 points 1 month ago

With embedded stuff its still done like that. And if you go from the arduino functionss to writing the registers directly its a hell of a lot faster.

[–] [email protected] 1 points 1 month ago

Im not a gamedev but a electrical engineering student and i am currently in my one semester project phase in a company where i am programming a 3d visualization for welding robots. First time working with imgui and opengl and the feeling when you wrote your first shader and a 3d model is rendered to the screen is priceless.

view more: next ›