<commit_before>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Suppose I just hang the externals off the thread hash and each object
takes what it needs from the thread hash rather than it being passed
in explicitly. One effect of this is that I might be able to find
a way to put the externals onto the thread at the Rails startup code
and avoid having to mess about in the controller base class. This
will make my tests and my code more alike. I won't have code in the<commit_msg>notes update<commit_after>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Need to think about switching from AWS to Digital Ocean (DO). Much cheaper.
Issues... cant stop start a server. Would I need a second test-bed
server and would it have to be up all the time? How would I transfer
all the dojos from AWS to DO? Should I transfer?
How about doing the switch in two steps. First step is to get minimal
hub up (on digital ocean). Then xfer katas from AWS to DO. Then
switch non-hub to DO? Also backups? How do you do a backup on DO?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If I make a cyber-dojo user and switch to that not in Passenger
but in DockerTestRunner would anything break? If the sticky
bit is set on katas/ and exercises/ and languages/ then
are dirs/files creates underneath that owned by www-data
or by cyber-dojo?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Suppose I just hang the externals off the thread hash and each object
takes what it needs from the thread hash rather than it being passed
in explicitly. One effect of this is that I might be able to find
a way to put the externals onto the thread at the Rails startup code
and avoid having to mess about in the controller base class. This
will make my tests and my code more alike. I won't have code in the
{'fraction_non_alphanumeric': 0.09342748506246605, 'fraction_numerical': 0.0, 'mean_word_length': 2.1868512110726646, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6308777', 'n_tokens_mistral': 536, 'n_tokens_neox': 527, 'n_words': 298}