@ru_python

Страница 6709 из 9768
Sergey
10.10.2018
09:28:12
почему и попросил помощи )

Потому что на регех101 по дефолту pcre
слева добавляется r'' и все отличия

Маришка
10.10.2018
09:29:49
слева добавляется r'' и все отличия
Нэй, питоньи регулярки имеют различия в кванторах

Евгений
10.10.2018
09:29:51
Google
Sergey
10.10.2018
09:30:08
match вроде в начале строки ищет

Винни
10.10.2018
09:30:21


Маришка
10.10.2018
09:30:36
Матч ищет все пока оно матчиться под ре

Sergey
10.10.2018
09:32:26


Maksim
10.10.2018
09:32:54
Оно ведь ищет первое вхождение шаблона

Sergey
10.10.2018
09:33:14
в таком смысле!

Оно ведь ищет первое вхождение шаблона
нет, не первое вхождение, а именно начало строки

Maksim
10.10.2018
09:37:01
а, точно. я просто эту дичь никогда не использовал

Евгений
10.10.2018
09:37:41
fullmatch - полное соответствие, match - поиск c начала строки, search - энивере

Sergey
10.10.2018
09:39:06
fullmatch такого нет

Artyem
10.10.2018
09:39:47
fullmatch такого нет
https://docs.python.org/3.6/library/re.html#re.fullmatch

Sergey
10.10.2018
09:40:44
извиняюсь, спасибо

Google
Евгений
10.10.2018
09:44:25
fullmatch такого нет
вам он не нужен. вам именно search удобнее всего юзать было бы. для fullmatch вам придется полностью описать строку.

Роман
10.10.2018
09:49:26
можешь показать минимальный пример кода, на котором воспроизводится такое поведение?
Там какая-то очень странная магия в проекте, похоже, gevent не совсем правильно приготовлен и из-за этого возникает эта проблема, своих тестах, что писал, не удалось ничего такого воспроизвести

Кстати, давно мучает вопрос: как ведет себя gevent(без манки патчинга) в сочетании с тредами? Есть идея запускать для тестов написанных серверов отдельные треды, внутри которых уже будет работать gevent, ну и кейсы будут работать с этими тредами

Адиль
10.10.2018
09:53:58
#работа Мы в поисках Python/JavaScript/Cloud Senior Software Engineer в компанию Quest Software https://www.quest.com/. Это крупная международная компания, которая до недавнего времени была в составе “Dell”. Эта продуктовая компания на рынке с 1999 года, имеет множество заказчиков в Европе и Америке. Штаб-квартира у компании в Америке, есть офисы в Канаде, Китае, а в Санкт-Петербурге один из самых больших центров разработки. Локация данной позиции в офисе в Санкт-Петербурге. Для данной позиции достаточно опыта на любом скриптовом языке. Но основным является Python. Поэтому если общая квалификация достаточна для данной вакансии и Вам интересен данный вариант, мы можем продолжить общение. Компания готова дать время и возможность изучить Python. Project & Position overview: Quest Software comes out with a brand new SaaS offering "OnDemand Backup and Recovery" that provides the capabilities to backup and restore the Microsoft Azure Active Directory and Microsoft Office 365 and Exchange Online data. The application is hosted in the AWS cloud and build using the IaaS services provided by AWS (EC2, Lambda, S3, Dynamodb, SNS, SQS, CloudWatch e.t.c..). The technology stack includes the usage of Python, Javascript, Clojure, PowerShell programming languages, protocols and standards (REST, SOAP, XML, WSDL, JWT, OAuth2.0), Docker containers, Linux and Windows operation systems. Currently we are looking for a Python/JavaScript/Cloud Senior Software Engineer to work together with our talented team on the OnDemand backup and recovery project. Key responsibilities: ∙ Work in the team that uses the Agile methodology ∙ Implement new functionality, develop features in parallel, refactor and modify the existing code, write unit and acceptance tests ∙ Analyze and refactor the product architecture, introduce new modern software development methodologies ∙ Analyze, develop and create configurations for the product automated acceptance testing ∙ Communicate and collaborate with external (American) team to troubleshoot the customer issues ∙ Implement the product quality and team performance improvement strategy ∙ Implement and manage continuous integration and automated acceptance test infrastructure Essential requirements: ∙ Experience of distributed applications development ∙ Strong experience in Python/JavaScript/Go ∙ Understanding of software architecture patterns and practice ∙ Understanding of data structures, algorithms, algorithm computational complexity ∙ Practical experience in applying contemporary test automation methods for distributed applications ∙ Understanding of network and transport level protocols (HTTP, TCP/IP) ∙ Understanding principals of vertical and horizontal scaling (e.g. in the cloud) ∙ Experience developing high-load distributed Web applications ∙ Ability to read technical documentation in English Desirable Requirements: ∙ Understanding and practical experience working with IaaS and PaaS systems (Amazon Web Services (EC2, S3, Lambda, DynamoDB), Windows Azure (Azure Functions, Azure Blob Storage)). ∙ Understanding and practical experience with a Serverless architecture ∙ Experience developing high-load distributed Web applications ∙ Working with Relational and NoSQL database systems, understanding the difference ∙ Linux experience, including the creation of administration scripts ∙ Microsoft Active Directory and Exchange Server administration experience ∙ Strong experience in writing automated acceptance tests using Fitnesse (Cucumber, SpecFlow) ∙ Experience working with Windows PowerShell ∙ Understanding the git source control system, GitHub ∙ Practical experience with vertical and horizontal scalability principles application ∙ Github profile link with source code samples ∙ Good English level Benefits: ∙ Permanent contract. ∙ Official employment with full accordance with Russian Labour Law. ∙ Competitive "white" salary + well annual bonus ∙ Medical insurance for employee and his/her family members. ∙ 36 days for annual leave

Пишите мне если кому-нибудь интересно

Anatoliy
10.10.2018
09:59:35
Permanent contract. - звучит как продажа в рабство

Maxim robox
10.10.2018
10:02:07
#работа Мы в поисках Python/JavaScript/Cloud Senior Software Engineer в компанию Quest Software https://www.quest.com/. Это крупная международная компания, которая до недавнего времени была в составе “Dell”. Эта продуктовая компания на рынке с 1999 года, имеет множество заказчиков в Европе и Америке. Штаб-квартира у компании в Америке, есть офисы в Канаде, Китае, а в Санкт-Петербурге один из самых больших центров разработки. Локация данной позиции в офисе в Санкт-Петербурге. Для данной позиции достаточно опыта на любом скриптовом языке. Но основным является Python. Поэтому если общая квалификация достаточна для данной вакансии и Вам интересен данный вариант, мы можем продолжить общение. Компания готова дать время и возможность изучить Python. Project & Position overview: Quest Software comes out with a brand new SaaS offering "OnDemand Backup and Recovery" that provides the capabilities to backup and restore the Microsoft Azure Active Directory and Microsoft Office 365 and Exchange Online data. The application is hosted in the AWS cloud and build using the IaaS services provided by AWS (EC2, Lambda, S3, Dynamodb, SNS, SQS, CloudWatch e.t.c..). The technology stack includes the usage of Python, Javascript, Clojure, PowerShell programming languages, protocols and standards (REST, SOAP, XML, WSDL, JWT, OAuth2.0), Docker containers, Linux and Windows operation systems. Currently we are looking for a Python/JavaScript/Cloud Senior Software Engineer to work together with our talented team on the OnDemand backup and recovery project. Key responsibilities: ∙ Work in the team that uses the Agile methodology ∙ Implement new functionality, develop features in parallel, refactor and modify the existing code, write unit and acceptance tests ∙ Analyze and refactor the product architecture, introduce new modern software development methodologies ∙ Analyze, develop and create configurations for the product automated acceptance testing ∙ Communicate and collaborate with external (American) team to troubleshoot the customer issues ∙ Implement the product quality and team performance improvement strategy ∙ Implement and manage continuous integration and automated acceptance test infrastructure Essential requirements: ∙ Experience of distributed applications development ∙ Strong experience in Python/JavaScript/Go ∙ Understanding of software architecture patterns and practice ∙ Understanding of data structures, algorithms, algorithm computational complexity ∙ Practical experience in applying contemporary test automation methods for distributed applications ∙ Understanding of network and transport level protocols (HTTP, TCP/IP) ∙ Understanding principals of vertical and horizontal scaling (e.g. in the cloud) ∙ Experience developing high-load distributed Web applications ∙ Ability to read technical documentation in English Desirable Requirements: ∙ Understanding and practical experience working with IaaS and PaaS systems (Amazon Web Services (EC2, S3, Lambda, DynamoDB), Windows Azure (Azure Functions, Azure Blob Storage)). ∙ Understanding and practical experience with a Serverless architecture ∙ Experience developing high-load distributed Web applications ∙ Working with Relational and NoSQL database systems, understanding the difference ∙ Linux experience, including the creation of administration scripts ∙ Microsoft Active Directory and Exchange Server administration experience ∙ Strong experience in writing automated acceptance tests using Fitnesse (Cucumber, SpecFlow) ∙ Experience working with Windows PowerShell ∙ Understanding the git source control system, GitHub ∙ Practical experience with vertical and horizontal scalability principles application ∙ Github profile link with source code samples ∙ Good English level Benefits: ∙ Permanent contract. ∙ Official employment with full accordance with Russian Labour Law. ∙ Competitive "white" salary + well annual bonus ∙ Medical insurance for employee and his/her family members. ∙ 36 days for annual leave
Надо указать вилку.

Alex
10.10.2018
10:03:13
Permanent contract. - звучит как продажа в рабство
о_О удивили. вполне нормальная практика в западных странах, т.к. контракты бывают как на ограниченный срок так и на неограниченный.

Адиль
10.10.2018
10:03:33
Надо указать вилку.
Да совсем забыл. От 195'000 RUR

Filip
10.10.2018
10:25:22


Sergey❄️
10.10.2018
10:26:13
Из жсона делает дикт

Oleksandr
10.10.2018
10:26:19
Кто работал с Selenium - подскажите, есть ли какой-то внятный способ нажать на кнопку Allow/Разрешить в всплывающих уведомлениях Chromedriver (https://i.imgur.com/iIBZtTN.png)? Как Alert не определяется, табами доклацать могу, но Enter не срабатывает.

Виктор
10.10.2018
10:27:03
а space срабатывает?

Маришка
10.10.2018
10:27:09
Часть с : dict обычный тайпхинт который в принципе ничего и не делает

Sergey❄️
10.10.2018
10:27:28
В основном для подсветки кода в IDE

Маришка
10.10.2018
10:27:58
тайпхинт... зачем он
Дословно переведи

Oleksandr
10.10.2018
10:28:02
а space срабатывает?
кстати, мысль. сейчас попробую.

Filip
10.10.2018
10:28:31
Дословно переведи
ну типа подсказывает какой тип в перменной

Google
Маришка
10.10.2018
10:28:44
Ну вот

Полезно это для идеешек которые эту штуку обрабатывают

Больше за собой они не несут ничего

Filip
10.10.2018
10:29:15
deserialized_form_description: dict = json.loads(form_description) в переменную deserialized_form_description мы кладем json.loads(form_description) и говорим это это dict ?

Oleksandr
10.10.2018
10:29:25
а space срабатывает?
нет, увы. видимо, считает отдельным окном.

Filip
10.10.2018
10:29:46
Полезно это для идеешек которые эту штуку обрабатывают
pycharm будет подсказывать мне что это dict, ага?

Маришка
10.10.2018
10:29:48
Виктор
10.10.2018
10:29:56
нет, увы. видимо, считает отдельным окном.
попробуй в настройках хрома или настройках хромдрайвера найти флаг "всегда разрешать флеш"

Oleksandr
10.10.2018
10:30:43
попробуй в настройках хрома или настройках хромдрайвера найти флаг "всегда разрешать флеш"
нашёл 15 вопросов на stackoverflow, попробовал все, пофиг, флеш всегда выключен)

Маришка
10.10.2018
10:30:44
pycharm будет подсказывать мне что это dict, ага?
Именно. Только пичарм сам по себе и так умный и умеет определять тип без тайпхинтов

Filip
10.10.2018
10:31:30
понял, спасибо Маришка, ты прошаренная тетка☺️

Oleksandr
10.10.2018
10:32:55
а в --headless режиме то же самое?
не могу в --headless, нужно подключать прокси, значит кастомное расширение, а в headless оно отваливается. если подскажешь еще, как пользоваться https прокси с авторизацией в headless - вообще бы шикарно было :)

Виктор
10.10.2018
10:33:37
не юзал хромдрайвер через прокси, не могу подсказать)

но вообще кажется что можно прокси указать в настройках хромдрайвера и --headless режим на это не должен влиять

Виктор
10.10.2018
10:35:58
хм, забавно

Google
Виктор
10.10.2018
10:37:16
на всяких stackoverflow пишут что надо добавить экспериментальную опцию "profile.default_content_settings.state.flash",1, правда никто не отписался что это работает

https://stackoverflow.com/questions/48205480/selenium-cannot-enable-flash-on-chrome-63-java

Oleksandr
10.10.2018
10:37:44
на всяких stackoverflow пишут что надо добавить экспериментальную опцию "profile.default_content_settings.state.flash",1, правда никто не отписался что это работает
prefs = { "profile.default_content_setting_values.plugins": 1, "profile.content_settings.plugin_whitelist.adobe-flash-player": 1, "profile.content_settings.exceptions.plugins.*,*.per_resource.adobe-flash-player": 1, }

никакой разницы

Jentry
10.10.2018
10:38:00
нельзя, если с авторизацией
С прокси можно обернуть процесс в proxychains и все настройки сделать там

Oleksandr
10.10.2018
10:40:00
С прокси можно обернуть процесс в proxychains и все настройки сделать там
звучит интересно, но понял не совсём. прокся же одна. или вы предлагаете запускать питон через proxychains? proxychains python selenium.py или как-то так?)

решили проблему с flash :)

Нужно убрать флаг: --disable-features=EnableEphemeralFlashPermission и добавить преф: prefs.put("profile.content_settings.exceptions.plugins.*,*.setting", 1);

Это для свежего хрома

Копипастил из стэковерфлоу: https://stackoverflow.com/questions/52185371/allow-flash-content-in-chrome-69-running-via-chromedriver

Мне помогло

Eldar
10.10.2018
11:23:21
Permanent contract. - звучит как продажа в рабство
Вроде как даже в Яндексе не такие строгие требования к этому

Виктор
10.10.2018
11:25:29
перманент это имеется в виду бессрочный, скорее всего. пожизненная работа без права уволиться как бы незаконна в большинстве стран)

Саша
10.10.2018
11:29:11
Люди, у blueprint'ов в флаге могут быть собственные логгеры?

Или только у основного приложения?

Виктор
10.10.2018
11:30:52
думаю можно точнее узнать у человека, который разместил вакансию

Eldar
10.10.2018
11:31:39
contact и contract разные вещи
Ааа, я этого не заметил, тогда да, ты прав)

Google
Dark
10.10.2018
11:33:40
я делаю распознавалку голоса, вот проект который я взял за основу https://github.com/huanghe314/Text-Independent-Speaker-Indentification-System реализовал сохранение и загрузку нейронной сети, а как сделать ее дообучение? например она научилась распознавать 5 спикеров, а потом появился еще один которого надо распознать

Jentry
10.10.2018
11:52:23
Jentry
10.10.2018
12:04:11
а как примерно это должно происходить?
Здесь больше к тебе вопросов, как ты реализовал сохранение и загрузку

Страница 6709 из 9768