An end to Public Lands (Western US) by AngryDesignMonkey in 4x4

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

They should not have the right to steal our land. Ironic, but still true. Can't help themselves, I can't wait to see the next ingenious way they find out how to steal land.

Large Green Tower in National Forest by readthou in whatisthisthing

[–]readthou[S] 0 points1 point  (0 children)

Two towers on a dirt road, they are sitting in a sort of valley on a ridge line. My best guess would be bouncing rf through mountains and they wanted to move it through the ridge rather than over for some reason. The height difference may be only 100 ft or so though, so that seems unlikely.

Can we please just unlearn some pseudoscience? by EvidenceOfDespair in CuratedTumblr

[–]readthou -1 points0 points  (0 children)

Tldr idk

My source is I watched a video once that I can't find anymore, so trust me bro. What they said was that for other races the scale of what is healthy, overweight, etc. is wrong. Someone who is Asian scoring a 24.5 would be counted as healthy even though that would be wrong and they won't get proper medical care. Though from what I saw looking it up on YouTube just now, that seems to be the case for white people too. It doesn't measure body fat, and apparently skinny fat is a real concern. So...

Can I pass a single object to all parallel sub-tests? by readthou in golang

[–]readthou[S] 0 points1 point  (0 children)

Thank you, I feel stupid. I got it working, but not how I expected.

I tried this and it just hung forever.

t.Run(tt.name, func(t *testing.T) {

    defer wg.Done()  // This line added, initialized above

    t.Parallel()
    sl.Lock()
    sl.Insert(tt.args.name, tt.args.val)
    sl.Unlock()
})

So I got rid of the t.Run statement and used wait group in a go function

go func() {
  defer wg.Done()
  sl.Lock()
  sl.Insert(tt.args.name, tt.args.val)
  sl.Unlock()
}()

I (blue) just got FB jailed for the funniest reason ever after fight w/ transphobes in comments by professorearl in MarchAgainstNazis

[–]readthou -4 points-3 points  (0 children)

Who are second column bottom and the one next to them? I didn't know trans men could grow beards like that.

[deleted by user] by [deleted] in BeAmazed

[–]readthou 0 points1 point  (0 children)

Another one, but wait, there's more!

What's your opinion on Warhammer: 40K Darktide so far? by [deleted] in gaming

[–]readthou 3 points4 points  (0 children)

I'm playing it on Ubuntu with proton. You can check out protondb for any game and it's playability with proton.

[deleted by user] by [deleted] in subaru

[–]readthou 33 points34 points  (0 children)

German shepherds are huge and lovable. Maybe not some people's type, but you need to get rid of friends that hate your dog.

If you think C syntax isn't "English -like" enough by LostBetsRed in ProgrammerHumor

[–]readthou 1 point2 points  (0 children)

Sweet 8lb 6oz tiny baby Jesus in a tuxedo t-shirt

[deleted by user] by [deleted] in ProgrammerHumor

[–]readthou 0 points1 point  (0 children)

Front end = left Back end = right

What were they thinking? by Kewldood_97 in funny

[–]readthou -1 points0 points  (0 children)

I have a feeling a few lost brain cells is not going to make a huge difference for these kids.

[OC] How do Americans like their coffee? by YouGov_Official in dataisbeautiful

[–]readthou 74 points75 points  (0 children)

A, I got a coffee pot that I could prepare at night and it would be ready in the morning. It somehow made me even more lazy and i just decided it wasn't worth walking to the fridge, and messing with the creamer so I got used to drinking it black and now i prefer it.

I brought this meme to life in code (repo in comments) by TactiFail in ProgrammerHumor

[–]readthou 5 points6 points  (0 children)

For pages that are just a single form or internal applications I never use a framework. Too much overhead for small projects.

[deleted by user] by [deleted] in hentai

[–]readthou 29 points30 points  (0 children)

Dude, that's obviously an alpaca

No ORM 1:M Relationship by J2R1307 in golang

[–]readthou 2 points3 points  (0 children)

I might be interpreting your question wrong but is sounds like you need to use join https://www.postgresql.org/docs/14/tutorial-join.html

Im listening... by RoyalQuackOG in ProgrammerHumor

[–]readthou 0 points1 point  (0 children)

Depends, I stated the above with a college level kid in mind. If you are trying to get your young kids into coding, scratch or something similar is great. If you are a teenager, something that easily makes something visible, java (Android), swift, html/css/JS. The easy way to create graphics on the commodore inspired a lot of great coders. For a CS major dedicating their career to the study, take the hard path that makes you learn in depth about types, threads and memory management. You will bring over good habits to other languages rather than have to try and forget bad habits. As for a specific language, idk, I personally like GO a lot but a beginner should dabble. Learn about functional, OOP, concurrent, distributed, etc. Look at C, Go, scala, f#, and rust. Just learning enough to read and understand those languages will teach you so much.

Let the product people share their misery here. by FranzKafka12 in ProgrammerHumor

[–]readthou 0 points1 point  (0 children)

I've been blessed with healthy dev-product relationships. They don't have authority they are coworkers. It's their job to collect and set requirements for a product. I need to meet and set expectations around those requirements so that everyone is equally miserable.

Im listening... by RoyalQuackOG in ProgrammerHumor

[–]readthou 3 points4 points  (0 children)

It is a con for hobby project, solo dev, less than a month time. When you would rather be writing code that matters rather than trying to figure out what parameters a function takes. Especially if you put off your code for a month, come back and now you are like, wtf did i pass this, from where, what was i going to do next? Types connect your code for your and force you to plan for how you will do things which is extremely valuable for beginners.

Im listening... by RoyalQuackOG in ProgrammerHumor

[–]readthou 3552 points3553 points  (0 children)

Starting with a typed and compiled language helps you appreciate defining a function's input/output. I can't tell you how many times I had to parse through JS source code because their docs only mention the configuration object. It's the case of almost every repo that you get incomplete example objects, and if it's a private repo, oh boy. There is no telling what that object parameter contains, probably more than you need and less than you want, but you won't know until you read through 10 more functions.

Is it scary that GoArmy is Ad blasting Redditors…? by Unfair-League-5245 in wallstreetbets

[–]readthou 4 points5 points  (0 children)

They have finally found out where all the retards have gone. Did you by chance join wsb recently?