26 ms·
Jev-Leftpad
- selimonder 13d agogithub.com/f is more impressive to me than jev-leftpad lol
- sparrowidle 13d agoOn the npm doomsday thing, the scarier version is someone vendoring it and the padding silently drifting between runs.
- Topfi 13d agoMan-made horrors beyond my comprehension, neat.
- jojobas 13d agoI have no mouth but I must pad.
- adventured 13d agoWhat is my purpose? You pad the text. Oh, my god.
- serious_angel 13d agoNow 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/
- goosejuice 13d agoOne might even say it's unique.
- Marbleferry815 13d ago[dead]
- fumblebee 13d agoCan someone ELI5?
- sklivvz1971 13d agoUses 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 13d agowhy useless? it did one thing that js didn't natively do
- jagged-chisel 13d agoIt did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.
- Sohcahtoa82 13d agoIt 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.
- deleted 13d ago[deleted]
- intothemild 13d agoJev 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.
- r34ct0r14 13d agowhy
- applfanboysbgon 13d 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 13d ago[dead]
- frangonf 13d agoMake 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'); });
- raahelb 13d 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 13d agoI thought you were doing a PR to add an 11th space.
- w-ll 13d agoim so confused about what i should bring up at the 10am today
- dormento 13d agoAren't we all. Aren't we all.
- sethaurus 13d agoI 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 13d 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. [0] https://docs.typesafe.ai/confidence https://docs.typesafe.ai/confidence
- wongarsu 13d agoWhat 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
- preommr 13d agoWell 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).
- danieltanfh95 13d agoMan we're going full 2015 ML, telling normies that confidence scores mean NOTHING to alleviate false negatives/positives.
- meowface 13d agoBut is it Web Scale.
- dofm 13d agoIt's surely on the Pareto Frontier of something
- deleted 13d ago[deleted]
- yitchelle 13d agowait.. 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.
- fwlr 13d agoThe tests mock Jev. 10/10 no notes
- slowmovintarget 13d agoI posted the same observation, then saw yours. Yours is better (at 0.92 certainty) so I deleted my post.
- marcus_cemes 13d agoReading this, I got excited that there may be be a hidden Easter egg, making fun of Jev. I was disappointed to find actual tests.
- rw_panic0_0 13d agowhat if 11 spaces are needed
- brabel 13d agoYou need to get the Pro version, please contact sales.
- queenkjuul 13d agoRun it twice
- freakynit 13d agoWould 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/ https://jev-bias-analysis.stupidlabs.lol/
- mawadev 13d agoThis needs an SBOM and a SonarQube Qualitygate pass to be considered production grade code
- speedping 13d agoHow did this guy get a single-letter GitHub username?
- azatom 13d agoi 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 13d agoHis oldest repository was updated in 2011. Looks like he's been there a long time.
- unshavedyak 13d agoIt'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.
- anon48293 13d agoGitHub clearly didn’t use his left pad
- tesnorindian 13d agoJev mania at its peak? HN is full of Jev like today.
- andrekandre 13d agonowadays i can’t even start a day without a fresh cup of jev in the morning…
- larnon 13d agoI already have Jev fatigue.
- deleted 13d ago[deleted]
- christkv 13d agoTerrorist
- deleted 13d ago[deleted]
- deleted 13d ago[deleted]
- ollipal 13d agoInstead 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.
- ckastner 13d agoCan't believe it's already been 10 years... https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/ https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
- BenoitP 13d agoWhat 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
- ckastner 13d agooh, I missed that. Brilliant!
- kevinrineer 13d ago> me: That's enough setup, you're exactly right. So that's where in the training set current models get that phrase! /j
- fnands 13d ago> MIT Licensed Would have been funnier if it used the GLWTPL: https://spdx.org/licenses/GLWTPL.html https://spdx.org/licenses/GLWTPL.html
- MasterScrat 13d agoI’d be curious to see how reliable it is in practice, it sounds like a cheap and (hopefully) easy benchmark
- jdw64 13d agoJEV 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.
- monxer 13d agoIs this package vibe coded with Jev or just old school with an LLM?
- thisisauserid 13d agoJev-in-the-Loop. Makes sense.
- hanspagel 13d agoThis 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.
- random_cat_8745 13d agoNext: jev-is-even
- deaton 13d agoThis makes about as much sense to me as AI-powered air traffic control
- shawabawa3 13d agopoor 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 13d agoMaybe 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.
- hermannj314 13d agoIs there a local model that can run this?
- throwa356262 13d agoI think some people are missing the joke here https://en.wikipedia.org/wiki/Npm_left-pad_incident https://en.wikipedia.org/wiki/Npm_left-pad_incident
- weego 13d agoSubtlety in a joke is a beautiful art. BUT AT WHAT COST.
- mrguyorama 13d agoPeople 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.
- rzzzt 13d agoAnother multi-volume textbook to carry for the students of the future!
- TZubiri 13d agoIt'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 13d agoI must admit, I stopped keeping up with the new AI terms after J-space. Absolute peace of mind.
- tantalor 13d agoI'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 13d agoI'm afraid the performance won't be great. Definitely needs a caching layer.
- kmoser 13d agoThis 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.
- mawadev 13d agoI 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
- deleted 13d ago[deleted]
- brunoborges 13d agoQuick, we need a jev-isBoolean(value) so we can code YAML with confidence.
- artursapek 13d agoCracker news upvotes the stupidest shit to the front page
- deleted 13d ago[deleted]