RSS BSBlog

http://benjamin.smedbergs.us/blog/

Benjamin Smedberg's Thoughts

Last checked 40 minutes ago.

1 person has subscribed to this feed.

Feed frequency

post frequency (last month)

PostRank™ filter

latest 15 posts

« older items




Friday January 9th, 2009

Mozilla Layout Classes: nsIFrame class hierarchy

BSBlog From BSBlog, 3 hours ago, 0 comments Comment

The Mozilla layout code uses frame objects to lay out the DOM on the screen. (These are entirely different from &lt:frame> nodes in the DOM). All Mozilla frames inherit from a single C++ abstract class nsIFrame. As part of a project I’m working on to separate the frame classes from XPCOM, I used dehydra to [...]

Wednesday January 7th, 2009

How to Auto-Start Synergy Correctly on MacOS 10.5 (Leopard)

BSBlog From BSBlog, 2 days ago, 0 comments Comment

Synergy is a wonderful tool: it lets you run multiple computers on your desktop, but use a single keyboard/mouse. The mouse cursor moves between screens seamlessly. Configured correctly, you even have a unified clipboard to enable copy/paste between machines, even running different operating systems. I have two Linux desktops and a Mac laptop on my [...]

Wednesday December 24th, 2008

How to disable the Comodo reseller root certificate in Firefox

BSBlog From BSBlog, 16 days ago, 0 comments Comment

Slashdot is a-buzz (and rightly so!) with news that people have been able to obtain an SSL certificate for a domain they don’t own, by applying with one of Comodo’s certificate resellers. It is clear that there has been a major breach of trust, but we’re not sure of the best general solution. There has [...]

Monday December 22nd, 2008

Using SVG on the Web

BSBlog From BSBlog, 18 days ago, 0 comments Comment

If you are able to ignore Internet Explorer, all the other major browser can render SVG content. Recently, while writing previous posts and webapps, I discovered several quirks that may cause browsers to fail to render SVG content consistently. Including SVG inline in the document. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Using SVG inline in an [...]

Friday December 19th, 2008

More Fun with Compiler Warnings

BSBlog From BSBlog, 21 days ago, 0 comments Comment

My build machine for compiler warnings has been up for a while and reporting “warn-new” to the tinderbox. Since all this data is in a sqlite database, I wanted to present it in a better form than the tinderbox waterfall. So I’ve written up a quick frontend for the data. Take a tour now! I really love [...]

Thursday December 18th, 2008

Nightly testers needed for mozilla-central!

BSBlog From BSBlog, 22 days ago, 0 comments Comment

Users who installed a build of Minefield before 24 November and have been using automatic update since then may be in for a surprise: you are no longer using Minefield or testing mozilla-central! Your browser doesn’t appear to support SVG. Go get one that does. On 24 November, the Firefox code branched: mozilla-central continues as the repository [...]

Christmas Candles

BSBlog From BSBlog, 22 days ago, 0 comments Comment

Around Christmastide, it is a common custom to place candles in the windows of houses at nighttime. For many people, this may just be decoration, but it is an meaningful and noble tradition. A house with candles is a beacon in the darkness; a shelter for travelers and the homeless. This Christmas, if a pregnant teenager [...]

Friday December 12th, 2008

Wordmaps without Java

BSBlog From BSBlog, 28 days ago, 0 comments Comment

Word maps generated by wordle.net have been making the rounds. They are very cool representations of the frequency that various words appear in a hunk of text (such as a blog feed). Unfortunately, the code to generate these word maps is not open source, and it requires Java. So I decided to take on Johnath’s challenge [...]

Tuesday December 9th, 2008

Laying Blame

BSBlog From BSBlog, 1 month ago, 0 comments Comment

As I mentioned last week, I’ve been resurrecting a project to report on compiler warnings. A basic form of this buildbot is now operational on the Firefox tinderbox tree (look to the far right for the static-analysis-bsmedberg column). It prints a summary of the total number of warnings on the summary page: in the full [...]

Wednesday December 3rd, 2008

Parsing Compiler Errors

BSBlog From BSBlog, 1 month ago, 0 comments Comment

Long ago, Mozilla had a tinderbox which would collate every warning produced by the Mozilla build and generate statistics and reports about them. I’m trying to re-create this tool. When building Mozilla or most other large software projects that use GNU make, compiler warnings get sent to stdout (and sometimes stderr). The messages usually look something [...]

Wednesday November 26th, 2008

Woman accused of stealing mice

BSBlog From BSBlog, 1 month ago, 0 comments Comment

Seen in today’s local paper: A Johnstown woman was jailed after authorities said she tried to steal several small animals from a local pet store. City police said Jennifer Lauren Jury, 42, of Broad Street, entered Animal Jack’s Pet Shop on Fifth Street on Monday and made her way to the second floor. As Jury came downstairs and [...]

Generated Documetation, part 2

BSBlog From BSBlog, 1 month ago, 0 comments Comment

As I noted previously, I’ve been using our static analysis tools to generate documentation for the Mozilla string classes. All of the code to generate this documentation is now checked in to mozilla-central. To regenerate documentation or hack the scripts, you will first need to build with static-checking enabled. Then, simply run the following command: make -C [...]

Friday November 21st, 2008

ABC Meme

BSBlog From BSBlog, 1 month ago, 0 comments Comment

Instructions: type the letter ‘a’ in your browser location bar and choose the first match from the dropdown. Repeat for each letter of the alphabet. Browser: Firefox 3.1 beta a: Air Mozilla b: /buildbot/steps/source.py - Buildbot - Trac c: mozilla mozilla/configure.in d: Digg / News e: Enter Bug: Core f: First National Bank of PA Personal Banking Services g: Google Quicksearch: g h: hghooks: [...]

Thursday November 20th, 2008

Recognizing the Other

BSBlog From BSBlog, 1 month ago, 0 comments Comment

I’ve been trying to identify why this presidential election campaign has been so depressing to me. I didn’t particular like either of the candidates or the parties behind them. But in looking at the debates and the candidates campaign websites, what is most distressing is that the candidates, and the country, don’t ever seem to [...]

DTrace Bugs on Mac

BSBlog From BSBlog, 1 month ago, 0 comments Comment

Ted and I have been looking rather closely at the performance of the Mozilla build system. In order to get a better sense of where we’re spending time, I wanted to use dtrace to get statistics on an entire build. Basic Process Information From DTrace In theory, the dtrace proc provider lets a system administrator watch process [...]

« older items