Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Badland9085, to pics in [OC] About half a year ago, I took this photo on my way home from work with my newly bought Lumix S5, it is one of my favourite photos.

Looks like a GO bus. TTC would have a red accent on their labels.

Badland9085, to programming in How do you feel about TypeScript?

I think you’re missing the point. It’s exactly cause Microsoft created it that people get worried about it. The EEE is an actual phrase found to be used internally in Microsoft, albeit being some time ago. Though there’s no knowing whether it’s still circulating now, it’s hard to trust them to be good stewards forever.

Badland9085, to programmerhumor in A visual learning method

Many of these meanings seem to be captured in some modern solutions already:

  • We plan to provide a value, but memory for this value hasn’t been allocated yet.
  • The memory has been allocated, but we haven’t attempted to compute/retrieve the proper value yet
  • We are in the process of computing/retrieving the value

Futures?

  • There was a code-level problem computing/retrieving the value

Exception? Result monads? (Okay, yea, we try to avoid the m word, but bear with me there)

  • We successfully got the value, and the value is “the abstract concept of nothingness”

An Option or Maybe monad?

  • or the value is “please use the default”
  • or the value is “please try again”

An enumeration of return types would seem to solve this problem. I can picture doing this in Rust.

Badland9085, to linux in Dotfiles matter! Please stop dumping files in users’ $HOME directories.

Doesn’t mean the defaults shouldn’t be sane

Badland9085, to privacy in The Philips Hue ecosystem is collapsing into stupidity

I swear, these bad EULA updates that basically force users to “accept the agreement, or we’ll brick your device” needs to fucking stop and be made illegal. The price that’s set for a product, especially a damn physical product, should include the acceptance of an existing EULA, and it should be honoured even when new ones come out and the user chooses to not accept the new agreement. You’ve basically never owned the product if companies can just pull the rug underneath you, and render your hardware useless. And you can’t foresee such changes too; a predatory company can acquire one that you’ve trusted and pull this shit. It’s borderline daylight larceny.

Badland9085, to programmerhumor in In case you forgot.

2 things I like about golang is just 1) the ease of getting someone to start work, and 2) goroutines. I have no complains about goroutines cause I’ve barely used it, and when I do it’s been fine. The first point though, I’d say the simplicity of the language is a double-edged sword — it’s easy to learn with little surface to cover, but it forces you to implement a lot of basic machinery you find in other languages by yourself, and so your codebase can get clunky to read really quickly, especially as your project grows.

Not trying to dissuade you from learning golang tho. I think it’s a good language to learn and use, especially for small simple programs, but it’s not the great language many try to say it is. It’s… fine. There are many reasons why it grinds my gears, but I’m still fine with using it and maintaining it for prod.

Badland9085, to programmerhumor in In case you forgot.

Ehhh, golang’s pretty down there for me too. Sure, you have types, but the way you “implement” an interface is the sussiest thing I’ve seen in most well-known programming languages. Not to mention all the foot guns (pointers for nullables is a common one, and oh, if you forgot that a function returns an error, and you called it for its effects, you’ve just built a possibly very silent bomb) you end up building into your programs. I use in prod, and I get scared.

Badland9085, to linux in What's happening with Rust?

For those who’re interested: this-week-in-rust.org

Badland9085, to canada in India suspends visa services in Canada as diplomatic fight grows

There’s already a group comprised of these countries from more than 10 years ago now: BRICS. It was somehow pretty irrelevant for many years, but they’ve been actively working to gain allies, many of which are oil-rich countries.

Badland9085, to privacy in UK owners of smart home devices being asked for swathes of personal data

A washer beep is like a webhook: if the recipient fails to acknowledge it, it’s gone forever. A notification is like an /events endpoint: the recipient can catch up on events at their own pace, and be reminded of and see events they haven’t processed.

Reference

Half-jokes aside though, I think what we want here is a reminder, i.e. a todo with a timed alert. Beeps can be missed and timers can be stopped (e.g. when you’re occupied), so they aren’t the most fool-proof solution here. Reminders will at least sit in the notifications list until dismissed.

Badland9085, to technology in It's not just you — no one is posting on social media anymore

Fancy speak for “cheap salesman who has a large network” /0.5s

Badland9085, to showerthoughts in Big Tech companies are finally getting the names we thought dystopian megacorps would have

I intended to give an explanation, but since this community is pretty general, i.e. we have people from basically all walks of life here, many with little to no involvement or understanding of the tech industry, so I decided to leave it out cause it would be too much to explain.

[email protected] has given us a pretty brief explanation, but I think it can be further simplified, though would require a lot more knowledge build up (i.e. more words). If anyone’s interested, I can try to write a fireplace story, though I can’t say I’m the most qualified person to do so, or give an absolutely accurate story.

Badland9085, to showerthoughts in Big Tech companies are finally getting the names we thought dystopian megacorps would have

Hashicorp’s been around for years; since 2012 actually. Used to be a pretty cool company, looked up by many, like a shining beacon in the darkness. It’s unfortunate where they’ve gone to now.

Badland9085, to steamdeck in How does Proton work?

??? Am I? Never noticed that. Imma go check my settings

Edit: Not sure why that box was ticked. Guess I did that by mistake.

Badland9085, to steamdeck in How does Proton work?

You can force a specific Proton version on each game, though I’m not sure (off the top of my head at least) if that would help with not installing duplicates. Iirc best practice for using Wine for games is to have separate installations to avoid having conflicting dependencies, though I’m not sure if Steam does that.

Also, GE is short for Glorious Eggroll, which is the name of the dev who creates custom Proton distributions. People refer to these distributions simply as Proton GE or just GE. Ref: github.com/GloriousEggroll/proton-ge-custom

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines