HackerTrans
TopNewTrendsCommentsPastAskShowJobs

MzHN

no profile record

Submissions

Quiet – Private messaging. No servers

tryquiet.org
2 points·by MzHN·vor 5 Monaten·0 comments

Props for Web Components

old.reddit.com
2 points·by MzHN·vor 7 Monaten·2 comments

The Modos Developer Kit

modos.tech
2 points·by MzHN·vor 12 Monaten·0 comments

State of HTML 2025

survey.devographics.com
1 points·by MzHN·vor 12 Monaten·0 comments

State of HTML 2025 now open

lea.verou.me
3 points·by MzHN·vor 12 Monaten·0 comments

Home Assistant Core Copilot and Claude Instructions

github.com
2 points·by MzHN·letztes Jahr·0 comments

Stop Killing Games Tracker

stopkillinggamestracker.pages.dev
3 points·by MzHN·letztes Jahr·0 comments

Django REST Framework versus Django Ninja (2024)

loopwerk.io
2 points·by MzHN·letztes Jahr·0 comments

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

lea.verou.me
2 points·by MzHN·letztes Jahr·0 comments

Godot Editor on the Meta Horizon Store

godotengine.org
2 points·by MzHN·vor 2 Jahren·0 comments

About Official Console Ports

godotengine.org
2 points·by MzHN·vor 2 Jahren·0 comments

[untitled]

1 points·by MzHN·vor 2 Jahren·0 comments

Netflix Adds 8M Customers, Extending Lead over Rivals

bloomberg.com
2 points·by MzHN·vor 2 Jahren·0 comments

Bats Can No Longer Haunt Apple VR Headsets via Web Exploit

hackaday.com
2 points·by MzHN·vor 2 Jahren·0 comments

Boolbase – two functions: one that returns true, one that returns false

github.com
3 points·by MzHN·vor 2 Jahren·0 comments

Mozilla's Original Sin

mastodon.social
23 points·by MzHN·vor 2 Jahren·25 comments

A preview of Offline's mission and positioning

meetmeoffline.substack.com
1 points·by MzHN·vor 2 Jahren·0 comments

Inline Conditionals in CSS

lea.verou.me
2 points·by MzHN·vor 2 Jahren·0 comments

comments

MzHN
·vor 7 Monaten·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
·vor 9 Monaten·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
·vor 9 Monaten·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
·vor 9 Monaten·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
·vor 9 Monaten·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
·vor 9 Monaten·discuss
If I want to replace openWakeWord in Home Assistant Voice Assistant pipeline with this, any idea how difficult it would be?
MzHN
·vor 12 Monaten·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
·letztes Jahr·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
·letztes Jahr·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
·letztes Jahr·discuss
Unofficial but it is fun to watch live as the tracker numbers go up https://stopkillinggamestracker.pages.dev/
MzHN
·letztes Jahr·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
·letztes Jahr·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
·letztes Jahr·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
·letztes Jahr·discuss
Might be worth mentioning that fsmonitor is Windows and Mac OS only.

Also I wish GitHub and GitLab had colorMoved.
MzHN
·vor 2 Jahren·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
·vor 2 Jahren·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
·vor 2 Jahren·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
·vor 2 Jahren·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!
MzHN
·vor 2 Jahren·discuss
For just hosting something as long as possible I would highlight two options stolen blatantly from previous threads:

If you can throw enough money at the problem and are in the US, set up a trust to host your content for as long as the funds last.

If not you could bet on The Internet Archive to outlive you (and maybe donate to them).

But I think the bigger issue than hosting is discoverability. How will your great grandchildren find your content even if it was still available?

To cover both issues the best bet is to focus on somehow convincing your offspring on keeping your content and memory alive in what ever way they see fit, enough so that they pass it on. I have no ideas for exact details here, maybe someone else does?
MzHN
·vor 2 Jahren·discuss
While we're throwing ideas, someone please implement this:

An as simple as possible Android app that lists any discovered Chromecast devices and when you tap on one it attempts to cast your screen to that one.

Why? Because screen casting isn't an AOSP feature. It is really difficult to get it to work on GrapheneOS if it works at all.

But VLC can stream video to Chromecast on AOSP without issues.

So my thought is: Take a look at the VLC Android source. It's mostly a wrapper using the VLC bindings as an API. Look at how it uses VLC to discover Chromecasts[1] and how it uses them as output[2].

Then somehow pipe the createScreenCaptureIntent API into it.

GrapheneOS users will be thankful.

[1] https://code.videolan.org/videolan/vlc-android/-/blob/master...

[2] https://code.videolan.org/videolan/vlc-android/-/blob/c773c2...