Readit News logoReadit News
gv83 commented on Using AI to negotiate a $195k hospital bill down to $33k   threads.com/@nthmonkey/po... · Posted by u/stevenhubertron
gv83 · 5 months ago
AI good or US health system trash?
gv83 commented on Meta used monolithic architecture to ship Threads in only five months   infoq.com/news/2024/04/me... · Posted by u/RyeCombinator
gv83 · 2 years ago
given the "rebuild twitter" abundance of questions during the dreaded system design interview, it should have taken 2 weeks!
gv83 commented on Ask HN: How bad is the xz hack?    · Posted by u/account-5
zilti · 2 years ago
The most popular distributions are rolling-release ones, so not sure about that.
gv83 · 2 years ago
I’ve never seen a server with a rolling distro tbh
gv83 commented on Why Elixir (2014)   theerlangelist.com/articl... · Posted by u/arrowsmith
toast0 · 2 years ago
> I highly doubt that your job is slow because Go and fast because Rust, it's slow because process/idiots in other teams/idiots in your team/idiots as your "agile coach" etc.

Team dynamics are of course, very important. But my job is slow absolutely because I don't have hot loading. Sure, yes, I could build hotloading in Rust, but it would be difficult and the resulting code would look be a lot less idiomatic than my Rust code is already; which makes it harder to do.

Because I don't have hotloading and I work with a system where long lived tasks stay on a single server, I can't change the code for existing tasks in progress. Instead, I have to set up a new cluster and let new tasks start on the new cluster, and then I have to later come in and cleanup the old cluster. This is a lot more work than pushing and loading new code on the existing cluster. And it means I need to wait longer to see the results. And tasks have a limited lifetime. Because of the operational cost of doing an update, it's not worthwhile to do small incremental updates, instead I have to batch things into substantial updates and keep track of more things.

At my previous job, we would regularly have tcp connected clients connected for weeks or months with the latest server code via hotloading. I can't do that now. Either I let clients stay connected to old code servers, or I force them to reconnect and lose their state. (Yeah, maybe there's a way to force them to reconnect and transfer their state; that's not easy though)

It's like making a mechanic work without powertools. Yes, you can do everything, but without the proper tools to do my job, everything takes longer. A mechanic trained without access to or knowledge of power tools might not notice the difference, of course. And power tools offer the ability to do both good work and bad work much faster.

Edit to add:

Re the job is to solve problems regardless of language; I don't necessarily disagree, and I'm definitely willing to pitch in and debug nearby systems that are outside of my preferred language, or even write code in a language I despise if it's the best way to solve a problem. But if the majority of my job is in languages that make it harder for me to work, and that's not something that was clear before I took the job, and especially if it's a new thing, it's going to make me look for something else. I'd expect that just as much for someone who feels Erlang makes them more productive as for someone who feels Rust or Java or C or Erlang or Fortran or Lisp or Python or whatever language they love. There's a lot to like about a lot of languages, even if they don't appeal to me.

gv83 · 2 years ago
hey, maybe you have one of the use cases erl/el excels at; I'm not going to go against that - I also like the language and the runtime and everything.

my point is just that at some point and at a certain org size, the technical prowess of the platform is not the dominant term in the equation; social merits of your platform become it.

organizations also don't see the value of retraining everyone, risking bugs, customer and dev dissatisfactions, and a myriad other correlated problems; and as elixir orgs are not running laps around non elixir orgs (you know, executives do talk with other executives in other companies - and whatsapp is an once in a decade) and given that most of us build web cruds, internal LoB apps, other small automations, they can tolerate the eventual delays of having worser tools.

closing our eyes and thinking these things do not exist is ingenuous imho; I wish I was writing rust or el, I'm stuck in python trying to convince people using immutable dataclasses.

I still feel langs like el/erl and in general pleasant, powerful but niche things like clojure, are better placed as secret weapons for teams of highly skilled, motivated individuals with homogeneous culture about code. They are not industry standard and they should not be. Touting them as magical solutions just hurts them in the long run.

gv83 commented on Why Elixir (2014)   theerlangelist.com/articl... · Posted by u/arrowsmith
toast0 · 2 years ago
> super low nps

Net Promoter Score?

> resignation letters from elixir “talents” that are asked to do non elixir stuff.

I mean, I would prefer to be working in Erlang, but I took a Rusty job recently. OTOH, if I was working in Erlang for you, and you made me switch to something else, I would most likely not be happy and if my job is changing, I may as well change jobs, or at least consider it. Leaving behind simple concurrency and hot loading means it takes a lot longer for me to get things done, and it's one thing to work at a job where things take forever, but it's even worse to go from being able to get things done quickly to slowly.

gv83 · 2 years ago
yes, Net Promoter Score

about the second part of your answer; my (probably very rare) opinion is that our job is not to "work in erlang" or "work in rust", is "solve problems/automate stuff". If I ask you to work in Foo instead of Erlang, it's the same job. I highly doubt that your job is slow because Go and fast because Rust, it's slow because process/idiots in other teams/idiots in your team/idiots as your "agile coach" etc.

I understand wanting to have a good career, but language is never the obstacle to a successful career. Also, this implicit bias that people who know exotic languages are better is completely false.

gv83 commented on Why Elixir (2014)   theerlangelist.com/articl... · Posted by u/arrowsmith
gv83 · 2 years ago
“Why not Elixir” is a more interesting question and I suggest you go ask it to engineering managers of polyglot organizations. They will usually bring you the super low nps from not-elixir-only devs and the resignation letters from elixir “talents” that are asked to do non elixir stuff.
gv83 commented on What it's like to staff the home of a billionaire   thecut.com/article/staffi... · Posted by u/wallflower
marnett · 2 years ago
I could get behind your general sentiment perhaps in the context of 19th century industrialism, or maybe even 20th century robber barons, but what paradise for the masses does the 21st century of “billionaires with no nation-state allegiance” bring exactly?

Also, concentration of wealth doesn’t reverse without action - so your initial remarks on fiefdoms and feudalism may not be too far from where we find ourselves in this century, which king do you bend the knee to: House of the dragon, Zuckerberg, or House of the camel, Musk?

gv83 · 2 years ago
I agree with your sentiment - I simply don't have a specific answer or I would be a very important person as I would have "solved" one of this century hardest problem.

I just believe that technology and innovation and creative destruction (in the schumpeterian sense) can (as they did) bring better resource usage which in turn drive better lifestyle for everyone.

I'm not sure where I would go from here; my brain is wired to my country problems (which is not usa, I hail from europe) which are completely 0 opportunities to actually get rich + complete domination of old money due to compound interest unstoppable force.

Heavily taxing inheritance in every form could be a start, but I'm not an expert in policy.

gv83 commented on What it's like to staff the home of a billionaire   thecut.com/article/staffi... · Posted by u/wallflower
Geeek · 2 years ago
I am not sure why someone would downvote this. It is 100% revolting and indicative of a really rotten system that allows this to happen.
gv83 · 2 years ago
yeah, it was way better when you worked the fields for a duke who had dibs over your underage wife for the first night of marriage. and don't forget the round robin slave labour in the castle! and don't forget to set aside some grain for the taxes, who cares if this year has been bad and it all goes to the duke...

capitalism has its faults, but these platitudes about rotten systems really miss the mark.

gv83 commented on Measuring GitHub Copilot's impact on productivity   cacm.acm.org/research/mea... · Posted by u/explosion-s
munk-a · 2 years ago
I think it's too early to tell but my main concern about copilot is code maintainability and security. Copilot is able to barf out helpful expressions that will reduce the amount of code we need to write by hand - I think it's excellent when it comes to reducing boilerplate... but I think a large amount of boilerplate existing belies a bigger issue with the project. The majority of software engineering isn't writing code - copilot may be beneficial as an accessibility aide for developers that have typing impairments but most developers can type faster than they can think - if the level of boilerplate in your project is reasonable then this should mean you're never prevented from thinking because your fingers are still working on recording your previous thought. However, at the end of the day, if you can help reduce carpal tunnel that's still a win.

The problem I can foresee with copilot is that the scenario change you're agreeing to is that you'll type less but need to read over the code produced more - this is an effort that isn't normally necessary (typos happen but those should take a trivial time to correct) but when copilot is involved you need to proof all the code that is being generated. There is a motivation to skip this step and just accept the code was written correctly and that will inevitably lead to security problems - and there is a motivation to not correct or alter auto-filled command. If there's a multi-dimensional array and you think it semantically makes sense to iterate it over dimension a then dimension b and copilot instead goes with b as the major index then it's more likely to remain in a b major iteration - that may make code less readable or it may cause major issues down the line.

Copilot, IMO, is optimizing the least important part of development right now and it costs us more to correct it then it would to just splat out the correct code _but_ this is a similar argument to longbows vs. crossbows - hand a peasant a crossbow and they can fire a crossbow - train a peasant for 30 years and they can fire a longbow - the longbow is more powerful, but the crossbow is a clear choice in terms of RoI. It may be that today's developers will only benefit from copilot minimally since we've invested the training time in standard development practices but tomorrow's developers will eschew a lot of the algorithmic learning and still be able to deliver the majority of the value.

gv83 · 2 years ago
the only thing this llm craze is helping is nvidia/openai/ms war chest, and fueling the illusion that every company can finally have their developers by taking any domain expert or barely knowledgeable person paired with an ai assistant. the mountains of trash produced by these things will end up costing a metric ton.
gv83 commented on Measuring GitHub Copilot's impact on productivity   cacm.acm.org/research/mea... · Posted by u/explosion-s
gv83 · 2 years ago
let's also measure the productivity of reviewers and people in general that, at a later point, have to wade through piles of ai generated crap.

last friday i had to review 2 trash PRs that were blatantly made with ai coding assistance. hundreds of code lines for something that, by reading the doc of the library, could have been made in 5 lines. and the fantastic comments like "returns the body" over a body() function.

u/gv83

KarmaCake day138April 29, 2023
About
old man yells at clouds
View Original