Re: How do I set up a working environment on orange pi from ssh? Hardware and Software by fowokov687l After some more reading I concluded that the best tool for this would be armbian. In case anyone else is interested these were the instructions I found: https://www.armbian.com/ https://www.blunix.com/blog/howto-setup-armbian-on-orange-pi-5-plus-with-spi-and-i2c.html https://www.reddit.com/r/OrangePI/comments/17dd0u6/… 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: Does anyone know how to self-host a nextcloud server? Hardware and Software Cloud-based Apps by antwanlee Hi @fowokov687l, welcome to the forum ;) I'm actually hosting a nextcloud for myself (privately) since many years and its quite easy. The public documentation lacks a bit however, especially when it comes to speed and security optimizations. I'd recommend you to go with PHP-FPM instead of apache2 mod-php and use a redis cache. After googling… Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by Reverend Jim Based on the proliferation of AI generated content, and the age-old rule of garbage in, garbage out, what will be the result of AI models being trained on ever increasing amounts of content generated by other AI platforms? Will we get into a negative feedback loop where the output will become so polluted with bad input that it will be effectively … Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by jwenting Even worse: the junk being deliberately fed to AIs is already at the stage where the results are useless BUT those results are blindly believed by many people BECAUSE they're generated by AI and therefore supposedly automatically correct! Think Google's disastrous launch of their image generator which would under no condition generate Caucasian … Re: HTML Navigation Menu Alignment Issue Programming Web Development by Dani Can you include the CSS you're using for this? RegEx to wrap words in HTML Programming Software Development by samzz Hello, I would like to wrap (surround) all words "flyer" (case insensitive) in the HTML text content, not those in the link. My RegEx works fine on Regex101: https://regex101.com/r/NVmXd1/1 Attached, my HTML file to test my (non working) JS RegEx. Thank you and regards. Re: RegEx to wrap words in HTML Programming Software Development by samzz I found a solution to my problem. See attached HTML file. Solution: function testRX() { var rex=new RegExp("(?<=>[^<]*)(flyer)|(flyer)(?=[^>]*<)","gi"); //Previous one had mistake var str=document.getElementById("str").textContent; //Not .innerHTML var res=str.replace(rex,&… Re: RegEx to wrap words in HTML Programming Software Development by Dani I'm glad you got it working. Sorry, I just saw this thread now. I, myself, struggle quite frequently with Regex. Regex101 is always my lifesaver. Thank you so much for posting your solution so that it can be helpful to others in the future. I've marked this question solved. ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by Johannes C. **AI policy theorist Demetrius Floudas introduces a novel era classification for the AI epoch and reveals the hidden dangers of AGI, predicting the potential obsolescence of humanity. In retort, he proposes a provocative International Control Treaty.** ![header-agitalks-demetrius.jpg](https://static.daniweb.com/attachments/4/… Image Analysis Using OpenAI GPT-4o Model Programming Computer Science by usmanmalik57 OpenAI announced the [GPT-4o (omni)](https://community.openai.com/t/announcing-gpt-4o-in-the-api/744700) model on May 13, 2024. The GPT-4o model, as the name suggests, can process multimodal inputs, such as text, image, and speech. As per OpenAI, GPT-4o is the state-of-the-art and best-performing large language model. Among GPT-4o's many … Re: What is Schema Markup Code? Programming Web Development by Dani > What exactly is schema markup code? JSON or HTML microdata that gives search engines additional context as to what is on a page. For example, it lets search engine bots know that this is a Q&A page, comprised of a question, multiple answers, how many upvotes or downvotes each answer received, the member who wrote each post, etc. All … Re: Google is promoting reddit in an arrogant way Programming Web Development by Dani For sure. Years ago, Google *hated* forums. We lost all of our traffic and membership and post activity quickly followed. Nowadays, Google *loves* forums. However, our traffic has yet to return, although I've been hearing through SEO communities that some other forums have regained their traffic. Here's an article on one of the more popular … Re: Which Python PDF writing library is best? Digital Media UI / UX Design by pyeri I've had pretty decent experience with [xhtml2pdf](https://xhtml2pdf.readthedocs.io/). The best part about this PDF library is that you don't have to worry about the low level nitty-gritty of PDF creation, you can simply generate a PDF from your HTML formatted content. Re: Unpopular Opinion: Bootstrap+jquery+CI is the best thing since sliced bread Programming Web Development by Dani I've posted my story many times before, but here it is again :) I've been programming the majority of my life, first in Apple BASIC, then QBasic, then Visual Basic, then C++. PHP was my first foray into web development, and DaniWeb was my first project. DaniWeb started 22 years ago with phpBB, and then evolved to vBulletin. I knew the phpBB code… Re: Why does Dell hate Linux so much? Hardware and Software Linux and Unix by simhakidsden It's quite baffling to witness such a stark contrast in Dell's approach to promoting Ubuntu between Europe and the USA. Their inconsistent messaging only adds to the confusion for potential customers. Hopefully, Dell can streamline their marketing strategy to provide clearer information and support for Linux enthusiasts worldwide. 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: This Halloween: Are You Brave Enough to Face Roko's Basilisk? Community Center by soly_1 Although superintelligence and God are both considered "mighty entities," the devil is in the details. A superintelligence merely needs code; unlike supernatural beings, it doesn't require faith. The proof isn't found in antiquated literature, but rather in the quick developments in AI and machine learning. Though, in my opinion, the … Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk? Community Center by olivia_24 It also assumes that said AI will be vindictive (like the gods). If the theory is correct, why would a sentient AI need to be vengeful once it has been created? In any case, there is still no evidence that machine consciousness it attainable. At least one engineer involved in the development of OpenAI has made claims about consciousness, but those … page speed optimization Digital Media UI / UX Design by Admin907 how to optimized page speed and make it mobile responsive without using any plugin? Re: page speed optimization Digital Media UI / UX Design by Dani It depends how technical you are. Instead of using a plugin, you can code everything manually that a plugin would do. Also, I recommend Cloudflare. Even the free version offers a bunch of speed improvements. But, yeah, it all comes down to how technical you are, I suppose. What is Schema Markup Code? Programming Web Development by Admin907 I'm trying to understand what schema markup code is and how it works. From what I've gathered, it's a way to help search engines understand the content on a webpage better, but I'm not entirely sure how it's implemented or what benefits it provides. Can someone explain in detail: 1. **What exactly is schema markup code?** 2. **How does it … LCP improvement needed Programming Web Development by Admin907 can any one help me in improving website lcp? Re: LCP improvement needed Programming Web Development by Dani LCP is very unique to each website, so there is little help I can offer aside from redirecting you to https://webpagetest.org/ to see where the failure is. What are the recommendations given by [Google PageSpeed](https://pagespeed.web.dev/)? Future of Web Development: Trends and Tools Programming Web Development by Haseeb_12 Hey everyone! 🌟 Web development is evolving rapidly with exciting trends like Progressive Web Apps (PWAs), Jamstack architecture, and AI integration. What tools and frameworks are you using? How do you tackle challenges like responsive design, performance optimization, and security? Share your experiences and tips! Cheers, Haseeb Ahmad: Re: Future of Web Development: Trends and Tools Programming Web Development by Dani What is jamstack architecture? I'm not familiar with it. As far as tools and frameworks, I've pretty much been using the same ones for the past 20 years. PHP + MySQL + Nginx + Redis + Memcached + SphinxSearch on the backend. Cloudflare as a CDN. On the front end, it's Bootstrap and jQuery. Yes, I'm still old school like that. For many years, I … HTML Navigation Menu Alignment Issue Programming Web Development by khan zain "I'm working on a navigation menu for my HTML page, but it's not behaving as expected. The links aren't aligning properly, and the styling seems a bit wonky. I've included the code below. Can anyone help me figure out what's causing this navigation headache? This my Code <!DOCTYPE html> <html lang="&… HTML Image Embedding Issue Programming Web Development by khan zain "I'm attempting to embed an image in my HTML page, but it's not showing up. I've checked the file path, and it seems correct. Below is the code I'm using. Any insights on why the image isn't displaying as expected?"" <!DOCTYPE html> <html lang=""en""> <head> <meta… Re: HTML Image Embedding Issue Programming Web Development by Steve_89 It seems like the issue might be with the path to the image. Here are a few things to check: 1. **Relative Path**: Ensure that the path to your image is relative to the location of your HTML file. If your HTML file and the "images" folder are in the same directory, your current path should work. 2. **File Extension**: Make sure the … How Build video-player in html And css ? Programming by Kirubel_2 <head><title>navigation</title> <link rel="stylesheet" href="../css/nav.css"> <link rel="stylesheet" href="../css/tutorial.css"> <link rel="stylesheet" href="../css/vedio.css"> <link rel="stylesheet" href="…