Better HN
topnewbestaskshowjobs
Log inSign up

nasso_dev

355 karma · joined Aug 28, 2023 (3y ago) · 101 submissions

https://nasso.dev at://did:plc:z2dxz4qxqnye24swc7g3lgz3

https://bsky.app/profile/did:plc:z2dxz4qxqnye24swc7g3lgz3 https://tangled.org/did:plc:z2dxz4qxqnye24swc7g3lgz3

Submissions

comment 1y ago · link · parent

> Seems like passkeys use a very simple model where you are using a single device with a single browser or are somehow syncing across devices with some cloud service - and from your description it sounds like that doesn't even work.

Unlike passwords, you can have multiple passkeys per account. You can have 5 passkeys for your amazon account if you use your amazon account on 5 different devices. If you lose device 4, or if it gets stolen, you can just delete passkey 4. The other ones are safe.

Or, you can use a syncing service like a password manager. Both solutions work!

comment 1y ago · link · parent

Note that having a unique fingerprint becomes actually great if it's so unique that even after a page refresh you get a different one.

Most browsers with fingerprint protections will for example introduce random noise in graphics and audio APIs.

comment 1y ago · link · parent

Just like you wouldn't use PNG for photography, I don't think you'd use a lossless video codec for real-world footage.

Lossless video would make much more sense for digital content like screen recordings, where the assumption that few pixels change between consecutive frames makes much more sense.

comment 1y ago · link · parent

You might be interested in tangled.sh, a Git forge that recently added support for stacked PRs with jj[1] (or anything that supports the Change-Id header i suppose)!

[1]: https://bsky.app/profile/tangled.sh/post/3lptwcb47kc2u

comment 1y ago · link · parent

What I do is I git clone --recursive and then init a colocated repository. JJ will find the submodules and ignore anything in them, it works decently well.

comment 1y ago · link · parent

iirc WASM bytecode closely resembles V8 IR. If you're writing a JS engine, might as well provide a more direct frontend to it... I don't think it adds much.

comment 1y ago · link · parent

For those who have Rust, I like miniserve[1]:

    cargo install --locked miniserve
    miniserve path/to/directory
[1]: https://github.com/svenstaro/miniserve

comment 1y ago · link · parent

While I agree with your point about being responsible for the quality of the code you send, please remember that...

> This post is my personal opinion, not necessarily representative of Servo or my colleagues at Igalia.

...so I don't believe it's fair to say that you lost all the good will you had for Servo based on just this article.

comment 1y ago · link · parent

> Gur fvmr bs gur pbyyrpgvba jbhyq punatr!

Ubj vf guvf n ceboyrz gubhtu? Vg qbrfa'g frrz gb ivbyngr nal bs gur shapgbe ynjf!

comment 1y ago · link · parent

> It doesn't trigger built-in mobile operating system components.

I worry about this. The built-in mobile operating system components are reliable, accessible, and responsive. I really like it when an input element opens the Android UI because I know how it works and that it is reliable. This applies to <select>, but also date/time inputs for example.

comment 1y ago · link · parent

How about Scaleway?

comment 1y ago · link · parent

As a "Svelte5 enthusiast", I didn't stop reading and I wasn't particularly surprised... All frameworks/libraries/languages have quirks. I was perfectly aware of every single point listed yet I still enjoy Svelte 5 a lot more than 4.

> Form Components Are Uncontrolled by Default, Which Can Cause Issues > [...] > What happens if you remove the bind? One-way binding? No, it only sets the initial value, then the input's internal state takes over, contrary to expectations.

I strongly disagree. This is literally how HTML works. This makes forms with default values MUCH less awkward to author.

comment 1y ago · link · parent

It's 4k: https://bsky.app/profile/jaz.bsky.social/post/3likncbqutk2y

comment 1y ago · link · parent

Interesting! I wonder what value they chose for the `reasonable_limit`.

comment 1y ago · link · parent

I strongly believe it should be the default everywhere.

IMO, you can even skip having a theme switch—that's how native stock OS apps behave (calculator, notepad, settings, etc.).

For websites, I think that should be enough. For web apps however, you might want more control over the theme somewhere in the settings page, as people are more likely to spend a lot of time in your app and may want to customize it a bit more.

comment 1y ago · link · parent

The browser doesn't need to support WebGL?! Together with Web Audio and Web Assembly, they are exactly the kind of technologies allowing desktop-class apps like Figma to run in the trustworthy browser sandbox.

I don't want to have to install more apps, and more web APIs means more things can be done inside of the browser shell without having to install software that could literally do anything on your computer (and is often hard to remove completely when you're done).

comment 1y ago · link · parent

Despite HTMX being backend-agnostic, I heard it pairs extremely well with Django, so that's probably why! Maybe the two are particularly well fitting pieces of the web dev puzzle.

comment 2y ago · link · parent

A major difference with Bluesky tho, is that users can choose their own "algorithm". Nobody is forced on Discover (Bluesky's "for you" algorithm).

I wonder if this will play a role.

comment 2y ago · link · parent

for the record: Dorsey has nothing to do with Bluesky today (he even hates it now)

https://www.theguardian.com/technology/article/2024/may/07/j...

comment 2y ago · link · parent

have you considered that perhaps you're not the target? perhaps your problems are just better solved with different languages and that's okay?

81.

React Native, and "The Native Feel"(mozzius.dev ↗)

4 points · by nasso_dev · 2y ago · discuss

comment 2y ago · link · parent

LLM or not LLM, bullshit smells like bullshit

comment 2y ago · link · parent

Actually, `jj git push` will only push named branches, which are now called "bookmarks".

You simply don't attach a bookmark to @, and `jj git push` will NEVER push it (to what branch would it push?)

The branch you're working on is instead on @-. So when you squash, it updates the branch.

comment 2y ago · link · parent

> This post was inspired by another post about exactly the same thing. I couldn't find it when I looked for it, so I wrote this. All credit to the original author for noticing how interesting this rabbit hole is.

I think the author may be thinking of Ken Thompson's Turing Award lecture "Reflections on Trusting Trust".

comment 2y ago · link · parent

> Cause your computer to dial you back, so that you can login without paying for the call.

oh. that's an OLD old tool..

comment 2y ago · link · parent

my understanding is that serenity will focus less on the web browser in the first place. it might just go back to being a simple html viewer with rudimentary js support?

my hope is that they take this as an opportunity to come up with a purpose built "web" stack for serenity? use it as an excuse to reinvent the web and "fix" the mistakes that were made? maybe by actually Putting Scheme In The Browser rather than js?

comment 2y ago · link · parent

wgpu (and webgpu more generally) is often presented as a very good choice for a cross platform low level graphics api. but it was designed around safety/security constraints to support the web, sometimes at the cost of performance (my understanding)

i heard somewhere this nice example: only big actors like AAA game engines would really benefit from the extra development effort it would take to use an even lower level api like vulkan/dx12 to squeeze the last 10% of performance that wgpu can't get you

so if i understand correctly, zed, just like a AAA game engine, wants to squeeze every last bit of performance from the gpu, and so wgpu is "too high level" for it? and blade is "like wgpu, but no design tradeoffs and lower level" so its a better fit? does that mean someday zed might reach for vulkan directly one day? im assuming dx12 is gonna be used on windows anyway?

i love kvark's work btw, we need more kvarks

comment 2y ago · link · parent

the switch to canvas rendering is recent though

https://workspaceupdates.googleblog.com/2021/05/Google-Docs-...

comment 2y ago · link · parent

you can speedrun by playing with the phone screen facing down. tilt it slightly and the ball will go super fast. you can sort of "fly", too, and climb up walls. i got to level 9 in like 30 secs like this

comment 2y ago · link · parent

i tend to forget what the youtube home page even looks like. years ago i bookmarked the subscription feed rather than the "home page". never looked back. thats what it should be!
1234