• 1 Post
  • 21 Comments
Joined 3 years ago
cake
Cake day: June 22nd, 2023

help-circle

  • My experience with LLMs for coding has been similar. You have to be extremely vigilant, because they can produce very good code but will also miss important things that will cause disasters. It makes you very paranoid with their output, which is probably how you should approach it and is honestly how you should approach any code that you’re writing or getting from somewhere else.

    I can’t bring my self to actually use them for generating code like he does in this blog post though. That seems infuriating. I find them useful as a way to query knowledge about stuff that I’m interested in which I then cross reference with documentation and other sources to make sure I understand it.

    Sometimes you’re dealing with a particular issue or problem that is very hard to Google for or look up. LLMs are a good starting point to get an understanding of it; even if that understanding could be flawed. I found that it usually points me in the right direction. Though the environmental and ethical implications of using these tools also bother me. Is making my discovery phase for a topic a little bit easier worth the cost of these things?



  • I feel like I’ve found a fairly sweet spot with LLMs and coding. I use them almost entirely like a rubber ducky. Any small bits of code that they do generate I then diligently try to understand, see inefficiencies or issues and come up with a better solution.

    This is a pretty slow process so they don’t speed me up at all. They just make the initial discovery may be a little bit easier? As Google has gotten worse and especially if I’m working in a code base with limited documentation or bad documentation, I found them to be useful to get my bearings. I always go into it with a paranoia that anything they generate could be a disaster so I have to do extra due diligence.

    I’ve found that they’re pretty good at generating a couple lines of code, though I have to usually refine it a lot. Anything more than that seems to be more trouble than it’s worth.

    However, I have found them to be a great tool for learning even if I’m not sure if what they’re putting out is correct. It will usually lead me to start thinking about things and looking deeper into documentation and research papers, etc.







  • The application is very resource heavy and is also designed for specific hardware, it can’t be run on the windows laptops we are provided. There are security concerns as well, which limit what I am allowed to do.

    Currently I’m using vnc viewer to open a shell where I can run applications like qtcreator and get a gui interface. I’m sure I could run a local ide and ssh into the vm with it, but I know that can be tricky getting proper code coverage for jump to references to work. I guess I’ll try it and see what happens!






  • Harris had more billionaire donors than Trump and she out-raised him almost by $700 million. Of course there was plenty of dark money floating around and Musk dropped a ton of money into Pennsylvania, but don’t act as if Biden and Harris were working class darlings. Calling out price gouging is all good and well, and realistically, there’s only so much the president can do legally to combat inflation, but he did have the bully pulpit and a little bit of lip service to price gouging was not enough obviously. He could’ve been out there daily essentially doxing these companies and their ceos putting the fear of God in them.

    Populism is a dirty word to the establishment, but both Trump and Bernie are populists. In fact, the first part of their message is essentially the same: America is going to shit, the Economy is terrible, and you’re getting fucked. The difference, of course, is that Trump points the finger at immigrants and others as the reason why this happening, while Bernie points the finger at the Oligarchs. The true power of populism is the threat of using the majority against the minority. It’s why it can lead to violence and mob rule.

    People want someone to pay for the pain they are feeling, Trump is doing that, although of course it’s completely misguided and fucked up. The Democrats are not willing to do that. At some point, they’re going to need a Teddy Roosevelt like figure who comes along and essentially says to them, “hey listen I know it’s crazy, but if we don’t do something about the wealth inequality and the ruling class, we’re all gonna get our heads chopped off.”



  • I thought Tail recursion just gets turned into an iterative loop by the compiler? Hence why you won’t get a stack overflow. And since in procedural languages you can just use a loop in place of a tail recursive function you would never run into this problem, right? At least this is how it was taught to me when I was learning about it in lisp.





  • Ooof my guy, the comment you originally replied to - to brag about how easy sql is - literally said he had an IT director 20 years ago trying to get everyone in the department to write SQL queries, where did he mention frontend dash boards? How can an IT director be that stupid… what is this thread about and why do you think he shared that anecdote? A thread about idiots asking for stupid shit… I wonder what could possibly be reason, we may never know but I’m sure you’ll explain it to us.