Re: Differential Directory, indexing method Programming Software Development by xrjf Just a quick update for anyone interested: I have revisited and significantly improved the code, aiming for a more professional structure and better performance. The updated version avoids freezing the UI during long operations and follows more robust programming practices. If you’d like to see DiDi in action, there is also a video … Differential Directory, indexing method Programming Software Development by xrjf … reorganization. * Performance is proportional to the length of the keys, not to the size of the index. * Insertions require…the previous one (already sorted), rather than storing full keys in each node. Much like when writing a list… of letters, it identifies the first differing bit between keys. It stores this position in a node, which also… Re: Differential Directory, indexing method Programming Software Development by noahevans …. The idea of storing only the first differing bit between keys reminds me of how we optimize systems for speed and… Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks Programming Computer Science by usmanmalik57 … need the [OpenAI API key](https://platform.openai.com/api-keys). ```python client = OpenAI(api_key = OPENAI_API_KEY) ``` ## Text Summarization with GPT-4… 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 … 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." Re: Differential Directory, indexing method Programming Software Development by xrjf I've just made an update because some records weren't being added properly. The issue was that the form didn't take into account that the register field (in the call to DiDi) is passed by reference. Json response in javascript Programming Web Development by Mr.M Hi Dw, I want to get the keys and data of the php json response, heres the response … Re: Json response in javascript Programming Web Development by Langflow Hi! You can decode the JSON response in PHP by using json_decode($response, true); to get an associative array and then get the keys by using array_keys($data) and access values as needed! Re: Json response in javascript Programming Web Development by Biiim … anything, the console can give a clue sometimes. The incrementing keys in the array should be preserved from PHP. Edit: and… Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by usmanmalik57 … will need the [Groq API Key](https://console.groq.com/keys). The following script installs the Python Groq library and other… Re: Json response in javascript Programming Web Development by Biiim This is what i'm using for AJAX requests - it needs jQuery: var data = []; data.var = 'test'; $.ajax({ type: "POST", data: {data:data}, url: connectProtocol+"://"+currentHost+"/linkToAjaxFile.php", success: function(msg){ responseData = $.parseJSON(msg); … Re: Json response in javascript Programming Web Development by Mr.M I also have to mention that the response will also be a multi-array Re: Json response in javascript Programming Web Development by Dani Sorry, I'm confused. Do you want to decode the JSON in PHP or in Javascript? Re: Json response in javascript Programming Web Development by Mr.M @Dani, I wanted to decode it, basically @BIIM has provided something that helped me out, the problem now is that I've seen that I am facing an issue with how the data is, so now I want the end data to be like this Content{events[{title: myeventtitleFromDatabase, start: myeventstartDateFromdatabase, end: endDateFromDatabase}]} … Re: Json response in javascript Programming Web Development by Dani If Biim had provided a working solution, I’ll mark this question as solved. Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by rproffitt "Wiz Research Uncovers Exposed DeepSeek Database Leaking Sensitive Information" "Security researchers tested 50 well-known jailbreaks against DeepSeek’s popular new AI chatbot. It didn’t stop a single one." It only seems to get worse the more you look at DeepSeek. And I must note how it is known to not want to talk about … Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by policenbicleara Llama-70B struggles with sentiment analysis (69% accuracy) vs. Qwen-32B (87%). Summarization performance is weaker, with lower ROUGE scores. Qwen-32B is the better choice—smaller, faster, and more accurate. Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by Pelorus_1 Great breakdown of DeepSeek R1 Distill LLaMA 70B! The explanation of text classification and summarization is clear and insightful. Appreciate the practical examples—makes implementation much easier. Thanks for sharing! Re: Keys Programming Databases by urtrivedi … avoid entry of duplicate email ids in studentmaster note primary keys are always unique keys unique keys are NOT always PRIMARY… keys Programming Databases by amrita111 Whats the use of super keys and candidate keys when primary key can handle the entire thing in database????? Keys Programming Databases by vishalbhavsar Hi, I am currently studying the database. I came across the concept of 'Keys'. I am very much confused in all of them. Can anyone help me by giving comparison between them along with some example? keys.. Programming Databases by amrita111 This question was asked in my viva. Each Foreign key must exist as a primary key. Foreign keys values can change over time.. According to me the second statement is false.But he said that they can change values...Is it so??? keys problem Programming Software Development by eibwen … shelve object- book. If I do book.keys(), naturally I get a list of the keys- ['key1', 'key2', etc...] When I do… a book['key1'].keys(), I again get a list… of those keys- ['keya', 'keyb', etc...] Is there a… Keys not working Hardware and Software Hardware by Lawrence.Brown I got up this morning to find 5 keys not working on my wifes Medion Laptop ( H L N … can use the on screen keyboard! Guess what? the same keys do not work on that either. Then I plugged in… the keyboard from another computer and again the same 5 keys will not respond, Can anyone give me an idea what… Re: keys problem Programming Software Development by jrcagle … reverse lookup code >>> for key in f.keys(): for subkey in f[key]: revdict[subkey] = key >>… Keys ShortCuts to call functions Programming Software Development by abelLazm hello all i want to use shortcut keys ro call different functions in my window application... i have …