987 Archived Topics
Remove Filter 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. | |
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 … | |
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? | |
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? | |
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 … | |
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. | |
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? | |
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? | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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? … | |
Inquiring minds want to know. What are you working with? I currently have an Apple M1 Max 14" 2021 model. | |
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.) … | |
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? | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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. … | |
Does anyone have anecdotal evidence for or against Google following internal nofollow links? (Irrespective of what they claim) | |
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. | |
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? | |
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. | |
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 … | |
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. | |
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? | |
Anyone out there use Hootsuite or Buffer or one of the others? Are you an agency or just manage your own social? | |
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. … | |
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? | |
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 … | |
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. … | |
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, … | |
I would just like to say that I love Screaming Frog. That is all. Carry on. What is your #1 go-to SEO tool? | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
Currently getting increasingly frustrated with my 5K widescreen LG monitor for an assortment of reasons. | |
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 … | |
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. | |
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 … |
The End.