Category: Technology

  • Making changes to a GitHub PR branch on a fork

    A while back, GitHub added a setting for contributors to allow maintainers of a repo to push changes to a pull request branch of their fork. I've been doing a lot more work in GitHub recently and figured I'd document my Git process for handling pull requests where you just want to close up a couple small things in a given time frame and/or the originator isn't very responsive. IMO this makes it much easier to retain the commit history giving credit to the other person but still move existing PRs forward.

    The essence of my process is to add their fork as a remote, switch to that branch, do stuff and commit, and then push to it. It's not really a whole lot, but I've found that very specific snippets come in very handy, even if they're short and straight-forward. I also don't like the instructions GitHub gives for making changes to a fork's branch. So, that gives us (using a real recent example):

    git remote add KZeni
    git fetch KZeni
    git checkout –track KZeni/patch-1
    git commit
    git push KZeni patch-1

    If you use hub (I don't), I believe you can skip the first command as fetch will add the remote for you if it's not recognized. There's also the popular Git Extras, which has a pr command, but from what I've tested it doesn't use the actual remote branch the PR originates from even if you specify the remote, but rather the pulls/### branch GitHub makes for you. If you use (or decide to write) a Git helper that does the remote adding/fetching/checkout for you (e.g. git pr KZeni/patch-1 or even making it so that git pr ### could detect the remote fork and branch for that PR), let me know!

  • has a new theme and I live-tweeted what it was like to get here

    You know what makes me love WordPress even with its rough spots? That I can just copy-paste the URL to this collection below into the visual editor and I get a magic oEmbed preview. It’s my most favorite thing and it’s not just because I’m partial to what went into 4.0.

    Also I wrote up a summary of thoughts over on my WordPress-specific blog.

  • helen blog, now at!

    I have called my blog “helen blog” since the tail end of my Blogger days, and kept the name when I made the switch to WordPress (a very good switch for me, it turns out). It seems fitting that it finally gets to actually live at, and I decided to do the right thing and move to HTTPS while I was at it.

    .blog is available for “landrush” applications through Automattic, which runs the service. is great, and I keep my WordPress-specific thoughts over there for a number of reasons, but I like running WordPress for myself so I remain a user. It’s humbling, really. The trepidation of hitting the switch on a domain name change, navigating the HTTPS waters – even before getting to the WordPress part, running a site can be hard. And then there’s the WordPress part, which I’m always trying to make better.

    I have to thank two tools in particular for making this a relatively easy move (for a developer). First is wp-cli, whose search-replace command saved my sanity. The other is Let’s Encrypt, which makes running my personal site over HTTPS practical. With those, I have to give a shout to this site’s host, SiteGround, which provides wp-cli by default and Let’s Encrypt through cPanel even for shared hosting, making all of this as painless as possible. They also have supported using PHP 7.0 since beta, which combined with this site running nightlies, makes me quite the tester of my own breakage 🙂

  • What’s in my laptop bag

    What’s in my laptop bag

    I enjoy people’s “what’s in my bag” posts, but almost never see unapologetically feminine tech-oriented ones. So here’s mine! Not everything is in this bag all the time, but most of it is, whether I’m working out of a local coffee shop or flying internationally. There are some other things that make their way into my laptop bag from time to time, like my makeup bag or Bluetooth speaker or shoes (and there is space left for all of that), but those are deliberate decisions, not just a standard carry. With everything in the photo, it’s about 10 pounds.

    Roughly going from left to right, top half then bottom half:

    1. Baggalini Alfa laptop tote. Apparently not actually available anymore, but I like almost everything about it and there are similar ones out there. Lots of pockets, holds a surprising amount of stuff (as you can see), short and long straps, fits under an airplane seat, brightly colored lining so I can see my things, structured bottom with feet, and can slide over the handle of a rolling suitcase. Sometimes the back zippers come open while walking (pulls that snap in place would be awesome) and they can rub against clothes, and I don’t particularly like nylon bags, but a leather or fake leather bag of this size would be unusably heavy.
    2. Bags within bags: a cheapo purse organizer and another little bag I got with some makeup samples. Most of the smaller things in the picture go in here, which I can throw into other bags if I need to or take out and put on a table. The smaller bag holds cables and goes inside the organizer.
    3. Uniqlo pocketable long hooded jacket. Weather is unpredictable and I rarely remember umbrellas; this thing is water-repellent and, because it’s long with an adjustable elastic waist, can go over my bag when worn cross-body. The lining of my laptop bag is actually a very similar magenta; it just doesn’t show up in the photo. I did not coordinate them on purpose.
    4. Small notebooks. These frequently come in handy for scribbling down thoughts or sketching ideas, and give the purse organizer more structure. 🙂
    5. Battery packs. The Jetpack one is particularly nice. I will probably get a battery pack that has USB-C at some point and replace the other one, but I like having more than one to account for having to charge them and dealing with multiple devices.
    6. Retractable USB cables with dual micro USB and Lightning ends. Being retractable keeps things neat, and the ability to connect both micro USB and Lightning devices means that I really just need the two even though there are way more than two devices in my bag that need charging.
    7. Portable power strip. USB ports that can provide up to 2.1A, 100V-240V pass-through (the only non-USB type A thing I charge is my laptop, and Apple chargers convert for you), long cable makes awkwardly placed outlets more usable, and stays neat. I am a big fan, and it’s more internationally friendly than the Belkin one a lot of people recommend (which I also have but never carry anymore).
    8. Anker dual USB wall charger. Folding plug, goes up to 2.4A from both ports (especially helpful if I’ve got my/my kid’s not-pictured iPad mini with me).
    9. Apple USB-C wall charger. Maybe someday I’ll jump to a single wall charger for both this and the above.
    10. Apple USB-C charge cable. Important to note that it doesn’t support data transfer.
    11. Karma Go WiFi hotspot. I can tether on my phone too but sometimes I don’t feel like running down its battery or turning it into a portable hand warmer.
    12. Powerbeats 2 wireless earbuds. You don’t have to turn off Bluetooth during take off or landing, so I listen to music from gate to gate without worrying about getting tangled or where exactly my phone is. I also wear these to work out and when walking around/transiting alone (but not too loud, because you still need to hear your surroundings).
    13. Bose earbuds. Bluetooth headphones don’t last forever, and these are easier to deal with for video calls through the computer; I don’t usually pair the Powerbeats with anything other than my phone.
    14. Dell USB-C adapter. Doesn’t have a pass-through for charging, but has both HDMI and VGA to cover whatever projectors I might come across as a speaker, as well as USB and Ethernet. It has a clever little folding cable and is exactly the same size as an Apple earbuds case.
    15. 16 GB USB flash drive. Sometimes sneakernet is still the best way.
    16. 10up hard enamel pin. I am (in)famously not much of a branded t-shirt wearer; pins are way more versatile (conference lanyards!) and I think ours look particularly sharp.
    17. Rose gold MacBook. What can I say, I am madly in love with my pink laptop.
    18. Laptop sleeve. While the bag has a padded laptop compartment, I like having a sleeve both for extra protection and so I can toss it into another bag if I need to. I often put my laptop on top of it instead of directly on tables, and this particular one can function as a little stand, which I haven’t used much yet but seems serviceable.
    19. Roost laptop stand and stand/keyboard/mouse case. I don’t bring this to coffee shops, but it comes with me on longer work trips and family visits. I typically don’t use the case inside this particular bag, but I wasn’t thinking about that when I pulled everything out and didn’t feel like re-doing the photo.
    20. Apple Magic Keyboard and Magic Trackpad 2. I think they are unreasonably expensive but I’m very happy with them anyway.
    21. Articulate clutch/wristlet and its cross-body strap. I backed this on Kickstarter a couple years ago and it is by far the best wallet I’ve ever had; this is actually my second one because I wanted this color, so I gave my original black one to my sister. I don’t even really care about the RFID blocking part they tout – it fits my phone and larger currency, the vertical card slots are awesome, and whatever material it’s made of is extremely sturdy and stays surprisingly clean. My husband has one of their wallets, which is also very nice. The long strap is handy when you’re going out somewhere that won’t have a good place to put the clutch down (e.g. conference after parties). It’s also very pretty. 💁🏻
    22. Credit card holder. I frequently carry just this around town, with car fob attached (keyless entry/start) and my phone. It fits in my back pocket, which is a little easier to deal with than a wristlet when handling a toddler.
    23. Business cards.
    24. Tissues.
    25. Some pens and a mechanical pencil that I wouldn’t be sad to lose. The Staedtler Triplus Ball is a staple (I’ve been a fan of their Triplus writing implements since college oh god I graduated 10 years ago), while the gel/fluid ink ones tend to change fairly often. Right now I am super into the Muji 0.38mm ones.
    26. AX Folding sunglasses. These were supposed to be for my husband but I ended up liking them too much and swiped them back. I also have a cheapo all-plastic pair somewhere; these have a metal bridge, which holds up better.
    27. Folding mirror (the square gray and orange patterned thing).
    28. Mints and gum.
    29. Slip-proof hair tie. My hair is VERY slippery, which I guess is a good quality, so these are the only hair ties that have ever worked for me without having to be tight enough to give you a headache (a very real problem). I do not carry spare ones on my wrists though; those black lines are tattoos. 🙂
    30. Collapsible hair brush. I just realized this one has a mirror inside, which is pretty fancy for something I got at a dollar store.
    31. Body lotion. I started carrying this for tattoo care but it’s generally useful. The Sweethome recently declared this Aveeno one the best lotion for most people. They also sell a bigger tube of it that’s carry-on friendly.
    32. Tweezerman Nail Rescue Kit. The cuticle nippers have saved me a lot of pain, and a nail file is a good thing to have on hand. The pusher/cleaner is more specialized but the flat end is actually pretty useful as a flat-head screwdriver, too. 💪
    33. Fresh Sugar tinted lip balm. The sheer pink of the Rosé one is subtle and universally complementary; just a swipe of this makes me feel more put together.
    34. Compact tampon (multiple). These are critical, and even if you don’t need one that week, you might save somebody else. Sometimes I wish men and other non-menstruating persons would carry one or two just to help with emergency distribution.
    35. Hand lotion. I like citrus scents, so this one is pink grapefruit.
    36. Band-Aids. I usually need them for my heels when I forget that a pair of shoes is still breaking in, so a least a couple of them are those extra sticky tough strip ones.
    37. EOS mint lip balm. Sometimes I don’t want color. Sometimes I’ll let somebody else use it (not just anybody, specific people).
    38. Lactaid. I can handle a little dairy, but like 90%+ of my East Asian peers, I am lactose intolerant. I still enjoy eating things that are heavy on the lactose and you never know where or what you might go eat with other people, so I carry a couple of tiny pills, no big deal. I think there’s even one tucked into the credit card holder.
    39. Kindle Paperwhite.
    40. Folding stand. I actually use this mostly for my Kindle so I can read a little while eating by myself (I should probably just get a case that does this), but it works for my phone, too.
    41. KIND bar. There are usually also other sturdy/portable snacks, like nuts. I am not pleasant when hangry, so this is for everybody’s well-being.
    42. Foldable water bottle. This one was a very welcome piece of swag at WordCamp Europe 2015.
  • 2016 12″ MacBook + desk setup

    I am not an early adopter, but after playing with a 12″ retina MacBook in person last summer, I knew I’d make the jump soon enough. Then the 2016 v2 (or maybe more like v1.5) updates came, and more USB-C peripherals, and that rose gold! Yes, it is very pink – possibly too pink. No, the person who tweeted that it was like having a Michael Kors laptop is not entirely wrong. Doesn’t matter: I am unashamedly into it, and also rather love the idea of having a pink laptop at tech events. 💁🏻👗👠

    I agree with the praise I’ve heard: the weight, the screen, the speaker, the trackpad, the form factor; they’re all amazing. It accomplishes my major goals perfectly – a retina screen and even better portability with the (lack of) weight, smaller size, and quick disconnect from my home workstation. Performance-wise, it is essentially equivalent to the 2013 MacBook Air it’s replacing, but given that I had no problems doing my work with that machine, more power was not critical. I am also perfectly happy with the things most people seem to complain about: the keyboard (yes, it is shallow, and okay the arrow key setup still sucks) and the single USB-C port.

    The single port is completely manageable, and not just through dongles (can we find a better word for these already?). There are a couple of USB-C monitors available as of the last few months, which can send power while receiving the display signal and handling I/O for on-board USB 3 ports. I went with a 2560 x 1440 27″ Acer, which is quite nice and happens to fit my not-black-hardware aesthetic. I am not running it at HiDPI (1280 x 720), for a few reasons: I have been using monitors at this resolution for several years and like my window setup, I am fairly far away from it most of the time, and it’s better for testing and QA – after all, plenty of people are not on HiDPI screens. It does not bother me next to the MacBook’s retina screen.

    I am only using one of the two USB ports that are on the monitor, and that’s for my external hard drive. I have not tested the speed and don’t plan to, but it seems to be working just fine. The thing that looks like a hub in the photo of my desk is just a charger – I almost never do any data transfer over USB besides the external HD, but I do frequently need to charge things at my desk (I also have one of these on my nightstand). If you’re curious about the desk itself, I wrote a little about it here.

    Finally, there are two things under the monitor: Apple earbuds and an identically-sized USB-C dongle. There are lots of these available with various ports, but this Dell one stood out to me for its clever little folding cable and having both VGA and HDMI, which is not very common amongst its peers and fully covers my usual use case for such a thing – giving presentations. The single USB port is all I need; when on the move, I prefer faster charging with a wall charger[1. I have two different USB wall chargers I carry depending on what I’m doing, but the one that’s particularly useful is this power strip with one outlet and four USB ports. It has a long cable, which is super convenient for awkwardly-placed outlets in hotels and Airbnbs, and it handles the higher voltage you find in most of the rest of the world by just passing it through. All I might need for international travel is whichever small plug adapter for the strip itself, as items like Apple chargers and hair dryers also handle high voltage input.] or battery pack with 2.1A output. Having Ethernet is really just a bonus, but chances are it will come in handy someday. I’ve only tested the HDMI and USB ports, both of which work well with the MacBook (didn’t get full resolution on this monitor with the HDMI, though). Sadly, it’s yet-another-piece-of-black-hardware and does not have a USB-C pass-through for charging (I’m highly unlikely to actually need that), but it’s solid and perfect for carrying around in my bag – it will not be on my desk almost ever.