Readit News logoReadit News
akfish commented on New Technology Uses Lasers to Transmit Audible Messages to Specific People   osa.org/en-us/about_osa/n... · Posted by u/webdwarf
akfish · 7 years ago
The principle seems simple. It's too bad that 1.9 μm laser is neither easy nor cheap to obtain. Otherwise it could be doable for DIYers.

I imagine you can certainly drive people crazy with this thing. For some one who doesn't know this kind of technology's existence, it's pure magic.

akfish commented on China lands Chang'e-4 on far side of Moon   planetary.org/blogs/jason... · Posted by u/docbrown
akfish · 7 years ago
Ironically, at the time of landing, there was no live coverage on the state media CCTV's news channel. Instead, it was covering the story of Utlima Thule.

Also you should know that the launch/landing window of a lunar mission does not occur everyday. And it's predetermined by orbital mechanics.

akfish commented on In 1957, Five Men Agreed to Stand Under an Exploding Nuclear Bomb (2012)   npr.org/sections/krulwich... · Posted by u/sjcsjc
sillysaurus3 · 8 years ago
Here's a little mystery for HN. Have you seen the fictional BBC segment someone produced about an escalating conflict between Russia and NATO?

https://www.youtube.com/watch?v=2VZ3LGfSMhA

It made the rounds on HN a couple months ago: https://news.ycombinator.com/item?id=14101405

It's the only piece of fiction that has made me feel deathly ill in quite the same way Threads did.

The video is incredible. It's one of the best pieces of realistic fiction I've ever seen.

But how was it made? Who made it? And why? I counted at least 10 professional-quality actors with convincing, in-character costumes. See this timestamp: https://youtu.be/2VZ3LGfSMhA?t=1053

The uploader of the video is "Ben Marking", only 8k subscribers, and no online presence. They left a comment: http://i.imgur.com/MJVh31d.png Other than that, no one's taking credit.

So why make it? It's wonderful art, but is there anything more to it?

Whoever's behind this has also uploaded nine revisions since last year: https://www.youtube.com/channel/UCA9r2NNlWMitk1hhR7yj8SA/vid... including a Canadian and Australian version.

akfish · 8 years ago
Out top of my head: It could be used as the payload for some serious cyber attacks. Imagining the mass panic it would cause, if it was to be played on every TV across the country for real.

This kind of attacks are hard to pull off and one'll have to nail it on the first try. It would be sad for the hackers, if they failed because of a poorly made fake news video.

Practice makes perfect.

akfish commented on Why Quantum Computers Might Not Break Cryptography   quantamagazine.org/why-qu... · Posted by u/markhkim
akfish · 8 years ago
My question is: how practical would it be to use a 1TB RSA key for average users? I assume that the size of cipher text would be somewhat depended on secret size.

The storage space and network bandwidth is not free.

akfish commented on JSON Web Tokens should be avoided   paragonie.com/blog/2017/0... · Posted by u/CiPHPerCoder
akfish · 8 years ago
I don't see any valid arguments in the post. The issues raised are either mis-implementation or misuse of JWT. All I am getting is "JWT can be misused in such such way that makes your application vulnerable. And neither its standards nor libraries prevent that, so it sucks".

But when is the last time we see any technology successfully prevented people from being silly?

akfish commented on Token-Based Authentication with Node   mherman.org/blog/2016/10/... · Posted by u/mjhea0
zbjornson · 9 years ago
We naively started with JWT for auth, and gleefully ripped it out after several months because of all of its cons.

1. Overall, no net benefit. We still had to query a k/v store on every action to check that the token wasn't revoked.

2. Less secure because there's no way to make it act like an HTTP-only cookie (no access from JS).

3. No way to revoke all of one user's tokens because there is no list of those tokens. We want to limit (or be aware of) the number of active logins and let the user sign out from all locations (as you can in Gmail). If the token is only stored on the client, there's no way to do this. You could store a list of all granted tokens and only use it for these revocations, but that's yet another level of complexity. (When we dropped JWT, the diff was -1200+95 LOC because we had to handle a lot of scenarios like this.)

4. Adding tokens to client-side requests is a pain. The common example for e.g. Angular is to use an HTTP interceptor to add a header. More code, but it works... Except for img and a (anchor/link) elements where you can't add a header. So you put the token in the URL query instead, and now you're vulnerable to session leaking if a user shares a URL with someone else. And you have to manually update those embedded tokens when they expire, as many JWT folks recommend you make the expiry short.

Good riddance.

akfish · 9 years ago
Yep. Revocation is tricky with JWT, but it's not that bad.

The expectation should be reduce in database io, not getting rid of it entirely.

Overall you could issue tokens with short lifespan, say 5 minutes. And having the client refreshing tokens periodically. Reading database every 5 min is certainly an improvement over reading it on every API call. You could also only check revocation table if the performed operation is security-critical or sensitive enough. I wouldn't care if the user is trying to perform a read-only operation on some public data with a revoked token that is going to expire in a few minutes anyway.

>3. No way to revoke all of one user's tokens because there is no list of those tokens

I don't see why one would not maintain such a list, since generally issuing a token requires database io anyway. Storing a token when issued is just one additional write op.

akfish commented on TensorFlow 0.12 adds support for Windows   developers.googleblog.com... · Posted by u/mrry
akfish · 9 years ago
Finally, no more docker!
akfish commented on Visual Studio Code 1.7 overloaded npmjs.org, release reverted   code.visualstudio.com/upd... · Posted by u/eiopa
seldo · 9 years ago
CDNs don't usually cache 404s. VSCode was looking for @types packages for any and every npm package its users were using. Packages that had a type description caused no issue, but most packages don't, so we had a > 1000% spike in 404s. Our workaround before MS did the rollback was to cache 404s for @types packages specifically, and it was effective enough that the registry never really went down.
akfish · 9 years ago
Interesting. Thanks for sharing this information.
akfish commented on Visual Studio Code 1.7 overloaded npmjs.org, release reverted   code.visualstudio.com/upd... · Posted by u/eiopa
akfish · 9 years ago
Which is more possible? A bug or they just underestimated the volume of traffic that could be caused by ATA in real life?
akfish commented on Google AI invents its own cryptographic algorithm   arstechnica.co.uk/informa... · Posted by u/wallflower
akfish · 9 years ago
This reminds me of Peter Watts's novel <Blindsight>. Two captured "Scramblers" (the highly intelligent alien without self-consciousness) managed to communicate with each other in a way defying all human analysis, even with human knowing what they are saying (the plain text).

u/akfish

KarmaCake day67December 6, 2014View Original