• 15 Posts
  • 283 Comments
Joined 4 years ago
cake
Cake day: January 15th, 2021

help-circle
  • vort3@lemmy.mltoLinux@lemmy.mlCurate your shell history
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    edit-2
    9 days ago

    I comment the commands that I want and then use vim to remove ones without comments.

    For example, I run:

    longandannoyingcommand -f1 -f2 -f3 # keep, does something useful
    

    Usually comment explains what the command does so I can find it by description using fzf history search. And then you can easily find all lines that contain (or do not contain “# keep”) in your history to remove or keep.










  • Great release.

    However I’m still waiting for snapping/alignment/distribution to be usable. Right now, some things override others (even when holding a modifier to constrain node to an axis, it will snap to things that are not aligned with the axis), and because of visual vs geometric bounding box when resizing things it will snap to align with other shapes but when you let go of LMB, the object won’t be aligned anyway (so what was the point of snapping in the first place).

    Also sometimes things will snap to a guideline from a mile away, when things I’m trying to move are nowhere close to a guideline.

    I’m coming drom other software (specifically, Corel Draw) and understand it’s not fair to compare different tools and demand from one to mimic the other, especially when Inkscape is FOSS and Corel Draw is a commercial product made by paid developers. And you could also say most of things I’m complaining about are muscle memory things because I’ve been using Corel for years and need to let go of old habits and get used to Inkscape if I want to switch to it rather than demand Inkscape to be more Corel like.

    But I still believe Corel does some things just right. I pretty much never needed to turn off snapping in Corel and “it just worked”™, objects would never snap to a guide on the other side of the screen and constrained nodes (when holding Shift) would still both be constrained to axis and snap to objects, meaning it snaps on the intersection of the other object and the axis I’m moving along.

    Also if I’m resizing a box and the edge snaps to a guide, when I let go, in Corel the edge of the box will 100% be aligned with the guide, unlike in Inkscape.

    I’m pretty sure some of these issues are because of Geometric vs Visual bounding box differences, and it’s good we can at least choose between the two: Corel can’t even deal with visual bounding boxes IIRC. You work with geometric bounding box only.

    I think adding the toggle somewhere in the toolbar would be a great thing so that we don’t have to go into the menu and find it every time, maybe even a hotkey to toggle between the two.









  • Sorry I’m not a dev and can’t answer your questions, just got curious: you’re asking how things like autocompletion would work with Raylib. What’s Raylib, and why would it need something special and not work the same way everything else works?

    I don’t do development but I still like coding in Python and like to know about development.



  • For future readers:

    Shortcuts bar is still broken, but at least I found some consistency in how it appears and disappears. So here’s how to play CDDA on android.

    Launch the game. Shortcuts bar will be invisible. Don’t touch anything, let the game fully load into main menu.

    Now do the “back” gesture of your android by swiping from side edge of your screen.

    Nothing will happen at first. Now, use the virtual joystick: swipe left or right on the screen. Shortcuts bar will become visible.

    Enjoy the game!

    If at any point of the game you use the “back” gesture, virtual keyboard will appear, and shortcuts bar will disappear. At this point, your only option is to use “back” gesture again to hide the keyboard, double tap, save and quit, close the game by dismissing it from recents, and do everything again. Note that when it disappears, it’s not just invisible, it actually isn’t there and you can’t use TAB / BACKTAB even if you know their position. On the other hand, when you launch the game, it is invisible, but you still can press TAB / BACKTAB by guessing their position on the invisible shortcuts bar.