▲ 3 r/Lenovo+2 crossposts

lenovo yoga 500-14IBD strange charging behavior

I got a secondhand Lenovo Yoga 500-14IBD with Windows installed. I really like the 360° hinges, so I wanted to reuse it with Linux.

I got Ubuntu 26.04 and have been testing it in LiveCD mode before wiping the Windows installation.

Windows:

I can't log in because it still has the previous owner's account. The drive will be erased before reuse.

Screen brightness jumps irregularly between the current maximum and what appears to be an even brighter level.

The laptop won't boot without the charger because the battery is empty.

The battery does not charge in Windows.

Ubuntu 26.04 Live:

The brightness issue disappears.

When the battery is connected, the charger repeatedly disconnects/reconnects every few seconds.

With the battery disconnected + charger connected, the laptop runs normally.

With the battery connected + charger disconnected, the laptop also runs normally.

The battery hasn't had much opportunity to charge, so I don't know how well it holds a charge.

The battery LED slowly blinks in a repeating pattern of approximately 0.5s off / 1s on.

I also see some AE_NOT_FOUND ACPI/PCIe messages during boot, but Ubuntu continues booting normally.

I've tested two Lenovo chargers, including the original one, with the same result.

The interesting part is that the laptop works normally from AC alone and battery alone, but the battery refuses to charge when AC and the battery are connected. This happens in both Windows and Ubuntu.

I also inspected the motherboard for obvious physical damage. I don't see any visibly burned, cracked, corroded, or otherwise obviously damaged components/connectors. I have some hobby-level experience identifying failed/burned components, although I haven't yet done electrical measurements on the charging circuit.

I'm comfortable opening the laptop, doing hardware diagnostics and soldering SMD on the board.

I'm mainly trying to determine whether this is more likely to be the battery/BMS, charging circuitry on the motherboard, or something else.

I won't be buying replacement parts, so I'm specifically looking for either a workaround or a direct board-level repair.

I can provide further diagnostics or board/component images on request, as long as the laptop still boots.

update: carefully flexing the frame does not influence behavior another update: it charged to 14% overnight, nd ubuntu says 75% battery health

reddit.com
u/MFFVD — 4 days ago
▲ 2 r/AskJS+1 crossposts

Looking for a tiny statically typed JS-only OO language transpiler with stepping

I'm looking for a small library for a personal Bitburner/Minecraft-like project.

Requirements:

```

Written entirely in JS

Transpiles an object-oriented language to JS

Preferably C++/JS/Python-like; doesn't need to be modern

Synchronous language/runtime, with no async/await machinery

Execution must be steppable/yieldable, so long-running code doesn't freeze the UI

Generated code should be reasonably close to normal JS performance,

Native JS interop: native objects, functions, properties and preferably classes can be passed directly to/from the compiled code. I want to avoid an n2p()/p2n()-style conversion layer entirely.

Bare-bones standard library is preferred; most functionality can come from native hooks

Custom/isolated globals

Preferably only a few KB downloaded and loads at least roughly as fast as js-interpreter

needs to be statically typed and checked

```

the compiler/runtime should provide whatever yield points are necessary to step execution.

i currently use js-interpreter (neil fraser) but that is running too slow for usable A* implementations, even with numpy-like accelerator functions using p2n/n2p patches instead of full serialisation.

Anything like this exist?

reddit.com
u/MFFVD — 13 days ago

what is this signal?

i recorded it with an old AM radio at 150Khz. the periodic rasp in the background comes from the radio, as it shows up along the whole range

u/MFFVD — 24 days ago