Posts Tagged work

Flex RTE Part 1: Link Buttons

In this post earlier this week, I set out the project goal of making the Flex Rich Text Editor control a little more user-friendly. Here’s the first bit. I’ve removed the old add link textField completely and replaced it with two new buttons: “Add Link” and “Remove Link.” Read the rest of this entry »

,

1 Comment

Flex RTE and the obscure getTextField() function

Because of issues with the YUI Rich Text Editor, I’ve convinced the bosses that we should use a modified version of the flex RTE control. Though flex has some weird htmlText quirks, the subset of HTML it renders (bold, italic, underline, font sizes/colors, and a few more) are almost exactly the subset of HTML we want our users to have access to. The downside is that the built-in RTE also uses a bunch of markup which is completely bogus, so I’ll have to do some regexp replacements to get it to spit out actually-usable HTML. These are the modifications that I’ll (hopefully) be making: Read the rest of this entry »

,

1 Comment

The Day I Almost Wore Real Shoes to Work

Today, for the first time since I moved to California, I put on socks.  And real shoes.  I was even going to wear them to work–for this was to be Bike to Work Day: Part Deux!  Why so long between attempts?  Well, I needed a couple of days to recover after the last one and then went to Greece for two weeks.  Now back in the US of A, it was time to try to bike to work again.  I made it about a mile and a half before I noticed that my tires seemed a little flat. Read the rest of this entry »

,

No Comments

Let the bike experiment begin!

Last week, I bought a bike off of craigslist. An old bike. Like, a really old bike. That’s okay, though, it was only $30. I had the guys at a bike shop check it out, and while they suggested around $150 worth of repairs if I wanted the thing to run like new for a couple of years, they said it would be fine as-is for a few months. I’m using the “first-car” principle for my first bike (okay, sure, I had one when I was a kid… but I haven’t ridden one in probably 15 years). Rather than go ahead and pony up a few hundred bucks for a new one (or $800 for an electric one that looks really sweet, I thought I’d get a cheapo bicycle to practice on. That way when I smash it into things or fall under a bus, I’ll only be crying about my wounds and not the money I just wasted on a new bicycle. Read the rest of this entry »

,

1 Comment

YUI + SWFobject: Play Nice!

I found a bevy of links explaining why you had to set an embedded SWF’s wmode property to either “opaque” or “transparent” to get a div placed on top of it to show properly, but yesterday at work I was experiencing another strange error. First, the setup: on one of our pages, we’ve got a pretty prominent SWF taking up the majority of the page (embedded in a div via SWFobject). Below the SWF is some text and a few places for user-entered data. Rather than linking away from the SWF page, my goal yesterday was to AJAXify everything and keep it all one one page. Since we were already using the YUI Rich Text Editor elsewhere, I decided to give their dialog code a shot. It worked just as expected, with one…major…snag. Read the rest of this entry »

, ,

No Comments

Timelines in Flex

For work, I needed to add a timeline to a chart. After first investigating the Timeline stuff Adobe is working on, I decided I’d be better off just building my own. Though the adobe version will probably be useful at some point, the amount of wrangling I would’ve had to do just to get it to display a simple one-line timeline seemed a bit odd. Also, on top of a normal timeline, I had need of a specialized timeline renderer which would display a certain step-value over time. This was a value that could change from day to day, but would most likely remain constant for large periods of time. Read the rest of this entry »

,

2 Comments

Custom Axis

While at work, I ran across a scenario where none of the pre-built Flex charting components would suffice. We’re still in stealth, so I can’t talk too much about it–but basically we needed a non-LinearAxis. Much of the LinearAxis code is designed to space the axis labels perfectly in the proper unit of measure. I needed to have an axis label for the third Friday of every month in my data set…which isn’t a linear value. My original solution was a hack suitable for getting the job done at the time, but it wasn’t exactly reusable. We’re between dev cycles right now, so I’ve been tinkering around and decided to actually write the component so that it would be usable outside our code base. Read the rest of this entry »

,

No Comments

First Week Roundup

The problem with waking up at 7:40 every day (the girlfriend’s alarm time… I would set it for 8:45) is that you tend to wake up at that same time on the weekends. Up, now, and no point going back to sleep, I thought I might as well reflect on my first week in the working world.

I resolved exactly one bug. Read the rest of this entry »

No Comments

Eclipse vs NetBeans for Flex2 Development

Today’s been interesting from an IDE point of view. After doing a little research, I saw lots of references to how to set up Eclipse to compile a Flex project–but only one for NetBeans. Not having either one installed on my work machine, I went with Eclipse. I like it okay, but I’m not a big fan of the Ant integration (NetBeans seems much more natural in this regard). I had an idea I wanted to test when I got home (more on this in a day or two probably), so I set out to reproduce my work setup. Only I didn’t have Eclipse on my home PC (versus my work Mac) and I did already have NetBeans installed. Read the rest of this entry »

,

No Comments

First Day

Not that I’ve had a lot (or even three) of them, but first days seem to be completely useless in determining what your eventual “work-life” will be. Today, for example, I got in at 9:00…shook hands with the new boss (who only hung around for a few hours before taking off to play with other projects) and said hello to my new “desk,” a folding table with a nice big 20″ iMac on it. Read the rest of this entry »

No Comments