HNHacker News
TopNewBestAskShowJobs

rgarcia

1,350 karma · joined April 7, 2009

Co-founder & CTO at Kernel (S25)

previously the same at Clever (S12)

https://github.com/rgarcia

https://www.raf.xyz

submissionscomments
rgarcia··on Internet Explorer 6 as a chat server with Bridge RPC
Yeah, that makes sense, and I agree. You make a finer point than the third bullet point in the post :)

Btw, love Bridge--using it to do some slick "client-side" form validation across browser and iOS clients. Keep up the good work!

rgarcia··on Internet Explorer 6 as a chat server with Bridge RPC
While this is awesome, I think declaring the "death of client-server" is kind of naive. For anything that handles sensitive information (e.g. the auth() service here), it'd be mayhem to have all clients also be servers.
rgarcia··on Heroku is down again
How many times does this have to happen before heroku spreads across multiple regions?
rgarcia··on Clever (YC S12) Launches A Twilio For Educational Data
Thanks for the feedback. Just so you know, we're not creating an MIS or SIS, so we're not trying to do either (1) or (2).
rgarcia··on PhantomJS 1.5 released (headless WebKit with JavaScript API)
I had the same question, and it looks like you need to roll your own buildpack. This looks promising (although it's for phantom v1.4): https://github.com/jessefulton/heroku-buildpack-nodejs-phant....
rgarcia··on Backbone Events vs. Ember Bindings: A Benchmark
Could the difference be mostly due to handlebars vs. underscore? I'd be curious how it'd look normalizing for templating engine.
rgarcia··on How To Get Experience Working With Large Datasets
Except generatedata has a 200 record limit. Luckily it's open source, so if you can host a PHP app you can bump it up to whatever you like. I did this a few weeks ago (bumped the limit up to 10000):

https://github.com/rgarcia/generatedata http://smooth-frost-5744.herokuapp.com/

rgarcia··on Backbone patterns
You can define a requirejs module that just consists of data: http://requirejs.org/docs/api.html#defsimple. Then in your app incantation (main.js for requirejs stuff), load this module and pass it to your app instance.

If you feel weird about loading data as a js file, there is also a requirejs plugin for loading raw json files as a module: https://github.com/millermedeiros/requirejs-plugins

rgarcia··on Buildpacks - Run Anything on Heroku
I could see it being useful to deploy a Thrift/Protobuf/Avro service. Not everything is a web server :)
rgarcia··on If you're using Node.js, you're doing life wrong
Nit: Client side JS has no module system.

Check out requirejs: http://requirejs.org/

I've used it to handle both server-side (node) and client-side module systems, and it's been great.

rgarcia··on Show HN: I'm tired of corrupt US politicians, so I created this
I guess I meant the de facto definition. Literally every attempt at a public financing bill/amendment I've seen in Congress has the express purpose of precluding direct corporate financing[1].

Also, I was not arguing whether or not any of these proposals can be 100% effective (like you clearly deny). This is a straw man, but it is definitely worth debate on a case-by-case basis.

[1] most recent (and probably most ambitious) example: https://www.popvox.com/bills/us/112/hjres100/report. An intriguing proposal from L. Lessig: http://www.plainsite.org/issues/index.html?id=29

rgarcia··on Backbone.js collection filtering
Unless I'm missing something, this seems to be re-inventing something that Underscore already gives you on Backbone collections, _.each():

  var mycollection = new MyCollection();
  ...
  mycollection.each(function(model) {
    model.set({'passesFilterXYZ': filterXYZ(model)});
  });
EDIT: it also makes an entirely new collection instance representing the set of filtered models...this seems terribly inefficient compared to the above.
rgarcia··on Show HN: I'm tired of corrupt US politicians, so I created this
By definition public financing precludes corporate financing.
rgarcia··on Show HN: I'm tired of corrupt US politicians, so I created this
I don't understand your point--wouldn't public financing of elections remove the need to hold fundraisers?

The problem as I see it is that representatives are forced (due to the exorbitant cost of campaigning) to win over wealthy interests. This manifests itself as what we've seen with the whole SOPA debacle: representatives who are completely out of touch with their constituents.

rgarcia··on Ask HN: Idea Feedback - Mobile Sportsbar/Pub Trivia
It looks like buzztime has an iphone app? http://www.buzztime.com/iphone-playmaker
rgarcia··on Codecademy Partners With The White House
I agree with your point, but I think directing it at the White House program is somewhat harsh. Judging by its description[1], it seems to me more like a program to alleviate the problem of frictional unemployment[2] (something that even the most conservative economists would agree is a policy problem[3]). Sure, getting rid of regulations would increase the demand for labor (more businesses => more jobs available), but that still leaves the problem of whether the supply of labor is correctly trained/prepared/etc. for the jobs available.

[1] http://www.dol.gov/SummerJobs/

[2] http://en.wikipedia.org/wiki/Frictional_unemployment

[3] http://books.google.com/books?id=-X6YnkmadD4C&pg=PA214&#...

rgarcia··on My Call to Senator Schumer’s Office on PIPA: It’s So Much Worse Than I Thought
Gamification! Add a "wtf?" or "what does it mean?" option. Clicks on this would create/increase a community bounty on an objective, concise summary of the bill's impact.
rgarcia··on My Call to Senator Schumer’s Office on PIPA: It’s So Much Worse Than I Thought
Startup idea: a weekly email newsletter containing a list of bills your representatives in congress voted on (or introduced/co-sponsored), along with some "like" and "dislike" buttons. Home page maintains a prominent list of representatives most "disliked" by their constituents.

This whole SOPA debacle has convinced me more than ever that the feedback loop between constituents and representatives is absolutely terrible. This would be an attempt to solve the problem (via public humiliation).

rgarcia··on Backbone Boilerplate: A Starter Kit for Backbone.js Apps
This was submitted and heavily discussed two days ago:

http://news.ycombinator.com/item?id=3448699

rgarcia··on Bit Twiddling Hacks
These are cool, but how much is automatically done for you by the compiler? For example, if I changed all of my calls to min(x,y) with

r = y + ((x - y) & ((x - y) >> (sizeof(int) * CHAR_BIT - 1))); // min(x, y)

my code would quickly become unreadable. I could define a macro, but those are supposedly evil[1].

[1] http://www.parashift.com/c++-faq-lite/inline-functions.html#...

rgarcia··on How To Work From Home Like You Mean It
- Invest in a very expensive espresso/coffee machine.

If you don't want to drop a ton of cash, but still want fast and delicious home-brewed coffee, then I would suggest getting an aeropress instead: http://www.amazon.com/Aerobie-AeroPress-Coffee-Espresso-Make...

rgarcia··on Even as Zynga slides, bankers reap big fees
The majority of short-term market participants have deemed Zynga's two-day prospects to be poor, and correctly so. The factors that influence them, for the most part, are very different than the factors that long-term investors look at/care about.

In fact, it's entirely possible that the IPO participants are making money in the meantime lending their stock to short-sellers. Yes, the funds that participated in the IPO have a loss on paper, but so does the person who buys a house and sees that interest rates dropped 0.00001% the next day.

rgarcia··on Even as Zynga slides, bankers reap big fees
In all likelihood most of the fund managers involved have investment horizons longer than the two days that ZNGA has been trading, so declaring them in error seems incredibly premature.
rgarcia··on Where's Waldo?
I had to play around a little with the level. If the level is too high, too many false positives are picked out.

I was impressed until I read that--the guy is basically fitting the model/procedure to the training set (of size 1). I'd wait for a more general approach before accepting the answer.

rgarcia··on Gun.io Debuts Free Group Funding for Open Source Projects
Obviously, and my question is why? If they (or GitHub) could easily satisfy demand for this, why haven't they?
rgarcia··on Gun.io Debuts Free Group Funding for Open Source Projects
I could see GitHub adding this in the future, e.g. instead of simply voting on/+1ing an issue, let people attach bounties. Is there proof, though, that this is something people want? It seems like Kickstarter has the "funding for big projects" thing nailed--I'm just wondering if there's really demand for "funding for small features"...
rgarcia··on Instant CSS, JS, HTML or DOM documentation
instacss.com or dochub.io will take you to the same place, so it doesn't matter which one you bookmark. We moved the domain just to make the purpose of the site clearer moving forward.

As for the long initial load time, client-side caching is on the top of our list of todos, so stay tuned (or just wait for the HN effect to wear off :)).

rgarcia··on Instant CSS, JS, HTML or DOM documentation
A little background: this started as a hack I made to have quick access to CSS docs: http://news.ycombinator.com/item?id=3222253

Since then, with the help of HNer vecter, it's expanded to encompass some more things. The goal right now is to expand this into a more general documentation/code search.

Thanks for the feedback!

rgarcia··on Dwolla: transactions under $10 are free
I've been following Dwolla for a while now, and I think this is a good step for them. I still have two big concerns, though:

1. Credit cards. Consumers like using them--they offer something that debit cards don't: an "undo" option. Dwolla seems to have gone all in on pleasing merchants, but I think there are still huge barriers to get consumers to use their service. What's the value proposition? Why should I deposit money into a Dwolla account when I can just swipe a card?

2. This might seem petty, but their site needs a re-design. When it comes to payments, your site needs to inspire confidence and trust. Compared to Square [1] and Stripe [2], Dwolla's blog and main site all look like amateur hour. Until recently their developer docs consisted of stickies in phpBB-esque forum.

[1] https://squareup.com/ [2] https://stripe.com/

rgarcia··on The Government's $200,000 Useless Android Application
The code was actually released November 2nd: http://www.muckrock.com/foi/view/united-states-of-america/so...
← PreviousPage 3 of 6Next →