News for hackers. Stuff that matters.

linkedlist007

Re:AIM will be discontinued today on Friday December 15, 2017 @01:38PM (#15933959)
Your data associated with AIM will be deleted after December 15, 2017.

Is it my data? If it is, why are you deciding for me what happens to it?

Re:Ask HN: How do you choose what's worth learning? on Tuesday December 12, 2017 @03:42PM (#15909265)
If it will help me automate more, give me access to a new domain or framework for thinking to help me solve problems faster and more efficiently- I'd go for it.
Chase bank app: Take a picture of a cheque received and the money is credited to your account instantly.
Re:Ask HN: How do you stay focused while programming/working? on Tuesday December 12, 2017 @03:25PM (#15909126)
Take on a more challenging project with deadlines, hopefully with a project manager that calls you at odd hours asking for updates. Your desire for twitter and hn will vaporize :)
Re:Authentication Techniques for APIs on Tuesday May 09, 2017 @09:28AM (#14299781)
Is there a book to learn more indepth about all these?
#python code

def flat(x):

  if type(x) == type([]) and len(x)==1:

    return flat(x[0])

  if type(x) == type([]) and len(x)>1:

    return flat(x[0]) + flat(x[1:])

  else:

    return [x]