Preferences

_mme
Joined 62 karma
https://twitter.com/mme_xyz

me [@] instant.st


  1. Nice project! I made Beak.js which has a similar way to connect a language model to the UI via React hooks: https://github.com/mme/beakjs
  2. Agree!

    For now, I added instructions how to run the demo.

    https://github.com/mme/beakjs#run-the-demo

  3. Exactly, that's the idea - having a backend part of the library that proxies the communication with OpenAI, keeping the API key secret.
  4. Thank you!

    This should be already possible, but it will give you a compiler error if you use Typescript. I will add support in the next version.

  5. You don't! As mentioned in the README:

    "Note: Don't expose your API key in public-facing apps. We will be adding a solution for securely using your API key soon."

    I have ideas how to implement this, but I would like to get some feedback first.

  6. Cool!

    I made something similar a while ago, desktop only:

    https://songmine.io/

  7. I have to be annoying, but - if you have a token that is only valid for X seconds - you still need a token to renew the expiring token.

    I have the feeling that damage control is the only option:

    1) Secrets store is on different credentials

    2) Decryption key is only known outside of secrets storage

    3) There is a maximum number of different credentials that can be queried per day (adjustable over time)

  8. Thank you, very useful!
  9. > this is table stakes level security; realistically if your DB is compromised, your encryption key probably is too, because they probably got in through your application which holds the key in memory. this just prevents "oops I accidentally copied the DB somewhere and it leaked".

    Good point. If the attacker gains access to e.g. a web service that needs to access the stored secrets, they will have encryption keys and DB access.

    > if you have, or when you get to the point that you have, a competent ops org, just use HashiCorp Vault.

    I watched a video about Vault, but I don't see how it would help. Attacker gains access to the web service which can access Vault -> Attacker downloads all API keys from Vault. Or is there something I'm missing?

  10. Thanks, but this is about password hashing. I would like to know about storing third party customer secrets, like API keys, in the most secure way possible.

    Nice website though.

  11. soy un perdedor
  12. Any message you receive you should evaluate in the context of your physical life. It’s your life!
  13. I‘m 42. Here‘s my advice to someone half my age. Have conflicts. Put your heart into it. If you loose, you receive some truth. If you win you give some truth. The outcome does not matter if it means you grow.

    Go eat or drink together as if nothing happened.

  14. Amazing attitude.

    The mother of my kid and I are separated. I wanted to restrict content/screen time, but she gave him unrestricted access to his iPhone and now I feel it can't be undone. He's 13.

    I'm mostly worried about his attention span, especially when I watch him use his phone. But then again, maybe this is just a different generation and I must understand that his way of using the internet is different from mine.

    Would you share a story of falling/picking them up?

  15. So it's a satire?
  16. Thanks, this is interesting, but also very abstract.

    What do you mean when you say "scaling on the level of a function"?

    Do you mean any "plain old" function or a specific REST endpoint like AWS Lambda?

    If you could just throw distributed computing resources at any function that is a bottleneck in your code, that would be alien tech.

  17. I don't know Syrus nor Wasmer :)

    However, I'm genuinely interested - why would this make Kubernetes obsolete? If Wasm rules the future, as you believe, why shouldn't it run in a pod?

  18. Hi HN!

    Songmine is a tool I made to help me and my friend be more productive when making music. It runs in your browser at https://songmine.io

    It basically does two things:

    1) Show you a dashboard of chords for a certain key and mode. 2) Let's you play these chords by connecting to any DAW or synthesizer via Midi.

    I made this overview video which walks you through the main functions: https://www.youtube.com/watch?v=K69342sjmfc

    I found it helps us bring more variety into ours sessions, since it lets us easily try out new keys or modes which we are not yet comfortable with. Also, we play bass and guitar but not the piano, so having the chords play with one click or keystroke makes it very easy to get a basic synth layer done without resorting to the piano roll.

    There is a simple algorithm which modifies the chords in a way to get smoother chord changes.

    To the musicians among you (and those aspiring to make music) - I would be very happy to get some feedback!

  19. I built something similar for images. It's command line based, so one could simply create a bash script to copy data to a folder based on a prediction.

    https://github.com/vergeml/vergeml

  20. Thanks for mentioning tensorpack, looks very interesting!

    VergeML is not a library, it is a (command line) tool which lets you drop images in a directory and type 'ml train' in the most basic case.

    You would use VergeML to quickly train with everyday datasets.

    VergeML is framework agnostic, there will be model implementations in pure TensorFlow ("closer to the metal") and other libraries. Keras is a very good fit for the classifier based on transfer learning from ImageNet. It provides a lot of functionality and good training performance.

  21. Thanks for the info. Not sure if this is good or bad :)
  22. Hi author here. We just pushed the code on github yesterday, I did not expect this to end up on HN so early. I will add the relevant information about which frameworks we are using to the README.

    However, it is much more than a Keras wrapper. It supports models based on any framework through a plugin system. We plan to add support for pytorch and others.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal