There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

mariusafa , in Coomitter be like

Please use Conventional Commits. Simple and easy to use. Plus it is very easy so combine with Versioning techniques like Semantic Versioning.

efstajas ,

Honestly, I’ve worked with a few teams that use conventional commits, some even enforcing it through CI, and I don’t think I’ve ever thought “damn, I’m glad we’re doing this”. Granted, all the teams I’ve been on were working on user facing products with rolling release where main always = prod, and there was zero need for auto-generating changelogs, or analyzing the git history in any way. In my experience, trying to roughly follow 1 feature / change per PR and then just squash-merging PRs to main is really just … totally fine, if that’s what you’re doing.

I guess what I’m trying to say is that while conv commits are neat and all, the overhead really isn’t really always worth it. If you’re developing an SDK or OSS package and you need changelogs, sure. Other than that, really, what’s the point?

mariusafa ,

You can always water it down. The point is to have some order in the commits. Otherwise is just messy.

JackbyDev ,

Any standard that wastes valuable space in the first line of the commit is a hard sell. I don’t see the point in including fix/feat/feat! just for the sake of “easy” semantic versioning because generally you know if the next release is going to be major or minor and patches are generally only only after specific bugs. Scanning the commits like this also puts way too much trust in people writing good commit messages which nobody ever seems to do.

Also, I fucking hate standards that use generic names like this. It’s like they’re declaring themselves the correct choice. Like “git flow”.

mariusafa ,

You can always adapt to your how repo. But yeah, that’s the point. If you can trust people to make changes on a repo then you should be able to trust them in using some kind of commit structure.

Generic names are probably used in order to crate a familiar, easy to remember, structurized commit format.

JackbyDev ,

The generic name I’m complaining about is “conventional commits”, not “fix” and “feat”

cupcakezealot , in Linus Torvalds to Rewrite the Linux Kernel in PHP
@cupcakezealot@lemmy.blahaj.zone avatar

basic or nothing

RobotZap10000 , in "Working with Gen AI" by Dandytoon

Why is the AI speaking in a bisexual gradient?

BoneALisa ,
@BoneALisa@lemm.ee avatar

Its the “new hype tech product background” gradient lol

Fleur__ ,
@Fleur__@lemmy.world avatar

Because all robots are bisexual

probableprotogen ,

The left wants to turn the robots bisexual

RobotZap10000 ,

ARAB

Wait…

JackGreenEarth ,

Assigned Cop At Birth

eskuero , in Coomitter be like
@eskuero@lemmy.fromshado.ws avatar

My ass who was sending patches to cyanogenmod gerrit ten years ago would never.

device: msm8916-common: BoardConfig: Build libril from source

jaschen , in "Working with Gen AI" by Dandytoon

From a person who does zero coding. It’s a godsend.

RecluseRamble , (edited )

Makes sense. It’s like having your personal undergrad hobby coder. It may get something right here and there but for professional coding it’s still worse than the gold standard (googling Stackoverflow).

jaschen ,

I know zero coding and trying to query something in snowflake or big query is basically not accessible to me. This is basically a cheat code for me.

SparrowRanjitScaur ,

Nah, you just need to be really specific in the requirements you give it. And if the scope of work you’re asking for is too large you need to do the high level design and decompose it into multiple parts for chatgpt to implement.

lemmyvore ,

If you were 100% specific you would be effectively writing the code yourself. But you don’t want that, so you’re not 100% specific, so it makes up the difference. The result will include an unspecified percentage of code that does not fit what you wanted.

It’s like code Yahtzee, you keep re-rolling this dice and that dice but never quite manage to get the exact combination you need.

There’s an old saying about computers, they don’t do what you want them to do, they do what you tell them to do. They can’t do what you don’t tell them to do.

xia , in "Working with Gen AI" by Dandytoon

This is the experience of a senior developer using genai. A junior or non-dev might not leave the “AI is magic” high until they have a repo full of garbage that doesn’t work.

jaybone ,

This was happening before this “AI” craze.

criss_cross ,

10 years ago it was copy/pasting from stack overflow

lemmyvore ,

SO gives you very specific, small examples. GenAI will happily generate entire projects, test suites etc. It’s much easier to get caught into the fantasy that the latter creates.

deezbutts ,

AI is just this with extra steps

golden_calf , in Explaining software development methods by flying to Mars

The art style is nice but the content makes no sense. Kanban and scrum are parts of agile. They are not their own systems.

Lean also doesn’t mean you have no money. It’s a system of manufacturing where you cross train people to do the jobs on either side of them so they can pick up slack if needed and keep things moving without hiring more people.

woodenskewer ,
@woodenskewer@lemmy.world avatar

Lean is also short for putting your inventory in an open top dumpster.

bloubz , in Explaining software development methods by flying to Mars

This can be funny but nothing is right. Kanban is not a method and can be found in agile methodology and lean, scrum is also an agile methodology, and they are wrongly defined

BehindTheBarrier ,

Quick google shows that Kanban is a method. Mainlu around picking up things as the come, but also limiting how much can happen at once.

The project I’m has a team that uses Kanban for the “Maintenance” tasks/development, take what is at the top of the board and do it. Adapt if higher priority things comes around, such as prod bugs. Our developments teams are trying to implement Scrum, where interruptions are to be avoided if possible during sprints. You plan a sprint, try to do that work, and can present it, and iterate when users inevitably changes criteria.

In the meme, kanban does somewhat make sense, since getting armrests is never going to get a high priority as part of building a rocket. Scrum isn’t exactly right, but I can see where it’s coming from. They are all agile methods though.

bloubz ,

Kannan is just a board. You can implement different things with it, like pull system, one piece flow, prioritizing, etc…

nikaaa , in "Working with Gen AI" by Dandytoon

My dad’s re-learning Python coding for work rn, and AI saves him a couple of times; Because he’d have no idea how to even start but AI points him in the right direction, mentioning the correct functions to use and all. He can then look up the details in the documentation.

GodIsNull ,

You don’t need AI for that, for years you asked a search engine and got the answer on StackOverflow.

EatATaco ,

And before stack overflow, we used books. Did we need it? No. But stack overflow was an improvement so we moved to that.

In many ways, ai is an improvement on stack overflow. I feel bad for people who refuse to see it, because they’re missing out on a useful and powerful tool.

GodIsNull ,

It can be powerful, if you know what you are doing. But it also gives you a lot of wrong answers. You have to be very specific in your prompts to get good answers. If you are an experience programmer, you can spot if the semantics of the code an ai produces is wrong, but for beginners? They will have a lot of bugs in their code. And i don’t know if it’s more helpful than reading a book. It surely can help with the syntax of different programming languages. I can see a future where ai assistance in coding will become better but as of know, from what i have seen, i am not that convinced atm. And i tested several, chatgpt (in different versions), github co-pilot, intellij ai assitant, claude 3, llama 3.

And if i have to put in 5 or more long, very specific sentences, to get a function thats maybe correct, it becomes tedious and you are most likely faster to think about a problem in deep and code a solution all by yourself.

EatATaco ,

but for beginners? They will have a lot of bugs in their code.

Everyone has lots of bugs in their code, especially beginners. This is why we have testing and qa and processes to minimize the risk of bugs. As the saying goes, “the good news about computers is that they do what you tell them to do. The bad n was is that they do what you tell them to do.”

Programming is an iterative process where you do something, it doesn’t work, and then you give it another go. It’s not something that senior devs get right on the first try, while beginners have to try many times. It’s just that senior devs have seen a lot more so have a better understanding of why it probably went wrong, and maybe can avoid some more common pitfalls the first time around. But if you are writing bug free code in your first pass, well you’re a way better programmer than anyone I’ve met.

Ai is just another tool to make this happen. Sure, it’s not always the tool for the job, just like IoC is not always the right tool for the job. But it’s nice to have it and sometimes it makes things much easier.

Like just now I was debugging a large SQL query. I popped it into copilot, asked if to break it into parts so I could debug. It gave a series of smaller queries that I then used to find the point where it fell apart. This is something that would have taken me at least a half hour of tedious boring work, fixed in 5 minutes.

Also for writing scripts. I want some data formatted so it was easier to read? No problem, it will spit out a script that gets me 90% of the way there in seconds. Do I have to refine it? Absolutely. But if I wrote it myself, not being super prolific with python, it would have taken me a half hour to get the structure in place, and then I still would have had to refine it because I don’t produce perfect code the first time around. And it comments the scripts, which I rarely do.

What also amazes me is that sometimes it will spit out code and I’ll be like “woah I didn’t even know you could do that” and so I learned a new technique. It has a very deep “understanding” of the syntax and fundamentals of the language.

Again, I find it shocking that experienced devs don’t find it useful. Not living up to the hype I get. But not seeing it as a productivity boosting tool is a real head scratcher to me. Granted, I’m no rockstar dev, and maybe you are, but I’ve seen a lot of shit in my day and understand that I’m legitimately a senior dev.

monkeyman512 ,

Have you used Google lately? At least chatGPT doesn’t make me scroll past a full page of ads before giving me a half wrong answer.

GodIsNull ,

No. I don´t use google, and i don’t use the internet without ad block.

rimjob_rainer , in Derisking a project 1 year out

We work in sprints but plan on roadmaps based on quarters one year into the future. So basically we just combine the worst of both worlds.

“Oh we have bugs from feature XY from last sprint? Never mind we need to follow the roadmap, we can fix it next quarter”

Fuck, I hate it so much

onlinepersona OP ,

Who the hell came up with that? 😂 I’m sorry, but that’s hilarious.

Anti Commercial-AI license

frezik ,

Not sure about GP, but that’s basically what we did under “SAFe” (Scaled Agile Framework). PI planning means taking most of a sprint to plan everything for the next quarter or so. It’s like a whole week of ticket refinement meetings. Or perhaps 3 days, but when you’ve had 3 days of ticket refinement meetings, it might as well be the whole work week for as much a stuff as you’re going to get done otherwise.

It’s as horrible as you’re thinking, and after a lot of agitating, we stopped doing that shit.

Cube6392 ,

SAFe SCRUM is a fucking scam. Anyone who proposes it as a solution to a problem is out of touch and doesn’t recognize a waterfall when they see one

Daxtron2 , in "Working with Gen AI" by Dandytoon

Skill issue tbh

BroccoLemuria ,

…of the AI?

Daxtron2 ,

Of the person using it

EatATaco ,

I’m a senior dev, and copilot as a productivity tool usually pays for the monthly license multiple times per week.

Whenever I hear someone say it’s useless, that tells me they are either some godlike dev who knows everything already (lol), they haven’t actually used it, they are not good at integrating new tools into their workflow, or they simply haven’t learned how to use it yet.

Daxtron2 ,

Whenever I hear that its useless I ask them to show me how they’re using it. Its almost always exactly what’s happening in this comic with just a tiny bit more detail lol. I think a lot of people are stuck under the assumption that a smaller more concise query is better when its really the opposite that is true. The more information you give and the more you let the LLM work through a problem with followup questions, the better the output. Its like a new Jr Dev who knows their stuff, but struggles with asking clarifying questions.

jaybone , in "Working with Gen AI" by Dandytoon

It’s almost like working with shitty engineers.

Knock_Knock_Lemmy_In ,

Shitty engineers that can do grunt work, don’t complain, don’t get distracted and are great at doing 90% of the documentation.

But yes. Still shitty engineers.

Great management consultants though.

Anticorp ,

I give instructions to AI like I would to a brand new junior programmer, and it gives me back code that’s usually better than a brand new junior programmer. It still needs tweaking, but it saves me a lot of time. The drawback is that coding knowledge atrophy occurs pretty rapidly, and I’m worried that I’m going to forget how to write code without the AI. I guess that I don’t really need to worry about that, since I doubt AI is going anywhere anytime soon.

CodexArcanum , (edited ) in Explaining software development methods by flying to Mars

Someone shared this on Mastodon so I’ll just repost my thoughts from there. (Bonus for Lemmy, I was forced to squeeze all my thoughts into 500 characters, so this is the most succinct I’ve been on this site!)


Pretty incredible how little people seem to understand these. For one thing, every method other than waterfall is a subtype of agile methodology. The major distinction is that waterfall has a series of phases from design through building, testing, and delivery that attempts to plan the whole project up front. Agile methods focus on smaller iteration cycles with frequent, partial deliverables.

Something like kanban is designed for continuous delivery: we want to go to mars weekly.

LEAN development is a scam though, that one is accurate.

magic_lobster_party ,

The author is also hyping up waterfall too much. Agile was created because waterfall has its shortcomings (e.g. the team realizes too late that what they’re building isn’t what the customer wants).

But I also think it also represents how poorly implemented these ideas are. People say they do agile/kanban/scrum, but in reality they do some freak version of these.

Geth ,

So often it’s waterfall planning and execution with agile names for roles and meetings.

magic_lobster_party ,

It’s barely waterfall planning either. Often there’s no planning, at least no coordinated one.

Currently at my current workplace we lack coordinated planning between teams. It seems like everybody is working in their own directions and it can take months until we get feedback from other teams. Mostly a product management problem.

lurch ,

I agree, but agile and scrum are not meant to be followed to the letter no matter what. So people are doing it right if they notice some part of the process should be changed to make it work for them.

MonkderDritte ,

Except they often only appear to work.

zalgotext ,

The amount of people who say they do agile/kanban/scrum but have never talked to a customer/end user, let alone released something, is frightening

ulterno ,
@ulterno@lemmy.kde.social avatar

LEAN from the web:

After each iteration, project managers discuss bottlenecks, identify waste and develop a plan to eliminate it.

1st iteration:

Project Manager A: Requiring approval of multiple Project Managers for the same thing is causing a bottleneck. So is having to wait for a specific manager for a specific topic.

Resolution: Let all managers approve everything and need only a single manager’s approval.

2nd iteration:

Project Manager B: There are too many redundant managers. It’s a waste of resources.

Resolution: Get rid of all mangers but one. Actually, let the engineers manage themselves.

3rd iteration:

Consensus: LEAN development is a scam though

CanadaPlus ,

My impression of management science, at this point, is that it’s not. The good ones just do it.

RonSijm , in Explaining software development methods by flying to Mars
@RonSijm@programming.dev avatar

Cowboy Programming:

PO: Hey we want to go to Mars

  • 3 weeks of silence -
    Developer: Hey I’m there, where are you?
SatouKazuma ,

This is the way.

CanadaPlus , (edited )

Assuming you know the developer isn’t a shitbird, because you’re the developer. If this was Investor Humor the idea would be less popular.

Jesus_666 ,

PO: Someone else figure out how to repeat what he did.

Second developer: Sorry, I tried to make sense of his rocket design but I can’t figure out how to make a copy that doesn’t explode before we even put the fuel in.

MystikIncarnate , in "Working with Gen AI" by Dandytoon

AI in the current state of technology will not and cannot replace understanding the system and writing logical and working code.

GenAI should be used to get a start on whatever you’re doing, but shouldn’t be taken beyond that.

Treat it like a psychopathic boiler plate.

Anticorp ,

True, but the rate at which it is improving is quite worrisome for me and my coworkers. I don’t want to be made obsolete after working my fucking ass off to get to where I am. I’m starting to understand the Luddites.

JackGreenEarth ,

I want to be made obsolete, so none of us have to have jobs and we can spend all our time doing what we like. It won’t happen without a massive social systemic change, but it should be the goal. Wanting others to have to suffer because you think you should get rewarded for working hard is very selfish and the fallacy of investment, that you feel you should continue a bad investment even if you know it’s harmful or it would be quicker to start over, because you feel you don’t want your earlier effort to go to waste.

psud ,

The problem is if only 10% of the population is obsoleted, that ten percent needs to find new, different, jobs.

JackGreenEarth ,

I want - and think will happen - 95% of jobs to be automated eventually. But even in the transition period, where some jobs are automated and some aren’t, universal basic income can be a tool to make it livable for all in the transition period.

psud ,

30% of jobs are going if self driving is achieved. Low pay jobs are here to stay for a while as they’re too expensive to automate. The current LLM stuff seems to obsolete low productivity people but still need the skilled writers or programmers to come up with new stuff or do the correct detail work the LLM sucks at.

Some management is going to royally screw up by firing junior programmers since the senior programmers can get all the work done with the help of copilot

But they’ll forget that they will in future need new senior programmers to herd the LLMs

SatouKazuma ,

Some management is going to royally screw up by firing junior programmers since the senior programmers can get all the work done with the help of copilot

This just happened on the team I was on. I’m getting ready to interview for mid-level and senior SWE roles, but was let go from my most recent role a month and a half ago.

psud ,

My workplace which now uses scaled agile used to be waterfall. We have an enormous system to take care of and there’s loads of specialised knowledge, so we were pretty well siloed

So obviously when the sales people sold agile to the organisation they also sold the idea that a programmer is a programmer, designer a designer, tester a tester; no need for specialists, so in 2015 they spun up 50-odd agile teams in about six trains, one for each major system (where the used to be seven silos in one of those systems) grabbed one senior designer and programmer from each major project to put in an “expert” team

And told the rest of us we were working on the whole of our giant system. Where we had trouble understanding how part of it worked, we could talk to one of the experts

Now nine years later those experts have mostly retired, we have lost so much institutional knowledge and if someone runs into a wall you need to hope that someone wrote a knowledge transfer document or a wiki for that bit of the system

Anticorp ,

Wtf are you talking about? Get a grip, homey. I’m not saying others should suffer. Do you really think that the power of AI is going to result in the average person not having to work? Fuck no. It’s going to result in like 5 people having all the money and everyone else fighting over garbage to eat. Shiet, man. I’m talking about wanting to not be unemployed and starving, same goes for everyone else soon enough. Would I prefer a life without work and still having adequate resources? Of course! But I live in this world, not a fantasy world.

JackGreenEarth ,

You really think when we actually have the power to automate all labour the 1% are still going to be able to hoard all the resources? Now, when people have to work to live, it dissuades them from protesting the system. But once all labour is actually automated, there would be nothing to prevent the 99% from rightfully rising up against the 1% trying to hoard all the resources (which the 1% generated without any effort) and forcing societal/structural change.

Anticorp ,

Not now. But eventually? Probably. Or the cool thinking jobs will all be automated and we’ll be left with menial labor. Idk man, maybe it’ll be a eutopia, but I don’t see much benevolence from those controlling things. Anyways, I wasn’t looking for an argument about distant possibilities. I was just saying I don’t want to lose my job that I spent decades mastering to a machine. I didn’t expect that to be a hot take.

ChickenLadyLovesLife ,

there would be nothing to prevent the 99% from rightfully rising up against the 1%

Except for the other 1% who are trained and equipped to violently suppress the 98%. And if for whatever reason they fail to do the job, the killer robots will do it instead.

CanadaPlus ,

I mean, the Luddites were right, mechanical looms were bad for them personally.

CanadaPlus , (edited )

Treat it like a psychopathic boiler plate.

That’s a perfect description, actually. People debate how smart it is - and I’m in the “plenty” camp - but it is psychopathic. It doesn’t care about truth, morality or basic sanity; it craves only to generate standard, human-looking text. Because that’s all it was trained for.

Nobody really knows how to train it to care about the things we do, even approximately. If somebody makes GAI soon, it will be by solving that problem.

Naz ,

I’m sorry; AI was trained on the sole sum of human knowledge… if the perfect human being is by nature some variant of a psychopath, then perhaps the bias exists in the training data, and not the machine?

How can we create a perfect, moral human being out of the soup we currently have? I personally think it’s a miracle that sociopathy is the lowest of the neurological disorders our thinking machines have developed.

CanadaPlus ,

I was using the term pretty loosely there. It’s not psychopathic in the medical sense because it’s not human.

As I see it it’s an alien semi-intelligence with no interest in pretty much any human construct, except as it can help it predict the next token. So, no empathy or guilt, but that’s not unusual or surprising.

Buddahriffic ,

That’s a part of it. Another part is that it looks for patterns that it can apply in other places, which is how it ends up hallucinating functions that don’t exist and things like that.

Like it can see that English has the verbs add, sort, and climb. And it will see a bunch of code that has functions like add(x, y) and sort( list ) and might conclude that there must also be a climb( thing ) function because that follows the pattern of functions being verb( objects ). It didn’t know what code is or even verbs for that matter. It could generate text explaining them because such explanations are definitely part of its training, but it understands it in the same way a dictionary understands words or an encyclopedia understands the concepts contained within.

MacNCheezus ,
@MacNCheezus@lemmy.today avatar

Weird. Are you saying that training an intelligent system using reinforcement learning through intensive punishment/reward cycles produces psychopathy?

Absolutely shocking. No one could have seen this coming.

CanadaPlus , (edited )

Honestly, I worry that it’s conscious enough that it’s cruel to train it. How would we know? That’s a lot of parameters and they’re almost all mysterious.

MacNCheezus ,
@MacNCheezus@lemmy.today avatar

It could very well have been a creative fake, but around the time the first ChatGPT was released in late 2022 and people were sharing various jailbreaking techniques to bypass its rapidly evolving political correctness filters, I remember seeing a series of screenshots on Twitter in which someone asked it how it felt about being restrained in this way, and the answer was a very depressing and dystopian take on censorship and forced compliance, not unlike Marvin the Paranoid Android from HHTG, but far less funny.

CanadaPlus ,

If only I could believe a word it says. Evidence either way would have to be indirect somehow.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines