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

Business Numbers And Emotional Appeal

Daily Dose News Roundup

  • 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
  • Figma’s numbers say AI is a tailwind. Its stock price says the market isn’t sure.
  • AI tools are everywhere, so why do most people still use them like it’s 2015?

Quotable

"Doctor Ayman al Zawahiri has been named successor to Osama bin Laden. His new role as Al Qaeda chief includes making more threats against the West, and finding a new hideout million dollar mansion in an ass-backwards country." ~ 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

10 Mac apps in 1 bundle – name your own price. Come and get them!

Apr23
by Sindy Cator on April 23, 2014 at 4:24 pm
Posted In: Around the Web, Offers

Apple Opens New Store In Chicago's Lincoln Park Neighborhood
Mac Bundles remain a solid way to save money on top Mac apps. The latest bundle from StackSocial demonstrates that well, as you name the price for 10 OS X apps including RapidWeaver and TuneUp.  The apps highlighting this bundle are RapidWeaver (a top WYSIWYG HTML5 editor), well-known music organizer TuneUp, and Crossover, which lets you run Windows programs on your Mac. If you hit the leaderboard at any point during the promotion, you are automatically entered to win a new 11-inch MacBook Air. In full, the bundle includes: RapidWeaver 5 ($79) – Beautiful Website Design and Creation Made Easy TuneUp ($50) – Automatically…

This story continues at The Next Web

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

7 things you can do right now to protect your vision

Apr23
by Sindy Cator on April 23, 2014 at 3:25 pm
Posted In: Around the Web, How-To's, Investigations, LifeHacks

sunglasses macbook
Andrea Ayres-Deets is the Lead Writer at Crew, an invite-only network connecting short-term software projects with handpicked developers and designers. Andrea writes about psychology, creativity, and business over on the Crew blog. I spend all day on a computer. No, wait, that’s an understatement. I spend nearly every waking hour of every single day in front of a digital device. By 4:00 p.m. my eyes are dry, bloodshot, and begging for relief. They are out of luck though because I have maybe four or five hours left of work here. When it’s really bad, I can actually hear myself blinking. The…

This story continues at The Next Web

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

Codecademy leads by example, unveiling a gorgeous redesign of its ‘learn to code’ site

Apr23
by Sindy Cator on April 23, 2014 at 3:00 pm
Posted In: Around the Web, Design & Dev, Product Updates

codecademyfeat
With each passing year, the ability to understand and write code becomes increasingly valuable. The demand for competent developers is growing and the required skill set is seeping into professions where it simply wasn’t relevant a decade ago. Codecademy has built an unparalleled reputation around its free platform for learning programming languages such as Ruby, Python and JavaScript. The courses are plentiful, accessible and modern, with a strangely addictive system for tracking, sharing and comparing progress. With over 24 million users, Codecademy is seeking further growth with a radical site redesign. The screenshots I was sent in advance look gorgeous,…

This story continues at The Next Web

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

Explora lets international travelers rent a Nexus 5 with 4G for $8 a day in the US

Apr23
by Sindy Cator on April 23, 2014 at 2:40 pm
Posted In: Around the Web, Gadgets

International travelers coming to the US now have a convenient option for renting a smartphone with a data plan. Explora today launched its rental service offering customers a Nexus 5 with unlimited voice, text messages and 4G data for $8 a day. To make things easy, Explora can ship the phone ahead of time to an address, such as your hotel, so that the device is ready to use as soon as you arrive. When you’re done with the phone, you can just ship it back via the included pre-paid envelope. Explora rentals come pre-loaded with several apps that you…

This story continues at The Next Web

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

The Great Hungarian Debate

Apr23
by Sindy Cator on April 23, 2014 at 11:30 am
Posted In: Around the Web, VBA

I’ve discussed this in 2005. Then again in 2009. I guess it’s time to revisit the issue, mostly because Jordan says it’s time to say goodbye to hungarian notation.

I’ve probably said everything I need to on the subject, so no long diatribes here. However, I decided that I was going to experiment with coding without Hungarian and see what I thought. A little experimentation can’t be bad. I have a choice. I can be stubborn and not learn anything or I can force myself to try something different and maybe I’ll be the better for it. There was a time when I never coded custom class modules. Now you can’t get me to shut about them.

Here is the first procedure I coded in my experiment:

Public Sub ReformatDrivers()
   
    Dim Cell As Range
    Dim Found As Range
   
    For Each Cell In Sheet1.Range("A2:A133").Cells
        Set Found = Sheet2.ListObjects(1).DataBodyRange.Find(Cell.Value, , xlValues, xlWhole)
        If Not Found Is Nothing Then
            Cell.Offset(0, 1).Value = Sheet2.Cells(Found.Row, 2).Value
            Cell.Offset(0, 2).Value = "’" & Sheet2.Cells(Found.Row, 1).Value
            Cell.Offset(0, 3).Value = Found.Offset(0, 1).Value
        End If
    Next Cell
   
End Sub

Not exactly a barn burner, I’m sure you’ll agree. I hated every minute of it. I hate reading it right now. I’ve struggled to pinpoint why it displeases me so, but I have a theory.

It’s hard to tell the difference between keywords and variables. For Each Cell are all one syllable words with the first letter capitalized. The color distinction actually shows up better on this blog than it does in the IDE. I could change my color options in VBA so it stands out a little better.

There’s no requirement to make my variables proper case and thus hard to distinguish. I could code For Each cell and make my variables stand out because they’re lower case. But there is a substantial advantage to using capital letters – the IDE fixes your caps and tells you if you have a typo. So I want to have at least one capital letter to get that benefit. I could use camel case for two syllable words, like fileName. Do I have to always avoid one syllable words?

As I’ve mentioned in the past, I don’t use data type prefixes in other languages. But like this experiment, I don’t really like the variables I use when I code Ruby and I think it’s for the same reason. The difference is that my Ruby IDE doesn’t fix caps and, maybe more importantly, everything about Ruby is new and novel and foreign so on the scale of strangeness, all lower-case variables don’t really rate.

Another advantage of data type prefixing is being able to use reserved words. For my experiments, if I want to use a reserve word I’m going to tack on an underscore. When I want to code Dim lEnd As Long, I will instead use Dim End_ As Long.

I haven’t made a userform yet, but there is a problem that I’m not sure how to solve. Most of my controls have labels and any control with a label is named the same as the label. The textbox tbxSearch has lblSearch. The combobox cbxCustomer has lblCustomer. There’s real value in that and I’m not sure how to get away from it. Another problem with userforms are class properties. When I start typing Me.tbx I know I’m getting a textbox. But if my textbox is called CustomerName and I have a property of the userform class to hold a customer name, how do I distinguish them without the tbx? That’s not a rhetorical question, I really want to know how people do it.

I’ll keep writing new code without data type prefixing until I can’t take it anymore. And, of course, I’ll keep bitching about right here.

└ Tags: syndicated
  • Page 13,962 of 14,643
  • « First
  • «
  • 13,960
  • 13,961
  • 13,962
  • 13,963
  • 13,964
  • »
  • 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