Posts tagged ‘javascript’

Blackbird.py and background images

In his comment on last night’s post about that fraction with the interesting decimal representation, Matthew McVickar pointed out a bug in my system for displaying tweets: I’m curious about the background in that embedded tweet of mine. My Twitter profile background is solid blue, and I don’t have a background image set. Looking up…


New Blackbird.py for embedding tweets

If you have access to the NewNewNew Twitter (as I did for about a day several weeks ago, but haven’t since), you’ll find a button that’ll give you the HTML code necessary to embed any given tweet in your blog or webpage. This is a big improvement on the common way of showing a tweet,…


Regexes, BBEdit, and Twitter screen names

I found another bug in Dr. Twoot today. A pretty embarrassing one, given the context in which I found it. Here’s what my Twitter timeline looked like when I opened Dr. Twoot this morning: For some reason, the screen name for @bbedit_hints wasn’t turned into a link, only the @bbedit part was. It wasn’t too…


Twitter replies and JavaScript filtering

According to its Git history, I added a Reply to All button to Dr. Twoot back in September. Because I’m all clever and mathy and shit, the button I added for this looks like an upside-down A, which is the math symbol that means for all. It works like the Reply to All feature of…


Twitter’s shortened links

A few days ago Brett Terpstra tweeted a link to this post on the Twitter development blog. Changes to the way Twitter handles in-tweet links are coming, some in the indeterminate future of “eventually,” some in just a week. I needed to make some changes to Dr. Twoot to accommodate Twitter’s new ways. The changes…


The stones of my mind

In the post about Google Maps using the scroll wheel for zooming instead of scrolling, I mentioned that although I knew perfectly well that Google was doing this, I just couldn’t stop myself 1 from trying to scroll that way. Last night, as I was adding a spam detection function to Dr. Twoot, I ran…


New key feature for Dr. Twoot

I’ve been meaning to add a feature to Dr. Twoot for a long time: the ability to submit a tweet via Cmd-Return in addition to clicking the Update button. Today I finally sat down and did it. Some Twitter clients use just the Return or Enter key to submit a tweet. That would have been…


Fraction arithmetic practice sheet

The next logical step after yesterday’s worksheet for reducing fractions is one for adding and subtracting fractions. The rules for using it are the same as my other math practice sheets: A new set of problems is generated every time you open or Refresh/Reload the page. You can use the version online or save a…


Fraction practice sheet

I had a long drive today, and I passed the time by thinking about making a new set of math practice sheets for my ten-year-old son. This year has been fraction-heavy, so I thought I’d start with a simple one: a page with a bunch of proper fractions that may or may not need to…


Dr. Twoot and Twitpocalypse II

Back in mid-October, Twitter warned developers that another integer overflow problem was looming and that they should prepare their code to deal with it. I didn’t heed the warning, and for the past couple of weeks, Dr. Twoot has been behaving strangely. I think I have things fixed now. The original Twitpocalypse occurred back in…