Preferences

d33
Joined 2,380 karma

  1. Thank you! It seems to be what I'm looking for.
  2. I just tried building and running it. Surprisingly many websites already load fine, though Youtube doesn't and Vimeo/Reddit comment section crashed it. Still, the results are quite encouraging! It takes ~6GB of HDD to build it.
  3. 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.
  4. Thanks! Any ideas why it didn't get merged? Clearly 7-Zip has some development activity going on and so does this fork...
  5. 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.
  6. I don't want this to sound cynical, but do we have any examples where the US government successfully got the corporations to actually increase security, as opposed to just gaming the regulations to make more money instead?
  7. I'm surprised by the performance. Doesn't qemu have dynamic recompilation capabilities?
  8. While reading Amazon reviews, I learned that they missed the contributions by Hedy Lamarr, a very interesting and impressive figure:

    https://en.wikipedia.org/wiki/Hedy_Lamarr

  9. 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.

  10. 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.

    https://chrultrabook.github.io/docs/

  11. 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:

        FROM jupyter/scipy-notebook:2023-07-25
        RUN pip install jupyter-collaboration
        ENV DOCKER_STACKS_JUPYTER_CMD="lab --collaborative"
    
    Usage:

        docker build . -t jupyter-collaboration && docker run -p 10000:8888 jupyter-collaboration
    
    The only missing would be having more than one cursor and some convenient way to start and attach remote servers, e.g. over AWS...
  12. Is "zstd" a typo? Couldn't find any sources on it (unless we mean the compression standard), including Wikipedia.
  13. 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.

    https://www.v-wiki.net/scream-test-meaning/

  14. 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.

  15. Do we have a proof that this means that they're ready for the late game, as opposed to just investors being desperate?
  16. 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

  17. They still can't beat the laws of physics. It's just the kind of density that doesn't seem feasible to put in a smartphone.
  18. One thing that I wonder about is: could we write extra code that makes those reversible? I understand that there are no stack frames other than the topmost one, but maybe if we recorded the first and last one as well as a copy of the arguments, it could be enough to reconstruct the flow?
  19. Why do you see it as more frustrating?
  20. 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:

    https://www.hackerneue.com/item?id=35028107&

  21. 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.
  22. 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?

  23. The screenshot is really inspiring, would love to see that rendered to a Leaflet-style map that I could use on a weaker computer!

    That being said, does anybody know how much GPU RAM does it actually require? Would 6GB suffice?

  24. Just curious, is .pl the standard extension for Prolog programs? Why would Perl and Prolog choose the same one, instead of one using e.g. .pg?
  25. ...on a separate note, wouldn't `date +%s` from coreutils do?
  26. Just in case you're looking for all of them in one place:

    https://gist.github.com/d33tah/04d9f86995e0b5b755513246af194...

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal