Friday, August 25, 2023

Show HN: JSON Wrapper for React Native https://ift.tt/EcNeMTA

Show HN: JSON Wrapper for React Native https://ift.tt/kxgLQMr August 25, 2023 at 10:56AM

Show HN: A simple web app to combat phone addiction https://ift.tt/bTvJt5x

Show HN: A simple web app to combat phone addiction When I'm stuck on coding something, I find myself reaching for my phone even if I don't have any particular reason to do so. Inspired by Calm's DoNothingFor2Minutes.com which launched on HN 13 years ago [1], I made this simple webapp to see if my friends and I could go an hour without touching our phones. It is surprisingly difficult. According to a 2022 survey [2], the average US adult picks up their phone 352 times per day, or approximately once every 2m43s while they're awake. On browsers that support it (iOS 16.4+, most versions of Android Chrome), it uses the Screen Wake Lock API [3] to keep the page open, and falls back to nosleep.js [4] otherwise. From testing on my iPhone 14 Pro Max running iOS 16.6, battery life only went down 3 or 4 percentage points after an hour with the wake lock. Made this as a web app as a quick demo to be compatible across all mobile devices. As an app, we can probably save more on battery + not have the screen on. One caveat is that on iOS this will actually increase your Screen Time (although hopefully reduce your other category usage). I currently only track time on page through Google Analytics 4. No other calls are made to a server, although if we actually wanted to verify that you kept the page open vs. javascript/inspector-system clock-fu, we could add a verified mode that pings the server every X minutes. As a PWA, possibly due to an iOS/Mobile Safari quirk/bug [5], neither wake lock nor nosleep.js appear to work . [1] https://ift.tt/kpmgLSq [2] https://ift.tt/GPqs36h [3] https://ift.tt/OxkGXKF... [4] https://ift.tt/f4SRM8u [5] https://ift.tt/QodkVla https://ift.tt/cTWnpyF August 25, 2023 at 02:15AM

Thursday, August 24, 2023

Show HN: Collie – A minimal RSS reader just for you https://ift.tt/MwtqOBc

Show HN: Collie – A minimal RSS reader just for you Collie is a minimal RSS feed reader application running on your desktop. With Collie, you can subscribe to multiple RSS/Atom feeds to organize your own news feed, receive a real-time notification when a new item is added to the subscribed feed, and save the items to read again or later. All you need is a local machine and the Internet. No virtual machine, no cloud infrastructures, no always-on database, and no account registration with privacy information required. I've been getting tech news from HackerNews, Lobsters, etc. on Twitter (It's X now, but I'll keep calling it Twitter anyway), but many of them have been terminated due to changes in Twitter's API policy. I went from place to place: Bluesky, Mastodon, Slack, and newsletter. However, I couldn't settle anywhere. The social media services such as Bluesky and Mastodon had too many unnecessary features as news feed. Slack RSS was good to get the news in real-time, but the notifications mixed with other workspaces overwhelmed me. The newsletters gave me a lot of high-quality information, but not in real-time. Then, I remembered Miniflux, the "minimalist and opinionated feed reader" that I had used past. This is the best option for my goal, but I had to pay for the hosted version or keep running docker machine on my local computer which did not have enough resources. Additionally, I didn't need a system that maintains multi-user sessions. Eventually, I had no choice but to create my own application, and that's why I made Collie, the minimal RSS reader just for me. https://ift.tt/WcKgIEX August 25, 2023 at 10:58AM

Show HN: Convert Text, PDF, Docs, Scan or Image to Speech https://ift.tt/D48t2NQ

Show HN: Convert Text, PDF, Docs, Scan or Image to Speech https://ift.tt/CNRzIuP August 24, 2023 at 11:13PM

Show HN: Playwright in Docker with hot reloading – Simple testautomation https://ift.tt/r0HqsO9

Show HN: Playwright in Docker with hot reloading – Simple testautomation https://ift.tt/tq8w7GO August 24, 2023 at 02:13PM

Show HN: Automate complicated manual business processes https://ift.tt/9U8Ttfw

Show HN: Automate complicated manual business processes https://ift.tt/UzORbri August 24, 2023 at 10:27AM

Wednesday, August 23, 2023

Show HN: How the result of the Stack Overflow survey changes over the years https://ift.tt/67gxRT1

Show HN: How the result of the Stack Overflow survey changes over the years https://ift.tt/lbFqX1v August 24, 2023 at 10:21AM

Show HN: OnePrompt – Personal Assistant ChatBot Using GPT https://ift.tt/zGN7aV6

Show HN: OnePrompt – Personal Assistant ChatBot Using GPT OnePrompt is an iOS application similar to ChatGPT, utilizing the OpenAI API. OnePrompt offers unique plugins of utilizing iOS native features through "function calling." It also allows users to create their own custom plugins. You can find more information about creating custom plugins for OnePrompt at https://ift.tt/LnmvVDI . https://ift.tt/b48PDE9 August 24, 2023 at 08:57AM

Show HN: Gentrace – evaluation and observability for generative AI https://ift.tt/az1chgJ

Show HN: Gentrace – evaluation and observability for generative AI Hi HN, Gentrace is our new evaluation and observability tool for generative AI (open beta). Generative pipelines are hard to evaluate because outputs are subjective. Lots of developers end up just doing “gut checks” on a few inputs before shipping changes, or they build up a spreadsheet of test cases that they manually run through the pipeline. Some companies outsource filling out the spreadsheet. However, in any of these cases, you end up with a very slow and expensive process for evaluation. At one point, we did this too. Gentrace is the result of a pivot; it was an internal tool we used to automatically grade new PRs as developers shipped changes to generative pipelines that other people thought might be useful. Gentrace makes pre-production testing of generative pipelines continuous and nearly instantaneous. In Gentrace, you: - Import and/or construct suites of test data - Use a combination of AI and heuristic evaluators to grade for quality, hallucination, safety, etc - Use our interface to correct automated grades or add your own (yourself or a member of your team) Gentrace integrates at a code level for evaluation, meaning we test your generative AI pipeline the way you would test normal code. This allows you to test more than just prompt changes; for example, you can compare models (eg Claude 2 vs GPT-4 vs GPT 3.5 vs Llama 2) or see the effects of additional chained steps (”Rewrite the previous answer in the following tone:”). Here’s a video overview that goes into a bit more detail: https://youtu.be/XxgDPSrTWIw In production, Gentrace observes for speed, cost, and data flow. It also shows real user feedback as well. We do this by integrating via our SDK at a code level; Gentrace does not proxy requests. Soon, we’ll allow you to convert production data into test cases, allowing customer support to turn bad production generations into “failing tests” for AI teams to make pass. We process interim steps and multiple outputs as well, helping evaluate agent flows / chains where the “last output” isn’t always the only thing that matters. There’s been a lot of observability tools published recently. We differ from those by focusing more strongly on blending observability with strong evaluation and by using an SDK rather than a “man-in-the-middle” approach to capturing data (ie Gentrace can be down and your request to OpenAI will still succeed). Within the evaluation landscape, we differentiate by integrating with code (see above for benefits) for capturing generative outputs and by providing a customizable UI workflow for building evaluators. In Gentrace, you start with off-the-shelf automated evaluators and then customize them to your specific task. You also build and run new evaluators on old generative outputs. Finally, you easily override automated evaluators and/or blend automated evaluation with evaluation by humans on your team. We also focus on being suitable for business use. We are SOC 2 Type 1 compliant (Type 2 coming shortly), have robust legal documentation around data processing, security, and privacy, and have already passed several vendor legal and security reviews at large technology companies. Our standard usage-based pricing is available on the website: https://ift.tt/YcCg6LK If you are building features with generative AI, we would love to get your feedback. You can self-serve sign up (without a credit card) for a 14 day trial here: https://gentrace.ai/ We’re available right here for feedback and questions. We’re also available at support@gentrace.ai. Best, Doug, Vivek, and Daniel https://gentrace.ai August 23, 2023 at 10:08PM

Show HN: Script to Auto-Generate Commit Messages with AI https://ift.tt/bCT01ps

Show HN: Script to Auto-Generate Commit Messages with AI The goal is to integrate the capabilities of OpenAI's GPT-3 model into the Git commit process. The tool inspects the staged changes and auto-generates descriptive commit messages which can be used as template for the commit command. https://ift.tt/7NsIF4S August 23, 2023 at 06:32PM

Show HN: Pip install inference, open source computer vision deployment https://ift.tt/VKcGLdX

Show HN: Pip install inference, open source computer vision deployment Deploying vision models is time consuming and tedious. Setting up dependencies. Fixing conflicts. Configuring TRT acceleration. Flashing (and re-flashing) NVIDIA Jetsons. A streamlined, developer-friendly solution for inference is needed. We, the Roboflow team, have been hard at work open sourcing Inference, an open source vision deployment solution. Our solution is designed with developers in mind, offering a HTTP-based interface. Run models on your hardware without having to write architecture-specific inference code. Here's a demo showing how to go from a model to GPU inference on a video of a football game in ~10 minutes: https://www.youtube.com/watch?v=at-yuwIMiN4 Inference powers millions of daily API calls for global sports broadcasts, one of the world’s largest railways, a leading electric car manufacturer, and multiple other Fortune 500 companies, along with countless hackers’ hobby and research projects. Inference works in Docker and supports CPU (ARM and x86), NVIDIA GPU, and TRT. Inference manages dependencies and the environment. All you need to do is make HTTP requests to the server. YOLOv5, YOLOv8, YOLACT, CLIP, SAM, and other popular vision models are supported (some models need to be hosted on Roboflow first, see the docs; we're working on bring your own model weights!). Try it out and tell us what you think! https://ift.tt/OKAsDgU August 23, 2023 at 04:34PM

Show HN: To mute words on Twitter in batches, I created a browser extension https://ift.tt/k53Mv7x

Show HN: To mute words on Twitter in batches, I created a browser extension Hello HN community :) For a while now I've been watching my Twitter feed fill up with more and more crap. The fact that it's now possible to monetise your tweets has made things even crappier. At the same time, adding words to mute is a pain. First you have to find the option, buried deep in Twitter's settings, and then you have to add them one by one. So I came up with the idea of writing a little browser extension that lets you add lists of muted words, which can come from more or less anywhere, as long as they're in a certain format (a multi-line text file or a JSON array). The extension doesn't collect any data, you don't need an account to use it, and you can store your lists anywhere (although I'd recommend Github gist or Pastebin). To be honest, I made this mainly as an exercise to learn how a browser extension works and how to make one, but if it's useful to people, that's great! Feel free to let me know what you think and give it a try. If there's ever an audience for it, I'm thinking of taking it further by adding lists of people to mute, extracting your existing list of muted words from Twitter, etc.If you have any other ideas for development, I'd love to hear from you. https://ift.tt/tpSQiEL August 23, 2023 at 05:13PM

Tuesday, August 22, 2023

Show HN: Open-Source Chat AI Platform with Custom Knowledge https://ift.tt/mJPbUcQ

Show HN: Open-Source Chat AI Platform with Custom Knowledge https://ift.tt/1bXQscl August 22, 2023 at 09:38PM

Show HN: Scribble with AI – Create social media creatives with AI https://ift.tt/mnl6G7w

Show HN: Scribble with AI – Create social media creatives with AI I've been working on a project that will create social media creatives from prompts. This will let users create social media posts quickly. Let me give an example. Suppose I want to make a post on "Give me 8 health benefits of Ginger", it gives me 8 health benefits in the form of images that I can post on my social media. Here's the output -> https://ift.tt/XTrIbdt... If you'd like to try it out with your own prompts you can signup and give it a try. No credit cards is required to get started. I would love to have your feedback about this product. I am also looking for someone who might be interested in this project and is open to mentoring, so that I can learn to market this product and build a business around it. You can reach me out at scribblewithai@gmail.com Thanks! https://ift.tt/FYO4hXc August 23, 2023 at 01:06AM

Show HN: A CLI tool and controller to access K8s network through WireGuard https://ift.tt/375yvcW

Show HN: A CLI tool and controller to access K8s network through WireGuard Hi everyone! k8s-insider is a CLI tool to manage VPN networks and access Kubernetes workload and service resources directly through a WireGuard tunnel. It started as a simple Helm chart with a linuxserver/wireguard-like container image but, possibly due to my neurodivergence getting the better of me, evolved into a toolbox that, depending on the cluster configuration, can more or less automagically configure multiple networks with dynamic IP assignments and netpol-limited access to the cluster. I’ve found it to be a perfect middle ground between juggling multiple port-forwards and deploying something like Tailscale to the cluster. And it’s written in Rust, which made it oh-so-lovely to work on. :> https://ift.tt/Iuhm3zc August 22, 2023 at 09:00PM

Show HN: Breaklist – A Morning Briefing Printed on a Tiny Thermal Receipt https://ift.tt/z8A2kq6

Show HN: Breaklist – A Morning Briefing Printed on a Tiny Thermal Receipt I built Breaklist to organize the essential info I need to start my day. It generates a personalized morning briefing, optimized for thermal printers. The morning report currently includes: Task list Reminders Weather forecast Summary of latest top articles on Hacker News The result is a tidy, receipt-sized report that I can print and take on-the-go each morning. https://ift.tt/jlZ0kJo August 22, 2023 at 05:28PM

Show HN: Convert Research Papers into Dynamic Mind Maps with Claude https://ift.tt/sMXxWlk

Show HN: Convert Research Papers into Dynamic Mind Maps with Claude https://ift.tt/W24NCFB August 22, 2023 at 02:05PM

Show HN: Speleomorph, Shapeshifting Puzzle Metroidvania https://ift.tt/4oEkh2b

Show HN: Speleomorph, Shapeshifting Puzzle Metroidvania This was my entry for a Metroidvania Month game jam last year. I like how Metroidvanias make you rethink movement as the game goes on, and since I didn't want to design combat I focused on that. But I didn't want the different mechanics to be objects you pick up. The theme for the jam was "shapeshifting", which suggested the unusual mechanic seen here. Fortunately I'd forgotten about Snakebird or I might not have been bold enough to make the gravity+snake parts so prominent. And in the year since this came out, there have been at least three cool puzzle games nearby in design space: - Tetronimeow https://ift.tt/YQbHGkC has a heavy focus on rotation (which I skipped to avoid confusion), it gets much more Metroidvania mileage out of the central idea - Growmi https://ift.tt/TDCf3lZ does a great job building mechanics out of the snake+gravity idea - The Plumber Thing https://ift.tt/vyIGZDV If this looks familiar, I did post a Show HN last year, but dang invited me to re-submit it. I kept putting it off in hopes I could make a big splash when launching a new version: I have some ideas for touchscreens (currently keyboard only) and for an earlier game with more restricted abilities (no free transformation, then swapping with just one previous shape). But it's looking unlikely that I'll revisit it. https://ift.tt/IG9CtXx August 22, 2023 at 08:41AM

Monday, August 21, 2023

Show HN: VisionScript, abstract programming language for computer vision https://ift.tt/WQhvpjU

Show HN: VisionScript, abstract programming language for computer vision Hello! I'm James and I am working on VisionScript. With VisionScript, I want to empower people -- including everyone without any prior programming experience -- to build cool apps with vision. This weekend, I recorded a demo for VisionScript, in which I made apps that count how many cats are in an image and hides people in a video. Each app was < 10 lines of code. https://vimeo.com/856043804 VisionScript is built for the 10 year old inside of me who would have loved more visual programming languages with which to play. I want to show people the potential of programming and how you can make what you want with computers, whether it be a game that counts cats or an app that monitors how many birds flew past a tree. Those "wow" moments should come as soon as possible in one's learning experience. VisionScript is in active development. I started work on this project in July. There will likely be bugs; this is a passion project. Inspiration comes from Wolfram and Python. Behind the scenes, I am adopting what I am calling "lexical inference", which is to say there is a last state value on which functions infer; the language manages types and state. https://github.com/capjamesg/visionscript August 22, 2023 at 12:18AM

Show HN: Blast, A Load generator for TCP servers https://ift.tt/bR7lMGP

Show HN: Blast, A Load generator for TCP servers https://ift.tt/tZCf6de August 21, 2023 at 07:46PM

Show HN: GETadb.com – every GET request creates a DB https://ift.tt/Ywc5DHL

Show HN: GETadb.com – every GET request creates a DB Hey HN! We made GETadb.com, so it's easier to get agents to build you full stack ap...