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

French Presidential Election Patterns

Daily Dose News Roundup

  • 10 best third-party risk management software platforms for 2026
  • OpenAI is putting ads inside ChatGPT’s image generation
  • Zelensky asked Trump to block Russia’s Starlink rival, FT reports
  • AI can’t fix a business system with broken processes
  • EU set to name AWS and Azure DMA gatekeepers in November

Quotable

"When it comes to Arnold Schwarzenegger's dalliances that caused Maria Shriver to leave him, the question on everyone's mind in the celebrity industry isn't 'How Could He?' it's ... 'Who was she wearing?'" ~ Yasha Harari

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

Weeding the KwikOpen Garden

Feb11
by Sindy Cator on February 11, 2015 at 2:32 pm
Posted In: Around the Web, File Operations, Userforms and Controls

A little less than a year ago, I said

Why 1,000 files? I don’t know. We’ll see how the performance holds up. I’ve been using it for three days and my text file is only up to 58 files – the 50 Excel stores plus eight additional. I guess it will take a bit longer to get to 1,000 than I thought, but I think it will be clear when there are too many and I can pare it down.

I hit 1,000 files a few days ago. Performance? Not even an issue. I upped it to 2000 and have been humming along nicely. The only downside is when I’m not on my machine and have to navigate the File Open dialog like an animal.

I know there are some files in my MRU that no longer exist. I didn’t try to delete them, I just let them stay in the list until I tried to open one and it said it didn’t exist. At the point, the code would allow me to navigate to its new location. I wanted to see how many files were no longer there.

Public Sub FindMissing()
       
    Dim clsRcntFiles As CRcntFiles
    Dim clsRcntFile As CRcntFile
    Dim lCnt As Long
   
    Set clsRcntFiles = New CRcntFiles
    clsRcntFiles.Fill
   
    For Each clsRcntFile In clsRcntFiles
        If Len(Dir(clsRcntFile.FullName)) = 0 Then
            Debug.Print clsRcntFile.FullName
            lCnt = lCnt + 1
        End If
    Next clsRcntFile
   
    Debug.Print lCnt
   
End Sub

This told me that it couldn’t find 234 files. That’s a lot. I really need a way to weed those files out of my MRU.

When I first wrote this code, I checked to see if the file existed before I added it to the listbox on the userform. If the file didn’t exist at that location, it didn’t get added to the listbox. If it didn’t get added to the listbox, it didn’t get written back out to the MRU. This culled the list nicely, but presented a problem pretty early on. A couple of days into using my new creation, I typed in a file name that I new I had recently opened. I didn’t remember that I moved that file to a different file. Of course, I go no results when I typed in the name even though I was certain I should have.

Once I realized why, I decided that having files disappear was not good for my psyche. It would be better to show the file, select it, then get a message that it didn’t exist. I removed the code that checked whether the file exists and didn’t implement anything that would remove files from the list short of clicking on them. Basically, I pushed that problem into the future. Well, the future is now. With 20% of my MRUs missing, I suppose it’s time to take a smarter tack.

I’m faced with a design decision. I need missing files to hang around for at least some amount of time, but not forever. Here are some choices I’ve been considering:

  1. Time stamps: I could time stamp each entry with the “last open date”. Entries less than one month old are never deleted. Missing entries older than one month get deleted automatically. The dissonance I experienced searching for a missing file that I was sure wasn’t missing occurred because I had had that file open within the last few days. I don’t think I would have the same experience with a file that I’d opened last month. Instead, I would assume I was misremembering as opposed to being crazy. I like the fact that this happens automatically – with no user intervention. I don’t like the fact that I have to store the date. My file goes from a clean, simple list to a data structure.
  2. Marking missing files: I could put an asterisk in front of files in the listbox that were missing. That way I would know what was missing and could click on them to clean them up, even if I didn’t intend to open them at that time. As I type this option, I hate it even more. Distracting myself with pointless housekeeping while I’m trying to get something done is a terrible idea.
  3. Cleanup utility: I could make a separate utility that the user could periodically run. It would list the missing files and allow the user to “find” any of them that he thinks is important and remove the rest. I wouldn’t have to touch any existing code or data for this, which is a positive. It’s not automatic like the #1, which is a negative.

I’ll probably go with #1, but I haven’t decided yet.

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

Facebook launches ThreatExchange with partners to combat security threats

Feb11
by Sindy Cator on February 11, 2015 at 2:00 pm
Posted In: Around the Web, Insider, Product Launches

facebook_like_3
The Internet is a dangerous place full of botnets, malware and so many hackers. While recently battling a botnet Facebook realized that if it worked with other organizations and they shared information with each other, their answers could help all the companies involved to squelch the risk. From that initial partnership Facebook has built the ThreatExhange an API-based clearing house for companies to share security information with each other. The initial partners were Pinterest, Tumblr, Twitter and Yahoo with Bitly and Dropbox joining the beta. The ThreatExchange platform is built upon the ThreatData framework and Facebook infrastructure. Partners can share as much or…

This story continues at The Next Web

└ Tags: facebook, news, security, syndicated
a couple of laughzillas on a blue diamond background

Last chance to enter The iMac Giveaway – ends tonight!

Feb11
by Sindy Cator on February 11, 2015 at 1:55 pm
Posted In: Around the Web, Offers, TNWDeals

This giveaway ends tonight at 11:59 PM PST, so enter now for a chance to win the iMac! Looking for a new computer to grace your desk? You’ll be hard-pressed to find a more beautiful option than the Apple iMac. Featuring a slim all-in-one chassis, an LED-backlit IPS display that looks great from any angle, a powerful Intel processor under the hood, and OS X Yosemite to make light work of your computing tasks, the iMac is a functional masterpiece that’ll fit right in at home or your office — and we’re giving one away for free! To win, simply…

This story continues at The Next Web

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

US mobile users can unlock their phones and more easily switch carriers from today

Feb11
by Sindy Cator on February 11, 2015 at 1:17 pm
Posted In: Around the Web, Mobile, Unlocking

Phone
Tired of your mobile operator’s service or plans? The Cellular Telephone Industries Association’s (CTIA) new standards on unlocking phones go into effect among all mobile service providers in the US today, allowing users to switch carriers, provided they clear any binding terms on their contracts. President Obama signed a law that deemed it legal for mobile users to unlock their phones last August. From today, carriers who have voluntarily committed to follow the CTIA’s standards will unlock their customers’ devices on request. AT&T, Sprint, T-Mobile, U.S. Cellular and Verizon will comply with the CTIA’s code, and allow customers to unlock their phones…

This story continues at The Next Web

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

David Cameron announces £50 million programme to bring free Wi-Fi to UK trains from 2017

Feb11
by Sindy Cator on February 11, 2015 at 12:45 pm
Posted In: Around the Web, Insider, trains, UK, Wi-Fi

UK Prime Minister David Cameron has announced a £50 million government programme to bring free Wi-Fi to trains across the UK by 2017. He revealed the plan during this week’s Prime Minister’s Questions. PM: From 2017, I can announce that we'll see rollout of free wifi on trains with £50m govt investment #PMQs @transportgovuk — No. 10 Press Office (@Number10press) February 11, 2015 As you might expect, responses on Twitter are mixed with many people questioning the general affordability of train travel in the UK. ➤ Number 10 Press Office  Feature image credit: Frederic Legrand – COMEO / Shutterstock.com Read more:…

This story continues at The Next Web

└ Tags: syndicated
  • Page 11,758 of 14,671
  • « First
  • «
  • 11,756
  • 11,757
  • 11,758
  • 11,759
  • 11,760
  • »
  • 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