Posts

The dangers of relying on LLMs for coding

It's like I say about Picasso. Most people, if asked to be honest, think his later work is horrible. BUT if you look at his earlier work, you can see he had talent to do realism. This means as a coder, first learn to program and develop something independently so you can go through the work and know what it takes , and ACTUALLY understand what the GPT is providing you. My observation is that ChatGPT for example provides good code but often does things like delete sections of code or use variables or methods that just do not exist. If you don't actually know what you are doing and don't actually understand coding, you will basically make something that is inherently buggy and full of security holes. The damage that AI is doing to coding skills. #coding #developers #ai #artificialintelligence https://futurism.com/young-coders-ai-cant-program

ChatGPT generates awful powerpoint clipart

Image
Update: they have since improved the graphics engine so this post may no longer be true. I've found that chatGPT generates awful powerpoint clipart. Look at this: I told it to do a grid of economic sectors. note the bad spelling and repetitions of computer science and software engineering. So instead I told it to use FontAwesome and make an HTML file. Here's the result. Much better.

local deepseek instance with ollama

You can get two versions at the moment, a 1gb and a 4gb. The 4gb is smarter but slower, and vice versa. To install on linux: ollama run deepseek-r1:1.5b  #1gb model ollama run hf.co/lmstudio-community/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q3_K_L #4gb model I haven't given them proper tests yet but here's the 4gb model responding: note how it puts its computatoin inside <think> </think> before giving the answer. I suppose this is so you can see how it got to the answer. Presumably in deployment cases the end-user doesnt need to see that.   >>> hello, this is just a test. what is one plus three? <think> I start by understanding the question: "What is one plus three?" This  involves basic addition. Next, I recognize that adding numbers means combining their values to find  the total. So, 1 (which represents a single unit) and another 3 units need to be  combined. When I add these together, 1 + 3 equals 4. Therefore, the final answer is four. ...

Deepseek

 TLDR: faster than chatgpt but slightly more buggy and the server is apparently overloaded. It didn't quite do as well on the examination/test question marking as ChatGPT, it inferred marks where there were not meant to be any and counted past the limit of 6, giving full marks when I clearly made minor errors that should have cost me 1-2 marks. Transcript follows. Hi. The purpose of this exercise is to test your capabilities. Please write an algorithm in php which counts from 1 to 10 and prints the result to stdout. Certainly! Below is a simple PHP algorithm that counts from 1 to 10 and prints the result to   stdout : php Copy <?php for ( $i = 1 ; $i <= 10 ; $i ++ ) { echo $i . PHP_EOL ; } ?> Explanation: The   for   loop initializes a variable   $i   to 1. The loop continues as long as   $i   is less than or equal to 10. In each iteration, the value of   $i   is printed using   echo . PHP_EOL   is a...