News for hackers. Stuff that matters.

torrance

Re:Typst 0.15 Contains Multitudes on Sunday October 04, 2026 @07:50PM (#49959172)
The multiple bibliographies is a godsend. And I hope that will make the implementation of proper endnote support easier.
Re:CS Professor: To My Students on Monday April 27, 2026 @09:13PM (#47929371)
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?

Re:GNU Octave Meets JupyterLite: Compute Anywhere, Anytime on Sunday October 19, 2025 @11:00PM (#45639877)
Well, in Julia, for one.
Re:A simple way to generate random points on a sphere on Sunday August 24, 2025 @01:16AM (#45001593)
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.

Re:Kagi Reaches 50k Users on Monday June 09, 2025 @01:32AM (#44221662)
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?
Re:Show HN: Jelly – A simpler shared inbox for small teams on Wednesday November 13, 2024 @03:50AM (#42124134)
Since no one else has mentioned it, I appreciated the Arrested Development references. Very cute.
Re:AMD's Radeon 890M: Strix Point's Bigger iGPU on Saturday August 24, 2024 @10:27PM (#41343823)
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.
Re:Maestro: Netflix's Workflow Orchestrator on Monday July 22, 2024 @11:39PM (#41042300)
What about Nextflow?
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++.

Re:MP3 vs. AAC vs. FLAC vs. CD on Sunday October 01, 2023 @10:55AM (#37726475)
2008.
Re:The Māori Genocide of the Moriori on Thursday September 28, 2023 @10:55PM (#37698800)
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.
Re:Julia and Mojo (Modular) Mandelbrot Benchmark on Saturday September 09, 2023 @06:02AM (#37443754)
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.

Re:Julia and Mojo (Modular) Mandelbrot Benchmark on Saturday September 09, 2023 @12:59AM (#37442442)
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).

Thanks for that. That’s quite a different meaning.
Re:Ann: Yggdrasil 1.0 on Friday September 08, 2023 @12:22AM (#37429285)
Not to be confused with the Julia binary building platform of the same name (https://github.com/JuliaPackaging/Yggdrasil)
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)

Re:Julia 1.9 Highlights on Wednesday May 10, 2023 @07:30AM (#35885970)
Most of these features were covered at last year’s JuliaCon. Videos are all online - worth checking out!
Re:Taking a sharper look at the M87 black hole on Friday April 21, 2023 @10:01AM (#35653885)
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.

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?

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.

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

Another one: condom.

Re:‘The War on Music’ Review: Songs Without Listeners on Tuesday June 21, 2022 @02:15AM (#31820513)
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.

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.

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.

Older »