Hacker Newsnew | past | comments | ask | show | jobs | submit | humlex's commentslogin

Thats my philosophy too. If you're full, you have no cravings at all. I have zero sugar cravings unless im really hungry, at which point real food is still the better option. Focusing on what you Should eat (nuts, berries, greens, etc) is much more rewarding than obsessing over what not to eat.


What i do is assign the token to a variable. I typically copy the secret to my clipboard, and then use the pbpaste command in macos terminal when assigning it to avoid secrets in my command history.


I don't know how consistent this is across shells, but at least in bash putting a space before the command keeps it out of the history:

  $ ONE=1
  $  TWO=2
  $ echo $ONE $TWO
  1 2
  $ history | tail -n 4
   2002  clear
   2003  ONE=1
   2004  echo $ONE $TWO
   2005  history | tail -n 4


Yeah, I have been using this feature of bash ever since its existence and it is quite handy at times, especially when I do "printf "<sensitive data>" | qr".


this.

A while ago I was working on a DSL to solve this exact issue (env switching, http requests + chained requests e.g. to an auth server to retrieve a token) - but I haven't had the time recently, and I moved jobs to a GraphQL shop, so it feels a bit more pointless now :D


I love the second part of your tip, thank you.


Its the opposite to me. I really liked that the AI panel was a fully featured text editor buffer like any other. The new agent panel makes it too much like "the rest" haha. I guess I'll get used to it over time. The important thing is that we finally have agentic editing which is extremely powerful ofc.


You can still access that one! Press the 3-dots menu in the upper right of the panel, and then choose "New Text Thread" instead of "New Thread".


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: