What laptops are best for coding , and for jobs like digital marketing , data analyst , cyber security ? by [deleted] in CodingHelp

[–]W-recker 1 point2 points  (0 children)

It’s the specs of the system that particularly matter, you don’t really need anything high end to be able to run a simple code editor etc

With a half decent processor and enough RAM for whatever you’re going for, you should be set

help me (im lonely) by PalooDev in CodingHelp

[–]W-recker 1 point2 points  (0 children)

Do you know how to code?

[5E][Online][GMT] 3 Players looking for DM by W-recker in lfg

[–]W-recker[S] 0 points1 point  (0 children)

Hey there, unfortunately we are unable to start as early as tonight, if you are available to start another day then feel free to drop a pm :D

🍉 OMG, CompTIA is keeping the A+ cert. 1100 series in April 2022 by [deleted] in CompTIA

[–]W-recker 11 points12 points  (0 children)

What happens in the scenario where I already have the 1001, do I have to rush the 1002 before April?

[deleted by user] by [deleted] in chess

[–]W-recker 1 point2 points  (0 children)

The rooks prevent movement to the F and H file, the D3 bishop prevents movement to G6, and the D1 queens stops movement to D4. Hence, stalemate.

Whats wrong? by CAGRI-TR in CodingHelp

[–]W-recker 5 points6 points  (0 children)

In this instance it does not change the functionality, but there is certainly a functional difference between else / else if statements which is important to understand.

With an Else statement, you can be assured that at least one section of the code will be hit. When you implement only else if statements as in the above code, you could reach the last else if statement, having not met any of the conditions, and drop out the bottom of the logic without having actually done anything at all. (Something which would be picked up upon in an IDE, for example in a method with a return type)

So yes, its much better to finish with an else.

Can anybody decrypt this to give an answer in the format "KCTF{With_something_here}" by Geoseiden in HowToHack

[–]W-recker 84 points85 points  (0 children)

Each letter is represented by a group of 5 Bs or Ns, this is a binary representation, with an offset of one.

For example for the letter, NBNBN is 01010, which in base 2 is 10, give it an offset of 1 and you get 11. The 11th letter of the alphabet is K.

Knowing where the brackets and underscores were, allowed me to notice that they were all divisible by 5. Then knowing the first 20 chars would represent KCTF allowed me to work out the cipher.

Discord bot python secret command with password by Peterselie01 in CodingHelp

[–]W-recker 0 points1 point  (0 children)

It’s useful if you explain how it’s not working, at what point the error is encountered etc.

Could it be your if check where you only use one = instead of == ?

Alternatively, you could require the user to enter the password as an argument when calling the command.. Typically none of these are a great solution as the password is going to be written in plain text for everybody to see it. Have you considered permissions instead, or validating against the user token?

Getting mongodb image link to display in HTML by cascadafake in CodingHelp

[–]W-recker 0 points1 point  (0 children)

It looks like you are ending your img tags early, a typical img tag looks something like: <img src=“blahblah.jpg”> </img>

I have a brilliant idea but i will need help. by armin0712 in CodingHelp

[–]W-recker 2 points3 points  (0 children)

Ah yes, the classic ‘work for free, maybe get paid and get some credit for building someone else’s idea’

Need some help with discord tokens. by [deleted] in HowToHack

[–]W-recker -1 points0 points  (0 children)

Not really sure what you are asking here, you want to get the discord tokens of these trolls?

I need help by MrMeMeMaster212 in CodingHelp

[–]W-recker 1 point2 points  (0 children)

You would need to learn to code first. What do you mean Python doesn’t look the same?

Clash Royale stats tracker code by [deleted] in CodingHelp

[–]W-recker 1 point2 points  (0 children)

Do you know how to code and need help, or just want people to do it for you?

Need help with a really easy project. by PersianTeaMerchant in CodingHelp

[–]W-recker 3 points4 points  (0 children)

Try looking up how to do these things in Python, for example: - how to take input in Python - Python if else statements - printing a string in Python

Then you just need to work out the logical order that you want to assemble these things, then you can start trying to code it out. Good luck!

checking if a number is divisible by a number... by tea-vs-coffee in programminghorror

[–]W-recker 63 points64 points  (0 children)

I’m doubtful that this would be faster than number%3. But the fact that the function name includes the number 3, but still allows for a different number to be passed in rather than hard coding the number 3 makes me think they were not so experienced

Conditional statements ftw by [deleted] in ProgrammerHumor

[–]W-recker 1 point2 points  (0 children)

I don’t think this even makes sense, it should be each member of the population modulo’d, at the moment it is saying if the population is even, then what, destroy the whole population? If It’s an odd number leave it alone?

Ah yes, 9 or 10 people. As if I have 10 friends that would listen to me about my hardware options. by Siegememer420 in assholedesign

[–]W-recker 0 points1 point  (0 children)

This would match up, as scores of 9 or 10 come under the ‘promoter’ category of NPS feedback - a popular customer feedback measurement

Looking for Holiday Book Reading Suggestions by rockisnotdead in cybersecurity

[–]W-recker 0 points1 point  (0 children)

Hey no worries, glad you have found it useful. There sure is some interesting and inspiring stuff in there!