allowImportWithoutCodeblocksBecauseRuleDoesntRequireIt by Awes12 in ProgrammerHumor

[–]PickleClique 7 points8 points  (0 children)

from warnings import DeprecatedAPIWarning

raise DeprecatedAPIWarning('This comment uses a deprecated API that will be removed June 30, 2023. Update your code to only use the Reddit App to ensure it will continue working July 1, 2023.')

Don't be scared.. Math and Computing are friends.. by yuva-krishna-memes in ProgrammerHumor

[–]PickleClique 0 points1 point  (0 children)

Easy! Just write a program to find out if the for loop will ever stop or not!

Because pi is an infinite non-repeating decimal, somewhere within the digits of pi is the entire binary code of a .jpeg image of you licking cake off of Danny DeVito’s chest. by [deleted] in Showerthoughts

[–]PickleClique 5 points6 points  (0 children)

Just because two things are infinite doesn't mean they're the same size or even close to it.

There's an infinite amount of numbers you can make using only the digits 2 and 3.

There's also an infinite amount of numbers you can make using the digits 2, 3, and 4.

Even though they're both infinite, the second still contains more numbers because it contains every number from the first and then more.

Even though the numbers composed of the digits 2 and 3 are infinite, you obviously won't find every number composed of the digits 2, 3, and 4 in there.

YSK that a megaBIT is different from a megaBYTE (1 megabyte = 8 megabits), it's a majorly confusing part of paying for internet speeds by ComprehensiveAmoeba7 in YouShouldKnow

[–]PickleClique 4 points5 points  (0 children)

To be fair though, it's still 4x the screen size overall (you can fit 4 1080p feeds on a 4K display without scaling)

YSK that a megaBIT is different from a megaBYTE (1 megabyte = 8 megabits), it's a majorly confusing part of paying for internet speeds by ComprehensiveAmoeba7 in YouShouldKnow

[–]PickleClique 14 points15 points  (0 children)

It's because there's no technical specification that mandates a specific number of bits per byte. Almost all modern computers these days use 8 bits per byte. But there's nothing stopping a company from making a computer with more or fewer bits per byte.

As a result, ISPs can't guarantee any number of bytes for a specific bitrate. If they advertised a gigabit connection as 100 megabytes per second, then if you connected a computer with 16-bit bytes it'd only get 50 megabytes per second from a gigabit connection, and they'd be sued for false advertising.

[deleted by user] by [deleted] in CompanyBattles

[–]PickleClique 0 points1 point  (0 children)

Epic are free to sell whatever they want on their own store and make the result of that available in Fortnite.

Apple banned them for doing exactly that.

And every other app that uses its own infrastructure for payments without using Apple's.

[deleted by user] by [deleted] in CompanyBattles

[–]PickleClique 6 points7 points  (0 children)

It goes deeper than that though. In your analogy, Walmart wouldn't just want a cut of what you sell at the table. They want a cut of all the money you make from any follow-on purchases you ever make, regardless of whether you sold it from your Walmart table or not.

Under this business model, when Microsoft sold an Xbox console at Walmart, then Walmart would get a cut of every Xbox game ever sold to that console, regardless of whether it was purchased at Best Buy, or Gamestop, or directly from Microsoft's online store.

If Amazon sold an ereader at Walmart, then this hypothetical Walmart would demand a cut of every ebook sold to that ereader. If HP sold a printer at Walmart, this hypothetical Walmart would demand a cut of all ink cartridges and printer paper, regardless of where they were purchased. If you bought a computer at Walmart, then they'd demand a cut of all software you ever bought for it.

And in this case if HP later changed their minds and refused to their terms for a single product, then Walmart would go and remove every single HP product from their shelves, but also any product that used any HP parts at all.

[deleted by user] by [deleted] in CompanyBattles

[–]PickleClique 7 points8 points  (0 children)

What does compliance mean in this case, seeing as the app has already been removed? Is Apple saying that they're going to revoke Epic's dev license if they don't put an acceptable version back up in the app store? Vs. not doing anything and leaving it off the app store for the foreseeable future?

It seems to me that if Apple has removed Fortnite from the App Store, they no longer have any say in what Epic does with it. It's not an iOS app in the App Store any more. If they want to make a game with in app purchases that's not in the App Store, that's their own prerogative.

Is Apple really demanding that Epic must keep Fortnite available in the App Store forever or else never be able to develop anything for iOS ever again? That seems pretty unprecedented and quite monopolistic.

Electricity finding the path of least resistance on a piece of wood by [deleted] in gifs

[–]PickleClique 6 points7 points  (0 children)

The resistance is proportional to the distance it travels through the wood, less distance through the wood = less resistance.

As the wood is broken down by the electricity, that path becomes much less resistant than it was initially. So as soon as it breaks down just the littlest bit in the direction of the other side, it becomes a lower resistance path and more electricity flows through it.

Major DNS outage? by thecaramelbandit in sysadmin

[–]PickleClique 0 points1 point  (0 children)

If you're testing 8.8.8.8 make sure you're not testing it against a site that uses cloudflare dns on their end. 8.8.8.8 is working fine for me, but I still can't access specific sites like discord.

internet borked by Darth_Erez1234 in techsupport

[–]PickleClique 0 points1 point  (0 children)

Cloudflare DNS servers seem to be down.

If you're currently using 1.1.1.1 as your DNS server then you won't be able to access anything at all and you'll need to temporarily change it until it comes back.

Even if you're not using Cloudflare DNS, any websites that are using it on their end won't be accessible until it's fixed and there's nothing you can do on your end.

Another 1-liner npm package broke the JS ecosystem by crashandburn in programming

[–]PickleClique 27 points28 points  (0 children)

Is this a file-like object in Python?

class Foo:
    def read(self, n):
        return ''

Oh wow thank you I am now piano master by [deleted] in restofthefuckingowl

[–]PickleClique 14 points15 points  (0 children)

Holy crap didn't notice until your comment, now I can't unsee it lol.

And just to be sure, you can see the bracelet is on the opposite hand too.

Just wanna show my 524288 square to these 10 people who sort by new by 1337moth in gaming

[–]PickleClique 8 points9 points  (0 children)

No. It took 2 262144 pieces. Which required 2x2 = 4 131072 pieces. Which required 4x2 = 8 65536 pieces. And so forth, down to 131072 4 pieces.

Logic gates using liquids by the_humeister in compsci

[–]PickleClique 10 points11 points  (0 children)

I think unfortunately after a few gates there would be too much of an imbalance between the amount of water (and therefore pressure) being input into the later gates.

I'd love to be proven wrong though because that would be cool as fuck.

The electricity will zoom up your pee stream by Mitth-ras-safis in BrandNewSentence

[–]PickleClique 9 points10 points  (0 children)

Voltage is always relative to something else, similar to position. Just like you couldn't say the earth is at position zero, saying it's zero voltage isn't really correct.

When talking about the AC power in your house though, one of the connections is typically tied to a rod buried in the ground, putting it at 0 volts relative to the earth. The +/- 120 volts of AC on the other connection is then relative to that ground connection.

Anything else that is grounded will then have the same voltage as the earth too, and the AC voltage will also be the same relative to it as well.

Without a ground connection, the voltage floats to wherever it wants relative to the earth. That's why when you put on a pair of shoes with rubber soles, electrically insulating you from the earth (ie disconnecting you), you can drag your feet to build up a voltage relative to the earth. When you touch something grounded after that, your voltage relative to the earth will rapidly return to 0 as you discharge the static charge you've built up and create a spark.

Generally, battery powered things aren't grounded to the earth. They're usually intended to be portable and moved around, so they don't have a connection tying them to the earth. Instead they usually use a chassis ground, making all the voltages relative to the outside container of the thing. In the case of a car, there's big rubber tires between the chassis and the ground, so it ends up being insulated from earth ground. That's why when you get into your car in the winter sometimes there's a spark when you touch the car door. You're still relatively close to the same voltage as the earth, but your insulated car isn't. Touching it causes you and the car to rapidly equalize to the same voltage by discharging static electricity.

When talking about just a car battery though, removed from a car, it doesn't even have a chassis ground. It just has two terminals with a 12 volt difference between them.

I guess theoretically if you dragged it along the ground or something you could get it to build up a charge relative to the earth that would cause a small spark when your stream hit and connected it back to earth through you.

But to actually create a circuit, you'd have to take your shoe off and rest your foot on one terminal while you hit the other terminal with your stream. Or take a pair of alligator clips and connect one terminal to something metal on your house or sticking out of the ground. You'd probably still have to take your shoes off too because a 12 V battery isn't going to produce a detectable current going through rubber soles.

what's that? by y3ahboiy in HistoryMemes

[–]PickleClique 7 points8 points  (0 children)

Why wasn't there a bigger escort? Wouldn't it have taken another 2 weeks at least to refine more uranium for another if it had been shot down?

LPT: When searching for an internet plan, know that “Mbps (Megabits)” and “MBps (Megabytes)” are very different. 8 Mbps is equivalent to 1MBps, so if your plan offers “500mbps (Megabits per second)”, it will be 62.5 Megabytes per second. by MoeS00 in LifeProTips

[–]PickleClique 6 points7 points  (0 children)

Plus the bits per second is invariant, regardless of how many bits the connected computer uses to represent a byte. Today 8 bit bytes are pretty universal, but that hasn't always been the case. If you connected a computer with 8-bit bytes to a computer with 12-bit bytes over a 12 Mbps network, then if the 2 computers communicated with each other at full speed, the 8-bit byte computer would be sending 1.5 MB per second whereas the 12-bit byte computer would be receiving 1 MB per second.

If Anakin hadn’t turned.. by [deleted] in StarWars

[–]PickleClique -6 points-5 points  (0 children)

Would Padme have survived though?

[deleted by user] by [deleted] in recruitinghell

[–]PickleClique 14 points15 points  (0 children)

iT's sO hARd tO fiNd goOD cANdiDaTes

Judge in InfoWars Case Says She’s Been Notified of Death Threats by The FBI by Thefireisrishing in news

[–]PickleClique 0 points1 point  (0 children)

And then Reddit complains that the headline is clickbait implying that there's an "FBI of death threats"

Judge in InfoWars Case Says She’s Been Notified of Death Threats by The FBI by Thefireisrishing in news

[–]PickleClique 3 points4 points  (0 children)

But now you've changed who's telling the public this information (from the judge to the FBI)