Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
Posts
0
Comments
657
Joined
3 yr. ago

  • I made this in less than a minute

    Enterprise level doneness

  • Well, no proper engineer will agree to less than that

  • You may take a look yourself at the repo while I will try to describe it below.

    I use nix-darwin on top of nix installation to manage most of system settings and build.

    I am not quite sure now, but I think, I remember having to do xcode-select --install, can't quite remember if that was part of workaround for issues or part of normal process. Oh, and there were some discoverability issues with bin directories, I had to work around them by adding extraInit to zsh that includes binaries into PATH. This might be based on my poor skills in configuring everything, though.

    Some of the packages needed are installed from nixpkgs, but some are installed by brew based on configuration.nix so these have to be upgraded in brew and don't get upgraded upon rebuild (it looks like the intended way would be to wipe them on each rebuild, but that would take longer)

    I develop in Rust, so I also use rust-overlay instead of rustup to manage Rust and nixpkgs-cross-overlay for cross-platform builds. Build scripts also create docker containers descripted with nix in our case.

    There were regular issues with Nix installation upon macOS updates, requiring me to either add back Nix to zshrc or completely reinstall it (the latter was not necessary, likely), but those seem to be fixed, as of now.

    I think you will have less trouble managing reproducible machines with Nix, but I also think that it will require a bit more than just copying config and running Nix. There will also be issues of installing some software and packages locally, that will allow the developers to break builds across the machines when one have something locally that other doesn't, but this can be mitigated by processes and getting them acquainted with Nix, at least it did it with me 🌚

  • Nix is so good when it works, when I read such posts I feel strongly compelled to use it. I also use it and maintaining build and system with Nix, especially on macOS is sometimes huge pain, unfortunately

  • To be fair, it wasn't ecosystem that made want to abandon Java, but now I can see it should've :)

  • Yeah, there's mention of doing the opposite in C++ community in a neighbouring thread

  • Joke's on you, I code in Rust

  • So, every time I use a library to recognize patterns on a picture, to interact with Kafka, do some SSL, or do database mapping, I should hate myself, noted

    We did Elastic API integration in Java by creating and maintaining huge half-codegenerated transformer from code to Elasticsearch's JSONs, it was a pain and it was source of more than one error

    Dependences should be reviewed and audited to make sure they do what you need and they are worth using. Just making everything in-house gets you nowhere most of the time

  • TikTok may have been the first to do it, but now the genie is out of the bottle

  • Sounds like an addiction, bro

  • Or if the what is so cryptic and esoteric that it would require the reader a couple hours of research to understand it.

    Also, I find it useful to summarise the what before code blocks if that can't be summarised in a function name

  • Well, this is shitty

    I hope the reviewer did not also squash commits, and the next programmer would be able to at least dig what was there.

    Doing changes after some rockstar dev implemented some really complex service, but left no clues as to what does what is so frustrating, and I can never be sure that I don't break anything in a different place completely

  • ACK

  • What if it was "aააhole"? Guess we'll never know ¯(ツ)

  • I had to search for "organic mercury", it's dimethylmercury and it doesn't look like mercury at all. Do people really call it "mercury" or "organic mercury"? It's on par with pounds as a measure of mass, weight, and force by the amount of confusion, I'd say 🤔

    ::: spoiler sad story that was in the top of search results about dimethylmercury:

    sad but also a bit ironic fate 🫡 that's why I prefer not to do dangerous things even when protection and/or safety is in place.

  • We = humanity? This is a humans' site

  • Although you're correct, I find fediverse lacking in the department of the more niche stuff, e.g. fandoms of specific games, communities by geo proximity, obscure hobbies.

    But well, Reddit wasn't like this from the start and I hope the diversity and smaller communities will be here instead of there with time.