Hacker Newsnew | past | comments | ask | show | jobs | submit | a3w's commentslogin


Chemist here. Was a walk in the park to do that, since its the math of physical chemistry used to explain random walks.

Then again, I understand nothing about IT except for O(matrix calculation) for hydrogen and Eigenvalues.


I once looked at autocorrelation of volatility for currency exchanges. Turns out, when it rains, it pours. And vice versa. I.e. for short time spans, there is positive autocorrelation: if everyone is selling, so am I.

A well known fact about volatility. Have a look at GARCH and related models for the intro.

GARCH seems to have return ~ normal(x_t'beta, sigma_t) where x_t is exogenous. I don't think this model captures short bursts of positive autocorrelation?

GARCH would be only one component of the overall trading model, not the single final approach.

Aren't most rivers underwater? I guess we rarely know their shape, though.

cat ~/.ssh/id_rsa | pbcopy

feels wrong. Unnecessary uses of cat.

`pbcopy < ~/.ssh/id_rsa`


I stopped fighting this war because the Cat version sort of follows the Subject-Verb-Object order in English, depending on how you think about the subject.

The redirected input file can be moved before the command name, which improves the syntax for pipes.

This feels better, to have data flow from left to right, just like regular pipelines:

`<~/.ssh/id_rsa pbcopy`


   cat /a/thing
ok it looks right, let's continue

   cat /a/thing | thing doer
HN: "noooo you're doing it wrooong, use my obscure syntaaax that reads baaadlyy"

"reads badly" is subjective. How many processes your pipeline starts up is not.

yes, objectively it is "doesn't matter, it's interactive shell session", unless you're throwing around 5GB/s+ it doesn't matter, neither does few tens of KBs cat invocation would take

cat /a/thing

^-a Meta-d

thing doer /a/thing

(mostly snark I am a fan of unnecessary cats)


"At the best case, perplexity is 1"

This graph shows log(perplexity) it says. So perplexity starts at zero, then gets negative? I notice I am confused. Most plausible: you mean log-perplexity in best case is 1, for no perplexity, i.e. zero?


The best possible perplexity is 1, and the best possible log-perplexity is log(1) = 0. The only way to achieve this is with a model that always predicts that the next token has probability 1 -- i.e., a perfect model.

A helpful comparison: suppose you have a model that always outputs a uniform distribution over K possible tokens (assigning probability 1/K to each one), and that the next token is indeed one of those K options. This model has perplexity K. So, in some sense a perplexity of K is comparable to narrowing down the answer to one of K possibilities. This includes the special case of K=1, which is the best possible model.


Great, thank!

Then

> So perplexity [in this graph] starts at [or near] zero, then gets negative?

was correct. Strange that some things are not inverted to be more handy.

Conversly pH/pOH using inverted, then positive numbers, since logs get negative.

(And pH rarly then gets negative, meaning "ten times" when it reaches -1, and that is usually not even taught in school, using 0 and 14 as limits for aqueous solutions there instead.)


IIRC the pH scale is only 0 to 14 in aqueous solution. Neutral is 7 because pure water dissociates itself to OH- and H3O+ at a rate of 10^-7 or near enough. That is water dissociates water at a rate of 10^-7.

pH 0 means something dissociates water at a rate of 10^-0 or 100% - every single molecule of acid converts an H2O to H3O+, so you don't really have that acid any more, you just have H3O+ and they all look the same. You can't measure acidity stronger than pH 0 in water because you're just measuring the maximum acidity of the water itself. For some reason the opposite thing happens for bases at 14.

Different solvents that disassociate can have different bounds, and we can extrapolate values outside of 0-14 by measuring different strong acids against each other in solvents that react with acids less. Like if one acid causes another to dissociate, that one is stronger.

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


Huh, TIL! I always thought that the only reason we didn't measure negative pH levels was because our undergrad chemistry lab didn't trust us with acids that strong. Super interesting that it's actually a fundamental property of water.

I think you have something backwards. The graph shows log-perplexity, with the oldest models getting a log-perplexity of 1 and the newest ones getting closer to 0.7. I don't know what base they're using for their log, but suppose that it's base 2. Then, the oldest models have a perplexity of 2^1 = 2, and the newest models are approaching a perplexity of 2^0.7 = 1.62.

None of the models get a negative perplexity. It's not possible to get a negative perplexity: that would mean you're doing better than predicting the next token with probability 1, which is impossible.


5.3 Codex was not a "useful coder", wat?

It certanly was, I had some impressive HMTL UI produced by it. Including significant amounts of javascript. It was actually one of few "WOW" moments for me related to LLMs.

Now when revisiting it, it does seem stupid though.


Isn’t marshaling about network representation, so the same concept as javas Parcelable tries to solve ?

In C# (and generally in programming) marshaling is the conversion between your typical memory representation (in C# it's your object) and the other ways (be it C struct, C string, utf8 string, or whatever received from socket.) that's why AllocGlobal is under Marshal. Not saying one should use it though... the only ones sane programmers would touch is probably to handle C structs returned from native code.

System.Marshal is a sort of catch-all for functions used to interact with unmanaged code, including things like Win32 error handling and COM in addtion to type conversion and unsafe memory access in general.

sorta.. if you're thinking gRPC and Protobuf, but because they're on the same machine and often in the same process, it's a pointers-wizzeled interface all provided by the layers it was built on... then it just maps types, responses, and their interfaces. P/Invoke is wizardry.

havaloc 19 hours ago | prev | next [–]

> it starts out pretty "low" at say 32,000 or 34,000.

No unit given. Asuming micro-Hitlers. Wasn't there an XKCD about that?


In aviation the standard is "feet".

As I am not an pilot, I am assumed to know that and promptly downvoted for not being a pilot. Thank you, internet culture.

Social status, not state as in health or other ``facts'', though?

I barely comprehend social etiquette on meta level of british people, so it is not just a language problem if the word used was a little too broad.

But it could work that way and I rarely noticed, since people are supposed to talk over the weather if starting smalltalk. Not necessarily about themselves.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: