Tuesday, October 31, 2023

New top story on Hacker News: Show HN: Streamdal – an open-source tail -f for your data

Show HN: Streamdal – an open-source tail -f for your data
62 by dsies | 10 comments on Hacker News.
Hey there! This is Dan and Ustin (@uzarubin), and we want to share something cool we've been working on for the past year - an open-source `tail -f` for your data, with a UI. We call it "Streamdal" which is a word salad for streaming systems (because we love them) and DAL or data access layer (because we’re nerds). Here's the repo: https://ift.tt/fAQdZG4 Here's the site: https://streamdal.com And here's a live demo: https://ift.tt/N4YWSey (github repo has an explanation of the demo) — — — THE PROBLEM We built this because the current observability tooling is not able to provide real-time insight into the actual data that your software is reading or writing. Meaning that it takes longer to identify issues and longer to resolve them. That’s time, money, and customer satisfaction at stake. Want to build something in-house? Prepare to deploy a team, spend months of development time, and tons of money bringing it to production. Then be ready to have engineers around to babysit your new monitoring tool instead of working on your product. — — — THE BASIC FLOW So, wtf is a “tail -f for your data”. What we mean is this: 1. We give you an SDK for your language, a server, and a UI. 2. You instrument your code with `StreamdalSDK.Process(yourData)` anytime you read or write data in your app. 3. You deploy your app/service. 4. Go to the provided UI (or run the CLI app) and be able to peek into what your app is reading or writing, like with `tail -f` . And that's basically it. There's a bunch more functionality in the project but we find this to be the most immediately useful part. Every developer we've shown this to has said "I wish I had this at my gig at $company" - and we feel exactly the same. We are devs and this is what we’ve always wanted, hundreds of times - a way to just quickly look at the data our software is producing in real-time, without having to jump through any hoops. If you want to learn more about the "why" and the origin of this project - you can read about it here: https://ift.tt/dJhq7Rc — — — HOW DOES IT WORK? The SDK establishes a long-running session with the server (using gRPC) and "listens" for commands that are forwarded to it all the way from the UI -> server -> SDK . The commands are things like: "show me the data that you are currently consuming" , "apply these rules to all data that you produce" , "inspect the schema for all data" , and so on. The SDK interprets the command and either executes Wasm-based rules against the data it's processing or if it's a `tail` request - it'll send the data to the server, which will forward it to the UI for display. The SDK IS part of the critical path but it does not have a dependency on the server. If the server is gone, you won't be able to use the UI or send commands to the SDKs, but that's about it - the SDKs will continue to work and attempt to reconnect to the server behind the scenes. — — — TECHNICAL BITS The project consists of a lot of "buzzwordy" tech: we use gRPC, grpc-Web, protobuf, redis, Wasm, Deno, ReactFlow, and probably a few other things. The server is written in Go, all of the Wasm is Rust and the UI is Typescript. There are SDKs for Go, Python, and Node. We chose these languages for the SDKs because we've been working in them daily for the past 10+ years. The reasons for the tech choices are explained in detail here: https://ift.tt/YRLfny4 — — — LAST PART OK, that's it. What do you think? Is it useful? Can we answer anything? - If you like what you're seeing, give our repo a star: https://ift.tt/fAQdZG4 - And If you really like what you're seeing, come talk to us on our discord: https://ift.tt/TVGjHIv Talk soon! - Daniel & Ustin

Saturday, October 28, 2023

New top story on Hacker News: Show HN: WireHole combines WireGuard, Pi-hole, and Unbound with an easy UI

Show HN: WireHole combines WireGuard, Pi-hole, and Unbound with an easy UI
15 by byteknight | 49 comments on Hacker News.
WireHole offers a unified docker-compose project that integrates WireGuard, PiHole, and Unbound, complete with a user interface. This solution is designed to empower users to swiftly set up and manage either a full or split-tunnel WireGuard VPN. It features ad-blocking capabilities through PiHole and enhanced DNS caching and privacy options via Unbound. The intuitive UI makes deployment and ongoing management straightforward, providing a comprehensive VPN solution with added privacy features.

Thursday, October 19, 2023

New top story on Hacker News: Discord is going to give out warnings instead of permanent bans

Discord is going to give out warnings instead of permanent bans
14 by thunderbong | 4 comments on Hacker News.

New top story on Hacker News: Show HN: One makefile to rule them all

Show HN: One makefile to rule them all
19 by LiquidityC | 5 comments on Hacker News.

New top story on Hacker News: Ask HN: Did any of you first encounter programming through Scratch?

Ask HN: Did any of you first encounter programming through Scratch?
22 by MarcScott | 27 comments on Hacker News.
I'm old enough that my first encounter with programming was though BBC BASIC and LOGO. I'd be interested how many of today's younger programmers had their first experience in coding while using a block based language, and what they're experience was like.

New top story on Hacker News: Advice from "pracademics" of how to apply ecological dynamics theory to practice

Advice from "pracademics" of how to apply ecological dynamics theory to practice
3 by luu | 0 comments on Hacker News.

Wednesday, October 18, 2023

New top story on Hacker News: The Ur-Quan Masters: The Open Source Remake of Star Control II

The Ur-Quan Masters: The Open Source Remake of Star Control II
27 by reidrac | 5 comments on Hacker News.

New top story on Hacker News: Ask HN: Why is there no modern successor to the 3D Pinball games of yesteryear?

Ask HN: Why is there no modern successor to the 3D Pinball games of yesteryear?
11 by eigenvalue | 9 comments on Hacker News.
I recall games like Full Tilt! Pinball and the 3D pinball game included in Windows were pretty popular and good showcases for the speed and quality of computer graphics back in the 90s. Then it occured to me that modern GPUs like the nVidia 4090 would be incredible for simulating a pinball machine with insane fidelity using RTX ray tracing and the optimized physics simulator (PhysX) they have. You could probably end up with something that truly looks and feels like the real thing. I'm certainly no expert on the subject, but after doing a quick search on Steam, I don't see anything like that on the market. Why do you think that is? Would it really be so hard to do? Wouldn't that be popular? I know I'd love to see it just because it would be such a great showcase for the power of modern machines, especially the integration of super realistic physics. Imagine bumping the machine hard to cheat? Or being able to smash the glass with a hammer and then put objects in the case and see what happens to them while you play? Could also be an amazing physics education thing if you could see real-time free-body diagrams overlaid on the ball that you could freeze in time and study showing all the forces acting on it. You could turn a dial and see what it would be like to play pinball on the moon! I hope someone sees this and makes it!

Thursday, October 5, 2023

New top story on Hacker News: Birdsong Visualizer

Birdsong Visualizer
4 by ssgh | 0 comments on Hacker News.

New top story on Hacker News: Windows Copilot's is showing third-party Ads to Windows users

Windows Copilot's is showing third-party Ads to Windows users
45 by goplayoutside | 17 comments on Hacker News.

New top story on Hacker News: Vivaldi Takes a Bite Out of the Apple: Introducing Vivaldi on iOS

Vivaldi Takes a Bite Out of the Apple: Introducing Vivaldi on iOS
5 by aeadio | 0 comments on Hacker News.

New top story on Hacker News: The Proof of Innocence

The Proof of Innocence
10 by BerislavLopac | 0 comments on Hacker News.

New top story on Hacker News: The Deq Tattooist: Preserving the ink of a disappearing culture

The Deq Tattooist: Preserving the ink of a disappearing culture
5 by nkurz | 0 comments on Hacker News.

Tuesday, October 3, 2023

New top story on Hacker News: Greek Temples Made of Wood

Greek Temples Made of Wood
3 by diodorus | 0 comments on Hacker News.

New top story on Hacker News: ‘Preapproved Narratives’ Corrupt Science

‘Preapproved Narratives’ Corrupt Science
8 by wjb3 | 1 comments on Hacker News.

New top story on Hacker News: Study Finds Hybrid Work Improves Mental Health Compared to Remote or In-Office

Study Finds Hybrid Work Improves Mental Health Compared to Remote or In-Office
30 by digitcatphd | 12 comments on Hacker News.

New top story on Hacker News: Show HN: Leporello.js – interactive functional programming IDE for JavaScript

Show HN: Leporello.js – interactive functional programming IDE for JavaScript
16 by dmitry-vsl | 3 comments on Hacker News.
Hi! Leporello.js is an interactive functional programming environment designed for pure functional subset of JavaScript. It executes code instantly as you type and displays results next to it. Leporello.js also features an omnipresent debugger. Just position your cursor on any line or select any expression, and immediately see its value. Leporello.js visualizes a dynamic call tree of your program. Thanks to the data immutability in functional programming, it allows you to navigate the call tree both forward and backward, offering a time-travel-like experience. Leporello.js offers the ability to develop HTML5 applications interactively, enabling you to update your code without losing the application's state. It records an IO trace of your program, which is then transparently replayed during subsequent program executions. This allows you to instantly reexecute your code after making small tweaks, thereby tightening your feedback loop. Furthermore, Leporello.js can serve as an interactive notebook. You have the flexibility to utilize any JavaScript libraries to visualize your data directly within your code. For a more detailed walkthrough, please watch the product video. Currently, Leporello.js is available as a free online application that you can try right in your browser. My goal is to build the Leporello.js standalone Electron app and a VSCode plugin, both with TypeScript support. Additionally, I plan to add Node.js support (currently, Leporello.js is only for HTML5 apps). In the VSCode plugin, Leporello.js will sit on top of the built-in TypeScript/JavaScript mode, utilizing its code analysis information to enhance the default VSCode experience with unique Leporello.js features. I am building Leporello.js as a single independent developer. Leporello.js is funded solely by donations. Support me on Github Sponsors [0] and be the first to gain access to the Leporello.js Visual Studio Code plugin with TypeScript support. I'll be delighted to answer any questions you may have. [0] https://ift.tt/QfYzxvl