Scott M
  • Member for 3 years, 7 months
  • Last seen more than a month ago
  • Elsewhere, reaching for Beyond
3 answers
4 votes
4k views
GTK+3 change text color in a label (raspberry pi)
Accepted answer
6 votes

Oh my gosh. I'm documenting this so no one will suffer the way I suffered. If you want runtime control of your text, do not under any circumstances use Glade to set the foreground color with Edit ...

View answer
2 answers
2 votes
528 views
Linux TCP, how to debug unexpected delays writing a stream?
Accepted answer
1 votes

Well, that was the clue I needed. I found this when I got curious about MTU sizes: /sys/class/net/enp1s0/mtu:1500 /sys/class/net/lo/mtu:65536 /sys/class/net/wlp2s0/mtu:1500 All good, but wlp looked ...

View answer
1 answers
1 votes
343 views
Problem with system wide file handle count
Accepted answer
1 votes

It turns out that at least in Linux 2.6, it's possible for defunct processes to hold on to file handles. I have no idea how, but when we forcibly cleaned up defunct sshd processes, the handle count ...

View answer
1 answers
0 votes
24 views
service starts before /dev/serial is set up, how to prevent?
0 votes

No one seems to know how to do this, and I ended up coding a thread that just hangs around, periodically checking for /dev/serial/by-id and then harvesting what it finds there. It works, but it's ...

View answer
2 answers
1 votes
3k views
Cannot get Intel NUC out of fast boot mode
Accepted answer
0 votes

The problem was: I'm an idiot. The hardware is actually an Azulle Inspire and not a NUC at all. I wish manufacturers would put labels on this maze of twisty little black boxes, all alike. To get to ...

View answer
1 answers
1 votes
441 views
apache: password protect a cgi-bin app?
Accepted answer
0 votes

<Location> turns out to be the way. It's just like <Directory> but you specify a url path not a filesystem path, so /cgi-bin/particularScript is the thing to use. In my experience, ...

View answer