Lightfire228

joined 2 years ago
[–] Lightfire228@pawb.social 30 points 3 weeks ago (2 children)
  • Hot stove tops after cooking
  • potentially poisonous things like onions
  • knives
  • "i need to set this down for a second and i don't want the cats messing with it"
  • dirty dishes

Not to say i just leave knives or food out, but I want to reduce the chances of them getting into something by making the counters unappealing to them (via the usual tricks of aluminum foil, sticky tape, precariously perched baking trays, or as a last resort, cat zappers (electrified mats))

[–] Lightfire228@pawb.social 7 points 4 weeks ago (3 children)

That doesn't mean anything. They can request your browsing history directly from your ISP

[–] Lightfire228@pawb.social 163 points 4 weeks ago (23 children)

Me: I wonder how they know it was staged

But investigators later concluded Greene had staged the attack, alleging she paid a body modification artist earlier to make it look like she was injured. Officers also found zip ties in Greene’s vehicle similar to those used on her, and the co-conspirator’s phone had been used two days earlier to search “zip ties near me."

Lol

[–] Lightfire228@pawb.social 3 points 4 weeks ago

"Am I gonna find out why they call you 'Peggy'?"

[–] Lightfire228@pawb.social 6 points 1 month ago

You can train them to use scratch posts, but it's going to depend on the stubbornness of the individual cat. Also, they like tall, sturdy scratch posts, so those tiny ones at the grocery store usually won't cut it (same reason they go for the couch, it's tall and won't fall over)

Although, if you have or are planning on having cats, i suggest never buying anything leather. All of my stuff is cloth, which is more resistant to claws

[–] Lightfire228@pawb.social 7 points 1 month ago (7 children)

IIRC, kernel level anti cheat works for linux. It's at the company's discretion if they enable support for Linux clients

[–] Lightfire228@pawb.social 3 points 1 month ago* (last edited 1 month ago) (1 children)

@Amuletta@lemmy.ca

There's a really neat YouTube channel, Kill This Plant who explains a lot of indoor plant stuff

~~He~~A different YouTuber had a video about buying potted basil from a grocery store, and how they are always overcrowded to make them look fuller to sell better

https://youtu.be/nK7uPpYBkpA

[–] Lightfire228@pawb.social 1 points 1 month ago (1 children)

If you're not already blinded by the accretion disk

Or torn apart from spaghettification

Or have millions of years pass in the rest of the universe from time dilation being that close

[–] Lightfire228@pawb.social 4 points 1 month ago (5 children)

I think Bubba == Bill Clinton is "too cute" a story without corroborating evidence

So, I'm inclined to believe him

[–] Lightfire228@pawb.social 2 points 1 month ago

Never make things more "impressive"

Make them more comprehensible

Reduce the cognitive load required to understand and reason about a piece of code. Honestly, the more you can express complicated ideas simply, the more impressive you are

[–] Lightfire228@pawb.social 6 points 1 month ago* (last edited 1 month ago)

I did this once

I was generating a large fake dataset that had to make sense in certain ways. I created a neat thing in C# where you could index a hashmap by the type of model it stored, and it would give you the collection storing that data.

This made obtaining resources for generation trivial

However, it made figuring out the order i needed to generate things an effing nightmare

Of note, a lot of these resource "Pools" depended on other resource Pools, and often times, adding a new Pool dependency to a generator meant more time fiddling with the Pool standup code

[–] Lightfire228@pawb.social 17 points 1 month ago (4 children)
  • if something feels too "heavy", like it's doing xml formatting, file manips, a db insert, and making coffee, all in a single class or function

Separate out those "concerns", into their own object/interface, and pass them into the class / function at invocation (Dependency Injection)

  • use "if guards" and early returns to bail from a function, instead of wrapping the func body with an if

public Value? Func(String arg) {
  if (arg.IsEmpty()) {
    return null;
  }
  
  if (this.Bar == null) {
    return null;
  }

  // ...
  return new Value();


  /// instead of

  if (!arg.IsEmpty) {
    if (this.Bar != null) {
      // ...
      return new Value();
    }
  }
return null;
}
view more: ‹ prev next ›