Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teoryn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
teoryn
7y ago
I use a strip of electrical tape.
2.
▲
by
teoryn
12y ago
What's the reason for 'asm("");' in 002.c (and other c codes)? All I can see that doing is intentionally breaking the compiler's ability to optimize over loop iterations, which puts rust a huge advantage over c
3.
▲
by
teoryn
12y ago
Shouldn't it be 'float * restrict a'? When could one get into trouble thinking that "restrict == this will not alias"? If X is never modified during B it seems like aliasing wouldn't cause any problems. Since r
4.
▲
by
teoryn
12y ago
Nah, I'd just like to take a look at it, but you might be able to get someone else to use it on ARM compilers if you release it.
5.
▲
by
teoryn
12y ago
Have you or will you be releasing code for Orion?
6.
▲
by
teoryn
12y ago
It should be alternating lines with red, black and blue not greys, it's to increase reading speed: http://www.beelinereader.com/
7.
▲
by
teoryn
12y ago
Aliasing information is one place the programmer can help the compiler. The 'restrict' keyword in C/C++ is a great example of this. Also information provided by 'const' can be very helpful for the compiler. While bo
8.
▲
by
teoryn
13y ago
It's visible in view source: "The requested document is no more.", 'No file found.', "Even tried multi.", "Nothing helped.", "I'm really depressed about this.", "
9.
▲
by
teoryn
13y ago
In level 9 rank (among contacts and global) is shown, but percentile would be more interesting.
10.
▲
by
teoryn
14y ago
Here's how I did it: https://bitbucket.org/teoryn/image-approximation For converting the polys to pixels I render it with OpenGL and then extract the resulting image. I use ppm for both input and output, they're just a plain text file, an
11.
▲
by
teoryn
14y ago
The faster version looks like it might not be numerically stable; if sum(l_quantity) is greater than the maximum value that can be represented it would overflow and give meaningless results. Given the arrays mentioned by the average functio
12.
▲
by
teoryn
15y ago
Naive fibonacci is a much more interesting example for memoize than factorial: fib = +lambda {|n| return 1 if n <= 1; fib[n-2] + fib[n-1]}
13.
▲
by
teoryn
15y ago
I fully agree it's satire or a really bad survey, but that doesn't disqualify Ubuntu from being an operating system.
14.
▲
by
teoryn
15y ago
How is Ubuntu not an operating system?
15.
▲
by
teoryn
15y ago
From the problem definition: Q: What if there are multiple valid segmentations? A: Just return any valid segmentation if there is one.