HackerTrans
TopNewTrendsCommentsPastAskShowJobs

thenbe

no profile record

comments

thenbe
·2 anni fa·discuss
The android development world is new to me, but I failed to find a good location mocker when I needed one recently. I tried a few of the popular ones. They were either filled to the brim with spam or broken in different ways (un-scrollable UI, generating then immediately swallowing their own permission prompts, and/or broken travel simulation).

I would pay for an app that works properly, if only I could find one. Next time, I'll probably give this one a try.
thenbe
·2 anni fa·discuss
Picom has an awesome feature [0] that, for the sake of all our eyes, should come by default on every device with a screen. It can continuously adjust the brightness of individual windows by averaging all the pixels in that window. It's great for defending against "flashbangs" (when a new tab burns your eyes with a blank white screen).

0: https://github.com/yshui/picom/blob/ae73f45ad9e313091cdf720d...
thenbe
·2 anni fa·discuss
Behold this monstrosity: devDbUrl

Madness. The only thing worse that developers willingly tolerate is prettier's sacrilegious linebreaks [0].

0: https://prettier.io/playground/#N4Igxg9gdgLgprEAuc0DOMAEBXNc...
thenbe
·2 anni fa·discuss
FWIW there's an existing issue for "firefox support" which you can subscribe to in order to be notified when this feature lands.

https://github.com/cezaraugusto/extension.js/issues/5
thenbe
·2 anni fa·discuss
> we need to easily be able to see diffs between different versions

Can git attributes help in this case? It allows you to teach git how to diff binary files using external tools. Here [0] is a demonstration for teaching git to produce an "image diff" for *.png files using exiftool. You can do something similar for *.sqlite files by adding these 3 lines [1] [2]. The sqlite3 cli needs to be installed.

Alternatively, there's a tool that might also fit the bill called datafold/data-diff [3]. I'm pretty sure I originally heard of it on a HN thread so those comments may offer even more alternative solutions.

[0]: https://youtu.be/Md44rcw13k4?t=540 [the relevant timestamp is @ 9:00]

[1]: https://github.com/kriansa/dotfiles/blob/7a8c1b11b06378b8ca8...

[2]: https://github.com/kriansa/dotfiles/blob/7a8c1b11b06378b8ca8...

[3]: https://github.com/datafold/data-diff
thenbe
·2 anni fa·discuss
> not as bad as Twitter

Can't help but feel that's what we're moving towards.
thenbe
·2 anni fa·discuss
I like them too. Creating one with d3 + svelte is not very difficult, which then allows you to apply your own customization. I've found the demo at the bottom of this page a good place to start.

https://pancake-charts.surge.sh/
thenbe
·2 anni fa·discuss
I was in this boat. Now I'd really like to get off. The UI is bad but I got used to bad. But I've been asked to change my password *checks email* 10 (!) times in the last few months. I don't share my password with anyone, but I do use a VPN.

Anyways, I can't seem to find a suitable alternative that will keep track of my listening progress across both linux and iOS.
thenbe
·2 anni fa·discuss
> my history is so noisy I had to find another way

The fzf search syntax [1] can help, if you become familiar with it. It is also supported in atuin [2].

[1]: https://github.com/junegunn/fzf#search-syntax

[2]: https://docs.atuin.sh/configuration/config/#fuzzy-search-syn...