text:
Myntra web scrapper script addded

Description
Implemented web scrapping of myntra's product page using selenium ,an automated testing tool.
Resolves: #464
Checklist

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[x] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.

Hey @alwenpy | Do not use web driver, it is not compatible with all systems, also it creates problems with cloud services.
Check if there's any alternative, else we'll have to close the PR.

The content of myntra loads on the runtime so selenium is the best way for it.It will work on all computers that has webdriver in it.

Selenium web driver works on all the platform and also on the cloud platforms like EC2.It will have no problem scraping myntra and about 'bs4' ,myntra uses API for it's product page and content loads on runtime so it can't be used .

Selenium Webdriver requires local changes on the system, very high chance that it might not work on all the systems.
Look for any alternative to scrape Myntra, if not then close this PR. Can't merge one more module with selenium chrome webdriver.

Scrapy? @alwenpy
As I said, if there's no alternative then close the PR.
The code is good, you can add it in your GitHub as a personal project.

NO scrapy won't work in myntra.

repo: Clueless-Community/scrape-up


text:
Skips

Fixes https://clusterhq.atlassian.net/browse/FLOC-1911

This looks good. Merge when buildbot is happy (it looks like there are a bunch of unrelated failures, though).

source: gharchive/pull-request

authors: exarkun tomprince

repo: ClusterHQ/flocker

license_type: permissive

license_source: github-api


text:
Crear la estructura base del proyecto (nombres de carpetas y distribución de archivos)

Estructura de archivos y carpetas para un proyecto básico incluyendo la división por componentes de:

Código fuente de aplicación (.c, .h, .a)
Código fuente de periféricos (.c, .h, .a)
Código fuente del API agnóstica al hardware (que conecta aplicación y drivers del fabricante)
Toolchain, configuración y administración de compilación del proyecto (ej. pio y su estructura de archivos)

Contenido relacionado
https://vimeo.com/749760561?embedded=true&source=vimeo_logo&owner=5879519

Notas rápidas del video

Estructura de callbacks (driver bajo nivel -> drivers alto nivel (funciones lectoras de datos) -> libreria (maneja casos de uso) -> Loop principal (llama en orden a todas las librerias)
Estructura de RTOS, cuando son demasiadas librerias y tareas a manejar, que no se puedan ejecutar en secuencia por tiempo o por cantidad

Segmentación del proyecto

Diagrama de bloques de los componentes -> búsqueda de hdw y ejemplos -> hay drivers o los hacemos -> Que usamos de esas librerias / tamaños / nombres -> POC de todos los componentes funcionando juntos -> pinout al equipo de hardware
Selección de casos de prueba para validar casos de uso y casos extremos
En grandes razgos

Definir componentes del sistema
Seleccionar hardware y bibliotecas
POC de componentes
POC de integración
Casos de uso y pruebas
Diseño de hardwre en paralelo

source: gharchive/issue


text:
[Remoto] Desenvolvedor iOS (Objective-C)

Empresa
O MapaRadar é um serviço que agrega dados de radares do Brasil e disponibiliza em diversos formatos e plataformas.
Descrição da vaga
Preciso de um desenvolvedor que tenha algumas horas disponíveis por mês para corrigir pequenos bugs, compatibilizar com novas versões do iOS e criar alguns recursos novos baseados no feedback dos usuários. O dev também terá que fazer a publicação do app na loja.
O aplicativo já está publicado na App Store e tenho alguns bugs pendentes.
Posição
Pleno ou Sênior
Tipo de contratação
Freelancer
Requisitos
Obrigatórios
Objective-C
GIT
iTunes Connect
Com quem você vai trabalhar
Diretamente comigo, Israel Rodriguez. Eu criei o site e cuido da parte do backend/sites. Eventualmente poderá ter contato com o dev Android.
Como aplicar
Enviar email para israel.rodriguez@maparadar.com com CV, trabalhos já publicados na App Store e pretensãode R$/Hora
Contato
israel.rodriguez@maparadar.com

Olá @yzraeu A vaga ainda está aberta?

authors: reprotector yzraeu

repo: CocoaHeadsBrasil/vagas

license: MIT


text:
Build warnings when building CocoaLumberjackSwift with Carthage

Hi,
I've been having build warnings each time I build CocoaLumberjackSwift with Carthage.  It's usually a long list of warnings.  Since CocoaLumberjack is built with multiple frameworks and it's already including the CocoaLumberjack.framework, should these warnings just be ignored?  Though, I would prefer not having any build warnings.
Here are the build warnings referring to a missing umbrella header:
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'CocoaLumberjack.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAbstractDatabaseLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogCapture.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDASLLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDAssertMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDContextFilterLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDDispatchQueueLogFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDFileLogger.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog+LOGV.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLog.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDLogMacros.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDMultiFormatter.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjackSwift' does not include header 'DDTTYLogger.h'

Thanks @rivera-ernesto
What I've found interesting is that the warnings only show up when I compile with Carthage.  I compiled CocoaLumberjackSwift with xctool and no warnings there, just like building it with Xcode...

Good to know. Closing this for now.

authors: rivera-ernesto zenkimoto

repo: CocoaLumberjack/CocoaLumberjack


text:
Static analyzer gives warnings of "value stored never read" despite values used in DDLogs

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation or CocoaDocs
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
iOS

Platform Version
10.2 (deployment target 9.0)

CocoaLumberjack Version
2.2.0

Integration Method
carthage

Xcode Version
8.2.1

Repro rate
100%

Demo project link
N/A

Issue Description and Steps
Clang seems to show some warnings of the
Value stored to 'variable' during its initialization is never read despite the fact that it's used in DDLogVerbose calls.
Any thoughts on the best way to make those warnings go away?

Can you add more details about the warnings? Are they in your code or the library code?
Also, I strongly recommend you upgrade to the latest version (3.x).

@bpoplauschi there are a few situations I'm dealing with where I initialize various variables and then want to DDLogVerbose them. For example:
NSString *myString = @"Test String";

DDLogVerbose(@"The value of myString is %@", myString);

This would cause a clang warning saying Value stored to myString is never read` if the only place it's used is the DDLog statement. This wasn't an issue before Xcode 8 so I'm not sure what changed on that end.
Any thoughts on how to avoid these clang warnings?
BTW, I updated to CocoaLumberjack 3.0 and I still get these so it doesn't seem like it's 2.2 related necessarily.

@sorinc03 sorry I didn't respond to this, my bad, I was busy with other things and just let the issues pile up. If this issue still happens, it's probably due to DDLogVerbose just being resolved to nothing by the pre-compiler. You should make sure that gets executed/compiled (maybe use the Xcode preprocess assistant).


text:
Problem with geocoding routes when using new languages

Q
A

Bug report?
no

Feature request?
no

Support request?
yes

Hi!
I'm customizing Cocorico to use in Spanish and Brazilian portuguese, besides English and French. I'm having problems with the auto-generated routes for the geocoding service.
When I look into the auto generated class appProdUrlGenerator in prod cache (I'm using prod to make it faster), the routes generated are the same, but for the non default languages, the controler parameters in the first entry of the array are slug and not id as for English and French.
Does anyone have an  idea on where to change the code to generate the routes exactly the same way?
'es__RG__cocorico_geo_create' => array (  0 =>   array (    0 => **'slug'**,  ),  1 =>   array (    '_controller' => 'Cocorico\\GeoBundle\\Controller\\GeocodingController::createAction',    '_locale' => 'es',  ),  2 =>   array (    'slug' => '[a-z0-9-]+',    '_method' => 'POST',  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/create',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[a-z0-9-]+',      3 => 'slug',    ),    2 =>     array (      0 => 'text',      1 => '/es/geocoding',    ),  ),  4 =>   array (  ),  5 =>   array (  ),),
'en__RG__cocorico_geo_create' => array (  0 =>   array (    0 => **'id'**,  ),  1 =>   array (    '_controller' => 'Cocorico\\GeoBundle\\Controller\\GeocodingController::createAction',    '_locale' => 'en',  ),  2 =>   array (    'slug' => '[a-z0-9-]+',    '_method' => 'POST',  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/create',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/en/geocoding',    ),  ),  4 =>   array (  ),  5 =>   array (  ),),
'pt_BR__RG__cocorico_geo_create' => array (  0 =>   array (    0 => **'slug'**,  ),  1 =>   array (    '_controller' => 'Cocorico\\GeoBundle\\Controller\\GeocodingController::createAction',    '_locale' => 'pt_BR',  ),  2 =>   array (    'slug' => '[a-z0-9-]+',    '_method' => 'POST',  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/create',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[a-z0-9-]+',      3 => 'slug',    ),    2 =>     array (      0 => 'text',      1 => '/pt_BR/geocoding',    ),  ),  4 =>   array (  ),  5 =>   array (  ),),
'fr__RG__cocorico_geo_create' => array (  0 =>   array (    0 => **'id'**,  ),  1 =>   array (    '_controller' => 'Cocorico\\GeoBundle\\Controller\\GeocodingController::createAction',    '_locale' => 'fr',  ),  2 =>   array (    'slug' => '[a-z0-9-]+',    '_method' => 'POST',  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/create',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/fr/geocoding',    ),  ),  4 =>   array (  ),  5 =>   array (  ),),

Hi,
We are fixing this issue.
In the meanwhile comment these lines : Cocorico/CoreBundle/Resources/views/Frontend/Listing/show.html.twig:539-541.
And clear your cache.

Thanks for the prompt answer. I was able to fix it translating one key, as show in the picture below:

you have to change in the translation and put {id} instead of {slug} (like in the other languages on the right)

authors: cocolabssas eshelf fakelefteye

repo: Cocolabs-SAS/cocorico


text:
Cleanup: Logproc interpolation errors

Audit logs for any logproc interpolation errors, on recent builds off of develop we have contextual information about where these interpolation errors are coming from.
As they're discovered add them to this list for folks to knock out:

[ ] example

Closing until we find any

repo: CodaProtocol/coda


text:
snark work prometheus metrics

Added the following metrics:

snark_work_received_gossip: # of snark work received from peers
snark_work_received_rpc: # of snark work received via rpc
snark_work_sent_rpc: # of snark work sent via rpc
snark_pool_size: # of snark works in the snark pool
snark_work_per_block: # of snark work purchased per block
scan_state_snark_jobs: # of jobs in the scan state after every block

Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

An attempt to order this a little more sequentially.
scan_state_snark_jobs:            gauge of snark work jobs in the current scan state
snark_work_assigned_rpc:        count of snark work assigned to be done by snarkworkers
snark_work_reassigned_rpc:     count of snark work reassigned to be done by snarkworkers
snark_work_completed_rpc:     count of snark work completed by snarkworkers
snark_work_received_gossip:   count of snark work MESSAGES received from peers (includes repeats)
snark_pool_size:                        gauge of current number of snark works in the snark pool
snark_work_last_block:             gauge of snark work purchased from pool in the last block

snark_work_reassigned_rpc: count of snark work reassigned to be done by snarkworkers

This would be slightly different because what we do is remove such jobs from the "seen" jobs list so that it could be reassigned when the next request comes in and not reassign them immediately. So the metric would be # of snarks not completed within a specific time. Maybe snark_work_timed_out?

...  Maybe snark_work_timed_out?

that works
snark_work_timed_out_rpc ?

authors: deepthiskumar jkrauska


text:
Checks s3 before failing cached read of pvkeys

To make it easier to reuse pvkeys, Cached now consults an http
endpoint before giving up and trying to autogenerate pvkeys.
We also exit the build with 0xc1 only on CI builds (so we may push the
keys to s3 and fork the pipelines).
TODO: Find the right http GET path, and test this code.

Are key ids deterministic?

Could not load blockchain-snark wrap keys from the following path:

/var/lib/coda
/usr/local/var/coda
/tmp/s3_cache_dir

 Trying to hit the s3 bucket...
Failed to load keys from s3: (monitor.ml.Error (Unix.Unix_error "Connection refused" connect 127.0.0.1:80)
 ("Raised by primitive operation at file \"src/unix_syscalls.ml\", line 1046, characters 17-74"
  "Called from file \"src/deferred1.ml\", line 17, characters 40-45"
  "Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5"
  "Called from file \"src/job_queue.ml\", line 171, characters 6-47"
  "Caught by monitor Tcp.close_sock_on_error")), looking at /tmp/coda_cache_dir
Could not load blockchain-snark wrap keys from autogen path /tmp/coda_cache_dir. Autogenerating...

We should print the URL it's trying to hit?

authors: bkase jkrauska


text:
各プレスリリースのページから上部の「ハッカソン」に飛べない

いずれも「ハッカソン」をクリックすると「404 Not Found」になる。

なおしました！

ありがとうございます。すいません説明不足でしたが、以下も同様です。
https://code4.yokohama/ICTproposal/
https://code4.yokohama/ICTproposal/report.html
https://code4.yokohama/press-release/20200503_satoyama.html
https://code4.yokohama/press-release/20200505_yokohama_to_go.html


text:
Search for tickets

It should be possible to search for tickets via

title
labels
assigned users

Blocked until #3, and #6 are implemented

Can be done now


text:
IOS 启动一键登录出现崩溃

Flutter 3.3.0
ali_auth: 1.0.8
iphone  5s
安卓正常
ios 启动直接闪退

2023-01-04 21:33:17.410137+0800 Runner[387:23829] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x19c413180 0x19b5eb9f8 0x19c38cbec 0x19c3074b4 0x19c300c78 0x100d858b8 0x100d843ac 0x100d7ecf4 0x100d7e6dc 0x101b8ebac 0x101667928 0x103b476f4 0x103b48c78 0x103b566fc 0x19c3a4b20 0x19c39fa58 0x19c39efb4 0x19e5a179c 0x1c8c31c38 0x10016a5b8 0x19be628e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
terminating with uncaught exception of type NSException

@CodeGather

已经找到bug了 自定义第三条协议我没有传递 导致报错..明明是可选参数,但是却是必填的,.,.,我只用到两个第三个确实用不到但是我只能凑第三个协议!!!
/// 自定义第三条名称
final String? protocolThreeName;
/// 自定义第三条url
final String? protocolThreeURL;
/// 自定义协议名称颜色
final String? protocolCustomColor;

希望作者增加几个参数.背景可以自定义背景色而不是图片, 已阅读的文字颜色不一定是绿色,

安卓晚上使用 点击登录 请阅读协议弹窗是夜间模式
ios 晚上使用 也是一直显示夜间模式的状态无法关闭夜间模式
isLightColor 全都无效
ios 环境下无法校验并 自动提示 请阅读协议弹窗

问题已收录

authors: CodeGather ZhangZhiH


text:
🛑 Test is down

In bf0c269, Test (https://enam.demo129.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Test is back up in aa6675d after 7 minutes.

repo: CodeIntel-Development/uptime


text:
🛑 Team Molina is down

In 0472eb7, Team Molina (https://teammolina.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Team Molina is back up in 9a8f3ce after 9 minutes.


text:
Battery Capacity calculated wrong for 9.5 battery

I have a 5.2 and a 9.5 battery on separate inverters.
Noticed today that the 9.5 battery (recenty replaced) is showing as 6.4 capacity, but all the HA metrics I look at give the correct capacity, as does the BBC basic app and the GivEnergy app.
I did have custom_dod set to 80 for this battery but use_custom_dod set to false, but even changing it to custom_dod 100, and turning use_custom_dod on or off, still shows the wrong capacity

config:
      - type: horizontal-stack
        cards:
          - type: custom:givtcp-battery-card
            name: G182 Battery
            soc_threshold_very_high: 80
            soc_threshold_high: 60
            soc_threshold_medium: 40
            soc_threshold_low: 20
            soc_threshold_very_high_colour:
              - 0
              - 69
              - 23
            soc_threshold_high_colour:
              - 67
              - 160
              - 71
            soc_threshold_medium_colour:
              - 255
              - 166
              - 0
            soc_threshold_low_colour:
              - 219
              - 68
              - 55
            soc_threshold_very_low_colour:
              - 94
              - 0
              - 0
            display_abs_power: true
            display_type: 2
            display_dp: 1
            icon_status_idle: mdi:sleep
            icon_status_charging: mdi:lightning-bolt
            icon_status_discharging: mdi:home-battery
            display_battery_rates: false
            use_custom_dod: false
            custom_dod: 100
            calculate_reserve_from_dod: false
            display_custom_dod_stats: false
            display_energy_today: false
            entity: sensor.g_xxx_invertor_serial_number
          - type: custom:givtcp-battery-card
            name: G395 Battery
            soc_threshold_very_high: 80
            soc_threshold_high: 60
            soc_threshold_medium: 40
            soc_threshold_low: 20
            soc_threshold_very_high_colour:
              - 0
              - 69
              - 23
            soc_threshold_high_colour:
              - 67
              - 160
              - 71
            soc_threshold_medium_colour:
              - 255
              - 166
              - 0
            soc_threshold_low_colour:
              - 219
              - 68
              - 55
            soc_threshold_very_low_colour:
              - 94
              - 0
              - 0
            display_abs_power: true
            display_type: 2
            display_dp: 1
            icon_status_idle: mdi:sleep
            icon_status_charging: mdi:lightning-bolt
            icon_status_discharging: mdi:home-battery
            display_battery_rates: false
            use_custom_dod: true
            custom_dod: 80
            calculate_reserve_from_dod: true
            display_custom_dod_stats: false
            display_energy_today: false
            entity: sensor.h_xxx_invertor_serial_number

Checklist:

[X ] I updated to the latest version available
[ X] I cleared the cache of my browser

Release with the issue:
0.2.4
Last working release (if known):
Tried it with 0.2.2 and 0.2.0 and both the same issue
Browser and Operating System:
HA companion app, ipad
Same with iPad Safari
Description of problem:
Should show 9.5 capacity.  Suspect somehow it is not reading correctly the capacity

Found the cause of the issue, for reasons I don't understand GivTCP was reporting the 9.5kW battery capacity as 6.4kWh.
This was only reported in MQTT, not in a HA entity, so wasn't immediately obvious

I could see soc_max changing from 9.52kW to 6.4kW in the predbat log at the run at 12:10.  In the inverter notifications this corresponded to a 'low voltage' error so maybe that caused the glitch.
Restarting GivTCP and it now shows correctly as 9.5kW in MQTT and the battery card

repo: Codegnosis/givtcp-battery-card


text:
自定义View的属性换肤到底怎么用

根据教程实现了IThemeSkinExecutorBuilder，自定义了ViewSkinExecutor，也addThemeSkinExecutorBuilder了，但是没有效果，debug也跑不进去

Demo中有自定义View CustomView，其内部自定义了几个属性。
为了对其进行换肤，Demo工程中提供了完整的示例代码，具体可参阅CustomViewCompat文件。

authors: CoderAlee yxiangTang

repo: CoderAlee/PaintedSkin


text:
增加了默认过滤 NSObject 子类被默认添加的4个父类属性的功能. (默认是过滤掉. 可以通过设置 Class.isIgnoredDe…

默认NSObject子类会被加上如下几个属性, 有可能会导致一些问题
"hash",
"description",
"debugDescription",
"superclass",

现在给 NSObject 类新增了一个属性, isIgnoredDefaultAdditionalProperty , 默认为YES, 默认过滤掉上面这些属性
如果需要这些属性, 可以设置关闭过滤
<#Class#>.isIgnoredDefaultAdditionalProperty = false

PS: 新增了 tvOS 的支持

的确有这个问题.
已经修复了.
並且进行重构. 保证 NSObject 今后再增加更多的属性, 依旧无缝处理

@wolfcon  #665 修复了这个问题，你可以Review一下！

reopen a new PR

cacheImgePath has same problem，why

@theoneab 你在说啥? What are you talking about?
cacheImgePath  What is it?

authors: kinarob theoneab wolfcon

repo: CoderMJLee/MJExtension

license: mit

license_source: bigquery


text:
MJRefreshHeader如何可以进入刷新状态而不调用refreshBlock

tableView的header是用MJRefreshNormalHeader带refreshingBlock参数初始化的。
有没有办法可以直接做到调用tableView.mj_header.beginRefreshing()而不调用refreshingBlock。

你不能自己搞个变量判断么

repo: CoderMJLee/MJRefresh


text:
500 error for URL http://www.codewars.com/kata/find-nth-digit-of-a-number

I got this message when I followed an external link to this kata
Looks like there was a server error! (500)
followed by this message
Problem: Document(s) not found for class CodeChallenge with id(s) find-nth-digit-of-a-number. Summary: When calling CodeChallenge.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): find-nth-digit-of-a-number ... (1 total) and the following ids were not found: find-nth-digit-of-a-number. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.
__

Hi,
It was a link provided as part of my Northcoders pre-course. I'll let them
know it needs updating. Cheers, John
On Sun, 5 Aug 2018, 19:21 kazk, notifications@github.com wrote:

Where did you find this link?
I think the correct URL is
https://www.codewars.com/kata/find-the-nth-digit-of-a-number (with -the-).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codewars/codewars.com/issues/1522#issuecomment-410538226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AoHTkiWjmMkxhtZO0hDu8uZfm706W_EPks5uNzeygaJpZM4VvemF
.

Thanks :)


text:
🛑 Date is down

In cc1f27d, Date (https://dubae.vip) was down:

HTTP code: 500
Response time: 1749 ms

Resolved: Date is back up in 455a8ca.

repo: Codifta/uptime


text:
monaco-editor@0.39.0 and @codingame/monaco-vscode-api@~1.79.6 not compatible

I've noticed that monaco-editor@0.39.0 and @codingame/monaco-vscode-api@~1.79.6 are not compatible.
Here is the webpack log (it goes on an on, this is just a small excerpt):
ERROR in ./node_modules/vscode/dist/api.js 93:12-26
export 'FileType' (imported as 'files') was not found in 'monaco-editor/esm/vs/platform/files/common/files.js' (possible exports: FileKind)

ERROR in ./node_modules/vscode/dist/api.js 94:18-38
export 'FilePermission' (imported as 'files') was not found in 'monaco-editor/esm/vs/platform/files/common/files.js' (possible exports: FileKind)

ERROR in ./node_modules/vscode/dist/custom-fetch.js 8:47-59
export 'IFileService' (imported as 'IFileService') was not found in 'monaco-editor/esm/vs/platform/files/common/files.js' (possible exports: FileKind)

ERROR in ./node_modules/vscode/dist/service-override/layout.js 45:35-56
export 'isAncestorUsingFlowTo' (imported as 'isAncestorUsingFlowTo') was not found in 'monaco-editor/esm/vs/base/browser/dom.js' (possible exports: $, Dimension, DragAndDropObserver, EventHelper, EventType, ModifierKeyEmitter, Namespace, addDisposableGenericMouseDownListener, addDisposableGenericMouseUpListener, addDisposableListener, addStandardDisposableGenericMouseDownListener, addStandardDisposableGenericMouseUpListener, addStandardDisposableListener, animate, append, asCSSPropertyValue, asCSSUrl, asCssValueWithDefault, basicMarkupHtmlTags, clearNode, computeScreenAwareSize, createCSSRule, createStyleSheet, findParentWithClass, getActiveElement, getClientArea, getComputedStyle, getContentHeight, getContentWidth, getDomNodePagePosition, getDomNodeZoomLevel, getShadowRoot, getTopLeftOffset, getTotalHeight, getTotalWidth, h, hasParentWithClass, hide, hookDomPurifyHrefAndSrcSanitizer, isAncestor, isEventLike, isHTMLElement, isInDOM, isInShadowDOM, isShadowRoot, prepend, removeCSSRulesContainingSelector, reset, restoreParentsScrollTop, runAtThisOrScheduleAtNextAnimationFrame, saveParentsScrollTop, scheduleAtNextAnimationFrame, setVisibility, show, size, trackFocus, windowOpenNoOpener)

ERROR in ./node_modules/vscode/dist/services.js 13:0-201
export 'NeverShowAgainScope' (reexported as 'NeverShowAgainScope') was not found in 'monaco-editor/esm/vs/platform/notification/common/notification.js' (possible exports: INotificationService, NoOpNotification, Severity)

ERROR in ./node_modules/vscode/dist/services.js 13:0-201
export 'NoOpProgress' (reexported as 'NoOpProgress') was not found in 'monaco-editor/esm/vs/platform/notification/common/notification.js' (possible exports: INotificationService, NoOpNotification, Severity)

ERROR in ./node_modules/vscode/dist/services.js 13:0-201
export 'NotificationPriority' (reexported as 'NotificationPriority') was not found in 'monaco-editor/esm/vs/platform/notification/common/notification.js' (possible exports: INotificationService, NoOpNotification, Severity)

ERROR in ./node_modules/vscode/dist/services.js 13:0-201
export 'NotificationsFilter' (reexported as 'NotificationsFilter') was not found in 'monaco-editor/esm/vs/platform/notification/common/notification.js' (possible exports: INotificationService, NoOpNotification, Severity)

ERROR in ./node_modules/vscode/dist/services.js 24:0-83
export 'IFileService' (reexported as 'IFileService') was not found in 'monaco-editor/esm/vs/platform/files/common/files.js' (possible exports: FileKind)

ERROR in ./node_modules/vscode/dist/services.js 28:0-97
Module not found: Error: Can't resolve 'monaco-editor/esm/vs/platform/product/common/productService.js' in '/homedir/swagger-editor/node_modules/vscode/dist'

ERROR in ./node_modules/vscode/dist/services.js 31:0-102
Module not found: Error: Can't resolve 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js' in '/homedir/swagger-editor/node_modules/vscode/dist'

ERROR in ./node_modules/vscode/dist/services.js 48:0-104
export 'ILoggerService' (reexported as 'ILoggerService') was not found in 'monaco-editor/esm/vs/platform/log/common/log.js' (possible exports: AbstractLogger, CONTEXT_LOG_LEVEL, ConsoleLogger, DEFAULT_LOG_LEVEL, ILogService, LogLevel, LogLevelToString, MultiplexLogger)

ERROR in ./node_modules/vscode/dist/vscode-services/extHost.js 375:38-45
export 'Barrier' (imported as 'Barrier') was not found in 'monaco-editor/esm/vs/base/common/async.js' (possible exports: AsyncIterableObject, CancelableAsyncIterableObject, DeferredPromise, Delayer, IdleValue, IntervalTimer, Promises, RunOnceScheduler, ThrottledDelayer, Throttler, TimeoutTimer, createCancelableAsyncIterable, createCancelablePromise, disposableTimeout, first, isThenable, raceCancellation, runWhenIdle, timeout)

ERROR in ./node_modules/vscode/dist/vscode-services/missing-services.js 8:0-102
Module not found: Error: Can't resolve 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js' in '/homedir/swagger-editor/node_modules/vscode/dist/vscode-services'

ERROR in ./node_modules/vscode/dist/vscode-services/missing-services.js 15:0-97
Module not found: Error: Can't resolve 'monaco-editor/esm/vs/platform/product/common/productService.js' in '/homedir/swagger-editor/node_modules/vscode/dist/vscode-services'

ERROR in ./node_modules/vscode/dist/vscode-services/missing-services.js 34:0-115
Module not found: Error: Can't resolve 'monaco-editor/esm/vs/platform/userDataProfile/common/userDataProfile.js' in '/homedir/swagger-editor/node_modules/vscode/dist/vscode-services'

ERROR in ./node_modules/vscode/dist/vscode-services/missing-services.js 130:32-53
export 'AbstractLoggerService' (imported as 'AbstractLoggerService') was not found in 'monaco-editor/esm/vs/platform/log/common/log.js' (possible exports: AbstractLogger, CONTEXT_LOG_LEVEL, ConsoleLogger, DEFAULT_LOG_LEVEL, ILogService, LogLevel, LogLevelToString, MultiplexLogger)

I have the feeling the treemending script wasn't applied!
see https://github.com/CodinGame/monaco-vscode-api#installation

Running script and testing. Thanks!
Can I ask what does the monaco-treemending does?

We're still open for better options though, feel free to suggest ideas (:

It's more than fine with me.
The project now compiles successfully, I'm just getting runtime error:
Error: Extension api not initialized
    at getExtHostServices (extHost.js:383:1)

I'm doing the following:
import { languages as vscodeLanguages } from 'vscode';

vscodeLanguages.setLanguageConfiguration(apidom.languageId, apidom.conf);

you need to call and wait for initialize from vscode/extensions before interacting with the api

onExtHostInitialized helped. Thanks!

repo: CodinGame/monaco-vscode-api


text:
Centralise getting the time

Will fix the difference between clocks (Some say 0 instead of 12).
These time functions should probably return a number so individual clocks can pad with zeros if necessary.

Well, give #34 and #35 we should probably have some discussion...
How slow are the hour(), minute() and second() functions - would it be more beneficial to pre-calculate them in the outer animate function and just store them in global variables?

I'm not really sure how slow they are. I looked inside the implemetation an it seems they just return new Date().getHours() and so on.

Looked in the performance chrome tools, and judging by that it's about 0.4% of the time in those calls - so it's probably not worth bothering? I'd be tempted to merge #34 in that case - mostly because it was in first, but suggestions welcome.

Well #34 and #35 don't interfere with each other. #35 just adds a new function while #34 changes the implementation of the clocks.

That's true - but #35's new function is entirely unused unless we go and change all of the instances updated in #34! I could just merge both and then if someone updates the clocks then so be it..

That's also true. Do as you please. I don't mind if you dont merge my PR :blush:

authors: meiamsome waielal


text:
readme with Processing version link

Hey! I've made a quick and simple Processing version of the original P5Js/Javascript.
If you like it, please feel free to include the link in your repo.

Awesome! If it's a literal translation of the code, I'm also happy to have it added to this repo (I try to maintain Processing and p5 versions of all the challenges as much as possible.)

My Pleasure
Yes, I think it can be considered a literal translation of the original code.
Have a great day!
P.s. Few weeks ago I also made an implementation for coding challenge 56
https://github.com/SetupandDraw/Learning-various-things-in-javascript/tree/master/Magnets https://github.com/SetupandDraw/Learning-various-things-in-javascript/tree/master/Magnets
you should have a pull request on the redeem file. (I hope, I am new to GitHub! ;P ).

Il giorno 05 apr 2017, alle ore 20:52, Daniel Shiffman notifications@github.com ha scritto:
Awesome! If it's a literal translation of the code, I'm also happy to have it added to this repo (I try to maintain Processing and p5 versions of all the challenges as much as possible.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/CodingTrain/Rainbow-Code/pull/135#issuecomment-291959963, or mute the thread https://github.com/notifications/unsubscribe-auth/AM5TQWfJvLhAAzlvmniyeC9W69MncLM_ks5rs-LrgaJpZM4M0qSa.

authors: SetupandDraw shiffman

repo: CodingTrain/Rainbow-Code


text:
Showcase Submission for challenges/85-the-game-of-life

Thank you mind0bender for your contribution! A member of the Coding Train team will review it shortly.

Life's Game
mind0bender

I merge #1176 I think this is a duplicate. If I missed something let me know!


text:
🔥[FEAT]-#4- oauth 로그인

ISSUES

#4
PR 목적
회원의 로그인과 관련된 커밋이다.
프런트에서 인증된 oauth에 대해서

db에 해당 회원이 있는지 확인
있다면 jwt 생성 후 반환
없다면 디비에 정보 삽입 후 jwt 반환

참고 사항
oauth 의 실제적 인증은 프런트에서 작업한다.

커밋을 부분부분 쪼개서 해도 될듯?
너무 한번에 올려보냈다.

repo: CodingWasabi/TRTI-BE


text:
Update suggestion content in pr_code_suggestions_prompts.toml

Type
enhancement

Description

Updated the suggestion content in pr_code_suggestions_prompts.toml to make it more generic and applicable in a wider range of contexts.

Changes walkthrough
Relevant filesEnhancement

pr_code_suggestions_prompts.tomlUpdate Suggestion Content for Better Flexibility

pr_agent/settings/pr_code_suggestions_prompts.toml

Updated the suggestion_content for func1() to be more generic.

+1/-1

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/review auto_approve

repo: Codium-ai/pr-agent


text:
Do not revert to dynamic switching with external display via eGPU

I have an eGPU to work around MacBook Pro CPU performance issues with external displays. But gSwitch still tells me an external display is connected, and forces me back to dynamic switching mode.
I do not want ANYTHING to use the dGPU. The eGPU is running the external monitor. I want all apps to use either the iGPU or eGPU. Ideally, the dGPU should draw 0W power.
With the internal display as primary, newly launched apps still default to the dGPU unless I explicitly set them to "Prefer External GPU" (via "Get Info" on the app icon). Even when I force all apps to prefer eGPU, _windowserver still runs on the dGPU (and eGPU, but not iGPU), and it still draws ~5W.
The docs say:

Why does the app go back to dynamic switching when a display is plugged in?
Unfortunately your mac is designed such that in order to use an external display, it has to use the discrete graphics card. And since you plugged in the cable I’m assuming you want to use the display.

Could you update gSwitch to not make that assumption when an eGPU is connected?

No, unfortunately this is an artificial limitation by apple done at the hardware level, there is nothing I can do about it.

Even though the display is connected to the eGPU, and not connected to the MBP? Bummer. I knew it was not possible when connected to the MBP, but the whole point of the eGPU is to bypass the dGPU.

authors: CodySchrank mrmachine

repo: CodySchrank/gSwitch


text:
issue：the extension does not work when vscode work in 'Remote -SSH ' mode

vscode info:
Version: 1.39.1 (user setup)
Commit: 88f15d17dca836346e787762685a40bb5cce75a8
Date: 2019-10-10T23:31:28.683Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17763

remote machine: Ubuntu 18.04

I have a similar issue.
Code says "Extension is enabled locally and disabled on 'SSH: *snip*", but I can't enable the extension in the remote machine.
Remote OS: Ubuntu 18.04

I forced this extension to run remotely, and the output indicated failure to find vscode-textmate on the remote server.
[2020-01-05 18:15:42.979] [exthost] [error] Activating extension CoenraadS.bracket-pair-colorizer-2 failed due to an error:
[2020-01-05 18:15:42.981] [exthost] [error] Error: Cannot find module '/home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/node_modules.asar/vscode-textmate'
Require stack:
- /home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/textMateLoader.js
- /home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/settings.js
- /home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/documentDecorationManager.js
- /home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/extension.js
- /home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/loader.js
- /home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/bootstrap-amd.js
- /home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/bootstrap-fork.js
	at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
	at Function.Module._load (internal/modules/cjs/loader.js:527:27)
	at Function.t._load (/home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/server/remoteExtensionHostProcess.js:844:268)
	at Function.n._load (/home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/server/remoteExtensionHostProcess.js:814:264)
	at Function.i._load (/home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/server/remoteExtensionHostProcess.js:810:704)
	at Module.require (internal/modules/cjs/loader.js:681:19)
	at require (internal/modules/cjs/helpers.js:16:16)
	at TextMateLoader.getNodeModule (/home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/textMateLoader.js:98:16)
	at TextMateLoader.loadTextMate (/home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/textMateLoader.js:101:21)
	at new TextMateLoader (/home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/textMateLoader.js:18:27)
	at new Settings (/home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/settings.js:10:31)
	at new DocumentDecorationManager (/home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/documentDecorationManager.js:9:25)
	at activate (/home/ec2-user/.vscode-server-insiders/extensions/coenraads.bracket-pair-colorizer-2-0.0.29/out/src/extension.js:6:37)
	at Function._callActivateOptional (/home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/server/remoteExtensionHostProcess.js:720:141)
	at Function._callActivate (/home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/server/remoteExtensionHostProcess.js:719:810)
	at /home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/out/vs/server/remoteExtensionHostProcess.js:718:960
	at processTicksAndRejections (internal/process/task_queues.js:89:5)
	at async Promise.all (index 6)

I further experimented with installing vscode-textmate on /home/ec2-user/node_modules/, then symlinked it as /home/ec2-user/.vscode-server-insiders/bin/7c0095ee2d064033fc13184127a9adc603454729/node_modules.asar/. This will remove the above error message, but still no bracket colorizations.

Same here, @CoenraadS any chance you could fix this?

Still have the same issue with v0.2.0 on remote-SSH.

Still have the same issue with v0.2.0 on remote-SSH.

I will accept a PR for this

I will accept a PR for this

@CoenraadS we (the code team) are also interested in this support. We will start to look into this in one of the next iterations. However, it is not fully clear yet that this can be fully achieved in a PR and might need some additional support from the VS Code core.

@CoenraadS we (the code team) are also interested in this support. We will start to look into this in one of the next iterations. However, it is not fully clear yet that this can be fully achieved in a PR and might need some additional support from the VS Code core.

authors: CoenraadS ShuhuaGao Stanzilla egamma tats-u verdimrc zhweiGuo


text:
How to add intermediate targets before reaching goals?

Hello, very nice environment for MAPF!
I'm current training agents to collect several intermediate targets(waypoints) collaboratively before they arrive targets.
Is there any possibility/interest to support this kind of setup?
I can make a pull request if available.

Hi! I think you’re referring to anonymous MAPF, where any agent can complete any target.  It would be a great contribution to POGEMA, and I’d be glad to help with integrating this code.
However, I don’t think it’s a good idea to mix it with classic MAPF. That said, I’m open to discussion.

authors: MA-Wenhui Tviskaron

repo: CognitiveAISystems/pogema


text:
[PROJECT PROPOSAL] Object detection for self driving cars

Project Request
Object detection for self-driving cars

Object detection for autonomous vehicles like self driving cars

Field
Description

About
Object detection for autonomous vehicles like self driving cars using YOLO algorithm

Github
reshma045

Email
reshmareshu045@gmail.com

Label
Project Request

 https://github.com/reshma045

Define You

[Yes ] GSSOC Participant
[ Yes] Contributor

Project Name
Object Detection for self driving cars
Description
Using YOLO models to detect objects such as Pedestrians, Vehicles, traffic signals, Lanes etc.

Timeline
Start date - Assigned day
End date - End of June

Kindly assign this issue to me. I want to contribute to this

Hi @Maaitrayo . Definitely. I would like to work with you.

sounds good !

hi @reshma045 , can we discuss your project idea ? after that we can start contributing

Kindly mention your email @Maaitrayo

Kindly fix the template mention your full name @reshma045

hi @miraj0507, may I know where to add my full name?

@miraj0507 my email is :
dasmaaitrayo@gmail.com

repo: CognitiveLab-tech/World-of-AI


text:
Compound objects and item page refresh

Adds compound objects options for "compound_object" and "multiple" display template, as well as "panorama" option.

I would like to swap out object examples with public domain items

@owikle you want to sign off your approval? then I'll merge the thing!

@owikle did you want to add your updated compound metadata?

I am merging this so we can finally start working on other stuff!!

@evanwill can't believe you merged this. I had dibs. See https://github.com/CollectionBuilder/collectionbuilder-csv/pull/36#issuecomment-1540909552
I HAD DIBS!!!

eh. I had work to do on it, sick of waiting!

p.s. @dcnb you could always go finish up the cb-docs documentation and merge that if you need that excitement!

authors: dcnb evanwill

repo: CollectionBuilder/collectionbuilder-csv


text:
2384 add intern role in the portal

Targets #{2384}
Description
Adding new role Intern in the portal
Checklist:

[x] I have performed a self-review of my own code.

@brajesh-lab Also the CI checks are failing please fix them

repo: ColoredCow/portal


text:
Revert "Feature/3020/creating seeder"

Reverts ColoredCow/portal#3036

Self reviewed.


text:
Added Blog Article

Inserted blog article into blog.json as an update for the Open Source Office.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


text:
Fixes bugs around getting the version.

Version_Get in lib-ci would always create a new version
number. Unfortunately, in some builds it is used multiple times causing
several different version numbers to be used.
This moves the version creation part in the setup-version.sh script,
which supports for sbt and txt mode. It creates a CI version file
that is then used by Version_Get to always return the same version
number.
This closes #35.

Coverage decreased (-1.2%) to 72.877% when pulling bfd3b3098918143e856e30d2e8d225a4982be5ab on version-duplication-fix into a6a90e20f6ecb22caf44ab9b820ba46d61a63583 on master.

Coverage decreased (-1.2%) to 72.877% when pulling bfd3b3098918143e856e30d2e8d225a4982be5ab on version-duplication-fix into a6a90e20f6ecb22caf44ab9b820ba46d61a63583 on master.

Coverage decreased (-1.2%) to 72.877% when pulling 1f4ba228ef305db87047c98445889f9b62ce8e9d on version-duplication-fix into a6a90e20f6ecb22caf44ab9b820ba46d61a63583 on master.

good 👀

authors: coveralls rbuckland stephanh


text:
Audio Clip Normalize Including Effects Chain

In DaVinci Resolve  18.6.2 and the public beta release 19: When you normalize an audio clip, the procedure is including the Effects Chain to assess the audio level.

Firstly, normalize the clip without any effects - note the audio levels and the peak display.
Place a gain-changing plugin, such as a compressor, into the effects chain.
Set the plugin up to significantly reduce the gain.
Run the normalize function again.
Disable the plugin.
Compare the audio clip levels now to before.

You will find the clip gain much higher than before, roughly or exactly equivalent to the gain change in the effects chain.
The effects chain should not be included in the audio clip normalize function.  The function should set audio levels relative to the audio clip before further processing.  This is an industry standard.
To include the effects chain in assessing the level and then applying that back to the clip introduces mayhem.

You can see the result at the input volume for processing for the clip.
Changing effects levels down the line are affecting the input level adjustment.  This is highly improper.

repo: CommandPost/ResolveCafe


text:
chore: update character.py

Retuns -> Returns

Thank you very much for the contribution, but the affected file has been copied from autoascend  (https://github.com/maciej-sypetkowski/autoascend). I do not plan to change any of these files, even a simple comment mistake.
I also would advise against sending the same pull request to the original repo.

authors: CommanderCero eltociear

repo: CommanderCero/NetPlay


text:
Fix copy that causing physical file being reclaimed

When copy a file from src to target, the insert method will use the existing physical file and remove the current file. However, in the case of copying, the current file is equal to existing file. This will cause the physical file being reclaimed. This fix add an 'if' to avoid it.
This pr also include some log changes, and use 'setConsistencyLevel(QUORUM)' to make the reverse map 'update-and-check' more reliable.

LGTM.

repo: Commonjava/path-mapped-storage


text:
Please invite me to the Community Organization

Name
Bilesanmi Faruk
Discord Username (if applicable) E.g John#412
dark.ninja6#4488
Questions & suggestions?
No response

Welcome to the community, @bilefresh 🤩

repo: CommunityPro/support


text:
Feature/add behaviors extension

Description of Change

Adds a new Behaviors extension to VisualElements to allow developers to fluently set Behaviors.
Linked Issues

Fixes #29

PR Checklist

[x] Has a linked Issue, and the Issue has been approved(bug) or Championed (feature/proposal)
[x] Has tests (if omitted, state reason in description)
[x] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard
[ ] Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls/XYZ

Additional information

Sample incoming at some point. I can't seem to build at the moment though, I suspect I need a VS update

Added a very basic settings page to expose this new Behaviors method in a sample. Also removed the AbsoluteLayout page as it wasn't actually accessible in the app and move some of it's logic out to the settings page.
@brminnick let me know your thoughts. I did have to pull a dependency on the toolkit in order to consume a behavior

You can clearly see the environment I tested this on 😄. I am starting to regret using the AbsoluteLayout for this page, I expected laying it out could be painful but I wanted to justify removing the samples page.
Perhaps I should switch to using a Grid and expose some of its related extensions instead or something we don't have a sample for and save AbsoluteLayout for some it is really suited to (I don't know what yet)
Happy to proceed and fix this stuff. Thanks for all the updates/fixes

If you're able to devote the time, I'd love to continue using AbsoluteLayout for SettingsPage 💯
We're already demonstrating the use of Grid with C# Markup Extensions in StoryDataTemplate.
I've found that AbsoluteLayout is a little confusing to learn at first, but it is super powerful once you wrap your mind around it.

Yep I'll happily take a look. It'll help me learn it better 😄

Oh of course this requires docs!!

authors: bijington brminnick


text:
Generic package parameter not generated for all refinements

Given the following spec:
package Protocol is

   type Request is
      message
         Data : Boolean;
      end message;

   type Reply is
      message
         Data : Boolean;
      end message;

   type Tag is (T_REQUEST, T_REPLY) with Size => 8;

   type Transaction is
      message
         Tag  : Tag
            then Data
               with Length => Message'Last - Tag'Last
                  if Tag = T_REQUEST or Tag = T_REPLY;
         Data : Opaque;
      end message;

   for Transaction use (Data => Request) if Tag = T_REQUEST;
   for Transaction use (Data => Reply) if Tag = T_REPLY;

end Protocol;

compilation fails with
   [Ada]          rflx-protocol-contains.ads
rflx-protocol-contains.ads:15:123: actual parameter must be instance of "Generic_Request"
rflx-protocol-contains.ads:15:123: instantiation abandoned
rflx-protocol-generic_contains.ads:61:127: "Protocol_Reply" is undefined (more references follow)
rflx-protocol-generic_contains.ads:72:59: invalid prefix in selected component "Protocol_Reply_Context"
rflx-protocol-generic_contains.ads:73:58: invalid prefix in selected component "Protocol_Reply_Context"
rflx-protocol-generic_contains.ads:74:15: invalid prefix in selected component "Protocol_Reply_Context"
rflx-protocol-generic_contains.ads:75:15: invalid prefix in selected component "Protocol_Reply_Context"
gprbuild: *** compilation phase failed

The reason is that the Generic_Contains package is lacking a generic package parameter for the second refinement. This manual fix compiles:
diff --git a/generated/rflx-protocol-contains.ads b/generated/rflx-protocol-contains.ads
index d67adb2..e644410 100644
--- a/generated/rflx-protocol-contains.ads
+++ b/generated/rflx-protocol-contains.ads
@@ -11,6 +11,5 @@ with RFLX.Protocol.Generic_Contains;
 with RFLX.Types;
 with RFLX.Protocol.Transaction;
 with RFLX.Protocol.Reply;
-with RFLX.Protocol.Request;

-package RFLX.Protocol.Contains is new RFLX.Protocol.Generic_Contains (RFLX.Types, RFLX.Protocol.Transaction, RFLX.Protocol.Request, RFLX.Protocol.Reply);
+package RFLX.Protocol.Contains is new RFLX.Protocol.Generic_Contains (RFLX.Types, RFLX.Protocol.Transaction, RFLX.Protocol.Reply);
diff --git a/generated/rflx-protocol-generic_contains.ads b/generated/rflx-protocol-generic_contains.ads
index f91d7ec..237b9fe 100644
--- a/generated/rflx-protocol-generic_contains.ads
+++ b/generated/rflx-protocol-generic_contains.ads
@@ -17,7 +17,6 @@ generic
    with package Types is new RFLX.Generic_Types (<>);
    with package Protocol_Transaction is new RFLX.Protocol.Generic_Transaction (Types, others => <>);
    with package Protocol_Request is new RFLX.Protocol.Generic_Request (Types, others => <>);
-   with package Protocol_Reply is new RFLX.Protocol.Generic_Reply (Types, others => <>);
 package RFLX.Protocol.Generic_Contains with
   SPARK_Mode
 is

EDIT: The patch is reversed, but the idea should be clear.

I already stumbled across this while working on #186. It is already fixed on my working branch.

authors: senier treiher

repo: Componolit/RecordFlux


text:
[clang-tidy] Vote: General safety checks

This PR adds general safety checks to our .clang-tidy file.

No assert with side effects (Link)
Detect dangling references (Link) -- This is probably project-specific
Don't attempt to access __func__ / __FUNCTION__ inside a lambda (Link)
Find suspicious sizeof expressions (Link)
Find non-header #includes (Link) -- Probably project-specific (for example for allowing *.ipp files)
Warn on probably unwanted string concatenations (Link)
Don't use memset, memcpy and memmove on non trivially copyable objects (Link)
Don't discard the return value of specific functions (Link) -- Probably project-specific
Don't use an object after move (Link)
Don't use new with custom memory alignment unless you provide a suitable overload / placement new (Link)
No non-const global variables (Link)
No uninitialized local variables (Link)
Avoid complex initialization of global objects (Link)
Use gsl::owner<T*> to assign ownership of raw memory (Link)
Don't use non-const integer expressions as array indices (Link)
Don't do pointer arithmetic (Link)
Don't overload operators other than the assignment operator (Link)
Don't create global non-trivial objects with static storage (Link)
Don't overload the unary operator & (Link)
Don't use assembly statements (Link)
Don't use non-extern non-inline function and variable definitions in header files (Link)
Don't overload new without a corresponding delete (and vice versa) (Link)
Don't dereference / copy-by-value FILE* and pthread_mutex_t objects (Link)
Find redundant expressions (Link)
Wherever possible, prefer static_assert over assert (Link)

Voting will close on Friday, 11 June 2021, 18:00 HZDR time.
Vote template
Check | Yes | No | Comment
------|-----|----|--------
No `assert` with side effects | X | X | X
Detect dangling references | X | X | X
Don't access function name inside lambda | X | X | X
Find suspicious `sizeof` | X | X | X
Find non-header `#include`s | X | X | X
No accidental string concats | X | X | X
No `memset` et al. for non-trivial objects | X | X | X
Don't discard return value of specific functions | X | X | X
Don't use after `move` | X | X | X
No standard `new` for custom memory alignment | X | X | X
No non-`const` global vars | X | X | X
No uninitialized local vars | X | X | X
No complex initialization for global objects | X | X | X
Use `gsl::owner<T*>` for raw memory | X | X | X
No non-`const` array indices | X | X | X
No pointer arithmetic | X | X | X
No overloaded operators other than `=` | X | X | X
No non-trivial objects with `static` storage duration | X | X | X
Don't overload unary `&` | X | X | X
No assembly statements | X | X | X
No non-`extern` non-`inline` function / variable definitions in header files | X | X | X
No overloaded `new` without overloaded `delete` | X | X | X
Don't dereference / copy-by-value `FILE*` and `pthread_mutex_t` | X | X | X
Find redundant expressions | X | X | X
Prefer `static_assert` over `assert` | X | X | X

Vote

Check
Yes
No
Comment

No assert with side effects
1
0

Detect dangling references
1
0

Don't access function name inside lambda
1
0

Find suspicious sizeof
1
0

Find non-header #includes
1
0

No accidental string concats
1
0

No memset et al. for non-trivial objects
1
0

Don't discard return value of specific functions
0
1
We have [[nodiscard]] in C++17

Don't use after move
1
0

No standard new for custom memory alignment
1
0

No non-const global vars
0
1
Not entirely certain here, leaning towards no

No uninitialized local vars
1
0

No complex initialization for global objects
1
0

Use gsl::owner<T*> for raw memory
0
1

No non-const array indices
0
1

No pointer arithmetic
0
1

No overloaded operators other than =
0
1
Leaning towards no but might be persuaded otherwise

No non-trivial objects with static storage duration
0
1

Don't overload unary &
1
0

No assembly statements
1
0

No non-extern non-inline function / variable definitions in header files
1
0

No overloaded new without overloaded delete
1
0

Don't dereference / copy-by-value FILE* and pthread_mutex_t
1
0

Find redundant expressions
1
0

Prefer static_assert over assert
1
0

Check
Yes
No
Comment

No assert with side effects
2
0

Detect dangling references
2
0

Don't access function name inside lambda
2
0

Find suspicious sizeof
2
0

Find non-header #includes
2
0

No accidental string concats
2
0

No memset et al. for non-trivial objects
2
0

Don't discard return value of specific functions
1
1
We have [[nodiscard]] in C++17. Sure, but adding one more check does not hurt

Don't use after move
2
0

No standard new for custom memory alignment
2
0
That one could hit me in LLAMA though. I would have to see.

No non-const global vars
0
2
Not entirely certain here, leaning towards no

No uninitialized local vars
2
0
There are rare cases, where this can be a performance degradation, but then we can use a // NOLINT

No complex initialization for global objects
2
0

Use gsl::owner<T*> for raw memory
0
2

No non-const array indices
0
2

No pointer arithmetic
0
2

No overloaded operators other than =
0
2
Leaning towards no but might be persuaded otherwise

No non-trivial objects with static storage duration
0
2

Don't overload unary &
2
0

No assembly statements
1
1
I would not forbid it per se. I think Rene uses PTX assembly.

No non-extern non-inline function / variable definitions in header files
2
0

No overloaded new without overloaded delete
2
0

Don't dereference / copy-by-value FILE* and pthread_mutex_t
2
0

Find redundant expressions
2
0

Prefer static_assert over assert
2
0

Check
Yes
No
Comment

No assert with side effects
3
0

Detect dangling references
3
0

Don't access function name inside lambda
3
0

Find suspicious sizeof
3
0

Find non-header #includes
3
0

No accidental string concats
3
0

No memset et al. for non-trivial objects
3
0

Don't discard return value of specific functions
2
1

Don't use after move
3
0

No standard new for custom memory alignment
2
0

No non-const global vars
1
2
global variables have a really strange behavior -> I like the idea to get a warning until the point I say: "Yes, I really sure and therefore I disable the check for this variable."

No uninitialized local vars
3
0

No complex initialization for global objects
3
0

Use gsl::owner<T*> for raw memory
0
3

No non-const array indices
0
2
I thought, gcc fails if you try this?

No pointer arithmetic
0
3

No overloaded operators other than =
0
3

No non-trivial objects with static storage duration
0
3

Don't overload unary &
3
0

No assembly statements
1
2
I think everybody who writes assembler in C++ knows about the dangers

No non-extern non-inline function / variable definitions in header files
3
0

No overloaded new without overloaded delete
3
0

Don't dereference / copy-by-value FILE* and pthread_mutex_t
3
0

Find redundant expressions
3
0

Prefer static_assert over assert
3
0

Check
Yes
No
Comment

No assert with side effects
4
0

Detect dangling references
4
0

Don't access function name inside lambda
4
0

Find suspicious sizeof
4
0

Find non-header #includes
4
0

No accidental string concats
4
0

No memset et al. for non-trivial objects
4
0

Don't discard return value of specific functions
2
1

Don't use after move
4
0

No standard new for custom memory alignment
3
0

No non-const global vars
1
3

No uninitialized local vars
3
1
Of course, almost all should be initialized and compilers already warn about not doing it. But idk if this should be a style requirement

No complex initialization for global objects
4
0

Use gsl::owner<T*> for raw memory
0
4

No non-const array indices
0
3

No pointer arithmetic
0
4

No overloaded operators other than =
0
4

No non-trivial objects with static storage duration
0
4

Don't overload unary &
4
0

No assembly statements
1
2

No non-extern non-inline function / variable definitions in header files
4
0

No overloaded new without overloaded delete
4
0

Don't dereference / copy-by-value FILE* and pthread_mutex_t
4
0

Find redundant expressions
4
0

Prefer static_assert over assert
4
0

Ready to merge.

authors: SimeonEhrig bernhardmgruber j-stephan sbastrakov


text:
set a active element

Is it possible to set a active element in the navigation to preopen the navigation?

Any update to this?  I would also be interested in this answer!

repo: ComputerWolf/SlickNav


text:
Update 8.c

Added the curly braces for the "for" loop

Its not required......I think.

It isn't required. The code still works

authors: TEJASVISJAIN raghavTinker


text:
Buggy Alert on Baking

When I start another baking after stopped one, this below message has came on the client, pass is correct, but still baking started even though the alert.
Baker ID is 839
Oops, something went wrong: Unexpected HTTP response: 401: "cannot decrypt signing key with index 0: decryption failure: wrong password"

Yes, if you submit the wrong password, then submit the right password, you might still see the error message for a while.

authors: ZaferGraph concordium-admin


text:
Challenge EI3 andrste

I had issues exporting wallet from Android with imported wallet from iOS.
So I had to create a new wallet on Android.
Published issue here: https://github.com/Concordium/Testnet3-Challenges/issues/1655

The reported issue is an actual bug found. The submission will be accepted.

confirmed:EI3

authors: andrste concordium-admin supermario


text:
Create ID1 hknnr

addresses:
Real : 3AnSuw1wjZWAnwMPhvLFAr6ZmCkGcKaJvevYvNaGYBsJw5mvCr
Fake1 : 3GpNaJoacQjTntnbVi25iKjzVNbGfSoUZowqphrakBrftS1Nvv
Fake2: 4sF8ndLcMVk5jbrGoDax9cQAusTG54wKRKSUotVVp3srEQXxQq
submit public data attribute(s): ALL
Device make and model and OS version:
Samsung S9 SM-G950U1

confirmed:ID1
account1:3GpNaJoacQjTntnbVi25iKjzVNbGfSoUZowqphrakBrftS1Nvv
account2:4sF8ndLcMVk5jbrGoDax9cQAusTG54wKRKSUotVVp3srEQXxQq

authors: cryptovoyagr hknnr


text:
challec

Baker ID: 1165

confirmed:B1
node:f831ab99788ead80

confirmed:ID1
account1:3obtF7qUPBVZABXAoMWEan2uDNPWwLiL8q6BERxLDNXfidNKRi
account2:4XE4fysx2Frt3zynV7tG9fvXuM7Q2gTJWjA6aqmuByk28ngfRE

confirmed:EI6

confirmed:EI6

It appears many of your submissions have duplicates which confused us. Given I've found standalone submissions for all the other items, I've untagged everything, and removed prior comments. We will review your individual submissions instead.

It appears many of your submissions have duplicates which confused us. Given I've found standalone submissions for all the other items, I've untagged everything, and removed prior comments. We will review your individual submissions instead.

authors: alevoncel cryptovoyagr supermario


text:
hashcode for tuples incorrectly implemented

conc> [(4, 5), (8,7)]^hashCode()
$8 ==> [0, 0]

The above seems exceptionally unlikely, check implementation of hashcode

Currently resolved in  next-release branch, pending push to head

repo: Concurnas/Concurnas


text:
Kangaroo for kafka 0.8 doesnt work

Hi, I tried to implement the kangaroo in kafka 0.8.2.2, it seems not working.
When I tried to debug it, it cannot find the partitions. But I am sure, I have set it up correctly.
Configuration conf = getConf();
        //initializeConfig(conf);
        // Create a new job
        final Job job = Job.getInstance(conf, "TestMr");
        job.setJarByClass(App.class);

// Set the InputFormat
job.setInputFormatClass(KafkaInputFormat.class);
job.setOutputKeyClass(Text.class);
job.setOutputValueClass(BytesWritable.class);
job.setMapperClass(KafkaMapper.class);
job.setReducerClass(DnaReducer.class);
FileSystem hdfs = FileSystem.get(conf);
job.setNumReduceTasks(1000);
if (hdfs.exists(new Path("out")))
hdfs.delete(new Path("out"), true);
// Set your Zookeeper connection string
KafkaInputFormat.setZkConnect(job, "place_holder_for_kafka_server:2181");
// Set the topic you want to consume
KafkaInputFormat.setZkRoot(job, "/");
KafkaInputFormat.setTopic(job, "topic");
//KafkaInputFormat.setMaxSplitsPerPartition(job, 5);
// Set the consumer group associated with this job
KafkaInputFormat.setConsumerGroup(job, "mygroup");
FileOutputFormat.setOutputPath(job, new Path("out"));
// Set the mapper that will consume the data
// (Optional) Only commit offsets if the job is successful
if (job.waitForCompletion(true)) {
final ZkUtils zk = new ZkUtils(job.getConfiguration());
zk.commit("mygroup", "topic");
zk.close();
}
}
catch (Exception ex)
{
ex.printStackTrace();
}
when I implement the MR, there is no error, and it seems cannot find any partition from kafka.

Hello @jiang01yi,
Have you managed to get kangaroo working with kafka 0.8.2.2?
I got the same issue.
Best

repo: Conductor/kangaroo


text:
Fix: don't count stroageLimit into total tx fee

This change is

Builds ready [6cf0d3e]builds: chrome, firefox, opera
bundle viz: background, ui, inpage, contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifactsPage Load Metrics (370 ± 217 ms)PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)ChromeNotificationfirstPaint4575601014domContentLoaded264674367157218load269675370156217domInteractive264674366157218

authors: ConfluxBot yqrashawn

repo: Conflux-Chain/conflux-portal


text:
style(globalstyle): modity the unit of gap to rem

Checklist

[x] Fix linting errors
[x] Tests have been added / updated (or snapshots)

Change information

:tada: This PR is included in version 2.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: ConfluxBot zctocm

repo: Conflux-Chain/react-ui


text:
Need another pairing level for WebOSTVService

webOS has three levels of permission: Open, Protected, and Secure (Personal Activity). Open does not need pairing process but Protected and Secure need pairing process for user to confirm the permission. Although Protected does not ask user's confirmation if there is pairing information, Secure always needs it. To support this different behaviors according to permission level, more various pairing level is needed. Now it only has OFF and ON.

Merged in master.

repo: ConnectSDK/Connect-SDK-Android-Core


text:
Can you make peer to peer call example this is not working for me in latest version of flutter.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@maheshbhattaraai please share here the output for command flutter doctor

Its working now. But we call from the website(one user) to mobile app(another user) call can not be initiated .

authors: TatankaConCube maheshbhattaraai


text:
The benchmark between Plonk and Groth16 problem

I'm wondering if the PLONK implementation has a optimization space.
This is a benchmark result from AZTEC Team.

MiMC Winner: PLONK
TurboPLONK performs at extraordinary speed on MiMC, outpacing even Groth16 by a factor of ~2.5x

We can see that PLONK perforrms better when proving a MiMC hash circuit.
However, in the current implementation of this repo, I obtain the result on the contrary. The benchmark displays that Groth16 has a better performance.
Have I made a mistake?
Here is the result:

And here is the benchmark I run:
type MimcHashCircuit struct {
	PreImage  frontend.Variable
	HashValue frontend.Variable `gnark:",public"`
}

// Define hashValue = mimc(preImage)
func (circuit *MimcHashCircuit) Define(api frontend.API) error {
	// hash function
	_mimc, _ := mimc.NewMiMC(api)
	_mimc.Write(circuit.PreImage)
	api.AssertIsEqual(circuit.HashValue, _mimc.Sum())
	return nil
}

func Benchmark_MimcHashGrot16Circuit(b *testing.B) {
	var circuit MimcHashCircuit
	// compile to get r1cs
	_r1cs, _ := frontend.Compile(ecc.BN254, r1cs.NewBuilder, &circuit)

	// Setup
	pk, _, _ := groth16.Setup(_r1cs)

	// Prove
	b.ResetTimer()
	validWitness, _ := frontend.NewWitness(&MimcHashCircuit{
		PreImage:  frontend.Variable("16130099170765464552823636852555369511329944820189892919423002775646948828469"),
		HashValue: frontend.Variable("8674594860895598770446879254410848023850744751986836044725552747672873438975"),
	}, ecc.BN254)
	_, _ = groth16.Prove(_r1cs, pk, validWitness)
	b.StopTimer()
}

func Benchmark_MimcHashPlonkCircuit(b *testing.B) {
	var circuit MimcHashCircuit
	// compile to get r1cs
	_ccs, _ := frontend.Compile(ecc.BN254, scs.NewBuilder, &circuit)

	// Setup
	_r1cs := _ccs.(*cs.SparseR1CS)
	srs, _ := test.NewKZGSRS(_r1cs)
	pk, _, _ := plonk.Setup(_ccs, srs)

	// Prove
	b.ResetTimer()
	validWitness, _ := frontend.NewWitness(&MimcHashCircuit{
		PreImage:  frontend.Variable("16130099170765464552823636852555369511329944820189892919423002775646948828469"),
		HashValue: frontend.Variable("8674594860895598770446879254410848023850744751986836044725552747672873438975"),
	}, ecc.BN254)
	_, _ = plonk.Prove(_r1cs, pk, validWitness)
	b.StopTimer()
}

Hi -- so, PlonK implemented in gnark is "as in the paper". The one you reference is "TurboPLONK". There are couple of work that did build upon PlonK the past year or so (TurboPlonk, UltraPlonk, and recently HyperPlonk).
On a "vanilla plonk" circuit, Groth16 will always outperform Plonk prover.

(also, it is hard to benchmark across implementation and proof system :-) )

Thank you!

authors: LBruyne gbotrel

repo: ConsenSys/gnark


text:
feat: add ECDSA signature verification

Initial PR for discussion. If the API looks OK, will add documentation and merge for now.
This PR implements also emulated short-Weierstrass package, which for now assumes the special case for secp256k1 (a4=0), but in general can be generalised to any a4. I didn't want to do it now because then we would need to have more parameters etc. and I didn't want to eagerly generalise.
A few things to do before merge:

[x] this PR is slightly larger and contains other fixes to field emulation. Should we separate this into three - this, emulated SW and field emulation bugs?
[x] add package documentation and code examples
[ ] add ECRecover?
[x] i'm leaking the internal implementation of the field emulation package by type asserting frontend.Variable to emulated.Element[T]. I think long-term would be better to have something which returns actual types not empty interface.

This implementation right now is very heavy and requires 3.7M constraints without range checks, but I think it is a good base for optimisation. There are several optimisation options:

implement separate variable and base point scalar mul. Base point scalar mul can take advantage of huge precomputation tables + lookups.
variable point scalar multiplication requires building lookup tables per-point. For a single signature this allows to implement windowed scalar multiplication and reduce the cost several times. See https://0xparc.org/blog/zk-ecdsa-2.
0xPARC blog describes an interesting idea for checking only a random linear combination of signatures. This would require applying Fiat-Shamir and a lot of hashing, but may probably be more efficient than point operations.
When we combine two lookup tables, then can build window over two scalars at a time for ECDSA.

DRAFT: should be merged after #395.

@yelhousni can you do a review of that one before merge?

Merged develop and fixed conflicts. It is good to merge from my side.
@yelhousni said that will post optimisations in separate PR.

@yelhousni should we merge now or wait for replacing the external dependency for out-of-circuit ecdsa with latest gnark-crypto ?

@yelhousni should we merge now or wait for replacing the external dependency for out-of-circuit ecdsa with latest gnark-crypto ?

To do so we have to wait for https://github.com/ConsenSys/gnark-crypto/pull/310 to be merged I guess. So either we wait or we merge this and follow with a quick PR for the dependency.

authors: gbotrel ivokub yelhousni


text:
Incorrect Bug Reports

Description
Mythril reports the wrong locations of the alarms regardless of its type.
(similar to the previous bug report - https://github.com/ConsenSys/mythril/issues/376).
Before I actually run Mythril, I deleted all the comments first and tested the file.
How to Reproduce
I used the docker environment as I failed to install Mythril on my computer.
The command:
sudo docker run $(pwd):/tmp mythril/myth -x /tmp/file.sol
The file.sol is the source code in:
https://etherscan.io/address/0xa646e29877d52b9e2de457eca09c724ff16d0a2b#code
The report is as follows:
==== Integer Overflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0xa0e67e2b
PC address: 1358
A possible integer overflow exists in the function `_function_0xa0e67e2b`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: /tmp/44.sol:259

function getOwners()
        public
        constant
        returns (address[])
    {
        return owners;
    }

--------------------

==== Integer Overflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0xa8abe69a
PC address: 1522
A possible integer overflow exists in the function `_function_0xa8abe69a`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: /tmp/44.sol:285

function getTransactionIds(uint from, uint to, bool pending, bool executed)
        public
        constant
        returns (uint[] _transactionIds)
    {
        uint[] memory transactionIdsTemp = new uint[](transactionCount);
        uint count = 0;
        uint i;
        for (i=0; i<transactionCount; i++)
            if (   pending && !transactions[i].executed
                || executed && transactions[i].executed)
            {
                transactionIdsTemp[count] = i;
                count += 1;
            }
        _transactionIds = new uint[](to - from);
        for (i=from; i<to; i++)
            _transactionIds[i - from] = transactionIdsTemp[i];
    }

--------------------

==== Integer Overflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0xb5dc40c3
PC address: 1652
A possible integer overflow exists in the function `_function_0xb5dc40c3`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: /tmp/44.sol:267

function getConfirmations(uint transactionId)
        public
        constant
        returns (address[] _confirmations)
    {
        address[] memory confirmationsTemp = new address[](owners.length);
        uint count = 0;
        uint i;
        for (i=0; i<owners.length; i++)
            if (confirmations[transactionId][owners[i]]) {
                confirmationsTemp[count] = owners[i];
                count += 1;
            }
        _confirmations = new address[](count);
        for (i=0; i<count; i++)
            _confirmations[i] = confirmationsTemp[i];
    }

--------------------

==== Exception state ====
Type: Informational
Contract: MultiSigWallet
Function name: _function_0x025e7c27
PC address: 2249
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: /tmp/44.sol:20

address[] public owners

--------------------

==== Integer Underflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0x173825d9
PC address: 2548
A possible integer underflow exists in the function `_function_0x173825d9`.
The subtraction may result in a value < 0.
--------------------
In file: /tmp/44.sol:126

owners.length - 1

--------------------

==== Exception state ====
Type: Informational
Contract: MultiSigWallet
Function name: _function_0x173825d9
PC address: 2592
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: /tmp/44.sol:127

owners[i]

--------------------

==== Integer Overflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0x7065cb48
PC address: 3801
A possible integer overflow exists in the function `_function_0x7065cb48`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: /tmp/44.sol:113

owners.length + 1

--------------------

==== Integer Overflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0xa0e67e2b
PC address: 4835
A possible integer overflow exists in the function `_function_0xa0e67e2b`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: /tmp/44.sol:264

return owners

--------------------

==== Integer Overflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0xa0e67e2b
PC address: 4837
A possible integer overflow exists in the function `_function_0xa0e67e2b`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: /tmp/44.sol:264

return owners

--------------------

==== Integer Underflow ====
Type: Warning
Contract: MultiSigWallet
Function name: _function_0xa8abe69a
PC address: 5163
A possible integer underflow exists in the function `_function_0xa8abe69a`.
The subtraction may result in a value < 0.
--------------------
In file: /tmp/44.sol:300

to - from

--------------------

==== Exception state ====
Type: Informational
Contract: MultiSigWallet
Function name: _function_0xa8abe69a
PC address: 5237
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: /tmp/44.sol:302

transactionIdsTemp[i]

--------------------

As you can see, some of the alarms show the function itself(not a line).
The line number it reports even indicates the start line of the function.
Expected behavior
At least, the report points out the line number which can trigger the bug, not a whole function.
Environment

Mythril version: For Mythril, I used the docker version.
OS: Ubuntu 16.04.5 LTS

This seems to be caused by return values which are arrays which internally does some additions,(probably raising a false positive,not yet verified).
We can just assume that the entire contract is shown when the issue is raised in the return statement or the parameters, As thats how it looks.
Also any mapping on the function return statement seems to show the entire function mapping,That should be fixed.

Thanks for the reply.
I enjoy using this tool, and i hope it gets better and better

Hey @audxo14 , most of the problems in here are fixed in the latest version so I am closing the issue,  unfortunately the constructor mentioned in the issue seems to revert, as thats a different issue it is being addressed in here #920 .

repo: ConsenSys/mythril-classic


text:
Version change from 5.0.0 to 5.0.1

Changes

[X] Changed package version to 5.0.1.

Pending release references

Export type AST from root and the entry point to parse type strings with explicit context (#37)

Regards.

Codecov Report

Merging #38 (3f9d1fe) into master (291e558) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   91.99%   91.99%
=======================================
  Files         239      239
  Lines        4711     4711
  Branches      717      717
=======================================
  Hits         4334     4334
  Misses        232      232
  Partials      145      145

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 291e558...3f9d1fe. Read the comment docs.

repo: ConsenSys/solc-typed-ast


text:
Delete lockfiles in our stop code

We currently delete keystore lockfiles when the VM exits, but in the future, we should be able to support running multiple Teku's in one process, so a better approach would be to hook in a delete call for the lock files in our stop code.

Seems like it would require too big of a refactor. Putting to icebox for now.

Current code is working really well as it turns out so just going to leave it as is.

authors: ajsutton cemozerr

repo: ConsenSys/teku


text:
check non-canonical block storage when using blinded blocks

While doing database upgrade, I noticed something peculiar...
I have a database I'm updating, and have non-canonical block storage enabled.
While syncing, I get non-canonical blocks added, by the end of the update I seem to have quite a number.
Before turning on blinded block storage there's no non-canonical blocks, and by the end of syncing to get to head, I have a whole bunch, and syncing to get to head should not be importing non-canonical blocks...
I suspect that storeNonCanonicalBlocks is not functioning correctly when in blinded mode currently...

I'm fairly sure the fix is to add a check in the for loop in BlindedKvStoreDatabase.storeNonCanonicalBlocks, but it needs to be tested
        // TODO #5955
        if (finalizedChildToParentMap.containsKey(blockRoot)) {
          continue;
        }

We removed the blinded block support so can close this.

authors: ajsutton rolfyone


text:
Upgrade c-kzg-4844 to v2.0.0

https://github.com/ethereum/c-kzg-4844/releases/tag/v2.0.0

Ah sorry, I think my changes to ckzg's Makefile messed this up 😅 glad you figured it out.

Ah sorry, I think my changes to ckzg's Makefile messed this up 😅 glad you figured it out.

It took me a while haha 😅 but no worries.

authors: StefanBratanov jtraglia


text:
Rethink pagination in search results

Pagination no longer works for me

We should probably simply limit the number of search results and show on a single page. You then need to search to refine what you are looking for. We could add search results as you scroll down or simply show a next button that shows the next results.
Alternative would be to abbreviate with an ellipsis...

Fixed by #47

repo: ContactEngineering/ce-ui


text:
Feature GitHub config

Changelog

Added the necessary configuration for starting with the Github bot
Added encryption of secret files
Added helpful scripts for encrypting and decrypting secrets

/label enhancement

/label good first issue

/remove-label good first issue

/approve

/cat

/label merge

repo: ContainerSolutions/Jeeves