What are some underrated React JS best practices? Programming Software Development by James_228 I’ve been working on a mid-size React project and started noticing performance lags and bloated component … Differential Directory, indexing method Programming Software Development by xrjf … proportional to the length of the keys, not to the size of the index. * Insertions require updating at most two or… Need a small footprint desktop with decent power Hardware and Software by wolfyshoo … seem pretty impressive, especially for the power consumption and tiny size. Does anyone here have experience using a recent Mac mini… Re: What’s the Biggest Web Design Mistake You’ve Made? Programming Web Development by Dani Usability trumps aesthetics. Always use a large, readable font size with a high contrast between the font and the background. Re: Which is the best email marketing tool you ever used? Digital Media Digital Marketing by yesumalla … tools will always depend on your audience's goals and size, but if you're a beginner or solo creator, this… Re: Any jQuery 4 users? Programming Web Development by Neil_brown001 … bunch of DOM manipulations. They’ve removed deprecated methods like .size() and .bind(), so if you're upgrading, you’ll want… Re: The Impact of User Research on UX Design Digital Media UI / UX Design by john_111 …, each composed of 20 identical small white squares (about the size of this --> HH ), with a tiny arrow in the… Re: Any jQuery 4 users? Programming Web Development by jkon … also focuses on a slim build. Given its current small size, less than 20kb gzipped, I don't believe we'll… Re: What are the key components of an effective email marketing campaign? Digital Media Digital Marketing by Advertising13 … your email looks good and functions well on any screen size. Personalization: Use the recipient’s name and tailor content to… 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. 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 … Re: Need a small footprint desktop with decent power Hardware and Software by Dani Not too long ago, I ditched a suuuuuper expensive ~10 year old Dell Precision workstation with like 64 cores or something crazy, multiple video cards, dedicated RAID controller, etc. for a much less expensive M1 Max Macbook Pro. The macbook outperformed the Dell for everything I did by far. Re: Need a small footprint desktop with decent power Hardware and Software by trcooke I'm a developer too and 14 years ago I bought an entry level MacBook Air and honestly it was probably the best laptop I've ever bought and I used it for development for years and years. It used to creak a bit if I ran more than one instance of IntelliJ, but other than that it took everything I threw at it. I have since replaced my own laptop, but … Re: Size Programming Software Development by frrossk >>static int b[SIZE]={0,2,4,6,8}; SIZE = 4; b[SIZE] has 5 elements - not good >>int x[SIZE-5]; SIZE-5 = -1. You cannot declare an array with negative dimention. Also, [B]int main ()[/B] , not [b]void main ()[/b]. And, for defining the size of an array, I prefer [b]#define SIZE X[/b] instead [b]const int SIZE=X[/b], Size Programming Software Development by Faramba Are the following array declarations valid, if not why?: "i'm confused!" const int SIZE=4; void main() { int a[SIZE]= {0,2,4,6}; static int b[SIZE]={0,2,4,6,8}; int x[SIZE-5]; int d[SIZE*2]; . . . . . . } Re: Size Programming Software Development by Richard Wong … why?: "i'm confused!" const int SIZE=4; void main() { int a[SIZE]= {0,2,4,6}; ---------------(1) static int… b[SIZE]={0,2,4,6,8}; int x[SIZE-5]; int d[SIZE*2]; . . . . . . }[/QUOTE] You can re… Re: .size() help Programming Software Development by Fbody Where do you get the size of the name that the user has entered? From what … character int characters; //and integer for the .size() on the next line characters = name.size(); //this take the sting name and makes… Re: .size() help Programming Software Development by totalwar235 … character int characters; //and integer for the .size() on the next line characters = name.size(); //this take the sting name and makes… .size() help Programming Software Development by totalwar235 … here { string name ="l"; int characters; characters = name.size(); while(characters != 0) { if(characters <= 1) { cin>>… Re: .size() help Programming Software Development by totalwar235 now it is good, i just had to move my characters = name.size(); into the loop. thanks for the help Size matters despite what small business thinks Hardware and Software Networking by newsguy …far as European small and medium businesses are concerned, size does matter when it comes to security and risk. … and medium sized businesses across Europe, McAfee's 'Does Size Matter? The Security Challenge of the SMB' report highlights…know that cyber criminals don't discriminate, to them size doesn't matter," said Greg Day, Senior Security… Array Size Problems Programming Software Development by cppdeveloper …[6400(counter)][16]. I also can't declare the size as a high upper limit of 6400 as the program… while processing the ith[][] variable itself it may increase its size, how do i define it then [CODE] int * ich;…problem other than dyanmic array ? Can i constantly change the size of the arrar by using Dynamic allocation ? What about … size of arrays Programming Software Development by mauro21pl …loop so I need to know what is curently the size of an array. Is it possible. Looks like stupid …what I know so far I can't chang ethe size of array, isn't right?). But if I …would enter let sey 25 characters. Is the size going to change?Is it possible. If so how …may I got the current size of the array. If not what is the best… Re: size of arrays Programming Software Development by Bench … so I need to know what is curently the size of an array. Is it possible. Looks like …I would enter let sey 25 characters. Is the size going to change?Is it possible. If so …how may I got the current size of the array. If not what is the …vector ?) ,tht will let me know the current size of array Thank you[/QUOTE]The best choice would be… Size of largest key / value in multimap Programming Software Development by Web_Sailor … wondering if there is any way to get the largest size of a multimap key / value. I mean something like this… is web_sailor [/CODE] Suppose I want to get the maximum size key / value. Like here I should get the… "web_sailor" 10 which is the maximum size and 2 is the minimum size for in / my. This is because I…