Rendered at 15:58:05 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
kmoser 44 minutes ago [-]
This comes just in time. My app has been using Amazon Mechanical Turk for left-pad queries, and that service is shutting down in less than two weeks.
sethaurus 6 hours ago [-]
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.
preommr 5 hours ago [-]
> 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.
What else do people think it is? If Typesafe had found a way to measure arbitrary AI results against objective reality (past, future and present) they'd either be making a killing on the stock market or working for the NRO, not publishing that as a confidence value on their API
danieltanfh95 2 hours ago [-]
Man we're going full 2015 ML, telling normies that confidence scores mean NOTHING to alleviate false negatives/positives.
bbor 2 hours ago [-]
Yeah I keep getting this weird sense that Jev is kinda poorly reinventing ML. I guess the graphs don't lie and theoretically I can replace luna with it, but I don't really use luna anyway.
What is the use case for a classifier that works 90% of the time...? I feel like if I'm classifying something, I probably care enough that 90% ain't gonna cut it...
I guess the answer is just agential stuff that effectively gets double checked by the LLM in the driver seat, anyway? That tracks, though it means that jev is mostly just for the people making harnesses. Which is all of us but still!
serbuvlad 2 hours ago [-]
I think the argument would be that the classifiers of classic ML can be very useful and that Jav is a geenral purpose classifier you can just use that doesn't need to be trained per-task.
torginus 1 hours ago [-]
I mean when you get your bloodwork done to check for an illness, the test you get will give the right result 90% of the time - and depending on the result, you doc might order more tests, which could be more expensive but no mrpe reliable than the first - but they are going to be statistically independent, and after 2 more, he can be 99.9% sure.
Which begs the question, can Jev retest until it gets the right result? Can it tell how corellated two of its results are? 90% correct makes for a wonderful iterator, but a poor oracle.
Subtlety in a joke is a beautiful art. BUT AT WHAT COST.
mrguyorama 34 minutes ago [-]
People who were in high school in 2016 and therefore not being aware of leftpad are currently in their 6th year of their career if they went directly to college and then a job.
Tech doesn't teach it's own history in a useful way, so we keep repeating it too.
raahelb 6 hours ago [-]
> 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
Tepix 6 hours ago [-]
I thought you were doing a PR to add an 11th space.
Topfi 5 hours ago [-]
Nah, for ≥11 spaces we should fan out to a GPT-6 Astra agent. On light reasoning of course, lest we be wasteful.
anon48293 2 hours ago [-]
Since the potential error increases with N, I suggest spawning N different models and let them fight it out instead.
ollipal 5 hours ago [-]
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.
Topfi 6 hours ago [-]
Man-made horrors beyond my comprehension, neat.
jojobas 5 hours ago [-]
I have no mouth but I must pad.
adventured 4 hours ago [-]
What is my purpose?
You pad the text.
Oh, my god.
frangonf 6 hours ago [-]
Make sure to vendor this package if you want reliable operation.
it('trusts Jev when it chooses the wrong amount', async () => {
answer('space_2');
await expect(leftPad('jev', 8)).resolves.toBe(' jev');
});
speedping 5 hours ago [-]
How did this guy get a single-letter GitHub username?
anon48293 2 hours ago [-]
GitHub clearly didn’t use his left pad
azatom 5 hours ago [-]
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
thrance 5 hours ago [-]
His oldest repository was updated in 2011. Looks like he's been there a long time.
unshavedyak 1 hours ago [-]
It's funny, i actually worked with this guy (same small startup, not closely), and recognized him from that unique username on this post. It's been so long i wouldn't have had any idea if not for the oddness of the single letter username.
tantalor 2 hours ago [-]
I'm very curious about the performance. Where's the quantitative analysis? Got any graphs or charts? How's the recall/precision? Show me the data!
davidkunz 2 hours ago [-]
I'm afraid the performance won't be great. Definitely needs a caching layer.
shawabawa3 2 hours ago [-]
poor implementation
jev should only have the choice of space_0 or space_1, then recurse on n-1
this extends the implementation to infinite padding and is cleaner code
weego 2 hours ago [-]
Maybe for Enterprise scale, for ramen scale hackers if you need 15 spaces you just add 5 to start with then use space_10. Clean and, importantly, dry.
I’d be curious to see how reliable it is in practice, it sounds like a cheap and (hopefully) easy benchmark
monxer 4 hours ago [-]
Is this package vibe coded with Jev or just old school with an LLM?
sparrowidle 6 hours ago [-]
On the npm doomsday thing, the scarier version is someone vendoring it and the padding silently drifting between runs.
w-ll 6 hours ago [-]
im so confused about what i should bring up at the 10am today
dormento 2 hours ago [-]
Aren't we all. Aren't we all.
thisisauserid 4 hours ago [-]
Jev-in-the-Loop. Makes sense.
TZubiri 2 hours ago [-]
It's fun so far seeing the new trend from the sidelines, never bothered and never will bother learning what JEV is, but I'll see the occasional meme.
I feel for the people whose 'AI strategy' is keeping up with every vibecoded vibecoding junk that releases
muragekibicho 1 hours ago [-]
I must admit, I stopped keeping up with the new AI terms after J-space. Absolute peace of mind.
fumblebee 6 hours ago [-]
Can someone ELI5?
intothemild 6 hours ago [-]
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.
andrekandre 1 minutes ago [-]
> Jev is a new type of model that just makes decisions based on given options.
something like “if x > y then x else y”?
sklivvz1971 6 hours ago [-]
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.
grokkedit 6 hours ago [-]
why useless? it did one thing that js didn't natively do
jagged-chisel 6 hours ago [-]
It did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.
5 hours ago [-]
rw_panic0_0 5 hours ago [-]
what if 11 spaces are needed
brabel 5 hours ago [-]
You need to get the Pro version, please contact sales.
queenkjuul 1 hours ago [-]
Run it twice
deaton 3 hours ago [-]
This makes about as much sense to me as AI-powered air traffic control
applfanboysbgon 6 hours ago [-]
> 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.
cindyllm 6 hours ago [-]
[dead]
jdw64 4 hours ago [-]
JEV seems similar to BERT. Where would it be useful?
I use it mainly to check whether this code fits the rules I defined, just a yes or no. But I'm not sure if that's the right way to use it.
5 hours ago [-]
christkv 5 hours ago [-]
Terrorist
r34ct0r14 6 hours ago [-]
why
fnands 4 hours ago [-]
funny
r34ct0r14 1 hours ago [-]
yeah but i have PTSD from the og leftpad stuff
tesnorindian 5 hours ago [-]
Jev mania at its peak? HN is full of Jev like today.
selimonder 4 hours ago [-]
github.com/f is more impressive to me than jev-leftpad lol
yitchelle 6 hours ago [-]
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.
serious_angel 6 hours ago [-]
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...
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
What is the use case for a classifier that works 90% of the time...? I feel like if I'm classifying something, I probably care enough that 90% ain't gonna cut it...
I guess the answer is just agential stuff that effectively gets double checked by the LLM in the driver seat, anyway? That tracks, though it means that jev is mostly just for the people making harnesses. Which is all of us but still!
Which begs the question, can Jev retest until it gets the right result? Can it tell how corellated two of its results are? 90% correct makes for a wonderful iterator, but a poor oracle.
https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
"""
interviewer: OK, that's probably enough.me: That's enough setup, you're exactly right. [<--- !!] [...]
"""
Damn, Claude was there all along
It works great, but maybe your implementation could save me some money. I’ll test it and report back.
https://en.wikipedia.org/wiki/Npm_left-pad_incident
Tech doesn't teach it's own history in a useful way, so we keep repeating it too.
I'll raise a PR which uses Jev to check if the target length is beyond this range
You pad the text.
Oh, my god.
so probably early bird
jev should only have the choice of space_0 or space_1, then recurse on n-1
this extends the implementation to infinite padding and is cleaner code
Would have been funnier if it used the GLWTPL: https://spdx.org/licenses/GLWTPL.html
Btw, this model also has very tiny inherent bias: https://jev-bias-analysis.stupidlabs.lol/
I feel for the people whose 'AI strategy' is keeping up with every vibecoded vibecoding junk that releases
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.
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 use it mainly to check whether this code fits the rules I defined, just a yes or no. But I'm not sure if that's the right way to use it.
Though, again, a yet another project for a yet another "AI" to make someone else more dependent on it...
Related: