With Rapid Tech Advancement, Beware the Pitfalls of Centralization Community Center by Johannes C. **Technology has become a dominant force in how we interact and operate. Now more than ever, we need to be aware of the dangers of centralization – including the risks of overdependency.** ![decentralize.jpg](https://static.daniweb.com/attachments/4/c218d2e97c7aacc9c35d3179e921e473.jpg) What do Facebook and North Korea have in common? They're… Re: Opengl, java background color rendering problem Programming Game Development by toneewa Correct. glfwShowWindow(window); in drawAxes(); Yeah, many hours for this. Trouble-shooting skills, with trial and error. I had more trouble getting the work envirnoment setup. The IntelliJ IDEA license was expired. "AI" has a long way to go. E.g., missing headers, identifiers, and all 4 types of dementia. Re: Opengl, java background color rendering problem Programming Game Development by toneewa I like C++. It has plenty of libraries. Like any language, find a good book or website with examples and write them. Understand how they work, then, try to create an example using the idea. It really depends on what you want to do with it. Learn them all. I've only encountered the following: C, C++, SQL, Node.js/TypeScript, HTML/CSS, C#, Java, … Key Insights from Google's Search Algorithm Leak Community Center by Johannes C. **Find out how the recent leak of Google’s internal documents affects SEO strategies: All key takeaways and the most important implications for optimizing your content in light of the leak.** ![google-leak-seo-takeaways.jpg](https://static.daniweb.com/attachments/4/33bc1ca16f29c159257318bde2d7ef39.jpg) It’s been one week since news about … Data Caching layer for Web application - Emmanuel Katto Uganda Programming Web Development by emmanuelkatto Hi everyone, I am Emmanuel Katto. I'm building a high-traffic web application that requires fast and efficient data retrieval from a relational database. To improve performance, I'm considering implementing a caching layer using Redis. But, I'm not sure about the best approach to design and integrate the caching layer into my application. Can … Do email clients respect CSP? Programming Web Development by 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 Please review DaniWeb :) Community Center Meta DaniWeb by Dani If you love DaniWeb, or even if you don't, it would be much appreciated if you could [review us on Google](https://g.page/r/CSyiHReUFoTLEAI/review). Much thanks!! RayCasting: why i get a more width vertical lines on square grid size? Programming Software Development by cambalinho heres my RayCasting code on VB2010(it can be another programming language, i will get the same bug): Private Function GetPositionMap(ByVal Position As Double) As Integer Return fix(Position / ObjectSize) End Function Private Sub DrawRays() Dim StepX As Double Dim StepY As… remove first h3 tag and br tags in text Programming Web Development by ianhaneybs I have text that is displayed from a database and I have managed to remove the first h3 tag in the text by using the following code but I would also like to remove the two <br> tags that are before the paragraph of text <h2 class="productsummaryheading mb-0">Product Summary</h2> <?php $… Re: remove first h3 tag and br tags in text Programming Web Development by ianhaneybs Ahh ok, I only need to remove the <h3> tags at the beginning of the paragraph instead of all the <h3> tags regardless of where they are in the string. I also only need to remove the <br> tags at the beginning of the paragraph, before I removed the <h3> tags, the text looked like the following <h3><span … Re: remove first h3 tag and br tags in text Programming Web Development by ianhaneybs That's good regarding the removing of the <h3> tag at the beginning of the string. There are two <br> tags to be removed I think as the text is below with the <br> tags, there looks to be also a &nbsp; as well <h2 class="productsummaryheading mb-0">Product Summary</h2> &… Re: Formatting web pages for various displays Programming Web Development by Dani Any qualified front-end web developer should be skilled enough in HTML and CSS in order to make a webpage responsive. (Responsive web design means that the design changes based on the form factor or dimensions of the web browser window). However, what's more important here are UI/UX experts. These are the people who analyze existing data on how … Re: minimal-mvc: Frugal PHP micro-framework with basic routing and templating Programming Web Development by Dani When I first created the platform that powers DaniWeb, I did so only after many years on phpBB, and learning that framework inside and out, and making lots of phpBB mods, and then many years on vBulletin, and learning *that* framework inside and out, and making lots of vBulletin plug-ins. Despite DaniWeb being my first web development app that I've… Re: Need help with Lem-in Project Programming by toneewa Display everything to see where you go wrong. Also, simplify your testing, e.g., 1 ant 2 rooms, 2 paths. There are some algorithms to consider. The Breadth-First Search (BFS) and Dijkstra’s algorithms are ways to find the shortest path. Research those to understand your use case. A fix to your parse function and ant struct will help get you back … Re: Google is promoting reddit in an arrogant way Programming Web Development by Dani Bing tends to not target a very technical audience, and/or people are not asking technical questions on Bing that would land them on DaniWeb. That's always been the case. Duckduckgo simply doesn't have a large enough share of the market to make any impact. I think, last I understood, they had a 2% share of the overall search market? Also, … Re: How do I set up a working environment on orange pi from ssh? Hardware and Software by toneewa Using Win32Disk Imager to run the OS [Raspbian](https://raspians.com/how-to-run-raspbian-on-an-orange-pi/) on Orange Pi is what I feel you are looking for. I would suggest reading the [manual](http://www.orangepi.org/html/serviceAndSupport/index.html) for the device you are using. Plenty of tools and resources provided. E.g., on page 231-234… Re: Cleaning up tags Community Center Meta DaniWeb by Dani OK ... and without further ado, the results of this (seemingly never-ending) project: We've reduced from 9541 tags down to only 212 tags by completely removing tags that did not meet our criteria (e.g. tags that did not represent a technology), but, in most cases, consolidating tags into larger categories, by synonyms, etc. ~200 tags is … Re: Cleaning up tags Community Center Meta DaniWeb by Dani I just want to clarify that there are no new tagging rules. For about a decade now, nearly all members would get an error message if they tried to tag something with a tag that didn't already exist. The change is that now *all* members get the error message, as opposed to nearly all (with the exception of moderators, but we still don't want … Re: Cleaning up tags Community Center Meta DaniWeb by Dani ... Also, I haven't found a topic yet that isn't at least a reasonable match for one of our existing tags. Top discuss favorite movies, I would maybe use 'streaming-service' or 'multimedia'. If there are *enough* questions all being asked about movies and TV shows, then we can add a tag about it. The same as when we used to add a new forum in the … Re: Slaying Unicorns: How Europe Sabotages Its Own Economic Future Community Center by aishamushtaq Absolutely, I appreciate the reminder. If you're experiencing difficulties with your CRM's workflow feature, it might be beneficial to provide more details about the specific steps you've taken so far to troubleshoot the issue. That way, others in the community can offer more targeted assistance or suggest alternative solutions based on your … Re: Data Caching layer for Web application - Emmanuel Katto Uganda Programming Web Development by Dani Here at DaniWeb, we make heavy use of redis to manage activity streams, live chat, and sessions. How they are implemented is specific to each individual use case. Can you give an example of one of the places in your application that you would like to use Redis? Typically it’s used when retrieving data from the database is too slow, and so storing … Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer Programming Computer Science by Harini sri Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have few questions. In some tables, I have common column name for three columns and further I have sub columns like below.... in these cases the tables are not getting extracted properly...Do you have any suggestions for handling such cases? Also … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Today is a good day. The problem has been solved. Problem was anti-spoofing stuff being added to my email server sometime in February. The clue that was found during testing was I had by chance entered an email address ending in @(one of domains that I own), (not even a real email address) and form emailed successfully. And by changing only 1 line … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani You only need to use htmlspecialchars() if the text appears on a website or an HTML email. I’m not sure if you need it if you’re sending plaintext emails. Re: Do email clients respect CSP? Programming Web Development by toneewa This recent Microsoft [CSP](https://learn.microsoft.com/en-us/power-platform/admin/content-security-policy) article may be of help. In the past, anything that was non-browser would just ignore. It's best to test your policy against whatever method you're trying to prevent. You know what assume stands for. One thing that I find effective &… Re: Do email clients respect CSP? Programming Web Development by Dani That article seems to be relevant only to Microsoft Power Platform, which doesn't apply in this case, unless I am misunderstanding something. Re: Do email clients respect CSP? Programming Web Development by Dani I'm also realizing that my question is specific to CORS, not CSP, but I can make the presumption (or shall I never assume?) that they are both either supported or not supported. Re: Do email clients respect CSP? Programming Web Development by toneewa A CDN can check the HTTP referer, to make sure the request does not originate from visitors on another site. This means it denies access to requests, when the HTTP referer does not include your domain name and not blank. I also found another useful page on [hotlinking](https://securityboulevard.com/2022/10/modern-and-robust-hotlink-protection… Re: Do email clients respect CSP? Programming Web Development by Ethanbrody CSP (Content Security Policy) restricts what content can load on a webpage. It aims to prevent malicious scripts or unwanted content. Email clients generally don't follow website CSP rules. They often render emails in their own way, bypassing the website's security settings. So, while website CSP can't directly control email content, it can … Re: Database wrapper for Codeigniter 3 Programming Web Development by Dani Wow, this is old. I just stumbled upon it and it’s so crazy looking back at old code you wrote once upon a time. Especially since we are still working off the same framework so it’s just interesting to see how much it’s morphed and evolved over the years.