Earlier quoted context omitted.
(edited: removed link about some parties organized by influential people)
There is nothing wrong with sex parties, nor drug use. But a lot of these VC-adjacent parties have reports of strong power imbalance- “young female founder seeking funds, wealthy VC seeking partygoers”. That is the issue with them. (Like those described in the removed link) Altman is a married gay man, so his involvement in them seem… less likely.
Canvas is a new way to write and code with ChatGPT
431–440 of 701 posts
Re: Canvas is a new way to write and code with ChatGPT
#432Re: Canvas is a new way to write and code with ChatGPT
#433Earlier quoted context omitted.
never figured out on how to activate it in my workspace
google's approach to shipping products is puzzling. It's like they don't care if anyone uses them at all
Given how widely used Google Docs is, for serious work, disrupting people's workflows is not a good thing. Google has no problem being second, they aren't going to die in the next three months just because people on Twitter say so.
Re: Canvas is a new way to write and code with ChatGPT
#434Small ot, but it's quite interesting that the highest decisive impact generative AI is having right now is on tech workers and software developers in particular. I'm more and more convinced that we're on the edge of a major shake up in the industry with all these tools. Not getting replaced, but at this rate of improvements I can't unsee major changes. A recent junior I have in my team built his first app entirely wi…
The more I think about it, the more I am convinced developers will be the "first to go" when AGI takes over. Before bloggers and youtubers. Because programming is an activity that requires the least amount of "grounding to reality" among all human activities. We made sure of this with layers and layers of convenient abstraction. What about developers that code the AI systems? Well.. I am sure AGI will come from other…
The kind of apps that will be built in the next 5 years,are nowhere near what we have today.
Developers will need to update their skillset, though.
Re: Canvas is a new way to write and code with ChatGPT
#435Earlier quoted context omitted.
The more I think about it, the more I am convinced developers will be the "first to go" when AGI takes over. Before bloggers and youtubers. Because programming is an activity that requires the least amount of "grounding to reality" among all human activities. We made sure of this with layers and layers of convenient abstraction. What about developers that code the AI systems? Well.. I am sure AGI will come from other…
Sticking to my prediction that lawyers will be first.
Re: Canvas is a new way to write and code with ChatGPT
#436Mixed feelings about this: clearly this is meant to match one of the killer features of Claude. I like using Claude, and I'm also a big supporter of Anthropic - not just because it's an underdog, but due to its responsible and ethical corporate governance model[1], which stands in stark contrast to OpenAI. It's worrying to see ChatGPT close one of the gaps between it and Claude. [1] https://www.anthropic.com/news/the…
If you prefer to support Claude, check out Parrot [1]. I'll be adding a feature similar to this backed by Claude 3.5 Sonnet over the next few weeks. [1] https://codewithparrot.com
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
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
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.
Re: Canvas is a new way to write and code with ChatGPT
#437I tried selecting 'ChatGPT 4o with canvas' from the model drop down, uploading a code file, and asking "can we look at this file, I want to edit it with you", but it doesn't show canvas features or buttons that the instructional video has i.e. the UI still looks identical to ChatGPT.
EDIT: I asked "where are the canvas features" and boom - the UI completely changed what the instructional video has.
Re: Canvas is a new way to write and code with ChatGPT
#438Small ot, but it's quite interesting that the highest decisive impact generative AI is having right now is on tech workers and software developers in particular. I'm more and more convinced that we're on the edge of a major shake up in the industry with all these tools. Not getting replaced, but at this rate of improvements I can't unsee major changes. A recent junior I have in my team built his first app entirely wi…
That is legit frightening
Re: Canvas is a new way to write and code with ChatGPT
#439Re: Canvas is a new way to write and code with ChatGPT
#440Earlier quoted context omitted.
With AGI you won’t need most of the human race anymore, developers are just the tip of the iceberg. Luckily ChatGPT and the rest have nothing to do with an AI not to mention AGI.
It's not AGI yet but has everything to do with it.