HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Lex-2008

no profile record

comments

Lex-2008
·hace 4 meses·discuss
not OP, but my current solution is to have a link which says "click to show email", with javascript handler that changes that link's href (and text) to email address, which is somehow computed. For example, by taking page URL and performing some regexp on it. It both avoids storing email in page source in plain text and requires human interaction, so feels good enough.

Another way I've seen elsewhere is to use a human-language explanation of how to build email address, something like this: "To get my email address, combine my first name (John) with my birth year (2000), separated by dash (-), and add email provider (@gmail.com)".
Lex-2008
·hace 5 meses·discuss
my favorite "easter egg" hidden behind File -> Exit menu item of jspaint.app... I still remember how it blew my mind the first time I saw it!
Lex-2008
·hace 5 meses·discuss
not a Linux expert, but I believe that at the very least it's time sensitive: after consumer process reads it, it's gone from the pipe. Unlike env vars and cli argument that stay there.
Lex-2008
·hace 5 meses·discuss
not OP, but for some it might be availability of latest versions packages (say, you've heard about new major version of Bash or Vim being released today, and wondering how soon it might be available in your distro packages), and, as someone else mentioned, less update stress due to lack of "major version bumps" - just remember to subscribe to https://archlinux.org/news/ and watch out for entries requiring "manual intervention".
Lex-2008
·hace 7 meses·discuss
i initially misread "2015" as "2025", too... But no, it was part of SQLite for ten years already!
Lex-2008
·hace 7 meses·discuss
interesting, but can't you use "Index On Expression" <https://sqlite.org/expridx.html>?

i.e. something like this: CREATE INDEX idx_events_type ON events(json_extract(data, '$.type'))?

i guess caveat here is that slight change in json path syntax (can't think of any right now) can cause SQLite to not use this index, while in case of explicitly specified Virtual Generated Columns you're guaranteed to use the index.
Lex-2008
·hace 8 meses·discuss
re: SSH - I once heard that in China they can throttle SSH speed so it's usable for terminal work, but not for copying files or browsing web.
Lex-2008
·hace 10 meses·discuss
I believe pressing + should open "Select files" dialog prefilled to select all files (and dirs), pressing Enter confirms it.

My Midnight Commander 4.8.33, however, remember previously entered mask, and if no mask was entered - then it defaults to selecting nothing :(
Lex-2008
·hace 10 meses·discuss
To be fair to Arch, you can always subscribe to their RSS or mailing list if you want to be notified about breaking changes