@mafintosh dug [@mafintosh](@jpq43ybzjW+u2lABZCPD8OVVvp85CKeY4qSlXTA31j4=.ed25519) yup! Y
@mafintosh dug I'm slowly turning into a C programmer, but still just writing javascript.
@mafintosh

@Dominic have you visited this place? https://en.wikipedia.org/wiki/Torrent_Bay

@mafintosh
Re: %HMAB2vqpY

i'm always lurking here

@mafintosh
Re: %HMAB2vqpY

\o/

@mafintosh dug [@mafintosh](@jpq43ybzjW+u2lABZCPD8OVVvp85CKeY4qSlXTA31j4=.ed25519) has bee
@mafintosh dug prototyping a webgl-only map interface module using natural earth 10m admin
@mafintosh followed @alex
@mafintosh followed @VictorBjelkholm
@mafintosh subscribed to channel #Dat
@mafintosh
Re: %q2Ek6fi1l

@Dominic next up ec25519 signatures in wasm!

@mafintosh
Re: %q2Ek6fi1l

Yea! I think we can get BLAKE2b within the same margin once they release SIMD instructions for WASM. The C blake impl is using SSE instructions that are CPU specific and makes it hard to beat right now. SIMD should close that gap.

@mafintosh dug UPDATE: I was at a party on saturday and I spoke to a digital branding expe in #solarpunk
@mafintosh
Re: %q2Ek6fi1l

Now released as a separate module, https://github.com/mafintosh/siphash24

@mafintosh in #Dat
Re: %Hz+nUFCqY

Yes it does!

@mafintosh followed @andrestaltz
@mafintosh followed @Mikey
@mafintosh followed @Matt
@mafintosh followed @bret
@mafintosh followed @noffle
@mafintosh followed @ralphtheninja
@mafintosh followed @WookieDefense
@mafintosh followed @juul
@mafintosh

Spent a couple of hours yesterday implementing SIPHASH in WebAssembly, for our sodium-javascript module.

https://github.com/sodium-friends/sodium-javascript/pull/4

Like BLAKE2b is relies heavily on 64bit integers so WASM gave it a big perf boost. Early benchmarks show that it is only ~10% slower than the C++ version

@mafintosh
Re: %HDNCmRwRV

Yea, early version of group editing might land this week!

@mafintosh dug what's new [@mafintosh](@jpq43ybzjW+u2lABZCPD8OVVvp85CKeY4qSlXTA31j4=.ed255
@mafintosh dug Greetings :wave:
@mafintosh dug Hey!
@mafintosh dug Welcome back @mafintosh. :)
@mafintosh

hello again old friends

@mafintosh dug # MDNs Javascript docs on DAT You can browse it easily with [Beaker](https in #beaker
@mafintosh dug the whole of MDN is about 2.5GB, this is a 12MB wedge. I tried to get the m in #beaker
@mafintosh dug I really love this idea. Hadn't thought about anything like those last two in #beaker
@mafintosh followed @ssb.rootsystems.nz
@mafintosh connected to a pub
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh in #scuttlebot
Re: %DcVPsELWd

Would be fun to hack on that in Copenhagen

@mafintosh in #scuttlebot
Re: %DcVPsELWd

@Dominic Sounds good. We can build a prototype using the hyperdrive api as that just requires a stream and expects someone else to do discovery so no DHT is coupled.

@mafintosh

Come eat meat and drink snaps with @watson and me in Copenhagen next Saturday πŸ—πŸ»πŸ—πŸΈπŸ—πŸ·πŸ—πŸΎπŸ— https://www.meetup.com/cph-node/events/236088737/

@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh voted Pissed off from my recent trip to the Hilo Public Library. Here is a copy o
@mafintosh followed @Toady
@mafintosh voted [@mafintosh](@jpq43ybzjW+u2lABZCPD8OVVvp85CKeY4qSlXTA31j4=.ed25519) : i tri
@mafintosh
Re: %zZjPz8IcQ

@cryptix I'd be happy to move to osm if you can show me a gist of how to.

@mafintosh voted i've been waiting so long for it to be that easy
@mafintosh
Re: %zZjPz8IcQ

Yes, I just use this node module, https://www.npmjs.com/package/ipinfo

@mafintosh
Re: %zZjPz8IcQ

@Dominic Running it adds a point to the map. FYI it records your IP. I should have mentioned that.

In my experience whenever UPnP/NAT-PMP works UDP hole punching works as well. However I've found that UDP hole punching works in waaay more cases than the former (UPnP usually requires you to setup something in your router, i.e. only for techies). Therefore I mostly care about hole punching.

UDP hole punching combined with some proxy support for the 10-20% cases where it doesn't work and multicast dns for finding local peers is quite a good stack. If you are connecting to a swarm that doesn't need to be fully connected to 10-20% goes to ~0 pretty fast as well!

@mafintosh

I've been testing the p2p friendliness of various networks I connect to during the last months, ie. do they support udp hole punching?

A map showing the results is available here, http://mafintosh.neocities.org/map.html
Thumbs up means hole punching worked. Poo means... well... that it failed.

If you want to help out testing networks you can install p2p-test and run it on networks come across

npm install -g p2p-test
p2p-test

You can see a digest of the data collected here as well, http://p2p-test-1.mafintosh.com. Currently around ~80% of networks tested support udp hole punching.

@mafintosh in #tutorial
Re: %vBJaRNEfJ

To fix the curl command just add the -L flag (follow redirects)

curl -LO http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_land.zip
@mafintosh voted # making a vector globe when you're done, [it should look like this](https
@mafintosh changed something in about
@mafintosh
Re: %ix+Z2QYdW

Trying to grok the computed view idea now ....

@mafintosh voted Looks very similar in intent to https://github.com/flumedb/aligned-block-fi
@mafintosh
Re: %ix+Z2QYdW

Yes the branch is currently under heavy development so the docs are ... very lacking. It is basically just my hypercore module, https://github.com/mafintosh/hypercore (distributed append-only logs with support for sparse replication) backed by a flumelike flat file backend. We are calling the protocol "sleep" (max has some fancy acronym for this).

Interesting idea about the weakmap! The random access abstraction is similar to the interface you have in aligned-block-file but a bit more generic. It is basically just read(offset, length, cb) and write(offset, buf, cb). You then just implement all the other log stuff on top of an object that provides this. Makes it easier to get it running in the browser as you can just pass in an instance that just writes to memory fx.

The idea is to have a abstract-leveldown like test case for these storage providers also.

@mafintosh sent a private message
@mafintosh voted # flumedb refactor! I have been refactoring secure-scuttlebutt to use flum
@mafintosh
Re: %ix+Z2QYdW

@Dominic Loving this. We should perhaps hack on some simple key-value views on top of flume when you're in Copenhagen!

FYI I have my own "flume" experiment here, https://github.com/mafintosh/hypercore/tree/sleep

I've been using https://github.com/mafintosh/random-access-file as the "leveldown" of these experiments instead of coupling to the file system. That means I can switch the backend to other storage providers such as https://github.com/mafintosh/random-access-memory, https://github.com/mafintosh/random-access-page-files

@mafintosh
Re: %zegD+2O/y

@arj jeg bor i kΓΈbenhavn. kom over og hack engang :)

@mafintosh voted more technology paternalism: https://whispersystems.org/blog/the-ecosystem
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh
Re: %zegD+2O/y

SCANDINAVIAN THREAD \o/

@mafintosh
Re: %epMPwc0J7

Okay Electron app works!

@mafintosh sent a private message
@mafintosh

Finally got my local patchwork up and running again!

@mafintosh in #anarchitecture
Re: %kMU8m85YY

nice! just got back online again on patchwork. will join next time

@mafintosh voted @bret asked me to share the sketch that I showed to @mafintosh and he made
@mafintosh

whats some good channels to subscribe to now?

@mafintosh followed @dead.feross
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh

very impressed by how stable patchwork is working. good job @Dominic and @paul !

@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh unfollowed @Dominic_RIP
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh sent a private message
@mafintosh followed @TheLink
@mafintosh followed @dead-ngoldman
@mafintosh followed @kek 🐸