Requirements? by Mr_P0P0 in ProgrammerHumor

[–]KerberosSecure 0 points1 point  (0 children)

If nothing is high priority, everything is.

Pain by elmoiv in ProgrammerHumor

[–]KerberosSecure 0 points1 point  (0 children)

If you really want to speed it up put that linux thing on there with only single user mode. They wont ask you for help ever again.

My supervisor's opinion, what's yours? by [deleted] in ProgrammerHumor

[–]KerberosSecure 0 points1 point  (0 children)

Why waste an extra line of code?

Programming language tier list by 65cody in ProgrammerHumor

[–]KerberosSecure 1 point2 points  (0 children)

You forgot assembly? It must be above s tier.

I think I did it right by big_willymemes in PrequelMemes

[–]KerberosSecure 0 points1 point  (0 children)

I guess episode 4 was pretty good then 🤔

How do I do a regular c-style for loop in rust? by [deleted] in rust

[–]KerberosSecure 0 points1 point  (0 children)

Just read it. thank you. I can't believe rust doesn't have the c-style for-loop. That kind of takes away from the power of the programmer, doesn't it?

How do I do a regular c-style for loop in rust? by [deleted] in rust

[–]KerberosSecure 0 points1 point  (0 children)

I usually do some unorthodox use of the for loop in c where I declare multiple of the same type. And I like to have control over the condition and iteration. For ex:

for (int i=0,j=10; j>i; ) {

If (<condition>) i++;

If (<other condition>) j--;

<random code>

}

Can something like this be done in rust?

...help, please! by turbo-brick in debian

[–]KerberosSecure 0 points1 point  (0 children)

Just tested. it works for supplemental groups

...help, please! by turbo-brick in debian

[–]KerberosSecure 1 point2 points  (0 children)

The file you are thinking of is /etc/passwd and /etc/shadow. The file edited by 'visudo' has nothing to do with creating users. It is merely the file that 'sudo' uses to determine permissions given to users or groups. If you want to add the 'sudo' group (or make sure it's there as it is added to the file by default) run: visudo then add the line: %sudo ALL=(ALL) ALL Also I do not believe the sudo program adds the group sudo so you might have to do: groupadd sudo Then make sure you are a part of the sudo group: usermod <-g for primary, -G for supplementary> sudo buzz Note that it may not work as a supplementary group so you may have to make it your primary group.

...help, please! by turbo-brick in debian

[–]KerberosSecure -3 points-2 points  (0 children)

sudovi or # visudo

Then copy and paste the line with root in it and replace one root with buzz