HNHacker News
TopNewBestAskShowJobs

shill

8,019 karma · joined February 20, 2010

                         $$$$$$$$$$$$$$$$$$$$$$
                      $$$$$$$$$$$$$$$$$$$$$$$$$$$$
                    $$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$
                   $$$$$$$$$$$$$$  $$$$$$$  $$   $ $$$$
                 $$$$$$$$$$$   $$   $$$  $$  $   $  $$$$
                $$$$%$$$  $ $   $$   $$$  $  $   $$ $ $$
               $$$$%%$$$   $ $   $$   $$$  $  $$  $ $ $$$
              $$$$$%%$$$$  $ $    $    $$  $  $$$ $ $$ $$$$
             $$$$$%%%$$$$$ $$$$   $  $ $$   $ $$$$$ $$ $$$$$
            $$$$$$%%%$$$$$$$$$$$  $$ $ $$$$ $ $$$$$$$$$$$$$$$$
           $$$$$$%%%$$$$$$$$$$$$$$$ $$$$$$ $$$$$$$$$$$$$$$$$$$
          $$$$$$%%%$$%%%%%%$$$$$$$$$$$$$$$ $$$$$$$$$   $$$$$$$$
          $$$$$$%%$$%%%%%%%%%$$$$$$$$$$$$$ $$$$$$$     $$$$%$$$
          $$$$$$%$$%%%%%%%%%%%$$$$$$$$$$$$$$$$$        $$$$%%$$$
          $$$$$$$$%%%%%%%%%%%%%$$$$$$$$$$$             $$$$%%$$$
         $$$$$$$%%%            $$$$$$$$                 $$$%%$$$
         $$$$$$%%%                                      $$$%%$$
         $$$$$$%%%                                      $$$%%$$
         $$$$$%%%%                                    % $$$%%$$
         $$$$$%%%%                                    %  $$%%$$
         $$$$$%%%%                                    %  $$%%$$
         $$$$$%%%%                                   %%  $$$%$$
         $$$$$%%%%                                  %%%  $$$%$$
         $$$$$%%%%                                   %%  $$$%$$
         $$$$$%%%%                                   %%  $$$%$$
         $$$$$%%%%                                   %%  $$$%$$
          $$$$%%%%                             $$$$  %% $$$$%$$
         $ $$$%%%% $$$$$$$$$                $$$$$$$$$%% $$$$$$$
        $$$ $$%%%  $$$$$$$$$$              $$$$$$$$$$$%% $$$$$$
        $$$$  %%%          $$$           $$$$       $$%% $$$$$$
        $$$$$$%%%    $$$$$ $$$$         $$$$$$$$$$   $%% $$$$$$
         $$$$ %%%  $$$     $$$$$       $$$$$$    $$$  %%% $$$$$
         $$$$     $$$$$$$$$ $$$$      $$$$$$$$$$$$$$   %  $$$$$
         $$$$     $$$  $ $$  $$$$    $$$$$$  $ $  $$      $$$$
         $$$$      $   $$$ %%%$$$         %% $$$          $$$$
         $$$$             %%%% $$         %%%%%%  %%%     $$$$
          $$$$      %%% %%%%%   $           %%%%%%%       $$$$
          $$$$        %%%%%    $$             %%%         $$ $
          $$ $          %%     $                          $ $$
          $ $$                 $                          $  $
          $ $$  $             %$                         $$  $
          $  $  $            %%$                          $$$$
           $$$  $$         $ %%%                       $ $ $$
            $$  $$        $ %%%%          $ $$$       $$ $
             $ $$$     $$  %%%%        $$$  $$$     $$$ $
             $ $$$    $$  %%%$$$     $$$$    $$$$  $$$$ $
             $$$$$$$$$$   $$$$$$$$$$$$$$      $$$$$$$$$ $
              $$$$$$$   $$$$$$$$$$$$$$         $$$$$$$$ $
              $$$$$$ %%$$$$$$$$$$$$$$      $$$$$$$$$$$$$$
              $$$ $$  %$$$$$$$$$$      $$$$$$$$$    $$$$
               $$  $   $$$$     $$$$$$$$    $$      $$$
               $$  $   %$$$$               $$      $$$$
                $  $   %%%%$$$ $$$$$$$$$$$$$       $$$
                $$ $$   %%%%             $$       $$$$
                $$ $$    %%$$$$ $$$$$$$$$$        $$$
                 $  $    $$$$$%%%%%%%%%%         $$$$
                 $$ $$  $$$$$%%%                 $$$
                  $  $ $$$$ %%%%%%%%%%%%%%      $$$
                  $$  $$$$  %%%%%%%%%%%%%       $$$
         $$$       $ $$$$   $%%%%              $$$
       $$   $$      $$$$$  $$$$               $$$
      $  $$  $$   $$$$$$   $$$                $$$
     $ $$$$  $$  $$$$$$   $$$$               $$$
    $  $$$  $$$ $$$$$$ $$$$$$$              $$$
    $      $$$$$$$$$$   $$$$$$             $$$
    $  $$   $$$$$$$$     $$$$$$$$$$$$$$$  $$$
    $$$$$   $$$$$$$       $$$$$$$$$$$$$$$$$$
    $$$$$$   $$$$$                  $$$$$$
     $$$$$   $$$$
     $$$$$$  $$$
      $$$$$  $$$
       $$$$$$$$
        $$$$$$
submissionscomments
shill··on Tell HN: Happy Thanksgiving Everyone
Do you mind sharing the name of the book?
shill··on Show HN: An interactive map of countries by tap water quality
Thank you for not calling it a heat map.
shill··on Fraudsters Used AI to Mimic CEO’s Voice in Unusual Cybercrime Case
Organizations can start by implementing strict wire transfer policies that require multiple authentication factors.
shill··on Guide to Take-home Coding Challenges
There are several possible reasons why you didn't include any tests in a take home exercise, and they are all bad.

1) You ran out of time to write tests.

This might be the least bad reason. You can probably talk your way out of this by explaining what tests you would have written if you had the time.

2) You don't know how to write tests.

This shows that you have only worked at places the don't do testing and that you haven't taken the initiative to learn about testing on your own.

3) You know how to write tests, but you don't think they are needed.

You could probably tell the interviewer why tests were not important for the particular exercise. But I have never seen a take home exercise that doesn't require a basic algorithm and some tricky conditional business logic. Both of which would benefit from unit tests.

4) The code you wrote isn't testable.

This is probably the worst reason. Everything is in one or two giant functions and you can't inject dependencies for testing without refactoring everything. This will frighten your interviewer.

shill··on Dear Apple, please fix notifications
I just want my sms messages to be correctly ordered by sent/received time again.
shill··on Bayesian analysis of ego-depletion studies favours null hypothesis
Ego-depletion is mentioned, not always by name, in hundreds productivity and focus related articles and books published in the last 5 years or so.

Steve Jobs is often used as an example because he wore the same outfit to work every day, purportedly so he would not have to waste any crucial willpower early in the day on such a trivial task as choosing what to wear.

shill··on An 8-tube module from a 1954 IBM 705 mainframe: it's a key debouncer
Debouncing is a pattern used in UI software development. Here’s an implementation.

http://underscorejs.org/#debounce

I never would have guessed that debouncing was first used to tame physical keys bouncing on contacts.

shill··on Apple Says It Slows Older iPhones to Save Their Battery Life
My geekbench CPU scores (single-core 1458, multi-core 2480) show that my 6s has been throttled but honestly I hadn't noticed a slowdown.

In which apps would I notice a significant difference if I replace my battery?

If Safari page load speeds increased I would be happy, but I assume that is more influenced by bandwidth and mobile optimization.

shill··on Ask HN: Who is hiring? (December 2017)
I ctrl-f for 'Snoop Dogg'.
shill··on CNN – 1996 Year in Review
> It's a question journalists like to ask themselves at the end of ever year.

This sentence has had a typo for 21 years.

shill··on How Pure Is This Cup of Joe?
Does anyone know what the fish oil additive is used for?

I was recently researching how Trader Joe's coffee is so inexpensive and found some reviews noting a "fish sauce" flavor and a "fishy" flavor in two TJs coffee products.

https://www.thrillist.com/culture/best-trader-joe-s-coffee-t...

shill··on Rejecting a candidate for over-qualification results in age bias
The problem is that many interviewers don't know how to suss out a good engineer. So they just ask questions that Google and Amazon ask. And that's why you spend half of your interview pre-optimizing contrived algorithms down to O(n) when the probability of the startup ever running code at scale is very small.
shill··on Reflecting on one very, very strange year at Uber
Never trust HR.
shill··on Maslow's Hierarchy of Site Reliability Engineering Needs (2015)
Also see Dickerson's Hierarchy of Reliability.

https://docs.google.com/drawings/d/1kshrK2RLkW-XV8enmWZxeRFR...

shill··on Wells Fargo CEO John Stumpf Steps Down
I suspect Warren Buffet may have pushed for Stumpf's resignation/termination, as well as other damage control measures. This is a similar situation to the Solomon scandal, although Buffet has a smaller stake in WFC.
shill··on Fixing JSON
My assumption is that quotes are needed for keys with spaces.

    > x = {}
    > x["foo bar"] = 1
    > x
    { 'foo bar': 1 }
shill··on Cloudcraft Pro
Is there a 2D view option for the people that actually have to discuss and implement the isometric marketecture diagrams created by this tool?
shill··on Flat Tree Dependency Resolution in Npm v3
This will help Windows users who have filesystem and zip compression issues with deeply nested dependency trees.
shill··on John Romero Shares PC “Super Mario Bros. 3” Demo Video
https://en.m.wikipedia.org/wiki/Adaptive_tile_refresh
shill··on Programmers: Stop Calling Yourselves Engineers
New title: Meatspace Engineer. Problem solved.
shill··on Why Fogbugz lost to Jira
Does the opposite kind of user exist? Has anyone ever met a fanatical JIRA lover?

In my experience there are only people that tolerate JIRA on one side of the spectrum and a bunch of people that hate JIRA on the other side.

shill··on Refactoring with Loops and Collection Pipelines
It's not using pipes, but you can refactor the example with this Python list comprehension.

    def filter_authors(authors, company):
        return [author['twitter_handle'] for author in authors if author['company'] == company and author['twitter_handle']]

EDIT: HN code formatting seems to be broken so you may need to scroll right to see the entire comprehension.

You can do other SQL-like operations with list comprehensions too.

http://code.activestate.com/recipes/159974-sql-like-set-oper...

shill··on Columbia becomes the first US university to divest from private prison companies
The Corrections Corporation of America noted this as a risk factor in their 2011 10-K filing.

"The demand for our facilities and services could be adversely affected by the relaxation of enforcement efforts, leniency in conviction or parole standards and sentencing practices or through the decriminalization of certain activities that are currently proscribed by criminal laws."

Source: http://yahoo.brand.edgar-online.com/displayfilinginfo.aspx?f...

shill··on Apple Names Jony Ive Chief Design Officer
TLI = Steve Jobs: The Lost Interview
shill··on Ask HN: Where can I buy real software companies?
Customers/users abandoning a product when they learn it is for sale.
shill··on Show HN: TextFlow – Automator workflows for text manipulation in OS X
Nice work. I use this automator for pretty printing JSON.

  import json
  import sys

  text = sys.stdin.read()
  try:
      print json.dumps(json.loads(text), sort_keys=False, indent=4)
  except Exception as e:
      print e
shill··on How I learned to stop worrying and love React
I clicked through to a few of your other recommended posts and ended up emailing myself a bunch of links to read later. I particularly enjoyed 'Promises Are Not Optional' (http://firstdoit.com/promises-are-not-optional/)

You have a talent for clearly explaining complex abstractions. Nice work!

shill··on Someone Has Domain for Carly Fiorina’s Name and Is Pretty Upset with Her Layoffs
One could create a similar page to represent people who have purchased HP multifunction inkjet printers.
shill··on Snowden in talks on returning home: lawyer
If Snowden comes back to the US and is imprisoned for a few years it will be on his own terms.
shill··on Working at Netflix
> It's not the kind of company where managers or departments hate each other, and use their roles to conduct political warfare.

Political warfare isn't always obvious to a newcomer with several months on the job.

Page 1 of 7Next →