Errors

87 posts in Errors

Waze not getting a GPS fix

· Errors, Google, Hardware, Software

TL;DR: recalibrate your compass.

I’ve come across an issue for the past 10 days that Waze kept losing its GPS fix. This meant:

  • constantly switching between 0 and 120 (or whatever) km/h
  • constantly zooming in & out on maps (dynamic zoom level depending on speed)
  • being in a field/not on the road for most of the time, or stuck to a location of many minutes ago
  • often & randomly losing GPS fix (ie middle of the highway without any buildings blocking the line of sight)
  • I could do a 45 minute trip with Waze never getting a GPS fix
  • not knowing road issues (accidents, traffic jams ahead, speed traps, etc)
Things I tried:
  • nothing changed (no new car window, didn't move my phone location in the car, etc)
  • not moving (ie parked car) didn't really improve the GPS fix
  • even left my phone with Waze on in the car for 30 minutes parked (got a fix, but later that evening when driving home it started to lose its GPS fix again)
  • clear Waze cache
  • uninstall Waze completely
  • GPS Essentials showed a fix with 3 or more GPS satellites when Waze couldn't get a fix
  • I was about to find a way to reset my GPS and/or clear its cache (???)
PS: I have had this issue in the past (I believe with the same phone, a Nexus 5), but it went away after several days.

What I did notice, however, is that in Google Maps the arrow (clicking the pin point button twice or something) was pretty much showing the opposite direction of how the car was moving (thus driving backwards at ~120km/h). This made me think, as I know the GPSes in smartphones are quite cheap and aren’t always on (to save battery – my phone is always being charged in the car though) and the phone uses the accelerometer and other sensors to “guess” current path (or rather, path changes, ie taking a turn or slowing down/accelerating).

Courier IMAP and auto deleting trash after 7 days

· Apple, Errors, Linux, Networking, Software

E-mails that had been deleted for over 7 days were automatically removed from the IMAP server. E-mail date was ignored (ie the mail could have been from 2010; the actual time in “Trash” counted). This didn’t happen to other folders (Sent, Archive, Spam). This recently happened and hadn’t happened before.

I had to restore my trash folder from backups every 7 days (yay for rdiff-backup).

It took me a while to figure it out… The problem first appeared in October, right after several big changes:

Mac OS X Mavericks + VLC top bar

· Apple, Errors, Software

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

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

· Apple, Errors, Software

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.

Powerdns no answer on A records and others

· Errors, Linux, Networking, Software

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:

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

· Errors, Linux, Software, Virtualisation

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).

Nexus 4 red light of death (2)

· Errors, Google, Hardware

To continue my story, I replaced the battery with a new, and what appears to be a genuine LG battery (if not, then those Chinese are getting good at it).

It worked and booted, but the battery got drained in ~8 hours (100% to 0%). And it felt a tiny bit warm on the cover, just above the battery (battery area was normal). Especially in my pocket it would get quite warm.