HNHacker News
TopNewBestAskShowJobs

velis_vel

132 karma · joined October 14, 2013

submissionscomments
velis_vel··on Angelhack Founder Says He's Sorry
So, let me see if I understand you:

* Angelhack dude either comparing software engineers to the 'working class' or insisting that said 'working class' should be kept away from software engineers, and in either case out and out saying that both should be kept away from 'degenerates': just a man expressing his right to free speech

* People going 'what the fuck' on the internet about it: Orwellian.

In other words, freedom of speech not only means you're allowed to say whatever you want, but nobody's allowed to criticize you about it. Do I have that right?

velis_vel··on Angelhack Founder Says He's Sorry
> unacceptable, impermissible opinion

> crowdsourced rightthink pushback

I can't tell what level of irony/sarcasm you're operating on here.

velis_vel··on The Long-Term Unemployed Are Doomed
This kind of 'well if it doesn't explicitly mention race it can't possibly be stereotypical' belief is nonsense. If I go 'oh me so solly!' everybody is going to know I'm stereotyping Asians (specifically, Chinese/Japanese) people.
velis_vel··on Plain English explanation of Big O
If you look at the Wikipedia article on big-O notation, it says that f(x) = O(g(x)) if and only if there exists some M > 0 and x_0 such that |f(x)| < M|g(x)| for all x > x_0. The x_0 is what lets you ignore early irregularities; without it, you couldn't say that sin(x) + 1 is O(x) since there's obviously no M such that sin(0) + 1 < M * 0.

You're right about the theta thing, my mistake.

velis_vel··on Plain English explanation of Big O
Because you've simplified it to the point of being incorrect. First, you've confused big-O, which is an upper bound, with big-theta, which is a strict bound. But leaving that aside, big-O also drops constant factors, and your explanation doesn't. Also, it ignores finitely many 'irregularities', if I have a loop that normally runs n^2 times, except when n=17, 30, or 483, in which case it runs 10 billion times, that's still O(n^2). [That's actually implied by it ignoring constant factors, since you could just crank up the constant to 10 billion/17^2].

Finally, big-O notation describes arbitrary function growth, not just the runtime of some operation when applied to a list. It's used a lot in numerical analysis where you can show that some function can be approximated by, say, x - x^3/6 + x^5/120 + O(x^7).

velis_vel··on What I Wish I Knew When Learning Haskell
Set basically has an Ord constraint on the type of things you have a Set of since most of the functions on it have an Ord a constraint, and Monads can't be constrained in what types they wrap. This is also why it's not a Functor; you can define

  setMap :: (Ord a, Ord b) => (a -> b) -> Set a -> Set b
but that's still more restricted than fmap.
velis_vel··on What I Wish I Knew When Learning Haskell
So I don't particularly feel like watching an entire hour-long video about something I'm already very familiar with for the sake of an argument on the internet; I'm just going to skim the video and look at the slides.

He describes monads as "a loophole" in the idea of function purity. This isn't true; monads aren't a way to 'cheat' any more than passing an accumulator through like

  factorial acc 1 = acc
  factorial acc n = factorial (acc * n) (n - 1)
is. He says something about state and functions and closures that I can't understand and how the state is 'always different', and it's just nonsense as far as I can tell.

He also calls values 'monads', which isn't accurate terminology at all; they're usually called monadic actions.

velis_vel··on What I Wish I Knew When Learning Haskell
> For what it's worth, I'm far from alone in asserting that jQuery is indeed a monad.

And a lot of people think that the reason astronauts float on the ISS is because there's no gravity there.

> Since Haskell people claim to be the only enablers of "true monads", they would of course nitpick about patterns implemented in other languages.

Yes, because monad is an actual term and calling something a monad just because it sort of looks like it if you squint doesn't make it one. You can't write return in the 'jQuery monad', because there's no way to wrap arbitrary data types, only things like DOM elements. Something like a promise is closer to a monad, because you can turn any value into a promise, but IIRC there are still issues around it that I don't remember offhand.

velis_vel··on What I Wish I Knew When Learning Haskell
> I know (and use) basically every other CS concept.

Really? So you know and use row types, linear logic, rank-N types, impredicative types, red-black trees, generalized algebraic data types, continuations, kind-level polymorphism, pattern matching, pi calculus, the Curry-Howard isomorphism, linear programming, dynamic programming, mBayesian inference, support vector machines, context-sensitive grammars, Feistel networks, one-time pads, vEB trees...

velis_vel··on Cryptosphere - Encrypted P2P web application platform
http://i.imgur.com/4dZq0ZI.png

Like that?

velis_vel··on Why we look at job applicants' Github or 'What's your excuse?'
> There is nothing whatsoever preventing a person of any sort from creating a code portfolio, and it's pretty easy to browse a github profile without learning anything about the demographics of the coder.

Not if they use their name on the profile or use a picture of themselves for their avatar.

velis_vel··on Mathematicians Team Up on Twin Primes Conjecture
What? No. RSA doesn't depend on finding prime numbers, it depends on factoring large numbers, which is a completely separate problem. Elliptic curve cryptography doesn't depend on prime factorization at all.

Even if they did, I don't think this really helps you; knowing that there exist arbitrarily many primes within N doesn't help you find primes any faster.

velis_vel··on Mathematicians Team Up on Twin Primes Conjecture
I don't think that you can really call a professor with a PhD 'Joe Average'.
velis_vel··on How I faced my fears and learned to be good at math
You're confusing pedantry with rigor. The fact that a compiler will complain at you if you misspell 'continue' but a mathematical proof will keep going just fine doesn't mean that programming is more 'rigorous' than mathematics.
← PreviousPage 3 of 3