Tuesday, February 7, 2017

Data Science Trolling at the Airport: Using R to Look Like the Matrix

I've been quite busy at work lately, but I am working on some new, serious posts (one on Support Vector Machines, another on Trumps claims of voter fraud).  For today though, just a fun post about trolling people who like to stare at programmers in public.  

Occasionally, I am stranded somewhere in public (like an airport or a conference) when I need to do some serious coding (side note: one large company has a significant piece of their software architecture running that I wrote on a bench in Las Vegas).  In these situations I open my laptop and start coding, but often notice that people are staring at my computer screen. It doesn't bother me that much, but over time it does become a bit annoying.  A few theories for the stares:

  • It's novel: They've never seen a programmer at work before.
  • It's me specifically: I tend to fidget, and be generally annoying when coding.
  • Its evil: When normal people see programmers writing code in movies, they're always doing something fun and exciting, or evil. They're hackers. 




A Solution:

Anyway, I eventually get annoyed with people staring at me, and based on my third bullet point, decide to give them a show, troll them just a bit.  I wrote this very short piece of code a few years ago in an airport, it's for R and actually quite simple:




It uses a loop, runif() and some rounding to create 70,000,000 random number and print them to the console.  It basically makes your computer screen look like something from a hacker or Matrix movie.  The Sys.sleep() function is something to parameterize based on your system settings, but the point of it is to make the console animate as though you are in a movie.  What does this code create?  I  Here's video of the code running: 




Recommendations for maximum silliness: 

  • When you start the code, maximize the command line portion of your computer.
  • Make sure you're setup for black background and white or green text, for maximum appearance of evil.
  • For bonus points try to give the appearance that you are really up to something:
    • Wringing of hands or nervous fingers help with this appearance.
    • Rocking back and forth slightly while intently staring at the screen.
    • Mumbling under breath things like "it's working, it's working!" or "almost in... almost in."






47 comments:

  1. Replies
    1. For handling the complex database management system you have to know the better way to manage the complex data science and you can go to this web-site activewizards.com/ for getting the best data scientist for you, who can easily solve your all type of data handling problem for you.

      Delete
  2. Excellent Sharing. You have done great job. I gathered lots of new information. . Devops Online Training | Data Science Online Training

    ReplyDelete
  3. Hi, I am really happy to found such a helpful and fascinating post that is written in well manner. Thanks for sharing such an informative post.R Programming Online Training | Hadoop Online Training

    ReplyDelete
  4. Thank you for sharing such a nice and interesting blog with us. Hope it might be much useful for us. keep on updating...!!
    seo company in india
    digital marketing company in india

    ReplyDelete
  5. Great blog.you put Good stuff.All the topics were explained briefly.so quickly understand for me.I am waiting for your next fantastic blog.Thanks for sharing.Any coures related details learn.... Dot Net Training in Chennai
    Android Training in Chennai
    Selenium Training in Chennai
    Hadoop Training in Chennai

    ReplyDelete
  6. Everyone wants to get unique place in the IT industry’s for that you need to upgrade your skills, your blog helps me improvise my skill set to get good career, keep sharing your thoughts with us.

    Data Science Online Training

    ReplyDelete
  7. Hi, I really happy to read your blog. I will gather lot of new information from this blog. you will written in well manner. Thanks for sharing.


    Data Science Training in Bangalore

    ReplyDelete
  8. Gengories Blogs article.Pretty useful information posted here. We share data science contribution of matrix uses and concussion sites. In these topics explained is very and understand very quickly. We want to hear & learn for Hadoop well to it visit
    Hadoop Training in Chennai

    ReplyDelete
  9. Thanks for sharing such a wonderful article with us.It's very useful for the begginers to Data Science.In this article I gathered a lot of information about Data Science

    ReplyDelete
  10. Great post. The strategy you have posted Data Science Trolling at the Airport: Using R to Look Like the Matrix this technology helped me to get into the next level and had lot of information in it.Get more.. Software Testing Training in Bangalore
    Devops Training in Bangalore

    ReplyDelete
  11. Nice blog has been shared by you. it will be really helpful to many peoples who are all working under the technology.thank you for sharing this blog.

    Data Science Online Training
    Hadoop Online Training

    ReplyDelete
  12. Hi admin, really you have done great job. A career in data science makes you a well decision maker in other scopes of lifetime. At its core, Data Science Training in Bangalore goes you into a good data-driven decision maker.

    ReplyDelete
  13. Nice Blog. It is really an useful information, Thanks for sharing
    Data science training

    ReplyDelete
  14. Wonderful Blog!!! Your post is very informative about Hadoop technology. Thank you for sharing the article with

    us.

    Hadoop Training in Chennai |
    Hadoop Course in Chennai

    ReplyDelete
  15. Thank you so much for sharing this worth able content with us. The concept taken here will be useful for my future programs and i will surely implement them in my study. Keep blogging article like this.

    Data science training in Marathahalli|
    Data science training in Bangalore|
    Hadoop Training in Marathahalli|
    Hadoop Training in Bangalore|

    ReplyDelete
  16. I’m really impressed with your blog article, such great & useful knowledge you mentioned here...Python Training in Marathahalli

    Data Science Training in BTM Layout

    ReplyDelete
  17. The lodging is likewise close to the lodging group in Miami. Consequently, this air terminal inn has as of late been redesigned. https://lutonairportparking.uk.com

    ReplyDelete
  18. This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level. Data Science Training in Chennai | Java Training in Chennai

    ReplyDelete
  19. Thanks for such a wonderful article on Data Science
    Thanks for sharing such a good video explanation.
    Thank you
    Data Science Training In Hyderabad
    Data Scientist Training In Hyderabad

    ReplyDelete
  20. Excellent post!!! Your article helped to under the future of java development. Being an open source platform, java is integrated in most of the software development industries to create rich featured applications.Java Course in Chennai |java training in velachery|java training institute in chennai

    ReplyDelete
  21. Very Nicely Explained Blog on Data Science Trolling at the Airport: Using R to Look Like the Matrix Thank you For shar ing with us:
    Devops Training in Bangalore
    Machine Learning Training in Bangalore
    iteanz

    ReplyDelete
  22. Your post is very useful, Thanks for sharing this valuable information with us.MBA Project Center in Chennai | MBA Project in Velachery.

    ReplyDelete
  23. Thanks for sharing these niche piece of knowledge. Here, I had a solution for my inconclusive problems & it’s really helps me a lot keep updates…
    Big Data Training|Hadoop Training Chennai

    ReplyDelete
  24. Good information.Thank you for sharing .Waiting for new posts Data Science online training

    ReplyDelete

  25. This is an awesome article. In the wake of perusing this article just a single word is turning out fro my mouth that is "stunning". I like the metro topic. It looks me entirely in vogue and fun. Do I need to have highlighted stories or would i be able to have included pages? So thanks for sharing such a great post with us.


    kahuna massage chair

    ReplyDelete
  26. really cool post, highly informative and professionally written and I am glad to be a visitor of this perfect blog, thank you for this rare info!
    devops training in hyderabad

    ReplyDelete
  27. I am usually to blogging and i genuinely appreciate your content regularly. This content has truly peaks my interest. I will bookmark your web site and maintain checking achievable details. skis video

    ReplyDelete
  28. Java Training Center in Chennai | Best J2EE Training Center in Chennai | No.1 Java Training Institution in Velachery I really love reading and following your post as I find them extremely informative and interesting. This post is equally informative as well as interesting

    ReplyDelete
  29. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.

    AWS Training in Chennai

    ReplyDelete
  30. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    Good Graphics Designing Training Institute in Chennai | Best Multimedia Training Institute in Velachery

    ReplyDelete
  31. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    big-data-hadoop-training-institute-in-bangalore

    ReplyDelete
  32. I wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.

    Data Science Training in Chennai

    Data Science Training in Banglore


    Data Science Training in BTM

    ReplyDelete
  33. I wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.


    Data Science Training in Marathahalli

    Data Science Training in Porur

    Data Science Training in Rajajinagar

    ReplyDelete
  34. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    Data Science Training in Bangalore


    ReplyDelete
  35. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.

    rpa Training in Bangalore


    ReplyDelete
  36. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
    Blue Prism Training in Hyderabad
    Ui Path TRaining in Hyderabad

    ReplyDelete
  37. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    Data Science Training in Hyderabad

    ReplyDelete