7EP6vuI

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

pepperoni rolls

can you share your recipe or a link to a good recipe?

[–] [email protected] 3 points 3 weeks ago

public library

here the subscription fee for one year is about as expensive as a single book.

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

yes, interesting, i just wondered if i'm missing something, maybe my statement was a bit too negative :-/

[–] [email protected] 16 points 1 month ago

Disregard it.

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

[–] [email protected] 3 points 1 month ago (2 children)

already heard about the stock option (and forgot about it), but i wondered: how do you handle sand or other dirt attached to the trimmings?

i've tried to filter with a coffee filter, but its really tedious and takes ages until all stock is filtered.

the double freezing option is very cool. do you concentrate the stock, or add just as little water as possible when cooking the stock?

[–] [email protected] 2 points 1 month ago

i started freezing tomato sauce and tomato paste (they go bad quite fast?!), in their original glass container, but was really annoyed by having to get it out of the freezer hours before you need it. Otherwise you won't get it out of the glass, or you have to warm it up...

Now i'm putting the sauce and paste into a ice cube tray, works quite good so far.

[–] [email protected] 9 points 1 month ago (4 children)

nice graph, what is the "calories per gram of food" or "caloric density" dimension/axis good for?

only use-case i can think of is something like packing food for hiking? other than that calories per gram of food is quite irrelevant, or am i missing something?

[–] [email protected] 8 points 1 month ago* (last edited 1 month ago)

Nominees:

  • 2024 Kamala Harris Donald Trump
  • 2020 Joe Biden Donald Trump
  • 2016 Donald Trump Hillary Clinton
  • 2012 Barack Obama Mitt Romney
  • 2008 Barack Obama John McCain
  • 2004 George W. Bush John Kerry
  • 2000 George W. Bush Al Gore
  • 1996 Bill Clinton Bob Dole Ross Perot
  • 1992 Bill Clinton George H. W. Bush Ross Perot
  • 1988 George H. W. Bush Michael Dukakis
  • 1984 Ronald Reagan Walter Mondale
  • 1980 Ronald Reagan Jimmy Carter John B. Anderson
  • 1976 Jimmy Carter Gerald Ford
  • 1972 Richard Nixon George McGovern
[–] [email protected] 1 points 1 month ago (1 children)

Thanks for the suggestion and the code snippets.

i want to see how votes/comments accumulate over time on a post, therefore i would have to poll the "all" posts endpoint in a regular interval. but I would either see new posts with small number of comments/upvoted, or already upvoted post, or i would have to download all posts in a regular time interval which seems impossible to me.

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

interesting. thanks.

so this would mean that if i wanted to receive an event for each upvote/comment/post in the lemmy fediverse i would have to create my own instance in the ActivityPub space, subscribe to all communities (there is no such single wildcard call (?), so i would have to subscribe to all ~30k communities each by its own and also watch for new communities) and then i could utilize the ActivityPub protocol as instance feed me with their events?

there are currently about 600 instances and 30k communities, but only ~2k communities have more than 600 subscribers (according to [0]). does this mean that those bots only subscribe to communities above a certain threshold?

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

so the instances only save the metadata/title of federated posts, but when a user wants to see the comments or content, then the other instances are queried for more details?

what are the bots good for?

 

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

[–] [email protected] 18 points 1 month 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/

 

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

7
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
view more: next ›