Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)EV
Posts
5
Comments
50
Joined
10 mo. ago
  • 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..

  • so i peel them, chop them into smaller pices, and freez them? it's really that easy?

    and afterwards you put them into the water when cooking rice? who much do you use for that? do you also eat the ginger, or is it removed after cooking?

  • Cooking @lemmy.world
    7EP6vuI @feddit.org

    I've got 250g fresh ginger and 250g fresh curcuma. What do I do?

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

  • thanks for the fast answer!i think you understood it correctly. i want a public page, but certain things should only be accessed when you created a session/uuid beforehand.

    class based views sound interesting. will probably use this. thanks again.

    i have to think about, if i can tolerate the uuid being a query parameter of the url... somehow i like the uuid being part of the url better.

    never the less. thanks a lot!

  • Django @programming.dev
    7EP6vuI @feddit.org

    how to put a set of endpoints under an auth like restriction?

    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](https://github.com/rq/django-rq/blob/fe539b6

  • from my perspective there are two types of t-shirt acquisitions: a) you need cloths b) you want to spread a message.

    i would think most of the fashion brand t-shirts fall mainly into a) with a little bit of c) you want to be part of a superior group

    most of the funny t-shirts and band-t-shirts fall into category b) and basically you also place yourself into a certain group but into a smaller, more specific one. the big fashion brands are arbitrary so many people can identify with them. they don't want to be associated with a real message, because then some people would be excluded from wearing that brand.

    so the t-shirt presented as exhibit 1) certainly falls into category b). but i really can not come up with a message you want to send by wearing the t-shirt: it's not the "font-nerd" it's not the "web-dev-nerd" or anything like this. how big is the overlap of star-wars-fans and font-awesome users?

    i think at the end it's just a marketing department that jumps on the latest bandwagon of internet memes in the hope that they can gain some popularity.

    they could produce t-shirts that are fun to wear and spread the brand more subtle, but in this case i completely agree with op: this is a very strange campaign. and i also think that the comments here comparing this with fashion brands completely miss the point.

  • hab seit einigen jahren eine spring pfanne mit 28cm durchmesser und glasdeckel. möchte sie nicht mehr missen.

    langsam bilden sich die ersten kratzer (obwohl ich immer versuche sehr vorsichtig zu sein)...

    ich beachte meistens nicht die tips von @[email protected] und ja, es klebt dann öfter mal an, aber wenn man den ersten pfannkuchen mit etwas mehr öl macht, klappt es, und mit der zeit bekommt man dann schon auch den dreh raus...

  • i thought this too, because i don't like the Oktoberfest. but then i looked at the numbers:

    Von zehn Besuchern kommen statistisch sechs aus München und dem Umland, einer aus dem übrigen Bayern, einer aus dem übrigen Deutschland und zwei aus dem Ausland.[75]

    https://de.wikipedia.org/wiki/Oktoberfest#Besucher

    translated:

    out of ten guests, 6 are from Munich or surrounding, 1 from the rest of Bavaria, 1 from the rest of Germany and 2 from abroad.

  • i think its a military map. in the lower right you can see words on German, English and something eastern.

    I had some note pad by the same brand, and its quite nice paper, not the usual printer paper, but smoother. if feels high quality. always wondered what's the name for this paper. maybe i should search for this note pad...

  • Why is he not mentioning restfulobjects? This is exactly what he describes, just encapsulated in JSON, not in HTML, and in a way that it can actually be automatically consumed as there are some guidelines how to structure the documents.

    We use it at work, and I don't like it. Its overly complicated and adds a lot of overhead (at least in the way we implemented it). A simple HTTP+JSON RPC with a good URL structure and a OpenApi documentation would be easier to understand, and to consume.

  • Cooking @lemmy.world
    7EP6vuI @feddit.org

    What are you favorite preps/hacks/tricks/recipes involving a freezer?

    Programming @programming.dev
    7EP6vuI @feddit.org

    Lemmy federation protocol: How is the "posts from all communities" view sourced?

    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

    Linux @lemmy.ml
    7EP6vuI @feddit.org

    Recover USB flash drive from "Sense Key : Not Ready " and "Add. Sense: Medium not present"

    Dear Linux-Wizards,

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

     undefined
        
    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]