Skip to main content

Posts

Showing posts from 2008

Finally! A bluetooth headset that works with both phones!

After what seems like ages, I finally have a headset that works with both my cordless and my cell phone! I've got an AT&T EP5632 and a Motorola Krzr K1 (T-mobile), and all I want to do is have a single headset that I can use with both phones simultaneously. I have that now with the BlueAnt Z9i . The EP5632 has been hit-and-miss concerning with what it will connect/pair. Unfortunately, the only compatibility list is on AT&T's site , and it's severely lacking. To add to the mess, I can't find enough documentation to figure out specifically what it's not compatible with. The best info I've found simply says it can handle Bluetooth 2.0 with both headset and hands-free profiles; In practice, that's not enough info. Here's what I've gone through: Plantronics Voyager 510 - YES. Multipoint. Works with both, but not simultaneous (if on one call, cannot switch to other phone to answer). It was was starting to fail on me about the time of the purc

Filling out a PDF form with iTextSharp

I needed to make an aspx page that would allow me to pull a PDF from disk, fill out fields in it, then stream the completed PDF to a browser. After searching around, I found that the consensus seems to be that iTextSharp is the way to go in C#. I grabbed version 4.1.2. While the iText API docs are useful, it's hard to start out with that. I found that this example proved the most informative and useful of those that popped up on Google. However, even with that, I found that only the source code really answered all of my questions. Extra things I found noteworthy: All of the PdfReader constructors ultimately use the RandomAccessFileOrArray object to access the source PDF data. The PdfReader(RandomAccessFileOrArray...) constructor results in a partial read ( ReadPdfPartial() ), whereas all the others read & parse the entire PDF ( ReadPdf() ) during construction. It appears, from this post , that the former uses less RAM, but the other constructors result in faster performanc

UPDATE...FROM (Sql Server 2005/2008)

I keep forgetting how this concept works each time I go to do it. I always start off with a simple update , then find I need a quick join to another table to use a value there to complete the update. What I forget is how the table referenced after UPDATE relates to the tables/columns in the FROM (and SET) areas. From what I understand now, the "x" in "UPDATE x" either directly matches a table referenced in the FROM clause, or directly matches an alias for a table in the FROM. In the example below, there are 3 updates that are functionally equivalent. CREATE TABLE #table1 (t1_pk int, t1_months smallint); CREATE TABLE #table2 (t2_pk int, t2_t1_pk int, t2_starts datetime, t2_ends datetime); INSERT INTO #table1 VALUES (1, 2); INSERT INTO #table1 VALUES (2, 5); INSERT INTO #table2 VALUES (1, 1, '2000-01-01 11:45 PM', NULL); INSERT INTO #table2 VALUES (2, 1, '2001-01-01 02:50 AM', NULL); INSERT INTO #table2 VALUES (3, 2, '2004-01-04 06:45 PM', NUL

Yahoo store feedback

Whomever the dev was that wrote Yahoo's feedback form needs to be sent back to flipping burgers. Instead of leaving my review with them, I'm doing it here since I know I won't have to do it again. In short RepairsUniverse.com gets a 4/5; Yahoo's Shopping Team gets a 1/5. I bought a replacement screen for a T-Mobile Dash (AKA: HTC Dash) from RepairsUniverse. It arrived in good condition, I followed the video to replace the broken screen, and the phone works again. The only annoyance was that it took a full calendar week before the thing shipped. They can't be faulted, since the holiday weekend made it only 3 full business days; they were either busy, or took off a day early. Either way, that's just average service instead of "excellent". However, when I went to fill in the feedback form from Yahoo and submit it, I got a response page with a "Try Again" link; I filled out everything that was indicated to be required. Clicking it resulted in a

Init/Bootstrapping

This web log is going to be primarily for me to have a place to do brain dumps for topics that make my wife's eyes glaze over. I feel that I get so many answers to my technical questions on the 'Net that I would like a place to "give back". Hopefully something, somewhere on this log will end up being useful to some other lurker out there.