<commit_before>
//TODO add thought bubble about jack to dialogue
window.onload = function() {
	//http://stackoverflow.com/questions/8748426/scroll-background-image-untill-the-end-not-further
	$( window ).scroll( function(){
	  var ypos = $( window ).scrollTop(); //pixels the site is scrolled down
	  var visible = $( window ).height(); //visible pixels
	  const img_height = 1500; //replace with height of your image
	  var max_scroll = img_height - visible; //number of pixels of the image not visible at bottom
	//change position of background-image as long as there is something not visible at the bottom
	if ( max_scroll > ypos) {
		 $("body").css("background-position", "center -" + ypos + "px");
	  } else {
		$("body").css("background-position", "center -" + max_scroll + "px");
	  }
});
		newsposts();
}

function newsposts(){<commit_msg>newspost<commit_after>
//TODO add thought bubble about jack to dialogue
window.onload = function() {
	//http://stackoverflow.com/questions/8748426/scroll-background-image-untill-the-end-not-further
	$( window ).scroll( function(){
	  var ypos = $( window ).scrollTop(); //pixels the site is scrolled down
	  var visible = $( window ).height(); //visible pixels
	  const img_height = 1500; //replace with height of your image
	  var max_scroll = img_height - visible; //number of pixels of the image not visible at bottom
	//change position of background-image as long as there is something not visible at the bottom
	if ( max_scroll > ypos) {
		 $("body").css("background-position", "center -" + ypos + "px");
	  } else {
		$("body").css("background-position", "center -" + max_scroll + "px");
	  }
});
		newsposts();
}

function newsposts(){
	writeNewspost("4/17/17", "We are up to 60(!!) hairstyles, including all of the canon characters, even if I had to redraw hair for the ones that sucked. That's going to be all the hair for now - I'm going to move on to other items!")
{'fraction_non_alphanumeric': 0.13832553302132086, 'fraction_numerical': 0.015080603224128965, 'mean_word_length': 3.798004987531172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7030866', 'n_tokens_mistral': 612, 'n_tokens_neox': 565, 'n_words': 209}