Better HN
topnewbestaskshowjobs
Log inSign up

WithinReason

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

WithinReasonHNs at duck dot com
Submissions

1591.

Nim 1.6.8(nim-lang.org ↗)

11 points · by WithinReason · 4y ago · discuss

1592.

Becoming a father shrinks your cerebrum(economist.com ↗)

2 points · by WithinReason · 4y ago · discuss

comment 4y ago · link · parent

Just breaking the attention matrix multiply into parts allows a significant reduction of memory consumption at minimal cost. There are variants out there that do that and more.

Short version: Attention works as a matrix multiply that looks like this: s(QK)V where QK is a large matrix but Q,K,V and the result are all small. You can break Q and V into horizontal strips. Then the result is the vertical concatenation of:

    s(Q1*K)*V1
    s(Q2*K)*V2
    s(Q3*K)*V3
    ...
    s(QN*K)*VN
Since you're reusing the memory for the computation of each block you can get away with much less simultaneous RAM use.

comment 4y ago · link · parent

It's even better if you do look for a job, get and offer and say to your manager that you already have an offer but you would stay for X amount. This worked for me twice before and the company went out of its way to meet my request and now pays me the maximum allowed for my position.

comment 4y ago · link · parent

Isn't the alternative to say "you can stop paying us because we're not going to evict you no matter what"?

comment 4y ago · link · parent

Tank you for your time, it's very interesting stuff! What are the non-blockchain uses of zk proofs?

comment 4y ago · link · parent

Can you achieve something similar by having multiple (e.g. 5) randomly chosen nodes perform the same calculation and compare their results? Or is there always a way around that?

comment 4y ago · link · parent

Testosterone could also predict success in life based on yearbook photos, so we come full circle.

comment 4y ago · link · parent

> The cost of proving execution is high compared with the cost of execution without proof.

What ratio are we talking about here roughly? Is is 10% higher or 1000x higher?

comment 4y ago · link · parent

Does this mean we could have cryptocurrencies with proof-of-work mechanisms that perform useful work? You could have a decentralised crowd sourced general supercomputer which could perform folding-at-home, neural network training etc. and you could get paid for it with no middleman?

comment 4y ago · link · parent

This is how I see languages that compile to C or C++ like Nim where the ease of interoperability should be similar to Cpp2

comment 4y ago · link · parent

> you can predict success to some extent based purely on people's yearbook photos

It's already shown that facial attractiveness can predict athletic prowess:

https://journals.sagepub.com/doi/10.1177/1474704918801369

So it's likely that people's abilities can influence their appearance. There was a lot of evolutionary pressure to develop abilities to judge people based on appearance, so we would expect humans to be really good at it.

1603.

Vulkan Render-Queues and how they Sync(poniesandlight.co.uk ↗)

1 points · by WithinReason · 4y ago · discuss

comment 4y ago · link · parent

I thought their Sieve filter supported forwards, but it doesn't.

comment 4y ago · link · parent

What prevents you from forwarding mail?

1606.

CCPS, a Capcom CPS-1 SDK(fabiensanglard.net ↗)

3 points · by WithinReason · 4y ago · discuss

1607.

Italians at boiling point over how to cook pasta with less gas(ft.com ↗)

15 points · by WithinReason · 4y ago · 31 comments

1608.

Thunderbolt hits 80Gbps in demo, equaling USB4 Version 2.0 speeds(arstechnica.com ↗)

4 points · by WithinReason · 4y ago · discuss

1609.

I Won My Three Year AI Progress Bet in Three Months(astralcodexten.substack.com ↗)

5 points · by WithinReason · 4y ago · 1 comment

1610.

Raspberry Pi Pico Runs on Steam-Powered Engine(tomshardware.com ↗)

2 points · by WithinReason · 4y ago · discuss

comment 4y ago · link · parent

- good quality standard library

- good developer tooling, e.g. a language server

- This is not yet possible, but a good optimiser which can turn an abstract representation of the code into optimal code for a given hardware (CPU or GPU). Currently we are far from this, there is probably a 10x improvement that current compilers can't achieve. See for example a FizzBuzz implementation achieving ~10x throughput improvement after months of optimisation work:

https://codegolf.stackexchange.com/questions/215216/high-thr...

More complex code is likely much more improvable.

1612.

The Trouble with “The Big Bang”(nautil.us ↗)

20 points · by WithinReason · 4y ago · 7 comments

comment 4y ago · link · parent

Plot twist: What we know as oil was buried by a former civilisation that fought climate change then went extinct. The trees we bury will be used as fossil fuels by the next civilisation.

comment 4y ago · link · parent

Wonder how long AMD's hand crafted upscalers can keep up with Nvidia's neural networks. Probably not long, and AMD is adding a tensor core equivalent in their next gen:

https://videocardz.com/newz/amd-adds-wmma-wave-matrix-multip...

1615.

It's time to upscale FSR 2 even further: Meet FSR 2.1(gpuopen.com ↗)

60 points · by WithinReason · 4y ago · 19 comments

1616.

Royal Family gathers in Balmoral amid concerns for Queen's health(bbc.co.uk ↗)

4 points · by WithinReason · 4y ago · discuss

1617.

Queen under medical supervision at Balmoral(bbc.com ↗)

10 points · by WithinReason · 4y ago · discuss

comment 4y ago · link · parent

I think it should be possible to tell which direction evolution went

comment 4y ago · link · parent

They could still find a recent common ancestor of the original strain in a bat species for example.

COVID samples from the market could have come from a human spreader.

1
535455
83