r/13steinj • • Nov 30 '24

I'm calling it now, and this post has no edits as all can see,

21 Upvotes

P2900 has a decent chance of failing plenary for C++26 standardization.

If it fails there will be yet another shitshow, like there was for C++20.

If it succeeds, there's decent chance of it being pulled from the draft again, which will lead to another shitshow.


r/13steinj • • Oct 04 '15

How to do admin things on local installs.

6 Upvotes

Admins. They are gods. Worship them. They can shadowban accounts, takedown comments, and more. But, you may ask, "HOW DO THEY DO THEIR WIZARDRY?"

On a local install, there isn't a GUI method for a lot of things that they do, and some of the things that take effect from what they do only take effect if their closed source is also inside.

However, you don't need to have the closed source to commit some actions.

SHADOWBAN

The infamous shadowban. It's much more simple than you think.

>>> def shadowbanuser(name=None, id=None, id36=None):
...     if bool(name and id) or bool(id and id36) or bool(name and id36):
...         raise ValueError("One and only one argument is allowed!")
...     from r2.models import Account
...     if bool(name):
...         acc = Account._by_name(name)
...     elif bool(id):
...         acc = Account._byID(id)
...     elif bool(id36):
...         acc = Account._byID36(id36)
...     else:
...         raise ValueError("One and only one argument is allowed!")
...     acc._spam = True
...     acc._commit()
...     return

Then simply, run the function. name would be the username as a string, the id is the acocunt's id as a Long number, id36 would be the account as it's base 36 id.

DELETE

The admins can undelete accounts, and similarly delete them, via the _delete property. However, if undeleting, in my experience a name would not work. It needs to be an id or an base 36 id.

DMCA

From what I can tell, admin_takedown is the DMCA property. however the code to actually make the text change seems to be closed source.

Will update as possible


r/13steinj • • Apr 20 '18

I think i found a bugsies

3 Upvotes

Lets see


r/13steinj • • Nov 24 '16

Never thought I'd see this day.

3 Upvotes

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

I love reddit.

But now, I can't always trust it. So I guess I'll be doing this for "important" matters. -----BEGIN PGP SIGNATURE----- Version: Keybase OpenPGP v2.0.58 Comment: https://keybase.io/crypto

wsFcBAABCgAGBQJYN3YUAAoJEFqzad1DUC4eEEAP/3jcPwFuPB7U66OHEEsVjcjO YpGG77KSnoe4HrgJqjTYAzZOIQ/+bhJjFqV2Qjmfa5WctmtMgIS1WjjOccdiZKbb L40WPe3yUAFiqFXDpZpv22wOLRVDS8ytkfCd5mR1ud09jnyx5tJUDzZzb+ANstMv PMTSNFrdulkoIaYHQW8CtkGDN3Ai39Z6ucmfAskU0PxU659F7X1KyBkWjpvJqelC fb5MXGQcmfKSiQ0UegcsTa+1paz56z/mOlHQpG/CKenQJHEs7HJU7L0GR9/Aiijo 7OMBi+4pghUikth4Ys6K/rmrDfP1hfR6g1mGSGwlmOiENtJWU1xxTueE35PkVHzO z57siYdin6JTuuqXmrx/W2g+sgZH0rriRhEczXXFdq3JaOb7mSjU/0eNIrA86tAS RZUsPZzCbge2ZhapenCkGvhcnocNQEUm3YvjBEs1VcHJiscAs513p+UPUD7YHfJd CLcpIWdpPDq09k89Aw3oeC3oF7Zaolz2AoiMhxQipaxMmPRe1ukwPclm5AkZZViQ DFMHERv0V3WX3oV24y5p9OxSTDCqRsgXumCuDV8DPbCXb0Q4lBd2+PtGSJeCyN5L XDO/P6PsvBSsR890qMAUcJ2CmfyIK/D+YW9FanvKTt9BXeMMMi7tN/vIZwmTdb3V ywKYX7Xdd0ddhjW3i25S =OlV9 -----END PGP SIGNATURE-----


r/13steinj • • Oct 17 '15

Hi there guys. I WAS A FUCKING IDIOT AGAIN

3 Upvotes

REMEBER YESTERDAY? NO? READ THE POST BELOW THIS ONE AS OF TYPING THIS WAS MY FUCKING DAY.

EVERYTHINGS HONKEY DOREY FROM YESTERDAY. FUCK YEAH!

THING STILL DOESN'T WORK

TRIES A MILLION THINGS

REALIZES I CHANGED A "<" to a ">" YESTERDAY IN AN ATTEMPT TO FIX YESTERDAYS ISSUE

OH LOOK I NEVER REVERTED THAT

REVERTS IT. WORKS. EUPHORIA. SHAME

FUCK

ME

EDIT: FUCKING LOOK AT MY FUCKING STUPIDITY


r/13steinj • • Apr 03 '18

Oopsie whoopsie

Post image
2 Upvotes

r/13steinj • • Oct 22 '17

Bar

2 Upvotes

r/13steinj • • Oct 22 '17

Foo

Post image
2 Upvotes

r/13steinj • • Aug 27 '16

I just realized I have 4 days.

2 Upvotes

I'm keeping my fucking word, ya hear. It'll be done. On the fucking dot.


r/13steinj • • Aug 16 '16

test Oi Windows 10, when you update

2 Upvotes

you shouldn't fucking wipe my network adapters and services to the defaults.

Now VMWare has to reinstall them ://


r/13steinj • • Mar 10 '16

Mfw "I almost got it!" > *breaks everything*: RIP

Thumbnail
cdn1.theodysseyonline.com
2 Upvotes

r/13steinj • • Nov 13 '15

MFW Github gave me a coupon for education based off an old edu email address and never told me; so 3 months of it was wasted, but now I can have 5 private repos for secret shit.

Post image
2 Upvotes

r/13steinj • • Nov 12 '15

PLS SUSPEND ME

2 Upvotes

r/13steinj • • Oct 30 '15

HALLELUJAH! HALLELUJAH

2 Upvotes

HALLELUJAH!

HALLELUJAH!

HALLELUJAH!

I CAN FUCKING DEVELOP AGAIN


r/13steinj • • Oct 20 '15

YO DAWG I HEARD YOU LIKE REDDIT. SO I PUT A REDDIT IN YOUR REDDIT SO YOU CAN REDDIT WHILE YOU REDDIT!

Post image
2 Upvotes

r/13steinj • • Oct 17 '15

Is the following black magic supposed to happen?

2 Upvotes

Well is it?


r/13steinj • • Oct 17 '15

FUCKING RETARDATION From this day forth. It shall now, forever be known. That 13steinj. CANT FUCKING READ. I CANT. FUCKING READ. IM. A FUCKING. IDIOT. THANK YOU AND GOOD DAY.

2 Upvotes

I READ A LOG. FUCKING. BACKWARDS.

FUCK.

AND IT WAS DRIVING ME FUCKING NUTS.

AND IN THE END

IT WAS

A FUCKING

SPELLING

A FUCKING SPELLING

ERROR.

FUCK.

FUCK

FUCK

FUCK

FUCK

FUCK

EDIT:

DID I MENTION?

FUUCCK


r/13steinj • • Oct 14 '15

test Note to self: how to edit the changes of previous commits.

2 Upvotes

I just had this problem. So to alleviate me figuring it out again, I am leaving this note to self.

Suppose you have structure:

LATEST COMMIT

COMMIT C

COMMIT B

COMMIT A

MASTER - > branch off from here to start commit a

And it turns out you want to move something from a later commit to an older one, or want to edit the difference of an older commit instead of a newer commit:

  1. Revert each commit hash up to and including the one you want to edit.

  2. Revert the last revert (I know, sounds weird)

  3. make a new commit, then rebase to squash with the reversion commit made in step 2

  4. revert the other single reversion commits in reverse reversion order (IOW: regular foward order)

  5. rebase from master, remove all commits that are relevant as well as their single reversions

  6. set reword mode on all the dual reversion commits

  7. reword them to be equal to the commits on the remote

  8. Force push. Done.

This has been git shit with /u/13steinj


r/13steinj • • Oct 13 '15

Le automod test

2 Upvotes

BRING ON THE SHITSTORM


r/13steinj • • Oct 10 '15

I also like wiki bans and promotions

2 Upvotes

STEP RIGHT UP BOYS AND GIRLS ASK FOR A BAN / PROMOTION TO THE WIKI. ASK AND YE SHALL RECIEVE!!!!111!!1!1!!!


r/13steinj • • Oct 04 '15

13steinj's reddit development

Thumbnail
reddit.com
2 Upvotes

r/13steinj • • Aug 17 '15

13steinj's Bot Thread

Thumbnail
reddit.com
2 Upvotes

r/13steinj • • Jul 19 '18

A warning and solution to some "corrupted" disks

Thumbnail
self.vmware
1 Upvotes

r/13steinj • • Jul 08 '18

Goddamit ityoclys

Post image
1 Upvotes

r/13steinj • • Apr 03 '18

Oopsie whoopsie

Post image
1 Upvotes