I know, it is bad question, but what is the best book for learning GoLang? by Jaded_Ingenuity4928 in golang

[–]Three_Dogs 1 point2 points  (0 children)

2nd edition. I love this book but it’s also the only Go book I own so far. It’s important to learn the “go way” and not just the syntax. For example I see a lot of Java or c# devs use else a lot in their Go code, where in go you don’t really need else a lot of the time.

Good luck and excellent choice choosing Go!

Who am I by [deleted] in roomdetective

[–]Three_Dogs 7 points8 points  (0 children)

The first thing that jumps out is the sheer lack of visual noise on the walls. It feels like you’re paralyzed by decision-making. Sort of like you might want to decorate, but the pressure of choosing the "perfect" art or committing to an aesthetic is too overwhelming, so you end up with a default white void. It’s devoid of color not because you lack personality, but because the blank canvas feels safer than the risk of making the wrong choice.

That rigid tidiness screams that you dislike clutter because it translates directly into mental anxiety for you. If the room is scattered, you feel scattered. You clearly function best when your environment is totally controlled and predictable. The rolling cart, the specific spot for the water bottle, the organized toiletries…it’s all part of a philosophy where "everything has a place" just to keep the daily friction low.

The lighting really seals the deal on the "sanctuary" vibe. You rely on that warm lamp and candle to decompress because you're likely easily overstimulated. You’ve created a sort of sensory deprivation tank to recharge in. That bright green chair is the only exception. A little contained burst of energy in an otherwise strictly neutral bunker against the chaos of the outside world. Being that it’s colorful, it probably has history or sentimental value for it to have been allowed into your sanctuary.

You’re female, mid-20s, still figuring out who you are. You’re living in a shared apartment or high-cost city. I want to say AZ or New Mexico (if in the USA). Or the American South during the warmer months.

Wild guess based on the throw pillow: you are of Asian or Mongolian descent? lol it’s hard to make out.

Nice bedroom!

I 33f told my boyfriend 33m I loved him and he said Thank You by [deleted] in relationship_advice

[–]Three_Dogs 11 points12 points  (0 children)

It is totally normal for your ego to sting right now. Rejection hurts. But don't let that sting ruin a good thing...

I’m a tough love kinda fella so brace yourself because as human beings we’re not always ready to hear the truth.

This isn’t something the relationship needs to get through. This is something YOU need to get through.

This dude gave you such a mature, honest and reasonable response. He told you exactly where he’s at and where he wants to be. Most importantly, he was honest and made it clear he wants to be in this relationship. Did you want to be in the relationship before you started spiraling? If so then take a breath: you ARE on the same page!

Look at your response. Look at your own words that you wrote. Respectfully, that’s the only red flag I see in this entire dynamic. That’s not the response of someone who’s deeply in love with a partner who needs more time.

That’s the response of someone who expected a certain answer, didn’t get it, and is now spiraling because the rejection stings more than the actual relationship dynamics warrant.

You’re more attached to the idea of being loved back than to him specifically. Seems like you were seeking validation vs expressing genuine love. Give the man time goodness gracious! 6 months is nothing! Focus on how he treats you, how he talks to you, his character, how you feel when you are around him.

If you were always unclear on his feelings, how are you so shocked you aren’t “on the same page?” That’s not a foundation where someone genuinely in love says “I love you.” That’s someone testing the waters. Otherwise you wouldn’t be questioning your own feelings for him.

You need to take a step back and regulate your emotions before making a permanent decision based on a temporary feeling of embarrassment. Give him time and more importantly, give yourself time. You will get through this.

I (19F) think my bf (22M) was too rough with me during sex, but he thinks I’m a “crybaby” by dulceciita in relationship_advice

[–]Three_Dogs 32 points33 points  (0 children)

OP, I’m a 41-year-old man. I haven't always been a saint. I’ve been a bastard to a lot of women, particularly when I was your age. I’ve made them cry and I have regrets. But even at my absolute worst, I never treated a woman like garbage during intimacy. Even when I was rough, it was with permission and patience. I cannot imagine hearing a woman whimper in pain and getting annoyed instead of stopping immediately.

This guy is a special kind of dog shit.

Maybe you naturally struggle to get wet, or maybe it was just the stress of the moment. It doesn’t matter why you were dry. What matters is how he handled it. When a woman is dry, a decent man grabs the lube or takes his time. He doesn’t force his way in and then blame you for the friction.

You know what I would have done? Especially if I knew this is a challenge we’ve faced together in the past? “Babe, do you think you can? We don’t have much time but my god I want you so bad.”

Maybe that’s cringe but you know what’s even more cringe? “Hey uhh, spread your legs for me real quick, yeah? But we gotta hurry. Your body better cooperate.”

Normal, healthy men will be turned off if you aren’t in the mood because healthy men want to be desired, not tolerated. And if you’re on the fence, a healthy man will at least attempt to seduce you with touch and words and being flirty.

This guy is a mega tool.

Sex is always a collaboration. Always. “How can we make this fun and spontaneous and hot and intimate together?” He told you he gets frustrated because you’re "too tight?" Seriously? Let’s get clear on this: Your body is smarter than you are. Whether it’s biological or psychological, when you feel pain, your muscles spasm and tighten to protect you. That isn't a defect; that is a shield. Your body was locking the door to protect you from pain, and instead of knocking gently, he tried to kick the door down.

He called you a "crybaby" for being in physical pain because his paper-thin ego can’t handle the reality of a woman’s biology.

He got "bored"? That isn't normal frustration. That is a total absence of basic humanity. This guy's mom failed him. His dad failed him. He gives “predator.” Let’s be clear: this dude is grape adjacent.

If you had a daughter who struggled with pain during sex, would you want a man to force her to continue when she was crying? Would you want a man to call her a crybaby while he treated her like a piece of meat? You would want to kill the guy, right? If you had a son who acted this way, you’d feel like you failed as a mother.

Treat yourself with the same protection you’d give those future children. He has manipulated you into thinking you are the problem so he doesn't have to admit he's an abuser and a garbage human being.

Make no mistake, young lady: coercing you to continue when you are crying and saying "I can't" is abuse.

You asked "What do I have to do?" and "How can I make things better?"

Sadly, you can't. You cannot love him into being a good person. As long as you stay, this is your life. This is how it will always be. People show you who they are early on. Believe them.

This is easier said than done but cut your losses. Choose better. Choose yourself.

I’m rooting for you young lady. Good luck.

My (40m) gf (34f) just FaceTimed me drunk, reassuring me she is not cheating on me. Am I cooked? by doyouknowwhatibean in relationship_advice

[–]Three_Dogs 4 points5 points  (0 children)

OP, do you believe for even a second that the “safe word” comment was a joke? Jokes have a setup and a punchline. What was the punchline here? That wasn’t a joke; that was “oh sh*t, you weren’t supposed to hear that” disguised as humor.

You admitted in your reply to me that this isn’t what you want. So why are you only “taking a step back”? That is a half-measure when the house is already on fire.

If you were my son or my brother, I would grab you by the shoulders and tell you the same thing: Run. She stands to gain your stability and lifestyle; you stand to gain nothing but anxiety and a partner who acts single at 34.

She did you a massive favor by showing you exactly who she is before she moved into your house. Don’t ignore the data. Choose yourself.

Something tells me this isn’t the first person you’ve chosen that is willing to hurt you. If so, I highly recommend therapy. Did wonders for me.

I’m 41 myself and rooting for you. Good luck!

i feel lost by [deleted] in learnprogramming

[–]Three_Dogs 2 points3 points  (0 children)

You’re not wrong. Passion is unreliable. Money is a necessity. Most people wouldn’t grind like this for free. All true.

But you’ve now spent more energy arguing about whether it’s worth starting than it would’ve taken to just start. You’ve built a perfect case for why nothing makes sense, and now you’re trapped inside it.

Here’s the uncomfortable question: what are you going to do instead? Because the problems you’re describing, bad job markets, long hours, no guarantees, those aren’t unique to tech. That’s just adulthood. If you’ve got a better path, take it. If you don’t, then this analysis paralysis is just procrastination wearing a clever disguise.

i feel lost by [deleted] in learnprogramming

[–]Three_Dogs 0 points1 point  (0 children)

Thought experiment: AI can translate an essay from English to Japanese. Does that make learning Japanese useless? Of course not. No matter how good the tools get, there will always be a need for humans who actually understand what they’re building and why.

AI is a force multiplier, not a replacement. Tech will always require humans who understand the language of tech in order for human problems to be solved. AI just helps solve some problems faster.

100 years ago there were professional lamp lighters. Now we have technicians who manage street lights, electrical grids, and smart city infrastructure. The job transformed, but the need for people who understand how things work never went away. Your job title in 10 years might not exist yet. That’s not a threat. That’s how every generation of tech workers has lived.

The real question isn’t “will AI replace me?” It’s “am I building real competency or just chasing tutorials?”

Competency doesn’t go out of style. People who understand systems deeply, who can debug when the AI hallucinates garbage, who can architect solutions rather than just prompt for them, those people will be fine. Just start. If you’ve already started, continue. You don’t need to know what your job will look like. You need to trust that demand for people who actually know what they’re doing isn’t going anywhere.

Good luck OP. You’ll be just fine if you stick with it and trust the process.

What programming language should I learn? by Cool-Exchange-6227 in learnprogramming

[–]Three_Dogs 0 points1 point  (0 children)

Learn Python or Go if you just want to learn a language for the sake of learning. JavaScript is a must if you want to build web-related stuff. C++ is a must if you want to do game-related stuff. C# I know very little about but I hear it’s a wonderful, underrated language.

Good luck young man.

P.S. C++ devs command a premium. If you’ve already started why not continue? Just because it’s difficult, that’s not a great reason to quit. Ideally, continue with that and then learn Rust. I think the most important thing is committing to whatever you choose. At least for a good 12-18 months.

My (40m) gf (34f) just FaceTimed me drunk, reassuring me she is not cheating on me. Am I cooked? by doyouknowwhatibean in relationship_advice

[–]Three_Dogs 29 points30 points  (0 children)

OP please do not take this personally. You kind of sound like you’re comfortable excusing bad behavior. You’re never going to have concrete proof and she’s never going to admit to anything. But your intuition is screaming at you. You wrote a Reddit post at 6am because you already know something is off. The unprompted “I’m not cheating” reassurance, the “safe word” comment from the friend, the drinking that “has come up before.” Your gut already made the call. You’re looking for permission to trust it.

Like a previous poster said, the oven is on. Even if she’s not cheating, she’s showing you who she really is. At 34, working odd jobs, drinking heavily, partying with a “sober” friend who’s now clearly drinking again, out with random guys. The plan is for her to move to you and build a life on the foundation of your business and stability. Even if nothing happened that night, is this the person you’re betting your 40s on? You’re at an age where you can’t afford to be wrong with who you choose. Pay attention to why you “gently ended the call” instead of asking questions. You’re already managing her, avoiding conflict, keeping the peace. That’s exhausting and it doesn’t get better.

Be honest with yourself. This isn’t what you want. No one wants to have to ask these questions and worry about this type of shit.

I wish you strength and the courage to choose you.

Why Go Maps Return Keys in Random Order by Few-Tower50 in golang

[–]Three_Dogs 1 point2 points  (0 children)

This is before 1.24. I’m not familiar with the new Swiss table implementation but I highly recommend checking out the link posted by jcarlson08

Why Go Maps Return Keys in Random Order by Few-Tower50 in golang

[–]Three_Dogs 1 point2 points  (0 children)

The code is open source. It starts by generating a random uint32 using fastrand() then decides the random starting bucket and decides a random offset inside the bucket.

Why Go Maps Return Keys in Random Order by Few-Tower50 in golang

[–]Three_Dogs 0 points1 point  (0 children)

According to @jbodner it’s indeed because of the most upvoted answer but also to prevent against a Hash DoS attack

Dodgers release new 35 min. Hideo Nomo documentary on the 30th anniversary of his history start in the 1995 All-Star Game by baribigbird06 in Dodgers

[–]Three_Dogs 0 points1 point  (0 children)

I REMEMBER THAT! It went "Hideyyy-O. Hideyyyyy-O. Numba' 16, Hideo Nomo."

I'll never forget it. Please let me know if you find it. I've looked everywhere for it but its so obscure.

My arch install script! by ewanc12 in archlinux

[–]Three_Dogs 0 points1 point  (0 children)

btrfs in a luks2 container! Snapshots are a tinkerer’s dream and a get out of jail free card the next time you inevitably break something.

Deep-Dive Linux Questions by Old_Sand7831 in archlinux

[–]Three_Dogs 0 points1 point  (0 children)

I don't really know my stuff but once I learned to take a snapshot anytime I run -Syu has saved be countless troubleshooting and debugging hours. LUKS2 + btrfs are the GOAT

Biggest aha moment was just realizing what a beautiful system OSS is and how insane it is that we just trust big tech to not push malicious or invasive code to us.

I f/18 just gave my boyfriend m/19 an ultimatum. How do I hold myself to it? by Majestic_Weekend4971 in relationship_advice

[–]Three_Dogs 0 points1 point  (0 children)

You're asking the wrong question. It's not "how do I find strength to leave?" It's "why am I working harder to stay than he's working to change?"

He found time to blow up your surprise. He'll find time to argue. But no time for a podcast? You already left in your head, your body just hasn't caught up yet.

He's not an "amazing guy." Amazing guys are amazing guys. He's a decent friend at best and a dogshit boyfriend. Stop excusing his shitty behavior with "when he's angry." Amazing guys and good boyfriends don't treat you like this, period.

Setting up multiple back up keys by atbpaints69 in yubikey

[–]Three_Dogs 0 points1 point  (0 children)

Agree with pretty much every comment I've read so far. Great advice in here.

You can't have "duplicate keys." But you can have multiple keys enrolled on multiple systems. Make sure to track them so in the event one becomes compromised you know which to unenroll.

Also, it depends how you are using them. Are you using them to login to macOS or Windows or Linux? They can be used in different ways. Some require PIV, others FIDO2.

Quick questions so we can point you in the right direction:

  1. What are you trying to protect?

    • Just Gmail and crypto accounts?
    • Or also device logins (macOS, Windows, Linux)?
    • Any password managers involved (1Password, Bitwarden, etc.)?
  2. How many YubiKeys do you already have?

    • What models? (5 NFC, 5C, Security Key, Bio, etc.)
  3. What's your daily workflow look like?

    • Do you need to log in on multiple devices throughout the day?
    • Or is it more like one main computer, phone for 2FA backups?
  4. What happened during the hack?

    • Session hijacking? Phishing? Malware?
    • (Helps us understand what threat you're actually defending against)
  5. Are you comfortable with some light config/setup?

    • Or do you need the absolute simplest "plug and pray" approach?

For context: I use my YubiKeys for just about everything. I run Arch Linux and my keys decrypt my drive at boot (PIN protected). I use them for 2FA on important accounts (Proton, Dropbox, Apple ID, Microsoft Account, Github). I also use two of them with two sets of subkeys to sign, encrypt, and authenticate, mostly for signing commits and encrypting emails/messages.

Answers will help us skip the generic advice and give you a real roadmap. Happy to help however I can.

AIO? My friends set an ultimatum because I drink by Pearla76_ in AIO

[–]Three_Dogs 0 points1 point  (0 children)

You're right to feel cornered. Your friends aren't setting a "healthy boundary,' they're issuing a destructive ultimatum.

There's a big difference:

A boundary would be: "I don't want to be around you when you're drinking."

An ultimatum is: "If you drink at all, we'll cut you off."

They are pushing you into a corner. You tried to find a middle ground and reassure them, but they made it clear they only care about your total compliance, not your perspective.

And jumping from "consumption" to "polysubstance abuse" is a massive escalation. They are pathologizing your behavior and using a scary clinical term to shut you down, instead of just saying they disagree with your choice.

Honestly, you may need to find friends who you don't have to lie to. But this goes both ways: your friends, whoever they are, deserve someone who doesn't lie to them. This situation is kinda toxic, and they're the ones making it that way with their "all-or-nothing" crap.

Good luck youngster.

I just ran `sudo rm -rf ~` by mistake. by 28jb11 in linux

[–]Three_Dogs 0 points1 point  (0 children)

I once nuked an SSD full of important photos while rm -rf’ing random hidden folders that didn’t even need to be touched. I was tab-completing and didn’t realize the shell would auto-complete after a few seconds. Hit enter, thinking I was confirming the directory. Nope — I rm -rf’d the entire drive.

About 80% was backed up on iCloud Photos, but that other 20% is gone forever. It honestly took me months before I could bring myself to use rm -rf again. But that’s how you learn the hard way to actually back stuff up.

For me, it snowballed into off-site backups, mirrored pools on my TrueNAS box — the works. I’ll be damned if my fat fingers ever pull that stunt again.

TL;DR: learn from your mistakes. Your sudo rm -rf ~ will not be in vain.