Skip Navigation
Does the keyboard I want exist?

This is admittedly a lazy post where I show that I haven't done much research.

Whenever I start searching around online, I find tons of smaller companies selling ergo keyboards or parts for keyboards, but they are always very pricey and don't match the layout I want. I quickly give up since it can take long to search store-by-store online.

The keyboard of my dreams has:

  1. All (104) the keys. This means arrow keys and as numpad. I like the layout of my current keyboard (below). I guess this is called a "full keyboard"?
  2. Mechanical and with plenty of clackedy clack in the keys.
  3. Corded with USB (I still miss PS/2 :))
  4. Is curved, similar to this one.
  5. Has the "Y" key on the left side of the gap! This is my biggest sticking point. I have realized that I type the "Y" key with my left hand 99% of the time and I don't want to change.
  6. I am also willing to investigate split design keyboards if the "Y" is on the left and a numpad can exist separately which I could put to the right of my mouse. But still I'd prefer that to be attached.
  7. I don't care about RGB or lights or much else. Take it or leave it.

For reference, this is my current keyboard and I actually quite love it. I just wish it was curved.

11
(In Python) Can you save an object that is in memory to disk and reload it at a later time?

Background: I am working on a Python project where, given a set of input files (text/image/audio), it generates an executable game. The text files are there to describe the rules of the game.

Currently, the program reads and parses the files upon each startup, and builds a Python class that contains these rules, as well as links to image/audio files. This is fine for now, but I don't want the end executable to have to bundle these files and re-parse them each time it gets run.

My question: Is there a way to persist the instance of my class to disk, as it exists in memory? Kind of like a snapshot of the object. Since this is a Python project, my question is specific to Python. But, I'd be curious if this concept exists anywhere else. I've never heard of it.

My aim is not to serialize/de-serialize the class to a text file, but instead load the 1's and 0's that existed before into an instance of a class.

7
What is your linux backup strategy?
  • Dotfiles are handled by GNU Stow and git. I have this on all my devices.

    Projects like in git.

    Media is periodically rsynced from my server to an external drive.

    Been meaning to put all my docker-composes into git as well...

    I don't back up too much else.

  • Ok so coffee is made from coffee beans. And beans are *also* made from beans. Why is nobody making, like, black bean coffee?

    Why doesn't this exist?

    Take dried beans, roast 'em, grind 'em, and brew some bean juice?

    I have no idea if it would taste good or not, but we don't know if we don't try.

    Edit: I need to see what dried beans I have and maybe go shopping. I will give this a try with a couple different types of beans and report back if I fart or not.

    94
    I want a soundbar

    I've wanted a soundbar for a couple years now. Every time I look for one, I don't find anything that meets all my requirements, or I get overwhelmed looking and just give up.

    My setup:

    • We have an SBC hooked up to my dumb TV through HDMI. HDMI handles both audio and video for the computer. We never use any other input to the TV, so this is the only audio concern here. This is currently a Radxa Rock 5b, but I'm considering replacing it with an x86 NUC or mini-PC.
    • We have a cheap little record player nearby. This sounds fine but could really stand to have better speakers attached. It has stereo RCA output.

    What I want:

    • All sound to be output through one speaker/set of speakers. Ideally it would be a soundbar, since the TV is mounted above a fireplace and we can run the soundbar along the mantle.
    • If the speakers have to toggle between inputs to get sound between the PC and the record player, so be it, but it would be much nicer if the two were mixed. We'll never have a record playing and have something on the TV, anyways.
    • I'd prefer not to have any extra cables coming from the PC to the speaker. I'm trying to avoid any wires showing, and so I'd like to keep the PC audio through HDMI if possible.

    I'd love to know if such a product exists. Please, internet denizens, give me your recommendations if you have any.

    8
    Suggestions for improving my watering setup?

    Current setup: We have four beautiful hens. We have a small (https://s3.amazonaws.com/images.ecwid.com/images/17432132/1357042818.jpg) metal container right now in our chicken run. It's set up on a small wooden platform that I built, and it sits on top of a water heater that turns on/off via a timer during the cold months (similar to this but different brand/model https://www.picclickimg.com/40EAAOSwewpmTaBO/Chicken-Water-Heater-Heated-Chicken-Waterer.webp). It works, but it's not a great solution.

    Problems:

    • It is maybe 1.5 years old max, and it already starting to rust along the bottom where they drink from.
    • 3 gallons is ok, but we don't have running water out near the chicken run, and so we need to bring this back and forth to the house to fill it up. It's fine in warm months (can fill from the hose), but it sucks in the winter since I need to bring it inside and fill it in the tub in our basement.
    • Even 4-5 inches off the ground, they kick a lot of dirt, feathers, and probably chicken shit in here. I spray it out clean with each re-fill.
    • The heater barely works to thaw out the bottom so they can drink. It works, but often I find I still need to go out with some warm water to break up the ice a bit.

    What I'd like:

    • Bigger container
    • Doesn't rust
    • Rain water collection?

    I'm open to any suggestions on products or DIY projects to help improve this for our chickens. Below is a picture of our chicken run so y'all can see what I have to work with.

    https://imgur.com/a/D0SmkYn

    So, cool chicken-havers of Lemmy... Do you have any suggestions on how I can up my game here? Especially any recommendations on how I can do something to collect rainwater for this. Any guides that may have worked well for you. I'm open to any information.

    0
    Can anyone help me figure out Frigate/go2rtc

    cross-posted from: https://lemmy.world/post/15144957

    > Can anyone help me figure out Frigate/go2rtc > > I have two cameras in Frigate. > > One is a Raspberry Pi 3 running Monocle server, and this stopped working in Frigate some time back (driveway). > The second is a Galayou G7 (nursery). > The nursery camera is the one I am concerned about with this post. > > Problem: > Up until a month or two ago (I must have ran an update but I don't know) the audio from the Galayou camera worked in Home Assistant. I'd like to get that working again. > Some searching led me to try setting up go2rtc in my config. > > Here is my config before making any changes: > > mqtt: > host: 192.168.1.10 > cameras: > nursery: > ffmpeg: > inputs: > - path: rtsp://redacted:redacted@192.168.1.241:554/live/ch1 > roles: > - detect > detect: > width: 1280 > height: 720 > driveway: > ffmpeg: > inputs: > - path: rtsp://192.168.1.240:554/recording/7824851880350319106/replay?trackid=8836591 > roles: > - detect > detect: > width: 1920 > height: 1080 > > > This currently provides only jsmpeg video in Frigate. > If I add something like this to the end: > > go2rtc: > streams: > nursery: > - rtsp://redacted:redacted@192.168.1.241:554/live/ch1 > > this adds mse and webrtc as options in Frigate. But, mse plays only video, no audio. And webrtc loads neither audio nor video. > I have tried adding lines like - "ffmpeg:nursery#video=h264#audio=aac" and also with opus but to no avail. > > > Finally, if I ffplay rtsp://redacted:redacted@192.168.1.241:554/live/ch1 it loads audio/video without a problem. > I'm also able to connect via ONVIF at onvif://192.168.1.241:8899 from onvif-gui. > > So, something is wrong in my Frigate config, and I don't know what. I'm hoping someone here is a little more familiar and can give me a pointer or two here?

    Update: Here is the fix, in case anyone comes across this later: go2rtc: streams: nursery: - "ffmpeg:rtsp://redacted@192.168.1.241:554/live/ch1#video=copy#audio=copy#audio=opus" webrtc: candidates: - <server-ip>:8555 The webrtc section got webrtc to work in the Frigate and video back in HASS. The #audio=copy#audio=opus got audio working in webrtc.

    4
    Can anyone help me figure out Frigate/go2rtc

    I have two cameras in Frigate.

    One is a Raspberry Pi 3 running Monocle server, and this stopped working in Frigate some time back (driveway). The second is a Galayou G7 (nursery). The nursery camera is the one I am concerned about with this post.

    Problem: Up until a month or two ago (I must have ran an update but I don't know) the audio from the Galayou camera worked in Home Assistant. I'd like to get that working again. Some searching led me to try setting up go2rtc in my config.

    Here is my config before making any changes: mqtt: host: 192.168.1.10 cameras: nursery: ffmpeg: inputs: - path: rtsp://redacted:redacted@192.168.1.241:554/live/ch1 roles: - detect detect: width: 1280 height: 720 driveway: ffmpeg: inputs: - path: rtsp://192.168.1.240:554/recording/7824851880350319106/replay?trackid=8836591 roles: - detect detect: width: 1920 height: 1080

    This currently provides only jsmpeg video in Frigate. If I add something like this to the end: go2rtc: streams: nursery: - rtsp://redacted:redacted@192.168.1.241:554/live/ch1 this adds mse and webrtc as options in Frigate. But, mse plays only video, no audio. And webrtc loads neither audio nor video. I have tried adding lines like - "ffmpeg:nursery#video=h264#audio=aac" and also with opus but to no avail.

    Finally, if I ffplay rtsp://redacted:redacted@192.168.1.241:554/live/ch1 it loads audio/video without a problem. I'm also able to connect via ONVIF at onvif://192.168.1.241:8899 from onvif-gui.

    So, something is wrong in my Frigate config, and I don't know what. I'm hoping someone here is a little more familiar and can give me a pointer or two here?

    2
    Free Embrighten Add-On Switch

    https://www.amazon.com/dp/B07RR9XBXJ?ref=ppx_yo2ov_dt_b_product_details&th=1

    I ordered one of these a few months back.

    Then I installed it.

    Then I realized that this wasn't the same Zigbee Dimmer switch I was already using elsewhere, and that this wouldn't work for me :)

    It's now past the return window for Amazon. I have zero use for this.

    tl;dr - Me dumb. If you live in the continental US and want this, I will pay the couple bucks to ship it to you so I can get it off my table.

    0
    Program to send keystrokes to a remote PC

    Here is my problem:

    Our TV is connected to a SBC running a GNOME/Wayland desktop, where we watch Jellyfin and sometimes Netflix/Hulu through Firefox.

    I'd like to be able to trigger pause/play (space button) from Home Assistant, which is running on my home server.

    What I am thinking of would be a server/daemon running on the TV computer that my home server would be able to send keys to via a CLI tool (in this case the space key). I am surprised to find that I cannot locate any program like this.

    Can anyone provide any suggestions here?

    Other ideas:

    • Jellyfin's HA integration doesn't let me pause/play from it, and that still doesn't handle Hulu/Netflix.
    • I was able to get this working through SSH and there are tools like ydotool/wtype here that work, but I found waiting for SSH to be a bit slow to connect.

    Update: I got frustrated and coded up a solution: https://gitlab.com/neilsimp1/kbsrv

    10
    Help with trouble.nvim - I want to cycle through modes

    Hi

    As the title suggests, I want to set something up so that while trouble is_open(), I have a keyboard shortcut that cycles through the various modes listed at https://github.com/folke/trouble.nvim/tree/main#commands.

    I see how I can assign shortcuts to jump directly to the different modes, but I want to remember only one shortcut.

    Writing a bit of lua to do this is easy enough, but I can't find any way to see what mode it's currently in, in order to write some function that toggles to the next one.

    Is there any way to accomplish this?

    Bonus question: Is there any way to get trouble to display on screen what mode it's currently in? Such as at the top or bottom of the trouble panel.

    6
    forum.openwrt.org OpenWrt One - celebrating 20 years of OpenWrt

    @blogic posted following on the OpenWrt mailing list for developers: tl;dr In 2024 the OpenWrt project turns 20 years! Let's celebrate this anniversary by launching our own first and fully upstream supported hardware design. If the community likes the idea outlined below in greater details, we w...

    OpenWrt One - celebrating 20 years of OpenWrt
    0
    Can anyone tell me what PC will draw more power?

    This is probably a stupid question, since 2 > 1, but here goes...

    I have a home server. It's a ComputerLINK 1U rack server I bought off eBay some years back. It has 2 CPUs, Intel Xeon E5645 2.4Ghz(https://ark.intel.com/content/www/us/en/ark/products/48768/intel-xeon-processor-e5645-12m-cache-2-40-ghz-5-86-gt-s-intel-qpi.html). It also has two 750W power supplies, but I have one unplugged. It also has RAM and 5 HDDs.

    I also have the guts of my old desktop PC. The CPU is an AMD FX8350 4Ghz(https://www.amd.com/en/products/cpu/fx-8350). The motherboard is some ASUS model, I forget and don't want to check right now. A potential PSU would be 500-600W range.

    My question: I am considering moving to use my old PC parts as a new home server. One benefit is to cut down on the noise (rack mount PC fans are LOUD). But the real gain I would want is on power savings. So, if RAM and the multiple HDDs all stay the same, but I moved them to the AMD/ASUS CPU/motherboard, can anyone definitively say this will be more power-efficient?

    I am not very knowledgeable when it comes to electrics or power consumption, and am just looking for someone to confirm for me. I am aware that the AMD CPU still isn't an excellent choice for an always-on machine, but it could be an improvement.

    14
    First time grower, getting flowers but also lots of yellow leaves. Tips?

    Hi. I have two plants I've been growing all summer on my back patio. One is a Trainwreck, the other it either Trainwreck or Lamb's Breath. I am not sure which is which.

    The plants have grown pretty well all summer, are about 5.5 feet tall, and are starting to flower. One especially, the other only has a few little spindly guys at the nodes.

    Anyways... I've had a few yellow leaves and just yanked em off all summer without too much worry. Now though, with all the flowers budding, I am seeing a ton more yellow leaves and it's making me worry.

    I am using fish fertilizer and have been applying once a week.

    Should I add anything else? Should I not worry about it? My regular gardening knowledge says the plants need nitrogen but I'm afraid to use any other fertilizers since I've killed cannabis plants in the past this way.

    Edit: Pics https://imgur.com/a/AxTyRF3 https://imgur.com/a/tEjYJSF

    0
    Is there any reason I cant just run the realtime kernel?

    I have a Scarlett Solo and I have found that with the linux-rt kernel, I get no noticeable latency recording audio, whereas there's a few ms delay on the main linux kernel.

    I am able to run other applications and play games just fine on linux-rt. Is there any reason not to just make this my default?

    2
    Can I remove this pipe coming out of my lawn?

    We moved in to our house a couple years ago and were not told too much about a pipe that sticks out of our backyard.

    We are on a septic system and this pipe is sticking out from our leech field. The other houses on our block all have similar setups yet none (that I know) have a pipe coming up like ours.

    It was suggested to me that this may be safe to remove, or at least remove, cover the whole for a few weeks, and as long as there's no issues, then remove.

    It's not attached to anything and I can pretty easily pull it out and put it back in, although I've tended not to touch it much.

    Pipe: https://imgur.com/a/yrd6pYN Hole in the ground: https://imgur.com/a/NMXurUH

    Can anyone provide any insight here please?

    26
    Linux Audio @waveform.social spacemanspiffy @lemmy.world
    I just want drag-n-drop drum riffs, how can I do this?

    I've been struggling to get Superior Drummer working with Ardour through yabridge. (It seems to work but I get no window to view SD in so I'm not sure?) However, even if I launch SD through Bottles, I have no drum sounds installed since I had trouble getting the Sound Libraries installed.

    That is besides the point, though, as I don't necessarily need Superior Drummer specifically... My goal is to be able to pick from a list of drum riffs, set a tempo, and drop them into Ardour some how to then record guitar over. Bonus if there are any good metal drum tracks to use, and bigger bonus if there are options outside of 4/4.

    I really know nothing in this space and can only use Ardour enough to record my guitar input. Is there any software out there that can make this simple for me?

    (I prefer free software but am willing to torrent and try any Windows stuff if need be).

    1
    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/)SP
    spacemanspiffy @lemmy.world
    Posts 20
    Comments 249