How do you deploy in 10 seconds?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    22h ago 100%

    You're not wrong, but not everything needs to scale to 200+ servers (...arguably almost nothing does), and I've actually seen middle managers assume that a product needs that kind of scale when in fact the product was fundamentally not targeting a large enough market for that.

    Similarly, not everything needs certifications, but of course if you do need them there's absolutely no getting around it.

    6
  • Does crates.io have a backup plan?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    3d ago 100%

    Wow, I definitely should have google that myself before asking, but thank you for explaining and calling out that data point.

    I honestly think that shows that it was in fact a bad idea to assign TLDs to countries. Having a country code acronym with a popular tech meaning is essentially just luck of the draw, so they've basically just arbitrarily given a few small countries a valuable resource to sell. I gues that benefits those countries, but I doubt "quasi-random fundraising for small countries" was ever the intent.

    3
  • Does crates.io have a backup plan?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    4d ago 100%

    But do they actually have autonomy, give that random companies can use .io and .ai? Or did the British Indian Ocean Territory and Anguilla approve all such uses of those domains?

    1
  • Does crates.io have a backup plan?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    4d ago 87%

    Obviously this isn't specific to Rust, but frankly it's bizarre to me that ICANN chose to tie top-level domains to country codes in the first place. Languages might have made sense, but a major feature of the internet is that it's less beholden to political boundaries than most of the physical world is.

    6
  • How "out of date" is Debian really?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    1w ago 100%

    Yep, learned it recently from a list of things that are, surprisingly, named after real people. Deb and Ian eventually got married but are now divorced.

    2
  • My frustrations with Rust. Why is this the most loved language?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    1w ago 66%

    But "drop-in replacement"? That's a strong and specific claim.

    I do actually think that WebAssembly will enable something - maybe Rust, but more likely something simpler - to eventually dethrone JS in the browser. I also do think it seems beneficial to have your client and backend in the same language.

    1
  • My frustrations with Rust. Why is this the most loved language?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    1w ago 95%

    ... the issue I have is people lying and saying Rust is a drop in replacement for js

    I am genuinely curious whether you've actually seen this claim before, or if you badly misunderstood or are simply exaggerating a claim about Rust being a good language for web servers, or if you simply made this up as a straw-man. I can't imagine anyone who knows what they're talking about using those words I that order.

    19
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    To be clear, you're saying you trust git metadata to be preserved even when forge/issue-tracking/etc metadata is not?

    I suppose that's probably the case more often than not. I think it's still preferable to trust the forge you use than to spend any significant amount of time or effort trying to ensure that the team has strong enough commit-message discipline to compensate for the risk of losing data in an issue-tracker or forge.

    1
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    My point is that "the comments aren't accurate" is also a people problem. And I absolutely disagree that commit messages are "documentation" of anything except the development history.

    2
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    They are hard to discover… and hard to use.

    Flippin' fantastic, that's exactly what I want out of my documentation tooling.

    I absolutely agree it would be better if forge data were part of the repo itself rather than separate. But for teams that are using a forge in the standard way, they should rely on the forge for this sort of thing, rather than hide important information in an obscure git feature.

    2
  • OOP is not that bad
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    But how does the alternative solutions compare with regards to maintainability?

    Which alternative solutions are you thinking of, and have you tried them?

    Rust has been mentioned several times in the thread already, but Go also prohibits "standard" OOP in the sense that structs don't have inheritance. So have you used either Rust or Go on a large project?

    7
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 50%

    It's not documentation, though. That's my point. It's a byproduct of the development cycle, not a place to store important information.

    Commit messages are tied to a commit, sure, but why do you expect developers to have better discipline in writing commit messages than they have in updating code comments?

    0
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    I mean, I've been doing this for over a decade too. If teams are losing data from their issue tracker or source forge, that's a deep problem and not something that can be ameliorated by writing better commit messages.

    1
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 50%

    The gitlog is intended for contributors of the project whereas the chamgelog is intended for users of the project.

    That makes sense to me.

    I think I would still argue, however, that for projects using github, gitlab, or any similar forge with a built-in pull-request + code-review feature, there's very limited value in spending time crafting good commit messages in a feature branch. All information that you may be tempted to put there would be more visible and more useful either as code comments (which applies to all projects, not just GH) or as comments in the PR description or discussion. (I also think it's often better to just squash feature branches on merge than to try to maintain a clean branch history while the feature is in development.)

    I do think that the commit messages that actually end up on your trunk are important; but, with the exception of the final PR merge (or squash) commit, developers should minimize the time spent writing or thinking about these commit messages.

    The one context in which I find details in historical commit messages potentially useful is when using git log -p to figure out when and why something changed. But even then, once I've found the relevant commit, looking up the PR to see if there was any discussion about the change in question is generally the next step; so again, having substantial detail in the commit message itself is unlikely to be helpful.

    0
  • After seeing people use the UI to commit to git I understand where all those - sorry: shitty - commit messages come from....
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    Why should I put manual effort into separately maintaining a changelog and a semantically meaningful commit history? If I'm going to manually maintain atomic commits with useful commit messages, why would I want the contents of those messages to be substantially different from the content of the relevant bullets of the changelog?

    3
  • Rust is rolling off the Volvo assembly line - Blog - Tweede golf
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    The O'Reilly book Programming Rust is very much targeted at C++ users, even if it isn't explicitly marketed that way.

    I read the first edition, which predated async Rust, so I can't comment on how the second edition handles that topic. But the handling of everything else was, I think, excellent.

    5
  • If I had to use win 11, I'd become a monk
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBA
    BatmanAoD
    2w ago 100%

    🤷 That wasn't my experience, and I used it as my primary dev environment for four years.

    It doesn't go through a translation layer, though. WSL 2 has a whole separate kernel. You can even use GUI apps with Wayland.

    1
  • Almost five years ago, Saoirse "boats" wrote ["Notes on a smaller Rust"](https://without.boats/blog/notes-on-a-smaller-rust/), and a year after that, [revisited the idea](https://without.boats/blog/revisiting-a-smaller-rust/). The basic idea is a language that is highly inspired by Rust but doesn't have the strict constraint of being a "systems" language in the vein of C and C++; in particular, it can have a nontrivial (or "thick") runtime and doesn't need to limit itself to "zero-cost" abstractions. What languages are being designed that fit this description? I've seen a few scripting languages written in Rust on GitHub, but none of them have been very active. I also recently learned about [Hylo](https://docs.hylo-lang.org/language-tour/), which does have some ideas that I think are promising, but it seems too syntactically alien to really be a "smaller Rust." Edit to add: I think Graydon Hoare's post about language design choices he would have preferred for Rust also sheds some light on the kind of things a hypothetical "Rust-like but not Rust" language could do differently: https://graydon2.dreamwidth.org/307291.html

    33
    63