HNHacker News
TopNewBestAskShowJobs

thezilch

2,215 karma · joined October 29, 2008

Technical Director @ Respawn (Apex Legends; Titanfall 1 & 2)

C/C++, baremetal/cloud, nginx/openresty/nchan, LuaJIT, PHP, Redis, statsd/rrd

submissionscomments
thezilch··on A solution for enabling UDP in the web
"openssl [...] straightforward" I don't think so. It's in the article; DTLS is too complex. The author wants something simple.

Most implementations (eg. WebRTC) involve pulling in truck loads of C libs; it's insane. And then you want to support other clients? Good luck.

thezilch··on A solution for enabling UDP in the web
But we already knew that. It's in the article, so again there is a story here that you're missing. We want a client/server protocol that is encrypted and simple -- not requiring ICE/STUN/TURN (OMG).
thezilch··on A solution for enabling UDP in the web
You're not wrong, but I think the point was, in a browser, you can get your TCP _connection_ "automatically" encrypted by connecting to HTTPS endpoints. It's not so easy -- "built in" -- with a connectionless protocol.
thezilch··on I cannot continue working on my add-ons
Do you mean chromium? And it's much more than a skin, lol.

And it's not the experience for many to have a faster browsing experience, but I'm not going to argue how anyone quantities that -- really don't care what others use.

On desktop, I find the tooling much worse and sluggish. But the thread was about mobile, and there are a vanishing number of users of mobile FF.

thezilch··on I cannot continue working on my add-ons
Most or all stats will show mobile FF browsing usage at about IE6 levels, and I don't think you'll find anyone caring much for the later market any longer.

We [web developers] owe a lot to FF, Firebug, etc, but the writings on the wall for mobile and desktop. Chrome is going to have to screw up really bad, and likewise for the base installs of IE/Edge and Safari. These days, I'm more likely to suggest Brave over FF, if someone really requires a Chrome alternative.

thezilch··on Memcache internals (2011)
To my knowledge, Memcached really only wins when you can make use of it being multi-threaded -- have a lot of concurrent key requests. Even though Redis runs single-threaded, it often will do more IOPs with respect to a single Memcached thread, and that's without considering that you can get even further ahead pipelining Redis requests.

To compete with Memcached's multi-core throughput, it's probably not a big deal for you to run a Redis process per core. Surely you are already running multiple memcached for higher availability, so I can't see multiple Redis procs adding much more complexity.

Of course, Redis has many more advantages. For one, I can't be bothered to ever again not have Redis data types, so Memcached just doesn't make sense in my stacks. And even a caching layer has advantages in being able to persist to disk, so I love that too about Redis.

thezilch··on Lua: A Guide for Redis Users
I believe the ask is to have any scripts loaded to persist through restarts of Redis. As is, you have to reload them on each init of Redis. As such, the onus is on applications to catch evalsha errors and load the missing scripts, in the case of Redis being restarted.
thezilch··on Firefox Launches More Experimental Features
You can do it with AHK's WinSet:

https://autohotkey.com/docs/commands/WinSet.htm

thezilch··on Verizon will control Android updates for Google Pixel phones it sells
https://www.ampproject.org/
thezilch··on How I Hacked Facebook and Found Someone's Backdoor Script
The case (or however one wants to construe what or how things really happened) isn't too interesting to me. Do you read FB's whitehat rules of engagement differently?

I dug up the mentioned case, and FB's first contact with the researcher included, "Please be mindful that taking additional action after locating a bug violates our bounty policy." Between FB's whitehat policies and that, I'd be pretty sure not to escalate privileges.

thezilch··on How I Hacked Facebook and Found Someone's Backdoor Script
Doesn't Facebook's policy prohibit privilege escalation? The write the following:

You do not exploit a security issue you discover for any reason. (This includes demonstrating additional risk, such as attempted compromise of sensitive company data or probing for additional issues.) [0]

It's no wonder other bounty researchers didn't find further vectors for exploiting their privileges. There was a researcher not too long ago hit by the book for this.

[0] https://www.facebook.com/whitehat

thezilch··on Lyft Carpool: A New Way to Commute
It says "drivers earn up to $10 per trip", which means a driver can earn nothing! Or the rider can pay "from $4-10"; Lyft takes no more than the rider(s) pay; and the driver takes the rest.
thezilch··on Intel Xeon D 12 and 16 core parts launched: first benchmarks
Note: I manage dedicated-server hosting and all web services on Titanfall @ Respawn.

Surely your calculation doesn't / can't include bandwidth charges? And if you have Windows hosts... cloud screws you too.

You're not wrong that it takes a lot more machines than most shops need, and if you can make your scale elastic, 150 machines probably goes a long way! And to your point, developers undervalue their time a lot, and dealing with colocation and sourcing of hardware and backups can be a real drain to save some on CapEx.

thezilch··on Update on Christmas Issues
They didn't make a mistake; they hopefully learned a huge lesson. It's hard finding people already having learned this lesson, so you shouldn't fire over this incident alone.
thezilch··on Fai0verflow: Linux on the PS4 [video]
Maybe because they support attached storage through USB and could reduce complexity by only sourcing, manufactoring, supporting and making solid one bus/controller? What would they possibly gain by supporting ATA devices?
thezilch··on How to choose an in-memory NoSQL solution: Performance measuring
Unlikely you are going to overwhelm Redis in a non-deterministic fashion. What do you even mean by overwhelm?

The post only concerns itself with in-memory workloads; I don't think Aerospike is competition in this space, while their advantage is against workloads working against SSD backed datasets. "After Google published a blog post “Cassandra Hits One Million Writes Per Second on Google Compute Engine” – using 300 nodes, we followed the same steps and documented how Aerospike Hits One Million Writes Per Second With Just 50 Nodes On Google Compute Engine. [...] Aerospike on SSD is very comparable to that of RAM. At 100% write, the SSDs are able to sustain 226,000 transactions per second compared to 239,000 for RAM." [0] Redis would have no problem hitting 250K IOPS on just a single core provided by GCE (or AWS EC2 or similar).

[0] http://www.aerospike.com/resource/aerospike-soars-in-the-goo...

thezilch··on Price discrimination tends to be worse for women
Products' pricing can't be their value; if pricing isn't algorithmic, someone is doing something very wrong! Or us nerds have a market to exploit -- I think many people are doing this in many nitch corners.

So, computers are discriminatory... we might want to ban them along with encryption; think of the children.

thezilch··on LeBron James Signs Unprecedented Lifetime Contract with Nike
The resale market alone is profiting $380M per year on Nike shoes. I'd wager a majority of that is in Jordans. Nike knows this market exists, and they are doing a fine job keeping the streets hungry for their brands. Watch / read more at https://www.ted.com/talks/josh_luber_the_secret_sneaker_mark...
thezilch··on Introducing Twitch Creative
You have to realize that artists were already using Twitch to do what they are now providing a category for those same people to stream under. I've watched clay, 3D, 2D, etc artists on Twitch; I've watched/listened to DJs, including deadmau5, play with their equipment for hours on stream. These same people also tend to play games now and again, and a lot of the graphical artists tend to have gaming themes. The same is probably true for all of the streamers that will use this category.
thezilch··on Stripe – Outage postmortem
I'd hope one of the first things for DB slow down is the running queries (eg. `show processlist` in flavors of MySQL) and seeing the number of rows examined. Maybe your DB doesn't have that, so you see hopefully see long running queries and they are mostly the same one, or you can see the same queries in your DB's engine status (eg. `show innodb status` in MySQL). If you don't have rows examined from earlier, you can run whatever equivalent you have of `explain` on these long running queries that are happening a lot, and now you should find the number of rows it is examining (and probably that it is running a scan query and not indexed).

I mean, you only get these scars from actually working with your DB and hopefully in development / capacity planning stages, so maybe that makes you a rockstar. Not to take anything away from the Stripe engineer(s).

thezilch··on New Windows 10 Devices From Microsoft
It's weird this forwarded me to "en-au", when I've always lived in the US. I had opened a separate tab directly to the Surface Book that was on the "en-us" site, and when I saw the device pricing, not knowing I was on AU, I was surprised to see the HUGE difference in price for the Surface Book from what I'd saw on the other page/tab -- 2.3K vs 1.5K. Hopefully that's rare for them, or there are going to be a lot of people turned off to that price point -- 2.3K for the Surface Book is insane.
thezilch··on Clarifications about Redis and Memcached
That makes zero sense. Why would you run them out of the same instance / with the same configuration? Mike is already running a second process for caching; he'd simply replace it with a different instance of Redis.
thezilch··on Geotrust/Symantec has revoked all SSL certificates for .pw domains
That's true; what cropped up after Convergence was TACK: http://tack.io/index.html

It too has seen not a lot of traction. However, Google has implemented a competing stack into Chrome (and Firefox supports it) in HPKP (HTTP Public Key Pinning) with sites having the ability to pin their cert, and these browsers will trust that bond all day.

thezilch··on Geotrust/Symantec has revoked all SSL certificates for .pw domains
Except DNSSEC is just as sketch (and maybe more so) a trust chain. We replace CAs with registrars (OH GOD), TLDs (and for .com, that's just CAs again or governments, OH GOD), and ICANN (subject to government seizures!!!).

I'd much sooner support adoption of Marlinspike's Convergence or something similarly distributed: http://convergence.io/

thezilch··on Picoc: A very small C interpreter for scripting
Last HN discussion: https://news.ycombinator.com/item?id=1658890
thezilch··on Nextbit’s Robin Is Another Pretty Phone–But with Infinite Storage
Not infinite storage.

"Memory: 3GB RAM / 32 GB onboard / 100 GB online" [0]

And given that I can get a 128GB MicroSD for <$60 (and dropping) and static media (videos, photos, etc) can already be backed by cloud storage, I just don't see the need for such technology.

[0] https://www.kickstarter.com/projects/nextbit/robin-the-smart...

thezilch··on YouTube is preparing to launch two subscription services
Have you tried to clear and disable your watch history under your Privacy settings (on a device) or History settings (in the left money on desktop)?

I think you hugely overestimate how measurable this concern is.

thezilch··on Amazon Underground
If you want to browse their apps to see what is "actually free" before going through all the trouble of their app: http://www.amazon.com/b/ref=rw_tiny?&node=11350978011
thezilch··on Sharding Pinterest: How we scaled our MySQL fleet
There are a lot of things your FS is not going to give you (eg. transactions), and if you're going to have to query it anyway to get that, you might as well have your blob there too.

For "small" blobs, say <256K, your database is probably faster too. I can only recall one such study (and of only NTFS vs MSSQL), and NTFS was only advantageous at >1MB blobs: http://research.microsoft.com/pubs/64525/tr-2006-45.pdf

thezilch··on The Teflon Toxin
I've never understood the gravity of Teflon pans. I can never seem to keep them non-stick, whether it be because of using too high of heat or somehow scratch the damn thing.

So, I got cast irons. It's trivial to keep them seasoned and thus non-stick, and they can take the beating of very high heat -- searing meats -- and any metal utensils or rough substances.

← PreviousPage 3 of 24Next →