HN user

pxx

1,179 karma
Posts7
Comments423
View on HN

Paying taxes isn't optional. Sure you can invest more in the stock with external funds but that's not a fair proposition. If you were to tell me there's a certain chance of a stock going up by 100% we could also just buy calls with those magic funds and make far more money.

There are grounded duckheads for this purpose, e.g. https://amzn.to/4cnzuef (note out of stock. I guess your best bet is to use a UK duckhead, but half of those have a dummy ground...)

if you take the plug part from the brick you'll note that there's only two pins but the button-like thing is a ground

as noted in a sibling, the power adapter extension cable does plumb the ground through (https://www.apple.com/shop/product/mw2n3ll/a/power-adapter-e...)

ugh the most annoying thing about the conversation clash latency is that the person causing the issue just thinks others are being weirdly rude.

wireless headphones externalize the cost of latency to other conference participants. if you think your airbuds are "perfectly fine" it's because you're not the one paying the cost.

what? this article is making a different point if you read past the title.

Conventional leadership advice suggests looking at decisions as reversible or non-reversible. Many important, non-reversible, decisions are recoverable, though.

Exe.dev 7 months ago

tbh maybe this service doesn't want you as a customer if you can't figure this out. it seems like you'd be an above-average support burden

Exe.dev 7 months ago

you don't need to register the key. just have some sort of key.

c++20 offers `consteval` to make this clear, but you can do some simple macro wizardry in c++11 to do this:

    #define foo(x) ( \
        (void)std::integral_constant<char, (x)[0]>::value, \
        foo_impl(x) \
    )
(the re-evaluation of x doesn't matter if it compiles). You can also use a user-defined literal which has a different ergonomic problem.
Advent of Code 2025 8 months ago

I don't know how much they "stand out" because their frequency makes it so that the optimal global leaderboard strat is often to just try something dumb and see if you win input roulette.

if we just look at the last three puzzles: day 23 last year, for example, admitted the greedy solution but only for some inputs. greedy clearly shouldn't work (shuffling the vertices in a file that admits it causes it to fail).

Advent of Code 2025 8 months ago

It's only a small selection of inputs.

I have a solve group that calls it "Advent of Input Roulette" because (back when there was a global leaderboard) you can definitely get a better expected score by just assuming your input is weak in structural ways.

I saw the diagram in the original blogpost, laughed, but after a bit of sketching it out I think we're both wrong. R/2R ladders are useful in DACs (and are really cool there) but don't look like they're used in digipot applications.

It seems like actual digipot ICs use the "2^n discrete resistors" approach. The IC used in this project is a MCP4141 which explicitly states in section 5.1 of its datasheet that for 7-bit (8-bit) devices there are 128 (256) resistors in a string between the terminals.

I'm a bit surprised this seems to be the best approach, but with IC manufacturing the joint problems of "a bunch of identical components" and "wiring it all up" are much less of a problem than if you were to wire this up by hand.

"All" isn't right.

You can only encode decision problems in NP into a SAT instance of polynomially-balanced size. Sure, that's a lot of things, but there are things provably not in this set.

Is that actually the story of Uber? They didn't start with "let a random person drive you around"; they did licensed-limousine-by-app (which is the incremental "boring" improvement this post hates) until Lyft came around. They quickly copied the model (Lyft launched in May; "Uber X" in July 2012 [0]) but that's something to be said for agility and not necessarily getting the right idea at first.

[0] here's a launch announcement with Lyft being listed as already being operational https://techcrunch.com/2012/07/01/uber-opens-up-platform-to-...