Better HN
topnewbestaskshowjobs
Log inSign up

devjab

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

Submissions

comment 1y ago · link · parent

I like Aarhus but I'm not sure what they say about it. I was born and raised here, then at 19 I moved to Aalborg. A few years later I changed university and moved to Odense (they are the 3rd and 4th largest cites). I've spent a lot of time in Copenhagen over the years, both for work and in my private life. I don't think there is too much difference between Odense or Aarhus, I didn't like Aalborg as much but it's been 20+ years since I lived there. What I miss most about Odense (aside from house prices) is that it's closer to Copenhagen, but my now wife lived in Aarhus when we met, and I found a job here easily so...

Anyway, I think the biggest difference is between Copenhagen and the rest of our cities. Copenhagen is different in that it has a lot more going on in terms of basically everything. I'm personally happy I'm not raising children in Copenhagen, mostly because of the cost of living.

We're just 5.5 million people though, so it's not like there is that much of a difference between places. When I say that I miss being closer to Copenhagen, we're talking 1,5 hours closer... It still only takes 3 hours from here.

If you work in IT like I do, Aarhus is a little more boring than both Copenhagen and Odense. Odense has a lot of IoT and robotics going on, and Copenhagen has everything. In the Aarhus area you'll probably want to work with C#, PHP, Java, Typescript or Python and Azure + general Microsoft products if you're going to work in tech.

comment 1y ago · link · parent

We use Azure and sometimes Hetzner. I don't think Azure is a bad product, but it sometimes amazes me just how many different ways they can let you buy something as simple as a "load balancer". Azure obviously has some services that Hetzner does not, a lot, but as far as 95% of what we need in our cloud infra Hetzner does just fine and it's soooooooo much simpler.

I don't mind letting AI's help with infra, but it's with the configs and infra as code files and it will never have any form of access to anything outside it's little box. It's significantly faster at writing out the port ranges for an FTP (don't ask) ingress than I can by hand.

comment 1y ago · link · parent

This is not related to the story as such, but I live in Aarhus and this is the first I hear about it. I read three national news outlets and one specific to my local region of Østjylland a couple of times a day. I wonder if I should swap some of them. I know about black trashbags being thrown out of a window in the white house and then I find an actually interesting non-tech story about something happening right outside my house here on HN...

comment 1y ago · link · parent

> I wish Python would improve to bridge the gaps between pydantic and dataclasses, so that we don't have to rely on pydantic. It's too foundational a piece to not be part of the core python anymore

I agree on the first part, but Pydantic is not important to Python. It's important to a lot of people, but it's absolutely unnecessary.

comment 1y ago · link · parent

I'm still using my MacBook Air M1 with 8gb of Ram as my personal workhorse. It runs docker desktop and VSC better than my T14 whatever windows machine with 32gb ram. But that is windows and it has a bunch of enterprise stuff running. I assume it would work better with Linux, or even windows without whatever our IT does to control it.

With Nvidia Now I can even play games on it, though I wouldn't recommend it for any serious gamers.

comment 1y ago · link · parent

These are the key findings from the UK research which was part of the reason we started banning phones in schools here in Denmark.

> our results indicate that there is an improvement in student performance of 6.41% of a standard deviation in schools that have introduced a mobile phone ban.

> Finally, we find that mobile phone bans have very different effects on different types of students. Banning mobile phones improves outcomes for the low-achieving students (14.23% of a standard deviation) the most and has no significant impact on high achievers. The results suggest that low-achieving students are more likely to be distracted by the presence of mobile phones, while high achievers can focus in the classroom regardless of whether phones are present.

https://cep.lse.ac.uk/pubs/download/dp1350.pdf

I believe OECD and Pisa results have also pointed towards banning as a net postive since their 2022 report.

I think it's fair to say that it's not a "black-and-white" thing. As the research points out, digital devices aren't the only factor in the equation. I believe OECD research has also found that using a digital device with a parent can be a benefit while using it alone will most certainly be a negative for children aged 2-6. I'm sure you can imagine why there might also be other factors that make a difference between parents who can spend time with their children and those who can't.

Aside from that there are also benefits from digital devices for students with learning disabilities like dyslexia. In most class-rooms this can be solved by computers + headphones, but for crafts people (I'm not sure what the English word for a school that teaches plumbers, carpenters etc. is), having a mobile phone in the workshop can often help a lot with insturctions, manuals and such.

So it's not clear cut, but over all, banning phones and smartwatches seem to be a great idea.

comment 1y ago · link · parent

I'm not sure what is meant by supervised release but there is also three years of that after the initial four. He apparently also gets a permanent record as a felon, so I imagine it'll be hard for him to find new work. Without that, can he even have health insurance? He als can't vote in elections right? Sounds like his life is frankly going to be ruined.

From a Danish perspective I think that this is rather cruel.

comment 1y ago · link · parent

Unless you turn telemetry off (and believe they respect it) your entire filestructure, error and metadata will be shipped to Microsoft with no audit log available, simply by using VSCode. Which is frankly what copilot is doing here, except it's doing it on your 365 documents.

I'm personally less concerned about Microsoft's impact on safety in terms of software development than I am with how all my data is handled by the public sector in Denmark. At this point they shouldn't be allowed to use Windows.

comment 1y ago · link · parent

> Not familiar with that but I imagine that is going to be a controversial statement.

I'm not sure if it's fair to call it rigging, but there was a massive smear campaign against a judge nominated for their constitutional court. Leading to the nomination being withdrawn when it really should've been an appointment as usual. Which is likely the first massive step toward Germany politicising one of the foundations of their democracy, similar to how the USA supreme court seems like it's red vs blue when looked on from the outside.

I'm guessing this conference is rather left leaning, which is why they'd called that rigging, but there wasn't election fraud. It's an issue of course, since this means that rich people can essentially buy massive influence on the German democracy by clever use of social media and lies. Which may seem like the norm to a lot of people on HN, but that's not how it has traditionally been in Germany.

comment 1y ago · link · parent

I wonder if they will eventually go the LEGO route and host their shows on youtube while also letting streaming services have them.

comment 1y ago · link · parent

I work with Python, Node and Go and I don't think any of them have great package systems. Go has an amazing module isolation system and boy do I wish hiding functions within a module/package was as easy in Python as it is in Go. What saves Go is the standard library which makes it possible to write almost everything without needing external dependencies. You've worked with JavaScript and I really don't see how Python is different. I'd argue that Deno and JSR is the only "sane" approach to packages and security, but it's hardly leading and NPM is owned by Microsoft so it's not like you have a great "open source" platform there either. On top of that you have the "fun" parts of ESM vs CommonJS.

Anyway, if you're familiar with Node then I think you can view pip and venv as the npm of Python. Things like Poetry are Yarn, made as replacements because pip sort of sucks. UV on the other hand is a drop-in replacement for pip and venv (and other things) similar to how pnpm is basically npm. I can't answer your question on why there isn't a "good" tool to rule them all, but the single tool has been pip since 2014, and since UV is a drop-in, it's very easy to use UV in development and pip in production.

I think it's reasonable to worry about what happens when Astral needs to make money for their investors, but that's the beauty of UV compared to a lot of other Python tools. It's extremely easy to replace because it's essentially just smarter pip. I do hope Astral succeeds with their pyx, private registries and so on by the way.

comment 1y ago · link · parent

I would argue that "good enough" means that it doesn't add inconvenience or significant cost, but I know what you're talking about. That is the flip-side of it though, there is already so much non-AI garbage that it sometimes doesn't even registrer with the business when something was written by a MBA and some LLM. Not because that is necessarily a good thing, but it is what it is.

Nothing we do that is user facing is created by AI (this doesn't include any of our business intelligence as that's another department). We currently have a frontend lead who passionately hates AI for basically all of the reasons you bring up, and as long as they keep delivering, I doubt that will change anytime soon. As far as the BI goes, well, that will probably always be a horrible mess because it's next to impossible to find someone who's interested in working with the development/design side of PowerBI. I'm not sure it's even because we won't pay them enough, there doesn't seem to be anyone around here who wants a job like that. We tell our collective selves that it'll be better when we switch to Microsoft Fabric, but we'll see.

comment 1y ago · link · parent

I think it depends a lot on what you're trying to get them to do and what you're working on. I don't really buy into the whole "prompt engineering" part. I use agents quite a lot, but they have limitations. They excel at writing SQL, kubernetes configuration, bicep and similar... at least so long as you know what you're doing. I also have quite a lot of success with them keeping documentation and tests updated. I wouldn't recommend using them for your tests unless tests are a nice to have feature for you because you actively deal with corrupted states through explicit error handling, but we do.

In my experience every model absolutely sucks at doing any form of software engineering. The thing is though, you don't need to do any software engineering to write software... until you do. Since LLM's got decent at programming we've let them loose among our BI and solar plant engineers and they're building some really useful tools in Python. They have no idea what they are doing, and they are still getting stuff to work. It's obviously absolute horse shit, but for a lot of it, the shit code will be "good enough" for nobody having to touch it for it's lifecycle. For the rest, actual software engineers take over.

If you're working in a field where "good enough" is fine, then I imagine that LLM's can do a lot for you. It might sound like I'm being disrespectful, but I really don't mean to be. In my decades of experience with software in enterprise settings, I've seen so many programs build with horrible code just trundle along. Creating great value for the business while requiring no to minimal maintenance. Bad from a traditionalist software engineering perspective, but great from a business perspective (which is what matters). Not everything needs to scale after all. Anyway, I do question whether the author has actually worked with LLM's a lot. I would think that the strengths failings of LLM's would get obvious rather quickly to anyone who uses them.

comment 1y ago · link · parent

I think it'll be hard to find a LLM that actually respects your privacy regardless whether or not you pay. Even with the "privacy" enterprise Co-Pilot from Microsoft with all their promises of respecting your data, it's still not deemed safe enough by leglislation to be used in part of the European energy sector. The way we view LLM's on any subscription is similar to how I imagine companies in the USA views Deepseek. Don't put anything into them you can't afford to share with the world. Of course with the agents, you've probably given them access to everything on your disk.

Though to be fair, it's kind of silly how much effort we go through to protect our mostly open source software from AI agents, while at the same time, half our OT has build in hardware backdoors.

comment 1y ago · link · parent

Djangi-ninja is excellent, but it's still Django and when you aren't using a lot of the "batteries included" then you're not really using Django. I mentioned SQLAlchemy which is already "fighting Django" compared to using Django Orm as an example. We picked Litestar because it's natively async, makes it easy to use dataclasses rather than Pydantic, has really fast cold start and it has great interoperability with Advanced Alchemy.

I think Django is great, and by extension that Django-Ninja is too. Considering it runs Instagram it certainly scales as well, but unlike Instagram we aren't enough engineers to be able of ripping out more and more batteries while replacing them with our own specialized batteries.

comment 1y ago · link · parent

With uvicorn.

comment 1y ago · link · parent

There is a rather big difference between traditional SQLAlchemy and Advanced Alchemy which is also made by Litestar. We've build with pure SQL and with SQLAlchemy in the past, but since we transitioned from django ninja to Litestar, we've not used SQLAlchemy and are slowly moving away from it. Well I guess Advanced Alchemy is still SQLAlchemy under the hood.

comment 1y ago · link · parent

In my experience a lot our "google engineers" now do both. We tend to preach that they go to the documentation first, since that will almost always lead to actual understanding of what they are working on. Eventually most of them pick up that habbit, and in my experience, they never really go back to being "google engineers" after that... Where the AI helps with this, is that it can search documentation rather well. We do a lot of work with Azure, and while the Microsoft documentation is certainly extensive, it can be rather hard to find exactly what you're looking for. LLM's can usually find a lot of related pages, and then you can figure out which are relevant easier than you can with google/ecosia/ddg. I've havent used kagi, so maybe that works better?

As far as writing "tedious" code goes, I think the AI agents are great. Where I have personally found a huge advantage is in keeping documentation up-to-date. I'm not sure if it's because I have ADHD or because my workload is basically enough for 3 people, but this is an area I struggle with. In the past, I've often let the code be it's own documentation, because that would be better than having out-dated/wrong documentation. With AI agents, I find that I can have good documentation that I don't need to worry about beyond approving in the keep/discard part of the AI agent. I also rarely write SQL, bicep, yaml configs and similar these days, because it's so easy to determine if the AI agent got it wrong. This requires you're an expert on infrastructure as code and SQL, but if you are, the AI agents are really fast. I think this is one of the areas where they 10x at times. I recently wrote an ingress for an ftp pod (don't ask), and writing all those ports for passive mode would've taken me a while. There are a lot of risk involved. If you can't spot errors or outdated functionality quickly, then I would highly recommend you don't do this. Bicep LLM output is often not up to date, and since the docs are excellent what I do in those situations is that I copy/paste what I need. Then I let the AI agent update things like parameters, which certainly isn't 10x but still faster than I can do it.

Similarily it's rather good at writing and maintaining automatic tests. I wouldn't recommend this unless you're working with actively dealing with corrupted states directly in your code. But we do fail-fast programming/Design by Contract so the tests are really just an extra precaution and compliance thing, meaning that they aren't as vital as they will be for more implicit ways of dealing with error handling.

I don't think AI's are good at helping you with learning or getting unstuck. I guess it depends on how you would normally deal with. If the alternative is "google programming" and I imagine it is sort of similar and probably more effective. It's probably also more dangerous. At least we've found that our engineers are more likely to trust the LLM than a medium article or a stackoverflow thread.

comment 1y ago · link · parent

They sell survailance tools and platforms with heavy AI/ML integration. Tools that frankly have no real rivals for most western countries, since we still consider it better to hand all our data over to USA than other nations with similar products. I think you could view them as a company with the capabilities of the Captain American Hydra styled algorithm to determine whether you are a good citizen or not.

Whether you consider that to be evil or not, is probably up to your personal morals. One of the reasons they are in the "spotlight" in countries like mine (Denmark) is because of their ownership and managment being questionable. The reason we still buy their platforms is because we have no alternative, and frankly, the USA has all our data anyway.

comment 1y ago · link · parent

I think it would be fitting to call knives which sole purpose is to stab people evil. A trench knife for instance would have no purpose in the modern world outside of being evil.

comment 1y ago · link · parent

For many of us UML has been completely irrelevant for decades. If you're deep down the OOP rabbit hole, then UML can have it's place in helping you keep track of your hierarchies. If you use it then I'd assume that getting your process of keeping it updated as automated as possible would be a high priority, unless you want it to rod in some ivory tower.

Personally I view architecture in UML, ArchiMate or draw.io rather than being build with something similar icepanel.io to be a complete waste of my time. But that's just me.

comment 1y ago · link · parent

I see that you're not from Scandinavia. Here in Denmark the weeks around the first frost are infamous for people crashing in heaps because they were too slow to get their winter tires on and drove as usual. People here generally overestimate their ability to drive in bad weather, likely because we have so much of it.

comment 1y ago · link · parent

What makes you think AI companies aren't already adding advertising into their LLM responses?

comment 1y ago · link · parent

In my world that isn't inherently a bad thing. Granted, I belong to the YAGNI crowd of software engineers who put business before tech architecture. I should probably mention that I don't think this means you should skip on safety and quality where necessariy, but I do preach that the point of software is to serve the business as fast as possible. I do this to the extend where I actually think that our BI people who are most certainly not capable programmers are good at building programs. They mostly need oversight on external dependencies, but it's actually amazing what they can produce in a very short amount of time.

Obviously their software sucks, and eventually parts of it always escalates into a support ticket which reaches my colleagues and me. It's almost always some form of performance issue, this is in part because we have monthly sessions where they can bring issues they simply can't get to work to us. Anyway, I see that as a good thing. It means their software is serving the business and now we need to deal with the issues to make it work even better. Sometimes that is because their code is shit, most times it's because they've reached an actual bottleneck and we need to replace part of their Python with a C/Zig library.

The important part of this is that many of these bottlenecks appear in areas that many software enginering teams that I have known wouldn't necessarily have predicted. Mean while a lot of the areas that traditional "best practices" call for better software architecture for, work fine for entire software lifecycles being absolutely horrible AI slop.

I think that is where the emotional attachment is meant to fit in. Being fine with all the slop that never actually matters during a piece of softwares lifecycle.

12345
36