Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Jev-Leftpad (https://github.com)

227 points by fka about 14 hours ago | 85 comments | View on ycombinator

sethaurus about 12 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.

ckastner about 11 hours ago |

Can't believe it's already been 10 years...

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

kmoser about 7 hours 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.

hanspagel about 10 hours ago |

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.

fwlr about 12 hours ago |

    The tests mock Jev. 
10/10 no notes

mawadev about 12 hours ago |

This needs an SBOM and a SonarQube Qualitygate pass to be considered production grade code

ollipal about 12 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.

throwa356262 about 9 hours ago |

I think some people are missing the joke here

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

raahelb about 12 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

Topfi about 13 hours ago |

Man-made horrors beyond my comprehension, neat.

frangonf about 13 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');
    });

fnands about 11 hours ago |

> MIT Licensed

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

speedping about 12 hours ago |

How did this guy get a single-letter GitHub username?

shawabawa3 about 9 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

undefined about 5 hours ago |

undefined

random_cat_8745 about 10 hours ago |

Next: jev-is-even

meowface about 12 hours ago |

But is it Web Scale.

larnon about 12 hours ago |

I already have Jev fatigue.

tantalor about 9 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!

freakynit about 12 hours ago |

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/

brunoborges about 6 hours ago |

Quick, we need a jev-isBoolean(value) so we can code YAML with confidence.

MasterScrat about 11 hours ago |

I’d be curious to see how reliable it is in practice, it sounds like a cheap and (hopefully) easy benchmark

sparrowidle about 13 hours ago |

On the npm doomsday thing, the scarier version is someone vendoring it and the padding silently drifting between runs.

monxer about 11 hours ago |

Is this package vibe coded with Jev or just old school with an LLM?

applfanboysbgon about 13 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.

hermannj314 about 9 hours ago |

Is there a local model that can run this?

w-ll about 12 hours ago |

im so confused about what i should bring up at the 10am today

fumblebee about 13 hours ago |

Can someone ELI5?

thisisauserid about 10 hours ago |

Jev-in-the-Loop. Makes sense.

rw_panic0_0 about 12 hours ago |

what if 11 spaces are needed

undefined about 7 hours ago |

undefined

TZubiri about 9 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

deaton about 9 hours ago |

This makes about as much sense to me as AI-powered air traffic control

undefined about 12 hours ago |

undefined

jdw64 about 11 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.

christkv about 12 hours ago |

Terrorist

r34ct0r14 about 13 hours ago |

why

tesnorindian about 12 hours ago |

Jev mania at its peak? HN is full of Jev like today.

artursapek about 6 hours ago |

Cracker news upvotes the stupidest shit to the front page

selimonder about 11 hours ago |

github.com/f is more impressive to me than jev-leftpad lol

yitchelle about 12 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 about 13 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...

Related:

    https://en.wikipedia.org/wiki/Jev_(AI_model)  
    https://typesafe.ai/

undefined about 12 hours ago |

undefined

Marbleferry815 about 13 hours ago |

[dead]

undefined about 12 hours ago |

undefined