▲ 41 r/ReturnNewReddit+3 crossposts

Logging in to use Old Reddit

Hi there, u/boat-botany here working on Community Safety. 

A few weeks ago we shared some of the work we’re doing to tighten how automated systems access Reddit while preserving the tools that help moderators and communities thrive. As a continuation of that work, we’ll be rolling out changes to how Old Reddit can be accessed. 

Old Reddit’s logged-out experience is a significant source of abusive scraping and automated traffic on the platform. It’s also an important interface for many long-time mods and redditors. To strike the right balance between preserving your access to Old Reddit while preventing abusive scraping and automated traffic, over the next month we will start requiring everyone to log in. All logged-in users will continue to have access to Old Reddit, and this change will not impact logged-out browsing on reddit.com.

Let us know if you have any questions!

reddit.com
u/Extolord111 — 5 days ago

A major issue that new reddit has

If you browse for hours, it eats up all the RAM. Sometimes, clicking a button randomly makes the RAM usage go from ~500MB to 10GiB+ until the browser gets killed

By the way, other than the user posts/comments/overview/saved/downvoted etc pages, and moderation features, the client is fully functional. You can see the progress at https://github.com/Littux-Dustux/new-reddit-com. You need knowledge with JavaScript development to use it though, for now

u/Littux — 14 days ago
▲ 43 r/Littux+2 crossposts

New reddit recovery progress: subreddit listing pages now work, with styling

u/Extolord111 — 20 days ago
▲ 422 r/MorpheApp+1 crossposts

Reddit revoking API keys.. all client apps dead

401 error. Mine and many others personal API keys have been removed.

This might be the end for third party clients..

reddit.com
u/Littux — 25 days ago

Can't find KZ EDC Pro anymore on headphonezone. What alternative should I get? Or where can I get it from? I had just finished tuning it (after using it untuned for years) but the right side driver has issues

I had been using a KZ EDC Pro (silver cable) until now. It was working fine for years, but somehow, the back of a speaker came off, and the right side stopped working. I opened it up and inserted it again, then closed it. It works again, and is louder than before, but I inserted it too deep. Now, heavy bass gets distorted on the right side.

Only similar one I can find on headphonezone is KZ EDX Pro. How does that one perform?

Or can I get the KZ EDC Pro somewhere else?

Or should I get a more pricey one and continue using the EDC Pro until I can save up enough money? (I'm a student)

u/Littux — 26 days ago
▲ 253 r/masterhacker+2 crossposts

He says EVMs can be hacked with 3 syntax of python...

Standalone EVMs use dedicated microcontrollers with firmware typically written in Embedded C or Assembly, not Python. More importantly, the software is stored in one time programmable or masked ROM chips, meaning once the code is burned into the chip, it cannot simply be modified, overwritten, or remotely updated.

Also, people saying everything can be hacked miss an important distinction: an EVM can only be compromised by physically tampering with its hardware. And these machines are designed to detect such tampering. In Indian EVMs, opening or altering critical components breaks seals, triggers failures, and the machine becomes unusable rather than continuing to work with modified code.

Python isn't even suitable for this kind of low-level hardware firmware. These systems are intentionally kept offline, non-networked, and extremely limited in functionality to reduce attack surfaces.

Saying EVMs are programmed in Python and can be hacked in 3 seconds is like saying your calculator runs GTA 6 because both have buttons

u/Littux — 29 days ago

On old reddit, it used to say if a subreddit was geoblocked. On shreddit and apps, it just said "Community not found". Now, they broke it on old reddit and it just says "you broke reddit"

u/Littux — 1 month ago

Banned users list breaks on shreddit/apps due to one user. Works fine on Old Reddit

This OF spam bot banned by u/bot-bouncer is causing the issue:

{
  "operationName": "GetBannedUsers",
  "extensions": {
    "persistedQuery": {
      "sha256Hash": "9a05dd26e805552c9ddefa01262415fb806f70bfff62ea5cedae09df35c3dbe7",
      "version": 1
    }
  },
  "variables": {
    "subreddit": "southindia_",
    "userName": "OkEducator8465"
  }
}

{
  "data": {
    "subredditInfoByName": {
      "__typename": "Subreddit",
      "id": "t5_dotjez",
      "bannedMembers": {
        "edges": [{
          "node": null
        }],
        "pageInfo": {
          "hasNextPage": false,
          "endCursor": "MTk4ODk0ODgzOTE="
        }
      }
    }
  },
  "extensions": {
    "valueCompletion": [{
      "message": "Null value found for non-nullable type String",
      "path": ["subredditInfoByName", "bannedMembers", "edges", 0, "node", "redditor"]
    }, {
      "message": "Null value found for non-nullable type RedditorInfo",
      "path": ["subredditInfoByName", "bannedMembers", "edges", 0, "node", "redditor"]
    }]
  }
}

The user isn't banned/suspended. Where the error occurs:

redditor {
	__typename
	... on Redditor {
		id
		displayName
		icon {
			url
		}
	}
	... on UnavailableRedditor {
		id
		name
	}
	... on DeletedRedditor {
		id
		displayName
	}
}
reddit.com
u/Littux — 2 months ago
▲ 53 r/downvoteautomod+3 crossposts

Upcoming changes to the comment ID endpoint

Hola devs! 

Just a quick note on an upcoming change to how comment IDs will increase going forward. 

TL;DR:  if you have anything in your code that expects comment IDs to be fewer than 8 characters you will need to make an adjustment. 

Technical gibberish details:

  • New comment IDs will continue to be 64-bit integers and base36-encoded, but will not be monotonically increasing anymore
  • The key visible difference is that the new base36-encoded comment IDs will be up to 13 characters long (e.g. 19gsnavtu46ip), compared to the current 7-8 characters
  • With the t1_ prefix, the new base36-encoded comment IDs will be up to 16 characters long (e.g. t1_19gsnavtu46ip)
  • Older comment IDs are not changing, and referencing them will not break anything

This change will start rolling out the week of May 18th. Let me know if you have any questions about this change.

reddit.com
u/Littux — 2 months ago
▲ 0 r/bugs

POST https://www.reddit.com/svc/shreddit/graphql
{
  "operation": "UpdateSubredditSettings",
  "variables": {
    "input": {
      "subredditId": "t5_60hed7",
      "commentContributionSettings": {
        "allowedMediaTypes": ["ANIMATED", "GIPHY", "EXPRESSION", "VIDEO"]
      }
    }
  },
  "csrf_token": "<token>"
}

{
  "data": {
    "updateSubredditSettings": null
  },
  "errors": [{
    "message": "INVALID_REQUEST : At least one of the allowed_media_types is not a valid int enum",
    "path": ["updateSubredditSettings"]
  }],
  "operation": "UpdateSubredditSettings",
  "extensions": {
    "traceID": "e3ca883a33ee5e1a23e4bfe7a3da4f67"
  }
}

What works:

await fetch("https://www.reddit.com/svc/shreddit/graphql", {
  "credentials": "include",
  "headers": {
    "Content-Type": "application/json",
  },
  "body": JSON.stringify({
    "operation": "UpdateSubredditSettings",
    "variables": {
      "input": {
        "subredditId": "t5_60hed7",
        "commentContributionSettings": {
          "allowedMediaTypes": ["ANIMATED", "GIPHY", "EXPRESSION"]
        }
      }
    },
    "csrf_token": (await cookieStore.get("csrf_token")).value
  }),
  "method": "POST",
  "mode": "cors"
});

{
  "data": {
    "updateSubredditSettings": {
      "ok": true,
      "errors": null
    }
  },
  "errors": [],
  "operation": "UpdateSubredditSettings"
}
u/Littux — 2 months ago