الجمعة، 4 نوفمبر 2022
Show HN: I built a helper script for AUTOMATIC1111 / stable-diffusion-webui https://ift.tt/6jrzdbQ
Show HN: I built a helper script for AUTOMATIC1111 / stable-diffusion-webui In case you are into offline Stable Diffusion image generation, chances are high that you use the AUTOMATIC1111 version, as it is quite user friendly and constantly evolving. One thing it has is support for scripts. And I have built a script that eases finding the right look quite a bit. StylePile has 135 artist presets, 55 styles, 25 emotions. Insert keywords sequentially or randomly. Adjust influence of result types, artists and styles. See detailed progress information in prompt. Feedback welcome. https://ift.tt/soPvi2m November 4, 2022 at 06:23PM
Show HN: PostgreSQL Sessions in Vim https://ift.tt/dysrFL7
Show HN: PostgreSQL Sessions in Vim Really just a few lines of code to have a REPL-like experience with Vim and Postgres. https://ift.tt/hZda7RA November 3, 2022 at 03:25PM
الخميس، 3 نوفمبر 2022
Show HN: Eleven – Code sandboxes with automatic HTTPS https://ift.tt/RIad2gv
Show HN: Eleven – Code sandboxes with automatic HTTPS Eleven is the second project that I've built to learn Go. It lets you create code sandboxes in your cloud provider account easily. What's a "code sandbox"? Just a VM, running in your cloud provider account, with some runtimes pre-installed, your repositories cloned, a way to connect to it with your preferred editor (or via SSH) and a way to serve your apps easily via HTTP (with automatic HTTPS). You could use it to deploy your app, as a remote development environment or even to test some code. It's up to you. For example, to deploy a Node.JS app on AWS: $ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh/hello-world > Success! The sandbox "hello-world" was initialized. $ ssh eleven/hello-world forever node index.js > Forever: command started. Run "forever stop" in current path to stop. $ eleven aws serve hello-world 8000 --as hello.eleven.sh > Success! The port "8000" is now reachable at: https://hello.eleven.sh $ curl https://hello.eleven.sh > Hello World Still learning Go by the way, so I'm open to any suggestions to improve. https://ift.tt/59DkbKd November 3, 2022 at 09:05PM
Show HN: Open Source Authentication and Authorization https://ift.tt/7zY8han
Show HN: Open Source Authentication and Authorization I’m Rishabh and the co-founder and CTO at https://supertokens.com (YC S20). We offer open-source user authentication and we just released our user roles product for companies implementing authorization. Our users are web developers, and a prominent and adjacent pain point for our users is authorization. Developers typically implement two independent solutions for authentication and authorization. Offering AuthN and AuthZ in a single solution is something we’ve been thinking about for the last few years. Quick primer, authentication is knowing who the user is, and authorization is knowing what the user has access to. A physical analogy: A person enters a building. Authentication means reading their ID card and knowing that the person’s name is John. Authorization means knowing which floors, offices, and files John has access to. With increasing privacy and data complexity, companies like Netflix[1], Slack[2], and Airbnb[3] have built out their own complex authorization systems. To build our user roles product, we started with a first principles approach of covering authorization use cases using scripting languages such as XACML and OPA. But looking at existing solutions built by talented teams like Oso[4], Aserto[5], Cerbos[6], Strya[7], we realized that while these were powerful solutions, they were often overkill for most early to mid-stage companies (especially on the B2C side). We went back to the drawing board, reached out to our users and after dozens of conversations, we realized that most authorization needs require the ability to 1. Assign and manage roles and permissions 2. Store roles in the DB and session tokens to make it readable on the frontend and 3. Protect APIs and websites based on these roles and permissions. And so, we built user roles – a simple RBAC authorization service that focuses on the balance between simplicity and utility. It doesn’t cover many complex cases and we’re not looking to displace any of the authorization incumbents. But you can add AuthN and AuthZ using a single solution, quickly. In the near future, we’ll be launching an admin GUI where you can manage your users and their roles with a few clicks. We’d love for you to try it out and hear what additional functionality you’d like to see. What are your favorite authentication providers and what do they get right? - [1]: https://ift.tt/3F9sC6t... - [2]: https://ift.tt/D4o1xGB - [3]: https://ift.tt/4rmGf18... - [4]: https://www.osohq.com/ - [5]: https://www.aserto.com/ - [6]: https://cerbos.dev/ - [7]: https://www.styra.com/ November 3, 2022 at 05:45PM
Show HN: GitHub Copilot Can Help with Shell Scripting https://ift.tt/6ftwo1Q
Show HN: GitHub Copilot Can Help with Shell Scripting https://ift.tt/tILr0fX November 3, 2022 at 04:00PM
Show HN: Simple Tool to Hear and Visualize the Overtone Series https://ift.tt/CeOYXRS
Show HN: Simple Tool to Hear and Visualize the Overtone Series https://ift.tt/fMK1HLJ November 3, 2022 at 01:20PM
Show HN: Word Tower – A simple daily word puzzle https://ift.tt/tZ6JuAW
Show HN: Word Tower – A simple daily word puzzle https://wordtower.net November 3, 2022 at 12:47PM
الاشتراك في:
الرسائل (Atom)