Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
541.
▲
by
diarrhea
5y ago
> Information dissemination must be similar to fluid dynamics. It just has to be. If you include reactions, sure. But regular fluid dynamics very much leaves the substance intact. Water flows down a stream and is still water at the end.
542.
▲
by
diarrhea
5y ago
> In the last one, I asked for three examples in a short answer problem...and gave one of them as a 'for example'. less than 10% of people used that. More than 10% told me they thought it was a trick. What did you expect? To
543.
▲
by
diarrhea
5y ago
> The main motivation is having a different password per service. So if your password is compromised in one place, you're not universally compromised. Yes, exactly. But how many logins does the average user have? Dozens at least.
544.
▲
by
diarrhea
5y ago
Your edit conveys a strong anti pattern, at least in the sense password managers are mostly used. The entire point is to not remember passwords. Hence the name LastPass, for example (“the last password you will have to remember” aka the m
545.
▲
by
diarrhea
5y ago
Haven't heard of it (new to iOS). Looks fine, although at home I have DNS ad blocking, and I'm not sure how the auto-clicking feature works. I wouldn't want to automatically accept all cookies; I always manually reject ever
546.
▲
by
diarrhea
5y ago
That, and for Safari on iOS I bought Noir. Works like a charm and cannot miss it. Noir and automatic reader mode is actually a pleasant way to browse the web (although I often disable reader mode because it gobbles up images etc.).
547.
▲
by
diarrhea
5y ago
I guess not at all. It's shadowed. But this being Python, this is a way: foo = 123 def lol(foo="bar"): print(globals()["foo"], foo) That will output "123 bar". But it's terrible!
548.
▲
by
diarrhea
5y ago
I've worked with Unicode and ASCII conversion directly before in Python, and even then I didn't need these two. There is `str.translate` which requires ordinals aka Unicode codepoints integers, which you would use `ord(str)` for.
549.
▲
by
diarrhea
5y ago
The main 'problem' there is the `global` keyword :^) (it's not needed for read access)
550.
▲
by
diarrhea
5y ago
You are really onto something here. I am in plain-old mechanical engineering. As a student, for the first years, I was simply intimidated. "These papers are so hard to read!". You have to read between the lines so much, fill in so
551.
▲
by
diarrhea
5y ago
Grading theses, this is a very common trap. Students believe they have to be creative, change it up and use a Thesaurus. Because that is in fact what everyone is taught in school! Yet, technical writing doesn't work that way. Synonyms
552.
▲
by
diarrhea
5y ago
Putin doubling down and still losing seems like a chance. Probably naively, I believe it is a chance for encompassing reforms. For the last Soviet remnants to be flushed out. I suspect almost all Russians below say 40 years of age are just
553.
▲
by
diarrhea
5y ago
Allowing authentication not only within the original time frame but one interval before and after is by design: https://en.wikipedia.org/wiki/Time-based_one-time_password#S... .
554.
▲
by
diarrhea
5y ago
Isn’t there also a blatant mistake in the content of the post? The naive approach for approximating e keeps track of two floats. No arrays. So minimal, aka negligible memory footprint. Then they introduce iterators, promoting that yielding
555.
▲
by
diarrhea
5y ago
I am, these are in a separate directory that needs to be treated analogously. It's also pretty painless. Still, if you just want to save your ass, the DB is probably what one is after.
556.
▲
by
diarrhea
5y ago
> Extra benefit: if I lose all my infrastructure, I haven't lost my passwords. I just dump the SQL database of Vaultwarden and have that as a backup (it's encrypted). I've verified that a new Vaultwarden instance can be sp
557.
▲
by
diarrhea
5y ago
I regularly use Joplin and like it very much. But I guess note taking isn't for me. It's very far from having changed my life. Joplin is amazing for taking media-rich notes, combining PDFs attachments, images, bulleted lists, URLs
558.
▲
by
diarrhea
5y ago
They probably use military-grade hashes too. So you know it is very secure indeed.
559.
▲
by
diarrhea
5y ago
> not only integers and floats, but also strings, lists and dictionaries as mutable value types (copy-on-write) Lists and dictionaries are also mutable in Python. Strings are not. With CoW, are your referring to garbage collection? (valu
560.
▲
by
diarrhea
5y ago
> There's even a third party implementation of the server in rust that seems to be mostly compatible. Not just mostly. Vaultwarden also offers server-side features usually only found in paid Bitwarden plans.
561.
▲
by
diarrhea
5y ago
A prodigy at 6 years old back in the day.
562.
▲
by
diarrhea
5y ago
Mechanical, i.e. pneumatic, PID controllers were one of the most incredible things to learn about in university.
563.
▲
by
diarrhea
5y ago
I use glossaries-extra. It allows the usual glossary stuff (acronyms), but can also be used to define symbols. All symbols then become hyperlinks, linking to the nomenclature at the beginning or end of the document. And in that nomenclature
564.
▲
by
diarrhea
5y ago
I learned about metaclasses in "Fluent Python". An excellent book, but it predates typing, so that's not covered. Then again, I believe a second edition is on its way.
565.
▲
by
diarrhea
5y ago
What classes are to instances, metaclasses are to classes. This is from someone who has only ever read about, never used metaclasses, because they are widely regarded similar to git submodules. If you cannot really assert that you need them
566.
▲
by
diarrhea
5y ago
I use Zotero and sync the attachments to my Nextcloud instance via WebDAV. The database is synced to the Zotero servers, because that's the only option. With a bit of care on initial setup for new machines, it works wonderfully. The re
567.
▲
by
diarrhea
5y ago
It doesn't seem so. Clicking a random link from inside the Vaultwarden webpage (which is never used anyway, in favor of the Bitwarden browser plugins) and following the requests in Firefox's Browser Console, no request has a Refe
568.
▲
by
diarrhea
5y ago
The parent commenter possibly meant: with an incoming request, sending a password in clear-text, how do you cache it? You hash it, then store the fact that authentication was valid with some expiry. Once the next request, again with clear-t
569.
▲
by
diarrhea
5y ago
Embracing security through obscurity like that is also how I decided to help protect my password manager, Vaultwarden. It's open to the internet on 80/443, but its URL is `subdomain.domain.tld/some-secret-path/`. It'
570.
▲
by
diarrhea
5y ago
> unlike Chrome 49, which is the last version for XP and Vista Oh God.
More ›