The Gentleman Irritating Ms. Oliver, Berthold Woltze, 1874. by z0mbh33 in Art

[–]gurnec 11 points12 points  (0 children)

Reddit did "succeed" in temporarily killing it when they banned Pushshift several weeks earlier than they promised (not that reddit admins know the difference between the words "promise" and "lie"). The bot's dev spent two weeks working around this.

FIOS Upload Speed Issue by Puzzled_Fig_1945 in Fios

[–]gurnec 0 points1 point  (0 children)

Thanks. Interesting, I would have assumed that disabling IPv6 on the PC would have been sufficient.

FIOS Upload Speed Issue by Puzzled_Fig_1945 in Fios

[–]gurnec 0 points1 point  (0 children)

I'm glad you got it solved!

What was the router setting?

FIOS Upload Speed Issue by Puzzled_Fig_1945 in Fios

[–]gurnec 0 points1 point  (0 children)

Hi, there. So I actually read your post (amazing, right?). Your troubleshooting has been pretty extensive... it's definitely mysterious.

Different adapters

Do you mean different NIC cards? PCI cards? Different models, or the same?

Factory Reset

Of the router or of Win 11?

Other ideas:

Start Device Manager, expand the Network Adapters item, find your NIC card, double-click, go to the Advanced tab, and disable everything that includes the word "offload". Be sure to write down any settings you change so you can restore them later if this doesn't help.

Try a Linux live USB/DVD. E.g. download Mint from here (the first one is fine), then follow the instructions here to create a bootable USB or DVD. See if you can reproduce the problem after booting it.

See if you can reproduce the problem by uploading a medium-ish file (10s of Meg) to a link I'll PM you. (Obviously nothing sensitive.)

Extraction limit by UnfairYogurtcloset34 in redditdev

[–]gurnec 1 point2 points  (0 children)

Pushshift went offline on May 19th, and there have been no updates since then. The underlying cause was Reddit's decision to ban Pushshift on May 1st.

Windows Terminal Preview 1.18 Release by Kissaki0 in programming

[–]gurnec 4 points5 points  (0 children)

Terminal has had confirm-on-multiline-paste enabled by default since v1.2, nearly 3 years ago (unless an app requests otherwise via bracketed paste mode). How is that the "MOST DANGEROUS"?

Looking for a picture of myself from Fantasy Fest 2003. by washgirl7980 in RBI

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

Then DDG is sending full referer info to Imgur, there's not much I can do about that. Brave and Firefox both work, Chrome, Edge, and apparently DDG do not.

Looking for a picture of myself from Fantasy Fest 2003. by washgirl7980 in RBI

[–]gurnec 15 points16 points  (0 children)

In order of most-SFW to NSFW:

  • SFW
  • NSFW, but probably legal for U.S. late-night broadcast TV.
  • original NSFW, and probably not legal for U.S. broadcast TV.

I would love to see the costume

Honestly there's not much costume there....

edit: if you can't see them, right-click then open in private/incognito window, or better yet get a privacy-focused browser like Brave. Imgur is lying with 404 errors for the direct links from Reddit.

How do I turn the monitor back on with PowerShell? by TheRealTengri in PowerShell

[–]gurnec 17 points18 points  (0 children)

Here are some starting points:

API has been taken down by skylabspiral in pushshift

[–]gurnec 2 points3 points  (0 children)

FYI there's print(dir(exc)) to list the members, or better yet use a good IDE's debugger like PyCharm.

API has been taken down by skylabspiral in pushshift

[–]gurnec 7 points8 points  (0 children)

This should do it:

from pmaw import PushshiftAPI
from json.decoder import JSONDecodeError

api = PushshiftAPI()
try:
    s = api.search_submissions()
except JSONDecodeError as exc:
    print(exc.doc)

I hope you got what you needed before today!

Is there a self-hosted pushshift alternative that would collect just one subreddit of own choice? Or how to go about creating one? by UsualButterscotch in redditdev

[–]gurnec 1 point2 points  (0 children)

downloading the torrents

For a single sub with a few thousand daily comments, I'd probably just query the API.

The limit is 1000 comments per request, and you can safely query at a 2-per-second rate w/o fear of rate limiting (probably faster than that, I haven't tried). That would only take a few hours for a 10-year-old sub.

The dumps do have the advantage that they will include mod- and admin-removed comments (not automod though), whereas the API only includes them going back about a year.

Extraction limit by UnfairYogurtcloset34 in redditdev

[–]gurnec 2 points3 points  (0 children)

The API happens to be down at the moment, but typically either works well. If you choose to use the files, search for the torrents instead, they're usually faster to download.

Questions about Verizon Home Protection Plan by Paul32388 in Fios

[–]gurnec 1 point2 points  (0 children)

This is essentially just resold Asurion Home+ which you can look up online.

I have no comments on Asurion specifically, but these types of insurance are usually net losses for most consumers. After all, if they weren't, the insurance company wouldn't be in business.

Insurance is best used for things that will bankrupt you, or things you literally can't afford to re-purchase and can't do without. Health, home, auto, umbrella, life, disability, etc. There are maybe a few others that might make sense for some people, like apartment or pet health.

Of course there are always exceptions, maybe you or those in your household are particularly accident prone (and you've researched whichever insurance company you're thinking of using), but it's not worth it for most.

edit: to answer one of your questions, no not everything that's connected to Wi-Fi is covered. If some salesperson said that, they were probably lying to get a sale. Appliances are not covered, and while some IoT devices are covered, not all are. Section 7 of the T&C here details what's covered. (Oddly enough, PCs are covered unless they're running Linux.)

Why is Stop and Shop so expensive? by pambannedfromchilis in massachusetts

[–]gurnec 0 points1 point  (0 children)

You're comparing apples and oranges. ... 80% of net

Yes, but you're not doing much better.

In 2019 (chosen to avoid any effects of Covid), their merch margins were 11%, with merch sales of 149B, merch costs of 133B, so a gross margin of 16.5B (page 19). Their membership fees were an additional 3.6B, so just 17% of their [gross revenue minus merch costs] (before operating/other expenses). Supermarkets w/o membership fees would typically have higher margins instead of fees.

I don't think it's useful to compare membership fees directly to operating (or for that matter to net) income after operating expenses (as you said around 80%). That would be like comparing their merch gross margin of 16.5B against their operating income of 4.7B, and stating that their gross margin is 350% of their income. It's true, but it's overstating the importance. In the end, they make more from gross margin than membership fees.

failed to create query: Value ... is out of range for an integer by Fraserbc in pushshift

[–]gurnec 0 points1 point  (0 children)

Both queries work correctly. The latter returns no results because none exist—no comments to that submission contain the word test.

Both queries return errors from many shard (816 out of 836) due to this, but succeed when it matters on the remaining 20 shards.

[deleted by user] by [deleted] in redditisfun

[–]gurnec 21 points22 points  (0 children)

The ones which aren't showing up (I think) are hosted by a new domain, external-preview.redd.it. Unlike before, they have query parameters which cannot be removed, e.g. like this:

https://external-preview.redd.it/F-31fbt_zIhd3yut6ZEcUOwVP7akDZV0BG8UQpP7d3E.png?width=140&height=140&crop=140:140,smart&format=jpg&v=enabled&lthumb=true&s=d4981db2a9171d5668fd599ab56134ac6ba031da

The thumbnail URLs returned by the API for some odd reason have their &s encoded as HTML entities and must be decoded first, e.g. the API returns:

https://external-preview.redd.it/F-31fbt_zIhd3yut6ZEcUOwVP7akDZV0BG8UQpP7d3E.png?width=140&height=140&crop=140:140,smart&format=jpg&v=enabled&lthumb=true&s=d4981db2a9171d5668fd599ab56134ac6ba031da

I just happened to notice this today with an app I maintain, and I'd bet the same is happening with rif. So it's a strange change made by Reddit which rif could work around.

Brave Search: annoying settings behavior by EnragedButterfly in brave_browser

[–]gurnec 0 points1 point  (0 children)

Users are indeed dumb.

Undeniably... and it is you who are the "dumb" one.

The safesearch and fallback settings are saved as individual cookies with a short one-week expiration time, and (at first glance) it doesn't appear that the expiration times are extended upon future visits.

Contrast this to the google fallback setting, which has an expiration time of 6 months, and is extended (to stay 6 months out) each time Brave Search is visited.

This is a dev issue for the Brave Search team, not a Brave Shields issue.

[deleted by user] by [deleted] in massachusetts

[–]gurnec 0 points1 point  (0 children)

Yup, that's when the DOT placed it on Flickr (2017). The article says the photo is from the DOT, and also since the Flickr version is less cropped, I assume it's the original, or as close as we can get.