Totally agree. Like most “rules”, it just needs treating with nuance and context.
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.
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.
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.
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 │
╰───┴──────────────┴───────╯
Thanks. I didn’t know about these advanced libraries, and had not heard of C++ modules either. Appreciate the explanation.
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?
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.
I agree. The content is reasonably sound, but from a design and UX perspective, it’s awful.
A follow up post by the author, original shared and discussed here.
Interesting. That’s not something I’ve heard about until now, but something I’ll surely look into.
Mistral-large is probably the best large model for practical purposes at this point.
What makes you say that? I have not performed my own comparison, but everything I have seen and read suggests that GPT4 is king, currently.
Okay, that makes sense. Cheers.
Are you self-hosting Mistral for this bot, and if so, do you have any insight on the cost of running that bot vs the ChatGPT one? (the latter of which I assume you have capped the max billing of, or I certainly hope so, at least)
I disagree that it’s clickbait. Go does not have enums, that is undeniable. But we often encounter problems in software development where enums are an effective solution - arguably the right solution a lot of the time. Even if enums are not a language feature of Go, many of us are (rightly or wrongly) doing programming cartwheels to implement them ourselves. So I think an article discussing how one can roll enums or at least enum like behaviour in the language is relevant, and the awkwardness of that experience is captured in the blog’s title.
Yes, I don’t know how I forgot to mention that Iceshrimp and Sharkey both have Mastodon compatible APIs - so all the same apps work (mostly).
Based on your requirements, I would suggest looking at one of the Firefish / CalcKey forks. They are ideal for single user or small instances and they support s3 compatible object storage out of the box.
I would recommend looking at Sharkey or Iceshrimp. Both are under very active development and have very responsive developers if you need support.
If you would like to check out an example, Ruud (of mastodon.world and lemmy.world) set up an instance of Sharkey at (you guessed it) sharkey.world.
Honestly, for any large scale project in Python, Pydantic makes it bearable. We use Python heavily at work (and I’d argue we shouldn’t be for the projects we’re working on…), and Pydantic is the one library we’re using that I wouldn’t be without. Precisely because it allows us to inject some of these static typing concepts and keeps us honest, and our code understandable.
Yes! The concepts are intertwined.
I think the key take away, for me, is to lean heavily into your type system and allow that to do some of the heavy lifting. Accept that something like a username
is not a string, but a subtype of a string (this has to be true if any validation is required, otherwise you’d just accept any valid string).
This should have been posted in programming.dev/c/meta. I’m leaving it up here as the question has been answered.