rushaction

joined 1 year ago
[–] rushaction@programming.dev 8 points 1 week ago (2 children)

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.

[–] rushaction@programming.dev 36 points 1 month ago

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.

[–] rushaction@programming.dev 10 points 2 months ago (4 children)

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.

[–] rushaction@programming.dev 2 points 4 months ago (3 children)

... the only language where 90% of the world's memory safety vulnerabilities have occurred in the last 50 years

Yeah... That's a shit post alright.

I'm not a C developer myself, but that's just a low blow. Also, uncited ;).

[–] rushaction@programming.dev 76 points 4 months ago* (last edited 4 months ago)

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 😎)

[–] rushaction@programming.dev 6 points 7 months ago

TIL! Thank you 😊

[–] rushaction@programming.dev 43 points 7 months ago (4 children)

I'm more curious about the seemingly random reactions on every friggin message. What the hell is that?

[–] rushaction@programming.dev 2 points 7 months ago

Nope. Many are plugged in and it will keep the seat and water warm. It further warms the seat when it detects someone is sitting on it. Kinda depends on budget, features, manufacturers.

NGL, middle of the night visits are still a bit jarring because the heating logic tries to conserve energy at night so it tends to me room temperature. But whatevs.

Honestly, worth it. Absolutely no regrets other than maybe not spending more 😂. At a couple hundred dollar Costco Toto model, it was already a risky purchase that at the time I simply wasn't sure about. But yeah, it's awesome 😎.

[–] rushaction@programming.dev 4 points 7 months ago

Concur.

Two examples because life is funny like that:

I moved into an apartment years ago where it was partially below ground. Didn't think anything of it. And then the first morning I slept there I was startled awake by a car's horn and then engine as it was being remote started directly in my face. Or at least, that's what it felt like. The window was at headlight height, and the car was parked right up to the window. It was hell. Nothing could have prepared me for that. So incredibly loud and bright. Thankfully it was a temporary apartment, but lemme tell you I was highly motivated to get out of there within a few months.

In the second case years later it was a beep. Just a constant high-frequency beep that would not end. Non-stop every hour for months. Apparently my neighbor's RV was parked at a business's back lot behind my house. Well, the battery was dying so the obvious move is to beep non-stop until the battery is fully dead. Months. A few weeks into this insanity I reported it to the police and they drove out and argued with me about how they couldn't hear it and that finally it wasn't loud enough to constitute a nuisance. I can hear it during the day, and I can sure as shit hear it in my bedroom 150ft away. Doesn't have to be loud to me incredibly annoying. White noise would barely mask it. I wanted to burn that RV to the ground.

Noise can be such a thing.

[–] rushaction@programming.dev 1 points 7 months ago* (last edited 7 months ago)

That is basically the steady-state outcome in a first-pass-the-post election system. What more would one expect?

Until our election system can better reflect the population it serves, the only real choice one will ever have is "which of these two do I dislike least?"

[–] rushaction@programming.dev 2 points 7 months ago (1 children)

It's always the money isn't it? Ugh.

[–] rushaction@programming.dev 17 points 7 months ago (13 children)

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?

:(

view more: next ›