2022/02/14
that adding a
!suffix tellstscthat the expression to the left doesn’t evaluate tonullthat going to
about:profilein firefox lets you create separate firefox profiles.
that adding a ! suffix tells tsc that the expression to the left doesn’t evaluate to null
that going to about:profile in firefox lets you create separate firefox profiles.
That Option<T> costs ~1x the alignment value of T.
I also learned Vec<T>’s size and alignment don’t reflect the size and alignment of T since the Vec is tracking an owned buffer on the heap which isn’t counted in the Vec’s own size.
struct Alone8(u8); // size= 1, align=1
struct Opt8(Option<u8>); // size= 2, align=1
struct Vec8(Vec<u8>); // size=24; align=8
struct Alone64(u64); // size= 8, align=8
struct Opt64(Option<u64>); // size=16, align=8
struct Vec64(Vec<u64>); // size=24; align=8
That Firefox bundles process and task managers for performance monitoring, available at about:processes and about:tasks, respectively
https://support.mozilla.org/en-US/kb/task-manager-tabs-or-extensions-are-slowing-firefox
Start typing your search with…
^to show only matches in your browsing history.
*to show only matches in your bookmarks.
+to show only matches in bookmarks you’ve tagged.
%to show only matches in your currently open tabs.
#to show only matches where every search term is part of the title or part of a tag.
$to show only matches where every search term is part of the web address (URL). The texthttps://orhttp://in the URL is ignored but notfile:///.Add
?to show only search suggestions.Hitting Ctrl-enter in the URL bar works like autocomplete;“mozilla” go straight to www.mozilla.com, for example. Shift-enter will open a URL in a new tab.
– https://exple.tive.org/blarg/2020/10/25/navigational-instruments/
also, about:crashparent is an intentional crash in case you want to restart the browser.
See also: https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox