Tuesday, May 9, 2023

Show HN: Interactive Git Training Use Cases https://ift.tt/rTKcnlH

Show HN: Interactive Git Training Use Cases Hello, I have been working for years with junior developers and I find that many of them struggle to get out of some "delicate situations". Example "detached head", "wrong rebase", "for some reason I see duplicate commits" and so on. To help my colleagues I came up with a list of git uses cases that can be tested in a sort of interactive playground using a shell script that will set-up the use case and then we can go ahead and try to solve the problem. The main advantage here is that all use cases are reproducible and that by looking at the shell script we can see how we got in the mess in the first place. Everything is written in posix shell and should work on linux, macos and windows (with git bash). Any comments, feedback and contributions are very welcome ! PS: This is somewhat inspired by https://ohshitgit.com/ https://ift.tt/fPzhdgJ May 9, 2023 at 08:35PM

Show HN: We built an end-to-end encrypted alternative to Notion https://ift.tt/dvXhUxB

Show HN: We built an end-to-end encrypted alternative to Notion Hello HN, Over the last year we've been building snote.app, a Privacy focused, End-to-End Encrypted alternative to Notion. You can write, plan, collaborate and get organized - it allows you to take notes, store files, add tasks, manage projects & more. Whether you're working solo or in a team. We are hoping to use this post as an opportunity to collect feedback from fellow hackers. If there's anything we can do better, please let us know https://www.snote.app/ May 9, 2023 at 07:17PM

Show HN: Submit ChatGPT prompts on a web page to mutate the same web page https://ift.tt/LP3hrs5

Show HN: Submit ChatGPT prompts on a web page to mutate the same web page https://ift.tt/2MBE1xe May 8, 2023 at 11:19PM

Show HN: A social network to share articles you've read https://ift.tt/4M0TYKq

Show HN: A social network to share articles you've read https://ift.tt/i2tvF7Z May 9, 2023 at 02:52AM

Show HN: Monch, a tasty TypeScript parser-combinators library https://ift.tt/oq5IZyU

Show HN: Monch, a tasty TypeScript parser-combinators library https://ift.tt/En2yTlG May 9, 2023 at 01:38AM

Show HN: Cptn.io – open-source integration platform https://ift.tt/JSB7oUr

Show HN: Cptn.io – open-source integration platform Hi, I am Krishna Thota. I am building an open source integration and data platform( https://cptn.io ). The product is MIT licensed and the repo is at https://ift.tt/ntV3W8N . I have started on my startup journey an year ago and launched a monitoring platform called DevRaven. Unfortunately the product did not takeoff as expected. That story is for another day. But during the course of building the product, I have built several integrations leveraging MQs and Cloud Functions. While building and deploying Cloud Functions for happy paths is easy, I had to monitor logs for failures, build retry mechanisms or manually process failed events, keep instances running to prevent cold start timeouts. It can also get expensive with charges for MQs, server time for running cloud functions etc and costs can be unpredictable. I thought of building a platform where I can build integrations quickly, have the ability to look at incoming/outgoing events, look at logs, retry any failed events etc. And finally, predictable costs for running the infrastructure. cptn.io provides all these capabilities and more. You can build pipelines to integrate with any cloud services, send data from your backend to data warehouses, listen to web hook events etc. The platform can be integrated into any stack by sending events to HTTP end points. Instead of trying to build a business first or launch an open source product under restrictive licenses, the platform will be available under MIT license so any user or customer can use it. There is no ee folder or complex dual licensing and I am also committing to releasing SSO under MIT. The plan is to offer a managed service in the cloud at a later time, accept sponsors for prioritizing features for enterprise customers and charge for enterprise support. It should take less than 5 minutes to get the platform running on your machine. Welcome any feedback, feature requests, PRs and bug reports. https://cptn.io May 8, 2023 at 11:15PM

Monday, May 8, 2023

Show HN: Automatic Domain Verification https://ift.tt/Lsuzk6f

Show HN: Automatic Domain Verification The Domain Verification protocol stores a DNS TXT record at a DNS name derived from a hashed "verifiable identifier" (email, telephone, DID), enabling anyone that can prove control over the verifiable identifier to prove authority for the domain name, whilst preserving the privacy of the authorised party. Once setup, the record enables automatic domain verification for any service provider. This record could be automatically setup by domain registrars upon domain registration (with registrant opt-in) creating a fast lane for verification with service providers many new small businesses use (eg Google Ads, Facebook, Office365, Dropbox, etc). ===== Quick sidebar: This was originally submitted to HN under the title "Show HN: Make domain verification as easy as verifying an email or phone number" 3 days ago [1]. It was doing really well (#3 on front page) then totally disappeared from front page and went to bottom of page 1 of Show HN. After an email exchange with dang (incredibly helpful as always), he explained that it got flagged with the "overheated discussion detector" and it turned out I caused this by diligently responding to every comment as fast as my fingers would type because I wanted to keep engagement going. Helpfully dang took the flag off it about 12 hours later after our email exchange, but understandably the momentum was lost. So I feel like it kinda got killed, just as it was picking up pace and as the US west coast was waking up. So I am humbly reposting it with a modified description based on the comments of the last post. ===== This is a project I've been working on for a little while and I'm interested in your feedback and point of view. Many of us would have verified a domain name by pasting a string into a DNS TXT record. These methods are currently being discussed and standardised at the IETF [2]. Let's Encrypt's DNS-01 method [3] is probably considered the state of the art. The differences between DNS-01 and Domain Verification protocol are: - DNS-01 requires a new TXT record for each service provider. With Domain Verification Protocol, multiple service providers can use the same record. - Instructions to setup a DNS-01 TXT record are instigated by the service provider, whereas a Domain Verification Protocol record can be setup independently by a user or a domain registrar. They could even pre-populated by a registrar upon domain registration (with registrant opt-in) - There’s no concept of permissions in DNS-01, the act of creating the record gives the user full access for the domain with the service provider. With Domain Verification protocol multiple records can be setup, limited permissions could be setup for different third parties. For example give a marketing agency authentication to claim the domain on social media but nowhere else. I'm still working on licensing but creating these records will always be free. I hope to find service providers that see significant upside in reducing friction for user onboarding that are willing to pay to license it. Worked example: Let's say you want to authenticate the user with the email user@example.com with the domain dvexample.com, these are the steps: a. HASH(user@example.com) -> 4i7ozur385y5nsqoo0mg0mxv6t9333s2rarxrtvlpag1gsk8pg b. Store Domain Verification record at: 4i7ozur385y5nsqoo0mg0mxv6t9333s2rarxrtvlpag1gsk8pg._dv.dvexample.com c. TXT record determines permissions and time limit: @dv=1;d=Example user email;e=2025-01-01;s=[seo;email];h=4i7ozur385y5nsqoo0mg0mxv6t9333s2rarxrtvlpag1gsk8pg Thanks for taking a look, Elliott 1. https://ift.tt/SncgFPW 2. https://ift.tt/319fk7h... 3. https://ift.tt/kZHAwtD https://ift.tt/ZvhylFG May 8, 2023 at 10:36PM

Show HN: Embedr – Agentic IDE for Arduino, ESP32, and More https://ift.tt/8o2SWI1

Show HN: Embedr – Agentic IDE for Arduino, ESP32, and More Hi HN, I’m building an agentic IDE for hardware developers. It currently supports...