Better HN
topnewbestaskshowjobs
Log inSign up

WithinReason

11,861 karma · joined Sep 24, 2021 (5y ago) · 2,473 submissions

WithinReasonHNs at duck dot com
Submissions

comment 5y ago · link · parent

It doesn't even compile:

    prog.c: In function ‘somefunction3’:
    prog.c:8:2: error: variable-sized object may not be initialized
    int a[len] = {1,3,5,7,9};
    ^~~

comment 5y ago · link · parent

Spoke too soon!

comment 5y ago · link · parent

https://en.wikipedia.org/wiki/Friction_stir_welding

Cool! I mean hot.

comment 5y ago · link · parent

Arguably becoming fabless and manufacturing at TSMC is what brought AMD its edge over Intel and its recent success.

2285.

Highlights from the Comments on "Ivermectin - much more than you wanted to know"(astralcodexten.substack.com ↗)

22 points · by WithinReason · 5y ago · 2 comments

comment 5y ago · link · parent

All lossless compression algos do badly on noisy images

2287.

Qualcomm exclusivity might be keeping Windows from running on other ARM chips(arstechnica.com ↗)

1 points · by WithinReason · 5y ago · discuss

comment 5y ago · link · parent

If you were reading this thread, you know I responded to your assertion that shared memory is "absolutely essentialy to have" (sic). It was your words, literally. I wasn't arguing that shared memory has no advantages.

comment 5y ago · link · parent

That makes less sense, since there is literally no algorithm that can't be implemented without shared memory.

comment 5y ago · link · parent

How are atomics absolutely essential for gemm?

comment 5y ago · link · parent

How is it "absolutely essential" if you just want to sum 2 large arrays for example?

comment 5y ago · link · parent

As I said, these features are often not needed. You can implement e.g. a neural network library without needing atomic operations.

> How do you plan to do it, if not through __shared__ memory?

Can't you use __shared__ memory the same way you use workgroup barriers and global memory? Might be slower, but good caching should make it comparable, which should be the case of prefix sum (you read right after writing, so should get good cache hit probability).

comment 5y ago · link · parent

It's automated

comment 5y ago · link · parent

> Atomics are absolutely essential

Most problems don't need atomics to solve

> If this is missing __shared__ memory concepts, then the entire idea of "efficient GPU code" is dead IMO

Sure, shared memory is great, but not always needed and communicating through global memory can be fast if you stay inside the L1/L2 cache and hide latency.

comment 5y ago · link · parent

You could say it's demeaning towards the Core Team, which violates point 6 of the Rust Code of Conduct.

2296.

The reasons behind lithium-ion batteries’ rapid cost decline(news.mit.edu ↗)

1 points · by WithinReason · 5y ago · discuss

comment 5y ago · link · parent

And they control us already

comment 5y ago · link · parent

Another good Markdown extension (e.g. live preview):

https://marketplace.visualstudio.com/items?itemName=yzhang.m...

comment 5y ago · link · parent

Scientific American [0]:

The Jedi are inappropriate mascots for social justice. Although they’re ostensibly heroes within the Star Wars universe, the Jedi are inappropriate symbols for justice work. They are a religious order of intergalactic police-monks, prone to (white) saviorism and toxically masculine approaches to conflict resolution (violent duels with phallic lightsabers, gaslighting by means of “Jedi mind tricks,” etc.)

[0]: https://www.scientificamerican.com/article/why-the-term-jedi...

comment 5y ago · link · parent

"I was born in a developed country in the 80s (Italy), with access to fresh water, very good carbohydrates and a decent education system."

If you grew up in a developed country, you're extremely lucky too.

comment 5y ago · link · parent

He says he's lucky for growing up in Italy. If you grew up in a developed country, you're extremely lucky too.

comment 5y ago · link · parent

Oh yes, I loved it since the Big Bang and the Very Large Telescope!

comment 5y ago · link · parent

The article has some more instances of pysicists naming things:

"The partner of the Higgs, the higgsino."

"The partner of the top quark, the stop squark."

2304.

Apple will soon send parts and tools to users who want to repair their phones(arstechnica.com ↗)

4 points · by WithinReason · 5y ago · discuss

comment 5y ago · link · parent

How will natural selection act on parasites if there are no parasites in the animal?

comment 5y ago · link · parent

Through what mechanism?

comment 5y ago · link · parent

So this organizational chart is accurate?

https://bonkersworld.net/organizational-charts

comment 5y ago · link · parent

What's the downside of giving Ivermectin to livestock that don't have parasites?

comment 5y ago · link · parent

The patients got Sunday off of course
1
767778
83