Skip to main content
John Brandenburg

Main navigation

  • Home
  • About Me
  • Tech
  • Voting Rights
    • Close Polling Stations:
    • Reject Absentee Ballots
    • 482,000 de-registered voters in Wisconsin since 2016
    • Deceptive Practices by poll workers
    • Gerrymandering
    • Lack of Early Voting
    • Purge Voters
    • Removing Voting Rights from Former Felons
    • Unreliable Voting Equipment
    • Voter ID Laws
User account menu
  • Log in
By John, 20 January, 2017

Be careful with copy paste: Encoding hell

I shouldn't have to say this to the type of person who follows this site, which is mostly myself, and a bunch of trump supporting Russians that speak very strange languages... but here is a reminder to be careful when copy-pasting code, especially from comments/descriptions from a ticketing system. Depending on your operating system, the following lines will look identical, but there is a subtle difference. 

Tags

  • Tech
By John, 13 December, 2016

Public Astronomy Night with the Analemma Society

I went to my first public night with the Analemma Society on Dec 9th at Turner Farm park in Great Falls. It was an amazing experience. A friend and I went thinking it would just be a typical astronomy meetup, in a field, with a few enthusiasts and their scopes (since this was our first meetup, we had no idea, but this seemed like a reasonable expectation). In reality, the Analemma society had just opened their roll-top observatory, with three permanently mounted telescopes, all open to the public. 

Tags

  • Astronomy
By John, 16 November, 2016

Duncan Cam has been retired.

My apologies if you have been mislead here. I once had a web-came set up to watch my cat. It's gone now. If you would like to see my cat, he has several pictures up on facebook.

By John, 11 November, 2016

drush up and drush dl failing

I've noticed an issue crop up recently where drush seems unable to download new modules, or update existing ones with the drush dl and drush up commands. The issue is that some versions of wget shipped with Redhat Enterprise Linux failed to check SAN names in certificates properly. This article from fastly explains the issue well. Note that Drupal.org hosts its updates server on fastly. 

You can see where drush is failing by using the verbose flags

Tags

  • Drupal 7
  • Drupal 8
  • drush
  • wget
  • Tech
By John, 14 July, 2016
Polaris

Entering Astronomy

Recently, I've taken up an interest in Astronomy. My folks acquired an Orion Skyview Deluxe 6" EQ telescope last year (basically a older version of this bad boy), and after some time collecting dust, I grabbed it and and started teaching myself the ropes. I was inspired to  start the hobby after spending an evening looking at the Star Walk app, which came a week after I had watched the movie Contact (for the umteenth time).

Tags

  • Astronomy
By John, 14 July, 2016

Contribigeddon

So yesterday was another big one for anyone who maintains Drupal sites. If you haven't patched your sites by now, you should assume at this point that any site you maintain with the Coder, RestWS or Webform Multiple File Upload modules has been compromised.

Tags

  • Tech
  • Security
  • Drupal 7
By John, 24 May, 2016

Missing widget.js or iframedialog.js? It may be due to Ckeditor module's mysterious install process

Here I go, still posting articles on Drupal 7, but hey, maybe someone will find these useful since that version isn't going away any time soon. Now how about a little SEO for the error message:

Tags

  • Tech
  • Drupal 7
By John, 17 May, 2016

Date Granularity in PHP and Drupal. Or where did this 11-30 come from?

TL;DR: Why are my dates being converted to November 30th in PHP? Because zero is an invalid month and day.

One thing that strikes me odd is how to handle dates with wide granularities in PHP, and Drupal as usual. I came across this problem in a content migration project. In Drupal 6, a date field that was only granular to the year would like something like this:

2016-00-00T00:00:00

However, a date field in D6 might look like this:

2016-01-01 00:00:00 

Tags

  • Tech
  • PHP
By John, 16 March, 2016

Storing translation files on Acquia hosted platforms

I ran into an issue where I was not able to use the Localization update module in Drupal on an Acquia hosted site. This is because the default location where the module stores translation files, sites/all/translations could not be created due to this directory being write protected. I suppse write protecting any directory location that could contain executable code is a good practice. 

Tags

  • Tech
  • Hosting
  • Acquia
  • Internationalization
By John, 25 February, 2016

Why is Drupal using the page title "Search result" for my menu link title?

This is an odd one. I had a Drupal site, which when I tried to rename a menu link, would revert to using the title of the destination page instead of the text I entered for the title. For example, I have a Apachesolr search page that allows you to search for users on the site. When you are on the page, the title appears as "Search Results." Nothing unusual there. But, I wanted the menu item that allows users to get to the page to use the text "Member Directory." However, after saving the menu link, the text reverted to using "Search Results" in the menu instead of "Member Directory"

Tags

  • Drupal 7
  • Apache Solr Search
  • Menu
  • Translation
  • Internationalization

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Next page
  • Last page
RSS feed
Powered by Drupal