3,171 karma · joined Dec 3, 2022 (4y ago) · 1,076 submissions
comment 2y ago · link · parent
What has completely changed the field is LLMs. We now have employees of every sort building small Python scripts which actually work. Even installing Python and getting it up and running is something the LLMs help with. Obviously almost all of it is terrible, and none of scale, but for 90% it, it never has to run outside the personal computers of the employees who write it. Now the challenge becomes keeping the knowledge (and scripts) when employees change jobs. Though to be fair, the knowledge bit was always a challenge.
comment 2y ago · link · parent
I mostly view LLMs as advanced auto-complete for what I do and haven’t been very impressed by them, but some of the examples our engineers show us are wild.
comment 2y ago · link · parent
I sort of agree with GP in that the discussions are a waste of time. I also agree with you that you should simply automate it through tools. Styling doesn’t have to be a democracy or about personal preference, all styles work, it’s all about picking one and then forcing everyone to use it. Of course you do it in a much more involving process than what I make it sound like here, but ultimately someone with decision making powers is going to have to lock down the process so no further time is wasted on it.
comment 2y ago · link · parent
As I see it the programming teaching industry, or whatever you might call it, is similar to other self-help industries where people who are good at marketing sell you empty calories. Even if you created an in dept course on something, you would probably have an issue distributing it in the vast ocean of courses.
comment 2y ago · link · parent
Why a senior wouldn’t just head directly to the documentation for a programming language or the equivalent to “The C++ Programming Language” is a different question though. Learning a new language is extremely easy, it’s learning how the compiler, runtime and so on which is hard. You’ll very rarely find that outside of official docs or books written by extremely knowledgeable people.
comment 2y ago · link · parent
There are a million examples of why they are bad, and I can’t really think of any in which they are useful on their own. Which becomes the issue when decision makers advance in ranks and “I don’t dare make decisions without covering my ass” managers slip in. Or when HR gets too much political power and push their tools as the law. Often organisations simply grow into poor cultures because the systemic value of measurements is shit compared to individual management. This is of course helped along by bad managers, who when given too much freedom create an organisational culture which is far worse than the meritocracy of data driven management.
I think it’s a little rough to judge someone who may have grown up in these cultures as a bad manager from a couple of lines of text.
comment 2y ago · link · parent
I agree that there will be an ideologically divide, but I don’t think it’s related to entrepreneurship as much as it is to greed. Especially because those crypto “billionaires” were moving to Switzerland anyway. Personally I can see why you would think it was anti-business because it is. You have to keep in mind that not everyone thinks “businesses” which can’t make money, and likely never will, are always a benefit to society.
comment 2y ago · link · parent
It’s very nice to have it called tariff in basically every EU country though. We get green energy tariffs and if it was called something different in each country they wouldn’t be fun.
comment 2y ago · link · parent
One of the things I like about the Azure CLI is that it rarely changes. I would like to clarify that I’m mainly talking about Azure App Services and not VMs. Function apps for most things, web apps for things like APIs.
As far as the script goes they are basically templates which are essentially “copy paste”. One of the things I tend to give developers in these organisations is “skeleton” projects that they can git clone. So they’ll typical also have some internal CLI scripts to automate a lot of the code generation and an azure-pipelines-resource-creation.yml plays into this. Each part of your resource creation is its own “if not exist” task. So there is a task to create a resource group. Then a task to create an app service plan and so on.
It won’t scale. But it will scale enough for every organisation I’ve worked with.
To be completely honest it’s something which grew out of my frustration of repeating the same tasks in different ways over the years. I don’t remember exactly but I think quite a few of the AZ CLI commands haven’t change for the past three years. It’s really the one constant across organisations, even the Azure Poetal hasn’t remained the same.
comment 2y ago · link · parent
I’ve done bicep, terraform and both Kubernetes and the managed (I forgot what azure conteiner apps running on top of what is basically Kubernetes is called). When I can get away with it I always use the Azure CLI through bash scripts in a pipeline however and build directly into Azure App services for contained which is just so much less complicated than what you probably call “cloud shit”. The cool part about the Azure CLI and their app services is that it hasn’t really changed in the past 3 years, and they are almost one size fit any organisation. So all anyone needs to update in the YAML scripts are the variables. By contrast working with Bicep/Terraform, Jenkins and whatever else people use has been absolutely horrible, sometimes requiring full time staff just to keep it updated. I suppose it may be better now that azure co-pilot can probably auto-generate what you need. A complete waste of resources in my opinion. It used to be more expensive, but with the last price hike of 600% on azure container apps it’s usually cheaper. It’s also way more cost efficient in terms of maintaining since it’ll just work after the initial setup pipeline has run. This is the only way I have found that is easier than what it was when organisations ran their own servers. Whether it was in the basement or at some local hardware house (not exactly sure what you call the places where you rent server rack space). Well places like Digital Ocean are even easier but they aren’t used by enterprise.
I’m fairly certain I’ve ever worked with an organisation that needed anything more than that since basically nothing in Denmark scales beyond what can run on a couple of servers behind a load balancer. One of the few exceptions is the tax system which sees almost 0 usage except for the couple of weeks where the entire adult population logs in in at the same time. When DevOps teams push back, I tend to remind them that StackOverflow ran on a couple of IIS servers for a while and that they don’t have even 10% of the users.
Eventually the business case for Azure will push people back to renting hardware space or jumping to Hetzner and similar. But that’s a different story.
comment 2y ago · link · parent
There isn’t a whole lot you can do with it if you don’t have the freedom to work when you’re energised and stop when you’re not. A lot of us in the software industry have the advantage of being able to not work a lot during “normal hours” and then pull off an entire weeks worth of work on a Saturday, but a lot of us don’t. I worked 30 hours a week for a while (37 is normal in Denmark) and I consistently scores between 20-30% better on our infernal measurements for quality and productivity than I did when I went back to a 37 hour week. Not because I was doing anything different, felt less motivated or was intentionally trying to do anything different. I was simply more tired and it impacted me more than it might do to neurotypical (or whatever we call healthy people these days). Of course for me personally the 37 hours are way better because it pays 20% more.
Anyway, even if you aren’t neurodivergent like me I still suspect you’re not cut out to do office work as though you were at an assembly line. Which is really where the modern “work week” originated. Cutting down on distractions, getting enough sleep and so on will obviously work in your favour. So yeah, I agree with you.
comment 2y ago · link · parent
I’d frankly pick Python for most things though. It’s a terrible language, everyone knows it’s terrible but it gets things done and everyone can work with it. I view performance issues a little different than most people though. To me hitting the wall where you can no longer “make do” with C/Zig replacements of Python bottlenecks means you’ve made it. The vast majority of software projects will never be successful enough to get there.
comment 2y ago · link · parent
As I pointed out I think Rust does it better with its types error handling. That isn’t too relevant for me though as Rust will probably never seem any form of adoption in my part of the world. I think Zig may have a better chance considering how interoperable it is with C, but around here the C++ folks are simply sticking with C++.
comment 2y ago · link · parent
Staying in that lane. In my part of the world Go is seeing adoption that no other “new” language has exactly because of its simplicity. It’s not the best language, but it’s often the best general purpose language because it has a lot of build in opinions which protect you from yourself.
comment 2y ago · link · parent
So no, the word recall is used because is the official terminology used for these issues regardless of the solution required to fix them.
The word does have its origin in a world where solutions were rarely software updates. That they are software issues make them no less serious though. I suspect that in some cases the software issues might indeed be far more dangerous than errors which mandate physical recalls.
comment 2y ago · link · parent
I understand it’s was media and communication departments do, and that it’s natural that the people working within them would want to do so regardless of where they work. It’s their trade after all, unfortunately they bring the exact same “user engagement” mindset with them into the public sector. Well, at least in my anecdotal experience with a handful of these departments in 7-8 different cities around here. You can of course make good points on user metrics on a public website, but they should frankly work very different than they would on most web sites. On a public website it should be the goal to get to user to leave the site as quickly as possible, because the longer they hang around the more time they are spending finding what they need. That’s not what happens with these metrics in my experience, however, instead they are used to do what you might do on a news site.
That’s just one side of it, however, because the privacy concerns are their own issue. If you absolutely want metrics on a public website at least have the courtesy to build your own. It should be illegal for public web sites to use 3rd party tracking. I know why they use it, it’s for the same reason they spend a ridiculous amount of money on custom designs systems build on top of what is usually SharePoint or Umbraco. They refuse to hire the Django (insert any other extremely low maintenance system) expertise because it’s expensive on the “long term budget”, even though it would be much cheaper than 3rd party tools and consultants on the actual long term budget. Anyway, that is another point. But it really pisses me off when public websites need you to allow 3rd party tracking because they aren’t using it in any way which serves the public.
Worst of all is that cookie banners are explicitly a private industry way of dealing with their refusal to respect “do-not-stab”. Public websites could simply put their bullshit into their privacy page. Of course nobody would go there and turn on 3rd party cookies, but why should the public care?
comment 2y ago · link · parent
I think the various safeguards companies put on their models, are, their attempt at the three laws. The concept is sort of silly though. You have a lot of western LLMs and AIs which have safeguards build on western culture. I know some people could argue about censorship and so on all day, but if you’re not too invested in red vs blue, I think you’ll agree that current LLMs are mostly “safe” for us. Nobody forces you to put safeguards on your AI though and once models become less energy consuming (if they do), then you’re going to see an jihadGPT, because why wouldn’t you? I don’t mean to single out Islam, insure we’re going to see all sorts of horrible models in the next decade. Models which will be all to happy helping you build bombs, 3D print weapons and so on.
So even if we had thinking AI, and we were capable of building in actual safeguards, how would you enforce it on a global scale? The only thing preventing these things is the computation required to run the larger models.
comment 2y ago · link · parent
That being said, I have also had managers that I’ve played board games with on our free time who I haven’t actually given my opinion on certain issues with because they weren’t very good at taking that advice. Sometimes I’ve also not done it because I knew managers of my manager wouldn’t take it well if it made I up the chain. I view this more as an issue between me and the organisation I work for. If I’m not invested I’m not going to help it beyond what they pay me to do because it rarely comes back to me in a positive way.
There are many aspect to it. I’ve also had a manager who was a total waste of space as a manager, only caring about the “good story” whether it was true or not to push their own career. Who was also rather cold in regards to management employee duties since they really didn’t like the negative sides of it. Who was then the warmest nicest person in their personal life.
So it’s a very complex situation as you pointed out, but it’s also one where it’s perfectly reasonable to not try to lead upwards if you don’t want the hassle. At least in my opinion.
comment 2y ago · link · parent
So I like it when I can be frank with managers. I think I’m also notoriously hard to manage because one of my character flaws is that I don’t respect authorities. I’m not stupid though. I’ll absolutely bullshit managers in situations where there isn’t really a “win” to be achieved. Obviously this will mainly happen with bad managers, but there will always be great managers who won’t like, understand or have a good connection with you.
comment 2y ago · link · parent
Anyway, by far I think the biggest hurdle in our industry right now is pseudo-jobbers like project managers, business process owners, scrum masters, various architects and what not. Not everyone is a waste of time, some of them do excellent work and function as exponential productivity catalysts. The vast majority of them, however, spend so much time engineering the process, architecture, whatever that their teams never ship on time or within budget. In this sense I think “correct programs” is hard to value. Because often the “incorrect large program” that doesn’t scale, will be much more valuable for a business than a “correct program” which never even gets the chance because it took to long to get out there.
comment 2y ago · link · parent
I’d assume there is a big benefit to having AI assisted resource generation for cloud vendors. Our developers often have to mess around with things that we really, really, shouldn’t in Azure because operations lacks the resources and knowledge. Technically we’ve outsourced it, but most requests take 3 months and get done wrong… if an AI could generate our network settings from a global policy that would be excellent. Hell if it could handle all our resource generation they would be so much useless time wasted because our organisation views “IT” as HRs uncharming cost center cousin.
comment 2y ago · link · parent
The latter is true either way. These days I’ll use HTMX and let a LLM do the CSS. Unless I specifically have to work on something which faces customers. So I’m wondering if there is some trick to tailwind I’m missing?
comment 2y ago · link · parent
From my anecdotal experience YAGNI and making sure it’s easy to delete everything is the only way to build lasting maintainability in software. All those fancy methods like SOLID, DRY, XP are basically just invitations for building complexity you’ll never actually need. Not that you can really say that something like XP is all wrong, nothing about it is bad. It’s just that nothing about it is good without extreme moderation either.
I guess it depends on where you work. If it’s for customers or a business, then I think you should just get things out there. Running into scalability issues is good, it means you’ve made it further than 95% of all software projects.
comment 2y ago · link · parent
Maybe everything about those concepts are just wrong? I mean, you can have people like Uncle Bob who’ll tell you that “you just got it wrong”. He’s also always correct in this, but if so many teams “get it wrong” then maybe things like clean, xp and so on simply suck?