Kache

joined 1 year ago
[–] Kache@lemm.ee 1 points 2 hours ago* (last edited 1 hour ago)

Simpler to keep everything in one compose file if you can, under a test service that doesn't build unless explicitly named

Un-weird that env var and use the normal, boring feature of defining environment under your test service

[–] Kache@lemm.ee 1 points 11 hours ago* (last edited 11 hours ago) (2 children)

I've often been able to alias drun='docker compose run --rm --build' and simplify down to:

drun test

Should be able to encode all those wayward args into docker-compose.yml or Dockerfile and only use vanilla docker commands -- that's the whole point of containerization

[–] Kache@lemm.ee 6 points 2 days ago

In the US? IMO only possible in exclusive environments similar to saunas at spas or membership-based clubs/gyms

[–] Kache@lemm.ee 56 points 1 week ago* (last edited 1 week ago) (1 children)

I think your ideas are too non-practical/specialized/advanced/low-level for your stated goal of 'digital literacy". They read more like college intro/followup course material and are too esoteric to be readily absorbed, esp by generic teenagers, even if they've self-selected to be "lightly interested".

[–] Kache@lemm.ee 6 points 3 weeks ago* (last edited 3 weeks ago)

One of the best tutorials on really "grokking" git concepts, and it's online and interactive: https://learngitbranching.js.org

For programming, start with buildings things for yourself. Be practical, start small, and iterate, regardless if you consider the previous iteration was a success or failure. I've heard good things about https://automatetheboringstuff.com/ (in Python) in this regard.

[–] Kache@lemm.ee 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Can address it by writing code that doesn't depend much on indentation, which also makes code more linear and easier to follow.

[–] Kache@lemm.ee 1 points 3 weeks ago* (last edited 3 weeks ago)

In recreational climbing, skin calluses and surface abrasion aren't usually much of a concern compared to tendon health. Skin heals light damage quite easily.

However, it's not uncommon for a new (or experienced) climber to develop their muscles beyond what their own tendons can take. Since it takes tendons so long to strengthen, it's common to need managing the risk of finger pulley tendon injuries in climbing.

Also, I do not know how these nuances apply in your context of your medical condition.

[–] Kache@lemm.ee 1 points 3 weeks ago* (last edited 3 weeks ago)

Call their bluff!

If they're SO concerned and want help signing bans for imaginary problems into law, there are plenty of real issues worth trading for in exchange.

E.g. from now on, schools nationwide are additionally funded to both prohibit litterboxes for students that identify as cats and provide free and healthy school lunches.

[–] Kache@lemm.ee 1 points 1 month ago

Idgi -- is it saying that every game is either named "X" or "Y's X"?

[–] Kache@lemm.ee 8 points 1 month ago* (last edited 1 month ago) (1 children)

There's the practical distinction between "everyone can do it with some dedicated intent" (so few actually bother) vs "everyone can do it on a whim"

[–] Kache@lemm.ee 4 points 1 month ago* (last edited 1 month ago)

Seems it depends on which elite/establishment, going by Wikipedia's definition: "populism" is the political stance of "the people" against "the elite/establishment"

So by that defn, both of these examples qualify:

  • The people being distrustful of the establishment of medical science
  • The people condemning the unfair practices of a monopolistic/oligopolistic establishment
[–] Kache@lemm.ee 1 points 1 month ago

wanted to add something to the end of a for-loop, but had too little indentation

To address this, I prefer reducing length & depth of nested code, so the for/while is rarely ever not visible along with everything inside it. Others have success with editors that draw indentation lines.

opening up new/anonymous scopes

I occasionally use Python nested functions for this purpose

 

Thanks for the app.

I like how Connect is fairly good at embedding previews, e.g. https://lemmit.online/post/2476390

However, Connect is currently unable to embed Lemmy posts of Reddit galleries.

For example: https://lemmit.online/post/1045136
Points to: https://www.reddit.com/gallery/172hfko
(Old Reddit): https://old.reddit.com/r/whatisthisthing/comments/172hfko/what_are_these_swans_i_found_at_a_flea_market/

Also looking forward to open-sourcing & F-Droid release!

view more: next ›