HN user

d33

2,380 karma
Posts57
Comments746
View on HN
www.nytimes.com 1y ago

China suspended exports of rare earth minerals

d33
32pts5
www.youtube.com 2y ago

Astonishing Anti Repair Practices by Apple in the Last 15 Years [video]

d33
3pts0
www.schneier.com 4y ago

Crypto-Gram Mailing List

d33
2pts0
news.ycombinator.com 4y ago

Tell HN: Rickroll over DNS

d33
1pts1
en.wikipedia.org 4y ago

Ornithopter

d33
1pts0
d33tah.wordpress.com 5y ago

It’s not free software if you can’t easily fork it (and how to fix it)

d33
7pts8
ivarch.com 6y ago

PV (Pipe Viewer) – add a progress bar to most command-line programs

d33
3pts2
en.wikipedia.org 6y ago

Clipper Route

d33
1pts0
unix.stackexchange.com 6y ago

What Happened to Bzip1?

d33
2pts0
news.ycombinator.com 6y ago

Ask HN: What are the alternative HN front-ends with better discussion features?

d33
6pts6
news.ycombinator.com 6y ago

Ask HN: Starting a hackerspace in my city. How to reach local hackers?

d33
9pts8
en.wikipedia.org 6y ago

Paraponera Clavata

d33
1pts1
en.wikipedia.org 6y ago

Caenorhabditis elegans, the only organism with its connectome completely scanned

d33
1pts0
reactos.org 8y ago

ReactOS 0.4.9 released

d33
5pts0
reactos.org 8y ago

ReactOS 0.4.9 released

d33
4pts1
github.com 8y ago

Show HN: “Strokes” – Chinese calligraphy worksheet generator

d33
2pts1
www.indiegogo.com 8y ago

Turris MOX: Modular and Open-Source Router

d33
2pts0
www.indiegogo.com 8y ago

Turris MOX: Modular and Open-Source Router, by Czech NIC

d33
1pts0
en.wikipedia.org 8y ago

Gregg shorthand

d33
3pts0
en.wikipedia.org 8y ago

Mathematical universe hypothesis, a.k.a. Ultimate ensemble theory

d33
3pts0
github.com 8y ago

WPA3 was announced

d33
2pts0
streaming.media.ccc.de 8y ago

Livestreams from 34th Chaos Communication Congress

d33
50pts2
iknowwhatyoudownload.com 8y ago

I Know What You Download on BitTorrent

d33
120pts62
reactos.org 8y ago

ReactOS 0.4.6 released with many new drivers, UX/stability improvements

d33
6pts0
www.youtube.com 9y ago

Phase-Functioned Neural Networks for Character Control [video]

d33
12pts5
www.youtube.com 9y ago

DMT: Experiencing the impossible (2016)

d33
4pts0
groups.google.com 9y ago

American Fuzzy Lop v0.07b – about 1k LoC, oldest version released

d33
1pts0
github.com 9y ago

Pancake wants to bring Rust into Radare2

d33
2pts0
www.ted.com 9y ago

“How my mind came back to life – and no one knew”

d33
1pts0
www.mopidy.com 9y ago

Mopidy – An Extensible, Python Alternative to MPD (supports Spotify, GMusic)

d33
7pts0

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.

Visualizing Ext4 3 years ago

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://news.ycombinator.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/

Jupyter Notebook 7 3 years ago

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

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.

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?

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?

Epochalypse 4 years ago

If you're OK with compiler warnings, this can be golfed down to:

    echo 'main(){printf("%u\\n",time(0));}'>epoch.c&&make epoch

I like the idea, but if it was interpreted directly, that would be a security nightmare unless we also had something like Python's ast.literal_eval(). Which makes us come back to JSON-like outputs because we need some form of serialization anyway, I guess.