- d33 parentThank you! It seems to be what I'm looking for.
- I've recently been wondering: could you re-compress gzip to a better compression format, while keeping all instructions that would let you recover a byte-exact copy of the original file? I often work with huge gzip files and they're a pain to work with, because decompression is slow even with zlib-ng.
- I worry that 7-Zip is going to lose relevance because lack of zstd support. zlib's performance is intolerable for large files and zlib-ng's SIMD implementation only helps here a bit. Which is a shame, because 7-Zip is a pretty amazing container format, especially with its encryption and file splitting capabilities.
- 32 points
- 3 points
- While reading Amazon reviews, I learned that they missed the contributions by Hedy Lamarr, a very interesting and impressive figure:
- This inspired me to do this experiment:
dd if=/dev/zero bs=1K count=$(( 256 * 3 )) of=a.ext4
mfks.ext4 a.ext4
mkdir a
sudo mount a.ext4 a
cd a
sudo chown 1000:1000 .
python3 -c 'open("a", "wb").write(b"\xff\x00\x00" * 2000)'
python3 -c 'open("b", "wb").write(b"\xff\xff\x00" * 2000)'
python3 -c 'open("c", "wb").write(b"\xff\x00\xff" * 2000)'
cd ..
sudo umount a
(echo -n 'P6\n512 512\n255\n' ; cat a.ext4 ) > a.ppm
convert a.ppm a.png
The resulting a.png is reversible - you can convert it back to .ppm file, skip first 15 bytes and you should get a valid .ext4 back.
- Previously mentioned Depthboot from Eupnea Project (https://www.hackerneue.com/item?id=36888598), while allows you to install Linux distributions on Chromebooks, requires user to generate modified images with custom kernels, which is harder to maintain than mainline/original distribution kernels. Meanwhile Chrultrabook project is actively contributing to upstream projects, allowing for installation of Linux distributions from original images thanks to proper UEFI support with Coreboot - this makes it more future proof, despite more steps required for Coreboot installation.
- Timely! I just deployed it on our company server. There's a hidden gem that's not enabled by default and really helps when pair programming in Jupyter:
https://jupyterlab.readthedocs.io/en/stable/user/rtc.html
Here's a Dockerfile that enables it:
Usage:FROM jupyter/scipy-notebook:2023-07-25 RUN pip install jupyter-collaboration ENV DOCKER_STACKS_JUPYTER_CMD="lab --collaborative"
The only missing would be having more than one cursor and some convenient way to start and attach remote servers, e.g. over AWS...docker build . -t jupyter-collaboration && docker run -p 10000:8888 jupyter-collaboration - In case anyone else is wondering:
> The Scream Test is simple – remove it and wait for the screams. If someone screams, put it back. The Scream Test can be applied to any product, service or capability – particularly when there is poor ownership or understanding of it’s importance.
- As always, Web Archive comes to rescue: https://web.archive.org/web/20230701142059/https://jollyroge...
- For that to work you have to trust the firmware. Overwriting with something random, saving what was fed and then cross-referencing that against the storage could work better, but there's still some non-zero chance that something you're looking for is in a buffer, unreachable part of the disk or the like.
Encrypting the hard drive and then removing the key has a better chance of rendering the data unusable.
- Here's what I tried and recommend:
https://www.youtube.com/c/DANLIAOFreeToLearn - "Free To Learn Chinese", teacher uses a "natural method" where all of the content is in Chinese and most difficult words are paraphrased (HSK1-6)
https://www.youtube.com/@ShuoshuoChinese - similar but HSK1-4 and parts of the contents are in Chinese
- It's intriguing which battles they choose.
It wasn't long since there was a discussion where some people were arguing that they can't make moral judgements because disobeying the law would put them in a very difficult situation:
- I'd say that pretty much everything about SQL is bad. Apart from composability, the syntax is super annoying (the ordering of keywords), many databases have pretty much no error reporting if you get it wrong and the linters suck. You can't unit test it. It's not very well standardized and it's actually more than one language (DML vs DDL). Plus, it's not very readable. And the declarative nature of the language is eventually going to back-stab you when you discover yet another edge case of your query planner that flips a reasonable plan to one that's literally going to take ages.
- This move is the exact polar opposite of how I'd like Mozilla to behave. And possibly a strong case for decentralization.
It's confusing to me that we keep accepting internet as it is and modifications to what we view - such as ad blockers or paywall removal tools - are so rare. Back in the time Firefox had a major part of the market share, now it's negligible. Instead of using that situation to take brave moves aiming at re-imagining the internet, they succumb to content creators instead of working for the user. I wish some company forked Firefox and took it back in the direction it aimed for.
Also:
> you should have gotten the copy of DMCA take down request. I would love to know who did DMCA take down request.
How is this story NOT about who performed the DMCA take-down?
- Just in case you're looking for all of them in one place:
https://gist.github.com/d33tah/04d9f86995e0b5b755513246af194...