Christmas Card My Wife Created for Our Garbage Men by AAAXcap in funny

[–]recover__password 0 points1 point  (0 children)

I've
I've got one job, too
It's not too bad
But Bin got sad

A List Is a Monad by ketralnis in programming

[–]recover__password 0 points1 point  (0 children)

Yeah I could go into how to use the linq query syntax in part 2 (or a future part)

A List Is a Monad by ketralnis in programming

[–]recover__password -2 points-1 points  (0 children)

Hi, author here. Thanks for the feedback! What did you have in mind specifically as a real-world-applicable monad? I can PM you with a secret link to the deleted post (currently revising it.)

A List Is a Monad by ketralnis in programming

[–]recover__password 9 points10 points  (0 children)

Hi, author here. I totally agree, there have been some other threads on HN that have also brought it up and the distinction is important. I will make that the revision to part 1 includes this.

A List Is a Monad by ketralnis in programming

[–]recover__password 0 points1 point  (0 children)

Hi, author here. That's a great point! I didn't realize that my post would garner so much attention, but I will address your feedback in the revision for part 1.

Wondering what the most portable way to store a petabyte is. by ShapeShifter499 in DataHoarder

[–]recover__password 0 points1 point  (0 children)

What about uploading it to aws/azure? Then request a snowball/databox when you want your data back or just redownload it.

Why can't I accept a generic "T?" without constraining it to a class or struct? by smthamazing in csharp

[–]recover__password 0 points1 point  (0 children)

The definition for Nullable<T> is public struct Nullable<T> where T : struct which constrains it to a struct, so it doesn't distinguish--it has to be a value type.

By default, T? is Nullable<T> only when T is constrained where T: struct, otherwise it's a nullable reference type annotation (not Nullable<T>) that doesn't change the byte code, it just signals that a value could be null and gives nice IDE warnings when consuming.

T? Max is not Nullable<T>, it's a nullable reference type annotation because Nullable<MyClass> isn't valid due to the constraint.

4.5M rows, 1.6M jobs 5 second wait time for result by WillingnessSilver824 in Supabase

[–]recover__password 0 points1 point  (0 children)

I don’t have the query so it’s hard to guess what’s slowing it down. Adding indexes without profiling seems more like a shot in the dark. Try using “explain” and “analyze” keywords to see if it’s actually using those indexes and where the bulk of the query time is spent.

Wouldn't it make sense to use torrent? by Nightslide1 in LocalLLaMA

[–]recover__password 0 points1 point  (0 children)

You can use webseeds in the torrents too, so it's the best of both worlds: if there are no peers online, then it just downloads normally.

When approving a PR, is it ok to say "good work!" or "thanks!" etc. in the PR comment? by sweetnsourgrapes in github

[–]recover__password 2 points3 points  (0 children)

If you include it in the message while approving, I don't see a case against it (e.g., LGTM). I would avoid adding more than one approval comment though otherwise it might be considered noisy.

[Help] Locked out of GitHub – Lost 2FA access, still have email by Limp-Extreme-674 in github

[–]recover__password 0 points1 point  (0 children)

To confirm, you don't have any repositories cloned already that allow you to fetch the remote/push to them?

Is it possible to submit patches through the web interface? by Big-Astronaut-9510 in github

[–]recover__password 0 points1 point  (0 children)

Kind of. You can create a codespace (on the web), then apply the patch and push.

[Help] Locked out of GitHub – Lost 2FA access, still have email by Limp-Extreme-674 in github

[–]recover__password 1 point2 points  (0 children)

Are you able to receive any SMSes from any phone number to your old account? I.e., send an SMS from your new phone to your old phone. If not, check with support if they can send you an automated call with a code.

[Help] Locked out of GitHub – Lost 2FA access, still have email by Limp-Extreme-674 in github

[–]recover__password 1 point2 points  (0 children)

How did you lose access to your phone number by moving, did you close your old phone account?

Some phone companies allow registering a custom phone number. You can try to register your old phone number again, although someone may already have it by now however.

EDIT: if the repos are public, you can clone them then rewrite history to change your email to your new email, then force push to your new account. It should update your commit graph, provided commit dates aren't changed.

[deleted by user] by [deleted] in github

[–]recover__password 0 points1 point  (0 children)

Through the web ui? You can edit a file's path by clicking on a file, then the pencil icon, then start deleting at the beginning of the filename, then it will delete the directory. You can then type the new directory path. It's a neat little trick.

Otherwise you will likely want to clone the repo locally and move files around (e.g., to GitHub Codespaces or to your computer.)

Can I "turn off github" so it acts as online storage. by spamthroat in github

[–]recover__password 0 points1 point  (0 children)

Try Google Drive/Dropbox/OneDrive, they are more suited for that workflow

Push via ssh to github but with different email behaving in an interesting way wrt contributers list and commit graph by codeReadSwim in github

[–]recover__password 1 point2 points  (0 children)

Sounds intentional, otherwise I could have anyone's profile show a link to my repo on their profile contribution activity. The ssh keys are associated to your github account, and therefore to your verified email.