• 7 Posts
  • 28 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


  • Those are all expensive, used Thinkpad is below the ground-dirt cheap…$150?!

    My Thinkpad Ultrabook was insanely cheap even with a docking station. I do donate to Pop OS once a year though as a thanks for their work and I recommend the same. It’s like $12 a year on their site and they do great work.

    Trying to get one of their laptops but thats in short order for me, for now.

    Adding on:

    • lack of quick shipping
    • proxied payments like PayPal or apple gpay
    • some use laptop kits that are supposedly cheap
    • hardware different from software if it breaks and there’s no store or big company to ask for a refund from, you’ll be pissed
    • some of the hardware reviews about bugs and their handling of them are damning




  • I want to call out a few QoL things here that will help lemmy:

    • There are a lot of read-the-headline-not-the-article commenters which is natural in an aggregation feed of links; there are numerous posts a day where people rewrite the news’ headlines to fit their agenda where the actual article and articles headline doesn’t reflect ANY of what they’re suggesting. if you run these sub lemmies for news on your server, I encourage you to use a bot or enforce rules for news that simply scrapes the title out of the link. Otherwise people will post news links that lead to a real source but have a false headline.
    • There is a staggering amount of people pushing for oddities like child porn acceptance and I keep seeing it. Unless an entire server is compromised, reach out to the mods and ask to get subs cleaned up. Give moderators the benefit of the doubt and a chance to act without breaking federation completely. Its important Lemmy moderates content but also communicates well amongst each other when something is going wrong.







  • 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.







  • Maybe I’ll make a post about my experience with it after I ship out my startup to prod/app-stores. I was going to try to write a replacement to enms.io but since its already open source I can’t really justify the 2-3 weeks to hack something out,while also adding Nim to the problem set.

    I have to say though, a reads-like python but compiles like c/rust/etc. has really garnered my interest. They had an excerpt about decentralized package management with nimble and that really made me raise my eyebrows.