Skip to content

Instantly share code, notes, and snippets.

View Zhomart's full-sized avatar
🏠
Working from home

Zhomart Mukhamejanov Zhomart

🏠
Working from home
View GitHub Profile
Please now follow the link back to [[Wikipedia:Articles for creation]].
{{afc mass}}
==[[Centereach Boys Track]]==
{{afc top}}
<!-- IMPORTANT! In the box above, put the name of your proposed article. Place [[ and ]] around it, [[like this]]. -->
<!-- Place the initial content of your article below this line. USE YOUR OWN WORDS; do not copy content from another website. -->
Centereach boys track is best known for there 158 dual meet winning streak beginning in 1972, under the leadership of Coach Burkley and Schneider. The team went 27 seasons undefeated. This streak ended in 1998, in a dual meet against Bay Shore High School. Due to many coach changes and declining numbers, the team since Coach Burkley's resignation had not been fairing well. But in the 2006 track season under the leadership of Coach Jason Strom, William Gilmartin, and Vincent Rucci the track team had made noticable improvment. Athlete numbers increased, and so did the skill of the athletes. Unfortunately it had also been decide that se
+----------------------------------------------------+--------------------+-------------------+---------+-------------------+--------------------+
| pair | raw | distance | count | first_second | norm |
+----------------------------------------------------+--------------------+-------------------+---------+-------------------+--------------------+
| ["yellow painting", "bad taste"] | 0.0 | 100.0 | 0 | 7 * 915 | 100.0 |
+----------------------------------------------------+--------------------+-------------------+---------+-------------------+--------------------+
| ["close", "reces"] | 0.0 | 100.0 | 0 | 264371 * 8 | 100.0 |
+----------------------------------------------------+--------------------+-------------------+---------+-------------------+---
@Zhomart
Zhomart / Gemfile
Created November 17, 2014 18:47
Example of gemfile
source 'http://rubygems.org'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.1.7'
# Webserver
gem 'puma'
@Zhomart
Zhomart / gist:60efa929253f941643b3
Created October 31, 2014 19:51
ransack "rspec" results
$ RAILS=4-1-stable DB=sqlite3 rake
/Users/user/.rvm/rubies/ruby-2.1.2/bin/ruby -S rspec ./spec/ransack/adapters/active_record/base_spec.rb ./spec/ransack/adapters/active_record/context_spec.rb ./spec/ransack/configuration_spec.rb ./spec/ransack/dependencies_spec.rb ./spec/ransack/helpers/form_builder_spec.rb ./spec/ransack/helpers/form_helper_spec.rb ./spec/ransack/nodes/condition_spec.rb ./spec/ransack/nodes/grouping_spec.rb ./spec/ransack/predicate_spec.rb ./spec/ransack/search_spec.rb ./spec/ransack/translate_spec.rb --backtrace
================================================================================
Running specs against SQLite, ActiveRecord 4.1.7 and ARel 5.0.1...
================================================================================
..........................
FIXME: Search not detecting the `terms_and_conditions` attribute in
base_spec.rb, line 178: SELECT "people".* FROM "people" ORDER BY "people"."id" DESC
....................................................

# distances

aliens, point -> 96.05
rice, point -> 89.25
rice, aliens -> 99.56
planet, point -> 85.14
planet, aliens -> 95.46
planet, rice -&gt; 97.71

Pairs with distances

bikini, drinking -> 99.77
coughed, drinking -> 99.98
coughed, bikini -> 100.0
had, drinking -> 80.09
had, bikini -> 97.32
had, coughed -> 99.84
mess, drinking -> 98.84
mess, bikini -> 99.8
# pairs with distances

fit, sight -> 95.41
woman, sight -> 90.75
woman, fit -> 89.92
beach, sight -> 94.16
beach, fit -> 95.25
beach, woman -> 87.62
was, sight -&gt; 63.17
# Mixin module
module Chaika
def est_nahyalyavu
puts "Yeah"
end
def shout!
puts "I am a chaika!!!"
end
@Zhomart
Zhomart / gist:6b09f0772fdc4a573491
Created July 6, 2014 19:50
Factor Analysis for Mechanical Turk - 4/21/2014 - originality_raw

Mechanical Turk - 4/21/2014 - originality_raw

loop_it: [83, 41, 9, 7, 100, 31, 47, 0, 90, 39, 96, 96, 37, 100, 10, 52, 7, 100, 100, 89, 90] ...
odd_it: [23, 20, 15, 50, 49, 34, 25, 27, 30, 38, 37, 44, 37, 34, 41, 57, 57, 49, 2, 17, 32] ...
pair_it: [4, 1, 0, 0, 1, 1, 8, 8, 1, 1, 0, 4, 15, 0, 0, 3, 8, 3, 14, 0, 1] ...
tie_it: [30, 31, 29, 24, 14, 32, 6, 14, 10, 25, 6, 31, 33, 29, 10, 43, 30, 6, 12, 20, 20] ...
map_it: [44, 21, 58, 32, 87, 61, 95, 99, 99, 82, 89, 82, 99, 72, 66, 98, 35, 100, 19, 54, 23] ...

Analysis 2014-07-06 12:48:17 -0700
@Zhomart
Zhomart / gist:c625dcd4624875ed1512
Last active August 29, 2015 14:03
PCA for Batch 1,2: inter metrics

Batch 1

Batch 1 - "MapIt: story". originality_raw, fluency_raw, divergency_raw

MapIt: story-originality_raw: [0, 0, 100, 83, 0, 0, 1, 28, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0] ...
MapIt: story-fluency_raw: [1, 3, 3, 4, 1, 2, 4, 3, 1, 3, 1, 3, 1, 2, 1, 1, 4, 2, 1, 2, 1] ...
MapIt: story-divergency_raw: [0, 3, 3, 3, 0, 2, 3, 3, 0, 2, 0, 3, 0, 2, 0, 0, 2, 2, 0, 2, 0] ...

Analysis 2014-07-06 12:34:24 -0700
= Statsample::Factor::ParallelAnalysis