If you need a JSON "API" to test it against, may I suggest derulo.json: http://gabebw.com/derulo.json
HN user
gabebw
I work at thoughtbot.
I asked Slack and they told me how to fix it:
Escape closes the blue banner for the current channel.
Shift-Escape closes that blue banner for all channels.
With Ack, I had to set up a bunch of --type-add lines to ~/.ackrc so that Ack wouldn't ignore e.g. SCSS files. ag searches every file by default, except for VCS files (e.g. .git/ and .hg) and files that are ignored by your VCS.
Ag's default behavior is way better, and less confusing to new users. Plus, it's faster.
Yup, same error here. Full dump: https://gist.github.com/5db045977b157096f448
It's a reference to the movie Idiocracy, which is set in a future where (among other changes) Starbucks is an erotic massage parlor: http://3.bp.blogspot.com/-fmUAFjqIPc4/T8aZMNekMfI/AAAAAAAAFB...
Try Trunk Club: http://www.trunkclub.com/
They do a brief interview with you over the phone, get your measurements, and send you a trunk of clothes every month. You only pay for what you keep. My friends have been very satisfied with that they've gotten.
Here's a shameless plug for https://www.apprentice.io/ - we offer great (paid!) technical mentorship for 3 months with one of the best Rails firms in the US.
We have locations in SF and Boston.
Try inspecting the element (in Chrome inspector or Firebug or whatever). My password is visible there. When doing a simple view-source, I just see "${password}" though.
That's actually a list of git tags (http://learn.github.com/p/tagging.html), and they're on the current site, e.g. https://github.com/thoughtbot/factory_girl/tags
I believe GitHub admins have that little search bar on every repo, while regular joes can only search private repos.
It's actually http://www.ml-class.org/
I assume you're basing this off the screenshot. The "Search source code" input is only available in private repos. Since kneath/resque is a public repo, apparently one benefit of working at Github is getting that input on all repos, whether public or private.
Re: jumping to method definitions, have you tried running ctags on your project directory, then pressing Ctrl-] (go to tag) on the method name? It should work.
Good point, with broad examples. Seems like you've led an interesting life - not many people would pull out "blacksmiths" as an example :)
2 things:
1) Please show the first few lines of the song under each result
2) Please stack the results like traditional <li>s - the "cloud" effect makes them very hard to scan.
Yes, Ruby has private methods:
def i_am_public
...
end
def i_am_private
...
end
private :i_am_private
private
def i_am_also_private
...
endTake this as faddishness or not, but this sounds like README-driven development from Tom Preston-Werner: http://tom.preston-werner.com/2010/08/23/readme-driven-devel...
I really didn't think the GP would get an answer to that extremely specific question. Thanks, and I'll be checking this out.
A slightly unobfuscated version of that code:
counter=0;
pointer;
main(){
while(counter<641){
for(pointer=0;
"##K#8(38D-##C]L5870.X7\\M_b;90\\"
"MC-M/NZGB6Q,I0VGB6a0FbN<VG.6Q\\bNb7^@`X=N@`XQaOVX:^]NX=:Z8PY]B`:>P"
"NY8^$#SM):XA"[counter/6]-35>>counter++%6&1;
pointer++);
putchar(" _/\\\n,`)('<-"[pointer]);
}
}Is it possible to detect absolute position of a polygon? It looks like polygon.pos gives position relative to where it was created (and therefore polygon.pos.{x, y, height} are sort of broken).
This looks pretty easy to use, and powerful too (3D?!). I'm going to try this out right now.
Ah, that's why dictionary.com didn't know what "splarge" meant. Apparently "sparge" is a sprinkling - why would home brewers know this? Genuinely curious here.
Some of these don't look like real words (e.g. splarge, which is definitely something that you could make up). I assume they're real, though.
Anyway, my score: http://testyourvocab.com/?r=36192
This is actually pretty helpful, in that my approach to programming in a new language is "Try to do X with the new language, and if I can't, read the docs until I can." That is, I try to actually DO something, and gather incidental knowledge along the way.
This is a really good post on how to do something useful with Haskell (plus it has IO, which is nice). One of the nice things about this approach is that the incidental knowledge can be useful, e.g. I didn't know about the "-e" flag to GHC.
He actually switched back to Rails again. From the foreword to the Rails Tutorial [1]:
> My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP (Google me to read about the drama). This book by Michael Hartl came so highly recommended that I had to try it, and Ruby on Rails Tutorial is what I used to switch back to Rails again.
[1] http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#fo...
Oh, absolutely. I do the whole "pause and do something else" thing too, which the OP calls Nerd ADD [1]. Netflix + tabbed browsing is especially conducive to it. My point is that flipping through channels every 5 seconds makes us sound like nerd robots from the future, which I at least am not.
On re-reading, this article comes off as more measured and less apologist, but the "nerd robot from the future" aspect still comes through.
[1] http://www.randsinrepose.com/archives/2003/07/10/nadd.html
This idealizes some not-very-nerdy habits. Yes, sometimes nerds are messy - my desk is just messy. The package of gum on my desk doesn't mean I have an efficient system, it means I made room for my laptop.
And who watches 3 TV shows at one time? Serious question - if a lot of HN does stuff like this, that's a fairly fascinating discovery for me.
This reminds me of what Steve Martin did in his early career. He played the same comedy clubs over and over again, keeping the routines that worked and ruthlessly dropping the ones that didn't, until he became the most famous comedian in the world. As he put it: "I did stand-up comedy for eighteen years. Ten of those years were spent learning, four years were spent refining, and four were spent in wild success."
P.S. Born Standing Up, his memoir, is deservedly praised.
It's be great if the dashboard showed which one of the people was me more clearly (possibly you could show that box in a different color?). Just having "^ You" is not very easy to find. Other than that, it looks pretty neat. Not sure I'd use it, though.