Better HN
topnewbestaskshowjobs
Log inSign up

Promarged

192 karma · joined Jan 17, 2018 (8y ago) · 86 submissions

[ my public key: https://keybase.io/promarged; my proof: https://keybase.io/promarged/sigs/45Uths8iv96yqlQOFdQtDf7zZ25B-Zp4dbVceuaS26M ]

[Verifying my OpenPGP key: openpgp4fpr:c6045c813887b77c2dff97a57c56acfe947897d8]

Submissions

comment 8y ago · link · parent

Congrats on the release!

Would the book be updated as new features are added to Rust? I see some useful things being incorporated slowly into the language...

comment 8y ago · link · parent

Yes it can, I used U2F in CLI apps to sign HTTP requests: https://developers.yubico.com/U2F/Libraries/Using_a_library....

There is also pam-u2f: https://developers.yubico.com/pam-u2f/

and https://github.com/bluecmd/openssh-u2f (not in upstream)

comment 8y ago · link · parent

I agree this looks very good. I'm waiting for people to try it out and write some reviews to be sure it's not just a dream...

comment 8y ago · link · parent

It seems centralized solutions (Telegram, Signal) are under fire recently. I wonder what would happen if federated protocols (Matrix, XMPP, etc.) were more popular and, thus, also in spotlight.

comment 8y ago · link · parent

To be more precise you can run your own server but it would not connect to the rest of the network (so it's useless).

Source code here: https://github.com/signalapp/Signal-Server

comment 8y ago · link · parent

Moxie is probably annoyed by the slow pace in which federated protocols move. Having it centralized he can move it a lot faster.

Fortunately there are solutions that incentivize modern features in federated protocols too, like SSLLabs HTTPS checker or https://conversations.im/compliance/ for XMPP.

comment 8y ago · link · parent

> I'd say EV worked perfectly.

Ian run a legit site, not phishing, so what's perfect in revoking his EV cert and not giving back cash?

comment 8y ago · link · parent

> Prosody's XMPP server implementation dropped websocket support in favor of BOSH years ago.

You probably refer to the "old websocket" spec, new websockets are working well: https://prosody.im/doc/modules/mod_websocket

comment 8y ago · link · parent

I wish they published Ink scripts for their games (especially Sorcery series), I've beaten them numerous times but the games are so complex that it's basically impossible to go through all branches. Even if I tried I couldn't replicate some of dialogue and that's in a game that always allows you to undo everything!

comment 8y ago · link · parent

I just tested tutanota. The interface is clean and nice but the encryption to external contacts is the same as in Gmail (link back to tutanota and shared passwords).

Why can't these services use something like OpenPGP's Web Key Discovery [0] fetching key from https://domain.com/.well-known/openpgp/hu/hash-for-localpart and avoid links altogether?

[0]: https://www.gnupg.org/blog/20160830-web-key-service.html

comment 8y ago · link · parent

In my experience people making fun of technology X (for all X) only reveal their own lack of understanding of not only X but their own tools too. Every tool has its own advantages and disadvantages.

Fanatics of any kind always remind of this fragment of Zen and the Art of Motorcycle Maintenance:

> You are never dedicated to something you have complete confidence in. No one is fanatically shouting that the sun is going to rise tomorrow. They know it's going to rise tomorrow. When people are fanatically dedicated to political or religious faiths or any other kinds of dogmas or goals, it's always because these dogmas or goals are in doubt.

comment 8y ago · link · parent

> all my friends can at least contact me on this number that follows me around carrier-to-carrier

Isn't it possible to migrate phone number between carriers in US?

comment 8y ago · link · parent

I wanted to take a look at how it works but the on-boarding process is not really welcoming. Getting started [0] redirects to this weird site [1] served over plain HTTP, installer is also not signed :(

[0]: https://www.scuttlebutt.nz/getting-started.html

[1]: http://dinosaur.is/patchwork-downloader/

comment 8y ago · link · parent

It seems the new Clipboard API requires explicit permission (video on [0]), that's not going to increase adoption I suppose.

[0]: https://developers.google.com/web/updates/2018/03/clipboarda...

comment 8y ago · link · parent

I think these issues were directly tackled on by Roslyn team, that wanted something more than just compiler black box (text goes in, machine code goes out). There are some interesting videos on Channel9 about Roslyn internals (sorry no access now ).

comment 8y ago · link · parent

Thanks!

comment 8y ago · link · parent

Also, there is relatively minor subset of features that provide good messaging experience: https://conversations.im/compliance/

comment 8y ago · link · parent

> France has adopted Matrix for the project

Could you provide a source for this?

49.

Microsoft sites unavailable in Russia(github.com ↗)

2 points · by Promarged · 8y ago · discuss

comment 8y ago · link · parent

For a long time this article [0] was my go-to when explaining Bitcoin transactions to others but this submission is more recent (has SegWit, etc.)

[0]: https://curiosity-driven.org/bitcoin-contracts

51.

Facebook CEO says his own data was shared by Cambridge Analytica(reuters.com ↗)

1 points · by Promarged · 8y ago · discuss

comment 8y ago · link · parent

If available it's better to use instantiateStreaming [0] for faster compilation, e.g. this:

    fetch('../out/main.wasm').then(response =>
      response.arrayBuffer()
    ).then(bytes => WebAssembly.instantiate(bytes))
could be expressed as this:

    fetch('../out/main.wasm').then(response =>
     WebAssembly.instantiateStreaming(response))
[0]: https://hacks.mozilla.org/2018/01/making-webassembly-even-fa...

53.

GitHub: Thank you for 10 years(blog.github.com ↗)

3 points · by Promarged · 8y ago · discuss

comment 8y ago · link · parent

To be precise only v4 UUIDs are (pseudo-)random, and not the entire thing, there are some version bytes.

55.

Encoding of SCTs in Certificates(letsencrypt.org ↗)

2 points · by Promarged · 8y ago · discuss

comment 8y ago · link · parent

One of the most interesting advances is formally verified cryptography [0] using F*. Unfortunately that's only for NSS (Firefox TLS engine).

[0]: https://blog.mozilla.org/security/2017/09/13/verified-crypto...

comment 8y ago · link · parent

Is there not a recommended replacement library for OpenSSL? I'm thinking of LibreSSL for example that has leaner API but probably not the same amount of resources as OpenSSL.

comment 8y ago · link · parent

> ...they would never be caught

Well I think most companies need stronger guarantees than "[probably] never be caught".

comment 8y ago · link · parent

For comparison, Apache's "Category X": https://www.apache.org/legal/resolved#category-x

comment 8y ago · link · parent

> This always comes and bites us back isn't it? The whole promise of Docker was that we would be freed form these pains... But yet here we stand :(

Exactly. Using a separate build host makes builds more independent but on the other hand you'll be running images that the dev did not check.

By the way, are docker image identifiers derived from the actual contents? (Are they reproducible?)

This would suggest they are not:

> Docker images are non-reproducible: each "layer" identifier is a random hex string (and not cryptographic hash of the layer content),

Source: https://blog.bazel.build/2015/07/28/docker_build.html

123