1,172 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Dani

As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for …

Member Avatar for Dani
1
63
Member Avatar for Dani

How can I identify and delete unused MySQL indexes? I have a large table that has somehow accumulated way too many indexes over the years, and I'd now like to identify and delete indexes that are no longer used by the application.

Member Avatar for Dani
0
16
Member Avatar for Dani

Probably a silly question, but is Argo Smart Routing (the usage-based product) only applicable to content served at the origin? Otherwise, does it makes sense to be spending money to find a more efficient path between the end-user and the edge? Isn't the edge already pretty darn close?

0
6
Member Avatar for Tzanko

Hi all, My team and I is making an open-source library for running AI models on the phone. We are planning to create a very simple SDK which will allow you to download a model and use it on your phone. We plan to release an initial version in a …

Member Avatar for jonathannweyer
2
291
Member Avatar for lojoxi

Hi Everyone, Web development can be both exciting and challenging, but having the right tools makes all the difference. If you're starting out or looking to improve your workflow, consider using popular frameworks like React or Vue for streamlined front-end development. On the back end, Node.js and Django are solid …

Member Avatar for JackRyan248
0
223
Member Avatar for codesparrk

We examine the steps involved in developing an iPhone app and their efficiencies. With the help of our blog, you may identify important developer requirements, pick the best programming language, and acquire reliable resources. Existing business owners and startup ventures eagerly anticipate realizing the benefits brought forth by iOS mobile …

Member Avatar for jonathannweyer
0
68
Member Avatar for js180

I have been searching online for a program that will: -reads in number of times a user wants a coin flipped -flip the coin that many times, printing out result of each coin flip -print out the total number of heads flipped and total number of tails flipped the application …

Member Avatar for Dani
-1
315
Member Avatar for Steph102

Hi everyone. I am just learning Python on class so I am really at the basic. I need to write a python program that will flip a coin 100 times and then tell how many times tails and heads were flipped. This is what I have so far but I …

Member Avatar for Dani
0
16K
Member Avatar for usmanmalik57

Large language models are trained on a fixed corpus, and their knowledge is often limited by the documents they are trained on. Techniques like retrieval augmented generation, continuous pre-training, and fine-tuning enhance an LLM's default knowledge. However, these techniques can still not enable an LLM to answer queries that require …

0
13
Member Avatar for Jameswood32

I'm planning to develop a mobile application and am in the process of selecting a development partner. With so many options available, what factors should I consider to ensure I choose the right mobile app development company? Are there specific credentials, portfolios, or client testimonials that are particularly telling of …

Member Avatar for jonathannweyer
0
55
Member Avatar for Dani

Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. …

Member Avatar for Dani
1
174
Member Avatar for KamalDeepPareek

How can lazy loading improve web portal performance by reducing initial load times and optimizing resource usage? What are the best techniques to implement lazy loading in images, components, and data fetching using JavaScript frameworks like React, Vue, and Angular? How does lazy loading impact SEO and user experience?

Member Avatar for gediminas.bukauskas.7
2
540
Member Avatar for xrjf

**Features:** * Retrieves the differentiating bit of a key with respect to the previous one and stores only this position in the index. * With at most one single disk read, assuming the index is in memory, it determines whether the key exists or not. * The index is always …

Member Avatar for xrjf
0
121
Member Avatar for Warren_12

When my app loads I need to establish the membership "status" of a user. Their "status" will determine how the app behaves. Do I query the database for the "status" value each time the app loads, or can it be sourced from cache? The "status" could change for a user, …

Member Avatar for jonathannweyer
0
105
Member Avatar for lennyli

I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will launch a webpage that runs a …

Member Avatar for Salem
1
127
Member Avatar for steve_55

Hello clever people, Completely new to VB.NET (only installed Visual Studio 2019 in the past couple of days). To start all I want to do is open Excel (office 365) from a button on a userform. The location of the file is on a network, lets say: - \\file-svr01\Rozel\Design\Parts\PNG.xlsx OR …

Member Avatar for Pelorus_1
0
3K
Member Avatar for usmanmalik57

On April 14, 2025, OpenAI released [GPT-4.1](https://openai.com/index/gpt-4-1/) — a model touted as the new state-of-the-art, outperforming GPT-4o on all major benchmarks. As always, I like to evaluate new LLMs on simple tasks like text classification and summarization to see how they compare with current leading models. In this article, I …

2
68
Member Avatar for Dani

What are some best practices for optimizing memory management when working with large datasets? I am tagging this topic both with php (because that is my language of choice, and the one I work with big data with) as well as c++ (because I know DaniWeb has a large low …

Member Avatar for Dani
1
116
Member Avatar for silverrr_btc

i have currently learning html only but its so boring do all of you guys had same problem and tell me which language do i start with html, me and my friend have made a site on html with little css and and js (thegeekinsights) and its going fine. can …

Member Avatar for retseaz77
0
73
Member Avatar for usmanmalik57

This tutorial demonstrates how to build an AI agent that queries SQLite databases using natural language. You will see how to leverage the [LangGraph framework](https://www.langchain.com/langgraph) and the [OpenAI GPT-4o](https://openai.com/index/gpt-4/) model to retrieve natural language answers from an SQLite database, given a natural language query. So, let's begin without ado. ## …

Member Avatar for Pelorus_1
2
658
Member Avatar for Ecommercewebdes

Let’s learn from each other’s fails! What’s a mistake you made in your early days of web design—and what did it teach you?

Member Avatar for Dani
0
35
Member Avatar for Krisha03

Hello There, I am looking for MUI React-based admin template in the TypeScript version for my project. Can you guys suggest some React Admin templates that are comprehensive and easy to use? I really appreciate any help you can provide.!

Member Avatar for Pelorus_1
1
240
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
35
Member Avatar for SanjayJoshi
Member Avatar for Dani
0
35
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
Member Avatar for Salem
2
75
Member Avatar for Jameswood32
Member Avatar for Dani
2
54
Member Avatar for Dani

I use Github for DaniWeb's code base. I was just wondering though. How secure is it? Would you ever store passwords or other sensitive information in Github (Don't worry. We use .gitignore.)? What about code that could be considered a trade secret, or that type of thing?

Member Avatar for Dani
0
181
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
60
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
36
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
175
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
82
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
71
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
87
Member Avatar for YashSmith
Member Avatar for Suheb
0
76
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
40
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
24
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
98
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
128
Member Avatar for Mr.M

Hi DW. I'm a bit confused and lost on how this App is working called Ha Tunnel Plus (You can check it on Playstore, and have a look on YouTube for the configuration file). Basically it somehow uses the internet connection of the server, it tunnels it to your Android …

Member Avatar for Mr.M
-2
924
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
310
Member Avatar for LiLo1001

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

Member Avatar for Dani
1
163
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
676
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
49
Member Avatar for KamalDeepPareek
Member Avatar for Dani
0
35
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
42
Member Avatar for FarrisFahad

I want to post Pins using Pinterest API. I have tried to generate code using ChatGPT but it returns an error. Here is my code so far ... <?php $clientId = "xxx"; // Replace with your App ID $clientSecret = "xxx"; // Replace with your App Secret $redirectUri = "xxx"; …

Member Avatar for Dani
2
34
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
135
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
59
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
54

The End.