News for hackers. Stuff that matters.
Re:I Miss Heroku's DevEx by hot_gril on Thursday May 12, 2022 @04:22AM (#31350771)
So the biggest Heroku clone I can think of is Google's App Engine, and it's complicated for no reason. The most comical example is storing/accessing secrets. What should be something like `heroku config set MYSECRET=foo` is instead an entire tutorial on setting up a separate key management system and configuring GAE to use it, which cutting every corner still took me at least 2 hours.

It's like this all the way. Postgres is one click on Heroku, a miniature ordeal on GAE. Yeah I can handle it, but why. Maybe I don't have the patience and there's some light at the end of the tunnel. I thought maybe that light was gRPC, but turns out App Engine ironically can't run gRPC services.

Re:I Miss Heroku's DevEx by digisign on Thursday May 12, 2022 @12:51PM (#31356656)
Secrets should not be on the command line, they get logged to history. Instead should be prompted for like a password.
Re:I Miss Heroku's DevEx by psadauskas on Thursday May 12, 2022 @01:34PM (#31357304)
Only tangentially related, but if you prefix the command with a space, it doesn't get recorded to history.

    $ cd
    
    $ echo "one"
    one
    
    $  echo "two"
    two
    
    $ echo "three"
    three
    
    $ history | tail -3
    10089  cd
    10090  echo "one"
    10091  echo "three"

When you remember to do it, that is.
Re:I Miss Heroku's DevEx by bpeebles on Thursday May 12, 2022 @02:47PM (#31358488)
That is the default on many Linuxes' bashes but it's not universal and you can turn it on or off using HISTCONTROL: https://www.gnu.org/software/bash/manual/html_node/Bash-Vari...
Re:I Miss Heroku's DevEx by yencabulator on Tuesday May 17, 2022 @11:54PM (#31419073)
Meanwhile, `ps` etc will still show the secret. Just do it the right way.
Re:I Miss Heroku's DevEx by tomc1985 on Thursday May 12, 2022 @10:19AM (#31354604)
My former employer, a large lumbering fortune 500 trying to play in the agile pool, made extensive use of those specific features...