appel

joined 1 year ago
MODERATOR OF
[–] [email protected] 7 points 4 months ago (1 children)

Possible alternative for Whatsapp is to run matrix and a WhatsApp bridge, then all of your messages will be stored in the WhatsApp bridge, and you can access them via a matrix client. Pretty long winded though. As for Android auto, I can't afford a fancy new car with a screen in it so I just mount my phone on the dashboard and use it like that with no Android auto.

Strikes me that there should be some kind of provisioning tool similar to Ansible for Android devices, what does industry do when they need to automate provisioning of thousands of devices for POS, retail, barcode scanning, delivery drivers, etc.

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

Several of the ones listed on awesome-typst are similar, notably:

Not to knock the work you have done though

[–] [email protected] 5 points 4 months ago (3 children)

I was using a template like this several months ago, (in typst) I think someone had already ported awesomecv beforehand.

[–] [email protected] 3 points 4 months ago (1 children)

So e-commerce site? Or is it digital delivery only? Also I'm getting filtered by the captcha, how do you solve it?

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

Sellafield is leaking nuclear sludge due to decades of neglect and apathy; an entirely British problem

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

There is a neovim plugin with a Firefox companion extension that basically puts your neovim inside the textbox on the webpage. It's pretty crazy, and works with most text input fields.

https://github.com/glacambre/firenvim

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

The current Chinese state did not exist before WW2, so I think that comparison is a bit odd

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

Lemmy is developed by commies, they won't kick you off for organizing. But it is public so not the best for opsec.

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

Probably not directly responsible but there is a strong link between them in the gut-brain axis, the effects are likely bidirectional

[–] [email protected] 4 points 5 months ago (1 children)

Which nations would you not call shitholes?

[–] [email protected] 8 points 5 months ago (6 children)

Frankly man I find this very insulting and pretty racist. You don't have a good word to say about them eh?

 

I wanted to drop a comment on this post to try and incite some lib rage, and it seems to have been successful. We also got some free orientalism thrown in! What a bargain. Would appreciate some backup dunking on these fools.

 

Hi there,

Making a post to see if anyone has any ideas about the problems i'm currently having. I have installed Arch via EndeavourOS as a secondary OS on my work laptop (other OS is Win 11). The laptop in question is a thinkpad p15 v3, which has an i7 12700H, and the integrated Intel Alder Lake-P gpu. I'm using Gnome on wayland as my DE at the moment.

The only game I have been playing so far is Hollow Knight through proton (the native version had very bad input lag), and I have a couple of issues with it:

  • Performance, on battery power, is pretty bad, around 30-40 fps with low settings. When on AC, the laptop starts to get really hot (70 C) and the exhaust feels like a hair dryer, but performance increases only by 10 fps or so. I'm pretty sure I installed necessary drivers following the arch wiki page.
  • Audio, this is the major problem. Endeavour came with pulseaudio installed, which I removed and replaced with pipewire, pipewire-pulse, and wireplumber. When playing Hollow Knight the sound will often turn into crunchy 8-bit sounding stuff, which I thought was a buffer underrun, and I followed the fixes listed on arch wiki, but to no avail.

Now the audio has seemingly completely stopped working, in pavucontrol I have 5 output devices, but switching through all of them whilst playing audio from my browser still results in no sound through headphones. In the configuration, there is "Alder Lake-PCH-P High definition audio controller" and it remains "Off". When I switch it to "On", it switches back immediately. The pipewire services are running however.

If anyone has any tips that would be greatly appreciated

Some logs and configs:

pipewire.service status

Aug 07 15:50:24 hostname pipewire[1245]: spa.audioadapter: 0x56247cee8138: scheduling stopped node Aug 07 15:50:24 hostname pipewire[1245]: spa.alsa: hw:0,6: Channels doesn't match (requested 64, got 2) Aug 07 15:50:24 hostname pipewire[1245]: spa.alsa: hw:0,7: Channels doesn't match (requested 64, got 2) Aug 07 15:50:24 hostname pipewire[1245]: spa.alsa: hw:0,31: Channels doesn't match (requested 64, got 2)


wireplumber.service status

Aug 07 14:24:25 hostname systemd[1073]: Started Multimedia Service Session Manager. Aug 07 14:24:25 hostname wireplumber[1247]: [0:00:15.896869323] [1247] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found Aug 07 14:24:25 hostname wireplumber[1247]: [0:00:15.897124066] [1247] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info Aug 07 14:24:25 hostname wireplumber[1247]: [0:00:15.897162649] [1247] INFO Camera camera_manager.cpp:284 libcamera v0.1.0 Aug 07 14:24:25 hostname wireplumber[1247]: Object activation aborted: proxy destroyed Aug 07 14:24:25 hostname wireplumber[1247]: failed to activate item: Object activation aborted: proxy destroyed Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files Aug 07 14:24:25 hostname wireplumber[1247]: Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files


TLP config


TLP 1.5.0 --------------------------------------------

+++ Configured Settings: defaults.conf L0004: TLP_ENABLE="1" defaults.conf L0005: TLP_WARN_LEVEL="3" defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0" defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0" defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2" defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15" defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60" /etc/tlp.conf L0116: CPU_ENERGY_PERF_POLICY_ON_AC="power" /etc/tlp.conf L0117: CPU_ENERGY_PERF_POLICY_ON_BAT="power" /etc/tlp.conf L0152: SCHED_POWERSAVE_ON_AC="1" defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1" defaults.conf L0015: NMI_WATCHDOG="0" defaults.conf L0016: DISK_DEVICES="nvme0n1 sda" defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254" defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128" defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394" defaults.conf L0020: DISK_IOSCHED="keep keep" defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance" defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power" defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on" defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto" defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15" defaults.conf L0026: PCIE_ASPM_ON_AC="default" defaults.conf L0027: PCIE_ASPM_ON_BAT="default" defaults.conf L0028: RADEON_DPM_PERF_LEVEL_ON_AC="auto" defaults.conf L0029: RADEON_DPM_PERF_LEVEL_ON_BAT="auto" /etc/tlp.conf L0309: RADEON_POWER_PROFILE_ON_AC="low" /etc/tlp.conf L0310: RADEON_POWER_PROFILE_ON_BAT="low" defaults.conf L0032: WIFI_PWR_ON_AC="off" defaults.conf L0033: WIFI_PWR_ON_BAT="on" defaults.conf L0034: WOL_DISABLE="Y" /etc/tlp.conf L0329: SOUND_POWER_SAVE_ON_AC="0" /etc/tlp.conf L0330: SOUND_POWER_SAVE_ON_BAT="0" /etc/tlp.conf L0336: SOUND_POWER_SAVE_CONTROLLER="N" defaults.conf L0038: BAY_POWEROFF_ON_AC="0" defaults.conf L0039: BAY_POWEROFF_ON_BAT="0" defaults.conf L0040: BAY_DEVICE="sr0" defaults.conf L0041: RUNTIME_PM_ON_AC="on" defaults.conf L0042: RUNTIME_PM_ON_BAT="auto" defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon" defaults.conf L0044: USB_AUTOSUSPEND="1" defaults.conf L0045: USB_EXCLUDE_AUDIO="1" defaults.conf L0046: USB_EXCLUDE_BTUSB="0" defaults.conf L0047: USB_EXCLUDE_PHONE="0" defaults.conf L0048: USB_EXCLUDE_PRINTER="1" defaults.conf L0049: USB_EXCLUDE_WWAN="0" defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0" defaults.conf L0051: RESTORE_DEVICE_STATE_ON_STARTUP="0" /etc/tlp.conf L0514: RESTORE_THRESHOLDS_ON_BAT="1" defaults.conf L0053: NATACPI_ENABLE="1" defaults.conf L0054: TPACPI_ENABLE="1" defaults.conf L0055: TPSMAPI_ENABLE="1" /etc/tlp.conf L0087: CPU_SCALING_GOVERNOR_ON_AC="powersave" /etc/tlp.conf L0088: CPU_SCALING_GOVERNOR_ON_BAT="powersave" /etc/tlp.conf L0126: CPU_MIN_PERF_ON_AC="0" /etc/tlp.conf L0127: CPU_MAX_PERF_ON_AC="100" /etc/tlp.conf L0128: CPU_MIN_PERF_ON_BAT="0" /etc/tlp.conf L0129: CPU_MAX_PERF_ON_BAT="30" /etc/tlp.conf L0136: CPU_BOOST_ON_AC="0" /etc/tlp.conf L0137: CPU_BOOST_ON_BAT="0" /etc/tlp.conf L0145: CPU_HWP_DYN_BOOST_ON_AC="1" /etc/tlp.conf L0169: PLATFORM_PROFILE_ON_AC="low-power" /etc/tlp.conf L0170: PLATFORM_PROFILE_ON_BAT="low-power" /etc/tlp.conf L0501: START_CHARGE_THRESH_BAT0="75" /etc/tlp.conf L0502: STOP_CHARGE_THRESH_BAT0="81"

+++ System Info System = LENOVO ThinkPad P15v Gen 3 21D8CTO1WW BIOS = N3EET29W (1.15 ) OS Release = EndeavourOS Kernel = 6.4.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 27 Jul 2023 22:02:18 +0000 x86_64 /proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=25840707-8177-4c5e-8065-d79d4939cb10 rw nowatchdog nvme_load=YES loglevel=3 Init system = systemd Boot mode = UEFI

+++ TLP Status State = enabled RDW state = not installed Last run = 15:09:37, 2835 sec(s) ago Mode = battery Power source = battery

+++ Temperatures /proc/acpi/ibm/thermal = 46 -128 39 0 37 34 30 -128 [°C] /proc/acpi/ibm/fan = 2177 [/min]

+++ Wireless bluetooth = on nfc = none (no device) wifi = on wwan = none (no device)

hci0(btusb) : bluetooth, not connected wlan0(iwlwifi) : wifi, connected, power management = on

+++ USB Autosuspend = enabled Device allowlist = (not configured) Device denylist = (not configured) Exclude audio = enabled Exclude bluetooth = disabled Exclude phones = disabled Exclude printers = enabled Exclude WWAN = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub) Bus 003 Device 003 ID 04f2:b6be control = auto, autosuspend_delay_ms = 2000 -- Chicony Electronics Co., Ltd Integrated Camera (uvcvideo) Bus 003 Device 002 ID 06cb:00bd control = auto, autosuspend_delay_ms = 2000 -- Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader (no driver) Bus 003 Device 005 ID 8087:0033 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb) Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub) Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub) Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)


 

Hi,

I'm looking for a package that will allow me to configure some rules for moving folders and then watch a folder and automatically move folders or files that match rules to a certain other directory. Does something like this exist?

The use case is that I have data being saved to a single directory by other devices, and then I would like to reorganize it based on the file or folder name.

Or anyone have any other ideas of how to do this?

 

I'm wondering if there are any good foss apps for connecting to a garmin bike computer (520) to transfer GPX files?

I used to use Komoot to generate my routes, and then their garmin app would download them from my account. This isn't very foss, so I was looking for some better tools to make this work.

I was planning to use OsmAnd to create the route file, but then after that I would have to use Garmin Connect to transfer the file. (and with storage sandboxing, that would be very fiddly)

Any tips?

 

Hello sailors, I just wanted to share my hopes to one day be living in a sailboat off grid. I was wondering if anyone else has done this, or any recommendations anyone might have? I have read some books on the matter, such as Get Real, Get Gone, and found it very informative. At this stage, when I cannot leave land for at least a few more years, I am thinking of getting a smaller sailboat to practice with and do some small trips.

 

Anyone know any good spots for hiding away in Snowdonia? Planning a trip there.

2
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Hi there, I just wanted to quickly share an issue that we worked through to do with database corruption. Perhaps there are some learnings or improvements that can be made to the backend handling of database connections/transactions to stop this happening in the future?

Problem

The activity table in lemmy db had 1 duplicated record, which we noticed when trying to reindex the db.

Cause

We suspect that the cause was due to duplicating the docker stack that contained our lemmy services. We are running these as docker swarm services. I think there was a short moment in time where two lemmy backend services existed, and were on the same network as the database, and therefore they both wrote to the activity table at the same time. afaik, it should not be possible to do this, if transactions are being used.

The second potential cause was stopping the old stack, but we're pretty sure that the services are meant to be stopped gracefully, but this is worth checking.

Fix

we copied out the activity table to a new table, and then copied all of the records to another table that did not have a unique key constraint. this allows you to search for the duplicate keys and remove them. verify that the duplicate is removed, then we performed the operation on the activity table and reindexed it. this resolved the issue.

tldr

be careful when stopping your stack, and also when duplicating it. definitely set up regular backups of your db, and I also feel that some regular backups should be built into the lemmy postgres image.

view more: next ›