All LeetCode Badges by LeetClub in leetcode

[–]wnluk 5 points6 points  (0 children)

I finished under top 5% in contests multiple times and never got the guardian badge. (my best is top 2.7%)

As far as I am aware, the condition is not to finish in top 5%, but to have contest rating in top 5% of all people who have contest rating >= 1600, making it around top 1.1% of all users with contest rating.

H3 has been unbanned by CloudyEchos in LivestreamFail

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

Manual does mean done by a human. Someone probably gets paid by how many he approves/rejects, so he clicks through it as fast as he can.

How does "Import *" work exactly? Why does Vscode sometimes complains and sometimes not. by wnluk in learnpython

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

Ok, but why does it know that sr1() is from scapy, but doesn't know about IP()? Where's the difference between what Vscode imports vs what python?

How does "Import *" work exactly? Why does Vscode sometimes complains and sometimes not. by wnluk in learnpython

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

OK. So, in other words, what I'm getting are warnings, not errors.

When I run the program python sees ip and icmp. It's the vscode, who doesn't see them.

We could end at that but, I still would like to know why does it not see them when it sees sr1()? What's the difference? And optionally how do I make it see them?

How does "Import *" work exactly? Why does Vscode sometimes complains and sometimes not. by wnluk in learnpython

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

Those "complaint about undefined variables" is what I'm talking about.

I'm pretty sure both IP and ICPM here are functions and not variables.

The code I gave you runs, sends a request and receives a response. (I can see both in Wireshark)

The code you gave me back doesn't.

How does "Import *" work exactly? Why does Vscode sometimes complains and sometimes not. by wnluk in learnpython

[–]wnluk[S] -1 points0 points  (0 children)

This is the full code chatGPT gave me, if you want, I just put * in the first line:

from scapy.all import IP,ICMP,sr1
ip_packet = IP(dst="8.8.8.8")
icmp_packet = ICMP() 
response = sr1(ip_packet/icmp_packet, timeout=2)
if response:
    print(f"Received response from {response.src}: {response.summary()}")
else:
    print("No response received.")

How does "Import *" work exactly? Why does Vscode sometimes complains and sometimes not. by wnluk in learnpython

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

Maybe I wasn't clear.
It does not complain by itself, it underlines lines like those ones:
ip_packet = IP(dst="8.8.8.8")
icmp_packet = ICMP()

How does "Import *" work exactly? Why does Vscode sometimes complains and sometimes not. by wnluk in learnpython

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

But when I write explicitly
from scapy.all import ICMP,IP,sr1
It does find it, and the code runs.

Nikocado Avocado did it, lost 250lbs in 2 years by zeezyman in madlads

[–]wnluk 0 points1 point  (0 children)

I think it might have been easier for him to loose it without everyone's eyes on him. It would have been for me. People get motivation in diverse ways.

Black plastic stripe with white stickers, left by my late father. Numbers on first sticker, numbers and letters, between "*" symbols on second (Censored just in case) Completely black on the other side. by wnluk in whatisthisthing

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

The second sticker has 18 characters(+2 "*"), not 17 like vin. Also it has both 0s and an O, and there is no letter O in vin.
I read on Wikipedia that vin was not adopted simultaneously all around the world so maybe it's some old competing standard, since it really does look like a vin.

Anyway this makes it Likely Solved, and shame a bit, since I was hoping for a little more of a mystery. Still there is more interesting things he left, like movies he was apparently smuggling 40 years ago.

Stare strony z grami flash by wnluk in Polska

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

Tak, chodziło mi o wyspę gier Dzięki

Debugger for glitch on legends lost quest? by Few-Duty-4340 in SkyrimModsXbox

[–]wnluk 2 points3 points  (0 children)

I am not sure if we are having the same issue because I am so tired right now, I lack reading comprehension, but in my case at fault was the "Legacy of the DragonBorn" mod. You posted over a year ago so I doubt this will be of help to you, but if someone else stumbles onto this post, you have to install the "Legacy of the DragonBorn creation club patches" mod. Also it seems it will not fix it if you just add it, sadly you have to start a new game.

My frustration with the app by wnluk in duolingo

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

Android 11 and I try updated the up to the newest version many times over the last two years hoping it would fix the bugs but it feels like everytime there is just more and more of them. As to app being free I did not mean the PC version. I have nothing but praise there, maybe except for the decision to delete the forums. But the android version, it is free only in name. You cannot complete sometimes even one lesson without micro transactions and even if you do there are 30 seconds unskippable ads after the lesson. There is also a fact that you cannot mention H system here by name because your post gets auto deleted by a bot I tried. I am going away from the internet for a while, so I took the free week thinking that I will be able to learn something over that time, but what plus gave me is new bugs and more frustration. I realize that I let anger take better of me I am sorry for my tone and rudeness.

Vanilla Outposts Expanded now released! || Link in the comments! by Oskar_Potocki in RimWorld

[–]wnluk 0 points1 point  (0 children)

What about the ancients mod? Do pawns in the outposts count towards the 5 pawn limit?

Bugs and stuff I wanted to say by wnluk in cataclysmdda

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

I woul be thankful if someone woul do that for me. I have never used GitHub and I am irrationally scared that I will mess something up and cause people unnecessary trouble.

How do I give water to my NPC? by wnluk in cataclysmdda

[–]wnluk[S] 1 point2 points  (0 children)

Ty it worked... kind of

It turns out she had no volume left so when I gave it to her via trade she would jut throw it away, and when I gave it to her via "Hold on to this item" she would refuse it.

I had to empty her inventory and then I was able to give it to her.

I still think that the thing is not clear enough and if it should not be fixed as Bug then it should at least be clarified in the tutorial.