Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
0-_-0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
122 ms
·
1351.
▲
Automatic Full Compilation of Julia Programs and ML Models to Cloud TPUs
(arxiv.org)
2 points
by
0-_-0
8y ago
|
0 comments
1352.
▲
by
0-_-0
8y ago
Thanks for letting me know about Arxiv Vanity!
1353.
▲
by
0-_-0
8y ago
Do you suggest that we appeal to tradition instead of practical considerations?
1354.
▲
by
0-_-0
8y ago
It's not absurd at all. In situations where you need to do modulo arithmetic on array indices 1-based indexing forces you to shift the offset by 1.
1355.
▲
by
0-_-0
8y ago
My argument was that in situations where the difference between 0 and 1 based indexing makes a difference it's ususally 0-based indexing that leads to simpler code.
1356.
▲
by
0-_-0
8y ago
Contrary to your summary, the quote makes a good case for 0-based indexing, both theoretical and practical. How can an argument based on reason become an argument from authority just because someone well known said it?
1357.
▲
by
0-_-0
8y ago
Well for one, most situations I can think of when an index is calculated a 0-based index is more useful. Addressing an element T[h][w][c] in a linearized 3D tensor with 0-based indexing: T[h*W*C+w*C+c] with 1-based indexing:
1358.
▲
by
0-_-0
8y ago
And they already have Julia! Looks like you can't joke with array indexing...
1359.
▲
by
0-_-0
8y ago
Oh cool! Thanks!
1360.
▲
by
0-_-0
8y ago
53% single core clock improvement over almost 8 years. Transistor count has increased from 1B to about 7B, which is roughly in line with Moore's law though...
1361.
▲
by
0-_-0
8y ago
Yes but can you do that from Julia without writing CUDA/OpenCL code? I'm happy that Julia supports GPU programming for simple code, but I don't see how you can run algorithms with inter-thread communication.
1362.
▲
by
0-_-0
8y ago
That's fair enough, the point I tried to make is: Statistically, we would expect our solar system to be average among solar systems that can support intelligent life, not among all solar systems (following the Anthropic Principle). The
1363.
▲
by
0-_-0
8y ago
My point is that a large planet in the system reduces the probability of large asteroid impacts later in a star system's history. I didn't mean that it immediately removes all asteroids from a star system after forming.
1364.
▲
by
0-_-0
8y ago
Yes but the solar system is a biased sample: life evolved in it. Maybe it was helped by Jupiter shielding us from asteroids that could wipe out life on the planet? If it's statistically more likely that intelligent life evolves in a sy
1365.
▲
by
0-_-0
8y ago
> Probably the most language agnostic algorithm Are you sure about this point? I'd like to see a purely functional implementation of this, e.g. in Haskell without monoids. I believe it's significantly harder than a C implementa
1366.
▲
by
0-_-0
8y ago
Floyd–Steinberg dithering of images: https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dither... It can simulate color transitions with fewer colours by using a simple error diffusion algorithm.
1367.
▲
by
0-_-0
8y ago
That sentence is not true in the presence of good regularization. And doing proper regularization is a major part of machine learning as a discipline, just like having test and training sets to see if you overfit the data. So “Machine learn
1368.
▲
by
0-_-0
8y ago
This is about rendering, not the font itself: https://en.wikipedia.org/wiki/ClearType