ADUG Melbourne Meeting August 2024

Hi Everyone,

The Melbourne ADUG August meeting is on Monday Night, 19th August

John McDonald will be doing a presentation continuing his exploration of anonymous methods, closures, etc and also looking at the Spring4D Dictionary.

Sorry I will not be in attendance this month, but I am looking forward to viewing the recording. Thank you, John for volunteering to fill in and also getting a presentation together at shortish notice.

When: 6:00pm for a 6:15pm start
Where: At the Melbourne Men’s Shed, and on Zoom.

Zoom link will be up here shortly before the meeting starts.

3 Likes

Topic: ADUG Melbourne Meeting August 2024
Time: Aug 19, 2024 06:00 PM Canberra, Melbourne, Sydney

Join Zoom Meeting

Meeting ID: 840 1366 4220
Passcode: 808856


One tap mobile
+61280156011,84013664220#,*808856# Australia
+61370182005,84013664220#,*808856# Australia


Dial by your location
• +61 2 8015 6011 Australia
• +61 3 7018 2005 Australia
• +61 7 3185 3730 Australia
• +61 8 6119 3900 Australia
• +61 8 7150 1149 Australia
• +1 669 444 9171 US
• +1 669 900 9128 US (San Jose)
• +1 689 278 1000 US
• +1 719 359 4580 US
• +1 253 205 0468 US
• +1 253 215 8782 US (Tacoma)
• +1 301 715 8592 US (Washington DC)
• +1 305 224 1968 US
• +1 309 205 3325 US
• +1 312 626 6799 US (Chicago)
• +1 346 248 7799 US (Houston)
• +1 360 209 5623 US
• +1 386 347 5053 US
• +1 507 473 4847 US
• +1 564 217 2000 US
• +1 646 558 8656 US (New York)
• +1 646 931 3860 US

Meeting ID: 840 1366 4220
Passcode: 808856

Find your local number: Zoom International Dial-in Numbers - Zoom

A couple mentions from the meeting …

Douglas Crockford @Google 2013

The example I showed in this presentation was caching, not memoization. Memoization only works with pure functions; functions that always return the same result given the same arguments.

A function that takes a file name and returns a hash of the file contents will return a different result if the contents of the file change. So it is not suitable for memoization.

If you can determine when a cached value is no longer valid, caching can be used in situations where memoization doesn’t work.

The code in my presentation would return a previously calculated value it the timestamp of the file was unchanged. If the timestamp had changed, the cached value was no longer valid and the hash would be recalculated.

1 Like