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

MI6 CIA Libya

Daily Dose News Roundup

  • OpenAI adopts C2PA standard and Google’s SynthID to make AI-generated images easier to identify
  • OpenClaw creator’s $1.3 million monthly OpenAI bill reveals the real cost of autonomous AI coding at scale
  • Apple’s Siri app in iOS 27 will auto-delete your chats. It may also launch as a beta, again.
  • Faraday Future raised $25 million for its robotics pivot. The fine print tells a different story.
  • Anthropic and the Gates Foundation are betting $200 million that AI can do more than make money

Quotable

"We can send man to the Moon, but we can't keep dust out of houses." ~ 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

Why we prefer pictures: It’s the way we’re wired

Aug01
by Sindy Cator on August 1, 2014 at 2:00 pm
Posted In: Analysis and Opinion, Around the Web

Blog-Header-Template

Abhilasha Shah is a PR/Communications Intern studying communications and psychology at the University of Michigan. This post was originally published on the Shutterstock blog and has been reprinted with permission. Let’s play a little game. See how long you can stay focused on the data and research behind the visual, rather than searching for the “eye candy” (the eye-capturing images throughout this post that simply illustrate the topic). No matter how tedious it gets; no matter how many facts there are, see if you can last until the end. Here we go! Images vs. words FWStudio | Thailand Firework Festival Have you…

This story continues at The Next Web

The post Why we prefer pictures: It’s the way we’re wired appeared first on The Next Web.

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

IE11 peaks in market share before it can overtake IE8, Chrome passes 20%, and Opera falls below 1%

Aug01
by Sindy Cator on August 1, 2014 at 1:06 pm
Posted In: Apps, Around the Web, Google, Insider

358898_1321

July saw the ninth full month of IE11 availability with Windows 8.1, as well as the release of Chrome 36 and Firefox 31. The latest numbers from Net Applications show that Chrome was once again the only major winner last month, further widening its second place lead over Firefox. Between June and July, IE fell 0.37 percentage points (from 58.38 percent to 57.88 percent), Chrome gained 1.03 percentage points (from 19.34 percent to 20.37 percent), and Firefox fell 0.46 percentage points (from 15.54 percent to 15.08 percent). Safari meanwhile slipped 0.12 percentage points to 5.16 percent and Opera dipped 0.06…

This story continues at The Next Web

The post IE11 peaks in market share before it can overtake IE8, Chrome passes 20%, and Opera falls below 1% appeared first on The Next Web.

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

HP jumps on the smartwatch bandwagon with a luxury designer device

Aug01
by Sindy Cator on August 1, 2014 at 12:56 pm
Posted In: Around the Web, Gadgets, Insider, Product Launches

The first glimpse of the HP and Gilt tie-up, a smartwatch designed by Michael Bastian, has been posted online today. According to the announcement, Gilt sought to work specifically with Michael Bastian for the design and HP for the manufacturing side of things, and the device will work with both iOS and Android devices via an app. Gilt says it’ll perform the usual raft of smartwatch tasks, like letting you quickly check weather, stocks and sports updates, or keeping you up-to-date on your email, SMS and social media notifications. It’s also “water resistant” and has a battery life of up…

This story continues at The Next Web

The post HP jumps on the smartwatch bandwagon with a luxury designer device appeared first on The Next Web.

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

Russia’s ‘Blogger’s law’ comes into effect today for sites with more than 3,000 visitors per day

Aug01
by Sindy Cator on August 1, 2014 at 12:22 pm
Posted In: Around the Web, Insider

Russian_Flag

The new law requiring Russian bloggers to register as media entities and hold themselves to the same standards as a full media organization has come into effect today. First signed info force by President Vladamir Putin in May this year, it’s now applicable to all blogs that manage to attract more than 3,000 unique visitors per day. Essentially, what this means is a bigger workload for any bloggers that wish to carry on running the sites in their spare time. From today, any blogs covered by the new law will need to register with the relevant authorities, according to RT.com. The…

This story continues at The Next Web

The post Russia’s ‘Blogger’s law’ comes into effect today for sites with more than 3,000 visitors per day appeared first on The Next Web.

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

Listing Calling Procedures

Aug01
by Sindy Cator on August 1, 2014 at 11:30 am
Posted In: Around the Web, Visual Basic Editor

I have this awesome machine with 64-bit Office sitting under my desk. I don’t use it to code because MZ-Tools doesn’t work on 64-bit Office and I need that (and a few other things) to be productive. I only use a few features from MZ-Tools, so I think I’ll just write them in VBA. I took my first stab at the Procedure Callers feature.

Public Sub ListProcedureCallers()
   
    Dim vbProj As VBProject
    Dim vbModule As VBIDE.CodeModule
    Dim vbComp As VBIDE.VBComponent
    Dim i As Long
    Dim lActiveLine As Long
    Dim sProc As String
       
    ‘get the name of the current procedure
    Application.VBE.ActiveCodePane.GetSelection lActiveLine, 0, 0, 0
    sProc = Application.VBE.ActiveCodePane.CodeModule.ProcOfLine(lActiveLine, vbext_pk_Proc)
   
    ‘only look in the active project
    Set vbProj = Application.VBE.ActiveVBProject
   
    ‘loop through the code modules
    For Each vbComp In vbProj.VBComponents
        Set vbModule = vbComp.CodeModule
       
        ‘print the procedure for any line that contains the name of the active procedure
        If vbModule.CountOfLines > 0 Then
            For i = vbModule.CountOfDeclarationLines To vbModule.CountOfLines
                If InStr(1, vbModule.Lines(i, 1), sProc) > 0 And vbModule.ProcOfLine(i, vbext_pk_Proc) <> sProc Then
                    Debug.Print vbComp.Name, vbModule.ProcOfLine(i, vbext_pk_Proc), vbModule.Lines(i, 1), i
                End If
            Next i
        End If
    Next vbComp
   
End Sub

I just wanted to get something down and not be too worried about how well it works. This procedure just prints to the Immediate Window rather than a fancy userform that let’s you go directly to one of the procedures.

One of the things I don’t like about MZ-Tools is that it searches for callers in all open projects. I can see that value in that, I just personally have never needed it. And for procedures with common names, it shows a crap ton of stuff. I made my procedure only search the current project.

One of my property procedures in one of my class modules is named Active. When I looked for its callers, I got every procedure that uses ActiveWorkbook or ActiveSheet. My code does not discriminate – if the name of the procedure appears in the line of code, it’s a hit.

How do I avoid that? For the Active property, all I have to do is look for a space after the word Active and I should be good to go. Except for comments, perhaps. That’s fine for a property with no arguments, but if it has arguments or is a method with arguments, there won’t be a space after it but a parenthesis. Can I search for either a space or a paren? Seems like it, but I’ll have to think it through.

Another thing I don’t like about MZ-Tools is that it doesn’t care what class module you’re in when you look for calling procedures. Every one of my Collection Classes has an Add method. When I search for procedure callers for Add, I get every call to every Add method in every class.

That’s a little tougher proposition. I could be very opinionated, as I am, by looking for clsPlural.Add rather than just Add. I always name my class instance variables clsXXX. That would work for me, but wouldn’t be very general purpose. While I’m a well-known selfish prick, I do still care about you, dear reader. Even if I were so inclined, I’d have to still look for With blocks. I can’t just look for clsPlural.Add, I have to also look for .Add, then I have to search up the lines of code for a With before I hit an End With, then I have to determine the variable… My goodness that sounds like a lot of work. This is probably why MZ-Tools doesn’t care which Add method I’m looking for – it’s just not worth it.

Here’s some things I’d like to do:

  • Find actual callers, not just the procedure name
  • Omit finds in comments
  • When I’m in a class, only find properties/methods from that class
  • When I’m on a Property Get, don’t return Property Let assignment statements
  • Go to the first caller automatically, but still list the rest somewhere
  • Other stuff I haven’t thought of

What say you?

└ Tags: syndicated
  • Page 13,141 of 14,644
  • « First
  • «
  • 13,139
  • 13,140
  • 13,141
  • 13,142
  • 13,143
  • »
  • 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