Posting on Unposting

TL;DR is that I’m back in the job market, contract or full-time. Hit me up if interested.

A little over a year ago, I moved to Facebook to work again on mesh networks, among other things. This has mostly been a great experience: we have built some very large networks in parts of the world that were sorely lacking infrastructure, and we did it all on relatively low budget. The project continues and has been a great success in my book.

What has followed since then has been one of the more bizarre [1] encounters with big company bureaucracy of my career. Due to annoying residency details, all this time I have been working on a contract basis (“Contingent Worker” in Facebook parlance). My contract term, after a couple of extensions, was due for another renewal a few months ago. My manager suggested that I could transition to full time and do the same work with more benefits, get off the contract renewal treadmill, etc., and so I studied up and traveled to California for a six hour interview, and passed at level E6 [2], which came with a salary multiplier several times my going rate.

Then came news that, after being told I would need to take 2 weeks of on-site “bootcamp,” it would instead be 3. And then 5. And then 6 weeks, but I can fly back on weekends (this, the week before I was all set to leave, flights already booked). Then came news that, because I live in Canada, oh whoops, I cannot actually transition to full-time (but feel free to move to California!). So flights canceled and back on the contract I go, which gets extended another few months with hints that it would probably be extended again. [3]

Then came news that, after being told that the next contract extension was fully approved (with a rate increase!), that I have been here too long according to Facebook policy, and no, I cannot actually extend my contract, without waiting a year. The timing for this is pretty terrible; just a week ago I turned down a competitive offer from Amazon [4], having understood that my extension was a done deal.

There’s no malevolence here as far as I know. Things are always a bit weird working as an American, remote from Canada. There are two labor (labour) systems to deal with, twice as many laws and twice as many tax headaches. Yet, until now I have been able to mostly work inside these systems, or at least have been politely told “no thanks” up front. It’s hard to make plans when the story is “probably.” Things are still in flux; who knows, it might all still work out, but I am tired of hitting that wall.

[1] I use this word carefully, having used up most of the swears already.
[2] Let me state for the record that I hate the current state of technical interviews. Leetcode problems can be fun, sure, but working them out on a whiteboard under ridiculous time constraints seems completely unrelated to day-to-day work. Can we just stop this practice? It’s more a test of how many leetcode problems you did in the preceding weeks — which in my case was a lot. Also, my whiteboard code winds up being much more academic than normal: every loop somehow becomes a recursive call. And I don’t even like functional programming. I just can’t help it, sorry.
[3] This state of affairs has caused no end of confusion for Facebook systems that still think I’m joining the company. At some point every internal account of mine got deleted with no warning and I had to physically go downtown to unbreak things. I just got an email _today_ welcoming me as an employee to Facebook, a bit of a slap in the face since I also just learned that I’ll be out of here within the month.
[4] The day I got locked out of all the systems was the day I sent my resume around.

New Directions in Commandline Editing

Update: I finally isolated this to gnome’s multiple input method support. Shift + Space is bound by default to switch input sources, and it is in whatever the next input method is that unusual things happen. Turn that stuff off in the keyboard shortcuts! Find below the original post about the visible symptoms.

Dear lazyweb,

Where in {bash, readline, gnome terminal, wayland, kernel input} does the following brain damage, newly landed in debian testing, originate?

  • pressing ctrl-u no longer erases to beginning of line, but instead starts unicode entry with a U+ prompt, much like shift-ctrl-u used to do, except the U is upper-cased now
  • hitting slash twice rapidly underlines the first slash (as if to indicate some kind of special entry prompt, but one I’m unfamiliar with and I cannot get it to do anything useful anyhow), and then just eats the second slash and the underline goes away
  • characters typed quickly (mostly spaces) get dropped

This stuff is so hard to google for and it is killing my touch typing. Email me if you know, and I’ll update this accordingly so that maybe google will know next time.

Playing With Flash

I recently picked up one of these $10 CH341A USB flash programmers and a test clip. I didn’t really have any initial plans for that it but thought it might come in useful someday while messing with router bootloaders. This unexpectedly turned out to be a lot of fun so far and not a bad tool for the price.

Rummaging through my parts bin, I found a Winbond 4K SPI flash of unknown provenance, hooked it up, and read out the contents with flashrom. Turns out this was an AMI BIOS that I pulled from some motherboard way back when. Disassembling the BIOS might make a good rainy day exercise.

I tried using chavrprog to program an ATTiny13, which did not work at all. The chip did not appear to respond to any of the SPI commands. Oh well.

On a bricked router I had sitting around, I read the flash directly from the board using the test clip. I happen to remember the confluence of events that lead to me bricking this (writing bootloader to wrong partition), and could finally verify the damage on the flash dump. When I get a free moment, I’ll try bringing it back to life by reflashing a repaired image.

On a different model, unbricked router, reading out the flash on the board didn’t work. Applying power to the flash chip powered up other components on the board, so I’m guessing I’d have to desolder this flash chip in order to read/write it. Maybe worth retrying after spending a few weeks practicing SMT rework.

Planting time

With the terribly cold and gray winter finally starting to abate, I’m going to start my indoor seeds this week. Nearly same setup as last year: I’m sowing the head-start seeds indoors, to go under basement grow lights in a couple of weeks when they have sprouted. A new addition is this heating mat, which I had to laugh at because of the prominently featured cannabis leaves on the package. I wonder just what the distribution of carrot growers to “other” is, now that it’s legal here.

For any curious persons or LEOs reading, no, I’m not planting weed. I’ll be starting basil, tomatoes, peppers, and lettuce in flats, and hopefully it will be warm enough to direct sow carrots and radishes. Beans should come a little later. Can’t wait!

2019 Crossword Tournament

The American Crossword Puzzle Tournament starts this weekend. Once again, a version of my xword webapp is being used, with only a few minor changes since last time (sorry).

I did almost no puzzling last year, so I’ll give it a go, but I’m not expecting to finish in the top 100 this time around. Good luck to anyone participating!

More filler

I noticed some HTML5 crossword construction apps have sprung up over the last year, so I no longer have first mover status on that. Also their UIs are generally better and I dislike UI work, so it seemed reasonable to join forces. Thus, I sent some PRs around.

It was surprising to me that the general SAT solver used by Phil, written in C compiled to asmjs was so much slower than a pure Javascript purpose-built crossword solver (mine). I assumed the SAT solver might make certain search optimizations that could overcome the minor optimizations related to mine being only a crossword solver. So, yay, my code is not that bad?

In these apps the filler runs as a web worker so even when slow it isn’t too noticable (except for hogging a core).

Anyway you can try out my filler today with Kevin (filler code is here, which is exactly the code in my own app except with some janky whitespace because I stripped out all flow annotations).

Peak 2018

I almost let the second half of 2018 go unblogged (are people still saying blog?). It’s not that nothing interesting happened in all of that time, but real life has been ultra busy. Did I mention that Sammy turned one and is on the verge of walking?

The garden delivered tons of produce this year, enough that I didn’t really keep up. I gave myself a crash course in canning, making four jars of tomatillo salsa and six jars of habanero jam. Maybe fewer peppers next year?

I harvested around five bowls of tomatoes, many of which are taking up space in the freezer right now.

And at least four of these basil bowls, mostly frozen pesto at the moment:

This is what it is all about: pizza with homegrown basil, homegrown tomatoes, and sourdough crust from locally cultured yeast.

Anyway, happy New Year!

Another one about plants

Here’s what the garden looks like right now. Compare to this time last year.

We had our backyard professionally landscaped last fall, and the landscaper decided to put in an empty bed next to the house instead of incorporating my unsightly DIY planter box into the design. But that area gets sun only half of the day, so I planted both this year, reserving the landscaper-approved bed for the experimental plants (mostly tomatillos and some extra basil). In the photo you can see the tomatillos in the background on the right: they have grown as tall as I am, with plenty of flowers but no fruits yet. Still, the pollinators are visiting so that could change:

Meanwhile, there are baby tomatoes and baby peppers everywhere, and lots and lots of basil. Having eight basil plants means making pesto every other week just to keep up. I picked my first jalapeno yesterday. Although I tried hard to label all my plants this year, I found that one of my intended habeneros was a mislabeled poblano. No worries, poblanos are great. Looking forward to stuffed peppers next month.

We have a family of wild rabbits living near the house, so I stayed away from lettuces or other rabbit-friendly fare. Perhaps I’ll try lettuce in the planter box next year since it is high enough it might evade their grasp. I planted a few onions in the lower bed to keep the rabbits away from the other plants, having heard that they hate the smell of onions. Naturally, onion stalks are the only thing they’ve eaten so far.

This is still the quiet times before the Japanese beetles. Once they show up a few weeks from now, they will require thrice-daily purges, a not so fun task.

Posting on posting

After several years of working at popular infosec startup, I’ve now moved on to giant tech company. It was pretty crazy watching the former grow from “hey, we have a cool idea” to a company with hundreds of developers — at turns gratifying to see people describe your software as life-changing, and incredibly stressful when a bug landed on the top of Hacker News.

In the new gig, I’m working on Linux wifi again, so, apologies in advance. Hopefully, I’ll be able to do a bit more work upstream now that it is kind of my job. And yes, this post exists just to break up what would otherwise be a long string of consecutive garden blogs.

Garden 2018

I’ve started my seedlings for the 2018 gardening season. On March 24, I planted jalapeno, habanero, roma tomato, green onion, and basil seeds into jiffy pods. A few days later I planted some tomatillos and poblanos in another tray. By this time everything has sprouted and the plants are under grow lights for 15 hours a day on a timer (an innovation since last year the plants got a little leggy on the windowsill). The first tray is about a week ahead of the other tray, so it’s been getting full light for a week and had its first watering this morning. The tomatoes have their first true leaves as of today.

I’m targeting planting out sometime in mid to late May. I can’t remember when I potted up the plants last year but it must’ve been some time in late April / early May. That’s at least a couple of weeks away for these 2-week old seedlings.

This year I hope to have better tomatoes by planting fewer of them and giving them more space. I was originally planning to do just two roma plants with two-foot spacing, plus one tomatillo plant. Then I learned that tomatillos won’t self pollinate so I’ll need to do at least two of those also. If those plus all the pepper plants work out, we’ll have way more than we can eat. Of course, the rabbits may still have other plans.