HackerTrans
TopNewTrendsCommentsPastAskShowJobs

MzHN

no profile record

Submissions

Quiet – Private messaging. No servers

tryquiet.org
2 points·by MzHN·5 เดือนที่ผ่านมา·0 comments

Props for Web Components

old.reddit.com
2 points·by MzHN·7 เดือนที่ผ่านมา·2 comments

The Modos Developer Kit

modos.tech
2 points·by MzHN·12 เดือนที่ผ่านมา·0 comments

State of HTML 2025

survey.devographics.com
1 points·by MzHN·12 เดือนที่ผ่านมา·0 comments

State of HTML 2025 now open

lea.verou.me
3 points·by MzHN·12 เดือนที่ผ่านมา·0 comments

Home Assistant Core Copilot and Claude Instructions

github.com
2 points·by MzHN·ปีที่แล้ว·0 comments

Stop Killing Games Tracker

stopkillinggamestracker.pages.dev
3 points·by MzHN·ปีที่แล้ว·0 comments

Django REST Framework versus Django Ninja (2024)

loopwerk.io
2 points·by MzHN·ปีที่แล้ว·0 comments

Style-observer: JavaScript to observe CSS property changes, for reals

lea.verou.me
2 points·by MzHN·ปีที่แล้ว·0 comments

comments

MzHN
·7 เดือนที่ผ่านมา·discuss
I'd be fine with that, although I can only edit the title.

Another option would be https://html-props.dev/

EDIT: For clarity, if it does get updated, the original URL was:

https://old.reddit.com/r/javascript/comments/1pj4ros/props_f...
MzHN
·9 เดือนที่ผ่านมา·discuss
> I worried that there might be a lot of iterations where one or two of the options would be things that the person didn't understand, or didn't care about.

I won't disagree here, it would be tedious.

> picking what they understand and don't dislike, then the 'vs' system is there for helping determine the order of those items

Sounds promising to me.
MzHN
·9 เดือนที่ผ่านมา·discuss
> Carriage returns in bash scripts are cursed

Also the full story here seemed to be

1. Person installs git on Windows with autocrlf enabled, automatically converting all LF to CRLF (very cursed in itself in my opinion).

2. Does their thing with git on the Windows' side (clone, checkout, whatever).

3. Then runs the checked out (and now broken due to autocrlf) code on Linux instead of Windows via WSL.

The biggest footgun here is autocrlf but I don't see how this is whole situation is the problem of any Linux tooling.
MzHN
·9 เดือนที่ผ่านมา·discuss
I desperately want to like Bruno, since I think it might not do the same rugpull as Postman and Insomnia.

But the UX is just terrible (for me) or at least has been every time I've tried to start using it more.

I mean, come on, the most basic use of creating a request goes like this:

1. Sorry, can't let you create a request before you create a collection.

2. Sorry, can't let you create a collection before you make a decision on in which path you will be storing all your collections.

3. Sorry, can't let you create a request before you think of a good name for it.

etc.

Like what the heck? This should be just one click to create a new untitled request then fill in the URL and send.

At first I thought this might be growing pains since it was new but every year I try it and it hasn't improved.
MzHN
·9 เดือนที่ผ่านมา·discuss
Not an expert on how this will affect the results but since the list is so long, would it be better to show visitors two random-ish features at a time and have them pick the one they care more about? Or at least offer that kind of UI as an option or the default, and the current list for those who want more control.
MzHN
·9 เดือนที่ผ่านมา·discuss
If I want to replace openWakeWord in Home Assistant Voice Assistant pipeline with this, any idea how difficult it would be?
MzHN
·12 เดือนที่ผ่านมา·discuss
`git reparent origin/main -n 3` sounds a lot like `git rebase --onto origin/main HEAD~3` and `git move-branch from to` sounds like `git branch -f from to`.

I love backup branches as much as anyone but I'd also recommend getting used to `git reflog` or perhaps `git log --all --oneline --graph --reflog` if you're worried about losing commits.

There is one* footgun in git that you can't just reflog your way out of and it's stashes because they piggyback off of the reflog, so dropping stashes will also remove them from the reflog. In those cases you can still visualize them with `git fsck --connectivity-only | grep 'dangling commit' | awk '{print $3}' | xargs git log --oneline --graph --all --reflog`.

*(as long as you've committed your changes, if not then there are way more)
MzHN
·ปีที่แล้ว·discuss
> First of all, your donations to Mozilla don't go to funding the browser.

This is exactly my point. They should establish direct Firefox donations. I agree that it won't change anything overnight, but they need to start somewhere.
MzHN
·ปีที่แล้ว·discuss
Yes! My pet peeve is people keep saying "no one would pay" or "it wouldn't work" but the thing is, as far as I know, it has never been tried.

For example Thunderbird is fully funded by donations.[1]

Of course Thunderbird's budget is in a different magnitude than Firefox but I'd guess the amount of users is also in a different magnitude.

[1] https://blog.thunderbird.net/2023/05/thunderbird-is-thriving...
MzHN
·ปีที่แล้ว·discuss
Unofficial but it is fun to watch live as the tracker numbers go up https://stopkillinggamestracker.pages.dev/
MzHN
·ปีที่แล้ว·discuss
Thunderbird is fully funded by donations[1]

Of course Thunderbird's budget is in a different magnitude than Firefox but I'd guess the amount of users is also in a different magnitude.

As far as I know there has never been an attempt to fund Firefox by donations. You can _only_ donate to Mozilla, which does not go to Firefox development.

People keep saying it wouldn't work but it has also never been attempted so we do not know for sure.

[1] https://blog.thunderbird.net/2023/05/thunderbird-is-thriving...
MzHN
·ปีที่แล้ว·discuss
My masochist anti-tracking set up:

- uBlock Origin with "Disable JavaScript" checked in the settings. Only enable for specific sites.

- Temporary Containers with "Automatic Mode" checked in the settings. Also MMB and Ctrl + LMB always open links in new temporary container. This provides full session isolation for all tabs. There are permanent named containers for logged-in services like email that are only used for email. Outbound links from email for example open in a new temporary container.

All browsing by default happens in a clean isolated session with JS disabled unless explicitly allowed.

I also have Behind The Overlay Revival for when I'm too lazy to zap elements with uBO.
MzHN
·ปีที่แล้ว·discuss
> People don’t want to pay for browsers, you can’t rely on the donations of people preferring to ad-block YouTube instead of paying for Premium.

Firefox has never tried it so we don't know it for sure. I think they should at least provide it as an option.

You can donate directly to Thunderbird development for example https://www.thunderbird.net/donate/

But you can not donate directly to Firefox development, only to Mozilla, which I'm sure most are less enthusiastic about than supporting Firefox development.
MzHN
·ปีที่แล้ว·discuss
Might be worth mentioning that fsmonitor is Windows and Mac OS only.

Also I wish GitHub and GitLab had colorMoved.
MzHN
·2 ปีที่แล้ว·discuss
If this was any other language than JS I would agree but my personal experience with JS is the opposite.

In my experience almost everything in the JS world is already async. User interactions are async, requests are async, almost all NodeJS APIs are async. To me having to add more async in JS is a tiny barrier compared to what I'm facing in other languages that feel more synchronous to me.

Since there is already so much async I also feel like debugging, profiling and error handling are all pleasantly solved problems in JS.

Offloading to workers is also async so while there are many valid benefits to be gained, avoiding async does not seem like one of them to me.
MzHN
·2 ปีที่แล้ว·discuss
>>A lot of English-speaking countries actually have `.` and `,` swapped:

>Which?

Here's a table https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_...

EDIT: Ah, now that I re-read that, I see the "English-speaking" specifier.
MzHN
·2 ปีที่แล้ว·discuss
It seems I do the opposite of many commenters.

I do not run Docker in production at all but I also do not develop any serious projects outside of Docker.

Installed on the host machine are only VSCode, Docker and Git.

You work on a project by cloning it, opening in VSCode and clicking on "Reopen in container".

This will spin up generic services like databases and then the actual app container as a VSCode Remote Container, with all the development tooling inside the container.

Does not matter if tooling changes between projects, any project can be worked on with a single click of "Reopen in container".

Host machine stays clean.
MzHN
·2 ปีที่แล้ว·discuss
Sometimes I have trouble listening without my thoughts drifting elsewhere. I found out that playing a Tetris clone that never increases in speed and never ends is a good way to keep a clear focus on listening. After changing phones recently my perfect Tetris clone stopped working as it was 32bit and the support was dropped. I've been looking for an alternative and finally found one in a 2048 clone with an Undo button. I thank you for that. It has saved me a lot of trouble staying focused!