I have to be honest. While this is obviously a smart and useful idea, it misses one of the core features of Jev: its confidence scores. Partial confidence could easily be mapped to fractional spaces, using unicode characters like U+2009: THIN SPACE. As it stands, this package is not harnessing the full power of Jev.
important to note that the "confidence" score is... maybe not what people think it is - kind of useless, and just a convenience step from the probabilities.
from the docs: "confidence is a statistic computed from the probability distribution the answer already gives you." [0] I actually encourage people to visit the docs because it has a specific page on this with a little applet to really make this clear.
Instead of using Choice with criteria "space_0", "space_1"..., it could be even more elegant to use criteria names like "", " "... which could be directly inserted into response.
> This means the package can add between 0 and 10 spaces. If more than 10 spaces are needed, Jev has no correct option. Which feels appropriate for this project.
I'll raise a PR which uses Jev to check if the target length is beyond this range
i maintained a system where for .. reasons (like other systems) from early days have users with id: null "null" "" and some i do not even know how to write here
Jev is a new type of model that just makes decisions based on given options. It's small and really really fast.
Leftpad is a npm package that chooses if it should or shouldn't pad the left side of a string. It was famous for bringing down everyone's npm installs a few years ago.
This combination is a double joke. Put something stupid in something stupid.
Uses JEV to do something that's one line of code. Also, "leftpad" was a useless package from years ago that many important packages used instead of writing the code themselves. Its outage at some point broke a lot of packages.
> Please don't use this in production. Or anything important.
5 to 10 years from now, after this has worked itself deep into the npm dependency chain, we'll be lamenting how Jev-Leftpad is causing outages in critical services.
I have to be honest. While this is obviously a smart and useful idea, it misses one of the core features of Jev: its confidence scores. Partial confidence could easily be mapped to fractional spaces, using unicode characters like U+2009: THIN SPACE. As it stands, this package is not harnessing the full power of Jev.
> its confidence scores
important to note that the "confidence" score is... maybe not what people think it is - kind of useless, and just a convenience step from the probabilities.
from the docs: "confidence is a statistic computed from the probability distribution the answer already gives you." [0] I actually encourage people to visit the docs because it has a specific page on this with a little applet to really make this clear.
[0] https://docs.typesafe.ai/confidence
Instead of using Choice with criteria "space_0", "space_1"..., it could be even more elegant to use criteria names like "", " "... which could be directly inserted into response.
This needs an SBOM and a SonarQube Qualitygate pass to be considered production grade code
Man-made horrors beyond my comprehension, neat.
I have no mouth but I must pad.
Make sure to vendor this package if you want reliable operation.
> This means the package can add between 0 and 10 spaces. If more than 10 spaces are needed, Jev has no correct option. Which feels appropriate for this project.
I'll raise a PR which uses Jev to check if the target length is beyond this range
I thought you were doing a PR to add an 11th space.
Nah, for ≥11 spaces we should fan out to a GPT-6 Astra agent. On light reasoning of course, lest we be wasteful.
How did this guy get a single-letter GitHub username?
i maintained a system where for .. reasons (like other systems) from early days have users with id: null "null" "" and some i do not even know how to write here
so probably early bird
His oldest repository was updated in 2011. Looks like he's been there a long time.
AI skeptics in shambles. For GOFAI, see: https://swish.swi-prolog.org/p/Proven%20Leftpad.swinb.
Would be fun to have a test runner that uses Jev for assertions.
Btw, this model also has very tiny inherent bias: https://jev-bias-analysis.stupidlabs.lol/
Flaky tests by design is a diabolical idea
Done: https://github.com/freakynit/jev-test-runner
On the npm doomsday thing, the scarier version is someone vendoring it and the padding silently drifting between runs.
I already have Jev fatigue.
But is it Web Scale.
what if 11 spaces are needed
You need to get the Pro version, please contact sales.
it was us that scorched the sky
Terrorist
im so confused about what i should bring up at the 10am today
Can someone ELI5?
Jev is a new type of model that just makes decisions based on given options. It's small and really really fast.
Leftpad is a npm package that chooses if it should or shouldn't pad the left side of a string. It was famous for bringing down everyone's npm installs a few years ago.
This combination is a double joke. Put something stupid in something stupid.
Uses JEV to do something that's one line of code. Also, "leftpad" was a useless package from years ago that many important packages used instead of writing the code themselves. Its outage at some point broke a lot of packages.
It was left-pad, with a hyphen
why useless? it did one thing that js didn't natively do
It did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.
Jev mania at its peak? HN is full of Jev like today.
wait.. is it just me or are we going overboard? I am waiting for jev assistance to exit vim, no wait.. a decision if we should exit vim or not.
why
> Please don't use this in production. Or anything important.
5 to 10 years from now, after this has worked itself deep into the npm dependency chain, we'll be lamenting how Jev-Leftpad is causing outages in critical services.
Now that's a rare GitHub Username!
Though, again, a yet another project for a yet another "AI" to make someone else more dependent on it...
Related: