appel

joined 1 year ago
[–] appel@whiskers.bim.boats 7 points 5 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.

[–] appel@whiskers.bim.boats 3 points 6 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.

[–] appel@whiskers.bim.boats 1 points 6 months ago

Are there any particular texts from Engels that you disagree with? I would be interested to know where you think the split is. From my reading, Engels was mostly involved in the philosophical and scientific side of the development of dialectical materialism and it's application into Marxism. Eg. "Dialectics of Nature", "The German ideology", "Feuerbach and the end of German classical philosophy","anti-duhring" etc. I'm not sure where the apparent "brutality" is coming from here?

[–] appel@whiskers.bim.boats 1 points 6 months ago (2 children)

How can you agree with Marx and not with Engels? Engels practically did a large chunk of the philosophical heavy lifting for Marxism.

[–] appel@whiskers.bim.boats 2 points 6 months ago (1 children)

I am not interested in the nitty gritty of the legality of what the cop did. I don't think he should have done it, and to me speaks of a lack of training (and the fact that they are reliant on their firearms)

I am aware of the principle of proportional response, and I know the line is generally; if you fear for your life then it is legally acceptable to maim the assailant. But to kill them I think is a step too far.

I do not think the hoe is "reasonably capable of causing "grievous bodily harm"". I think it is reasonably capable of causing injury, sure, such as cuts, lacerations, blunt trauma. I think GBH would be a very unlikely outcome and if confronted with that as a weapon I would not be preparing myself to kill or even maim them. It is a pretty easy weapon to disarm.

[–] appel@whiskers.bim.boats 2 points 6 months ago (6 children)

I have trained in quite a bit of self defence with various different martial arts.

The hoe could be lethal in a very unlucky scenario, as you say, if it struck an exposed neck, or major artery. However it is a very ungainly weapon. It is significantly less dangerous than a knife, for example. Police in the UK are not equipped with guns, yet they deal with knife attacks all the time with just a baton.

It seems to me like the cops in the US are far too reliant on their firearms. Dealing with a poor weapon like a hoe should be quite easy to someone who is suitably trained. With all long weapons like this hoe, baseball bat, etc, anything that needs to be swung, you have to get in close, quickly. Then the assailant cannot hit you anymore. Then it should be quite straightforward to make the situation safe in a non lethal manner. This sort of response is completely ridiculous and should not be normalized.

[–] appel@whiskers.bim.boats 8 points 6 months ago

Might as well call it the "I'm a Massive Racist Bill" what a joke

[–] appel@whiskers.bim.boats 2 points 6 months ago

Maybe try Phantasy Star Portable 2

[–] appel@whiskers.bim.boats 2 points 6 months ago

you can keep the fan and heatsink on the board

[–] appel@whiskers.bim.boats 1 points 6 months ago (1 children)

Interesting, never had that happen to me, but then perhaps you are using a laptop with a dgpu? I have not been. My laptop generally consumes 4w at idle and up to 15w under load, so I don't see this ever outpacing the 60w charger. The CPUs with the highest tdp are only around 100w anyway right? And in that case the laptop comes with a higher wattage charger. But you're right I guess it could happen depending on the hardware, never personally seen it however.

[–] appel@whiskers.bim.boats 3 points 6 months ago (13 children)

I've run laptops before without batteries a few times and never had issues, is there a reason for the slowdown?

[–] appel@whiskers.bim.boats 26 points 6 months ago (29 children)

Remove the battery, take the motherboard out of the case. Plug the motherboard in, and voila you have a larger and more powerful raspberry pi. You could use it as a second node for control, management, observation purposes, etc.

 

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?

1
submitted 1 year ago* (last edited 1 year ago) by appel@whiskers.bim.boats to c/foss@beehaw.org
 

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?

(also sorry, don't know how to crosspost)

1
submitted 1 year ago* (last edited 1 year ago) by appel@whiskers.bim.boats to c/lemmy_support@lemmy.ml
 

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 ›