HackerTrans
TopNewTrendsCommentsPastAskShowJobs

torrance

no profile record

Submissions

Israel relying on Microsoft cloud for expansive surveillance of Palestinians

theguardian.com
137 points·by torrance·11 months ago·51 comments

Spotify exodus over arms industry link

theguardian.com
6 points·by torrance·12 months ago·0 comments

Spack Package Manager

spack.readthedocs.io
3 points·by torrance·2 years ago·0 comments

comments

torrance
·3 months ago·discuss
I think you are making exactly his point. Practicing code as a craft, caring about how you do it, how well you do it, and what it’s ultimately used for is, as you correctly point out, not going to bring you profit or employment.

So maybe there’s something wrong with how we organise work?
torrance
·9 months ago·discuss
Well, in Julia, for one.
torrance
·11 months ago·discuss
The simplest way to do this is described here: https://mathworld.wolfram.com/SpherePointPicking.html

Essentially:

1. Generate uniformly random values u,v between 0 and 1.

2. Then find their spherical coordinates as:

theta = 2 pi u; phi = acos(2 v -1)

Honestly I’m unsure why you’d choose a method any more complicated.
torrance
·last year·discuss
If you select "All data" for their user count, you'll notice a sharp shift in the gradient of the user count about a year ago. Any idea what would cause this?
torrance
·2 years ago·discuss
Since no one else has mentioned it, I appreciated the Arrested Development references. Very cute.
torrance
·2 years ago·discuss
These results are promising and hopefully carry over to the upcoming Strix Halo which I’m eagerly awaiting. With a rumoured 40 compute cores and performance on par with a low power (<95W) mobile RTX4070, it would make an exciting small form gaming box.
torrance
·2 years ago·discuss
What about Nextflow?
torrance
·2 years ago·discuss
If your project depends heavily on general purpose GPU programming, you might start one in C++.

This was the case for a project I am working on that was started in the last year. The interop features in rust (and other languages) are simply not as reliable as writing kernels directly in CUDA or HIP or even DPC++. You _can_ attempt to write the GPU code in C++ and call to this from $LANG via ffi, but if you want to preserve data structures and methods to work on both the host and device, its still easier to write it once in C++.