yandex

How to install Yandex CatBoost on Anaconda x64?

会有一股神秘感。 提交于 2019-12-12 10:39:13
问题 I'v successfully installed CatBoost via pip install catboost But I'v got errors, when I tried sample python script in Jupiter Notebook import numpy as np from catboost import CatBoostClassifier ImportError: No module named '_catboost' ImportError: DLL load failed: Не найден указанный модуль. Link to CatBoost site: https://catboost.yandex/ 回答1: If you use python 3.5, pip maybe download not right version of wheel. Instead of catboost-0.1.1.2-py3-none-win_amd64.whl you need catboost-0.1.1.2-cp35

Parse json data from yandex translate api using retrofit in android

不羁岁月 提交于 2019-12-12 03:40:56
问题 I have an endpoint from yandex translate api i.e. https://translate.yandex.net/api/v1.5/tr.json/translate? key=trnsl.1.1.20170330T122259Z.ced3f5aaba1fb0cc.7b2060a11b18f42c68fbce10987c7538976f9c4d&text=hello&lang=ru i am unable to figure out, how can i use this url in retrofit.. 来源: https://stackoverflow.com/questions/43159255/parse-json-data-from-yandex-translate-api-using-retrofit-in-android

Jenkins+Yandex-tank+Jmeter and hanged jobs

大城市里の小女人 提交于 2019-12-11 10:24:00
问题 I am using CI Jenkins for automation of load-testing with yandex-tank + jmeter. I am using distributed testing and starting summary 10k threads. So, I have a problem when the test should be finished but it`s not happening because (I think so) some threads on remote machines are stuck. Also, I tried to use these settings in jmeter.properties file: jmeterengine.threadstop.wait=1000 jmeterengine.remote.system.exit=true jmeterengine.stopfail.system.exit=true jmeterengine.force.system.exit=true

C# yandex mail send error 5.5.4 Error: send AUTH command first

这一生的挚爱 提交于 2019-12-08 05:44:29
问题 I try to send mail using C# and yandex, but I get an error: Error 5.5.4 Error: send AUTH command first Here is my code. I try with different ports (587, 465..) and SMTP hosts (smtp.yandex.com.tr, smtp.yandex.com, smtp.yandex.ru...) but I get the same error for all attempts. SmtpClient sc = new SmtpClient("smtp.yandex.com.tr", 587); //sc.Port = 587; //sc.Host = "smtp.yandex.com"; sc.EnableSsl = false; sc.Credentials = new System.Net.NetworkCredential(System.Configuration.ConfigurationManager

C# yandex mail send error 5.5.4 Error: send AUTH command first

百般思念 提交于 2019-12-07 10:34:29
I try to send mail using C# and yandex, but I get an error: Error 5.5.4 Error: send AUTH command first Here is my code. I try with different ports (587, 465..) and SMTP hosts (smtp.yandex.com.tr, smtp.yandex.com, smtp.yandex.ru...) but I get the same error for all attempts. SmtpClient sc = new SmtpClient("smtp.yandex.com.tr", 587); //sc.Port = 587; //sc.Host = "smtp.yandex.com"; sc.EnableSsl = false; sc.Credentials = new System.Net.NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["Email"].ToString(), System.Configuration.ConfigurationManager.AppSettings["Sifre"].ToString

Yandex Marker's Current Latlong values in Android

放肆的年华 提交于 2019-12-05 11:31:01
I 'm not able to get the Yandex default Marker's current Latlong values in Android. What I'm really interested is to capture the current latlong values from the android mobile and yandex map marker's position is exactly what I need. Has anyone used yandex maps to get the current user location? Can you please help. Update 1 While researching on this latlong issue with Google and Yandex, I came across a link for "GPS Fix" app from http://gpsfix.android.informer.com/ . After installing this App on the Android device and performing "Start Fixing", the latlong values now provided by Yandex SDK in

yandex 图片自动下载

不问归期 提交于 2019-12-05 09:29:40
yandex 图片自动下载命令行程序 一个在 yandex 上搜索图片并下载到本地的 node cli 程序. 使用帮助: $0 <搜索关键词> [-t=超时(默认 1000)] [-r 是否替换下载(默认 false)] 示例: $0 shop # 搜索 shop 并下载 $0 shop -t=0 # 不使用超时 $0 shop -t=0 -r # 覆盖重名文件 一个群友让做的程序, ¥100. 需求就是使用 yandex 搜索图片, 并自动下载到本地. 分析 打开 https://yandex.com/images/search?text=shop 查看 images/search? 请求, p={当前页数} 返回结果 blocks[0].params.lastPage 是最大页数 返回结果中所有 img_url={原图地址} win 下简单的命令行交互 这里用批处理实现, 其实 node 中也可以做交互的. C:. │ yandex 图片自动下载.bat │ └─lib node_modules index.js node.exe yandex 图片自动下载.bat 文件内容 color f0 && chcp 936 && cls && @echo off title yandex 图片自动下载 mode con cols=120 lines=30 :down set /p

Yandex smtp settings with ssl

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I can send emails via enableSsl="false" and 25 port. But it is not enought in case with own domain. What is wrong or missing in this settings? <system.net> <mailSettings> <smtp deliveryMethod="Network" from="Name"> <network host="smtp.yandex.ru" port= "465 " enableSsl="true" userName="noreply@domain.com" password="***" /> </smtp> </mailSettings> </system.net> 回答1: using (MailMessage mm = new MailMessage("Name <from@yandex.ru>", "to@site.com")){ mm.Subject = "Mail Subject"; mm.Body = "Mail Body"; mm.IsBodyHtml = false; using (SmtpClient sc =

2019 Petrozavodsk Winter Camp, Yandex Cup C. Diverse Singing 上下界网络流

放肆的年华 提交于 2019-11-30 13:05:05
建图一共建四层 第一层为N个歌手 第二层为{pi,li} 第三层为{si,li} 第四层为M首歌 除了S和第一层与第三层与T之间的边为[1,INF] 其他边均为[0,1] #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef int JQK; const JQK INF = 1000000005; struct node { int p, s, l; bool operator <(const node &rhs) const { if (p != rhs.p) return p > rhs.p; else { if (s != rhs.s) return s > rhs.s; else return l > rhs.l; } } } nodecnt; int n, m, k, s1, t1, s2, t2; map<pair<int, int>, int> pl, sl; map<int, pair<int, int> > plb, slb; map<node, int> psl; vector<int> anser; namespace dinic { const int MAXN = 30050; const int MAXM = 100050; const JQK INF =

<noindex> tag for Google

淺唱寂寞╮ 提交于 2019-11-29 11:12:47
问题 I would like to tell Google not to index certain parts of the page. In Yandex (russian SE) there's a very useful tag called <noindex> . How can it be done with Google? 回答1: You can prevent Google from seeing portions of the page by putting those portions in iframes that are blocked by robots.txt. robots.txt Disallow: /iframes/ index.html This text is crawlable, but now you'll see text that search engines can't see: <iframe src="/iframes/hidden.html" width="100%" height=300 scrolling=no>