7EP6vuI

joined 1 year ago
[–] 7EP6vuI@feddit.org 3 points 6 days ago (1 children)

ich glaube nicht, dass deine rechnung so funktioniert.

die waage ist also unter einem bein, ein bein ist in der luft, die anderen beiden auf dem boden?

ich habe gerade einen stuhl (4.86 kg) auf dem in einem eck eine flasche steht (0.83 kg) bein-weise gewogen: 2.7 kg, 3.1 kg, 2.4 kg, 2.7 kg

tatsächlich wiegt die konstruktion 5.69 kg, aber wenn ich alle beine zusammenziehe kommt 10.9kg raus. wenn ich das durch zwei teile, würde es grob passen, aber vielleicht ist das auch nur zufall.

[–] 7EP6vuI@feddit.org 5 points 1 week ago

You can read the content with Firefox Reader View, without consenting to cookies.

It works fine with heise.de, and is worth a try on other pages, too.

[–] 7EP6vuI@feddit.org 4 points 1 week ago (1 children)

I'm a big fan of mikrotik: Simple no bullshit devices, and OpenWrt is support on most of them, see https://toh.openwrt.org/

[–] 7EP6vuI@feddit.org 14 points 2 weeks ago (5 children)

doch es gibt ssl, aber das zertifikat ist abgelaufen:

$ curl https://blog.fefe.de/
curl: (60) SSL certificate problem: certificate has expired
[–] 7EP6vuI@feddit.org 1 points 4 weeks ago

i'm not a book person, but Gathering Moss: A Natural and Cultural History of Mosses is a really nice read!

[–] 7EP6vuI@feddit.org 76 points 1 month ago (12 children)

they would have created borders in a way, that one country always consists of two nations/tribes that don't like each other.

the map simply shows straightened borders for existing countries...

[–] 7EP6vuI@feddit.org 2 points 1 month ago* (last edited 1 month ago)

ich würde mal damit anfangen den schlauch in die gieskanne zu stecken und sie leicht schräg zu stellen, damit der überlauf dann in den eimer geht. dann hast du schon mal dein auffang volumen vergrößert.

unter zuhilfenahmen von baumark-utensilien würde ich folgendes vorschlagen:

  • ein U-Profil aus alu, auf dem ein oder zwei murmeln gut laufen
  • ein schanier
  • schanier an den eimer, und an das profil
  • schwimmer (0.5l plastikflasche) an das ende des profils das im eimer ist
  • murmel auf das u-profil
  • wenn genug wasser drin ist, neigt sie die schiene, dass die murmel in die wanne fällt
  • bonus punkte wenn du in die flugbahn der murmel eine fahrradklingel oder ähnliches stellst
  • achtung bei emaillierten badewannen, nicht dass was abplatzt

das könnte man auch noch mal etwas verfeinern:

  • eine 0.5l plastikflasche mit 0.2l wasser füllen
  • faden daran binden
  • faden über zwei haken an der decke führen, dass auf- und abgang ungefähr senkrecht ist
  • abgang des fadens: an u-profil binden, andere seite des u-profils ist an einem schanier
  • es gibt einen stopper, der dafür sorgt, dass die falsche in der luft hängt, und das u-profil leicht zum schanier geneigt ist
  • wenn die flasche vom wasser hoch gehoben wird, senkt sich das u-profil
  • murmeln fallen in eine blechschüssel

wenn du den eimer so stellen kannst, dass du einen definierten überlauf hast:

Shishi-odoshi

welches geät verwendest du für die umkehrosmos? braucht man dafür verbauchsmaterial? wie viel strom zieht das?

was machst du mit dem kalk freien wasser?

[–] 7EP6vuI@feddit.org 2 points 2 months ago

mela hat auch was:

hab ne andere hose von ihnen, kann mich nicht beschweren.

ps: bei adele fehlt das http:// deswegen geht der link nicht.

[–] 7EP6vuI@feddit.org 8 points 2 months ago

what a coincidence. i saw one, too :-)

i think it was an european robin, but i'm not 100% sure.

[–] 7EP6vuI@feddit.org 2 points 2 months ago (1 children)

this sounds like a good excuse to bake an apple cake :-)

do you have a link to the recipe you like to ginger up?

[–] 7EP6vuI@feddit.org 3 points 2 months ago

didn't know you could candy ginger yourself hat home, but does not sound too complicated. thanks for the idea!

[–] 7EP6vuI@feddit.org 3 points 2 months ago (1 children)

i tried ginger beer once, but chickened out when it was time to pressurize it in a bottle, so it got moldy and i had it to throw out... maybe i should try this again...

kombucha seems a bit easier. let's see if i can find a starter set..

 

(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!

 

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.

 

Alter Falter! Was genau passiert gerade? Fühlt sich so der Anfang des Endes an?

Ich habe mir gestern überlegt wie sich wohl die Stadtbibliothek verändern wird, wenn die AfD erst mal lang genug regiert. Welche Bücher wohl verschwinden werden, und ob sie es mit einem großen Reine-Machen implementieren, oder ob es sich langsam einschleicht?

WAS ZUM FICK? Wo bin ich denn bitte gelandet, dass ich mir solche Gedanken beim abendlichen Nachhauseweg mache?

Ich bilde mir ein, inzwischen eine körperliche Stressreaktion auf den ganzen Scheiß zu bekommen. Ich dachte eigentlich wir hätten hier in Deutschland ein stabiles politisches System, und haben aus der Vergangenheit gelernt und speziell deswegen einige Besonderheiten ins System eingebaut. Schaut mir irgendwie nicht so recht danach aus, wenn es eine Partei innerhalb von 12 Jahren zugrunde richtigen kann?

Und nun kann ich in Echtzeit miterleben wie alles zerfällt? Wäre sicherlich ganz spannend zu beobachten, WENN MAN NICHT VERFICKT NOCH MAL MITTEN DRIN SITZT?!

Ich kenne das Gefühl in meinem Bauch, aus dem Jahr 2017 als die AfD mit über 12 Prozent in den Bundestag eingezogen sind. Damals konnte ich das noch irgendwie wegatmen, bei dieser Wahl sehe ich es als meine Pflicht an, die Angst in etwas positives zu wandeln.

Auch wenn ich es mir nicht so recht vorstellen kann, dass es etwas bringt, kann man ja doch irgendwie drauf reagieren? Man kann sich die Zeiten nicht aussuchen in denen man lebt, aber man muss es ja auch nicht einfach so hinnehmen? Irgendwie sind wir ja auch in den Schlamassel gekommen, also warum sollten wir nicht auch wieder raus kommen?

Was kann ich ab heute tun, damit ich in zehn Jahren ehrlich von mir behaupten kann, ich habe es zumindest versucht?

:wq!

 

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?!

 

Cathrin, Tim, Sophie, Frank und Susanne sind nicht nur Freunde, sondern auch Familie. Gemeinsam suchen sie nach Glück, Freude, Liebe und manchmal auch einfach nur nach Geld für die nächste Miete.

Ganz nette Unterhaltung, erinnert schon ein bisschen an Seinfeld aber die AI-Zwischenblenden sind auf jeden Fall auch eine Erwähnung wert.

 

The Outlaws ist eine britische Comedyserie. Sie ist eine Koproduktion von Amazon und BBC. Die Serie folgt sieben Fremden aus unterschiedlichen Lebensbereichen, die gemeinsam ihre Sozialstunden ableisten müssen.

https://de.wikipedia.org/wiki/The_Outlaws_(Fernsehserie)

Derzeit sind zwei Staffeln online. Sehr spannend und lustig zugleich.

 

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 :-)

1
submitted 11 months ago* (last edited 11 months ago) by 7EP6vuI@feddit.org to c/mediatheque@feddit.org
view more: next ›