News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by bjourne on Wednesday July 16, 2025 @05:56PM (#44587235)
Then how would you SET the API key in the first place? :) The argument doesn't make any sense at all.
Re:I'm Switching to Python and Actually Liking It by medstrom on Wednesday July 16, 2025 @06:32PM (#44587534)
In some .profile or .envrc or what you'd call such a file, I suppose.
Re:I'm Switching to Python and Actually Liking It by NoGravitas on Thursday July 17, 2025 @01:55PM (#44596122)
And you expect someone will be able to read your bash_history, but not your .profile?
Re:I'm Switching to Python and Actually Liking It by medstrom on Friday July 18, 2025 @01:27PM (#44607486)
Fair, I wasn't thinking about the details of how someone would lift out the bash history.
Re:I'm Switching to Python and Actually Liking It by fc417fc802 on Friday July 18, 2025 @01:03AM (#44601376)
Using read or an equivalent, presumably. Just because you don't know why a practice is recommended against doesn't mean that there isn't a good alternative.