• 2 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle
  • Gnubyte@lemdit.comtoProgramming@programming.devWhat are your programming hot takes?
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    6
    ·
    edit-2
    1 year ago

    🌶️🥵Many people consume Facebook meta company’s tech stack wholesale, don’t know how to actually traditionally program their way out of a paper bag, and web dev and devops caused a massive layoff (250k people) at the end of 2022, start of 2023 because it was all vaporware. They consume the same software in droves if the other guy uses it.

    There is an entire subculture around it that is just a bunch of medium.com writers, YouTubers and twitter handles just trying to get the clicks for their ad money. Some of these guys have never written valid software or done anything noteworthy. If you meet them head on you’d find they have enormous egos and can’t find a counter argument when presented with reason.

    I’ll even add on that there are many programmers who don’t know how to code outside a web app.

    Why is something like [react, graphql, react ssr, devops, tailwind, unit tests, containers] vaporware?

    • there are other frameworks even with component libraries that are easier to read the code for large codebases, better maintained, and have cohesive full stack solutions, and even faster to develop in, to name one quasarJS or even just plain ecmascript
    • if you look at the anatomy of these enterprises using these solutions they’ve evolved to have micro front ends requiring armies of workers.
    • devops is a sales term, the actual implementation of it is so contextual that you’d probably find you don’t need a full time job for it half the time and most are relatively easy to setup inside of a business quarter
    • not everything is Facebook scale: unless you’re padding your resume why did some of these get adopted? How complicated does your app need to be? Did you really need to transpile JavaScript for it?
    • unit tests were code to test your code that you’re going to have to functionally test anyways: you’re telling me that you have to write your code…twice? How the hell did this ever get justified to mangers? Why did the culture not evolve into literal automated smoke tests of the actual builds, instead of testing whether a function that is probably type annotated is going to fire anyways???
    • docker/containers suck ass: great that they solved a problem but created a whole new one. we moved to python and JS which were JIT without artifacts and suddenly everything needs a generalized build system to run it. C lang variants and Rust lang compile to a binary you can just run… Ship the small ass binary not an entire container to run your shitty web app

    You know the stuff I don’t hear about?

    • Javascript and Python were steps in the evolution but never the end goal. I’d even say the same of java. There are new solutions but JavaScript in the browser especially should be replaced.
    • eye appeal is buy appeal
    • that eye appeal shouldn’t always mean you need to use a library or framework; vanilla apps work okay too.
    • binaries/artifacts/installer packages > containers
    • automated testing of the actual end product
    • well written logging to the point someone can tell what the application was doing without seeing code
    • using all these compsci algorithms to actually write new products and searches from scratch instead of being a framework baby: do you actually need ELK or Splunk for your search? Really?
    • you probably don’t need MySQL for a lot of projects, I bet you an async library with sqlite would be the same for many of these projects.
    • small teams with feature rich apps using SSR, the value of an SSR web app
    • the value of a SPA
    • the value of traditional desktop software and not using REST APIs


  • Godspeed. I hope the transition goes well. If you need to baby step towards it, I felt like docker swarm was easier to approach but kubernetes is far more standard. I recommend budgeting training into the rollout if your shop can afford it. For CI/CD I recently had a great experience with github and github actions but I had a coworker setup on-premise gitlab in the past too.

    Somewhat of a tangent - My experience with alembic of over four years is that it is leagues better than manual SQL dealings, and also very easy to understand what you’re looking at. But I have to say that when I used sequelize in NodeJS, it has an autosync and autoupgrade schema that made alembic look silly.

    In regards to my own post I think for now what I’m mostly seeing is that for each new deployment - is going to have to have an internal smoke test, then staggered rollout of updates.



  • TLDR: I’m still very suspicious of how that is quantified - “leading to an overall better product”.

    Who quantifies that and how, on a case by case basis, especially in the form of Chromebooks or phones for revenant, popular examples?

    Let’s say it was a laptop: I can see issues with lithium batteries perhaps reaching a cycle count that lead them to be dangerous. Wouldn’t that mean though you should produce a good that has replaceable batteries? Is the battery designed in such a manner on purpose?

    Businesses with shareholders that live quarter to quarterly profit are the issue. There is no authoritarian legislator that reallocates resources like China did the last few years, for example, whether you like it or not.

    The US relies on legislation to be passed to mandate the changes or prohibit a device from being built a certain way. That legislation can be lobbied for loopholes, have various people in power also own percentages of the companies, etc. Whether you agree with it or not, there are many checks and balances and simultaneously a lack thereof.




  • I went and deactivated my twitter accounts today. I got Lemmy and when I do my own servers via my own app, I’ll enjoy a twitter alternative again. Edit: Im saying this because my mind went to action not bitching. I think the X rebrand is like a sign of the times and the official “okay twitters dead” moment.