expr

joined 2 years ago
[–] [email protected] 14 points 3 hours ago (1 children)

Blocking hexbear is a sensible choice, good for them.

[–] [email protected] 24 points 12 hours ago

Not sure if serious or not, but yeah I use interactive rebases every day, many times a day (it's nice for keeping a clean, logical history of atomic changes).

It's very simple to recover if you accidentally do something you don't intend (git rebase --abort if the rebase is still active, git reflog to find the commit before the rebase if it's finished).

[–] [email protected] 17 points 12 hours ago (2 children)

Never understood why this is such a trope. There's very little you can't recover in git (basically, only changes you never committed in the first place).

[–] [email protected] 18 points 4 days ago (1 children)

Yes, he is a dumbass, but frankly this is exactly what's needed. More and more of his base having reality hit them in the face, complaining loudly, and fracturing his support.

[–] [email protected] 6 points 1 week ago (5 children)

Corn tortillas >>>> flour tortillas for tacos.

[–] [email protected] 2 points 1 week ago

Slack is way, way, way better in almost every conceivable way.

[–] [email protected] 2 points 1 week ago (1 children)

I'm aware yeah, just saying that it's not a term really all that well-known outside of these circles.

[–] [email protected] 4 points 1 week ago (1 children)

Nah, the best ranch can be found at Amigos, a fast food chain in Nebraska. It's so much of a thing here that they have a dedicated ranch station in all of the restaurants and even package it and sell the ranch in local grocery stores.

[–] [email protected] 26 points 1 week ago (5 children)

Except calling people "tankies". I had never even heard the word before joining Lemmy.

[–] [email protected] 1 points 2 weeks ago (1 children)

It very well could be typical corporate fuckery, but that makes me wonder if it's actually a bug and that it's computing the per kg price based on the single until price but dividing by the total weight of the pack.

Or perhaps it's a "bug" that's left intentionally until called out.

[–] [email protected] 5 points 2 weeks ago

There's plenty of racism around, but I wouldn't worry about it as tourists. What you read about is the general systemic problems related to living here in the day to day. That's pretty different from visiting as a tourist. As a tourist, you're pretty unlikely to experience anything like that.

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

Unless you're writing Scala or something (which is probably the one exception to the rule), if you are using a language that supports OOP, you're not really doing functional programming. Functional-esque features that have made their way into imperative languages like map are only a tiny fraction of the functional toolbox.

There's a bunch of features you want in a language to do functional programming, and imperative languages don't really have them, like purity by default (and consequently, an orientation towards values rather than references) ergonomic function composition, algebraic data types, pattern matching, support for treating everything as first class expressions/values, etc.

Perhaps this is presumptious (and I apologize in advance if so), but I'd wager you haven't truly programmed in the functional paradigm. What imperative programmers tend to think of functional programming is very surface-level and not really reflective of what it actually is. It's an entirely different beast from imperative programming. It requires a shift of your mindset and how you think about programs as a whole.

Source: Senior software engineer writing Haskell full time for the last 4 years. Will avoid OOP until my dying breath.

view more: next ›