Mobile Friendly (or not)

Monday, November 9th, 2015

I made a few adjustments to this site’s custom theme (the first in years) and Google at least now sees it as mobile friendly. To make it truly mobile friendly, I need to figure out what to about the sidebar.

androidmokka
(more…)

Web Hosting with WYSIWYG Editing

Saturday, March 29th, 2014

I’m looking for a simple HTML web host that is suitable for non-technical users. Here are my absolute requirements:

  1. Must support custom domains (no www.host.com/~username)
  2. Must have a built-in editor that is sufficiently WYSIWYG for someone with zero HTML skills to use. (Google Sites would meet this requirement, for example.)
  3. Must allow me to import an existing site of static HTML pages with all links intact. (Google sites fails this requirement.)
  4. Must not add any sort of header, footer, JavaScript, sidebar, or other junk to the pages. (Google sites also fails this requirement.)
  5. No lockin. All pages must be served in and easily exportable as plain vanilla HTML.

I don’t need databases, JavaScript, or a lot of other advanced features. #1 is commonly met, but everything I’ve looked at so far fails either #2, #3, or #4.

Is there such a product on the market?
(more…)

Upgraded WordPress to 3.5.1

Sunday, May 12th, 2013

Let me know if you see any problems.

The Power of Pomodoros

Friday, February 22nd, 2013

Until recently, I hadn’t paid much attention to Pomodoro, though I’ve heard of it for a few years now. “Uncle Bob” Martin seemed to like it, and he’s usually worth paying attention to in such matters. However, it mostly seemed to me like a way of organizing a variety of tasks and avoiding procrastination, and I’ve never had much trouble with that.

However after the January CFAR workshop suggested it in passing, I decided to give it a try; and I realized I had it all wrong. Pomodoros aren’t (for me) a means of avoiding procrastination or dividing time among projects. They’re a way of blasting through Ugh fields.

Continued on Less Wrong…

Quick Java Favor

Monday, February 18th, 2013

If anyone out there has the JDK installed on Windows, could you run this program and tell me what output you get, and what version of Windows and the JDK you’re using?

import java.nio.charset.*;

public class URLtest {
    public static void main(String[] args) {
        System.out.println(Charset.defaultCharset());
    }
}

Just leave a comment with the info. Thanks.

Mokka mit Schlag is Back

Sunday, April 8th, 2012

Sometime over the last couple of weeks while I was in Cuba, MySQL corrupted the wp_posts table in my WordPress database. At first I thought I was hacked, but it looks like the database was just corrupted:

mysql> check table wp_posts;
+---------------------------+-------+----------+----------------------------------------------------------------------------------+
| Table                     | Op    | Msg_type | Msg_text                                                                         |
+---------------------------+-------+----------+----------------------------------------------------------------------------------+
| elharo_wordpress.wp_posts | check | warning  | Table is marked as crashed                                                       | 
| elharo_wordpress.wp_posts | check | warning  | Size of indexfile is: 1148225      Should be: 467968                             | 
| elharo_wordpress.wp_posts | check | error    | Can't read indexpage from filepos: 56320                                         | 
| elharo_wordpress.wp_posts | check | Error    | Incorrect key file for table './elharo_wordpress/wp_posts.MYI'; try to repair it | 
| elharo_wordpress.wp_posts | check | error    | Corrupt                                                                          | 
+---------------------------+-------+----------+----------------------------------------------------------------------------------+
5 rows in set (0.00 sec)

mysql> repair table wp_posts;
+---------------------------+--------+----------+----------+
| Table                     | Op     | Msg_type | Msg_text |
+---------------------------+--------+----------+----------+
| elharo_wordpress.wp_posts | repair | status   | OK       | 
+---------------------------+--------+----------+----------+
1 row in set (0.34 sec)

mysql> check table wp_posts;
+---------------------------+-------+----------+----------+
| Table                     | Op    | Msg_type | Msg_text |
+---------------------------+-------+----------+----------+
| elharo_wordpress.wp_posts | check | status   | OK       | 
+---------------------------+-------+----------+----------+
1 row in set (0.08 sec)

I think I’ve fixed this now, but do let me know if you see any lingering problems. Hmm, it does look like the categories may be borked too. I’ll look at that next.
(more…)