Tweak: An Efficient Hex Editor

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • HexFiend

    A fast and clever hex editor for macOS

  • The topo sort means we'll write [100, 200) first, so its source data is not overwritten.

    Here is Hex Fiend's B+tree: https://github.com/HexFiend/HexFiend/blob/master/framework/s...

  • pg_hexedit

    Open PostgreSQL relation files in a hex editor with tags and annotations

  • I am the author of a tool that generates wxHexEditor tags and annotations for Postgres relation files -- pg_hexedit:

    https://github.com/petergeoghegan/pg_hexedit

    I've invested quite a lot of effort in it, and it would be nice to have support for multiple hex editors. That was anticipated to some degree:

    https://github.com/petergeoghegan/pg_hexedit#supporting-othe...

    I understand why you favor a declarative template format for describing files with tags -- that probably scales really nicely. What I'm doing is pretty grotty, but works surprisingly well in practice. I procedurally generate a description of each file in a shell script, and then open the file in wxHexEditor. I'm generating huge XML files, which is slow, but there are simple workarounds to get acceptable performance.

    wxHexEditor doesn't support declarative tags. But even if it did I might not want to use them; the on-disk format of PostgreSQL is much more complicated than most file formats, and isn't supposed to be consumed by third party tools. Writing a C program that uses the struct definitions from the server itself makes the complexity quite manageable -- the tool is basically feature complete, even though I haven't spent a huge amount of time on it.

    That said, it would be great if I could adapt pg_hexedit to a hex editor that had some kind of "best of both worlds" support for tags - tags that can be generated lazily and on-demand, when a portion of the file needs to be drawn or redrawn. This would be easy to adapt to -- Postgres relation files always consist of a series of 8KiB blocks/pages. My tool can easily generate tags for any single block without knowing any special context or having any expensive-to-generate state -- I just need a block number (i.e. an 8KiB-aligned byte offset).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to ditch Neon

    2 projects | dev.to | 1 May 2024
  • Squawk – A Linter for Postgres Migrations

    1 project | news.ycombinator.com | 30 Apr 2024
  • Pgcopydb: Copy a Postgres database to a target Postgres server

    2 projects | news.ycombinator.com | 25 Apr 2024
  • Serverless Postgres with Neon - My first impression

    1 project | dev.to | 24 Apr 2024
  • Neon Is Generally Available: Serverless Postgres

    6 projects | news.ycombinator.com | 15 Apr 2024