Aubrey Portwood

WordPress — Stoicism — 🎾

wpkickstart 2.0.1 and 2.1.0 plans

| comments

Already (after just releasing 2.0.0) some minor changes in 2.0.1 are in the works that should have made it into 2.0.0 that I hopefully will get out over the weekend. But, also, the next major release 2.1.0 is also being built up which will improve on JS and and SASS development within wpkickstart.

I’ve been in chats with our team at WebDevStudios about this being as an official replacement for our plugin generator (which has been the primary goal of wpkickstart). But before I do my pitch I need to mull over considering the PSR4 standard for e.g. autoloading, namespacing, etc and how that all will fit in with wpkickstart. I’m going to have to give that more consideration before it gets officially pitched at WebDev I think—we’ll see—it has literally been keeping me up at night!

Special thanks to Eric F, Justin F, Ben, Aaron E. for their feedback at WDS.

wp-plugin-boilerplate becomes wpkickstart and turns 2.0.0

| comments

Since I’ve been working @WebDevStudios I have been working on a project to help me build better plugins that I called wp-plugin-boilerplate initially, but is now called wpkickstart and is also updated to do more!

It’s a lot like our internal plugin-generator, in that it gives you a framework to work in, but is a “anti-generator” because it doesn’t generate code for you. I built it because I thought our plugin generator could be better at name-spacing, object-driven development, reuse of code, but also do a lot less (hence the anti-generator part).

wpkickstart is service and component driven where services deliver unique features of your plugin, while components serve to be re-usable bit-and-pieces that can be used over and over easily, and both have high-mobility (meaning code can move around project to project easily). As I used earlier versions of it (when it was called wp-plugin-boilerplate) I continued to refine it so that things got easier and easier to do, and made it as modern as I could without sacrificing ease-of-use, and now it’s ready to be used.

Everything is done via wp cli commands. Once you have it installed and activated (which you can do easily with wp too) all you have to do is run wp kickstart build, and give it a little bit of information about your project, and it builds a starting-point for your plugin/project.

It features an app() function that you can use to talk to different things in your project, uses an easy-to-get structure, and then it’s all up to you what you build!

Want to find out more? I’ve filled the Wiki with lots of information so that using and understanding it is easy.

35.0 OctoPress

| comments

So, all weekend I’ve been working on reviving my site, aubreypwd.com. It has been commissioned for a number of reasons in the past:

  1. Not updating all that often
  2. Out of date content
  3. I have Twitter now ¯\_(ツ)_/¯
  4. Lost a lot of content
  5. Lost a lot of images
  6. etc

But, this weekend, I was able to recover some very old posts. And I also forked a theme I’ve always loved, OctoPress Classic, and was able to get it up and running in WordPress.

So here’s version 35, using OctoPress, which includes (incomplete) content from post 2014—all the way back to 2009, when I’m pretty sure this blog was started (back when it was enethrie.com). A lot of the content, as mentioned, is incomplete, and I’ll be spending the next few days editing some of the content and-reorganizing it.

Also, this blog needed an update…last time I updated it was in 2016!

It has no longer been 2 years since Easy Photo Album has been updated! 1.3.6 is out!

| comments

As a part of Five for the Future at WebDevStudios we get to work on Open Source WordPress projects every last Friday of the month all day, and as a result I was able to help the 7000+ Easy Photo Album get a working plugin.

Easy Photo Album is a plugin that I crossed while helping some users with this support request. I noticed that the plugin was old and hadn’t been updated in over 2 years! I tried to contact the owner for a few months, and finally we were able to work together to get the plugin updated at last!

1.3.6

1.3.6 features major updates to get the plugin working again:

  • Major fixes to missing minified files (previously fixed in 1.3.5 but came back) and WP Media
  • Simplified screen for creating Albums so Saving/Publishing is easier to understand
  • Fixes to TinyMCE button/modal when no albums were created
  • Can now organize Albums into categories called “Shelves,” props @kammak

Now on Github!

The plugins development is now on Github where other’s can contribute!

The Future

This plugin is used by a lot of people, so I would hope that I can help in contributing more! If you have any ideas or feedback, checkout the Support page on WordPress.org. This is why I love OSS!

The Story of My Life in Computers: The Apple //e

| comments

 

As far back as I can remember back to how all this began, I always remember my first computer, an Apple //e. It’s an icon of my beginnings. I remember it looked like the image above. Same large 5 1/2″ floppy drives all mushed up into one big block. I remember the odd power button on the top right of the monitor. I also remember just taking the plastic off and poking at the innards, even removing a chip or two just to look at it. Of course, I put it back.

The //e always gets credit for being the computer. I still wish I had one now, just to play with. It’s amazing how far things have come along since then. Now, it was probably 1992 or something close to that. I had this computer while others had much different one’s and the Internet was around the corner.

My mother got it at a garage sale. She had no idea how it worked, I doubt she had even really used a computer, but she handed it to me and I remember being in awe. A TV that I could put things on myself.

It came with some original floppy disks but all I could ever get was a prompt on the screen. I probably spent 2 days figuring this thing out. I remember typing nonsense on it at first. I looked through the manual that came with it as I got an error here and there. As far as I can tell, programming came naturally to me. Type that, then type that, then GOTO 10, type RUN and it went through the steps. After a few weeks I imagine I was on it all the time making these programs. I remember being specifically fascinated with making a digital pet, well maybe really just a digital friend.

I spent a great deal of my time inside anyways. I was obsessed with club houses, secret rooms and the like. I remember I took the bottom bunk because I could drape a sheet over the edges and have my own little space. I also liked rooms, organizing them, setting up my little space. The //e can vaguely be remember sitting command center style dead center on a long desk I had constructed out of probably 3 or 4 different desks or tables. I spent hours deciding if the floppy drive should go under the monitor or to the right of me with something on it. The //e had fit directly into my organized structure life, and so did programming I guess.

I had eventually learned (though I can’t remember how) to save the programs from memory to a floppy disk. I can’t really remember what these programs were, I just remember typing GOTO 12 this and GOTO 54 a lot, but can’t seem to recall what it would do when it got to the line. But, I will never forget the symbol ], on the //e that was the prompt.

Bring an Apple to School

No one saw my creations but me. I never showed it off and no one ever really knew what I was doing. Well that was until my 4th grade teacher got uncomfortable that I wasn’t playing some game on the Apple’s at school.

I remember the school got some of these computers. They took up a lot of room in the classroom, piled onto 6 desks all stacked up next to each other. They were exactly like mine at home.

I remember being kicked off computer quite often because I knew how to get to the prompt and do things there. I even brought my own programs over on 5 1/2″ floppies. I never thought it then, but maybe Ms. Amen, my teacher, thought I was hacking, or maybe she just didn’t know what the hell I was doing. Were viruses a thing back then? I don’t know, but what I was doing wasn’t what the other kids were doing on them.

I have no idea, but I’d like to imagine my teacher knew exactly what I was doing and was encouraging me by letting me type odd things on a computer. I remember staying after school to be on the //e at school. When you start creating something in memory, well you have to finish!

But she let me do it. After getting kicked off a few times I think Ms. Amen discovered what I was doing was harmless, and it was! I can’t even remember what I was coding. I remember realizing how cool it was to move programs from computer to computer.

IBM took over Apple

When I was a kid, I was maybe 11 or 12, I had no idea what or who IBM was. All I knew was that my Apple was not loading, something was wrong. My mom decided to take my computer to an IBM store in Roswell, New Mexico. If only I had knew that it would be the last time I’d see my Apple computer.

I did not know it at the time, but I think my mom could not afford to fix the computer. I remember being very weirded out by the people there. Big glasses, suites…old. Were those computer people? I’m not sure if I’m putting a memory in my own head, but I think I knew something was different about IBM. Even the logo seemed different than the cool //e one, just didn’t seem like my //e was in the right place — and I was right!

Anyhow, we left it there to get fixed. I remember going back a few times to check on it. I grew up in a small farm town south of Roswell and so it was a trip and so I’d only get to check on it every couple of weeks. But, something on the board had fried and it was in some room filled with cubicles. The place didn’t even have a sign, it had some IBM thing in the corner of the window. I never saw the //e again. I think they hated it, maybe the burned it!

I think my mom couldn’t afford to pay them to fix it. I still imagine it there actually. Like if I went in one day it might still be there. When I go back into town I don’t even go by the area where the computer repair place was. I kind of like it that way.

Anyway, I had no computer. I had to go back to being a normal kid again. I went outside and I even picked up smoking. I can’t remember what happened, did I just not care anymore or did I just genuinely get distracted by being a kid? All I know was that I remember being bummed out that my great friend the //e was not coming back, but I think I accepted that it was forever going to be hidden in that cubical filled room.

My Enneagram Type is Type 1, The Reformer

| comments

Enneagram Type 1 – The Reformer

Perfectionists, responsible, fixated on improvement

People of this personality type are essentially looking to make things better, as they think nothing is ever quite good enough. This makes them perfectionists who desire to reform and improve; idealists who strive to make order out of the omnipresent chaos.

Ones have a fine eye for detail. They are always aware of the flaws in themselves, others and the situations in which they find themselves. This triggers their need to improve, which can be beneficial for all concerned, but which can also prove to be burdensome to both the One and those who are on the receiving end of the One’s reform efforts.

The One’s inability to achieve the perfection they desire feeds their feelings of guilt for having fallen short, and fuels their incipient anger against an imperfect world. Ones, however, tend to feel guilty about their anger. Anger is a “bad” emotion, and Ones strive sincerely and wholeheartedly to be “good.” Anger is therefore vigorously repressed from consciousness, bursting forth in occasional fits of temper, but usually manifesting in one of its many less obvious permutations – impatience, frustration, annoyance and judgmental criticality. For this reason, Ones can be difficult to live with, but, on the high side, they tend to be loyal, responsible and capable partners and friends.

Ones are serious people; they tend to be highly principled, competent and uncompromising. They follow the rules and expect others to do so as well. Because they believe so thoroughly in their convictions, they are often excellent leaders who can inspire those who follow them with their own vision of excellence. Reform movements are frequently spearheaded by Ones.

Ones are often driven and ambitious, and are sometimes workaholics. But whatever their professional involvement, they are definitely active, practical people who get things done. They are natural born organizers, listmakers who finish everything on the list, the last one to leave the office, the first one to return, industrious, reliable, honest and dutiful.

The relentlessness of their pursuit of the ideal can make Ones tense people who have a hard time relaxing and who unnecessarily deny themselves many of the harmless pleasures of life. They tend to be emotionally repressed and uncomfortable with expressing tender feelings; they generally see emotionality as a sign of weakness and lack of control. They are seldom spontaneous. They have multiple interests and talents however; they are self-reliant and seldom run out of things to do.

Ones are often intelligent and independent and can easily mistake themselves for Fives, but unlike Fives, Ones are primarily people of action, not thought. Ones tend to worry and are prone to anxiety and can sometimes mistype as Sixes, but they are far less affiliative than Sixes and their standards are not reached by seeking consensus with a group. Finally, the relentless pursuit of perfection can take its toll and lead to depression. At such times, a One can mistype as a Four. But Fours have a tendency towards self-indulgence whereas Ones are self-denying. Fours are emotionally expressive; Ones are emotionally constrained.

Wing, 2

I was also described to have a “wing” of Type 2, The Helper:

Enneagram Type 2 – The Helper

Helpers who need to be needed

People of this personality type essentially feel that they are worthy insofar as they are helpful to others. Love is their highest ideal. Selflessness is their duty. Giving to others is their reason for being. Involved, socially aware, usually extroverted, Twos are the type of people who remember everyone’s birthday and who go the extra mile to help out a co-worker, spouse or friend in need.

Twos are warm, emotional people who care a great deal about their personal relationships, devote an enormous amount of energy to them, and who expect to be appreciated for their efforts. They are practical people who thrive in the helping professions and who know how to make a home comfortable and inviting. Helping others makes Twos feel good about themselves; being needed makes them feel important; being selfless, makes Twos feel virtuous. Much of a Two’s self-image revolves around these issues, and any threat to that self-image is scarcely tolerated. Twos are thoroughly convinced of their selflessness, and it is true that they are frequently genuinely helpful and concerned about others. It is equally true, however, that Twos require appreciation; they need to be needed. Their love is not entirely without ulterior motive.

Twos often develop a sense of entitlement when it comes to the people closest to them. Because they have extended themselves for others, they begin to feel that gratitude is owed to them. They can become intrusive and demanding if their often unacknowledged emotional needs go unmet. They can be bossy and manipulative, feeling entirely justified in being so, because they “have earned the right” and their intentions are good. The darkest side of the type Two fixation appears when the Two begins to feel that they will never receive the love they deserve for all of their efforts. Under such circumstances, they can become hysterical, irrational and even abusive.

Because Twos are generally helping others meet their needs, they can forget to take care of their own. This can lead to physical burnout, emotional exhaustion and emotional volatility. Twos need to learn that they can only be of true service to others if they are healthy, balanced and centered in themselves.

Twos can mistype themselves if they are not in an obvious helper role in their professional lives; they might not recognize the extent of their involvement in assisting others. This is especially true for male Twos, who have not received the same social rewards for helping as female Twos receive. Male Twos frequently mistype as Ones or Threes, the wings of type Two. Females, of all types, are bound to recognize some of the dynamics of type Two in their personalities, as such qualities have been socially reinforced. Female Nines, for instance, are especially prone to mistyping as Twos, particularly if they are the mothers of small children. But Nines are self-effacing and humble; Twos are proud and have a strong sense of their own worth.

Copyright eclecticenergies, https://www.eclecticenergies.com/enneagram/

Notice: bp_setup_current_user was called incorrectly [FIX]

| comments

Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /…/wp-includes/functions.php on line 3622

If you’re getting the above notice, you’re going to need to disable _doing_it_wrong for the bbp_setup_current_user() function, here’s how!

/**
 * Disables trigger_error for doing_it_wrong_trigger_error filter.
 *
 * @return boolean false disables the if condition to trigger the error display.
 */
function remove_bbp_setup_current_user_notice_filter() {
    return false; // Disable trigger_error.
}

/**
 * If bbp_setup_current_user() runs _doing_it_wrong(), disable trigger_error.
 *
 * @param  string $function The function, here we test for bbp_setup_current_user().
 * @param  string $message  The message (no modifications here).
 * @param  string $version  Version (not used here).
 */
function remove_bbp_setup_current_user_notice( $function, $message, $version ) {
    if( 'bbp_setup_current_user' === $function ) {

        // Filter trigger_error
        add_filter( 'doing_it_wrong_trigger_error', 'remove_bbp_setup_current_user_notice_filter' );
    }
}
add_action( 'doing_it_wrong_run', 'remove_bbp_setup_current_user_notice', 10, 3 );

WP NoteUp 1.1 “Cube”

| 3 comments

WP NoteUp, dubbed “Cube” (read more about Ice Cube) was just released to WordPress.org! Development around Cube was focused around releasing a version of NoteUp that allowed the user to format their notes, e.g.:

WP NoteUp 1.1 Cube

All the new features were accomplished because of the great CMB2 (which we use @WebDevStudios all the time). Now you can bold, italic, add links and images. You can even add bulleted lists.

I hope this allows users to really get more out of having a place to put content or takes notes without having to fudge up your content. If you enjoyed the update, let me know in the comments!

Checkout the plugin on WordPress.org, or checkout out development of 1.2 at Github

Why I switched back to Mailbox from Mail.app

| comments

Screen Shot 2015-08-09 at 11.28.31 AM

Yesterday I re-installed Mailbox after about a 3 week hiatus in which I went back to old-school Mail.app.

First, Mail.app is a great mail program, don’t get me wrong. The reason I went back to it was it’s “just works” thing it does where emails load correctly, contacts work together right, etc. But, after just a few weeks of using it I really felt like my email was getting out of control again. I got a little spoiled by Mailbox, really my email was “back to normal.” Hundreds of emails were in my Inbox, some to be buried forever as I was not going to scroll down through each one and….no, not going to do that.

Mailbox, however, with it’s deal with email later philosophy really helps me be in control of consuming my email. The problem with Mail.app is that when I get an email I don’t have time to consume it right then. I’m an extremely focused individual, I do not need to be carried off into email when I’m trying to do something else. The real kicker feature of Mailbox is the ability to delay an email until another time when you are most likely to be able to consume it.

So, after really getting a chance to compare a traditional email application to Mailbox, there is real value in being able to delay the consumption of email in order to remain in control of it. I’m much happier with Mailbox, even given it’s youth and lack of maturity in composing emails.

Checkout http://www.tabsnooze.com/ which let’s you delay content you open in tabs until another time….it’s great, does the same thing.