Better HN
topnewbestaskshowjobs
Log inSign up

devjab

3,171 karma · joined Dec 3, 2022 (4y ago) · 1,076 submissions

Submissions

comment 2y ago · link · parent

I’ve spend a few decades in non-tech enterprise including 7 years in the public sector, and I’ve never seen a low-code solution work at all. Even extremely simple automation flows require at least some degree of software engineering. Looping isn’t intuitive at all, he’ll even conditions aren’t.

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

Our engineers feed a LLM engineering plans as a quality control. Not as a replacement of any of the regular process, simply as an additional step. It discovered what would’ve been a fairly serious error in some component design for one of our energy plants that nobody else had caught. Similarity it “fact checked” one of our subcontractors on something with cable sizes that I honestly don’t understand. Finding a better option than what the subcontractor was suggesting. I say “fact checked” because you shouldn’t think of it as that since everything it outputs need to be actual fact checked.

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

Maybe it’s just the artist way of acknowledging that nothing is ever going to be faster than VIM?

comment 2y ago · link · parent

I’m not sure if I’m understanding you correctly, but how on earth would a pull request even make it to the review state if it fails to lint in the pipeline?

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

The challenge with this, and I agree with you, is that I don’t think you’ll find many people capable of creating such a course being in the course creation business. I suspect almost no one would be interested in doing it. The only financial motivation would be to go the consultancy route like Uncle Bob, and I’m not sure who would have any sort of motivation to do it as a hobby project. You’d be more likely to find those people contributing to the actual programming language in some way.

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

I’m going to go against the flow and say nothing. I think the primary reason you see seniors looking for senior focused platforms is because almost all the learning content is terrible. Seniors will spot this sooner than juniors. I’ve worked as an external examiner for CS students for a decade and the stuff they put themselves through to avoid reading official docs is amazing. They’ll literally sit through 50 hours of video of what is essentially two a4 pages of “example how-to”.

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

I think it’s just corporate culture in some places. I’ve done a stint in management and I’ve had the “fun” of dealing with all these performance measurements. I personally think they are rather useless in any sort of office work where your employees have a high degree of independence and complex tasks. I also think they come with a huge risk of creating a working culture where employees game the system. If you clock time on the hour then you can be sure nobody is going to help each other, because how do you clock that half hour? If you sell software by ridiculously short estimates and reward your employees for meeting them, then how happy are your clients with all the post-release support they’ll have to pay for? If you have one employee who’s build internal tools that empower everyone else, but haven’t delivered on X, Y, Z and you’re personally getting judged on those metrics then how do you keep up over all productivity when you’re forced to let them go.

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’m not sure why you think a wealth tax is related to entrepreneurship ship. I get that you’ll find a lot of people who like the author don’t want to pay taxes, but you’re going to find quite a lot who do. Especially here in Scandinavia. Of course it’s less of a problem when you have a non-crypto product which actually makes money or gives you the opportunity to take out a loan based on your assets.

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

I wonder why English decided to narrow its meaning. Well I guess a language doesn’t decide anything, but I think you know what I mean. In many EU countries it simply means “cost list” or “price list” which can be for import duties but also for a range of other things.

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

I think you’ve nailed the issues with this approach. I think the best approach to control “cowboy” behaviour is to make everything run through a service connection so that developers don’t actually need access to your azure resources. Though to be fair, I’ve never worked with a non-tech enterprise organisation where developers didn’t have at least some access into Azure directly. I also think the best way to avoid dangers in areas like networking is to make sure the responsibility for these are completely owned by IT-Operations. With VNETs and private DNS zones in places all you really need to allow is for the creation of private end points and integration to the network resources. Similarity I think it’s best practice to have things like key vaults managed by IT operations with limited developer access, but this can depend on your situation.

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 think the “rule of thumb” is that none of them are better than using HTMX with templates. HTMX obviously having some limits in terms of security and complex REBAC.

comment 2y ago · link · parent

I don’t mind the cloud, but even in enterprise organisations I fail to see the value of a lot of the more complex tools. I’ve anlways worked with Azure because Denmark is basically Microsoft territory in a lot of non-tech organisations because of the synergy between pricing and IT operations staff.

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

I think there is some sound advice in there that just happens to fit into his mornings. Take always like having your day poisoned by news, stuff in your life and so on would also occur for you if you woke up later. I do agree that it’s not that deep. Anyone who’s bipolar has ADHD or other “doesn’t fit into the 9-5 society” issues can likely tell you how their emotions will fuck with their productivity.

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

It was meant more as an observation than my opinion. I would pick Go over Java/C# any day of the week, but it’s not like talented JVM engineers won’t run in circles around you as far as performance goes.

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

I think it’s because Go is an alternative to Java and C# more so than an alternative to Rust. It is for me at least. As I said, Rust isn’t seeing any form of real world adoption in my region while Go is. Go isn’t replacing C/C++ or even Python though, it’s replacing Typescript, C# and Java. Now, there are a lot of good reasons as to why Go shouldn’t be doing that, a lot of them listed in the article, but that’s still what is happening.

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

I prefer the structure of Rust errors as it’s fully typed, I don’t like that you can chain them though. It’s a cool feature but it leaves you with some of the same issues exception handling does when the freedom is used “wrong”.

comment 2y ago · link · parent

This article makes a lot of great points about the shortcomings of Go. I don’t think explicit error handling is one of them however. I’ve previously spoken about my loathing of exception handling because it adds a “magic” layer to things which is way too easy to mess up. From a technical standpoint that isn’t necessarily a good argument, but from a pragmatic standpoint and decades of experience… well I will take explicit error handling which happens exactly where the errors occur every day. You can argue that Rust does it in a more elegant way, and I prefer it for personal projects. For big projects with a lot of developers of various skill level joining and leaving I think Go’s philosophy is one of the sanest approaches to error handling in the modern world.

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

They are called recalls because that’s what the term for legalisation mandates. They are issued when a vehicle is unsafe to drive and they are mandated because a manufacturer is required to take a lot of steps to remedy their failure. If they fail to repair the issue they are forced to issue full refunds as an example.

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

As someone who has worked on the Danish public sector I have a slightly different take on the public websites. They should never have been using things like 3rd party analytics to begin with.

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’m curious as to how you would implement anything like Asimovs laws. This is because the laws would require AI to have some form of understanding. Every current AI model we have is a probability machine, bluntly put, so they never “know” anything. Yes, yes, it’s a little more complicated than that but you get the point.

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

I mean, this is one example which fits the discussion. Also one that I cherrypicked because I was actually right. I’ve had plenty of managers who were good at listening, however, I think most have been great. I have also worked management a few years myself and taken education in that direction before figuring out it wasn’t for me, so I certainly understand the financial and political parts of management and that you as an employee never have the full picture.

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

There is a difference between treating someone as a human and bullshitting your manager though. I’m painfully blunt to the point where the management staff had to spend 3 hours in a crisis meeting discussing whether to fire me an another developer over our opinions given on a department meeting. Which to be fair was the wrong place to throw a couple of managers under the bus for something we’d been telling them for months, but hey. Anyway we didn’t get fired and nothing changed either. I stopped stressing about it after I had spoken my piece though so it worked rather well for me. Less so for the company, but it’s not like the two of us were the only ones management wouldn’t listen to.

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

I’ve worked on and finished some extremely large programs over my years in non-tech enterprise. I’m also an external examiner for CS students, and I’ve regularly talked about how I think the curriculum is outdated. In Denmark where I’m from it’s rare to get a programming application from someone without a related degree. It wasn’t so rare 20 years ago, but I can’t remember when I saw one last. I agree that degrees, and especially CS, doesn’t guarantee that people can code. We use them mostly as a “safety net” in our hiring processes here in my region of the world. Basically you can view hiring the wrong person as the most expensive mistake you can make as a manager, and educations are a sort of risk management. You might think that the “can this person actually program” risk is worst for people who are fresh out of their education but there are a lot of factors which can play into it. Older devs may be set in their ways, maybe even religious about some sort of programming philosophy. On the flip side they will start producing value right away.

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’ve been impressed with the AI assisted tooling for the various monitoring systems in Azure at least. Of course this is mainly because those tools are so ridiculously hard to use that I basically can’t for a lot of things. The AI does it impressively well though.

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

Probably, I’m just sharing how it feels to use it when you work on frontend once a year.

comment 2y ago · link · parent

I don’t work on the frontend very often, I think the last time I did so was when bootstrap was “the tailwind”, but when I recently had to cover for one of our react developers I got to work with it. I genuinely didn’t think there was a difference in my work flow between the two. Looking up meta language magic in the official documentation and then using it through brute-force development. Maybe I’m missing something, more likely I’m just a terrible frontend developer.

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

I’ve never seen any actual metrics on it that weren’t pseudoscience at best. If you have some I would genuinely like to see them.

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

XP is almost the opposite or shift right, similar to how every other “agile” development form pushes the necessary work forward. I think it’s telling that none of the modern software design systems seem to have given us a world where our industry is capable of delivering software on time and within budget. They’ve been around for 20 years, places follow them religiously and still fail.

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?

1
8910
36