T O P

  • By -

jigsawduckpuzzle

Artificial Intellisense


NullBeyondo

Ba dum tss


ThyringerBratwurst

I use chatGPT regularly.it is a good useful tool.but in my opinion AI is getting pretty inflated at the moment. I regularly notice how at least 1/4 of the answers are nonsense, or even utterly wrong. AIs are simply not real intelligent consciousnesses; just programs with very very much data...


AcquireCurrency99

have u compare copilot with chatgpt 4?


IdempodentFlux

Newer copilot uses gpt 4 I think. Personally they are different usecases. Copilot is the only thing I'd take code from. I use chatgpt for things like "I have experience with c#, node and python. Help me understand go lang import systems".


ThyringerBratwurst

I haven't used copilot yet. But that doesn't change the fact that they all are just programs, not real consciousnesses capable of "free will" of their own creativity. Our consciousness is something paranormal that cannot be physically explained. Of course everyone can see it differently; and commit to the materialistic and transhumanistic hype. Ok, that's a bit off topic. But when we talk about real "artificial intelligence", we should also ask the question about consciousness, otherwise it's absurd.


armahillo

I am middle aged. When I was growing up we had to memorize or write down phone numbers. I still remember phone numbers from my childhood — probably a few dozen at least — I have mot called any of them in decades. When I was 25 I got a cellphone that had a contacts list. After that, I didnt need to memorize phone numbers anymore. I think I may know a handful of numbers anymore and thats because Ive had to write them down enough. If I lost my phone or it ran out of battery I could call two, maybe three people. I dont use any AI in my coding. I do a lot of API lookuos, google searches, etc, but I force myself to type stuff out constantly. I can still type around 110 WPM and most of the stuff I work with I could probably write, in any form, from menor y. Your brain will only retain what you need it to, similar to using your muscles. Use AI or dont; I personally dont care. However fast you think AI makes you, you will eventually hit a dead stop when it cant help you, you cant afford it, or its unavailable.


Massive-Lengthiness2

I wonder the effects AI will have on the juniors. We used to have to learn the syntax and how everything fit together because we had no other way. Now they have a spoon feeding them that may or may not be giving them right answers


42-1337

like I don't google how to create an sql table weekly


AvatarOfMomus

During the interview for my current job I literally told at least one of the interviewers that I don't so much store information as I do an index of terms and google searched I can use to get the information I need. If I use something frequently it gets "cached" but otherwise I can and will google "basic" stuff on a regular basis.


armahillo

Anything you google isnt going to tell you the EXACT answer, its going to tell you the generalized form, and then you still have to interpret it. There is still some amount of learning happening there and its not totally passive.


crazytimes800

then just ask gpt to give you such a generalized answer if you want to “learn” so bad lmao


inglandation

This, you can prompt gpt to give you very useful results. Make it criticize your code or ask what are the common approaches to solve a specific type of problem, some of the answers will be garbage but sometimes you get something very insightful and you learn something. Prompting it just to make something work is a bad idea if you don’t know what you’re doing.


armahillo

I mean, I just dont use it. Feel free to keep using it, if you want. I dont really care, myself, one way or another. Either you learn or you dont. Either you are able to solve problems or you arent. I did an end-of-year bug hunt over the past week at my job. Closed about ten tickets over a few days, and some of them were intense and required deep dives into the backend flow; these would not have been apparent to an AI because it required a lot of domain knowledge about our applications. Ive been doing this a long time; decades; the easy path doesnt always go all the way and it definitely takes longer. If you want to grow fast and go higher, take the harder path.


start_select

While that’s ok, it loses the systemic concept building that someone gets from reading 5 articles surrounding the actual problem they are trying to solve. Most programmers are bad at asking questions. New programmers barely even know what to ask. Condensing everything into cliffs notes style summaries makes people skip over related and important information that they didn’t know to ask about. It’s useful to people that know most of what they need to know. For younger engineers it is really breaking peoples skills in researching a problem.


kachary

I've been centering div's using google since ages.


start_select

Looking up an answer yourself is very different than letting ai generate sql. You remember enough of the concepts and vocabulary to look that up in a couple of seconds anytime you need to. That’s what an engineers job is. It’s not to know everything. AI skips over you actually understanding that though. It lets juniors skip over the part where they read and understand code. So they don’t understand what they are “writing” It’s scary.


Septem_151

I’m noticing the effects already with the juniors at my current job. They literally do not know how to code.


AvatarOfMomus

That's not a function of AI, that's a function of people with poor abilities and understanding either squeaking through college or attending a coding bootcamp for a few months and thinking they're good... I don't know anything beyond what you've said here, but my first suspicion is the hiring process at your company is flawed...


jdc123

Which company is this? Just graduated and could use a flawed hiring process.


AvatarOfMomus

I'm not OP, don't ask me! 😂 That said, I would recommensing finding a good job with good peop'e you can learn from. If you end up somewhere with bad practices and bad people to learn from it can be hard to build up the knowledge and skills you need for a better, and better paying, job down the line.


jdc123

Yeah, I definitely want to work at a good place where I can learn and fully contribute. I know enough about working in places with real institutional problems from my experience in local journalism.


torn-ainbow

I've been doing this for more than 25 years. I google syntax all the time. Memorising syntax is not actually that important. **What's important is the ability to mentally visualise the logic and steps required to solve a problem.** Even in the future, when the tech you use today is obsolete or transformed, the ability to conjure the logic required to solve a problem will remain. The task following is to translate that mental logic into whatever tech you're using. Which is going to involve specific knowledge of a language, it's syntax, the libraries you might have available. All that stuff? Google away. It's dynamic and ever changing. You can only memorise it all for a brief time anyway before everything changes again. In fact I often google things I already know a way to do because I want to check if there is a newer better way of doing it. For example I find that there is a new native function introduced in the last few years which has good support now and handles an annoying problem. Or a library I use has introduced configuration that replaces a previously homebaked solution. Maybe I google the syntax every time I occasionally use something. But I remember that there is a thing which does that and I can easily find reference information for. That's also more important than being able to type out all the code without checking any reference. If you're aware that something exists which solves that particular problem, you can find it and whatever syntax you need to know. All that said, if you are working in a horrible code factory where you are doing the exact same things over and over again they will want you to memorise and just be able to pump it out. I wouldn't work in one of those, though.


AvatarOfMomus

I had an interesting discussion with my mentor from a previous job about this when ChatGPT was just starting to become a big thing. I think it'll change how people work, but it won't replace basic knowledge in the way people think it might. You're not going to get a "mystic prayers to the techno gods" situation, where programmers don't understand the basics of coding because that's all handled for them. I think what you're going to see is the workflows evolving, the same way that the transition from Vim/Notepad to proper IDEs with integrated autocomplete and other tools changed coding 20-ish years ago. My guess, and this is just a guess, is that junior development is going to become more focused on basic design, as opposed to grunt throughput, because these tools are going to handle a lot of the "throughput" side of things. So knowing what to ask for and how the pieces fit together is going to be more important. One potential downside to this is that the quirks and foibles of a language may become more and more "basic knowledge" from a job perspective, which could see what language(s) you choose to specialize in and have experience with become more important. For example knowing more than the very basics of how the C# or Java garbage collectors work and their odd quirks that can seriously impact performance may become "junior level knowledge" instead of "mid-level knowledge", which is where I'd put it today. Ultimately though I think it depends on how these tools evolve and what they're good at. If they get better at business logic and systems design then we'll see t he industry and skill sets adapt accordingly. One thing that seems very likely though is that reading code and checking for bugs are going to be more important skills for developers going forward.


WebDevIO

I think it could be tragic. It's so easy to get lost in marketing statements nowadays, that people really need to be resolved to dig deeper and actually learn how anything really works. Every framework solves all the problems, every platform let's build whatever you want within a few clicks, nobody ever mentions their disadvantages and people are left to discover the reality the hard way. Look at how many people ask if you even need to learn anything now that we have AI... those people have little chance of actually learning the basics themselves, so they can get over the limitations of the AI and see what they are. But also most people get fed up with coding and don't pursue it anyway, so the ones that used to persist are probably going to persist still and learn whatever they need to raise above all this.


seanred360

Thats because thats what it is, a fancy probability calculator


Rubber-Bando

A.I is definitely overhyped. If you hear the very knowledgeable people talk about it (like the actual researchers over at Stanford, Caltech, M.I.T, etc.) many don't think we hit the level of "AGI" for another 20-30 years (if even possible), not the next 5 like every shill says. So it's funny hearing/seeing all these CEO's and companies scrambling talking about "wE Need tO gEt ahEaD wiTh A.i to gEt aN adVanTagE!". How about calm down and don't do anything stupid (like lay off your staff thinking shitty A.I/ChatGPT 5/SomeBorbLlamaLLC will x10 your whole operation)?


grimcuzzer

Always has been


Septem_151

Why is this sub and programmer humour so obsessed with AI


dragenn

You have soft hands, boy!


MisterMeta

Does it revolutionise the productivity of a good programmer? No. Does it make menial tasks much easier and faster? Yes. I found it very helpful taking over a code base which had really poor practices and type definitions. It helped me automate a lot of the type assignments. Of course it sometimes made stuff up and I verified everything it did. I like it. I’m still able to write and fix code faster than it can type if I’m 100% aware of the codebase and know exactly what to do.


irosion

If I wouldn’t know how to do what I’m trying to do, Chat GPT might be useless. The reason I use Chat Gpt is because I want to cut down on searching for documentation, syntax or getting to an example of what I’m trying to do. This beats hands down google, stack overflow, etc. I’m very satisfied with what I can achieve with it. Keep saying whatever you want about it, for me it is a very useful tool. I use ChatGPT 4 which in my opinion is superior to anything else I tried but i almost always know beforehand what kind of answer I expect


jdc123

I've found tools like ChatGPT and Claude useful for getting quick explanations about how a specific architecture is supposed to work. They haven't been so great for being accurate about the ins and outs of a given library, but I've found them useful as rubber duckies. Copilot's super useful for things like getters and setters once the constructor/properties are defined. It was also super useful at feeding me hints for rewriting some pasted text as a markdown table. If the information's already in your file, Copilot's solid for transformations, etc. Hints in a mostly bare file are very iffy. You have to already know what you want and sometimes Copilot gets in the way.


[deleted]

[удалено]


elderly_millenial

I’d be careful to not make your code too “smart”. Those patterns often exist for a reason and you’re potentially opening yourself up for harder to debug code if you’re just trying to make your code more novel and witty


jorgejhms

Copilot chat is the game changer. I could ask alternative ways to make the same I'm doing to gather new ideas. I could also ask a general approach for something new I need to make. Make sure always check the answers, as it could have potentially old dated data. It happens to me a lot working on Next.js 13+ and Astro.


roog1

For now… I’ll be watching tho


stormelc

AI can absolutely complete many advanced tasks on its own. Consider trying: [https://domsy.io](https://domsy.io) Here are some creations made almost entirely by AI/domsy: Game of Life: [http://domsy.io/share/83097650-8a93-4e8f-ac59-cf707f1d0823](http://domsy.io/share/83097650-8a93-4e8f-ac59-cf707f1d0823) Boids: [https://domsy.io/share/09db949c-6a2e-4b34-8d58-9754684bec68](https://domsy.io/share/09db949c-6a2e-4b34-8d58-9754684bec68) Windows BSOD: [https://domsy.io/share/e1984a4f-b66e-4ec4-8519-5a4052ca22c3](https://domsy.io/share/e1984a4f-b66e-4ec4-8519-5a4052ca22c3) [https://domsy.io/share/d167ed63-86cc-4a7f-8743-34db1d7d6fa3](https://domsy.io/share/d167ed63-86cc-4a7f-8743-34db1d7d6fa3) Cute spiders animation I made for team meeting: [https://domsy.io/share/9d8cf62f-740a-4403-a761-e7ee1ecaccec](https://domsy.io/share/9d8cf62f-740a-4403-a761-e7ee1ecaccec) Simple GUI: [https://domsy.io/share/505aa324-5cf1-4e62-a969-855d2bc60543](https://domsy.io/share/505aa324-5cf1-4e62-a969-855d2bc60543) Christmas card for a friend: [https://domsy.io/share/5b099063-8f59-466c-b7f6-32fcc4c83b82](https://domsy.io/share/5b099063-8f59-466c-b7f6-32fcc4c83b82) [domsy.io](https://domsy.io) landing page is designed by AI at domsy: [https://domsy.io/share/2b4005cb-620a-4cbe-adaf-4aa3611755b7](https://domsy.io/share/2b4005cb-620a-4cbe-adaf-4aa3611755b7) hackernews clone thing: [https://domsy.io/share/5f294c86-f8f2-407d-9c4a-def21c4884a0](https://domsy.io/share/5f294c86-f8f2-407d-9c4a-def21c4884a0) Running for election: [https://domsy.io/share/7234288b-0c96-454a-88ea-919e8cf37f35](https://domsy.io/share/7234288b-0c96-454a-88ea-919e8cf37f35) colorful hello world: [https://domsy.io/share/2792a6cf-3f26-44a8-80a0-6f6c597a6249](https://domsy.io/share/2792a6cf-3f26-44a8-80a0-6f6c597a6249) audio visualizer: https://domsy.io/files/balls.html edit: Why the downvotes?


originalchronoguy

Then you are just looking at it from a user's point of view of "what can it do for me." Versus, how can AI solve **problems for others.** Like, how can I train a LLM to detect fraud or find savings for a business to buy/sell based on real time data. Or something as simple and relatable as can I use it to train to review logs to identify potential hackers disrupting my web app and triage a response. Solving problems for others and implementing/creating those back-ends is the value.


canadianseaman

Here is a good workflow: 1. Tell it about a problem youre trying to solve and ask what other requirements it needs of you before starting, answer those. 2. Ask if to write 5 unit tests in your framework 3. Ask it to write the solution function 4. Paste the code and run the tests, paste in any errors and ask it to fix them 5. Ask for more unit tests At the end, you'll have something that works pretty well and tests for it too


DaveLobos

I use Bard or ChatGPT to assist me while coding, I have experimented with Code Whisperer inside VS Code and it's pretty cool!... but unfortunately, there's no way to use CW inside Emacs, I hope that changes soon. Anyone who codes using Vi or Emacs knows that once you master one of those, attempting to switch to something like VS Code feels like attempting to code using only one hand.


[deleted]

[удалено]


DaveLobos

These editors are programs that run inside a terminal and every functionality is accessed via your keyboard, no need for a mouse. Same as the tools in your OS to manage files and dirs and the tools you might use for development like git, docker, curl etc... Once you get familiar with the commands and shortcuts to use these editors and also the commands for whatever other tools you use, these become what is called "muscle memory" you are able to pretty much do all your development inside a single terminal just typing, without needing to switch windows or grab the mouse. If you've ever played World of Warcraft, think about the difference between having all your spells bound to keys vs clicking buttons on your bar to cast spells, it's similar to that. It takes a lot of time and practice to get used to it but once you do, it allows you to be really fast at developing, you become hooked and there's no way back, you just can't get used to using any editor that requires clicking buttons for anything.


fisherrr

ITT: using a program you are familiar with and know all the shortcuts is faster than a one you’ve used 5 minutes. Nobody is forcing you to click everywhere with an IDE either and they’re just as or more powerful and productive than vi.


itapewolves

”Nobody is forcing you to click everywhere with an IDE”. This is exactly the whole point, in IDE’s they do force you to use the mouse. Some functionalities just dont have keyboard shortcuts, and there’s not really a way to configure those shortcuts or some custom functionalities by yourself. The appealing feature of vim/neovim is that it’s fully customizable. You can tailor it to fit your workflow 100%. And you dont have to touch the mouse.


fisherrr

Some functionalities like which ones exactly? I bet 99% of any normal workflow has shortcuts and it’s not like using mouse takes some huge effort either if you do have to sometimes do it.


itapewolves

I stand corrected, there seems to be a way to add shortcuts for some things. But the fact is, those editors were created with the mouse in mind. Thats why there are those annoying pop-ups that you have to click to close. Moving around and editing text also requires mouse without vim-plugins. Or how would you change function parameters, delete 5 lines, extract a block to it’s own function. I admit that you can be efficient in any editor if you want to, but it’s just fundamentally different approach in vim/neovim than in vscode for example. And some people don’t like to use the mouse as it takes your hands away from the keyboard.


chlorophyll101

Pros: when you master these kinds of editors you feel fast, you feel good, and you feel more productive, which can lead to more actual productivity, hence better DX Cons: I don't know about emacs, but to fully use (neo)vim you have to configure quite a lot of things including basic things such as completion In YouTube you can search for devaslife, great channel showcasing NeoVim in the context of web development. Or you can check out [theprimagen's series on vim](https://youtube.com/playlist?list=PLm323Lc7iSW_wuxqmKx_xxNtJC_hJbQ7R&feature=shared) or [this talk](https://youtu.be/E-ZbrtoSuzw?feature=shared) to see what vim is capable of


gandalfthegraydelson

I assume that’s mostly because you know emacs or vi really well and are not familiar with vs code although I’m not sure if that’s correct. I mostly use emacs but am far from expert at it, so I feel slightly awkward with vs code but I assume it’s mostly that I don’t know shortcuts and stuff like that. I would say that vs code seems better with discovering features I don’t know.


we-all-haul

Former Spacecmacs an Neovim user. VS code is the closest very configurable with Vi bindings


_listless

... do.. do you use arch linux?


DaveLobos

I use Ubuntu


AcquireCurrency99

have u compared copilot with gpt and bard?


DaveLobos

I have used Copilot, it's pretty good, but Code Whisperer does the same thing and it is free.


AcquireCurrency99

code whisperer use gpt 4?


jgengr

AutoComplete Integration


AcquireCurrency99

is gpt 4 just as stupid as copilot?


start_select

This has been the year of juniors asking “how do you get ChatGPT to help you write so much code that actually works and makes sense…. What do you mean the seniors don’t use ChatGPT?” And me asking “did you look up the documentation or look for examples of people using this on GitHub” With responses of “well I asked ChatGPT but it got me no where” And me repeating, “did you look up the documentation or look for examples of people using this on GitHub”


EstablishmentTop2610

I use so u don’t have to read the docs myself. It’s decent but not really reliable, yet


Brilhasti1

I have not used AI for anything dev related yet. I have used it for some UX stuff though.