The Daily Dose

laugh every day with cartoons jokes and humor
  • Home
  • About
    • Press
      • Press Release – Announcing Laughzilla the Third ebook
      • Press Release – The Daily Dose Kicks Off Its 16th Year with New Books and More Irreverent Laughter
      • Press Release – Themes Memes and Laser Beams Now Available in Paperback
      • Press Release – Announcing Themes Memes and Laser Beams
      • In The News
    • Privacy
  • Archive
  • Books
  • Shop
  • Collections
    • Galleries
      • Gallery
      • Captions
      • Flash Cartoons & Greeting Cards
        • Laughzilla’s Oska Flash Animation Cartoon Greeting Cards
        • Oska Cupid Love Humor
    • #OccupyWallStreet
    • cats
    • China
    • Food
      • Hors d’oeuvres
        • Ball of Cream Cheese
      • Entrees / Main Courses
        • Meatballs with Baked Beans and Celery
    • Gadaffy
    • Google
  • Links
  • Video
  • Submit a joke
DeviantART Facebook Twitter Flickr pinterest YouTube RSS

Subscribe for Free Laughs!


 

Latest Comics

  • This Memorial Day, Trump Meme Coin Congratulates Profit Takers
  • 25 Years of The Daily Dose
  • The Best Cartoons
  • Bitcoin sings “Fly Me To The Moon”
  • 22 years of The Daily Dose

Comic Archive

Backhoe Internet

Daily Dose News Roundup

  • Estonian energy storage firm Skeleton becomes unicorn with Siemens deal
  • Palantir CTO says the Pentagon has already replaced Anthropic’s AI
  • DeepSeek to lead seed round in $400mn robot AI start-up, Bloomberg reports
  • Turkey’s social media ban for under-15s starts on 1 November
  • Vittorio Colao defends copyright rules and the DSA in Europe’s AI debate

Quotable

"Rule Number 1 - never lose money. Rule Number Two - never forget Rule Number 1". ~ Warren Buffett

Fresh Baked Goods

Get The Daily Dose's ebook: Laughzilla the Third - A Funny Stuff Collection of 101 Cartoons from TheDailyDose. Click here to get the e-book on Amazon kdp. Laughzilla the Third (2012) The Third Volume in the Funny Stuff Cartoon Book Collection Available Now.

Click here for the Paperback edition


Support independent publishing: Buy The Daily Dose's book: Themes Memes and Laser Beams - A Funny Stuff Collection of 101 Cartoons by Laughzilla from TheDailyDose. Click here to get the book on Amazon. Themes Memes and Laser Beams - The Second Volume in the Funny Stuff Cartoon Book Collection.

Click Here to get the book in Paperback While Available on Amazon

Themes Memes and Laser Beams - 101 Cartoons by Laughzilla. Get the e-book on Lulu.

Click Here to get The Daily Dose Cartoon ebook on amazon kindle

Funny Stuff :
The First Cartoon Book
from The Daily Dose.
Available on Lulu.

a couple of laughzillas on a blue diamond background

El Capitan code suggests new 4K iMac is on the way

Jun25
by Sindy Cator on June 25, 2015 at 6:08 pm
Posted In: Around the Web

EL capitan OS X
Apple may be preparing an update to the iMac lineup. According to references discovered in the latest OS X El Capitan beta, there could be a 4K iMac in our future. The code in question was first reported by 9to5Mac, and mentions an Apple-designed display with a 4096 x 2304 resolution. While there’s no specific mention of a device, the easiest (and likely most accurate) assumption is that the 21.5-inch iMac will be upgraded to 4K soon. Late last year, Apple upgraded the 27-inch iMac to 5K. There was no display upgrade for the smaller iMac. In addition to the resolution, there’s…

This story continues at The Next Web

└ Tags: apple, syndicated
a couple of laughzillas on a blue diamond background

Excel Is Waiting for another Application to Complete an OLE Action

Jun25
by Sindy Cator on June 25, 2015 at 5:58 pm
Posted In: Around the Web, Automation, VBA

Have you ever seen this message? It’s not an error. You can’t click Debug and go see which line of code it’s on when this happens. You can’t even click Cancel. All you can do is click OK every 10 seconds or so until it’s done. Brutal.

I ran into this message recently on some code that someone else wrote but that I’d modified (see how I’m already deflecting the blame). The code runs through a hundred or so customers and sends them an email. Each customer has its own worksheet and that worksheet is turned into HTML to be used in the body of the email. Incidentally they used Ron de Bruin’s RangeToHTML function to do the conversion. I happened to have written that function back when I had a website called dicks-clicks.com. Ah, memories.

The code I modified was working well for a few weeks before it started acting up. One line in the code looks like this

sh.ExportAsFixedFormat xlTypePDF, sAttachFile

That saves the sheet as a PDF. I use the ExportAsFixedFormat method a lot in loops and I get the Run-time error 1004. Document not saved. the document may be open, or an error may have been encountered when saving error every so often. When I get this error I hit Debug and F5 and everything works fine. I know it’s a timing issue, but haven’t taken the time to figure out how to avoid it. It started happening on this customer email workbook. I couldn’t hardly ask a normal user to click Debug, F5, and close the VBE when it’s done. I’m not a monster.

I put a one second delay before line to allow Windows to have time to release the file lock or whatever the heck is going on. It only executes on about seven of the 100 customers, so it makes a 10 second procedure run in 17 seconds. We can live with that. And it worked. No more errors.

Everything was fine until the OLE Action message started popping up a couple days later. Of course when anything goes wrong after a code change, you have to blame the code change. The angry villagers were at my door demanding that the one second delay be removed. I wasn’t convinced (spoiler: I’m the hero in this story). I sat at the user’s computer, ran the code, and got the message. I changed the status bar to show me which customer it was on when the message appears. When I ran the code again, it was on Vandelay Industries. We looked at some past Vandelay emails and we noticed that the format was all messed up in yesterday’s email, but otherwise looked OK. Formatting problems don’t cause OLE messages, so I ignored it.

I did some Binging and saw my old buddy Shane Devonshire recommended checking the Ignore other applications that use Dynamic Data Exchange checkbox in Tools – Options. I could tell he was grasping at straws, but I was at the straw-grasping stage, so I went with it. I ran the code for the third time (a tedious process because of all the OLE messages) and it got stuck on Vandelay Industries again. A clue!

I discussed this new information with the user. Since Vandelay did not get a pdf attachment, I concluded that the problem was Outlook and not whatever generates PDFs from Office. Maybe we messed up the email address and Outlook was churning away trying to resolve it. Nope, no change there. But he did mention that he added a note to the bottom of their worksheet. More specifically, he copied the note from another customer’s sheet and pasted it to Vandalay’s. Oh, and one other thing. When he pasted the message, he accidentally selected the entire row, which put the message in every cell in that row, rather than just the first one. But he deleted all the extraneous messages, so it was fine.

“Aha!”, I said. I went to their sheet and pressed Ctrl+End. That took me to cell XFD92. In the code, the (now enormous) UsedRange was being passed to RangeToHTML. I went to the Outbox in Outlook and there was a 43MB message sitting there staring back at me. The OLE Action that Excel was waiting for Outlook to complete was rending 43MBs of HTML in a message.

The quick fix was to delete all the columns in that sheet that I didn’t want, save, close, and reopen. Fixed. As for the code, it’s tempting to use an alternative method for finding the real used range. That solves the email problem, but it doesn’t fix the root of the problem – a messed up UsedRange that’s unnecessarily bloating the file.

In the end, I decided to test the number of columns and rows in the UsedRange, and if they’re over a threshold, raise an error. That will allow the user to fix the root and rerun the procedure.

└ Tags: syndicated
a couple of laughzillas on a blue diamond background

The hidden power of ‘I don’t know’

Jun25
by Sindy Cator on June 25, 2015 at 5:44 pm
Posted In: Around the Web, hacks, LifeHacks, productivity

learning
“I don’t know anything.” It might seem counterintuitive but I try to tell myself this every day when I wake up. It’s quickly becoming my daily mantra.  Now, this isn’t some exercise in self deprecation. I simply want to remind myself as soon as I wake up to see the world with clear eyes. These days there’s a line up around the block of ‘thought leaders’ and ‘gurus’ begging to give you advice. We praise expertise and give weight to experience. And rightfully so. Those who can, do. As author Andrew Solomon says: “It is only by living in the world…

This story continues at The Next Web

└ Tags: syndicated
a couple of laughzillas on a blue diamond background

14 social media hacks from the experts

Jun25
by Sindy Cator on June 25, 2015 at 5:44 pm
Posted In: Around the Web, hacks, Social Media

iPhone
Every brand seems to be obsessed with social media ROI nowadays, but achieving fast-track growth on social networks is often a Herculean task for many business owners, marketers, and entrepreneurs. “Post good content on social media and they will come” is a myth. In reality, you need to engineer your social media success by employing smart strategies rooted in research, data, creativity and testing. Moreover, the philosophy of growth on social media involves designing a process that is scalable and repeatable so that you can be on multiple social networks at once, building and engaging disperse communities at scale and…

This story continues at The Next Web

└ Tags: syndicated
a couple of laughzillas on a blue diamond background

iTunes U now allows students to turn in homework from mobile devices

Jun25
by Sindy Cator on June 25, 2015 at 5:28 pm
Posted In: Around the Web

iTunesUTNW
Apple is getting serious about education, launching new features for iTunes U that will allow teachers and students to work together digitally. With the new-look iTunes U, students can turn in homework and other assignments right from a mobile device. Their work will carry a timestamp so teachers know exactly when it was submitted. Integrated grading software will alert teachers when a student’s work is turned in, as well as which students may need a reminder to submit papers. Teachers can also import educational apps into class material. A new chat function will take the classroom discussion digital, and give…

This story continues at The Next Web

└ Tags: apple, syndicated
  • Page 10,728 of 14,673
  • « First
  • «
  • 10,726
  • 10,727
  • 10,728
  • 10,729
  • 10,730
  • »
  • Last »
The Daily Dose, The Daily Dose © 1996 - Present. All Rights Reserved.
  • Home
  • About
  • Archive
  • Books
  • Collections
  • Links
  • Shop
  • Submit a joke
  • Video
  • Privacy Policy