Live data from Hacker News

Canvas is a new way to write and code with ChatGPT

openai.com

171–180 of 701 posts

Re: Canvas is a new way to write and code with ChatGPT

#171
I want to take an existing Python application (which is 100% a 'sufficiently complicated concurrent program in another language contains an ad hoc informally-specified bug-ridden slow implementation of half of Erlang.'[0]) and port it to Elixir.

Retaining the core business logic, but re-homing it inside of idiomatic elixir with a supervision tree. At the end of the day it is just orchestrating comms between PSQL, RMQ and a few other services. Nothing is unique to Python (its a job runner/orchestrator).

Is this tool going to be useful for that? Are there other tools that exist that are capable of this?

I am trying to rewrite the current system in a pseudocode language of high-level concepts in an effort to make it easier for an LLM to help me with this process (versus getting caught up on the micro implementation details) but that is a tough process in and of itself.

[0] - https://www.goodreads.com/author/quotes/423160.Robert_Virdin...

Re: Canvas is a new way to write and code with ChatGPT

#172

Mixed 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…

Canvas is closer to Cursor ( https://www.cursor.com ) than Claude. 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?

It's just a company that promised AGI would somehow come from developing LLM-based products, rapidly scrambling to keep up with other LLM-based products, to distract from the fact that it's becoming increasingly apparent that AGI is not coming anytime soon.

Re: Canvas is a new way to write and code with ChatGPT

#173
openai is basically eating all the GPT wrappers over time, as well as integrating all the interesting work done at prompt level (cot, structured outputs) at the model level. I wonder if that trend is doomed to continue as profitability issues become central to openai and they need to take an ever bigger share of the AI application cake to survive (coding/writing tools etc): https://www.lycee.ai/blog/why-sam-altman-is-wrong

Re: Canvas is a new way to write and code with ChatGPT

#174
post #4

This is cool, but I wish it were integrated into tools already used for coding and writing rather than having it be a separate app. This also demonstrates the type of things Google could do with Gemini integrated into Google Docs if they step up their game a bit. Honestly I’m scratching my head on OpenAI’s desire to double down on building out their consumer B2C use cases rather than truly focussing on being the infr…

> demonstrates the type of things Google could do with Gemini integrated into Google Docs

Or Microsoft!

> think OpenAI will end up being either an infrastructure provider OR a SaaS, but not both

Microsoft cut off OpenAI's ability to execute on the former by making Azure their exclusive cloud partner. Being an infrastructure provider with zero metal is doable, but it leaves obvious room for a competitor to optimise.

Re: Canvas is a new way to write and code with ChatGPT

#175
post #50

openai gpt is a service not a product but canvas is the first product that openai build. i guess we will see new products in future. canvas is a new product, thats why they didn't introduce it at devday.

ChatGPT is their first product. Canvas would be the second?

i think chatgpt is not a product but a service like dropbox. i don't say it is useless or can't be sold. it is just a feature for a product. GPT, in itself, is a powerful technology or tool that enhances user experiences in various applications. It provides natural language processing capabilities like answering questions, generating text, assisting with tasks, and so on. However, without a specific context or integration into a larger platform, GPT is more akin to a feature that can improve or enable specific functionalities within products.

Re: Canvas is a new way to write and code with ChatGPT

#177

Earlier quoted context omitted.

Well, I've just read back through some of your comments and I say that ain't so! Write honestly. Write the way you write. Use your own flow, make your own grammatical wobbles, whatever they are. Express yourself authentically. Don't let an AI do this to you.

Person A: Me try make this code work but it always crash! maybe the server hate or i miss thing. any help? Person A with AI: I've been trying to get this code to work, but it keeps crashing. I'm not sure if I missed something or if there's an issue with the server. Any tips would be appreciated! For a non-native English speaker, it's much better professionally to use AI before sending a message than to appear authent…

Person A with AI: In the bustling world of software development, where lines of code intertwine to create the intricate tapestry of our digital lives, I find myself facing a challenge that has proven to be both perplexing and frustrating. I’ve spent over a decade honing my skills as a developer. Known for my analytical mind and commitment to excellence, I’ve navigated various programming languages, frameworks, and projects that I’m proud to have contributed to.

Recently, I stumbled upon a bug that initially seemed minor but quickly revealed itself to be a formidable adversary. It disrupted the seamless user experience I had meticulously crafted, and despite my best efforts, this issue has remained elusive. Each attempt to isolate and resolve it has only led me deeper into a labyrinth of complexity, leaving me frustrated yet undeterred.

Understanding that even the most seasoned developers can hit a wall, I’m reaching out for help. I’ve documented the symptoms, error messages, and my various attempts at resolution, and I’m eager to collaborate with anyone who might have insights or fresh perspectives. It’s in the spirit of community and shared knowledge that I hope to unravel this mystery and turn this challenge into an opportunity for growth.

Re: Canvas is a new way to write and code with ChatGPT

#178
post #155
post #149

Earlier quoted context omitted.

Agreed on the principle (using the better product) but interestingly I've had the opposite experience when comparing Claude 3.5 Sonnet vs GPT 4o. Claude's been far and away superior on coding tasks. What have you been testing for?

I do a lot of cybersecurity and cyber adjacent work, and Claud will refuse quite a lot for even benign tasks just based on me referencing or using tools that has any sort of cyber context associated with it. It's like negotiating with a stubborn toddler.

This is surprising to me as I have the exact opposite experience. I work in offensive security and chatgpt will add a paragraph on considering the ethical and legal aspects on every reply. Just a today I was researching attacks on key systems and ChatGPT refused to answer while Claude gave me a high level overview of how the attack works with code.

Re: Canvas is a new way to write and code with ChatGPT

#179
post #158
post #4

This is cool, but I wish it were integrated into tools already used for coding and writing rather than having it be a separate app. This also demonstrates the type of things Google could do with Gemini integrated into Google Docs if they step up their game a bit. Honestly I’m scratching my head on OpenAI’s desire to double down on building out their consumer B2C use cases rather than truly focussing on being the infr…

> the type of things Google could do with Gemini integrated into Google Docs Google already does have this in Google Docs (and all their products)? You can ask it questions about the current doc, select a paragraph and ask click on "rewrite", things like that. Has helped me get over writer's block at least a couple of times. Similarly for making slides etc. (It requires the paid subscription if you want to use it fro…

Those look more like one-off prompts, and not a proper chat/collab with Gemini.

Re: Canvas is a new way to write and code with ChatGPT

#180

Funny timing. StackBlitz announced Bolt.new ( https://bolt.new/ ) today with multi-file edit, emulated filesystem, arbitrary npm installs, and is open source. I feel ChatGPT is still chasing after Claude 3.5 artifact.

Bolt.new may be technically open source, but it seems to be dependant on closed source StackBlitz webcontainers? Not truly open source IMHO.

I was coincidentally looking into this yesterday, trying to find an implementation of JS sandbox to run AI-generated code or web apps in.

A similar project is sandpack, but that relies on nodebox which is also closed source.

Post reply on HN