• 2 Posts
  • 65 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…





  • pimeys@lemmy.nauk.iotoProgrammer Humor@lemmy.mlHexed by async
    link
    fedilink
    arrow-up
    45
    arrow-down
    1
    ·
    1 month ago

    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!





  • Like the whole stress of needing to pay anything if needing medical help… If I would avoid that, it is worth even a bigger monthly pay.

    Like, in Berlin I can just walk to a doctor, to a hospital or to a pharmacy, plug my insurance card to a machine and it is all settled. I never see any money changing hands, or at maximum 10 euros copay if getting expensive prescription drugs.

    Completely removing the stress of having a huge bill suddenly is worth the money I put into the insurance every month.





  • They are not usually very good, depending on the city, of course. In Germany, where I live, it’s a struggle to find good Mexican food. It’s never spicy enough and often kind of trashy. There are a few okay, more upscale places with 6-7 euro tacos (yikes) and 13 euro margaritas (yikes). But it’s not as good as in our visits to the US.

    Weirdly, when I visit my parents in Helsinki, that city actually has a quite good Mexican restaurant scene. Damn, Helsinki of all places. It’s one of the rare EU cities with Taco Bells (yeah, not Mexican food, I know), and some of the finest Mexican restaurants I’ve visited in Europe. They are quite expensive, but the tacos I’ve had there have been surprisingly good.

    In general, Mexico is far from Europe. You can easily find amazing Italian, French, or Georgian food here. In the US, I’ve mostly been disappointed with the selection of French or Italian food. I haven’t found Georgian cuisine in any US cities. So, I tend to enjoy Mexican food when I visit that side of the planet to see family, and mostly focus on European food in the EU.

    But damn, I wish there was a diner serving biscuits and gravy in Berlin. Biscuits are one of the things that just don’t exist in Europe.




  • pimeys@lemmy.nauk.iotoMemes@lemmy.mlwater...
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    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.