mccd

joined 1 year ago
[–] [email protected] 4 points 1 month ago

Sure:

bar {
    position top
    mode dock
    strip_workspace_numbers yes
    gaps 5
    status_edge_padding 0
    # When the status_command prints a new line to stdout, swaybar updates.
    status_command while printf \"%s :: %s" \"$(date +'%H:%M')\" \"$(cat /sys/class/power_supply/BAT0/capacity)%\"; do sleep 60; done 
    colors {
        statusline #f6f6f6
        background #272727
        inactive_workspace #272727 #272727 #f6f6f6
        focused_workspace  #f6f6f6 #f6f6f6 #272727
    }
}
[–] [email protected] 4 points 1 month ago (1 children)

I'm a big fan of the TWM/plan9 look, so it makes sense. Thanks! :)

[–] [email protected] 8 points 1 month ago

My latest setup, where I attempt to use Nix without home-manager and with rc-shell.

Cool fact about this setup is that I have a custom setup for Kakoune for note-taking, where I can take notes in any file format by adding a [cf:tag] or [:tag]. If [cf:tag] is added to a file, if I mention that tag anywhere it will be highlighted and I can click on it (by help of alacritty hints) to got that specific file.

General info:

  • OS: Nix
  • Shell: rc
  • WM: sway
  • Applications: cat info.txt, tig, kakoune, custom bemenu, swaybar
  • Fonts: Iosevka SS13 Extended, Iosevka Aile
86
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
[–] [email protected] 2 points 2 months ago

You might have some luck at https://deskto.ps/

[–] [email protected] 1 points 4 months ago

Seems the download button is broken? Would love to read this but I can't.

[–] [email protected] 3 points 10 months ago

Oh neat, TIL about old.lemmy.sdf.org. That's great!

[–] [email protected] 2 points 10 months ago (2 children)

Neat, how do you manage lemmy? Any particular client you use?

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

My feeling for Go and why I went with it for my project is that I think it is the language that sucks the least for server development since I value simplicity, decent performance, fast feedback loop, portability, offline docs and good tooling. It also has a big userbase, and I have a bunch of obscure tooling elsewhere so I felt I didn't want to introduce more esoteric choices. But it felt a bit sad that it was the best option.

I also looked at Elixir but found the layers of abstractions a bit intimidating and I heard stories that compilation times becoming long.

Ocaml ticks most of the boxes of what I look for, but the library ecosystem is immature for server development IMO.

Do you have any language you prefer?

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (3 children)

Yeah I'm very new to the language; I like the simple toolchain and network libraries but the way I need to reimplement a bunch of primitive functions surprises me a lot (no math.Max for ints ??). I feel productive in Go, but a part of me feels that is just because I'm outputting so much boilerplate haha.

If I could have ocaml with the toolchain and library ecosystem of Go, I'd be happy.

17
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Hey everyone!

Recently managed to figure out my memory issues, had a corrupt ram that I needed to replace. Openbsd has now been running great and all the memory issues are gone.

I fell in love recently with dithered images, it creates an amazing aesthetic.

Setup:

OS - OpenBSD
Term - Xterm
Shell - sh
WM - cwm
Font - Go Mono
Applications - imv, vim, xclock

My vim theme is a slightly modified version of the default quiet theme. Just changed the background and comment color.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

It was suggestions from the subreddit and irc that it's probably a harddrive failure. The kernel devs wanted some more details, but at that point I had already deleted OpenBSD and gone back to Alpine. I might give it a spin again later and if the error happens, I'll be sure to include the full panic report.

Thanks for suggesting smart, I gave it a spin and it seems the harddrive is healthy?

$ doas smartctl -H /dev/nvme0n1
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

My new suspicion is that I did something funky with the kernel parameters and fstab to try and speed up the system which made it panic.

EDIT: Welp, the issue was with the RAM. Now that's replaced, all is well.

[–] [email protected] 2 points 11 months ago

Really nice. We're in the process of setting up office tooling for my work, and there is little competition for Google Suite, since it's cheap as hell and includes so much. Some competition in the space is very welcome.

One thing that scares me about proton is that git send-email seems to not work great (at least according to git-send-email.io). Anyone knows if that is still accurate?

[–] [email protected] 3 points 11 months ago (2 children)

I wish haha. I love their work and philosophy but kept getting kernel panics when using OpenBSD. Support told me it's a harddrive failure, but my system works just fine with Linux. Oh well, Alpine is nice in that loksh, doas, cwm are all well supported and the installer feels very similar to OpenBSD

8
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Presenting my new setup :)

Applications Xclock, xterm, qutebrowser, vim, mandocs, pfetch

Vim theme: Default quiet theme with modified background

Font: Iosevka SS13 E X T E N D E D, Iosveka Aile

view more: next ›