That’s also my thinking, but it does add some visual clutter plus wouldn’t the counterargument be that people who really care can use their own user styles or extensions, or look at the status bar?
Interesting. Some years ago I’ve relied on SSHFS to have a decent speed when operating on remote files. I wonder if this might have been a solution as well.
Because those recommendations are written for new users. A new user will be better served by a distribution which puts user-friendliness at its forefront. If you’re not a newbie you probably don’t need recommendations because you already know what distributions are available out there.
No, do not do that. This gives access to the display to anyone who can connect to it. The proper way is to give the user access to file whose path is in $XAUTHORITY.
Firstly, and most importantly, executing grub-install requires super-user
privileges. Rather than adding it to PATH you should instead run the command
through sudo. A regular user typically does not need any of sbin
directories in their PATH.
As for the command itself, there are three things wrong with it:
PATH should only include directories whereas you tried to add to it a path to
an executable. So rather than /usr/sbin/grub-install/grub-install you
should just add /usr/sbin.
White space is significant, so the space before colon would make your command
not work anyway.
Rather than appending to PATH you’ve overwritten the variable. Instead you
need PATH="$PATH:/usr/sbin/:/usr/local/sbin" (notice $PATH: at the
beginning of the assignment).
Also, export is unnecessary since PATH is already an environment variable.
(That’s also bashism but that’s likely an irrelevant issue).
It’s been years since editors started getting their packages. I would guess Emacs was late to the game actually. If you’re only ever used notepad, the manager is there to install additional features such as syntax support for new languages, refactoring tools, navigation commands and more.
Maybe those would help (although using those would require changing how you do emails and it’s not a solution for Android):
offlineimap in case you need something to fetch your IMAP emails.
gmailieer is a tool which uses Gmail API to fetch emails.
notmuch is a tool which indexes your email. You can assign whatever labels you want and rather than folders it uses tags.
For notmuch you then need a front-end which can display the emails. I use Emacs for that. And since notmuch uses tags, you can then create whatever ‘folders’ by making saved searches.
I’m essentially trying to find the most performant way to get a simple read/write buffer.
Stack is hot so it’s probably better to put things there than to have static
array which is out of memory cache and whose address is out of TLB.
To answer your question, yes, this is undefined behaviour if the function is
called from multiple threads. It’s also undefined behaviour if, by accident, you take second reference to the array.
It’s unlikely that you really need to do anything fancy. I/O is usually orders
of magnitude slower than dealing with memory buffers. Unless you profile your
code and find the bottleneck, I’d advice against static mutable buffer.
Tag is what goes after the struct keyword to allow referring to the struct type. Structs don’t have to have a tag. Name is what field are called. Adapting Obin’s example:
struct foo { int baz; };
struct bar { struct foo qux; };
struct bar data;
data.qux.baz = 0;
foo and bar are tags for struct foo and struct bar types respectively; baz and qux are field names; and data is a variable name.
This is hardly newsworthy. If the extensions were called ‘Jabberwocky C Extennsions’ no one would have cared. The extension allows for tagged unnamed structs inside of a struct, e.g.:
You have only yourself to blame then. You’ve chosen a distribution which expects users to learn how the system works and it’s on you to figure out how to suspend the system.
I think the laptop bios battery is dying
This is unlikely. If the battery was dying, you’d be loosing BIOS/UEFI settings including time. Once the computer starts up, the battery is unused.
That’s also my thinking, but it does add some visual clutter plus wouldn’t the counterargument be that people who really care can use their own user styles or extensions, or look at the status bar?