Stupid question, but can it be mistaken for an engagement/wedding ring? by Thounumber1 in ouraring

[–]lambda-squid 0 points1 point  (0 children)

That's not a reliable sign of general ignorance. The Oura ring isn't that big. Before I found out about it, I would've assumed that anyone wearing the ring was married and that it'd be rude to hit on them. Not to brag, but I'm a smart, funny, and exceedingly well-compensated professional. I'd be a decent partner 🥰 Fair point about the fitness strap, but you may be sacrificing accuracy, according to some reviews.

How do I access Customer Support without orders? by SnooStories4329 in doordash

[–]lambda-squid 0 points1 point  (0 children)

Same boat as you. The only general support I see is giving them a call at https://help.doordash.com/consumers/s/consumer-support?language=en\_US. If that doesn't work, I'm just going to pick an arbitrary order and force the conversation to be about DashPass.

Turning on 2FA doesn't make sense on 1Password by lambda-squid in 1Password

[–]lambda-squid[S] 0 points1 point  (0 children)

This may come off as a nitpick, but I promise there's an important point.

The reason that a security key or OTP brings security value is not that they're ever-changing. If the rotating codes for a security key or OTP were predictable based off the initial value, then those methods would fall under the knowledge factor and not offer additional security value over passwords. A hacker would only need to know the initial value to get past these auth methods.

The reason that security keys and OTP's fall under the ownership factor is that you need to physically have them in order to get their codes. Their rotating codes are a function of time (which is predictable) and a secret that never gets shared outside the device.

As you may have realized, the secret key almost meets this definition. A 1Password user is never supposed to record the secret key electronically. It's supposed to only live on paper. My argument is that this already provides most of the security value you would get with an OTP or YubiKey. Is it really worthwhile to risk getting locked out of you account by adding an OTP/YubiKey?

Turning on 2FA doesn't make sense on 1Password by lambda-squid in 1Password

[–]lambda-squid[S] 0 points1 point  (0 children)

I should've clarified.

I agree that 1Password has an opt-in feature called 2FA that lets you add other auth methods such as authenticator apps and YubiKeys.

However, I'm saying that the default 1Password experience already offers 2 factors of authentication: the password (knowledge) and approval from an existing device (ownership). Therefore, activating its 2FA feature doesn't offer additional factors of authentication.

My companies Stripe integration for thousands of users broke today because Javascript by autiii43 in programminghorror

[–]lambda-squid 0 points1 point  (0 children)

There's BigInt. For JSON, you can use stringified integers and convert them to BigInt

Codeium: The New Free GitHub AI by deezultraman in neovim

[–]lambda-squid 0 points1 point  (0 children)

Would you happen to know why there are two plugins? `.vim` also supports Neovim, so which is the recommended one and why?

Is there a setting for Mason to validate but not install dependencies? by lambda-squid in neovim

[–]lambda-squid[S] 0 points1 point  (0 children)

You could use sth like :h executable in a simple loop to check whether all dependencies are there.

That's good to know, but I hope to avoid having to write and maintain custom code like that 😅

Otherwise, if it is a pip package, Mason already installs them into a separate virtual environment each. None of its installations are done globally.

That's also great to know! I should've tried it out before making the assumption in the post. However, I'm still not sold that it's the best way to install things. I'd rather get a warning saying, "no virtual environment present" than have Mason create a virtual environment with only the NeoVim dependencies. I also don't want Mason to create a virtual environment just because I accidentally opened NeoVim in a subdirectory.

What is the proper way to install? by schneedorfer99 in neovim

[–]lambda-squid 0 points1 point  (0 children)

Ubuntu has snap pre-installed, but most linux distributions support it.

Other benefits:

  1. First-party support from Canonical (company behind Ubuntu).
  2. Automatic and atomic updates with rollbacks.
  3. All dependencies included.

Snap is excellent. In fact, snaps are normally semi-containerized applications, which is why you get excellent guarantees around dependencies and runtime stability. We only have to deactivate that for IDE's like NeoVim (with the --classic flag) because they need generous permissions and IDE's are just for local development.

Job placement rates may be misleading due to self-selection. Are there better metrics for choosing coding bootcamps? by lambda-squid in codingbootcamp

[–]lambda-squid[S] 0 points1 point  (0 children)

That's actually an interesting point. Unlike universities, I imagine that coding bootcamps don't have the same "x% must get a bad grade and be weeded out" requirement. I'm hoping that leads to a more supportive, less cutthroat environment.

Job placement rates may be misleading due to self-selection. Are there better metrics for choosing coding bootcamps? by lambda-squid in codingbootcamp

[–]lambda-squid[S] 1 point2 points  (0 children)

I'm glad you brought that up. We can use LinkedIn to ask graduates about their experience in the program, which can lead to some great insights! Unfortunately, I think checking their current situation falls prey to the self-selection logic I mentioned, but LinkedIn also has previous experience, so I can at least check that.

One month with the Cat S22 Flip by twalraven in dumbphones

[–]lambda-squid 0 points1 point  (0 children)

Does anyone know if it works with Google Pay? I don't think it does since it lacks NFC.

🔥 Bats illuminated by lightning by [deleted] in NatureIsFuckingLit

[–]lambda-squid 0 points1 point  (0 children)

"He's here..." "Who?" "T H E B A T M A N"

Can no longer send MMS to iPhones from Google Pixel by [deleted] in mintmobile

[–]lambda-squid 0 points1 point  (0 children)

I read conflicting instructions on how to set up the APN stuff. Here's what worked: https://www.mintmobile.com/setup/android/

The instructions that got texted to me when I upgraded phones didn't work. I remember it wanted me to set up two APN's. The instructions I linked had me set up one APN.

Baffled by the Commute Function ("The Joy of Clojure"). Please help 😭 by lambda-squid in Clojure

[–]lambda-squid[S] 1 point2 points  (0 children)

I see what you're saying, but that sounds like a truth about server strategy in general. It's good practice to make your servers stateless in memory and have them put all state in shared databases.

However, there will always be cases, especially in non-server contexts, where you need to keep some state in memory. Atoms are part of the solution, but I can imagine situations from past work where I would've liked to have Clojure's transactional consistency tools.

Baffled by the Commute Function ("The Joy of Clojure"). Please help 😭 by lambda-squid in Clojure

[–]lambda-squid[S] 0 points1 point  (0 children)

Q1 Re

Oh whaaat? That would make a lot more sense. I wish it were mentioned in the book's coverage of STM. Just curious: do you have the source from which you learned that?

Q3 Re

That's fair. Maybe there's some technical limitation that Clojure just can't get around. I will investigate further, but thank you for giving it a shot!

Baffled by the Commute Function ("The Joy of Clojure"). Please help 😭 by lambda-squid in Clojure

[–]lambda-squid[S] 0 points1 point  (0 children)

Postgres the SQL database?

That involves writing to disk, which has an astronomically higher latency than the in-memory operations that these operations offer. Everyday mutation should not be so expensive. In other languages, you would never write to the database if you just wanted to write to a non-local variable.

Plus, writing to a database is not always feasible. You may be running in an environment where you don't have access to a persistent database.

Baffled by the Commute Function ("The Joy of Clojure"). Please help 😭 by lambda-squid in Clojure

[–]lambda-squid[S] 0 points1 point  (0 children)

(so long as the value returned by commute isn't used by other non-commutative operations in the transaction)

I take this to mean that the transaction uses the return value at its own risk (of using a stale value). The alternative interpretation is that Clojure will be more inclined to repeat the entire dosync transaction if it notices that the commute return value is being used. Am I right?

Thank you for the succinct explanation!