Better HN
topnewbestaskshowjobs
Log inSign up

torrance

596 karma · joined Oct 21, 2013 (13y ago) · 102 submissions

Submissions

comment 1mo ago · link · parent

The multiple bibliographies is a godsend. And I hope that will make the implementation of proper endnote support easier.

2.

Paying for frontier AI models buys 4-month head start at 5x the cost(arstechnica.com ↗)

2 points · by torrance · 2mo ago · 2 comments

3.

Julia 1.13 Highlights(julialang.org ↗)

4 points · by torrance · 2mo ago · discuss

4.

A Preview of Roc 0.1.0(youtube.com ↗)

3 points · by torrance · 3mo ago · discuss

comment 7mo ago · link · parent

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?

comment 1y ago · link · parent

Well, in Julia, for one.

comment 1y ago · link · parent

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.

8.

Israel relying on Microsoft cloud for expansive surveillance of Palestinians(theguardian.com ↗)

137 points · by torrance · 1y ago · 51 comments

9.

Spotify exodus over arms industry link(theguardian.com ↗)

6 points · by torrance · 1y ago · discuss

comment 1y ago · link · parent

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?

comment 2y ago · link · parent

Since no one else has mentioned it, I appreciated the Arrested Development references. Very cute.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

What about Nextflow?

comment 2y ago · link · parent

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++.

15.

Spack Package Manager(spack.readthedocs.io ↗)

3 points · by torrance · 2y ago · discuss

comment 3y ago · link · parent

2008.

comment 3y ago · link · parent

I’m really unsure why this is front page. For a hacker news audience that has little knowledge of Aotearoa New Zealand history, this is an odd first introduction that has historically been used to vilify Maori and in turn justify colonisation. If this is your first exposure to the history of Maori, please know this emphasis carries its own agenda.

comment 3y ago · link · parent

You should read a little more closely before such strong condemnations.

The Julia macros @btime and the more verbose @benchmark are specially designed to benchmark code. They perform warm up iterations, then run hundreds of samples (ensuring there is no inlining) and output mean, median and std deviation.

This is all in evidence if you scroll down a bit, though I’m not sure what has been used to benchmark the Mojo code.

comment 3y ago · link · parent

Whilst the Julia version currently beats Mojo, I fully expect both to approach basically the same performance with enough tinkering, and for that performance to be on par with C or Fortran.

A more interesting question is which version is more elegant, ‘obvious’ and maintainable. (Deeply familiar with both, but money is on Julia).

comment 3y ago · link · parent

Thanks for that. That’s quite a different meaning.

comment 3y ago · link · parent

Not to be confused with the Julia binary building platform of the same name (https://github.com/JuliaPackaging/Yggdrasil)

comment 3y ago · link · parent

In case you were wondering like I was:

“The Linux kernel's stateless video decoder interface is used for video decoding where no state needs to be kept between processed video frames and allows for independently decoding each video frame.”

(https://www.phoronix.com/news/Stateless-H264-Out-Of-Staging)

comment 3y ago · link · parent

Most of these features were covered at last year’s JuliaCon. Videos are all online - worth checking out!

comment 3y ago · link · parent

Interferometry relies on measuring the interference pattern between two points simultaneously measuring incoming radio waves. Each element of a baseline must be measured at the same time.

If we were to allow the Earth to rotate around the Sun and measure components of the same baseline at different times, we would violate this.

comment 3y ago · link · parent

I'm confused how the Doppler shift is measured in the case of the continuously modulated frequency? It seems both range and Doppler shift are encoded in the reflected signal - how are they separated?

Edit: or is it the case that a full period of the reflected signal must be detected first before Doppler can be calculated?

comment 4y ago · link · parent

No. Carbon credits are meant to create a market for the right to emit carbon dioxide, ideally where the total credits are fixed and reducing per year. What you're talking about are carbon offsets, which in turn increase the the total pool of credits per year. Ideally, these offsets permanently lock an equivalent amount of CO2 away in some form (permanent forests, etc.). But increasingly, they do nothing of the sort.

Your example of handling CO2 emissions from hydrogen reserves is a case in point.

comment 4y ago · link · parent

There’s a number of words like this that won’t autocomplete unless it’s seen it first.

Another one: condom.

comment 4y ago · link · parent

The same could be said of a lot of modern art: it is heavily influenced/driven by the critics, not the enjoyment/pleasure/surprise of a more general audience (who just don't "get" it). There's a feeling that a refined taste is by definition not a popular taste, or even a learned taste, but instead must be exclusive to art and music schools.

I mean sure, I get that your atonal poem breaks with traditional tonality etc etc, and maybe on some intellectual level that is (was) a fresh move, but I don't _enjoy_ it, no matter how hard I've tried.

comment 4y ago · link · parent

Develop against CUDA locally. Port my kernels to ROCm, and occupy a whole HPC node for debugging and performance tuning for a week. It’s terrible.

Edit: I should say that their recommendation is to write the kernels in ‘hip’ which is supposed to be their cross device wrapper for both cuda or ROCm. I’m writing in Julia however so that’s not possible.

comment 4y ago · link · parent

I’m not using Frontier, but I am using Setonix which is a large AMD cluster being rolled out in Australia. All of AMD’s teaching materials are about ROCm so this is very much how they’re expecting it to be used.

The real pain for us is that there’s no decent consumer grade chips with ROCm compatibility for us to do development on. AMD have made it very clear they only care about the data centre hardware when it comes to ROCm, but I have no idea what kind of developer workflow they’re expecting there.

1234