Saturday, December 16, 2023

Show HN: Modern C++ implementations of a words counter with benchmarks https://ift.tt/FdDbRu0

Show HN: Modern C++ implementations of a words counter with benchmarks I uploaded a few days ago some code I had around that some people could find interesting, so I share it here. It is a series of increasingly more performant C++20 words counters (though quite simple in the definition of what a "word" is). Feel free to experiment. Things should be ready to use in Linux and Mac. If you find any problems building, please let me know through Github, I do not have much time but when I find a slot I will correct at least user failures. Planning to add a decent `./bootstrap.sh` to speed up dependencies installation by users. https://ift.tt/DaApmOo December 17, 2023 at 01:09AM

Show HN: Sqlauthz: Declarative permissions management for PostgreSQL https://ift.tt/PkjQScx

Show HN: Sqlauthz: Declarative permissions management for PostgreSQL I've been working on a little project recently to solve a problem that I've encountered at every job I've ever had, and I'm eager for some feedback. Having super granular roles & permissions in PostgreSQL is desirable, but quite difficult to maintain (particularly at smaller companies without dedicated security/devops/DBA/whatever who make it their business to maintain it). I've thought for a while that having a declarative way to manage them would be really useful and allow more teams to actually make use of sophisticated security features that PostgreSQL offers in their production systems. You can probably see where this is going... I wrote a tool to do just that! It's called sqlauthz, and it allows you to declarative manage your PostgreSQL permissions by writing rules in the Polar authorization language. https://ift.tt/mWO3wSb December 17, 2023 at 12:42AM

Show HN: Visualising Rising Temperatures for the Netherlands https://ift.tt/imvYAc4

Show HN: Visualising Rising Temperatures for the Netherlands Something I've been working on this weekend: visualising climate change in the Netherlands. https://ift.tt/3u7W19y I particularly liked the heatmap with monthly temperature data since the 1900s. It's a lot of scrolling, but you can clearly see that climate is accelerating since the '90s. https://ift.tt/EtqlgTU December 16, 2023 at 07:19PM

Friday, December 15, 2023

Show HN: Go framework with builtin OpenAPI support https://ift.tt/SL79Bjw

Show HN: Go framework with builtin OpenAPI support https://ift.tt/zIpMha3 December 16, 2023 at 04:03AM

Show HN: Genji – AI browser ninja that can complete any task on Chrome https://ift.tt/IsuydSk

Show HN: Genji – AI browser ninja that can complete any task on Chrome Hey folks, so I built a chrome extension called Genji, an AI assistant that automatically completes your browser tasks for you. You simply enter your task, and Genji uses GPT-4V to figure out the best browser action to perform next repeatedly until the task is accomplished. The idea is that you can delegate your personal tasks like online shopping or making reservations to Genji. You can also use him professionally to find leads on LinkedIn, send status updates to your boss, or research your competitors and write an analysis document. I’m wondering if you would use Genji as part of your daily routine? Would he be more useful in a personal or professional setting? What concerns do you with using a productivity tool like this? I'm also planning to add voice support and the ability to schedule tasks soon. Do either of these features interest you? If you want to try Genji, download the chrome extension and let me know what you think. It's completely free with no sign up required! https://www.genji.app/ December 16, 2023 at 03:13AM

Show HN: Express.js ported to a Service Worker context https://ift.tt/iDwYobL

Show HN: Express.js ported to a Service Worker context https://ift.tt/YJOf3iT December 16, 2023 at 01:02AM

Show HN: Ottehr is a modern, open-source EHR https://ift.tt/OLJ194G

Show HN: Ottehr is a modern, open-source EHR https://ift.tt/a5qg0fQ December 15, 2023 at 11:53PM

Thursday, December 14, 2023

Show HN: I made a long-distance instant camera https://ift.tt/PXaTnEZ

Show HN: I made a long-distance instant camera Howdy! Wanted to share a weekend project of mine. When you take a picture with snapress it'll print on your friends' printers -- kinda like if you separated the camera and printer parts of a Polaroid and put them in different places. Just something to make picture sharing a little more physical again! It's free to use and all you need is a spare computer or raspberry pi to run the script. Everything takes place in the browser, so there's no need to download an app. I made it mostly as a way to connect with family on upcoming travels, it's a nice surprise to come back home to a printed out picture that was printed the moment they took it. Happy to answer any questions about the project! Thanks! https://ift.tt/NQM4J9m December 14, 2023 at 10:17PM

Show HN: FoxColorBox FF exten that allows you to change, customize Window colors https://ift.tt/hvTfB8z

Show HN: FoxColorBox FF exten that allows you to change, customize Window colors FoxColorBox is a Firefox extension that allows you to change and customize browser Window colors. When you open a new window, it will have a distinct color. You can also change colors by clicking on the extension icon. This can help you differentiate between home, work, and school. It can also be useful when working in development, staging and production environments. https://ift.tt/SCFOvW2 https://ift.tt/abpSqnI https://ift.tt/SCFOvW2 December 15, 2023 at 12:38AM

Show HN: Octopus – a directed acyclic graph for app development https://ift.tt/mYqyFlz

Show HN: Octopus – a directed acyclic graph for app development Directed acyclic graphs are muched discussed in comp-sci, but octopus appears to be the first reusable, turnkey, ready-to-wear, off-the-shelf implementation of a DAG for application development, in any language, that I'm aware of. This is remarkable because DAGs hit a sweet spot in the middle of the three common programming paradigms (OO, event-driven, functional). Let's have a DAG as the top-level structure of our applications. Data-fetching and onChange handlers live in DAG nodes, next to the data they act on. The UI flows out from the DAG with fine-grained reactivity. Our app state is effortlessly consistent, because any outside change (user action, api result) unleashes a graph traversal. Our UI components become much simpler, because they just need to dumbly reflect values in the graph. I'm putting this up for a second time. Absolutely no-one bit the first time, which can't be right :-) https://ift.tt/mbXTi40 December 15, 2023 at 12:06AM

Wednesday, December 13, 2023

Show HN: Gait Analyzer https://ift.tt/nbu6rHL

Show HN: Gait Analyzer When ever I visit my spine doctor, the first thing they ask me to do is to walk for checking my gait. I've been wanting to analyze my gait myself for a long time and only now its been possible due to accessible & efficient ML/AI and the ability to run complex models on local computer. Gait abnormalities can be attributed to various musculoskeletal and neurological conditions and so gait analysis is being used as an important diagnostic tool by doctors. Automated gait analysis requires expensive motion capture or multiple-camera systems. But with Gait Analyzer one can analyze their gait in comfort and privacy of their home on their computer. Gait Analyzer implements the algorithm published in the paper titled Automated Gait Analysis Based on a Marker-Free Pose Estimation Model - https://ift.tt/BmrM4vD . This algorithm for gait analysis is shown to be as reliable as a motion capture system for most scenarios. Gait Analyzer further uses Llama 2 large language model to interpret the gait data to the end user in simple terms. You can test Gait Analyzer by uploading a short side-view video of you walking. In case you want to run it locally in your computer, It's available on docker and its open-source. I'd appreciate your feedback to improve Gait Analyzer. https://ift.tt/Lxogesa https://ift.tt/r2BDsIV December 13, 2023 at 11:35PM

Show HN: Full-Text Search the Browser History Using SQLite and WASM https://ift.tt/HZSRjdx

Show HN: Full-Text Search the Browser History Using SQLite and WASM https://ift.tt/fb0YXNd December 13, 2023 at 08:14PM

Tuesday, December 12, 2023

Show HN: Visualize rotating objects from the 4th, 5th, nth dimensions https://ift.tt/LKe4rJn

Show HN: Visualize rotating objects from the 4th, 5th, nth dimensions Ever since I remember I had a lot of curiosity regarding hyper dimensional spaces. Picturing higher dimensions, such an impossible yet exciting idea... So years ago I came across a small GIF of a tesseract. Since then it left me wondering how cubes from even higher dimensions would look like... Years passed and I became a software developer, decided to tackle the problem myself and ncube was the result. ncube allows you to visualize rotating hypercubes of arbitrary dimensions. It works by rotating the hyperdimensional vertices and applying a chain of perspective projections to them until the 3rd dimension is reached. Everything is generated in real time just from the dimension number. The application is fully free and open source: https://ift.tt/rla0jVp . There, you'll find some demos, more detailed explanation and how you can test it out yourself. Binaries for Windows, Mac and Linux are available: https://ift.tt/MqyYzSA There's also a web version that runs fully on the browser: https://ncube.ndavd.com If you like the project I'd appreciate if you could give it a star on GitHub ♥ If you have any issue or feature request please submit at https://ift.tt/WH0AMkv https://ncube.ndavd.com December 11, 2023 at 11:53PM

Show HN: A dictionary of untranslatable words from around the world https://ift.tt/E4LFfWU

Show HN: A dictionary of untranslatable words from around the world Have you ever come across a word in another language that just perfectly captures a feeling or concept you can't quite express in your own tongue? I created coolforeignwords.com because I wanted to share those "aha" moments with fellow language lovers, and created a website to make those words easier to find. So, whether you're a word nerd, a traveler, or just curious about the world, please feel free to visti my website. Try it out and please share your feedback. It's still very early stage, so would love any advice. Thank you https://ift.tt/vkSbZd5 December 13, 2023 at 03:04AM

Show HN: QA GPT – Write UI tests in plain English powered by GPT-4-Vision https://ift.tt/T4ExkgQ

Show HN: QA GPT – Write UI tests in plain English powered by GPT-4-Vision Hey HN, QA GPT enables engineers and QA teams to write UI and functionality tests in plain english. As engineers, we sometimes get a little lazy when it comes to testing the functionality of our changes. It's hard to switch from coder hat to user hat. However, a single bug can significantly impact users experience and satisfaction. Errors found in production aren't just a nuisance; they're costly. The later a bug is discovered, the more expensive it becomes to fix. I built QA GPT as a proof of concept to make writing UI/functionality tests really easy. It's super simple - just write your test case in plain english and run it. For example: - "Test the new sharing functionality by signing in, selecting a user, and clicking share." - "Log in and try adding a product to the cart" - "Create a new card, view the number of the card, and verify the digits match the face of the card" Let me know what you guys think https://ift.tt/f5adAOC December 13, 2023 at 02:54AM

Show HN: RΞASON – Open-source TypeScript framework for LLM apps https://ift.tt/9hdO4FA

Show HN: RΞASON – Open-source TypeScript framework for LLM apps Hi HN! RΞASON is an OSS Typescript framework for developing LLM apps that uses Typescript's interfaces to get structured output from an LLM. While there are other TS LLM frameworks, I think RΞASON fills a unique space in the market: it's laser-focused on only three areas and, most importantly, actively stays away from pre-made prompting & retrieval. I've been in the LLM space since GPT-3 originally came out, and I've always had problems with other frameworks, such as LangChain. I dislike that they focus a ton on out-of-the-box prompting & pre-made agents — I , as the dev, should be the one in charge of it. My belief is that LLMs are a new primitive that programmers can use — not a new way to program; it's still up to the programmer to do the right thing & create the right abstractions. Therefore, it's the developer's job to learn the new concepts that come from this new primitive, such as prompting & retrieval. I see a similar analogy here with ORMs & SQL. What RΞASON helps with is in areas that don't differentiate your app: getting structured outputs, handling streaming, and observability. The goal of RΞASON is to make creating great LLM experiences easier. We try to accomplish this by simplifying the hard stuff & maximizing performance — decreasing as much as possible the TTUB. RΞASON is OpenTelemetry compatible — which allows observability in almost any tool (Zipkin, Jaeger, paid solutions, etc.). I'd really love to hear feedback about RΞASON! It has been a hobby project for the last months and I'm super curious to what y'all will think. By the way, contributions welcome! https://ift.tt/0JN5ZKi December 13, 2023 at 01:05AM

Monday, December 11, 2023

Show HN: Atomix – UX/UI Design Services for Startups https://ift.tt/8e1pBcI

Show HN: Atomix – UX/UI Design Services for Startups https://atomix.design/ December 11, 2023 at 09:53PM

Show HN: Sherlock – AI that chats with your friends about their gift wishes https://ift.tt/AeQ0L3k

Show HN: Sherlock – AI that chats with your friends about their gift wishes Giftit is reimagining the gifting experience through an AI persona called Sherlock which anonymously surveys your friends on messaging apps like WhatsApp and iMessage and shares the transcript of the conversation with you along with shoppable gift ideas. https://ift.tt/8aPSuEN December 12, 2023 at 12:43AM

Show HN: I built an OSS alternative to Azure OpenAI services https://ift.tt/6HecBoz

Show HN: I built an OSS alternative to Azure OpenAI services Hey HN, I am proud to show you guys that I have built an open source alternative to Azure OpenAI services. Azure OpenAI services was born out of companies needing enhanced security and access control for using different GPT models. I want to build an OSS version of Azure OpenAI services that people could self host in their own infrastructure. "How can I track LLM spend per API key?" "Can I create a development OpenAI API key with limited access for Bob?" "Can I see my LLM spend breakdown by models and endpoints?" "Can I create 100 OpenAI API keys that my students could use in a classroom setting?" These are questions that BricksLLM helps you answer. BricksLLM is an API gateway that let you create API keys with rate limit, cost control and ttl that could be used to access all OpenAI and Anthropic endpoints with out of box analytics. When I first started building with OpenAI APIs, I was constantly worried about API keys being comprised since vanilla OpenAI API keys would grant you unlimited access to all of their models. There are stories of people losing thousands of dollars and the existence of a black market for stolen OpenAI API keys. This is why I started building a proxy for ourselves that allows for the creation of API keys with rate limits and cost controls. I built BricksLLM in Go since that was the language I used to build performative ads exchanges that scaled to thousands of requests per second at my previous job. A lot of developer tools in LLM ops are built with Python which I believe might be suboptimal in terms of performance and compute resource efficiency. One of the challenges building this platform is to get accurate token counts for different OpenAI and Anthropic models. LLM providers are not exactly transparent with the way how they count prompt and completion tokens. In addition to user input, OpenAI and Anthropic pad prompt inputs with additional instructions or phrases that contribute to the final token counts. For example, Anthropic's actual completion token consumption is consistently 4 more than the token count of the completion output. The latency of the gateway hovers around 50ms. Half of the latency comes from the tokenizer. If I start utilizing Go routines, might be able to lower the latency of the gateway to 30ms. BricksLLM is not an observability platform, but we do provide integration with Datadog so you can get more insights regarding what is going on inside the proxy. Compared to other tools in the LLMOps space, I believe that BricksLLM has the most comprehensive features when it comes to access control. Let me know what you guys think. https://ift.tt/o7qhK6w December 12, 2023 at 12:26AM

Sunday, December 10, 2023

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code https://ift.tt/GQauRgE

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code Hi All, Recently I've been using Claude Code a lot for de...