Comment on
Why was Ronald Reagan and Nancy Reagan so bad for the American people?
Reply in thread
The Gays would kindly ask this list include the HIV crises.
Thank you!
Comment on
Why was Ronald Reagan and Nancy Reagan so bad for the American people?
Reply in thread
The Gays would kindly ask this list include the HIV crises.
Thank you!
Comment on
Why is Go syntax so messy
I'm going to try to help explain this, but i'll be honest it feels like you're coming from a place of frustration. I'm sorry about that, take a break :)
(I'm not a language expert, but here goes)
var test int < bruh what? :=
These are the two forms of variable declaration and the second one is a declaration and initialization short hand. I most commonly use :=. For instance:
foo := 1 // it's an int!
var bar uint16 // variable will be assigned the zero value for unit16 which is unsurprisingly, 0.
func(u User) hi () { ... } Where is the return type and why calling this fct doesnt require passing the u parameter but rather u.hi().
This has no return type because it returns no values. It does not require passing u. It's a method on the User type, specifically u User is a method receiver. You might think of this akin to self or this variable in other languages. By convention it is a singke character of the type's name.
If that function returned a value it might look like:
func(u User) hi() string {
return "hi!"
}
map := map[string] int {} < wtf
This is confusing because of how it's written. But the intent is to have a map (aka dictionary or hashmap) with string keys and int values. In your example it's initializd to have no entries, the {}. Let me rewrite this a different way:
ages := map[string]int{
"Alice": 38,
"Bob": 37,
}
Hope this helps. In all honesty, Go's language is very simple and actually rather clear. There's definitely some funny bits, but these aren't it. Take a break, come back to it later. It's hard to learn if you are frustrated.
I also recommend doing the Tour of Go here. My engineers who found Go intimidating found it very accessible and helped them get through the learning code (as there is with any language).
Good luck (I'm on mobile and didn't check my syntax, hopefully my code works 😎)
Comment on
mate in 10
I'm more curious about the seemingly random reactions on every friggin message. What the hell is that?
Comment on
if I see these on the car in front of me, I'll merge into the oncoming lane, close my eyes and floor it
Reply in thread
Respectfully, please do not do this. Helium is a non-renewable resource. Once lost to the atmosphere it's gone for good. Nitrogen on the other hand makes up 78% of the atmosphere and is equally effective.
Comment on
TIL The man that shot Ronald Reagan is a YouTube musician who claims he's the victim of "cancel culture"
Reply in thread
Is it? Sounds a lot like what I'd hope to hear from someone with his history.
Maybe he learned something. People can change, it's just really frickin hard for every one of us.
Comment on
My lazy ass, nowadays.
For me it's more like new interesting self hosted project and then find out it's only distributed as a docker container without any proper packaging. As someone who runs FreeBSD, this is a frustration I've run into with quite a number of projects.
Comment on
Google Pay is officially dead in the US. Just got the email.
Reply in thread
Except Google Pay had the ability to send money to/from friends and bill splitting. Wallet has no such features at all. And nothing they've published or any news on it seems to mention this. (Which has left me somewhat confused that I'm missing something. But as best as I can tell, I'm not)
Comment on
A week of fprintfs has me wanting to code rust next week
Reply in thread
I thought roach myself.
Comment on
Poster of 'homoerotic' Jesus unleashes chaos
Reply in thread
My gay ass doesn't see an issue at all with this.
Then again it's religion. And as we are currently experiencing, that is a shit show no matter what.
Comment on
Sidestepping Congress, White House Announces Ukraine Aid
Reply in thread
Agreed. Though I worry that'll take pressure off the cantankerous legislators that are blocking true support for Ukraine.
How did US politics get to a point where Russia is tacitly if not explicitly being supported by half of the electorate? And all because of an 🍊 with an IQ to match?
:(
Comment on
Russian student jailed for naming his wi-fi network "Slava Ukraini!" which means "Glory to Ukraine!"
Reply in thread
They expose themselves to risks simply by living in Russia.
Holy hell. That is absolutely not how the world works. People have no choice in the circumstances of their birth and frankly not a whole lot of control over their lives either. Such behavior is reckless and shows a wanton disregard for other human beings.
Please stop. Putting random people at risk of having their lives destroyed by the authoritarian regime in which they were born into is so incredibly shameful.
What an incredible display of emotional immaturity. So much so I assume this must be trolling.
Grow up. Quickly.
Edit: make yourself useful and target people that matter if you need to express yourself. I hear Putin and everyone connected to him is a good choice.
Comment on
AI coding assistants do not boost productivity or prevent burnout, study finds
It's a glorified autocorrect. Using it for anything else and expecting magic is an interesting idea. I'm not sure what folks are expecting there.
But I don't ask it to explain things or generate algorithms willy nilly. I don't expect or try to have it do something that's not more than simply auto-completion.
I honestly like it, even if I strongly dislike the use of AI elsewhere. It's working in this area for me.
Comment on
Big brain
Sigh, amusing but really unnecessary effort.
There done.
Comment on
Gay for Wastewater Treatment
Reply in thread
The soulless structure of the government is not much different than the soulless structure of a corporation.
Very different for a fundamental reason: at least in the US, one exists to serve the people, the other to extract the maximum amount of profit possible from the people. But to your point, they have similarities in that they are both entirely constructed of flawed humans. That difference in purpose though, makes a huge impact on we interact with them, what we expect of them, and our ability to influence them.
Comment on
*Permanently Deleted*
Is it bad my third thought after "🥰" and "unrequited love 😢" was immediately "oh gods I hope it doesn't start marking the porch"?
Comment on
ICANN approves use of .internal domain for your network
Reply in thread
Quite literally my first thought. Great, but I can't issue certs against that.
One of the major reasons I have a domain name is so that I can issue certs that just work against any and all devices. For resources on my network. Home or work, some thing.
To folks recommending a private CA, that's a quick way to some serious frustration. For some arguably good reasons. On some devices I could easily add a CA to, others are annoying or downright bullshit, and yet others are pretty much impossible. Then that last set that's the most persnickety, guests, where it'd be downright rude!
Being able to issue public certs is easily is great! I don't use .local much because if it's worth naming, it's worth securing.
Comment on
Anon has a special request
Reply in thread
Human remains will only be accepted from bona-fide educational facilities. Contact us for more details.
Likely an explicit no. :(
Comment on
Apple argues in favor of selling Macs with only 8GB of RAM
Reply in thread
I dunno if you noticed or if that was the joke. But you said "8 megs" three times in your comment when I think you meant to say "8 gigs". 1 gigabyte ~ 1024 megabytes. Just wanted to let you know in case it wasn't a joke about how 8 wasn't enough. That's all, thank you!
Comment on
‘Giant bronze poop’ statue ‘honoring’ those involved in Jan. 6 riot appears on National Mall
Reply in thread
It's political satire. Read the full plaque again. It is extremely well excuted.
I'm legitimately disappointed the duration for the permit appears to be so short.
Regarding the employment of the personnel who approved the permit, that's uncalled for. I'd recommend reading and internalizing the First Amendment. They really have.
Comment on
mate in 10
Reply in thread
TIL! Thank you 😊