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/)NO
Posts
3
Comments
639
Joined
2 yr. ago
  • Cat: Wow this snow is cold! Ahhhh, this is SO COLD!!!

    It does have that slightly preoccupied look that suggests it wishes it had more insulation in certain areas, but it's determined to pose for the photo anyway.

  • It might already be packaged for whichever OS you're running, and it comes with a utility to do the conversion. On Debian or Ubuntu it should be as simple as installing the pst-utils package and running something like readpst <path to .pst file> and it'll leave an mbox file for you. It's been a fair few years since I used it, so reading the documentation would probably be wise, but I remember it being pretty straightforward.

    I don't have a Redhat machine handy right now, but it looks like the package is called libpst there. On a Mac you'd need to follow the build instructions in the git repository, but it's not python, the main library and utils are written in C. The tarball they refer to it just a tar of the source, that you can download form the releases page. I can't help you if your running windows, I don't have a machine running it, and haven't used it in many years.

  • You... you don't? Surely there's some mistake, have you checked down the back of your cupboard? Sometimes they fall down there. Where else do you keep your internet?

    Appologies, I'm tired and that made more sense in my head.

  • Tasty Snacks @lemmy.world
    notabot @lemm.ee

    Honey Roasted Peanuts

    Ingredients

    • 1 cup nuts
    • 1 tablespoon honey
    • 1/4 tablespoon butter
    • 1 teaspoon smoked paprika
    • Salt

    Method

    • Melt butter in saucepan over med/low heat with paprika and 1 pinch salt
    • Cook butter for another minute or so, stiring to disolve paprika, until foaming
    • Add honey and cook gently until the butter mixture foams again.
    • Remove from heat at stir for a minute or so until the mix thickens. Should be very dark and very sticky.
    • Add nuts to butter and mix to coat thoroughly. Almost all of the mix should stick
    • Put liner in airfryer
    • Place nuts in single layer in airfryer crisping basket
    • Cook at 150c for approx 15 min, stiring every 5 mins for first 10, then every 2.
    • Place on baking sheet with silicon liner to cool
    • Sprinkle with salt to taste (needs more than you think, approx 4-5 pinches) as they cool
    • Stir nuts as they cool to stop sticking

    Notes

    Try adding smoked paprika to butter?

  • On the other hand, the enemy of my enemy is my friend

    Maxim 29: The enemy of my enemy is my enemy's enemy. No more. No less.

    That doesn't mean you can't work with them on a common cause, and maybe even show them the benefits of your way if thinking, but don't get caught out when they turn on you.

  • Living past childhood.

    Yes, lots of people feel their lives are awful, but compared to material living conditions even a few hundred years years ago nearly half of all children died before reaching adulthood, and the vast majority of the rest lived harder, more grueling lives than our own, with more illness and injury than us.

  • That depends on whether I can separate the bills and keep the ones they don't find, or if it's an all or nothing system. There's a loose floorboard in one room, so if it's all or nothing, I'd lift that and chuck the package as far as possible under there, replace the board, then mess up multiple other places in the house.

    If they can be separated, there are 100 notes, and they're individually going in every gap, crevase and hole I can find. Between the floor boards, under carpeting, in the gaps in the bottom of the couch, I have a stapler, so pop the bases loose on some chairs, then restaple them shut, tape them under floor level cupboards. I'd have to move fast, but their unlikely to find everything, so I'd be finding random $100 notes for ages afterwards, because there no way I'd remember everywhere I put them.

  • i'd keep it or sell it to a collector most likely.

    Or jump in the air and spread yourself across the scenery if you're one of the 'lucky' ones who finds shell that is still viable.

  • Before you can decide on how to do this, you're going to have to make a few choices:

    Authentication and Access

    Theres two main ways to expose a git repo, HTTPS or SSH, and they both have pros and cons here:

    • HTTPS A standard sort of protocol to proxy, but you'll need to make sure you set up authentication on the proxy properly so that only only thise who should have access can get it. The git client will need to store a username and password to talk to the server or you'll have to enter them on every request. gitweb is a CGI that provides a basic, but useful, web interface.
    • SSH Simpler to set up, and authentication is a solved problem. Proxying it isn't hard, just forward the port to any of the backend servers, which avoids decrypting on the proxy. You will want to use the same hostkey on all the servers though, or SSH will refuse to connect. Doesn't require any special setup.

    Replication

    Git is a distributed version control system, so you could replicate it at that level, alternatively you could use a replicated file system, or a simple file based replication. Each has it's own trade-offs.

    • Git replication Using git pull to replicate between repositories is probably going to be your most reliable option, as it's the job git was built for, and doesn't rely on messing with it's underlying files directly. The one caveat is that, if you push to different servers in quick suscession you may cause a merge confict, which would break your replication. The cleanest way to deal with that is to have the load balancer send all requests to server1 if it's up, and only switch to the next server if all the prior ones are down. That way writes will alk be going to the same place. Then set up replication in loop, with server2 pulling from server1, server3 pulling from server2, and so on up to server1 pulling from server5. With frequent pulls changes that are commited to server1 will quickly replicate to all the other servers. This would effectively be a shared nothing solution as none of the servers are sharing resources, which would make it easier to geigraphically separate them. The load balancer could be replaced by a CNAME record in DNS, with a daemon that updates it to point to the correct server.
    • Replicated filesystem Git stores its data in a fairly simple file structure, so placing that on a replicated filesystem such as GlusterFS or Ceph would mean multiple servers could use the same data. From experience, this sort of thing is great when it's working, but can be fragile and break in unexpected ways. You don't want to be up at 2am trying to fix a file replication issue if you can avoid it.
    • File replication. This is similar to the git replication option, in that you have to be very aware of the risk of conflicts. A similar strategy would probably work, but I'm not sure it brings you any advantages.

    I think my prefered solution would be to have SSH access to the git servers and to set up pull based replication on a fairly fast schedule (where fast is relative to how frequently you push changes). You mention having a VPS as obe of the servers, so you might want to push changes to that rather than have be able to connect to your internal network.

    A useful property of git is that, if the server is missing changesets you can just push them again. So if a server goes down before your last push gets replicated, you can just push again once the system has switched to the new server. Once the first server comes back online it'll naturally get any changesets it's missing and effectively 'heal'.

  • Parks are great, but unless they're directly outside the houses where I can keep an eye on what's happening they're not as safe or convenient. Being able to send the kids into the garden to run off some energy whilst I'm in the house doing something, and being reasonably confident that they're safe is a huge benefit.

    That's certainly not impossible with a bit of sensible planning around how housing is laid out, putting clusters of housing directly around a shared green space, but it is rather challenging to retrofit in existing conurbations, and impossible in more spread out communities. The American style of huge featureless lawns surrounding the house right up to the property boundary are pretty awful, but the more European style of a bit of lawn surrounded by flower beds and maybe trees is rather better.

  • If you have kids It's helpful to have an open, flat area for them to run around on. It doesn't need to be (just) grass, but that's probably the most robust, and least likely to have sharp surprises, option.

  • I really like the idea of UBI, and the studies I've seen seem uniformly positive, but they all tend to be comparatively small, as in a small percentage of the local population. Are there any studies that show what happens when everyone, or almost everyone, has more money?

    I'm curious what would happen with that much more money in active circulation. Intuitively, it seems to me that prices for essentials such as housing and food would just increase to 'mop' it up and leave us with the same problems of unafordability as before.

    How can this sort of effect be avoided when UBI is deployed at scale?

  • Leopards Ate My Face @lemmy.world
    notabot @lemm.ee

    Farmer relies on government grants and immigrant workers.

    Farmer votes for candidate who vows to block government grants and immigrant workers.

    Farmer is surprised when government grants and immigrant workers are blocked.

    Connect for Lemmy App @lemmy.ca
    notabot @lemm.ee

    Comments no longer have nesting bars

    I've noticed that recently comnents on posts no longer have the long colored bars next to them showing their depth into the reply chain. Was this deliberately changed, and is there a way to bring it back?