Readit News logoReadit News
KuhlMensch commented on I ditched Docker for Podman   codesmash.dev/why-i-ditch... · Posted by u/codesmash
bmgoau · 10 days ago
First result on Google, 22k stars https://github.com/slimtoolkit/slim
KuhlMensch · 9 days ago
Well, this is elegant/cool.
KuhlMensch commented on Snyk security researcher deploys malicious NPM packages targeting cursor.com   sourcecodered.com/snyk-ma... · Posted by u/arkadiyt
chamomeal · 8 months ago
Wait how in the world does a React carousel component have over 400 deps…
KuhlMensch · 8 months ago
/giphy "first time?" meme
KuhlMensch commented on Show HN: Bash Dungeon – An educational dungeon crawler in the shell   github.com/wolandark/bash... · Posted by u/wolandark
andrecarini · a year ago
> guillemots

May I suggest 「these」 instead?

KuhlMensch · a year ago
Wow.

I'm adding this to my ascii "vocab"

KuhlMensch commented on Australia's overuse of antibiotics driving rate of drug-resistant infections   theguardian.com/society/2... · Posted by u/adrian_mrd
KuhlMensch · 2 years ago
Oi, get staphed ya mutt!

Father was a vet, and he made me respect antibiotics. Including, IF you take them THEN finish the entire course as directed. DO NOT stop taking them because you feel better.

I think we gotta normalize being sick, and sitting at home watching Netflix.

KuhlMensch commented on Mourning loss as a remote team   sofuckingagile.com/blog/m... · Posted by u/asyncscrum
devmunchies · 3 years ago
Are there any orgs that don’t serve the company?
KuhlMensch · 3 years ago
In a HR org that is damaging to the company, they always side with the company; What is unique to HR, is that can often turn them AGAINST an individual worker.
KuhlMensch commented on Alcohol-related deaths spiked during the pandemic, a study shows   nytimes.com/2022/03/22/he... · Posted by u/horseradish
KuhlMensch · 3 years ago
Over pandemic I lernt:

- I love getting pissed at the pub

- I hate getting pissed at home doing nothing

- I love the taste of non-alcoholic beer

KuhlMensch commented on Understanding the War in Ukraine   acoup.blog/2022/02/25/mis... · Posted by u/picture
jolux · 4 years ago
I respect the difference of opinion but it's hard not to think Mearsheimer has been proven wrong about Putin's motivations by this invasion. It's basically inconceivable that the full-scale invasion of Ukraine is really in Russia's best interests. At this point it's liable to destroy their economy and encourage the remaining non-NATO states that border them to join NATO. It has solidified and reinvigorated opposition to Russian interests in the West. As of now it looks like a blunder.

edit: to say nothing as well of the anti-war protests that are happening in the streets of Moscow and across Russia. If they continue and grow they will pose a risk to regime stability.

KuhlMensch · 4 years ago
Not to pile in, but I also found the video (via YT recommendations), and certainly think it holds up given present events.
KuhlMensch commented on TypeScript Features to Avoid   executeprogram.com/blog/t... · Posted by u/gary_bernhardt
yCombLinks · 4 years ago
He is completely incorrect about the purpose of enums. It isn't to simplify changing all locations of an occurrence. It is for defining domain concepts. It is to communicate to other code users, here is every allowed permutation of this type.
KuhlMensch · 4 years ago
I don't know if you are correct, but this is closest to how I think about it

Mechanically, a const dictionary, or a string union might achieve the same.

But semantically, an enum (sometimes) reads better.

KuhlMensch commented on TypeScript Features to Avoid   executeprogram.com/blog/t... · Posted by u/gary_bernhardt
spoiler · 4 years ago
Why do you find them self documenting?

Usually it's just

    enum Method {
      Get = "GET"
      // ...
    }
I usually always put doc comments on enums and their variants.

Regarding why numeric ones are (only sometimes) more useful than string values: bit flags comes to mind, faster comparison of numbers than strings (not always tho... unless this is a misconception, but I don't believe so), you mentioned smaller bundle size already.

As for "auto" enums: the fact they're numbers now is an implementation detail. They could be unique Symbols in a future versions of typescript. You can do that manually now too, but I'm talking about the automatic (without assignment) syntax.

Regarding article: I... Half-agree. But I'd not completely disregard/avoid enums. At the very least, they can be useful to help model some behaviours/states in more readable, accessible, and coherent way (Other comments went into a more in-depth defence of enums, thought).

KuhlMensch · 4 years ago

   enum Method {
      Get = "method/GET"
      // ...
    }
The string value can be very helpful for the reader - be it a human or log ingestor

KuhlMensch commented on Toxic culture is driving the great resignation   sloanreview.mit.edu/artic... · Posted by u/Hard_Space
deepsquirrelnet · 4 years ago
Another swing and miss.

I don't think this is so hard. The pandemic is waking people to the reality of their own mortality.

Suppose you're working a job in a big, highly dysfunctional organization. Most of us who have been there know that these jobs often pay well -- but in trade, you're selling your precious hours to execute a random series of essentially meaningless events (and under pressure to get it done).

Now add a pandemic. You were probably already having a quiet existential crisis, feeling that the insanity of your work environment is no way to let your life pass by. You want your life to mean something, but it isn't fulfilling. Now, people you know are passing away much sooner than expected. Thoughts about the eventuality of your own death are really tipping the scales.

Do you just bury your nose and keep going on? Or find out what else is out there?

KuhlMensch · 4 years ago
This me.

u/KuhlMensch

KarmaCake day139December 3, 2014
About
hnchat:VDQmX7cUZkUNs8rGVHQB
View Original