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

1501.

How many yottabytes in a quettabyte? Extreme numbers get new names(nature.com ↗)

2 points · by WithinReason · 4y ago · discuss

comment 4y ago · link · parent

Put a hyphen at the end!

comment 4y ago · link · parent

In 2014, however, an unexpected event cast the color list in a more favorable light: a new shade. “Rebecca purple,” was introduced to honor the life of Rebecca Meyer, the daughter of Eric Meyer, a respected programmer and CSS writer. Rebecca died of brain cancer at the age of six; the hue (#663399) was chosen to reflect her favorite color. (A few developers opposed the addition, maintaining that a set of standards was no place for an emotional tribute. They were dismissed as curmudgeons.)

comment 4y ago · link · parent

Or just basic economics. People are buying the 4090.

comment 4y ago · link · parent

I think you misunderstand machine learning. "probability of each token appearing given the previous tokens" is how humans write code too: We write code based on what we want to do and what we have written before. "what I want to do" was captured in the comments added.

comment 4y ago · link · parent

Musk's twitter suggest otherwise. He doesn't need to care if people like him. Bezos doesn't need to either.

comment 4y ago · link · parent

You invest $100, now you have $110. You give away $10, you have $100 again.

comment 4y ago · link · parent

Pressing F11 in Firefox is even more minimalistic

1509.

A cost model for Nim(nim-lang.org ↗)

193 points · by WithinReason · 4y ago · 75 comments

1510.

FFmpeg Gets Nvenc AV1(techpowerup.com ↗)

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

comment 4y ago · link · parent

I wonder if it would be possible to create a font that is not monospaced for letters but it's monospaced for words, so if you have a word + white space the end of the white space is the same as it would be with a monospace font. Alternatively, one could write "alignment characters" like & if one wanted to align lines like in LaTeX formulas.

comment 4y ago · link · parent

I thought once you have a blue check mark you get to filter out all non-blues, no?

1513.

Lichess Recruits Full-Time Mobile Developer(lichess.org ↗)

2 points · by WithinReason · 4y ago · discuss

comment 4y ago · link · parent

This comment is there under every article that has nm in it. For the millionth time, 1 nm should be read as "1 nm equivalent". The purpose of the naming is to continue to scale with density.

comment 4y ago · link · parent

There is a company called Simula that makes a headset specifically for work. I know about them because Meta subpoena'd them a month ago.

https://www.youtube.com/watch?v=x293SiEdv4M

comment 4y ago · link · parent

Thanks, I wasn't sure

comment 4y ago · link · parent

OK generally I think you're doing exactly what I believe ML is lacking right now. Another huge opportunity is instead of taking the average neural network and designing accelerators for it, designing hardware-friendly networks that run well on a sane accelerator that was designed to work with only these specialised networks (that doesn't need 80% chip area for on-chip memory for example). These might end up being completely different networks to what researchers use today. I work in this area and I think it's also possible to use the loss function to optimise the network for a specific HW.

comment 4y ago · link · parent

max(0,x)

comment 4y ago · link · parent

That's cool, am I right in assuming that you want to automate the production of efficient GPU (or other accelerator) code based on these low level primitives? But you would still need a piece of sorcery that can produce high performance OpenCL code, right? And that code could be different for every device, so you would need some trial and error, benchmark-based compilation at the very least. Or would OpenCL code be generated by hand for each device?

comment 4y ago · link · parent

But then SUB, DIV and RELU could be an HLOP as well, no?

comment 4y ago · link · parent

You didn't notice the use of statistics?

comment 4y ago · link · parent

That feature already exists, you can turn it on here:

https://github.com/settings/copilot

More info:

We built a filter to help detect and suppress the rare instances where a GitHub Copilot suggestion contains code that resembles public code on GitHub. You have the choice to turn that filter on or off during setup. With the filter on, GitHub Copilot checks code suggestions with its surrounding code for matches or near matches (ignoring whitespace) against public code on GitHub of about 150 characters. If there is a match, the suggestion will not be shown to you. In addition, we have announced that we are building a feature that will provide a reference for suggestions that resemble public code on GitHub so that you can make a more informed decision about whether and how to use that code, as well as explore and learn how that code is used in other projects.

https://github.com/features/copilot#what-can-i-do-to-reduce-...

comment 4y ago · link · parent

They already have that feature and you can turn it on

comment 4y ago · link · parent

You could argue that if the author pursued enforcing their licence over those 66 people their code wouldn't have ended up in the training set in the first place. IANAL but I recall that you can't invoke copyright law to selectively enforce it, copyright is only protected if the holder pursues every violation of it. Maybe it works the same for enforcing a licence.

1525.

Oat milk is killing the planet(unherd.com ↗)

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

comment 4y ago · link · parent

To directly quote the source:

    # these are the llops your accelerator must implement, along with toCpu
    UnaryOps = Enum("UnaryOps", ["NOOP", "NEG", "RELU", "EXP", "LOG", "SIGN", "RECIPROCAL"])
    BinaryOps = Enum("BinaryOps", ["ADD", "SUB", "MUL", "DIV", "POW", "CMPEQ"])
    ReduceOps = Enum("ReduceOps", ["SUM", "MAX"])
    MovementOps = Enum("MovementOps", ["RESHAPE", "PERMUTE", "EXPAND", "FLIP", "STRIDED", "PAD", "SHRINK"])
    ProcessingOps = Enum("ProcessingOps", ["CONV"])
https://github.com/geohot/tinygrad/blob/caea34c52996cde2ed46...

There is a MAX but not a MIN? Is that because max(x,y) = -min(-x,-y)? But then why is there a SUB? Why is there a RELU if it's only max(0,x)? Maybe MIN is just too rare to be worth implementing?

comment 4y ago · link · parent

With Copilot it's your responsibility not to use it as a search engine to copy-paste code. It's completely obvious when it's being used as a search engine so it's not a problem at all.

Stable Diffusion works on completely different principles and they can't exactly replicate a pixels from their training data.

comment 4y ago · link · parent

If you Google Mona Lisa the result is the Mona Lisa. If you query Copilot for a common piece of code you get that code.

comment 4y ago · link · parent

I was hoping Microsoft would port Windows to Raspberry Pi, looks like that's too underpowered.
1
505152
83