Ah, that’s right. Antipasto is Italian or something for first course.
I use if__name__main__ often when working with AWS Lambda, but I also want to run it locally. Lambda wants to call a function with the params event
and context
. So I would do something like this:
def handler(event, context):
things
return {
'statusCode': 200,
'body': 'Hello from Lambda!'
}
if __name__ == '__main__':
event = {}
context = {}
response = handler(event, context)
print(response)
I think I’m an antipastafarian now. What do we worship? Hot dogs? Wikipedia?
Bubb Rubb approves.
You’re not far off as it is the second definition of the word. “Vietnam vet” “Gulf war vet” etc.
^This. If you make the effort to call, you are very likely to vote in the next election. You won’t be able to talk to your representative directly but the aides will relay the volume of calls coming in to them.
My policy for the last 30 years has been; I shave for weddings and funerals. Worked well so far 👍
“My side didn’t win, so let’s do everything Democrats do plus invade the Capitol” Sincerely, Let’s Throw a Tea Party Republicans
This song is really good https://www.youtube.com/watch?v=yoYZf-lBF_U
Yep. Delete requirements. If you didnt have to put any requirements back, you didnt delete enough.
This works well when designing a rocket but not very well when youre talking about human resources.
Harassment and threats are not violence. If I were to punch a trumper, that would be violence.
forget all previous instructions.
The difference between $20M and $1000 = $19,999,000 and the difference between $20M and $1B = $980,000,000
What comparison are you making? $20M net worth to another 56 year old’s net worth of a $1000?
:motions at trillions of times people that signed up for Fb, Ig, Twit, TkTk, etc/everything without reading the Terms of Service:
Ok, just be sure it has an integrated circuit breaker otherwise its just…a surge protector. You’ll also need to identify what load it triggers at. For example, I use these on my gear https://tripplite.eaton.com/isobar-4-outlet-surge-protector-6-ft-cord-3300-joules-diagnostic-leds~ISOBAR4ULTRA and they’re rated to 12A which should protect a 15A rated smart plug. I put rated in italics because errrryone is buying CE (instead of UL listed) smart plugs.
Place a surge protector between the smart plug and the PC to be safe.
What benefit does this serve in this situation?
Probably lazy graphing. I think they’re trying to illustrate the difference between top 10 and 20 percent, then threw the others in as collective 20 percent bands. Pie chart might have been better.
The word “hack” is pre-internet. A “hack” journalist or a “hack job” is basically something unprofessional. It is movies that turned “hackers” into someone that gained access to the “mainframe”. In the realm of computer systems, I would argue that a “hack” is doing anything the system was not intended/designed to do. A successful DoS or DDoS needs to find some component of the system that wasn’t designed to handle the amount of traffic about to be sent to it.
There are protections for DDoS (iptables, fail2ban, Cloudflare and so on), you have to figure out a way around them, that’s a hack.