• 5 Posts
  • 26 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








  • Gnubyte@lemdit.comtoWorld News@lemmy.mlChina is bad
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    There’s a twitch streamer I watch and he often says that he feels like he can’t find information about Ukraine, then goes on to elaborate that there just isn’t many sources available to the US to find news without propaganda cooked in. It’s hard to know what to even trust in the first place.

    I feel strongly that applies to reading articles about China as well especially if they’re written in English.


  • Gnubyte@lemdit.comtoWorld News@lemmy.mlChina is bad
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Thank you for taking the time to post and add in more links.

    I think both China and the US as well as many other countries have insane financial positions, for quite some time now. The housing market in the US really painted that clearly. As I understand it in 2014ish the US passed legislature allowing companies to legally do the same thing they did that causes the housing market collapse again. According to the movie the big short at least, and some googling with that.








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




  • Yeah. I got tired of posting and a message saying “you cant post that for sake of our community” across almost every single subreddit. If I see that shit on lemmy I’ll make sure to block the entire server that has lemmys doing that. Its one thing to can some bots. Its another to have game devs as subreddit mods block negative sentiment for example, or an overzealous mod push their views and just delete comments.

    Its not like I’m out there posting some insane content, either. I tried posting a 15 second video of a funny bug of a dude stuck spinning around to crab rave and I couldn’t even post that to the diablo 4 games subreddit.



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