o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Algorithm problem! -

Hi!

I guess im REALLLLY tired at the minute and will think this through tomorrow but its something that isnt going to make me go to bed easily!

OK:

I have a start time and end time
a user also enters a start time and end time

I want to see that if the user's entered start time and time conflicts with the set start time and end time.

how do I find this out?

I will have 2 DateTime objects for each date time set. One object will be the start time and the other the end time.

so i wanna check if the user entered their start/end time does NOT conflict with another start/end time.

how?

 

Best Encription Algorithm, Your Views -
Hi Everyone, I am planning to write an encryption utility. I want to know what’s the best algorithm available. What’s the best algorithm available at the moment? How about DES, PGP and Blowfish are they crackable (realistically) or is there any better algorithm available apa


What's the universal formula for compression algorithm -
Does anybody know? There has to be a universal law of compression of data no matter what the algorithm. Like if you wanted to compress 01100010 (98) and 00010111 (23) into less or equal to 8 bits, what will that algorithm be when 1 or more numbers contain a different algorithm of do


Compressing a Byte array -
I have an array of Bytes and I need to compress it, no certain algorithm I just need to create an algorithm that will look for common patterns in the byte array then say replace them for a shorter pateren that is defined at the begining. The only problem is I don't know an algorithm th


Noise reduction algorithm required -
I need a simple and fast algorithm to get rid of noise on monochrome images. A typical image is attached here... I have about 10000 such images and they all need to be cleaned up a bit. Any ideas? Needless to say the text must remain undamaged by said algorithm. I plan to load


Design an algorithm to validate and store -
Im new to VB and i have been reading alot into it. I have come across 4 problems in which i have had trouble completing. I have little idea of what is required but i dont know how to do it. 1) Design an algorithm to validate the data controls on the form and store the values int


what is Bigram algorithm -
Hi all, can you tell me what is the bigram algorithm ? and could you show me what can i download the document for the algorithm? i used to download amny documents about this algorithm also but after is read it got nothing about tha. please help me. Best regards, Thirith.


YEAH!!! But Still 1 Problem -
Well I have figured out the basics of decoding an mp3 file in VB and mapping it to a wave device using LOTS of mp3 documentation on the internet. One problem I have is trying to find an algorithm to convert a byte value into its relevent bits. I could hardcode all 256 of them but I was


XML: algorithm to aggregate -
Does any one know of an algorithm to combine two feeds of similar or identical schema? My plan is to use ATOM but I can transform to RSS if I must. Ideally I'd like to find a generic algorithm (with code examples would be good in ASP, .NET or PHP [if PERL then it'd have to be fu


Safer.c algorithm -
hi, i found some fast encryption algorithm safer.c whats is the keycode of this algorithm? see attachment regards,


How to know the Algorithm of this!!!!! -
Hi! My question is about Algorithms.. I have two numbers.. for example :- First Number: 87519756113659 Second Number:87719753497097 There is an Algorithm used here to generate these numbers.. I can get more numbers generated from the same algorithm.. but how to know


RSA (Again :o|) Any help -
Hi, I'm trying to make a small encryption program that uses RSA, but it's slightly easier (I think this would make it easier anyway!). But, I'm still having problems with it. What I would like to do is still use the normal RSA algorithm, but instead of coming up with a random s


Scanline algorithm -
Hi all, I'm in need of a scanline algorithm that's capable of filling in a polygon. (I'd use the API functions to fill in my polygons, but I want each individual pixel in the polygon to be of a different shade, based on my funky lighting algorithm). Anyone got one handy? (And wh


PGP, Encryption & Stuff -
I have to use PGP to encrypt a database table to ftp to a bank. What is the best algorithm to use to accomplish this. It should be a simple yet fairly secure algorithm, not like the shift algorithm.... Wouldnt the key need to be encrpted to?? I am new with encryption, is there a good w


Algorithm -
I have a grid with 20 columns and 12 rows. User can enter value to some cells in this grid. I want combination like in this example. 1 2 1 1 1 2 2 2 3 4 5 => 3 4 5 3 4 5 My problem is that ; I dont know howmany row and column include val


Euclidean algorithm can't handle 2/3 -
I'm currently using an implementation of the Euclidean algorithm in a program I am developing in order to take a decimal answer and display it as a fraction. For example, I entered 2/18, the program would use the Euclidean algorithm to display the answer as 1/9, instead of .1111111111


DES Algorithm -
Hey all, I need to use the DES algorithm in a VB.Net application that's going to be deployed to a PDA. However, I was unpleasantly surprised when I found out that the System.Security.Cryptography namespace is severely crippled in the compact .Net framework. Anyone knows a wor


Line algorithm -
Hi, This is the best place where I can post this, I think Say, I have a subroutine called drawline, which accepts as parameters: x1, y1, x2, y2 We have a screen, and on point (x1,y1) we start drawing our line to (x2,y2). Each pixel on the line should be determined by an algo


Need a smart person to fix this algorithm -
Take a look at the smooth sort algorithm in this project. First person to fix the bug gets a credit in the final program. For more information on the problem, double-click the smooth sort algorithm from the main screen. The best way to reproduce the errant behavior is to isolate


[2005] Metropolis-Hastings Algorithm -
Hello everybody! Can anybody who wrote a program in VB using the Metropolis-Hastings algorithm share the code for the algorithm please? I need something to start with. Anything to get me started will be very appreciated. Thank you and Merry Christmas / Happy Holidays to all of you!


How does Graphics.DrawImage resize the image -
I'm writing an open source image signature/comparison system. I have the algorithm down, but in certain circumstances, the image has to be resized (possibly on only one axis) before the signature is generated. (I'll explain why, if you really need me to.) The problem is this: I'm pl


Efficient Line Extention Algorithm -
Is there a line extention algorithm similiar to the Cohen-SutherLand clipping algorithm? Thanks David


Rijndael Algorithm -
Does anyone know the Rijndael Algorithm, such that they can explain it here? If not, then perhaps a link to a diagrammatic explanation for the Rijndael Algorithm. Thanks.


C Algorithm Tutorials -
Hi, Does anyone know any good websites that has some algorithm tutorials for C Programming? I'm pretty average in C but my maths is not that good. So was thinking of studying some algorithm to make my programming more efficient. Thanks!!


Algorithm Help Needed -
I need help to figure out algorithm in vb6 for creating groups of people given the total based on some rules. The groups need to be as even as possible. The Maximum people in a group is 8. The Minimum people in a group is 6. The groups need to be as close to the Maximum as possible.


compression algorithm -
hello, i am looking for an compression algorithm which offers the most compression. there are loads of different ones but i dont know which one has the most compression. which compression algorithm offers the most compression and is also lossless? i have tried zlib.dll but for some re


Compressing algorithm - how do they work -
Anyone knows algorithms that compress files. I think the most popular example would be WinZip. But does anybody know what the algorithm does, or how a sample code could look like? I imagine there is some code in a file (e.g. .EXE file) ASCII: MZÿÿ¸@€º´ Í!¸L


Line Graph algorithm -
Hi all, Does anyone know of any kind of algorithm that generates XY co-ordinates of a graph. I need this algorithm to scale automatically ie any values a user submits the graph must scale according, (ex (12 44,23,) or (3250,1311,5243) .... both values should fit in the graph) If


Can anyone tell me the name of this algorithm... -
I have encountered a lot of sorting algorithms. Some whose names I do not remember & some names associated with algorithms I do not know. I have never seen nor heard of anything like the algorithm you described. It does not seem to be a very useful algorithm. For a large num


is the possible to write an application in VB which use B+ tree algorithm -
in my term project ,teacher need us to write a program which use B+ tree algorithm, i am going to make a easy address book application to apply this algorithm, but i am not sure wether i can use VB or not, course in VB we can not use pointer to link each node,so any one please tell me


DVD Algorithm. -
Anyone know who was the guy who came up with this DVD Algorithm? I remember he was a professor, his first name is David and his last name starts with T.


Fastest Sorting Algorithms ... Guv -
What is the fastest sorting algorithm out there? I was bored yesterday..... so I came up with an algorithm myself.... and when I tested it, it turned out faster than the implementations of: Insertion, Shell, QuickSort, QSort that I found here: http://epaperpress.com/sorts


Can you help me identify this algorithm -
I have dreamed up a simple algorithm for finding small prime numbers. It is such a simple (and memory hungry!) alg that I reckon it must have been postulated by someone in the last few millenia. I was wondering if it is a famous one or one that is so crappy that its been ignored.


OCR Find unique pixel signature (perhaps matrices) -
Given a simple font whose width is W pixels and height is H pixels, and the pixels which make up the numbers 0,1,2...9 are known. Determine the minimum amount of pixels which uniquely identifies the number in a given WxH grid. A type of optical character recognition. Let's say I h


converting algorithm into VB syntax -
Hello.. i hav one algorithm that i want to be convert into VB syntax.. please help me.. the algorithm below : Step 1: Set t = 1 Step 2: Z t,t = At + CtDt Step 3: t’=t+1 Step 4: If t’ > T, go to step 7. Otherwise go to step 5 Step 5: Z t,t` = { A


StackOverflow, Possible Workarounds -
I'm currently working on a program that creates a huge, and I mean huge, tree. The tree will probably have somewhere close to 36000 nodes. To create the tree I'm using a recursive algorithm which gives me a stackoverflow runtime error at about node #4000. What possible workarounds are


Algorithm to get closest number set -
Good day, Let say we hv a number set {11, 22, 33, 44, 55, 66, 77, 88, 99, 111}. Is there any algorithm that can give me a subset {x1, x2, x3, ...} where the sum of the subset closest and less than to 150 , for example ? E.g., 11+22 = 33 11+22+33+44 = 110 11+22+33+44+55 = 16


Filling a n*n array randomly with fill fraction p -
I'm trying to fill a n*n array randomly with a fill percentage p (in decimal form i.e. 0.75 for 75%). The value in each random element should simply be set to boolean TRUE so it's the positions that need to be randomised. I've tried doing th following. Start Loop Randomise new


MD5 Algorithm -
Does anyone know the MD5 algorithm or a module i can download that has the md5 code? I would like to make a program that I can put text into and encrypt it into an md5 hash value. (No this isnt a hacking tool for anyone who is wondering).


Encryption algorithm -
does any one here uses the Rijndael Algorithm for encryption? I've heard that it has bug? what best algorithm for encryption?


How to code (chain code 8 connectivity algorithm) in vb6 -
Can any one help me with the chain code algorithm implementation. i need to know if this algorithm can be implemented in vb 6 or not