Tuesday, 4 April 2023

New Show Hacker News story: latest news

Show HN: NanoApp.dev – Turn JSON into Native Mobile App
3 by sandeshnaroju | 0 comments on Hacker News.


New Show Hacker News story: latest news

Show HN: Enhancing GPT with domain knowledge using vector databases
6 by fzliu | 0 comments on Hacker News.
Hey HN, Autoregressive language models such as GPT and LLaMA have a tendency to hallucinate when asked about out-of-domain questions. An easy way to minimize these hallucinations is to supply LLMs with external sources of domain-specific data using a vector database. To this end, we built OSSChat, a GPT- and Zilliz-powered project that you can use to ask questions about, summarize, and analyze open source projects by indexing the documentation and automatically searching for relevant documents when asking a question (these documents are then injected into the LLM as prompt). While we decided to focus on open source projects - Pytorch, Transformers, and Milvus - for now, OSSChat is easily extensible to a variety of other types of data. We are committed to adding support for more projects in the future, so don't hesitate to let us know your favorite project! site: https://osschat.io discord: https://ift.tt/4gmWUjC blog: https://ift.tt/UPyCwhx Enjoy the project!

New Show Hacker News story: latest news

Show HN: Datree (YC W20) – End-to-End Policy Management for Kubernetes
31 by shimont | 4 comments on Hacker News.
Hi HN, I’m Shimon, the co-founder of Datree: A policy management solution for Kubernetes. We help DevOps engineers prevent misconfigurations in their Kubernetes by enforcing an organizational policy on their clusters. Engineers can define a custom policy or use one of Datree’s built-in policies, such as NIST/NSA Hardening Guide, EKS Security Best Practices, CIS Benchmark, and more. Our website is at https://datree.io and our GitHub is here: https://ift.tt/cZaHoVl This is not the first time I have shown Datree to the HN community: A little over a year ago, I posted here an earlier version of Datree (https://ift.tt/5zaACxT). At that time, Datree consisted of a CLI tool to detect Kubernetes misconfigurations during the development process (locally or in the CI/CD), unlike the version I present today in which the enforcement happens in production. We built the CLI tool because we detected a big problem among Kubernetes operators: Misconfigurations. Kubernetes is extremely complex and flexible, which makes it very easy to poorly configure it in ways that are not secure. And indeed, we talked to dozens of Kubernetes operators who suffered from various problems, starting with failed audits, all the way to downtime in production, all because of misconfigurations. Our solution was simple: Give the developers the means to shift-left security testing during the development process with a CLI tool that can be integrated into the CI/CD. We thought this was the best way to approach the problem: It is easiest to fix misconfigurations in the development process before they are deployed to production, it prevents context-switching and relieves resources from the DevOps team. While the CLI tool was very popular among the open-source community (it got over 6000 stars on GitHub), we soon realized that CI/CD enforcement is not enough. As we talked with Datree’s users, we realized we had made a fundamental mistake: We thought of misconfiguration prevention in technical terms rather than organizational terms. Indeed, from a technical point of view, it makes sense to shift-left Kubernetes security. But when considering the organizational structure in which it takes place, it simply isn’t enough. DevOps engineers told us that they love the shift-left concept, but they simply cannot rely on the goodwill of the engineers to run a CLI tool locally or to monitor all the pipelines leading to production. They need governance, something to help them stay in control of the state of their clusters. Moreover, we realized that many companies who use Kubernetes are heavily regulated, and cannot take any chances with their security. Sure, these companies want the engineers to fix misconfigurations during development, but they also want something to make sure that no matter what, their clusters remain misconfiguration-free. Based on this understanding, we developed a new version of Datree that sits on the cluster itself (rather than in the CI/CD) and protects the production environment by blocking misconfigured resources with an admission webhook. It has a centralized policy management solution to enable governance, and native monitoring to get real-time insights into the state of your Kubernetes. I look forward to hearing your feedback and answering any questions you may have.

Monday, 3 April 2023

New Show Hacker News story: latest news

Show HN
2 by keredson | 0 comments on Hacker News.


New Show Hacker News story: latest news

Show HN: Daba – Turn your JSON into a database
11 by zikero | 5 comments on Hacker News.
Hi all, I built this tool when I needed a simple LocalStorage-esque database for a client project, and figured others might want something similar. Basically turns your JSON into a query-able, hosted database in seconds. You can read/update/delete JSON files by path, just like you would in Javascript. So, something like get(”users[7].address”) And while we’re at it, I also built a simple file storage service where you upload a file and it gives you the URL back. A lot of my (and other devs friends') side projects will never require more data than a JSON file can handle. Yet we always have to go through the hoops of setting up and using databases meant to handle huge amounts of data. There are many other services that could benefit from the same minimalist philosophy. The idea is to have a bunch of building blocks of different services, and let the developer scale up/down the complexity as they see fit. I'm working on more services for daba (In no particular order: SQLite db?, auth, emails, …) You can use this for any applications where the data can fit in a JSON file. (e.g. Website CMS, blog, portfolio, small mobile apps, internal tools, …). You’ll be surprised at how much data a 20mb JSON file can hold: https://ift.tt/bvhZKqe... Let me know what you think

New Show Hacker News story: latest news

Show HN: Img2irc – convert images to IRC or ANSI, with post-processing filters
3 by ballotechnics | 0 comments on Hacker News.