Sunday, February 11, 2024

Saturday, February 10, 2024

Show HN: AutoBashCraft – a tool for automated Markdown screencast generation https://ift.tt/HuZUyjv

Show HN: AutoBashCraft – a tool for automated Markdown screencast generation Hello HN, Around New Year's I started a personal project called AutoBashCraft (ABC), aiming to simplify the creation of screencasts from bash code blocks in markdown files. I needed to create a lot of markdown files explaining workflows and code. I wanted to make the text-heavy files more interesting and thought of screencasts. There are many great tools to record terminal sessions. Then I found the asciinema-rec-script ( https://ift.tt/wlcEL8b ) by Chris Ottrey that creates screencasts of bash scripts that look like a record of a terminal session including typing out the commands. I wanted the markdown files to be the same documents you would use as training or documentation material so I picked HTML comments to mark the codeblocks that are supposed to be executed. It would then execute the commands and save the screencast next to the markdown file in an asset folder so they can be easily embedded just under the codeblock. I went on from there and more commands were added such as 'create' to create a file with the contents of the codeblock, 'browse' to create a screenshot of a website, 'spawn' to spawn a background process, 'snapshot' to create a docker container of the current environment state, 'init' to initialize a new environment e.g. from a snapshot created in another file and 'config' to change configuration for the following commands. ABC is very much a work-in-progress and a proof of concept at this stage. I am also thinking of adding an editor to create a similar experience to jupyter notebooks, with automatic snapshots between each command in dev mode. There is so much work left to be done but for now I am back at my day job. The repository includes some examples that also work as (currently manually executed tests) including more complex workflows like automating MBTiles generation and usage or integrating private GPT, showcasing what I hope it can become. Running it is as simple as using NPX, with Docker and Node.js being the only requirements. Please only run your code or code you trust (esp. with docker activated). I later realized it also serves as a validator for the accuracy of instructional content. It happens so often that training material is missing important steps and it is very frustrating for beginners to follow a guide step by step and it just won't work. I'd be incredibly grateful if you could take a moment to check it out on GitHub, give it a star if you find it interesting, and maybe even contribute or fork it. I'm looking forward to your feedback and suggestions. Let's make something great together! Links: https://ift.tt/lmpkf4d https://ift.tt/hA6EWa3... https://ift.tt/E5C9HOJ... https://ift.tt/E5C9HOJ... https://ift.tt/E5C9HOJ... https://ift.tt/lmpkf4d February 10, 2024 at 03:31AM

Show HN: Klp, a viewer for structured log files (logfmt, jsonl) https://ift.tt/lO3hdSR

Show HN: Klp, a viewer for structured log files (logfmt, jsonl) https://ift.tt/kUAYSg9 February 10, 2024 at 03:08AM

Show HN: A "Comments Layer" for the Internet https://ift.tt/JhKNRXT

Show HN: A "Comments Layer" for the Internet SwearBy is an iOS app that provides a "comments section" and live chat for every URL. Load SwearBy in Safari, Chrome, and many other apps (Airbnb, Spotify, Redfin, Amazon...) Just tap the "Share" button from your current page. Basically - you get a "Twitter thread" and a "Youtube Live Chat" on every URL. LMK what you think :) https://www.swearby.app February 10, 2024 at 02:11AM

Janet Tarlov Joins SFMTA Board of Directors

Janet Tarlov Joins SFMTA Board of Directors
By Madhu Unnikrishnan

New SFMTA Board Director Janet Tarlov participates in a nomination ceremony with San Francisco Mayor London Breed. San Francisco Mayor London Breed swearing in Janet Tarlov as a new member of the SFMTA Board of Directors.

The SFMTA is excited to welcome Janet Tarlov, a longtime small business owner, to its Board of Directors. Tarlov was nominated by Mayor London Breed in November. The Board of Supervisors voted to approve her appointment on Jan. 23.  

Tarlov currently serves as the president of the Glen Park Merchants Association. Previously, she was vice president of the San Francisco Council of District Merchants Associations, which advocates for measures to improve the business climate in the city. Her work with the merchants associations and her experience running a small business have deepened her understanding of the many challenges businesses in San Francisco face.  

Tarlov and her husband, Richard, founded Glen Park’s popular Canyon Market in 2006. They operated it for 16 years before selling it to Gus’s Community Markets in 2022. At the time of her nomination, Tarlov said running a small business in transit-rich Glen Park will inform her work on the SFMTA Board of Directors.  

Before opening Canyon Market, Tarlov managed procurement and distribution for independent food stores. A Pennsylvania native, Tarlov graduated from Oberlin College in Ohio. She currently lives in Eureka Valley. 

SFMTA Boad of Directors 

The SFMTA is governed by a seven-member Board of Directors who are appointed by the mayor and confirmed by the San Francisco Board of Supervisors. The SFMTA Board of Directors provides policy oversight in accordance with the San Francisco Charter and the Transit-First Policy and serves as members of the San Francisco Parking Authority. The SFMTA Board of Directors generally meets on the first and third Tuesday of each month at 1 p.m. Meetings are open to everyone and are streamed live through SFGovTV. Additional information such as agendas, resolutions and legislation passed by the Board can be accessed at SFMTA Board page (SFMTA.com/Board).   



Published February 10, 2024 at 01:38AM
https://ift.tt/9OXF2e0

Friday, February 9, 2024

Show HN: Open-source template for end-to-end streaming analytics https://ift.tt/fjzyNEK

Show HN: Open-source template for end-to-end streaming analytics To help my future self, I decided to build a repository in which I can quickly deploy an end-to-end modern analytics pipeline, from ingestion to fast analytics and business dashboards, including data exploration, time-series forecasting, and monitoring of the stack. Of course, all the components are open source, and you can use this template as a stepping stone for your near-realtime streaming analytics. What's the inspiration? I’ve been working with streaming analytics for a long time. I’ve done not-too-stale analytics with a RDBMs incremental query and a spreadsheet, gone over the micro-batch-looks-almost-like-real-time lambda analytics, and the near-real-time analytics since kappa and afterwards. The range and features of tools today is way better than what we had 15 years ago. What remains constant is the requirement for freshness of data, and for more advanced analytics. This means that you cannot really build a reliable data pipeline for near-realtime analytics at scale using a single component, and every time you start a new project you waste a lot of time just integrating the different moving parts. When the repository starts, the pipeline will collect public events from the GitHub API, send them to a message broker (Apache Kafka), persist them into a fast time-series database (QuestDB), and visualize them on a dashboard (Grafana). It will also provide a web-based development environment (Jupyter Notebook) for data science and machine learning. Monitoring metrics are captured by a server agent (Telegraf) and stored back into the time-series database (QuestDB). Hopefully others in the community find this useful! https://ift.tt/tW3xzdF February 9, 2024 at 01:22AM

Show HN: Daily price tracking for Trader Joe's https://ift.tt/sjbLgmd

Show HN: Daily price tracking for Trader Joe's https://ift.tt/Wnclmhr February 8, 2024 at 10:07PM

Show HN: Happy Coder – End-to-End Encrypted Mobile Client for Claude Code https://ift.tt/vt1BkI0

Show HN: Happy Coder – End-to-End Encrypted Mobile Client for Claude Code Hey all! Few weeks ago we realized AI models are now so good you d...