Many fall in the face of chaos, but not this one, not today

  • 7 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle


  • A wedding can cost almost nothing. I found a very small local poor church and offered them $100 bucks to use the place on a Saturday. I baked a big cake, decorated it plain white. I overnight smoked a brisket, made a pan of Mac and cheese.

    Got a friend to officiate, and told our friends and families a month in advance. We told everyone it was a potluck. We got $100 plain rings. My grandmother ended up buying some cool flowers for decorations. A friend played some music on the church speakers.

    All in, it probably cost us $400 out of pocket, and we got enough cash from attendees to cover that and pay for us to take off work for the week to just hang out and move in together, staycation style. To be fair, I don’t think either of us would have wanted a vacation style honeymoon, we did that kind of thing later. That first week was a lot of figuring out how to live together, so that took time.

    So it’s possible to have a big party with friends and family, but spend very little. Just have everyone bring some food and it’ll work out.

    Studies show that folks are less likely to have a happy long term marriage the more they spend on a wedding. It’s a pretty clear correlation that expensive weddings typically make folks more unhappy and starts the relationship off with more financial stress. So, don’t feel bad about being frugal! As long as you are both happy, it can be very inexpensive.









  • I’m sure someone will be like “um akchuly” to my explanation. But for me it’s good enough to think if it that way.

    I’ve worked in Haskell and F# for a decade, and added some of the original code to the Unison compiler, so I’m at least passingly familiar with the subject. Enough that I’ve had to explain it to new hires a bunch of times to get them to to speed. I find it easier to learn something when I’m given a practical use for it and how it solves that problem.


  • Pencilnoob@lemmy.worldtoProgrammer Humor@programming.devstop
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    In practical terms, it’s most commonly a code pattern where any function that interacts with something outside your code (database, filesystem, external API) is “given permission” so all the external interactions are accounted for. You have to pass around something like a permission to allow a function to interact with anything external. Kind of like dependency injection on steroids.

    This allows the compiler to enhance the code in ways it otherwise couldn’t. It also prevents many kinds of bugs. However, it’s quite a bit of extra hassle, so it’s frustrating if you’re not used to it. The way you pass around the “permission” is unusual, so it gives a lot of people a headache at first.

    This is also used for internal permissions like grabbing the first element of an array. You only get permission if the array has at least one thing inside. If it’s empty, you can’t get permission. As such there’s a lot of code around checking for permission. Languages like Haskell or Unison have a lot of tricks that make it much easier than you’d think, but you still have to account for it. That’s where you see all the weird functions in Haskell like fmap and >>=. It’s helpers to make it easier to pass around those “permissions”.

    What’s the point you ask? There’s all kinds of powerful performance optimizations when you know a certain block of code never touches the outside world. You can split execution between different CPU cores, etc. This is still in it’s infancy, but new languages like Unison are breaking incredible ground here. As this is developed further it will be much easier to build software that uses up multiple cores or even multiple machines in distributed swarms without having to build microservice hell. It’ll all just be one program, but it runs across as many machines as needed. Monads are just one of the first features that needed to exist to allow these later features.

    There’s a whole math background to it, but I’m much more a “get things done” engineer than a “show me the original math that inspired this language feature” engineer, so I think if it more practically. Same way I explain functions as a way to group a bunch of related actions, and not as an implementation of a lambda calculus. I think people who start talking about burritos and endofunctors are just hazing.









  • Surgery is an extremely stressful thing! Feeling anxious about it is normal!

    One thing that might help with with binging is packing absurd amounts of veggies as snacks. At one point my wife was bringing two pounds of green bell peppers to work every day so she could stress eat them. She started by just bringing fewer regular snacks, slowly replacing them with bell peppers until it was all peppers. That really helped her feel more in control and not guilty at all.

    The other one was eating at least two cups of dark green veggies before every meal. She could still eat as much as she wanted, but she had to figure out a way to make the first two cups of food be dark green veggies like: bell peppers, broccoli, spinach, Brussels sprouts, etc. They didn’t have to be raw either (raw dark green veggies often gives people gas) so she’d roast them with salt and oil so they were delicious. That way she was getting tons of fiber and vitamins, so she just felt better and had more energy to face life’s stresses. That extra fiber also helps with blood sugar.

    The trick is giving yourself permission to undo long habits and know that they often take as long to undo as they took to form.

    If today was 1% better than yesterday, that’s a win. Do it again tomorrow, and then the next day. You’ll be making big changes in months and it won’t be a big shock to the body and mind.

    For myself, I was almost 200lb, and I eventually got down to 140lb, but it took years. All the tricks like keto, IF, IIFYM, etc were fine and helped, but ultimately what took a long time was changing my emotional relationship with food before I could stop binging. That took a long time. What finally helped a lot was just writing down everything I ate every day. I’d also use a CBT trick and write down for each meal how I was feeling emotionally. It is tedious, but it eventually helped my mind realize how much I was using food to fill an emotional hole. That still took about a year. So while some people can just decide to lose weight and do it, I first had to let go of that as an emotional crutch. And that was not as easy. But it was so worth the time and effort! It might take a long time to break that habit, but you can do it, and you won’t regret it!

    You got this girl, I’m rooting for you!


  • It depends entirely on the team and their comfort level with it. I’ve been very successful at landing a job in a new tech stack by first doing a few side projects in it. I’ve changed tech stacks three times.

    However, since most developers very rarely change tech stacks, some will be deeply suspicious and want ample confirmation that you are planning to stick with it. They can be extremely uncomfortable when an applicant knows more languages than them. You also cannot say anything bad about their language or they will immediately disqualify you. You basically need to prove to them that you have seen the light of how great the new stack is and how you can’t wait to work in it. They will feel like you are praising them and take it as flattery. If you say anything bad about the new stack, they will take it as an insult and get angry.

    Silly I know, but it is what it is.

    So even if just for a weekend, I’d learn as much about node.js as possible. Maybe make an express server with some endpoints that connect to a database like sqlite or something.


  • Pencilnoob@lemmy.worldtoMemes@lemmy.mlfreedom of speech
    link
    fedilink
    English
    arrow-up
    83
    arrow-down
    3
    ·
    2 years ago

    “and then we told them, everyone getting to vote isn’t a fair election”

    “And then we told them, we only hate trans people, not gays and blacks”

    “And then we told them, deregulation frees billionaires to take care of the planet more efficiently”

    “And then we told them, school shootings are caused by not enough guns in schools”