Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bnegreve
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
421.
▲
by
bnegreve
12y ago
This is not convincing to me because the examples are trivial: -- swap the elements of a pair swap :: (a,b) -> (b,a) Yes this is redundant. let b=a+1 -- add one to 'a' Yes this is also redundant Does it m
422.
▲
by
bnegreve
12y ago
With aalib, you can even render videos on the terminal. E.g. on Linux: mplayer -vo aa video.mpg Will use aalib to render video.mpg inside the current terminal/console. The quality is not great though: http://www.you
423.
▲
by
bnegreve
12y ago
Check again, the peak is clearly at 2014 (each tic is 5 years)
424.
▲
by
bnegreve
12y ago
> I meant "hardware access ([when the particular thing is] not exposed by other languages ... Ok, I agree. > Like I said, you cannot quickly do better than a modern compiler, and a compiler does it very, very quick. I'm n
425.
▲
by
bnegreve
12y ago
> Hardware access (not exposed by other languages), speed, and possibly executable size are the practical reasons one would write in assembly. This is a bit misleading, accesses to physical memory, disks and to other devices are usual
426.
▲
by
bnegreve
12y ago
> Seems like needing the piston to change directions is a waste of momentum. It's not, in a closed system momentum is conserved [1] so without friction, a free engine would rotate forever. Also there is not conceptual difference b
427.
▲
by
bnegreve
12y ago
I use a text editor because using a text editor that you've mastered is pleasant. (I'm an Emacs user fwiw.) I think we should stop trying to rationalize this choice. Or rather, we should realize that we like text editors because w
428.
▲
by
bnegreve
12y ago
> sed is provably Turing complete This submission is in itself, an elegant proof that sed is Turing complete.
429.
▲
by
bnegreve
12y ago
> If you know that p is not NULL then why are you checking for it? These dummy tests can happen if you have a lot of macros for example. It still valid C code as long as p is not NULL. A compiler generating an error on this particular
430.
▲
by
bnegreve
12y ago
> In the printf example, the compiler could trivially emit an error saying "NULL check on p after dereference of p" If you know that p is not NULL, the code is just fine. The compiler has to compile it.
431.
▲
by
bnegreve
12y ago
> All solutions are technical. What does this mean? When employees are on strike, one solution is to increase wages. How is this a technical solution?
432.
▲
by
bnegreve
12y ago
> J0523 has the lowest possible mass for fusion, so it’s taking its sweet time using up its hydrogen fuel. [...] It could literally still be fusing merrily (though feebly) away even a trillion years from now! The good thing about astro
433.
▲
by
bnegreve
12y ago
Here's the answer (from AceJohnny2's comment): https://news.ycombinator.com/item?id=7893243
434.
▲
by
bnegreve
12y ago
> These are really impressive from a mechanical engineering point of view It's not just a mechanical engineering problem, the dynamic of the system is way too complex to be modeled with a simple formula. There's a lot of AI&
435.
▲
by
bnegreve
12y ago
It doesn't sound right, with this logic DNS would be useless. Even if I use search engine to reach most websites, the domain name remains an effective way to distinguish legitimate websites from illegitimate ones.
436.
▲
by
bnegreve
12y ago
One can name thousands of examples (literally) where the simple code doesn't beat the fancy algorithm. What's your point?
437.
▲
by
bnegreve
13y ago
> I am terribly sorry for the ad-hominem, That was a bit cheap but ok. Let me add more. Here is the same data that I have reploted http://imgur.com/fdtc0tH This chart is less biased (y axis starts at 0) and the correla
438.
▲
by
bnegreve
13y ago
> We can conclude, from the fact that we did not find a positive correlation, that the hypothesis is false. We could if it was a lab experiment where the only factor that varies would be the popularity of violent video games. But it&#x
439.
▲
by
bnegreve
13y ago
> You offered a suggestion that was based on a false premise. I haven't, I am not taf2. I was just saying that this inverse correlation that you see may be due to other factors or may not even be statistically significant. We'
440.
▲
by
bnegreve
13y ago
> If there is a correlation there, it is negative Yes that's my main point: this plot does not prove the correlation. If you look at a bigger picture e.g. (maybe here [1], altough it's not technically the same metric) there w
441.
▲
by
bnegreve
13y ago
I genuinely don't know whether violent video games implies more violent behaviour, but I am 100% sure that this chart doesn't prove or disprove anything.
442.
▲
by
bnegreve
13y ago
Just to clarify, it wasn't obvious to me before I read the part of the article that I have quoted. But I still think that functional programming goes beyond simply specifying "what you want". Take the problem of sorting an
443.
▲
by
bnegreve
13y ago
According to Wikipedia, functional programming is an example of declarative programming [1], which is mentioned in the article. This is not immediately obvious to me, here's why (from the same wikipedia article [1]): While functional
444.
▲
by
bnegreve
13y ago
So you need the same number of samples whether you use 80+12 or 90+2.
445.
▲
by
bnegreve
13y ago
The fact that you can "factorize" 92 into 4 x 20 + 12, means you need less samples, not more. Of course it also requires more and specialized logic in your program, which is the real problem.
446.
▲
by
bnegreve
13y ago
Let me overthink this a little bit: It seems to me that this quote makes a rather standard usage of the "Zeugma" [1] figure of speech. It consists in putting next to each other two things of very different nature. In that case we
447.
▲
by
bnegreve
13y ago
> It has nothing to do with graphs, graphs are are just visual tools. To make a graph, one has to make decisions, these decisions can be legitimate or they can be biased. Biased decisions lead to misleading graphs. The same goes for ot
448.
▲
by
bnegreve
13y ago
That's how it should be, but I suspect that in most cases, people work simply because they are supposed to. E.g. (quoting the article) > If it is 2pm, then I will stop what I’m doing and start work on the report Bob asked for.
449.
▲
by
bnegreve
13y ago
> Voynich Manuscript partially decoded, text is not a hoax, scholar finds As the author of this work states it himself, this is a "proposed partial decoding" and it is "tentative and provisional". But anyway, the me
450.
▲
by
bnegreve
13y ago
> It's also unfortunate that you feel the need to manipulate others through condescension in order to feel superior. Chill out, he said please.
More ›