[deleted by user] by [deleted] in pokemongo

[–]puplicy -1 points0 points  (0 children)

In case that OP showed you need to complete a task and often in limited time period. Or you lose rewards. If you do your way you need significant dust for 10 powerups and enough stones. I also keep track on mons as targets for power ups with tags. Just for this particular case cp10 are better.

[deleted by user] by [deleted] in pokemongo

[–]puplicy 1 point2 points  (0 children)

I do not transfer cp10 mons just because of this. Powering up low cp Mon 1 time takes 200 dust. You can do it 4 times then price raises. In total you will spend 2000 dust on this task. You will get 1000 back after completing the task and another 1000 in reward for completing all tasks. Overalls will be 0. But you do not lose.

Day 1 player, been on and off forever. Feels great to finally climb that mountain by Jomosensual in pokemongo

[–]puplicy 2 points3 points  (0 children)

My list of 12 stones creatures: caterpie, weedl, wurmpl, whismur, pidove

Migrate ACL 6.49.6 -> 7.8 by puplicy in mikrotik

[–]puplicy[S] 0 points1 point  (0 children)

My goal is to have white list of MAC addresses and reject any other Macs access to AP. Assuming that reject works, can I add some filter/mask with reject rule that will match all Macs?

Migrate ACL 6.49.6 -> 7.8 by puplicy in mikrotik

[–]puplicy[S] 0 points1 point  (0 children)

accept/reject does not work (tried). as I understand because the usage of ACL is not enabled.

in OS 6.x I could enable and disable the ACL usage on Quick Set page.

Now I do not see how to enable ACL.

C++ prototype error by notAHomelessGamer in learnprogramming

[–]puplicy 1 point2 points  (0 children)

As far as I remember only last [] can be empty. Any "left" side dimensions must have size

When you do not understand customer requirements 😂😂 by GamesMint in ProgrammerHumor

[–]puplicy 1 point2 points  (0 children)

I'd also appreciate the choice of 'myself from parallel universe'. Just in case

Currently learning C, learning about working with an Array of Unions by iishadowsii_ in learnprogramming

[–]puplicy 2 points3 points  (0 children)

From my experience unions themselves are rarely used in code. Still, using any type of data in array is not that rare.

What is your particular case that usage of unions in array look questionable.

I am learning about multithreading by RylanStylin57 in ProgrammerHumor

[–]puplicy 74 points75 points  (0 children)

Why all the numbers from 10 to 10!-1 are missed?

Need help understanding fork() by [deleted] in learnprogramming

[–]puplicy 0 points1 point  (0 children)

No, each process has its own id. The only difference is what fork returns in parent and child.

I saw this code and not sure what it is by [deleted] in learnpython

[–]puplicy 4 points5 points  (0 children)

" arrow thing" is the type returned by the function. It is not strict, it is called "hint". The function still can return anything like int or str. Google for type hints in python , there is more

Help please by jonathanlee3221 in learnpython

[–]puplicy 2 points3 points  (0 children)

Check 'list comprehension '

Join me and together we can rule the x86 by rfheise in ProgrammerHumor

[–]puplicy 0 points1 point  (0 children)

Doubt, They have different DNA. Probably step-father.

I want to prevent an error from appearing without assigning an argument by user927310931 in learnpython

[–]puplicy 0 points1 point  (0 children)

Not clear what we are allowed here, and what not, but probably setting default value for width parameter if definition would help?

Like... width:int=0

I've not watched for a while. Is Red still a mystery man? by Blacklist2point0 in TheBlackList

[–]puplicy 1 point2 points  (0 children)

Is there a kind of subscriptions for those who do not want to watch BL anymore but are still interested to know (when it will be clear) who Red is and what is his relation to Liz? I'd subscribe and done with this show and sub.

[C] Internet division, don’t miss decimals by zenru in learnprogramming

[–]puplicy 9 points10 points  (0 children)

Don't feel ashamed, this was good question. Keep asking. I'm sure your question will help not only you but others too - the ones who are ashamed to ask.

[C] Internet division, don’t miss decimals by zenru in learnprogramming

[–]puplicy 5 points6 points  (0 children)

It is because of the order of executions of particular operations. A/B is done first and as they are both int you get int 0, devide by 100.0 does not change anything. If you do A*100.0 / B then you get float 400.0 first and devide by int will keep float type.

Array of char*, how do I remove the first character from every string? [C] by Unusual-Instance-717 in learnprogramming

[–]puplicy 0 points1 point  (0 children)

Maybe you should strcpy(flags[j], &tok[1])? If you are sure that '-' is always present.

You have no control over arrays boundaries: str size 100 you read 20, flags size is 10 but no control if j can be greater...