The User object in your example is used to parse the data. Its the “somehow” part of your question. There is no way to go from a type to data in typescript (there is no runtime awareness of types whatsoever) so zod solves this by you writing the zod object and then deriving the type from it. Basically you only have to weite one thing to get the parser and the type.
We are using deno to allow our customers to run custom code with imports. This is only made possible with http imports and I for one am very happy it exists.
Does anyone know the impact of the prompt size in terms of throughput? If I'm only generating 10 tokens, does it matter if my initial prompt is 10 tokens or 8000 tokens? How much does it matter?
I am fairly certain I know the answer to this. They normally do these kind of studies on untrained humans, because the point is to prescribe (or not) exercise to people who need to lose weight, which are typically not athletes. The anecdotal success comes from people who play sports (tautologically). The problem is you cannot compare across these two groups because the metabolism and sheer volume of exercise is not comparable. Even a semi serious athlete will put in 5-6 hours of intense training a week. And their bodies are much more efficient, so they can burn way more calories in the same time. This is NOT the same as “Brisk walk and lift some weights 3-4 times a week” they prescribe the study group in a study of untrained athletes. Not even close.
I mean the typical advice I get is 1 hour of running burns as much calories as one large slice of pepperoni pizza (~700 cal). Trained or untrained, this seems off by a lot.
Why does it seem off? It's hard to measure calories when running, but with cycling we have power meters which are incredibly precise, and you will burn around 700 calories an hour (as a beginner). Trained athletes can burn maybe double of that.
So the extension is not even released? And Facebook didn’t actually say its illegal? They are preemptively trying to get a court to affirm its legality? Why? Is there a record of Facebook suing similar extensions?
I'll allow a little "didn't read TFA to the end" on such a wordy article that buries the lede, but yes, waaaay down the page is mention of Meta suing the original "Unfollow Everything" author (who is different than software dev in TFA) and banning them for life. Hence the professor's preemptive strike.
OTOH, El Reg could've done better by stating upfront the answer to the (and your) obvious question.
Totally agree. Information could be better placed. I guess the assumption was that either the professor himself or somebody else was sued or had legal trouble in the past ...
it said one was "easily one of the greatest", and it said the second was "also easily one of the greatest"... it's puffery but it's not an awkward or mindless formulation.
I thought so, but they must've changed a lot then. In any case it's not like the type of message they wrote is something special, and it's just usual polite PR.