1,164 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Dani

I happily just discovered the Cache-Control rules *stale-if-error* and *stale-while-revalidate*. I came across [an article](https://developers.cloudflare.com/cache/concepts/cache-control/) on Cloudflare's site that says that those two directives are ignored if CF's Always Online feature is enabled, so I've gone ahead and disabled that. However, I'm confused by the following quote: > The stale-if-error …

Member Avatar for WendyDolan
0
34
Member Avatar for Mr.M

Hi DW, I'm getting this error when I try to debug, it says it can't open `"c:\users\myusername\Documents\Visual Studio 2010\Projects\myprojectname\debug\myprojectname.exe"` How can I solve this?

Member Avatar for Mr.M
0
218
Member Avatar for darthswift00

Id like to know as to how to go about creating a web service that validates a registerd user to my site. Also how to register a new user to the site. What steps shall i take in order to do this? Im using Visual Studio 2008 (.NET Framework 3.5) …

Member Avatar for natashasturrock
0
295
Member Avatar for PM312

i want to add Crosshair , a vertical and horizontal line to view the value of the axis is this available for charts in vb.net 2017. ![chart_2.png](https://static.daniweb.com/attachments/2/0ec00ac4dbe56443fdf35cb9868981b5.png)

Member Avatar for Dani
0
42
Member Avatar for Mason_8

I've been reading about the Microsoft Solutions Partner program and wanted to ask the community is it actually worth pursuing for an IT company It looks like Microsoft has set certain performance and certification requirements that companies need to meet in order to qualify. They have categories like Infrastructure, Data …

Member Avatar for Reverend Jim
0
18
Member Avatar for kakasi63

Hi everyone, I've recently started exploring ChatGPT in the French language for programming help, and I was surprised at how effective it can be — even when working with frameworks like Laravel or JavaScript. For example, I asked it to generate a Laravel controller with French comments, and the output …

Programming c++ javascript python
-1
33
Member Avatar for usmanmalik57

[OpenAI](https://openai.com/) and [Anthropic](https://www.anthropic.com/) are two AI giants delivering state-of-the-art large language models for various tasks. In a [previous article](https://www.daniweb.com/programming/computer-science/tutorials/542132/comparing-gpt-4o-vs-claude-3-5-sonnet-for-zero-shot-text-classification), I compared OpenAI GPT-4o and Anthropic Claude 3.5 sonnet models for text classification tasks. That article was published almost a year ago. Since then, both OpenAI and Anthropic have released state-of-the-art …

0
33
Member Avatar for Dani
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 Eckert
2
456
Member Avatar for PM312

I have a candlestick chart with long list (data point) on X-Axis which becomes congested when loaded. How to show datapoint with sufficient space . Is there any container with horizontal scroll bar to display chart just like data is displayed in DataGrid view without reducing column width. ![Chartcandlestick.png](https://static.daniweb.com/attachments/2/22662a22f31d649405949f9df4915ed6.png)

Member Avatar for kinvieb
2
40
Member Avatar for Volochain1

When displaying extensive MLM (Multi-Level Marketing) hierarchies using TreeView in ASP.NET, performance issues often arise due to the sheer volume of nested nodes. Loading thousands of members at once can slow down the interface, increase page load time, and degrade user experience.

Member Avatar for SCBWV
0
24
Member Avatar for Dani

I know that this is probably a hopeless question, but are there any automated scripts that would *reliably* and *automagically* convert my thousands upon thousands of lines of jQuery code into native Javascript?

Member Avatar for polcreation
0
129
Member Avatar for Dani

In my increasingly futile attempt to remain using the now-defunct CodeIgniter 3 framework, I came across something that I figure might be worth sharing in case anyone else is maintaining older PHP codebases and suddenly things start breaking after a PHP upgrade. With PHP 8.2, there’s a new warning that’s …

Member Avatar for Dani
1
70
Member Avatar for Dani

Here is the function that I use here at DaniWeb to manage flood control. It keeps track of how often a specific user or IP address is making a request, and increments a counter. If there have been no requests after 5 minutes, the counter resets to 0. It returns …

Member Avatar for Dani
4
495
Member Avatar for eservices

I’m working on a travel planning form that adjusts based on the selected nationality. For example, if someone picks a country like India, the form should display whether they need an electronic visa for places like Sri Lanka, and maybe show a short message or guide link. I’m using JavaScript …

Member Avatar for Biiim
0
46
Member Avatar for Jameswood32
Member Avatar for Temporal
2
75
Member Avatar for James_228

Hey Flutter devs I’ve been learning Flutter app development for cross-platform app development and I’m starting to get into more advanced stuff — but one thing that still feels a bit unclear is state management. I know there are several options like: setState() Provider Riverpod Bloc GetX, MobX, etc. But …

Member Avatar for Temporal
0
62
Member Avatar for trueriver

I'm just coding something for fun right now and I'm stuck on looping. I'm using a while loop that only runs if my variable is 0. Right now, I set the variable to 0 but the code was after the loop. How do I fix this? import time import sys …

Programming python
Member Avatar for Dani
0
40
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 ThinkWriteGrow
1
206
Member Avatar for Montasser_1

I try to remove the last character from a string with Japanese text and emojis using this code: <?php $text = "私の名前はダバーです👩‍🚀"; $new_text = substr($text, 0, strlen($text) - 1); echo $new_text; The output breaks the characters and shows garbage. How do I fix this?

Member Avatar for Montasser_1
1
58
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 Reverend Jim
2
16K
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 geekinformatic
2
70
Member Avatar for Trunar

The project is: -------------------------------- Write a program that computes and prints the average of the numbers in a text file. You should make use of two higher-order functions (i.e., map and reduce, or something else) to simplify the design. Create a text file and name as numbers.txt and add the …

Member Avatar for Dani
0
2K
Member Avatar for Ramesh sharama

In 2025, a successful website goes beyond just good looks. It needs to be fast-loading, mobile-friendly, and accessible to all users. Strong user experience (UX), clean navigation, and clear calls to action are essential. Integrating SEO best practices, secure protocols (HTTPS), and scalable backend systems is also vital. Websites should …

Member Avatar for Reverend Jim
-2
38
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
281
Member Avatar for admin_12
Member Avatar for ashishkumar56
0
8K
Member Avatar for Mr.M

Hi DW, I'm trying to mark attendance register which has the date for which that register is being marked for as well as the date which the register is actually marked on. For Date as well as Marked Date. I also have two time picker textboxs which one is for …

Member Avatar for Dani
0
99
Member Avatar for jackwells

Hello, fellow coders, I'm relatively new to coding and web development but excited to embark on a project combining my passion and my budding programming skills. I'm eager to create a tool like this https://minecraftcirclegenerate.com/ created using HTML, CSS, and JavaScript. As a beginner, I'm seeking guidance on where to …

Member Avatar for b_985
1
103
Member Avatar for HungMob

Hello, I'm a Freshman in college that's going to majoring in Electrical and Computer Engineering. Right now I'm taking a C++ class and I'm looking to do something funny to a friend of mine. I have been searching the web for some "fake viruses" and whatnot to to play around …

Member Avatar for cirol
0
6K
Member Avatar for dimitrilc

## Introduction ## In a previous tutorial, we learned [how to create a notification on Android](https://www.daniweb.com/programming/mobile-development/tutorials/536756/android-native-how-to-create-a-notification#post2282507). In that tutorial, we did not have to request any permission because applications did not need permission to post notifications on Android 12 and below. It has been almost a year since the release …

Member Avatar for Erussuhsh
1
666
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 Liam91
-2
939
Member Avatar for Balaji_14
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
130
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 Dani
1
186
Member Avatar for Marcus_8

Hi everyone, I'm getting a 401 Unauthorized error when trying to call the Management API from my web app. I've already checked my token, headers, and API endpoint, but nothing seems to work. However, I’m still confused and can’t figure out where exactly I’m going wrong. I feel like the …

Member Avatar for Dani
1
56
Member Avatar for blockard

What model of Android phone would you start with for testing a Java app? Is there one phone of which you can say, "Well, it works fine on here. There’s a good chance it’ll work on 75% of other Android phones and tablets"?

Member Avatar for Ulfson
-1
66
Member Avatar for manmohan419

I'm currently working on enhancing the user experience for the <snipped> app, and I've run into a bit of a roadblock. I'm trying to optimize the game lobby to ensure smooth navigation and quick loading times, especially as our user base continues to grow. However, I'm finding that even with …

Member Avatar for jonathannweyer
0
111
Member Avatar for asnashehr234
Member Avatar for Reverend Jim
0
29
Member Avatar for jaspreet_5

I want to build an easy machine language more likely that sport local language and easy for building software applications and much more

Member Avatar for Dani
0
37
Member Avatar for Chris Hüneke

Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can …

Member Avatar for Dani
2
986
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
100
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
95
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
1
254
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
1
117
Member Avatar for afnanshaikh1223
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
324
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
95
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
65
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
418
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
567

The End.