We equally welcome both specific questions as well as open-ended discussions, but if you do have a question, we connect you with likely answerers by alerting them to help

Recent Answerers

Answered 2,257 Q&As 75 Endorsements
Answered 1,047 Q&As 87 Endorsements
Answered 1,271 Q&As 260 Endorsements

Participate in, or lead your own, realtime chats about your favorite interests

Explore Group Chats

Our patented matching algorithm does more than just connect question askers with answerers …

Whether you're looking for a professional mentor or to engage in business development, our smart networking tool recommends people matches based on your professional goals

All that patented goodness is bundled into our API so you can build apps that tap into our entire people matching database

Databases
Member Avatar

Hello. I am making a database using SQLite. Then I need to make an API with functions that returns information about that database. Then I need to print out a …

Mobile Development
Member Avatar

I am making an adroid application. I am saving sales data on firebase with current date. I have formatted the System.currentTimeMillis() into SimpleDateFormat. The date is successfully stored on firebase …

Software Development
Member Avatar

I'm writing a utility that will likely be called by a script that uses argparse, but should be useable by any script. The engine object constructor needs a dozen or …

Member Avatar
Search Engine Strategies
Member Avatar

As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, …

Linux and Unix
Member Avatar

Earlier today, I was in need of an easy way to delete files that mached a specific format within a series of folders. For the case of this example, let's …

Topic by Dani

If you're using the latest version of macOS where the default shell changed to zsh you can glob it

/tmp
❯ mkdir -p omg/wtf/bbq

/tmp
❯ touch omg/wtf/bbq/{1,2,3,4,5,6,7,8,9,10}.css

/tmp
❯ …
Computer Science
Member Avatar

I solved a problem some day ago. In that problem you had to format an integer. I found it hard to solve. So here I am sharing my problem with …

Software Development
Member Avatar

Following The New Boston on youtube, he is using is in an if statement and doesnt show any error, on mine I get a syntax warning and it asks if …

Topic by davidmoffitt1

Have you tried the tutorials code verbatim?

Can you show the code in question?

Digital Marketing
Member Avatar

I am using GAM as so:

<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {

        googletag.defineSlot('/86406173/ArticleLeaderboard', leader_size, 'div-gpt-ad-1321481451196-0').addService(googletag.pubads());
        // etc.

        googletag.pubads().collapseEmptyDivs();
        googletag.pubads().enableLazyLoad();        
        googletag.pubads().enableLazyLoad({
            fetchMarginPercent: 200,
            renderMarginPercent: 100, …
Topic by Dani

Then, I slowly scrolled down the page while keeping an eye out on that particular line.

Thanks for the tip which helped. In the meantime, I discovered this nice …

Member Avatar
Software Development
Member Avatar

Hi there, I've come across an issue while trying to get all the records from a SQL database in java.
A bit of necessary introduction here.
I'm not using any …

Member Avatar
Web Development
Member Avatar

In terms of performance, which is the best jQuery CDN to use? The one at cdnjs.cloudflare.com, googleapis.com, jsDelivr, code.jquery.com, etc?

Member Avatar
Software Development
Member Avatar

What are all num referring to ?

class Sample {
  int num;

  void method() {
    num = 1;
    int num = num = 2;
    num = 3;
  }
}
Member Avatar
Web Development
Member Avatar

Hello Friends,
Recently I have created a website. And whenever I am visiting my website one yellow i can see left side of address bar. It saying my connection not …

Topic by tareqjhe1

Looks like you have now purchaed an SSL certificate and have a secure website.

This question was asked on March 19th and it looks like an SSL certificate was purchased …

Digital Marketing
Member Avatar

How can I tell how much bot traffic I'm getting in Google Analytics?

I've been doing a lot of work on improving my crawl budget and I want to see …

Web Development
Member Avatar

Hello guys,

I am using a Bootstrap grid with 6 element (As articles). 5 come directly from the database, and I need to add one more article element at the …

Topic by fecapeluda

What is <?php START LOOP ?> ?? I assume it's some logic you have that loops through articles?

I'm having a hard time following your code because of your indenting. …

Software Development
Member Avatar

I am using CPU Sim to change wombat1 to wombat2 by adding stack.

I have done adding a Stack RAM and a Stack pointer SPR.

I have implemented a push …

Member Avatar
Programming
Member Avatar

Hi all,

I am new to C++, I am studying a C++ code and would like to learn how to implement it in Python.

I encountered the following:
1 unsigned …

Topic by NickLSC

I think you'll have to explain more about what exactly the code is supposed to do. The second line, unsigned int arr2 = (unsigned int ) arr1;, should throw a …

Software Development
Member Avatar

Python-wxPython Tutorial

This tutorial will take you through the basics of wxPython.

Introduction:

Let's face it. I am a dinosaur. I got my computer science degree in the mid 70s. …

Software Development
Member Avatar

This is Python 3.4.2

The documentation says that

s2 = s1.strip('a')

will strip out all the 'a' in s1.

When I run it, only the leftmost character - and only …

Topic by ZZMike

@bluenunn - If you want to add to an existing post that is obviously dead, it is better to add a new question and reference the old one in the …

Web Development
Member Avatar

I'm trying to use CSS as so:

<link rel="stylesheet" media="screen and (max-width: 991.98px)" href="/files/mobile_css/daniweb.css" type="text/css">
<link rel="stylesheet" media="screen and (min-width: 992px)" href="/files/css/daniweb.css" type="text/css">

I want to load one CSS file …

Web Development
Member Avatar

Hey guys,

I have the following code...

And what I want it to do but cant get it to do is add up all the price fields and change the …

Networking
Member Avatar

Hi Guys. I knw what I want to achieve but not how to achieve it! Any hints would be gratefuly received, or, if it's not possible, tell me so I …

Search Engine Strategies
Member Avatar

As of this morning, the Speed Report (Experimental) in Google Search Console has been replaced by a more robust Core Web Vitals report.

It still is broken up into a …

Software Development
Member Avatar

I have a Chromecast that I use to stream video from my laptop to our TV. It works great, however, until VLC (Videolan) releases their promised upgrade with Chromecase support, …

Computer Science
Member Avatar

I solved a problem some day ago. In that problem you had to format an integer. I found it hard to solve. So here I am sharing my problem with …