bugsmith

joined 2 years ago
MODERATOR OF
[–] [email protected] 3 points 2 months ago

This should have been posted in programming.dev/c/meta. I'm leaving it up here as the question has been answered.

[–] [email protected] 1 points 7 months ago

Totally agree. Like most "rules", it just needs treating with nuance and context.

[–] [email protected] 19 points 9 months ago

Five-a-side football (soccer). I'm not a sporty person, but started going with a local group a few years ago and have reaped the benefits of doing some intensive team exercise once per week. I go with a bunch of guys way older than I am, and it's amazing how fit and healthy they are compared to the average person I meet of their age. I certainly plan to keep this up so long an injury doesn't prevent me.

[–] [email protected] 3 points 10 months ago

Nice. I've not seen any of your other videos yet, but I can say that for this one, I really loved that you just jumped straight in to the action and kept the video tight, without missing important details.

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

I really like Nushell. I would not run it as a daily driver currently, as it mostly doesn't win me over from Fish, feature-wise, but I love having it available for anything CLI date pipeline work I need to do.

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

Love this. Always interesting to see novel ways of querying data in the terminal, and I agree that jq's syntax is difficult to remember.

I actually prefer nu(shell) for this though. On the lobste.rs thread for this blog, a user shared this:

| get license.key -i
| uniq --count
| rename license

This outputs the following:

╭───┬──────────────┬───────╮
│ # │    license   │ count │
├───┼──────────────┼───────┤
│ 0 │ bsd-3-clause │    23 │
│ 1 │ apache-2.0   │     5 │
│ 2 │              │     2 │
╰───┴──────────────┴───────╯

[–] [email protected] 3 points 1 year ago

Thanks. I didn't know about these advanced libraries, and had not heard of C++ modules either. Appreciate the explanation.

[–] [email protected] 22 points 1 year ago (7 children)

I don't code in C++ (although I'm somewhat familiar with the syntax). My understanding is the header files should only contain prototypes / signatures, not actual implementations. But that doesn't seem to be the case here. Have I misunderstood, or is that part of the joke?

[–] [email protected] 7 points 1 year ago

Yes, I can see cases where this might be valid. For example, if you wanted to be some kind of SAP administrator / programmer (a paid-only enterprise management software), nobody would hire you for such a role without having some experience with that product. Same for something like Salesforce.

[–] [email protected] 4 points 1 year ago

I agree. The content is reasonably sound, but from a design and UX perspective, it's awful.

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

A follow up post by the author, original shared and discussed here.

[–] [email protected] 3 points 1 year ago

Interesting. That's not something I've heard about until now, but something I'll surely look into.

view more: next ›