News for hackers. Stuff that matters.

ianbishop

Re:Oculus Facebook deal could ignite equity crowdfunding on Sunday March 30, 2014 @06:24PM (#7498235)
Isn't that what a traditional co-op is?
Re:Datomic in the browser on Thursday August 15, 2013 @02:02PM (#6219551)
It's a query API, no different than any REST API.
Modern CLJS does a pretty good job of guiding you through Clojurescript's tooling:

https://github.com/magomimmo/modern-cljs

Re:Solving Problems Using Data Structures on Wednesday March 06, 2013 @09:42AM (#5331342)
There is actually an LRU map implemented in Java, though it is sort of hidden in the LinkedHashMap using a special constructor.

http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Linke...

Re:Vim Git Gutter on Tuesday March 05, 2013 @05:32PM (#5327864)
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 :).

Re:Vim Git Gutter on Tuesday March 05, 2013 @05:21PM (#5327802)
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.

Re:Escape from Callback Hell on Sunday March 03, 2013 @09:56AM (#5313919)
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 :).
Re:Escape from Callback Hell on Sunday March 03, 2013 @09:54AM (#5313906)
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").

Re:Escape from Callback Hell on Saturday March 02, 2013 @07:04PM (#5311757)
Awesome, I didn't know that such a book existed. Thanks!
Re:Announcing Testling-CI on Wednesday January 16, 2013 @04:43PM (#5069228)
This sort of already exists through the service hooks they have, there are 122 services atm.
Re:Why Valve? Or, what do we need corporations for.. on Friday August 03, 2012 @11:23AM (#4334391)
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?

Re:Advice for Marissa Mayer from an ex-Yahoo on Wednesday July 18, 2012 @01:23PM (#4261775)
Sorry, I misread that you concluded that people must be moving away from hotmail/yahoo from this analysis.
Re:Advice for Marissa Mayer from an ex-Yahoo on Wednesday July 18, 2012 @08:11AM (#4260354)
Generally early adopters tend to be tech people though, which would explain the gmail addresses.
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 :).

Re:Why APL Is Still Cool on Tuesday June 05, 2012 @11:10AM (#4068938)
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

Re:Google Blockly - a visual programming language on Friday June 01, 2012 @08:06AM (#4052962)
Yeah, I didn't realize it was 1-indexed until you guys pointed it out.

Unsurprisingly, it still works (it just loops a few too many times).

Re:Google Blockly - a visual programming language on Thursday May 31, 2012 @07:06PM (#4050913)
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.

Re:Tmux, for fun and profit on Tuesday April 10, 2012 @03:25PM (#3823930)
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 [email protected]
  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 :).

Re:The Copycats at Hacker News on Monday February 27, 2012 @02:15PM (#3640197)
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.

Re:Hack your way through Stripe's Capture the Flag on Thursday February 23, 2012 @01:50AM (#3624065)
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.

Re:Show HN: Searchable Who is Hiring? on Monday February 06, 2012 @04:37PM (#3559298)
Sorry, this is now fixed!

Show HN: Searchable Who is Hiring?

My friend Angus (angusiguess) &amp; I became annoyed trying to parse through the wonderful 'Who is Hiring?' threads looking for internships this summer, so we made a searchable version.It's just the first roll out, we have some other stuff planned. It's important to note that this was all done programatically, so there is no possibility for 100% accuracy with most fields.We would love to hear...

( Read More... | 9 comments | 12 points | on HN )

Older »