• Member Avatar for jkon
    jkon

    Created Thinking to write a simple "AI app" tutorial , should I do it ?

    LMs are great , but if you don't know how to ask the right questions , break your thoughts in manageable pieces they can't do it for you. Even when …
  • Member Avatar for jkon
    jkon

    Replied To a Post in This is me venting

    I can't start a new topic for this because: daniweb.com/community/contribute responds with 500 Internal Server Error , thought to write to you about that in case you haven't noticed yet. …
  • Member Avatar for jkon
    jkon

    Gave Reputation to simhakidsden in remove first h3 tag and br tags in text

    To remove the first <h3> tag and <br> tags from text, you can use regular expressions in programming languages like Python or JavaScript.
  • Member Avatar for jkon
    jkon

    Replied To a Post in Formatting web pages for various displays

    Hello , it took me a while to respond, sorry for that. I also use responsive web design , just adjustive and then responsive. I totally agree with you Dani …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Formatting web pages for various displays

    One more take on your question "My question (and I do have one) is, how difficult is it for the web site to customize the html for the target device?" …
  • Member Avatar for jkon
    jkon

    Gave Reputation to Reverend Jim in What is your biggest fear with the current A.I. revolution?

    My biggest fear is an expansion of misinformation to the extent that we will not be able to trust that anything we see, hear, or read will have any basis …
  • Member Avatar for jkon
    jkon

    Created What is your biggest fear with the current A.I. revolution?

    One thing that I have learned , is to acknowledge my fears in order to see if I can do anything about them. I would love to read yours fears …
  • Member Avatar for jkon
    jkon

    Created AlmaLinux vs Rocky Linux for a new server

    I watched both grow , from their early beginnings , because our current servers are on CentOS and of course I am not happy with where CentOS has gone. Because …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Why some people copy / paste LLM answers to a question as their own ?

    First of all , Dani I am happy that you exercise even in a stationary bike (isn't Los Gatos bikes friendly ? From Google Maps it seems so , but …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Google is promoting reddit in an arrogant way

    Let me clarify something first: I don't "hate" Reddit , I don't have strong feelings about it at all , I just not "loving it". I have never been a …
  • Member Avatar for jkon
    jkon

    Created Why some people copy / paste LLM answers to a question as their own ?

    I don't get it. It is different answering a thread to quote an answer that you got from an LLM and it is completely different to post it as your …
  • Member Avatar for jkon
    jkon

    Edited Google is promoting reddit in an arrogant way

    I don't love Reddit , in fact before Google started to slap it on my face few months ago , I had many years to been there for a simple …
  • Member Avatar for jkon
    jkon

    Created Google is promoting reddit in an arrogant way

    I don't love Reddit , in fact before Google started to slap it on my face few months ago , I had many years to been there for a simple …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Calling an object from another in PHP using construct

    In every OOP language that I know you can create infinite recursive loops in a construction method . Lets play a bit with it in PHP: class A { private …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Do backlinks to disallowed URLs help the domain overall?

    Dani I have never seen in in that way , just two clarification questions if you would like. As I understood you are talking about URLs that are disallowed in …
  • Member Avatar for jkon
    jkon

    Replied To a Post in This is me venting

    Dani , yes I also believe that you are responsible for the decline of DaniWeb .... BUUUT that was many years ago. We all foreseen the decline of "forums" back …
  • Member Avatar for jkon
    jkon

    Replied To a Post in What's the most unexpected hobby or interest you have outside of coding?

    Growing up in the 80's in an environment where nerds where literally punished I developed lots of skills to sugarcoat the fact that I had a computer , I was …
  • Member Avatar for jkon
    jkon

    Replied To a Post in DomContentLoaded vs jQuery Ready fn

    Of course I agree with toneewa and pritaeas but because it is an intresting topic I thought to share some thoughts to it. Given the fact that I load jQuery …
  • Member Avatar for jkon
    jkon

    Replied To a Post in A reliable way of detecting AI content?

    How will US law enforcement react (or not) into AI usage by users in internet platforms we will all going to find soon (in this election cycle). Not only doctored …
  • Member Avatar for jkon
    jkon

    Replied To a Post in A reliable way of detecting AI content?

    There are some apps that claim to detect AI Generated content and have paid APIs (e.g. GPTZero , Originality) , I haven't use them except of testing , I didn't …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Add property to standard object

    I completely agree with you with the "hackily" part , but here it is: $arr = [ 'foo' => 'bar', 'baz' => 'bat' ]; $obj = json_decode(json_encode($arr)); $obj->newProperty = "something"; …
  • Member Avatar for jkon
    jkon

    Created How do you use LLM AI tools in your daily programming workflow ?

    I am curious how other programmers that I have no interaction with in this subject , are using LLM AI tools in their daily programming workflow. Although I use them …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Help with functions - basics

    It seems that the issue has nothing to do with C++ or with functions. If you are new to programming why not try some tutorials in an easy accessible language …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Mysidia Adoptables PHP Help

    PHP is pretty good and expressive with warning , error and exception messages. If you don't understand anything from the messages that you get please write more about what exactly …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Mouse Elbow or Lateral Epicondylitis, a big elephant in the room

    Dani , I also took painkillers for some days along with anti-inflammatory but that couldn't be permanent, and in the long run I didn't had any other option than to …
  • Member Avatar for jkon
    jkon

    Gave Reputation to AndreRet in Mouse Elbow or Lateral Epicondylitis, a big elephant in the room

    I am blessed to not have suffered from this... yet. I have read a lot about people starting to show symptoms or that already suffered from this. Best of luck, …
  • Member Avatar for jkon
    jkon

    Created Mouse Elbow or Lateral Epicondylitis, a big elephant in the room

    Mouse Elbow or Lateral Epicondylitis, a big elephant in the room. Anyone else ? My first computers didn't had any mouse so this wasn't an issue. Since the early 90's …
  • Member Avatar for jkon
    jkon

    Replied To a Post in URL friendly with htaccess

    I also use nginx in newer servers but also maintain some with apache (most of my company new apps have the client / visitor app in Java and the Admin …
  • Member Avatar for jkon
    jkon

    Replied To a Post in URL friendly with htaccess

    Hello Adolfo_1 . It took me a while because I didn't saw your response (if it was a reply and not a comment I would have seen it to activity …
  • Member Avatar for jkon
    jkon

    Replied To a Post in URL friendly with htaccess

    First case: redirect https://www.example.it/news.php?slug=aaaa-bbb-ccccc to https://www.example.it/news/aaaa-bbb-ccccc and treat https://www.example.it/news/aaaa-bbb-ccccc as if it were https://www.example.it/news.php?slug=aaaa-bbb-ccccc . RewriteEngine On RewriteCond %{THE_REQUEST} ^(GET|POST|HEAD)\ /news\.php\?slug=([^&\ ]+) RewriteRule ^ /news/%2? [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond …
  • Member Avatar for jkon
    jkon

    Replied To a Post in URL friendly with htaccess

    Just to understand what you are asking. Do you want when somebody visits https://www.example.it/news.php?slug=aaaa-bbb-ccccc to redirected automatically through .htaccess rules to https://www.example.it/aaaa-bbb-ccccc with 301 Moved Permanently status code , and …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Invalid robots.txt but don't understand why

    probably this is a known issue with Google Search Console robots.txt tester [see @ Google support](https://support.google.com/webmasters/thread/246133059/error-invalid-sitemap-url-detected-syntax-not-understood-line-3?hl=en) . One of the weird things is that it doesn't happen always (for example …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Invalid robots.txt but don't understand why

    > The only thing I can think of is that this new robots.txt parser is still buggy and expects a sitemap file as opposed to a sitemap index file No …
  • Member Avatar for jkon
    jkon

    Gave Reputation to JesusPena in Invalid robots.txt but don't understand why

    Google Search Console's new robots.txt tester enhances website management by identifying issues in the last two lines of your robots.txt file. This tool aids webmasters in ensuring proper crawling instructions …
  • Member Avatar for jkon
    jkon

    Replied To a Post in C++ How bad is to implement class methods in a hpp file and on its cpp ?

    Hello TerribleTadpole , thank you for taking the time to reply. I understand that as a basic rule what you wrote makes sense. Here are the two reasons I never …
  • Member Avatar for jkon
    jkon

    Created C++ How bad is to implement class methods in a hpp file and on its cpp ?

    Hello , I always had a distant relationship with C++ (writing in it small programs (or libs for other languages) only when performance really matters) but I have found myself …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Does Google follow internal nofollow links?

    I have none internal Google info , but my understanding always was that having an internal "nofollow" link doesn't tell Google not to crawl it , just not to follow …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Is it possible to prevent image downloading?

    Currently not even this simple JavaScript works since there are many errors , just open the console in development tools and you will see all those. Client side "save image" …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Confused by JS async for script tag in HTML head

    Dani , I have spend many hours of my life frustrated trying to achieve the 100% in every metrics in an app in PageSpeed Insight and more importantly in Chrome …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Confused by JS async for script tag in HTML head

    As for the google ads part: > I guess the anonymous function, both in the header and in the body, just get added to the stack, and are eventually called …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Confused by JS async for script tag in HTML head

    > How does the page know not to call any of the gtag() calls until after the async JS has completed loading? Short answer , it doesn't . What you …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Best MVC programming practices

    I have no working experience with C#/asp.net , but here are few thoughts. - There are many MVC implementations , keeping the structure as simple as possible with no unneeded …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How do I prepare for a software engineering Msc(conversion) in 1 month

    Python is a language that i write but I am not fond of (I am a programmer). But today I saw an interview from Van Rossum that was great (he …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Should I use button, div or anchor for loading more content?

    This is a rather controversial topic mainly because Google is changing its view in that over the last years. Luckily enough the strategy that we have used 13 or 14 …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How to Determine the Number (and Quality) of Backlinks You Need to Rank?

    The title of the post and the subject din't mentioned anything about keywords or "words of interest" to by more precise, it just mentioned "backlinks" . I that context my …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Is AI Generated Code copyrightable? Maybe not.

    Well most AI generators out there claim that all (or in some conditions) of the results that you create can be copyrighted by you. The conditions usually is to have …
  • Member Avatar for jkon
    jkon

    Replied To a Post in best practices to make content for two different websites for a same shop?

    There are so many ways to go forward with this , I have implemented this in various different ways , and it all comes down to what system you already …
  • Member Avatar for jkon
    jkon

    Replied To a Post in What are some best practices for optimizing code performance in PHP?

    The main points have already been mentioned (like OPcache , FPM etc ) so I will add a few minor ones. Request scope caching for prepared statements: There is no …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Shared Web Worker with Dedicated Web Worker as failover - Lazy Load Example

    Since this is not in any production project yet , I am considering that it is best for W3C validation and SEO to have the noscript tag inside a span …
  • Member Avatar for jkon
    jkon

    Created Shared Web Worker with Dedicated Web Worker as failover - Lazy Load Example

    I wanted to post something in Daniweb for a while but I didn't had anything new. Recently I decided to write a new implementation for websocket connections client side using …

The End.