Viewing profile — RaisingSpear
RaisingSpear
HN member- Joined
- Mon, Jun 08, 2020, 1:57 AM UTC
- HN karma
- 126
- Public activity
- 95 items
- HN profile
- View on Hacker News ↗
About RaisingSpear
No profile information was provided.
Recent public activity
-
comment
Comment #43330507
From memory, the SpacemiT K1 doesn't support extensions like Zvkt? EDIT: okay, looks like the official documentation lists it, but many places I looked didn't. Maybe it wasn't bein…
- comment
-
comment
Comment #42493018
If you scale up the multipliers, you should be able to eliminate the variable shift, which would reduce the lookup table to 512 bytes.
-
comment
Comment #42485731
For CPUs that support AVX-512 VBMI, there's a faster reciprocal-based approach: https://avereniect.github.io/2023/04/29/uint8_division_using... A VBMI2 example implementation can b…
-
comment
Comment #41954630
I suspect Intel uses 32x32b multipliers instead of his theorised 16x16b, just that it only has one every second lane. It lines up more closely with VPMULLQ, and it seems odd that P…
-
comment
Comment #40413766
> Does every dev need to write the same line now? Yes. > Or should your one-liner be a library? Definitely not. Particularly if I can write the one-liner faster than it takes one t…
-
comment
Comment #40412180
Yeah, you can write it in less than a minute: const tryNew = (f, ...a) => { try { return new f(...a); } catch(x) { return undefined; } }; const myUrl = tryNew(URL, ' http://example…
-
comment
Comment #39949849
Search engines: they scrape the web, but get narky when scraped themselves.
-
comment
Comment #39883102
Tangentially related, but I've had a case where GCC 9.4.0 shipped a broken arm_acle.h header [ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100985 ] - code which includes the heade…
-
comment
Comment #39882981
I think we're talking past each other a bit here. If I were trying to phish someone, I wouldn't attack the public key crypto part, so how domains come into play during authenticati…
-
comment
Comment #39882969
From my understanding, FIDO isn't MFA though (the authenticator may present its own local challenge, but I don't think the remote party can mandate it). There's also the issue of h…
-
comment
Comment #39874395
The phisher can just pass on whatever you sign, and capture the token the server sends back. Sure, you can probably come up with some non-HTTPS scheme that can address this, but I …
- comment
-
comment
Comment #39873986
> That's why I qualified it with "certificate-based". The private key never leaves the device Except that phishing doesn't require the private key - it just needs to echo back the …
-
comment
Comment #39873841
> I don't think phishing is such an obscure scenario. For a typical person, maybe, but for a tech-minded individual who understands security, data entropy and what /dev/random is? …
-
comment
Comment #39873030
But password managers typically don't send keyboard commands to fill in a password, so a physical device would be useless. > There are plenty of scenarios where MFA is more secure …
-
comment
Comment #39742481
I don't quite understand what you're saying, but it should be possible to infer the length from the number of bytes received. Assuming n is an integer: * 5n bytes received = 4n byt…
-
comment
Comment #39741929
Padding is actually not really necessary in base64, as you can infer the length from the number of characters received. Unfortunately for Z85, they made the highly questionable dec…
-
comment
Comment #39741900
> The four octets SHALL be treated as an unsigned 32-bit integer in network byte order (big endian). The five characters SHALL be output from most significant to least significant …
-
comment
Comment #39656316
Did the challenge limit submissions to only using SSE2? Seems odd, given the prevalence of SSE4.2 support. PMULUDQ is in SSE2, though I haven't checked if that's usable for the pro…
-
comment
Comment #39508837
POPCNT doesn't exist in AVX prior to Icelake, so using other techniques there is sensible. Also, that's POPCNT, not LZCNT.
-
comment
Comment #39499177
> There are some times when you're doing these operations in large vector types (like AVX), in parallel, when falling back to the SWAR techniques can actually be faster because of …
-
comment
Comment #39272447
> if your computer ever gets compromised If that happens, nothing will save you. The malware can just grab your session tokens whenever you log in, then do whatever it pleases.
-
comment
Comment #39259803
> So far I couldn't exceed 1 GB/s/core [4], so more research is needed. If you have any ideas - I am all ears! I don't know much about the space you're working in, but some things …
-
comment
Comment #38839505
> Under no circumstances should FLAC level 5 decode be faster than FLAC level 0 decode. I don't know about FLAC, but from my knowledge of compression, this result seems sensible to…