-
Introduction to AI
overview of the problems tackled in AI main research areas and application fields
-
State space and related problem solving methods
state spaces and search methods
An avid coder and a free software enthusiast. |
Menu Blog | |
Services | |
Translations | |
Testimonials | |
Contact |
I am just noting down the things from my research here | |
Kademlia DHT | |
* Assumption is that the data to be shared in each system is available as a file. | |
In the case of PeARS this would be a CSV file produced by the orchard. | |
* In a classical DHT there will be a Uniform ID space for the files and for the | |
Machines and then we have a mapping between these. But in our case this is not | |
an option since we do not really know the ID space for the files itself during the searching step. |
#!/usr/lib/python | |
# -*- coding: utf-8 -*- | |
# | |
# This is a re-implementation of Python's timsort in Python | |
# itself. This is purely for learning purposes. :) | |
# References: [ | |
# https://en.wikipedia.org/wiki/Timsort, | |
# http://wiki.c2.com/?TimSort | |
# ] | |
# |
stripesize=128k | |
stripe_elements=10 | |
dataalign=1280k | |
function create_lv { | |
vgname=$1 | |
lvname=$2 | |
pvname=$3 | |
poolname=$4 | |
KB_PER_GB=1048576 | |
# STRIPESIZE is 128 * 10 |
autocmd BufWritePre * :%s/\s\+$//e | |
set wrap | |
set linebreak | |
" note trailing space at end of next line | |
set showbreak=>\ \ \ |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[violet]%}(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
#Customized git status, oh-my-zsh currently does not allow render dirty status before branch | |
git_custom_status() { | |
local cb=$(current_branch) | |
if [ -n "$cb" ]; then | |
echo "$(parse_git_dirty)%{$fg_bold[yellow]%}$(work_in_progress)%{$reset_color%}$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX" |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="gallois" | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" |
Routing issues | |
Summary page not loading | |
Spec failures(resque and a not so random spec failure from qanda) |