HNHacker News
TopNewBestAskShowJobs

caub

-21 karma · joined July 3, 2016

submissionscomments
caub··on Practice Doesn't Make Perfect
that's it I agree, but what does perfect mean also? perfect absolutely, compared to your potential, or relatively to others?
caub··on TypeScript Seals My Penchant for JavaScript
yea, babel, as exception replied
caub··on TypeScript Seals My Penchant for JavaScript
I love JS/ES2016 how it is, I seriosuly don't see the advantage of typescript except maybe for a gigantic application
caub··on Why I'm Not a React Native Developer
NaN !== NaN is just right
caub··on Why I'm Not a React Native Developer
just type them in your console instead of saying wrong things
caub··on Why I'm Not a React Native Developer
no, -Infinity is not Infinity
caub··on Why I'm Not a React Native Developer
yea 1/x is not strictly defined for x=0, but you can extend it in ℜ ∪ {+∞,-∞}, I don't know your math background, but 1/-0 could make you think of limits:

1/0 is like 1/0⁺ (limit of 1/x in ]0,+∞[ when x->0) == Infinity.

1/-0 is like 1/0⁻ (limit of 1/x in ]-∞,0[ when x->0) == -Infinity.

1/Infinity is 0 ....

0/0 is however an indefinite form, so it's NaN

so the behavior of JS makes sense

And even if 1/0 and 1/-0 returned NaN, they wouldn't be equal to each other too

caub··on Fat-fueled brain: unnatural or advantageous?
I think the body can generate fat from any type of food, even sugars, the thing is just to learn to use that stored fat, instead of overconsuming
caub··on Why I'm Not a React Native Developer
var a = 0; var b = -0;

console.log(a === b) // true

console.log(1/a === 1/b) // false

That's perfect math you mean, of course -Infinity != Infinity, what did you expect?

I think you should rather think harder, learn math possibly, and your 'safety' problems with arrays are not problems at all, it's the opposite for other people

caub··on Why I'm Not a React Native Developer
what's the point of

function ConnectivityIndicatorView(props: {isConnected: boolean}) {.. props.isConnected ..}

vs function ConnectivityIndicatorView({isConnected}) {.. isConnected.. }?

caub··on Bogdanov affair
vanillajs makes more sense than at least half of JS libraries
caub··on America Is Not the Greatest Country on Earth. It’s No. 28
Fun fact: America is not a country
caub··on Principles we use to write CSS for modern browsers
css variables too
caub··on Zuckerberg and Chan aim to tackle all disease by 2100
as long as smoking will be removed the planet I'm fine
caub··on Is your JavaScript function actually pure?
so var sum=(...a) => a.reduce((x,y)=>x+y) is pure?
caub··on Instant.io – Streaming file transfer over WebTorrent
why not using simply webrtc?
caub··on Google's plan to deter aspiring ISIS recruits
Those are not the ones who suicide-bomb
caub··on Google's plan to deter aspiring ISIS recruits
google is my religion
caub··on Qualities of clean code
in the background image, the code would be better with arrow functions, or object shorthand methods
caub··on FBI director: Cover up your webcam
Laptops have a LED showing when webcam is in use
caub··on How the Sugar Industry Shifted Blame to Fat
how to fat industry shifted blame to sugar in return
caub··on PageAccelerator – A very light solution to load web pages faster
people should just use historyAPI directly
caub··on Machine Learning in a Year
scipy is almost exactly the same than matlab/octave
caub··on Machine Learning in a Year
Coursera ML course wasn't particularly hard
caub··on Regular Expression That Checks If A Number Is Prime
it's highly inefficient tho
caub··on The FBI Says It Can't Find Hackers to Hire Because They All Smoke Pot (2014)
the loss of neurons that goes with smoking
caub··on A scammer stole $500 from me and in the end begged me not to tell his parents
I think he will do it again soon
caub··on I am a fast webpage
what is that `.unit{display:inline-block;display:inline;zoom:1` (the stars..)
caub··on Qt 5.8 Alpha released
I don't want iOS look at all
caub··on The FBI Says It Can't Find Hackers to Hire Because They All Smoke Pot (2014)
good hackers don't smoke
← PreviousPage 2 of 3Next →