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.

tsonfeir , in Normal day in the life of a developer
@tsonfeir@lemm.ee avatar

Maybe you need to. 😬

Darkassassin07 , in Normal day in the life of a developer
@Darkassassin07@lemmy.ca avatar

Does having to look back at 4 of your old code examples to write 10 lines count?

I didn’t google it…

dependencyinjection ,

Isn’t that the idea. Like you know that you had a viable solution to a complex problem previously so why go through the trouble of solving it again if you already did. Even if you have to modify it, it saves time for new novel problems. I’m

Poutinetown ,

You are?

dependencyinjection , (edited )

Yeah.

My company starts all new projects from a skeleton of the last project including shared directories of usual functions we’ve created over time.

Poutinetown ,

Sorry I was trying the parse the “I’m” at the end of your comment

dependencyinjection ,

Ah, just a typo. Or my alter ego almost escaped.

Darkassassin07 ,
@Darkassassin07@lemmy.ca avatar

a viable solution to a complex problem

You mean how to structure a for loop in a bash script? Lmao

puppy ,

Yes

stjobe ,

That’s the way. I’ve been programming for nigh on four decades, and it’s almost a daily occurrence with junior devs going to stack overflow or chatGPT to solve an issue instead of just searching the code where nine times out of ten the problem (or a very similar one) is already solved.

Comradesexual , in The falsehoods of a senior developer
@Comradesexual@lemmygrad.ml avatar

Just the other day I thought of how stressed out the main bird in a formation has to be figuring out where the entire flock is going. ^ ^’

Turun , in Normal day in the life of a developer

Me running an LLM at home:

The same image, but the farmer is standing in front of a field of poppy (for opioid production)

virku ,

I am researching doing the same, but know nothing about running my own yet. Did you train your llm for programming in any way, or just download and run an open source one? If so which model etc do you use?

lunachocken ,

Have a look at llama file models they’re pretty cool, just rename to xxx.exe and run on windows and chmod on Linux.

Though the currently supported ones are limited, you could try llama code.

virku ,

Where do you get it? Hugging face?

moonpiedumplings ,

llamafile.ai (though it’s down for the moment)

github.com/Mozilla-Ocho/llamafile

Lot’s of technical details, but essentially the llamafile is a engine + model + web ui, in a single executable file. You just download it and run it and stuff happens.

virku ,

Thanks!

Turun ,

Run an open source one. Training requires lots of knowledge and even more hardware resources/time. Fine tuned models are available for free online, there is not much use in training it yourself.

Options are

github.com/oobabooga/text-generation-webui

github.com/Mozilla-Ocho/llamafile

github.com/ggerganov/llama.cpp

I recommend llavafiles, as this is the easiest option to run. The GitHub has all the stuff you need in the “quick start” section.

Though the default is a bit restricted on windows. Since the llavafiles are bundling the LLM weights with the executable and Windows has a 4GB limit on executables you’re restricted to very small models. Workarounds are available though!

virku ,

Im gonna give llamafile a go! I want to try to run it at least once with a different set of weights just to see it work and also see different weights handle the same inputs.

The reason I am asking about training is because of my work where fine tuning our own is going to come knocking soon, so I want to stay a bit ahead of the curve. Even though it already feels like I am late to the party.

treechicken , in The falsehoods of a senior developer
@treechicken@lemmy.world avatar

inb4 senior delegates critical decision-making to juniors and only shows up once stuff is on fire

tsonfeir ,
@tsonfeir@lemm.ee avatar

It’s funny you say this, because my junior is complaining that I micromanage too much. I prefer to make the critical decisions. Whenever I don’t make them, I end up putting out fires.

I tell them that and they respond, how am I supposed to learn if I can’t make mistakes?

Then I remind them they can fuck up all they want in the dev env.

Aiyub ,

For me it was reverse. When I was a junior I was reviewing PRs from the seniors and it couldn’t have possibly been tested to work.

The seniors were super lazy and around half the PRs would have broken production.

Seniority often comes from years of work and not knowledge.

tsonfeir ,
@tsonfeir@lemm.ee avatar

I try hard not to be an asshole at work. I also produce the most code. When my junior came on I told them that I’m here to help, and I want them to ask dumb questions instead of struggle. I also told them that I make mistakes, and they should call me on my shit—which they looove to do, brat.

Knock_Knock_Lemmy_In ,

Why are you making critical decisions in a prod environment?

tsonfeir ,
@tsonfeir@lemm.ee avatar

For the production environment, not in it.

Knock_Knock_Lemmy_In ,

Shouldn’t every decision be tested in dev first?

tsonfeir ,
@tsonfeir@lemm.ee avatar

Yes. I think you may have misunderstood my meaning. Unless you’re just being pedantic—which I have no interest in.

Knock_Knock_Lemmy_In ,

Probably my misunderstanding. The way it is written it sounds like juniors use the dev env and seniors get their decisions implemented directly in prod.

tsonfeir ,
@tsonfeir@lemm.ee avatar

What are “decisions” to you?

Knock_Knock_Lemmy_In ,

From what code to write, to what language to use, to how things will integrate.

Even high level architectural decisions need to be tested in dev first.

Basically I can’t see what couldn’t be run through dev first?

tsonfeir ,
@tsonfeir@lemm.ee avatar

Just because code works in dev doesn’t mean it’s going to be the right thing for production. I caught that little bastard making 1000 db queries in a loop one time, instead of taking the time to make it efficient. Technically it worked. And, because dev has no server load, it was relatively quick.

li10 , in The falsehoods of a senior developer

I’m not in software development, but this is how the entire company I work for operates.

We’re just kinda going forward with no clear direction, keeping stuff ticking over and constantly coming up with future plans that never come to fruition.

1984 ,
@1984@lemmy.today avatar

This is how all enterprise companies I worked for operates too. Only when I joined a smaller company with 80 people I realized that it can be really fun to work. We get a lot of stuff done and hardly any meetings. Really enjoying it.

tsonfeir ,
@tsonfeir@lemm.ee avatar

This is how the world is. No one is really an expert. No one really has the answer.

shneancy ,

and we all look up to the people who look like they know what they’re doing (they don’t but they are very convincing at looking like they do)

tsonfeir ,
@tsonfeir@lemm.ee avatar

In their defense, if they don’t pretend like they know what they’re doing everything would fall apart.

keefshape ,

Oof. Painful truf.

Immersive_Matthew ,

For some people. Yes.

tsonfeir ,
@tsonfeir@lemm.ee avatar

For you, yes.

Immersive_Matthew ,

Projecting?

tsonfeir ,
@tsonfeir@lemm.ee avatar

Illusory superiority?

Immersive_Matthew ,

I found your cat hiding in the closet so clearly passed your test.

tsonfeir ,
@tsonfeir@lemm.ee avatar

You only found one?

noobface , (edited )
@noobface@lemmy.world avatar

There are answers, they just take a level of experience to reach that most people aren’t cut out for. You gotta be several principal+ IC roles or Dir+ mgr roles in before the patterns congeal into a plan.

Challenge is operating at those levels for extended periods requires a super fucking insane level of competency and dedication. Most people hit that spot and coast till retirement cause you’re at $500k+ at FAANG. Few keep looking for new opportunities unless forced to or they’re those corporate robot sharks with the dead eyes.

parachaye ,
@parachaye@lemmy.world avatar

There are people who are knowledgeable and good at their job. Knowledgeable enough to be experts. Those are usually subject matter experts, including developers.

The issue is that no one can guarantee an outcome or that they’ve picked the right approach.

tsonfeir ,
@tsonfeir@lemm.ee avatar

And if they didn’t pick the right approach, they aren’t an expert.

hex_m_hell ,

But this is really more a product of capitalism than anything else. Under capitalism you just have to keep moving even if you’re just making garbage and debt. There’s no reason to stop and think, because that is seen as a cost (even though it costs more to move without thinking).

Even the best companies that do factor in planning (at least in concept if not actually in practice most of the time) end up with the other problem of “resume driven development” where things that are totally fine and actually working get replaced with things that don’t work because someone needs a new project to get their promotion.

Capitalism produces garbage and puts the people who are least qualified in decision making roles. This still happens in natural systems, but much less. In (healthy) anticapitalist organizing, the people who know the most are generally asked to lead and when they don’t know what to do they stop and figure it out before moving forward.

Aimless wondering can still be a problem, but it’s not forced by the system to continue it’s just people who are learning.

tsonfeir ,
@tsonfeir@lemm.ee avatar

people who are learning.

That’s the problem. The majority of them don’t learn, and really fuck shit up for the ones trying to.

rickyrigatoni ,

I’m an expert and I have all the answers.

tsonfeir ,
@tsonfeir@lemm.ee avatar

Obviously anyone named Ricky Rigatoni is gonna have all the answers. If you say he doesn’t, he’s gonna snap you like dry pasta.

samus12345 , in Is there anything we cannot learn from the wisdom of ancient Japan?
@samus12345@lemmy.world avatar
DogWater , in Is there anything we cannot learn from the wisdom of ancient Japan?
scratchandgame , in STOP USING GITHUB

Use Codeberg ;)

I love repo.or.cz since it is enough.

sag OP ,

What do you mean? Real Programmer use Zip file to share source code.

scratchandgame ,

“real”.

repo.or.cz is lightweight. Codeberg isn’t, and it is currently not as fast as github.

You can always fall back to your “zip”, anyways. But why don’t .tgz?

sag OP ,

I was just joking man. Yeah, I visit repo.or.cz it’s pretty lightweight and I loved it.

scratchandgame ,

But I don’t think you are brave enough to take it up :)

sag OP ,

Yea. I am not gonna use use repo.or.cz

Anticorp , in Is there anything we cannot learn from the wisdom of ancient Japan?

Flash has been dead for 8 years! How old is this screenshot?

dan ,
@dan@upvote.au avatar

I think it dates back to one of the first iPad models, back when Flash was still popular on computers.

Hamartiogonic ,
@Hamartiogonic@sopuli.xyz avatar

Wisdom of the ancients, from the late Flash era.

jadero ,

Does anything ever truly die?

ruffle.rs

Anticorp ,

Awesome!

jadelord ,

What is dead may never die.

snugglebutt ,
@snugglebutt@lemmy.blahaj.zone avatar

We do not sow

Mystry , in Is there anything we cannot learn from the wisdom of ancient Japan?
PraiseTheSoup ,

You literally fed it a quote and it still fucked the words up.

rickyrigatoni ,

The words are getting a lot more accurate lately.

velvetThunder ,

I didn’t even notice the errors in the text before reading the comments.

Opafi , in Is there anything we cannot learn from the wisdom of ancient Japan?

Great, now I’ve got tea on my sweater…

This really caught me by surprise.

Infynis , in Is there anything we cannot learn from the wisdom of ancient Japan?
andioop OP , (edited )

I literally just posted this in !software_gore because they had the same energy so I found it on the original Reddit post remembered this one too. Great minds think alike?

CommunityLinkFixer Bot ,

Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: !software_gore

Infynis ,

That’s amazing lol

Great minds indeed

GigglyBobble ,

Both are so stupid and I still chuckle every time I see those.

xmunk ,

I’m pretty sure Shakespeare was plagiarizing Oscar Wilde there.

spez ,

<span style="color:#323232;">Hark! An SSL error, a tempest 'pon our web,
</span><span style="color:#323232;">Wherein secure connection falters, doth ebb.
</span><span style="color:#323232;">Aye, 'tis a quandary, a breach of secure bond,
</span><span style="color:#323232;">Thus, a web of trust, alas, beyond respond.
</span><span style="color:#323232;">In cryptic seas, where code and cipher dance,
</span><span style="color:#323232;">An error doth arise, denying safe romance.
</span><span style="color:#323232;">Oh, noble server, fraught with digital woe,
</span><span style="color:#323232;">Thy encryption falters, aye, laid low.
</span><span style="color:#323232;">Let us mend this rift, this breach, anon,
</span><span style="color:#323232;">And restore the web to its rightful throne."
</span>

<span style="color:#323232;">                                   --- Lord ChatGPT of Someshire
</span>
funkless_eck ,

but it’s not in blank verse?

wise_pancake , in Is there anything we cannot learn from the wisdom of ancient Japan?

I believe it was Benjamin Franklin who said “You have reached the end of your membership at Benjamin-Franklin-Quotes.com”

mattd ,

Such a wise man

andioop , in If Architects had to work like Programmers

“Dear Mr. Architect!” is such a charming start to the letter, sort of getting “kid’s letter to Santa” vibes if the kid dreamed of being an architect.

Too bad the rest of the letter isn’t quite as charming :P

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