Skip to main content

Recurse Center, 2014-08-24

Friday

  • I started playing around with React.js to see how I could build the GitHub organization dashboard, that I plan to.

Saturday

  • Got a horrendous idea of implementing a disqus-like commenting system using GitHub's issue comments, and ran with it. It seems technically feasible based on some initial implementation. I need to clean-up/rewrite the prototype code on Monday.

Sunday

  • Spent the day with cousins at Central Park Zoo, Upper East Side River front.

Recurse Center, 2014-08-20

  • I finished going through the third of Dave Beazley's tutorials on Generators and Co-routines.
  • Also refactored api-diff to use astroid, instead of the ast module. Kinda happy with what I have, for now. May be more, later…

Recurse Center, 2014-08-21

  • I added an additional view to xtab, to see all the pages that were killed, and reopen them, if you so choose.
  • Also, cleaned up the api-diff project and renamed it to what-changed.
  • Started thinking about building the GitHub organization dashboard, that I thought would be interesting to have, since the 1st or 2nd week of Hacker School.
  • A bunch of awesome thursday presentations, and job fair and awesome food by Chef Warren!

Recurse Center, 2014-08-19

  • I spent most of the day working through David Beazly's tutorials on generators and coroutines, and it was mind bending.
  • I learnt about send and throw methods on generators! I hadn't heard of them before, and was totally surprised to come across them.
  • I spent a little time late in the day getting class diffs working, and refactoring the api-diff tool to remove duplication of code between classes and modules. But, not very happy with the way I did it.

Recurse Center, 2014-08-18

  • I refactored the API-diff code, and am pretty happy with what I have right now, and need to add support for diffing Classes. I'm considering using Atstroid instead of Python's ast module, since some of the work that I want to do, has already been done for me.
  • With the white-boarding group, we worked on a set of simple exercises for strings and arrays.
  • José Valim's presentation on Elixir was interesting and got me reading up a stuff about concurrency, and related stuff. Thanks!

Recurse Center, 2014-08-17

Friday

  • Updated my HS profile page with projects that I worked on, and a short bio.
  • Joined the group discussing algorithmic complexity
  • Submitted a pull request to blaggregator to fix issues with broken profile images.

Saturday & Sunday

I almost didn't write any code during the weekend.

Bookmarks [2014-08-15]

  • Code is not literature

    The ideal presentation should be aimed at an audience of gentleman and lady programmers—smart, and generally capable but without, necessarily, any specific knowledge of the domain from which the code comes. Presentations should provide enough context for the audience to to understand what the code is and should explain any details of the implementation language that may be obscure to the average programmer.

  • Summary Report: Git Repository Disruption Incident of Nov 10th | Jenkins CI

    As reported in various places, there was an incident in early November where commits in our Git repositories have become misplaced temporarily by accident. By the mid next week we were able to resurrect all the commits and things are back to normal now.

    As there are many confusions and misunderstandings in people’s commentary, we wrote this post to clarify what exactly happened and what we are doing to prevent this.

  • a/esr-sharing

    I used to worry about what would happen if Linus got hit by a truck. With all respect, I still worry about what will happen if the complexity of the kernel exceeds the scope of your astonishing native talent before you grow up.

  • Overview | Adafruit's Raspberry Pi Lesson 5. Using a Console Cable | Adafruit Learning System

    In this lesson you will learn how to remote control your Raspberry Pi with a console cable.

  • A German Guy Wants to Give You a Bunch of Money for Nothing | VICE United States

    After he stopped working earlier this year to live off the $1,300 he makes from his startup each month, Bohmeyer says his life has radically changed. So he started “My Basic Income”, a new initiative looking to raise enough money to pay someone $1,300 a month for a year, no strings attached.

Recurse Center, 2014-08-14

  • I spent the morning cleaning up the "repr" functions of the diff classes, so that the diff of functions between two modules can be printed out in a somewhat meaningful way.
  • I spent most of the afternoon, preparing to make a small presentation on how sys.path works in Python. I thought I didn't do as good a job of it, as I would've liked, but Tom thought it was not too bad…
  • Looks like another of those days, where I didn't get much done… I spent the evening finishing off Homeland. It's a brilliant book, and everyone who cares about the Government and policies and technology MUST read it! Thanks Cory.

Recurse Center, 2014-08-13

  • I feel like I didn't get much done yesterday.
  • I mostly worked on the API differ, but didn't get much done. I have a few tests, and some code for diffing two functions, but I'm not very happy with it.
  • I helped Giorgio and Carlos with using my client only hs_oauth script/library, for their Zulip bot.
  • The white boarding group worked on some binary related problems, and it was fun.
  • I looked at how the HS OAuth backend works on blaggregator and thought about how to go about fixing the issue of broken images on the site. The problem happens because the image URLs are returned from the HS API calls, that are made whenever a user logs in(?), and the URLs are cached. Since, HS uses cloudfront for its assets, the URLs expire after a period of time, and the cached urls in blag's database need to be updated. There could be two ways of doing it -
    1. Check if the URL 404s, every time a URL is requested, on the server side.
    2. Do it on the client side, with some javascript magic.

    Intuitively, I feel like 2. would be better, but Madhu suggested that 1. wouldn't be that bad either. We could try both out, and see which works better I suppose.

    I'd be interested to try this out, sometime.

Recurse Center, 2014-08-12

  • An issue I was seeing with pip and a package installed in system-site-packages turned out to be non-reproducible. It was probably PEBKAC.
  • I was wondering around in the morning trying to find something to work on.
  • I decided to work on Pankaj's idea to write a tool that gives you API differences between two versions of a library. It would be useful to have the list of public API changes in a library you use, to estimate the cost of updating to the newer version, without having to manually go through all the changes.
  • I spent some time talking to Sophia, and looking at her FTP server's refactored code.