• 0 Posts
  • 56 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • At the same time Windows is going down the drain, so if you compare removed to that it definitely has an edge. And that 8GB Air is not that expensive either… And fanboy can tell you it can swap to SSD so fast blah blah…

    But if you have the knowledge to use Linux, there are less and less reasons to go even near removed computers…






  • So basically your typical network protocol is something that converts an async stream of bytes into things like Postgres Row objects. What you do then is you write a synchronous library that does the byte conversion, then you write an asynchronous library that talks with the database with async functions, but most of the business logic is sync for converting the data coming from the async pipe.

    Now, this can also be done in a higher level application. You do a server that is by nature async in 2024. Write the server part in async, and implement a sync set of mapping functions which take a request coming in and returns a response. This can be sync. If you need a database, this sync set of functions maps a request to a database query, and your async code can then call the database with the query. Another set of sync functions maps the database result into http response. No need to color everything async.

    The good part with this approach is that if you want to make a completely sync version of this library or application, you just rewrite the async IO parts and can reuse all the protocol business logic. And you can provide sync and async versions of your library too!










  • pimeys@lemmy.nauk.iotoMemes@lemmy.mlwater...
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 months ago

    Well… I’m still in the US, and on this trip I mostly just get a Budweiser or Modelo when I want a beer. I feel like I don’t need to make a scene about the beer I drink, because a beer is a beer… I also enjoyed Coors Banquet a lot.

    Wines are a different matter. In the Oregon vineyards I’ve had some of the best pinots I’ve ever tasted, much better than the pinots I’ve had in France. One of the best things on this trip was our day of tastings in the different wineries.




  • pimeys@lemmy.nauk.iotoMemes@lemmy.mlwater...
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    4 months ago

    It is very hard to brew a good lager, like the good Helles style famously brewed in Bavaria. I’ve been on a mission every time I come to the US to find good Helles, and I found two places that get very close:

    This place in Seattle: https://maps.app.goo.gl/czPMtm4xkunkopEc8

    And this in Weaverville: https://maps.app.goo.gl/wuNS33EcQ1qC9zfb9

    But quite often even if they advertise the beer as German style Helles, it has some quality that makes it very different. Usually it’s sweet or even hoppy. I think for an american a special beer should have a special taste, but a good Helles is just very fresh and crisp beer.

    Edit: and Becks is one of the worst beers in Germany in my opinion… At least nobody tries to sell overpriced Sternburg here.


  • pimeys@lemmy.nauk.iotoMemes@lemmy.mlwater...
    link
    fedilink
    arrow-up
    20
    ·
    4 months ago

    A classic Monty Python joke from Live at the Hollywood Bowl. Definitely some truth in this… I live in Germany with some of the best lagers in the world, and having a Miller Light for the first time was a really weird experience.

    Now when I’ve visited the US quite a few times, I can say I dislike the expensive craft beers way more compared to the classic american lagers… They are way too hoppy, but the worst thing is how much more expensive they are! Like a pale ale can be over ten dollars, but a pint of PBR is 3.50. Beer should be cheap, and I don’t really like how this craft beer culture made the prices go so high.