115
submitted 2 weeks ago by 7EP6vuI@feddit.org to c/taneggs@lemmy.ca
[-] 7EP6vuI@feddit.org 17 points 2 weeks ago

Die Wero-App kann auf jedem mobilen Gerät oder Tablet installiert werden, das iOS 16 oder höher bzw. Android Version 9 oder höher verwendet. [...]

Es ist nicht möglich, Wero über einen Webbrowser oder auf einem Computer zu verwenden.

https://support.wero-wallet.eu/hc/de/articles/25599074240401-Welche-Ger%C3%A4te-unterst%C3%BCtzen-die-Wero-App

[-] 7EP6vuI@feddit.org 21 points 4 months ago

Nur jetzt mit weniger Zeitdruck.

LMFTFY: Mit dem gleichen Zeitdruckt, nur ein Jahr später.

[-] 7EP6vuI@feddit.org 16 points 4 months ago

wine ist nicht von microsoft? ich sehe da keinen wirklichen widerspruch zu "nie wieder mircosoft".

aber: einen schritt nach dem anderen. und windows deinstallieren und linux installieren ist dabei wahrscheinlich der größte schritt den man machen muss...

[-] 7EP6vuI@feddit.org 58 points 4 months ago

how do you buy stuff online? do you read reviews on the big shopping platforms?

back in the day reviews were a good and honest way to find out if a product is usable. the idea was that normal people do honest reviews and other people can use that as a guidance.

this was probably true for some years, until the system got rigged: users were payed to take bad reviews offline, or users are payed to post good reviews. simple products with good reviews got exchanged with cheap complex products, so the reviews seemed to be for that product.

what you see is one part of this system: a seller is asking you to do free advertisement for them.

[-] 7EP6vuI@feddit.org 18 points 5 months ago

Was ich damit eigentlich sagen wollte: diese Glaubhaftigkeit verleiht die Bundesregierung derzeit twitter. Und wenn sie twitter verlassen, verliert damit twitter etwas an seiner Glaubhaftigkeit.

[-] 7EP6vuI@feddit.org 29 points 5 months ago

Stell dir vor die Bundesregierung hätte eine offizielle lemmy Instanz, oder einen offiziellen Account auf feddit.org.

Das wäre schon irgendwie krass, und würde dem Projekt einiges an Glaubhaftigkeit verleihen, oder?

[-] 7EP6vuI@feddit.org 32 points 6 months ago* (last edited 6 months ago)

not giving a fuck

still giving to much fucks, but at least i'm tying

25
submitted 10 months ago by 7EP6vuI@feddit.org to c/cooking@lemmy.world

(250g are about 8 ounces)

i already made a garlic ginger paste (125g ginger, 125 garlic, some oil, some salt, puree it with a mixer) and froze it. first dish i used it was super nice, the second one had too much garlic, maybe i should have taken a bit more ginger, or i just used too much of the paste.

what do i look for? maybe something to make it durable, but recipes to consume it are also welcome, preferable vegetarian. otherwise i'm open for all ideas :-)

thanks a lot!

7
submitted 11 months ago by 7EP6vuI@feddit.org to c/django@programming.dev

i'm completely new to the django eco system, coming from flask.

what i want (and don't know how to accomplish) is to put some restrictions to a set of urls: x/<uuid>/images x/<uuid>/imageupload and others should only work, if uuid can be found in the database and is still valid.

in flask i would probably use a blueprint, but this concept does not seem to exist in django, right?

what i like about the blueprint concept is, that it's not possible to add a url under the x/<uuid> "namespace" and forgetting about the auth mechanism, as this is handled for all urls in the blueprint.

how would you handle this in django?

i've already learned about apps and a custom middleware, but this looks quite complicated on first sight? as the middleware always intercepts all requests, and i would have to check on my own if this is a request to x/<uuid>?

i've also looked at existing apps, and django-rq uses the statt_member_required decorator for each view. i will probably build something like that, but i would be more confident if i could apply this to the whole app, instead of having to decorate each function.

[-] 7EP6vuI@feddit.org 22 points 1 year ago

/dev/urandom

[-] 7EP6vuI@feddit.org 17 points 1 year ago

Disregard it.

no! i like it. this is the special lemmy spirit :-)

22
submitted 1 year ago by 7EP6vuI@feddit.org to c/cooking@lemmy.world
29

I'm a newbie to ActivityPub so please be patient with me.

All intros into ActivityPub speak about how a user of a server A subscribes to a specific community from server B, and then server A will be informed about changes in that community.

But on lemmy it's possible to look at the posts of all communities. For a single concrete community it would be relatively easy: server A gets the request to serve the top post of a community on server B, so A simple asks B for the posts.

But there is also the "posts from all communities" tab on the lemmy front page. This opens questions:

Does each lemmy instance has a full copy of all posts of all communities? If this is true: How are new Instances discovered? Is each Instance distributing all updates to all other Instances?

If each lemmy instance has only a partial dataset (this theory is backed by [1] "Only if a least one user on your instance subscribes to the remote community, will the community send updates to your instance.") then how is the "all posts" view composed? is it in reality not "all" but only "all posts that at least one user of this instance is subscribed to"?

If this is the case: what happens if a bad actor subscribes to all communities of all servers? Is there a maximum number of subscriptions per user?

The source of those questions is, that I'm looking for a way to subscribe to all events of all lemmy instances, to be able to build statistics about upvotes, new posts, comments etc. There seems to be a similar API endpoint for mastadon [2] but nothing for lemmy?!

[-] 7EP6vuI@feddit.org 18 points 1 year ago

no gui, but still super simple and enough for local testing:

  • open a terminal
  • cd folder/you/want/to/serve/from
  • python -m http.server -b 127.0.0.1

open browser surf to http://127.0.0.1:8000/

10
submitted 2 years ago by 7EP6vuI@feddit.org to c/linux@lemmy.ml

Dear Linux-Wizards,

I have some USB flash drive that outputs the following errors, when i plug it in:

VGscsi 6:0:0:0: Direct-Access     SMI01    USB DISK01       1100 PQ: 0 ANSI: 6
VGsd 6:0:0:0: [sdc] 491520000 512-byte logical blocks: (252 GB/234 GiB)
VGsd 6:0:0:0: [sdc] Write Protect is off
VGsd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
VGsd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
VGsd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
VGsd 6:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current] 
VGsd 6:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
VGsd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
VGI/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
VGBuffer I/O error on dev sdc, logical block 0, async page read
VGsd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
VGsd 6:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current] 
VGsd 6:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
VGsd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
VGI/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
VGBuffer I/O error on dev sdc, logical block 0, async page read
VGldm_validate_partition_table(): Disk read failed.
VGsd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
VGsd 6:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current] 
VGsd 6:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
VGsd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
VGI/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
VGBuffer I/O error on dev sdc, logical block 0, async page read
VG sdc: unable to read partition table
VGsd 6:0:0:0: [sdc] Attached SCSI removable disk
VGsd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
VGsd 6:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current] 
VGsd 6:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
VGsd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 1d 4b ff 80 00 00 08 00
VGI/O error, dev sdc, sector 491519872 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
VGsd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
VGsd 6:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current] 
VGsd 6:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
VGsd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 1d 4b ff 80 00 00 08 00
VGI/O error, dev sdc, sector 491519872 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
VGBuffer I/O error on dev sdc, logical block 61439984, async page read

lsblk output looks okayish, disk size is reported correctly.

sdc      8:32   1 234,4G  0 disk

When i first noticed, i hoped maybe only the first Sectors are broken, but now i'm trying with ddrescue and ddrescue -d and see the similar messages:

I/O error, dev sdc, sector 237172352 op 0x0:(READ) flags 0x800 phys_seg 15 prio class 2
sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
sd 6:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current] 
sd 6:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 0e 22 f7 00 00 00 80 00

It's a USB-3 flash drive, so i also tried an USB-2 port hoping that maybe its some connection thing, but it did not help, I see the same error messages.

Normally USB flash drives warm a bit when reading/writing data, this one ist still cold after 25 minutes of ddrecue

Is there anything else i can do?

Backstory is: I was helping someone with their Windows PC and unplugged the stick without ejecting it, then Windows complained and i pressed to "scan and repair drive" which took a while. At 80% a error message appeared similar to: "insert medium into drive" When clicking OK the message reappeared after one or two seconds. It only stopped after unplugging the flash drive.

The user already said something about folders appearing at wrong locations at the drive, so i hope i did not kill the drive but it was already dying. But still feeling bad about this, so i want to try everything and even reach out to you :-)

[-] 7EP6vuI@feddit.org 18 points 2 years ago

i use this at work, and its great. Only downside is, that the buttons are hard to identify and move depending on the size of the screenshot, so you always have to search for the function you need.

Does anyone have a workaround for this?

[-] 7EP6vuI@feddit.org 18 points 2 years ago

Never change a running system. Even small changes may have unexpected consequences, if the machine is as complex as our bodies...

view more: next ›

7EP6vuI

0 post score
0 comment score
joined 2 years ago