Better HN
topnewbestaskshowjobs
Log inSign up

fivesigma

997 karma · joined Oct 30, 2015 (11y ago) · 97 submissions

Submissions

1.

Show HN: Airmash – HTML5 Multiplayer Missile Warfare(airma.sh ↗)

7 points · by fivesigma · 2mo ago · 2 comments

2.

Show HN: Airmash – HTML5 Massively Multiplayer Missile Warfare(airma.sh ↗)

11 points · by fivesigma · 2mo ago · 3 comments

comment 8y ago · link · parent

Admittedly mobile was a bit of an afterthought and I only tested it on 4 devices. What device are you using?

comment 8y ago · link · parent

What DiThi said (read his excellent post)

There's also another important detail. Due to delayed ACKs on Windows and battery-preserving TCP stacks on most mobile devices/laptops, some of your packets will be delayed. Even with TCP_NODELAY. Desktop OSX/Linux do not display this behavior.

The only solution I have found, and it's a rather crude one, is to blast the server every 50ms with a 1-byte packet. It is ugly but it works well.

comment 8y ago · link · parent

Are you using Chrome? Gamepad API is a bit buggy on 62.x

comment 8y ago · link · parent

Everything is running smoothly so it's not the HN effect.

Might I ask what OS/Browser/ISP are you using?

comment 8y ago · link · parent

That is up to your keyboard hardware. Unfortunately, most consumer level keyboards can't handle that.

comment 8y ago · link · parent

THE comboy of bitcoinity fame? I'm honored.

I remember donating back in the day!

comment 8y ago · link · parent

It better be! It's my homegrown panel that I use for all my projects.

comment 8y ago · link · parent

I will definitely do a write-up but you're right. It's really hard to find info on any of that online.

A lot of trial and error.

comment 8y ago · link · parent

Nothing too fancy. Just proper devops and a lot of testing.

https://i.imgur.com/oSwGgFA.png

comment 8y ago · link · parent

I have tested all browsers on Linux. Got a screenshot?

comment 8y ago · link · parent

Will do when this is over. Right now I'm trying to prevent servers from melting. HN traffic...

comment 8y ago · link · parent

Just plain ol' Websockets. But with a twist.

I use 2 WS connections mirroring some packets on both, to deal with head-of-line blocking.

comment 8y ago · link · parent

Safari on iOS is generally buggy. WebGL and WebAudio are very glitchy.

I don't have a BT KB so I didn't test that case. Will do!

comment 8y ago · link · parent

PIXI.js for the graphics. Serverside is mostly Node.js.

17.

Show HN: Airmash – Multiplayer Missile Warfare HTML5 Game(airma.sh ↗)

1535 points · by fivesigma · 8y ago · 304 comments

comment 9y ago · link · parent

Let's Encrypt is great.

I would like to see native ECC support and a more stringent validation mode that allows more than 3 months of certificate lifetime.

comment 9y ago · link · parent

>How can it support thousands of colors

Temporal dithering. Also called FRC - frame rate control.

You might not notice it, but if you are on a TN monitor right now (almost all non-professional monitors) this technique is being used to emulate 24 bit color. Most TN panels can only display 6 bits per channel.

comment 9y ago · link · parent

3 motors.

Some kind of torque vectoring deal in the rear wheels? Like the Electric AMG SLS.

comment 9y ago · link · parent

A legitimate usage case would be opening a login popup on another domain that can't be iframe'd. For example OAuth social network login popups. They require window.opener to send back login credentials to the original website.

comment 9y ago · link · parent

What prevents the hardware offloading from being used on public interfaces? Even if microsecond-level jitter reduction on public networks is negligible this should reduce CPU load in high PPS deployments, right?

comment 9y ago · link · parent

I was hoping to see v8 6.2 make into the LTS but apparently it will be merged into a future 8.x release in a few months from now.

v8 6.2 fixes a lot of Turbofan related regressions, for example: for in object performance [1]

[1] https://medium.com/the-node-js-collection/get-ready-a-new-v8...

comment 9y ago · link · parent

This mirrors my experience as well. Try having a relatively simple piece of code exhaust all available memory because CS was kind enough to turn a simple loop into a clusterfuck of epic proportions all because you forgot to return null on a function that well, doesn't need to return anything. Then you go and decaffeinate the entire thing, actually look at the JS output and your jaw drops at the amount of useless crap that your "syntactic sugar" added. Is it really worth it?

This could easily be fixed by adding a -!> operator that disables implicit returns, but no, they are so opinionated that a change like that will ruin their perfect little universe. I know that there are forks that add this sort of functionality among fixing some of my other gripes with CS but my point still stands: I'm not going to invest my time into a cult.

comment 9y ago · link · parent

600 billion instructions per second to show a poop emoji.

comment 9y ago · link · parent

Being in the same physical location doesn't mean they have the same connectivity though. With colo cages, once you get big enough you get to choose your upstream providers.

I get 15 ms better ping to Frankfurt Linode compared to Vultr, for example.

comment 9y ago · link · parent

This is my experience as well with Adobe CC. At least 10 different daemons, some of them instances of node.js constantly connecting to adobe-owned IPs. Some of them even using very high amounts of CPU. Turning everything off from the CC settings didn't even make a difference.

I don't want fucking software I paid for to make my PC a part of a botnet, so I deleted all their stuff and tried to cancel my subscription to CC. I couldn't do that because their terms allow them to charge your credit card for the remainder of the year, even if you receive no service. After a few angry emails with a supervisor they finally agreed to cancel my subscription.

What a shady POS company.

comment 9y ago · link · parent

No they wouldn't, since its internal state is different than the output.

Same goes for SHA-224 and SHA-384.

comment 9y ago · link · parent

Is this length extending [1] the already existing Google attack?

[1] https://en.wikipedia.org/wiki/Length_extension_attack

Edit: yes, looks like it is.

As sp332 and JoachimSchipper mentioned, the novelty here is that it contains specially crafted code in order to conditionally display either picture based on previous data (the diff). I can't grok PDF so I still can't find the condition though. Can PDFs reference byte offsets? This is really clever.

Edit #2: I misunderstood the original Google attack. This is just an extension of it.

comment 9y ago · link · parent

This requires the addition of random garbage in the first file which someone will detect anyway. Why not release an infected file with a timebomb malware instead of colliding SHA1? Much cheaper. Still, none of this allows you to attack an already existing torrent.
1234