Posts
 
Reputation
Joined
Last Seen
Ranked #74
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
94% Quality Score
Upvotes Received
341
Posts with Upvotes
239
Upvoting Members
121
Downvotes Received
17
Posts with Downvotes
10
Downvoting Members
13
87 Commented Posts
~575.20K People Reached
About Me

When I was kid my father bought me an Amstrad 6128 (after playing a little I desided it to brake down a program to see what is inside it and re fix it – same logic I did with toy cars or anything that had the unfortunate lack to be in my hands), that…

Favorite Tags

648 Posted Topics

Member Avatar for IntelliVinj

A "Passionate Programmer" considering no code or low code options too. **That is gold**. Before A.I. get us nonsense programmers will

Member Avatar for menukids
1
31
Member Avatar for Dani

I exclusively use Linux on my personal PCs, currently the Ubuntu distribution. I switched from Windows between 2010 and 2012. Before that, I used Linux on a different PC for several years, followed by a period of dual booting. Thanks to WINE, I have yet to encounter software I cannot …

Member Avatar for trcooke
2
192
Member Avatar for blockard

It doesn't really play great role in what physical Android device you check your app because you have already checked it in several virtual devices in Android Studio / Tools / Device Manager (I am sure other IDEs have similar functionality)

Member Avatar for Ulfson
-1
60
Member Avatar for Tzanko

I started replying to Robert_171 but in the middle I realized that this doesn't worth typing. Its just an advertisement of a link (not SEO apparently)

Member Avatar for jonathannweyer
2
360
Member Avatar for Dani

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 robots.txt to be crawled by Google , but what meta name="robots" do the have in their html head ? Also …

Member Avatar for MasoodDidThat
0
218
Member Avatar for Dani

I'm still using jQuery, a very slim build. Our JS library/framework handles all the heavy lifting, including AJAX, WebSockets, logical events, data manipulation, and architectural events. Replacing jQuery would be relatively easy since we often use our own extended jQuery functions, like our custom 'onClick' (which has a different implementation …

Member Avatar for Dani
1
249
Member Avatar for KamalDeepPareek

The loading="lazy" HTML attribute-value pair was introduced in 2019–2020, so I would guess it will be safe to use after 2030–2035, except if you don't care about internet visitors and are targeting an intranet of a company where you control the browsers and their versions. Of course, lazy loading impacts …

Member Avatar for gediminas.bukauskas.7
2
548
Member Avatar for denmark-123
Member Avatar for jkon

I have a detached house in the overpopulated city where I live. I also own a small detached house near the beach, which I want to sell so I can buy something smaller on an island with no tourists (I dream). I pay taxes on these properties every year, along …

Member Avatar for melodyce
1
64
Member Avatar for Dani

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 had any good reason and furthermore the landscape is changing so fast that all the statistical patterns they might detect …

Member Avatar for Dani
0
161
Member Avatar for jkon

I know that BlueSky is a new toy , that we don't know how much will last in its current state. But my question is beyond BlueSky , it is in all emerging media. For example in BlueSky programming talk is vibrant with a whimsy touch but not with harassment …

Member Avatar for Dani
4
65
Member Avatar for jkon

"Is DaniWeb under a grand attack or just suffering from many small cuts with no purpose?" I’ve written about this before. Many AI-driven accounts here post once, share a brief sentence, and disappear without any ads or clear purpose, only to return to obscurity. I’ve been trying to understand their …

Member Avatar for Dani
2
109
Member Avatar for ianhaneybs

Hello ianhaneybs, It is time to start a bit of debugging , you need to inspect what the variable $currentpage really holds. e.g. 1 <?php $currentpage = $_SERVER['REQUEST_URI']; var_dump($currentpage); exit; ?> But a better choice would be to start logging e.g. 2 <?php $currentpage = $_SERVER['REQUEST_URI']; error_log("\n"."currentpage:".$currentpage,3,"error_log"); ... ?> But …

Member Avatar for jkon
0
47
Member Avatar for jkon

Recently I started to rewrite the core of a web app in Java (not including the Admin part). I have discussed ideas with colleagues and friends and one thing that seemed to be an agreement was that it is time to stop keeping the same image in two formats jpg …

Member Avatar for jkon
1
203
Member Avatar for Reverend Jim

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?" Apparently a lot. As a user / visitor I am constantly annoyed by the "mobile first" approach in web design. …

Member Avatar for quackyfist
2
228
Member Avatar for cored0mp

Its hard in a Python script to "create too many connections" to a DB. You don't have many concurrent clients , you don't have web requests , is this a server of some kind ? . From your line " Specifically it was choking on a scanning algorithm." I thought …

Member Avatar for cored0mp
1
274
Member Avatar for John_165

Probably in near future you could through a standalone code file to an LLM and correct the errors for you , or even perform optimizations, already some LLMs are pretty good at that (not perfect, witch means you can't just copy / paste) but this is not what programmers really …

Member Avatar for Basilwoxro
5
539
Member Avatar for Johannes C.

I understand that a chatbot is more friendly to use than Google, but the same functionality is in 1000 places in Python code on Internet. It would be easier to Google it and use the code. Do you believe that using a chatbot saved you time for this ?

Member Avatar for Johannes C.
1
157
Member Avatar for nexacare
Member Avatar for Johannes C.

I have seen hundreds of eShops (with many admins in each) on my company's platform , fail to set proper meta tags in the CMS and never bother to do so for individual products or entire catalogs. The strange thing is that they expect —and some even live—their businesses through …

Member Avatar for Dani
-1
179
Member Avatar for Johannes C.

I really can't understand the claim that it "smarter than 90% of population". I don't have access to o1 but from what I have seen sometimes it counts correctly the r's in strawberries , is this that our benchmark ? and if so , - why ? and do we …

Member Avatar for trueframe
2
960
Member Avatar for Carrie8909

My company also has its own "firewall middle tier" call it WAF if you like. We build it many years ago when cloudflare wasn't an option , and it still requires maintenance, but the up side is that it is highly customized and we really know what is happening, and …

Member Avatar for cored0mp
0
133
Member Avatar for FarrisFahad

Many can write code , even an LLM can , but to understand the needs of each project , choose the right architecture and built an app to meet all the needs isn't something that anyone can do. My advice would be "build your brand before freelancing", witch means create …

Member Avatar for jkon
2
136
Member Avatar for jkon

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 about this A.I. revolution. I have chosen to participate in this weave with what ever resources my small company has …

Member Avatar for rproffitt
0
144
Member Avatar for Haseeb_12

This is a really broad topic. Although PWA doesn't seem to catch up , I write client side web apps more than 14 years now because it doesn't make any sense to me why you should reload the whole page if what you only want to change is the main …

Member Avatar for jkon
0
97
Member Avatar for Dani

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 in early 2010's , there were many alternatives of what to do , and I strongly believe that you choose …

Member Avatar for Dani
6
205
Member Avatar for jkon

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 you do , you must have a level of experience to distinguish a wrong or crappy response from a legitimate …

Member Avatar for Dani
3
49
Member Avatar for jkon

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 the CentOS lesson , I have been really caution and I am a little bit too worried from witch one …

Member Avatar for Best tattoo ser
1
152
Member Avatar for jkon

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 own. I don't understand why people do that ? Don't they understand that it is obvious what they did ? …

Member Avatar for Dani
1
96
Member Avatar for jkon

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 reason· I didn't liked their format nor their way of "building" a programmers community. Now everything I search in Google …

Member Avatar for jkon
0
125
Member Avatar for FarrisFahad

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 $obj; public function __construct() { $this->obj = new B(); } } class B { private $obj; public function __construct() { …

Member Avatar for aishamushtaq
1
186
Member Avatar for Dani

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 coding and I liked math. Most of them were various martial arts. Now in my late 40's I still enjoy …

Member Avatar for Chris_103
1
136
Member Avatar for Dani

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 it in the specific context / association / graph with the URL where the "nofollow" link is. Of course (in …

Member Avatar for KomalBhatt
2
140
Member Avatar for Duki

pot roast beef with sun-dried tomatoes , a bit olive oil , cheddar cheese on top and a lot oregano and thyme

Member Avatar for Dani
22
17K
Member Avatar for Dani

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 (in one minified file that contains also every JavaScript that this part of the app requires) I load it dynamically …

Member Avatar for jkon
0
208
Member Avatar for verrandhack

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 (like JavaScript for example) and when you understand a few basics ( like null , functions , variables , loops …

Member Avatar for learnerya
1
68
Member Avatar for Dani

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"; var_export($obj); exit;

Member Avatar for Dani
1
133
Member Avatar for jkon

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 I have an issue recommending them to others in my company because I believe you have to have a certain …

Member Avatar for rproffitt
2
65
Member Avatar for Mindmade

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 experience says that backlinks building , black or "white" SEO is dead in 2023. Your rank has more to do …

Member Avatar for jofrachalya142
0
82
Member Avatar for techtheclone

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 you don't understand and we could make it clearer. But ... ignoring warnings is a bad practice because there is …

Member Avatar for jkon
0
79
Member Avatar for jkon

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 I worked in various settings at the same era , some times sitting some times on the floor some times …

Member Avatar for jkon
0
33
Member Avatar for Adolfo_1

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 when you have a visit to https://www.example.it/aaaa-bbb-ccccc to have your server treat it through .htaccess rules as if were https://www.example.it/news.php?slug=aaaa-bbb-ccccc …

Member Avatar for jkon
0
220
Member Avatar for Dani

> 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 , its not that , I tested it with sitemap index file and no issues reported. If I were you …

Member Avatar for Dani
1
1K
Member Avatar for facarroll

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" JavaScript blockers are a solution if someone that has no idea what internet is want to save an image. If …

Member Avatar for Dani
1
378
Member Avatar for jkon

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 writing more and more C++ bots. I learned that you need to separate the definition of the class (interface in …

Member Avatar for jkon
1
191
Member Avatar for Dani

> 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 do in the first line window.dataLayer = window.dataLayer || []; is that you define an array if it isn't already …

Member Avatar for Dani
1
235
Member Avatar for Olive34

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 fancy patterns will help you add complexity when it is needed. - For many years I was completely freaked about …

Member Avatar for jkon
0
96
Member Avatar for rproffitt

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 a paid membership (of course). But let me dive a little bit more on this. If I try to create …

Member Avatar for Reverend Jim
3
265
Member Avatar for FarrisFahad

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 years now in Java and in PHP still works great. 1. I you are going to load new content through …

Member Avatar for Dani
1
154
Member Avatar for NAFISUL

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 is really an inspiration). In it he insisted that the best way to learn a new language is to try …

Member Avatar for jkon
0
129

The End.