HNHacker News
TopNewBestAskShowJobs

chukye

82 karma · joined November 29, 2015

submissionscomments
chukye··on JsonLogic – Build complex rules, serialize them as JSON
I don't understand... Why just dont get all the complex logic from server/client, generate a .js with it and use in server/send to client? Why JSON? JSON is not designed for this.
chukye··on Atmospheric carbon dioxide passes 400ppm
What a common people can do to help to fix that?
chukye··on Why I'm Not a React Native Developer
Ok, this is a good point. But, the author just point out the quirks of JS language, and not things about the RN itself. Would be more fair if he pointed out the quirks in python or had focused on the RN. All he says about JS is very well known and is there since 90s. Also, he is saying that its not safe because he can't understand and workaround with the pitfalls, JS has a lot of problems, but also has a LOT of great solutions for them, and by that this not means that the language is not safe, just means that its harder to work with.
chukye··on Why I'm Not a React Native Developer
The most part of cons is criticising JavaScript and NOT React Native. I know how JS works, and I LOVE IT. The only part of the post that I liked is when he talks about the license, all the rest is just bullshit from a person who don't like JS.
chukye··on Is your JavaScript function actually pure?
I would also use some `demand` function or argument-validator in JavaScript to validate that, thats a good practice in anyway, like: `function sum(arr) { goodArrayOfNumbers(arr); ... }`.

I think that; in JavaScript you NEED to validate your arguments with something like that, you really cant assume nothing. ("Dont assume it, prove it!").

chukye··on How to Overthrow a Government [video]
Is he just saying that you can put down a government by faking a lot of news?
chukye··on Show HN: Node.js module for Brazilian Zipcode (CEP) updated in real-time
man, its not updated in real time, it just queries another API, the way you put looks like it has some database, or it stores something internally. Also, you should really consider to add support for non-promise, not everybody like promises, and native promises in node world are not that good yet.
chukye··on Looking ahead for WhatsApp
I do not mind to pay, as long as they dont share my phone number and dont show me ads.
chukye··on Why GNU grep is fast (2010)
I think this was already quoted in somewhere, but, its the best advice;

"The key to making programs fast is to make them do practically nothing."

chukye··on July was the hottest month ever recorded, according to Nasa
OK, but... any ideas how can we solve that?
chukye··on “It's The Future”
Man, I dont think this is the future at all. OK, Docker is good and has its propose, and is very good on what its do: "Run only one process in one brand new kernel", but beyond than that, its just a daemon that uses and abuses of linux containers, you can easily scale, but is a pain in the ass to upgrade apps, also you need to run only one process on that. Does not looks like the future for me to have 30 different linux containers running just only one process in each of them, dude, you have a kernel in your hand, why the hell you will run only one process on it? (what the heck, you can protect yourself and scale without be the bitch of a daemon, you just need to know your best friend kernel), you dont need to make micro services for everything, its good ok, but its not the solution for everything like the people are saying...

I really dont have any idea why the people are are so excited about "docker" all the things.

chukye··on JavaScript async/await implemented in V8
Man, I used to love the times when try/catch was used to exception only, and with exceptions that leaves the program in a bad state, I used to think when you see a throw something really bad is going on, not just a simple ajax fail.

Dont know why people love so much async/await. In the end of the day, this all (in node land, for instance) will be just a function call in the libuv, this will never change, this is because the pattern is really good.. Why overcomplicate that?

chukye··on WhatsApp, Used by 100M Brazilians, Shut Down Nationwide Today by a Single Judge
You are assuming, just like the judge. That is not correct, you should trust in the company when they say that. The hole world works as that, trust. A judge cannot assume that they have that data, because they don't. This judge just dont have any tech acknowledge, thats the problem, people that dont understand what they are doing. BTW, its not End-to-end encryption related, is just that they dont store that data in anywhere.
chukye··on NPM and Left-Pad: Have We Forgotten How to Program?
Man, I have to quote: `In my opinion, if you cannot write a left-pad, is-positive-integer, or isArray function in 5 minutes flat (including the time you spend Googling), then you don’t actually know how to code.`

You would be surprised of how many developer these days have 'afraid' to write such functions, or how lazy they are, they found this thing and just add to a project, then push to some google list and the project got a lot of followers, and in the next day the project has changed about 90%. I saw this happen over and over again in this ecosystem, this is insane dude.

A lesson I learn is: you _need_ to read every module source code before add to any project, the NPM ecosystem has so many "shits" out there. You cannot trust in any npm module, recently I tried to trust in a module that has more than 5k stars, but I found a such ugly bug on that, that I feel my soul die, and I swear I hear the angels cry, thats not how open source supposed to be.

These days, seems that people dont care about the 'bug free' as long as it work a half way.

← PreviousPage 2 of 2