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/)C
Posts
2
Comments
635
Joined
3 yr. ago

  • Yeah, its a bit of a mess, it does so much. The thing I wanted was just the persistent sessions, so probably not gonna go further than that. Of course, the code exists, and someone else is welcome to take it and run with it (I'll give it a permissive licence eventually).

  • I had thought screen was pretty commonly known, but its a tool you can use to background and reconnect to a process, with the child process being completely separated from your shell. So you can ssh into a box, start a process with screen, and then logout, return later and reconnect. (It also does other stuff like read from serial consoles)

    Codewise, there isnt a lot there, 3 main files (main.rs, server.rs and client.rs) all weighing in at ~200 lines.

    It felt premature to add a readme at this stagr, as I dont see this as a complete thing yet, but I can add a readme later today.

  • I'll look into that, I'm currently just using cross term, which was enough to pass my rudimentary tests of nyancat. I'll have to create some form of test suite to chuck various inputs at it and confirm it all works correctly.

    Its definitely not intended to replace screen or be better, that would require a lot more features and work that I just dont want to do. Its for fun/scratching an itch.

    I started it originally when I had issues with screen and permissions issues. The main branch is what I actually use, and I use it for running Minecraft servers. Its just an easy way to send commands to stdin of the process. (Stdout connected to regular stdout, stdin connected directly to a Unix socket).

    As for tmux, most I'm not that familiar with it, and used screen more.

  • What is openwebzine? Can't find any info on it.

  • 256gb of ram seems well beyond standard self-hosting, what are you planning on running?!

  • I did create a fork and MR, and neither used your runner (sorry if that is what spooked you).

    Develop local and push remote also let's you sanitize what is public and what isnt. Keep your half-backed personal projects local, push the good stuff to github for job opportunities.

  • I think it was when you create a merge request back, that the original repo would then run the forked branch on the original runners.

    From what I can tell, its now been much more locked down, so its better, but still worth being careful about.

    More discussion: https://www.reddit.com/r/github/comments/1eslk2d/forks_and_selfhosted_action_runners/

    The other potential risk is that the github action author maliciously modifies their code in a later version, but that is solved with version pinning the actions.

  • I can't find it right now, but there used to be a warning about not self-hosting runners for public repos. Anyone could fork your repo, and the fork would inherit your runners, and then they could change the pipeline to RCE on your runner.

    Has that been fixed?

    I went to a completely private gitlab instead, with mirroring up to github for anything that needed to be public.

    Edit: seems to maybe not be an issue anymore, at the very least it doesn't seem to affect that repo. Still, for anyone else, make sure forks and MRs can't cause action to run automatically on your runner, because that would be very bad.

  • This is my personal opinion, but you should add :

    1. Dont.

    Unless there is a really good reason, don't rename your project. It only adds confusion, and users will get lost during the transition. It also makes them hesitant to try the new one - "What if they do it again and i get left behind".

    Pihole isnt pi specific either, it still kept the name.

  • Mandatory voting is the answer there, it might be annoying at times, but it seems a lot better than a system that allows voters to opt out, or worse, be disenfranchised out.

  • There isnt any evidence of shadyness, just "whois privacy" muddying the waters.

    If I buy a domain through WW, and use "Whois privacy", the contact details on the domain will point to WW. I still own the domain though, so any bids/offers go to me.

    If you later want to buy the domain, WW would have to ask me if I want to accept.

    All we can say for sure is that the domain was registered with WW, not who actually owns it.

  • That might make sense, except that numbers of migrants is miniscule compared to the existing population in almost every case.

    For example, Australia has ~200k permanent migrants per year. With a population of 26m. In order for the migrants to become a majority, it would take 130 years to import 26m people. (This is obviously grossly simplified).

    There is basically no real risk that we will drown in migrants.

  • "Effectively kill piracy" - Sure guys, this time it'll work.

  • Gives you a opportunity for great catch phrase:

    "I'm as hard as a diamond" "Dont bite this diamond" "This diamond performs under intense heat and pressure"

  • Abortion is now called "Making an omelette"

    Also, if you think we are overly protective of pregnant mothers now, its gonna be worse when a minor bump causes the shell to crack.

  • Yup, exactly. And rereading your own code also gives good appreciation for how code should be commented, because even if I understand the code itself, the "why" is often lost to time.

  • Practice. Write bad code, come back later and rewrite it. Repeat.

  • o7

  • If I try hard, I can beleive there is a difference, but its so subtle it hardle seems worth caring about. Almost placebo.

    I bet people would struggle to pick the "good" ones out in a non-side-by-side test.

    Honestly seems like a waste of bandwidth and CPU cycles.