imax's avatar

imax

@imax.ooo

89 followers 36 following 1578 posts

@imax.in.ua 's other account

Dedicated to messing with software and hardware, mostly in English.

If I'm arguing with you - that's good, I'm still expecting to learn something from you


imax's avatar imax @imax.ooo
[ View ]

0 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Yeah, I get that, and would immediately do it. However, it's the same problem that I have with vscode: I *kinda* can turn off annoying features/bugs that get in my way, but I'd rather have a decent text editor out-of-the-box than this

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

That would annoy the fuck out of me 😅 That's why my smartwatch doesn't pretend to be *that* kind of smart, and doesn't do shit I didn't ask it to

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

*sigh* I hope they don't fuck it up too badly

1 replies 0 reposts 2 likes


imax's avatar imax @imax.ooo
[ View ]

github.com/bluesky-soci...

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Protocol design 101: If there's a natural way to make invalid configurations impossible to express - you take it

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

tl;dr: facet offset can point to a middle of a UTF-8-encoded codepoint

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Because this way graceful degradation doesn't insult reader's eyes with a bunch of arcane markup. I do, however, take offense at *how* they decided to count the offsets

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

FYI, since recently you can unpin "Following" and move BlackSky to be the first tab

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Fascinating and sobering reading: www.ic3.gov/Media/News/2...

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Although, in the current implementation these lookups are designed around too, and happen in the background every so often, outside of request serving path

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

It would quickly become a SPOF and a major source of request latency, if not designed around.

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Also, handle -> DID lookup history is not recorded anywhere, so PLC history alone is not that reliable in this regard

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

PLC does keep history, but I don't think anything actually uses it in a meaningful way. Facets do indeed record the DID, but the record content is immutable, so the old handle is still shown, but clicking on it leads to the correct profile

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

ugh, yes. You've already got a password input field provided by your platform, don't mess with it

0 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

I've ended up treating handle as a display name. Even then, if you use your own domain name as a handle - it's still portable between storage hosts. (Don't recall exact details on portability of `*.bsky.social` handles, but that can work just fine too)

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Paypal does this and I don't have any problems using it with Bitwarden. I just trigger the browser extension twice. (Speaking of Paypal, why the fuck does anyone think that allowing only one U2F token is a good idea?)

0 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

I'm almost afraid to ask, but what steps does one need to implement to remove the "support" for password managers?

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Did the journalist ask you what does it taste like?

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Nah, I could get behind a Steve, but Tim is just some wannabe, fuck him

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

- How deeply are we fucked? - Yes.

1 replies 0 reposts 4 likes


imax's avatar imax @imax.ooo
[ View ]

um, what

0 replies 0 reposts 2 likes


imax's avatar imax @imax.ooo
[ View ]

Did I mention already than Chrome is the new Internet Explorer?

0 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

TBH, this world would be a better place is people were growing pigs on their farms instead of writing code

0 replies 0 reposts 2 likes


imax's avatar imax @imax.ooo
[ View ]

You reminded me of the time I ported Prometheus metric pusher to OpenComputers, so I could monitor my energy and items storage 😅

github.com/imax9000/Ope...

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Got tired of running `zfs list` to see where did the disk space go and wrote a short script to feed it into `ncdu`

github.com/imax9000/zfs...

0 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

i.e., if you want to count them as missing - just treat 500 as 404. If you want to additionally check that it's not just the relay being dead - poke `/xrpc/_health` after you get 500

0 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

500 roughly means "yes, there is or was such repo, but now it's unavailable" I'm not exactly sure which way you want to count them in your specific use case

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

That seems consistent with what I'm saying: > 404 means it's unknown, 200 or 5xx - known

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

For Go there's a thin wrapper that falls back to plc.directory if your mirror is not caught up or returns an error for some reason

github.com/uabluerail/i...

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Now you can just use it as a direct substitute of plc.directory in your DID resolver

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

BTW, indexer includes a proper plc mirror:

github.com/uabluerail/i...

disable all containers other than `postgres` and `plc`, expose port 8080 on the plc container, start it, give it couple hours to download the full history - and done

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

For unknown DIDs?

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Actually getLatestCommit has very similar logic around this, so you can keep using that one

sourcegraph.com/github.com/b...

1 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

You can do getRepo (and skip reading the full response). 404 means it's unknown, 200 or 5xx - known

sourcegraph.com/github.com/b...

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

("because PLC rate limits" is a valid answer. But you can also just run a local mirror)

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Why not resolve the DID and ask the hosting PDS directly?

2 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

(making it optional assumes that actually setting it has a semantic value, e.g., branching off a new thread. But we don't have that, so best would be to not have it there in the first place)

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

Correct protocol-level solution to this would be to make "root" optional. It is redundant with "reply". Having both is an optimization that should've been done entirely inside the AppView, but it also creates ambiguity in what a client should do when they're set inconsistently with each other

1 replies 0 reposts 1 likes


Reposted by imax

imax's avatar imax @imax.ooo
[ View ]

Oh, so it's an even brickier brick than previous models, I totally forgot that

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

That's for Intel, and for very much the same reason as Linux: drivers. OEMs usually provide only Windows drivers, so for both Linux and Mac OS X it's on you to pick a motherboard with a chipset that your OS can talk to, as well as other components

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Btw, USB-A expansion cards there are sacrificial - I'm trying to make my laptop use MagSafe3 chargers 😋

0 replies 0 reposts 0 likes


imax's avatar imax @imax.ooo
[ View ]

AFAIR, it was done by emulating PowerPC on x86 and it was slow as molasses. I.e., fun to poke around, but not suitable for anything useful

1 replies 0 reposts 4 likes


imax's avatar imax @imax.ooo
[ View ]

When for the same price you could've got a Framework with x4 of both? 🙃

2 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

To rub it in a little more, I recently topped up RAM in my laptop to 64GB:

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Well, now you know

1 replies 0 reposts 2 likes


imax's avatar imax @imax.ooo
[ View ]

That's, like, half of their business model for selling computers

1 replies 0 reposts 1 likes


imax's avatar imax @imax.ooo
[ View ]

Wait, you seriously weren't aware of the huge markups Apple adds to RAM and storage upgrades?

2 replies 0 reposts 1 likes