3,092 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for midyajai

I am trying to understand Boyer Moore algorithm & KMP algorithm (Knuth Morris Pratt)? I tried some places like GeeksForGeeks, TutorialsPoint etc. But I have still some doubts. If you guys have some resources or videos where these algorithms are explained in somewhat simple terms, please share them. First I …

Member Avatar for Alisha_8
-1
711
Member Avatar for dseto200

How do I modify this program player has 5 chances to ask a letter is in the word. Computer responds yes and no. Original Exercise - Computer picks a random word from a list and player guesses the word. Computer tells the player how many letters are in the word. …

Member Avatar for Reverend Jim
0
3K
Member Avatar for dloj333

A hosting site I use was breached and a landing page form is hacked. The hack does not affect my other domains or their forms. I have reset .httaccess, swapped out the email address I use for the form, changed the PHPMAILER_master with the original, and put in a honeypot …

Member Avatar for john_111
0
163
Member Avatar for arcon

when editing it does it well on the screen but it doesn't save the data correctly example Option Explicit Private Type molde_agenda id As String nombre As String * 40 imagen As String * 250 End Type Dim Datos As molde_agenda Dim DatosTemp As molde_agenda Dim FileFree As Integer Dim …

Member Avatar for AndreRet
0
116
Member Avatar for Joaquim_5

i can create a DDA algoritm.. but pixel a pixel. so what is the best speed for it? IncrementPixel = 2 For RayAngle = StartAngle To EndAngle Step IncrementAngle Distance = 0 Wall = 0 RayActualX = RayX RayActualY = RayY IncrementStepSin = Sin(RayAngle) * IncrementPixel IncrementStepCos = Cos(RayAngle) * …

Member Avatar for rproffitt
0
111
Member Avatar for r4ds

I'm trying to find a concrete example where that type is used, I can't find any on the whole internet, the documentation of the package is very advanced or doesn't give details. It all started from trying to find an error that was "*goneException*" when using *postToConnectionInput* to a client …

Member Avatar for AndreRet
1
73
Member Avatar for david.tigner

I am trying to upgrade from ReCaptcha v1 (in use and working good since 2017) to ReCaptcha v3 as ReCaptcha is not compatible with any of the PHP v8's. I started setting it up (got site and secret keys) and coding for 2 versions of ReCaptcha v3 (1. Automatically bind …

Member Avatar for david.tigner
0
288
Member Avatar for Read a Book

Hello everyone, i am in some kind of testing stage where i want to test some security flaws on websites/browsers with the cookies. I want to generate google cookies with a different time period. (older than 2 months). Firstly I will try to integrate into the browser via JS Secondly …

Member Avatar for AndreRet
1
312
Member Avatar for Amit_108

HELLO ALL ! I am new here and a Lerner,beginner. I need help from you all great mind in my project that i have a datatable dt. i retrieve data from sql to a data table named dt in vb.net. now i want to write result in notepad where user …

Programming c sql vb.net
Member Avatar for Santanu.Das
0
148
Member Avatar for seth_yu

[Click Here](https://github.com/codecat/catsight) Thank you very much if you can provide compiled Windows binaries or converted VS projects that are preferred

Programming c c++
Member Avatar for rproffitt
0
141
Member Avatar for UKnod

I am using visual basic dot net, with the asp.net add on. I have created a programme which works great, basically it has a logon, which uses mysql for the data, then loads a 2nd page using the username data. I am using the global variable to store the username …

Member Avatar for Santanu.Das
0
185
Member Avatar for Joaquim_5

VB6 : is possible convert radians to pixels? the WindowViewe is 200 pixels. so i need draw 200 lines between PlayerAngle(100 pixels) to 200. but how can i convert pixels to Radians... the PlayerAngle is the 100 pixel(the half of WindowViewe) Private Sub rayCasting() Dim rayAngle As Double Dim IncreRayAngle …

Member Avatar for Joaquim_5
0
150
Member Avatar for Richard_Harldsn

I have duplicate H1 tags on all pages of my website's blog, including tags, categories, and more. I have tried using default tools to fix the issue, but have been unsuccessful. I was wondering if any of you have experienced this problem before? My website is https://softwareplanetgroup.co.uk/blog/. Thanks anyway!

Member Avatar for Richard_Harldsn
1
174
Member Avatar for masocha

Please assit to translate the following code from python to php [Click Here](https://www.dropbox.com/s/qndlm9qenvge6sf/pyussd.rar) Thank you

Member Avatar for Mike_106
0
6K
Member Avatar for borobhaisab

@dani I got ChatGpt to fix my Crawler that was showing error. This code that was showing error: My Buggy Code ```` <?php //START OF SCRIPT FLOW. //Preparing Crawler & Session: Initialising Variables. //Preparing $ARRAYS For Step 1: To Deal with Xml Links meant for Crawlers only. //SiteMaps Details Scraped …

Member Avatar for AndreRet
1
94
Member Avatar for borobhaisab

@dani I got ChatGpt to fix my Crawler that was showing error. This code that was showing error: My Buggy Code ```` <?php //START OF SCRIPT FLOW. //Preparing Crawler & Session: Initialising Variables. //Preparing $ARRAYS For Step 1: To Deal with Xml Links meant for Crawlers only. //SiteMaps Details Scraped …

Member Avatar for borobhaisab
1
67
Member Avatar for MarkMarketer

Question for marketers. I was thinking the other day about AI creating content and I was wondering if AI generated content had an impact on a website's SEO. Does Google allow this?

Member Avatar for Ella_8
0
136
Member Avatar for borobhaisab

@dani Checking these 2 working codes of your's out. I got some basic questions. 1 ```` <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(E_ALL); //Dan's Code. //Code from: https://www.daniweb.com/programming/web-development/threads/538868/simplehtmldom-failing#post2291972 //Sitemap Protocol: https://www.sitemaps.org/protocol.html // Initiate ability to manipulate the DOM and load that baby up $doc = new DOMDocument(); $message = file_get_contents('https://www.daniweb.com/programming/web-development/threads/538868/simplehtmldom-failing#post2288453'); // https://www.php.net/manual/en/function.libxml-use-internal-errors.php libxml_use_internal_errors(true); …

Member Avatar for borobhaisab
0
81
Member Avatar for Mark_136
Member Avatar for Fifth Horseman
0
79
Member Avatar for borobhaisab

Experienced Fellow Programmers, I asking questions to those who have experiences with web crawlers. I do not want my web crawler getting trapped onto some domain, while crawling it. Trapped and going in a loop for some reason. And so, what to look-out for to prevent loops ? 1.I know …

Member Avatar for borobhaisab
0
75
Member Avatar for Kare12

Hi, I am a beginner. I am trying to get a audio notification when the Android battery is full and low. I understand the logic. As in, check battery status, then if battery_full run Android Media Player. I am trying to use it for my home needs. This is the …

Member Avatar for Kare12
0
55
Member Avatar for Dani

I received this email: > > Hello Google Developer, > > We're writing to let you know that we detected the use of an embedded webview in requests to Google's OAuth 2.0 authorization endpoint in the past 120 days associated with one or more of your OAuth client IDs listed …

Member Avatar for Dani
0
345
Member Avatar for 143wena

im a first year student of computer science course. our teacher teach us c++ program and i cant understand it well.now my teacher want us to make a menu system or payroll system.. the format she teach us is like this 1.) write a program that will accept users input …

Member Avatar for Aldrin_3
0
671
Member Avatar for Dani

I'm really bad with regex. For the purposes of URI rewriting, I'm trying to figure out how to match a word one or more times in a string. For example, I want to do something like: string/string/string/foo/bar => foo/bar string/string/bazbat => bazbat Currently I have: ^string/(.*)$ => $1 and that …

Programming regex
Member Avatar for Reverend Jim
0
101
Member Avatar for Williams Brown

It is difficult to predict with certainty which specific types of apps will be in demand in the future, as it depends on a variety of factors. However, considering recent trends, apps for games will continue to dominate and be the most demanded apps in the future followed by education …

Member Avatar for john_378
2
169
Member Avatar for nander

Anyone seen or had this happen before, whenever I add, edit or delete in this datable. It only does this when I add the js pagination\search ![TableDuplicate.JPG](https://static.daniweb.com/attachments/4/792aec684975bfed8e5e50cce0835187.JPG)

1
44
Member Avatar for fiju

How to use init function in coldfusion.Could any one explain with a good simpla example. And also scopes(VARIABLES and THIS) while writing an init function in a component.

Member Avatar for anita.jena
0
5K
Member Avatar for domingo

hi, i have a problem with my code. i have 1 tab control and 3 tabs. now the problem is that when i switch from one tab to another i want the datagridviews to clear their selection. this code works but when one selects the tab for the second time. …

Member Avatar for carl.cody
0
3K
Member Avatar for borobhaisab

Folks, Using DomDocument, I am trying to build a crawler that, when I feed it a starting point url (initial url to start the crawling & link extracting from), it should navigate to the starting url and extract all the links found on the page. ```` <?php $xml = file_get_contents($sitemapUrl); …

Member Avatar for borobhaisab
0
193
Member Avatar for epsilonb

I am trying to import a list from a txt file, but the reader skips the first line and also adds the last "null" line that the file writer adds. I fixed the null part but I can't seem to be able to add the first line in the list. …

Member Avatar for JamesCherrill
0
135

The End.