[-] dukk@programming.dev 1 points 2 years ago

Trailing slash lets you do this though:

For example, in the case of <div/>Some text, browsers interpret this as <div>Some text</div>, treating the slash as ignored and considering the div element to encapsulate the text that follows.

[-] dukk@programming.dev 1 points 2 years ago

Donut regex when???

[-] dukk@programming.dev 1 points 2 years ago

If someone had made the active choice to use Firefox, I think they’d notice if it was replaced by Edge…

[-] dukk@programming.dev 1 points 2 years ago

Oh that’s smart! And then nushell just handles the data for you…I might try that!

[-] dukk@programming.dev 1 points 2 years ago

I’m assuming she’d know the year…?

[-] dukk@programming.dev 1 points 2 years ago

Books exist, but I don’t think most people are spending their time reading up for post-apocalyptic survival tips.

[-] dukk@programming.dev 1 points 2 years ago

General > New Account Highlightenator

[-] dukk@programming.dev 1 points 2 years ago

Actually, they could probably collect a pretty substantial amount of data on you from just analyzing your garbage.

[-] dukk@programming.dev 1 points 3 years ago

Yeah, I’d imagine you’d want to adapt for different locales. Here in the US, MMDDYY is pretty ubiquitous, but I’m sure it’s different in other countries.

[-] dukk@programming.dev 0 points 3 years ago

Possible that said instance has defederated from your instance.

[-] dukk@programming.dev 1 points 3 years ago

I think all of these can be recompiled at runtime.

Askama seems to be a popular and mature option here. Yew is also pretty popular here, uses a VDOM and provides a powerful front end (great for SPAs) I’m most likely going to go with tide-jsx, it’s like HTML but it supports Rust expressions thru a macro, which is exactly what I need. Liquid is also pretty secure, so that’s an option.

Askama and Yew are pretty mature, so they probably have reasonable security. I would check their docs, however.

[-] dukk@programming.dev 1 points 3 years ago* (last edited 3 years ago)

Is there any way to track values without a struct? Or in my specific case, I’m using a struct, but most of the values are in an Option<String>.

view more: ‹ prev next ›

dukk

0 post score
0 comment score
joined 3 years ago