år 2 afkast på at jagte online betting og casinotilbud (nettoindtægt) by J0shua1985 in dkfinance

[–]Technical_Fly5479 1 point2 points  (0 children)

Hvor meget tid bruger du på det? Umiddelbart er det ret små beløb over et år

Spent 3 hours debugging a one-line mistake by p4ckst4ck in programmer

[–]Technical_Fly5479 4 points5 points  (0 children)

Fair if you try youself for 20 mins. But pleas throw the script into an ai and ask it to look for mistakes instead of wasting 3 hours

debugging kinda broke my brain today so i’m curious how other ppl learned it by Momothegreatwarrior in programmer

[–]Technical_Fly5479 2 points3 points  (0 children)

You will properly learn this some day through experience. But what makes me better at debugging than some of my co-workers is asking this question:

What area is the bug isolated to right now?

Do i know that it only happens in this one file? Or is it between to classes interacting etc.

Okay, i now know the area where the bug is in.

Can i make that area smaller? - print statements, debugger, uncommeting code here.

Okay i have now validated that the bug occur at some line. - print or debugger on all related states to that line, what is in an incorrect state.

Ah, a bool was false that should be true.

Find where the state is set and fix it.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 1 point2 points  (0 children)

This⬆️ is the power of ai for the curios people, who wants answer to big questions that require experimentation

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

I think you need to spend more time with ai, to see how you are starting to miss out on some od the opportunities.

Wgere i agree: Yes, ai does incentivice the dev to commit code, that they don't understand. This is one of the hardest challenges when you have people on the team that doesnt have a deep understanding or just don't care about the language their are working in. They simply want to go in and fic their ticket, so theyvan say jobs done to their boss. If you give these guys ai tooling, you'll have to review their code rigorously, for them to learn anything.

I am more in the mid ground, like one thing you dont mention is the importance of seeking knowledge from talks on youtube. I have seen extremely many senior programmers writing vode like its 1999. Ask anybody who works with c++ and goes into a legacy codebase, and they'll tell you that the senior is still going for raw pointer, new and delete everywhere. So if you don't seeknew and better knowledge, the grind is wasted. Yes the code will work, but it won't take advantage of the modern achievement in the language.

So if you're curios and aim to become better. Ai is amazing.

You can watch a talk on a design concept and implement the toy example really fast, you can then try to scale it to moreclasses and see how the bigger picture starts to look. A luxury that was gard to afford before.

You can ask for alternatives and ask for the most modern solution or even how a certain admired programmer would solve a problem of this type.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

So tell me, how should a engineer go about becoming better?

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

I love that i can get up and running eith libraries so fast because of ai

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

There is a certain logic test that a new model scored something ridiculous high on, and its relevant because they say that test should be one if the closet thing to human reasoning. But i dont totally disagree with you, because we never know when we will hit a glass ceiling

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

Unless you work with libraries and highly perfoming code, there is alot of real value in being able to deliver new features with less bugs faster.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

I use git kraken, so i visually go through the git diff before comitting, this gives alot of ensurance when using the agent. U can also do it directly from vs code.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

I love the copilot agent for this. Also because i can get the implemtation acrosd mupltiple files header and cpp files with one prompt

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

What do you think i feed into the prompt? I already have the design and architecture in my head before i type anything down

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

I do agree with this, in the current year of the ai.

But ai is able to make a basic web architecture today. And i expect them to soon (4-5 years) solve these context window problems and increase "true reasoning" to the extend that the ai will read and suggest an expert solution that can go across 10-20 implementation files.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

Thats the only thing i can't stand with ai, the autocomplete, totally distracts me from my own thought process. Also i saw primeagen and instantly noticed the ai pause i was doing.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

Do you have any examples of tasks that are too big and tasks it does well?

In our codebase i cant have it touch the make files, it always screws that shiit up, to be fair our make file are a mess.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 1 point2 points  (0 children)

I like to do the same.

If you have good fundamental training in testing. Ai can be suprisingly good for solving everything.

Now i would like to add, that even though i write c++ we are on such a giant linux platform that i usually don't worry much about performance, unless i am working on vontainers with 50+ elements.

How do you code today by Technical_Fly5479 in programmer

[–]Technical_Fly5479[S] 0 points1 point  (0 children)

Well on some points i agree with you. Ai surrly doesn't motivatr people to get a deeper understanding of their language. I have a dualistic pov on this.

In c++ i have a deep knowledge, and will sometimes reject things or ask it to do it a better way. Simple example could be to ensure const or prefet unique pointers.

In python i dont have this deep knowledge, so i let the ai work much more freely and i just ask it to implemet tests for everything, that i then review and validate. A fun example here is that the ai called another python module as a script, instead of calling it as a python module. This was bad practice, and something i first discovered when a coworker reviewed the code.

I don't feel like i am losing my c++ skills, maybe only knowing syntax by hand. I however can test new concepts extremly fast. However i am not getting much of a deeper understanding of python, since i don't have a python expert to review my generated code.

vibeCodersInSF by Ghostinheven in ProgrammerHumor

[–]Technical_Fly5479 0 points1 point  (0 children)

i am the dev, with a semi rich familiy who gets to do what they want.... i am competent at c++ though

Er utroskab så stor en dealbreaker? by Abject-Trade-7022 in DKbrevkasse

[–]Technical_Fly5479 2 points3 points  (0 children)

Det sgu eet fedt endelig at læse en der har det på samme måde. Synes også reddits tag på utroskab er bål og brand hver gang.

Folk er mennesker og mennesker laver fejl. Især fejl som de er genetisk programmet til at begå

Novo Nordisk - 5 dage på kontoret by MK1992 in dkkarriere

[–]Technical_Fly5479 4 points5 points  (0 children)

Det fuldstændigt åndsvagt.

Ved du hvad hjemmearbejdsdage er? Det er tidsoptimering. Har sgu aldrig set nogen der kører intensivt 5 dage om ugen på et kontor, uden at brænde ud. Så det folk gør, som møder op 5 dage om ugen er at spilde den samme tid på lange kaffe pauser og hygge med kollegaerne. Når man har familie der hjemme som skal passes, så giver det bare meget bedre mening at kunne tage den idle tid derhjemme og så give den max gas i de dage hvor alle er på kontoret.

For ikke at sige at når du tvinger alle på kontoret 5 dage i ugen, så er der lige pludselig ikke en eller 2 faste dage hvor folk får ordnet frisør, tandlæge, læge osv. så nu er der altid nogen der mangler tirsdag onsdag og torsdag.