gomp

joined 1 year ago
[–] gomp@lemmy.ml 1 points 2 days ago* (last edited 2 days ago) (1 children)

You can use OnFailure in your .service file if you want some thing to happen when that specific service fails, but I don't know if there's a blanket way to tell systemd to notify via email when any failure happens (I wouldn't mind a desktop notification... will investigate)

[–] gomp@lemmy.ml 14 points 3 days ago (3 children)

I'd recommend learning/using systemd timers instead (well, if you are on inux and your distro uses systems)

[–] gomp@lemmy.ml 11 points 4 days ago

I guess I'll worry about this in 2 weeks then

[–] gomp@lemmy.ml 7 points 4 days ago

ebay, ebay, ebay (and also pcpartpicker).

Unless you want to frag people at 4k@140Hz in the latest AAA game, you probably don't need the latest generation components (and I'd say your requirement are quite low here, consider how the only thing you complain about is storage space).

Unless you really want to assemble everything by yourself, consider buying one of the second-hand, previous-gen gaming rigs on ebay (but watch out for scams!). Even if you do want to assemble the PC yourself, consider buying used parts on ebay (or buying a full PC to cannibalize reselling the excess).

What are the specs of your current rig? Except for storage, are you satisfied with how it runs? How much storage do you need for the projects you are working on? How much to archive things? Do you want to do anything about backups? Is a full size tower ok? How good a video do you want? What is your budget?

[–] gomp@lemmy.ml 27 points 5 days ago

Well... I'd rather say It's the only reason why we still care about Mozilla and put up with their crap :)

[–] gomp@lemmy.ml 27 points 5 days ago (3 children)

It's quite easy to get rid of all that crap: just come living in the EU

[–] gomp@lemmy.ml 4 points 1 week ago

The problem with Chinese EVs is that they show it’s possible to innovate, keep prices down, and mass produce.

It's not only possible, it's easy: you just need terrible labor and environmental standards, poor welfare, cheap access to raw materials, and tons of state subsidies :)

It's interesting to note that "we" knew all along it would end like this but just couldn't resist moving/outsourcing production to China nor investing in China's fast-growing economy.

"We" were chasing short-term profits and China was playing the long game. Apparently, both parties won, each at their own game.

Stop making $70K SUVs and start making $20K Taurus and Escort EVs. You did it once. You can do it again.

The cost of batteries is (relatively) higher for cheap vehicles, so that's the segment where it makes the most difference.

[–] gomp@lemmy.ml 82 points 1 week ago

I took notes for the benefit of anyone who doesn’t like their info in video form.

I love you.

[–] gomp@lemmy.ml 8 points 1 week ago (1 children)

Kensington? I don't think an air tag can actually prevent theft (if they see it they'll remove it - if they don't see it they'll still steal your stuff)

[–] gomp@lemmy.ml 5 points 1 week ago (1 children)

But it has no ads

[–] gomp@lemmy.ml 1 points 1 week ago* (last edited 1 week ago) (1 children)

Reading https://codeberg.org/river/river/src/branch/master/protocol/river-layout-v3.xml it seems to me that what I want to do is actually not possible in river, even writing a custom layout manager...

IIUC the protocol works like this: river asks "how should I layout N windows in HxW screen?" and the layout replies "window1: H1xW1 at offset X1,Y1; window2: H2xW2 ...", so there is no way for the layout manager to identify specific windows and, in my use case, put all the text editors on the left side of the screen etc.

Did you have some other approach in mind when you suggested river? (I may very well be over-complicating things and not seeing a more straightforward solution)

[–] gomp@lemmy.ml 2 points 1 week ago (3 children)

TBH I really liked the idea behind river, but does it have tabs? Also... I would need to write my own custom layout, wouldn't I?

BTW: are there other WMs that are modular like river?

 

I want to have my screen (the "dev" workspace) split in three "zones":

  • on the left side, a tabbed group with all the text editors I start (ie. if I start a new one, it goes there in a new tab)
  • on the top-right, a tabbed group of whatever many terminal I feel like launching
  • on the bottom-right, my browsers (and possibly other stuff), in a group without tabs
  • a key combination to cycle between: all three "zones" visible, text editors on the left - terminal on the right, text editors on the left - browser on the right, fullscreen browser

So far I've been looking at hyprland (for no particular reason except the hype) and I don't think I can do the above with it (I am by no means an expert, so... maybe it can actually be done?).

Do you know of any WM where it would be possible? (possibly, one with automatic splitting a-la bspwm, that I would use for the other workspaces)

 

I've been looking around for a scripting language that:

  • has a cli interpreter
  • is a "general purpose" language (yes, awk is touring complete but no way I'm using that except for manipulating text)
  • allows to write in a functional style (ie. it has functions like map, fold, etc and allows to pass functions around as arguments)
  • has a small disk footprint
  • has decent documentation (doesn't need to be great: I can figure out most things, but I don't want to have to look at the interpter source code to do so)
  • has a simple/straightforward setup (ideally, it should be a single executable that I can just copy to a remote system, use to run a script and then delete)

Do you know of something that would fit the bill?


Here's a use case (the one I run into today, but this is a recurring thing for me).

For my homelab I need (well, want) to generate a luhn mod n check digit (it's for my provisioning scripts to generate synchting device ids from their certificates).

I couldn't find ready-made utilities for this and I might actually need might a variation of the "official" algorithm (IIUC syncthing had a bug in their initial implementation and decided to run with it).

I don't have python (or even bash) available in all my systems, and so my goto language for script is usually sh (yes, posix sh), which in all honestly is quite frustrating for manipulating data.

 

After years of my desktop environment (kde) being configured the same way, I tried enabling auto-hiding in my panel and I quite like the extra screen estate.

Now, the only reasons why I have a panel in the first place are the clock and the system tray (I don't use the ~~start~~ applications menu and I don't care for the task manager) so I've started wondering if I could completely dispose of the panel.

Do you know of any launcher (I use krunner but switching to something else is fine) that satisfies (or can be configured to satisfy) the following?

  1. shows the current date/time
  2. integrates a system tray
  3. launches applications
  4. does math, unit conversion and currency conversion
 

I've been looking for something to replace the google chromecast that is attached to our TV.

I've tried Kodi out, but the main use case for the TV set is a 70+ yo person watching netflix and there is just no way they will be better off with Kodi than with the stock netflix app.

Besides supporting netflix, being easy to use, and providing significantly better privacy than the chromecast does, the device would ideally:

  • support other mainstream streaming (amazon, disney, ...) for when my people get tired of netflix
  • support a DVB-T2 usb stick (directly, or through IPTV: I can put the stick in a different machine)
  • support youtube without ads (through an adblocker and possibly sponsorblock, or maybe using invidious)
  • possibly, support local public TV streaming (eg. BBC)

I have a PC set aside that should be more than capable enough (intel N100), but I'm open to getting new hardware if needed. Also, it doesn't matter if the system is not very user friendly to setup (eg. if it needs to be nixos), but once it's setup it should be easy to use and relatively straightforward to update/maintain.

I guess a FOSS android TV would be ideal, but.. is there any? (I see Lineage supports the Google ADT-3, but that is basically unobtanium, at least where I live).

17
submitted 10 months ago* (last edited 10 months ago) by gomp@lemmy.ml to c/fdroid@lemmy.ml
 

The app at my gym sucks: there is no checklist of what exercises you have done and no tracking of how much weight you used. Plus, for whatever reason, it wants access to my location.

I've found a number of alternatives on F-Droid, but each of the six or so I tried was completely unusable (some seemed unfinished alphas, others are probably too old for my android version).

Is there one app that you use and would recommend?

What I'm looking for is:

  • At home: I setup my programs (different ones for different days)
  • At the gym: I can select a program, check off the exercises while I do them (the order I do them on depends on where there is fewer people at the gym), and log things like if I managed all the sets/reps, how much weight I used, and how long I exercised for (for things like the tapis roulant).
  • Bonus points if I can also track my weight in the same app, and if the app can export/sync the data or produce some kind of graphs/statistics based on it.

Thanks!

 

This may be OT since strictly speaking it's about hardware... I trust it is ok to post it given the spirit of the community, but have my apologies and feel free to remove it if it's not.

I'm looking to replace my old Bose QC25, since they have recently died (after a long a fulfilling life), but it seems everything nowadays is bluetooth (which I don't mind) and require some proprietary app to turn ANC on/off (which I do mind... are physical buttons/switches become too expensive to include in your overpriced earbuds?).

Anyway... do you know of any headphones/earbuds that meet the following?

  1. can be powered via wire or have batteries that last 12+hrs (long-haul flights)
  2. have decent noise cancelling
  3. don't require me to install a apps or can be used with some open source app (possibly with full functionality and straightforward to setup)
  4. are not overly expensive (I have to buy 2 pairs and I'll only use them a few times a year when I fly)
 

Is there an extension that warns you when you are wasting time reading ai-generated crap?

Case in point, I was reading an article that claimed to compare kubernetes distros and wasted some good minutes before realizing it was full of crap.

view more: next ›