Re: Differential Directory, indexing method Programming Software Development by xrjf As an illustration, consider the theoretical lower bound for comparison-based sorting, as stated by Donald Knuth in The Art of Computer Programming: K × log₂(N). I developed a simple method that matches this limit. For example, to sort the list {2, 5, 7, 1, 4, 3, 8, 6}: Sort pairs: (2, 5) → [1] (1, 7) → [2] (3, 4) → [3] (6, 8) → [4] Merge… Re: Differential Directory, indexing method Programming Software Development by xrjf "Just to clarify a previous mistake: the efficiency should be K × N × log₂(N), not K × log₂(N) as I initially wrote." Differential Directory, indexing method Programming Software Development by 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 sorted and therefore requires no reorganization. * Performance is … Re: Differential Directory, indexing method Programming Software Development by rproffitt DiDi appears to be some China based UBER service but then again I can't find a question or much else to discuss here. Re: Differential Directory, indexing method Programming Software Development by xrjf About DiDi DiDi (Differential Directory) was originally developed as part of my thesis project in the early 1990s. The name bears no relation to the more recent Chinese ride-sharing company. At the time, DiDi was a novel approach within its academic context, but a change in legislation unfortunately led to the closure of the school and the … Re: Differential Directory, indexing method Programming Software Development by xrjf For example, as Donald Knuth points out in The Art of Computer Programming, the theoretical lower bound for comparison-based sorting algorithms is K × log₂(N). I developed a very simple method that matches this performance. However, DiDi goes far beyond: its performance is proportional to K × (maximum key length), regardless of the number of … Sat scores Programming Software Development by timdog345 [code] //test SAT /* void initialize (int& verbal, int& writing, int& math) { verbal=0; writing=0; math=0; } void userInitialize (int& verbal, int& writing, int& math) { cout<<"Please enter your verbal score (0-800) "; cin>>verbal; cout<<endl; cout<<"Please … SAT Community Center by Warrens80 I recently took SAT and thought this might be interesting. Any interesting stories, score and where you took will do nicely Re: SAT Community Center by <M/> Yeah, I have been gone for a while and I had taken my SAT. It was a pretty tricky test, not hard... just very tricky. I scored 2380 out of 2400 (I originally thought i had scored 2385, but it turned out that my counselor does not proof read her written work...). I, believe it or not, was not the highest scoring student in my school. One student … J.A.M.D. Hardware and Software Linux and Unix by Z28James over the last few weeks ive tried out rh8, mdk 9.1, knoppix 3.1, gentoo, yoper, debian sarge, and j.a.m.d and by far...except for gentoo, j.a.m.d was the coolest in my opinion. its a slimmer version of rh8 recompiled for i686 cpus. you all should try it...i like it alot. but i do admit i like gentoo...well purely cuz of the fact that i got it to … Re: 'J' Suffix and Swing Programming Software Development by VernonDozier [QUOTE=curtissumpter;802419]Is it safe to assume that any object that is preceded with the letter 'J' is a member of the Swing package? Just trying to get lightweight versus heavyweight components sorted properly. Thanks. -- Curtis[/QUOTE] It's mostly, but not all, Swing. Here are the J's [url]http://java.sun.com/javase/6/docs/api/… J# invalid paramater at runtime Programming Software Development by alcoheca Hi, I have this issue with a J# project I need to complete for uni. [CODE=java]public class Sprite { private Image m_image; public Sprite(Image image) { m_image = image; } public int getWidth() { return m_image.get_Width(); } public int getHeight() { return m_image.get_Height(); } public void draw(Graphics g, int x, int y) {… Re: J# invalid paramater at runtime Programming Software Development by alcoheca No one has any idea? start of rant: MSDN Forums are dead, no one is using J#, my lecturer is useless.. why force us to use this language with such limited support docs, examples, etc... 'J' Suffix and Swing Programming Software Development by curtissumpter Is it safe to assume that any object that is preceded with the letter 'J' is a member of the Swing package? Just trying to get lightweight versus heavyweight components sorted properly. Thanks. -- Curtis Re: 'J' Suffix and Swing Programming Software Development by stultuske [QUOTE=curtissumpter;802419]Is it safe to assume that any object that is preceded with the letter 'J' is a member of the Swing package? Just trying to get lightweight versus heavyweight components sorted properly. Thanks. -- Curtis[/QUOTE] assuming this could get you into a lot of unknown problems when using an openSource package. any Joe-… Re: J.F.K. assassination Community Center Geeks' Lounge by sk8ndestroy14 Well, here goes, vaguely (sp). J.F.K. serioudly talked about dismantling the C.I.A. This would put all of them out of jobs and the C.I.A. obviously didn't want that. "Why was Lee Harvey Oswald allowed back into the United States after defecting to the Soviet Union with virtually no questions asked?" Oswald's office in New Orleans was the … runtime error SIGSEGV for lowest sum Programming Software Development by inspire_all #include<stdio.h> #include<stdlib.h> //#define MAX 10001 void quicksort(long long[],int,int); int partition(long long[],int,int); void swap(long long[],int,int); int main() { int t,k,q,i,j,qi,c,p; long long *mot,*sat,*res; //printf("Enter no of test cases"); scanf… Re: runtime error SIGSEGV for lowest sum Programming Software Development by inspire_all i tried doing this #include<stdio.h> #include<stdlib.h> //#define MAX 10001 void quicksort(long long[],long long,long long); int partition(long long[],long long,long long); void swap(long long[],long long,long long); int main() { int t,k,q,i,j,qi,c; long long *mot,*sat,*res,p; … find sat sun from a given date Programming Web Development by mangel.murti if i have a given date so how can i find in what date sun and sat comming ... ? i store 0 for sat and 6 for sun in database. Re: find sat sun from a given date Programming Web Development by diafol Get the day from the current date: $current = date('w'); $nextSat = ($current == 6) ? 7 : 6 - $current; $nextSun = ($current == 6) ? 1 : $nextSat + 1; //a routine for adding days, eg for Sat: $dateSat = date_create(date('Y-m-d')); date_add($dateSat, date_interval_create_from_date_string("$nextSat days")); … Re: find sat sun from a given date Programming Web Development by mangel.murti thanx all for reply i am little bit confuse here.. basically what i want to do it ... if user set a task let says on 2012-june-2 so i have a form that is already sumiteed and data has been store to mysql it has two fields sat , sun ...if user set this to mon...tue wed.. etc .. so i have to check from above date when mon... or what ever he set in … Re: find sat sun from a given date Programming Web Development by diafol Do not use seconds for date calculations - they can fail spectacularly with leap years and daylight saving features. Unfortunately, I do not undertand your requirements: > if user set a task let says on 2012-june-2 so i have a form that is already sumiteed and data has been store to mysql it has two fields sat , sun ...if user set this to mon… MAX-SAT c++ programming Programming Software Development by cannon_1 Unlike linear programming, which has rather friendly software like gurobi or c++ that seamlessly incorporate into c++ system. For the problem class of Max-Sat, I have been searching for such a software without success. Does anyone know of some such software? Thank you:) Infected j think Hardware and Software Information Security by waterfrom Infected? The computer restart by it self. and say it recover after a big fail and its save a log file too( minilog) Possible virus ,But j cant find anything. Windows XP SP2. Avg antivirus 8.0 Windows built in firewall J have run this programs avg fullscan eset onlinescan spyboot search destroy malwarebytes,anti-malware. ccleaner Hijack this(… Re: Infected j think Hardware and Software Information Security by waterfrom what j call minilog is the Minidump file.. This have going on for3-4weeks now. shutdown 5-6 times every day and it say it have recover after a critical error. It`s drive me crazy. J have done all j come up with. Please help Re: Infected j think Hardware and Software Information Security by waterfrom hello. J run eset antivirus and M alwareAnti malware, ccleaner ,atf cleaner. spyware terminator.j downloaded eset and run the scan. and j run mcafee rootkit detective. How large is the hard drive? j got 185 gb free space How much RAM is installed? About 1536Ram When do these occur? not sure what you mean What are you doing … Re: Infected j think Hardware and Software Information Security by waterfrom hello sorry forgot hijackthis log her it is. And yes j have follow every step for clean computer Re: Infected j think Hardware and Software Information Security by waterfrom hello. J just try to take away avg if that was theproblem, but the same thing happend again, back to avg. Yes j dont have many program on my pc. ye it could be, But j not sure what services shall run and what j can disable? Re: Infected j think Hardware and Software Information Security by waterfrom hello again j just run combofix and it was few things there that combofix repair. The one thing combofix fix was some recovery file and 3 more files. That was cool enough. But j run mcafee rootkit detective, and it was something there that was not there earlyer. Is they a problem? 'Object-Type: SSDT-hook Object-Name: … Re: Infected j think Hardware and Software Information Security by waterfrom Hello. Sorry. Am understand now how frustrating that was for you. J am very very Sorry, but j was so frustrated with the shutdown all the time, and j was not able to run my web store. Am sorry j run those programs. j did not do anyhing with the mcAfee program. But j run the combofix . J was not sure if combofix was that powerful tool, if …