• 0 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • It’s good practice to run the deployment pipeline on a different server from the application host(s) so that the deployment instances can be kept private, unlike the public app hosts, and therefore can be better protected from external bad actors. It is also good practice because this separation of concerns means the deployment pipeline survives even if the app servers need to be torn down and reprovisioned.

    Of course you will need some kind of agent running on the app servers to be able to receive the files, but that might be as simple as an SSH session for file transfer.



  • That’s probably okay! =) There’s some level of pragmatism, depending on the sort of project you’re working on.

    If it’s a big app with lots of users, you should use automation because it helps reliability.

    If there are lots of developers, you should use automation because it helps keep everyone organised and avoids human mistakes.

    But if it’s a small thing with a few devs, or especially a personal project, it might be easier to do without :)


  • Sure, but having a hands-off pipeline for it which runs automatically is where the value is at.

    Means that there’s predictability and control in what is being done, and once the pipeline is built it’s as easy as a single button press to release.

    How many times when doing it manually have you been like “Oh shit, I just FTPd the WRONG STUFF up to production!” - I know I have. Or even worse you do that and don’t notice you did it.

    Automation takes a lot of the risk out.


  • I’m sure there’s nothing wrong with the program at all =)

    Modern webapp deployment approach is typically to have an automated continuous build and deployment pipeline triggered from source control, which deploys into a staging environment for testing, and then promotes the same precise tested artifacts to production. Probably all in the cloud too.

    Compared to that, manually FTPing the files up to the server seems ridiculously antiquated, to the extent that newbies in the biz can’t even believe we ever did it that way. But it’s genuinely what we were all doing not so long ago.




  • tiramichu@lemm.eetoAsklemmy@lemmy.mlIs everything the worst?
    link
    fedilink
    arrow-up
    9
    arrow-down
    3
    ·
    edit-2
    21 days ago

    I don’t think anyone would claim that literally going outside is gonna fix anyone’s life, or cure this broken-ass world we live in.

    But the sentiment isn’t wrong.

    It means: Take some time for yourself. Enjoy the small things. Exercise. Feel the sun on your face. Leave your phone in your pocket, and stop doomscrolling. See the world in your own terms, not the terms others want to force upon you.

    It helps. You can’t change the whole world, but you can change yourself.




  • That Cloudflare were justifiably unhappy with the situation and wanted to take action is fine.

    What’s not fine is how they approached that problem.

    In my opinion, the right thing for Cloudflare to do would have been to have an open and honest conversation and set clear expectations and dates.

    Example:

    "We have recently conducted a review of your account and found your usage pattern far exceeds the expected levels for your plan. This usage is not sustainable for us, and to continue to provide you with service we must move you to plan x at a cost of y.

    If no agreement is reached by [date x] your service will be suspended on [date y]."

    Clear deadlines and clear expectations. Doesn’t that sound a lot better than giving someone the run-around, and then childishly pulling the plug when a competitor’s name is mentioned?


  • Littering.

    When someone carelessly throws their trash on the ground, that says a huge amount about their respect for other people, their feelings about the environment, and even their views on social equality.

    It’s a tiny thing, but an immediate dealbreaker.

    People who throw their trash on the ground are the same people who yell and get mad at minimum-wage staff, while those staff hold back tears. They are the people who take more food at a buffet restaurant than they could ever even eat. They are the people who think the world and everyone in it owes them whatever they want, but without ever giving anything back.

    I bet we all know a person whose car looks like a scary biohazard of old drive-through cups they haven’t cleaned yet, but I’d much rather date that person than someone who throws it all out the window.


  • This is it.

    I’ve previously lived in Japan and there is always so much wrapping!

    A large amount of packaging creates a perception of quality, as if a lot of care has been taken in the product, and culturally that sells well.

    Kinda ironic as another thing you see everywhere in Japan is ‘eco’ this and ‘green’ that, they are very big on the perception of “saving the environment” and yet everything is covered in so much unnecessary plastic.







  • The GameCube was a flop mostly because of image and marketing, not because it wasn’t technically good.

    I have one and I love it, but I only got it long, long after release.

    What 12-year-old boy asking for a Christmas present is going to choose the cutesy purple brick that “only has kid games” over a sleek black PS2 that is seen as being adult, with action and fighting games? Not many, and so the GameCube flopped.

    I think Nintendo were starting to see at that time that consoles weren’t just for boys. They were for girls too, and for the whole family, and the GameCube was a step towards that. But it didn’t go far enough. They ended up stopping short and falling smack in the middle where it didn’t appeal to the established ‘male gamer’ demographic, and still didn’t grab families either.

    Then the Wii came along and went HARD on the family-friendly aspect, and just blasted off the shelves. Nintendo learned a lesson, but the GameCube was the price they had to pay for it.


  • Sure, doing something a lot makes you good at it. That’s why racing drivers are fast on a course - practice.

    But what a lot of people are doing when “driving” is not really driving - it’s the act of trying to get from point A to point B while not caring how that movement actually happens. They’re texting or talking to passengers or thinking about work, or what they need to buy for dinner, trying to get on with the rest of their life despite currently being at the helm of a machine capable of killing themselves and others.

    Some people are out there not practicing driving, but practicing multitasking while thinking about the driving part as little as possible.