1. 4

    I recently got an 8gb m1 pro for work and was extremely skeptical of the tiny amount of memory but have been consistently blown away with the performance and responsiveness of the machine, super interesting read digging into how that works beyond raw performance.

    1. 3

      Just discovered a whole bunch of neat console.X functions I never knew existed, really interesting!

      1. 23

        Prometheus/Grafana ? Prometheus out of the box node exporter should have everything you need

        1. 5

          This is what I’m I’m using to monitor my two servers. I setup prometheus with static scrape targets for the node exporters on my two servers, as well as the application metrics on one of them. The config uses the Digitalocean private network IPs so it’s unencrypted. Then I setup Caddy as a reverse proxy with https. Finally I created a Grafana config that uses sqlite for storage, uses Gitlab Oauth to login, points at the local Prom interface, and has a slack auth token for notifications.

          This all lives in the NixOS expression for my server, so it’s actually pretty easy to maintain. The part that took the longest was setting up the Gitlab auth. I can share the config if you’d like.

          1. 5

            please if you could that would be helpful. I’m always interested in how other people are setting up nixos

            1. 7

              Here’s what it looks like: https://gitlab.com/-/snippets/2102573

              The network.nix is the config for morph to deploy the server. The configuration.nix contains all the config for the monitoring server. I just run nix-shell --run 'morph deploy network.nix switch --upload-secrets --on "monitoring*"' when I want to update the server.

              1. 7

                I followed https://christine.website/blog/prometheus-grafana-loki-nixos-2020-11-20 when setting it up on my infrastructure and it was really helpful

            2. 3

              I’d second this. It does require more moving parts than stuff like monit, et al, but it’s simple to set up and flexible enough that you can add in additional data as you want.

              1. 1

                Third vote for this! Use it at Afterburst (~20 nodes and at work with >1k nodes) cannot recommend the combination enough.

              1. 1

                Relaxing! Crazy week at work so mostly unwinding. Tinkering with our new DrayTek router a bit perhaps, otherwise nothing :)

                1. 2

                  Plugging away on some pyinfra improvements for the upcoming 1.4 release mostly.

                  Thinking about hacking together a static copy of Thunderbirds ISPDB with a basic ui because their hosted copy is flakey. All so I can then use it for Kanmail!

                  1. 1

                    Just upgraded from a terrible tp-link modem+WiFi router to a Linksys velop mesh dual band (tp link still handles modem+routing). Internet is 60/20 so really no need for anything more powerful. Powerline links the modem to primary velop node, and also provides Ethernet to the office (end of garden). Pretty good overall, impressed with the velop performance even over dual band, more than keeps up with our internet.

                    1. 1

                      I switched away from Makefiles to a python -m make style setup for Kanmail, specifically because I felt I wasnt using any of makes actual features (dependencies etc) and spent a lot of effort dealing with its qwirks. Like the venv stuff though which is neat!

                      1. 3

                        Honest question - has rent control ever worked?

                        1. 19

                          The rent control thing is oh so terrible that almost everyone I know now pays less. A colleague’s rent was halved b/c they were basically ripping him and his family off. Why? Because they could. The law is good for the people of Berlin!

                          The market has been a mess for many years, long before the rent control was put into place.

                          1. 3

                            Also, the Mietendeckel is causing many landlords to start to dump their Altbau units so they can shift their investments to cities like Frankfurt where it’s less regulated. This has personally benefited me as I was able to buy a nicer home than I expected with the budget I planned. So, the rent controls are also benefiting people like me who want to purchase a home for personal use.

                            The recently constructed Neubau units that the controls do not apply to have exploded in price, which in turn incentivizes new construction, which alleviates the fundamental problem over time. It’s still the early days, but I’m optimistic it may turn out to be a big success at actually increasing unit availability.

                            1. 2

                              From various other anecdotes in this thread it sounds like the actual problem is lack of supply, and neither rent control nor no-rent-control alone changes that. “Old buildings are rent controlled and new construction is not” sounds like a potential solution, will be interesting to see what happens.

                            2. 3

                              This is the seen vs the unseen. I live in Berlin and now pay less. I also was unable to find a new apartment even though I looked for a year. There must also be many people who don’t have any chance to come to Berlin now because trying to get an apartment is like playing roulette (for everyone, not just for evil techbros).

                              Maybe the Berlin government can just slash half the prices of everything tomorrow, we’d all save a lot of money that way.

                              1. 1

                                That has absolutely nothing to do with rent control. It was like that before, in fact it was worse b/c there were simply no affordable places. Now you may actually find one when somebody moves out.

                                Now you have crazy high prices for everything build after 2014, before you had them for everything. I fail to see how rent control made that worse.

                                1. 4

                                  No, it was not like that before. Rentable apartment supply has shrunk to 50% of what it was before rent control, and many of those just pretend to rent out and just decline every offer, waiting for the law to be struck down so they don’t have to honor 50% undervalued contracts. When I came to Berlin 5 years ago it took one day of going to the viewing of 4 apartments and I got one. Now I can’t find one at all.

                                  1. 5

                                    No, it was not like that before.

                                    I have been here since 2013 and then it was already not easy. People then already stayed in their places, if they were not part of the rich “IT crowd”.

                                    and many of those just pretend to rent out and just decline every offer, waiting for the law to be struck down so they don’t have to honor 50% undervalued contracts.

                                    There is a law preventing that too, unfortunately not followed up enough.

                                    When I came to Berlin 5 years ago it took one day of going to the viewing of 4 apartments and I got one.

                                    I am sorry that I have to say this, but if you had that many options 4 years ago, you are probably part of the problem that drove the rents up. IT people like us have a ton of money and may find things affordable that the regular old Berliner can not afford. Berlin was for a long time a poor city and still is not rich. The household income for Berlin was less than 21k/year in 2019 (I could not find newer numbers quickly).

                                  2. 0

                                    It made it worse by causing (non-regulated) prices to rise even faster. https://twitter.com/andreaskluth/status/1366693336715771906

                                    1. 1

                                      Read more of the replies, the issue was that not all of the apartments were regulated.

                                      https://twitter.com/darren_cullen/status/1366824878960173064?s=20

                                    2. 0

                                      I think you’re right that it means that there are affordable apartments again, but I think you’re missing the fact that it has also had a dramatic effect on number of available apartments.

                                      It seems like a lot of landlords are choosing to not sign new contracts and/or just sell the units instead of re-renting them, so there’s been a 50-70% decline in number of new listings. So while there are affordable apartments again, there are just a lot fewer of them.

                                      Maybe we just have to wait out the landlords until the Mietendeckel’s legal status is settled? It will be interesting to see how it plays out.

                                      Is this better? I don’t know. I’m supportive anything to try to limit housing speculation. And I’m happy for all my friends with newly reduced rents. But for anyone who needs to move it makes life very difficult, and makes it a lot harder for anyone “new” to ever come to Berlin.

                                      Sources: Personal experience trying to find a new flat in Berlin flat this year, and a (biased) Bloomberg article that translates a study that my German language skills are not quite ready for.

                                      https://archive.is/l3i2w

                                      https://www.ifo.de/publikationen/2021/aufsatz-zeitschrift/ein-jahr-mietendeckel

                                  3. 2

                                    Really interesting to hear! I remember reading about the introduction of controls years ago and thinking it was a great idea, great to hear about it working in practice!

                                    1. 2

                                      This is interesting. Does it not create slumlords like they have in NY? Buildings where none of the amenities are properly maintained? If it takes up to a year to find a new place to live in Berlin, where do you live in the meantime? Do you have to plan every move with multiple months of notice?

                                      1. 1

                                        Sure, rent control absolutely benefits some people - the ones who are already renting.

                                        The economic argument against rent control (which seems to practically universal in the economics profession, regardless of political affiliation) is that this benefit comes with huge costs to future renters & people in marginal accommodation, combined with a hidden drag on the wider economy. In other words, it’s not just a transfer of wealth from landlords to current renters, it’s also a transfer of wealth from future renters to current renters & one that carries huge economic costs alongside it.

                                        Nobody seems to have tried Georgist land taxes instead of rent control that I’m aware of, which shows how much political power economists actually have…

                                      2. 4

                                        While interesting, probably not the best venue for this question.

                                        ** Edit ** Actually, if you are interested in stuff like that, I would recommend checking out the urban planning subreddit. It’s got a pretty good community by reddit standards.

                                        1. 4

                                          Depends on what you mean. If you mean ‘subsidize renters who already have an apartment at the cost of landlords, people moving in and people moving around’, then yes, it works great. I’ve been looking for an apartment for a year and wasn’t able to find one. Many landlords won’t even rent out at all in the moment because they think the rent control is illegal and will soon be reversed.

                                          As the article states, the solution to high rental prices is building more apartments, which is notoriously hard and costly in Berlin.

                                          1. 3

                                            it’s working great, except for tech bros that want to move in. Exactly as intended.

                                            1. 2

                                              How is excluding “tech bros” “as intended” working out for regular, working-class immigrants?

                                              1. 5

                                                it was already hard to find a new place for them, because the struggle OP is experiencing was the norm for working-class people targeting low-price apartments. They had a ceiling above which they couldn’t go while tech-bros could. They still can, but there’s just less offer for them.

                                                On the other side, working class people that already had an apartment are shielded from price growth that was pushing them away or forced them to move to smaller and smaller apartments or rooms (generating even more competition at the bottom).

                                                In the movements that created political support for this rent freeze there are many organizations of immigrant workers. Due to corona I haven’t had contacts with them in a while, but I guess they are happy of their victory.

                                          1. 2

                                            I tried to switch to pass before but couldn’t get over the lack of sync and browser extension - both I consider essential for any password manager.

                                            Current solution is KeepassXC & Keepass2Android with Dropbox providing the synchronization between devices. Get full browser integration and sync everywhere for free (and an open source desktop client as a bonus).

                                            1. 4
                                            1. 23

                                              I use KeePass compatable password managers. At the moment that’s KeePassXC on the desktop. I use it because there’s a choice of clients all using this same database format; said format is a single file I can sync between devices myself (I use Syncthing); and because it’s good enough! And of course a local database allows me to make sure my secrets never leave my devices.

                                              I previously used 1Password but I reached a point where I couldn’t tolerate relying and trusting a third party with my secrets. At the time their Linux and BSD support was essentially non-existant, although believe that’s recently changed for the better.

                                              The biggest problem I have with KeePass is its limited data model. For example, items can’t be associated with more than one URL and trying to store anything other than website username-password pairs feels unnatural. But that’s not a major issue.

                                              1. 6

                                                +1 for the KeePass universe

                                                It is not as polished as the alternatives, but has tons of customizablilty, is open source, and has a wide range of compatible alternative “frontends” for the database.

                                                I use vanilla KeePass 2.x on windows, and KeePassDX on Android. Both do their job well enough for me. KeePassXC is more polished, probably OP should try that instead of vanilla KeePass.

                                                1. 2

                                                  How do you sync between your devices? I’m using MacPass on macOS and KeePassium on iOS but I’m always a bit worried about the sync, because it doesn’t operate record by record but on the whole file instead.

                                                  1. 4

                                                    I use syncthing. KeePass has some basic conflict resolution support in case it is needed.

                                                    Syncthing has file versioning, which I also use

                                                2. 2

                                                  I couldn’t tolerate relying and trusting a third party with my secret

                                                  The whole point of 1Password is that you don’t have to trust them at all. Your secrets are encrypted with a combination and your master password (in your head) and a random secret key (only stored on your devices) both unknown to 1Password.

                                                  Bitwarden does something similar, albeit without the random secret key, which can or cannot (I’m still not sure about that) an office attack easier if their server is hacked.

                                                  1. 5

                                                    You still need to trust that that’s what actually happens and that they have not and will not be coerced into changing that. Now, I probably do trust AgileBits - I used 1Password for a long time. But a while back I decided that I don’t want to have to trust others when it comes to my password manager. YMMV :)

                                                  2. 2

                                                    Another +1 for keepass - I use xc on desktop with the Firefox plugin and keepass2android on phone, with Dropbox handling the sync. Works perfectly for me :)

                                                    1. 2

                                                      I’m also in KeePass land. I’m attracted by the fact that it’s free and open source. I currently use KeeWeb with database files stored in Dropbox across my MacBook and iPhone. I especially like the ability to store arbitrary info along with my password and use it remember what address/phone number I gave the account and the lies I’ve told as answers to my security questions.

                                                      For ease of use I remember less critical passwords (low impact if compromised or accounts with app-based 2FA) in the Apple keychain (iCloud) and keep the important ones only in KeeWeb.

                                                    1. 2

                                                      If you can package the app into a (docker or other) container I think this makes testing and deployment on Jenkins & elsewhere a much simpler issue - you just need to install Docker and run the containers.

                                                      Once you’ve a working container it should just be a case of installing docker on a server and running the app as a systemd unit. For this bit the tools you mentioned are all suitable - I’d also like to plug my own pyinfra if you know/prefer Python, Ansible is also pretty quick to get started with.

                                                      Hope this helps a bit! Happy to answer any further questions :)

                                                      1. 1

                                                        Yes, I figured it would be nice to put it all into a Docker container.

                                                        How do I then get the systemd unit file into the system - that’s sort of the missing piece for me right now.

                                                        1. 3

                                                          Some people suggested using Ansible. You can manage containers on your host with the docker_container module (https://docs.ansible.com/ansible/latest/modules/docker_container_module.html). You don’t need to use systemd to manage your containers as the docker daemon is essentially a systemd for containers.

                                                          1. 2

                                                            Getting systemd to start/stop Docker containers is a bit of a pain. I think the easiest way to go is to just start your container with --restart unless-stopped (or docker update --restart unless-stopped $containername if you’ve already created a container).

                                                        1. 1

                                                          I use StandardNotes all the time but am now attempting to move most of my notes to actual paper and a solid mechanical pencil. I recently noticed my handwriting has degraded to a point where I can barely read it; so re-learning (one week later it really does help).

                                                          Also find actual writing is much better for recall, and it’s a nice break from the screen - highly recommend!

                                                          1. 18

                                                            Nice setup.

                                                            1. I really advice against the side by side monitors. There problem is, your going to have your main app open in one monitor at a time so your going to be turning your neck for hours at a time. Suggest either stacking it going with a single large monitor. I got a Dell 43” 4k monitor for $700 ish. I previously had a single 32” ultra wide, which as the author mentioned is too short. Then a friend sold me his and I stacked them. That was ok but made me standing desk hard to use in standing mode.

                                                            I like the single monitors with a window management app. I’d love this setup now if I could get it in a curved version and a higher resolution for sharper text, but otherwise it’s amazing.

                                                            1. I’m always amazed that people are so hesitant to spend money on their work tools. They are tax-deductible but more importantly, they are in investment in your long term health and happiness. It’s one of the biggest advantages of working from home. Your don’t have to use the cheap crap your employer provides.

                                                            It’s doubly amazing because many in this situation are making $100k (possibly multiples of that). Also do many people have some crazy expensive bike,car,boat,guitars, home theater, etc that’s only used a few hours a week.

                                                            I know it’s tempting to cheap out, but 30,40,50 year old you will thank you.

                                                            That’s my PSA if the day.

                                                            1. 3

                                                              Shouldn’t have read this. The night just got expensive.

                                                              1. 3

                                                                turning your neck for hours at a time. Suggest either stacking it going with a single large monitor.

                                                                So you should be looking up for hours at a time?

                                                                1. 1

                                                                  The distance between the center of two widescreen monitors is much smaller when stacked than when side-by-side. And of course that’s not true of landscape or square monitors. Not ALL stacked monitors are ergonomically arranged but you can reduce neck movement by stacking.

                                                                  1. 4

                                                                    I don’t know if it’s just about distance. I find the vertical angle matters much more than the horizontal angle. For example, I find laptops difficult to use for long periods because my neck gets sore looking down all the time, instead of looking straight ahead. However, I don’t have any problems with horizontal monitors.

                                                                2. 1

                                                                  That’s a good point about the dual monitors. I’m considering having one facing flat forward, and another angled off to the side. I’d probably have to sit off to one side of my desk but that’s not too concerning.

                                                                  I get your point about spending money on work tools, which might fall in the same category as what people say about beds & shoes. I do worry this attitude if adopted too enthusiastically can dull judgement about whether a given tool is really necessary - for example a gas-spring monitor stand instead of a basic one or an Ergodox instead of Goldtouch keyboard (although I admit being tempted by the Kinesis Advantage2 from seeing all the people who swear by it). With the way our society is set up it is often very difficult to determine (even within our own heads) whether something expensive is a reasonable purchase that supports good craftsmanship, or just a flex.

                                                                  1. 6

                                                                    Consider rotating one of the screens. I sit straight down the middle for the landscape screen, then have the portrait screen to my right.

                                                                    I’m pretty sensitive to shitty ergonomic setups, and this causes me no problems at all.

                                                                    1. 2

                                                                      This is my setup too. Looks dorky, works great.

                                                                      1. 2

                                                                        I do this too. The only problem is that 16:9 screens reeally don’t like being in portrait. I have a 24” 16:9 screen to the left of the primary screen used mostly for web browsing, and it’s really common for websites to grow a combination of horizontal scroll bars and buttons with text extending outside of their bounds.

                                                                        1. 1

                                                                          Hah, yeah I got the last 16:10 that dell sold a few years ago and just picked up a partner for it, and having them side-by-side vertically is great, but I would be loathe to throw away 10% of that space.

                                                                        2. 1

                                                                          That’s a neat idea, I think I’ll try that!

                                                                        3. 2

                                                                          All decisions come with error bars. Fall on one side, you have a flex; fall on the other, you are performing worse at work than you could be.

                                                                          I know which side I’m happier to land on.

                                                                          1. 2

                                                                            The main point is this: every single person I’ve had a discussion on buying quality tools for work and had an objection to spending money also had some expensive hobby they were willing to splurge on. (I’m sure not everyone is like this, just seemed the people with the strongest objection had other money sinks). Is just a matter of logical consistently. They might have $25k of bike equipment in the garage but get upity about spending $500 on good equipment. That’s why this is one of my hot button issues. A course of physical therapy is going to cost more than decent equipment.

                                                                            My old equipment always finds it way to friends and family and tends to get years of useful life beyond me.

                                                                            1. 2

                                                                              There’s nothing logically inconsistent about spending money in some places and saving it in others. “I spent a bunch of money on thing X, so I should also spend a lot of money on thing Y” sounds more like sales tactic psychology than logical reasoning. You can easily get good enough ergonomic equipment to keep the PT away without spending much money. A $20 used Microsoft Natural Ergonomic 4000 keyboard, a $25 Anker vertical mouse… even monitor stands can be replaced with a stack of old technical manuals. A good chair is really the only thing I’d say you need, and you can get a good-enough used Costco model for like $60.

                                                                              1. 1

                                                                                a stack of old technical manuals

                                                                                To be fair, these are harder and harder to find. Same goes for phone books…

                                                                                1. 1

                                                                                  It is if a) this is the way you make your living and b) you are oddly cheap in this area but spend big money on things you use way less. That’s the point in trying to make and I still find the behavior quite baffling.

                                                                                  Invest in yourself and your health.

                                                                                  I’m not trying to sell you a standing desk.

                                                                              2. 1

                                                                                That’s a good point about the dual monitors. I’m considering having one facing flat forward, and another angled off to the side. I’d probably have to sit off to one side of my desk but that’s not too concerning.

                                                                                At work with a two monitors set-up, I tended to have my main one in front of me flat and the other angled on the left. Not being in the centre of the desk allowed me to have a notebook and pen on the left of the mouse that I can reach for quick notes and having a space not in front of the main screen for thinking with reasonable space to use the notebook.

                                                                              3. 1

                                                                                Could not agree more with this! Many of my colleagues think I’m crazy for sticking to one monitor but I find it not only saves my kneck but also helps keep focus.

                                                                              1. 1

                                                                                I’ve been using a Das Keyboard Ultimate for years now which has blank keycaps. But I could touch type long before I bought it, it has still improved my typing on all keyboards (even those with lettering) - perhaps it’s forced me never to look down even when making a mistake or similar. I think the mechanical nature of the keyboard is the real winner though - I’m significantly more accurate on it than other, non-mechanical, keyboards.

                                                                                1. 2

                                                                                  Bizzarely my mobile provider (Three) blocks access to this domain. Works fine via WiFi!

                                                                                  1. 1

                                                                                    That’s really strange. I’ve been using it for several years via gandi.net. Do you have any guesses why?

                                                                                    1. 1

                                                                                      Unfortunately no idea; going direct to the IP works fine so a real mystery. Sadly there’s no mechanism to discuss this with them either, only thing I can think of is an accidental content block :/

                                                                                      1. 1

                                                                                        I suppose I asked for this treatment by describing myself as a “hacker”. :v(

                                                                                      2. 1

                                                                                        I’m on Three (UK) and can access your website fine

                                                                                    1. 2

                                                                                      Family BBQ Saturday, probably avoid much screen time this weekend :) Will probably crack on with some pyinfra v1.1 work on Sunday evening!

                                                                                      1. 3

                                                                                        I implemented and have been using Kubernetes at work since 1.8. First installed from scratch(!) with no auth/etc (all within private network). We’re now using Rancher to handle provisioning for us which comes with all the bells and whistles built-in. We run/manage ~6 clusters currently. Lessons learnt:

                                                                                        • Build a toy cluster from scratch using vagrant or similar as a learning experience. It has allowed me to really understand the “low level” components of K8s. At its core, it’s really not that complex (or, at least, it wasn’t in 1.8!).
                                                                                        • YAML is ok for simple configuration but completely useless for anything more complext. Expect to bring workarounds or other horrible hacks (helm chart syntax).
                                                                                        • The ability to bring up rapid staging environments really is amazing and has been a huge win for us. Moving this to prod takes seconds too as the docker images already exist.
                                                                                        1. 3

                                                                                          Half way through but released pyinfra v1 at last!

                                                                                          And now spending the rest of the weekend out of code, walk the dog and chill out :)

                                                                                          1. 3

                                                                                            Dev stuff:

                                                                                            • finishing up a minor redesign of Kanmail
                                                                                            • hope to fix a few open issues and release pyinfra 0.15.1

                                                                                            Life stuff

                                                                                            • planning a trip to France now that borders are opening up
                                                                                            • attempting to re seed some of the lawn
                                                                                            1. 2
                                                                                              • Solid terminal + editor with appropriate customization for language and individual. This is well worth investing time in, anyone that I know who has done so has reaped huge benefit for weeks/months/years after.
                                                                                              • Docker (or other containers) based development, with a well defined and low/0-effort path to production. At work we’ve built an in-house tool (kubetools) to enable local dev via docker-compose with one command pushes to K8s clusters. Any process/flow like this is ideal IMO.

                                                                                              Ultimately there are just some things that only a production environment needs that. Someone has to handle this - be it the programmer of the features or a dedicated operations team. I suppose (never used) services like Heruko and Elasticbeanstalk abstract these elements away, which is cool.

                                                                                              1. 7

                                                                                                Docker absolutely does not belong in your edit/build/test loop. It’s a tool for integration testing, not your laptop (or prod, for that matter). If this seems unrealistic to you, in my opinion, you haven’t balkanized your architecture in an appropriate way for delivering business value, and that deserves fixing.

                                                                                                1. 3

                                                                                                  Curious, but why do you say not in production?

                                                                                                  1. 3

                                                                                                    I spent enough time in the sausage factory to become a vegetarian, so to speak. I was in the core Docker ecosystem for several years at the outset, and the code quality I observed convinced me that it has no place running important workloads.

                                                                                                  2. 1

                                                                                                    It’s a tool for integration testing, not your laptop (or prod, for that matter)

                                                                                                    Assuming your objection is to “on laptop integration testing,” I get the idealism here. But, we live in the real world where pushing to a “proper integration testing environment” takes a lot of time, and removes us from the flow of development. Having the ability to do some local integration testing, on my laptop, is pretty huge. It allows me to test that my assumptions in regards to an API / protocol / etc aren’t completely misguided, long before I submit it for a full test run in a more realistic setup.

                                                                                                    (Note: I am not a docker apologist.)

                                                                                                    1. 2

                                                                                                      we live in the real world where pushing to a “proper integration testing environment” takes a lot of time, and removes us from the flow of development. Having the ability to do some local integration testing, on my laptop, is pretty huge

                                                                                                      I guess I don’t agree that integration testing with real dependencies should be part of your development cycle, because I believe (quite strongly) that creating business value at the service level with mock dependencies should be an explicit and enforced design goal of any architecture. Said another way, if you need to integration test to be confident in your changes, you’re too tightly coupled.

                                                                                                      1. 1

                                                                                                        Said another way, if you need to integration test to be confident in your changes, you’re too tightly coupled.

                                                                                                        Something, somewhere has to actually touch the database.

                                                                                                        1. 1

                                                                                                          Sure, but I don’t need a real DB when I’m developing. In fact I explicitly don’t want a real DB when I’m developing.

                                                                                                          Of course I’m speaking from a specific context: business applications where DB access can be easily modeled with a simple contract, and not services that put a lot of logic at the DB layer.

                                                                                                          1. 1

                                                                                                            not services that put a lot of logic at the DB layer.

                                                                                                            I know of few “business applications” that don’t use the whole power of the database. but if you are just talking “Bob’s rails app,” fine. That’s a pretty generous generalization though.

                                                                                                            1. 1

                                                                                                              I know of few “business applications” that don’t use the whole power of the database

                                                                                                              Almost all business applications I’m exposed to have simple CRUD-ish contracts with their persistence layer. Not much logic there. But I’m sure we work in different contexts.

                                                                                                    2. 1

                                                                                                      I’ll bite, I am curious as I am working on a re-write of an open source platform for sharing electronics projects. I am re-using the Gitea open source git hosting software (a self-hostable Github clone) as a back-end. I have everything dockerized and use docker-compose so that any dev that wants to help out can spin up the whole application. I currently also deploy it to staging.kitspace.org using the same setup (with some production overrides in a docker-compose.production.yml). How would you suggest I balkanize this architecture correctly and stop using docker during dev?