HNHacker News
TopNewBestAskShowJobs

DanielRibeiro

40,139 karma · joined October 1, 2009

submissionscomments
DanielRibeiro··on Refactoring GitHub's Design
Edawrd Tufte's teardown on iPhone design is also very good: http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0...
DanielRibeiro··on Ambition can be poison
This made me remember Richard Feynman's going back to just playing with physics, as a part of his therapy for burning out and having very high expectations setup for himself[1]:

It was effortless. It was easy to play with these things. It was like uncorking a bottle: Everything flowed out effortlessly. I almost tried to resist it! There was no importance to what I was doing, but ultimately there was. The diagrams and the whole business that I got the Nobel Prize for came from that piddling around with the wobbling plate.

[1] http://www.physics.ohio-state.edu/~kilcup/262/feynman.html

DanielRibeiro··on U.S. charges Edward Snowden with espionage
The pardon petition also only needs more 7k signatures: https://petitions.whitehouse.gov/petition/pardon-edward-snow...

Remember that the goal is to get the government address the issue, and show that the people are not fine with the NSA's actions. It would be nice to get them to actually pardon him, but that is a much harder goal.

DanielRibeiro··on Hair
Sorry about that. This uses WebGL, which has had some issues with Chrome on some GPU cards / OS combination. The Chrome team take these issues very seriously, and you can ping them with your specs: http://productforums.google.com/forum/#!categories/chrome/re...

More info: https://support.google.com/chrome/answer/1220892?hl=en

DanielRibeiro··on Hair
GPU based hair: https://www.shadertoy.com/view/XsfGWN
DanielRibeiro··on Erato - simple and beautiful markdown editor
I've been using dillinger for a while, and I'm very happy with it: http://dillinger.io/

Also, it is open source: https://github.com/joemccann/dillinger

DanielRibeiro··on Brazil protests spread in Sao Paulo, Brasilia and Rio
For those who want to understand a little bit more about the situation, this short video explains a little bit: https://www.youtube.com/watch?feature=player_embedded&v=ZApB...

NY Times article: http://www.nytimes.com/2013/06/18/world/americas/thousands-g...

Also note that many other brazilians are organizing protests around the world this week[1, 2]. About 1k people in SF alone[3]

The current wave of protests does not seem to be an isolatted event[4].

[1] http://www.melhorquebacon.com/lista-de-cidades-que-terao-man...

[2] https://www.facebook.com/CQCBlogs/posts/623054044372345

[3] https://www.facebook.com/events/498561580217088/

[4] http://roarmag.org/2013/06/protests-brazil-turkey-bosnia-bul...

DanielRibeiro··on Repository Next
Thanks!

The highlihght is pretty much constrained to diff (on pull requests, commits and compares[1]), but it could work on any page. I've mentioned[2] how I used jquery-syntaxhighlighter to do it, which itself is a fork of Google's Prettify in order to do the heavy lifting of syntax discovery and actual highlight.

[1] https://github.com/danielribeiro/github-diff-highlight/blob/...

[2] https://github.com/danielribeiro/github-diff-highlight#hacki...

DanielRibeiro··on Repository Next
My biggest gripe with it has been the lack of syntax highlighting for pull requests.

Because of that I've been maintaining my personal fix for this: https://github.com/danielribeiro/github-diff-highlight

It would definitely be nice to see it supported natively by GitHub.

DanielRibeiro··on Clojure Cookbook is now accepting contributions
This project can help with printing statements: https://github.com/danielribeiro/print-foo/tree/prit

Which is helpful for quick inspection.

DanielRibeiro··on Seriously.js
People have been doing some pretty amazing things with WebGL lately: http://metaphysicaldeveloper.wordpress.com/2013/04/23/webgl-...
DanielRibeiro··on Skycraft: Minecraft clone in WebGL
The guys that are making GooEngine, that recently reached front page of Hacker News with their Perl Boy[1], also did a pretty good clone Minecraft Classic[2]: https://apps.facebook.com/gooblocks/

[1] https://news.ycombinator.com/item?id=5755653

[2] their demos here: http://www.gooengine.com/demos/

DanielRibeiro··on Why is the moon’s gravity so uneven?
Sorry, it was not meant to sound nitpicky. I was surprised that I actually had never stopped to think about Moon's rotation, and that maybe it did not spin to a stationary observer.

The more you know...

DanielRibeiro··on Why is the moon’s gravity so uneven?
It seems that the moon does rotate: http://curious.astro.cornell.edu/question.php?number=142

At least to an observer sitting in a fixed point in outer space.

Edit: better explanation: http://www.badastronomy.com/bad/misc/moon_spin.html

DanielRibeiro··on State of Clojure on Android 2013
I've been using Scala to develop for Android for a while. There is this sample project to get you started with nothing Java, Ant and the latest Android SDK required: https://github.com/danielribeiro/HelloScalaOnAndroid
DanielRibeiro··on The Banality of ‘Don’t Be Evil’
pg has written about some Milgram Experiment[1] on The Perils of Obedience[2] which actually seems to comfirm this idea that people will follow the orders of authority figures even if they conflict with personal beliefs.

[1] http://www.youtube.com/watch?feature=player_detailpage&v...

[2] http://www.paulgraham.com/perils.html

DanielRibeiro··on Show HN: Logos in Pure CSS
Also, unlike the Mona Lisa in css[1], it seems to be hand-crafted.

[1] http://codepen.io/jaysalvat/pen/HaqBf

DanielRibeiro··on Running Lua in a browser via Emscripten
Direct link for those who want to try it live: http://kripken.github.io/lua.vm.js/repl.html
DanielRibeiro··on How to Negotiate a Job Offer
As Mark Suster's mom used to tell him[1]:

You don’t ask, you don’t get.

[1] http://www.bothsidesofthetable.com/2013/05/15/the-one-word-t...

DanielRibeiro··on How I Turned Down $300,000 from Microsoft to go Full-Time on GitHub (2008)
Tom also gave an amazing talk of the founding of GitHub when he first spoke at Startup School a few years ago: http://tom.preston-werner.com/2010/10/18/optimize-for-happin...
DanielRibeiro··on The Elves Leave Middle Earth – Sodas Are No Longer Free (2009)
It is always sad when these things happen, but it is not surprising. Many startups spend so much time optimizing for survivability, that they don't optimize for happiness[1, 2].

And that makes sense in the beginning. As Ben Horowitz said[3]:

If you don’t have winning product, it doesn’t matter how well your company is managed, you are done

But as companies grow, that is not enough. Ben Horowitz complements[4]:

Why even bother with management if that is the case? But the truth is: there are several things that are very important:

1: if you get into trouble, and if you have bad management, your company will probably die. Like the people will just quit, they are not bonded to it, the don’t like working there, they never liked working there, and that is that, it is a wrap. ...

2: if you succeed at building a company that everybody just hates working at, what have you done? You just made a whole lot of people a whole lot more miserable in their lives.

[1] http://tom.preston-werner.com/2010/10/18/optimize-for-happin...

[2] http://www.justin.tv/startupschool/b/272031754

[3] http://www.youtube.com/watch?feature=player_detailpage&v...

[4] http://www.youtube.com/watch?feature=player_detailpage&v...

DanielRibeiro··on Pearl Boy WebGL Demo
This was showcased along many other great WebGL demos a month ago: http://metaphysicaldeveloper.wordpress.com/2013/04/23/webgl-...
DanielRibeiro··on Pricing Principles
A few more here: http://conversionxl.com/pricing-experiments-you-might-not-kn...
DanielRibeiro··on Fun with Javascript and function tracing.
TraceGL is also pretty interesting: https://news.ycombinator.com/item?id=5595249

It is commercial though.

DanielRibeiro··on Evolution of Hacker News
If you are a YC founder, your username will show up in orange to other YC founders to enable these entrepreneurs to recognize and meet each other.

I've been aware of this for a while (a few YC founders I got to meet confided this to me), but it is the first time I've seen it being publicly admitted.

Along with the DMCA[1] link below, I'm happy to see this ever increasing level of transparency on Hacker News. I believe it is a great way to foster trust among the community.

[1] https://news.ycombinator.com/dmca.html

DanielRibeiro··on Canada targeting San Francisco Bay's Intelligent Immigrants?
This is pretty interesting[1]:

What happens if my business fails?

Failure of your business will not affect your permanent resident status. We recognize that not every business will succeed and this program is designed so that the risk is shared between the public and private sector.

http://www.cic.gc.ca/english/helpcentre/answer.asp?q=657&...

DanielRibeiro··on Atari Breakout - Google image search
Previous discussion: https://news.ycombinator.com/item?id=5701553
DanielRibeiro··on Ruchi Sanghvi, Dropbox VP, testifies on immigration reform [video]
Ron Conway also shared this[1], and pointed to a great page where people can send a letter of support to Senators[2]

[1] https://twitter.com/RonConway/status/332334439084478464

[2] http://www.fwd.us/senate

DanielRibeiro··on Genetic algorithms, Mona Lisa and JavaScript + Canvas
Reminded me of this previous submission[1]:

http://alteredqualia.com/visualization/evolve/

[1] comments: https://news.ycombinator.com/item?id=392036

DanielRibeiro··on Let's Make GitHub Better, Together
On Chrome I did not (the dotjs works just fine). I had issues with HN bookmarlet[1] on Github on Firefox, but I just disabled CSP on FF (GitHub mentions that this is a bug in their implementation).

[1] http://ycombinator.com/bookmarklet.html

← PreviousPage 5 of 34Next →