1,166 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for James_228

I’ve been working on a mid-size React project and started noticing performance lags and bloated component trees. I optimized a few things like: Using useMemo() and useCallback() smartly (but not overusing) Breaking components into smaller reusable ones Lazy loading routes and components But I’d love to know: What are your …

1
36
Member Avatar for SanjayJoshi
Member Avatar for Dani
0
39
Member Avatar for Dani

What's the most challenging bug you've ever encountered in your programming career, and how did you eventually solve it? I’ll start. The only one I can recall from the recent past is not realizing that you can’t use a MySQL transaction from within a persistent connection. Here’s [when I learned …

Programming career daniweb-bug
Member Avatar for Salem
2
82
Member Avatar for jamesalery

Hi everyone, I’m just starting out with testing and I need to generate some test data for things like names, birthdays, emails, and other basic information. I’m looking for web-based resources or tools that provide random test data for use in my testing. like i used this *<Promotional link snipped>* …

Member Avatar for gediminas.bukauskas.7
0
63
Member Avatar for brother_1

I have 3 okta apps setup. Okta app for backend Okta spa app Okta web app The Okta spa app is able to use the access token it got and pass to Okta app for backend and the token is validated. However, the Okta web app access token when passed …

Member Avatar for maplestar
0
39
Member Avatar for Dani

I ran into a bit of a snag in my code, and I'm trying to make heads or tails as to whether this will work. From within my PHP script, can I write to a database using a MySQL connection in the middle of a transaction with a different connection? …

Member Avatar for Dani
0
320
Member Avatar for 勾玉

This project is a cross-platform Kafka GUI client. A star would be appreciated to support the open-source effort by the author. Thank you! # Features of Kafka-King * View the list of cluster nodes, dynamically configure broker and topic settings. * Support for consumer clients to consume messages from specified …

Member Avatar for elary
3
91
Member Avatar for Mr.M
Member Avatar for ianhaneybs

I need to display a pound currency symbol before the amount that is calculated Below is the code I currently have <th class="text-right py-1 px-2 grand-total">0</th> function calc(){ var grand_total = 0; $('table#list tbody input[name="total[]"]').each(function(){ grand_total += parseFloat($(this).val()) }) $('table#list tfoot .grand-total').text(parseFloat(grand_total).toLocaleString('en-gb', {style:'decimal',maximumFractionDigit:2})) $('[name="amount"]').val(parseFloat(grand_total)) } I'm not sure where to …

Member Avatar for gottaloveit
0
74
Member Avatar for YashSmith
Member Avatar for Suheb
0
77
Member Avatar for YashSmith

If you want to add a dynamic filtering option in your web application, here’s a simple and effective solution using React. This filter allows users to search by keyword, set minimum and maximum values, and filter by category. import React, { useState } from "react"; const DataFilter = ({ data …

0
42
Member Avatar for Ray brad

My name is Ray Brad. I am a learner in Salesforce development and administration, and I also have knowledge of Java concepts. If anyone has questions related to these topics, feel free to comment, and I will do my best to answer them.

Member Avatar for Dani
2
93
Member Avatar for 杨_659

**English Translation:** Hello everyone, I’m Chen Yang. It’s been a while since my last update. The main reason is my busy schedule with my full-time job, leaving me little time for writing. Additionally, I’ve spent the past six months learning HarmonyOS ArkTS, and now that I’ve reached a semi-proficient level, …

0
31
Member Avatar for 杨_659

## **Introduction** > The McCharts component library is developed based on Hongmeng ArkTS syntax and supports API 9 and above. The chart component has been open sourced. Everyone can participate, whether they are new or experienced, to learn from each other, develop more component libraries, and enrich the ArkTS ecosystem. …

0
131
Member Avatar for marrywillson

AI is good for content writer. but some time AI have not perfect solution . so AI not good for future as a content writing prospective.

Member Avatar for Yenjeff
0
131
Member Avatar for juan_35

Can someone help me, my contact form does not working. It will send successfully, but the email recipient can't receive the message. Here is my code: <?php $email_to = 'name@example.com'; //the address to which the email will be sent $name = $_POST['name']; $email = $_POST['email']; $subject = $_POST['subject']; $message = …

Member Avatar for Biiim
0
434
Member Avatar for LiLo1001

In your opinion, what are industries use/benefit the most from automation, specifically intelligent automation?

Member Avatar for Dani
1
170
Member Avatar for usmanmalik57

In the [last article](https://www.daniweb.com/programming/computer-science/tutorials/542973/benchmarking-deepseek-r1-for-text-classification-and-summarization#post2300447), I explained how you can use the [DeepSeek-R1-Distill-Qwen-32B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B) model for text classification and summarization problems. In this article, we will use the [DeepSeek-R1-Distill-Llama-70b](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B) for the same tasks. Following results from the [DeepSeek-AI's official paper](https://arxiv.org/pdf/2501.12948) show that `DeepSeek-R1-Distill-Llama-70b` outperform the other distilled models on 4 out of …

Member Avatar for Pelorus_1
0
801
Member Avatar for mark_hahn

I need to develop an application where I give an llm a piece of code, like maybe a function, and then the llm finds the closest match that does the same thing. It would look in one or more source files. The thing found may be worded differently. If the …

Member Avatar for Salem
0
56
Member Avatar for riahc3

Hello Havent been here in a while but might as well give it a shot. I have several Apache Tomcat instances running on a Windows Server on different ports. They are all HTTP. The idea would be to (on the same server) install a IIS and use it a content …

Member Avatar for blud
2
48
Member Avatar for KamalDeepPareek
Member Avatar for Dani
0
39
Member Avatar for usmanmalik57

In a [previous article](https://www.daniweb.com/programming/computer-science/tutorials/543028/text-classification-and-summarization-with-deepseek-r1-distill-llama-70b), I presented a comparison of [DeepSeek-R1-Distill-Llama-70b](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B) with the [DeepSeek-R1-Distill-Qwen-32B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B) for text classification and summarization. Both these models are distilled versions of the original DeepSeek R1 model. Recently, I wanted to try the original version of the DeepSeek R1 model using the DeepSeek API. However, I was …

1
158
Member Avatar for Dani

The Markdown editor that we use here at DaniWeb is called [CodeMirror](https://codemirror.net/) and we've been using it for forever. The other day, I noticed some bugs in the editor toolbar that we use, which is based on the [CodeMirror API](https://codemirror.net/docs/ref/). (The one that allows the buttons for bold, italic, etc.) …

1
80
Member Avatar for bkelly13

Environment is Windows 11 and Visual Studio 2019 using Python. I am a Python novice. The goal is a project with multiple dialogs. Not a web project, just many dialogs. From VS some options are Django, Flask, Bottle, Jade, and more. Searches for each of those provide simplistic descriptions without …

Member Avatar for Reverend Jim
0
58
Member Avatar for Eng._2

I have been developing this technical E-commerce store for a roofing sheets factory in Africa. The company has been quite helpful with most of the information that I asked for, ranging from the provision of products, to the introductory content. I am working on making the shop standout and be …

Member Avatar for simplixi
3
229
Member Avatar for gamestoenjoy

Hi, I created website that teaches users anything they need to know about Kodi, The site is still new but I add new content regularly, The site is based on WordPress but I changed the theme and the code of the site. I will be happy to hear what do …

Member Avatar for jasper-king
1
361
Member Avatar for daniel75

I have a DataGrid with a picture as link button in one of the columns. The linkbutton automatically gives me a blue linkframe around the picture. How do I get rid of that? Thanks! /Daniel

Member Avatar for Zinavo_1
0
172
Member Avatar for indigo_4

It has to be said that Apple in recent years has not had any particularly eye-catching upgrades. Even, some features that users like very much have been removed, such as fingerprint unlocking. I'm using iPhone 13 now, if I wear makeup sometimes, iPhone 13 can't recognize my face. Once, I …

Member Avatar for Ja sa bong
0
99
Member Avatar for darren2005

Hi, does anyone know why I would have duplicate categories in WooCommerce? I've imported demo content into a new website template and it seems to have duplicated the categories. Products are not duplicated. Is there anywhere in the database, etc that I could edit to stop this?

Member Avatar for simplixi
0
82
Member Avatar for alexxx1

Hello everyone. I have built a website which I've attached to my bio on Instagram. What I'd like to achieve is to make it open on my phone's (default) browser, safari or whatever that may be. By default, all bio links open in the app's browser. But I saw it …

Member Avatar for rproffitt
0
63
Member Avatar for dckumawat05

Hey I want to Develop A mobile app in android for my food business. Can anyone suggest me any company and the cost of the App? Thanks

Member Avatar for marksmiths
3
2K
Member Avatar for shane_18
Member Avatar for ianhaneybs

I need some help with getting checkbox values sent to email using phpmailer I have not done it before so unsure how to do it, the current code I have is below $postData = $_POST; $oneway = $_POST['oneway']; $return = $_POST['return']; $htmlContent = '<h2>Contact Form Details</h2> <p><b>One Way:</b> ' . …

Member Avatar for Dani
1
55
Member Avatar for complete

How do I establish an open connection to an open web browser in C#? In a Microsoft C# program using a Visual Studio Code I am using the following namespaces: using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Support.UI; After I get a string variable, "url", assigned with a URL of a website …

Member Avatar for xivlauncher
2
155
Member Avatar for Syed Zubair Ali

Dear Dani, I had **visual basic 6** project, built earlier and was being used a platform, however, my hard disk has been damaged, and entire project has been collapsed. I have exe back up file to run this project and working well, however, i need some more changes and updating …

Programming visual-basic
Member Avatar for Shajjad_1
1
75
Member Avatar for Mr.M

Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even if I click other options it doesn't return them. Heres my code var xid = $('#managsel option:selected').attr('id'); alert("The id is: …

Member Avatar for Biiim
0
145
Member Avatar for rasputin009

After the customer fills the form, the form data is sent to mysql and an email gets sent to me with the last form data that the customer submitted. But, the email "last mysql data" is not going as inline text. Please help me. Sample code is given below. ` …

Member Avatar for Biiim
0
72
Member Avatar for usmanmalik57

DeepSeek-R1 is a groundbreaking family of reinforcement learning (RL)-driven AI models developed by the Chinese AI firm [DeepSeek](https://www.deepseek.com/). It is designed to rival industry leaders like OpenAI and Google in complex decision-making and optimization problems. In this article, we will benchmark the DeepSeek R1 model for text classification and summarization …

1
1K
Member Avatar for usmanmalik57

In my previous article, I explained how to fine-tune [OpenAI GPT-4o model for natural language processing tasks](https://www.daniweb.com/programming/computer-science/tutorials/542333/how-to-fine-tune-the-openai-gpt-4o-model-the-wait-is-finally-over). In OpenAI DevDay, held on October 1, 2024, OpenAI announced that users can now fine-tune OpenAI vision and multimodal models such as GPT-4o and GPT-4o mini. The best part is that fine-tuning vision …

Member Avatar for RKE2
2
307
Member Avatar for Mr.M

Hi Dw, I want to get the keys and data of the php json response, heres the response I get {"content":{"1":{"title":"Present","start":"2025,01,29","end":"2025,01,29","backgroundColor":"#f39c12","borderColor":"#f39c12"}}} all I'm interested in starts from title.

Member Avatar for Dani
0
106
Member Avatar for Ccrobinson001

When running the following command I get an error > Quoted Text Here python3 -m pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Collecting faster-whisper==1.0.2 (from -r requirements.txt (line 1)) Downloading faster_whisper-1.0.2-py3-none-any.whl.metadata (15 kB) Collecting groq==0.6.0 (from -r requirements.txt (line 2)) Downloading groq-0.6.0-py3-none-any.whl.metadata (13 …

Programming python
Member Avatar for Pebble94464
0
64
Member Avatar for mateopg

Hello everyone, I’m working on a project to develop an educational software aimed at teaching programming logic to beginners. The app will focus on short questions and mini-games to make learning engaging and interactive. It’s targeted at university students in their first semesters and will primarily use Java as the …

Member Avatar for PabloRef
2
90
Member Avatar for PsychicTide

Hello all! I have been away from this forum for far too long and would like to help with my experience/knowledge. This place helped me get through college and early professional work as a web developer. Is there a section to post random code snippets for tasks that may help …

Member Avatar for PsychicTide
3
75
Member Avatar for CrystalKanger

good day - I am wondering if anyone can explain to me how to allow the user to change the name of the tabs in a tab control via a textbox? For example, at runtime the user will be able to change the title of the tab ("TabPage1") to "Baking" …

Member Avatar for pathofbuilding
2
56
Member Avatar for Mr.M

Hi DW, I'm trying to automate using NAVIS, I tried using post method simulating how it does on a web browser but I get error 678 then now I'm trying to access it using vb.net web browser.It does load but the issue is that I can't set the input elements …

Member Avatar for Mr.M
0
60
Member Avatar for Woodhales

As web development continues to evolve, AI-driven tools like automated coding assistants, machine learning-powered design systems, and intelligent testing frameworks are reshaping how we build websites and apps. At Red Star Technologies, we're witnessing firsthand how these innovations are making development faster, smarter, and more efficient. But with these advancements …

Member Avatar for Pebble94464
0
85
Member Avatar for Vishurey

I am driving an html site from my network drive in my office that can be viewd on LAN. I need to put a blog kind of section on my site so people who visite this site can leave there comments on it and all can see thses comments. Can …

Member Avatar for Dani
1
963
Member Avatar for Audun

Hi I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools. When I run this command in "Python 3.12", which looks like CMD to me, I get a syntax error. "To create a virtual environment, Python supplies a built in venv module which provides the …

Member Avatar for pathofbuilding
1
94
Member Avatar for PsychicTide

Hello friends, it's been some times since I've posted here, but this community has always been my "I really need help" place to go. Lets get to the idea... I have a WordPress (dislike WP very much) site I'm customizing. Have a popup iFrame on click that is built into …

Member Avatar for Dani
0
101
Member Avatar for Sabby76

Hi I'd like to run a flashMovie in a .php page to the norm html. Fla's run ok, except they don't handle 3D object key command .swfs. [url]http://www.flashsandy.org/demos[/url] Click on 2nd image of a type of jet_copter Gavia AT-1008 as the best example of what is possible. Use keyboard arrows …

Member Avatar for hostbet
0
606

The End.