News for hackers. Stuff that matters.
Re:Jev-Leftpad by sethaurus on Monday September 21, 2026 @06:21AM (#49785360)
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.
Re:Jev-Leftpad by preommr on Monday September 21, 2026 @07:12AM (#49785707)
> 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

Re:Jev-Leftpad by wongarsu on Monday September 21, 2026 @11:53AM (#49788894)
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
Re:Jev-Leftpad by preommr on Monday September 21, 2026 @02:15PM (#49791128)
Well I think there's an expectation that it's similar to the probability score, something that's outputted by the model itself, and so there's some level of "intelligence" (e.g. being able to recognize if the subject matter is relevant to the data it's been trained on, or as an accumulation of errors e.g. it couldn't figure out the question).
Re:Jev-Leftpad by danieltanfh95 on Monday September 21, 2026 @09:44AM (#49787213)
Man we're going full 2015 ML, telling normies that confidence scores mean NOTHING to alleviate false negatives/positives.
Re:Jev-Leftpad by bbor on Monday September 21, 2026 @09:56AM (#49787362)
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!

Re:Jev-Leftpad by serbuvlad on Monday September 21, 2026 @10:17AM (#49787618)
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.
Re:Jev-Leftpad by torginus on Monday September 21, 2026 @10:40AM (#49787896)
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.

Re:Jev-Leftpad by bbor on Monday September 21, 2026 @08:50PM (#49795472)
Yup, you articulated what I was trying to say but much more clearly (thanks!). I suppose I haven't tried just setting n=3 or something, but presumably the Jev docs would mention that if it were enough to get it from 1 figure to 2 (i.e. 90% -> 99%). I agree that there are places where 90% certainty can help, but it really needs to be an agential system; when a doctor runs more tests, they are experimentally engaging with empirical reality in a context-appropriate way.

I guess, in the end: I think it'll end up being fantastically useful for artificial engineers with their vastly superior ability to keep track of fine details and rapidly context switch, but fairly niche for any of us organic engineers that are left.

All that doesn't apply to low stakes stuff like games, though -- can't wait for the first truly open world game, NGL. A silver lining to the cobalt cloud?

Re:Jev-Leftpad by ckastner on Monday September 21, 2026 @07:36AM (#49785928)
Can't believe it's already been 10 years...

https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/

Re:Jev-Leftpad by BenoitP on Monday September 21, 2026 @09:32AM (#49787078)
What an eerie feeling reading this, or was it prescient?:

"""

    def fizz_buzz_encode(i):
        if   i % 15 == 0: return np.array([0, 0, 0, 1])
        elif i % 5  == 0: return np.array([0, 0, 1, 0])
        elif i % 3  == 0: return np.array([0, 1, 0, 0])
        else:             return np.array([1, 0, 0, 0])
interviewer: OK, that's probably enough.

me: That's enough setup, you're exactly right. [<--- !!] [...]

"""

Damn, Claude was there all along

Re:Jev-Leftpad by ckastner on Monday September 21, 2026 @10:15AM (#49787573)
oh, I missed that. Brilliant!
Re:Jev-Leftpad by kevinrineer on Monday September 21, 2026 @02:02PM (#49790914)
> me: That's enough setup, you're exactly right.

So that's where in the training set current models get that phrase! /j

Re:Jev-Leftpad by fwlr on Monday September 21, 2026 @06:35AM (#49785444)

    The tests mock Jev. 
10/10 no notes
Re:Jev-Leftpad by slowmovintarget on Monday September 21, 2026 @12:08PM (#49789121)
I posted the same observation, then saw yours. Yours is better (at 0.92 certainty) so I deleted my post.
Re:Jev-Leftpad by marcus_cemes on Monday September 21, 2026 @02:12PM (#49791068)
Reading this, I got excited that there may be be a hidden Easter egg, making fun of Jev. I was disappointed to find actual tests.
Re:Jev-Leftpad by ollipal on Monday September 21, 2026 @07:01AM (#49785646)
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.
Re:Jev-Leftpad by mawadev on Monday September 21, 2026 @06:34AM (#49785440)
This needs an SBOM and a SonarQube Qualitygate pass to be considered production grade code
Re:Jev-Leftpad by Topfi on Monday September 21, 2026 @05:51AM (#49785172)
Man-made horrors beyond my comprehension, neat.
Re:Jev-Leftpad by jojobas on Monday September 21, 2026 @06:36AM (#49785461)
I have no mouth but I must pad.
Re:Jev-Leftpad by adventured on Monday September 21, 2026 @08:09AM (#49786233)
What is my purpose?

You pad the text.

Oh, my god.

Re:Jev-Leftpad by frangonf on Monday September 21, 2026 @06:08AM (#49785287)
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');
    });
Re:Jev-Leftpad by raahelb on Monday September 21, 2026 @06:12AM (#49785311)
> 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

Re:Jev-Leftpad by Tepix on Monday September 21, 2026 @06:25AM (#49785379)
I thought you were doing a PR to add an 11th space.
Re:Jev-Leftpad by Topfi on Monday September 21, 2026 @07:20AM (#49785775)
Nah, for ≥11 spaces we should fan out to a GPT-6 Astra agent. On light reasoning of course, lest we be wasteful.
Re:Jev-Leftpad by anon48293 on Monday September 21, 2026 @10:06AM (#49787474)
Since the potential error increases with N, I suggest spawning N different models and let them fight it out instead.
Re:Jev-Leftpad by monxer on Monday September 21, 2026 @08:05AM (#49786202)
Is this package vibe coded with Jev or just old school with an LLM?
Re:Jev-Leftpad by thisisauserid on Monday September 21, 2026 @08:09AM (#49786237)
Jev-in-the-Loop. Makes sense.
Re:Jev-Leftpad by fnands on Monday September 21, 2026 @07:41AM (#49785977)
> MIT Licensed

Would have been funnier if it used the GLWTPL: https://spdx.org/licenses/GLWTPL.html

Re:Jev-Leftpad by MasterScrat on Monday September 21, 2026 @07:50AM (#49786066)
I’d be curious to see how reliable it is in practice, it sounds like a cheap and (hopefully) easy benchmark
Re:Jev-Leftpad by speedping on Monday September 21, 2026 @06:36AM (#49785457)
How did this guy get a single-letter GitHub username?
Re:Jev-Leftpad by azatom on Monday September 21, 2026 @06:44AM (#49785507)
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

Re:Jev-Leftpad by thrance on Monday September 21, 2026 @06:46AM (#49785521)
His oldest repository was updated in 2011. Looks like he's been there a long time.
Re:Jev-Leftpad by unshavedyak on Monday September 21, 2026 @10:55AM (#49788091)
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.
Re:Jev-Leftpad by anon48293 on Monday September 21, 2026 @10:07AM (#49787487)
GitHub clearly didn’t use his left pad
Re:Jev-Leftpad by freakynit on Monday September 21, 2026 @06:33AM (#49785432)
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/

Re:Jev-Leftpad by speedping on Monday September 21, 2026 @06:34AM (#49785443)
Flaky tests by design is a diabolical idea
Re:Jev-Leftpad by freakynit on Monday September 21, 2026 @06:57AM (#49785613)
Re:Jev-Leftpad by sparrowidle on Monday September 21, 2026 @06:02AM (#49785245)
On the npm doomsday thing, the scarier version is someone vendoring it and the padding silently drifting between runs.
Re:Jev-Leftpad by jdw64 on Monday September 21, 2026 @08:02AM (#49786179)
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.

Re:Jev-Leftpad by meowface on Monday September 21, 2026 @06:22AM (#49785366)
But is it Web Scale.
Re:Jev-Leftpad by dofm on Monday September 21, 2026 @09:36AM (#49787126)
It's surely on the Pareto Frontier of something
Re:Jev-Leftpad by larnon on Monday September 21, 2026 @06:45AM (#49785512)
I already have Jev fatigue.
Re:Jev-Leftpad by rw_panic0_0 on Monday September 21, 2026 @06:31AM (#49785417)
what if 11 spaces are needed
Re:Jev-Leftpad by brabel on Monday September 21, 2026 @07:08AM (#49785680)
You need to get the Pro version, please contact sales.
Re:Jev-Leftpad by queenkjuul on Monday September 21, 2026 @10:37AM (#49787856)
Run it twice
Re:Jev-Leftpad by w-ll on Monday September 21, 2026 @06:14AM (#49785324)
im so confused about what i should bring up at the 10am today
Re:Jev-Leftpad by dormento on Monday September 21, 2026 @09:50AM (#49787279)
Aren't we all. Aren't we all.
Re:Jev-Leftpad by christkv on Monday September 21, 2026 @06:53AM (#49785569)
Terrorist
Re:Jev-Leftpad by fumblebee on Monday September 21, 2026 @06:00AM (#49785235)
Can someone ELI5?
Re:Jev-Leftpad by intothemild on Monday September 21, 2026 @06:12AM (#49785315)
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.

Re:Jev-Leftpad by andrekandre on Monday September 21, 2026 @11:56AM (#49788933)

  > Jev is a new type of model that just makes decisions based on given options. 
something like “if x > y then x else y”?
Re:Jev-Leftpad by sklivvz1971 on Monday September 21, 2026 @06:07AM (#49785281)
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.
Re:Jev-Leftpad by grokkedit on Monday September 21, 2026 @06:15AM (#49785333)
why useless? it did one thing that js didn't natively do
Re:Jev-Leftpad by jagged-chisel on Monday September 21, 2026 @06:22AM (#49785367)
It did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.
Re:Jev-Leftpad by Sohcahtoa82 on Monday September 21, 2026 @01:06PM (#49790073)
It also ended up inadvertently highlighting a massive problem with the JavaScript ecosystem.

And yet we learned nothing from it and all the same problems keep popping up, only this time in the form of supply chain attacks.

Re:Jev-Leftpad by selimonder on Monday September 21, 2026 @07:47AM (#49786037)
github.com/f is more impressive to me than jev-leftpad lol
Re:Jev-Leftpad by applfanboysbgon on Monday September 21, 2026 @06:02AM (#49785242)
> 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.

Re:Jev-Leftpad by r34ct0r14 on Monday September 21, 2026 @06:00AM (#49785236)
why
Re:Jev-Leftpad by fnands on Monday September 21, 2026 @07:42AM (#49785992)
funny
Re:Jev-Leftpad by r34ct0r14 on Monday September 21, 2026 @10:52AM (#49788046)
yeah but i have PTSD from the og leftpad stuff
Re:Jev-Leftpad by tesnorindian on Monday September 21, 2026 @06:42AM (#49785494)
Jev mania at its peak? HN is full of Jev like today.
Re:Jev-Leftpad by andrekandre on Monday September 21, 2026 @12:01PM (#49789000)
nowadays i can’t even start a day without a fresh cup of jev in the morning…
Re:Jev-Leftpad by yitchelle on Monday September 21, 2026 @06:25AM (#49785384)
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.
Re:Jev-Leftpad by serious_angel on Monday September 21, 2026 @05:54AM (#49785192)
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:

    https://en.wikipedia.org/wiki/Jev_(AI_model)  
    https://typesafe.ai/
Re:Jev-Leftpad by goosejuice on Monday September 21, 2026 @12:19PM (#49789308)
One might even say it's unique.
Re:Jev-Leftpad by hanspagel on Monday September 21, 2026 @08:20AM (#49786351)
This is funny, because I just implemented the same feature, but mine is calling OpenAI’s Astra on High (very capable for this kind of feature).

It works great, but maybe your implementation could save me some money. I’ll test it and report back.

Re:Jev-Leftpad by gandreani on Monday September 21, 2026 @09:32AM (#49787081)
I can't tell if this comment is satire or not lol
Re:Jev-Leftpad by silviot on Monday September 21, 2026 @10:30AM (#49787761)
I can. It is indeed satire.
Re:Jev-Leftpad by random_cat_8745 on Monday September 21, 2026 @08:44AM (#49786586)
Next: jev-is-even
Re:Jev-Leftpad by deaton on Monday September 21, 2026 @09:18AM (#49786920)
This makes about as much sense to me as AI-powered air traffic control
Re:Jev-Leftpad by shawabawa3 on Monday September 21, 2026 @09:39AM (#49787154)
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

Re:Jev-Leftpad by weego on Monday September 21, 2026 @10:15AM (#49787575)
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.
Re:Jev-Leftpad by hermannj314 on Monday September 21, 2026 @09:57AM (#49787367)
Is there a local model that can run this?
Re:Jev-Leftpad by throwa356262 on Monday September 21, 2026 @10:05AM (#49787467)
I think some people are missing the joke here

https://en.wikipedia.org/wiki/Npm_left-pad_incident

Re:Jev-Leftpad by weego on Monday September 21, 2026 @10:11AM (#49787546)
Subtlety in a joke is a beautiful art. BUT AT WHAT COST.
Re:Jev-Leftpad by mrguyorama on Monday September 21, 2026 @11:24AM (#49788485)
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.

Re:Jev-Leftpad by rzzzt on Monday September 21, 2026 @12:48PM (#49789762)
Another multi-volume textbook to carry for the students of the future!
Re:Jev-Leftpad by TZubiri on Monday September 21, 2026 @10:05AM (#49787471)
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

Re:Jev-Leftpad by muragekibicho on Monday September 21, 2026 @10:47AM (#49787984)
I must admit, I stopped keeping up with the new AI terms after J-space. Absolute peace of mind.
Re:Jev-Leftpad by tantalor on Monday September 21, 2026 @10:08AM (#49787509)
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!
Re:Jev-Leftpad by davidkunz on Monday September 21, 2026 @10:10AM (#49787531)
I'm afraid the performance won't be great. Definitely needs a caching layer.
Re:Jev-Leftpad by kmoser on Monday September 21, 2026 @11:14AM (#49788372)
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.
Re:Jev-Leftpad by mawadev on Monday September 21, 2026 @12:04PM (#49789049)
I should have know that beforehand, I have terraform ready for quickly moving off of mechanical turk into agentic AI left padding, this load-bearing workload has to be clowd powered
Re:Jev-Leftpad by brunoborges on Monday September 21, 2026 @12:44PM (#49789700)
Quick, we need a jev-isBoolean(value) so we can code YAML with confidence.
Re:Jev-Leftpad by artursapek on Monday September 21, 2026 @12:49PM (#49789777)
Cracker news upvotes the stupidest shit to the front page
Re:Jev-Leftpad by jkuli on Monday September 21, 2026 @07:22PM (#49794782)
Maybe 90% of people are antiintellectual. Maybe internet is overrun with bots. Maybe they all caught the mind virus /s.