Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Nyan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Nyan
3y ago
Nice work - thanks for your efforts! Yeah, the compute complexity for Reed Solomon is generally O(size_of_input * number_of_recovery_blocks) If you don't specify the number of blocks, par2cmdline defaults to 2000, so at 25%, it's
2.
▲
by
Nyan
3y ago
Thanks for doing that. > par2cmdline[-turbo] encode: par2 c -r25 test That command is rather unfair to PAR2 - you should add `-b48 -n2 -u` to make the comparison fairer. PAR2 ain't exactly fast, particularly compared to GF8 focused
3.
▲
by
Nyan
3y ago
You should at least be benchmarking against par2cmdline-turbo instead (stock par2cmdline isn't exactly performance-oriented). Also, you need to list the parameters used as they significantly impact performance of PAR2. Your benchmark
4.
▲
by
Nyan
3y ago
Someone made this: https://github.com/manticore-projects/fpng-java Replacing zlib might give you a few percentage points' worth of difference, whilst fpnge would likely be several times faster.
5.
▲
by
Nyan
3y ago
We've already got JPEG-XL as a good replacement format, but some feel that jeopardizing its adoption is a sensible cause.
6.
▲
by
Nyan
3y ago
Why not use fpnge?
7.
▲
by
Nyan
3y ago
If you search up guides on how to upload to Usenet, you'll often find most of the recommend creating split RARs. Uploaders who just transfer scene releases without bothering to extract will of course stick to RAR, but there's a lo
8.
▲
by
Nyan
3y ago
Many older formats, ZIP included, didn't standardise on an encoding, so they just use whatever the local 8-bit encoding happens to be. And if your system charset is different from the ZIP creator's, you could get messed up filenam
9.
▲
by
Nyan
3y ago
Hopefully that slowly stops being the standard: https://github.com/animetosho/Nyuu/wiki/Stop-RAR-Uploads
10.
▲
Comparison of Par2cmdline, Reedsolomon, and Wirehair
(1f604.blogspot.com)
1 points
by
Nyan
3y ago
|
0 comments
11.
▲
by
Nyan
3y ago
I follow the latest stuff but haven't seen anything I'd consider to be "a very large resurgence". Personal opinion: whilst bad official translations certainly exist, most of the time, they're fine. There's usua
12.
▲
by
Nyan
3y ago
Generally the translator will find a way to work around the lack of a direct equivalent, trying to convey as much of the meaning as possible. Now you may think that these workarounds cause some meaning loss, and you'd be correct. Howe
13.
▲
by
Nyan
3y ago
From memory, the original Nyaa was nyaatorrents.org -> nyaa.eu -> nyaa.se
14.
▲
by
Nyan
3y ago
Your experience may be slightly out of date. Fansubbers these days are a tiny shadow of that they used to be. The vast majority of anime piracy these days consists of ripping official streams, which include subtitles. Of course, if you'
15.
▲
by
Nyan
3y ago
A possibility might be that the bigger sites have paid more attention to opsec, and are harder to take down, whilst smaller players may be easier to intimidate. Current Nyaa (nyaa.si) has been targeted [ https://torrentfreak.com&#
16.
▲
by
Nyan
3y ago
> It's jumped several domains in the past One thing to note is that there's actually two Nyaa sites, so it's important to not confuse the two. The original jumped several domains, and closed down in May 2017 (last domain
17.
▲
by
Nyan
3y ago
Very useful. In fact, it speeds up a single instance (i.e. not taking advantage of SIMD) of MD5 by 20%: https://github.com/animetosho/md5-optimisation#x86-avx512-vl...
18.
▲
by
Nyan
3y ago
Faster PNG en/decoders exist though, it's probably just libpng being the most commonly used, but not extensively optimised.
19.
▲
by
Nyan
4y ago
I didn't infer 15% from the way it was written there. But most platforms these days have some form of CRC32 "acceleration". Adler32 is easy to compute so I'm even less concerned there. I spent a bunch of time optimising
20.
▲
by
Nyan
4y ago
I see. Yeah, PAR3 tries to address the 'lots of files' scenario better than PAR2. But updates are problematic. You could 'delete' parts of a recovery file if the data is present. However a file being updated typically
21.
▲
by
Nyan
4y ago
Ah, PAR makes the most sense for archival material like that. What were you looking for in the PAR format that'd make more sense for this use case?
22.
▲
by
Nyan
4y ago
Sorry if I'm dense, but what does "this use-case" exactly refer to here?
23.
▲
by
Nyan
4y ago
PAR is somewhat unwieldy to use. In addition to needing to explicitly create it (and it not being particularly fast, on a large enough data set), PAR2s can't be 'updated'. The PAR3 spec allows for some limited updating, but i
24.
▲
by
Nyan
4y ago
As someone who has been recently optimising fpnge, Adler32 computation is pretty much negligible regarding overall runtime. The Huffman coding and filter search take up most of the time. (IIRC fpng doesn't do any filter search, but H
25.
▲
by
Nyan
4y ago
Nice! > For deferring the madd specifically, using two separate sum2 vectors and splitting the `mad` vector into two Actually, the idea was to accumulate into 16-bit sums, and only do madd to 32-bit every 4 loop cycles. I'm not sure
26.
▲
by
Nyan
4y ago
Nicely done. > There is still a lot of room to micro-optimize both the avx and avx64 implementation I personally couldn't see much - perhaps aligning loads and defering `_mm256_madd_epi16` are the only ideas that come to mind. Wha
27.
▲
MD5 Optimisation Tricks: Beating OpenSSL’s Hand-Tuned Assembly
(github.com)
2 points
by
Nyan
6y ago
|
0 comments
28.
▲
Out-of-Band Uses for the Galois Field Affine Transformation Instruction
(gist.github.com)
3 points
by
Nyan
6y ago
|
0 comments
29.
▲
by
Nyan
6y ago
Didn't know the practicality of this in the demoscene - thanks for the info!
30.
▲
by
Nyan
6y ago
Ah good point, thanks for the info!
More ›