Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm looking at the documentation here and it seems to be a very straightforward JSON-based API that has nothing to do with cookies. The csrf_cookie_name you're referring to has to do with using cookies for anti-CSRF protection. Can you please show us the full requests you're using with Postman? Where, exactly, is csrf_cookie_name showing up? It sounds like you're using some type of PHP framework that is using it.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

The thing is, when I work for a company I expect the company to provide the tools for the job. If you work as a programmer for a company they supply such things.

That’s definitely not always the case, especially if you are working as a contractor.

Secondly, it seems he just wants to get his skills back up and build up his resume. I think the assumption is that he’s not currently hireable.

rproffitt commented: As time passed I found I could negotiate better. I don't mind using my own gear but once they want me to install their apps, they supply it all. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Why can’t you use the computer you’re using to type this message?

rproffitt commented: Excellent point. With today's cloud based IDEs and more, it doesn't take much to write code and test. +17
AndreRet commented: Indeed +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Can you link to the specific URL that demonstrates the javascript syntax error?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Parasite SEO basically allows user to publish their blogs, content on the authority or main website pages

I have no clue what that means. On their own homepages? Or on the homepages of authority sites?

rproffitt commented: There are longer writings on the web about it but it seems to be "other than their own sites." +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What is parasite seo? I’ve never heard that term.

rproffitt commented: "Parasite SEO basically allows user to publish their blogs, content on the authority or main website pages." is the most common definition. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are there any ways that i can use to find out, who has been sharing my quora profile link, and to which space or url was my profile link shared to.

Not that I know of, no. LinkedIn, for example, tells you who viewed your profile (unless they have in their preferences to remain anonymous, but, if I recall, if you have that option enabled, you don't get to see who viewed your profile either), but I have no recollection of Quora having such a feature.

I am asking to find out if webcrawlers or webscrapers be used to search for and list the urls where my profile link appears within quora.com and the account name that posted it?

You can usually perform a link: search in Google. You would do something such as Googling for:

link:www.quora.com/Dani-Wolkowicki

(or whatever your profile URL is), and it's supposed to show you a list of webpages that link to the URL you are querying. However, I just tried it and it didn't work for me, which is odd. Perhaps Google changed this feature.

If you go to Quora privacy settings you can also disable allowing search engines to index your name and allowing your profile to be discovered by email. You can also optionally choose to disable receiving Quora messages.

rproffitt commented: Going dark. +17
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

So now to the original issue: can you claim copyright over the output from a trained model?

I agree with you that AI generators aren’t “intelligent”, but rather everything they generate is derivative of the information they were trained with. They were also programmed to respond to prompts by using their training data.

Where we disagree is that I think that the copyright holder of their output is OpenAI corporation, and not the individuals who entered prompts. For me, the end users of the software are utilizing a piece of software, and the magic and decision making comes from the software, not from the prompt.

rproffitt commented: “Any sufficiently advanced technology is indistinguishable from magic.” - Asimov +17
Reverend Jim commented: Actually, that was an Arthur C. Clarke quote. +15
Fest3er commented: I suggest that contract law may enter the picture. Specifically, you requested the AI create code on your behalf; as such, it is your code. +7
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Where do you draw the line?

My layman's expectation with copyright law is that I would tend to own the copyright to something that came out of my brain and I wrote and, subsequently, chose to self-publish. However, if I prompt an AI platform to write something, then the AI platform generates something, and may even add it to its own database before even showing it to me. At that point, by the time I've seen it for the first time, it's been created by another entity and stored in that entity's database. I might not even be the first person to read it. (Let's make the absurd, yet technically feasible, assumption that ChatGPT's engineers are watching query responses in realtime, and read the response before it's sent over to you.) What claim would I have to it?

Would it be possible that I could own the rights to a blurry photo (input) but not the enhanced output?

What does existing copyright law say today about me handing a photography expert an old photo, and that expert manually colorizing and enhancing the photo with their own skillset?

When I joined in 2010 I thought there was a clause in the TOS that said Dani owned the rights to any software posted on the site.

Yes, back since 2002 there was a clause in the TOS saying that DaniWeb LLC became the copyright holder of any content published to it by its members. The purpose …

rproffitt commented: Thanks for expounding about "since 2002." Makes a lot of sense. +17
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Why would you need persistent connection anyway unless there were a high volume of transactions?

I foolishly had persistent connections enabled for all database connections here at DaniWeb, although I am using transactions when members make posts, etc. since it touches a few different denormalized tables simultaneously. A lot of AJAX requests were failing due to this MySQL Packets out of order error showing up in the error log, but it was never anything I could reproduce. I now have persistent connections disabled for all HTTP POST requests and the problem completely went away.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It makes sense to me that if I run a prompt (of my own creation) through an AI system (one that I did not write), I should not hold the copyright to its output.

chuckc commented: If I run original C code through a C compiler that I do not own, do I own the binary and executable output? +3
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 problem went away.

Lots of Google searches later, I found lots of articles and forum posts saying that it was an issue with the my.cnf configuration setting, and to tweak max_connections, etc. Then our sysadmin found an article saying it was an issue with the version of MySQL + PHP we were using together. There apparently are lots of causes for this, and the fact that it wasn't reproducible made it all the more difficult to debug.

Well, I finally figured out what the cause was, and so I'd like to share it with you, at least in our case.

On Persistent Database Connections in the PHP manual there is a warning blurb with a red background that says that you should never use persistent connections if your script uses transactions.

Well, that was it! We do, indeed, use transactions. I've made an adjustment to no longer use persistent connections when using transactions, and the problem miraculously solved itself!

wwwalker commented: Why would you need persistent connection anyway unless there were a high volume of transactions? +3
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Back when we used to do a lot of news stories, social media worked really well. Now that we are focusing more on niche programming tutorials, I’m having a difficult time figuring it out. What do you do?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I received some awesome help from someone I had previously hired on Upwork to help me with a JS project related to the DaniWeb editor.

Here is my actual (working) code:

// DOMNodeInserted DOMNodeRemoved have been deprecated!
/*
added_tags.on('DOMNodeInserted DOMNodeRemoved', function() {
    check_new_tags_status();
});
*/

const observer = new MutationObserver(check_new_tags_status);
observer.observe(added_tags[0], { subtree: true, childList: true });

Albeit, this fires anytime there has been any change, so it's a little more inefficient than I'd like (as it does trigger a couple more times than required, but the cost of check_new_tags_status() is incredibly low, so I'm not overly concerned, and it got rid of the deprecation warning.

Here is his sample code for specifically what I'm looking for:

const observer = new MutationObserver((mutations) => {
  // Only call function_call if one of the mutation's type is childList
  if (mutations.find((x) => x.type === "childList")) {
    // Call function_call.
    function_call();
  }
});

// Observe for changes in #element and its descendents.
observer.observe(document.querySelector("#element"), {
  subtree: true,
  childList: true,
});

I'm not using it yet because I have super bad brain fog, and I can't fully wrap my mind around what I'm reading. So I'll tackle this once I'm feeling a tad better.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Unfortunately not everybody is following these methods because they copy and paste and believe that the code is 100% correct/compliable.

And therein lies the problem.

AndreRet commented: Exactly, why it is perhaps that we love helping these members out! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I would just like to say that I love Screaming Frog. That is all. Carry on.

What is your #1 go-to SEO tool?

Reverend Jim commented: Don't know it. Is it anything like crunchy frog? +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I don't know about four steps but ...

Understand your product. Understand who you need to market to. Market to the target demographic. Collect leads. Follow-up on each of those leads.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

So why do folk write such articles? Why not cover use cases such as folk and companies I know?

Because no one disagrees that ChatGPT and AI has a ton of benefits towards improving efficiency, streamlining workflows, eliminating repetitive tasks, etc. There isn’t really a need for a bunch of articles to advocate for it to bring attention to it. It’s already proved itself as the fastest growing platform of all time, and everyone has already heard of it by now, with the vast majority of people trying it, companies embracing it and integrating it into their workflows, etc.

The problem is that a lot of people don’t understand or are not aware of the danger of the technology when used incorrectly, and the damage it’s doing within publications, within forums, within sites like DaniWeb and Stack Overflow, within GitHub repositories, etc. There is more need to inform the world about the dark side of AI. This is journalism, after all. News articles about how everything is roses and rainbows 99% of the time isn’t news. They report on the 1% when it’s not. Especially when that 1% has the ability to spew false information that could cause a lot of damage.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

You should really try to show that you did some effort in searching before just posting a question here, you would have had your answer long before the time we reply to your question.

That kinda goes against DaniWeb's model. Questions asked on DaniWeb help not just the question asker, but everyone else afterwards as well. Now that this question was asked here, the next person to type "what is hcxtool for kali linux" into a Google search might just find this URL as a top result.

That being said, let's provide more information for that next person ... Here's a link to the Github repo for hcxtools so you can install it on any distro.

AndreRet commented: Different debate for another time and place :) +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I would consistently have problems with fingerprint unlocking, but never had any issues with face verification. Do you wear regular makeup or is it more like a costume/mask? You can always just unlock with a pin. I think if face verification fails once, it asks you to unlock via pin. There should never be any need for a third party unlocker. In fact, I would very strongly recommend against it.

AndreRet commented: Agree, stay away from 3rd party loggers +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Well, they're posting in the digital marketing forum, so I'm assuming web marketing performance. Yes ...?

AndreRet commented: Yes and no :) +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

https://www.theregister.com/2023/08/07/chatgpt_stack_overflow_ai/

That's exactly what I've been saying from the beginning.

AndreRet commented: :) +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Oh yay!

AndreRet commented: :) +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have never seen ChatGPT be able to produce fully functioning code that does something useful and productive (eg a standalone tool or project, such as a GitHub repo) without any human editing in order to work.

rproffitt commented: I have seen ChatGPT produce fully functional code. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

"41% of all code on GitHub right now is AI generated."

I don’t see the positive in that.

rproffitt commented: It's more of a surprise given the time from when GPT appeared. +17
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome to DaniWeb. Thanks for joining. Do you have experience with any Linux distributions? Configuring and compiling the kernel might give you the project you're after.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome to DaniWeb!!

johanwillman7 commented: hi +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

would I have to alter where it says {SERVER-GENERATED-NONCE} to match with the CSP mod_unique_id

Yes, you would. I haven't used Apache in over a decade, but a Google search says you can do something such as (provided you have PHP short tags enabled):

<script nonce='<?= $_SERVER['UNIQUE_ID'] ?>'>

If your server doesn't have short tags enabled, you would do:

<script nonce='<?php echo $_SERVER['UNIQUE_ID']; ?>'>
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I am having some health issues and extreme brain fog, so while I do have experience with CSP, please bear with me.

My first question to you would be, what are you trying to accomplish by using CSP nonces? In theory, I completely get it that it allows you to whitelist specific inline script tags (and block all others that don't have a nonce), but does the content and demographic of your website call for such scrutiny over security?

Here at DaniWeb, the CSP we use is simply:

Content-Security-Policy: frame-ancestors 'none'; form-action 'self' https://www.paypal.com

Let's assume, however, that you do want to use CSP nonces. As far as expr=default-src, I think basically what that is doing is expr= sets the value of Content-Security_policy to everything following (e.g. starting with default-src 'self' ...).

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's possible it was a browser change that switched from using the site's designated logo to the site's favicon.

rproffitt commented: Things change. Still my favorite line from developers is "I only changed one line." +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi everyone! Just checking in. Nothing new on my end of things. I've mostly been taking it easy and going to doctor appointments most days. Still awaiting the bone marrow biopsy scheduled for July 28th and then we should have the results of that 1-2 weeks later. The goal is that it will give some answers and then they can FINALLY start treating me and I can start feeling better. Unfortunately, if it ends up being inconclusive, a lymph node biopsy is next, and then more and more steps and tests to work towards getting a concrete diagnosis.

pritaeas commented: Hope you get answers. +0
John_165 commented: get well soon +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
AndreRet commented: I refuse to answer any questions from this member, good luck. :) +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have no idea what it is, other than adding "sustainable" to doing everything nowadays to hint that it's earth-conscious.

rproffitt commented: That's the gist of it. It's a book that came out in 2021. +17
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yes, you can use something like TinyMCE.

rproffitt commented: From memory, didn't you mention CKEditor way back when? +17
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I would begin with a Google Search Console account and multiple sitemap files, with each sitemap file listing all of the URLs in different sections of your website. You can have a sitemap index file that links to all the different sitemap files, with each sitemap file representing a different section of your site, or pages of a different type. You can then use the Search Console sitemap functionality to figure out which sections of your site Google doesn't like, and why.

Smbom commented: Thanks for your advice, for me, it's a new angle! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's not just big businesses. "If you're not the customer, you're the product" is applicable to sites such as DaniWeb, as well. We essentially create a free community platform targeted to a specific audience demographic, and then we rely on advertising dollars from companies that want to reach that targeted demographic in order to pay our bills. This is the same business model for publications and pretty much all media conglomerates (print magazines, etc.) as well.

The downside is we serve multiple masters. We have to give end-users of our community what they want or they'll leave and we won't have any inventory to sell. We have to give the advertisers paying us (our customers!) what they want. We have to give Google, who supplies us with a fresh supply of new end-users, what they want, or else we run into the SEO issues we are currently experiencing. And we have to give our moderators and top contributors what they want. Etc.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi everyone! Thank you so much for all your well wishes. Today is actually the first day in about 2 months that I've been able to make it to the computer! I'm feeling well today, and hope this trend continues. As far as my health is concerned, there's still no news to share, but please be sure to keep me in your prayers :)

AndreRet commented: Whoop whoop, hope it only gets better from hereon! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Many bots are able to get around honeypots and CAPTCHAs. Try using a different honeypot as well as captcha. The latest version of ReCaptcha might not be good enough on its own anymore.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Stack Overflow has always had that arrogance behind it. It’s from the very nature of how you gain moderation power in the platform based on your activity, regardless of if you are even-tempered or have a personality suited to being objective, as opposed to being voted into the position. It’s a double edged sword, because, as a result, active members feel like they have a right - not a privilege - to control how things should function, even if that’s at odds with the business model or investors.

AndreRet commented: Amen to that! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What are the specific programs you’re tasked to write? Do you have any code so far? Where are you stuck?

AndreRet commented: Luckily there is Saturday and Sunday to catch up on lost work in the week - story of our lives. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Wouldn’t that be a problem with choosing the wrong API for the job, as opposed to a difficulty in implementing a particular API? Unless I’m misunderstanding you?

AndreRet commented: Agreed +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Personally, I think the most important step is getting paid...

Does that step come before or after choosing a framework? :) In all seriousness, that could apply to anything anyone chooses to do as a consultant. If the question was “what’s the most important step when baking cookies?” then a baker might offer the exact same answer.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

With ANY API, you mean? I suppose the biggest one is poor documentation. At least that’s the one I find the most frustrating.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Please post the code you have, what isn’t working as expected, or where you’re stuck, and we can try to help.

Or, if you need help with the logic, let us know what it is you’re trying to accomplish and how we can help.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

To turn off the use of the embedded webview and resolve this issue, you'll need to modify the way you handle the OAuth 2.0 authorization flow in your application. Instead of using an embedded webview, you should switch to using a system browser for the authorization process. Here's a general guide on how to achieve that:

That's the thing. I have never used an embedded webview, and I am only using a system browser for the OAuth authorization process.

The only thing I can think of is that someone who is using our API is using an embedded webview, which, now that I think about it, seems likely.

AndreRet commented: I will test the same on an API of mine and see if it returns the same results but I think you are right, it might be by another user of the API. +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I suppose that it is growing because people are buying products on it, and so the owner can then reinvest more money into its growth?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome!

As far as front-end, I'm really awesome with CSS (Sass), and so-so with Javascript, although I'm really awesome with jQuery. Old school, I know!

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Wow! Thats realy awesome idea. Ill try it!

Did it work?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I would also like to clarify, your topic title here is improving meta tags. The <h1> tags you have aren't meta tags, they're header tags. It's a technicality, but an important distinction to help your Google searching while you do research to fix this issue.

P.S. What happens if you try <h1 class="display-4"><?php wp_title(''); ?></h1>? Not sure if it will work. It was just the first thing I found after a quick Google search to try to help you.

Richard_Harldsn commented: Wow! That`s realy awesome idea. I`ll try it! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I’m sure he will like that it’s procedural :)

borobhaisab commented: You a 100% right there! Checking it oput now. +4