The best Hacker News stories from Show from the past week

Go back

Latest posts:

Show HN: Lapdev, a new open-source remote dev environment management software

Show HN: magick.css – Minimalist CSS for Wizards

Mapping almost every law, regulation and case in Australia

Hey HN,<p>After months of hard work, I am excited to share the first ever semantic map of Australian law.<p>My map represents the first attempt to map Australian laws, cases and regulations across the Commonwealth, States and Territories semantically, that is, by their underlying meaning.<p>Each point on the map is a unique document in the Open Australian Legal Corpus, the largest open database of Australian law (which, full disclosure, I created). The closer any two points are on the map, the more similar they are in underlying meaning.<p>As I cover in my article, there’s a lot you can learn by mapping Australian law. Some of the most interesting insights to come out of this initiative are that:<p>⦁ Migration, family and substantive criminal law are the most isolated branches of case law on the map;<p>⦁ Migration, family and substantive criminal law are the most distant branches of case law from legislation on the map;<p>⦁ Development law is the closest branch of case law to legislation on the map;<p>⦁ Case law is more of a continuum than a rigidly defined structure and the borders between branches of case law can often be quite porous; and<p>⦁ The map does not reveal any noticeable distinctions between Australian state and federal law, whether it be in style, principles of interpretation or general jurisprudence.<p>If you’re interested in learning more about what the map has to teach us about Australian law or if you’d like to find out how you can create semantic maps of your own, check out the full article on my blog, which provides a detailed analysis of my map and also covers the finer details of how I built it, with code examples offered along the way.

Show HN: Dropflow, a CSS layout engine for node or <canvas>

For the last 5 years I've been working on a layout engine that targets CSS2 and some more modern properties.<p>Live demo: <a href="https://chearon.github.io/dropflow/" rel="nofollow">https://chearon.github.io/dropflow/</a><p>It matches browsers in all cases I can find where they agree, and it's fast. It supports `position`, `inline-block`, `z-index`, and complex properties like `float` and `vertical-align`. It doesn't support high-level layout like flexbox or grid yet, but you can get intrinsics to easily divide space yourself and paint multiple layout trees. It has a great text layout implementation, and supporting non-Latin scripts is a top priority.<p>I've wanted this to exist as far back as 2013, and the desire kept coming up: for a way to get detailed intrinsics, for high quality rich text layout to canvas and SVG, and for server-side rich text. We currently use it in CellEngine for our new canvas-based spreadsheet library to layout text in hundreds of thousands of cells, and will be using it soon to render PDFs with thousands of pages in a few seconds.

Show HN: Memories – FOSS Google Photos alternative built for high performance

Memories is a FOSS Google Photos alternative that you can self-host (it runs as a Nextcloud plugin).<p>Website: <a href="https://memories.gallery/" rel="nofollow">https://memories.gallery/</a><p>GitHub: <a href="https://github.com/pulsejet/memories">https://github.com/pulsejet/memories</a><p>Demo Server: <a href="https://demo.memories.gallery/apps/memories/" rel="nofollow">https://demo.memories.gallery/apps/memories/</a> (demo runs in San Francisco on a free-tier cloud vm)<p>Memories has been built ground-up for high performance and is extremely fast when configured correctly. In our testing environment, it can load a timeline view with 100k photos in under 500ms, including query and rendering time!<p>Some features to highlight:<p>* A timeline similar to Google Photos where you can skip to any time in history instantly.<p>* AI-based tagging that runs locally on your server, identifying and tagging people and objects.<p>* Albums and external sharing.<p>* Metadata editing support<p>* A world map of your photos, supported both on mobile and the web<p>* Did I mention it's extremely fast?<p>Would love to hear feedback from the HN community! :)

Show HN: GritQL, a Rust CLI for rewriting source code

Hi everyone!<p>I’m excited to open source GritQL, a Rust CLI for searching and transforming source code.<p>GritQL comes from my experiences with conducting large scale refactors and migrations.<p>Usually, I would start exploring a codebase with grep. This is easy to start with, but most migrations end up accumulating additional requirements like ensuring the right packages are imported and excluding cases which don’t have a viable migration path.<p>Eventually, to build a complex migration, I usually ended up having to write a full codemod program with a tool like jscodeshift. This comes with its own problems:<p>- Most of the exploratory work has to be abandoned as you figure out how to represent your original regex search as an AST. - Reading/writing a codemod requires mentally translating from AST names back to what source code actually looks like. - Performance is often an afterthought, so iterating on a large codemod can be painfully slow. - Codemod frameworks are language-specific, so if you’re hopping between multiple languages—or trying to migrate a shared API—you have to learn different tools.<p>GritQL is an attempt to develop a powerful middle ground: - Exploratory analysis is easy: just put a code snippet in backticks and use $metavariables for placeholders. - Incrementally add complexity by introducing side conditions with where clauses. - Reuse named patterns to avoid rebuilding queries, and use shared patterns from our standard library for common tasks like ensuring modules are imported. - Iterate on large codebases quickly: we use Rust for maximum performance<p>GritQL has already been used on thousands of repositories for complex migrations[1] but we're excited to collaborate more with the open source community.<p>[1] Ex. <a href="https://github.com/openai/openai-python/discussions/742">https://github.com/openai/openai-python/discussions/742</a>

Show HN: jnv: interactive JSON filter using jq

Show HN: Not sure you're talking to a human? Create a human check

Show HN: Godspeed is a fast, 100% keyboard oriented todo app for Mac

Hi everybody, today I'm launching version 1.0 of Godspeed, a todo manager built with two priorities in mind: speed and 100% keyboard orientation. Every action in Godspeed can be done from your keyboard and will respond instantly. It's like Superhuman for your todo list.<p>Godspeed has everything you expect in a todo manager like shared lists, labels, smart lists, boolean search operators, and cloud sync. If you're already a user of an app like Todoist or OmniFocus you should be able find everything you need in Godspeed.<p>I think the most appealing thing to most HN users would be the keyboard orientation. Literally every single action in Godspeed is doable from your keyboard. I'm so serious about this that I built "hardcore mode" to completely disable the mouse - this both helps you break the habit of reaching for your mouse, and keeps us honest about 100% hotkey support.<p>You can fully customize the hotkeys, but if you're into Vim or Emacs you'll feel right at home by default.<p>We've got a 2 week free trial with no limitations, and then offer subscription or one-time purchase options.<p>Thanks for checking out Godspeed, I'd love to hear your feedback!<p><a href="https://godspeedapp.com/" rel="nofollow">https://godspeedapp.com/</a>

Show HN: Open-source, browser-local data exploration using DuckDB-WASM and PRQL

Hey HN! We’ve built Pretzel, an open-source data exploration and visualization tool that runs fully in the browser and can handle large files (200 MB CSV on my 8gb MacBook air is snappy). It’s also reactive - so if, for example, you change a filter, all the data transform blocks after it re-evaluate automatically. You can try it here: <a href="https://pretzelai.github.io/" rel="nofollow">https://pretzelai.github.io/</a> (static hosted webpage) or see a demo video here: <a href="https://www.youtube.com/watch?v=73wNEun_L7w" rel="nofollow">https://www.youtube.com/watch?v=73wNEun_L7w</a><p>You can play with the demo CSV that’s pre-loaded (GitHub data of text-editor adjacent projects) or upload your own CSV/XLSX file. The tool runs fully in-browser—you can disconnect from the internet once the website loads—so feel free to use sensitive data if you like.<p>Here’s how it works: You upload a CSV file and then, explore your data as a series of successive data transforms and plots. For example, you might: (1) Remove some columns; (2) Apply some filters (remove nulls, remove outliers, restrict time range etc); (3) Do a pivot (i.e, a group-by but fancier); (4) Plot a chart; (5) Download the chart and the the transformed data. See screenshot: <a href="https://imgur.com/a/qO4yURI" rel="nofollow">https://imgur.com/a/qO4yURI</a><p>In the UI, each transform step appears as a “Block”. You can always see the result of the full transform in a table on the right. The transform blocks are editable - for instance in the example above, you can go to step 2, change some filters and the reactivity will take care of re-computing all the cells that follow, including the charts.<p>We wanted Pretzel to run locally in the browser <i>and</i> be extremely performant on large files. So, we parse CSVs with the fastest CSV parser (uDSV: <a href="https://github.com/leeoniya/uDSV">https://github.com/leeoniya/uDSV</a>) and use DuckDB-Wasm (<a href="https://github.com/duckdb/duckdb-wasm">https://github.com/duckdb/duckdb-wasm</a>) to do all the heavy lifting of processing the data. We also wanted to allow for chained data transformations where each new block operates on the result of the previous block. For this, we’re using PRQL (<a href="https://prql-lang.org/" rel="nofollow">https://prql-lang.org/</a>) since it maps 1-1 with chained data transform blocks - each block maps to a chunk of PRQL which when combined, describes the full data transform chain. (PRQL doesn’t support DuckDB’s Pivot statement though so we had to make some CTE based hacks).<p>There’s also an AI block: This is the only (optional) feature that requires an internet connection but we’re working on adding local model support via Ollama. For now, you can use your own OpenAI API key or use an AI server we provide (GPT4 proxy; it’s loaded with a few credits), specify a transform in plain english and get back the SQL for the transform which you can edit.<p>Our roadmap includes allowing API calls to create new columns; support for an SQL block with nice autocomplete features, and a Python block (using Pyodide to run Python in the browser) on the results of the data transforms, much like a jupyter notebook.<p>There’s two of us and we’ve only spent about a week coding this and fixing major bugs so there are still some bugs to iron out. We’d <i>love</i> for you to try this and to get your feedback!

Show HN: Matrix Multiplication with Half the Multiplications

Show HN: Matrix Multiplication with Half the Multiplications

Show HN: Skyvern – Browser automation using LLMs and computer vision

Hey HN, we're building Skyvern (<a href="https://www.skyvern.com">https://www.skyvern.com</a>), an open-source tool that uses LLMs and computer vision to help companies automate browser-based workflows. You can see some examples here: <a href="https://github.com/Skyvern-AI/skyvern#real-world-examples-of-skyvern">https://github.com/Skyvern-AI/skyvern#real-world-examples-of...</a> and there's a demo video at <a href="https://github.com/Skyvern-AI/skyvern#demo">https://github.com/Skyvern-AI/skyvern#demo</a>, along with some instructions on running it locally.<p>We provide a natural-language API to automate repetitive manual workflows that happen within the companies' backoffices. You can check out our code and play with Skyvern here: <a href="https://github.com/Skyvern-AI/Skyvern">https://github.com/Skyvern-AI/Skyvern</a><p>We talked to hundreds of companies about things they do in the background and found that most of them depend on repetitive manual workflows. The breadth of these workflows surprised us – most companies started off doing things manually, and eventually either hired people to scale the manual work, or wrote scripts using Selenium-like browser automation libraries.<p>In these conversations, one common point stood out: scaling is a pain either way. Companies relying on hiring struggled to adjust team sizes with fluctuating demand. Companies using Selenium and similar tools had a different problem: it can take days or even weeks to get a new workflow automated, and then would require ongoing maintenance any time the underlying websites changed because their XPath based interaction logic suddenly became invalid.<p>We felt like there was a way to get the best of both worlds with LLMs. We could use LLMs to reason through a website’s layout, while preserving the advantage of traditional browser automations allowing it to scale alongside demand. This led us to build Skyvern with a few core functionalities:<p>1. Skyvern can operate on websites it’s never seen before by connecting visible elements with the natural language instructions provided to us. We use a blend of computer vision and DOM parsing to identify a set of possible actions on a website, and multi-modal LLMs to map the natural language instructions to the available actions on the page.<p>2. Skyvern is resistant to website layout changes, as it doesn’t depend on any predetermined XPaths or other selectors. If a layout ever changes, we can leverage the methodology in #1 to complete the user-specified goal.<p>3. Skyvern accepts a blob of information when navigating workflows—basically just a json blob of whatever information you want to put, and then we use LLMs to map that to information on the screen. For example: if you're generating a quote from Geico, they commonly ask “Were you eligible to drive at 21?”. The answer could be inferred from the driver receiving their license in 2012, and having a birth date of 1996.<p>The above strategy adapts well to a number of use cases that Skyvern is helping companies with today: (1) Automating materials procurement by searching for, adding to cart, and transacting products through vendor websites that don’t have APIs; (2) Registering accounts, filing forms, and searching for information on government websites (ex: registering franchise tax information for Delaware C-corps); (3) Generating insurance quotes by completing multi-step dynamic forms on insurance websites; (4) Automating the job application process by mapping user-specified information (such as a Resume) to a job posting.<p>And here are some use-cases we’re actively looking to expand into: (1) Automating post-checkup data entry with patient data inside medical EHR systems (ie submitting billing codes, adding notes, etc), an (2) Doing customer research ahead of discovery calls by analyzing landing pages and other metadata about a specific business.<p>We’re still very early and would love to get your feedback!

Show HN: A user-friendly UI for viewing and editing Markdown files

Show HN: Flox 1.0 – Open-source dev env as code with Nix

Hey HN,<p>I'm Ron Efroni, CEO at Flox, and today we are releasing version 1.0 of our open source CLI, helping folks manage development environments everywhere.My own experience with development environments began with air-gapped systems, having to actually burn software to a CD to iterate over a very slow and expensive development cycle, sometimes reaching the server rack and realizing I have the wrong disk.... Fast forward to today and there are countless alternatives available backed by incredible compute resources, yet we somehow still find ourselves paying the price of long development cycles. That's why I've been working for over a decade to simplify the development stack so we can spend more time on making 1's and 0's do magical things, and why my co-founder Michael and I started Flox to bring you the solution based on Nix. Today is just the first step on that journey. We hope you'll take a peek at our new release, and very much look forward to continuing the journey with you from here together!<p>Introducing Flox 1.0<p>Flox is a platform that lets developers and operators focus on building fast with reproducible environments that span the enterprise SDLC. Using a declarative framework based on Nix, a package management and configuration tool, Flox allows developers to create environments that contain everything they need to build software.<p>Why Flox?<p>Flox behaves a lot like your favorite and familiar package manager, but it allows you to create as many environments as you want on your machine. Each one can contain a different combination of packages.<p>Environments are portable by default. If you install a package inside one that isn't cross-platform, it's easy to carve out exceptions. It's also easy to write hooks and populate your environment with variables - we designed it to be hackable.<p>Flox environments run in user-space, like, where you are. When you type `ls` after activating a Flox environment you will see the same stuff because you're in the same place - even with all those new packages available. No mounting volumes, no proxying ports. No breaking into the toolset you just conjured.<p>Getting Started: No sign-ups, just one install away. Dive into our GitHub repository (<a href="https://github.com/flox/flox">https://github.com/flox/flox</a>) and start exploring<p>I’m around all day to answer questions, talk Nix, or just reminisce about simpler times ;).<p>Lots of open source love, Ron

Show HN: Comma Separated Values (CSV) to Unicode Separated Values (USV)

Show HN: I made a free animator. Think Adobe Illustrator but for animation

Trangram is a free one-stop platform to create, and share motion graphics and svg animations with a free built-in powerful editor which is a fusion of Adobe Illustrator and animation tools.

Show HN: Teable – Open-Source No-Code Database Fusion of Postgres and Airtable

Features<p>Spreadsheet-like interface All you want is here • Cell Editing: Directly click and edit content within cells.<p>• Formula Support: Input mathematical and logical formulas to auto-calculate values.<p>• Data Sorting and Filtering: Sort data based on a column or multiple columns; use filters to view specific rows of data.<p>• Aggregation Function: Automatically summarize statistics for each column, providing instant calculations like sum, average, count, max, and min for streamlined data analysis.<p>• Data Formatting: formatting numbers, dates, etc.<p>• Grouping: Organize rows into collapsible groups based on column values for easier data analysis and navigation.<p>• Import/Export Capabilities: Import and export data from other formats, e.g., .csv, .xlsx.<p>Multiple Views<p>Visualize and interact with data in various ways best suited for their specific tasks.<p>• Grid View: The default view of the table, which displays data in a spreadsheet-like format.<p>• Form View: Input data in a form format, which is useful for collecting data.<p>• Coming soon: Kanban View, Calendar View, Gallery View, Gantt View, Timeline View.<p>Super Fast Amazing response speed and data capacity<p>• Millions of data are easily processed, and there is no pressure to filter and sort<p>• Automatic database indexing for maximum speed<p>• Supports batch data operations at one time<p>Full-featured SQL Support Seamless integration with the software you are familiar with<p>• BI tools like Metabase PowerBi...<p>• No-code tools like Appsmith...<p>• Direct retrieve data with native SQL<p>Privacy-First<p>• Bring your own database (coming soon)<p>Real-time collaboration • No need to refresh the page, data is updated in real-time

Show HN: LlamaGym – fine-tune LLM agents with online reinforcement learning

Show HN: Timelock.dev – Send a secret into the future using timelock encryption

This is simply a web interface built on top of the timelock encryption system posted by Cloudflare last week. <a href="https://blog.cloudflare.com/harnessing-office-chaos" rel="nofollow">https://blog.cloudflare.com/harnessing-office-chaos</a>

< 1 2 3 ... 27 28 29 30 31 ... 130 131 132 >