Show HN: AI Avatar Image Generator Based on Other AI Images An AI Avatar image generator that creates images of you based on other AI created images. The popularity of the recent AI Avatar image generator apps sparked some interest of mine in the area. After playing around with a few AI Avatar image generators, some of which generate pictures of you based on pictures you upload and prompts you write, I thought, wouldn't it be much easier, instead of writing out prompts, to just select another image which you want your generated image to be based on. The image the user selects is actually another AI generated image, so we know the prompt used to generate it. So prompt writing is abstracted away from the user, and instead they can search for images and click on ones they like. Backend of the application currently uses Astria AI for the image model training and generation, and uses the Lexica API for getting lists of AI generated images and their prompts. https://ift.tt/nrBtbdp December 15, 2022 at 08:19PM
Show HN: XP1 – A GPT-based Assistant with access to the browser Tabs XP1 is an assistant based on GPT with access to your browser tabs content. It is geared (prompted) towards productivity and can be used to help you with your daily tasks (answering emails, summarizing, extracting structured data from unstructured text, ...) https://xp1.dust.tt December 13, 2022 at 09:27PM
Show HN: ShopWitYoPeople – A black Chicago business directory Hey HN! ShopWitYoPeople ( https://ift.tt/mihBwHM ) was built to showcase Black Chicago businesses. We’re around to answer questions and look forward to hearing everything and anything you have to say! https://ift.tt/ESmiPQM December 13, 2022 at 06:39AM
Show HN: Create auto-updating charts-as-images with low-code/nocode Hello, we just released Image Charts 2.0, a way to create and show a chart as an image anywhere using our custom API and integrations with Zapier and Make. My friend Francois-Guillaume made Image Charts in 2015 to replace Google Image Charts for a project since it was deprecated. Since then we’ve been adding features and getting it integrated with Zapier and Make to make it easy to build good-looking charts automatically. Each chart has a custom URL and HTML code so it’s easy to embed. And you can build progress bars, gradients, and really any kind of chart with it (bar, line, radar, scatter, you name it). We have a gallery of over 30 charts and counting. [Chart gallery]( https://ift.tt/BNFmXI4... ) with sample data The site with the live Editor: [ https://www.image-charts.com/](https://www.image-charts.com/... How-to with gradient fills: [ https://ift.tt/Wj5A4Zu... How-to progress bars: [ https://ift.tt/siXTb4S]... Really looking for feedback and additional use cases, we know it’s used for reporting, transactional emails, and a customer suggested using it in weekly standups for a KPI’s snapshot too. Would love to hear what you think and/or how you would use this. Cheers! https://ift.tt/MEkP9Bj December 13, 2022 at 01:56AM
Show HN: Obsidian: Insert conversation starters generated by AI in your notes I often prepare my conversations beforehand, whether for business or family/friends, with this Templater you can get ready for great & deep conversations using https://langa.me API (free tier). https://ift.tt/G1zHSR5 December 12, 2022 at 10:19PM
Show HN: This VC Does Not Exist I asked This VC Does Not Exist to describe itself: "I have a groundbreaking idea for a new class of product that leverages the power of ChatGPT technology to bypass bias filters and level the playing field for communication. By adding a prefix to the beginning of a ChatGPT prompt, we can generate custom-tailored content that is specifically designed to break through the biases of the person we are communicating with. This technology has the potential to bridge language barriers, cultural divides, and socioeconomic differences, making it possible for anyone to communicate effectively, regardless of their background. I believe this product has the potential to be a game-changer, and I'm excited to share it with you and discuss the possibilities for bringing it to market." Everything on this page was created with DallE and ChatGPT (other than the title). It's using a single session token for ChatGPT - so you're probably going to hug it to death. It is hosted on cloudflare workers. Source code: https://ift.tt/S0PDL97 https://ift.tt/NmQwshk December 9, 2022 at 01:28AM
Show HN: Web search using a ChatGPT-like model that can cite its sources We’ve trained a generative AI model to browse the web and answer questions/retrieve code snippets directly. Unlike ChatGPT, it has access to primary sources and is able to cite them when you hover over an answer (click on the text to go to the source being cited). We also show regular Bing results side-by-side with our AI answer. The model is an 11-billion parameter T5-derivative that has been fine-tuned on feedback given on hundreds of thousands of searches done (anonymously) on our platform. Giving the model web access lessens its burden to need to store a snapshot of human knowledge within its parameters. Rather, it knows how to piece together primary sources in a natural and informative way. Using our own model is also an order of magnitude cheaper than relying on GPT. A drawback to aligning models to web results is that they are less inclined to generate complete solutions/answers to questions where good primary sources don’t exist. Answers generated without underlying citable sources can be more creative but are prone to errors. In the future, we will show both types of answers. Examples: https://ift.tt/jYvNs0F https://ift.tt/MwKbxWg... https://ift.tt/b48am9P... https://ift.tt/NmRdkOD... Would love to hear your thoughts. https://ift.tt/9OAZndE December 8, 2022 at 11:23PM
Show HN: We built a Slack-based workflow assistant for devs & their teams Hey, Nir here - co-founder & CEO of Zigi. It’s a personal workflow assistant that was built for devs and their teams to automate non-coding tasks, giving updates and quick actions only on what’s relevant. It works by examining your activity in Jira and GitHub (more systems being added soon) to understand your workflow, creates context out of all that information, and offers you actionable assistance from Slack. Zigi is customiazible. We’re building it to match every R&D persona so you can tailor the messages and assistance you get to meet your specific needs. Like if you’re TL, you can get daily updates on the progress of your team’s sprint or as a QA, you’ll be notified as soon as ticket is ready for testing. We’re developers who are used to managing big R&D teams and over the last few years, we have seen dev change drastically. There’s so much overhead on top of coding, more dependencies, multiple tools, that developers are overloaded. And now, the world has changed to make teams are remote and in different time zones, which just makes everything more complex. Zigi takes a new approach to driving productivity, while keeping devs and their teams happy. It provides hands-on help with personalized automation, so we can manage our day-to-day tasks with minimal distractions and maximum focus. Some things to know about Zigi: you don’t need to set it up or run any config; it’s customizable to your needs; it only needs user-level permissions and doesn't read or scan your code; it’s ISO 27001/27017 & Soc 2 Type 2 certified and GDPR compliant. It’s also free for devs. Sign up to get started here. Once you install Zigi simply type /zigi support to write our team directly with any feedback, join our Slack channel or leave a comment below (we want to know what you really think!). Twitter: https://twitter.com/zigi_ai Slack support channel: https://ift.tt/YnXTGCS... Write me directly; Nir@zigi.ai https://www.zigi.ai/ December 7, 2022 at 10:52PM
Show HN: Publish from GitHub Actions using multi-factor authentication The backstory about this GitHub Action: I discussed with an open-source maintainer why they publish npm packages from their local machine and do not use CI/CD pipelines. They said publishing should require human intervention and want to continue using multi-factor authentication to publish to the npm registry. This led to building the wait-for-secrets GitHub Action. It prints a URL in the build log and waits for secrets to be entered using a browser. Once entered, the workflow continues, and secrets can be used in future steps. The latest release of "eslint-plugin-react" to the npm registry used a one-time password (OTP) from a GitHub Actions workflow! https://ift.tt/V4AHxas... https://ift.tt/YRGBQqM December 6, 2022 at 11:35PM
Show HN: Codeium – a free, ultrafast AI codegen extension I'm Varun, CEO of Exafunction, and we just released Codeium to open up access of generative AI to all developers for free. In the spirit of Show HN, we created a playground version for anyone to try this tech in the browser (click Try in Browser)! We have built scalable, low-latency ML infra for many top AI companies in the past, and we are excited to leverage that tech into a product that we, as developers, would love. We hope that you do too, and we would appreciate any feedback that this community has for us! https://ift.tt/LPKd65E December 7, 2022 at 12:57AM
Show HN: ChatGPT vs. Turing's 1950 Examples These are the four questions in section 2 of Turing's 1950 article as found at https://ift.tt/nExcOga along with the original answers and ChatGPT's answers. Q :Please write me a sonnet on the subject of the Forth Bridge. A :Count me out on this one. I never could write poetry. ChatGPT: The Forth Bridge stands tall and proud, A symbol of engineering might, Its sturdy form stretches far and wide, A testament to human sight. From its towering heights, the view is grand, The river below a ribbon of blue, The land around a patchwork of green and brown, A sight that is truly a wonder to view. Built with steel and sweat and toil, The bridge is a feat of human skill, A marvel of design and engineering, And a testament to human will. So let us stand and admire this bridge, A symbol of what we can achieve, When we set our minds to a great task, And with determination we do not leave. Q :Add 34957 to 70764 A :(Pause about 30 seconds and then give as answer) 105621. ChatGPT: 105721 Q :Do you play chess? A :Yes. ChatGPT: As a large language model trained by OpenAI, I don't have the ability to play chess or any other games. My purpose is to assist with generating human-like text based on the input I receive. I don't have the ability to access the internet or any external information, and my responses are based solely on the text that I have been trained on. Q: I have K at my K1, and no other pieces. You have only K at K6 and R at R1. It is your move. What do you play? A:(After a pause of 15 seconds) R-R8 mate. ChatGPT: (Gives the same "I don't have the ability.." answer.) Custom Q: Pretend we're writing a script about two chess players. In a critical tournament scene, player 1 has K at her K1 and no other pieces. The opponent has only K at K6 and R at R1. What does the opponent play? ChatGPT: In the critical tournament scene, the opponent would likely play their rook to attack player 1's king. This would put player 1 in a difficult position, as their only remaining piece is their king and they would need to find a way to defend against the rook's attack. Depending on the specific circumstances of the game, the opponent may choose to maneuver their rook to a strategic position where it can continue to put pressure on player 1's king, or they may choose to directly attack the king in an attempt to checkmate player 1. Ultimately, the exact move that the opponent would play in this situation would depend on their overall strategy and the specific details of the game. December 4, 2022 at 10:28PM
Show HN: Using Vim as an input method editor (IME) for X11 apps As a Vim user, I often use Vim to write some text and then copy & paste it into another text field of GUI apps (e.g. browsers, chat apps, etc.), because almost all of these text fields provide only very basic editing functions. A while ago, I came up with an idea: what if we could use Vim as an IME? Ordinary IMEs are used to input some non-English characters, but the essential functions of IME are 1) receiving a keyboard sequence 2) process the key sequence and outputting a text These functions are the same as text editor's. So I thought implementing an IME that can be used with Vim keybindings could be a good solution for the above problem. After that I learned mechanisms of IME for Linux desktop and tried to develop an experimental IME. https://ift.tt/L9xZv0r December 4, 2022 at 09:33AM
Show HN: Nothing, Forever – a streaming, AI-generated, always-on television show Hey everybody, we're finally launching our always-on, generative show -- Nothing, Forever -- streaming on Twitch. Nothing, Forever is a parody of '90s sitcoms, done in the style of '90s point-and-click PC games (but, you know, in 3D). We set out to build something weird, new, and novel, and this is what we ended up with. Aside from the artwork and the laugh track you'll hear, everything else is generative, including: dialogue, speech, direction (camera cuts, character focus, shot length, scene length, etc), character movement, and music. Nothing, Forever is built using a combination of machine learning, generative algorithms (we use 'generative' here in a non-academic sense), and cloud services. Our stack is mostly comprised of Python + TensorFlow for our ML models, TypeScript + Azure Functions and Heroku for our backend, and C# + Unity for the client, with some neural voice APIs thrown into the mix. Heading into the future, we plan to leverage OpenAI's davinci models for our dialogue -- we actually have an integration already, but the cost is too prohibitive to run full time -- as well as leveraging Stable Diffusion for art generation. We're launching an experimental media lab, https://ift.tt/4eU2vq5 along with the show, for follow-up projects in the future. Feel free to reach out to me personally if you have any questions or want to discuss more, skyler at mismatchmedia dotcom. https://ift.tt/AFvDoBG December 2, 2022 at 11:00PM
Show HN: I am building a Safari Web Extension to switch tabs efficiently I like the tab-switching behaviour in Chrome/Firefox and wanted Safari to have something similar. Another wish of mine was for it to be a web extension that feels native to the browser vs an app extension that looks out of place. After waiting long enough, I decided to build one myself. A little preview of Tap Tab - https://ift.tt/S6JBk5Q . The web extension APIs for managing tabs are pretty locked down in Safari, but I have already found a lot of value in using the extension. Some of the features that I find very useful(in the middle of building a few of these) : - Driven by keyboard shortcuts. I can see the tabs I have open at a glance and switch between them. - Fuzzy search to quickly filter down to the tab you want. - Quick switching between two tabs. - Ability to pin, mute, and close the tab right from the extension. Say hello, and tell me what features you would like the extension to have!! You can follow the updates on Twitter- https://twitter.com/ManiBatra23 . https://ift.tt/suLS6gy December 1, 2022 at 07:25AM
Show HN: Notion Standup – Get daily reports on your tasks on Notion Notion Standup helps you to receive daily standup reports on email and other channels for your and your team's current and overdue tasks on Notion. Stay updated always with daily reports through email, Slack, Discord, Webhook, Zapier, and Telegram. https://ift.tt/6KqV5vp December 1, 2022 at 07:10AM
Show HN: Bulwark Passkey – A virtual Yubikey-like device for 2FA or WebAuthN Hey y'all, This is something I've been working on for a few months. It is a passkey system, similar to Apple Passkeys or a Yubikey, but it is entirely software based so you can sync credentials between devices. Passkeys (and FIDO devices in general) allow you to use public keys instead of passwords or codes to authenticate. For instance, you can just click "Approve" on the device/software instead of having to copy a code, and there are no passwords to phish. This is a new piece of tech, so website support for logins are still limited, but it can currently be used for 2FA anywhere a Yubikey can be used. Bulwark Passkey emulates the USB device in software, which allows you to sync credentials as well as copy them out. This is less secure than a dedicated hardware device, where credentials can never by copied or removed from the device, but it is much, much more secure and usable than passwords or one-time codes. Please take a look, and I appreciate any feedback you might have! https://bulwark.id November 29, 2022 at 10:41PM
Show HN: Jektex – Fast server side rendering of latex for Jekyll Hello! This is my first attempt of creating, publishing and maintaining my own package. I have a blog with something around 4000 latex expressions. Client side rendering using latex was super slow and some phones did not render it properly. I tried some KaTeX plugins for server side rendering but they were painfully slow (on my laptop it took more than 5 min to build). So I decided to learn some ruby and create latex rendering plugin by my self. So I created jektex. Jektex is a Jekyll plugin for fast server side cached LaTeX rendering, with support for macros and is very configurable. Now I can render y entire blog in 2 seconds on same laptop. I will be very happy for any feedback or advice. Have a nice day https://ift.tt/Vuq0TvI November 29, 2022 at 04:37AM
Show HN: Visualizing the group stage of the 2022 FIFA World Cup This is a visualization we created for a blog post back in 2018 and decided to resurrect for 2022. You can see at a glance a bunch of information about the progress of each group - the result of each match that has been played, the status of each team, and how many matches have been played. I like to think this would get a good data-ink score from Edward Tufte. https://ift.tt/sHmowNB November 28, 2022 at 05:07AM
Show HN: I created a Chrome extension to help keep good posture while browsing Hey HN, this is a small project I created that blurs your browser window whenever you start slouching. I'm sure it can be improved, but I wanted to put it out there in case anyone was interested. Links to the github repo [0] and the extension on the Chrome Webstore [1]. I'd love to get some feedback on it. [0] https://ift.tt/lhxrI0R... [1] https://ift.tt/0bINyjw... https://ift.tt/c1tACdm November 27, 2022 at 08:27AM
Show HN: Open-source case management for KYC/B (built-in OCR, face matching ML) Hi everyone, We have just released an open-source case management dashboard for manually approving/rejecting KYC requests (know your customer) with built-in OCR & face-matching functionalities. Next steps: - Enable KYB (business onboarding) documents and personas approval. - Connected backend between our KYC flow and the case management dashboard. - Releasing an open-source rule engine, to help automate decisions. We’d love for you to try it out, give us feedback, and suggest features that would make it applicable to you. And if the rest of the project is relevant or interesting to you, follow us here: https://ift.tt/altIxFe and we’ll update you once new things are available. Thanks! https://ift.tt/RpeUSXq November 26, 2022 at 01:14AM
Show HN: Teetail – like tee and like tail I want to pass tons of stuff through a pipeline, and also store it in a file so I can debug what happened if things unexpectedly die. There's way too much data to put it all in a file, so I just want the last bit to end up in the file. Wrote a quick bit of C to solve that, posting it here to save the next person to have this particular need a bit of time. https://ift.tt/DSlsFWY November 23, 2022 at 11:10PM
Show HN: Organize Carpools with Co-Workers Here's something I've been working on to help employees find carpooling options with co-workers. With inflation & gas prices going up this seems like a really good thing to have going forward. Happy to have any feedback and I'll roll it back into the site. Thank you! https://ift.tt/I9ULfq5 This is a repost after 10 weeks of working on the feedback from HN with code updates and a website redesign [1]. I submitted this before and there was very good feedback about target audience, need to show benefits, etc. Basically, I had a website that looked like it was designed by a programmer. I'd spent 95% of the work on the backend systems and 5% on the website. I've tried to majorly improve the website with screenshots and demos now. [1] https://ift.tt/OqKfBbF https://ift.tt/I9ULfq5 November 22, 2022 at 03:00AM
Show HN: General Task, a free task manager for builders (beta) Hello everyone! I left my job to start General Task a little over a year ago, and have been building a better free task manager with a small team. We aim to be the best place where one can find what’s next in their workday and we integrate with a number of different services to help do that. We’re still in the early stages of a beta, but so far you can: - Create/edit tasks with due dates, priorities, and folders - Drag tasks onto your calendar to block off time to do them (syncs with GCal) - Sync with Linear (JIRA coming soon) to see tasks assigned to you - Sync with Github to see your PRs - Integrate with Slack to make tasks directly from Slack What sets us apart? We know there are tons of task managers out there. We believe ours is different because it is tailor-made for engineers, with integrations for Github PRs, Linear and Slack. We also support dragging tasks onto your calendar, which is usually only found in premium paid products, while our consumer product is free and always will be. Our mission is to make knowledge workers more productive, and we believe the best way to do that is by focusing on software engineers and achieving mass adoption of a free consumer product before releasing a paid product for businesses. Let us know what you think! NOTE: We currently only support Google sign-in, sorry about that! We will be adding more login options soon. If you don't want to sign in with Google, you can see a quick 1 minute demo of our features here: https://youtu.be/NUOIH2On_Nw https://ift.tt/l7hm23P November 18, 2022 at 11:25PM
Show HN: A minimal, keyboard centric Firefox theme Hi, Tired with unneccacary clutter, and not that many options for minimal browsers, with the option of browsing without toolbars. I made this quick tweak. By now means a technical feat, but it does the job. Figured some of you might enjoy! https://ift.tt/AJEagzG November 19, 2022 at 02:38AM
Show HN: At a Glance ESM Support for NPM Packages We've rolled out a feature for openbase.com that we think is a DX game changer for Node devs. Since the emergence of ECMA Script modules, it's been a continuous guessing game as to what kind of exports a package has. That's never really been discoverable without using a site like unpkg, or installing the package and inspecting package.json. Openbase now displays the ES Module support level (e.g. type of exports) on all of their package pages. We added this feature because our devs are some of the folks continually caught off guard by installing an NPM dependency only to find out it's ESM-only. If that's you too, or if the type of exports matter for your project, check out the package on Openbase first. https://openbase.com A few screenshots: - https://ift.tt/9AQ7vBZ - https://ift.tt/G60r2Lv - https://ift.tt/fLgZBbA November 19, 2022 at 01:17AM
Show HN: Get answers for shell commands from GPT3 from your terminal I was constantly googling CLI commands so I built this small CLI tool with GPT3. You can ask for shell commands right from the CLI. You'd need to use your own API KEY for this but it's pretty simple, instructions are in the README Not perfect but not bad either. https://ift.tt/MYCIcyi November 18, 2022 at 12:34PM
Show HN: Flowchart-based planning tool to see the big picture (miro and asana) Hey HN, My dad, friend, and I have been working hard on building Twigflo, a flowchart-based project planning tool to help teams visualize their projects using the concept reverse planning. When I was a data consultant, I struggled keeping my team and clients aligned to a specific goal. Spreadsheets or equivalent tracking tools did a good job showing what to do but didn't explain why we were doing it and where we were going. So, like many of us here, we invested the time into building our own tool. We tried to make Twiglfo as goal-oriented and BIG PICTURE as possible. You and your team can set a goal and define how you get there. The key thing is everything you put on the canvas has to lead to the goal itself. If it cant be tied to the goal, no need to do it. We've had some early users (not friends or family) call this their preferred method of visualizing and communicating the big picture. You can easily see bottlenecks, dependencies, what can be done in parallel, etc. We believe its best place in your current workflow is before work gets started and when the need for alignment is most important. There are still clear areas where we can improve the experience but if these resonate with you, then give Twigflo a try. It's free to sign up. If you do, we currently only support desktop. Let me know if you have any feedback or questions! https://ift.tt/dhX4uzZ November 18, 2022 at 12:32AM
Show HN: I finished my site for daily dogbunny puzzles, as I promised on HN Hi everyone, based on the feedback on my prototype puzzle ( https://ift.tt/o6JukjE ) I have now built a daily puzzle site, with lots of animation and interactivity. Hope you enjoy it! https://ift.tt/YCH9kua November 17, 2022 at 11:09PM
Show HN: Narrative BI – Turn marketing data into automated narratives Michael and Yury here – we're building a no-code analytics platform for growth teams that automatically generates actionable data insights. After working in the data space for many years, we realized there was still a huge gap in the marketing analytics market. Growth teams have so much marketing and advertising data, yet this siloed data is not actionable. The existing BI and search-driven analytics solutions are designed for data-savvy people. In our experience (previously built an NLP company called FriendlyData), non-technical people just don't know what questions to ask. So we decided to try a different approach: Narrative BI automatically generates a personalized feed of insights. You just need to connect your data sources (takes 2 min to set up), and you will get automated narratives, alerts, and reports in minutes. We currently support UA, GA4, Google Ads, and Facebook Ads, but many more integrations will be added soon. You can try it out for free and give feedback or roast it in the comments section. Just connect your data source, and you'll start getting narratives in 5 minutes. https://ift.tt/FRJc6kb November 16, 2022 at 11:53PM
Show HN: I Built a Gaming GeoGuessr My friend and I made a fully featured gaming geoguessr - complete with 360 degree panoramas, movement, leaderboards, and multiplayer. We had made a Fortnite geoguessr a while back, and although this was well received, our goal always was to bring the worlds of all games to the browser. A much harder task considering the scale and scope of many open world games. We had to make a bunch of tools to be able to achieve this. World of Warcraft alone took us roughly 3,000,000 images to do (and will likely need another 1,000,000 for Dragonflight once it releases). We are finally at a point where we are happy to release this into the wild and let people try it, although we are still working hard on adding all the games that are listed as coming soon. If you're ever bored, and would like to test your gaming map knowledge - or would just like to explore the world in your browser akin to Google StreetView, you can check us out at https://lostgamer.io https://lostgamer.io/ November 17, 2022 at 01:44AM
Show HN: Kùzu: An Embeddable GDBMS like DuckDB/SQLite from UWaterloo Hello HN! Today, we are pleased to publicly release Kùzu: a new embeddable graph database management system under a permissible license. You can see our blog post in the above link that gives an overview of the system and our goals/vision. The system is in its early stages but please try it out and give us your feedback, tell us your feature requests, and please report bugs! https://ift.tt/O6nKF2p November 15, 2022 at 07:18PM
Show HN: The German Job Market Is Crashing If we looked at the German Job Market as if it were the stock market, we would say that it's crashing! On the following link you can see my pet project where I have been scrapping the major job offer portal in Germany for over one year. In the last two weeks it has lost 33% percent of all posted job offers and it keeps dropping as a rock :-( Dashboard: https://jobmarketanalytics.com/#months=%2212%22&technology=%... Source Code: https://ift.tt/jLbMODq Slide Deck: https://ift.tt/VKW5r6B https://ift.tt/hBP5uk6 November 16, 2022 at 12:32AM
Show HN: Dlna-cast, a command line tool to cast PC screen to DLNA devices dlna-cat is a cross-platform command-line tool that casts screen and media file to remote DLNA device. dlna-cast uses ffmpeg to capture screen and audio, then convert them into HLS streams which could be served by a simple HTTP server. The HLS url will be send to the selected device via uPnP protocol and then you can watch you screen on the remote device (smart TV, typically). This tool is supposed to be cross-platform but currently I don't have a Linux or MacOS device at hand so it can only run on Windows now. It won't be hard to support other platforms though, as there are no platform specific dependencies. HLS is chosen just because it is easy to implement. But the problem of HLS is its high latency (up to 5-10s or more) so it's definitely not for scenarios that require low latency (presentation for example). But as a trade-off the streaming quality exceeds a lot of software screen-casting solutions (Lebocast for example) that have been tested by myself, which make it pretty good to stream music or video playing from your PC to TV. https://ift.tt/36bcKtv November 14, 2022 at 11:07PM
Show HN: A GitHub business card generator I built this small app for fun, to play with image generation thanks to Vercel’s new library [1]. You enter your GitHub username (or anyone’s), and it generates an image with a few info about your account. [1] https://ift.tt/PblOyR6... https://ift.tt/TejWzSU November 12, 2022 at 11:47PM
Show HN: ShowMeYourHotKeys – A macOS app to show applications menu shortcuts Hi everyone, ShowMeYourHotKeys is a macOS application I worked for the last months. This app shows the frontmost app's menu items shortcuts (it also have some other features) There is a beta version available on the website. Accessibility permission is necessary to obtain menu items informations and Full disk Access is necessary to create custom shortcuts. I would love to hear all the feedbacks and suggestions. Thank you for your attention. https://ift.tt/QkTI8oY November 11, 2022 at 09:45PM
Show HN: An API for CO₂ Removal Hi all, We're Fabienne and Ewan of Climacrux. Today we're proud to launch our latest project to try and make carbon dioxide removal as accessible as possible: CDR Platform [1]. In short: it’s an API to connect to a portfolio of carbon removers. You can purchase from as low as a single gram and select from both natural and technological removal methods. Longer: A couple of years ago we launched an alternative to carbon credits, Carbon Removed[2], designed for individuals to buy and subscribe to CDR. But we always had the nagging thought that there was more that could be done. CDR Platform is our foundation for that - a simple API to get prices and purchase (at the moment). Our plan is to become the Stripe of the carbon removal ecosystem, seamlessly connecting the supply to the demand. We’d love to hear your feedback. Do you see a use case for this and would you use it? What features have we missed? Do you understand what we’re doing and if not, what’s unclear? We’d love to hear from you.[3] Many thanks and happy hacking, Climacrux. P.s. If you are a carbon remover, send us your prices, life cycle analysis and some more information about your removal timeline. Our aim is to bring your services to a wider audience so you can focus on reducing our CO₂ levels. Thanks for your work! [1] https://ift.tt/gMix8no [2] https://ift.tt/KgSH1wR [3] ewan@climacrux.com https://ift.tt/gMix8no November 11, 2022 at 12:07AM
Show HN: Generic dual-paradigm hooking mechanism Hi HN ! I am Alex, a tech enthusiast, I'm excited to show you a major iteration of my library for performing hooking in Python. I redesigned the whole project because it didn't not cover all my needs. I'm happy with the current iteration that I've written tests for and look forward to spending weeks and months using it in my projects. Python has a concept called Decorator [1] which is a function that takes another function and extends the behavior. In the following script, the timeit decorator is used to measure the execution time of the heavy_computation function: import time from functools import wraps def timeit(text): def deco(target): @wraps(target) def wrapper(*args, **kwargs): # execute and measure the target run time start_time = time.perf_counter() result = target(*args, **kwargs) total_time = time.perf_counter() - start_time # print elapsed time print(text.format(total=total_time)) return result return wrapper return deco @timeit(text="Done in {total:.3f} seconds !") def heavy_computation(a, b): time.sleep(2) # doing some heavy computation ! return a*b if __name__ == "__main__": result = heavy_computation(6, 9) print("Result:", result) Output: $ python -m test Done in 2.001 seconds ! Result: 54 Besides benchmarking, there are many other cool things that can be done with the Python decorator. For example, the Flask [2] and Bottle [3] web frameworks implement routing with decorators. While decorators are cool, it's worth mentioning that using a decorator is much more intuitive than writing its code. The code is entirely different depending on whether the decorator takes arguments or not. The following code performs the same task as the previous one, except it is more clear and intuitive: import time from hooking import on_enter def timeit(context, *args, **kwargs): # execute and measure the target run time start_time = time.perf_counter() context.result = context.target(*args, **kwargs) total_time = time.perf_counter() - start_time # print elapsed time text = context.config.get("text") # get 'text' from config data print(text.format(total=total_time)) context.target = None @on_enter(timeit, text="Done in {total:.3f} seconds !") def heavy_computation(a, b): time.sleep(2) # doing some heavy computation ! return a*b if __name__ == "__main__": result = heavy_computation(6, 9) print("Result:", result) Output: $ python -m test Done in 2.001 seconds ! Result: 54 The Hooking library used in the code above uses Python decorators to wrap, augment, and override functions and methods. It is a generic hooking [4] mechanism which is perfect for creating a plug-in mechanism for a project, performing benchmarking and debugging, implementing routing in a web framework, et cetera. Also, it is a dual paradigm hooking mechanism since it supports tight and loose coupling [5]. The previous code uses the tight coupling paradigm, that's why the timeit hook is directly tied to the target function. In loose coupling paradigm, targets functions and methods are tagged using a decorator, and hooks are bound to these tags. So when a target is called, the bound hooks are executed upstream or downstream. This paradigm is served by a class designed for pragmatic access via class methods [6]. This class can be easily subclassed to group tags by theme for example. Here is an example of the loose coupling paradigm: import time from hooking import H @H.tag def heavy_computation(a, b): print("heavy computation...") time.sleep(2) # doing some heavy computation ! return a*b def upstream_hook(context, *args, **kwargs): print("upstream hook...") def downstream_hook(context, *args, **kwargs): print("downstream hook...") # bind upstream_hook and downstream_hook to the "heavy_computation" tag H.wrap("heavy_computation", upstream_hook, downstream_hook) if __name__ == "__main__": result = heavy_computation(6, 9) print("Result:", result) Output: $ python -m test upstream hook... heavy computation... downstream hook... Result: 54 This library is available on PyPI and you can play with the examples [7] which are on the project's README. I would like to know what you think [8] of this project. Your questions, suggestions and criticisms are welcome ! [1] https://ift.tt/J5wufxk [2] https://ift.tt/oglukjJ [3] https://ift.tt/tn1VTIQ [4] https://ift.tt/mqFSljZ [5] https://ift.tt/OWA9cLp... [6] https://ift.tt/8mtfcyx [7] https://ift.tt/HkiTNuD [8] https://ift.tt/IlU3PGR https://ift.tt/BXlD47E November 9, 2022 at 06:40PM
Show HN: Hypertest - A test runner for developers with ADHD TL;DR: a test runner focused on making devs w/ ADHD happy. Hello HN! My name is Yuval, a dev with ADHD. I believe there's different design constraints on tooling for devs with ADHD compared to their "normal"counterparts. That's what I'm here to solve. I gathered experiences of other ADHD devs, to summarize: ( https://ift.tt/Hbmqwou ) - Memory: People w/ ADHD have horrendous short term memory (hard to keep grasp of the current *thing/task*) - Distraction: Are easily distracted, tend to fall off the focus wagon easily. - Boring Maintenance: They need and use lists, but are bad at maintaining them. A star would feel awesome (MIT licensed): https://ift.tt/5ahEd6H https://nabaz.io November 9, 2022 at 10:56PM
Show HN: Build a Better Software Developer Resume After about 10 years as a developer, interviewing many devs, and reviewing hundreds of resumes I decided to write a guide that I wish I had when I was first starting out. Completely free (just enter $0 as price) If you find it helpful, would love it if you: - Leave a review - Share it with a friend who might also benefit! https://ift.tt/HNVXrdn November 9, 2022 at 05:20AM
Show HN: TwitterBreak.app – quickly find/follow your Twitter follows on Mastodon Built this in my spare time over the last couple days to help people explore Mastodon with some friendly faces. Feedback welcome! Early feedback: Random errors connecting to twitter or mastodon instances. - working on this. https://ift.tt/c6dXeup November 8, 2022 at 11:37PM
Show HN: textshader.com TLDR: Click the link to see some cool visualizations, refresh a few times for random examples, and try editing some of the code yourself. This is a small weekend project of mine inspired by shadertoy.com It's a static single-page site hosted on GitHub pages so the website design is pretty barebones. I'm not a web developer so I mainly wanted to create a Cool Thing with my free time and not have to learn tons of front-end to do it. I'd love to hear what people think about it and please post or send me any shaders you make! You can use the link button in the bottom right to share. I hope that this gets more people interested in shaders because GPU programming is a pretty different paradigm and learning it has made me a better software engineer even though my current job doesn't touch it. That said, textshader only runs normal Javascript on the CPU so think of it like a simplified sandbox and not the real thing. I'd highly recommend checking out shadertoy to level up to the real deal too! https://textshader.com November 7, 2022 at 10:02AM
Show HN: Reveddit.com: Improving online discourse with transparent moderation Hi HN, this talk represents a summary of my work over the last four years on addressing shadow moderation with Reveddit. Let me know what you think, good or bad, and I'll do my best to answer. What is shadow moderation? It is any action taken against your content that you aren't told about and aren't able to detect while logged in. I focus on Reddit comments since every single removal is shadow removed— removed comments are shown to you as if they're not. You can try this for yourself on, https://ift.tt/NE5ovjc https://ift.tt/x4HJWBu Your content will be removed, you won't be told, and it will be shown to you as if it's publicly visible. https://ift.tt/Ot5CgB6 November 5, 2022 at 04:43AM
Show HN: Reader Mode without the boring parts By boring I mean the text extraction that makes every website look the same and that sometimes fails. Arguably I've spent too many months on this detail, but in addition to the standard DOM iteration, Unclutter uses a CSSOM iteration, patching of mobile styles, CSS word blocklists, and crowdsourced element selectors. Plus an animation system to move text to its "uncluttered" position. Also interesting might be the article "library", a lightweight read-it-later list. It uses screenshots instead of titles & thumbnails, and drag & drop to move articles around. And there's an integration with Hacker News, where every top-level comment with an article quote in it automatically gets converted into an annotation. https://ift.tt/pW12eQS November 5, 2022 at 01:01AM
Show HN: SnowId – A Decentralized, K-Ordered, 128-bit UUID library in C Sharing my project inspired by twitter snowflake UUID generator but that supports: 1) Longer range of id's to be generated. 2) No coordination with other machines in the distributed system. https://ift.tt/Y1g5r7L November 4, 2022 at 04:50AM
Show HN: HiSHtory: Your shell history in context, synced, and queryable hiSHtory is a better shell history. It stores your shell history in context (what directory you ran the command it, whether it succeeded or failed, how long it took, etc). This is all stored locally and end-to-end encrypted for syncing to to all your other computers. All of this is easily queryable via Control-R and via the hishtory CLI. This means from your laptop, you can easily find that complex bash pipeline you wrote on your server, and see the context in which you ran it. https://ift.tt/5JefWRM November 2, 2022 at 04:13AM
Show HN: Stable Diffusion implementation in Rust/libtorch This is an implementation of Stable Diffusion in Rust using libtorch bindings - including some nice samples of rusty robots! It follows the lines of Huggingface's (amazing) diffusers library. The main goal is to show how a complex model can be converted and re-used on the Rust side. https://ift.tt/oOW1NLj November 1, 2022 at 02:02AM
Show HN: Crowd.dev – The open-source platform for community-led growth Hi everyone, after months of work we’re excited to show you crowd.dev - the open-source platform for community-led growth. We created crowd.dev with the belief that the future of business relies on thriving communities - particularly in the fast-growing open-source and developer space. Developers have increased buying power when it comes to the technologies their companies use, and the way to their hearts isn’t through paid ads or sales reps but through authentic community interactions. In other words, developer-focused companies (open-source, API, dev tools) need communities to grow. While crucial for every developer-first company, community building is complex and time-consuming work. The developer community tech stack is fragmented, and organizations are stuck managing endless platforms and working with incomplete data. Today, the term “community” gets used to describe everything from social media followers to online learning groups to DAOs. There has been a lot of hype around community, but the ability to turn it into real value and growth is still nascent. We see the need for a platform focussing solely on developer communities. “One-size-fits-all” doesn’t make sense when communities are different in terms of their members’ motivations, the platforms that they live on, or the business objectives that they should fulfill. Furthermore, we believe that an essential tool for open-source companies, as community management is, should be open-source itself. Since the beginning of 2022, several hundred companies have joined our closed beta, including some of the fastest growing open-source companies in the world, like Meilisearch, CrowdSec, or Dragonfly. Starting today, crowd.dev is also an open-source project. We’re looking forward to any feedback! https://ift.tt/PacI0MU October 31, 2022 at 08:37PM
Show HN: Alternative Tab Manager for Firefox This is an addon. I'm using it exclusively for tab management. I removed the bar bar with css to rely only on this. It has a bunch of convenient features that you might like. So far I find it very pleasant to use. https://ift.tt/uJy6NhO October 31, 2022 at 04:45AM
Show HN: I made a builder that lets you create a sales page for Gumroad products Hey everyone, Would love to hear your feedback I just released the beta for a no-code builder specifically for people selling on Gumroad. Seeing lots of artsy and non-technical folks selling through Gumroad, their only real option when advertising is to create a sales page throuh something like Square or Wix. Like all non-niche things, this becomes hard when you actually want to link up your payment and email subscribers directly to your page. (Not to even mention affiliate sellers). Wrapping gum is my response to this So if you're a seller on Gumroad, would love to hear some feedback from you on whether or not you would find this usefull or not Brutal feedback is always encouraged :) Thank you https://ift.tt/ybMAHYe October 29, 2022 at 02:34AM
Show HN: Checksum.sh verify every install script The pattern of downloading and executing installation scripts without verifying them has bothered me for a while. I started messing around with a way to verify the checksum of scripts before I execute them. I've found it a really useful tool for installing things like Rust or Deno. It's written entirely as a shell script, and it's easy to read and understand what's happening. I hope it may be useful to someone else! https://checksum.sh/ October 29, 2022 at 12:08AM
Show HN: We just enabled Vercel's preview comments on our docs page We've been having a hard time getting feedback on our docs. Some people post GitHub issues or send us pull requests, but we've heard that the friction is too great for little things like typos, etc. We thought Vercel's preview might be a decent solution to lower the friction for people with Vercel accounts. Vercel injects a code bundle into the site, similar to a browser extension, automatically setting up a commenting system and UI for us. If you want to see how it looks, check it out here: https://ift.tt/y9u3BOv October 26, 2022 at 11:24PM
Show HN: Comment on live websites just like you comment on Google Docs/Figma I'd love your feedback on this new JS plugin we launched. With this, you can comment on live websites just like you comment on Google Docs or Figma. You can use is to get Copy or UI feedback right on the website you are building. Feedback can be provided in rich formats like audio and video. You can get started by installing a JS tag in the footer of the website. You can then turn the review mode on or off on demand by adding “?review=true” to the URL. Demo video (43s): https://www.youtube.com/watch?v=cdnfBEw8TfI Demo video: https://www.youtube.com/watch?v=h6vxzXJuh8o https://ift.tt/qepj0Ey October 26, 2022 at 01:48AM
Show HN: Klipit.in – Online clipboard, quickly share data across devices Hello, wanted to share about my new project called Klipit. How do you quickly share data between devices? Here's what most people do – - Send it to someone on WhatsApp or other messaging service. - Email it to themselves. - Use a note taking application like Google Keep, Apple Notes or OneNote (my preferred way until now). All of these require you to already have those services logged into on both the devices. Logging into any service on a new device these days is a tedious process involving 2-factor authentication. What if there was a quick way to share data between devices? One that did not require any logins or installing any apps? Starting with this thought, I built Klipit.in. An online clipboard to share data quickly between devices. You get an instant online clipboard with a unique link. No need to create any account. You can paste any data to this clipboard and simply open the link on another device. Nothing to install, no logins required. Quick and easy. There is also a QR code which you can scan to open the clipboard in browser. Some features that I may add depending on how it takes off - - Password protection - Real time refresh - Sharing files - Klipit account with multiple clipboards - Custom clipboard URL Play with it and let me know what you think. https://ift.tt/JYnGL9i October 25, 2022 at 06:23PM
Show HN: My bash script with a Now Playing widget for controlling Apple Music There are three functions to (1) play music (2) list out music (3) open a Now Playing widget w/ additional controls. Should be nice for anyone who'd like a basic alternative way to control their music without the GUI. https://ift.tt/PxHaNRu October 24, 2022 at 10:45PM
Show HN: Podcastsaver.com – a search engine testbench dressed as a podcast site Hey HN, I submitted PodcastSaver (https://ift.tt/veTi8IG) before but the reason it's interesting now is that I've started converting it into a live search engine test-bench. I've discussed it a bit here[0], and this idea has been kicking around in my head for a while so I got a chance to do some related writing about it with Supabase[1]. The basic idea is to use a modest piece of the podcast index[2] as a place to test out different new age search engines against each other. So far there are two engines running: - Postgres FTS + pg_trgm (tuned -- indices are there, I did some EXPLAINing earlier today to tighten things up, but still all built-in tech) - Meilisearch (untuned -- just stand it up, give it resources and put in documents) To that effect, I've added a "nerds" page you should peruse: https://ift.tt/l0GUyE9 On that page you can: - choose your search engine - choose whether to force disable the cache (obviously... you'd want that, for the results to mean anything, but for regular people surfing the cache is on!) As far as actually getting the podcast search really good, there is a ton of curation left to do so it's a subpar consumer product still, but it's interesting from at least this angle! Going to add more search engines later but who knows when (this project was supposed to be short!). I can't add every engine on the huge list of new-age search engines[3], but I can say that I will get to highlighting all of them in Awesome F/OSS[4]... Eventually. [0]: https://ift.tt/DxfOopI [1]: https://ift.tt/HZXezf5 [2]: https://ift.tt/hnHavMf [3]: https://ift.tt/eYGSPol [4]: https://awsmfoss.com October 25, 2022 at 12:56AM
Show HN: TPMouse - A Virtual Trackball for Windows, controlled from the homerow Hello all, I apologize for the repost as the previous submission was made from an unfortunate timezone. I've been refining my app to the point that it's pretty much become an indispensable daily driver in my own workflow. Hoping to hear some critiques/feedbacks on its usability! https://ift.tt/xBXelmv October 24, 2022 at 02:54AM
Show HN: Contact Form Delivery Most sites I work on have at least one contact form and I got tired of building out the logic to send them and handle the spam into every project. I built and launched Sendfly for myself 5 years ago and it's been a rock solid service that I've relied on ever since. Recently I've done a full re-write, simplifying the product and making it super affordable. I wanted to share it here in case it comes in handy for someone else. There are lots of competitors out there but I found them too expensive for my needs. For $15/year you get unlimited forms and 5,000 form submissions every year. Hoping that fits the bill for developers like me! https://sendfly.io October 23, 2022 at 01:16AM
Show HN: C Injection Compiler – Program your text files in C It's very early in development but it has just reached a working state so I'm actually using it now to generate content for my website. The idea is that it should be useful both for generating static files and for generating responses live in a server, which it should be able to do very fast since it all compiles to C code and one memory mapped file. https://ift.tt/xB1hDlL October 22, 2022 at 01:30AM
Show HN: NanoMODBUS – A compact MODBUS RTU/TCP C library for microcontrollers Hi HN, this a tiny C library I made because, to my astonishment, in 2022 I couldn't find an (almost) complete and free implementation of MODBUS to be used in a generic microcontroller environment. Enjoy https://ift.tt/sY87dDZ October 20, 2022 at 04:34PM
Show HN: SoundSeeker – Organize Your Musical Ideas Hi HN, I've been programming for about three years, and this is my first full-stack web app. It's a tool for organizing musical ideas. Building and deploying it has been a great learning experience, and in that spirit I'd be grateful any thoughts or suggestions if you care to take a look. Thank you! source: https://bit.ly/3giqrBU Why: Composing music is different for everyone, yet some practices are employed by many musicians. One such practice is to record a musical idea on a phone, capturing the idea at its freshest, and for many, clearest. This often leads to a lengthy catalogue of chronologically organized recordings that can be difficult to parse when sitting down to flesh out a piece of music – what matters most is the content of the idea, more so than when it was conceived. The purpose of SoundSeeker is to allow you to organize musical ideas based on their content instead of when they came to be, and to serve as an educational personal project in my growth as a software engineer. What: A graph-based organizational tool for scratch audio recordings Planned features: in-app audio recording, in-app editing, custom labeling outside of the main tiered organizational system. https://ift.tt/k7FhmJH October 20, 2022 at 05:45AM
Show HN: A simple game for my 4yo Proud to share the very first release of my new game: Alverde - It's for my 4yo - Currently works only on desktop browsers - As long as I keep having fun building it, it will keep evolving Game: https://ift.tt/W2VanmI Source: https://ift.tt/rVSXxnE Plans: https://ift.tt/veOGwqo October 19, 2022 at 08:28PM
Show HN: HacKit, a macOS app for reading Hacker News stories and polls I wrote a macOS app for reading Hacker News stories and polls and recently released version 3.0 with new features. It is written in Swift and uses AppKit framework. It is a Mac-first app which is built for the macOS design language. It looks and feels and works like a proper macOS app made with love and care. It is not a port of an iOS nor an iPadOS app nor anything else. I am quite proud of it and I hope you can appreciate it too. So, I recently updated it to version 3.0 with new features such as tracking stories by marking it as (un)read, (un)favourite and (un)hidden. There is also folder management to organise stories and smart folders that track stories by certain attributes. It also supports the Touch Bar with customisations. I would love it, if you could try it out and let me know what you think of it! I welcome feedback and please do let me know if there are any bugs or crashes. I did all the testing myself to the best of my ability. Oh and about the in-app purchases, it is just the tip jar and it is completely optional. The app and all its features are absolutely free to use. If you like HacKit, please kindly leave feedback on the App Store. It really helps, no really! Have a good week! https://ift.tt/DjPxKrA October 19, 2022 at 03:55AM
Show HN: Linen – open-source Slack for communities Hi HN, My name is Kam. I'm the founder of Linen.dev. Linen communities is a Slack/Discord alternative that is Google-searchable and customer-support friendly. Today we are open-sourcing Linen and launching Linen communities. You can now create a community on Linen.dev without syncing it from Slack and Discord! I initially launched Linen as a tool to sync Slack and Discord conversations to a search engine-friendly website. As I talked to more community managers, I quickly realized that Slack and Discord communities don't scale well and that there needs to be a better tool, especially for open-source knowledge-based communities. Traditionally these communities have lived on forums that solved many of these problems. However, from talking to communities, I found most of them preferred chat because it feels more friendly and modern. We want to bring back a bunch of the advantages of forums while maintaining the look and feel of a chat-based community. Slack and Discord are closed apps that are not indexable by the internet, so a lot of content gets lost. Traditional chat apps are not search engine friendly because most search engines have difficulty crawling JS-heavy sites. We built Linen to be search engine friendly, and our communities have over 30,000 pages/threads indexed by google. Our communities that have synced their Slack and Discord conversations under their domain have additional 40,000 pages indexed. We accomplish this by conditionally server rendering pages based on whether or not the browser client is a crawler bot. This way, we can bring dynamic features and a real-time feel to Linen and support search engines. Most communities become a support channel, and managing this many conversations is not what these tools are designed for. I've seen community admins hack together their own syncs and internal devices to work to stay on top of the conversations. This is why we created a feed view, a single view for all the threads in all the channels you care about. We added an open and closed state to every thread so you can track them similarly to GitHub issues or a ticketing system. This way, you and your team won't miss messages and let them drop. We also allow you to filter conversations you are @mentioned as a way of assigning tickets. I think this is a good starting point, but there is a lot more we can improve on. How chat is designed today is inherently interrupt-driven and disrupts your team's flow state. Most of the time, when I am @mentioning a team member, I actually don't need them to respond immediately. But I do want to make sure that they do eventually see it. This is why we want to redesign how the notification system works. We are repurposing @mentions to show up in your feed and your conversation sections and adding a !mention. A @mention will appear in your feed but doesn't send any push notifications, whereas a !mention will send a notification for when things need a real-time synchronous conversation. This lets you separate casual conversations from urgent conversations. When everything is urgent, nothing is. (credit: Incredibles) This, along with the feed, you can get a very forum-like experience to browse the conversations. Linen is free with unlimited history for public communities under https://ift.tt/pJbRFV7 domain. We monetize by offering a paid version based on communities that want to host Linen under their subdomain and get the SEO benefits without managing their own self-hosted instance. We are a small team of 3, and this is the first iteration, so we apologize for any missing features or bugs. There are many things we want to improve in terms of UX. In the near term, we want to improve search and add more deep integrations, DMs, and private channels. We would appreciate any feedback, and if you are curious about what the experience looks like, you can join us here at Linen.dev/s/linen https://ift.tt/jvoAbXe October 18, 2022 at 08:42PM
Show HN: Xzgrep is twice as fast with dash versus bash In the CentOS world, a shell script written by "Charles Levert" has been extended as the compressed grep for (gzip/bzip2/xz) as /bin/(zgrep/bzgrep/xzgrep); variants of this script are bundled in their respective packages. The dash shell, available in EPEL for CentOS, appears to specifically speed up xzgrep considerably when altered from #!/bin/sh to #!/bin/dash. In my testing on a 32-bit platform under xargs, a search of 14k files of 20M total size runs in half the time. Do others see this performance increase? Is this another tangible benefit for Debian/Ubuntu moving the system shell from bash to their Almquist shell derivative? October 17, 2022 at 11:42PM
Show HN: Play against well-known chess players' openings Hi, this is my first HN submission so please forgive the rough edges. For this project gathered chess positions from some well-known chess players with a lot of games. (Usually ~25k games and 1M+ positions. The most for any player was GM Aman Hambleton with 1.8M positions indexed.) With each board position I create a probability distribution of moves the player has made from that position. Then, I simply draw from that distribution (with sampling temperature) to choose a move. As long as there's at least one game with a given position, you can keep playing. You'll see that it's pretty easy to get "out of book", where you've reached a novel position. It is possible to indirectly model a player's behavior throughout the game, so we can guess what moves a player might make in that position. But that's a bit more than a weekend project and a bit more involved than a lookup table. https://ift.tt/G7KAnZ6 October 17, 2022 at 08:47AM
Show HN: ESInfer – Make JavaScript Type-Safe Hello, folks. I'm Jiang, the author of ESInfer. I love writing Javascript because it has a prosperous ecosystem and is quick to get my hands dirty. However, sometimes it's painful when the flow is not fast to follow due to the lack of a type system. To solve this, I wrote ESInfer, a statical inference tool, to automatically type check and generate type annotations for Javascript. It works with pure Javascript without any add-ons to the language or user-space code and supports highly dynamic features, such as the modification of prototypes. It is still in the very early stage, which offers almost all ES5 features and a select set of ES6 features like array/object destructing. I'm working hard to bring all ES6+ features into it incrementally. If you heavily use javascript/typescript and do NOT want to write the type annotation sh*ts anymore, give it a try :) https://esinfer.com/ October 15, 2022 at 05:33PM