ratarmount
hacker-scripts
ratarmount | hacker-scripts | |
---|---|---|
10 | 71 | |
640 | 47,232 | |
- | - | |
9.1 | 0.0 | |
23 days ago | 7 months ago | |
Python | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ratarmount
- Ratarmount: Access large archives as a filesystem efficiently
- Show HN: Rapidgzip – Parallel Gzip Decompressing with 10 GB/S
- Ratarmount: Random Access Tar Mount
-
Ask HN: Most interesting tech you built for just yourself?
This is basically the same reason why I started with ratarmount (https://github.com/mxmlnkn/ratarmount) but the focus was more on runtime performance and random access and as the name suggests it started out with access to recursive tar archives. The current version should also work for your use case with recursive zips.
-
Looking for advice uploading data while at uni. I need to split the data i need to upload to carry it with me
As an added complication this would need to work under windows (i need onenote and that's win only :/ ) ; this alone makes the majority of solutions that i came up with impossible. One way could've been splitting the data onto various tar files and then mounting those with rartarmount but...linux only :( .
-
How Much Faster Is Making a Tar Archive Without Gzip?
Pragzip actually decompress in parallel and also access at random. I did a Show HN here: https://news.ycombinator.com/item?id=32366959
indexed_gzip https://github.com/pauldmccarthy/indexed_gzip can also do random access but is not parallel.
Both have to do a linear scan first though. The implementations however can do the linear scan on-demand, i.e., they scan only as far as needed.
bzip2 works very well with this approach. xz only works with this approach when compressed with multiple blocks. Similar is true for zstd.
For zstd, there also exists a seekable variant, which stores the block index at the end as metadata to avoid the linear scan. indexed_zstd offers random access to those files https://github.com/martinellimarco/indexed_zstd
I wrote pragzip and also combined all of the other random access compression backends in ratarmount to offer random access to TAR files that is magnitudes faster than archivemount: https://github.com/mxmlnkn/ratarmount
-
Ratarmount – Fast transparent access to archives through FUSE
Or via the experimental AppImage I created this week:
wget -O ratarmount 'https://github.com/mxmlnkn/ratarmount/releases/download/v0.10.0/ratarmount-manylinux2014_x86_64.AppImage'
-
Hop: 25x faster than unzip and 10x faster than tar at reading individual files
I've recently been looking into this same issue because I analyse a lot of data like sosreports or other tar/compressed data from customer systems. Currently I untar these onto my zfs filesystem which works out OK because it has zstd compression enabled but I end up decompressing and recompressing which is quite expensive as often the files are GBs or more compressed.
But I've started using a tool called "ratarmount" (https://github.com/mxmlnkn/ratarmount) which creates an index once (and something I could automate our upload system to generate in advance, but you can also just process it lcoally) and then lets you fuse mount the file. This works pretty great with the only exception that I can't create scratch files inside the directory layout which in the past I'd wanted to do.
I was surprised how hard a problem to solve it is to get a bundle file format that is indexable and compressed with a good and fast compression algorithm which mostly boils down to zstd at this point.
While it works quite well, especially with gzip and bzip2, sadly the zstd and xz (and some other compression formats) don't allow for decompressing only parts of a file by default, even though it's possible the default tools aren't doing it. The nitty gritty details are summarised here:
-
Is there a way to accelerate extracting .tar contents?
Well, you could try to skip extraction and access the tar archive using ratarmount, and stack overlayfs on top to allow writing, but that will have an impact on compilation time.
hacker-scripts
-
New startup sells coffee through SSH and exclusively through SSH
Reminded me of Hacker Scripts, specifically `fucking-coffee`:
> this one waits exactly 17 seconds (!), then opens a telnet session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has a TCP socket up and running) and sends something like `sys brew`. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
https://github.com/NARKOZ/hacker-scripts
-
Cum va arăta Moldova peste 20 de ani?
India has hundreds of millions of English speakers, is it a stellar IT nation? It can only boast a dozen puppet top execs of Indian origins in US megacorps like Microsoft and Google. And a few hundred thousands of office drones on H-1B visas. Half of them probably already got used as ass wipes and fired during the post-pandemic mass layoffs. Are there so many reasonably known Indian programmers? If the ones working in IT companies may not be known due to NDAs and code being proprietary, they should have as many known contributors to free software. Where are they? Do you know many? I know ONLY ONE. All India is known for are mean memes like the one about Kumar the proverbial asshole. You can read more about it here if you're not familiar https://github.com/NARKOZ/hacker-scripts
-
Bill Gates said, "I will always choose a lazy person to do a difficult job because a lazy person will find an easy way to do it." What's a real-life example of this?
This story comes to mind. It could very well be made up, but someone else made those scripts inspired by the story.
-
I have slowly but surely automated nearly all of my ER and even "ER" tickets when I'm off with the exception of network down level scenarios.
kumar-asshole.sh
- Hacker Scripts
- What tools/internal projects/app/scripts/automation stuff have you built at work to improve your development experience?
-
Now that's what I call an hacker
This is the script used to talk to the coffee machine:
https://github.com/NARKOZ/hacker-scripts/blob/master/fucking...
I wonder how many other devices talk telnet and have a weak password. Would be cool to have a database of such models.
-
Ask HN: Most interesting tech you built for just yourself?
This reminded me of this internet folklore: https://www.jitbit.com/alexblog/249-now-thats-what-i-call-a-...
There is also a recreation of the scripts at https://github.com/NARKOZ/hacker-scripts
-
What do you do to achieve this catastrophy?
This is it, not sure if it's the original
-
Thread Diario de Dudas, Consultas y Mitaps - 28/03
nunca te olvides de esto...
What are some alternatives?
tarindexer - python module for indexing tar files for fast access
stylus - Stylus - Userstyles Manager
asar - Simple extensive tar-like archive format with indexing
cmdg - Command line Gmail client
PyFilesystem2 - Python's Filesystem abstraction layer
IKEv2-setup - Set up Ubuntu Server 20.04 (or 18.04) as an IKEv2 VPN server
pixz - Parallel, indexed xz compressor
malten - Anonymous ephemeral messaging
InstaPy - 📷 Instagram Bot - Tool for automated Instagram interactions
Anime-Girls-Holding-Programming-Books - Anime Girls Holding Programming Books
icoextract - Extract icons from Windows PE files (.exe/.dll)
Dkron - Dkron - Distributed, fault tolerant job scheduling system https://dkron.io