Better HN
topnewbestaskshowjobs
Log inSign up

lxtx

99 karma · joined May 16, 2017 (9y ago) · 25 submissions

Submissions

comment 5y ago · link · parent

With Unix sockets you can even have in-order datagram semantics, which I think is just neat!

comment 5y ago · link · parent

Rather go with C, or as was pointed out in this thread, Orthodox C++.

Less time being bogged down in the quagmire of C++ "features".

comment 5y ago · link · parent

Thanks! Although I don't agree with all of the points, it was a good read.

comment 5y ago · link · parent

Language intricacies aside, is there a reason to use Clojure over Elixir, Erlang? Genuinely curious what JVM has to offer vs BEAM / OTP if you're going to use dynamic languages.

comment 6y ago · link · parent

What's with the proliferation of emojispeak?

comment 6y ago · link · parent

Not sure if it's a new one, but I'm liking https://www.coursera.org/learn/financial-markets-global thus far.

comment 6y ago · link · parent

Sadly no, but I don't think there's much of a ping difference on a good network. With WebRTC (datachannels in UDP mode) you just get the benefits of UDP (or lack thereof :)).

comment 6y ago · link · parent

Basically yes, a custom datachannel implementation. Haven't updated it lately, but it's up at https://github.com/seemk/WebUDP

comment 6y ago · link · parent

Only played it with my friends, don't think a map ever exceeded 10 players. So I can't say much about scaling - although it was a client-server model over UDP and not peer to peer networking.

comment 6y ago · link · parent

If I remember right, this one is over WebSockets and the server is compiled to js as well. My version had a native server and browser clients.

comment 6y ago · link · parent

Quake's source code is very hackable. I forked ioquake3 for a personal project and it was surprisingly easy to add WebRTC support to the C codebase, so you could play it in your browser over WebRTC :)

comment 7y ago · link · parent

If I remember correctly, there was no matching system in BW.

comment 7y ago · link · parent

The forked ioquake3 is available at https://github.com/seemk/ioq3

However it's not trivial to get it working at the moment, will hopefully soon come back to this project and finish it :D

comment 7y ago · link · parent

You can. I've used WebRTC for multiplayer support in Quake 3 compiled to WebAssembly.

comment 8y ago · link · parent

You can also prerender the tiles on a powerful machine and host them on a cheap instance (assuming you don't need very large regions). A while ago I created an OSM server (https://github.com/seemk/TileSweep) to do this for me, you can select regions you want to render via a polygon and you get a SQLite database of the tiles. It can also run as an alternative for mod_tile + renderd.

I rendered all of Estonia from zoom levels 0 to 18 (~16.5M tiles) which is around 20GB and host the tiles on a cheap DigitalOcean instance.

comment 8y ago · link · parent

I've written a library for that purpose [1]. It's not ideal, but I guess it's as close as you can get to UDP in a browser without using extensions.

[1] https://github.com/seemk/WebUDP

comment 8y ago · link · parent

It is not entirely P2P, a server can act as a "peer" for all clients and handle the connections itself.

comment 9y ago · link · parent

libh2o does not require libuv, it has its own event loop. libuv is optional.

comment 9y ago · link · parent

Not really, I can still use my mobile ID just fine. Not even in a hurry to get my certificates updated.

comment 9y ago · link · parent

Totally agree with your point on HOG + SVM, I think it is obsoleted by convolutional neural networks.

I wrote a realtime human detection library [1] for a robotics project that used HOG + a simple neural net for classification. While it worked okay, I wasn't happy with the precision (around 90%) and decided to try out a simple convnet from Torch (doing the classication on depth images instead of HOG descriptors). The Torch version was slightly slower on a CPU, but both the precision and recall jumped up drastically.

[1]: https://github.com/seemk/FastHumanDetection

comment 9y ago · link · parent

Definitely a bit weird. Where are you located? The echo demo server is hosted in the Netherlands. That's how the round trip histogram looks for me in Estonia: https://i.imgur.com/iBoqwe4.png I'll take a look later if there's any noticeable delays caused by the server.

comment 9y ago · link · parent

An "UDP" server for browser clients: https://github.com/seemk/WebUDP

comment 9y ago · link · parent

Posted this recently in another thread, but maybe someone will find https://github.com/seemk/WebUdp useful as there have been many WebRTC threads lately. It's a WebRTC DataChannel server implementation for out of order, unreliable UDP traffic for browsers that has built-in SDP signaling and STUN.

comment 9y ago · link · parent

You might want to check out the project I've been working on: https://github.com/seemk/WebUdp

It's a minimal WebRTC server implementation (SDP, STUN, SCTP, DTLS and everything else) contained in a single library. Note that it only implements a subset of the specs to get it working and probably still is buggy (experimental!) as I'm developing it while working on another project that uses it.

comment 9y ago · link · parent

Wasn't the Machine supposed to be a memristor computer? Did they ditch the project?