Live data from Hacker News

Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

rajveerbachkaniwala.com

81–90 of 95 posts

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#81
post #50

Earlier quoted context omitted.

It might be overcompensation. I think UI, UX and GUIs got better up until the 90s, and early 2000s, but then somewhere GUIs suddenly got a lot worse. So a modern CLI is better and more standardized than a modern GUI.

> then somewhere GUIs suddenly got a lot worse Electron is the reason, and the elusive dream of "write once, run anywhere" that got us cross platform UIs that are bespoke and don't follow native OS conventions (or keyboard navigation), plus once marketing got involved and GUIs started needing to be branded instead of just fitting in with every other native app on that OS.

I see arguments like this particularly against Electron and the web development sphere in general and I think it's more nuanced than either programmers or "marketing" (read: anyone not a programmer) gives credit towards.

The "elusive dream" of 'write once, run anywhere' is realistically just people wanting to write software with direct product or service use in mind. Native OS conventions are subject to the middlemen of OS vendors, whereas the web (while basically subject to the same vendors) makes a substantial attempt at bridging the gap of writing software for your own purposes without native OS problems. This is a symptom of OSes catering/selling to developers as a platform and hooking them in the 1990s and 2000s.

This attitude that wanting to just make useful code for people and not worry about a windows 11 update breaking everything because they are irresponsible - to think that is not a valid desire is IMO a big problem.

On the other hand, you have a point that it quickly gets out of hand in terms of standards and accessibility and performance bottlenecks. WebAssembly and the WASI are so slow to come out and will by design always be slower than native performance. This doesn't and shouldn't stop us from having decently performant and decently usable program experiences, but it is a prerequisite to care about those things, and the other inheritors of the web development sphere clearly do not want to develop things properly if they take longer than the next fiscal quarter.

There is 100% good Electron code out there, just as 100% there is bad native OS code. The problem isn't inherently the goals of the 'write once, run anywhere' idea; it's more the casualty of other interests pulling away from what developers actually want.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#82
post #62

Earlier quoted context omitted.

For one I’m not sure if I’ve ever gotten an ad in my terminal or in a tui. That alone is probably enough. And it’s so much harder to ruin the terminal experience compared to a desktop app. They don’t get pointless redesigns. I can customize them however I want. The terminal is a like an oasis in the current climate. And that before getting into utility.

You can have ads in a terminal / CLI, for example Ubuntu put an ad for their Ubuntu Pro service when you run sudo apt upgrade: https://linuxiac.com/ubuntu-once-again-angered-users-by-plac... . But the worst thing they can do is to show a plain text

I remember some ops back in the day putting ads into /etc/motd (https://en.wikipedia.org/wiki/Message_of_the_day) for free/cheap servers/services too, 2-3 decades ago.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#83

Why are we emotionally tied to command line interfaces Desktop apps are a second class citizen that do not get feature parity Lot of actions on Claude Code seem much more suited for a thoughtfully designed GUI Even the chat responses and links therein can benefit from judicious use of rich text and formatting and real hyperlinks to other parts of the UI or elsewhere Favourite Skills can be toolbar buttons or menus if…

The reason for the CLI is because most editors will support CLIs natively, so its very easy to pop in Claude Code either via your IDE or your preferred terminal in your project directory. It's lowkey the most genius design choice by Anthropic. Why they havent made a real GUI since? No idea.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#84
post #62

Earlier quoted context omitted.

For one I’m not sure if I’ve ever gotten an ad in my terminal or in a tui. That alone is probably enough. And it’s so much harder to ruin the terminal experience compared to a desktop app. They don’t get pointless redesigns. I can customize them however I want. The terminal is a like an oasis in the current climate. And that before getting into utility.

You can have ads in a terminal / CLI, for example Ubuntu put an ad for their Ubuntu Pro service when you run sudo apt upgrade: https://linuxiac.com/ubuntu-once-again-angered-users-by-plac... . But the worst thing they can do is to show a plain text

We'll they could also send your terminal a 0x07. And let me introduce you to ASCII art:

https://en.wikipedia.org/wiki/ASCII_art

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#85

Why are we emotionally tied to command line interfaces Desktop apps are a second class citizen that do not get feature parity Lot of actions on Claude Code seem much more suited for a thoughtfully designed GUI Even the chat responses and links therein can benefit from judicious use of rich text and formatting and real hyperlinks to other parts of the UI or elsewhere Favourite Skills can be toolbar buttons or menus if…

https://www.cs.utexas.edu/~mitra/csSummer2024/hsra/lectures/...

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#86

Earlier quoted context omitted.

The image in my clipboard doesn't have an url.

It could if it was in a file, which is a thing that you control. Take charge of your destiny.

Right, I could paste my clipboard which takes 1 second and zero cognitive load or I can do your suggestion 100x per day and drive myself crazy. No thanks.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#87

Earlier quoted context omitted.

It could if it was in a file, which is a thing that you control. Take charge of your destiny.

Right, I could paste my clipboard which takes 1 second and zero cognitive load or I can do your suggestion 100x per day and drive myself crazy. No thanks.

Just have Claude vibe you up a GUI that does it in one click with only 0.1 cognitive load.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#88

Earlier quoted context omitted.

Right, I could paste my clipboard which takes 1 second and zero cognitive load or I can do your suggestion 100x per day and drive myself crazy. No thanks.

Just have Claude vibe you up a GUI that does it in one click with only 0.1 cognitive load.

That's what Claude is, a vibe-coded GUI/TUI that you paste images and text into.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#89

Earlier quoted context omitted.

Just have Claude vibe you up a GUI that does it in one click with only 0.1 cognitive load.

That's what Claude is, a vibe-coded GUI/TUI that you paste images and text into.

Cool. Problem solved. Everybody wins.

Re: Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

#90
post #62

Why are we emotionally tied to command line interfaces Desktop apps are a second class citizen that do not get feature parity Lot of actions on Claude Code seem much more suited for a thoughtfully designed GUI Even the chat responses and links therein can benefit from judicious use of rich text and formatting and real hyperlinks to other parts of the UI or elsewhere Favourite Skills can be toolbar buttons or menus if…

For one I’m not sure if I’ve ever gotten an ad in my terminal or in a tui. That alone is probably enough. And it’s so much harder to ruin the terminal experience compared to a desktop app. They don’t get pointless redesigns. I can customize them however I want. The terminal is a like an oasis in the current climate. And that before getting into utility.

You do get ads, many time you can see other tools being referred (open-source), but even open-source, those tools can become commercial later-on. Advertising a free tool is still advertising.
Post reply on HN