Hammerheart

joined 1 year ago
[–] Hammerheart@programming.dev 1 points 3 months ago

I find it easier using my pinky to hit ctrl than taking my fingers off the home row to use the arrow keys.

[–] Hammerheart@programming.dev 2 points 3 months ago* (last edited 3 months ago) (2 children)

ctrl-b: move cursor back one character

ctrl-f: move cursor foward one character

ctrl-d: delete character under cursor

[–] Hammerheart@programming.dev 7 points 4 months ago (2 children)

Isnt that what stash is for?

[–] Hammerheart@programming.dev 1 points 4 months ago

Vimgolf is really cool, thanks for sharing

[–] Hammerheart@programming.dev 6 points 4 months ago

what do you mean by the Fuck you pay me thing?

[–] Hammerheart@programming.dev 1 points 4 months ago (1 children)

How do I trouble shoot a broken tray icon in swaybar?

[–] Hammerheart@programming.dev 0 points 4 months ago (1 children)

Oof, that paywall. Right in the balls.

[–] Hammerheart@programming.dev 2 points 4 months ago

I may actually have a hope of remembering how to access elements of an array in bash now!

[–] Hammerheart@programming.dev 1 points 4 months ago (1 children)
[–] Hammerheart@programming.dev 1 points 4 months ago

The benefit is you don't have to use windows. Obviously, it's not a trade off that's going to satisfy everybody.

[–] Hammerheart@programming.dev 1 points 4 months ago

Its pretty cool he mentioned the work of doug engelbert. I recently finished a book called 'what the dormouse said: how the 60s counterculture shaped the personal computer.' Kay's comment makes me feel that was not just a bit of trivia, but a glimpse into the potential of computing that is tsill yet to be realized.

[–] Hammerheart@programming.dev 2 points 4 months ago* (last edited 4 months ago)

I just want you to know you weren't screaming into the void. Look at my new main.py:


from pathlib import PurePath


from Layout import Layout


DEFAULT_FOLDER = PurePath("/home", "mike", "bg")
WATERMARK_DIR = Path(Path(os.getcwd()).parent, "assets", "img")


def main() -> Layout:
    return Layout()

if __name__ == "__main__":
    main()

(I know I still need to change those folder defaults, but I am still riding the high of getting all that layout stuff into Layout.py and it working. I spent a couple hours today struggling, wondering why I was just getting a blank screen, when i realized i forgot to call .grid() on the frame that held all the widgets! So it was just rendering a blank window. )

view more: ‹ prev next ›