HackerTrans
TopNewTrendsCommentsPastAskShowJobs

arielweisberg

no profile record

comments

arielweisberg
·4개월 전·discuss
This can be implemented without storing it. They could store a hash. No idea what they actually do.
arielweisberg
·6개월 전·discuss
It’s really not quite like that. https://youtu.be/Dyr87--SDuc?si=EPmTEPQfFtaWV2tt

The impact is more for bind and fly drones that are FCC approved so you don’t need a HAM license to operate them.

To me it also looks like there are also loopholes you could drive a truck through in terms of importing partially assembled drones that can be assembled by the end user as well as approving components by making their use not exclusive to UAS.

What actually happens remains to be seen because it really depends on what the enforcement actually looks like and how well work arounds work.

I think the real goal of the regulators is to ensure an onshore supply chain for government use and there won’t be a focus on civilian usage.
arielweisberg
·6개월 전·discuss
I agree. Claude Code went from being slower than doing it myself to being on average faster, but also far less exhausting so I can do more things in general while it works.
arielweisberg
·8개월 전·discuss
“Classical state-machine replication protocols, such as Paxos, rely on a distinguished leader process to order commands.”

Isn’t that multi-Paxos? Paxos is leaderless.

Very odd opening sentence.
arielweisberg
·3년 전·discuss
Maybe not interesting, but a slideshow application that is much faster and more memory efficient than anything I could find.

Image viewers I tried all beachballed constantly, were slow to respond if they even did, had many bugs, and required many interactions and pixel hunting to interact with.

It emphasizes instant response even when working with 10s if thousands of very large photos, and a UI that eliminates or reduces required interactions, and integrates with finder smartly.

It defaults to opening folders or images fullscreen and round robins windows across displays. The UI is a 3x3 button grid overlay that auto hides, the window name is the the last three parts of the file path. There is gesture support, but I don’t use it because focus is a pain to deal with.

JPEG decoding is memory intensive so there is a shared rendering process so the parallelism can be managed and memory uses isn’t duplicated.

A shared cache process contains bitmaps of images scaled to screen size that are stored on disk. This kind of assumes you are on a fast flash drive like an MBP where flash is basically as fast as memory.

The cache is a 100 element LRU in front of Caffeine (W-Tiny LFU) and all the cache state is persistent including Caffeine so it can remember the LRU and adaptive cache state across restarts.

Prefetching scales the previous and next five images in parallel so you can click forward/next and it is instant every time.

When you turn shuffle off it plays forward from the image you were on. You can click a button and it will loop all files on a directory.

You can open multiple files or directories from finder and it will play all nested files in order.

The order is a natural order that parses numbers so if the numbers aren’t padded you still get the correct order.

Ended up using JavaFX which works surprisingly well. Fast JPEG decoding, working HiDPI, window resizing and movement renders very nicely.