HNHacker News
TopNewBestAskShowJobs

simiano

27 karma · joined October 5, 2015

submissionscomments
simiano··on Outgrowing Software
I rarely reply to a comment here on HN. But yours resonated with me. Software as a new form of literacy is a good mental model. Also "You cannot compensate for lack of literacy in a company or society" is spot on. Thank you.
simiano··on Amazon fires: Brazil threatened over EU trade deal
As a Brazilian who despises the current administration, I find your comment on the matter rather sober. Thank you for your input, opened my eyes for a new perspective. Still worried by the current situation though. :(

[edit] grammar

simiano··on BuckleScript: An OCaml to JavaScript compiler
OCaml => Js: https://bucklescript.github.io/bucklescript-playground/index...

Reason => OCaml => Js: https://reasonml.github.io/try/

simiano··on Brazil political crisis deepens as President Temer taped arranging bribe
Brazilian here, and yeah, we're f*d. It is not a particular party or politician, it is all of our political system that is rotten; It produces and rewards the worst of the worst. Our democracy is very young and fragile (about thirty years old), we have levels of inequality that are inhumane, an education system that is not particularly recognized by producing critical thinkers. The result is a population that is easily manipulated by the political class and a government that is corrupt to the core and at all levels.

The current president was the vice president a few months ago, he assumed after our previous president was impeached. We know that the previous president was not a saint[1] (there is no way someone becomes president with clean hands down here) But people honestly thought that, by supporting Dilma's impeachment, and, by consequence, lowering the influence of the Workers Party they were helping to clean the country, which is sad.

There is a huge ongoing investigation nicknamed Lava Jato (Car Wash), and man! oh man! Politicians are going to jail. Owners of big companies accused of bribing are being forced to cooperate with the justice department and they are revealing the guts of our political system, and it is not pretty.

There is a saying: Brasil não é para amadores (Brazil is not for amateurs). House of Cards does not even compare to what is going on here. We hope that after this storm, the institutions become stronger, and we add a lot of mechanisms to punish bad politicians and add incentives to the good ones.

[1] My opinion

[EDIT] Punctuation

simiano··on Rails developers should learn React
I had the same impression about Vue. When Redux came out I tried to learn React/Redux and, although I got it, it felt verbose and I couldn't quite pass the noob phase. Maybe I din't try hard enough.

With Vue, on the other hand, it was easier to get started. I got a prototype working in a week with no previous knowledge of the framework. I'm avoiding the component state and using a Redux like approach using props and a centralised state, and I didn't even need to use Vuex[1].

I'm using typescript, which helps catch a lot of bugs early on, it's a little difficult to integrate with single file components[2] (which are awesome, btw), but once I got it working, it proved to be an excellent combo.

The documentation is cristal clear and very beginner friendly. If you're getting started I highly recommend using vue-cli[3] to bootstrap your project

I think Vue sits between React and Angular, being simpler than Angular, offering more features than React, and easier than both to get started.

[1] https://github.com/vuejs/vuex

[2] https://vuejs.org/v2/guide/single-file-components.html

[3] https://github.com/vuejs/vue-cli

simiano··on When to Avoid JSONB in a PostgreSQL Schema
Keep in mind that Heap collects a huge amount of data and has a huge dataset. I like this[1] talk, it gives you an overview of their architecture. Great post though, thank you for sharing.

[1] https://www.youtube.com/watch?v=NVl9_6J1G60

simiano··on How Humans Evolved Supersize Brains
There is also this awesome talk by Suzana Herculano-Houzel (mentioned in the article)

http://www.ted.com/talks/suzana_herculano_houzel_what_is_so_...

simiano··on A cartoon guide to Flux
I think this[1] SO answer by the creator of Redux sums up well.

[1] http://stackoverflow.com/questions/32461229/why-use-redux-ov...