repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
iivchenko/ShogunLib | 174699719 | Title: Inline methods
Question:
username_0: Read answer on [StackOverflow](http://stackoverflow.com/questions/473782/inline-functions-in-c) and decide which methods in ShogunLib should be inline :exclamation:
Answers:
username_0: https://github.com/username_0/ShogunLib/pull/42
Status: Issue closed
|
difi/felles-utility-dotnet | 609947377 | Title: Support for netstandard
Question:
username_0: We need to use this library from a library.
When do you plan to migrate it to netstandard ?
Answers:
username_1: Hi,
Sorry about the late answer. We have now taken a look at this. The next major version (v 4.0.0) is targeted to .netStandard2.0 (#23 ).
Release: https://github.com/difi/felles-utility-dotnet/releases/tag/4.0.0
Nuget:
- https://www.nuget.org/packages/Difi.Felles.Utility/
- https://www.nuget.org/packages/Difi.Felles.Utility.Resources/
Thank you for raising the issue.
Status: Issue closed
username_0: Awesome. Thanks.
Does this mean you will release a netstandard-version of sikker-digital-post-klient-dotnet as well ? |
NCAR/ldcpy | 643355861 | Title: Figure out why diff plots are running so slowly
Question:
username_0: Get a python profiler running to check this
Status: Issue closed
Answers:
username_0: cProfile.run("ldcpy.plot(ds, 'TS', c0='orig', c1='zfpA1.0', metric='std', metric_type='diff')")
relevant output:
234978889 function calls (234151941 primitive calls) in 197.699 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
.....
1 0.000 0.000 195.859 195.859 geoaxes.py:1487(contourf)
.....
https://github.com/SciTools/cartopy/issues/1291
This appears to be an issue with resizing the scale limits inside contourf. This makes sense, because the only difference between the contourf calls in a regular spatial plot and the diff spatial plot is that most of the values are near to zero in a diff plot. The simplest solution, suggested elsewhere online (https://groups.google.com/forum/#!topic/scitools-iris/kuO2cnafrF0), is simply to use pcolormesh instead (issue #53). |
MarcinOrlowski/laravel-api-response-builder | 515675826 | Title: `buildResponse()` should have access to raw message key
Question:
username_0: `buildResponse()` method should deal with localization itself, instead of being provided with final message by `make()`. This would allow anyone to better handle localization or tweak the message creation if for any reason built-in approach is not sufficient w/o need of changing any other method.
Status: Issue closed
Answers:
username_0: Merged into dev branch. I plan to roll out the v6.4 release next week. |
cisco/ChezScheme | 329620447 | Title: exact->inexact not in rnrs?
Question:
username_0: I tried to read up r6rs, and it's in there. I know (import (chezscheme)) would make it right, but I think importing rnrs would brought the procedure into scope. Am I wrong?
Answers:
username_1: In r6rs `exact->inexact` is defined in the r5rs compatibility library, which is not included in the overall `rnrs` library, so you need to import `(rnrs r5rs)`:
```scheme
(library (test)
(export inexact-number->string)
(import (rnrs) (rnrs r5rs))
(define (inexact-number->string x) (number->string (exact->inexact x))))
```
See [Chapter 19: R5RS Compatibility](http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-20.html#node_chap_19) which defines the `(rnrs r5rs (6))` library and [Chapter 15: Composite Library](http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-16.html#node_chap_15), which lists `(rnrs r5rs (6))` as one of the excluded libraries.
Incidentally, the r6rs name for `exact->inexact` is `inexact`, if you'd prefer to use the r6rs naming.
username_0: @username_1 Thanks.
Status: Issue closed
|
crowdresearch/collective | 284215283 | Title: Quantify and benchmark Daemo's benefits to requesters and workers
Question:
username_0: ## Problem
As we have spoken to many potential requesters, we have been repeatedly asked whether Daemo's quality is actually better than AMT. If not, these requesters have no interest in switching. We don't have a direct answer to their question. Likewise, we should be able to answer with confidence: are we actually supporting workers in achieving a living wage?
## Proposal
This strategic proposal is for us to continue focusing on measuring whether Daemo is achieving quality and wage goals. Things we measure become things we optimize, so we have to be careful to align the specific measurements with our long term goals.
We have already initiated some efforts on this, but this strategic proposal is intended to set our course for the next three months and reaffirm our commitment to it. The rough steps in this strategic proposal would be:
- Identify a set of benchmark tasks and test them on AMT and Daemo under different configurations (e.g., qualifications): e.g., #14. As a start, we can draw on tasks we have already used in prior papers and evaluations.
- Analyze the results, and if they aren't as good as we'd like, identify what about Daemo or Boomerang is hurting us, and think through whether we can redesign things to help.
- Ideally, create a dashboard that we can use to monitor these results and cron these tasks to run periodically to give us updated data
- Draw on the recent literature on tracking worker earning rates and see if we can implement a similar wage benchmark for Daemo workers.
- Ideally, add the wage data to the dashboard.
The actual steps may vary and will be reactive to what we find.
### Implications
The short term implications of this proposal are that we would be able to measure whether our efforts are succeeding at achieving high-quality work and a living wage. This seems necessary to attract requesters. Long-term, this proposal will allow us to track how these factors are changing as we grow and have more workers and requesters on the system --- since there's no guarantee the results will be stable as we open to more people.
## Contact
@<NAME> on Slack
<!--- Do not delete this section --->
---
**To officially join in**, add yourself as an assignee to the proposal. **To break consensus**, comment using [this template](https://raw.githubusercontent.com/crowdresearch/collective/master/docs/breaking_consensus). To find out more about this process, read the [how-to](https://github.com/crowdresearch/collective/blob/master/docs/CONTRIBUTING.md). |
mjq11302010044/RRPN_pytorch | 478287373 | Title: 想问下GT_BOX_MARGIN这个值是用来做什么的?
Question:
username_0: RT
Status: Issue closed
Answers:
username_1: 你好,请问你知道GT_BOX_MARGIN这个参数是什么作用吗?为什么要把预测出的宽高除以这个值?
username_2: 可以参见论文《Arbitrary-Oriented Scene Text Detection via Rotation Proposals》的V.Experiments部分,其中的context of the text region,在transforms的randomRotation时候乘过gt_margin,为了让它带有图片上下文信息
username_1: 感谢,明白了 |
swagger-api/swagger-codegen | 151063104 | Title: Replace jMustache with more advanced template engine
Question:
username_0: I am not sure if this topic was already discussed somewhen, I could not find any related topic via search.
Mustache advertises itself as "Logic-less templates" (http://mustache.github.io/) which makes it somehow hard to implement advanced code generators. You need to prepare a lot in the Java backend for type mappings etc. and even then it's some times challenging to get the behavior you'd like to have.
An example: You generate your model classes and have some dedicated JSON conversion functions for the different swagger types. There is no way to make something like:
```
{{#if property.type == "string"}}
property.value = convertToString(jsonValue)
{{/if}}
```
In C# (ASP.net) there is a really nice template engine called Razor which translates the template into a C# class. This means you can utilize all benefits of C# within your templates. In the Java world the equivalent to Razor is Rhythm: http://rythmengine.org/doc/feature Mustache might be simple to learn and write, but I think for code generation an advanced template engine is more suitable.
I would really like to see a more advanced template engine for swagger codegen to utilize all JDK functions and access all model properties as I want them to use.
I am currently working on a C++ codegenerator for our project but struggle a lot with the type conversions since complex types need different serialization than basic types or strings.
Answers:
username_1: @username_0 thanks for the feedback. Can you share a bit more about the issue encountered when implementing the C++ code generator? (I'm sure you aware that swagger codegen already supports 2 C++ generator: qt5 and tizen)
We've already added a lot of boolean flags to mustache template and you can find out more here: https://github.com/swagger-api/swagger-codegen/wiki/Mustache-Template-Variables. Would this help?
For detecting complex type, what about using `{{^primitiveType}}` ?
username_0: I mainly have troubles with aligning the property types of model classes with matching JSON serialization/deserialization methods. Arrays are mapped to `std::vector` other model classes are kept as `std::shared_pointer<ModelType>`. In the code behind I setup the mappings similar like done here: https://github.com/username_3/swagger-codegen/tree/development
The serialization on this repository is far from complete and already requires some "custom objects" being stored as part of the properties and operations. I tried to generate the code without touching the core part of the code generation but failed. A model class can become quite complex like:
```cpp
class MyModel
: public ModelBase
{
private:
std::vector<utiltiy::string_t> m_Strings;
int m_IntValue;
std::shared_pointer<MyModel> m_NestedModel;
std::vector<std::shared_pointer<MyModel>> m_NestedModelVector;
}
```
Since the JSON serialization/deserialization is done manually in cpprestsdk I need to have proper mapping functions which can create and read such types. I managed to get many cases working by using templates, but you can imagine how hard it's to generate a code like the following:
```
void MyModel::fromJson(const web::json::value& value) const
{
//...
m_NestedModelVector.clear();
for(web::json::value& item : value[U("nestedModelVector")])
{
std::shared_pointer<MyModel> model(new MyModel());
model->fromJson(item);
m_NestedModelVector.push_back(item);
}
//...
}
```
The type of m_NestedModelVector is arleady the full `std::vector<std::shared_pointer<MyModel>>` it's impossible to unwrap this type again to std::shared_pointer<MyModel> or new MyModel()
Strings seem to be treated as complex types just like normal model classes. all model classes have a fromJson/toJson but not std::string/utility::string_t .
I could try to move more logic into the templates but I fear that won't solve my problems.
username_1: Would the boolean flag `isListContainer` help in your situation to determine if it's a list/array?
I would also recommend you to look at how other languages perform serialization/deserializaton of JSON
username_2: Why? Especially in C++ you should be able to treat different types the same way.
For each complex type you would generate a function like the following:
```
std::string convertToString(ComplexType const& v) { ... }
```
For builtin standard types you would provide implementations in a support library:
```
std::string convertToString(int v) { return std::to_string(v); }
std::string convertToString(std::string v) { return v; }
```
Then you just always call `convertToString`, no condition needed.
username_0: @username_1: Most of the other languages have a runtime type information (reflection) available all serialization is done automatically within the JSON framework. In C++ you do not easily get this information.I had a look at the QT serialization, there it seems that string comparisons during runtime are used to do the serialization. I find this approach with void pointers and string comparisons a bit dangerous, but is seems to work.
@username_2: I want to store all complex types as std::shared_pointer objects, not as copies. This will result again in some c++ template methods which I struggled with to work correctly. During my tests the linker started to complain about not finding the correct methods.
username_1: @username_0 please take a look at PHP: https://github.com/swagger-api/swagger-codegen/blob/master/samples/client/petstore/php/SwaggerClient-php/lib/ObjectSerializer.php
It relies on swagger_type mapping (static): e.g. https://github.com/swagger-api/swagger-codegen/blob/master/samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php#L59
username_1: Thanks for the feedback. I've not tried Razor nor Rhythm so I cannot comment on those. I'm not surprised if there's a template system/library out there better than mustache. One thing we also need to consider is the "switching cost" from mustache to another one as we cannot assume our contributors are familiar with the mustache replacement.
Given that mustache is also improving (recent upgrade allows cleaner template and easier alignment), my take is to stick with mustache for now.
username_0: Sticking for Mustache is also an option. To allow more advanced templating also new model properties and helpers could do the job. In the end, in my opinon, it should be possible to access exactly the original swagger schema and all of it's properties. By combining the full model with some more advanced helpers, also building conditions, string replacements, loops etc. should easily possible.
But since it sounds like reinventing the wheel to me, I thought of proposing a template engine where you anyhow have access to the full language features and data models.
username_1: @username_0 thanks again for the suggestion. We mark this as a feature request pending community contribution for now.
username_1: @username_0 do you need any help adding the `cpprestsdk` support? I would suggest you to file a PR so that the community can help review the change make improvements to it.
username_0: I am still working on the generation. I tried also some other code generators to check which works best for our code generation. I lately found out that you are using really only the very basic "mustache" engine. When working with mustache templates I usually prefer "Handlebars" which is a bit more advanced since you can register custom helpers which do more advanced stuff.
Take a look at this library for Java:
https://github.com/jknack/handlebars.java
If for some particular reasons more advanced logic is required, the particular language generator can register some helpers which are then used in the template.
Would such a solution sound more feasable for you?
If I can manage to write a code generator that would be reusable for the public I will share it. I am currently focusing hard on getting our API specifics into the generator as we need it. One example is that we also need application/x-multipart-formdata serialization to support file uploads. We write our API with ASP.net Web API which could result in some particular extra logic which only applies for Web API.
username_1: If anyone has cycle to plot it back to Swagger Codegen, please reply to let us know.
username_3: Thats nice! My work on the cpprest generated has stopped completely due to change of track to Apache Thrift at the company I work for. Nice that someone completed a cpprest generator.
username_0: We are already actively using the SDK generated by my code generator in our software and the client will be part of our next software release. If you only need to state calls including some generic error handling the generator works perfectly fine. If the API call fails (status code >= 300) you receive an ApiException where you can parse the body manually. For success calls the main response parsing is supported.
A special feature (which is currenty invalid according to OpenAPI spec, see [#694](https://github.com/OAI/OpenAPI-Specification/issues/694)) is that you can even have HTTP files as part of your models. This means all models can be serialized as JSON and as multipart/form-data.
As @username_1 quoted me already: There is no client side validation so far and also the output documentation is quite bad, also no tests can be generated. The very essentials: model and operation generation works fine and are working. Currently my templates rather focus on readablity of the code than readability of the templates themselves. Handling spacing and new lines in mustache is really hard. Without those _ugly_ templates I used to have like 5-10 empty lines in some of the generated code.
username_1: @username_0 FYI. jmustache has a new feature to trim empty lines: https://github.com/samskivert/jmustache#newline-trimming
username_1: To all, I've started plotting the c++ generator created by Daniel to Swagger Codegen.
username_1: @username_0 some mustache template files seem to be missing:
```
supportingFiles.add(new SupportingFile("modelbase-header.mustache", "", "ModelBase.h"));
supportingFiles.add(new SupportingFile("modelbase-source.mustache", "", "ModelBase.cpp"));
supportingFiles.add(new SupportingFile("apibase-header.mustache", "", "ApiBase.h"));
supportingFiles.add(new SupportingFile("apibase-source.mustache", "", "ApiBase.cpp"));
```
I couldn't find these mustache templates in https://github.com/username_0/swagger-codegen-cpprestsdk/tree/master/src/main/resources/cpprestsdk. Do you mind taking a look and adding them back if needed?
username_0: The files [modelbase-header.mustache](https://github.com/username_0/swagger-codegen-cpprestsdk/blob/master/src/main/resources/cpprestsdk/modelbase-header.mustache
) and [modelbase-source.mustache](https://github.com/username_0/swagger-codegen-cpprestsdk/blob/master/src/main/resources/cpprestsdk/modelbase-source.mustache) are in the repository. For the apibase files you are right they are missing, but only because they are not required anymore.
I updated the repository accordingly.
username_1: PR merged into master. Issue closed.
Thanks @username_0 again for his contribution.
Status: Issue closed
|
plotly/documentation | 352270066 | Title: Get rid of "Dashboards API" under "Plotly Fundamentals"
Question:
username_0: This isn't really needed anymore with Dash - in fact we probably want to discourage it.
We should also remove "(NEW!)" from "Dash - Interactive Python Apps"
<issue_closed>
Status: Issue closed |
mc738/dmap | 782842322 | Title: Finalize API/commands
Question:
username_0: Finalize the API and commands.
Answers:
username_0: API/commands have been simplified to:
* `map [path] [output] [output_type*]`
and
* `diff [dir_1] [dir_2] [output_type*]`
* `dir_1` and `dir_2` can be `.dmap` or `.json` files.
This has removed the need for a `compare` command.
username_0: README.md needs to be updated to reflect this.
Status: Issue closed
|
ryihan/Laravel-Amazone-Kit | 1085764514 | Title: Accessing API Gateway
Question:
username_0: AWS Management Console – The AWS Management Console provides a web interface for creating and managing APIs. After you complete the steps in Prerequisites for getting started with API Gateway, you can access the API Gateway console at https://console.aws.amazon.com/apigateway.
Answers:
username_0: AWS SDKs – If you're using a programming language that AWS provides an SDK for, you can use an SDK to access API Gateway. SDKs simplify authentication, integrate easily with your development environment, and provide access to API Gateway commands. For more information, see Tools for Amazon Web Services.
username_0: API Gateway V1 and V2 APIs – If you're using a programming language that an SDK isn't available for, see the Amazon API Gateway Version 1 API Reference and Amazon API Gateway Version 2 API Reference.
username_0: AWS Command Line Interface – For more information, see Getting Set Up with the AWS Command Line Interface in the AWS Command Line Interface User Guide.
username_0: AWS Tools for Windows PowerShell – For more information, see Setting Up the AWS Tools for Windows PowerShell in the AWS Tools for Windows PowerShell User Guide. |
konstbel/landing | 602708436 | Title: Правки текущей верстки для соответствия дизайну из макета
Question:
username_0: [Ссылка на макет](https://www.figma.com/file/xfVGDWdrnXV0U1iuNifiue/%D0%9A%D0%B0%D0%BD%D1%81%D1%82%D1%8B%D1%82%D1%83%D1%86%D1%8B%D1%8F.%D0%B1%D0%B5%D0%BB-v1?node-id=0%3A1)
- [ ] шрифты
- [ ] header
- [ ] контент главной страницы
- [ ] страница новости
- [ ] страница присоединится
Answers:
username_1: @username_0 гэтыя пункты разглядаць як падзадачы для ўсіх старонак?
username_0: @username_1 да
username_2: как решать задачу из списка "контент главной страницы" без использования hugo? тоже самое касается несоответствия макету.
username_1: @username_2 прывітанне,
добрае пытанне. я бы ці
1. завярстаў як на макеце і пасля перанёс hugo туды
2. другі варыянт. змяняў бы пракрокава кшталту "галоўная старонка - шрыфты" пул рэквэст.
@username_2 які у цябе думкі былі?
зы
@username_3 як ты бачыш гэты працэс?
username_3: @username_2 а какие есть проблемы запуска hugo?
username_2: @username_3 проблем с запуском hugo нет. Интересует вопрос, как реализовывать выше перечисленные пункты задач без знания hugo.
username_3: @username_3 разве что сопоставляя исходный код https://svezhyvecer.by (результат) и непосредственно код в репозитории(шаблон).
Либо брать исходный код страницы https://svezhyvecer.by, править его и добавить как статичный файл
username_1: @username_3 можаш прывесці прыклад "сопоставляя исходный код https://svezhyvecer.by (результат) и непосредственно код в репозитории(шаблон)." бо я не лаўлю гэты момант.
таксама, дзе арганізаваць "добавить в репозиторий как отдельный файл" каб было зразумела, таму хто будзе браць код?
username_1: Узаемазалежная задача https://github.com/konstbel/landing/issues/49#event-3249071922
Добра зараз абкатаць спосаб кантрыба зручны...
username_3: @username_2 Ответ на вопрос: и да, и нет. Где-то понадобится, а где-то нет.
В [гайде](https://github.com/konstbel/landing/wiki/%D0%AF%D0%BA-%D0%BF%D1%80%D0%B0%D1%86%D1%83%D0%B5%D0%BC-%D0%BD%D0%B0%D0%B4-%D1%81%D1%82%D0%B0%D1%82%D1%8B%D1%87%D0%BD%D1%8B%D0%BC%D1%96-%D1%81%D1%82%D0%B0%D1%80%D0%BE%D0%BD%D0%BA%D0%B0%D0%BC%D1%96-%D1%96-%D0%B1%D0%BB%D0%BE%D0%B3%D0%B0%D0%BC) я расписал структуру шаблонов. Теперь покажу это на примере:
- Берем задачу `контент главной страницы`;
- следовательно шаблоны которые нам могут потребоваться
- _default/baseof.html - скелет в нем мы можем увидеть подключение других блоков(partial):
- head.html, header.html, footer.html
- видим block "main" - он у нас находиться в index.html
- все что находится в фигурных скобках это либо переменные с контентом, либо логика шаблонизации, туда ходить не надо
- как понять где ты применил изменение - открыть исходный код страницы локально запущенного сайта и сравнить с тем, что у тебя фактически в коде
username_1: Узаемазалежныя https://github.com/konstbel/landing/issues/49 |
bootstrap-vue/bootstrap-vue | 392997678 | Title: [feature request] <b-table> sytle formatter callback in fields definition
Question:
username_0: ### Current situation:
**b-table component**
Custom rendering for each data field in a row is possible using (either scoped slots or) formatter callback function. Nice, that´s very convinient! :)
But applying styles to fields (like a cell-variant) requieres the user of the component to pre-modify his data before giving it to the b-table-component. Hmm. :|
### Idea/requested feature:
Wouldn´t it be neat if the user has the ability to **apply** his custom **styles** (/variants/css-classes..) **via** a **sytle-formatter callback in the fields** (/column) **defintion** of the b-table?
Answers:
username_1: There is an option (in dev) for applying classes to the cells using a callback. It will be available next releasel
Status: Issue closed
|
EnceladusIApetus/Move-and-Move-Alarm | 114398759 | Title: [Security] create a crypto class to encrypt data.
Question:
username_0: - the class can encrypt and decrypt the data with easy usage.
- the class can compare a plain text data and encrypted data.
Answers:
username_1: finished at pr #43
Status: Issue closed
username_1: - the class can encrypt and decrypt the data with easy usage.
- the class can compare a plain text data and encrypted data.
Status: Issue closed
username_1: finish at #74 |
cuiyueshuai/react-native-expandable-section-flatlist | 606126939 | Title: renderSectionHeaderX
Question:
username_0: renderSectionHeaderX invoke multiple times when click header, but only render the clicked header is what i want.
I have tried to use memo to wrap but not working with an error which says not a function. |
dask/dask | 629563227 | Title: Joins with index-only dataframes return duplicate elements
Question:
username_0: **What happened**: Joining dask dataframes with index-only dataframes (no columns) returns incorrect results, with rows being duplicated. The amount of duplicate rows depend on the number of partitions of the original datafame.
**What you expected to happen**: The join operation should work on index-only dataframes as it does with non-empty ones.
**Minimal Complete Verifiable Example**:
```python
import dask
import dask.dataframe as ddf
import numpy as np
import pandas as pd
first_index = pd.Index([1, 2, 3, 4, 5])
second_index =pd.Index([2, 3, 4])
df = pd.DataFrame({'A': [1, 2, 3, 4, 5]},
index=first_index)
original = ddf.from_pandas(df, npartitions=1)
not_empty_df = pd.DataFrame({'B': [-1, -1, -1, -1, -1]}, index=second_index)
empty_df = pd.DataFrame(index=second_index)
join1 = original.join(not_empty_df, how='inner')
join2 = original.join(empty_df, how='inner')
```
See that join2 has duplicate rows.
**Anything else we need to know?**: I am doing joins with these dataframes because dask currently does not support dropping rows with the drop operation. I have a list of index values I have to drop from my dataframes, I chose to use joins to achieve this.
**Environment**:
- Dask version: 2.15.0
- Python version: 3.6.9
- Operating System: Ubuntu 18.04.4 LTS
- Install method (conda, pip, source): pip
Answers:
username_1: I got a pandas error with that example, it seems the issue is with the assignment to `not_empty_df`. Did you perhaps mean to use `first_index`:
```python
not_empty_df = pd.DataFrame({'B': [-1, -1, -1, -1, -1]}, index=first_index)
```
With that change, things work as expected.
username_0: @username_1 I did copy copy over the wrong code before, I modified it once before, I just edited it again to make the issue more legible.
Notice that `not_empty_df `and `empty_df ` have the same index but the joins return different amount of elements, this happens for all join types, not only inner.
username_1: Thanks for updating. That example works as I expect it to on dask master:

Are you seeing something different, or is this not what you expected?
username_1: Here it is with `"inner"`:

username_0: I am seeing different results in version 2.15, I upgraded to 2.17 and the issue is gone. It seems to me this wasn't reported before but was fixed anyway in the latest patches.
Closing since this bug no longer occurs in 2.17.
Status: Issue closed
|
ant-design/ant-design | 590386643 | Title: 如果将后端的一个string 渲染成antd的组件?
Question:
username_0: 比方说后端过来的字段为 item.type = Form
我想直接拿这个 <item.type></item.type>
渲染出一个 From组件。
而不是if(item.type === Form){
return <Form></Form>
}
请问有人有这样尝试过吗?
因为是动态的数据。可配置的。
所以我想直接这样做。
不知道怎么样才可以不用判断字段如return 组件。 |
whole-tale/dashboard | 340622148 | Title: Able to access compose when not logged in
Question:
username_0: dashboard.stage.wholetale.org build `cced674`
Before logging in, I can access the compose tab:
<img width="1274" alt="screen shot 2018-07-12 at 7 44 04 am" src="https://user-images.githubusercontent.com/4334350/42633910-6bb04faa-85a7-11e8-893f-6a4e8a684cfa.png">
Answers:
username_1: @username_0 can you verify that this is already fixed?
username_0: The upper menu is gone altogether in current build (`85f3eac`), which is perfect. Closing this.
Status: Issue closed
username_1: dashboard.stage.wholetale.org build `cced674`
Before logging in, I can access the compose tab:
<img width="1274" alt="screen shot 2018-07-12 at 7 44 04 am" src="https://user-images.githubusercontent.com/4334350/42633910-6bb04faa-85a7-11e8-893f-6a4e8a684cfa.png"> |
perliedman/leaflet-control-geocoder | 60269106 | Title: Potential issue in readmy
Question:
username_0: "I strongly believe that it is my — and your — duty to make the open source community, as well as the tech community at large, a community where everyone feel welcome and is accepted. It means being friendly and inclusive, even when you disagree with people."
"If you think feminism, anti-racism or the LGBT movement is somehow wrong, disturbing or irrelevant, I ask you to go elsewhere to find software."
-This seems contradictory. Here you say "...It means being friendly and inclusive, even when you disagree", and then you say that anyone who disagrees should go away.
Maybe you ought to rethink this. Maybe you should just post your opinion on it, but then also demonstrate that you too are inclusive, and accept people who believe differently from you too. If you say "anyone who thinks being gay is wrong can't use my software", how are you any different? It seems to me like you are violating the principle you just stated above. FOSS is closely linked to freedom of speech and thought, and this doesn't seem like it goes well with the idea.
Status: Issue closed
Answers:
username_1: Your example is flawed. Thinking it's wrong to be gay is an abusive opinion; you take the right to value someone based on their sexuality, which they did not choose; the same goes for the other categories mentioned. When expressing those views on the other hand, you chose to have that opinion, and forcing it on others. Being welcoming to such views and expressions effectively makes the community less welcoming to the groups they speak against. In short, the idea is to be welcoming to people who are welcoming; people who can't respect other for who they are, are not welcome.
I'm well aware of the history of freedom of speech and FOSS, and while I welcome free speech in the society at large, I think its role in the open source movement has often been to justify bad behaviour from a group ignorant of their own privilege, and it has made it unnecessarily hard to be part of open source if you're not young, white, male and heterosexual. While not directly linked to open source, the same mechanics are at work in the so called "gamergate" catastrophe, where threats, abuse and generally incredibly shitty behaviour is done under the pretense of "free speech".
I think it is my, and others, moral obligation to try, if just in a very small way, to stop this, instead of standing by the side pretending to be objective and say "hey, anything goes, because - free speech!". That is not the way forward. |
dotnet/extensions | 564839812 | Title: How to overwrite a non-empty array config value by empty array [] ?
Question:
username_0: Hi,
I am using environment variables in my setup. So, during service deployment I attach env vars.
The problem I don't know how to overwrite existing non-empty array value by empty array value?
Example:
appsettings.json
{
ConfigSection: {
IntArray: [6678, 9091]
}
}
I want to do something like this:
set ConfigSection__IntArray=[]
...run executable
As a result I would expect that during a config binding operation ```ConfigSection.IntArray``` will be an ```empty array``` or ```null``` (see https://github.com/dotnet/extensions/issues/1341 or https://github.com/aspnet/Configuration/issues/788)
So far I found a possibility to change the array values using an index of the element.
This is working:
set ConfigSection__IntArray__0=5
...run executable
As a result ```ConfigSection.IntArray``` will be set to ```[5, 9091]```
Answers:
username_1: We are having a similar issue where we are trying to replace an array in the appsettings.json with an array from environment variables.
```f#
open Microsoft.Extensions.Configuration
[<EntryPoint>]
let main argv =
let builder = new ConfigurationBuilder()
let config = builder.AddJsonFile("appsettings.json")
.AddEnvironmentVariables()
.Build()
// testValues1 resolves in the value from the environment variable:
// Path: AppSettings:TestValues
// Value: "[ \"Four\", \"Five\", \"Six\" ]"
let testValues1 = config.GetSection("AppSettings:TestValues")
// testValues2 resolves in the value from the appsettings.json:
// Path: "AppSettings:TestValues:0"
// Value: "One"
// etc...
let testValues2 = config.GetSection("AppSettings:TestValues").GetChildren() |> Seq.cast<IConfigurationSection>
0
```
This is the array in the appsettings.json:
```json
{
"AppSettings": {
"TestValues": [
"One",
"Two",
"Three"
]
}
}
```
This is the array in the environment variables:

Is it possible to override an entire configuration array from environment variables?
Status: Issue closed
username_2: Probably the only option here without dramatically breaking the config model is to set indexes to an empty value (though of course you'd have to set as many empty values as you set in other layers). |
scalameta/sbt-scalafmt | 401157795 | Title: project.git = true seems to be ignored when using sbt-scalafmt
Question:
username_0: ### .scalafmt.conf:
```
project.git = true
style = defaultWithAlign
danglingParentheses = true
maxColumn = 160
project.excludeFilters = [".*\\.sbt"]
rewrite.rules = [AsciiSortImports, RedundantBraces, RedundantParens]
spaces.inImportCurlyBraces = true
unindentTopLevelOperators = true
```
### .gitignore
```
.DS_Store
target/
modules/sample*/target/
modules/sample*/src/main/scala/*
modules/sample*/src/main/scala/generated/*
!modules/sample*/src/main/scala/App.scala
!modules/sample*/src/main/scala/support
!modules/sample*/src/test/resources/
.idea
```
despite this, when running `scalafmtCheck`, I still get files that are explicitly ignored (under `modules/sample*/src/main/scala/generated`)
Answers:
username_1: @olafurpg @tanishiking
I found that `project.git` flag handling [encapsulated](https://github.com/scalameta/scalafmt/blob/master/scalafmt-cli/src/main/scala/org/scalafmt/cli/CliOptions.scala#L205) in `CliOptions`. So it is scalafmt-cli specific feature yet (correct me if I am wrong).
We can copy-paste that code into this project but it is not seems good decision. Can we make this code reusable (may be through scalafmt-dynamic package)?
Another problem with #18
Status: Issue closed
|
Apicurio/apicurio-studio | 951797220 | Title: Prominent operation name in document?
Question:
username_0: Is it just me, or is it unhelpful that the individual operation names are not prominently displayed in the main documentation area? e.g. right here in this whitespace, I want the operation name that is shown over in the "Try this"/example area:

Answers:
username_1: Thanks for the feedback, @username_0 - what I'll say is that we use [ReDoc](https://github.com/Redocly/redoc) to generate the documentation, so this kind of thing would need to be submitted over there. I think the idea is that the operation name/subject is shown in the main area, and the operation details on the right. I actually agree with you because I find the technical information more interesting than the friendly human name. But we may be in the minority. Here's another example:

username_0: I don't know, API docs are by definition for technical people, aren't they? I'm liking Apicurio as a collaborative editor, but I'm somewhat missing SwaggerHub-formatted docs ☹️
In fact, for me, I'd rather have the operation names than the summaries in the left menu area too.
I'll go look over at Redoc and see if such things have been raised, or possibly raise them myself.
username_1: Another thing to mention is that it was always my intention to support additional documentation visualizers in Apicurio Studio. For example, ReDoc is the default but we also support [rapidoc](https://mrin9.github.io/RapiDoc/). To preview that feature (only available as an option to the Preview feature, not the Sharing feature) just add `&rid=rapidoc` to the preview URL. So for example, I have a preview URL like this (you won't have access to this because you're not a collaborator on my API definition):
https://studio.apicur.io/preview?aid=25572
But if I just make that URL this:
https://studio.apicur.io/preview?aid=25572&rid=rapidoc
Then it will use rapidoc instead of ReDoc for the visualization.
I've always wanted to explore this feature more, perhaps allowing end users to set a default visualizer somewhere, or just making it easier to switch. I haven't found the time. Also it would be good to support Swagger UI. I personally hate the Swagger UI user experience, but I know others really like it.
I'd be very open to helping with a contribution if you're interested. :) If not that's fine too, just keep poking this GH issue until we find time to do it...
username_0: Thanks, that alternate view looks nice too. I haven't looked enough to see whether it resolves all my irritations. I also see my redoc issue has has no apparent activity at all ☹️ |
apache/couchdb-nano | 979402383 | Title: Headers not being merged with defaults
Question:
username_0: <!--- Provide a general summary of the issue in the Title above -->
## Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
When using custom headers (example below), they should be merged with the request headers before the request is sent.
## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
When using custom headers (example below), they are not merged with the request headers in changesReader. This results in incorrect headers being sent in the final request.
```
## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
The offending call is in `9.0.3` at `nano/lib/changesReader.js:248`, where Object.assign is used instead of a deepMerge function. This *overwrites* the headers field with the requestDefaults version rather than merging, resulting in missing headers when a request is finally sent. If I replace the offending code with this, it works.
```typescript
const req = Object.assign({
method: (opts.method || 'GET'),
headers: headers,
uri: cfg.url
}, {
...cfg.requestDefaults,
headers: Object.assign(headers, cfg.requestDefaults && cfg.requestDefaults.headers ? cfg.requestDefaults.headers : {}),
})
## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1. Set up a couchdb connection
```typescript
export const couchdb = nano({
requestDefaults: {
headers: {
"X-Auth-CouchDB-UserName": "server",
"X-Auth-CouchDB-Roles": "_admin",
},
},
url: dbURL,
});
```
2. Use a request that utilizes headers. I am using `changesReader`, which fails on start, so that's probably the easiest way to test.
## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
I am trying to use proxy authentication in CouchDB since I link to an AD server for authentication for SSO. I have set up a simple authentication proxy in my application, but use the code above to create a nano instance usable by the server for privileged tasks.
## Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used: 9.0.3
* Browser Name and version: N/A
* Operating System and version (desktop or mobile): Mac OS 11.4
* Link to your project: Private repository
Answers:
username_0: @username_1 Thank you for being on top of this! I would have opened a PR, but I was trying to hit a deadline at the time. I tried to compromise by including my patches in the issues (I used `patch-package` to get a working version into production, because I wanted to use the `changesReader` to avoid re-implementing it under the EventSource protocol, and it's working great! I'd highly recommend it if you're ever having to work past bugs in another package). Looking forward to the update!
username_1: Fixed in 9.0.4
Status: Issue closed
|
SBU-BMI/QuIPutils | 299056256 | Title: IndexOutOfBoundsException
Question:
username_0: ```
Exception in thread "Thread-4718" java.lang.IndexOutOfBoundsException
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(RandomAccessFile.java:377)
at javax.imageio.stream.FileImageInputStream.read(FileImageInputStream.java:117)
at com.sun.imageio.plugins.common.SubImageInputStream.read(SubImageInputStream.java:61)
at com.sun.imageio.plugins.common.InputStreamAdapter.read(InputStreamAdapter.java:47)
at java.io.SequenceInputStream.read(SequenceInputStream.java:207)
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:238)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1112)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1223)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1338)
at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1614)
at javax.imageio.ImageIO.read(ImageIO.java:1448)
at javax.imageio.ImageIO.read(ImageIO.java:1308)
at edu.stonybrook.bmi.quiputils.CustomTiler$PolyThread2.run(CustomTiler.java:751)
```
Answers:
username_0: Re-running image `TCGA-44-6778-01Z-00-DX1`, analysis `wsi:r0.9:w0.8:l3:u200:k20:j0` now.
Status: Issue closed
username_0: Fixed. Commit [56e4b0e](https://github.com/SBU-BMI/QuIPutils/commit/56e4b0ecdbbd9eec77de1189f3d1449f05c5c817). |
European-XFEL/EXtra-foam | 834851617 | Title: Bug in masking tool
Question:
username_0: I use EXtra-foam/alpha and EXtra-geom to assemble AGIPD tiles

When I then try to mask, I can't mask the lower part of the detector

This is as low as it gets. Everything below I can't draw a mask. I also get this output in the logger

Answers:
username_1: Confirmed, the problem is that extra-geom doesn't have the [`output_array_for_dismantle_fast()`](https://foamalgo.readthedocs.io/en/latest/geometry.html#pyfoamalgo.geometry.AGIPD_1MGeometry.output_array_for_dismantle_fast) method mentioned in the error, which extra-foam's internal assembler does have. It will also need `dismantle_all_modules()`.
I can't reproduce the issue with masking the lower part of the image though, does it work for you with the extra-foam assembler?
username_0: True, it acutally doesn't depend on using EXtra-foam or EXtra-geom for assembling the tiles. |
ros-planning/moveit | 391550283 | Title: Potential memory leak at moveit setup assistant
Question:
username_0: ### Description
1. moveit/moveit_setup_assistant/src/widgets/robot_poses_widget.cpp:
RobotPosesWidget::doneEditing()
"searched_data" was created, and its contents copied and pushed to "onfig_data_->srdf_->group_states_", but not freed before return.
searched_data = new srdf::Model::GroupState();
if (isNew)
{
config_data_->srdf_->group_states_.push_back(*searched_data);
}
...
_EMIT isModal(false);
2. moveit/moveit_setup_assistant/src/widgets/virtual_joints_widget.cpp
VirtualJointsWidget::doneEditing()
"searched_data" was created, and its contents copied and pushed to "onfig_data_->srdf_->virtual_joints_", but not freed before return.
### Your environment
* ROS Distro: [Kinetic]
* OS Version: Ubuntu 16.04
### Steps to reproduce
code review
Answers:
username_1: There are potentially many leaks in MSA. Best option to track them down is using [AddressSanitizer](https://github.com/google/sanitizers/wiki/AddressSanitizer):
`LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.4 rosrun moveit_setup_assistant moveit_setup_assistant`.
As MSA is only called once in a while, we didn't care too much about these leaks in the past.
Status: Issue closed
|
dart-lang/sdk | 85649282 | Title: misleading error when library-root is wrong
Question:
username_0: When using an incorrect library-root:
```bash
./sdk/bin/dart2js --library-root=/tmp/ foo.dart
```
We get an error message indicating that core.dart is not found, but the exception shown afterwards is very noisy and misleading:
```
/tmp/lib/core/core.dart:
Error: Error reading '/tmp/lib/core/core.dart' (No such file or directory)
simple.dart:
Internal Error: The compiler crashed when compiling this element.
The compiler is broken.
When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.
The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.
Please include the following information:
* the name and version of your operating system,
* the Dart SDK build number (build number could not be determined), and
* the entire message you see here (including the full stack trace
below as well as the source location above).
The compiler crashed: The null object does not have a getter 'sourcePosition'.
NoSuchMethodError: method not found: 'sourcePosition'
Receiver: null
Arguments: []
#0 Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2 Compiler.spanFromElement (file:///path-to-dart2js/src/compiler.dart:1959:17)
#3 Compiler.spanFromSpannable (file:///path-to-dart2js/src/compiler.dart:1187:14)
#4 Compiler.reportDiagnostic (file:///path-to-dart2js/src/apiimpl.dart:359:27)
#5 Compiler.reportDiagnosticInternal (file:///path-to-dart2js/src/compiler.dart:1904:5)
#6 Compiler.internalError (file:///path-to-dart2js/src/compiler.dart:1149:5)
#7 Compiler.initializeCoreClasses (file:///path-to-dart2js/src/compiler.dart:1456:7)
#8 Compiler.onLibraryScanned (file:///path-to-dart2js/src/compiler.dart:1282:7)
#9 _LibraryLoaderTask.processLibraryTags.<anonymous closure> (file:///path-to-dart2js/src/library_loader.dart:411:23)
#10 _RootZone.runUnary (dart:async/zone.dart:1166)
#11 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:494)
#12 _Future._propagateToListeners (dart:async/future_impl.dart:577)
#13 _Future._complete (dart:async/future_impl.dart:358)
#14 Future.doWhile.<anonymous closure> (dart:async/future.dart:364)
#15 _RootZone.runUnaryGuarded (dart:async/zone.dart:1104)
#16 _RootZone.bindUnaryCallback.<anonymous closure> (dart:async/zone.dart:1133)
#17 _RootZone.runUnary (dart:async/zone.dart:1166)
#18 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:494)
#19 _Future._propagateToListeners (dart:async/future_impl.dart:577)
#20 _Future._completeWithValue (dart:async/future_impl.dart:368)
#21 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:422)
#22 _microtaskLoop (dart:async/schedule_microtask.dart:43)
#23 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#24 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#25 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
```
Answers:
username_0: I've created https://codereview.chromium.org/1157433014/ to avoid a crash in the compiler. The output after that change is not perfect though, I'd rather have an error that just says to verify that the sdk libraries are in the right place.
The new error looks like:
```
/tmp/lib/core/core.dart:
Error: Error reading '/tmp/lib/core/core.dart' (No such file or directory)
Internal Error: dart:core library does not contain required classes: [Object, bool, num, int, double, String, Function, List, Type, Map, Null, StackTrace, Iterable, Symbol]
The compiler is broken.
When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.
The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.
Please include the following information:
* the name and version of your operating system,
* the Dart SDK build number (build number could not be determined), and
* the entire message you see here (including the full stack trace
below as well as the source location above).
The compiler crashed: Internal Error: dart:core library does not contain required classes: [Object, bool, num, int, double, String, Function, List, Type, Map, Null, StackTrace, Iterable, Symbol]
#0 Compiler.internalError (file:///path-to-dart2js/src/compiler.dart:1151:5)
#1 Compiler.initializeCoreClasses (file:///path-to-dart2js/src/compiler.dart:1456:7)
#2 Compiler.onLibraryScanned (file:///path-to-dart2js/src/compiler.dart:1282:7)
#3 _LibraryLoaderTask.processLibraryTags.<anonymous closure> (file:///path-to-dart2js/src/library_loader.dart:411:23)
#4 _RootZone.runUnary (dart:async/zone.dart:1166)
#5 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:494)
#6 _Future._propagateToListeners (dart:async/future_impl.dart:577)
#7 _Future._complete (dart:async/future_impl.dart:358)
#8 Future.doWhile.<anonymous closure> (dart:async/future.dart:364)
#9 _RootZone.runUnaryGuarded (dart:async/zone.dart:1104)
#10 _RootZone.bindUnaryCallback.<anonymous closure> (dart:async/zone.dart:1133)
#11 _RootZone.runUnary (dart:async/zone.dart:1166)
#12 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:494)
#13 _Future._propagateToListeners (dart:async/future_impl.dart:577)
#14 _Future._completeWithValue (dart:async/future_impl.dart:368)
#15 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:422)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:43)
#17 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#18 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#19 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
``` |
wekan/wekan | 544883248 | Title: LDAP group filtering kinda broken
Question:
username_0: ## Issue
Add these issues to elsewhere:
- Snap: https://github.com/wekan/wekan-snap/issues
Other Wekan issues can be added here.
**Server Setup Information**:
* Did you test in newest Wekan?: yep
* Wekan version: 3.57, snap installation
* Operating System: linux (debian)
**Problem description**:
I have a group named BoardUsers configured in my MS AD. The group filter should now check if the user is in this group or not.
I set these values as my config for the LDAP group filter;
`ldap-group-filter-enable true ldap-group-filter-group-id-attribute CN ldap-group-filter-group-name BoardUsers ldap-group-filter-objectclass group`
But the log states
`[DEBUG] Group filter LDAP: "(&(objectClass=group))"`
Is there anything I'm misunderstanding about this filter? The help site for it isn't really helping either.
Answers:
username_1: Maybe you mean this? https://github.com/wekan/univention/issues/5
username_0: What? No.
I just want the filter to work, no UI or something.
The LDAP group filter should be `(&(objectClass=group)(CN=BoardUsers))` with the above mentioned settings, but I only get `(&(objectClass=group))` |
Noitidart/MailtoWebmails | 106254871 | Title: Add Webservice Request: Inbox by Gmail.
Question:
username_0: I was trying to install a webmail service from the options panel of MailtoWebesrvices but the one I was looking for was not found. I was looking for Inbox by Gmail.
Answers:
username_1: Thanks @username_0 for the request. We actually have an ongoing topic here: https://github.com/username_1/MailtoWebmails/issues/20
It seems google has not provided such a link for "Inbox" service yet. But as soon as they do I'll add it in and it will be availble publically instantly in version 2. Version 2 of mailtowebmails is pending review right now.
username_1: Also until google does add a mailto link. you might find this addon useful: https://addons.mozilla.org/en-US/firefox/addon/inbox-notifier/
Status: Issue closed
|
Codeception/Codeception | 155555849 | Title: Group events firing twice
Question:
username_0: ### My Use Case ###
Using groups to add data to the Db for certain tests (ex: Not all tests need to have two companies so only add the second company for the group of tests that need it)
Created the Group, added it to the `codeception.yml` file, added the appropriate `@group` annotation to the tests in question.
**Problem**:
The `_before` event of the group is firing twice, leading to SQL Integrity constraint errors because duplicate data is getting entered.
### Root Cause Analysis ###
The `test.before.groupname` event is getting fired twice because the group is listed twice in the Scenario->groups[] array.
The group gets added once to the Scenario during the Cest `preload()` process in the `Parser::attachMetadata()` function.
Then it gets added again in the SuiteManager::addToSuite() function (which, incidentally is the same function that calls preload())
There are no guards on the $groups[] array in the scenario to prevent the same group from being added twice so the group ends up in the array twice and when Listener::fire() iterates through the Scenario's groups, it get two items for the group and therefore fires the group's events twice.
### Suggested Solution ###
Rather than re-engineering the system to avoid double-adds, or adding complicated logic to avoid adding the same group to Scenario->$groups[] twice, a simple solution is to wrap the return of Scenario->getGroups() to only return unique values, like so:
` public function getGroups()
{
return array_unique($this->groups);
}
`
Answers:
username_0: Just in case you were wondering, this still occurs in Codeception 2.2. It's just migrated from the Scenario object to the Test\Metadata object.
username_1: Could you make a pull request?
username_0: I could! :-)
https://github.com/Codeception/Codeception/pull/3221
Status: Issue closed
username_1: This issue was fixed by #3221 in 2016. |
openthread/openthread | 431981384 | Title: nrf52840-dongle's ot-ncp fails with uninitialized:fault
Question:
username_0: ```
menezes@prime:~/wpantund$ git show
commit 42f9b6e553ebb0ed652ea8212b53c652865da19a (HEAD -> master, origin/master, origin/HEAD)
Author: <NAME> <<EMAIL>>
Date: Sat Mar 30 02:08:09 2019 +0800
menezes@prime:~/openthread$ git show
commit 19544490e37a88642f5e016388038a9ac9def174 (HEAD -> master, origin/master, origin/HEAD)
Author: <NAME> <<EMAIL>>
Date: Thu Mar 28 22:29:58 2019 -0700
menezes@prime:~/openthread$ make -f examples/Makefile-nrf52840 COMMISSIONER=1 JOINER=1 COAP=1 DNS_CLIENT=1 MTD_NETDIAG=1 BORDER_ROUTER=1 MAC_FILTER=1 UDP_PROXY=1 BORDER_AGENT=1 LINK_RAW=1 SERVICE=1 USB=1 BOOTLOADER=1
menezes@prime:~/openthread$ arm-none-eabi-objcopy output/nrf52840/bin/ot-ncp-ftd -O ihex output/nrf52840/bin/ot-ncp-ftd.hex
```
I flashed the hex file using nrfconnect.
The really funny thing is that I can connect to the NCP using pyspinel and the command _state_ returns _leader_ as it should. I also got working the NCP using the posix socket (ot-cli OR wpantund + ot-ncp) with the ot-ncp-radio firmware flashed in the dongle.
dmesg also seems right when I remove and insert back the dongle:
```
[mar29 19:37] usb 3-3: USB disconnect, device number 19
[ +7,976417] usb 3-3: new full-speed USB device number 20 using xhci_hcd
[ +0,150903] usb 3-3: New USB device found, idVendor=1915, idProduct=cafe
[ +0,000008] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0,000004] usb 3-3: Product: nRF52840 OpenThread Device
[ +0,000005] usb 3-3: Manufacturer: Nordic Semiconductor
[ +0,000004] usb 3-3: SerialNumber: E20EFXXXXXXX
[ +0,002014] cdc_acm 3-3:1.1: ttyACM0: USB ACM device
```
My wpantund.conf:
```
Config:NCP:SocketPath "/dev/ttyACM0"
Config:NCP:DriverName spinel
Daemon:SyslogMask "all"
```
Output from wpantund after reseting the NCP using wpanctl:
```
menezes@prime:~/wpantund$ sudo wpantund
wpantund[28434]: Starting wpantund 0.08.00d (Mar 29 2019 15:25:58) . . .
wpantund[28434]: SOURCE_VERSION = 0.07.01-286-g42f9b6e
wpantund[28434]: BUILD_VERSION = 0.07.01-286-g42f9b6e
wpantund[28434]: Configuration file "/etc/wpantund.conf" read.
wpantund[28434]: set-config-param: "Daemon:SyslogMask" set succeded
wpantund[28434]: Stat (autolog): Tx: 0 packets (0 udp, 0 tcp, 0 icmp6) -- 0 bytes
wpantund[28434]: Stat (autolog): Tx history is empty
wpantund[28434]: Stat (autolog):
wpantund[28434]: Stat (autolog): Rx: 0 packets (0 udp, 0 tcp, 0 icmp6) -- 0 bytes
wpantund[28434]: Stat (autolog): Rx history is empty
wpantund[28434]: Stat (autolog):
wpantund[28434]: Stat (autolog): NCP state history is empty.
wpantund[28434]: Stat (autolog):
wpantund[28434]: Stat (autolog):
wpantund[28434]: Opening tun interface socket with name "wpan0"
wpantund[28434]: Getting DBus connection
[Truncated]
wpantund[28434]: [-NCP-]: Multicast IPv6 address [6] "fc00:db20:35b:7399::5"
wpantund[28434]: Resetting and trying again... (retry 3)
wpantund[28434]: [->NCP] (6) RESET
wpantund[28434]: [NCP->] (0) PROP_VALUE_IS(LAST_STATUS) [70]
wpantund[28434]: [-NCP-]: Last status (RESET_POWER_ON, 112)
wpantund[28434]: [-NCP-]: NCP was reset (RESET_POWER_ON, 112)
wpantund[28434]: [->NCP] (7) PROP_VALUE_GET(PROTOCOL_VERSION)
wpantund[28434]: [NCP->] (7) PROP_VALUE_IS(PROTOCOL_VERSION) [0403]
wpantund[28434]: [->NCP] (8) PROP_VALUE_GET(NET_STACK_UP)
wpantund[28434]: [NCP->] (8) PROP_VALUE_IS(NET_STACK_UP) [01]
wpantund[28434]: [-NCP-]: Stack is up
wpantund[28434]: State change: "uninitialized" -> "associating"
wpantund[28434]: SpinelNCPInstance-Protothreads.cpp:430: Requirement Failed (!ncp_state_is_joining(get_ncp_state()))
wpantund[28434]: The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state.
wpantund[28434]: State change: "associating" -> "uninitialized:fault"
wpantund[28434]: DBus Sending Interface Added Signal for wpan0
^C
```
Answers:
username_1: @username_0, thanks for raising this issue. Unfortunately, I am not able to reproduce this issue.
@username_2, any thoughts?
username_0: Just to clarify, you reproduced the steps and it worked for you?
I have 2 dongles, tried on both of them in ubuntu 18.04 and RPi3 raspebian. I even tried the OTBR precompiled image, the webserver indicates wpantund disconnected.
username_2: Hello @username_0
As @username_1 I am unable to reproduce this issue.
The one idea that I have in mind is to remove persistent storage from the device. Because it is a dongle with the built-in bootloader, we need to either connect external JLink programmer or simply erase OpenThread settings using `wpanctl`. Because the problem appears on the initialization phase in `wpantund`, can you try run `wpantund` with the following parameter (to prevent autostart):
`sudo wpantund -o Daemon:AutoAssociateAfterReset "false"`.
Then please use `sudo wpanctl leave` and `sudo wpanctl dataset erase` to remove persistent storage. Then try again.
Also, can you please download nRF5 SDK for Thread and Zigbee v3.0.0 and check the precompiled hex: `examples\thread\ncp\usb\hex\nrf52840_xxaa_mbr_pca10059.hex`
If that does not help, it would be great if @username_3 can elaborate on `wpantund` requirement that is failing. To be honest i was able once or twice to get this error, but after next retry, `wpantund `always correctly initializes NCP.
username_0: Thanks @username_2, although your suggestion did not work directly it was in the right path.
The commands `sudo wpanctl leave` and `sudo wpanctl dataset erase` did not work. So I did the following:
1. updated Thread and Zigbee sdk
2. flashed the cli ftd example
3. connect to serial port and did a `factoryreset`
4. flashed the ncp ftd back
After that wpantund worked fine and I was able to follow the codelabs for nrf52840 and connect a cli device to a ncp device.
Once again, thanks for the quick reply and the helpful insight.
username_2: That is great @username_0! Although it would be even better to reveal the real root cause :smile:
One thing we know is that persistent storage region that includes OpenThread settings is not automatically erased (on PCA10059 dongles) because bootloader only writes to the places where the application resides. I will try to figure out a better way than manually use `factoryreset` command to erase it. I am wondering if you had other (non-OpenThread based) application flashed before, that may potentially corrupt this persistent storage region, or its just wpantund that doesn't handle some cases.
username_0: @username_2 I did not flash any other application, but since I have 2 dongles I mixed them pretty well. I'm certain that the one I used as ncp was flashed before with a cli hex and configured to work. The configuration there must be from that. Apart from it, I did not flash anything else.
Thanks for your help.
username_2: Hello, @username_0 I was able to reproduce the problem by digging a little more into logs.
**Steps to reproduce:**
- Flash the `CLI FTD` application
- Become a Leader of the network
- Execute `autostart enable` command (any chance you used it?)
- Flash the `NCP FTD` (without erasing Non-Volatile OpenThread Settings - e.g. by using nRF52840 Dongle and nRF Connect)
- Run `wpantund` - which throws the same errors you posted
Because autostart option is enabled, the wpantund daemon does not solely manage the NCP and thus it throws a fail on suspicious state change. I haven't tried on POSIX but I feel the same error should be reproducible.
username_0: Yes!!! I did use the `autostart enable` when I flashed the CLI. I guess you just mapped another root cause problem.
BTW you guys are doing amazing work! Thanks for that and FYI, I'm a PhD candidate using OT to establish a flying IoT network to aid the recovery of disaster areas.
username_2: @username_0 Thanks for the confirmation. The PhD thesis seems to be fantastic! I would be happy to read it and analyze conclusions after it is done :smile:
@username_1 Do you think this problem should be fixed somehow in OT itself (although note that its `otInstanceInitSingle` which starts thread part automatically, so it's not easy to bind it with `NCP`), or `wpantund` should be able to check `autostart` option before it starts joining procedure, or OpenThread users just need to be careful about it?
Anyway, I guess we can close this issue for now, and if need be create a new one as a feature request.
username_3: @username_0 , OT autostart feature is not typically enabled/used when using it in NCP mode with `wpantund`. `wpantund` can take care of starting the network.
Somewhat related to this: We have `"Daemon:AutoAssociateAfterReset"` configuration wpantund property to control `wpantund`'s behavior regarding this (it determines whether the `wpantund` should start the network (associate) if NCP is commissioned (there is a saved network) after NCP reset). Note that it's set to `true` by default. If set to `false` wpantund will leave this to application layer code (wait for it to issue `resume` command to restart the Thread network).
Good luck on your PhD thesis... 100% agree with @username_2 , it sounds amazing! ... :)
username_1: @username_3, while autostart feature is not typically used with NCP, it is possible to get into this state. I agree with @username_2 that we should do something so that others do not run into this in the future.
Status: Issue closed
username_4: A heads up… we just hit this exact issue on CC2538 because our device stores the OpenThread settings off-chip in SPI flash.
So the problem isn't specific to nRF52840, it will affect any platform where the settings are not erased by flashing new firmware. Maybe the NCP firmware could delete the `autostart` setting automatically when flashed, that would avoid this problem?
username_1: @username_4, just submitted #3920.
username_4: @username_1 Fantastic. :-) I'll have to give the new `wpantund` a try soon as our CI server picks up the changes. |
developmentseed/landsat-util | 94415288 | Title: Documentation for pansharpening / processing within Python?
Question:
username_0: Hi
The docs don't give details for how to process or sharpen images within Python -- only for command line utils.
Can the Python package perform image processing within a Python script?
Answers:
username_1: @username_0 You are right. The documentation only provides examples for how to use the CLI. We have to improve this. Here is a quick example for using pansharpening of the image processing class:
```python
from landsat.image import Process
p = Process(path='/path/to/image/image.TIF', bands=[4, 3, 2], dst_path='/path/to/dst/folder', verbose=False, force_unzip=False)
p.run(pansharpen=True)
```
The above script assumes that landsat-util is successfully installed and added to you python path.
Also, note that we are releasing an update to landsat-util that will change how the image processing class is structured. After the update the above code will work differently. I'll post an update here.
Status: Issue closed
|
nguyentaquang/quangnguyen | 483839620 | Title: uart.h
Question:
username_0: /***********************************************************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only
* intended for use with Renesas products. No other uses are authorized. This
* software is owned by Renesas Electronics Corporation and is protected under
* all applicable laws, including copyright laws.
* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
* LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
* TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
* ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
* FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
* ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
* Renesas reserves the right, without notice, to make changes to this software
* and to discontinue the availability of this software. By using this software,
* you agree to the additional terms and conditions found by accessing the
* following link:
* http://www.renesas.com/disclaimer
*
* Copyright (C) 2011, 2013 Renesas Electronics Corporation. All rights reserved.
***********************************************************************************************************************/
/***********************************************************************************************************************
* File Name : uart.h
* Version : 1.0.0
* Device(s) : R5F104PJ
* Tool-Chain : CA78K0R
* Description : This file implements device driver for UART module.
* Creation Date: 09-Sep-15
***********************************************************************************************************************/
#ifndef UART_H
#define UART_H
/*******************************************************************************
* Macro Definitions
*******************************************************************************/
#define UART_TIMEOUT 1000U
#define UART_RECEIVE_DONE 1U
#define UART_CLEAR 2U
#define UART_RX_BUFFER_LEN 26U
#define RECEIVE_STRING_COMPLETE 1U
/******************************************************************************
* Global Variable
******************************************************************************/
extern unsigned char status;
extern char rx_buff[UART_RX_BUFFER_LEN];
extern unsigned int rx_count;
extern char cmd;
extern unsigned int flag_uart;
extern unsigned int check_receive;
/******************************************************************************
* Global Function Prototypes
******************************************************************************/
extern void Uart_Init(void);
extern void Uart_Start(void);
extern void Uart_Stop(void);
extern void Uart_Transmit(const char* tx_ptr, int Len);
extern void Uart_ClearBuff(char* buff_ptr, unsigned int Len);
extern void Uart_Clear(char* buff_ptr, unsigned int Len);
extern void Uart_Error();
#endif
/******************************************************************************
End of file
******************************************************************************/ |
xeals/subs | 367525876 | Title: subs play doesn't do anything
Question:
username_0: Hi there,
I find the whole idea of managing my airsonic instance via terminal quite cool. I don't know what the status of this cli is but I thought I'd give it a go. I can search for songs and `subs add` them. When I run `subs play` however nothing happens. Is this not implemented yet?
There was another cli in the airsonic interview, `airsonic-cli` but it was only briefly developed and is now abandoned. What's the general plan for this if there is any?
Anyways, thanks for your work on this so far! |
opal/opal | 370062346 | Title: Exit code is not captured
Question:
username_0: cf. https://github.com/opal/opal/blob/master/docs/headless_chrome.md#using-exit-codes
with nodejs
$ opal -ropal/platform -e "exit(1)"; echo $?
0
I expect to get exit code 1.
Answers:
username_1: I think we need a spec for exit code and ARGS support for every CLI runner we have
username_1: Fixed by https://github.com/opal/opal/pull/1898, I'll close this when I port the fix to master and release 0.11.4
username_0: Thank you!!
Status: Issue closed
|
CS383Team2/Goofy_Lights_Editor | 219742052 | Title: Doc: Add source file to Master tex
Question:
username_0: The remaining source files needs to be added to the master document.
The exceptions would be the .ui files.
Answers:
username_1: I'm going to leave this open, as there will be continuous additions to the team documentation.
username_0: Section 1 & 2 still need to be split apart
Status: Issue closed
|
carrierwaveuploader/carrierwave | 58744958 | Title: ActiveRecord "column"_changed? method issue with nil values
Question:
username_0: I'm using CarrierWave backgrounder which relies on `xxx_changed?` method to enqueue processing jobs. In a failing test I discovered this CW behavior which triggers background jobs when files are not present at all.
Given this class
```ruby
class Source < ActiveRecord::Base
# CarrierWave integration for logos
mount_uploader :logo, LogoUploader
end
```
the following happens
```
[12] pry(main)> s = Source.new
+----+------+---------+------+------------+------------+
| id | name | website | logo | created_at | updated_at |
+----+------+---------+------+------------+------------+
| | | | | | |
+----+------+---------+------+------------+------------+
1 row in set
[13] pry(main)> s.logo_changed?
false
[14] pry(main)> s.logo = nil
nil
[15] pry(main)> s.logo_changed?
true
[16] pry(main)> s.changes
{
"logo" => [
[0] #<LogoUploader:0x007fcc972db7a0 @model=#<Source id: nil, name: nil, website: nil, logo: nil, created_at: nil, updated_at: nil>, @mounted_as=:logo>,
[1] #<LogoUploader:0x007fcc95a7d460 @model=#<Source id: nil, name: nil, website: nil, logo: nil, created_at: nil, updated_at: nil>, @mounted_as=:logo>
]
}
```
Answers:
username_0: Another weird behavior:
```
[1] pry(main)> s = Source.create!(name: 'foo', website: 'http://www.example.com', remote_logo_url: '')
+----+------+------------------------+------+-------------------------+-------------------------+
| id | name | website | logo | created_at | updated_at |
+----+------+------------------------+------+-------------------------+-------------------------+
| 1 | foo | http://www.example.com | | 2015-02-24 14:42:52 UTC | 2015-02-24 14:42:52 UTC |
+----+------+------------------------+------+-------------------------+-------------------------+
1 row in set
[2] pry(main)> s.previous_changes[:logo] # !!! should be nil
[
[0] #<LogoUploader:0x007fa7fb932880 @model=#<Source id: 1, name: "foo", website: "http://www.example.com", logo: nil, created_at: "2015-02-24 14:42:52", updated_at: "2015-02-24 14:42:52">, @mounted_as=:logo>,
[1] #<LogoUploader:0x007fa7fb9329e8 @model=#<Source id: 1, name: "foo", website: "http://www.example.com", logo: nil, created_at: "2015-02-24 14:42:52", updated_at: "2015-02-24 14:42:52">, @mounted_as=:logo, @storage=#<CarrierWave::Storage::File:0x007fa7fb9251d0 @uploader=#<LogoUploader:0x007fa7fb9329e8 ...>>>
]
```
username_0: I created a couple of failing specs for this in https://github.com/username_0/carrierwave/tree/issue-1571
I can try to fix them if you think this is an actual issue
username_1: @username_0 If you can work up a fix for this that would be great! Looks valid to me.
We're piggy-backing on `ActiveModel::Dirty` as best we can, but there are definitely cases where it falls apart. You'll see when you dig in that we call `send(:"\#{column}_will_change!")` where appropriate, but I wouldn't be surprised at all if there are some holes in that.
username_2: @username_0 @username_1 , I was reading on carrierwave documentation where they talk about recreate_versions! method, and they say that we should ask if the model have the image before calling recreate_versions!, (https://github.com/carrierwaveuploader/carrierwave#recreating-versions).
So I think that probably to fix this issue we could add this condition:
```record.send(:"#{column}?")``` on this line: https://github.com/lardawge/carrierwave_backgrounder/blob/v0.3.0/lib/backgrounder/workers/process_asset.rb#L12
what do you think about this?
username_3: @username_0 @username_1 I'm trying to tackle this issue. You may take a look at the #1635 PR
username_0: @username_3 I'll try it as soon as I have some spare time. If this works is there any ETA for a rubygems release? I don't like to use github in Gemfile for production stuff.
Status: Issue closed
|
voxpelli/webpage-micropub-to-github | 356585444 | Title: Support for other git hosting
Question:
username_0: I know this project is named as what it does on the tin. However, it would be great if other git hosting were supported. Specifically it would be great if Bitbucket were supported.
Answers:
username_1: That shouldn’t be too hard, considering that all GitHub-stuff is encapsulated in a single module, so if someone wants to contribute an adaptor for BitBucket then I would probably merge it.
Eventually it would be nice to support a solution using raw git directly, then all remotes would be supported.
username_2: I am currently moving my site to my own git hosting. Using raw git would be excellent for my usecase. I am a bit on the fence since I've never made anything like this but I could take a look at the possibilities...
username_1: @username_2 What it would entail is basically a module that as close as possible mimics https://github.com/username_1/node-github-publish, but instead uses raw git commands – not sure how complex it would be.
Depends on how intelligent it should be and what it uses to talk git. If it eg. uses a pure-js implementation like https://github.com/creationix/js-git or something or whether it uses the CLI tool or some libgit approach.
username_1: Here’s another helpful link in that regard: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain
username_2: I've been reading up on the material and trying to understand the various concepts. I think this is all a bit high over for me and too heavy lifting with my current knowledge of both git and NodeJS. Or any programming language. I'm going to look for another solution so I can move on with my site and start publishing again instead of using that time to program. Thanks again.
username_1: Totally understandable, that’s the same reason I opted to use the GitHub API to begin with :)
username_3: Couldn't generic git functionality be added with `node-git`?
https://github.com/nodegit/nodegit |
Atlantiss/NetherwingBugtracker | 371739369 | Title: Forsaken courier can get stalled in Arathi Highlands, and they can walk underground.
Question:
username_0: [//]: # (Enclose links to things related to the bug using http://wowhead.com or any other TBC database.)
[//]: # (You can use screenshot ingame to visual the issue.)
[//]: # (Write your tickets according to the format:)
[//]: # ([Quest][Azuremyst Isle] Red Snapper - Very Tasty!)
[//]: # ([NPC] Magistrix Erona)
[//]: # ([Spell][Mage] Fireball)
[//]: # ([Npc][Drop] Ghostclaw Lynx)
[//]: # ([Web] Armory doesnt work)
**Description**:
The quest to get the document from the Forsaken courier (who is supposed to walk all the way from the Go'shek farm and through the Hillsbrad foothills) can get stuck in the Apothecary shack at the farm. To get it unstuck I had to attack it (used range in this case) and they all ran out, including the Apothecary. I was killed by the mass attack and ran back. The courier was no longer around with his bodyguards, so I figured they finally were out on the road. I mounted and followed the road, until I was seeing, very briefly (as I was almost on top of them) the red nameplates "appear" at road level, and then they would disappear. Running over the top of the nameplates aggro'd them, and as I backed up they popped up to road level (this was about directly below Refuge Point if you look at the map). I was then able to kill the courier and get the documents.
Later on, about an hour later, I saw the courier and his bodyguard walking along the road in Hillsbrad, so it appears as though after unstucking them, they stayed unstuck and walked properly from then on.
**Current behaviour**:
Can get stuck in the Apothecary shack. Can walk underground along some areas of the road in Arathi.
**Expected behaviour**:
Shouldn't get stuck in the Apothecary shack. Should never walk so that they dip underground along any stretch of the road in Arathi.
**Server Revision**:
Status: Issue closed
Answers:
username_1: Related to formations: https://github.com/Atlantiss/NetherwingBugtracker/issues/826 |
Stephan-S/FS19_AutoDrive | 756120781 | Title: Parking with implement attached[BUG]
Question:
username_0: **AutoDrive Version:** 1.1.0.6
**Release or Custom Zip:** Release
**Map (If applicable):** All
**Vehicle / Type (If applicable):** Tractors and trucks
**Multiplayer or Singleplayer:** Singleplayer
**Describe the bug**
I have a parking spot selected, and it's working, but as soon as i attach an implement or trailer, the parking button is greyed out, and have to assign new parking spot. Not sure if a bug, or intended
**If applicable - Steps to reproduce the behavior**
**Screenshots**
If applicable, add screenshots to help explain your problem.
Answers:
username_1: Hello sure not !! I don't understand why you set this as bug rather than a question ?
You right, the gray become when attached thing the 1st time. That show you there no Park place attributed to the one attached !
After it has set a park place it's ok. That mean too you can set a park place to each and every tools you have.
Some example:
https://www.youtube.com/watch?v=l2yTUbMSKPM
https://www.youtube.com/watch?v=2ftbKW9kB0k
Remove bug plz !
username_2: FYI: a parking space can be assigned to attachments only in singleplay, not in multi or on a dedi server.
If you don't have any question, then please close the issue.
Status: Issue closed
|
lexik/LexikJWTAuthenticationBundle | 282827617 | Title: ServiceNotFoundException: lexik_jwt_authentication.handler.authentication_success
Question:
username_0: Hello,
I followed a documentation over here: https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/7-manual-token-creation.md and tried to implement the last part with `handleAuthenticationSuccess` method. However, it seems it's not working in Symfony 4 anymore.
`The "lexik_jwt_authentication.handler.authentication_success" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.`
So I tried to inject it in controller's constructor, but...
`Cannot autowire service "App\Controller\UserController": argument "$authenticationSuccessHandler" of method "__construct()" references class "Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler" but no such service exists. It cannot be auto-registered because it is from a different root namespace.`
It was necessary to add these four lines to config/services.yaml:
```
Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager:
autowire: true
Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler:
autowire: true
```
Is this actually the right way of doing this? It feels a bit hacky to me, but I am not really a Symfony expert :) In any way, the documentation seems to be obsolete in this case.
Answers:
username_1: Thanks for reporting this bug, I will try to find the best approach for fixing it. Keep you informed
username_1: @username_2 This bundle works fine with symfony 4, it's tested and I use it everyday. The doc needs some adjustments regarding naming of config files in code examples, but there is no blocker, a flex recipe is available under the `jwt-auth` alias.
About this issue, the deprecation seems legit, dependency injection should be used. The doc needs to be fixed to not call `get()` on a container-aware controller, not the code.
username_2: Thanks. In fact I installed it using the recipe and I'm using it successfully already. Thanks a lot for this.
Status: Issue closed
username_1: Fixed by #465 |
clas-web/translucence-transition | 74507628 | Title: Fix bug is title-box positioning
Question:
username_0: When site theme is changed from translucence to variation template, the title-box position is not properly set, see:
https://clas-pages.uncc.edu/yasin-raja/
https://clas-pages-test.uncc.edu/yasin-raja/
Status: Issue closed
Answers:
username_1: 0e04be4aaacd246dc9784f4a19e483d34b0718cf |
MicrosoftDocs/OfficeDocs-SkypeForBusiness | 438399970 | Title: Does the app setup policy affect Teams mobile app?
Question:
username_0: Hi there
This is a must-to-have feature for enterprise customer. Thank you for the effort.
I've tested this feature, It will work well in PC client. But I don't find the way for how it can work for mobile app. The custom apps which I defined in the policy just disappear in mobile app.
Does the app setup policy affect Teams mobile app as same as PC client?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 6f91604a-35b0-dfbb-55b2-b601cb0841b0
* Version Independent ID: 84bcd0d7-b4ed-f13e-c84b-2ec6a7661ae9
* Content: [Manage app setup policies in Microsoft Teams](https://docs.microsoft.com/en-us/microsoftteams/teams-app-setup-policies)
* Content Source: [Teams/teams-app-setup-policies.md](https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/live/Teams/teams-app-setup-policies.md)
* Service: **msteams**
* GitHub Login: @LanaChin
* Microsoft Alias: **v-lanac**
Answers:
username_0: More details information
This is the app policy

This is the UI of PC client

This is the UI of mobile app

username_1: Hi @username_0 thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products: https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.
username_1: @officedocsbot close |
kintone/js-sdk | 634285244 | Title: Roadmap for 2020 Summer
Question:
username_0: This plan is a roadmap for the next few months.
We will introduce item details in each issue.
## Plan Items
- [x] ~⚠️~ support `x-cybozu-warning` header (#67)
- [x] provide type definitions for each field type
- [ ] ✋ ~add a feature like [config-helper](https://github.com/kintone/config-helper) that retrieves app field information~
⚠️ … BREAKING CHANGE
🏃 ... work in progress
🤔 ... under discussion
✋ ... postpone
Japanese version: https://github.com/kintone/js-sdk-ja/issues/2<issue_closed>
Status: Issue closed |
WoWManiaUK/Blackwing-Lair | 611141194 | Title: [Quest] Faces of Evil ID - 26521
Question:
username_0: **Links:**
https://www.wowhead.com/quest=26521/faces-of-evil
**What is happening:**
When using quest item 58209 - Tiki Torch it does not destroy game object its. quest can't be completed.
**What should happen:**
When you use item 58209 - Tiki Torch it should destroy game object Tiki Mask
**Is it crashing the server?:**
No
**Other Information:**
Quest is located in The Hitherlands
Answers:
username_1: Always check the reports before making new , reported here #349
Status: Issue closed
|
Gruntfuggly/todo-tree | 432211631 | Title: Default filter
Question:
username_0: Add option for default filter? Currently i changed function clearFilter... :)
`function clearFilter() {
// currentFilter = undefined;
// context.workspaceState.update( 'filtered', false );
// provider.clearFilter();
// refreshTree();
currentFilter = 'default_filter';
context.workspaceState.update( 'filtered', true );
provider.filter( currentFilter );
refreshTree();
}`
Answers:
username_1: How would you use it? Would it be instead of "no filter"?
username_0: I'm working on a big project and have a lot of TODO from different people. I would like to filter only my own. But unfortunately filter is not saved when reopen the editor.
username_1: Ah OK - saving the filter was one of the things on my list that I keep forgetting to do.
username_1: New version should now retain the filter between runs.
Status: Issue closed
username_0: Oh! You're the best!!! Saving works great! Thanks:) |
flutter/flutter | 646362550 | Title: Jank noticed on app Start up
Question:
username_0: Whenever a phone is restarted and an app is launched it skips some frames at certain points in the app.
An example is a when the user taps on a Button for the first time. The splash skips one or two frames.
Another example is showing a ModalBottomSheet.
All this happens only once then thereafter it's all smooth.
.Steps to reproduce
1. Run flutter create bug
2. Paste the code below in the main.dart
3. Run flutter run --release
4. Restart your device
5. Launch the app by clicking on it.
✓] Flutter (Channel master, 1.20.0-1.0.pre.209, on Mac OS X 10.15.5
19F101, locale en-GB)
• Flutter version 1.20.0-1.0.pre.209 at
/Users/adeola/Downloads/flutter
• Framework revision 5d2c8694bc (24 hours ago), 2020-06-25 12:18:02
-0400
• Engine revision 73ff2bdd36
• Dart version 2.9.0 (build 2.9.0-18.0.dev 2ec47ad273)
Flutter doctor -v
[✓] Android toolchain - develop for Android devices (Android SDK version
30.0.0)
• Android SDK at /Users/adeola/Library/Android/sdk
• Platform android-30, build-tools 30.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Xcode 11.6, Build version 11N700h
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• iPhone • 7301a50cae9aaf2e903ef313e632bfed64bb3704 • ios • iOS 13.6
Here is a minimal example.
`````dart
import 'package:flutter/material.dart';
void main() {
runApp(
MyApp(),
[Truncated]
to explain how to solve the issue.
-->
```
```
<!--
Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.
-->
```
```
<!-- Finally, paste the output of running `flutter doctor -v` here. -->
```
```
</details>
Answers:
username_0: Hey @filiph . Here is the Bottom Sheet issue from the Flutter Live.
username_1: If an app has janky animations during the first run, and later becomes smooth for the same animation, then it's very likely a shader compilation jank.
More technically, a shader is a piece of program to be run on GPUs. When a shader is first used, it needs to be compiled. The compilation could cost up to a few hundred milliseconds where as a smooth frame needs to be drawn within 16 milliseconds for 60 FPS (frame-per-second) display. Hence a compilation could cause tens of frames to be missed, and drop the FPS from 60 to 6. That is the compilation jank.
One solution to mitigate is almost there https://github.com/flutter/flutter/issues/53607. I just need to write some documentation about how use the tools. I'll let you know once it's done, and see if it fixes your problem.
username_0: I see. I had a similar issue while using animations from https://rive.app in a flutter app. There was always a delay before the animations could start playing.
Just like you said "When a shader is first used, it needs to be compiled", the flare_flutter package has a sort of warmUp function that is meant to be called inside the main() just before calling runApp() so the .flr files could be loading up before running the app thereby eradicating the delay.
I'm guessing that's what #53607 aims to accomplish. Thank you very much for your response :)
username_2: I were trying to implement simple welcome screens using PageView with 720p height pics as background + two lines of text and a button. User will see them only on first, and they work just terribly even on iPhone X. Yeah, I can try a trick with SkSL on Android, but what could I possibly do with iOS?
username_0: This would greatly help https://github.com/flutter/flutter/wiki/Reduce-shader-compilation-jank-using-SkSL-warm-up
username_0: @username_2
Thats sadly true. #53609 plans to make better solution so it works well with Metal.
May I ask for the command used when running `flutter build` for IOS, using SkSL warm up.
Status: Issue closed
username_3: Hi @username_1, I followed the [documentation](https://github.com/flutter/flutter/wiki/Reduce-shader-compilation-jank-using-SkSL-warm-up) and it's working. When can we expect a solution for iOS and Metal? The jank is just horrible in my app. I think I have to remove some animations for the iOS version until there is a fix.
username_0: Whenever a phone is restarted and an app is launched it skips some frames at certain points in the app.
An example is a when the user taps on a Button for the first time. The splash skips one or two frames.
Another example is showing a ModalBottomSheet.
All this happens only once then thereafter it's all smooth.
.Steps to reproduce
1. Run flutter create bug
2. Paste the code below in the main.dart
3. Run flutter run --release
4. Restart your device
5. Launch the app by clicking on it.
✓] Flutter (Channel master, 1.20.0-1.0.pre.209, on Mac OS X 10.15.5
19F101, locale en-GB)
• Flutter version 1.20.0-1.0.pre.209 at
/Users/adeola/Downloads/flutter
• Framework revision 5d2c8694bc (24 hours ago), 2020-06-25 12:18:02
-0400
• Engine revision 73ff2bdd36
• Dart version 2.9.0 (build 2.9.0-18.0.dev 2ec47ad273)
Flutter doctor -v
[✓] Android toolchain - develop for Android devices (Android SDK version
30.0.0)
• Android SDK at /Users/adeola/Library/Android/sdk
• Platform android-30, build-tools 30.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Xcode 11.6, Build version 11N700h
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• iPhone • 7301a50cae9aaf2e903ef313e632bfed64bb3704 • ios • iOS 13.6
Here is a minimal example.
`````dart
import 'package:flutter/material.dart';
void main() {
runApp(
MyApp(),
[Truncated]
height: double.infinity,
width: 60,
child: Icon(Icons.ac_unit),
),
onTap: () => null,
),
),
],
),
);
},
);
},
),
),
);
}
}
`````
username_1: @username_0 @username_3 : I've created https://github.com/flutter/flutter/issues/61045 to collect feedback on Metal iOS shader compilation jank severity. Please give us some numbers and stories there so we can make an informed decision on how to handle this for newer iPhones (e.g., iPhone X).
username_4: This is a duplicate of https://github.com/flutter/flutter/issues/61450
Status: Issue closed
|
radical-cybertools/radical.pilot | 575704727 | Title: Tasks (GROMACS) fail on PSC Bridges when run with RP/EnTK.
Question:
username_0: `radical-stack` is
```(rct_py3.6) scm177@McEwan:~/RCT/repex.gmx$ radical-stack
python : 3.6.10
pythonpath :
virtualenv : /home/scm177/Virtual_Envs/rct_py3.6
radical.entk : 1.0.1-v1.0.1-2-g92797c9@devel
radical.pilot : 1.1.1-v1.1.1-8-g0afb0cd@fix-repex
radical.repex : 0.72.0-78870dc@fix-am
radical.saga : 1.1.2
radical.utils : 1.1.1
```
Essentially, while running a simulation via the slurm script, it runs fine. But inside of EnTK/RP, it fails.
I have run `radical-pilot-fetch-json` and `radical-pilot-fetch-logfiles`. I have also tarred both the agent and client sandboxes and attached them here.
[agent_side_sandbox.tar.gz](https://github.com/radical-cybertools/radical.pilot/files/4289346/agent_side_sandbox.tar.gz)
[client_side.tar.gz](https://github.com/radical-cybertools/radical.pilot/files/4289347/client_side.tar.gz)
Happy to provide additional details for debugging
Thanks
Answers:
username_1: Hi @username_0 : can you please (a) check if you have any module commands in your `~/.bashrc`, and (b) add a `module reset` as first `pre_exec` command? Thanks!
username_0: My `.bashrc` looks like:
```# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging featur\
e:
# export SYSTEMD_PAGER=
# User specific aliases and functions
```
I also added a `module reset` and it still fails.
username_1: Can you please do a `module list` as *last* `pre_exec` command, and paste the output, and also to a `module list` in the slurm script just before execution, and paste that output as well? Thanks!
username_0: pre_exec:
```mdTrace.c(713):ERROR:104: 'reset' is an unrecognized subcommand
cmdModule.c(411):ERROR:104: 'reset' is an unrecognized subcommand
Currently Loaded Modulefiles:
1) psc_path/1.1 3) intel/19.5 5) gromacs/2018_cpu
2) slurm/default 4) xdusage/2.1-1
/opt/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/bin/mpirun: lin\
e 103: 5221 Segmentation fault mpiexec.hydra "$@" 0<&0
```
Slurm script:
```+ module list
++ /usr/bin/modulecmd bash list
Currently Loaded Modulefiles:
1) psc_path/1.1 3) intel/19.5 5) gromacs/2018_cpu
2) slurm/default 4) xdusage/2.1-1
+ eval
```
username_1: Ha, this is getting interesting :-D
Can you please do two more things (you can remove the `set -x` btw): add `which mpirun` to both (at the end), and add this at the end: `env > rp.env` and `env > slurm.env`, and attach both env files. Please also attach your slurm script.
Thanks!
username_0: Slurm script output for `which mpirun` and `module list` :
```
Currently Loaded Modulefiles:
1) psc_path/1.1 3) intel/19.5 5) gromacs/2018_cpu
2) slurm/default 4) xdusage/2.1-1
/opt/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/bin/mpirun
```
rp `which mpirun` :
```/opt/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/bin/mpirun
```
Both files are attached: [here](https://github.com/radical-cybertools/radical.pilot/files/4289693/envs.tar.gz)
username_1: What did RP give on `module list`?
username_0: Same as above:
``` 1) psc_path/1.1 3) intel/19.5 5) gromacs/2018_cpu
2) slurm/default 4) xdusage/2.1-1```
username_1: Can you please use as `pre_exec`:
```
module reset
module load psc_path/1.1
module load slurm/default
module load intel/19.5
module load xdusage/2.1-1
module load gromacs/2018_cpu
```
I understand that those are loaded - but from the env it appears that RP fiddles too much with LD_LIBRARY_PATH which invalidates the previous load.
Thanks.
username_0: This worked for exactly one run: then it's back to failing. With exactly the same issue as above.
username_1: Hm.. Can you please provide the agent sandbox again? Or, actually, the `.sh` file for the failing task would suffice...
username_0: @username_1 you have sandbox permissions.
The run that worked:
`/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0002`
The ones that failed:
`/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0003`
`/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0004`
`/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0005`
`/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0006`
`/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0007`
username_0: The .sh file for the successful run:
```
#!/bin/sh
# Environment variables
export RP_SESSION_ID="re.session.McEwan.scm177.018326.0002"
export RP_PILOT_ID="pilot.0000"
export RP_AGENT_ID="agent.0"
export RP_SPAWNER_ID="agent_executing.0000"
export RP_UNIT_ID="unit.000000"
export RP_UNIT_NAME="task.0000,rep.0000.0000.md,stage.0000,None,pipeline.0000,p_rep.0000"
export RP_GTOD="/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0002/pilot.0000/gtod"
export RP_TMP="None"
export RP_PILOT_STAGING="/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0002/pilot.0000"
export RP_PROF="/pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0002/pilot.0000/rep.0000.0000.md//unit.000000.prof"
prof(){
if test -z "$RP_PROF"
then
return
fi
event=$1
msg=$2
now=$($RP_GTOD)
echo "$now,$event,unit_script,MainThread,$RP_UNIT_ID,AGENT_EXECUTING,$msg" >> $RP_PROF
}
export OMP_NUM_THREADS="1"
prof cu_start
# Change to unit sandbox
cd /pylon5/mr560ip/mushnoor/radical.pilot.sandbox/re.session.McEwan.scm177.018326.0002/pilot.0000/rep.0000.0000.md/
prof cu_cd_done
# Pre-exec commands
prof cu_pre_start
module purge || (echo "pre_exec failed"; false) || exit
module load psc_path/1.1 || (echo "pre_exec failed"; false) || exit
module load slurm/default || (echo "pre_exec failed"; false) || exit
module load intel/19.5 || (echo "pre_exec failed"; false) || exit
module load xdusage/2.1-1 || (echo "pre_exec failed"; false) || exit
source /opt/packages/gromacs-CPU-2018/bin/GMXRC.bash || (echo "pre_exec failed"; false) || exit
module load gromacs/2018_cpu || (echo "pre_exec failed"; false) || exit
mpirun -np 1 gmx_mpi grompp -f mdin.mdp -c inpcrd.gro -o sys.tpr -p sys.top || (echo "pre_exec failed"; false) || exit
prof cu_pre_stop
# The command to run
prof cu_exec_start
gmx_mpi "mdrun" "-s" "sys.tpr" "-deffnm" "sys" "-c" "outcrd.gro" "-e" "sys.edr"
RETVAL=$?
prof cu_exec_stop
# Post-exec commands
prof cu_post_start
mpirun -np 1 gmx_mpi energy -f sys.edr -b 0.25 < inp.ener > mdinfo || (echo "post_exec failed"; false) || exit
prof cu_post_stop "$ret=RETVAL"
# Exit the script with the return code from the command
[Truncated]
prof cu_pre_stop
# The command to run
prof cu_exec_start
gmx_mpi "mdrun" "-s" "sys.tpr" "-deffnm" "sys" "-c" "outcrd.gro" "-e" "sys.edr"
RETVAL=$?
prof cu_exec_stop
# Post-exec commands
prof cu_post_start
mpirun -np 1 gmx_mpi energy -f sys.edr -b 0.25 < inp.ener > mdinfo || (echo "post_exec failed"; false) || exit
prof cu_post_stop "$ret=RETVAL"
# Exit the script with the return code from the command
prof cu_stop
exit $RETVAL
```
There were runs where the .sh files were empty and the tasks never launched.
username_1: Uh, I am a bit at a loss - apart from session and task IDs, the scripts are identical. Did the pilot configuration change? I'm afraid we will have to compare the pilot sandboxes - would you mind attaching them? Thanks.
username_0: I will attach them shortly.
There are a few extremely odd things here. I bounced a few tickets between myself and PSC admins.
It turns out that in the latest installation of gromacs they have, the `grompp` command MUST be run serially: meaning no `mpirun` at the beginning of the `grompp` command. Now I have done precisely that before with no problems: including in the one run that succeeded.
Now, however, `post_exec` fails. This causes the generation of the mdinfo file to be empty.
The string of the `post_exec` looks like this:
`"gmx_mpi energy -f sys.edr -b 0.25 < inp.ener > mdinfo"`
Funnily enough it only reads up until `-b 0.25`
Attaching the files in a minute.
username_1: How do you know?
username_0: I know because the `STDERR` file ends as follows:
```Command line:
gmx_mpi energy -f sys.edr -b 0.25
Opened sys.edr as single precision energy file
Select the terms you want from the following list by
selecting either (part of) the name or the number or a combination.
End your selection with an empty line or a zero.
-------------------------------------------------------------------
1 Bond 2 G96Angle 3 Improper-Dih. 4 LJ-(SR)
5 Coulomb-(SR) 6 Potential 7 Kinetic-En. 8 Total-Energy
9 Conserved-En. 10 Temperature 11 Pressure 12 Constr.-rmsd
13 Box-X 14 Box-Y 15 Box-Z 16 Volume
17 Density 18 pV 19 Enthalpy 20 Vir-XX
21 Vir-XY 22 Vir-XZ 23 Vir-YX 24 Vir-YY
25 Vir-YZ 26 Vir-ZX 27 Vir-ZY 28 Vir-ZZ
29 Pres-XX 30 Pres-XY 31 Pres-XZ 32 Pres-YX
33 Pres-YY 34 Pres-YZ 35 Pres-ZX 36 Pres-ZY
37 Pres-ZZ 38 #Surf*SurfTen 39 Box-Vel-XX 40 Box-Vel-YY
41 Box-Vel-ZZ 42 T-System 43 Lamb-System
-------------------------------------------------------
Program: gmx energy, version 2018
Source file: src/gromacs/gmxana/gmx_energy.cpp (line 295)
Fatal error:
No energy terms selected
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------
Abort(1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
```
Notice the lines
```
Fatal error:
No energy terms selected
```
Guess what I am feeding in the `inp.ener` file.
username_1: Well, `gmx_mpi energy -f sys.edr -b 0.25` is the command, so that is what gmx sees. It cannot see what else is done on the shell level, i.e., it has no insight into the I/O redirection.
I would assume that the error message `No energy terms selected` points to a semantic error, either in the input file or in the command line parameters?
username_0: That command line has not changed since I have run it on my desktop.
Basically, `inp.ener` consists of three lines:
```
6
10
0
```
When it is fed into the `gmx_mpi energy -f sys.edr -b 0.25` command, it asks for user input which is the above three lines.
Status: Issue closed
username_2: close this ticket in favor of #2128 |
necolas/react-native-web | 423527628 | Title: StyleSheet: Edge browser bug causes broken styles
Question:
username_0: **The problem**
Edge browser throws `DOMException: HierarchyRequestError` while inserting CSS rules into CSS Media Queries.
**How to reproduce**
Simplified test case: https://gist.github.com/username_0/aa0c37846ad6bd3b05b727b959e82674
Steps to reproduce:
1. Open HTML page in Edge
2. Observed: Screen is orange in color
3. Expected: Screen is violet in color
**Expected behavior**
Rendering in Edge should match other browsers.
**Environment (include versions). Did this work in previous versions?**
* React Native for Web (version): 0.11
* React (version): N/A
* Browser: Edge
**Additional context**
React Native for Web 0.11 introduced ordered CSS rules, which is implemented using Media Query blocks. This appeared viable in an initial proof-of-concept, including in Edge, because the Edge bug doesn't seem to manifest until a few insertions have taken place.
To avoid the Edge bug the ordering will have to rely on a different mechanism.<issue_closed>
Status: Issue closed |
ia-cloud/node-red-contrib-ia-cloud-dashboard | 640240785 | Title: timestampのタイムゾーンが混在する時に、chartのグラフが日時順にならない
Question:
username_0: DynamoDBから取得したデータに+09:00以外のタイムゾーンが存在すると、chartの折れ線が日時順にならない。
折れ線を引く順番はデータ配列順なのに対し、
timestamp軸はラズパイのタイムゾーン(日本)基準でプロットされた結果、
+09:00以外のタイムゾーンになっている点が+09:00基準の位置にずれて、
画像のようなグラフになる模様です。

chartに渡す前にうまく日時順にデータソート出来れば良いかと思われます。 |
Azure/aks-engine | 510177264 | Title: Validity is too long for SSL cert on the API server endpoint
Question:
username_0: **Describe the bug**
Currently it seems that the validity of the SSL cert used for the API server endpoint is configured to be 30 years. We are getting flagged on sslscanner.trafficmanager.net because of the validity is too long. According to https://microsoft.sharepoint.com/teams/CESecEngineering/SiteAssets/xca/Home/CertificateAnalyzer_policies_Explained.pdf, the requirement is to have a max 2 years of validity.
**Steps To Reproduce**
Deploy the cluster and scan the master url, https://<master_prefix>.<location>.cloudapp.azure.com with SSL scanner: https://sslscanner.trafficmanager.net/
**Expected behavior**
Pass the test
**AKS Engine version**
0.41.4
**Kubernetes version**
1.15.4
**Additional context**

Answers:
username_1: You can pass in your own certificates with the desired validity using the `certificateProfile`, using [key vault references](https://github.com/Azure/aks-engine/blob/master/examples/keyvault-params/README.md#L7) or plain text values.
username_0: @username_1 The problem with creating our own apiserver.crt is that, currently these DNS are added as SAN to the apiserver.crt, which I assume these are needed for internal communication to apiservice within the cluster. So we need to do the same thing when creating our own cert but as soon as aks-engine change the implementation, it will break. I think it's much cleaner for aks-engine to make the expiry time on the apiserver.crt configurable as it's a publicly exposed endpoint.
username_1: @username_0 we would gladly accept a PR to make the validity configurable. FWIW, the FQDNs have not been changed [for 3 years](https://github.com/Azure/aks-engine/commit/3c352ecb3682f9c3455d04f394a980be09d439db#diff-a684d9601dd259c9e06a504247fac01bR28) (basically since aks-engine exists) so I don't expect that part of the code to change, using your own cert seems like a valid long term option. |
binary-com/binary-bot | 598087985 | Title: Binary bot issue
Question:
username_0: How we notify current position of cursor not last tick
I'm talking about current position of point how can we notify please help
Answers:
username_1: **Last Tick** is the current position of a point.
See my example:

username_0: That was last tick as I said I don't want last tick live tick or location
username_1: Upload a screenshot of what exactly do you want to make. You can't notify a position of a mouse cursor because the bot can't see your cursor at all.
Status: Issue closed
|
DemocracyClub/UK-Polling-Stations | 203877646 | Title: Import E07000156-Wellingborough
Question:
username_0: https://morph.io/wdiv-scrapers/DC-PollingStations-Wellingborough
Not going to suggest this one for volunteers as it is a bit tricky due to being wrapped in a `MultiSurface` element so I'll take this one<issue_closed>
Status: Issue closed |
ezolenko/rollup-plugin-typescript2 | 894636855 | Title: tslib import issues in #12 are still rampant
Question:
username_0: https://github.com/username_1/rollup-plugin-typescript2/issues/12 is already closed but the regular and ongoing conversation shows the issues aren't resolved and adding direct dependencies for things that should be resolved automatically is still the best bandage solution propsed.
Answers:
username_1: tslib 2.1.0 is already a direct dependency of rpt2, so it should work, unless you are using something not in 2.1.0?
username_0: I think we tracked it down to being issues with npm 7, reverting to npm 6 and it's older dependency resolution approach seemed to fix things. |
twitchtv/retool | 793743024 | Title: Can't use retool on Big Sur
Question:
username_0: go version go1.16beta1 darwin/arm64
```
mkdir t
cd t
retool add github.com/golang/protobuf/protoc-gen-go master
retool: downloading github.com/golang/protobuf/protoc-gen-go
retool: setting version for github.com/golang/protobuf/protoc-gen-go
retool: fatal err: execution error on "git checkout ": chdir /Users/az/t/_tools/src/github.com/golang/protobuf/protoc-gen-go: no such file or directory
``` |
iandouglas/github-scraper | 389896166 | Title: User Story 3, User Navigation
Question:
username_0: ```
As a registered user
I see the same links as a visitor
Plus the following links
- a link to my profile page ("/profile")
- a link to see my orders ("/profile/orders")
- a link to log out ("/logout")
Minus the following links
- I do not see a link to log in or register
I also see text that says "Logged in as <NAME>" (or whatever my name is)
```
### Checklist:
- [ ] base code tests are written
- [ ] base code is written to pass tests
- [ ] edge case ("sad path") tests written (if required)
- [ ] edge case code written (if required)
- [ ] code is reviewed
- [ ] branch is merged
- [ ] all tests still pass |
pulibrary/requests | 628897146 | Title: If a user does not have an ILLiad account, create account on the fly with User API.
Question:
username_0: When an EDD request requiring ILLIad is issued check to see if the user's account exists in the illiad database and is active. If it is blocked notify the user to contact resource sharing for help. If the account doesn't exist create it on the fly with the user's net ID and the basic info from the bibdata patron API. #617 will provide the methods to execute this.<issue_closed>
Status: Issue closed |
phpstan/phpstan | 534937564 | Title: curl_share_setopt invalid signature
Question:
username_0: Example: https://phpstan.org/r/f2197e09-3753-445e-b133-cf75d4df6050
Argument `$value` has invalid.
php signature(string but used only int from constants.
Answers:
username_1: Please follow guidelines from: https://github.com/phpstan/phpstan/issues/new?template=Function_signature_mismatch.md
Please send a pull request in phpstan/phpstan-src that updates file src/Reflection/SignatureMap/functionMap.php instead. Thank you.
username_2: Looks like the source of this is incorrect PHP documentation which I've raised a bug for: https://bugs.php.net/bug.php?id=79105
username_1: Fixed by: https://github.com/phpstan/phpstan-src/pull/97
Status: Issue closed
|
fimion/pydak | 860051828 | Title: How would I connect this to the scoreboard
Question:
username_0: I have an all sport 5310 and wondering how to connect it to something like a raspberry pi. I see it's a serial interface but the output is a 1/4" jack. How would I connect that considering its serial over an audio jack?
Answers:
username_1: I have fully implemented the Protocol from the All Sport 5000 series using the J6 I/O Port, this is the easiest way. We take the data into our raspberry pi 4 or raspberry pi zero w and then can display it on to a screen or transmit it wirelessly to another device. What are you wanting to do with the data?
username_0: can I have a picture of that IO port? maybe I didn't look hard enough, I only saw the quarter inch. I am just going to feed the score/time/etc over an API to create an OBS overlay.
username_1: https://dc312twq8p77z.cloudfront.net/assets/125098_3057867.jpg
We have already implemented saving the data for all sports to text files that can be used with OBS:
https://scoreboards.com/wp-content/uploads/2021/03/GameDataSender.png
username_0: oofers i put 5310 instead of 2510. my bad I have the all sport 2510
username_0: closing because I don't have a 5000 series.
Status: Issue closed
username_0: @username_1 can I replace my 2510 with a 5000 series?
username_1: --
<NAME>
Olympian LED
(321)-747-3220 |
V4Fire/Client | 265277305 | Title: Нет возможности передать в b-input флаг readonly
Question:
username_0: У b-input'а в методе onFocus удаляется атрибут readonly (для отключения подсказок автозаполнения кажется), так что нет возможности указать явно что поле доступно только для чтения.
`onFocus() {
const
{input} = this.$refs;
if (input.hasAttribute('readonly')) {
input.removeAttribute('readonly');
if (this.b.is.iOS) {
input.blur();
input.focus();
}
}
super.onFocus(...arguments);
}`
Status: Issue closed
Answers:
username_1: Исправлено |
e-mission/e-mission-docs | 928627825 | Title: using timeseries_sample.ipynb, steps to understanding the data
Question:
username_0: Below are a few outlined steps I used to begin understanding the transformation of raw data through the pipeline stages.
1. I would first suggest opening one of the raw data files such as: https://raw.githubusercontent.com/e-mission/e-mission-server/master/emission/tests/data/real_examples/username_1_2015-jul-22
2. Within the raw data file, you are able to visualize the layout of the data. Next, you may want to see how this data is processed through the pipeline, using the provided notebook, timeseries_sample.ipynb
3. Open this notebook, it should be set to use the July 22nd data. The notebook allows you to step through the small bits of code, teaching you have to access the database, and objects such as the confirmed and cleaned trips and sections.
4. I would add print statements to each variable you are unsure of, and run that line of code within the notebook. This will allow you to visualize the process and see how the pipeline and query pull from the stored data after it has run through the intake pipeline.
Some videos to help you set up and understand how to use the Jupyter Notebook: https://www.youtube.com/watch?v=DKiI6NfSIe8 , https://www.youtube.com/watch?v=HW29067qVWk
Answers:
username_1: @username_0 can you maybe submit this as a PR to the documentation, either here or in the server repo? |
openebs/openebs | 269285406 | Title: [CODECOV] Write unit tests for maya/orchprovider/k8s/v1/util.go's getInClusterCS() logic
Question:
username_0: <!-- This form is for bug reports and feature requests ONLY! -->
<!-- Thanks for filing an issue! Before hitting the button, please answer these questions.-->
## Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
## Why is this required
- It will be good to unit test & increase the code coverage
- It will reduce run time logic errors
## Where is the source
- File to be tested - https://github.com/openebs/maya/blob/master/orchprovider/k8s/v1/util.go
- Function to be tested - func (k *k8sUtil) getInClusterCS() (*kubernetes.Clientset, error) {..}
Answers:
username_1: @username_0 I would love to give it a shot :slightly_smiling_face:
username_0: Awesome, :+1:
username_0: Code has been refactored ..and has been fixed in https://github.com/openebs/maya/pull/812 and https://github.com/openebs/maya/pull/807
Status: Issue closed
|
Comcast/mamba | 286088465 | Title: Playlists should be "Master" and "Variant" flavored
Question:
username_0: ### Description
Right now, all HLS playlists are `HLSPlaylist` type. You can tell if a playlist is master or variant by inspecting the `type`.
However, there are weak typing issues in `HLSPlaylist`. The `mediaSegmentGroups` and all the `HLSPlaylistTimelineTranslator` don't really make sense unless the playlist is a Variant. Also, this situation leads to a lot of:
```
guard playlist.type == .master else {
// exit with an error, exception and possibly an assert
}
```
which could be avoided with strong typing.
### Tasks
It's not 100% clear what the correct solution is. Perhaps the `HLSParser` could have two success callbacks, one for master and one for variant playlists.
Most functionality should be shared between `HLSMasterPlaylist` and `HLSVariantPlaylist`. It's only `mediaSegmentGroups` and `HLSPlaylistTimelineTranslator` that are specific to `HLSVariantPlaylist`. I would imagine that `HLSMasterPlaylist` could have some specific functionality to deal with `#EXT-X-STREAM-INF` tags paired with variant urls (similar to `mediaSegmentGroups`).
We should have an agreement about architecture before going forward.
This will be a large architectural change.<issue_closed>
Status: Issue closed |
cgrizio/UTN-PaginaSeguros | 564390450 | Title: Devolucion
Question:
username_0: Hola Camila!
Perdon por la tardanza en la respuesta...
El proyecto esta muy bueno. Te dejo algunos detalles:
Al 90% de zoom se ve muy bien, pero al 100% en una resolución de 1366px ancho, se ve exageradamente enorme (sobre todo la tipografía). El uso extremo de vh y vw como unidades, puede ser.
Las animaciones gif, podrían ser SVG animado. Una herramienta interesante para esto es http://svgator.com.
Answers:
username_1: Hola Guido!! Gracias por tus devolución!! Voy a tener en cuenta esas cosas!!
Saludos!!
Cami
El El mié, 12 feb. 2020 a la(s) 22:58, <NAME> < |
50ButtonsEach/fliclib-ios | 165517240 | Title: Add a field "event datetime" for the Button
Question:
username_0: For example, in case of Bluetooth is disabled, and I click the Flic, then I turn Bluetooth on and I will immediately receive an event (Flic was clicked `didReceiveButtonClick`), but I don't know exactly time when Flic was clicked.
Is it possible to add event date-time field (when Fic was clicked) for the Flic button?
Answers:
username_1: The age parameter for didReceiveButtonClick contains the number of seconds ago the button was pressed.
username_0: That's what I was looking for.
Thanks.
Status: Issue closed
|
PascalHonegger/ng-datatable | 772316746 | Title: not showing the triangules in header column when sorting
Question:
username_0: Hello.
i've implemented the plugin an it's working. Is paginating and when clicking in header's titles the table sorts .
The problem is that in the headers is not showing the little triangle indicating the column that is sorting and if the sorting is asc or dec.
is there any solution for this?. Thank you very mucho
Answers:
username_1: The little triangle indicators are from Glyphicons and should be loaded if you have bootstrap included. Are you using Bootstrap 4 by any chance?
username_0: i have installed bootstrap 4. this is my angular hson lines:
"styles": [
"src/assets/css/font-awesome.min.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/assets/less/styles.less",
"src/assets/less/responsive.less"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"src/assets/js/libs/popper1_16_0/popper.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]
my package.json
{
"name": "mega2-app-incidencias",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@ng-bootstrap/ng-bootstrap": "^8.0.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@pascalhonegger/ng-datatable": "^11.0.1",
"bootstrap": "^4.5.3",
"jquery": "^3.5.1",
"ngx-slide-toggle": "^0.1.1",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.1",
"@angular/cli": "~11.0.1",
"@angular/compiler-cli": "~11.0.0",
"@angular/localize": "^11.0.5",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}
i also installed ng bootstrap.
thank you for your response
username_1: Yeah the code corrently depends on Glyphicons, which were included in Bootstrap 3. I'm not sure if I should switch to Bootstrap 4 given how dated Bootstrap 3 has become, but maybe some applications still rely on it :/
As a workaround you can try to include Glyphicons explicitly
Status: Issue closed
username_0: I've installed glyphicons separately into my projet and the problem is solved.
Thank you very much. |
WayofTime/BloodMagic | 296230281 | Title: (1.12.2) All Alchemy Array Recipes Use Water Reagent In Them
Question:
username_0: #### Issue Description:
All the Alchemy Arrays that should use a specific reagent in them (so not including movement, updraft, skeleton turret, bouncing and divination sigil arrays) use the Water Reagent as the initial ingredient. So while the Lava Sigil recipe should use the Lava Reagent followed by a blank slate, for instance, it uses the Water Reagent instead.
If you look at all the recipes in JEI that use Arcane Ashes, you'll see the problem.
____
#### Affected Versions (Do *not* use "latest"):
- BloodMagic: BloodMagic-1.12.2-2.2.2-85
- Minecraft: 1.12.2
- Forge: 14.23.2.2613
Answers:
username_0: Update: looking in further detail over Blood Magic recipes in JEI reveals that the Water Reagent is also (mis)used in Alchemy Table recipes, and it has oreDict entires for dustCoal, dustIron and dustGold.
username_1: 
username_0: Christ, I left this open in another window, and when I looked back that face was suddenly there and I nearly pissed myself.
username_1: Oh, I see. I changed how the component item was handled but never actually finished moving things.
Status: Issue closed
|
purescript/purescript | 145412055 | Title: hPutChar error when printing warnings
Question:
username_0: ```
Warning 2057 of 2076:
in module SlamData.Notebook.Cell.Common.EvalQuery
at D:\Home\GitHub\slamdata\src\SlamData\Notebook\Cell\Common\EvalQuery.purs line 159, column 1 - line 162, column 1
An operator section uses legacy syntax. Operator sections are now written using anonymous function syntax:
(_ psc: <stderr>: hPutChar: invalid argument (invalid character)
```
The offending code:
``` purescript
instance bindCellEvalT ∷ (Monad m) ⇒ Bind (CellEvalT m) where
bind (CellEvalT m) = (⋙ getCellEvalT) ⋙ bind m ⋙ CellEvalT
```
We're not writing unicode output I guess?
Answers:
username_1: Hmm, we should be.
Status: Issue closed
|
evancohen/smart-mirror | 212690209 | Title: UI/config error
Question:
username_0: <!--- Provide a general summary of the issue or suggestion in the Title above -->
### Expected Behavior
Access config from ui start-page should display all the options for configuration.
### Current Behavior
[http://localhost:8080/config.html](http://localhost:8080/config.html) returns the following:
```
Entered content is not yet a valid JSON Form object.
The JSON Form library returned:
buildFromLayout@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:3170:22
https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:3145:46
forEach@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/deps/underscore.js:84:28
buildFromLayout@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:3144:13
https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:2992:49
forEach@[native code]
forEach@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/deps/underscore.js:76:18
buildTree@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:2978:9
initialize@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:2958:17
jsonForm@https://gitcdn.xyz/cdn/joshfire/jsonform/3aa545b8994aa85f91490ec8289765732520193c/lib/jsonform.js:3523:18
http://10.0.1.3:8080/remote-client.js:167:30
emit@http://10.0.1.3:8080/socket.io/socket.io.js:2:28730
onevent@http://10.0.1.3:8080/socket.io/socket.io.js:3:5725
onpacket@http://10.0.1.3:8080/socket.io/socket.io.js:3:5349
http://10.0.1.3:8080/socket.io/socket.io.js:3:7491
emit@http://10.0.1.3:8080/socket.io/socket.io.js:2:28730
ondecoded@http://10.0.1.3:8080/socket.io/socket.io.js:1:29254
http://10.0.1.3:8080/socket.io/socket.io.js:3:7491
emit@http://10.0.1.3:8080/socket.io/socket.io.js:1:23667
add@http://10.0.1.3:8080/socket.io/socket.io.js:1:10411
ondata@http://10.0.1.3:8080/socket.io/socket.io.js:1:29206
http://10.0.1.3:8080/socket.io/socket.io.js:3:7491
emit@http://10.0.1.3:8080/socket.io/socket.io.js:2:28730
onPacket@http://10.0.1.3:8080/socket.io/socket.io.js:2:5910
http://10.0.1.3:8080/socket.io/socket.io.js:2:3535
emit@http://10.0.1.3:8080/socket.io/socket.io.js:2:28730
onPacket@http://10.0.1.3:8080/socket.io/socket.io.js:2:18002
r@http://10.0.1.3:8080/socket.io/socket.io.js:2:15630
http://10.0.1.3:8080/socket.io/socket.io.js:2:23105
forEach@[native code]
decodePayloadAsBinary@http://10.0.1.3:8080/socket.io/socket.io.js:2:23089
decodePayload@http://10.0.1.3:8080/socket.io/socket.io.js:2:21072
onData@http://10.0.1.3:8080/socket.io/socket.io.js:2:15650
http://10.0.1.3:8080/socket.io/socket.io.js:2:11798
emit@http://10.0.1.3:8080/socket.io/socket.io.js:2:28730
onData@http://10.0.1.3:8080/socket.io/socket.io.js:2:13357
onLoad@http://10.0.1.3:8080/socket.io/socket.io.js:2:14212
onreadystatechange@http://10.0.1.3:8080/socket.io/socket.io.js:2:13019
```
### Possible Solution
### Steps to Reproduce (for bugs)
Worked fine yesterday, this appeared at first boot today.
Have restarted, updated from dev etc without success.
### Context
### Your Environment
Pi 3.
Dev branch, updated with dependencies.
Answers:
username_1: Sorry this was my change. I made a fix for it yesterday and will need to be
approved and merged to dev in order to fix it
username_0: Shit happens, thanks for info!
Will close after I have updated and confirmed.
username_1: The fix has been merged into the dev branch.
Closing this issue.
Status: Issue closed
|
atom/autocomplete-plus | 148173225 | Title: autocomplete box hides behind the bottom atom panel container
Question:
username_0: 
as the pic shows it seems that `<atom-overlay class="autocomplete-plus" style="top: ...px; left: ...px;">` its hidden under `<atom-panel-container class="bottom">` element,
it shouldn't be taken in consideration the parent element `<atom-pane-container class="panes">` dimensions in order to be always visible ?
:(
Answers:
username_1: Additionally, it can hide under the tree view

username_2: I can reproduce this using Atom 1.7.4 on OS X 10.11, but not on Atom 1.7.4 running on Windows 7.
username_2: After realising that it doesn't it happen in safe mode, I checked the packages one by one and this is the one that triggers this issue: https://github.com/lukyth/power-mode :) Cheers!
username_0: i still have the same behavior without power mode installed.
username_2: that's strange... this is how it looks for me without that package (Atom 1.7.4 on OS X 10.11)
 |
johanjanssen/AdoptOpenJDKChocolateyPackages | 499350052 | Title: Install script sometimes contains unused variables
Question:
username_0: Remove unused variables from install scripts.
For instance the following package: https://chocolatey.org/packages/adoptopenjdk13openj9/13.33
Has the following install script:
$packageArgs = @{
PackageName = 'AdoptOpenJDK13openj9'
Url = ''
Url64bit = 'https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13%2B33_openj9-0.16.0/OpenJDK13U-jdk_x64_windows_openj9_windowsXL_13_33_openj9-0.16.0.msi'
Checksum = ''
ChecksumType = ''
Checksum64 = 'A203B113F2ADF4D49C6C0FEF3E36C08F40C1F0B6D38CD224249F95C978FAF215'
ChecksumType64 = 'sha256'
fileType = 'msi'
silentArgs = "INSTALLLEVEL=3 /quiet"
}
Answers:
username_0: Partly caused by a third downloadlink for WindowsXL (large heap). This is fixed.
One issue remains: OpenJ9 except for Java 8 doesn't have 32 bit downloads.
username_0: Fixed by #6
Status: Issue closed
|
DeepLearnPhysics/larcv3 | 445021779 | Title: Possible de-serialization bug in cluster3d
Question:
username_0: I think the deserialization (or maybe serialization) for cluster3d is broken. I believe the cluster index is getting fubar'd at some point and that wrecks the _cluster_v vector in EventSparseCluster3D. I will investigate later but opening an issue to track this.
Answers:
username_0: Closing because all tests continue to pass and I think this is fixed.
Status: Issue closed
|
martinwojtus/tutorials | 1000331607 | Title: Test cases improvements
Question:
username_0: https://github.com/martinwojtus/tutorials/blob/96edd16baac2466256f2f9964128935e34d8c07a/spring-boot/spring-boot2-junit5-mockito/src/test/java/com/frontbackend/springboot/controller/HelloControllerMockMvcTest.java#L23
This test case can be improved with 100% test coverage. I have fixed and want to push the code. |
Lichtfarbenspiel/Text-Adventure | 562875058 | Title: Endlose Rekursion
Question:
username_0: https://github.com/Lichtfarbenspiel/Text-Adventure/blob/c62d64e05a2135db754e75de51b17d4b4e72f625/Code/Game/Program.cs#L41
An der Stelle gibts ne Rekursion die theoretisch endlos sein kann.
Dabei wird aber jedes mal ne neue Instanz der Methode auf den Stack gelegt, welche dann relativ schnell voll sein drüfte.
Außerdem wird dann der Code danach auch mehrmals ausgeführt, was er eigentlich nicht sollte.
Ich würd einfach alles von Zeile 24 bis 43 in eine Endlosschleife packen und dann aus der rausspringen wenn ein korrekter Input vorliegt. |
graycoreio/daffodil | 827814841 | Title: [FEAT]
Question:
username_0: # :bulb: Feature request
## Feature Name
Package Sharding
## The Desired Behavior
We want to shard packages so that our bundle sizes remain reasonable.
- [ ] `@daffodil/auth`
- [ ] `@daffodil/authorizenet`
- [ ] `@daffodil/branding`
- [ ] `@daffodil/cart`
- [ ] `@daffodil/category`
- [ ] `@daffodil/checkout`
- [ ] `@daffodil/contact`
- [ ] `@daffodil/core`
- [ ] `@daffodil/design`
- [ ] `@daffodil/driver`
- [ ] `@daffodil/external-router`
- [ ] `@daffodil/geography`
- [ ] `@daffodil/navigation`
- [ ] `@daffodil/newsletter`
- [ ] `@daffodil/order`
- [ ] `@daffodil/paypal`
- [ ] `@daffodil/product`
## Prior Work
This was a major improvement done in Material around ng9. We're following suit across all of the Daffodil packages.
## Environment
Daffodil version: 0.27.0
Angular version: 10.0.0 |
cornellius-gp/gpytorch | 681277768 | Title: [Bug]
Question:
username_0: # 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
Tensor object has no attribute 'ndim'
## To reproduce
Run the multioutput example, from https://docs.gpytorch.ai/en/latest/examples/03_Multitask_Exact_GPs/Multitask_GP_Regression.html
** Code snippet to reproduce **
```python
# Your code goes here
# Please make sure it does not require any external dependencies (other than PyTorch!)
# (We much prefer small snippets rather than links to existing libraries!)
```
** Stack trace/error message **
File "/opt/anaconda3/lib/python3.7/site-packages/torch/tensor.py", line 107, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/opt/anaconda3/lib/python3.7/site-packages/torch/autograd/__init__.py", line 93, in backward
allow_unreachable=True) # allow_unreachable flag
File "/opt/anaconda3/lib/python3.7/site-packages/torch/autograd/function.py", line 77, in apply
return self._forward_cls.backward(self, *args)
File "/opt/anaconda3/lib/python3.7/site-packages/gpytorch/functions/_matmul.py", line 46, in backward
arg_grads = ctx.representation_tree(*matrix_args)._quad_form_derivative(grad_output_matrix, rhs)
File "/opt/anaconda3/lib/python3.7/site-packages/gpytorch/lazy/block_lazy_tensor.py", line 114, in _quad_form_derivative
if left_vecs.ndim == 1:
AttributeError: 'Tensor' object has no attribute 'ndim'
// Paste the bad output here!
```
## Expected Behavior
<!-- A clear and concise description of what you expected to happen. -->
## System information
**Please complete the following information:**
- <!-- GPyTorch Version (run `print(gpytorch.__version__)` -->
- <!-- PyTorch Version (run `print(torch.__version__)` -->
- <!-- Computer OS -->
## Additional context
Add any other context about the problem here.
Answers:
username_1: Are you using an old version of pytorch? See https://github.com/huggingface/transformers/issues/5593 for example
username_0: Yes. I'm using pytorch 1.1. I'm in the process of updating. Thanks.
Status: Issue closed
|
bantikyan/icheck-bootstrap | 550168507 | Title: Sending value problem
Question:
username_0: What I have is:
`<div class="icheck-primary">
<input type="checkbox" value="1" id="save_client" name="save_client" checked>
<label for="save_client">Save Client</label>
</div>`
But I only want to send the value if is checked. If uncheck, send's the value 1 and I only need to send if checked. In code inspect I can verify that nothing change if I check or uncheck.
Can you help me please? And very nice work by the way ;-) Thanks in advance :-)
Answers:
username_1: Hi @username_0
I think the problem you describe is not related to icheck-bootstrap, you will get the same issue when dealing with regular checkboxes.
Can you verify that? |
flathub/com.getferdi.Ferdi | 1090939459 | Title: Not able to "Open user.css"
Question:
username_0: Hi,
I'm trying to customize fonts for the web app inside, following the guide [here](https://github.com/getferdi/ferdi/issues/827):
- Go to settings > Your Services > [select your service]
- At the bottom your have three buttons, click "Open user.css".
- If the CSS file isn't opened by now, it should open your file explorer/finder so you can navigate to whatsapp/user.css.
- Once the file is open, paste the following CSS, replacing my-awesome-font with your font name:
body {
font-family: 'my-awesome-font';
}
but actually in the 2nd step "click 'Open user.css'" does nothing to me. Neither the file, nor a directory is open.
Thanks. |
lf-araujo/swift-snap | 384080013 | Title: Is this still being updated
Question:
username_0: I can see there are some versions missing, and will just hear if it's still being updated.
We currently have a Swift on APT, and have been talking about moving it to Snap, so if this isn't being updated, we might consider launching a new one, maintained by the Vapor team.
Answers:
username_1: It is not! I was unable to get it to work on snap, however I have been contacting someone who made it work with flatpaks, see here: http://swift-linux.refi64.com/en/latest/install.html#flatpak
Also, if you decide to go with snaps, by all means claim ownership for the snap package with Canonical. I am active here, if there is any action from me to allow you to upload at the snap store I will be happy to perform.
This is great news! |
Hexirp/hexirp-hakyll | 524272980 | Title: Hakyll.Web.Feed が何をやるのかよくわからない
Question:
username_0: 消すべき……ではないのだろう。
Answers:
username_0: ただ、アイテムを渡すとフィードページに変換してくれるだけのようだ。日付などの必要なデータはどうやら Template システムを使って表現している模様?
https://github.com/username_0/hexirp-hakyll/blob/5fde0b42fbc32b1913564bf1e98e15e405e9cde4/hexyll/src/Hexyll/Web/Feed.hs |
microsoft/playwright | 1006336596 | Title: [BUG] 2-argument functions as fixtures
Question:
username_0: **Context:**
Run using the `mcr.microsoft.com/playwright:v1.14.1-focal` container.
- OS: macOS 11.6
- Memory: 63.82 MB / 16.00 GB
- Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
- npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
- Bash: 5.1.4 - /usr/local/bin/bash
**Code Snippet**
Untyped wrapped function fixture:
```typescript
import baseTest from '@playwright/test';
type MyFixtures = {
fixture: (arg1: string, arg2: string) => number;
};
export const myTest = baseTest.extend<MyFixtures>({
fixture: async ({ baseURL }, use) => {
await use((arg1, arg2) => baseURL.length + arg1.length + arg2.length);
},
});
```
Untyped constant function fixture:
```ts
export const myTest = baseTest.extend<MyFixtures>({
fixture: (arg1, arg2) => arg1.length + arg2.length,
});
```
**Describe the bug**
Having a fixture that's a function that takes two arguments (snippet 1) leads TypeScript to fail to infer the type. I have TypeScript's strict mode on locally, so this causes 'No Implicit Any' failures. The code runs successfully, however.

As a workaround, I have to type it explicitly, meaning something like:
```ts
import { PlaywrightTestOptions } from '@playwright/test';
export const myTest = baseTest.extend<MyFixtures>({
fixture: async ({ baseURL }: PlaywrightTestOptions, use: (r: MyFixtures['fixture']) => Promise<void>) => {
await use((arg1, arg2) => baseURL.length + arg1.length + arg2.length);
},
});
```
which isn't ideal.
Having a constant fixture (i.e. one not wrapped in a `use`) also can't be inferred (snippet 2):

But can be typed:
```ts
export const myTest = baseTest.extend<MyFixtures>({
fixture: (arg1: string, arg2: string): number => arg1.length + arg2.length,
});
```
The problem is the union types in https://github.com/microsoft/playwright/blob/231bf36029dacdd6787e49bc7f87e3a671cd4f6e/types/test.d.ts#L2285-L2286
Is having a function as a fixture that is constant meant to be possible? If not, then the types could be updated to
```ts
type TestFixtureValue<R, Args> = (R extends Function ? never : R) | TestFixture<R, Args>;
type WorkerFixtureValue<R, Args> = (R extends Function ? never : R) | WorkerFixture<R, Args>;
```
which allows the first snippet to be inferred correctly, and the second snippet error (even when not using TS's strict mode).

Answers:
username_1: This seems related to https://github.com/microsoft/playwright/issues/9116 maybe its even the same bug.
username_1: I was able to verify that it works on the latest version `npm i @playwright/test@next`. We'll release it soon with 1.15.1.
code:
```ts
import { Fixtures, PlaywrightTestOptions } from '@playwright/test';
import crc32 from 'crc-32';
import faker from 'faker';
import { ensurePreprint, Preprint } from './api';
import { Fetch, fetch } from './fetch';
type FakerFixtures = {
seed: number;
faker: typeof faker;
};
type HttpFixtures = {
fetch: Fetch;
};
type DataFixtures = {
preprint: Preprint;
};
export const fakerFixtures: Fixtures<FakerFixtures> = {
seed: async ({}, use, testInfo) => {
await use(crc32.str(testInfo.snapshotPath(testInfo.title)));
},
faker: async ({ seed }, use) => {
faker.seed(seed);
await use(faker);
},
};
export const httpFixtures: Fixtures<HttpFixtures & PlaywrightTestOptions> = {
fetch: async ({ baseURL }, use,) => {
await use(fetch(baseURL));
},
};
export const dataFixtures: Fixtures<DataFixtures, {}, FakerFixtures & HttpFixtures> = {
preprint: async ({ faker, fetch }, use) => {
const preprint: Preprint = {
doi: `10.5555/${faker.datatype.uuid()}`,
title: faker.lorem.sentence(),
abstract: faker.lorem.sentences(),
};
await ensurePreprint(fetch, preprint);
await use(preprint);
},
};
```
Status: Issue closed
username_0: @username_1 Could this be reopened? I've just tried all the code above and, unfortunately, none of it works in 1.15.1... (still getting `[...] implicitly has an 'any' type`.)
username_1: Did you try `npm i @playwright/test@next`? I think we did not cherry-pick it.
username_0: Ah yes, the types are correct there. |
CartoDB/CartoDB-SQL-API | 199129797 | Title: DROP TABLE not synchronizing with user_tables
Question:
username_0: Coming here after a lack of responses on [StackExchange](http://gis.stackexchange.com/questions/222983/cartodb-deleting-datasets-via-api)
Summary:
While creating an environment test script we've discovered that dropping a table via the SQL API seems to leave a reference to that table alive in carto_db_production.user_tables. Documentation [here](https://github.com/CartoDB/cartodb/wiki/creating-tables-though-the-SQL-API) seems to suggest a delayed, periodic check might be responsible for cleaning up loose ends when certain table changes are made via query, but this doesn't seem to be the case. The entry remains for days, at least, and I think is responsible for the dataset being listed in the UI, though the actual table missing obviously prevents full viewing of the dataset.
Side note: We're initially creating the dataset via the Imports API. |
python-visualization/folium | 418040414 | Title: Lat/long ordering in geojson
Question:
username_0: Lat/long ordering is inconsistent across various packages and tooling when working with points.
It would be useful if `folium.GeoJson()` included a flag `flip=Boolean` that could be set to flip lat and long co-ordinates in a passed geojson file.
Answers:
username_1: We have a `_locations_mirror(x)` in `folium.utilities` that does that for any iterable. Maybe we could make that a first class citizen but I'm not sure about overloading the `folium.GeoJson()` with a `kw`.
username_2: yes I’m also hesitant about adding more flags. How about a separate function you can feed your geojson data and that returns the same data but with the coordinates flipped? I reckon something like that already exists in other libraries, maybe you know of anyone?
username_0: My particular use case (at the moment) is a `geopandas` dataframe with a geometry containing `Point` items that are incorrectly ordered for `folium` purposes.
I'd half expected to find a `geopandas` or `shapely` utility to cope with it but I'm not v. familiar with geo packages so there may be something in there somewhere too.
username_3: If it is a geopands dataframe could you not gdf.apply() a lambda function to swap the order of the points? so if the coordinates points are in the column 'Coordinates' and you want to swap the x y points gdf['New_Coordinates'] = gdf['Coordinates'].apply(lambda x: Point(x.y, x.x))
username_0: @username_3 Ah, thanks for that... but the issue is then I have to keep messing around with the dataframe. I should probably check on the original rationale for the point order; I think it was to match with a dodgy KML import...
username_3: @username_0 is it a large set of coordinates? Having a swapped column for mapping and the original column for matching the dodgy KML import may work? |
facebook/buck | 196261195 | Title: Broken travis-ci build is blocking community contributions
Question:
username_0: The travis-ci build has been broken for 5-days.
Basically nobody was to merge a pull request unless the build is green, even if the failures appear to be in unrelated code. This is causing a backup in the merging of community contributions.
Someone with commit privileges either needs to 1) fix the build, or 2) revert commits that were responsible for the break.<issue_closed>
Status: Issue closed |
Mastermindzh/tidal-hifi | 1169516586 | Title: Possible Bug Ubuntu Snap
Question:
username_0: This tool is really nice, thanks.
My tidal subscription was recently renewed and I could use tidal as expected via wifi and my tidal-hifi on arch.
The instance of tidal-hifi on ubuntu did complain about my subscription being expired though.
Logging out did not help, Uninstalling the snap and purging tidal-hifi from the ~/snap/ folder did.
Leaving this here until my subscribtion is about to renew again ;) |
gbenroscience/parserng-android | 1120356095 | Title: Build Fails from Duplicate Class
Question:
username_0: Duplicate class com.google.gson.DefaultDateTypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.ExclusionStrategy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldAttributes found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$3 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$5 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$6 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingStrategy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$3 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$5 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$FutureTypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.GsonBuilder found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.InstanceCreator found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonArray found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonDeserializationContext found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonDeserializer found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonElement found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonIOException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonNull found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonObject found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonParseException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonParser found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonPrimitive found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonSerializationContext found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonSerializer found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonStreamParser found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonSyntaxException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.LongSerializationPolicy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.LongSerializationPolicy$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.LongSerializationPolicy$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.TypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.TypeAdapter$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.TypeAdapterFactory found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.Expose found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.JsonAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.SerializedName found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.Since found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.Until found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Preconditions found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types$GenericArrayTypeImpl found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types$WildcardTypeImpl found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$10 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$11 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$12 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$13 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$14 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$3 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
[Truncated]
Duplicate class com.google.gson.internal.bind.TypeAdapters$35$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$36 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$5 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$6 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$7 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$8 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$9 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.util.ISO8601Utils found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.reflect.PreJava9ReflectionAccessor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.reflect.ReflectionAccessor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.reflect.UnsafeReflectionAccessor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.reflect.TypeToken found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonReader found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonReader$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonScope found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonToken found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonWriter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.MalformedJsonException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Status: Issue closed
Answers:
username_0: I have tried
`implementation('com.github.username_1:parserng-android:0.1.1') { // math
configurations {
compile.exclude module: 'gson'
}
}`
username_0: `Duplicate class com.google.gson.DefaultDateTypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.ExclusionStrategy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldAttributes found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$3 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$5 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingPolicy$6 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.FieldNamingStrategy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$3 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$5 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.Gson$FutureTypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.GsonBuilder found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.InstanceCreator found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonArray found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonDeserializationContext found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonDeserializer found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonElement found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonIOException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonNull found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonObject found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonParseException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonParser found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonPrimitive found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonSerializationContext found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonSerializer found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonStreamParser found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.JsonSyntaxException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.LongSerializationPolicy found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.LongSerializationPolicy$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.LongSerializationPolicy$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.TypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.TypeAdapter$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.TypeAdapterFactory found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.Expose found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.JsonAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.SerializedName found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.Since found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.annotations.Until found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Preconditions found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types$GenericArrayTypeImpl found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.$Gson$Types$WildcardTypeImpl found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$10 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$11 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$12 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$13 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$14 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$2 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$3 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.ConstructorConstructor$4 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
[Truncated]
Duplicate class com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.bind.util.ISO8601Utils found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.reflect.PreJava9ReflectionAccessor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.reflect.ReflectionAccessor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.internal.reflect.UnsafeReflectionAccessor found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.reflect.TypeToken found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonReader found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonReader$1 found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonScope found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonToken found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.JsonWriter found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)
Duplicate class com.google.gson.stream.MalformedJsonException found in modules jetified-gson-2.8.6 (com.google.code.gson:gson:2.8.6) and jetified-parserng-android-0.1.1-runtime (com.github.username_1:parserng-android:0.1.1)`
I have tried
`implementation('com.github.username_1:parserng-android:0.1.1') { // math
configurations {
compile.exclude module: 'gson'
}
}`
but it did not help.
username_1: There are easy mechanisms for excluding duplicate jars in Android studio/gradle. Please can you use any of them? this is not a parserng-android issue.
As such I will be closing this issue.
Feel free to re-open it, if you feel otherwise.
Status: Issue closed
|
netceteragroup/react-message-source | 700996737 | Title: If translations are not provided for some reason, it results in an crash
Question:
username_0: If translations are not provided for some reason, it results in an crash.
Since the behavior for a missing entry in the translations is to return the key itself, I think it would be nice to return the key itself also in the case where the whole translations are missing, and log a error.
I will open a pull request when I have time, if this isn't fixed in the meantime 😄
Answers:
username_1: {children}
</FetchingProvider>
```
username_2: Hey @username_1, i put up a quick fix for this. I was not sure if the fix i did is what this issue was actually referring to, but please take a look at it when you have some free time.
Status: Issue closed
username_1: Hi @username_2,
Thank you for your contribution. #26 is merged and released in `v2.3.1`. Please feel free to give it a try :) |
sociam/xray | 245206656 | Title: Facebook has too many downloads
Question:
username_0: Update DB so 5000000000 is not out of range of an integer.
(node:25978) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): error: value "" is out of range for type integer.
Answers:
username_1: This... should've been fixed a while back. Is this local for your machine or does it happen on the server as well?
username_1: Huh. It looks like the changes were reverted...?
username_0: Yeah somewhere along the lines it got mixed up. Now resolved.
Status: Issue closed
|
serversetup/SetupServer | 179610655 | Title: Fix Vulnerability
Question:
username_0: need help to fix 2 Vulnerability
- [ ] ImageMagick vulnerability CVE-2016–3714
- [ ] CGI Vulnerability HTTPOXY
PS : i dont know if apache event mode has CGI HTTPOXY Vulnerability ..
for imageMagic . i was able to get this done . but never checked it .
`if [ -f /etc/ImageMagick/policy.xml ]
then
if [ ! -f /etc/ImageMagick/patch.txt ]
then
echo -e "\t<policy domain="coder" rights="none" pattern="EPHEMERAL" />\n\t<policy domain="coder" rights="none" pattern="URL" />\n\t<policy domain="coder" rights="none" pattern="HTTPS" />\n\t<policy domain="coder" rights="none" pattern="MVG" />\n\t<policy domain="coder" rights="none" pattern="MSL" />" >> /etc/ImageMagick/patch.txt
sed -i '/<policymap>/r /etc/ImageMagick/patch.txt' /etc/ImageMagick/policy.xml
fi
fi`<issue_closed>
Status: Issue closed |
oesgalha/datoca | 190219178 | Title: Final adjustments to 0.1
Question:
username_0: - [ ] New homepage w/ some content
- [ ] Remove dead links
- [ ] Fix markdown preview bug: the characters in a link w/ an attachment filename can apply md and break the md syntax (ex: ```[file_name](/path/file_name)``` <- this would be in italics and without an link.
- [ ] Invite to team (team mates should be invited, not simply inserted in a team)
- [ ] Allow the admin to delete submissions (in case of scam)
- [ ] Block attempts to create/delete team to trespass the daily submission limit
- [ ] The daily attempts number should be configured per competition (A low daily limit wouldn't work well for hackathons and tests)
- [ ] There should be private and public competitions
- [ ] Simplify the submission view: the user should see his current stats and a table with all his submissions dates and scores (bonus: throw a fine looking chart in that screen)
- [ ] Improve the submission page: the textarea is too big!
- [ ] Add analytics w/ visitors
- [ ] Double check for english left in the views (see controller notices)<issue_closed>
Status: Issue closed |
michaeldito/Cut-Cut-Cut-Act | 273180766 | Title: Input UI - Standard and Itemized Deductions
Question:
username_0: Right now the Web Server UI still only has "Deductions"
The way taxes work, you can either take the Standard Deduction, or you can Itemize your deductions.
We should change they UI so that you can either:
- check a box that says Standard Deduction
- or enter in an amount for itemized deductions
We will need to change the Post Data to reflect this
We will need to change the rest server, and the Tax Systems to account for this. They already support the standard deduction. |
eead-csic-compbio/eead-csic-compbio.github.io | 365172408 | Title: Confirm that use of BLAST's `-max_target_seqs` is intentional
Question:
username_0: Hi there,
This is a semi-automated message from a fellow bioinformatician. Through a GitHub search, I found that the following source files make use of BLAST's `-max_target_seqs` parameter:
- [addCDD2genbank.pl](https://github.com/username_1/username_1.github.io/blob/6c33cc4ae3df338b6270cd721bd24d62d0abbb0f/addCDD2genbank.pl)
Based on the recently published report, [Misunderstood parameter of NCBI BLAST impacts the correctness of bioinformatics workflows](https://academic.oup.com/bioinformatics/advance-article-abstract/doi/10.1093/bioinformatics/bty833/5106166?redirectedFrom=fulltext), there is a strong chance that this parameter is misused in your repository.
If the use of this parameter was intentional, please feel free to ignore and close this issue but I would highly recommend to add a comment to your source code to notify others about this use case. If this is a duplicate issue, please accept my apologies for the redundancy as this simple automation is not smart enough to identify such issues.
Thank you!
-- Arman ([username_0/blast-patrol](https://github.com/username_0/blast-patrol))
Answers:
username_1: Thanks Arman,
the discussion around the misleading documentation of -max_target_seqs still is undergoing, see for instance [https://www.biostars.org/p/340129/](https://www.biostars.org/p/340129). However, in this case we are calling delta-blast in order to annotate protein domains, so it won't paper if you don't get the highest scoring hit but still get the correct domain. In addition, given that the script requires a 100% query coverage, it is unlikely to get suboptimal domain annotations.
Nevertheless, if you observe problems please report them, Bruno
Status: Issue closed
|
pytest-dev/pytest-flask | 437353391 | Title: Rendering Templates with Jinja 2 Does Not Work
Question:
username_0: E AttributeError: 'NoneType' object has no attribute 'app'
```
The following snippet shows the method to be tested, which invokes the `render_template` function.
```python
from nbformat.v4 import new_notebook, new_code_cell, new_markdown_cell
from nbformat import NotebookNode
from flask import Flask, render_template
def generate_notebook_for_experiment(notebook_configuration: Dict) -> NotebookNode:
"""Create a new Jupyter notebook with template code for the specified experiment."""
TEMPLATE_FOLDER = 'notebook'
title = new_markdown_cell('# Experiment Notebook')
import_code = render_template(f'{TEMPLATE_FOLDER}/imports.pytemplate', configuration = notebook_configuration)
import_code_cell = new_code_cell(import_code, metadata = __create_metadata_for_hidden_cell__())
notebook = new_notebook(
cells=[ title, import_code_cell ],
...
)
return notebook
```
This is the complete test method causing the error:
```python
def test_generate_notebook_for_experiment():
notebook = generate_notebook_for_experiment(constants.EXPERIMENT_CONFIG)
assert notebook.nbformat == 4
nbformat.validate(nbjson=notebook, version=4, version_minor=2)
```
My code for creating the fixture is shown below.
```python
import pytest
from gdrest.application import create_app
@pytest.fixture
def app():
app, _ = create_app()
return app
```
What do I need to do to make sure the Jinja2 runtime environment is appropriately configured by Flask so the function `render_template` is safe to execute? Thank you so much for your answers!
Status: Issue closed
Answers:
username_1: Hi there @username_0. I believe this isn't a pytest-flask related issue, but rather a question about Flask. Flask works with [application contexts](https://flask.palletsprojects.com/en/1.1.x/appcontext/) and the [render_template](https://github.com/pallets/flask/blob/8efea0ccbbf0985e0c3c001e5bd90b4912a18f54/src/flask/templating.py#L125) method requires such a context. Lets go through the more relevant lines in your traceback:
```python
ctx = _app_ctx_stack.top # <<< this tries to fetch the topmost context from stack
ctx.app.update_template_context(context) # <<< this will fail since ctx = None
```
[flask.templating.render_template implementation for the curious ones](https://github.com/pallets/flask/blob/8efea0ccbbf0985e0c3c001e5bd90b4912a18f54/src/flask/templating.py#L115)
So this is happening because render_template is being called from "_outside_" a valid flask application context. Finally, [stack overflow](https://stackoverflow.com) would probably be better suited for questions of this nature considering the issue tracker is a tool to address bugs and feature requests in pytest-flask itself. |
izgzhen/markii | 681213233 | Title: DialogView's button's click handlers are not analyzed
Question:
username_0: ```
[WARN] Null endpoint: <com.example.test01.MainActivity$1$2: void onClick(android.content.DialogInterface,int)>
[WARN] Null endpoint: <com.example.test01.MainActivity$1$1: void onClick(android.content.DialogInterface,int)>
```
Related issue: #49
Answers:
username_0: Similar pair:
```
[WARN] Null endpoint: <com.example.test01.Main2Activity$2: void onClick(android.content.DialogInterface,int)>
[WARN] Null endpoint: <com.example.test01.Main2Activity$1: void onClick(android.content.DialogInterface,int)>
```
Status: Issue closed
|
harttle/liquidjs | 424161171 | Title: Variable content forgotten when getting out of for loop
Question:
username_0: There's a regression in 7.5.0 (it works fine in 7.4.0). Sometimes (I was not able to find out when precisely) a value of a variable assigned inside a for loop get forgotten when the loop is over.
I've made two fiddles:
This one works (using 7.4.0):
https://jsfiddle.net/9tLvrqm2/
This one does not (using 7.5.0):
https://jsfiddle.net/xharmp0f/
Latest version (8.0.0) behaves the same way as 7.5.0 (it's still broken).
It seems that some variable values are reverted when going out from a for loop.
Status: Issue closed
Answers:
username_1: Tags in liquidjs operates the context differently from shopify/liquid, I think we should also introduce Context#environments to simplify the situation.
It should be fixed now, try 8.0.1 |
yeung66/yeung66.github.io | 540073155 | Title: <被讨厌的勇气>读书体会与摘要 | Scott's Blog</被讨厌的勇气>
Question:
username_0: http://scottyeung.club/2019/%E8%A2%AB%E8%AE%A8%E5%8E%8C%E7%9A%84%E5%8B%87%E6%B0%94-%E8%AF%BB%E4%B9%A6%E4%BD%93%E4%BC%9A%E4%B8%8E%E6%91%98%E8%A6%81/#more
《被讨厌的勇气》通过哲人与青年的对话,探讨人如何获得幸福,并且通过阿德勒心理学对人生的诸多问题进行剖析。 这本书最在是在知乎看到有人强推,遂在微信读书里找到此书并读完。在读的过程中,感到其所谈到的一些现象真实地切中了我的想法,感觉到描述的例子就正正是我本人。其中的一些观念我觉得很好,或者说是很适合我,于是在看的时候进行了若干地记录,摘录了一些语句,并写了点个人的体会。但因为始终不是在上课做笔记,摘<issue_closed>
Status: Issue closed |
SimpleITK/SimpleITK | 272664551 | Title: LBFGSB Optimizer acting erratically with upper/lower bound
Question:
username_0: LBFGSB optimizer exits with erratic output when specifying the upper/lower parameter bounds, whereas it works as expected without bounds.
It would also be great if the bounds could be set for individual parameters through an array (as in itk https://itk.org/Doxygen/html/classitk_1_1LBFGSBOptimizerv4.html#a140f0840d84ab1b83142f1f906fe7c70) versus providing a single value (in SimpleITK https://itk.org/SimpleITKDoxygen/html/classitk_1_1simple_1_1ImageRegistrationMethod.html#abbc7ac9efb6de282513e41a8a8d81db7)
Attached is a sample code:
import SimpleITK as sitk
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
def command_iteration(method):
print("{0:3} = {1:10.5f} : {2}".format(method.GetOptimizerIteration(),
method.GetMetricValue(),
method.GetOptimizerPosition()))
# Fixed Image
fixedImage = np.zeros((30,30))
fixedImage[10:20,10:20] = 1
sitkFixedImage = sitk.GetImageFromArray(fixedImage)
# Moving Image
movingImage = np.zeros((30,30))
movingImage[11:21,11:21] = 1
sitkMovingImage = sitk.GetImageFromArray(movingImage)
# Define and Execute Registration Method
registration_method = sitk.ImageRegistrationMethod()
optimized_transform = sitk.TranslationTransform(2)
registration_method.SetMetricAsMeanSquares()
registration_method.SetMetricSamplingStrategy(registration_method.NONE)
registration_method.SetInterpolator(sitk.sitkLinear)
# registration_method.SetOptimizerAsLBFGSB(maximumNumberOfFunctionEvaluations=2000)
registration_method.SetOptimizerAsLBFGSB(maximumNumberOfFunctionEvaluations=2000,lowerBound=-5.0,upperBound=5.0)
registration_method.SetInitialTransform(optimized_transform)
registration_method.AddCommand(sitk.sitkIterationEvent,lambda: command_iteration(registration_method))
registration_method.Execute(sitkFixedImage,sitkMovingImage)
sitkResampledMovingImage = sitk.Resample(sitkMovingImage, sitkFixedImage, optimized_transform, sitk.sitkLinear,
0.0, sitkFixedImage.GetPixelIDValue())
resampledMovingImage = sitk.GetArrayFromImage(sitkResampledMovingImage)
# Display Outputs
plt.figure(), plt.imshow(np.abs(fixedImage-movingImage),cmap='gray'),
plt.title('Image Difference: Before Registration')
plt.figure(), plt.imshow(np.abs(fixedImage-resampledMovingImage),cmap='gray'),
plt.title('Image Difference: After Registration')
Answers:
username_1: Regarding setting the bounds per parameter component. The space used for optimization can be scaled with either the OptimizerScales or the OptimerzerWeights.
When you say "erratic output" do you mean non-deterministic? or that the solution is just not good?
ITK's LBFGS optimizer has never performed well with a low number of parameters like in this case. I have not looked into it further to determine if that is the nature of the sparse hessian approximation the LBFGS utilizes or if it's an issue with the implementation.
There is also a new ITK LBFGS optimizer that may be of interest. I'll look into wrapping that.
username_0: Thanks Brad.
Using OptimizerScales or OptimizerWeights is definitely a work around. I believe it would have an effect of slowing down the learning rate for some parameters instead of limiting their bounds. ITK LBFGS optimizer would be a great addition!
By "erratic output" I meant the following outputs obtained from the sample code for different upper/lower bounds:
### Set the lower bound [Fail]:
The similarity metric as well as the parameter values are garbage. The optimizer exits after first iteration.
0 = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00000 : (1.7976931348623157e+308, 1.7976931348623157e+308)
### Set both lower and upper bounds [Fail]:
The upper bound is assigned to the parameters. The optimizer exits after first iteration.
0 = 0.20480 : (5.0, 5.0)
### Do not set upper/lower bounds [Succeed]:
The optimizer converges at the right solution of translation parameters (1.0,1.0).
0 = 0.04222 : (0.0, 0.0)
0 = 0.00408 : (0.7071067811865476, 0.7071067811865476)
0 = 0.00408 : (0.7071067811865476, 0.7071067811865476)
1 = 0.00010 : (1.0451243068521912, 1.0451243068521912)
1 = 0.00010 : (1.0451243068521912, 1.0451243068521912)
2 = 0.00000 : (0.9995777464464997, 0.9995777464464997)
2 = 0.00000 : (0.9995777464464997, 0.9995777464464997)
username_1: Thank you for reporting the issue. I have created a patch for the bug: #340
username_1: The pull request was merged, and resolved the issue.
Status: Issue closed
|
MetaMask/eth-phishing-detect | 511416165 | Title: uminer.net blocked by metamask
Question:
username_0: uminer.net is not a ethereum phishing site or something please delete it from your list.
Answers:
username_1: The hosted zip (`bbc77250c6d41b34413d6c2be48af515`) contains a DarkComet-RAT https://app.any.run/tasks/4ceba803-bcc0-46a9-b455-d0e8ba3c667b
Ref: https://github.com/MetaMask/eth-phishing-detect/issues/3410
username_2: My site https://www.privatex.io/ is showing error of phishing in MetaMask warning. kindly check this as well please |
wesbos/burner-email-providers | 1165459466 | Title: cooperation request
Question:
username_0: Hello, we are a cyber security company and believe that site operators do also have the right to know who is using disposable email... This is why we have started to watch over 100 disposable email providers with our dedicated technology. We are about to add some big fish protected with Cloudflare to the list. I have mentioned this list in the README (it will be updated tomorrow) as a community effort to fight for site-owner rights... It sounds like ads but it is really a call to cooperate with our fully automated source of information at https://github.com/username_0/fakefilter
We are open to cooperation to be more powerful together. Any kind of suggestions is welcome too. |
bsc-wdc/dislib | 523380128 | Title: AttributeError in GridSearchCV
Question:
username_0: **Describe the bug**
GridSearchCV raises `AttributeError('All rows must contain the same number of blocks.')` for certain ds-arrays and for some values k for KFold.
**To Reproduce**
Example code (launched sequentially)
```
import dislib as ds
import numpy as np
from dislib.classification import CascadeSVM
from dislib.model_selection import GridSearchCV
def main():
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
x_np, y_np = load_breast_cancer(return_X_y=True)
x_train, x_test, y_train, y_test = train_test_split(x_np, y_np)
x = ds.array(x_train, block_size=(100, 10))
y = ds.array(y_train.reshape(-1, 1), block_size=(100, 1))
parameters = {'c': [31, 32], 'gamma': 0.9}
csvm = CascadeSVM()
searcher = GridSearchCV(csvm, parameters, cv=5)
searcher.fit(x, y)
```
**Expected behavior**
The program finishes without raising errors.
**Environment (please complete the following information):**
- Dislib version: master (14/11/2019)<issue_closed>
Status: Issue closed |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.