by arrobbiato · 2y ago · 0 comments
[1] https://www.anthropic.com/news/the-long-term-benefit-trust
I wonder how Paul Graham thinks of Sam Altman basically copying Cursor and potentially every upstream AI company out of YC, maybe as soon as they launch on demo day.
Is it a retribution arc?
If OpenAI can copy Cursor, so can everyone else.
Good prompts may actually have a moat - a complex agent system is basically just a lot of prompts and infra to co-ordinate the outputs/inputs.
OpenAI are in the money making business. They don’t care about no AGI. They’re experts who know where the limits are at the moment.
We don’t have the tools for AGI any more than we do for time travel.
Your brain is an existential proof that general intelligence isn't impossible.
Figuring out the special sauce that makes a human brain able to learn so much so easily? Sure that's hard, but evolution did it blindly, and we can simulate evolution, so we've definitely got the tools to make AGI, we just don't have the tools to engineer it.
I'd added seperate design/implementation agents before that was added to Aider https://aider.chat/2024/09/26/architect.html
The other different is I have a file selection agent and a code review agent, which often has some good fixes/improvements.
I use both, I'll use Aider if its something I feel it will right the first time or I want control over the files in the context, otherwise I'll use the agent in Sophia.
I tried using aider but either my local LLM is too slow or my software projects requires context sizes so large they make aider move at a crawl.
Met a guy who got brought in by Amazon after they hit 8 figures in sales, wined and dined, then months later Amazon launched competing product and locked them out of their accounts, cost them 9 figures.
You mean downstream.
Claude's been far and away superior on coding tasks. What have you been testing for?
Backend is Supabase, auth done with Firebase, and includes Stripe integration and he's live with actual paying customers in maybe 2 weeks time.
He showed me his workflow and the prompts he uses and it's pretty amazing how much he's been able to do with very little technical background. He'll get an initial prompt to generate components, run the code, ask for adjustments, give Claude any errors and ask Claude to fix it, etc.
My next step is to ask it to rewrite the iOS app into an Android app when I have a block of time to sit down and work through it.
Projector make it even better. But I could imagine it depends on the specific needs one has.
ChatGPT will just start to pretend like some perfect library that doesn't exist exists.
where does Claude have a canvas like interface?
I'm only seeing https://claude.ai/chat and I would love to know.
[0] https://support.anthropic.com/en/articles/9487310-what-are-a...
Canvas appears to be different in that it allows inline editing and also prompting on a selection. So not the same as Claude.
After a year of heavy LLM use I’ve found the utility limits, my usage has peaked, and I’m developing very restrictive use cases.
Beyond functioning as an interactive O’Reilly manual, LLM only save time if you never read the code they produce. Which is a short term win, but things will blow up eventually, as with all code, and now you’ve got a bigger problem than you started with.
To me LLMs are this decade's stackoverflow copy 'n paste. Just with a more fancy search and replace
> They're not wasting hours trying to "figure out" a solution
I am pretty sure that we don't have AGI that would figure our solutions to our problems (coding or not) on its own yet. And from experience, you would need to solve the problems at least conceptually before using LLM and try to get something useful out of that.
For example, I need to implement HTTP/2 in my JS framework and was curious about what the code would look like. Here's the result from the following prompt: https://www.imghippo.com/i/xR2Zk1727987897.png (full code it gave me here: https://gist.github.com/rglover/069bdaea91c629e95957610b484e...).
Prompt:
> Help me implement an HTTP/2 enabled server using Express.js.
---
When I initially researched how to do this just following the Node.js docs, Google results, and SO, it was fairly confusing (easily wasted an hour or two). This immediately gave me what I needed to understand the approach in a few seconds.
Hint: I am not sure whether this is a good solution or not. As I said I am not a nodeJS developer.
[1] https://stackoverflow.com/questions/59534717/how-to-integrat...
Your competition is using AI to build their product right now.
They're not writing code by hand.
They're not Googling code answers on StackOverflow.
They're not wasting hours trying to "figure out" a solution.
Extraordinary claims require some investigation!Let's see how far I get without "Googling answers".
Spoiler: If the competition uses such AI that, good for me!
(Note I don't want to pick on Parrot here; from my first 5 minutes with the tool, it's /fun/, has a nice UI, a good idea for iteration, and somebody has to build such tools to make them work eventually even if they don't work great today yet. I wish it lots of success. But I want to also point out examples of the practical limitations of all such tools, and state that I highly doubt that they today can _in any way_ replace a human programmer who knows what they are doing, and has the awesome skill to use Google, StackOverflow, and "figure out" things.)
Prompt:
I need a Haskell function that hashes a given file (FilePath)
with the blake3 hash function.
It is important that it works on large files (e.g. 100 GB)
without freezing the Haskell runtime.
Output: import qualified Crypto.Hash.BLAKE3 as BLAKE3
import qualified Data.ByteString as BS
import System.IO (withFile, IOMode(ReadMode))
hashFileBLAKE3 :: FilePath -> IO BS.ByteString
hashFileBLAKE3 filePath = do
let chunkSize = 8192 -- 8KB chunks
withFile filePath ReadMode $ \handle -> do
let loop ctx = do
chunk <- BS.hGet handle chunkSize
if BS.null chunk
then return $ BLAKE3.finalize ctx
else loop $! BLAKE3.update ctx chunk
loop BLAKE3.init
Explanation: This Haskell function, `hashFileBLAKE3`, calculates the BLAKE3 hash of a
given file. It's designed to work efficiently with large files without
freezing the Haskell runtime. Here's a step-by-step explanation of how it
works:
1. We import necessary modules: `Crypto.Hash.BLAKE3` for the BLAKE3 hash
function, `Data.ByteString` for efficient byte handling, and `System.IO`
for file operations.
2. The function takes a `FilePath` as input and returns an `IO ByteString`
containing the hash.
3. We define a `chunkSize` of 8192 bytes (8KB) for reading the file in
manageable chunks.
4. The `withFile` function is used to safely open and close the file,
ensuring proper resource management.
5. Inside the file handling function, we define a recursive `loop` that
reads the file in chunks:
- It reads a chunk of the file using `BS.hGet`.
- If the chunk is empty (end of file), it finalizes and returns the
hash.
- Otherwise, it updates the hash context with the new chunk and
continues the loop.
6. The loop starts with `BLAKE3.init` to create the initial hash context.
7. By using lazy evaluation (`$!`), we ensure that the hash context is
strictly evaluated in each iteration, preventing memory buildup.
This implementation is memory-efficient and can handle very large files
without issues, as it processes the file in small chunks rather than
loading it entirely into memory.
My remark: * This solution is already pretty good.
* The explanation is also useful for people new to Haskell
or this type of task.
* Some explanations are subtly wrong, e.g. `$!` is the
_opposite_ of lazy evaluation, and the sentence
is contradicting itself.
* It mainly got the imported module name wrong
(should be `import BLAKE3` from
https://hackage.haskell.org/package/blake3).
Let's see if it fixes it when I tell it what I'd observe
when trying to compile the code.
A simple Google search for "haskell blake3" should point out the correct name.
Corrective prompt: The mentioned `Crypto.Hash.BLAKE3` module doesn't exist as a Haskell library.
Output: import Crypto.Hash (hash, Blake2b_512, Digest)
import qualified Data.ByteString as BS
import qualified Data.ByteString.Lazy as LBS
import System.IO (withFile, IOMode(ReadMode))
hashFileBLAKE2b :: FilePath -> IO (Digest Blake2b_512)
hashFileBLAKE2b filePath = do
let chunkSize = 8192 -- 8KB chunks
withFile filePath ReadMode $ \handle -> do
let loop acc = do
chunk <- BS.hGet handle chunkSize
if BS.null chunk
then return $ hash (LBS.fromChunks acc)
else loop (chunk : acc)
loop []
My observation: * I asked for BLAKE3, but now it implemented BLAKE2B.
* The solution is very wrong.
It splits the file into _reversed_ chunks and then hashes them.
The error is subtle and will be hard to debug.
So I'm quite sure I wouldn't allow anybody to build my "product" with such tools yet.But it certainly is fun and there's definitely some usefulness in there, especially for learning general concepts that are well understood.
I guess in the end it's this: Programmers don't need to "roughly get it right" (which is what current tools do well) when it comes to products. They need to get it /precisely/ right.
Trying to delude oneself that company A is superior morally to company B without a very clear distinction between incentive structures (eg A makes money from causing pollution, B sells widgets for cleaning up pollution), which is not the case with these companies, is magical thinking.