HN user

ianbishop

968 karma

Clojure programmer.

You can contact me at bishop14 [at] gmail [dot] com.

----------

* http://stackoverflow.com/users/84328/ian-bishop

* https://github.com/ianbishop

* https://twitter.com/ianbishop

* http://www.linkedin.com/profile/view?id=78275015&

[ my public key: https://keybase.io/ianbishop; my proof: https://keybase.io/ianbishop/sigs/TOMtrb7Dgq30v2K7t_CP8fNig7LAx1bIVqVIMTAQpKA ]

Posts14
Comments183
View on HN
Vim Git Gutter 13 years ago

Yeah, I just noticed that now.

It seems to just grep through the diff itself, so adding a fake sign would be a pain and, as you mentioned, probably not display correctly anyway.

I'm sure my eyes will adjust :).

Vim Git Gutter 13 years ago

Is there any way to make it so that the gutter is always present? There's a bit of a noticeable jump to include it when I save a file, it's sort of annoying me.

I tried

  let g:gitgutter_enabled = 1
but that does seem to work.

I'll have a poke through the source.

The named functions were just an attempt at better highlighting what is going on for some readers. Not sure if it worked, but sorry it annoyed you :).

Agh, this is an editing mistake. I re-worded this last minute and reading again next day, it was a mistake.

Really what I meaning to say is that it's much clearer as to what is happening. I was trying to point out that success and error were actually functions on the deferred returned from $.post, not just functions you can pass into $.post (as they once were - hence "circa 2009").

Valve's organizational structure has always been of great interest to me from an idealistic point of view. There have been a lot of articles written recently that cover nearly all aspects of this interest-based economy for developers, artists and so on. Other companies, such as Github, seem to have adapted similar models.

Regardless of the article though, one detail always seems to slip past me. Who answers the phones?

This sort of cheater purgatory existed even in the later days of CS 1.6 as well. Secure servers were only available from legitimate STEAM accounts but players could create 'insecure' (no VAC) servers that were still publicly listed.

These servers quickly became havens for players connecting using modified software (free clients and so on) and those who had steam accounts which had been "vac'd".

Ironically, included in this list were a lot of servers who hosted third-party anti-cheat software, as it conflicted with VAC - creating unjustified bans.

I think Microsoft took a really interesting strategy for enticing developers to come develop for the platform. Rather than hold a $1M prize competition (a la Android), they went in a similar direction to the offerings that RIM used for the playbook.

Instead of just giving away a device though, Microsoft really gamified the experience by offering several different prizes (including pre-paid credit cards) and tiers based on the number of apps developed. I think this really helped draw the college crowd in.

They also approached individual companies who have successful applications on other platforms and offered to pay them large good amounts of money to develop for the platform.

It seems like throwing all that money around really did work out for them in the end :).

I've always found APL really intriguing. A professor of mine told me about how one of his students used to be able to solve ACM competition problems incredibly fast by simply not having to type very much. There are some insane videos on youtube of people solving problems in APL [1].

But, you know - it's write once, read.. never again.

[1] http://www.youtube.com/watch?v=a9xAKttWgP4

I made a prime sieve: http://i.imgur.com/Elk5A.png

It was pretty fun.

JS generated isn't so bad..

  var n;
  var A;
  var i;
  var x;
  var j;

  n = 100;
  A = [];
  for (i = 0; i <= n; i++) {
    A[i - 1] = true;
  }
  var i_end = Math.sqrt(n);
  for (i = 2; i <= i_end; i++) {
    if (A[i - 1] == true) {
      j = Math.pow(i, 2);
      while (j <= n) {
        A[j - 1] = false;
        j = (j || 0) + i;
      }
    }
  }
  for (x = 2; x <= n; x++) {
    window.alert([x,': ',A[x - 1]].join(''));
  }

I'm happy to hear that CloudFare was able to help out in this situation.

I am especially happy because I came to know CloudFare not through HN, but through constantly seeing their failed cache page.

Edit: That sounds really brash, but I sincerely do mean that they have lots of clients that I frequent and if their reliability improves, it will prove to be very valuable.

I'm doing this now!

I've got a linode box running arch. I configured it with all my dev needs. I'm currently in university and I spend a good amount of time at school, bouncing between labs and then also working from home.

Right now the process is simply:

  ssh me@mydomain.com
  tmux attach
Up comes a familiar |- split console with vim running in a window, a terminal at the root of whatever project I'm working on and the server output of that project below it. If I have to leave suddenly, Ctrl+A+D and walk away. It'll be there when you log in next time.

It also has huge advantages if you're working remotely with teams or just want to launch stuff. I have nginx already configured and running. When I need to launch a new project:

1) Go to the Linode DNS Manager and setup a new subdomain

2) Go to /srv/http and git clone my project

3) Edit my nginx.conf, reboot nginx and done.

Some stuff worth checking out:

* https://github.com/thoughtbot/dotfiles

* http://www.thegeekstuff.com/2009/04/ctags-taglist-vi-vim-edi...

Edit: formatting

Not to be that guy, but a lot of people have been requesting features such as being able to search by city, intern/remote and all that.

My friend & I built http://supzu.cc earlier this month and it has most of these features. Maybe that can scratch some people's itch.

It's missing a lot of stuff that this wonderful version has such as support for freelancers among other things. We posted it when we made it but it never got much attention so there's obviously a reason for that :).

I experienced something similar to this a few weeks ago. Except there were no real copycats. A friend of mine and I had difficulty parsing the Who's Hiring thread for just intern posts in SF. So we wrote a beautified, searchable version of HN Who's Hiring (http://supzu.cc).

We hacked on it for about 2 weeks between classes. During that time, someone wrote a beautified version of Who's Hiring with regex search. By the time we posted it, there were several comments on the thread to the effect of 'I was actually writing this'.

A similar situation took place in the last few weeks with Bootstrap theme-ing websites. For each posted, there were a slew of 'No way! I've been working on this too - see here'.

I don't necessarily think it's a matter of people copycating, per se. There is a certain amount of emulation that can be seen. Consider when Path created a unique menu that gained some attention on here. Within a week, numerous JS clones were released. A week later, CSS3 complete clones started rolling out.

Overall, I think the story here is that you've got 100,000 users browsing HN. Many of whom have similar skillsets and 'scratch your own itch' engrained in their personalities. The result is often an almost autonomous convergence on a few good ideas. I think this can be attributed to a sort of pidgeon hole principle of code hungry hackers and a few obvious but good ideas.

This practice itself isn't really new. If you look at mathematics alone, you'll find many things with multiple names or a concatenation of names. This is usually because n people happened to all be working on it at the same time without knowledge of each others advances. Sometimes ideas just seem to be 'in the air' at a given point in time.

Ah man, I couldn't agree more. I've learned a ton just messing around with the first few, though getting this was a real bummer:

Run till exit from #0 run (str=0xffece7ec "cat /home/level04/.password") at level03.c:53 cat: /home/level04/.password: Permission denied

Ah well, a sign to go to sleep. Tomorrow I'll have to learn more things to figure it out if it's still up.

This is really cool.

I went to add a concert with time/date but landed up getting lot of videos that didn't meet the criteria. The concert was part of Osheaga (a festival in Montreal) but the listing shows up as Parc Jean-Drapeau, where the festival is held. I think including the ability to indicate what event it was part of might narrow down your search a bit.

Since most of the 300 videos found were unrelated, I decided to go through manually and select only those which were relevant. By default, all 300 videos are checked with no easy way of unchecking them. Your average user isn't going to be able to just use a jQuery one-liner like I did, so this is something else you should consider!

Overall, great job and I look forward to seeing how you guys progress with this idea!

Agreed but you have to keep in mind what the algorithms are being used for.

You're going to have better luck implementing Dijkstra's quickly in a competition than you are A-Star. Not to mention A-Star is based mostly on heuristics and if you don't have time (or don't care) then bad heuristics makes it just as fast as Dikstra's.

Seriously, it'll be worth it not to learn about manual memory management.

I believe he's making reference to the inclusion of automatic reference counting in iOS 5.