Libove Blog
menu
  • Home
  • Categories
  • Tags
  • Contact
  • Home
  • Categories
  • Tags
  • Contact

Weekly 2022-29

2022-07-25 :: h4kor
#weekly  #typescript 
  • 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
    • Using @swc/jest instead of jest-ts
      • https://github.com/kulshekhar/ts-jest/issues/1967#issuecomment-1014657022
    • Trying to force jest to do garbage collection:
      • https://stuart.com/blog/tech/guide-removing-frustration-jest-jenkins/
      • https://dev.to/pustovalov_p/reducing-jest-memory-usage-1ina
  • Burning Ship Fractal
Read other posts
← Weekly 2022-30 Schneller Veganer Gnocchi Brokkoli Auflauf →
h4kor :: Theme made by panr