Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
d1plo1d
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
1.
▲
by
d1plo1d
5y ago
For reference I have over a decade of JavaScript experience in industry and my async Rust rewrite of a large JS project was *more* concise then the heavily refactored and polished NodeJS version (a language I consider more concise then most
2.
▲
by
d1plo1d
5y ago
Very true. I'm checks cloc 14,000 lines into a personal project and I have yet to feel any need to use `dyn` (virtual dispatching for non-Rust folks).
3.
▲
by
d1plo1d
5y ago
I really hope they change the name. Citizenlab.ca is quite well established and doing important work.
4.
▲
by
d1plo1d
6y ago
Yeah, dynamic DNS but for an IPV6 address was what I was meaning. Very interesting.
5.
▲
by
d1plo1d
6y ago
Wow, am I getting this right? It handles NAT traversal for you behind the IPV6 address for free??
6.
▲
by
d1plo1d
6y ago
Sure, right now I'm using a nodejs WebRTC datachannels implementation but there's an up and coming rust implementation which I'm quite excited to try: - NodeJS DataChannels: https://github.com/node-webrtc/
7.
▲
by
d1plo1d
6y ago
I tunnel everything through webRTC. It's a bit exotic but it gets you a direct bidirectional data connection to the self hosted device. You can put all users' self hosted content through a single domain name & SSL cert or you
8.
▲
by
d1plo1d
6y ago
I look forward to the day everyone can have IPV6. For now many of us still have to deal with NAT sadly - especially if we're open sourcing our software for users to deploy on any network.
9.
▲
by
d1plo1d
6y ago
Hello fellow 3D print curmudgeon, The Makerbot Automated Build Platform was terrible in many ways so an eternity ago I forked ReplicatorG and got it printing continuously from a queue. Once I did that I really appreciated being able to leav
10.
▲
by
d1plo1d
6y ago
Ok, 3rd edit. The promises are awaited in sequence but since they are both started before the first await they are run in parallel. Your question about Rust futures makes a ton more sense now. This only works because a promise is self-execu
11.
▲
by
d1plo1d
6y ago
Hey @varbhat, I think perhaps the downvotes are due to some AFAIK incorrect assertions in your comment. Rust allocations are I believe closer to C then C++ and Linus has already supported Rust: https://www.theregister.com/20
12.
▲
by
d1plo1d
6y ago
I could be wrong but I interpreted the down votes as about incorrectly equating of Rust and C++ allocations. There are a few replies that address this better then I can (I'm limited here in that I grok Rust but not C++) but I believe t
13.
▲
by
d1plo1d
6y ago
I expect that will execute sequentially though as opposed to the solution above it.
14.
▲
by
d1plo1d
6y ago
I'm in a similar boat with regards to launching a new, unknown product in the snap store. As an interim solution I'm planning to ask users to do use the beta flag: `snap install my-app --beta` which gets me around the secure sandb
15.
▲
by
d1plo1d
6y ago
Very cool to see more people experimenting in this area. I've similarly implemented GraphQL over WebRTC for https://tegapp.io/ and had great initial success 3D printing over data channels. One thing I didn't immed
16.
▲
by
d1plo1d
6y ago
I'm always interested in feedback. Sounds worth it even for that tbh. Cheers!
17.
▲
by
d1plo1d
6y ago
Hi Patrick, I've been prototyping end-to-end encrypted 3D printing over webRTC. Would decentralizing remote 3D printing fall under the banner of fixing the internet?
18.
▲
by
d1plo1d
6y ago
As someone newer to Rust who has been using error-chain because it was what I found at the time I'd be curious to hear what your preferred solution to errors in modern rust is.
19.
▲
by
d1plo1d
10y ago
Just to note that the session can still be thoroughly hijacked through malicious javascript on a page protected by HTTPOnly cookies in that the malicious code can make AJAX requests in the users browser to your domain and the HTTPOnly cooki
20.
▲
by
d1plo1d
10y ago
So that is similar to an XSS in that it gains you the ability to inject arbitrary JS in to the page. That scenario is covered in the article with as I understood it the TL;DR being that lifting tokens is less practical in practice then usin
21.
▲
by
d1plo1d
10y ago
Could you explain your reasoning behind the two tokens approach? I'm guessing the HTTPOnly cookie is there to prevent token stealing (low risk as described in the article) and add defence in depth against local storage/cookie zero
22.
▲
by
d1plo1d
10y ago
Not terribly related but I am starting to see this as a pattern on the internet: When I bring up the latest and greatest (eg. Flow) it doesn't actually work on Windows because Windows is as I see it an after-thought for a lot of the Op
23.
▲
by
d1plo1d
10y ago
Yup, I was definitely wrong on that one. Sorry about that. Thank you for correcting me.
24.
▲
by
d1plo1d
10y ago
Personally, I'm more excited about Flow because it introduces a modern type system into ES6/ESNext without me having to sacrifice Babel. With regards to types: TypeScript has only recently added support for any kind of Algebraic D
25.
▲
by
d1plo1d
11y ago
Oh.. [sad_panda.jpg]
26.
▲
by
d1plo1d
11y ago
I'm still trying to figure this out but isn't it sending the ECDH of the private key which would be much longer then what the average user is going to use as a password (eg. I don't know, 1024 bit or something) and therefore
27.
▲
by
d1plo1d
12y ago
How is this relevant to Hacker News?
28.
▲
by
d1plo1d
12y ago
Edit: just FF'd to the 3d cube bit.. nm. We can't do that without WebGL. That's what I get for not watching the entire video. Not sure what your getting at. The Wayland demo looks like it could be completely recreated with ex
29.
▲
by
d1plo1d
12y ago
First Kendo impression: Unnecessarily verbose docs, completely bloated @ 1.4MB of js minified, super-monolithic, probably a royal pain to use with angular or ember. No way in hell I'm using this.
30.
▲
by
d1plo1d
12y ago
w00t!
More ›