987 Archived Topics

Remove Filter
Member Avatar for Dani

Digital Publishers: Do you block AI bots either via robots.txt, with HTTP 403s, or both? Why or why not? Currently on the fence about it and looking to get opinions from other publishers as to their reasoning and how it's influenced their SEO, etc.

Member Avatar for Dani
0
26
Member Avatar for Dani

What are some best practices for optimizing memory management when working with large datasets? I am tagging this topic both with php (because that is my language of choice, and the one I work with big data with) as well as c++ (because I know DaniWeb has a large low …

Member Avatar for ThinkWriteGrow
1
177
Member Avatar for Dani

I use Github for DaniWeb's code base. I was just wondering though. How secure is it? Would you ever store passwords or other sensitive information in Github (Don't worry. We use .gitignore.)? What about code that could be considered a trade secret, or that type of thing?

Member Avatar for Dani
0
216
Member Avatar for Dani

Linux has come a long way, but it's still primarily a server OS, correct? How many of you linux fanboys and girls use it as your primary operating system for daily tasks? How does it compare to Windows or macOS in terms of productivity and overall user experience?

Member Avatar for trcooke
2
200
Member Avatar for Dani

Probably this is me just venting more than anything, but has anyone had success in getting in touch with someone from Cloudflare billing? Cloudflare recently charged us a boatload of money for Argo accelerated traffic that was the result of a DDoS attack. Cloudflare was able to detect on their …

Member Avatar for Dani
1
39
Member Avatar for Dani

How can I identify and delete unused MySQL indexes? I have a large table that has somehow accumulated way too many indexes over the years, and I'd now like to identify and delete indexes that are no longer used by the application.

Member Avatar for Dani
0
117
Member Avatar for Dani

I know that this is probably a hopeless question, but are there any automated scripts that would *reliably* and *automagically* convert my thousands upon thousands of lines of jQuery code into native Javascript?

Member Avatar for Dani
0
61
Member Avatar for Dani

Probably a silly question, but is Argo Smart Routing (the usage-based product) only applicable to content served at the origin? Otherwise, does it makes sense to be spending money to find a more efficient path between the end-user and the edge? Isn't the edge already pretty darn close?

0
28
Member Avatar for Dani

Is the Apple Vision Pro worth it if I already have an Oculus Quest? I'm not a big gamer, but I have my entire wedding recorded in VR, and I love watching mini-movies and shows in 3D VR. My husband is into things like Red Matter. I honestly don't remember …

Member Avatar for Reverend Jim
0
52
Member Avatar for Dani

As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for …

Member Avatar for Dani
1
94
Member Avatar for Dani

I do realize that backlinks to URLs disallowed via robots.txt do still have whatever Google's modern version of pagerank is. Depending upon how many incoming backlinks there are, even if Google can't crawl a URL, it might use those external signals to still rank the URL in the search results …

Member Avatar for MasoodDidThat
0
229
Member Avatar for Dani

Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. …

Member Avatar for Dani
1
292
Member Avatar for Dani

Please help me come up with a compelling argument to convince my husband to spend an additional $200/month on AT&T Fiber Internet with 5Gbps download / 5 Gbps upload. We currently have Comcast Xfinity cable with 1.2Gbps download and something like 35 Mbps upload. Xfinity has a 2Gbps plan we …

Member Avatar for Dani
1
156
Member Avatar for Dani

What's the most challenging bug you've ever encountered in your programming career, and how did you eventually solve it? I’ll start. The only one I can recall from the recent past is not realizing that you can’t use a MySQL transaction from within a persistent connection. Here’s [when I learned …

Member Avatar for Salem
2
80
Member Avatar for Dani

I have a two part question: How do you balance accessibility and design aesthetics when building a visually complex website? Are there any unconventional approaches that have worked for you? Secondly, do you give priority to ADA compliance in UX design? Specifically, [the WCAG](https://en.wikipedia.org/wiki/Web_Content_Accessibility_Guidelines)? Personally, I have tried and not …

Member Avatar for rproffitt
0
42
Member Avatar for Dani

I ran into a bit of a snag in my code, and I'm trying to make heads or tails as to whether this will work. From within my PHP script, can I write to a database using a MySQL connection in the middle of a transaction with a different connection? …

Member Avatar for Dani
0
280
Member Avatar for Dani

Inquiring minds want to know. What are you working with? I currently have an Apple M1 Max 14" 2021 model.

Member Avatar for Salem
1
279
Member Avatar for Dani

The Markdown editor that we use here at DaniWeb is called [CodeMirror](https://codemirror.net/) and we've been using it for forever. The other day, I noticed some bugs in the editor toolbar that we use, which is based on the [CodeMirror API](https://codemirror.net/docs/ref/). (The one that allows the buttons for bold, italic, etc.) …

1
66
Member Avatar for Dani

As the question states, is there a reliable way of detecting AI content? I vaguely recall OpenAI announcing something a long time ago that they were going to release something that says whether content was generated via ChatGPT, or am I misremembering?

Member Avatar for Dani
0
165
Member Avatar for Dani

Inquiring minds want to know: For the sake of my pocketbook, do you think Nvidia stock is slated to rebound after today’s disastrous day? I know the earnings call is in just a few days.

Member Avatar for Dani
0
90
Member Avatar for Dani

We host some page resources, such as fonts, on a different subdomain (e.g. webpages are at www.daniweb.com and resources are at cdn.daniweb.com) An HTTP header of `access-control-allow-origin: *` is being sent from all cdn.daniweb.com requests. When inspecting indexed pages from Google Search Console, from the URL Inspection tool I click …

Member Avatar for Dani
2
171
Member Avatar for Dani

Apparently a new feature in Google Chrome is to automatically generate AI content. All I need to do is start typing a sentence or two here in this textbox, right click, select "Help Me Write", choose if I want it to be short-form or long-form text, be formal or casual …

Member Avatar for pallavi2501
4
253
Member Avatar for Dani

We use a lot of AJAX that loads JSON files that return an application/json mime type. In some instances, these JSON files are used to assemble elements on the page, so we don't want to hide them from Google because we want Google to see the page fully rendered. My …

Member Avatar for Chris Hüneke
1
69
Member Avatar for Dani

I was consistently receiving MySQL "Packets out of order" error messages when attempting to connect to MySQL, mostly on my AJAX pages, but I couldn't attribute it to anything or reproduce it in any way. I did notice, however, that when switching MySQL persistent connections from on to off, the …

Member Avatar for Haseeb_12
5
2K
Member Avatar for Dani

DaniWeb is built on top of the Codeigniter 3.1.x PHP framework. Although I probably should have built it as a CI model, here is the database library that we are using. You can see it mainly serves as a wrapper for CodeIgniter's built-in database class. You can see we use …

Member Avatar for pyeri
2
320
Member Avatar for Dani

Just as the title states, do non-web based email clients (e.g. Microsoft Outlook) respect CSP HTTP headers? Specifically, I want to prevent hotlinking of images hosted on my domain within HTML emails with these HTTP headers: Cross-Origin-Resource-Policy: same-origin Vary: Origin

Member Avatar for Ethanbrody
0
149
Member Avatar for Dani

Just a random question to try to get some good discussion going. For me, at least the last handful of years, it's been taking a nice stroll around town. When I first moved to California from NY, I was living in an apartment in the middle of downtown Palo Alto. …

Member Avatar for midnightbastet
0
70
Member Avatar for Dani

Does anyone have anecdotal evidence for or against Google following internal nofollow links? (Irrespective of what they claim)

Member Avatar for KomalBhatt
2
141
Member Avatar for Dani

What are some ways to improve MySQL performance on queries against large tables that include the HAVING BY clause. It's my understanding that anything in there doesn't benefit from table indexes.

Member Avatar for toneewa
0
796
Member Avatar for Dani

I think that I understand the difference between: document.addEventListener('DOMContentLoaded', callback_fn); and: window.addEventListener('load', (event) => { ... }); However, as a jQuery user, what is the difference between DOMContentLoaded and the jQuery ready fn?

Member Avatar for jkon
0
210
Member Avatar for Dani

What was wrong with good ole using SMTP? Has anyone here successfully used an XOAuth library for PHP? Specifically, I'm looking to connect to my Office 365 mailbox.

Member Avatar for Dani
2
175
Member Avatar for Dani

Under Settings, I have the Masking mode set to "Relaxed". It says that means that no text is masked, but that's definitely not the case. It says changes may take up to an hour to appear, but I've waited 24 hours now. I'm still seeing masked text. If "Relaxed" actually …

Member Avatar for Dani
0
77
Member Avatar for Dani

rproffitt will be pleased to know I'm currently at PubCon, an SEO conference for publishers, and the second half of the day today is all about how to integrate AI content into your workflow for SEO gains.

Member Avatar for Dani
0
104
Member Avatar for Dani

I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry?

Member Avatar for Dani
1
135
Member Avatar for Dani

Anyone out there use Hootsuite or Buffer or one of the others? Are you an agency or just manage your own social?

1
51
Member Avatar for Dani

Ashamedly, I'm a jQuery user with very weak Javascript skills. However, I noticed that Google Chrome DevTools console is giving me the following warning: > Listener added for a synchronous 'DOMNodeRemoved' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. …

Member Avatar for Dani
0
5K
Member Avatar for Dani

The new robots.txt tester that is now built into Google Search Console is finding errors with the last two rows of my robots.txt file: Sitemap: https://www.daniweb.com/latest-sitemap.xml Sitemap: https://www.daniweb.com/sitemap.xml The error is: *Invalid sitemap URL detected; syntax not understood* Any idea what could be wrong here?

Member Avatar for Dani
1
1K
Member Avatar for Dani

For some context, I use Google Ad Manager for all display ads on my site. Within the *Privacy & Messaging* section of Ad Manager, I have GDPR messages enabled for my entire domain. The message is published and the reporting stats indicate a sizable usage. Additionally, various ad units have …

Member Avatar for Dani
1
957
Member Avatar for Dani

The Google Analytics javascript tag we use in our HTML <head> is: <script async src="https://www.googletagmanager.com/gtag/js?id=G-3BQYMGHE7E"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3BQYMGHE7E'); </script> Then, there are a handful of `gtag()` calls elsewhere on the page. I'm confused by how async works in this context. …

Member Avatar for Dani
1
238
Member Avatar for Dani

Sometimes you need to delete duplicate rows in a database :) In the future, set UNIQUE keys when you need them :) In the example below, we have a table appropriately named `TABLE_NAME` and there are multiple rows that have the same value for the `duplicate_field` field. In this example, …

Member Avatar for Usamatamimi
4
4K
Member Avatar for Dani

I would just like to say that I love Screaming Frog. That is all. Carry on. What is your #1 go-to SEO tool?

Member Avatar for Dani
3
66
Member Avatar for Dani

I received this email: > > Hello Google Developer, > > We're writing to let you know that we detected the use of an embedded webview in requests to Google's OAuth 2.0 authorization endpoint in the past 120 days associated with one or more of your OAuth client IDs listed …

Member Avatar for Dani
0
445
Member Avatar for Dani

Has anyone been impacted by the Google core algorithm update that started to roll out today? The last one was back in September 2022, for those who are keeping track.

Member Avatar for redplanetpk
0
48
Member Avatar for Dani

I'm really bad with regex. For the purposes of URI rewriting, I'm trying to figure out how to match a word one or more times in a string. For example, I want to do something like: string/string/string/foo/bar => foo/bar string/string/bazbat => bazbat Currently I have: ^string/(.*)$ => $1 and that …

Member Avatar for Reverend Jim
0
142
Member Avatar for Dani

I've been using CodeIgniter 3 for many years now, and have yet to migrate over to CodeIgniter4. Anyone here using Yii, Laravel, Symphony, CakePHP, or any others? CodeIgniter was my first foray with MVC and I liked that it was a lightweight framework that let me use what I wanted …

Member Avatar for pritaeas
0
103
Member Avatar for Dani

All this hoopla around ChatGPT and AI got me thinking about voice search. Has anyone created a version of Siri that actually *works*? (And, no, Google Assistant and Alexa don't really count. Google Assistant has never answered a single thing for me.) What about Cortana now that Microsoft owns a …

Member Avatar for rproffitt
1
69
Member Avatar for Dani

Currently getting increasingly frustrated with my 5K widescreen LG monitor for an assortment of reasons.

Member Avatar for David Elder
0
177
Member Avatar for Dani

Everyone knows that PHP has such a bad rap for so much bad code being out there. I am a firm believer it is not a problem with PHP, itself, but rather the incredibly low barrier to entry (open source, readily available with nearly all web hosting packages, etc.) coupled …

Member Avatar for jkon
0
241
Member Avatar for Dani

In the interest of starting a flame war (hehe), what is your favorite Linux distro for newbies? I haven't thought about this in years, but just thought I'd see what Linux people think in 2023.

Member Avatar for Benjamin_17
0
148
Member Avatar for Dani

I'm following the list of [backward incompatible changes](https://www.php.net/manual/en/migration80.incompatible.php) while upgrading my code from PHP 7.4 to PHP 8. It says that `match` is now a reserved keyword. DaniWeb's matching algorithm has many instances of the variable `$match`, the function `match()` and even a class named `Match`. What do I need …

Member Avatar for Colleen Cox
0
146

The End.