The best Hacker News stories from Show from the past day

Go back

Latest posts:

Show HN: Holos – Configure Kubernetes with CUE data structures instead of YAML

Hi HN! I’m excited to share Holos, a Go command line tool we wrote to fill the configuration management gap in Kubernetes. Holos uses CUE to configure software distributed with Helm and Kustomize using a well defined, type safe language eliminating the need to template YAML. You probably know (or are) someone who has suffered with the complexity of plain text YAML templates and merging multiple values.yaml files together to configure software running in Kubernetes. We built Holos so we don’t have to template YAML but we can still integrate software distributed with Helm and Kustomize holistically into one unified configuration.<p>At the start of the pandemic I was migrating our platform to Kubernetes from virtual machines managed by Puppet. My primary goal was to build an observability system similar to what we had when we managed Puppet at Twitter prior to the acquisition. I started building the observability system with the official prometheus community charts [1], but quickly ran into issues where the individual charts didn’t work with each other. I was frustrated with how difficult it was to configure these charts. They weren’t well integrated, so I switched to the kube-prometheus-stack [2] umbrella chart which attempts to solve this integration problem.<p>The umbrella chart got us further but we quickly ran into operational challenges. Upgrading the chart introduced breaking changes we couldn’t see until they were applied, causing incidents. We needed to manage secrets securely so we mixed in ExternalSecrets with many of the charts. We decided to handle these customizations by implementing the rendered manifests pattern [3] using scripts in our CI pipeline.<p>These CI scripts got us further, but we found them costly to maintain. We needed to be careful to execute them with the same context they were executed in CI. We realized we were reinventing tools to manage a hierarchy of helm values.yaml files to inject into multiple charts.<p>We saw the value in the rendered manifests pattern but could not find an agreed upon implementation. I’d been thinking about the comments from the <i>Why are we templating YAML?</i> [4][5] posts and wondering what an answer to this question would look like, so I built a Go command line tool to implement the pattern as a data pipeline. We still didn’t have a good way to handle the data values. We were still templating YAML which didn’t catch errors early enough. It was too easy to render invalid resources Kubernetes rejected.<p>I searched for a solution to manage and merge helm values. A few HN comments mentioned CUE [6], and an engineer we worked with at Twitter used CUE to configure Envoy at scale, so I gave it a try. I quickly appreciated how CUE provides both strong type checking and validation of constraints, unifies all configuration data, and provides clarity into where values originate from.<p>Take a look at Holos if you’re looking to implement the rendered manifests pattern or can’t shake that feeling it should be easier to integrate third party software into Kubernetes like we felt. We recently overhauled our docs to be easier to get started and work locally on your device.<p>In the future we’re planning to use Holos much like Debian uses APT, to integrate open source software into a holistic k8s distribution.<p>[1]: <<a href="https://github.com/prometheus-community/helm-charts">https://github.com/prometheus-community/helm-charts</a>><p>[2]: <<a href="https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack">https://github.com/prometheus-community/helm-charts/tree/mai...</a>><p>[3]: <<a href="https://akuity.io/blog/the-rendered-manifests-pattern" rel="nofollow">https://akuity.io/blog/the-rendered-manifests-pattern</a>><p>[4]: <i>Why are we templating YAML? (2019)</i> - <<a href="https://news.ycombinator.com/item?id=19108787">https://news.ycombinator.com/item?id=19108787</a>><p>[5]: <i>Why are we templating YAML? (2024)</i> - <<a href="https://news.ycombinator.com/item?id=39101828">https://news.ycombinator.com/item?id=39101828</a>><p>[6]: <<a href="https://cuelang.org/" rel="nofollow">https://cuelang.org/</a>>

Show HN: Holos – Configure Kubernetes with CUE data structures instead of YAML

Hi HN! I’m excited to share Holos, a Go command line tool we wrote to fill the configuration management gap in Kubernetes. Holos uses CUE to configure software distributed with Helm and Kustomize using a well defined, type safe language eliminating the need to template YAML. You probably know (or are) someone who has suffered with the complexity of plain text YAML templates and merging multiple values.yaml files together to configure software running in Kubernetes. We built Holos so we don’t have to template YAML but we can still integrate software distributed with Helm and Kustomize holistically into one unified configuration.<p>At the start of the pandemic I was migrating our platform to Kubernetes from virtual machines managed by Puppet. My primary goal was to build an observability system similar to what we had when we managed Puppet at Twitter prior to the acquisition. I started building the observability system with the official prometheus community charts [1], but quickly ran into issues where the individual charts didn’t work with each other. I was frustrated with how difficult it was to configure these charts. They weren’t well integrated, so I switched to the kube-prometheus-stack [2] umbrella chart which attempts to solve this integration problem.<p>The umbrella chart got us further but we quickly ran into operational challenges. Upgrading the chart introduced breaking changes we couldn’t see until they were applied, causing incidents. We needed to manage secrets securely so we mixed in ExternalSecrets with many of the charts. We decided to handle these customizations by implementing the rendered manifests pattern [3] using scripts in our CI pipeline.<p>These CI scripts got us further, but we found them costly to maintain. We needed to be careful to execute them with the same context they were executed in CI. We realized we were reinventing tools to manage a hierarchy of helm values.yaml files to inject into multiple charts.<p>We saw the value in the rendered manifests pattern but could not find an agreed upon implementation. I’d been thinking about the comments from the <i>Why are we templating YAML?</i> [4][5] posts and wondering what an answer to this question would look like, so I built a Go command line tool to implement the pattern as a data pipeline. We still didn’t have a good way to handle the data values. We were still templating YAML which didn’t catch errors early enough. It was too easy to render invalid resources Kubernetes rejected.<p>I searched for a solution to manage and merge helm values. A few HN comments mentioned CUE [6], and an engineer we worked with at Twitter used CUE to configure Envoy at scale, so I gave it a try. I quickly appreciated how CUE provides both strong type checking and validation of constraints, unifies all configuration data, and provides clarity into where values originate from.<p>Take a look at Holos if you’re looking to implement the rendered manifests pattern or can’t shake that feeling it should be easier to integrate third party software into Kubernetes like we felt. We recently overhauled our docs to be easier to get started and work locally on your device.<p>In the future we’re planning to use Holos much like Debian uses APT, to integrate open source software into a holistic k8s distribution.<p>[1]: <<a href="https://github.com/prometheus-community/helm-charts">https://github.com/prometheus-community/helm-charts</a>><p>[2]: <<a href="https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack">https://github.com/prometheus-community/helm-charts/tree/mai...</a>><p>[3]: <<a href="https://akuity.io/blog/the-rendered-manifests-pattern" rel="nofollow">https://akuity.io/blog/the-rendered-manifests-pattern</a>><p>[4]: <i>Why are we templating YAML? (2019)</i> - <<a href="https://news.ycombinator.com/item?id=19108787">https://news.ycombinator.com/item?id=19108787</a>><p>[5]: <i>Why are we templating YAML? (2024)</i> - <<a href="https://news.ycombinator.com/item?id=39101828">https://news.ycombinator.com/item?id=39101828</a>><p>[6]: <<a href="https://cuelang.org/" rel="nofollow">https://cuelang.org/</a>>

Show HN: I made Gyroscopic Gyro Sandwiches

Have you noticed that a gyro sandwich is only cooked in one axis? What a missed opportunity.<p>The following details an elaborate way to slow cook food, using a handmade contraption. Not only is it tasty, it's mesmerizing. Feel free to copy the design for your own festivities.

Show HN: I made Gyroscopic Gyro Sandwiches

Have you noticed that a gyro sandwich is only cooked in one axis? What a missed opportunity.<p>The following details an elaborate way to slow cook food, using a handmade contraption. Not only is it tasty, it's mesmerizing. Feel free to copy the design for your own festivities.

Show HN: I made Gyroscopic Gyro Sandwiches

Have you noticed that a gyro sandwich is only cooked in one axis? What a missed opportunity.<p>The following details an elaborate way to slow cook food, using a handmade contraption. Not only is it tasty, it's mesmerizing. Feel free to copy the design for your own festivities.

Show HN: HackerNews-new-jobs – insights into fresh and recurring job ads

The website is meant for people that look for jobs on HackerNews "Who's Hiring" threads and want to focus more on fresh ads and companies, or to quickly look up ad history of any company.<p>Github repository: <a href="https://github.com/nemanjam/hn-new-jobs">https://github.com/nemanjam/hn-new-jobs</a><p>Demo website: <a href="https://hackernews-new-jobs.arm1.nemanjamitic.com" rel="nofollow">https://hackernews-new-jobs.arm1.nemanjamitic.com</a><p>I used Algolia API as a data source, along with scheduled task that parses new threads few times at the beginning of each month. The extracted data is then stored in SQLite database for fast querying, and the results are cached with Keyv for faster page responses. I will see in the future how much traffic the website receives and if this stack is performant enough. For the website I used Next.js app with default ShadcnUI components and charts. I just wanted a quick functional prototype to test how much public interest is there for an app with functionality like this.<p>If you are interested in more implementation details you can find them in the Readme file on Github.<p>The project is free and open source. Feel free to use, self-host, fork and modify, and contribute. I would love to hear your impressions and suggestions and look forward to discussing features and technical details.

Show HN: HackerNews-new-jobs – insights into fresh and recurring job ads

The website is meant for people that look for jobs on HackerNews "Who's Hiring" threads and want to focus more on fresh ads and companies, or to quickly look up ad history of any company.<p>Github repository: <a href="https://github.com/nemanjam/hn-new-jobs">https://github.com/nemanjam/hn-new-jobs</a><p>Demo website: <a href="https://hackernews-new-jobs.arm1.nemanjamitic.com" rel="nofollow">https://hackernews-new-jobs.arm1.nemanjamitic.com</a><p>I used Algolia API as a data source, along with scheduled task that parses new threads few times at the beginning of each month. The extracted data is then stored in SQLite database for fast querying, and the results are cached with Keyv for faster page responses. I will see in the future how much traffic the website receives and if this stack is performant enough. For the website I used Next.js app with default ShadcnUI components and charts. I just wanted a quick functional prototype to test how much public interest is there for an app with functionality like this.<p>If you are interested in more implementation details you can find them in the Readme file on Github.<p>The project is free and open source. Feel free to use, self-host, fork and modify, and contribute. I would love to hear your impressions and suggestions and look forward to discussing features and technical details.

Show HN: HackerNews-new-jobs – insights into fresh and recurring job ads

The website is meant for people that look for jobs on HackerNews "Who's Hiring" threads and want to focus more on fresh ads and companies, or to quickly look up ad history of any company.<p>Github repository: <a href="https://github.com/nemanjam/hn-new-jobs">https://github.com/nemanjam/hn-new-jobs</a><p>Demo website: <a href="https://hackernews-new-jobs.arm1.nemanjamitic.com" rel="nofollow">https://hackernews-new-jobs.arm1.nemanjamitic.com</a><p>I used Algolia API as a data source, along with scheduled task that parses new threads few times at the beginning of each month. The extracted data is then stored in SQLite database for fast querying, and the results are cached with Keyv for faster page responses. I will see in the future how much traffic the website receives and if this stack is performant enough. For the website I used Next.js app with default ShadcnUI components and charts. I just wanted a quick functional prototype to test how much public interest is there for an app with functionality like this.<p>If you are interested in more implementation details you can find them in the Readme file on Github.<p>The project is free and open source. Feel free to use, self-host, fork and modify, and contribute. I would love to hear your impressions and suggestions and look forward to discussing features and technical details.

Show HN: Don't let your billion-dollar ideas die

Most great ideas are either forgotten or die in our notes app. So made this simple website in a day.<p>1. Save your ideas<p>2. Set an expiry<p>3. After expiry, the ideas goes public. So if you don't work on them, someone else probably will

Show HN: Don't let your billion-dollar ideas die

Most great ideas are either forgotten or die in our notes app. So made this simple website in a day.<p>1. Save your ideas<p>2. Set an expiry<p>3. After expiry, the ideas goes public. So if you don't work on them, someone else probably will

Show HN: Don't let your billion-dollar ideas die

Most great ideas are either forgotten or die in our notes app. So made this simple website in a day.<p>1. Save your ideas<p>2. Set an expiry<p>3. After expiry, the ideas goes public. So if you don't work on them, someone else probably will

Show HN: Don't let your billion-dollar ideas die

Most great ideas are either forgotten or die in our notes app. So made this simple website in a day.<p>1. Save your ideas<p>2. Set an expiry<p>3. After expiry, the ideas goes public. So if you don't work on them, someone else probably will

Show HN: Grow Bluesky – A curated collection of the best tools for Bluesky users

If you're building a service for Bluesky, share it in the comments, and I'll add it to Grow Bluesky

Show HN: Ternary Computer System

Hi everyone! I'm an Italian programmer, very passionate about computer architecture. Some time ago I realized that some architectures potentially much superior to the classic VonNeumann, have been forgotten because there were no reliable technical solutions to implement them.<p>One of these architectures particularly struck me and it is the "Dataflow architecture", in which there is no Program counter, but the instructions are executed in real contemporaneity whenever the operands are available.<p>In trying to find a technical solution that implements this type of architecture effectively (spoiler: yes, maybe I succeeded but I still have to test the real correct functioning!) I realized that this solution works more than well with three logical states. And at this point I discovered that perhaps it is better to implement a CPU with three states (ternary) instead of a white one. This as a first step to realize my dataflow solution.<p>Obviously a world has opened up to me regarding ternary CPUs, I have discovered not only that they are the best solution implemented for a computing device, but also that an increasing number of university and researcher papers are dealing with them in recent times.<p>This is also thanks to the enormous potential compared to normal CPUs; lower circuit complexity (and also lower consumption and lower heat production) but at the same time the truly formidable information representation capabilities compared to binary counterparts!<p>So here I am creating this ternary CPU and all the hardware and software to be able to use it immediately. In the link you have found some other details, but obviously for questions, suggestions or anything else you can insert your comment here!

Show HN: Ternary Computer System

Hi everyone! I'm an Italian programmer, very passionate about computer architecture. Some time ago I realized that some architectures potentially much superior to the classic VonNeumann, have been forgotten because there were no reliable technical solutions to implement them.<p>One of these architectures particularly struck me and it is the "Dataflow architecture", in which there is no Program counter, but the instructions are executed in real contemporaneity whenever the operands are available.<p>In trying to find a technical solution that implements this type of architecture effectively (spoiler: yes, maybe I succeeded but I still have to test the real correct functioning!) I realized that this solution works more than well with three logical states. And at this point I discovered that perhaps it is better to implement a CPU with three states (ternary) instead of a white one. This as a first step to realize my dataflow solution.<p>Obviously a world has opened up to me regarding ternary CPUs, I have discovered not only that they are the best solution implemented for a computing device, but also that an increasing number of university and researcher papers are dealing with them in recent times.<p>This is also thanks to the enormous potential compared to normal CPUs; lower circuit complexity (and also lower consumption and lower heat production) but at the same time the truly formidable information representation capabilities compared to binary counterparts!<p>So here I am creating this ternary CPU and all the hardware and software to be able to use it immediately. In the link you have found some other details, but obviously for questions, suggestions or anything else you can insert your comment here!

Show HN: Ternary Computer System

Hi everyone! I'm an Italian programmer, very passionate about computer architecture. Some time ago I realized that some architectures potentially much superior to the classic VonNeumann, have been forgotten because there were no reliable technical solutions to implement them.<p>One of these architectures particularly struck me and it is the "Dataflow architecture", in which there is no Program counter, but the instructions are executed in real contemporaneity whenever the operands are available.<p>In trying to find a technical solution that implements this type of architecture effectively (spoiler: yes, maybe I succeeded but I still have to test the real correct functioning!) I realized that this solution works more than well with three logical states. And at this point I discovered that perhaps it is better to implement a CPU with three states (ternary) instead of a white one. This as a first step to realize my dataflow solution.<p>Obviously a world has opened up to me regarding ternary CPUs, I have discovered not only that they are the best solution implemented for a computing device, but also that an increasing number of university and researcher papers are dealing with them in recent times.<p>This is also thanks to the enormous potential compared to normal CPUs; lower circuit complexity (and also lower consumption and lower heat production) but at the same time the truly formidable information representation capabilities compared to binary counterparts!<p>So here I am creating this ternary CPU and all the hardware and software to be able to use it immediately. In the link you have found some other details, but obviously for questions, suggestions or anything else you can insert your comment here!

Show HN: Ternary Computer System

Hi everyone! I'm an Italian programmer, very passionate about computer architecture. Some time ago I realized that some architectures potentially much superior to the classic VonNeumann, have been forgotten because there were no reliable technical solutions to implement them.<p>One of these architectures particularly struck me and it is the "Dataflow architecture", in which there is no Program counter, but the instructions are executed in real contemporaneity whenever the operands are available.<p>In trying to find a technical solution that implements this type of architecture effectively (spoiler: yes, maybe I succeeded but I still have to test the real correct functioning!) I realized that this solution works more than well with three logical states. And at this point I discovered that perhaps it is better to implement a CPU with three states (ternary) instead of a white one. This as a first step to realize my dataflow solution.<p>Obviously a world has opened up to me regarding ternary CPUs, I have discovered not only that they are the best solution implemented for a computing device, but also that an increasing number of university and researcher papers are dealing with them in recent times.<p>This is also thanks to the enormous potential compared to normal CPUs; lower circuit complexity (and also lower consumption and lower heat production) but at the same time the truly formidable information representation capabilities compared to binary counterparts!<p>So here I am creating this ternary CPU and all the hardware and software to be able to use it immediately. In the link you have found some other details, but obviously for questions, suggestions or anything else you can insert your comment here!

Show HN: Replace CAPTCHAs with WebAuthn passkeys for bot prevention

I built Nocaptcha after getting frustrated with traditional CAPTCHAs both as a user and developer. WebAuthn passkeys offered a promising alternative that's both more secure and user-friendly.<p>What makes Nocaptcha different: - Uses WebAuthn standard instead of puzzle-solving - No need for users to remember passwords or solve puzzles - Open source<p>Current limitation: Working with W3C WebAuthn Community Group on true passkey disposal for this use case.<p>Looking for feedback particularly on: 1. Integration experience 2. User experience compared to traditional CAPTCHAs

Show HN: Replace CAPTCHAs with WebAuthn passkeys for bot prevention

I built Nocaptcha after getting frustrated with traditional CAPTCHAs both as a user and developer. WebAuthn passkeys offered a promising alternative that's both more secure and user-friendly.<p>What makes Nocaptcha different: - Uses WebAuthn standard instead of puzzle-solving - No need for users to remember passwords or solve puzzles - Open source<p>Current limitation: Working with W3C WebAuthn Community Group on true passkey disposal for this use case.<p>Looking for feedback particularly on: 1. Integration experience 2. User experience compared to traditional CAPTCHAs

< 1 2 3 ... 98 99 100 101 102 ... 826 827 828 >