Categories
Apple Errors Software

Mac OS X Mavericks + VLC top bar

Mavericks, and its new “multi display support” adds a grey-ish bar to the top of VLC when watching anything full screen.

VLC-fullscreen-header

I never found a way to get rid of it, and it has annoyed me ever since. Until yesterday…

This is how to get rid of it:

  1. play movie
  2. drag to 2nd screen
  3. click Video > Float on Top
  4. go full screen (cmd+F or Video > Fullscreen)

float-that-shit

Keep in mind, that once you get out of full screen, and get back in it, the bar will be back. Enabling and disabling the above mentioned option won’t change it anymore. The only solution I’ve found was to quit VLC entirely, reopen it, go back the where the movie was, click the option, and go full screen…

plxthx for buggy releases.

Edit: Today I am unable to apply my above mentioned ‘fix’. I have however found another option under VLC preferences: “Interface > Use the native fullscreen mode”. Deselect that option, and it seems to be working.

Categories
Errors Windows

5 Reasons The Guy Fixing Your Computer Hates You

Categories
Apple Errors Software

Mac OS X: Mavericks causes CPU fan to run at full speed

I’ve noticed that, after upgrading from Mountain Lion to Mavericks on my borrowed MBA, my fan was running a lot… and loudly. As in, moving my mouse caused the fan to run at full speed.

I tried rebooting (and unchecking “reopen apps at startup”), which helped for about 5 minutes.

I tried closing down apps (which helped; especially keeping Mail closed helped a lot). But even watching a YouTube or playing Music on Google Music caused the CPU fan to start spinning way louder than before.

It quickly came to a point it started driving my crazy and I had a really loud machine which was also sluggish and laggy at some random points (=> not sure if it’s related, but I haven’t had it since).

The thing I tried was a SMC reset, and that did the trick. Since then I haven’t heard the fan on normal load anymore.

Do this (on an Air):

  1. Turn off the Mac
  2. Be sure it’s connected to the Magsafe
  3. Hit left shift + ctrl + alt (option) + power (like just one second or something apparently)
  4. release the keys
  5. and boot normally (hit power button)
  6. that should be it

More info on a SMC reset is here.

Categories
Errors Linux Networking Software

Powerdns no answer on A records and others

Observed:

mother ~ # dig mother.titify.com

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> mother.titify.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12227
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;mother.titify.com. IN A

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Sep 28 18:08:19 2013
;; MSG SIZE rcvd: 35

As you can see, there is a QUESTION section, but no ANSWER. This is an example with a CNAME:

airgul ~ $ dig netly.io

; <<>> DiG 9.8.5-P1 <<>> netly.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2513
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;netly.io. IN A

;; ANSWER SECTION:
netly.io. 21600 IN CNAME mother.netly.io.
mother.netly.io. 21600 IN CNAME mother.titify.com.

;; Query time: 277 msec
;; SERVER: 10.60.111.1#53(10.60.111.1)
;; WHEN: Sat Sep 28 20:06:00 CEST 2013
;; MSG SIZE rcvd: 78

Solution:

mother # /etc/init.d/pdns stop
mother # /etc/init.d/pdns monitor

Will probably give an error message such as:

Sep 28 18:08:02 Should not get here (ns1.titify.com|1): 
please run pdnssec rectify-zone titify.com
Sep 28 18:08:02 Should not get here (ns2.titify.com|1): 
please run pdnssec rectify-zone titify.com
Sep 28 18:08:02 Should not get here (ns1.netly.io|1): 
please run pdnssec rectify-zone titify.com
Sep 28 18:08:02 Should not get here (ns2.netly.io|1): 
please run pdnssec rectify-zone titify.com
Sep 28 18:08:10 Should not get here (mother.titify.com|1): 
please run pdnssec rectify-zone titify.com
Sep 28 18:08:19 Should not get here (mother.titify.com|1): 
please run pdnssec rectify-zone titify.com

Execute that command:

pdnssec rectify-zone titify.com

and it’s magically fixed.

Categories
Errors Linux Software VM

Hint of the day: run-parts and not executing files

If you have a rc.local looking like this:

/bin/run-parts /etc/rc.local.d

and files in /etc/rc.local.d looking like this

hostname.sh sshkeys.sh firstboot.sh

it’s not going to work.

Why, you ask, after cursing and shouting for the past hour?

because run-parts ignores files with dots (“.”) and/or .sh files.

Yes. True story.

rename all the files to:

hostname sshkeys firstboot

and your problem will be solved (and of course chmod +x them).