A xml
or html
Using the HTML parser, such as beautiful soup
or lxml
module, but use the following pattern as an option:
& Gt; & Gt; & Gt; S = "" "& lt; Xml version =" 1.0 "encoding =" ISO-8859-1 "? & Gt; ... & lt ;! DOCTYPE dblp system" dblp.dtd "& gt; ... & Lt; dblp & gt; .. & lt; article mdate = "2011-01-11" key = "journal / acta / saxena 9 6" & gt; ... & lt; author & gt; Sanjeev Saxena & lt; / Author & gt; ... & lt; title & gt; parallel integer sorting and simulation between CRCW model. & Lt; / title & gt; ... & lt; page & gt; 607-619 & lt; / Pages & gt; ... & lt; year & gt; 1996 & lt; / year & gt; ... & lt; volume & gt; 33 & lt; / volume & gt; ... & lt; Journal & Gt; Acta Info. & Lt; / Journal & gt; ... & lt; Number & gt; 7 & lt; / Numbers & gt; ... & lt; url & gt; D Ji / journals / Acta / Acta 33.html # Saxena 96 & lt; / url & gt; ... and & lt; ee & gt; http: //dx.doi.org/10.1007/BF03036466< / ee & gt; ... & lt; / article & gt; ... & lt; article mdate = "2011-01-11" key = "journals / acta / Simon 83" & gt; ... & lt; author & gt; Hans-Uchich Simon ... ... matches in trees and trees and nets. & Lt; / Heading & gt; ... & lt; Page & gt; 227-248 & lt; / Page & gt; ... & lt; Year & gt; 1983 & lt; / Year & gt; ... & lt; Quantity & gt; 20 & lt; / Volume> ... & lt; Journal & gt; Eta Info & Lt; / Journal & gt; ... & lt; Url & gt; DB / Journal / Acta / Acta 20.html # Simon 83 & lt; / Url & gt; ... & lt; Ee & gt; Http: //dx.doi.org/10.1007/BF01257084< / Ee & gt; ... & lt; / Article & gt; ">" Gt;> Import re>>> l = ['Authors', 'Page', 'Year', 'Quantity', 'Journal'] & gt; & gt; & gt; ; Pat = r '|'. (('& Lt; {} & gt; (. *) & Lt;}};} in format i (i, i) i))> gt; & gt; Gt; [I No. Saxena ',' 607-619 ',' 1996 ',' 33 ',' Acta Info ',' Hans-Alich Simon ',' 227-248 ',' 1983 ' '20', 'Acta Info']. </code> </pre> <p> And if you want to get the word from the input, you should follow the additional commands: </p> <pre> <code> Enter name = raw_input ('Separate with name'): Enter the name: ') l = names.split () </code> </pre> </div> </html> <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/parsing-xml-file-using-regex-in-python.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/parsing-xml-file-using-regex-in-python.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/parsing-xml-file-using-regex-in-python.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=6517536122117072873&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6517536122117072873&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6517536122117072873&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6517536122117072873&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6517536122117072873&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6517536122117072873&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='6053144728864609553' itemprop='postId'/>
<a name='6053144728864609553'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-post-data-to-api-using-json.html'>php - post data to api using json -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-6053144728864609553' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><html> <p> <div class = "post-text" itemprop = "text"> <p> The code I wrote to send data to an API using the POST method in JSON but answer me invalid Anybody can tell me what is wrong with the code </p> <pre> <code> $ post = array ("operatorCode" => "9", "scheduleCode" => "84W92XC8LOBAF3KZP4", " = "Gtc: mediawiki-xid =" gtc: mediawiki-xid = "gtc: mediawiki-xid =" 191,933 "" droppingPointCode "= & gt; = "Gtc: ("Seat number" = & gt; "40", "name" = & gt; "** ***", "age" =>, "20", " Ing "= & gt;" I ")); $ Data_string = json_encode ($ post); Echo $ data_string; $ Ch = url_init ('http: // API user name = *****?'); Curl_setopt ($ CH, CURLOPT_CUSTOMREQUEST, "POST"); Curl_setopt ($ ch, CURLOPT_POSTFIELDS, array ('data' = & gt; $ data_string)); Curl_setopt ($ CH, CURLOPT_RETURNTRANSFER, true); $ Result = curl_xac ($ CH); $ Result = json_decode ($ result); Var_dump ($ result); Echo '& lt; Pre & gt; '; Print_r ($ result); </code> </pre> <p> Response API </p> <pre> <code> stdClass Object ([code] = & gt; 0 [errorCode] = & gt; ER30 [errorDesc] = & gt; Invalid data [message] = & gt; failure) </code> </pre> <p> Sample URL: </p> <pre> <code> from http: // & lt; Server name & gt; /bookbustickets/rest/json/2.0/tempbooking? User name = **** and password = ****** </code> </pre> <p> Sample input data: </p> <pre> <code> data = {"operatorCode": "2586 "", "Schedule.code": "7Q52586C3YG8KJ350F2F5V264", "travelDa to": "2015-03-10", "fromStationCode": "76", "toStationCode": "75", "boardingPointCode": "284,936", "droppingPointCode" "0000", "email": "Test@gmailkcom", "mobile": "+ 9 876 543 210", "Traveler": [{ "seatNumber": "3", "No 9 I": "Test" "Age": 20, "Gender": "Male"}, {"seatNumber": "4", "Name": "Test", "Age": 20, "G Anderson": "Male"}}} < / code> </pre> </div> <p> <div class = "post-text" itemprop = "text"> <p> Well the problem is that the <code> "Traveler" </code> object Series of Try to change your code for </p> should be <pre> <code> $ passenger1 = new stud class (); $ Passenger 1- & gt; Seat number = "40"; $ Passenger 1- & gt; Name = "*****"; $ Passenger1- & gt; Age = "20"; $ Passenger 1- & gt; Gender = "male"; $ Passenger2 = new stud class (); $ Passenger 2- & gt; Seat number = "41"; $ Passenger2- & gt; Name = "*****"; $ Passenger2- & gt; Age = "21"; $ Passenger 2- & gt; Gender = "female"; $ Post = array ("operatorCode" = & gt; "9", "scheduleCode" => "84W92XC8LOBAF3KZP4", "travelDate" => "2015-03-20", "fromStationCode" => 84 "," toStationCode "= & gt;" 76 "," boardingPointCode "= & gt;" 191,933 "" droppingPointCode "= & gt;" 0000 "," email "= & gt;" ******* ** "," Mobile "= & gt;" ******* "," Traveler "=> Array ($ passenger 1, $ passenger 2)); </code> </pre> <p> This will result in the following </p> <pre> <code> {"operatorCode": "9", "scheduleCode": "84W92XC8LOBAF3KZP4", "travelDate": "2015 - 03-20 "," fromStationCode ":" 84 "," toStationCode ":" 76 "," boardingPointCode ":" 191,933 "" droppingPointCode ":" 0000 "," Email ":" ******* ** "," "Mobile": "*******", "traveler": [{"seat number": "40", "name": "*****", "age": "20" , "Gender": "male"}, {"seatNumber": "41", "name": "*****", "age": "21", "gender": "woman"}}} < / code> </pre> <p> In addition, I note that you are sure to use why you </p> <pre> <code> curl_setopt ($ ch, CURLOPT_CUSTOMREQUEST, "post"); </code> </pre> <p> is not </p> <pre> <code> curl_setopt ($ ch, CURLOPT_POST, true); </code> </pre> <p> Be a better choice? </p> </div> </html> <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/php-post-data-to-api-using-json.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/php-post-data-to-api-using-json.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/php-post-data-to-api-using-json.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=6053144728864609553&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6053144728864609553&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6053144728864609553&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6053144728864609553&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6053144728864609553&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=6053144728864609553&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='5255602911780031493' itemprop='postId'/>
<a name='5255602911780031493'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-curl-fails-to-correctly-send-headers.html'>php - curl fails to correctly send headers -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-5255602911780031493' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>php - curl fails to correctly send headers - <p> <p>my initial project of checking whether apple id exists or not, have proceeded doing in php navigating apppleid.apple.com/account/ , pretending register business relationship fields blank except business relationship field, , if got error meant business relationship existed, otherwise if got other errors not "account exists" error homecoming false. have encountered few problems on way. first need preserve headers/cookies on way (which did) still not work, , apparently answers "1". code can found here : pastebin. please follow link , seek solve problem, need done. give thanks much whoever got time read post.</p> <p>edit code:</p> <code><?php require("simplehtmldom_1_5/simple_html_dom.php"); $input = get_data('https://appleid.apple.com/account'); $html = new simple_html_dom(); $html->load($input); //echo $input; $table = array(); foreach($html->find('input') $inn) { $val = ""; seek { $val = $inn->getattribute('value'); } grab (exception $e) { $val = ""; } //echo $inn->getattribute('name') . $val . "\n"; if($inn->getattribute('name') != "" && $inn->getattribute('name') != "account.name") { $table[$inn->getattribute("name")] = $val; } if($inn->getattribute('name') == "account.name") { $table[$inn->getattribute("name")] = "naclo3samuel@gmail.com"; } } $nix = http_build_query($table); //set url, number of post vars, post info $ch = curl_init(); $hs = get_headers("https://appleid.apple.com/account", 0); $headers = $hs; curl_setopt($ch,curlopt_url, "https://appleid.apple.com/account/"); curl_setopt($ch,curlopt_post, count($nix)); curl_setopt($ch,curlopt_httpheader, $headers); curl_setopt($ch,curlopt_postfields, $nix); //execute post $result = curl_exec($ch); echo $result; //close connection curl_close($ch); /* gets info url */ function get_data($url) { $ch = curl_init(); $timeout = 5000; curl_setopt($ch, curlopt_url, $url); curl_setopt($ch, curlopt_returntransfer, 1); curl_setopt($ch, curlopt_connecttimeout, $timeout); $data = curl_exec($ch); curl_close($ch); homecoming $data; } ?> </code> <p> <p>one of problems right here: <code>get_headers("https://appleid.apple.com/account", 0);</code></p> <p>this homecoming like:</p> <code>[0] => http/1.1 200 ok [1] => date: sat, 29 may 2004 12:28:13 gmt [2] => server: apache/1.3.27 (unix) (red-hat/linux) [3] => last-modified: wed, 08 jan 2003 23:11:55 gmt [4] => etag: "3f80f-1b6-3e1cb03b" [5] => accept-ranges: bytes [6] => content-length: 438 [7] => connection: close [8] => content-type: text/html </code> <p>what curl supposed that? not in format acceptable <code>curlopt_httpheader</code> , neither headers server expect client request.</p> <p>i suppose trying stablish cookie session. recommend without utilize of <code>get_headers()</code> or putting finger in headers @ all.</p> <p>enable curl's cookie back upwards setting options <code>curlopt_cookiejar</code> , <code>curlopt_cookiefile</code>, create phone call <code>https://appleid.apple.com/account</code> initialize cookies, , rest.</p> <p>example:</p> <code>$cookies = tmpfile(); $curl = curl_init(); curl_setopt_array($curl, [ curlopt_url => "https://appleid.apple.com/account/", curlopt_cookiejar => $cookies, curlopt_cookiefile => $cookies, curlopt_returntransfer => true, curlopt_header => true ]); curl_exec(); curl_setopt_array($curl, [ curlopt_post => true, curlopt_postfields => $nix ]); $result = curl_exec($ch); $hsize = curl_getinfo($curl, curlinfo_header_size); $headers = explode("\r\n", substr($result, 0, $hsize)); $result = substr($result, $hsize); </code> <p> php curl <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/php-curl-fails-to-correctly-send-headers.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/php-curl-fails-to-correctly-send-headers.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/php-curl-fails-to-correctly-send-headers.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=5255602911780031493&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=5255602911780031493&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=5255602911780031493&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=5255602911780031493&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=5255602911780031493&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=5255602911780031493&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='3577784351928231983' itemprop='postId'/>
<a name='3577784351928231983'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/language-design-astonishment-in-python.html'>language design - "Least Astonishment" in Python: The Mutable Default
Argument -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-3577784351928231983' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>language design - "Least Astonishment" in Python: The Mutable Default Argument - <p> <p>anyone tinkering python long plenty has been bitten (or torn pieces) next issue:</p> <code>def foo(a=[]): a.append(5) homecoming </code> <p>python novices expect function homecoming list 1 element: <code>[5]</code>. result instead different, , astonishing (for novice):</p> <code>>>> foo() [5] >>> foo() [5, 5] >>> foo() [5, 5, 5] >>> foo() [5, 5, 5, 5] >>> foo() </code> <p>a manager of mine 1 time had first encounter feature, , called "a dramatic design flaw" of language. replied behavior had underlying explanation, , indeed puzzling , unexpected if don't understand internals. however, not able reply (to myself) next question: reason binding default argument @ function definition, , not @ function execution? uncertainty experienced behavior has practical utilize (who used static variables in c, without breeding bugs?)</p> <p>edit: </p> <p>baczek made interesting example. of comments , utaal's in particular, elaborated further:</p> <code>>>> def a(): ... print "a executed" ... homecoming [] ... >>> >>> def b(x=a()): ... x.append(5) ... print x ... executed >>> b() [5] >>> b() [5, 5] </code> <p>to me, seems design decision relative set scope of parameters: within function or "together" it?</p> <p>doing binding within function mean <code>x</code> bound specified default when function called, not defined, nowadays deep flaw: <code>def</code> line "hybrid" in sense part of binding (of function object) happen @ definition, , part (assignment of default parameters) @ function invocation time.</p> <p>the actual behavior more consistent: of line gets evaluated when line executed, meaning @ function definition.</p> <p> <p>actually, not design flaw, , not because of internals, or performance. comes fact functions in python first-class objects, , not piece of code.</p> <p>as think way, makes sense: function object beingness evaluated on definition; default parameters kind of "member data" , hence state may alter 1 phone call other - in other object.</p> <p>in case, effbot has nice explanation of reasons behavior in default parameter values in python. found clear, , suggest reading improve knowledge of how function objects work.</p> <p> python language-design least-astonishment <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/language-design-astonishment-in-python.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/language-design-astonishment-in-python.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/language-design-astonishment-in-python.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=3577784351928231983&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=3577784351928231983&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=3577784351928231983&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=3577784351928231983&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=3577784351928231983&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=3577784351928231983&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='1207515093411874045' itemprop='postId'/>
<a name='1207515093411874045'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/font-awesome-new-icons-42-do-not-display.html'>font awesome - New icons (4.2) do not display -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-1207515093411874045' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>font awesome - New icons (4.2) do not display - <p> <p>i've tried using several of icons , @ first noticed while displayed others did not, despite thing different icon name. tried lots of icons , noticed icons listed released since 4.2 dont appear. older ones show no problem. </p> <p>any thought whats going on?!</p> <p> <p>this happened me when using font awesome 4.2. using codekit compile number of less source files single stylesheet. reason, 4.2 icons weren't showing up. strange.</p> <p>then realized browser pulling in older re-create of fontawesome had installed locally on system. changing <code>@import</code> statement pull in minified css worked. hmmm...</p> <p>turned out needed tell codekit generate relative urls, otherwise web fonts had wrong path causing them not load. here's how can alter setting in codekit:</p> <p><code>[select project] > settings > languages > less > [x] generate relative urls</code></p> <p>i'm not sure if you're using codekit well, suspect you're trying compile source in way , running similar problem.</p> <p> icons font-awesome <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/font-awesome-new-icons-42-do-not-display.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/font-awesome-new-icons-42-do-not-display.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/font-awesome-new-icons-42-do-not-display.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=1207515093411874045&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1207515093411874045&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1207515093411874045&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1207515093411874045&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1207515093411874045&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1207515093411874045&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='565053561404591873' itemprop='postId'/>
<a name='565053561404591873'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-keep-getting-valueerror-when.html'>python - Keep getting ValueError when running while loop -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-565053561404591873' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>python - Keep getting ValueError when running while loop - <p> <p>my code gives me error "valueerror: need more 1 value unpack" when running infinite while loop getting questions untill user types no break out of it. clue 1 more value refering ?</p> <code>from random import shuffle questions = [ ("which organization develops 802 family of standards wired , wireless lans , mans?", "ieee"), ("what type of delivery uses info link layer addresses?", "local delivery"), ("what organization developed osi reference model used in networking?", "iso"), ("which message delivery alternative used when devices need receive same message simultaneously?", "broadcast"), ("which type of network design combines voice, video, , info on same communication channel?", "converged"), ("during routine inspection, technician discovered software installed on computer secretly collecting info websites visited users of computer. type of threat affecting computer?", "spyware"), ("which device acts gateway allow hosts send traffic remote ip networks?", "local router"), ("what network administrator utilize modify configuration on cisco router?", "ios"), ("to save time, ios commands may partially entered , completed typing key or key combination?", "tab"), ("an administrator measured transfer of usable info across 100 mb/s physical channel on given period of time , obtained 60 mb/s. kind of measurement did administrator obtain?", "goodput"), ] shuffle (questions) numright = 0 numquest = 0 wrong = [] print ("welcome computer networking quiz, based on cisco material.") while true: questions, rightanswer in questions: reply = input(questions + " ") if answer.lower() == rightanswer: print("congratulations, right answer!") numright += 1 numquest += 1 answer2 = input("would continue? type yes or no: ") if answer2.lower() == "no": break else: print("that wrong reply friend!") numquest += 1 answer2 = input("would continue? type yes or no: ") if answer2.lower() == "no": break = numright b = numquest def stats(a,b): homecoming a/b*100 if stats(a,b) >= 60.0: print("you got", stats(a,b), "percent right. pass!") else: print("you got", stats(a,b), "percent right. fail!") </code> <p> <p>your problem simple: "break" phone call within loop "breaking" loop on for, not on while. in order solve it, need maintain variable "break_while", initialized false , utilize status while. when user answers "no" set variable true , while stop:</p> <code> while (not break_while): *** if answer2.lower() == "no": break_while = true break </code> <p>edit: taking closer @ code, must carefull usage of 2 different variables same name, namely "questions" </p> <code>for questions, rightanswer in questions: *** </code> <p>you getting error because after usage of break, while still active , sentence beingness called again, value of variable "questions" changed particular question, not tuple , valueerror beingness raised. alter name of first "questions" "question" in order avoid such conflict.</p> <p> python python-3.x <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/python-keep-getting-valueerror-when.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/python-keep-getting-valueerror-when.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/python-keep-getting-valueerror-when.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=565053561404591873&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=565053561404591873&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=565053561404591873&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=565053561404591873&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=565053561404591873&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=565053561404591873&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='9112833087010273190' itemprop='postId'/>
<a name='9112833087010273190'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/css-interpolation-in-import-path-with.html'>css - Interpolation in @import path with Stylus -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-9112833087010273190' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>css - Interpolation in @import path with Stylus - <p> <p>although i've read variables , interpolation parts of stylus docs can't seem work.</p> <code>dirs = { vendor: '../../../public/vendor/' } @import '{dirs.vendor + "normalize-css/normalize.css"}' </code> <p>gives:</p> <code>failed locate @import file {dirs.vendor + "normalize-css/normalize.css"} </code> <p>is possible in stylus? if so, doing wrong?</p> <p> <p>yep, possible. stylus doesn't have string interpolation should utilize concatenation:</p> <code>dirs = { vendor: '../../../public/vendor/' } @import dirs.vendor + "normalize-css/normalize.css" </code> <p> css stylus <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/css-interpolation-in-import-path-with.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/css-interpolation-in-import-path-with.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/css-interpolation-in-import-path-with.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=9112833087010273190&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=9112833087010273190&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=9112833087010273190&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=9112833087010273190&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=9112833087010273190&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=9112833087010273190&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='4961356278764331256' itemprop='postId'/>
<a name='4961356278764331256'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-insert-8-million-rows-file-inside.html'>java - Insert 8 million rows file inside a mysql db -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-4961356278764331256' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>java - Insert 8 million rows file inside a mysql db - <p> <p>i have file containing search engine query log having next columns: id, timestamp, session, user, document, query, activity.</p> <p>a query can nowadays several times within file, created 2 tables in mysql db:</p> <p>query:</p> <code>+------------------+--------------+------+-----+---------+----------------+ | field | type | null | key | default | | +------------------+--------------+------+-----+---------+----------------+ | id | int(11) | no | pri | null | auto_increment | | query | varchar(256) | yes | | null | | | interaction_freq | int(11) | yes | | null | | +------------------+--------------+------+-----+---------+----------------+ </code> <p>interaction:</p> <code>+----------------+--------------+------+-----+---------+----------------+ | field | type | null | key | default | | +----------------+--------------+------+-----+---------+----------------+ | id | int(11) | no | pri | null | auto_increment | | interaction_id | int(11) | yes | | null | | | info | timestamp | yes | | null | | | session | varchar(256) | yes | | null | | | user | int(11) | yes | | null | | | document | int(11) | yes | | null | | | query_id | int(11) | no | mul | null | | | activity | int(11) | yes | | null | | +----------------+--------------+------+-----+---------+----------------+ </code> <p>the first table saves each single query , in sec 1 have info each row having particular query, referenced query_id. in first table interaction_freq (number of rows in interaction table having query) saved well.</p> <p>my file contains on 8 millions rows , 1.5 1000000 of unique queries expect, @ end, first table have 1.5 1000000 rows , 8 1000000 rows sec one.</p> <p>the problem insertion phase slow. process inserts first 150.000 unique queries after struggles processing others. i'm using cluster consisting of 8 8-core intel xeon nodes (32gb ram) , 18-ish avante quad core xeon 2.4/2.66ghz (8gb ram).</p> <p>at origin first table had "query" field unique thought problem. removed unique constraints checking uniqueness within java programme inserting rows. didn't solve problem. tried maintain process running on 48 hours , didn't reach 200.000 rows in first table.</p> <p>i guess there problem can't figure out...</p> <p>i'm planning utilize xml files possible workaround having info within mysql db can come in handy...</p> <p><p> java mysql database <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/java-insert-8-million-rows-file-inside.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/java-insert-8-million-rows-file-inside.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/java-insert-8-million-rows-file-inside.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=4961356278764331256&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=4961356278764331256&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=4961356278764331256&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=4961356278764331256&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=4961356278764331256&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=4961356278764331256&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='1363316980160063860' itemprop='blogId'/>
<meta content='1648287481261315730' itemprop='postId'/>
<a name='1648287481261315730'></a>
<h3 class='post-title entry-title' itemprop='name'>
<a href='https://my-blog-latika-suman.blogspot.com/2012/09/passing-php-variable-directly-to.html'>Passing PHP variable directly to Javascript, bypassing AJAX, how? -</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-1648287481261315730' itemprop='description articleBody'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 1 */
google_ad_slot = "7133659506";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* link unit medium */
google_ad_slot = "9503418308";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br /><br /><p>Passing PHP variable directly to Javascript, bypassing AJAX, how? - <p> <p>i have next javascript verifies , passes 'artwork' file php script on server, has redundant verification of own (one can never safe) , writes file /uploads.</p> <p>i need dump <code>$basename</code> php variable in final state javascript write hidden input (<code>id="artwork_filename"</code>).</p> <p>i can echo $basename 'success' handler, feels inelegant have capture <code>$basename</code> , strip out of result - want elegant solution, preferably passing <code>$basename</code> straight variable on javascript.</p> <p>javascript:</p> <p> class="snippet-code-js lang-js prettyprint-override"><code> <script> function _(el) { homecoming document.getelementbyid(el); } function uploadfile() { var file = _("file").files[0]; if (file == null) { _("status").innerhtml = "<span style=" + '"color: black;">' + "please select file before clicking upload</span>"; } //alert(file.name+" | "+file.size+" | "+file.type); if (file.type==="application/zip" || file.type==="application/x-zip" || file.type==="application/x-zip-compressed") { if (file.size < 52428800) { var formdata = new formdata(); formdata.append("file", file); var ajax = new xmlhttprequest(); ajax.upload.addeventlistener("progress", progresshandler, false); ajax.addeventlistener("load", completehandler, false); ajax.addeventlistener("abort", aborthandler, false); ajax.open("post", "upload_artwork.php"); ajax.send(formdata); } else { //alert("file big! max upload size 50mb. upload bigger file, please contact instructions"); _("status").innerhtml = "<span style=" + '"color: red;">' + "file big! max upload size 50mb</span>"; exit(); } } else { _("status").innerhtml = "<span style=" + '"color: red;">' + "upload stopped! did 'zip' file?</span>"; exit(); } } function progresshandler(event) { //_("loaded_n_total").innerhtml = "uploaded: "+event.loaded+" bytes of "+event.total; var percent = (event.loaded / event.total) * 100; _("progress_bar").value = math.round(percent); _("status").innerhtml = math.round(percent)+"% uploaded... please wait"; } function completehandler(event) { _("status").innerhtml = event.target.responsetext; _("progress_bar").value = 0; } function errorhandler(event) { _("status").innerhtml = "<span style=" + '"color: red;">' + "upload failed! notify site administrator</span>"; } function aborthandler(event) { _("status").innerhtml = "<span style=" + '"color: red;">' + "upload aborted! please seek again</span>"; } </script></code> class="snippet-code-html lang-html prettyprint-override"><code><input id="artwork_filename" type="hidden" name="custom" value="" /></code> </p> <p>php:</p> class="lang-php prettyprint-override"><code><?php $allowedexts = array("zip", "rar"/*, "ai", "eps", "psd", "bmp", "jpg", "png", "tiff"*/); if (@$_files['file'] == null) { echo "<span style=" . '"color: red;">' . "please take file before clicking upload</span>"; exit(); } else { $filename = $_files["file"]["name"]; $filetmploc = $_files["file"]["tmp_name"]; $filetype = $_files["file"]["type"]; $filesize = $_files["file"]["size"]; $fileerrormsg = $_files["file"]["error"]; $temp = explode(".", $_files["file"]["name"]); $name = pathinfo($_files["file"]["name"], pathinfo_filename); $extension = pathinfo($_files['file']['name'], pathinfo_extension); $i = ''; } //check max file size breach //or not: stop on js side prevent long file upload //and alerting user file big! //(also prevents sidestepping ugly php error kickout if file big. if ((($_files["file"]["type"] == "application/zip") || ($_files["file"]["type"] == "application/x-zip") || ($_files["file"]["type"] == "application/x-zip-compressed") //|| ($_files["file"]["type"] == "application/x-rar-compressed") /*|| ($_files["file"]["type"] == "application/postscript") || ($_files["file"]["type"] == "image/vnd.adobe.photoshop") || ($_files["file"]["type"] == "image/bmp") || ($_files["file"]["type"] == "image/jpg") || ($_files["file"]["type"] == "image/png") || ($_files["file"]["type"] == "image/tiff")*/) && ($_files["file"]["size"] < 52428800) && in_array($extension, $allowedexts)) { if ($_files["file"]["error"] > 0) { echo "upload error! please notify site administrator"; } else { if (file_exists("upload/" . $name . $i . '.' . $extension)) { while(file_exists("upload/" . $name . $i . '.' . $extension)) { $i++; } $basename = $name . $i . '.' . $extension; if(move_uploaded_file($_files["file"]["tmp_name"], "upload/" . $basename)) { echo "<span style=" . '"color: green;">' . "artwork uploaded</span>"; } else { echo "<span style=" . '"color: red;">' . "upload error! please contact site administrator , study issue</span>"; } } else { if(move_uploaded_file($filetmploc, "upload/$filename")) { echo "<span style=" . '"color: green;">' . "artwork uploaded</span>"; } else { echo "<span style=" . '"color: red;">' . "upload error! please contact site administrator , study issue</span>"; } } } } else { error_reporting(e_error ^ e_parse); echo "<span style=" . '"color: red;">' . "upload stopped! did 'zip' file?</span>"; } ?> </code> <p> <p>in opinion, utilize ajax, , seperate concerns better. allow php handle updload , homecoming info on has happened. allow javasctipt perform ajax request , update dom appropriate when request complete, using info returned. allow css handle styling. want have alter javascript , php if want alter styling of message container?</p> <p>my php little rusty , utilize jquery ajax next may need "massaging" right should on way.</p> <p>php</p> <code><?php $allowedexts = array("zip", "rar"); if (@$_files['file'] == null) { $dataout["success"] = false; $dataout["message"] = 'please take file before clicking upload'; $dataout["basename"] = ''; exit(); } else { $filename = $_files["file"]["name"]; $filetmploc = $_files["file"]["tmp_name"]; $filetype = $_files["file"]["type"]; $filesize = $_files["file"]["size"]; $fileerrormsg = $_files["file"]["error"]; $temp = explode(".", $_files["file"]["name"]); $name = pathinfo($_files["file"]["name"], pathinfo_filename); $extension = pathinfo($_files['file']['name'], pathinfo_extension); $i = ''; $dataout["success"] = false; $dataout["message"] = ''; $dataout["basename"] = ''; } //check fucking max file size breach //or not: stop on js side prevent long file upload //and alerting user file big! //(also prevents sidestepping ugly php error kickout if file big. if ((($_files["file"]["type"] == "application/zip") || ($_files["file"]["type"] == "application/x-zip") || ($_files["file"]["type"] == "application/x-zip-compressed") ) && ($_files["file"]["size"] < 52428800) && in_array($extension, $allowedexts)) { if ($_files["file"]["error"] > 0) { echo "upload error! please notify site administrator"; } else { if (file_exists("upload/" . $name . $i . '.' . $extension)) { while(file_exists("upload/" . $name . $i . '.' . $extension)) { $i++; } $basename = $name . $i . '.' . $extension; $dataout["basename"] = $basename; if(move_uploaded_file($_files["file"]["tmp_name"], "upload/" . $basename)) { $dataout["success"] = true; $dataout["message"] = "artwork uploaded"; } else { $dataout["success"] = false; $dataout["message"] = "upload error! please contact site administrator , study issue"; } } else { if(move_uploaded_file($filetmploc, "upload/$filename")) { $dataout["success"] = true; $dataout["message"] = "artwork uploaded"; } else { $dataout["success"] = false; $dataout["message"] = "upload error! please contact site administrator , study issue"; } } } } else { error_reporting(e_error ^ e_parse); $dataout["success"] = false; $dataout["message"] = "upload stopped! did 'zip' file?"; } echo json_encode($dataout); ?> </code> <p> class="snippet-code-js lang-js prettyprint-override"><code><script> function _(el) { homecoming document.getelementbyid(el); } function setstats(status, message){ if(status === null){ _("status").classname = "info"; }else if(status){ _("status").classname = "success"; }else{ _("status").classname = "error"; } _("status").innerhtml = message; } function uploadfile() { var file = _("file").files[0]; if (file == null) { setstatus(null, "please select file before clicking upload"); } //alert(file.name+" | "+file.size+" | "+file.type); if (file.type==="application/zip" || file.type==="application/x-zip" || file.type==="application/x-zip-compressed") { if (file.size < 52428800) { var formdata = new formdata(); formdata.append("file", file); var ajax = new xmlhttprequest(); ajax.responsetype = "json"; ajax.upload.addeventlistener("progress", progresshandler, false); ajax.addeventlistener("load", completehandler, false); ajax.addeventlistener("abort", aborthandler, false); ajax.open("post", "upload_artwork.php"); ajax.send(formdata); } else { //alert("file big! max upload size 50mb. upload bigger file, please contact instructions"); setstatus(false,"file big! max upload size 50mb"); exit(); } } else { setstatus(false, "upload stopped! did 'zip' file?"); exit(); } } function progresshandler(event) { //_("loaded_n_total").innerhtml = "uploaded: "+event.loaded+" bytes of "+event.total; var percent = (event.loaded / event.total) * 100; _("progress_bar").value = math.round(percent); _("status").innerhtml = math.round(percent)+"% uploaded... please wait"; } function completehandler(event) { var jdata = json.parse(event.target.responsetext); document.getelementbyid("artwork_filename").value = jdata["basename"]; setstatus(jdata["success"], jdata["message"] ); _("progress_bar").value = 0; } function errorhandler(event) { setstatus(false,"upload failed! notify site administrator"); } function aborthandler(event) { setstatus(flase,"upload aborted! please seek again"); } </script></code> class="snippet-code-css lang-css prettyprint-override"><code>.info {color:#000;} .error {color:#f00;} .success {color:#0f0;}</code> class="snippet-code-html lang-html prettyprint-override"><code><input id="artwork_filename" type="hidden" name="custom" value="" /></code> </p> <p>there other improvements make, should starting point.</p> <p> javascript php ajax variables <br />
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Posted by
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta content='https://www.blogger.com/profile/05006124498600715544' itemprop='url'/>
<a class='g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' title='author profile'>
<span itemprop='name'>Unknown</span>
</a>
</span>
</span>
<span class='post-timestamp'>
at
<meta content='http://my-blog-latika-suman.blogspot.com/2012/09/passing-php-variable-directly-to.html' itemprop='url'/>
<a class='timestamp-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/passing-php-variable-directly-to.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2012-09-15T03:22:00-07:00'>03:22</abbr></a>
</span>
<span class='post-comment-link'>
<a class='comment-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/passing-php-variable-directly-to.html#comment-form' onclick=''>
No comments:
</a>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-673966112'>
<a href='https://www.blogger.com/post-edit.g?blogID=1363316980160063860&postID=1648287481261315730&from=pencil' title='Edit Post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1648287481261315730&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1648287481261315730&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1648287481261315730&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1648287481261315730&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1363316980160063860&postID=1648287481261315730&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
</div>
</div></div>
<!--Can't find substitution for tag [adEnd]-->
</div>
<div class='blog-pager' id='blog-pager'>
<span id='blog-pager-newer-link'>
<a class='blog-pager-newer-link' href='https://my-blog-latika-suman.blogspot.com/search?updated-max=2013-01-15T02:22:00-08:00&max-results=7&reverse-paginate=true' id='Blog1_blog-pager-newer-link' title='Newer Posts'>Newer Posts</a>
</span>
<span id='blog-pager-older-link'>
<a class='blog-pager-older-link' href='https://my-blog-latika-suman.blogspot.com/search?updated-max=2012-09-15T03:22:00-07:00&max-results=7' id='Blog1_blog-pager-older-link' title='Older Posts'>Older Posts</a>
</span>
<a class='home-link' href='https://my-blog-latika-suman.blogspot.com/'>Home</a>
</div>
<div class='clear'></div>
<div class='blog-feeds'>
<div class='feed-links'>
Subscribe to:
<a class='feed-link' href='https://my-blog-latika-suman.blogspot.com/feeds/posts/default' target='_blank' type='application/atom+xml'>Posts (Atom)</a>
</div>
</div>
</div></div>
</div>
</div>
<div class='column-left-outer'>
<div class='column-left-inner'>
<aside>
</aside>
</div>
</div>
<div class='column-right-outer'>
<div class='column-right-inner'>
<aside>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* vertical */
google_ad_slot = "9922220705";
google_ad_width = 180;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 2 */
google_ad_slot = "1087125905";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script>
(function() {
var cx = '013012970007219310250:7h0fuxsxaza';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
<div class='sidebar section' id='sidebar-right-1'><div class='widget Profile' data-version='1' id='Profile1'>
<h2>About Me</h2>
<div class='widget-content'>
<dl class='profile-datablock'>
<dt class='profile-data'>
<a class='profile-name-link g-profile' href='https://www.blogger.com/profile/05006124498600715544' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'>
Unknown
</a>
</dt>
</dl>
<a class='profile-link' href='https://www.blogger.com/profile/05006124498600715544' rel='author'>View my complete profile</a>
<div class='clear'></div>
</div>
</div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'>
<h2>Blog Archive</h2>
<div class='widget-content'>
<div id='ArchiveList'>
<div id='BlogArchive1_ArchiveList'>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/'>
2015
</a>
<span class='post-count' dir='ltr'>(1691)</span>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/09/'>
September
</a>
<span class='post-count' dir='ltr'>(185)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/08/'>
August
</a>
<span class='post-count' dir='ltr'>(196)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/07/'>
July
</a>
<span class='post-count' dir='ltr'>(196)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/06/'>
June
</a>
<span class='post-count' dir='ltr'>(172)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/05/'>
May
</a>
<span class='post-count' dir='ltr'>(190)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/04/'>
April
</a>
<span class='post-count' dir='ltr'>(212)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/03/'>
March
</a>
<span class='post-count' dir='ltr'>(179)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/02/'>
February
</a>
<span class='post-count' dir='ltr'>(169)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2015/01/'>
January
</a>
<span class='post-count' dir='ltr'>(192)</span>
</li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/'>
2014
</a>
<span class='post-count' dir='ltr'>(1709)</span>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/09/'>
September
</a>
<span class='post-count' dir='ltr'>(196)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/08/'>
August
</a>
<span class='post-count' dir='ltr'>(183)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/07/'>
July
</a>
<span class='post-count' dir='ltr'>(185)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/06/'>
June
</a>
<span class='post-count' dir='ltr'>(190)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/05/'>
May
</a>
<span class='post-count' dir='ltr'>(196)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/04/'>
April
</a>
<span class='post-count' dir='ltr'>(207)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/03/'>
March
</a>
<span class='post-count' dir='ltr'>(207)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/02/'>
February
</a>
<span class='post-count' dir='ltr'>(170)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2014/01/'>
January
</a>
<span class='post-count' dir='ltr'>(175)</span>
</li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/'>
2013
</a>
<span class='post-count' dir='ltr'>(1661)</span>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/09/'>
September
</a>
<span class='post-count' dir='ltr'>(198)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/08/'>
August
</a>
<span class='post-count' dir='ltr'>(166)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/07/'>
July
</a>
<span class='post-count' dir='ltr'>(190)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/06/'>
June
</a>
<span class='post-count' dir='ltr'>(162)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/05/'>
May
</a>
<span class='post-count' dir='ltr'>(192)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/04/'>
April
</a>
<span class='post-count' dir='ltr'>(183)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/03/'>
March
</a>
<span class='post-count' dir='ltr'>(212)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/02/'>
February
</a>
<span class='post-count' dir='ltr'>(185)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2013/01/'>
January
</a>
<span class='post-count' dir='ltr'>(173)</span>
</li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate expanded'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy toggle-open'>
▼
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/'>
2012
</a>
<span class='post-count' dir='ltr'>(1651)</span>
<ul class='hierarchy'>
<li class='archivedate expanded'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy toggle-open'>
▼
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/09/'>
September
</a>
<span class='post-count' dir='ltr'>(166)</span>
<ul class='posts'>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/html-table-vertical-numbering-using-php.html'>html - Table - vertical numbering using PHP for cy...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/jquery-prevent-click-event-to-fire-when.html'>jquery - Prevent click event to fire when clicked ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-why-am-i-not-getting-dates-i-have.html'>php - Why am I not getting the dates I have chosen? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/error-reading-value-of-google-sheets.html'>Error reading value of Google sheets cell using py...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-how-do-i-submit-user.html'>javascript - How do I submit user-inputted data an...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/math-reducing-equations-using-r.html'>math - Reducing equations using R -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-solved-not-getting-response.html'>javascript - SOLVED - Not getting a response on MD...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/android-my-app-won-be-shown-in-google.html'>android - My App won't be shown in the Google Anal...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-globals-vs-locals-mutability.html'>python - globals() vs locals() mutability -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/algorithmic-trading-mt4-export-script.html'>algorithmic trading - MT4 export script -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-access-qlist-from-qml.html'>c++ - Access QList<T> from qml -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/jquery-cells-function-on-handsontable.html'>jquery - cells function on handsontable -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/ruby-on-rails-rspec-factory-girl-no.html'>ruby on rails - Rspec & Factory Girl: No route mat...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/string-python-challenge-level-17-in.html'>string - Python Challenge level 17 in Python 3 -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/ios7-xcode-61-autolayout-size-classes.html'>ios7 - XCode 6.1, Autolayout & Size Classes- issue...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/ios-why-does-selector-exist-in-swift.html'>ios - Why does Selector exist in swift -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-how-should-i-set-this-bitmap-in.html'>java - How should I set this Bitmap in ListView? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/xml-vba-dom-find-specific-nodes-with.html'>xml - VBA DOM Find Specific Nodes With Attributes -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-anonymous-object-and-garbage.html'>Java Anonymous object and Garbage collection part ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-signal-when-item-is-added-or.html'>python - Signal when an item is added or removed t...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/creating-namespace-dictionary-from-pyxb.html'>Creating a namespace dictionary from pyxb binding? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/multiple-layouts-on-rails-4.html'>Multiple layouts on rails 4 -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/interact-with-very-large-tiff-or-rset.html'>Interact with very large Tiff (or rset) images in ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-angularjs-parse-error-after-upgrade.html'>php - Angularjs parse error after upgrade to v1.3.6 -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/maxfilesize-in-blueimp-file-upload.html'>maxFileSize in blueimp file upload plugin? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/angularjs-use-filter-in-angular.html'>angularjs - use filter in angular directive to cha...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-unable-to-load-requested-class.html'>php - Unable to load the requested class: Session ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/git-how-deep-does-one-split-up-big.html'>git - How deep does one split up a big project in ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/linux-blocking-threads-in-python.html'>linux - Blocking threads in Python -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-how-to-detemine-if-line-segment-is.html'>c++ - how to detemine if a line segment is inside ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/how-does-php-mail-function-handles.html'>How does php's mail() function handles sending ema...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/html-how-to-select-only-element-inside.html'>html - How to select only element inside the div t...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-marking-non-flat-containers-with.html'>java - Marking non-flat containers with responseCo...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/how-to-change-libx264-profile-when.html'>How to change libx264 profile when using ffmpeg ba...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/parsing-xml-file-using-regex-in-python.html'>Parsing an xml file using Regex in python -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-post-data-to-api-using-json.html'>php - post data to api using json -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-curl-fails-to-correctly-send-headers.html'>php - curl fails to correctly send headers -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/language-design-astonishment-in-python.html'>language design - "Least Astonishment" in Python: ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/font-awesome-new-icons-42-do-not-display.html'>font awesome - New icons (4.2) do not display -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-keep-getting-valueerror-when.html'>python - Keep getting ValueError when running whil...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/css-interpolation-in-import-path-with.html'>css - Interpolation in @import path with Stylus -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-insert-8-million-rows-file-inside.html'>java - Insert 8 million rows file inside a mysql db -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/passing-php-variable-directly-to.html'>Passing PHP variable directly to Javascript, bypas...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/geolocation-how-to-add-app-to-suggested.html'>geolocation - How to add app to suggested apps for...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/why-is-my-google-event-tracking-not.html'>Why is my Google Event Tracking not working? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-docx-cannot-be-imported-to-python.html'>python-docx cannot be imported to python -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/ios-xcode-tuxedo-button-shows-wrong.html'>IOS XCode Tuxedo button shows wrong class -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/json-android-from-activity-to-fragment.html'>json - android from activity to fragment -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/android-difference-between.html'>android - Difference between InstrumentationTestCa...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-parallel-processing-through-1.html'>python - Parallel processing through 1 program or ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/what-does-this-line-have-to-do-with.html'>What does this line have to do with anything? Pyth...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/antlr4-antlr-lexer-action-pushing-infos.html'>antlr4 - ANTLR lexer action pushing infos to parse...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-cancel-button-in-modal-popup.html'>javascript - cancel button in modal popup not work...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-weird-characters-when-trying-to-grab.html'>c++ - Weird characters when trying to grab char * ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-angular-model-looses-scope.html'>javascript - Angular model looses scope with ng-in...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-write-on-closed-socket-doesn-generate.html'>c - write on closed socket doesn't generate sigpip...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-add-item-to-beginning-of-list.html'>javascript - Add item to the beginning of the list -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-prevent-jquery-post-request.html'>javascript - prevent jQuery post request to fires ...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/hibernate-merging-detached-object.html'>hibernate - Merging detached object deletes childr...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/sql-server-2012-8k-limitation-confusion.html'>SQL Server 2012 8k limitation confusion -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-enhance-csv-file-database-import.html'>php - Enhance csv file database import -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/npm-nodejs-nodemon-vs-node-development.html'>npm - Node.js - nodemon vs node - development vs p...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/android-eclipse-testing-my-applications.html'>android - Eclipse testing my applications on a pho...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/aspnet-restrict-file-type-to-be-upload.html'>asp.net - Restrict file type to be upload -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/bitbucket-git-file-flags-conflict.html'>bitbucket - Git - file flags conflict -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/disable-twitter-typeaheadjs-cache.html'>Disable twitter typeahead.js cache -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/am-i-able-to-refresh-diagnostics-on.html'>Am I able to refresh diagnostics on settings chang...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-using-dropdown-select-to.html'>javascript - Using a dropdown select to sort items...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-idea-failed-to-start-local.html'>java - IDEA failed to start a local glassfish serv...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/dhtmlx-dhtmlxgrid-40-doesn-load-data.html'>dhtmlx - Dhtmlxgrid 4.0 doesn't load data from the...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/ios-cordova-simulator-fails-on-mac-os.html'>ios - Cordova simulator fails on Mac OS 10.9.5 -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/objective-c-where-is-nstextfield.html'>objective c - Where is NSTextField? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-clickable-thumbnail-image-in.html'>java - Clickable thumbnail image in a tooltip -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/vbnet-class-method-handles-paint-event.html'>VB.NET Class method handles paint event -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/how-to-add-and-remove-tabs-in-c.html'>How to add and remove "custom" tabs in C# -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/monolog-disable-logging-in-laravel.html'>monolog - Disable logging in Laravel? -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-tcp-netmap-could-tuntap-interface.html'>c - tcp - netmap : could tun/tap interface neglict...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-public-deleted-or-private-default.html'>c++ - Public deleted or private default ctor/assig...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-subdomain-masking.html'>php - Subdomain masking -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/sharing-google-apps-script.html'>Sharing google apps script -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/appending-list-to-another-list-through.html'>Appending a list to another list through iteration...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/subsetting-matrix-observations-in-r.html'>subsetting matrix observations in R -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-how-to-do-callback-correctly.html'>javascript - How to do callback correctly in speci...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/python-efficient-combined-in-place.html'>python - Efficient combined in-place adding/removi...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/objective-c-nsstring-and.html'>objective c - NSString and NSMutableString methods...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/elasticsearch-search-more-like-this-in.html'>ElasticSearch : search more like this in java -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-print-all-binary-numbers-of-size-n.html'>java - print all binary numbers of size n using re...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/java-how-to-split-string-of-numbers-and.html'>java - How to split a String of numbers and chars,...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-typedef-function-pointer.html'>c - Typedef a function pointer -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/ruby-on-rails-riak-yokozuna-solr-search.html'>ruby on rails - Riak yokozuna (solr) search stoppe...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/string-clustering-long-list-of-words.html'>string - Clustering a long list of words -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/javascript-how-to-get-min-and-max.html'>javascript - How to get min and max number from se...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/c-segmentation-fault-outside-of-main.html'>c++ - Segmentation fault outside of main -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/php-1a-1b-1c-level-descriptors-in-mysql.html'>php - 1a 1b 1c level descriptors in mysql -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/android-use-toolbar-as-action-bar-doesn.html'>android - use Toolbar as an action bar doesn't inf...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/db2-when-sql-returns-more-than-one.html'>db2 - When a sql returns more than one value, what...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/css-is-it-possible-to-apply-color-to.html'>css - Is it possible to apply color to part of a c...</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/objective-c-ios-8-uitableview-rotation.html'>objective c - iOS 8 UITableView rotation bug -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/wordpress-bootstrap-image-issue.html'>Wordpress Bootstrap image issue -</a></li>
<li><a href='https://my-blog-latika-suman.blogspot.com/2012/09/sprite-kit-how-to-make-skspritekit.html'>sprite kit - How to make SKSpritekit nodes bounce ...</a></li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/08/'>
August
</a>
<span class='post-count' dir='ltr'>(196)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/07/'>
July
</a>
<span class='post-count' dir='ltr'>(186)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/06/'>
June
</a>
<span class='post-count' dir='ltr'>(194)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/05/'>
May
</a>
<span class='post-count' dir='ltr'>(178)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/04/'>
April
</a>
<span class='post-count' dir='ltr'>(161)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/03/'>
March
</a>
<span class='post-count' dir='ltr'>(189)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/02/'>
February
</a>
<span class='post-count' dir='ltr'>(181)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2012/01/'>
January
</a>
<span class='post-count' dir='ltr'>(200)</span>
</li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/'>
2011
</a>
<span class='post-count' dir='ltr'>(1655)</span>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/09/'>
September
</a>
<span class='post-count' dir='ltr'>(174)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/08/'>
August
</a>
<span class='post-count' dir='ltr'>(212)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/07/'>
July
</a>
<span class='post-count' dir='ltr'>(189)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/06/'>
June
</a>
<span class='post-count' dir='ltr'>(161)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/05/'>
May
</a>
<span class='post-count' dir='ltr'>(181)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/04/'>
April
</a>
<span class='post-count' dir='ltr'>(183)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/03/'>
March
</a>
<span class='post-count' dir='ltr'>(197)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/02/'>
February
</a>
<span class='post-count' dir='ltr'>(186)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2011/01/'>
January
</a>
<span class='post-count' dir='ltr'>(172)</span>
</li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/'>
2010
</a>
<span class='post-count' dir='ltr'>(1664)</span>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/09/'>
September
</a>
<span class='post-count' dir='ltr'>(170)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/08/'>
August
</a>
<span class='post-count' dir='ltr'>(174)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/07/'>
July
</a>
<span class='post-count' dir='ltr'>(177)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/06/'>
June
</a>
<span class='post-count' dir='ltr'>(199)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/05/'>
May
</a>
<span class='post-count' dir='ltr'>(187)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/04/'>
April
</a>
<span class='post-count' dir='ltr'>(191)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/03/'>
March
</a>
<span class='post-count' dir='ltr'>(196)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/02/'>
February
</a>
<span class='post-count' dir='ltr'>(195)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://my-blog-latika-suman.blogspot.com/2010/01/'>
January
</a>
<span class='post-count' dir='ltr'>(175)</span>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class='clear'></div>
</div>
</div></div>
<table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'>
<tbody>
<tr>
<td class='first columns-cell'>
<div class='sidebar no-items section' id='sidebar-right-2-1'></div>
</td>
<td class='columns-cell'>
<div class='sidebar no-items section' id='sidebar-right-2-2'></div>
</td>
</tr>
</tbody>
</table>
<div class='sidebar no-items section' id='sidebar-right-3'></div>
</aside>
</div>
</div>
</div>
<div style='clear: both'></div>
<!-- columns -->
</div>
<!-- main -->
</div>
</div>
<div class='main-cap-bottom cap-bottom'>
<div class='cap-left'></div>
<div class='cap-right'></div>
</div>
</div>
<footer>
<div class='footer-outer'>
<div class='footer-cap-top cap-top'>
<div class='cap-left'></div>
<div class='cap-right'></div>
</div>
<div class='fauxborder-left footer-fauxborder-left'>
<div class='fauxborder-right footer-fauxborder-right'></div>
<div class='region-inner footer-inner'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* vertical */
google_ad_slot = "9922220705";
google_ad_width = 180;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9225434330217278";
google_ad_host = "pub-1556223355139109";
/* 2 */
google_ad_slot = "1087125905";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script>
(function() {
var cx = '013012970007219310250:7h0fuxsxaza';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
<div class='foot no-items section' id='footer-1'></div>
<table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'>
<tbody>
<tr>
<td class='first columns-cell'>
<div class='foot no-items section' id='footer-2-1'></div>
</td>
<td class='columns-cell'>
<div class='foot no-items section' id='footer-2-2'></div>
</td>
</tr>
</tbody>
</table>
<!-- outside of the include in order to lock Attribution widget -->
<div class='foot section' id='footer-3'><div class='widget Attribution' data-version='1' id='Attribution1'>
<div class='widget-content' style='text-align: center;'>
Simple theme. Powered by <a href='https://www.blogger.com' target='_blank'>Blogger</a>.
</div>
<div class='clear'></div>
</div></div>
</div>
</div>
<div class='footer-cap-bottom cap-bottom'>
<div class='cap-left'></div>
<div class='cap-right'></div>
</div>
</div>
</footer>
<!-- content -->
</div>
</div>
<div class='content-cap-bottom cap-bottom'>
<div class='cap-left'></div>
<div class='cap-right'></div>
</div>
</div>
</div>
<script type='text/javascript'>
window.setTimeout(function() {
document.body.className = document.body.className.replace('loading', '');
}, 10);
</script>
<script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/2074308869-widgets.js"></script>
<script type='text/javascript'>
window['__wavt'] = 'AOuZoY68woTodtlYnxe0ilBwWXaOhhcVsg:1742877705445';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d1363316980160063860','//my-blog-latika-suman.blogspot.com/2012/','1363316980160063860');
_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '1363316980160063860', 'title': 'My Blog', 'url': 'https://my-blog-latika-suman.blogspot.com/2012/', 'canonicalUrl': 'http://my-blog-latika-suman.blogspot.com/2012/', 'homepageUrl': 'https://my-blog-latika-suman.blogspot.com/', 'searchUrl': 'https://my-blog-latika-suman.blogspot.com/search', 'canonicalHomepageUrl': 'http://my-blog-latika-suman.blogspot.com/', 'blogspotFaviconUrl': 'https://my-blog-latika-suman.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en-GB', 'localeUnderscoreDelimited': 'en_gb', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22My Blog - Atom\x22 href\x3d\x22https://my-blog-latika-suman.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22My Blog - RSS\x22 href\x3d\x22https://my-blog-latika-suman.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22My Blog - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/1363316980160063860/posts/default\x22 /\x3e\n', 'meTag': '', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/cbe0cd4e6298c445', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en_GB\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'archive', 'pageName': '2012', 'pageTitle': 'My Blog: 2012'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard', 'ok': 'Ok', 'postLink': 'Post link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true, 'variant': 'simplysimple', 'variantId': 'simplysimple'}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'My Blog', 'description': '', 'url': 'https://my-blog-latika-suman.blogspot.com/2012/', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': true, 'isLabelSearch': false, 'archive': {'year': 2012, 'rangeMessage': 'Showing posts from 2012'}}}]);
_WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/3195866063-lbx__en_gb.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/1964470060-lightbox_bundle.css'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar-right-1', document.getElementById('Profile1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar-right-1', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer-3', document.getElementById('Attribution1'), {}, 'displayModeFull'));
</script>
</body>
</html>