home.social

Search

83 results for “codesections”

  1. @codesections @alexbuzzbee

    ouch... #gash is still a bit touchy

    (edited: it is gash-utils the source of my issues, not gash)

    I have too much former #bash scripts that break, so I wont make it my default shell for now

    I am hooked by the idea. Let's see what I can use from it anyway, maybe as a ad-hoc shell

    EDIT2: after investigation, it is my dependency on the #nixos package gash-utils that causes my issues, and not #gash

  2. @codesections @alexbuzzbee

    As it is #guix philosophy, it seems #gash reimplements its own linux 'tr' command from scratch, which seems to break some of my former bash scripts.

    Not investigated much. Otherwise I am just starting to exploring it.

    (EDIT: it is the package gash-utils that was the source of my problem, not gash itself)

  3. @codesections: Impressive and even eye-opening article, thanks! Still have to look at some of the references made in there.

    And thanks for citing #XKCD, #Pratchett, #Babbage and #Knuth in the same posting. 😂

    I even noticed that I actually use #sigils in my #mail folders as well:

    Every folder in which #procmail may sort incoming mail, starts with an ASCII dash ("-").

    Meaning for myself: Ah, this is an incoming mail folder.

    Meaning for the computer (indirectly): List these folders first. 😉

  4. @codesections thanks for posting this looks fun, @gavcloud was the first one to show me #Vimperator and I ended up using #Qute browser for a while. I really like the idea of browsing the web in a more interactive fashion that this enables.

  5. @YesIKnowIT

    > ostechnix.com/4-easy-ways-to-g
    My preferred :
    openssl rand 14 -base64
    gpg --gen-random --armor 1 14
    ... but the passwords are not easy to remember. A good argument to use a password manager.

    I ended up writing (github.com/codesections/pass-g) to solve that problem. It's another xkcd-style solution, though with a bigger dictionary and more customization options than many takes on that solution

  6. @grainloom

    starts basically the same—with a cron job (or whatever) to ping your d5 server; the difference is that you send a username–password pair too.  (with the d5 server being d5.codesections.com or your selfhosted server).  d5 keeps that IP & username–password in memory.

     To connect to your PC, you run `ssh $(curl -u $USER:$PASSWORD)`.  The curl command returns the current IP for your PC, and lets SSH use it as normal.

    No DNS records are updated, and no external server has your IP

    #d5
  7. @codesections Just turn off the Clippy rule for boolean match statements then; that's a I think. You know better than it.

    Or, better still, submit a patch to Clippy. I don't know the procedure for that, so it might be more work than it's worth for you.

  8. @[email protected] @codesections

    > Perl has the advantage of being installed *everywhere*.

    That's an interesting perspective. One of the reasons I wrote (which is a rewrite of xkpasswd with some added features) was that I was tired of installing for just that one program.

  9. @codesections Not #APL but I learn & write #J ( #Jlang)
    It's tacit way of writing code + the plethora of built-in math, array and various utilities make math very fun-.

    Compared to APL it restricts itself to easily accesible ASCII so it's very easy to write code (no special character issue).

    At the very least it should be a fun learning experience. If you are still wondering get started now!
    Good Luck!

  10. @codesections
    I'm considering giving #vim a try again, especially since I find myself more and more coding on my phone using #Termux with on-screen keyboard.
    Do you have your #vimrc online somewhere, as it looks useful, or can recommend some useful repositories for it?

  11. @gentoorebel

    Also, on the subject of "why yes I rewrote that in bash, why?", you might be interested in one of my side projects: , a full passphrase generator based off similar principles to diceware or other word-list based passphrase generators. It's pure bash and plays well with standard input/output.

    passgen.codesections.com

  12. @peanutbutter144

    I'm also a happy user of pass—so happy that I built a bit of a companion app called (passgen.codesections.com).

    It's a passphrase generator that uses the same style as pass. (Because a passphrase will be both more secure and easier to type than a password) It pipes it output to standard out, so it works well with pass: you can generate a new password and store it with pass with `pass-gen -e | pass -e USERNAME`

    End of self promotion, but yeah, pass is really great!

  13. @codesections also, change "for" to "to" - make it #t6, which is ALSO me!!!

    #t6
  14. @manulfk

    I'm a big fan of , which is a CLI tool that stores passwords in a -encrypted repo (there are non-CLI clients for it) passwordstore.org/

    I like pass so much that I wrote a passphrase generator in the same spirit, called (passgen.codesections.com). It's a tool that generates passphrases that are secure and easier to type in (for those occasions when you can't paste from a password manager).

  15. @d4klutz I'm a huge fan of passwordstore.org/ — so much so that I built a passhrase generator in the same spirit (though it works with other managers too)

    https://passgen codesections.com

  16. @crodges

    If you're a big user of , you might also like my current project, . passgen.codesections.com

    It's CLI app that generates passphrases that can be piped on to pass. For example, `pass-gen -e | pass add <username>` generates a new passphrase and pipes the adds it to a pass store.

    passgen creates passphrases that are much easier to type in if a site ever blocks you from pasting or if you need to use a different computer—and they're even more secure.

    @coffee

  17. Ok, definitely geeking out here, but I just learned that one of my favorite bloggers (Scott Alexander of slatestarcodex.com/) just linked to my Mastodon Is Better than Twitter blog post (codesections.com/blog/mastodon).

    I know that probably didn't bring as many people to the fediverse as when that post was on the front page, but it's personally *way* more exciting—it's very cool to get a link from someone I admire!

    Any other come because of that post (or here at all)?

  18. @bryangruneberg

    I might have mentioned this already, but I wrote a companion-app of sorts to pass. My app, , generates secure random passphrases (instead of passwords), since they're much easier to type whenever you can't paste. It's designed to work well with (well, with anything that accepts standard input, but pass is what I use). To generate a new passphrase for pass, you'd just run `pass-gen -e | pass add <username>`.

    More info at passgen.codesections.com
    j

  19. @ObjFW
    I think that depends some on your workflow. I'm of the "commit early, commit often" school of thought—it makes `git bisect` so useful! So, for example, my project already has over 50 commits. github.com/codesections/pass-g If I'd tooted about each one, I'm sure it would have annoyed people.

    What I've done instead is to toot about each of the four versions I've released, which (hopefully!) isn't annoying.

  20. @fleischie28

    One question, though:

    For the version, did you consider using `dev/urandom` to generate your random numbers? That would give you much stronger random numbers, suitable for more secure use. For example, you could use `$(( $MIN + $(od -An -N2 -i /dev/urandom) % ($MAX - $MIN + 1) ))` to generate an integer between MAX and MIN (and then divide to get it within your 0–1) range).

    That's the basic approach to randomness I take in (passgen.codesections.com/)

  21. @besserwisser
    <mostly_joking_self_promotion>
    Well, in that case, I've written a password generator you should try!

    is a CLI app to generate secure passphrases that are easy to type (for when you can't paste). And it follows the , and lets you pipe it's output to standard-out (or, optionally, have it in your clipboard). passgen.codesections.com/

    </mostly_joking_self_promotion>

  22. @tek @_cr0_tab

    I'm a huge fan of (passwordstore.org/). It's primarily a CLI app, but it also has several GUI clients, which might be better for a 101 space.

    <self_promotion>Also, if they'd be interested in a password *generator*, I wrote , which generates secure, memorable/pronounceable passwords using a user-configurable set of wordlists (by default, the wordlists from the EFF) Fully open source, of course

    passgen.codesections.com/

    </self_promotion>

  23. @Artek @unicornfarts

    <self_promotion> Even if you don't use a password manager, could I interest you in a password *generator*? I wrote , a password generator that creates secure passphrases that are easy to type (for those times when you can't just copy and paste). And, if you ever do use or another password manager, plays nicely and pipes it's output to standard-out (or lets you copy it)

    passgen.codesections.com/

    Fully , of course.

    </self_promotion>

  24. @thor

    I recently moved from KeePassXC to (passwordstore.org/), and have been incredibly happy with it.

    (Its simplicity was actually what inspired me to write , (passgen.codesections.com/) which plays nicely with pass—you can generate a passphrase with passgen and pipe it right into pass.
    Of course, pass can generate its own passwords, but I wanted more flexibility)

  25. @Jamest @greyone @ThatTupperKid

    <blatant_FOSS_self_promotion> If you're changing to a better FOSS password manager, you might also be interested in the FOSS password generator that I wrote, . The hook with it is that it generates passphrases that are super secure & also easy to type when, for whatever reason, you can't paste from your password manager. passgen.codesections.com/</self_promotion>

    Glad you're staying!

  26. @gwmngilfen @timapple @mooshoe @nextcloud plug for , the command line tool I wrote that generates secure, easy-to-type passhrases. I wrote it for those times when you can't copy/paste from your password manager—with pen and paper, that's *every* time. So passgen seems like an especially good fit for your use case.

    passgen.codesections.com

  27. @[email protected] @[email protected]

    Are you looking specifically for blogging *service* alternatives? Because blogs themselves are very easy to self-host, and there are a lot of good options. Off the top of my head:
    * Netlify
    * GitHub pages
    * GitLab pages
    * Neocities
    * Wordpress.org

    And the first few can all be combined with open-source static site generators (, , , , etc.).

    My own blog (codesections.com/blog) is an example of this stack (Gutenberg + Netlify)

  28. @hinterwaeldler The xkcd example is actually true! (with some caveats)

    The same idea is what powers the CLI I wrote, , which generates xkcd-style passwords with insanely high entropy (perfect for when you can't paste from a password manager.) passgen.codesections.com/

    I blogged about the details a couple weeks ago (codesections.com/blog/how-secu), but the short version is that it depends on how many *words* are on the list you use to generate the password—not how many letters are in each word