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 … only this position in the index. * With at most one single disk read, assuming the index is in memory, it determines… sorted, and only a maximum of 3 nodes and a single disk read are required per insertion. Re: Differential Directory, indexing method Programming Software Development by xrjf … 3 comparisons → Total so far: 10 comparisons Merge into a single group of eight: (1, 2, 5, 7) + (3, 4, 6… Re: The Impact of User Research on UX Design Digital Media UI / UX Design by john_111 … page links was to move the mouse cursor over every single word! 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 "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. Re: Differential Directory, indexing method Programming Software Development by noahevans This is a brilliant explanation of how Differential Directory (DiDi) indexing works — very efficient and elegant. The idea of storing only the first differing bit between keys reminds me of how we optimize systems for speed and memory, much like how some tech repair services streamline diagnostics. At FixnVibe, our approach to mobile phone … Re: Buggy career talk :-P Programming by Salem This https://en.wikipedia.org/wiki/Peterson%27s_algorithm Plus two different kinds of processors. Plus an error rate of less than once a week. After many months, the cause was eventually captured on a bus analyser. After which, the solution was obvious after a bit of RTFM. Turned out that one of the processors had the then awesome new … Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by usmanmalik57 …-generated summaries. The following function returns ROUGE scores for a single summary. ```python # Function to calculate ROUGE scores def calculate_rouge(reference… Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by rproffitt …’s popular new AI chatbot. It didn’t stop a single one." It only seems to get worse the more… Buggy career talk :-P Programming by Dani …/540571/mysql-packets-out-of-order). As far as the single biggest threat to my career from a technical perspective, I… Re: How to Efficiently Develop Apps for iOS and Android? Programming Software Development by gorgebutler … save time and effort by allowing developers to write a single code base for both platforms. Optimizing performance, focusing on user… Re: Ensuring data consistency and integrity Hardware and Software Cloud-based Apps by Dani … particular page are fetched at once, and always from a single server. That seems to work well for us. Re: Multiple MySQL connections + transactions Programming Databases by toneewa … qualified table names, and write to multiple databases on a single connection. Otherwise, just use separate connections for transactions. A database… Re: Multiple MySQL connections + transactions Programming Databases by Dani > If the databases are on the same server and use InnoDB, you can use fully qualified table names, and write to multiple databases on a single connection. That's what I ultimately started doing instead! Thank you so much for a definitive answer to my question. 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: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by rproffitt UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance. 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: Buggy career talk :-P Programming by Reverend Jim The most challenging bug was one I introduced myself. While making a miniscule code change I decided to improve the readability of the following line by inserting a space. In today's code that would not be a problem, however, most of our code (AGC/SCADA) was written in FORTRAN. Those of you who made your bones in the punch card era, or know a … Re: Buggy career talk :-P Programming by pritaeas The one with the most impact was a Firebird library update, which appeared low to no impact. After deploying at a customer, the library soon showed a complete disregard for database transactions. This mangled the client's database completely and caused us to retrace all changes by hand to undo the damage done. Several weeks worth of misery... … Re: Single 512mb sdram stick possible? Hardware and Software Hardware by DMR Single 512MB memory modules [I]didn't exist[/I] when mobos of that vintage were released. :eek: I would stick (no pun intended) with what the manual specifies. Win 2K will actually run pretty well on the machine if you populate it with two 256MB modules. Re: single and multidimensional array Programming Software Development by Ancient Dragon single [icode]int array[10];[/icode] multidimensional: [icode]int array[10][3];[/icode] This is more like a spreadsheet where it has 10 rows and 3 columns per row. single Datagridview - show/insert/update/delete [Multiple tables] Programming Software Development by thenndral …2008 DB - oracle11G Below I coded for Single table - [Insert/update/delete] for Single datagridview. [CODE] private void Form1_Load(object…/update/delete[B] 2 or more tables in a single datagridview. I can write code join sql query and… show the two or more data in a single datagirdview. But how to insert/update/delete? [/B]… Single Argument Constructors Programming Software Development by challarao … constructor: "In recognition of this intent, a single-argument constructor in C++ is called a copy constructor…quoted above...I think we cannot state that every single-argument constructor is a copy constructor....If I'…foo& object); Normal single argument constructor: foo:foo(int a); Both are single argument constructors but only the… single sign on software for all application? Programming Web Development by hamarsheh Hi everbody! i need single sign on software for our php website , For all application, … php, and another things so we need software to do single sign on , that the user logs once to his page… , but till now i found software under the name sso (single sign on) , but it does not do that for me… Single Dropdown for Multiple Fields Programming Web Development by gruve Hi I'm trying to create a single dropdown menu for a search that will post results from … City and Park. Cities contain multiple parks. So in a single drop down i'd like to have something like -City1… only by city. I need to expand this into the single dropdown to reflect the parks. [code=php]$city = @$_GET['city… single statement to choose a random number from a given sest of numbers? Programming Software Development by Muhammad Anas Question: Write a single statement that chooses a random number from each of the … how to choose random numbers from these sets using a single statement?? I was able to do this using a switch…