• 0 Posts
  • 28 Comments
Joined 1 年前
cake
Cake day: 2024年6月23日

help-circle
  • He pretended like this would force studios to publish sourcecode and that they have to give up on drm. I am not shure if he or someone else said this but someone also pretendet like new laws would somehow retroactivly apply to all games and now sstudios would have to give up server code that propably has thrid party software in it that they dont have the right license to just release it.( this is also a point i read alot from comments everywwhere and its stupid.) First, anny new law will take a ton of time untill it iss written then passed and then goes into effect. If this law passes studios will know way in advanced that upcoming releases in the eu would be under this new law and therefore can take this into account when builsing their infrastructure for online play/drm like in case of the crew.

    Also anyone who is active in piracy forums where devs work on stuffk ows that they dont need aourcecode to get it running. People will chow through assembly if they want to make a game work, some decompiled lego island over the course of a year to preserve it.







  • I mean the thing with overloading is that your functions should have some difference in the paraameters they take, if you make 3 functions that have the exact same parameters of course you will not be shure what the compiler does(alötho i dont think that it would compile? But i dont think that i have ever done that)

    If you have a foo(int x float y) and a foo( int x ) function and you call it with just a x as parameter you can be shure the compiler will call your second function. If the compiler for some reasson tried to use the first foo it would throw a error because it wants a int and a float and you just gave it one int.

    I am shure that

    Foo(){ static int x =0;
    X +=1; Printf(“%d”,); }

    Foo(); every time foo is called x increments so print will be 1,2,3,4… for every call of foo

    Printf(“%d”,x); <- wont work because x cant be acessed here, it is out of scope.






  • 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.


  • 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.



  • 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.




  • Yea of course it is a “software” feature every motor in a ev is controlled by software that switches power electronics. “Dissconnecting” the phases of the motor so it wont recoup while is spins is still neutral. Or is “neutral” only a thing that a automatic transmission can do? If i put my manual out of gear is it then not in neutral? People dont want the manufacturer to install a clutch to physicly dissconnect the motors from the drivetrain but they want to be able to let the car roll without it braking by recharging the battery or dumping the power as heat into the powerstage.

    And by the way yes most evs still habe gears just with a fixed ratio because if the motor was directly connected to your axle full motor rpm would be way faster than your max road speed you can drive.



  • Its not that “states” dont want me to have guns but the people of that state dont want there to be so many guns.

    If i have a argiment with my neighbor i can be reasonable shure that he wont pull a gun out if he is mad. Pulling a trigger on someone is much easier than beating someone to death. If you fear the state becoming a facist regime maybe put mechanisms against that into your consitution instead of saying " just have guns" because thats is not a working mechanism. Against facism you need free public media that isnt privatly owned or government controlled. You need good public education and a working democratic system. America has neither of these things and instead of demanding that either of these get implemented the idiots freak out about gun co trol as if they could do anything against a facist state. Half of americans think that trump is fit for office, do you think that your right to a gun will solve the problem? If you want to kill him fine, but that means there is still a maga group full of idiots who will rally behind the next dude that wants a to build a facist state. Do you really think that ton of maga idiots with guns who think that immigrants eat their pets will not be more destructive than people not having guns at all?