-
Friday Links 331
get-folder-size – npm Compute/Visualize Drive Space Consumption of Your Installed R Packages | rud.is Bucket-list trips you can take without spending a fortune – Business Insider octref/polacode Polaroid for your code Fundamental Pragmatics for Successful Programmers – CodeProject Twelve-Factor App methodology – Wikipedia How to escape async/await hell – freeCodeCamp The Twelve-Factor App 11 signs…
-
Bingo for meetings–hide results–part 8
The last requirement says EndMeeting: The score of how many cards/ what cards were checked will be available 1 hour and 5 minutes We have already done something similar when the meeting was considered obsolete – we decided to not throw error,but use Result< T,Error> . So I supposed to be easy …. However,it…
-
Bingo for meetings–obsolete–re-reading requirements- part 7
Last time we have to implement the requirement: Meeting Obsolete: The meeting is available for 35 minutes. After that,meeting is not available anymore. We did so for the 35 minutes. But we did not for the last sentence – meeting is not available anymore. There are 2 points here: of design ( do not retrieve…
-
Bingo for meetings–obsolete–part 6
The requirement says: Meeting Obsolete: The meeting is available for 35 minutes. After that,meeting is not available anymore. How we can implement this ? Several solutions: Make the meeting know about this ( and avoiding https://martinfowler.com/bliki/AnemicDomainModel.html ) Make a decorator class for this https://en.wikipedia.org/wiki/Decorator_pattern Make a mixin in TypeScript https://www.typescriptlang.org/docs/handbook/mixins.html I decide to KISS…
-
Bingo for meetings–working at score-part 5
The next requirement is saying ( https://github.com/alexandru360/PresentationBingoCards/projects/1#card-24165817 ) Checking cards: A total score will be displayed when checking / unchecking There are 2 things very clear: The name of the user story is not reflecting the content It should not be just the total score,but also should be the percentage of the bingo cards checked…
-
Friday Links 330
Using an IActionFilter to read action method parameter values in ASP.NET Core MVC 11 signs you’re writing great software code | InfoWorld Wifi4EU Free Wifi for Europeans Using an IActionFilter to read action method parameter values in ASP.NET Core MVC The SQL of Textonyms – Simple Talk Taking Pictures from HTML – Simple Talk 11…
-
Bingo for meetings– working at sharing meeting with others–part 4
Other use case for Bingo Meetings was Share meeting bingo(https://github.com/alexandru360/PresentationBingoCards/projects/1#card-24165765) Share Meeting Bingo: As a User,I can receive the meeting Id( url) . When going to this url,I can ( optionally) enter my name and check cards. So how to implement this ? A Meeting contains an array of Cards and a array of Participants.…
-
Bingo for meetings – part 3 – finalizing the “Create Meeting” scenario
In the “Create Meeting” scenario it was something that we have passed : ” application generates an unique Id that I can access the bingo cards ( state : not checked) for that meeting ” ( see https://github.com/alexandru360/PresentationBingoCards/projects/1#card-24165690 ) How we can emulate this ? Obviously,the meeting starts with a set of cards – but…
-
Bingo for meetings–part 2–working at tests
So now because we have created the objects and a function to create meetings,we do create some tests. We decided to work with JEST. Steps: We read many tutorials (https://medium.com/@mtiller/debugging-with-typescript-jest-ts-jest-and-visual-studio-code-ef9ca8644132,https://rjzaworski.com/2016/12/testing-typescript-with-jest,https://github.com/facebook/jest/tree/master/examples/typescript,https://amenallah.com/node-js-typescript-jest-starter/,https://basarat.gitbooks.io/typescript/docs/testing/jest.html,https://dev.to/muhajirdev/unit-testing-with-typescript-and-jest-2gln ) We solve many errors ( forgetting put “ export default class “,“ jest unexpected token import “,jest.config.json as opposed to jest.config.js Read jest expect…
-
New project: Bingo for meetings–part 1
I have decided to start a new project. The name is “Bingo for meetings”. What it does: Every time in a meeting that a participant hears a phrase (like “ Hi,can you hear me?” or “ can everyone see my screen?” or others …) he can check one of the cards. In the final you…
I am ok , you are ok