<commit_before>### Time Wasted

Spent 6 hours today trying to implement a JQuery timer. Yea, sounds easy; until I realized my PHP form constantly submitting and refreshing the page rendered the timer useless, since it was constantly being reset.

The idea was to give the users feedback as to how long they have to get votes in, with a dynamic timer counting down. But in order to do that, it needs to be in Javascript (client side). All my tallying and recording of votes, checks, and other feedback is in PHP (server side).

So I spent way too much time trying to rewrite all my code in Javascript, but it never really worked right. Plus, I realized, yet again, that the tallying and recording votes NEEDS to be on the server if I want it to work across multiple different IP's and have the same feedback.

Oh well. Ctrl Z. Ctrl Z. Ctrl Z...

<img src="img/failed_timer.png" height="300">

Note to self: Find a way to map the arrow keys to the submit buttons through PHP.

#### Robot arms!

Picked up some scrap metal, nuts, bolts, and some bendy-rubber thingies from Home Depot to try to build a drawing arm onto the Create. I decided to attach the arm to the back, so that the Create would be dragging the pen behind it, since the mounting holes were in the back. This also leaves the front bumper free to be bumped.

I tried several different combinations, and though it is holding the Sharpie farily steady, I'm not sure this will be the final implementation. One note, having a shorter arm, so that the pen is closer to the Create's body, helps a lot. The bendy-rubber thingies I found have been super helpful too, proving to be stronger than I thought, and holding the pen steady through directional changes.

<a href="img/arm1.JPG"><img src="img/arm1.JPG" height="300"></a>
<a href="img/arm2.JPG"><img src="img/arm2.JPG" height="300"></a>
<a href="img/arm3.JPG"><img src="img/arm3.JPG" height="300"></a>
<a href="img/arm4.JPG"><img src="img/arm4.JPG" height="300"></a>

[Back](4.md)<commit_msg>Update 5.md<commit_after>### Time Wasted

Spent 6 hours today trying to implement a JQuery timer. Yea, sounds easy; until I realized my PHP form constantly submitting and refreshing the page rendered the timer useless, since it was constantly being reset.

The idea was to give the users feedback as to how long they have to get votes in, with a dynamic timer counting down. But in order to do that, it needs to be in Javascript (client side). All my tallying and recording of votes, checks, and other feedback is in PHP (server side).

So I spent way too much time trying to rewrite all my code in Javascript, but it never really worked right. Plus, I realized, yet again, that the tallying and recording votes NEEDS to be on the server if I want it to work across multiple different IP's and have the same feedback.

Oh well. Ctrl Z. Ctrl Z. Ctrl Z...

<img src="img/failed_timer.png" height="300">

Note to self: Find a way to map the arrow keys to the submit buttons through PHP.

#### Robot arms!

Picked up some scrap metal, nuts, bolts, and some bendy-rubber thingies from Home Depot to try to build a drawing arm onto the Create. I decided to attach the arm to the back, so that the Create would be dragging the pen behind it, since the mounting holes were in the back. This also leaves the front bumper free to be bumped.

I tried several different combinations, and though it is holding the Sharpie farily steady, I'm not sure this will be the final implementation. One note, having a shorter arm, so that the pen is closer to the Create's body, helps a lot. The bendy-rubber thingies I found have been super helpful too, proving to be stronger than I thought, and holding the pen steady through directional changes.

<a href="img/arm1.JPG"><img src="img/arm1.JPG" height="300"></a>
<a href="img/arm2.JPG"><img src="img/arm2.JPG" height="300"></a>
<a href="img/arm3.JPG"><img src="img/arm3.JPG" height="300"></a>
<a href="img/arm4.JPG"><img src="img/arm4.JPG" height="300"></a>

[Back](4.md) | [Next](6.md)
{'fraction_non_alphanumeric': 0.08086588703657627, 'fraction_numerical': 0.012938541925852202, 'mean_word_length': 4.2894736842105265, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '305197', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1102, 'n_words': 643}