Weekly 2022-29
- Podcast: Steve Keen: Marxism, Capitalism, and Economics | Lex Fridman Podcast #303
- Added a simple feedback form to Random Generator Tool . Have to change the presentation, as most people complain about the content of the table they are currently using.
- Added a feature to copy a random generator, as most people request more options in the tables they are using.
- Read the documentation of SeaweedFS. Hopefully I find some time to play with it a bit.
- Fix even small inconsistencies in your lower layers immedieatly. The cost of removing them grows exponentially over time and depth!
- Started a project to learn some Go: A simple (social) blogging application.
- Debugged a TypeScript test suite which fails because it runs out of memory:
- ts-jest has a memory leak. https://github.com/kulshekhar/ts-jest/issues/1967
- setting
isolatedModules: true
reduced the memory consumption, but didn't solve the problem. https://github.com/kulshekhar/ts-jest/issues/1967#issuecomment-1017510990 - Used
@typescript-eslint/no-floating-promises
to find promises which were not awaited. - Running Jest with
--logHeapUsage
showed that each test suite increased the heap size by ~50 MB- full command:
node --expose-gc ./node_modules/.bin/jest --runInBand --forceExit --logHeapUsage
- full command:
- Using
@swc/jest
instead ofjest-ts
- Trying to force jest to do garbage collection:
- Burning Ship Fractal