How do you deploy in 10 seconds?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSO
    something_random_tho
    5h ago 100%

    For sure, in PCI environments this doesn’t work. And in the Series F company we don’t use this approach for that very reason. But there’s tons of companies that don’t have or need external certifications, and it works for that much more common scenario. For the small web (i.e. most of the web), it’s ideal.

    The important takeaway isn’t “wow, doing production builds on your PC isn’t secure.” Do it on a dedicated box in production, then. The important takeaway is there’s a mountain of slow things (GitHub workers, docker caching, etc) which slow developer velocity, and we should design systems and processes which remove or eliminate those pains.

    1
  • paravoce.bearblog.dev

    cross-posted from: https://lemmy.world/post/21065836 > Hi friends, as promised, I'm back with my second post. I'll be hanging around in the comments for any questions! > > In this post, I take a look at a typical deployment process, how long each part of it takes, and then I present a simple alternative that I use which is much faster and perfect for hobbit software.

    11
    1
    paravoce.bearblog.dev

    cross-posted from: https://lemmy.world/post/21065836 > Hi friends, as promised, I'm back with my second post. I'll be hanging around in the comments for any questions! > > In this post, I take a look at a typical deployment process, how long each part of it takes, and then I present a simple alternative that I use which is much faster and perfect for hobbit software.

    25
    4
    paravoce.bearblog.dev

    Hi friends, as promised, I'm back with my second post. I'll be hanging around in the comments for any questions! In this post, I take a look at a typical deployment process, how long each part of it takes, and then I present a simple alternative that I use which is much faster and perfect for hobbit software.

    4
    7
    You're overcomplicating production
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSO
    something_random_tho
    1d ago 83%

    Hi friend, this was just meant to be an introduction, as I get started blogging and sharing back some knowledge and lessons I learned along the way. I've never written a blog before (or much of anything!), and I'm sorry you didn't find value in this.

    I wasn't intending to boast, but I can see how it came across. I just meant to say, "companies are trying to tell you that you need 'XYZ' to scale," and at least at the size of business I ran, you didn't need any fancy tech at all -- we could have made do with a dead-simple setup: a single server running Go and SQLite. It's something I wish I had known when I started.

    I'll take your feedback to heart and try to produce larger, more substantial posts to follow. Thanks for commenting.

    4
  • You're overcomplicating production
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSO
    something_random_tho
    1d ago 100%

    I’m concerned that your preferred solutions may ignore the needs of working with peers. When I’ve worked with similar solutions before, we had a lot of on call, and it all went to the same person, regardless of who actually answered the phone.

    Totally hear you and have the same experience myself. The approach I'm advocating for is simply running a binary on a server with rsync to deploy, and architecting your product around that limitation. Teaching a team the basics of Linux sysadmin will be incredibly useful for their careers, and it's something that the whole team can easily learn. Then you don't need to hire a k8s team -- any engineer can do some basic debugging when things go sideways.

    2
  • You're overcomplicating production
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSO
    something_random_tho
    2d ago 100%

    Fair criticism. I wanted to lay the groundwork as I intend for it to be a pretty large resource for people over time. Like starting with chapter one before I write the whole book. I hope you can find some value in some of the stuff to come.

    2
  • You're overcomplicating production
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSO
    something_random_tho
    2d ago 83%

    Is it too late for, “I use nix btw”? I use it at home and for development.

    I planned to focus this blog series on ol’ faithful (Debian), but I could definitely see writing articles on how to use Nix and OpenBSD if people find it helpful.

    4
  • paravoce.bearblog.dev

    cross-posted from: https://lemmy.world/post/21023181 > Sharing some lessons I learned from 10 years/millions of users in production. I’ll be in the comments if anyone has any questions! I hope this series will be useful to the self-hosted and small web crowds—tips for tools to pick and the basics of server management.

    19
    14
    paravoce.bearblog.dev

    cross-posted from: https://lemmy.world/post/21023181 > Sharing some lessons I learned from 10 years/millions of users in production. I’ll be in the comments if anyone has any questions! I hope some of the lessons in this series help people learn to adopt Linux directly into their stack as a simple tool that can be managed easily on a server.

    7
    4
    paravoce.bearblog.dev

    Sharing some lessons I learned from 10 years/millions of users in production. I’ll be in the comments if anyone has any questions!

    15
    13
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMI
    Jump
    But I hear it's terrific.
    Comenting code
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSO
    something_random_tho
    3w ago 100%

    100%. I also like to leave comments on bug fixes. Generally the more difficult the fix was to find, the longer the comment. On a couple gnarly ones we have multiple paragraphs of explanation for a single line of code.

    5
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFE
    Jump
    Bluesky's fedi-washing

    I recently found that the OsmAnd app lets you adjust the safety of your bike routes, so you can prefer safety over distance. When navigating, click the "Ride Style" button and choose "prefer unpaved roads." That name made me think it would find gravel/off-road trails, but it actually selects safer roads. In my experience this setting chooses the optimal routes--it's finding the same general path that I would pick based on local knowledge, and it found improvements where I could take a slightly different street for a few blocks to avoid cars! Also, OsmAnd~ is available via Fdroid with all the paywalls removed.

    40
    8

    cross-posted from: https://lemmy.world/post/16996892

    72
    1

    cross-posted from: https://lemmy.world/post/16790112 > Just tried commuting on my bike from Santa Monica to downtown Culver City today. I took the Exposition bike path, which was fine until I needed to get off of it to head south. > > Google recommended I take National and--lo and behold--there's no bike lane with cars flying past at 55mph+ on blind hills. That's a death trap. > > On the way home I left early to avoid traffic. I took Venice Blvd, since it has a protected bike lane all the way until McLaughlin which Google Maps called "bicycle friendly." No bike lane, of course, with cars flying past leaving a foot of distance between me and death. One testy driver in a BMW didn't want to wait the 15 seconds for me to pedal into the left turn lane to get back onto the Exposition bike path, honking and then flying by nearly killing me. Jeez lady, I'm not the city planner. Don't kill me to save 15 seconds. > > How does Culver City put zero bike lanes going north to south connecting to the Exposition path? How do these drivers maintain their licenses? > > What's a cyclist to do?

    4
    2

    Just tried commuting on my bike from Santa Monica to downtown Culver City today. I took the Exposition bike path, which was fine until I needed to get off of it to head south. Google recommended I take National and--lo and behold--there's no bike lane with cars flying past at 55mph+ on blind hills. That's a death trap. On the way home I left early to avoid traffic. I took Venice Blvd, since it has a protected bike lane all the way until McLaughlin which Google Maps called "bicycle friendly." No bike lane, of course, with cars flying past leaving a foot of distance between me and death. One testy driver in a BMW didn't want to wait the 15 seconds for me to pedal into the left turn lane to get back onto the Exposition bike path, honking and then flying by nearly killing me. Jeez lady, I'm not the city planner. Don't kill me to save 15 seconds. How does Culver City put zero bike lanes going north to south connecting to the Exposition path? How do these drivers maintain their licenses? What's a cyclist to do?

    15
    4