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 Microsoft Cloud Strength and Hardware Progress Drive Record Q1 Revenue
It's loaded dynamically. You want the following: http://www.microsoft.com/global/Investor/RenderingAssets/Dat...
thezilch··on After California decriminalized pot, teen arrest, overdose, dropout rates fell
That's OK; they can now go, with their education of illegal drugs, and now setup shop and sell those drugs now legalized. Seems to me these employees would know the ins, outs, does, and donts of the business. Or they were just brutes and learned nothing while incrementing the weekly/monthly incarceration counter.
thezilch··on Game developer Brianna Wu leaves home after death threats for supporting women
Twitter is not an investigation authority. Nor should they be. Report it to the proper authorities.

None of your suggestions are going to do anything but aggravate the offender further, which is the entire point of the post you've replied to.

It's like suggesting Snapchat monitor and deny underaged teens from from taking suggestive photos.

thezilch··on AWS issues unavoidable reboot schedules with short notice on many EC2 instances
The post claims that it could take several hours before their scans identify hosts that were claimed during restarts.
thezilch··on The Surprising Path to a Faster NYTimes.com
In 1996 (or as late as early 2000s), many published texts were via tools like Dreamweaver, where the publisher would checkout / lock a file, make static changes, and save the file, directly on prod. Like you said, it's not surprising at all they have a large portion of their articles in static HTML files.
thezilch··on From Reddit to Pornhub, Websites Slow Down for Net Neutrality on September 10
And then you're having to hold Nx more connections open, which is not free.
thezilch··on Sony PlayStation Network and other game services attacked

  > Sidenote: So despite media reports to the contrary, Blizzard and Riot appear unaffected.
Battle.net was hit all weekend; the effects were obvious for anyone trying to authenticate. It was not a hardcore DDoS; it just took a long line to get auth'd, at which point other Blizzard services seemed mostly OK -- some games were still affected, regardless of the auth services.

It seemed to get better by Sunday, where I can only recall one or two times having timeouts.

thezilch··on Netflix Open Connect Content Delivery Network
Because their competitive product can be sold without throttling versus the throttled Netflix.
thezilch··on Return Gmail Full Screens, Great Design, and Distraction-free Email
Nothing is more efficient than, like me, frequently replying to email with "r" and typing my response. That which I'm replying to is directly above, so I'm not sure I follow what you are looking for.

I don't know that this extension purports to "fix" reply. I don't recall Gmail's reply ever working much differently than it does -- an inline textarea under the thread. Unclear what you are gaining from shift-click replying. Anything but inane... and hardly anything near one of the worst UIs... very revisionist.

thezilch··on Return Gmail Full Screens, Great Design, and Distraction-free Email
You can also just...

* Have shortcuts on and hit "d" -- open a new compose [browser] tab

* Hold Shift and hit "c" (or click "Compose") -- open compose in a popup

* Hold Shift+Ctrl and click "Compose" -- open a compose that fills 90% of the viewport

thezilch··on Google’s $1B purchase of Twitch confirmed
Most of that already happens on Twitch...
thezilch··on Verizon's accidental mea culpa
All of your comments ignore that L3 will pay for any parts and labor costs to get the bandwidth onto Verizon's network where peering is gone.

As well, Netflix will do the same -- literally stick a disk array of videos inside Verizon's network.

thezilch··on A Server Naming Scheme
Ansible will use the native OpenSSH on your box, which does enable you to use whatever is in your .ssh/config -- jump hosts, controlpersist, kerberos, etc
thezilch··on A Server Naming Scheme
At the low level, Ansible has the ability to execute ad-hoc [0] modules [1] against any combination of hosts defined. In my host(s) inventory above, you can execute ad-hoc modules against just nyc-web, lax-web, web(against nyc and lax), or whatever suites your needs or you've defined a host group for in your inventory.

Report, using the "command" module, free memory on all "nyc-web" hosts in our "prod-hosts":

  ansible -i prod-hosts nyc-web -m command -a 'free -m'
More often, we'll want to have Ansible playbooks [2] that take our hosts and assign roles. Briefly on the topic, we might have a "common" role that deals with updating our package manager, checking/upgrading packages that every machine should have (eg. ssh, ntp, etc), and ensuring certain processes are running. Second, we might have a "web" role that is similar to "common" but dealing with web-server specific packages, configs, etc. As to keep it brief, we'll skip how the roles are setup, but here's our "web" playbook (web.yml), and find that we've defined the hosts [group] to execute against -- all hosts under our "web" group in the hosts inventory.

  ---
  - hosts: web
    remote_user: web-user
    roles:
      - common
      - web
Which we'll execute with:

  ansible-playbook -i prod-hosts web.yml
Maybe you only want to hit nyc-web and not all web hosts? The following will take the intersection of the playbook's hosts "web" and the "limit" hosts "nyc".

  ansible-playbook -i prod-hosts web.yml --limit nyc
Or maybe you know the one IP you want to hit. The ":&" syntax is a logic AND to find only the nyc 10.0.2.21, because we also have one in LAX. If your IP layout, then simply a "--limit 10.0.2.21" would do.

  ansible-playbook -i prod-hosts web.yml --limit 'nyc:&10.0.2.21'
[0] http://docs.ansible.com/intro_adhoc.html

[1] http://docs.ansible.com/modules.html

[2] http://docs.ansible.com/playbooks_intro.html

thezilch··on A Server Naming Scheme
If we're naming racks to be serviceable, seems easier to have numeric rows, dash, alphanumeric cabinets, dash, numeric racks. 3-K-7 seems extremely better than disney-snowwhite-dopey. And your labels should hold the breadcrumb: [3] (row), [3-K] (cabinet), [3-K-7] (rack). The other benefit is not having to guess where these things are (or having to dictate this very same information to land someone near "dopey").
thezilch··on A Server Naming Scheme
Presumably you'll need to iterate over hosts anyway, so why not move directly towards your automation tools' (ansible, chef, puppet, etc) host inventory and not fuss with DNS...

/etc/ansible/{dev,test,stage,prod}-hosts

  [nyc-dns]
  10.0.1.1
  10.0.2.1

  [nyc-web]
  10.0.1.21
  10.0.2.21

  [nyc-db]
  10.0.1.201
  10.0.2.201

  [nyc:children]
  nyc-dns
  nyc-web
  nyc-db

  [lax-dns]
  10.0.1.1
  10.0.2.1

  [lax-web]
  10.0.1.21
  10.0.2.21

  [lax-db]
  10.0.1.201
  10.0.2.201

  [lax:children]
  lax-dns
  lax-web
  lax-db

  [dns:children]
  nyc-dns
  lax-dns

  [web:children]
  nyc-web
  lax-web

  [db:children]
  nyc-db
  lax-db
thezilch··on Crow – C++ Microframework for Web, inspired by Python Flask
Different authors -- post and repo -- it would appear. But between the example.cpp and unittest.cpp, there is quite a bit there; if you're not familiar with Flaks, it is a very simple web "framework" that basically just provides request, routing, and response primitives. This library also includes a JSON lib, but Flask gets that from Python's batteries.

Also, Flask was created as a joke; it obviously took off; but there's something there about not taking it super super serious.

thezilch··on Tinder's Forgotten Woman: Whitney Wolfe, Sexism, and Startup Creation Myths
If we remove children -- use contraceptives -- and marriage / divorce -- just fuck around -- from the equation, it's no longer promiscuity -- slutty?
thezilch··on Every C99.php shell is backdoored

  $blah = "hi $_GET[hello]";
thezilch··on The bigger they are, the harder they f(etch)all
You can do the same with Redis. Regardless of the fact you can simply hang a Redis slave and work on that; Redis has a *SCAN commands that can incrementally iterate over your entire keyspace or keys of any Redis collection (hashes, sets, etc).
thezilch··on Erlang and code style
Certainly you can do this with Go by letting it panic and having your preferred supervisor (eg. supervisord) supervise the process?
thezilch··on A proposal for more reliable locks using Redis
You should just use redis-py's Lock (https://github.com/andymccurdy/redis-py/blob/master/redis/cl...)
thezilch··on Poll: What database does your company/you use?
No Solr but ElasticSearch?
thezilch··on Chrome's experiment of hiding the URL is awful
But they're not. Hyperlinks, shortcuts, or similar are. To most people, the internet is an icon on their desktop, that goes to the Google/Yahoo/Bing, with which you can search for Facebook. You're going to be hard pressed to teach this majority on the rules of parsing a URL to eek out the domain before you can even begin to teach them which domains to look out and what not to do with those unrecognized.
thezilch··on Lens Blur in the new Google Camera app
Unfortunately, as a non-professional photographer, I think this article very disingenuous. Most of the shots aren't taken from the same distance, angle, nor lighting. "Here we are, closer to the subject and from a different angle; notice that we don't have to deal with distinguishing our focused subject from subjects that no longer exist!" "Sure these look the same, but this one is done with optics and is definitely better!"
thezilch··on Amazon Fire TV
Use any of the following apps, and use the button supplied in those apps to instruct your ChromeCast to play the given media directly.

https://www.google.com/intl/en/chrome/devices/chromecast/app...

thezilch··on A brief history of one line fixes
The point is that because there are always mistakes in everything, that the NSA is never involved? Strange, because I'm sure they've been implicated more than zero times.

NOTE: I have no opinion on their involvement in the goto fail;

thezilch··on Change your passwords: Comcast hushes, minimizes serious hack
Just do it; assume the worst; save yourself real trouble.
thezilch··on Replaced JS with HTTP request
Great, but instead, I'll take parallel files over SPDY, any day.
thezilch··on The lesson of Flappy Bird for games developers
Sure, but making a fun game can be luck. There will be developers that don't need luck (or are lucky to not need it?!). Rovio made _A LOT_ of games other than Angry Birds; is making a lot of "bad" games and then one "good" not luck? I'm sure they set out and had equal confidence in each of their games being gold mines, before they were not or, in the case of Angry Birds, were.
← PreviousPage 5 of 24Next →