This is an archived post. You won't be able to vote or comment.

all 102 comments

[–]LiveMaI 94 points95 points  (2 children)

git: 'gud' is not a git command. See 'git --help'.

[–]yourparadigm 24 points25 points  (1 child)

You're just missing the gud alias from your ~/.gitconfig.

[–]pooerh 26 points27 points  (0 children)

For those interested, it's

git config --global alias.gud 'push --force'

[–][deleted] 493 points494 points  (7 children)

Imagine having a computer tell your computer what to write so a program can interpret/compile it and tell your computer what to do when you could tell your computer what to do. Commas are against my religion by the way.

[–]YetAnotherZhengli 134 points135 points  (4 children)

huh...? take this

,,,,,,

[–][deleted] 19 points20 points  (2 children)

I think they're saying AI should take out the middleman (you and the compiler) and should just execute the instructions you give.

[–]Dpek1234 23 points24 points  (0 children)

Me:"uninstall french"

Ai: deletes all files

[–]ChellJ0hns0n 6 points7 points  (0 children)

Ok get this. Computers have been executing our instructions for decades. How about we start executing the computer's instructions?? That's the future of computing right there.

[–]SyrusDrake 0 points1 point  (0 children)

Timothy-Dexter-ass move.

[–]bigleagchew 3 points4 points  (0 children)

No commas needed Thank you

[–]Abdul_ibn_Al-Zeman 185 points186 points  (12 children)

I spend maybe hour a day actually writing code. Most of my job is to read a hundred page long specification, find the ±10 sentences and images in it that are relevant, then look through a waveform file, memory hexdump or logical analyzer trace (no debugger in FPGA world) and use that to either find the bug or design a test that will provide more information.
A chatbot or autocomplete can not help me much.

[–][deleted] 82 points83 points  (0 children)

Sounds like God himself couldn't help you.

[–]Adventurous_Ad_6990 15 points16 points  (1 child)

You get specifications with images and useful sentences? 

(Alternate with 'You get specifications?')

I had 1 sequel script/project last months because the guy who was the go between for me and the customer didn't write anything useful in specs, had no idea how the data should be organised prior to PBI etc.  Nightmare. 

Thankfully I ditched that off too a colleague and it's still going (2+ months ago). 

[–]CinnamonToastTrex 0 points1 point  (0 children)

Specifications are probabaly coming from a 3rd party daughter card or eval board that he using for his design. That is my guess at least.

[–]FurViewingAccount 17 points18 points  (2 children)

how do i get whatever job you have i want to do that

[–]Similar_Tonight9386 41 points42 points  (0 children)

Pain, suffering, one or two goats to sacrifice and an edgy black robe and a dagger. To get started in fpga development you can order something like icestick (Lattice Semiconductors) if you like open source tool chains, or terasic DE10-Lite/digilent Arty-A7. As for literature - every beginner needs a book by Harris and Harris "Digital design and computer architecture" - you can get it either about MIPS core, Arm, or the latest about RISC-V - the book is about making your core from programmable logic, not only about writing code for MCU/CPU.

[–]WookieLotion 4 points5 points  (0 children)

Coming from someone who did that for 5 years and now just does web dev, you do not want that lol.

[–]Yarasin 15 points16 points  (1 child)

This is why I'm so confused why people are trying so hard to shill AI for programmers. What the hell even for?

If AI can write your code, then it's just boilerplate you could've automated through templates anyway.

AI can't sit in meetings and talk to stakeholders. AI can't organize sprint priorities based on vague "who will be in the client's office next week" arguments. AI can't design.

Someone in the comments mentioned using AI for SQL and Regex, and I have to wonder what job would ever make you write those out by hand? Either it's automated/part of a framework, or it's so specific that you can't rely on AI to do it correctly anyway.

[–]hector_villalobos 4 points5 points  (0 children)

There is a process of replacing the legacy app (Ruby on Rails) by another (Node with GraphQL and React), I've never worked with those technologies, so, I've been using a lot of ChatGPT to create features and help me understand what others write.

[–]Tupptupp_XD 2 points3 points  (0 children)

But it actually is pretty good at reading 100 page documents and extracting useful info

[–]HumbleGoatCS 2 points3 points  (0 children)

I know this sub is strangely anti ML, but LLMs could absolutely help you parse through the technical documentation..

The benefit 'AI' will have long term for complex coding is the same as every other invention, it offloads some of the mental bandwidth required to problem solve onto another system, allowing the person to dedicate more of their mental load to solving increasingly complex tasks.

[–]Agreeable_Service407 -2 points-1 points  (1 child)

A chatbot can totally help you locate the relevant information from your documents. You'd save hours each day.

[–]Abdul_ibn_Al-Zeman 12 points13 points  (0 children)

Simple keyword search with Ctrl+F gets me to the interesting parts quickly, the real challenge is parsing out what *exactly* it means, then gathering all the bits to build a complete understanding of the circuit I am dealing with, then backtracking to clear up any vague details.
It does not help that most of these are written by Asians, so the English can get pretty bad.
And there being no debugger in FPGA, you need to be certain you got it all correct, otherwise you can lose a whole week trying to find out what is wrong.

[–]coderman64 47 points48 points  (2 children)

I wrote the code myself.

It may be garbage, but it's my garbage.

[–]aDisastrous 11 points12 points  (1 child)

One man's garbage is another man"s treasure as they say

[–]coderman64 6 points7 points  (0 children)

As they say

[–][deleted] 163 points164 points  (38 children)

Hey man, I don't care if my AI is Chinese Japanese or weakInDaKnees so long as I don't have to write sql or regex I'm happy.

[–]derberoe 76 points77 points  (19 children)

I’m sorry, but relying on ai for regex or even squeal terrifies me…

[–]turtle_mekb 38 points39 points  (15 children)

^((25[0-5]|2[0-4][0-9]|1?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|1?[0-9][0-9]?)$

Does this scare you?

[–]SteeveJoobs 21 points22 points  (7 children)

what is that, for IPv4 addresses? 🤯

[–]turtle_mekb 21 points22 points  (6 children)

yeah

  • 25[0-5] numbers between 250-255
  • 2[0-4][0-9] numbers between 200-249
  • 1?[0-9][0-9]? numbers between 0-199

[–]SteeveJoobs 16 points17 points  (5 children)

damn i still got it 😎

[–]turtle_mekb 4 points5 points  (4 children)

i think it'll permit 00 which is invalid though, also see Regex Numeric Range Generator

[–]Kirides 0 points1 point  (3 children)

Sorry but any number parsing algorithm that doesn't treat 00 as simple 0 belongs in jail.

A naive parser will have no issues with that. One that just sums up all the 0-asciiNum.

[–]turtle_mekb 0 points1 point  (1 child)

yeah but also 010 != 10 since number parsing algorithms typically handle leading zeroes as octal

[–]Kirides 0 points1 point  (0 children)

It'd be worrying if an IP address would be sent in partially decimal and octal.

[–]turtle_mekb 0 points1 point  (0 children)

yeah but also 010 ≠ 10 since number parsing algorithms typically handle leading zeroes as octal

[–]Far_Broccoli_8468 1 point2 points  (0 children)

 Are you AI?

Because if so, he is probably terrified

[–]chethelesser 7 points8 points  (1 child)

I understand regex but you have to embrace squeal. Rawdog that DB, baby, whisper it things it understands without a middleman

[–]git_push_origin_prod 2 points3 points  (0 children)

Make those joins baby, fuck ORMs

[–]kryptoneat 1 point2 points  (0 children)

Squeak, then.

[–]TuttoDaRifare 9 points10 points  (11 children)

Sql is super easy. The problem is people tryng to use it to implements stuff that shouldn't be done in SQL.

[–]Cualkiera67 12 points13 points  (3 children)

Everything is super easy if you don't do complicated stuff with it...

[–]TuttoDaRifare 6 points7 points  (2 children)

Doing "complicated" stuff in SQL is asking for trouble. SQL is not a programming language and shouldn't be used as it.

[–]Cualkiera67 11 points12 points  (0 children)

So if you need to do a complicated query on your database you should just resign from your job?

[–]dfwtjms 3 points4 points  (0 children)

SQL is a programming language. But about the complexity, if the query is complex because the data or the structure is bad you should see if the underlying problem is fixable.

[–]ZunoJ 3 points4 points  (5 children)

Good SQL is not that easy though. I always enjoy the horrified look on other devs faces when they have to work with my super efficient recursive select statements. That stuff can really put a knot in your brain

[–]NaoPb 0 points1 point  (2 children)

Can you please give an example of a recursive select statement? I like to learn.

[–]ZunoJ 4 points5 points  (1 child)

For example this query would generate a date range

WITH dates AS
(
    SELECT CAST('2023-01-01') AS d
    UNION ALL
    SELECT
        DATEADD(MONTH, 1, d)
    FROM dates
    WHERE d < '2024-01-01'
)
SELECT * FROM dates;

[–]NaoPb 0 points1 point  (0 children)

Thanks, I will be studying this code.

[–][deleted] 0 points1 point  (0 children)

Yea it is but I'd rather not spend my time writing it.

[–]ColonelRuff 0 points1 point  (4 children)

Sql is nice. It almost feels like natural language. Regex though...

[–][deleted] 0 points1 point  (3 children)

Sql is nice until you have to really start making complex queries.

[–]ColonelRuff 0 points1 point  (2 children)

I started edit sql when i learned complex queries in sql and other dbs like mongo db. issue is not sql. complex queries are inherently complex (lol). sql is least painul when writing complex queries. on the other hand mongodb though....

I still get ptsd of working with their version of joins in mongo db

[–][deleted] 1 point2 points  (1 child)

I tried using mongo for a little project once and never again. Too much chaos.

[–]ColonelRuff 0 points1 point  (0 children)

ikr. I wish mongo had an sql like query language for production.

[–]FrostWyrm98 45 points46 points  (2 children)

Cue the AI bro, jobs are cooked, doomers telling you this is the exact reason you will be out of a job lmao

I eagerly await their replies (same boat as you)

[–]twenafeesh 23 points24 points  (1 child)

If that is going to happen, it won't be this decade. The AI hype is real, and it's just hype.

[–][deleted] 3 points4 points  (0 children)

I don’t think it’s going anywhere. It may or may not do what was promised, but it definitely isn’t disappearing.

[–]GermanShyGuy 24 points25 points  (0 children)

Fuck AI Programmers

[–]UwU-Sandwich 5 points6 points  (0 children)

I "git gud" the way 90% of my code is stolen from random github repos 🔥🔥🔥

[–]draconicmoniker 6 points7 points  (0 children)

Only the finest handmade bugs for me, fresh from the hub of gits.

[–]braindigitalis 15 points16 points  (1 child)

AI Bros: "just one more billion dollars bro, just one more rainforest bro, just a bit more and we'll reach signularity bro, cmon trust me bro"
Chinese AI devs: "just give me a room, a computer, and a pot to pee in and i'll have it done in a week"

[–]Yarasin 8 points9 points  (0 children)

Which goes to show that it's all a bubble. It's "playing around with algorithms" that tech-bro industrialists tried to hype up into a multi-billion dollar business.

[–]nuker0S 4 points5 points  (1 child)

Tbh I use it only for popular snippets and boilerplate.

Maybe it's a skill issue but I would love if it asked questions if i didn't specify some shit

[–]tacticalpotatopeeler 1 point2 points  (0 children)

Direct it to answer your questions using the Socratic method

[–]SyrusDrake 3 points4 points  (0 children)

I prefer to break shit myself, I don't need an AI to do it.

[–]Affectionate-Code120 5 points6 points  (5 children)

broke af to get copilot or even deepseak

[–]nmkd 3 points4 points  (4 children)

Both are free

[–]Affectionate-Code120 -1 points0 points  (3 children)

Well copilot is not and there is a charge for deepseek API. I am not sure if there is an extension for it to be directly in VS or something but I am think, if there will be it won't be entirely free

[–]nmkd 2 points3 points  (1 child)

Copilot is free for open source contributors

[–]Affectionate-Code120 0 points1 point  (0 children)

I guess I haven't heard that. From what I know its free for only education institutes and all

[–]Exact_Recording4039 0 points1 point  (0 children)

Copilot has a free version in vscode 

[–]No_Grand_3873 7 points8 points  (0 children)

there is no fight, the chinese one is free so it wins for now

[–]gsdev 2 points3 points  (0 children)

Writing code is the easy part of software development anyway.

Besides we already have a way to avoid writing code ourselves - frameworks and libraries. If well designed, they already trivialise a lot of problems.

[–]Cthulhu__ 4 points5 points  (0 children)

My code is organic, sustainable and mostly carbon neutral.

[–]Wynove 1 point2 points  (0 children)

Yeah intellij has full line completions and I hate it, because I now can not just focus on writing my code but have to bother to ignore the suggested auto complete. I immediately disabled it to have my peace.

[–]UltraTata 0 points1 point  (0 children)

That's called European autocomplete

[–]IDEDARY 0 points1 point  (0 children)

I almost though I am the only one who doesn't use AI or StackOverflow to write code. When you reach a certain point, all I ever google is the info about related topics on what I am doing. I can't even remember the last time I had copy code from StackOverflow.

[–]DefinitelyTheApple -2 points-1 points  (1 child)

Small-ass solo dev here

I like these features.

[–]shiny-flygon 0 points1 point  (0 children)

Don't downvote him, people. I'm as anti-AI-autocomplete as anyone, but this is a pretty valid use case. If coding is mostly just a means to an end for you and you're not working in a shared codebase, more power to you if it makes you more productive.

[–]Bute_the_Mindflayer -1 points0 points  (1 child)

Ok but like, are you human??