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

Berlusconi is the architect of the modern oligarchy. Control the media, control the public opinion and narrative. I think that what is happening in America is something new though. The dismantling of the US government is weird on it's own, but the step down from US soft power is what really makes no sense. The previous 80ish years of US world dominance was build on a combination of military might and soft power. Europe was rather ruined after WW2, the reason it's as advanced as it is today, and the reason we are/were such close allies with the USA is because of programs like the Marshall plan. Which was essentially the USA giving Europeans the money to buy American products. Stuff like access to US produced tractors revolutionised European farming as an example. On the US side this meant that the USA investment into Europe made it possible for the American wartime industry to restructure itself. So that instead of producing tanks, factories could produce farm equipment and so on. Total win-win.

Military power is necessary, but political influence is bought with soft power and diplomacy. The reason USA has military bases over most of the world. Places which allows America to have places to "store" all that military might outside the USA is because it has allies. The Russian loss of their Syrian bases is a good example or what happens when you lose that soft power. That same soft power is also the reason American brands can sell their stuff globally. Basically the entire American entertainment industry and all the foreign aid programs are giant advertising ventures, selling the American lifestyle. When that soft power is gone, America will still be capable of getting it's way in many cases through threats. People don't respond well to that though. With USA rivals more than happy to step in, you shouldn't be surprised to see Coca Cola replaced by some Chinese cola brand sometime down the road. This is obviously a semi ridiculous example, but I think it's a good illustration if what could happen. That same thing will affect US tech dominance as well. Here in Denmark companies are now actively looking for exit strategies from the American cloud because of the increased risk. I don't think anyone seriously expects something to happen, but at the same time, there is nothing companies hate more than risk. The reason Google Cloud never made it in Europe is because it has more risk than Azure and AWS, and with European alternatives having caught up... Well...

What is perhaps even worse is that the only reason the USA can function with its current deficit is because of the Dollar. If BRICS succeeds in moving half of the worlds population away from the Dollar, the American "empire" will fall considering it's the only "empire" in the history of mankind which has been capable of maintaining it's world dominance while also increasing its deficit.

Hitler and Nazi Germany might be the example everyone knows, and Musk performing his "gesture" doesn't exactly help matters. There doesn't seem to be a real long term plan behind what the aristocracy in the US is doing right now though. At least not one which will keep them safe from each ohter or society as a whole. Berlusconi and his buddies never went to prison after all, no one fell out of a window and so on.

comment 1y ago · link · parent

Having used both exclusively for warhammer and blood bowl content the instagram algorithm has been horrible in my very anecdotal experience. It keeps pushing content I have absolutly no interest in, where as TikTok only pushes warhammer and blood bowl content + adds.

comment 1y ago · link · parent

While I agree with both you and the article I also think it'll depend on more than just the volume of your data. We have quite a lot of documents that we classify. It's around 10-100k a month, some rather large others simple invoices. We used to have a couple of AI specialists who handled the classification with local NLP models, but when they left we had to find alternatives. For us this was the AI services in the cloud we use and the result has been a document warehouse which is both easier for the business to manage and a "pipeline" which is much cheaper than having those AI specialists on the payroll.

I imagine this wouldn't be the case if we were to do more classification projects, but we aren't. We did try to find replacements first, but it was impossible for us to attract any talent, which isn't too much of a surprise considering it's mainly maintenance. Using external consultants for that maintenance proved to be almost more expensive than having two full time employees.

comment 1y ago · link · parent

It's not just NPM, it's the trust in third party libraries in general. Even though it's much rarer, you'll see exploits on platforms like Nuget. You're also going to see them on JSR. You have more security because they are immutable, but you're not protected from downloading a malicious pacakge before it's outed.

I think what we're more likely to see is that leglislation like DORA and NSIS increasinly require that you audit third party packages. This enforcing a different way of doing development in critical industries. I also think you're going to see a lot less usage of external packages in the age of LLM's. Because why would you pull an external package to generate something like your OpenAPI specification when any LLM can write a cli script that does it for you in an hour or two of configuring it to your needs? Similarily, you don't need to use LLM's directly to auto-generate "boring" parts of your code, you can have them build cli tools which does it. That way you're not relying on outside factors, and while I can almost guarantee that these cli tools will be horrible cowboy code, their output will be what you refine the tools to make.

With languages like Go pushing everything you need in their standard packages, you're looking at a world where you can do a lot of things with nothing but the standard library very easily.

comment 1y ago · link · parent

I'm not the person you asked but I chose Emacs over VSC because it's just a better fit for a lot of things for me. I do think the telemetry Microsoft harvests through VSC is an issue to consider. While it is "just" metadata and no file content, they're getting your entire project structure down to file extensions. I don't see why I would want Microsoft to know what I'm working on. Anyway, the key point for me was ORG mode and that plugins for Go and C++ suck(ed?) in VSC. There are other things, the intellisense is slow, the vim plugin is terrible, the constant Microsoft product pushes are annoying, there is no Magit and so on.

I think it's important to say that I don't dislike VSC as such at this point. Because I probably made it sound like I think it's terrible. I don't I think it's ok. I didn't mind using it for Typescript as an example. Over all I think it's average at best. I get why people use it, it's easy to setup. It's easy to share configurations and so on. I probably would have gone from vim to neovim if it wasn't for doom emacs though.

I think the major advantage both emacs and vim have though is that they're always good. A lot of VSC users are now switching to Zed and that hamsterwheel will go on and on. With vim or emacs you'll never really have to change anything.

comment 1y ago · link · parent

> Not every documentation is made equal.

They are wildly different. I'm not sure the Android API reference is that bad, but that is mainly because I've spent a good amount years with the various .Net API references and the Android one is a much more shiny turd than those. I haven't had issues with Bluetooth myself, the Bluetooth SIG has some nice specification PDF's but I assume you're talking about the ones which couldn't be found? I mean this in a "they don't seem to exist" kind of way and not that, you specifically, couldn't find them.

I agree though. It's just that I've never really found internet answers to be very useful. I did actually search for information a few years back when I had to work with a solar inverter datalogger, but it turned out that having the ridicilously long German engineering manual scanned, OCR processed and translated was faster. Anyway, we all have our great white whales. I'm virtually incapable of understanding the SQLAlchemy documentation as an example, luckily I'll probably never have to use it again.

comment 1y ago · link · parent

I'm genuinely curious but what did you use StackOverflow for before? With a couple of decades in the industry I can't remember when the last time I "Google programmed" anything was. I always go directly to the documentation for whatever it is I'm working for, because where else would I find out how it actually works? It's not like I haven't "Google programmed" when I was younger, but it's just such a slow process based on trusting strangers on the internet that it never really made much sense once I started knowing what I was doing. I sort of view LLM's in a similar manner. Why would you go to them rather than the actual documentation? I realize this might sound arrogant or rude, and I really hope you believe me when I say that I don't mean it like this. The reason I'm curious is because we're really struggling getting junior developers to not look, everywhere, but the documentation first. Which means they often actually don't know how what they build works. Which can be an issue when they load every object of a list into memory isntead of using a generator...

As far as using LLMs in anger I would really advice anyone to use them. GitHub copilot hasn't been very useful for me personally, but I get a lot of value out of running my thought process by a LLM. I think better when I "think out loud" and that is obviously challenging when everyone is busy. Running my ideas by an LLM helps me process them in a similar (if not better) fashion, often it won't even really matter what the LLM conjures up because simply describing what I want to do often gives me new ideas, like "thinking out loud".

As far as coding goes. I find it extremely useful to have LLMs write cli scripts to auto-generate code. The code the LLM will produce is going to be absolute shite, but that doesn't matter if the output is perfectly fine. It's reduced my personal reliance on third party tools by quite a lot. Because why would I need a code generator for something (and in that process trust a bunch of 3rd party libraries) when I can have a LLM write a similar tool in half an hour?

comment 1y ago · link · parent

I actually don't know too much about what power traders do in the various EU nations. The majority of our plants tend to shut down production once the grid is too full since that is what many countries require. Hopefully we'll see storage get to a point where we can keep the power for later, but that's not where we're at right now. A solar panel and it's inverter and datalogger don't work without software though, and it can be quite fun to work with that tech. At least in my opinion.

comment 1y ago · link · parent

I think parts of our industry has gotten worse, but I also think there are a lot of opportunities to do some really great (and fun) work. I work in the green energy industry and I like working with software for solar plant equipment. I hope I can eventually pick up a little more on the electrical engineering side of things and get into farming robots.

Don't get me wrong, I also do work in the financial aspects of it and that'... Well, useless is too strong a word, but in the grand scheme of things it's frankly useless. There is so much ridiculous leglislation that can be digitized, some of it is stupid. Like how you can get various tax benefits if you split what you and I think of as a single solar farm into 100 smaller companies. How to game the various financial tariffs, how to figure out the optimal direction for solar cells based on market data. That sort of stuff. Then there is the reasonable parts, like how Italy has an agency which requires all money transactions to go through them as an anti-mafia thing (sorry I can't be more clear on that part I didn't make it). Over all though, it's fun to work with stuff that has a real world use.

comment 1y ago · link · parent

> Not having metrics means it all depends on the gut feeling of executives.

Having spent a couple of decades in enterprise I can say that in my anecdotal experience it does so anyway. I've rarely seen any form of metrics put to good long term use. That's not to say that it doesn't happen, but benefit relaization seems to be something very few managers and teams actually work with beyond hitting some metric. It's usually the most obvious with changes in management. I've seen hordes of measurements thrown in the bin when a new manager took over a team and had different goals and values. On the flip side there are a lot of negative side effects of metrics over time. If you measure employees by the hour you create a culture of people who won't help each-other because how do they registrer that?

I mainly view productivity measurements as a HR tool for managers who don't actually know what their team members are doing. Which can happen for a lot of reasons, sometimes it can be because the manager is simply bad at people management, often it's because they are too busy. What is especially bad about them, however, is that people aren't consistently productive and what you really want to work with is how to keep them motivated. A motivated great employee can be unproductive in a period where they have small children, a loved one is sick and so on and an unmotivated employee can be very productive while simentaniously looking to leave your comapny.

I get why these tools exist though. Most managers are weak decision makers and HR supply them with tools that help them over come this.

comment 1y ago · link · parent

Maybe everyone of the 28 AI "people" represents one of the team members, but that doesn't make it any less of a bad idea in my eyes. As a father of girls I've seen full well how representation matters in media, but I suspect that AI "people" is the one area where people will want as little representation as possible.

comment 1y ago · link · parent

I don't think it's woke or rage bait. As I said I think it's no real world experience and no common sense and I'm frankly amazed that nobody in a SoMe/advertisement organisation didn't consider how the world would react.

comment 1y ago · link · parent

Can you explain why it is you think that makes it any better? I can think of no argument that would make this particular persona anything but a tremendously stupid idea. Even if it was one in a thousand personas it would almost certainly be found and singled out by articles like this one.

comment 1y ago · link · parent

I'm Scandinavian and not invested in the American culture wars and I still got a good chuckle out of how bad an idea this was. Who on earth could've thought it was a good idea to get an AI to pretend to be a black queer mother of two? I'm sure it'll piss off a lot of anti-woke people, but really, how on earth did the issues with this not become obvious for the team? I'm not sure if the AI knows who trained it (and I wonder how they did it) but the team can't have included a lot of common sense or real world experience for them to do something so fundementally stupid.

comment 1y ago · link · parent

Why wouldn’t you add authentication to an API you don’t want others to use?

comment 1y ago · link · parent

My biggest problem with TDD is that it doesn't actually protect you from the things you miss. This is great for the consultants who sell TDD courses, because they get to tell you that you did it wrong. They'll be right, but that fact is also useless. I don't have a problem with testing though, as I said I think it's hard to regret doing it, but I'm not sure why we wouldn't push something like runtime assertions instead if we were to do the whole "best practice" thing. With runtime assertions you'll get both the executable documentation and the ability to implement things like triple modular redundancy, so basically everything TDD does but much better.

Yet many developers don't even know what a runtime assertion is while everyone knows what TDD is. I guess it doesn't really matter if you're working on something which can crash and then everyone will be like "oh it's just IT, it does that".

comment 1y ago · link · parent

These tools and many other from the HR handbook are mainly meant as communication tools. For some employees it's easy to talk about their motivations and goals within your company. With other employees you'll have to pull an answer out of them and it'll be a "yes" or a "no", I mean, it's obviously not that bad but some employees are really bad at talking about these things. Some managers are also very bad at it. The tools help frame the context for 1-on-1's where you need to talk about what sort of path an employee wants to go on over the next year. Sometimes these tools are misused, for some people here on HN, that will probably even be the only way they have interacted with them.

As far as your personal motivation goes. There is nothing wrong with wanting to be an engineer. That doesn't mean you have to be stagnant though. A career path could be there to make sure you don't get bored, and then revisited to keep up. That is if it's done right. I'm not sure this dropbox engineering career framework is really very good. I glossed over the SWE part and it's so ridicilously vague that it will likely depend completely on the manager applying it. So in some cases it'll probably be a good communications tool and in others it'll be used as for employee metrics. A good manager would allow you to do what you want to do, while keeping you on course with what the company wants. If that means leaving you to do whatever you do for a while, then that is fine. Bad managers will not do this, but at least managers tend to change often enough that you can mostly just tell them what they want to hear and then wait for them to be replaced.

I personally wouldn't pick a company like Dropbox to "just do" engineering though. Too many hot-shots, too much bullshit, it's much easier to get some real work done in boring industries like banking or energy.

comment 1y ago · link · parent

I suspect GP is being downvoted because of their choise of words. As someone who also doesn't speak English as a first language I think "people need to adapt" can also be understood in a positive manner. GP seems to suggest we need laws and legislation to fix this issue, and that would lead me to assume that they mean it in the same sense as "resist". In my language I think the literal translation of how we would prhase it might also be "adapt".

comment 1y ago · link · parent

I curious as to why people would have a public API to begin with if they wanted to protect it from people using it. Then again, why would anyone have a public undocumented API in 2024 when a LLM can give you a cli tool to auto-generate 90% of the OpenAPI spec in a couple of hours? The last question isn't serious, I've worked in enterprise for decades and almost none of the tools organisations end up buying have good documentation for their API's. Not that those are publicly available, but still.

comment 1y ago · link · parent

I’m not sure any of them do really. It’s been 22 years since TDD made its entry into our field and it’s still worse than the runtime assertions which helped put people on the moon. I know I was lashing out at uncle Bob before but it’s really all of them.

I do agree with these people that nobody has ever regretted writing a test. Well, I mean, someone probably has, but the idea of it is fairly solid. It’s just also useless, because it’s so vague. You can write a lot of tests and never be safe at runtime.

comment 1y ago · link · parent

I’ve spent a long time in non tech enterprise and I think unix won. 15 years ago you would hire someone and they would be proficient in Windows and Microsoft office. Now people have grown up with Macbooks, Chromebooks and mobile/tablets. It’s not a major issue yet, but it’s increasingly becoming one as the generations in the workplace are slowly shifting.

comment 1y ago · link · parent

Around here people abstract because they are taught to abstract in multiple different CS education programs. For whatever reason they are taught Clean Architecture even though it’s horrible. Then they spend the next 5-10 years learning not to abstract or write 5 line functions which then lead down a chain of 900 function calls. As an external examiner or some or these CS students it always pains me to examine them in a curriculum that I know will lead to dead end job in stagnant small sized companies. It is what it is though. I guess it’s hard to compete with the entire industry of pseudo-science and shitty consultancy when nobody is pushing an “indirection manifesto”.

Hilariously Uncle Bob will write off any criticism as “they misunderstood the principles”. He’s correct too, but maybe the principles are simply too vague when we’ve had them for 20 years and our industry has never been more of a mess.

comment 1y ago · link · parent

It’s still easy to setup, it’s all the commands that are different in powershell. So if you’re doing a lot of Google programming it’s not going to be easy to actually use Python if you’re running things from a command line.

That being said Microsoft know windows is terrible for software development which is why it’s so easy to use Linux inside Windows with WSL2. Since Docker Desktop for Windows requires WSL2 it’s very common for any developer AD account to have it locally as admin.

comment 1y ago · link · parent

I’ve had a side job as an external examiner for CS students for almost a decade now. While LLMs are generally terrible at programming (in my experience) they excel at passing finals. If I were to guess it’s likely a combination of the relatively simple (or perhaps isolated is a better word) tasks coupled with how many times similar problems have been solved before in the available training data. Somewhat ironically the easiest way to spot students who “cheat” is when the code is great. Being an external examiner, meaning that I have a full time job in software development I personally find it sort of silly when students aren’t allowed to use a calculator. I guess changing the way you teach and test is a massive undertaking though, so right now we just pretend LLMs aren’t being used by basically every students. Luckily I’m not part of the “spot the cheater” process, so I can just judge them based on how well they can explain their code.

Anyway, I’m not at all surprised that they can handle AoC. If anything I would worry that AoC will still be a fun project to author when many people solve it with AI. It sure won’t be fun to curate any form of leaderboard.

comment 1y ago · link · parent

I’m expecting more of a cyberpunk reality where governments continue to lose power to massive corporations run by oligarchs. You could argue that the aristocracy never really left, but it’s certainly been consolidating power since 2000. Part of the aristocracy still believes in the lessons which lead to the enlightenment, and I suspect many other families will re-learn them in the coming decades. It’s not exactly fun to be an oligarch in a totalitarian country after all, and throughout history the most successful have always gravitated toward more “free” societies if they could. Because it’s better to live in the Netherlands than to have the king of Spain seize your riches. I’m not too worried AI will give us social points the way they do in China. I am European so that helps, and the US would frankly have a hard time making it worse for the lower class citizens anyway. If anything the increased access to knowledge might even help educate many people on just how bad they have it.

I’m sure you’ll see bad actors who use AI to indoctrinate people, but at least as long as there is so much competition it’ll be harder to do that than what is happening in more totalitarian states where LLM answers are propaganda.

comment 1y ago · link · parent

I’m curious as to how you think it’ll be our doom. As for the ethics in it, there are two ways to look at it in my opinion. One is yours, the other is to accept that AI is coming and at least work to help your civilisation “win”. I doubt we’ll see any form of self aware AI in our lifetimes, but the AI tools are obviously going to become extremely powerful tool. I suspect we’ll continue heading down the “cyberpunk” road leading to the dystopian society we read about in the 80/90ies, but that’s not really the doom of mankind as such. It just sucks.

As a former history major I do think it’ll be interesting to follow how AI shifts the power balances. We like to pretend that we’ve left the “might makes right” world behind, but AI is an arms race, and it’ll make some terrible weapons. Ethics aside you’re going to want to have the best of those if you want your civilisation to continue being capable or deciding which morals it wants to follow.

comment 1y ago · link · parent

Morality is not completely subjective. https://www.journals.uchicago.edu/doi/10.1086/701478

comment 1y ago · link · parent

I don’t see why you would ever have to switch to a certain IDE, but I can see from some of the other comments a lot of people seem to be unfortunate enough not to have the choice. One of the reasons I like emacs (again in in doom so it could be Neovim) is that it’s basically an IDE I can use forever and easily get working on any computer by pulling my dot files from my git repo. I say easily but it’s obviously not easy on windows considering you sort of need WSL, C server and to install some LSP support.

I understand why people like VSC, but at the same time I’ve seen people go from other IDEs to VSC and now many are going yo Zed. Mean while I can just trundle along in the same IDE. Some of the emacs purists haven’t had to learn a new IDE for decades and likely never will.

To each their own of course.

comment 1y ago · link · parent

I think option A is actually part of their problem. Not because they lack revenue but because they are successful with it. You mention Copilot but VSC integrates with a lot of Microsoft owned cloud services as the “default” or “first class citizen”. I’m not sure why people would use the Azure extensions over the AZ cli, but they are obviously rather popular. It’s a lot like how Google search became the default search in a lot of products, except here it’s GitHub, Azure and so on.

On top of that they get some wild telemetry. Your privacy data is obviously safe, but the metadata they collect goes right down to your project structure. So Microsoft knows what sort of projects and in what sort of languages everyone uses. They know what you’re putting into your Azure cloud and they know if you’re not using Azure. I imagine these things are rather valuable to the biggest tech company in the world.

Obviously they’re going to focus their development on upselling Microsoft products to you. Which will only get worse as they succeed more and more. Because why wouldn’t an enterprise company do that?

1
567
36