Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IvoDankolov
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
IvoDankolov
6y ago
Lovely effect! Particularly enjoyed how it seems to 'fake' refraction by sampling higher or lower from the background based on the drop shape. The trails squishing back into raindrops to simulate surface tension is also a pretty n
2.
▲
by
IvoDankolov
6y ago
It's due to the day/night buttons being anchor tags as opposed to any Safari-specific issue. If you wanted to keep the the ability to link to specific states, but avoid the history issue, you'll need to use the History API —
3.
▲
by
IvoDankolov
6y ago
Well, all of supervised learning is basically approximating an unknown function from a finite list of samples. But it's still an approximation, with things like e.g. backpropagation 'simply' (in the abstract mathematical sens
4.
▲
by
IvoDankolov
13y ago
Yes, you are missing something, which is a bit of a quirk of C++. Normally, having two functions with the same signature in a parent and child class results in overloading. struct A { void f() {std::cout << "A";} };
5.
▲
by
IvoDankolov
13y ago
Could you be a bit more specific as to what you find confusing? Is it: - That you can use the name of a variable, h, as if it was a function? That's because Javascript has first class functions [1] - the language is defined to support passi
6.
▲
by
IvoDankolov
14y ago
In what terms do you think you "understand" it? What do you make of this problem with distant entangled particles? The double slit experiment and interference in general? The Heisenberg uncertainty principle? (Or as I'd like to call it, Hei
7.
▲
by
IvoDankolov
14y ago
It's always amusing to see the kind of excuses that pop up when you try to explain entanglement or interference in the mindset of wavefunction collapse. I'm still not entirely sure why so many people consider collapse to be simpler. Is it t
8.
▲
by
IvoDankolov
14y ago
But when you "collapse the wavefunction" and "create" the internal state of the particle, do you also create the internal state of the other one that is entangled to it? Do you create it instantaneously? You see, the problem is not whether
9.
▲
by
IvoDankolov
14y ago
The way I've usually seen this one presented involves precisely the observation, in that you gain knowledge of the other particle. Of course, saying "because it was always a ~k particle" does not a good explanation make, because that would
10.
▲
by
IvoDankolov
14y ago
Yes, I can quite easily think of Graham's number - I call it G. You might think that I'm saying that in jest, but it is actually the way of things. There are quite literally an infinite number of numbers. Why should Graham's be important en
11.
▲
by
IvoDankolov
14y ago
Yes, in fact F# has that built in as |> , which I've taken to using in Haskell as well. Though it's a bit more intuitive to me when it has the lowest precedence like so: (|>) :: a -> (a->b) -> b (|>) x f =
12.
▲
by
IvoDankolov
14y ago
Well, surprisingly, that would only be as strong as doing OCR to get the words. Why is that? Well, if you deliberately remove words that are easy to put back into the sentence, it's an easy task not because we humans are incredible at "out
13.
▲
by
IvoDankolov
14y ago
I'd say this reads more like an ad than an explanation. The first paragraph is totally a sales pitch, then they invite you to use the product and constantly nag on about how awesome it is. And anyway, marketing aside it's not really a good
14.
▲
by
IvoDankolov
14y ago
Actually, what you have written is not foldl, it's foldr. Why is it going right to left? Let's expand your example: (foldl * 1 '(1 2 3)) (* 1 (foldl * 1 '(2 3)) (* 1 (* 2 (foldl * 1 '(3)))) (* 1 (* 2 (* 3 (foldl 1 '()))))
15.
▲
by
IvoDankolov
14y ago
Correlation does not imply causation? Statisticians like to use that one at every opportunity. Bear in mid, though, that "you shouldn't investigate correlations anyway" is absolutely the wrong conclusion from this.
16.
▲
by
IvoDankolov
14y ago
Was there really a need to put "legitimate" in quotes every single time? More seriously, though, it shows that the legal system has put itself, perhaps unwittingly, in unexplored and potentially very volatile territory. Most times, a warran
17.
▲
by
IvoDankolov
14y ago
If you ask me, TA should be the more glorious position. There's just no point in speaking the same thing in front of 200 students every (half) year in front of 200 people with little to no interactivity. So what's the point of having that p
18.
▲
by
IvoDankolov
14y ago
Well, yes, and the scathing tone of it is pretty thick, at least when I read it in my head. I was commenting on the idea, not the exact wording of it. It's just the first appropriate quote that I grabbed from the text.
19.
▲
by
IvoDankolov
14y ago
No access code means a lower grade, all in the best interests of science. I ... no. I can't even... I'm sorry, but I find it very hard to summon an inkling of sympathy for the publishers' plea against piracy when I see measures li
20.
▲
by
IvoDankolov
14y ago
Good security is safe in spite of knowing exactly how it works. While revealing the exact details does not make an algorithm less vulnerable, it should not make it more so. And if it turns out that you are using a flawed solution, talking a
21.
▲
by
IvoDankolov
14y ago
But that doesn't matter at all if the attacker is targeting your algorithm in particular. Say my algorithm is to pick the password "1" * 1000 (that's the character 1 repeated 1000 times) and also pretend that 90% of the sites didn't have st
22.
▲
by
IvoDankolov
15y ago
I do agree on that point, but I'm not sure if pragmatic is the right word. Need of a specialized work environment, perhaps. Programming needs one, too, I suppose, but it just happens to be a computer. Approaching other subjects the same way
23.
▲
by
IvoDankolov
15y ago
I've received one of these emails as well. Almost makes you wonder how much would offline university degrees be worth in a few years. Objectively, this is not a new idea. We have been talking about revolutionizing education for years - and
24.
▲
by
IvoDankolov
15y ago
As Geee stated, it's about imitating the lighting of the scene. There's all sorts of subtle and not-so-subtle effects that come as a result of light bouncing around. While it may be obvious when a virtual object is missing a shadow (as in t
25.
▲
by
IvoDankolov
15y ago
Now implement a raytracer that infers lighting location and reflectance (and subsurface scattering) of the objects in the scene from the image and then we can have a whole new level of realism. In all seriousness, though, I do wonder what k
26.
▲
by
IvoDankolov
15y ago
I have two issues with the article (notwithstanding that I had to look it up in google cache because the server wasn't responding). First, while it's true that in this particular case iterating exposes gritty implementation details (because
27.
▲
by
IvoDankolov
15y ago
The design of the site is quite good, but the mouse events on the canvas to control the shape of the gradient don't seem to work at all under Opera (it's fine under Chrome). As a suggestion, gradients with more than 2 colors (a Photoshop st
28.
▲
by
IvoDankolov
15y ago
We'll probably need the visual memories anyway, because the "input stream" tends to be a sprawling mess that only looks so good because the brain does some pretty awesome inference and pattern matching to construct a high quality scene. I'm
29.
▲
by
IvoDankolov
15y ago
In case you don't speak Haskell: IEnumerable<T>.Where(Func<T, bool> predicate) It's quite simple to use: var odd_numbers = numbers.Where( n => n%2 == 1 );
30.
▲
by
IvoDankolov
15y ago
Well, what happens when you try to remove the 10th page when there's only 1 left? As a rule of thumb, don't ever rely on indexation in a collection if you do random deletes. Usually you'll just blow up your app gracelessly. Sometimes, epic
More ›