Tuesday 7 November 2023

Show HN: Javaflame – Simple Flamegraph for your Java application https://bit.ly/40s6ziE

Show HN: Javaflame – Simple Flamegraph for your Java application Javaflame will generate a flamegraph of your application function calls, including the argument values and the return of each function. Check https://bit.ly/3u3kDTR to see an example. There are already some tools that render flamegraphs for java, but they are focused on measuring performance or require some other process running along with the application. They also record function calls, but do not record the arguments or return values from those functions. I needed instead something to help understand and debug my applications that was better than adding breakpoints and slowly step over every call. This is a simple java agent that renders a flamegraph on a html file, no extra dependencies or other processes involved. All you need is an extra argument passed to the JVM on the command line pointing to the java agent. It calls toString on every parameter and return value of every function that is included on the filter, so I wouldn't use this outside your dev machine. https://bit.ly/49tLAQA November 8, 2023 at 12:09AM

Show HN: Regexdiff – a novel way to analyze regular expressions https://bit.ly/49pw6x2

Show HN: Regexdiff – a novel way to analyze regular expressions regexdiff is a tool that finds the difference (think `diff` or Levenshtein distance) between a string and a regex. That means it shows the steps required (insertions and deletions) to turn a given string into one that matches a given pattern. I'm not the first person to have this idea or to come up with the algorithm (for example, a few existing engines use this to implement approximate matches), but it wasn't available in a convenient form, so I decided to make this little toy. In order to support lookaround, it also includes an algorithm that compiles arbitrary-length lookahead and lookbehind into a DFA. I haven't seen this done anywhere before. While this isn't the most substantial project, I have managed to find a few uses for it since I made it half a year ago, so I thought I'd share it here. https://bit.ly/3QPELSl November 7, 2023 at 02:08AM

Show HN: AnyCable – real-time for Next.js, open source alternative to PaaS https://bit.ly/471f4nq

Show HN: AnyCable – real-time for Next.js, open source alternative to PaaS You might have heard that scaling WebSocket infrastructure is not an easy task. It was true–until recently. We built the open source real-time server, AnyCable, that deploys to Fly.io in one command (and configures itself), and the SDK for serverless JS/TS that allows you to build real-time features without any 3d-party PaaS. We call it a real-time server, because it has WebSockets and more, and it’s easy to run and scale. Here’s all you need to add real-time to your Next.js/Vercel app: – Deploy AnyCable to Fly.io with one command (see the docs) – In your Vercel app add one serverless function (copy from docs) – That’s it! Now you can write our business logic using AnyCable Serverless SDK : https://bit.ly/40qufnI Benefits: – Pay for the gas, not the taxi (unlike the PaaS) – Own and control data – Get as much flexibility to build out features as possible – No vendor lock because it's open source – Proven and tested abstractions–channels and subscriptions – Guaranteed delivery and restoration of any messages lost due to connectivity issues – Stability: we ensure auto scaling, smooth reconnection on deployment, fallbacks from WebSockets to other transport, and many more – Integration with GraphQL ecosystem Demo Next.js+Vercel+AnyCable chat app: - live app: https://bit.ly/40rEFmR - source code: https://bit.ly/40qZ4sg AnyCable: https://bit.ly/3u8rmfi We hope you will give it a try and tell us what you think! https://bit.ly/3u5xFAd November 6, 2023 at 11:59PM

Monday 6 November 2023

Show HN: Podsumer – A Self Hosted Podcatcher https://bit.ly/46YQcMV

Show HN: Podsumer – A Self Hosted Podcatcher Podsumer subscribes to your podcast feeds and downloads them to your server for serving/listening from there. It can serve its own feeds to be used in your podcast app(s). Finally, it features a web based player for listening from anywhere. I run this behind gluetun so that feed and media downloads happen over VPN. I am an avid self-hoster. I made this podcatcher to handle my podcast listening needs. My goal isn't to make something that looks super slick, just something that is useable and gets the job done. I could really use some feedback from other self-hosting podcast listeners! https://bit.ly/3QKVPZA November 7, 2023 at 04:23AM

Sunday 5 November 2023

Show HN: LLaVaVision: An AI "Be My Eyes"-like web app with a llama.cpp backend https://bit.ly/40ojQbU

Show HN: LLaVaVision: An AI "Be My Eyes"-like web app with a llama.cpp backend A simple mobile web app inspired by Fuzzy-Search/realtime-bakllava that uses llama.cpp server backend with multimodal mode to describe and narrate what the phone camera sees. I built this thing in a few hours using a single ChatGPT thread to generate most things for me and iterate on this project. Here's the workflow: https://bit.ly/40uhxUP... https://bit.ly/40tSr8O November 6, 2023 at 01:55AM

Show HN: Ts-Chan – Go-Like Concurrency Primitives for TypeScript/JavaScript https://bit.ly/3QtV05Y

Show HN: Ts-Chan – Go-Like Concurrency Primitives for TypeScript/JavaScript Hey HN, I’m sharing ts-chan, an NPM package providing Go-like concurrency primitives, including channels and select statements, for TypeScript and JavaScript, supporting Node.js, Deno, Bun, and browsers. This is something I've built to make implementing Go-style "control loops" feasible in JavaScript, but there are many possible applications. Highlights: - Features a FIFO processing Chan class and versatile Select class for concurrency control. - Supports buffered channel and channel close semantics very close to Go's. - TypeScript-first implementation. - Defines a simple "channel protocol" inspired by JavaScript's iteration protocols, that's used by `Select`, and implemented by `Chan`. - Makes an effort to mitigate cycles caused by the behavior of JavaScript's microtask queue. - Ongoing project with active iteration for a production-ready module (pre-v1, so the API isn't guaranteed to be stable, but the implementation itself is). NPM: ts-chan GitHub: github.com/joeycumines/ts-chan Thanks! https://bit.ly/3QtadnO November 5, 2023 at 11:50PM

Show HN: Jeeves – A Pythonic Alternative to GNU Make https://bit.ly/49hwNZr

Show HN: Jeeves – A Pythonic Alternative to GNU Make Write a Python file named `jeeves.py` in your project directory with contents: import sh def lint(): """Lint your Python project.""" sh.mypy() This, together with pip install jeeves-shell[all] makes it possible to do j lint …which will run mypy for you, and, via the omnipotent `j` command, open ways for • Automation of routine tasks, • Standardization of your projects, • Implementation of best practices, • And more :) Github: https://bit.ly/40r5dor https://bit.ly/3FNJM7m November 6, 2023 at 01:04AM

Show HN: Open-sourceElectronics Enthusiasts – this is for you https://bit.ly/3u2pX9S

Show HN: Open-sourceElectronics Enthusiasts – this is for you Community for open source electronics enthusiasts. https://bit.ly/3SrwUeI November 5, 2023 at 05:56PM

Saturday 4 November 2023

Show HN: RM Flags – Automated feature flag maintenance for your codebase https://bit.ly/46ZSDif

Show HN: RM Flags – Automated feature flag maintenance for your codebase Hey HN, excited to show my newest product: RM Flags. RM Flags helps software engineers deal with annoying feature flag maintenance (removal of code referencing feature flags when said flags are already rolled out). Check it out and let me know what you think! Thanks https://bit.ly/3QnHpNK November 5, 2023 at 12:39AM

Show HN: A tiny and platform-agnostic true random number generator for FPGA/ASIC https://bit.ly/3FMt5JE

Show HN: A tiny and platform-agnostic true random number generator for FPGA/ASIC It is based on phase noise, consumes less than 60 LUT4s/FFs and achieves up to 7.99 bits of entropy per byte. Feel free to comment if you have any questions, ideas or thoughts :) https://bit.ly/3kXKpRV November 4, 2023 at 10:34PM

Show HN: Pentominoes on Surfaces https://bit.ly/3shbTZJ

Show HN: Pentominoes on Surfaces https://bit.ly/49guLZv November 4, 2023 at 05:37PM

Show HN: I started building yet another CSS framework https://bit.ly/40qCkIP

Show HN: I started building yet another CSS framework I really wanted to move my automation server project to a proper framework instead of the current ad hoc nightmare of inline CSS and redundant classes... But nothing seemed quite right. None of them seem suitable for deep restyling without changing markup. So, I took all the good parts of my current CSS, replaced the bad parts with things I liked from the most popular frameworks, then extracted it as a standalone library. The whole thing is 17.5kb, without minifying or removing comments. It starts with classless styles for semantic html. There is a very small set of about 5 components(The intent is to basically build everything with mostly just windows, cards, and toolbars), and a mix of high and low level utilities. There's a 12 column grid(not a real CSS grid, trying to keep it all flexbox all the time, it's just simplegrid pared down even more), a very small collection of sizing primitives. I don't like the whole w-1 through w-100 stuff with hundreds of classes, instead, I use heights from the Highly Composite Number sequence, that you probably already know from somewhere or other(1,2,4,6,12,24, 36, 48, 60). For widths, instead of exact fixed widths, I have w-sm-full and w-sm-half. The semantics of it is "About the full width of a phone screen, but the theme can fudge it a bit". The reasoning is that most of the time, I'm designing things to collapse down to a long string of 1 phonewidth cards, might as well have a class for it. I use zero media queries, except for a single desktop-only class. Nothing in markup should have to think about mobile vs desktop. This isn't even v0.1 yet, there are still bugs, but the skeleton is there, and I'm posting now to hopefully get some feedback early, so I can fix anything before it's hard to fix. https://bit.ly/40q02Fh November 4, 2023 at 09:55AM

Friday 3 November 2023

Show HN: ChatKey – Supercharge your productivity with ChatGPT and AutoHotkey https://bit.ly/46UqEkj

Show HN: ChatKey – Supercharge your productivity with ChatGPT and AutoHotkey https://bit.ly/3rDoNQQ November 3, 2023 at 11:48PM

Show HN: A Sci-Fi Story of Technology, Unity, and Humanity's Future https://bit.ly/3MoPbFR

Show HN: A Sci-Fi Story of Technology, Unity, and Humanity's Future Dive Into The Cosmos: "Beyond Earth: Secrets of the Celestial Elite" New Book Alert. Attention all tech, science fiction, space and futuristic enthusiasts! Are you ready to embark on a captivating journey through space and time? Prepare to be whisked away to distant galaxies and delve into the mysteries of the universe in the groundbreaking novel, "Beyond Earth: Secrets of the Celestial Elite." A Blend of Fiction and Futuristic Tech This isn't just another sci-fi tale. "Beyond Earth" merges gripping storytelling with cutting-edge technologies. Readers will encounter detailed novel-style descriptions of advanced systems and networks such as Blockchain, OriginTrail DKG, Polkadot, Matrix AI Network, longevity and other groundbreaking technologies. The future of technology meets the art of storytelling. Family and Relationships Among the Stars At its core, "Beyond Earth" is a touching story about family and relationships that stretch across galaxies. It dives deep into the limitless emotional bonds and connections, even in the boundless expanse of space. This tale reminds us that love and relationships remain at the heart of every adventure, even when set against the backdrop of the cosmos. Navigating with Innovation Our heroes lean on advanced technology and strategies to chart their path in a universe teeming with challenges. They navigate the mysteries of space, seeking answers and forging alliances. The innovative concepts of the novel promise to ignite imaginations and fuel discussions on the future of space exploration and technology. The Celestial Elite: A Mystery Unfolds As galaxies unite and stars align, whispers of the Celestial Elite grow louder. Who are these enigmatic beings? What secrets do they hold? Every page turned reveals another layer of intrigue, drawing readers deeper into the epic saga. Don't Miss Out! "Beyond Earth: Secrets of the Celestial Elite" is more than just a book—an experience, an intergalactic journey that promises to captivate and inspire. Whether you're a seasoned sci-fi enthusiast or a newbie, this book promises an adventure like no other. Secure Your Copy Today! Dive more deeply into the story! https://bit.ly/3u0vzS4 Join the cosmic journey, dive into the mysteries of the universe, and uncover the secrets of the Celestial Elite. Your adventure among the stars awaits! https://bit.ly/3u0vzS4 November 3, 2023 at 11:07AM

Thursday 2 November 2023

Show HN: I Bluefin: Using the ultimate developer Linux https://bit.ly/3MrrQmO

Show HN: I Bluefin: Using the ultimate developer Linux This article goes over some of the decisions we made creating Bluefin DX - a developer-centric Linux that reimagines the distro with cloud-native tooling. https://bit.ly/3FLRq2h November 2, 2023 at 05:20PM

Show HN: Internet Speed Test https://bit.ly/3Qvhwvw

Show HN: Internet Speed Test https://bit.ly/49hBDFZ November 3, 2023 at 03:20AM

Show HN: Dashboard for Minimalists https://bit.ly/3QfiYSg

Show HN: Dashboard for Minimalists https://bit.ly/3QfiZ8M November 3, 2023 at 01:03AM

Wednesday 1 November 2023

Show HN: DoltgreSQL – Version-Controlled DB, Like Git and PostgreSQL had a baby https://bit.ly/3QFDY69

Show HN: DoltgreSQL – Version-Controlled DB, Like Git and PostgreSQL had a baby From the company behind Dolt—the world's first fully versioned database—comes DoltgreSQL, which implements PostgreSQL's variant of SQL. DoltgreSQL is at a very early stage, and we have quite a lot of work left to do, but we'd love to hear all thoughts and opinions! You can read more in the announcement blog post: https://bit.ly/46VSMU7... https://bit.ly/3MmmIjJ November 2, 2023 at 02:59AM

Show HN: A Sign In Space – simulating a message from ET https://bit.ly/3QlWEXh

Show HN: A Sign In Space – simulating a message from ET Over the past few months I had the privilege to be part of a team of artists and researchers who assembled a hypothetical message from ET for A Sign in Space, a project founded and directed by media artist Daniela de Paulis. The message was loaded on the ExoMars Trace Gas Orbiter, a spacecraft orbiting Mars. On May 24th it was beamed back to Earth and received by several radio telescopes during a live performance. Since then, a community of people from all walks of life has been attempting to make sense of the message. If you enjoy the challenge, join the discord channel https://bit.ly/47ffLcl... and give it a try! https://bit.ly/3QGzrR2 November 1, 2023 at 04:09PM

Show HN: JustFax – send a fax online in 2-minutes https://bit.ly/46SR2e1

Show HN: JustFax – send a fax online in 2-minutes Hey there! I'm Dmitry, a serial solopreneur and indie-hacker (check out my projects in my bio). Recently, I launched JustFax.online - An online fax service, with support of 50 countries, and a simple 3 step model: upload your fax, enter recipient's phone number, and pay. And in a few moments, your fax will be delivered. No account. No Subscription. Simple pricing. Appreciate any feedback, both positive, and constructive negative. Thanks! https://bit.ly/46XKcnU November 1, 2023 at 09:43PM