Skip to content

u/m42a

In this archive from Jun 2011 to Feb 2018

5
posts
266
comments
0
media
794
score

It worked for me when I changed the git source to git+https://git.videolan.org/git/vlc/vlc-3.0.git#tag=3.0.0-2, and since that changes the checkout directory I also needed to change every instance of $_name in a path to $_name-3.0.

1 points

You can change fonts by putting ^fn(fontname) before the text that is supposed to be in the new font. You could also export the icons to XBM images and load them with ^i(/path/to/icon).

2 points

That's not true. It says right in the blog post that libstdc++ will contain old and new symbols, and even tells you how to do this in your own library.

The problem is it's a lot of work for a temporary benefit, so unless you want to provide support for people using both the old and new ABIs in a single binary making them recompile is easier.

0 points

Yes, all processes not run by you will not be affected by libeatmydata. As for whether databases will be rebuilt, that depends on how corrupt the database is and if the program is coded to rebuild it. Photo and music databases can probably be rebuilt from scratch (assuming they don't contain custom metadata), but if your Firefox profile is badly screwed up you'll have to wipe it and make a new one.

3 points

No, there's no corruption going on in the background. However, there could be corruption if you have a crash. For example, the rather popular SQLite library guarantees that its data is in a consistent state, even if you kill -9 it in the middle of doing something or someone trips and pulls out your power cord and battery. libeatmydata makes the program not do the extra work required for this consistency, which speeds things up at the cost of reliability. But nothing is being corrupted in the background, it only might be when a crash occurs.

3 points

Traditional Linux filesystems guarantee that file renames are atomic. Therefore, the standard way of updating files atomically is to create a new file, write the updated data there, and then rename it to the desired filename, overwriting the previous file. If there is a crash you will either get the old data or the new data; nothing will be corrupted.

4 points

^ is a characterwise operator, whereas _ is a linewise operator. That means if you do d^ it will delete from the beginning of the line to the cursor position but d_ will act like dd and delete the whole line.

IMO ^ is also easier to remember because of its use in regular expressions.

1 points

A debit card is like a credit card, but instead of accumulating credit which you have to pay off every month or so, it immediately removes the money from your bank account when you make a purchase.

3 points

In whatever file your login manager runs (probably ~/.xinitrc) put the line xrdb -merge ~/.Xresources (or you can pick a different filename if you want, but .Xresources is the standard). Then you place whatever customizations you want in there. For reference, here are mine. You can look up the properties you want to set in the urxvt man page, and there are examples in the section 7 urxvt man page.

1 points
while true; do
	if ping -c 1 $address > /dev/null; then
		true
	else
		beep
	fi
	sleep 1
done

If you don't have beep, replace it with some other program that makes noise (like printf '\b' or cvlc beep.wav).

2 points

This highlighting is normal. You have spell checking enabled, which highlights spelling errors with a pink background, and capitalization errors with a blue background. You can change these colors with the :highlight command. Run :h spell to find the highlighting groups you want to change and :h :highlight to find how to change them. You can also disable spell checking completely with set nospell, or use gvim which has MSOffice-style squiggly underlines instead of background highlighting.

5 points

So I realized I could just view the logs by using the --since and --until flags to get the specific time slice. They were filled with errors from systemd trying to start, in parallel, about 100 instances of bumblebee, failing, and retrying again and again and again for 8 hours. I don't know why that happened or why it caused journald to ignore its disk quota, but it hasn't happened since then, and nothing seems to be broken after removing the logs with rm.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.