New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 14:53, 19 August 2024Programme Fall 2023 (hist | edit) ‎[634 bytes]WikiSysop (talk | contribs) (Created page with "* 28/08 Lesson 1: Databases * 04/09 Lesson 2: MySQL * 11/09 Lesson 3: Coding against databases * 18/09 Lesson 4: Computer design * 25/09 Lesson 5: Queueing System * 02/10 Lesson 6: Distributed computing, [https://evaluering.dtu.dk/ Midterm evaluation] - part 1 * 09/10 Lesson 7: What affects performance, [https://evaluering.dtu.dk/ Midterm evaluation] - part 2 * 23/10 Lesson 8: Algorithms * 30/10 Lesson 9: Parallel programming * 06/11 L...")
  • 12:27, 17 June 2024Example code - Prime numbers optimization (hist | edit) ‎[9,983 bytes]WikiSysop (talk | contribs) (Created page with "This is going to be a long, but quite instructive rant about various optimization ideas and techniques.<br> Let us start with my "classic" prime number generator. The idea is to see how long time is takes to find/generate the primes between 0 and 10 000 000 and use that as a measure for performance. We know that primes are integers which can only be divided by 1 and the primes itself. Therefore it is an obvious idea to evaluate if a number is a prime by starting to divi...")
  • 10:50, 17 June 2024Example code - memoization (hist | edit) ‎[3,051 bytes]WikiSysop (talk | contribs) (Created page with "Memoization is an optimization technique, which remembers the result of CPU/time expensive function calls.<br> It is an example of the Golden Rule: Do not repeat work that has already been done.<br> You can also call the method for "caching of results". <pre> #!/usr/bin/env python3 # Demo of the effectivenes of caching import time class Compute: # Class variable used for caching cache = dict() def __init__(self, computeDelay): # Instance variab...")
  • 10:30, 17 June 2024Binary representation (hist | edit) ‎[3,854 bytes]WikiSysop (talk | contribs) (Created page with "{| width=500 style="float:right; margin-left: 10px; margin-top: -56px;" |Previous: More parallelism |Next: Hash usage |} == Material for the lesson == Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=6d4f429b-c110-4439-9bdb-af170077108e MapReduce Framework, short intro]<br> Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=a0160728-b8be-4b9b-820e-af170076f2c2 Binary numbers, representation and operations]<br> Powerpoint: [https://teaching.he...")