131 points · by trustno2 · 2y ago · 139 comments
I personally didn't like the feature, but from reading through the other criticisms, it seemed like there were some genuine reasons why people didn't want this feature. I don't think it's quite as simple as you make it out to be.
Lies are lies. Lies about how this feature exfiltrates data without you knowing isn't genuine criticism either.
If you didn't like the feature, you could've done what the rest of us did and not use it. It's simple. We just carried on with our work just like we did before the update. Well, actually not exactly the same as before because we enjoyed the UI improvement that came with the update. We certainly didn't go out of our way to enable features that didn't personally interest us. Nor did we brigade the issue tracker to go on a bullying spree or posted lies after lies in public forums.
iTerm2 is a breath of fresh air compared to all the commercial crap prevalent in our industry nowadays. Trolls may have done immeasurable damage to the future of a valuable piece of software. Too bad they're not the type to take any responsibility for such actions.
I didn't like the feature, so I switched to another terminal emulator. I'm not upset and I didn't bully the dev. I wasn't a paying customer so I don't expect anyone to listen to me. I just found another product that suits the way I work much better, so I'm happy all round.
If you're using a product that does not make API calls externally with your data previously in a corporate environment that has very strict controls, and they add a feature that is part of the base install package, even if opt-in, that allows it to do that, and they do not have something like Group Policy hooks to forcibly disable it from on high, then they will block the product globally until the functionality is more contained to something their compliance systems can prevent, be it via a group policy hook or blocking the install at all.
Companies take "we might make an external call with your data" very seriously, and regardless of how much you trust the external entity, adding that in is rightfully seen as a very serious concern in some environments.
This is a completely ridiculous strawman.
If a corporation needs strict controls then they don't allow for auto-updated software without vetting. They could have asked for a policy to disable the integration but they didn't, instead those people screamed about how they were going to have to completely block iTerm which showed their incompetence. This was in beta for quite a while and none of these "serious IT people" cared so either they are asleep at the wheel (not vetting beta versions) or they allow for auto-updates to software they don't control, either way it screams incompetence to me.
Also we are talking about a terminal here, a tool that can connect wherever the developer tells it to connect to. Are you telling me these companies lock down where a developer can SSH to but are too stupid to block traffic to OpenAI? Or they don't lock down where a developer can SSH and therefore don't talk to me about "strict controls".
Make it make sense. It just doesn't. This argument never held any water for me.
Please don't take this as an attack to you, but one would think that environments where this is a very serious concern would also be environments that either buy software, or buy support contracts with open source developers, to make sure that what they install is compliant with their concerns.
I work in a company that uses many different products that (attempt to) make external API calls with extremely sensitive data, and none of these products are blocked from installation, because we block all their requests at the network level, instead.
Yes, the corporate management is useful, but not critical, and the lack of it absolutely didn't justify the generated outrage.
Put another way: if corporate policy blocks this app but not access to OpenAI, they are not solving the underlying issue. If they already block OpenAI they don't need the application control.
No, they want to be seen taking it seriously, so they say that they take it very seriously. But if you will actually audit their system you will find they do not in reality and it was just a negotiation tactic.
1. Developers are forced to use Windows and given very little CLI access. And they certainly wouldn’t be using iTerm since it’s macOS only.
2. Developers are given a Windows corporate device as well as a MacBook Pro. The MBP doesn’t have access to any corporate systems
3. Developers can access corporate systems on MBP via jamf or InTune. The corporate side of the business accepts the risk that developers can access external (read: non-vetted) services but the business has access to all internet traffic logs from your device (usually pushed into some kind of security package that monitors for suspicious traffic) plus the ability to remote wipe it. So there is a degree of trust given to the developers.
Those that are stuck with option 1 are usually the unhappiest and least productive. So it’s not something most businesses like to entertain unless senior management is very corporate and the business is considered high risk.
Unless those very strict controls include either blocking at the network level accesses to IP addresses not on a pre-approved list or removing a large number of programs and libraries that are standard on MacOS the person using iTerm will have plenty of readily available ways to use external services with that data if they want to.
Heck, the free version of ChatGPT can tell you how to access ChatGPT with curl if you don't know how [1].
I specifically asked about curl, but it would also work if I asked it to suggest a MacOS command like tool: "On MacOS what command line tools could I use to ask ChatGPT a question? Assume I have a ChatGPT API key". It suggests curl, httpie, and wget and shows how to use all of them. I updated the link below to include that too.
[1] https://chatgpt.com/share/00d9de15-4e43-497f-a116-bfe3972471...
If you download this plugin, instead of the feature being securely integrated into the main product binary, there’s a new binary on your system that takes arbitrary JSON and performs network requests. Yes I know curl exists, but thats the point: we don’t need another tool for this that’s way less scrutinized and now opens my system up for data exfiltration in ways that weren’t originally possible. It also suffers from the traditional IPC pitfalls present when not using secure XPC with app groups. It’s objectively worse.
Edit: I’m talking about the separate binary plugin when I call for George to revert. The secure defaults config that can be MDM managed is perfect, simple, and fit for purpose to secure iTerm as a product. Moving the network calls that talk to the configured openai-compatible api server a separate binary is a farce.
That's for interactive use, startup time is slower for iTerm2 but i don't care about that because i basically never quit the terminal.
In both iTerm2 (when i used it) and Terminal, i have a colourscheme enabled and a custom font - both of which i'm assuming have potential to slow things down.
You don’t need to know any tmux to use it either (except for how to launch the right mode, which is easy to script).
If you spend a lot of time SSHed to other computers, I would highly recommend trying it out.
* Recognize something in the output that looks like a Jira ticket and add a link to that ticket
* Have your ssh passwords in one place and automatically enter them upon prompt
* Connect to many servers and type the same command into all of them
* Make your screen red when in superuser mode
* etc. etc. etc.
(Some years ago, I refused a company-issued ThinkPad Carbon and byod'ed a Mac because ThinkPad couldn't do iTerm2.)
More advanced search with regex support, more advanced paste (can do character encoding transformations, deal with special characters, etc), smarter and configurable text selection, autocomplete (mixed bag, TBH - I use zsh for that), more advanced snippets for repetitive commands, and triggers to notify you when things happen (long running commands finish, certain words pop up eg "error" or "compile done").
It has a basic integrated password manager that allows me to paste passwords I commonly use in the terminal with a keycombo.
It can more tightly integrate with the shell/program. You can select a point with the mouse in vim or the shell and the text cursor will go there, for example.
Some of these may have since poked their way into the built in terminal, but these are some of the main reasons I use iterm. If you spend a lot of time in the terminal, you can enhance your productivity.
I switched to WezTerm awhile ago for my main terminal emulator, a decision I've been happy with. But I keep a copy of iTerm running so I can pull down the Quake terminal. Main uses are running homebrew updates, and, perhaps ironically given the topic of this thread, sgpt.
PS It can even record the keystrokes and play back.
Excerpt:
> This release adds some safety valves to eliminate the risk of private information leaving the terminal via the AI endpoints. While an API key and explicit user action were always needed to use AI features, some users asked for an impenetrable firewall for safety and regulatory purposes.
Yes, some users are truly experts at driving Open Source developers to the point of burnout.
I use iTerm2, in pretty sensitive environments, where 'OK, you didn't enable this feature', closely followed by 'not that we had Internet access here anyway, LOL' were (though-experimentally, as are all the 'concerns' of 'some users') eclipsed by 'hey, why is it a thing to enter sensitive data on command lines anyway -- should we not have ways to avoid that?'
So, like, if I ever happen to execute 'history' in any session of yours that I manage to get access to, I hit the jackpot?
Like where?
Speaking for apps but also of OSes, all that crap (AI integration, "Abobe Cloud" integration, and so on etc) should be not just opt-in, but also invisible once switched off (as opposed to some icon or banner nagging you about it in the UI, or ocassional popups asking you if you want to "enable it").
But other apps and services (from Apple, Adobe, MS, etc) yes.
https://news.ycombinator.com/item?id=40669333
Though I wont be surprised if the majority of the hate was people who didn't understand the change.
Edit: It's worth noting that it's one of the most vocal and well-organized communities in the tech world, very prone to outrage, seeing the world in black-and-white, mob justice and piling on whatever is currently unpopular.
These kinds of cases where open source maintainers cave to pressure are almost never the result of consensus among all users. It's usually the result of a small number of people brigading the issue tracker until the maintainer gives up and does it to shut them up. Unfortunately the result is often against the interests of the wider community.
Just tried "find all pdf files larger than 10MB" and it came up with "find . -name "*.pdf" -size +10M". Maybe this was easy but I don't know all arguments of all cli commands by heart and it works beautifully.
I have not found an LLM that knows any of that.
When I need a find command, I open `man find` and read and learn.
This is an editorialized title. It was opt-in from the very beginning. Here's all the steps that was originally required:
1. Open settings, go to the General tab, click on the AI button.
2. Enter a paid API key
3. Close the settings
4. Click "Toolbelt" on the menu bar, and click on "Codecierge"
5. Click "Toolbelt" on the menu bar again, and click "Show toolbelt"
6. In the toolbelt, there's a textbox that you can type questions into. The textbox won't be shown if you didn't enter an API key. Only after submitting the question will the OpenAI integration be activated, and as I understand it, only for the current session.
https://github.com/gnachman/iTerm2/blob/a3122c0100d8900a15cb...
The initial implementation already took many many clicks to run. I literally had to do nothing to not use the feature and not once was I reminded about the feature after I chose to ignore it.
Despite that, people were spreading rumors that entering an invalid API key would instantly cause iTerm to send all data to OpenAI. It's a straight up lie started by people who actually tested the feature and posted their findings on the GitLab thread about this feature.
https://gitlab.com/gnachman/iterm2/-/issues/11475
https://gitlab.com/gnachman/iterm2/-/issues/11470
It gets worse, people in the GitLab thread were calling for dogpiles and fantasizing about inflicting violence on Mastodon. Towards the sole maintainer of a popular free and open source software developed in his spare time.
https://web.archive.org/web/20240613165712/https://archive.i...
Some of the things you see online... I have no words.
I didn't care for the feature (I have no issues with AI/LLMs but it just wasn't useful IMHO) but the backlash was ridiculous and embarrassing for everyone complaining about an opt-in feature. The comments on the GitLab ticket and here on HN were examples of some of the worst people (or people at their worst) in our industry.
I use macos SOLELY for iterm2 because of tmux integration. I was very excited for this feature.
You have to literally click the button. It's a command Y to bring up the modal, you start typing, then you have to remove hands from keyboard and mouse to the confirm button.
What the hell? No command enter, no command shift enter, maybe I missed it or did it wrong but it is literally faster to type pipx run llm prompt than control y my command mouse and click.
Just fix that one part and I would have been in heaven, also the pop up modal seems like a bad choice when it could have been directly integrated into the shell with the new overlay they introduced alongside the feature.
Bad implementation, and PLEASE if anyone knows any foss alternative to iterm2 with tmux integration please dress me down on the fool i have been and steer me towards the path of the light again.
Can we fix the headline?
Return commands suitable for copy/pasting into \(shell) on \(uname). Do NOT include commentary NOR Markdown triple-backtick code blocks as your whole response will be copied into my terminal automatically.
The script should do this: \(ai.prompt)
And then you type your prompt in, and it returns the answer. And then you can choose to edit the command that gets returned or execute it directly.
So essentially what you'd do if you were using the API directly, just more convenient.
I haven't tried any, but if one exists it would be cool to see iterm use that LLM.
This is a terminal app and not a fucking coffee machine. Stop plugging endless "features" into it.
More discussion: https://news.ycombinator.com/item?id=40657890
Anyway thanks for listening and changing things.
Enjoy your day and please keep sharing your positive outlook!
> This release adds some safety valves to eliminate the risk of private information leaving the terminal via the AI endpoints.
If it's still not clear - I don't want my terminal to even have the possibility of leaking my data.
> While an API key and explicit user action were always needed to use AI features, some users asked for an impenetrable firewall for safety and regulatory purposes.