repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
python-poetry/poetry | 600387631 | Title: poetry update does not install packages
Question:
username_0: <!-- Checked checkbox should look like this: [x] -->
- [X] I am on the [latest](https://github.com/python-poetry/poetry/releases/latest) Poetry version.
- [X] I have searched the [issues](https://github.com/python-poetry/poetry/issues) of this repo and believe that this is not a duplicate.
- [X] If an exception occurs when executing a command, I executed it again in debug mode (`-vvv` option). (no exception occurred)
- **OS version and name**:
```
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
```
- **Poetry version**: 1.0.5
- **Link of a [Gist](https://gist.github.com/) with the contents of your pyproject.toml file**: https://gist.github.com/username_0/718ebe4bdeb49eebf7b057292ae74432
## Issue
I think the behavior is buggy.
Install it with `poetry install` in the folder of the `pyproject.toml` file.
Activate the shell with `poetry shell`.
Then change it to the following:
```toml
[tool.poetry]
name = "replaced"
version = "0.1.0"
description = ""
authors = ["replaced"]
[tool.poetry.dependencies]
python = "^3.6"
pandas = [
{ version = "^1.0", python = "^3.6.1" },
{ version = "<1.0", python = "<3.6.1" }
]
requests = "2.23.0"
lxml = "4.5.0"
[tool.poetry.dev-dependencies]
pytest = "5.4.1"
requests = "2.23.0"
lxml = "4.5.0"
PyPDF2 = "1.26.0"
PyPDF4 = "1.27.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
```
Then run `poetry update`, to also get `pandas`.
After that, Pandas was not installed and I get import errors for it.
Answers:
username_1: because of #2243
Status: Issue closed
|
statiqdev/Statiq.Framework | 502011183 | Title: How to deal with deployment modules?
Question:
username_0: We can’t just stick them in a pipeline. The pipeline would need to depend on every other pipeline and even then the concurrency wouldn’t worm out because the final output phase is run at the same time for all pipelines and deployment needs to happen once everything is finished.
One way would be to add a special `ModuleList` just for deployment and execute that after all the pipelines have finished, but that would confuse the execution context since it assumes a pipeline/phase. I’d prefer to keep the pipeline convention, so what we really need is a way to say a pipeline should wait until all other pipelines (including isolated) have finished.<issue_closed>
Status: Issue closed |
cloudfoundry/python-buildpack | 194064420 | Title: Not enough information about workers being killed by kernel OOM
Question:
username_0: To get more information about what is actually happening. We could log that the worker has been killed and restarted, if possible explaining that was due a Out of Memory.
Maybe this can be implemented with hooks/signals http://docs.gunicorn.org/en/stable/signals.html
I also wonder:
* Should gunicorn actually die if the worker dies and not restart it? This way CF/Diego would do its work and restart the instance.
* Should garden somehow detect that the child of gunicorn died by OOM? is that possible to implement? this question might have to be escalated to garden+Diego.
Answers:
username_0: If you want, we can work on a patch. But let us know the approach you want to follow to fix it.
username_1: Is it OOMing in the staging container or the runtime container?
username_0: Runtime.
Also, the app appeared as running, `cf events` did not report any problem. There were occasional errors from the gorouter (502) due the gunicorn workers being killed.
The logs of gunicorn showed that the workers were all time being started, which would suggest that something was going on, but you need to have context to troubleshoot that and know that they were being killed by OOM.
We learnt it from the kernel messages.
username_1: @username_0 Not really something we can address in the buildpack *per se*, as this code is only present and executed at staging time.
@username_4 who should we refer to in runtime land? Garden team? Diego? Mystery-OOMing has been a thing as long as I can recall.
username_0: No really, as we could configure gunicorn in a different way. As mention, add a hook on the worker exit, or configure the gunicorn master to exit if the worker dies.
username_1: As it happens, Python buildpack is the only official buildpack that _doesn't_ provide a launch command automatically. It always has to be user-supplied.
This is [due to a decision by the Heroku upstream maintainer](https://github.com/heroku/heroku-buildpack-python/issues/309) -- we don't agree, but [as yet haven't decided to change our behaviour to provide default commands](https://www.pivotaltracker.com/n/projects/1042066/stories/126396421).
Somewhere in your deployment logic you must be using either an application `manifest.yml`, or passing the `-c` param to the `cf` CLI. Or, I suppose, doing something in a `.profile` script. As a start, that's where reconfiguring gunicorn would take place.
username_1: We could definitely update the doc examples, though. Can you give an example of what you want for gunicorn? We are regretfully shallow on python expertise at this end.
username_2: @username_0 any thoughts on @username_1's comments?
username_0: Sorry, I did not come back to you early. Let me discuss it with my team and I will come back to you tomorrow.
username_3: We have decided not to pursue this as it turns out CloudFoundry has built-in support for monitoring OOM events in containers, so we are going to focus on exposing this to tenants rather than modifying the buildpack to make it more obvious. Feel free to close this issue!
Status: Issue closed
username_4: Thanks for the discussion in Slack about this matter, @username_3. I've captured the request for better messaging about OOM events in https://www.pivotaltracker.com/story/show/136243763 in the Diego team's tracker.
Best,
Eric
username_0: Cool @username_4!
@username_3 also did a possible implementation, https://github.com/username_3/executor/commit/bdaf04ac53508bd55db47bdec6356d6600048833 . Could you refer to it in your card as a comment?
Thx
username_4: Thanks, @username_0, I added a link to @username_3's PR in the description of that story. |
MicrosoftDocs/windows-itpro-docs | 660042418 | Title: 哪里有开策划费发票-本地宝
Question:
username_0: 哪里有开策划费发票-本地宝开票【█1 З 5-电-ЗЗ45-嶶-З429█】杨生【σσ/V信1З00█507█З60】正规税务业务代理.100%真-票此.信.息.永.久.有.效” 实体公司开/详情-项.目.齐.全 可先开验。无需打开直接联系点击上方“百度快照”现场曝光!美准航母烧了4天还冒烟 飞机洒水1500次(原标题:美"准航母"烧了4天还冒烟,直升机洒水1500次,现场曝光)海外网7月16日电 美国海军“好人理查德”号两栖攻击舰烧了四天,火还没灭。军方15日曝光了救援现场的最新画面。据今日俄罗斯消息,“好人理查德”号自7月12日爆炸起火至今,消防人员一直在持续进行灭火工作。美国海军在15日的一份声明中说,为了抑制大火蔓延,直升机已经洒水超过1500次,较大的火焰已经被熄灭。目前,消防人员正在全力以赴,扑灭军舰闷烧的个别地点。目前共有63人受伤并接受治疗,其中包括40名船员和23个平民。美海军表示,尽管发生大火和爆炸,船体还是避免了无法弥补的损害,并称“燃油箱没有受到威胁,船体稳定,结构安全。”<issue_closed>
Status: Issue closed |
ut-ras/ras_site | 580373363 | Title: About pages not properly formatting Markdown
Question:
username_0: Observed in the Robotathon and other about pages, markdown headers, bolds, bullet points are not being formatted.
Example: https://ras.ece.utexas.edu/about/robotathon.html, see the heading
`#### Last year's competition`.<issue_closed>
Status: Issue closed |
plotly/dash-core-components | 264346138 | Title: Can't serve components locally when installing from git
Question:
username_0: ```shell
pip install git+https://github.com/plotly/dash-core-components.git
```
```python
import dash
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
app = dash.Dash(csrf_protect = False)
app.scripts.config.serve_locally = True
app.layout = html.Div([
dcc.Input(id='inputID', value='initial value', type="text"),
html.Div(id='outputID')
])
@app.callback(
Output(component_id='outputID', component_property='children'),
[Input(component_id='inputID', component_property='value')]
)
def update_output_div(input_value):
return 'You\'ve entered "{}"'.format(input_value)
if __name__ == '__main__':
app.run_server()
``` |
UTRS/utrs | 551112751 | Title: Unable to block email on UTRS
Question:
username_0: When trying to block an email address on UTRS I get A database error occured when attempting to process your request:
array ( 0 => '23000', 1 => 1048, 2 => 'Column \'target\' cannot be null', )
Nothing is blank or set to null though.
Answers:
username_1: I am not able to reproduce this. What appeal is it on? |
facebook/idb | 928985751 | Title: connect wirelessly device with companion local false in Xcode devices and simulators
Question:
username_0: ### Description
When idb connect wirelessly device with companion local false, Xcode does not see real device to allow app compilation and deployment. this is needed to run my project under react-native like _react-native run-ios --device_ for allowing live-reload action
### Reproduction
**Host machine :**
- _idb connect deviceId_
- forwarding companion port to distant machine
- Connecting to distant machine with vnc
**Distant machine**
- _idb connect localhost companionPort_
- Device appeared in _idb list-targets_
- Dont appair in xcode devices and simulator
- Can't launch _react-native run-ios --device_ command
Answers:
username_0: Up ! Maybe my demand need to be more precise ? it is a real problem for us and we really need to find a way for that |
CSI-3471-project/CSI-3471 | 742133312 | Title: register account dialogue
Question:
username_0: **Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here. |
Gurjot95/DirectChat-Feedback | 817790191 | Title: [BUG] I just downloaded Direct Chat for my Galaxy S10 since chat heads have disappeared in Android 11. I cannot get your chat head bubbles to appear, except fr your test bubble. The toggles are all set to be turned on within your app.
Question:
username_0: [BUG] I just downloaded Direct Chat for my Galaxy S10 since chat heads have disappeared in Android 11. I cannot get your chat head bubbles to appear, except fr your test bubble. The toggles are all set to be turned on within your app. |
0nn0/terminal-mac-cheatsheet | 284004262 | Title: PDF version of cheatsheet.
Question:
username_0: What about PDF version? I'd like to print it and put in front of my eyes.
Answers:
username_1: @username_0 If you're on Mac, simply:
1. Hit cmd+p (File > Print)
2. Change destination to "Save as PDF"
3. Hit Save
Option: Make a selection of the part you'd like to print, hit cmd+p and within "More settings" check "Selection only".
Status: Issue closed
|
guanzo/vue-smooth-height | 327461158 | Title: Make transition duration configurable
Question:
username_0: Love this mixin you've made, but the animation is a bit too slow for the project I'm working on. Could you make the height transition duration configurable? Preferably in MS.
Answers:
username_1: This is something I've been considering. You're able to customize the duration through CSS but then there's 2 separate places that are dictating the transition. I'll add a `transition` option where you can pass any valid CSS transition property, including the duration.
Status: Issue closed
username_1: This has been added in v1.5. You can specify any valid CSS `transition` property.
Example usage:
```
this.$smoothElement({
el: '.container',
transition: 'height .35s linear 500ms'
})
``` |
entaq/floq | 430957793 | Title: A mechanism for users to block abusive users
Question:
username_0: This is counter productive as our users do not interact directly. We may have to appeal this to the Appstore team. Or do u have any ideas about this
Answers:
username_1: I have plans to add the ability to follow users and accounts, so this will be relevant when that time comes. Right now the flagging of content acts in a similar way.
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
username_1: below the create by info lets add a line of copy.
You can block users and their content by swiping left on their user name, this action can be undone.
username_1: 
username_1: Pictured above.
I am looking at a Cliq where I have been blocked by the user BeccaBerkey, it shows I am blocked in my view. It should just not show the user who blocked me and hide their photos so I don't know they are there.
This will need fixed before resubmission.
username_0: Alright, will fix this in next update. Are we to implement a mechanism for unblocking users?
username_1: They didn’t say we needed too, but the functionality is already there. I think it’s a good thing to have as long as it doesn’t create other issues.
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
username_0: Will add an another option in user setting that lists blocked users to allow users to unbloked them. We will check it in the next update. if not necessary we can take it out.
username_1: So currently if I block a user I can unblock them, that already works. But the user who has been blocked should not see the user who blocked them, even if they are in the same cliq
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
username_1: I’ll try to do a screen recording of the current interaction
<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
username_1: This is my account and Becca blocked me, it shows me being blocked and her in cliq. Her photos are hidden. She should just not show up since she blocked me and it should not say someone blocked me, that should only show show for her.

<sub>Sent with <a href="http://githawk.com">GitHawk</a></sub>
username_0: Yeah I was contemplating on that too when i wrote that feature, I will make the changes. |
natinusala/painless-linux | 321785570 | Title: Touchscreen not responding
Question:
username_0: Heya, appreciate the work you've done man, having just one issue as of now.
Cannot get touchscreen to respond. I have tried multiple flashes of the card, multiple boots, etc. to no avail.
Switch is on 4.0.1 FWIW.
I know the cursor is supposed to be unresponsive.
As I understand tapping the top right is supposed to drop down a menu to connect to WiFi among other things however I cannot get them to respond. I know also the touchscreen is picky in Linux so I tapped around quite a few times in the general area of the top right to try and get it to come up and simply could not. I know it's running and now frozen as the volume buttons do bring up the dummy volume indicator.
Ideas my good sir?
Answers:
username_1: This is... weird. Did you try to touch everywhere on the screen to see if it was really unresponsive ? The top-right menu is quite hard to get, you need to touch at the corner of the screen to open it.
username_0: I did tap all over - does the cursor move when you tap or is there any other indication? I didn't see any indication that it was responding whatsoever.
username_1: Yeah the touchscreen moves the cursor when you touch it
username_0: In that case, definitely not working because cursor never moved :(
In any case I'm not terribly worried about it, Lakka sounds more
interesting to me anyway, so I'll just wait to see if that works for me ^^
Thank you again for all your work making this possible :) |
thecoshman/pir-8 | 576434541 | Title: Why do you need the Parity flag?
Question:
username_0: As far as I'm aware, it's usage in real code is very niche (it's just used for parity. Nothing else.) and your ISA doesn't really need it. Not implementing it would probably save some money and time for the real-world implementation.
Answers:
username_0: Addendum: Maybe replace it with the Overflow flag? (Carry's unsigned counterpart)
username_1: @username_0 Hey, thanks for the input. I take your point that in modern software, you tend to not need a parity flag within the CPU itself. Seems one of the main reasons why this flag is not so required any more is that hardware tends to take care of things that would have used it, but at the moment there is no such hardware for my 'platform'.
The 'cost' of this flag is relatively low, 8 XOR gates if I'm not mistaken, plus a little bit of logic to handle setting it. Maybe a little bit more to handle the instructions that can use this value, like jumps.
For the sake of flexibility, I think I shall retain this flag in my designs, I'm not opposed to breaking changes down the line if I feel it really can be dropped. When I move closer to designing the circuits for these things, I'll try take not of (roughly) how much is used to support this flag.
username_1: @username_0 can I also ask how you came to find this project? I'm very curious, as I've not really been promoting it or sharing it around much besides the odd tweet.
username_0: @username_1 Magic!
<sup>Github's follow system, altho I can't seem to find who starred it now..</sup> |
banana-coin/website | 291161432 | Title: Indonesian
Question:
username_0: [2017-12-13 Banancoin WebSite Translations.xlsx](https://github.com/banana-coin/website/files/1659488/2017-12-13.Banancoin.WebSite.Translations.xlsx)
[Bagaimana cara membeli token dengan transfer bank.pdf](https://github.com/banana-coin/website/files/1659489/Bagaimana.cara.membeli.token.dengan.transfer.bank.pdf)
[Bananacoin Website Indonesian.xlsx](https://github.com/banana-coin/website/files/1659490/Bananacoin.Website.Indonesian.xlsx)
[Light_Indo.pdf](https://github.com/banana-coin/website/files/1659491/Light_Indo.pdf)
[Utility_token_indo.pdf](https://github.com/banana-coin/website/files/1659492/Utility_token_indo.pdf)
[White_Paper_Bananacoin_indonesia.pdf](https://github.com/banana-coin/website/files/1659493/White_Paper_Bananacoin_indonesia.pdf)
Status: Issue closed
Answers:
username_0: готово |
facebook/react-native | 1179448009 | Title: Detected multiple Kotlin daemon sessions at build/kotlin/sessions in every build
Question:
username_0: * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 42s
at makeError (/home/gabriel/Documentos/app-irriga-global-2.0/node_modules/execa/index.js:174:9)
at /home/gabriel/Documentos/app-irriga-global-2.0/node_modules/execa/index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (/home/gabriel/Documentos/app-irriga-global-2.0/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (/home/gabriel/Documentos/app-irriga-global-2.0/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.
```
### Version
0.67.2
### Output of `npx react-native info`
System:
OS: Linux 5.13 Ubuntu 20.04.1 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 150.90 MB / 11.60 GB
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 12.22.1 - ~/.nvm/versions/node/v12.22.1/bin/node
Yarn: 1.22.11 - /usr/bin/yarn
npm: 6.14.12 - ~/.nvm/versions/node/v12.22.1/bin/npm
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3
System Images: android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 11.0.14 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.2 => 0.67.2
npmGlobalPackages:
*react-native*: Not Found
### Steps to reproduce
Init a new project
Install react navigation
Try to build
get this error
### Snack, code example, screenshot, or link to a repository
I cant provide a code example because my app doesnt even run :)
Answers:
username_1: Hi,
this has happened to me before and is due to multiple versions of kotlin being used on build time.
to fix this problem you have to set a Kotlin version on your project level build grade `android/build.gradle`
for example:
```groovy
buildscript {
ext {
// ...
kotlin_version = '1.6.10' // <- add this line
}
dependencies {
// ...
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // <- add this line
// ...
}
}
```
username_0: Hello @username_1 , thank you for the answer. I tried to do it, but still showing the problem reported in the topic :/
username_2: buildscript {
ext {
// ...
kotlin_version _#`=`_ '1.6.10' // <- add this line
}
dependencies {
// ...
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // <- add this line
// ...
}
}
username_1: @username_0 Could you provide the dependencies listed in your package.json please? I want to reproduce this problem on my machine.
username_3: ```
You need to increase the memory in your `android/gradle.properties` with something like:
```
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
```
or more than 2048 if the issue keeps on happening |
angular/angular | 200665097 | Title: Set return type for Renderer.invokeElementMethod() to any.
Question:
username_0: <!--
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING
-->
**I'm submitting a ...** (check one with "x")
```
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```
**Current behavior**
`Renderer.invokeElementMethod()` has a return type of `void` when it actually returns whatever the underlying method returns.
**Expected behavior**
`Renderer.invokeElementMethod()` has a return type of `any`.
**What is the motivation / use case for changing the behavior?**
Many element methods have return values. One potential use case:
```ts
const myElement: Element = this.renderer.invokeElementMethod(elementRef.nativeElement, 'querySelector', ['.myElement']);
```
* **Angular version:** 2.4.1
<!-- Check whether this is still an issue in the most recent Angular version -->
* **Browser:** all
<!-- All browsers where this could be reproduced -->
* **Language:** TypeScript 2.0.10
Status: Issue closed
Answers:
username_1: We are planning on removing it. Won't fix. |
so-sonia/AsystentGotowaniaApp | 285953111 | Title: baza danych
Question:
username_0: tu będzie sporo todo, można rozbić na mniejsze.
Między innymi wyświetlanie w drugim activity.
Answers:
username_0: Jak zostało to opisane na https://developer.android.com/training/data-storage/sqlite.html:
"Caution: Although these APIs are powerful, they are fairly low-level and require a great deal of time and effort to use:
There is no compile-time verification of raw SQL queries. As your data graph changes, you need to update the affected SQL queries manually. This process can be time consuming and error prone.
You need to use lots of boilerplate code to convert between SQL queries and data objects.
For these reasons, we highly recommended using the Room Persistence Library as an abstraction layer for accessing information in your app's SQLite databases."
także zamierzam użyć tutaj Room database
https://developer.android.com/training/data-storage/room/index.html
Status: Issue closed
|
milesgranger/gap_statistic | 464154308 | Title: Add calculation of the alternative Gap* measure.
Question:
username_0: The paper "A comparison of Gap statistic definitions with and without logarithm function" by Mohajer, Englmeier and Schmid [link](https://core.ac.uk/download/pdf/12172514.pdf) suggests an alternative Gap* measure, which simply does not use the logarithm function is calculations.
The authors claim this measure avoids the over-estimation of the number of clusters from which the original Gap statistics suffers, and can also suggest an optimal value for k for cases in which Gap cannot. They do warn, however, that the original Gap statistic performs better than Gap* in the case of overlapped clusters, due to its tendency to overestimate the number of clusters.
This can be interesting additional information to provide in the `gap_df` attribute after the search, for more advance users to use (those interested in investigating the results and not just taking the optimal K value found).
_Note: A pull request making this enhancement will soon be opened. :)_
Answers:
username_1: Closed by #28
Status: Issue closed
username_0: Just to demonstrate, Gap* outperformed Gap on the first random synthetic dataset I tried this on. In other cases it sometime doesn't get the right K, but still overshoots it be less than Gap does (which is inline with the paper I referenced in my original post, that states that Gap tends to overestimate K).
Here's an image of the five generated clusters (with the cluster centers that kmeans finds for them with k=5):

And here are the Gap and Gap* plots, respectively:

 |
Azure/autorest | 107613296 | Title: Node.js code generator does not respect -AddCredentials command line argument
Question:
username_0: The Node.js code generator does not generate a service client that accepts a credentials object as expected when the `-AddCredentials` command line argument is used. Instead, `null` is passed for the credentials object to the super (i.e. base) service client type (see snippet below).
```javascript
/**
* @class
* Initializes a new instance of the HealthCloudClient class.
* @constructor
*
* @param {string} [baseUri] - The base URI of the service.
*
* @param {object} [options] - The parameter options
*
* @param {Array} [options.filters] - Filters to be added to the request pipeline
*
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
*
* @param {bool} [options.noRetryPolicy] - If set to true, turn off default retry policy
*/
function HealthCloudClient(baseUri, options) {
if (!options) options = {};
HealthCloudClient['super_'].call(this, null, options);
this.baseUri = baseUri;
if (!this.baseUri) {
this.baseUri = 'https://api.microsofthealth.net';
}
this.activities = new operations.Activities(this);
this.devices = new operations.Devices(this);
this.device = new operations.Device(this);
this.profile = new operations.Profile(this);
this.summaries = new operations.Summaries(this);
this._models = models;
}
```
Looking at the AutoRest solution, it appears that the Node.js code generator templates will generate a credentials-passing constructor if a "credentials" named service client property exists, but the generator never tests the `Settings.AddCredentials` property and never adds a "credentials" service client property. The other code generators appear to do this test/addtion as part of their `NormalizeClientModel(ServiceClient)` override. If I copy/call the `PopulateAdditionalProperties(ServiceClient)` method from the `JavaCodeGenerator` type into the `NodeJSCodeGenerator` type, AutoRest will then generate a service client constructor with the expected credentials parameter (see snippet below).
```javascript
/**
* @class
* Initializes a new instance of the HealthCloudClient class.
* @constructor
*
* @param {ServiceClientCredentials} credentials Subscription credentials which uniquely identify client subscription.
*
* @param {string} [baseUri] - The base URI of the service.
*
* @param {object} [options] - The parameter options
*
* @param {Array} [options.filters] - Filters to be added to the request pipeline
*
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
*
* @param {bool} [options.noRetryPolicy] - If set to true, turn off default retry policy
*/
function HealthCloudClient(credentials, baseUri, options) {
[Truncated]
throw new Error('\'credentials\' cannot be null.');
}
if (!options) options = {};
HealthCloudClient['super_'].call(this, credentials, options);
this.baseUri = baseUri;
if (!this.baseUri) {
this.baseUri = 'https://api.microsofthealth.net';
}
this.credentials = credentials;
this.activities = new operations.Activities(this);
this.devices = new operations.Devices(this);
this.device = new operations.Device(this);
this.profile = new operations.Profile(this);
this.summaries = new operations.Summaries(this);
this._models = models;
}
```<issue_closed>
Status: Issue closed |
jlippold/tweakCompatible | 343425014 | Title: `Liberty` not working on iOS 11.3.1
Question:
username_0: ```
{
"packageId": "com.ryleyangus.liberty",
"action": "notworking",
"userInfo": {
"arch32": false,
"packageId": "com.ryleyangus.liberty",
"deviceId": "iPhone10,4",
"url": "http://cydia.saurik.com/package/com.ryleyangus.liberty/",
"iOSVersion": "11.3.1",
"packageVersionIndexed": true,
"packageName": "Liberty",
"category": "Tweaks",
"repository": "Ryley's Repo",
"name": "Liberty",
"packageIndexed": true,
"packageStatusExplaination": "This package version has been marked as Not working based on feedback from users in the community. The current positive rating is 0% with 0 working reports.",
"id": "com.ryleyangus.liberty",
"commercial": false,
"packageInstalled": true,
"tweakCompatVersion": "0.0.7",
"shortDescription": "A general purpose jailbreak detection bypass patch. Use the Liberty entry in the Settings app to block (most) apps from detecting your jailbreak. Cydia Substrate can be selectively disabled, but this isn't required for many apps.",
"latest": "0.2.10",
"author": "<NAME>",
"packageStatus": "Not working"
},
"base64": "<KEY>
"chosenStatus": "not working",
"notes": "Missing dependencies that weren't required for the previous version"
}
```<issue_closed>
Status: Issue closed |
spencermountain/compromise | 646610438 | Title: I'm built a matcher how do I set groups?
Question:
username_0: Hello,
I'm building my own match function, probably add it as an extension because it requires a dependency which will increase the code size.
I have so far figured out that I can use `termList` to get all the terms to match against and now I'm trying to save the groups. How do I set the groups for a matched term, I need to set multiple by name, number, and the total match as group `0`? The code for the `match` function is a bit hard to follow.
Answers:
username_1: hey @username_0 that sounds really neat. I'd love to hear more about it.
Yeah, the internal-api is a bit complicated. The groups concept especially so. You're right that `buildFrom` is the method I use to compose new Text objects, with a shared context and data.
the best way to get a feel for groups and buildfrom may be to place a console.log [here](https://github.com/username_1/compromise/blob/master/src/Phrase/Phrase.js). Groups is an object - I think numbers will also work as the keys, like you mentioned.
yeah, if it is not set correctly, the linked-list will blow-up when you call `.text()`. Crawling that is the most expensive operation we have, so it's not possible to validate it at create.
Can help further if you have more questions
cheers
username_0: @username_1
So far I've:
1. Used [chevrotain](https://sap.github.io/chevrotain/docs/) as the parser for the regular expression. This is the library which I've imported which would increase build size.
2. Implemented pike's vm similar to [this][pikevm] but on words.
3. Implemented groups with subgroup support
4. Match zero or one, zero or more, and one or more
5. Greedy / non greedy matching
I still need to implement:
- proper saving of matches along with their groups, excluding non-capturing groups.
- range modifiers
- end of `$`
- allow matching through string and not just at start of while excluding that match, default is start of for the machine
- support regex matches
When it comes to compromise currently in my scratch I'm doing:
```javascript
let ast = null;
// parses the regex and set the ast.prog to a "program" which runs in the vm
ast = parse("remind (you|me|to)+");
const doc = nlp('remind me to work on a better match');
// matches = { found: true, saved: [terms] }. this will change
const matches = pikevm(ast.prog, doc.list[0].terms());
console.log(matches?.saved?.map(x => x.text));
```
outputs:
```javascript
[ 'remind', 'me', 'to' ]
```
with a non greedy `+?` modifier `ast = parse("remind (you|me|to)+?"); ` produces `[ 'remind', 'me' ]`
What is the correct way to generate a document with groups should I create a plugin that adds `match2` or something which matches words and returns a list of terms from the `termList`?
[pikevm]: https://swtch.com/~rsc/regexp/regexp2.html
username_1: HEY COOL!!
this is a very neat idea.
... is it fast?? Is that why you're building it?
How much bigger is the build with chevrotain?
to be honest, if the tests pass, it works. That's as close there is to a formal spec or anything.
There are a lot of weird edge-cases with greedy optionals that compromise doesn't handle properly. I'm sure you've already found them.
---
Okay, so to answer your question,
```js
const doc = nlp('remind me to work on a better match')
let m = doc.match('remind [<me>me] to')
// get a flat list of Term objects (with a group)
let terms = m.termList()
// [{Term}, {Term}, {Term}]
let groups = m.groups()
// {me: {Phrase} }
//okay, create a Phrase obj from our terms & groups:
let phrase = doc.list[0].buildFrom(terms[0].id, terms.length, groups)
// create a Text obj from our phrase
let doc2 = doc.buildFrom([phrase])
doc2.debug()
// ensure group is still there:
m.groups('me').debug()
```
cheers
username_1: ya, looking at that, I know that's a bit laborious, but that's how i'd do it.
also, if it could make your life easier, we could always make changes to the match syntax.
If it meant formalizing it, as a proper dsl, I wouldn't mind dropping some features.
I've tried a few times to make some kind of abstraction for match-syntax - so you can write them as strings, but then if performance is important, turn it into a formal json object.
...If it's **1-to-many**, we can optimize the match statement,
if it's **many-to-1**, we can optimize the document...
any thoughts or advice you have is welcomed
username_0: Updates:
1. I haven't built compromise with my match function yet
2. chevrotain can build a syntax diagram from the code I've created, I just need to figure it out.
3. I've changed the syntax to be more like actual regex but it operates on terms instead.
Features:
- groups with subgroups
- named groups
- OR operations
- groups / ORs can match multiple terms
- greedy / non-greedy matching
- basically what the chart below says excluding negative capture groups.
- You can _compile_ the regex for faster reuse.
Questions:
- Anything else I should add?
- I can add `~soft~` support but I need to know more about how that works / how to implement a match for that on a single term given the `soft` part, should probably change the syntax on this though.
- I'm going to start on adding the method, should this be a part of compromise as a plugin? Should I just make a PR to this repo or should I create my own package for compromise?
- I'm going to call it `match2` any objections?
- The function will work as follows:
```javascript
const reStr = 'remind (me)? to? (?P<what>.+?) (?P<when>#Date+)$';
const regex = nlp.regexp(reStr);
//const doc = nlp("remind me to wash the dishes in 5 minutes").match2(reStr); // also works
const doc = nlp("remind me to wash the dishes in 5 minutes").match2(regex);
if(doc.found) {
console.log(doc.text());
console.log(doc.groups());
}
```
So far I've done this to run the matcher.
```javascript
const m = doc.buildFrom(doc.list.map(phrase => {
const { found, saved, groups } = pikevm(ast.prog, phrase.terms());
const namedGroups = {}; // TODO: munge to correct format
return found ?
phrase.buildFrom(saved[0].id, saved?.length ?? 0, namedGroups)
: null;
}).filter(p => p !== null));
```
Attached is a screenshot of the syntax diagram. I haven't implemented negative groups yet, might do later.


username_0: I have groups and group parsing done, now I just need to:
- figure out where the code goes, library or add to compromise
- clean things up a bit
- create a regex class for `compile` usage
- make a match function which takes compiled regex or string regex which it then compiles.
- write some tests
```javascript
const m = doc.buildFrom(doc.list.map(phrase => {
const { found, saved, groups } = pikevm(ast.prog, phrase.terms());
console.log("found:", found);
console.log("saved:", saved);
console.log("groups:", groups);
const namedGroups = Object.values(groups).reduce((arr, g) => ({
...arr,
[parseInt(g.id)]: {
group: g?.name ?? `${g.id}`,
start: g.saved?.[0].id ?? 0,
length: g.saved?.length ?? 0
}
}), {});
console.log(namedGroups);
return found ?
phrase.buildFrom(saved[0].id, saved.length, namedGroups)
: null;
}).filter(p => p !== null));
```
username_0: @username_1 What are your arguments against the GPL license?
I'm thinking of releasing this as a plugin.
I could include it into this repo under `plugins/match2` with its own `plugins/match2/LICENSE` file which would be GPL.
Or I could make a separate repo.
I may be convinced to use the MIT license too though. What are your thoughts?
username_1: Holiday today in Canada, will give this proper attention as soon as I can.
Thanks for the information.
username_0: @username_1 plugin deployed here https://www.npmjs.com/package/compromise-match2 I could merge it into compromise
username_1: hey, so I finally got a chance to check this out in detail. This is very neat stuff. I have a bunch of questions, but they are minor, and I am very excited and impressed by this plugin.
1) do you have any sense about its performance, compared with regular match? I tried a few things and it seemed to be similar? I can help throw some bigger documents at it, if that would be helpful.
2) oof - I'm not the right person to ask about licensing details. That stuff goes out my brain when I blink. You're free to use anything you're comfortable with.
3) found 2 errors, I think:
```js
// #1
nlp('so ralf and really eats the glue').match2('* [eats] the', 0)
#2
nlp('spencer other').match2('!(cool|spencer)')
```
it was cool that it also found an invalid match statement in the tests!
4) the min build seems to be 130kb, which is cool - are there any quick-wins to shake-down chevrotrain?
5) it would be cool to support the AND syntax, which is often-requested
```js
let m = nlp('june and july cool').match2('(#Date && july)')
m.text() // july
```
6) very-happy to put this in ./plugins, and list it in the docs. We'll need to add details to the docs.
7 (last) ) `goodmatch`? `smartmatch`? I welcome *all* slams to the original match function :)
thank you!!
username_0: @username_1
1. I tested, the speed is about the same, code below, match2 is mostly meant to match things better and have a syntax closer to regex. Some examples are that you can match a long string of words, have subgroups, lookaheads, etc.
2. I chose the GPL.
3. `[eat]` is invalid it should be more like `.* (eats) the`. second one would be `(?!cool|spencer)`
a. `.` matches anything, `*` modifier zero or moe, `(eats)` group which is captured and matches word `eats`.
b. the `(?!` starts a negative lookahead assertion which does not capture or advance position in search
c. What does the second arg do, return that group number / name? I can implement it.
4. Not sure, I already ran rollup on it, not sure what can be removed that wouldn't be needed. I tried not to use too many functions. Any pointers?
5. hmm, this can probably be done with a lookahead assertion like this `(?=#Date) July`.
a. I found a bug in the not start of matching that I've fixed in 1.0.1 which is live now. The above lookahead should work with this now. Other matches not starting at the first two terms should now work too.
**benchmark:**
```javascript
onst Benchmark = require('benchmark');
const nlp = require('compromise');
const { default: compromise_match2, NLPRegexP } = require('./dist/compromise-match2.js');
nlp.extend(compromise_match2);
const suite = new Benchmark.Suite;
let text = "Improved own provided blessing may peculiar domestic. Sight house has sex never. No visited raising gravity outward subject my cottage mr be. Hold do at tore in park feet near my case. Invitation at understood occasional sentiments insipidity inhabiting in. Off melancholy alteration principles old. Is do speedily kindness properly oh. Respect article painted cottage he is offices parlors.";
text = text.replace('.', '');
const tofind = 'sentiments insipidity inhabiting';
const regex = nlp.compileRegex(tofind);
suite
.add('nlp match', () => {
nlp(text).match(tofind);
})
.add('match2', () => {
nlp(text).match2(tofind);
})
.add('compiled match2', () => {
nlp(text).match2(regex);
})
.on('cycle', function (event) {
console.log(String(event.target));
})
.on('complete', function (event) {
console.log('Fastest is ' + this.filter('fastest').map('name'));
})
.run();
```
username_1: cool. That sounds great. Thanks for clarifying that.
It would help to have a list of syntax-differences between the two implementations. It's cool to have them different, that's no issue. We should try to be as clear as we can about these tiny differences - people are gonna get caught between them.
You're right that the 2nd param in `.match()` is a group name, so you can return just the group -
```js
doc.match('before [want] after', 0).text()
// 'want'
```
I really struggled with the `()` vs `[]` syntax. I'm not sure it ended-up being clear.
`(` was originally used to support optional 'or' logic, so we used square-brackets for capture-groups.
... then regex started supporting named capture-groups. Now the situation is a bit of a mess, and it's almost-certainly too-late to release a big breaking change to the match syntax.
I can help track-down tiny-differences between the two implementations - does match2 support recursive matching? .... recursive groups?
cheers!
username_0: The syntax I create is meant to match more closely to regular expression, [python's re module](https://docs.python.org/3/library/re.html#regular-expression-syntax) has a good doc on the syntax.
I'll update the `match2` to support a second param for returning the first group. It does support nested groups but similar to other regex engines if a group is matched more than one it only returns the last match for that group.
Patterns like this `((remind|remember) (me|you|.) to? do? (?P<what>.+) (?P<when>#Date+)` are supported which will return
for `remind me to reply to @username_1 today` :
- the entire match
- group 0: `remind me to reply to @username_1 today`
- group 1: `remind`
- group 2: `me`
- group 3 (name=what): `reply to @username_1`
- group 4 (name=when): `today`
I'll try to work on some more docs / examples. I have some of them outlined in the [README](https://github.com/catalogm/compromise-match2#supported-regexp-grammar) but it could definitely be clearer and should provide examples.
username_0: @username_1 [Here](https://github.com/catalogm/compromise-match2/commit/70fef68eb67725eb0f006954c9efc99c25821a7c) I've release version 1.1.0 that fixes things, adds 100% code coverage, and a few fixes.
The [tests, starting here](https://github.com/catalogm/compromise-match2/commit/70fef68eb67725eb0f006954c9efc99c25821a7c#diff-2382a7144b80bd7c6cfe69ed37c02f0cR105) can be used as a reference for now until I can provide better examples.
https://github.com/catalogm/compromise-match2/commit/70fef68eb67725eb0f006954c9efc99c25821a7c
username_0: @username_1 I still need to write some better docs but I added support for methods using the `@` (ex: `@hasComma`).
The `doc.lists()` fails when the items contain spaces, likely because the `match` function does not work well with spaces. What needs to happen to get `compromise-match2` merged into this repo so that you or I can possibly update some of the functions to use `match2`?
There are a few issues:
- LICENSE is GPLv3 which conflicts with the MIT license this repo uses.
- Module size will increase by the added dependencies
- `match2` uses a different albeit closer to standard regex format
- `match2` does not support everything `match` does but these features can be added or there are different ways to do them in `match2`
username_1: Agh, that’s great. Happy to merge this in!
Can you add me as an owner on npm, if I’m gonna help maintain it?
username_0: @username_1 and responses to the above comment?
username_1: hey Kelvin, sorry for the delay.
I'd be happy to merge this into the plugins directory, and help to maintain it.
Thanks for doing this.
I don't know anything about licensing, and am not worried about keeping it GPL.
yes, we'll need to do some work documenting the changes between it, and the default matcher. Really comprehensive docs will go a long way, i'd be happy to help.
I tried match2 on the compromise tests and a few-dozen were failing. It would be awesome if it passed the tests, so we could say it was purely a more-strict version of the match syntax. That may soften-up some of the edge-cases between the two systems. That's up to you though.
Apologies if this was addressed before, but if I understand it, match2 does not support this still, right?
`(start|(maybe one|maybe two))`
that's a kinda recursion, i suppose. Just double-checking.
cheers!
username_0: match2 supports this.
username_1: amazing! sounds great. Let me know if I can help.
I've been using [observablehq](https://observablehq.com/@username_1/nlp-compromise) for docs, which is a normal static markdown thing, but also lets people play with, and fork js code examples. People seem to like it.
can't wait to play with this some more.
username_1: hey @username_0 how's it goin on this?
If you want, I could copy+paste things into this repo. We'd lose the git-history, but I'd cite your name on the plugin.
Otherwise I can add a link to your repo on this readme or something.
Whatever you prefer!
cheers
username_0: @username_1 sorry, I've not had much time to get to it. We'll lose git history anyway if I copy it to your repo so I'm fine with that. I'll try to copy it in and create a PR for it later today. I still need to work on documenting things though.
username_0: @username_1 see PR #796
Status: Issue closed
|
samgh96/spotiuribot | 346943281 | Title: Inline sexyness
Question:
username_0: So! It would be awesome to use the bot like this:
`@spotiuribot spotify:track:6lUC7qK9Wz3ED5EX9xxrU6`
And then lets you choose the info you want to share:
- Artist
- Song
- Album
- Link
- All
(List should be discussed)
The `All` one would be the most used option I think, It will send a message like:
```
Artist: <NAME>
Album: Technical Difficulties
Track: Technical Difficulties
```
And a button with the link to the song in https://open.spotify.com |
composewell/streamly | 782647776 | Title: provide means of returning accumulated bytes from Parser
Question:
username_0: We are [parsing length-prefixed bytes](https://github.com/username_0/curryer/blob/28ff1d031078af4a17fa326d43340474571df0c3/src/Network/RPC/Curryer/Server.hs#L168) from a socket to be deserialized by a separate package like this:
```haskell
c <- fromIntegral <$> word32P
--streamly can't handle takeEQ 0, so add special handling
if c == 0 then
pure BS.empty
else
BS.pack <$> P.takeEQ c s
```
This is fine for small messages, but the overhead of converting from Array to [Word] to ByteString pops up in profiling for larger messages.
Is there an API which can provide the underlying accumulated buffer with minimal overhead as Array or ByteString directly?
Answers:
username_1: This https://hackage.haskell.org/package/streamly-bytestring is what you're looking for.
username_1: In the master branch, `takeEQ 0` works as expected but requires scrutinizing an additional input. If this behavior does not affect your use-case you can use `takeEQ` from `master`.
There are plans to fix this in the near future, See: https://github.com/composewell/streamly/issues/671
username_2: Do not use lists as your intermediate type, that's very inefficient. Instead of:
```
BS.pack <$> P.takeEQ c s
```
Use:
```
BS.pack <$> P.takeEQ c (A.writeN c)
```
If you have to you can convert the array to bytestring using the streamly-bytstring package, the conversion is free.
You can find similar parsing code [here](https://github.com/composewell/streamly/blob/c671f2e850791e911a6bc4a494ab7f28948243de/src/Streamly/Internal/FileSystem/Event/Linux.hs#L773).
1. You should use streamly arrays wherever you need bytestring. bytestring is not required if you are using streamly unless you are interfacing with something that requires bytestring. In case you need to interconvert between arrays and bytestrings use streamly-bytestring package.
2. For deserializing common data types see https://composewell.github.io/streamly/master/Streamly-Internal-Data-Binary-Decode.html
username_0: Thanks for the detailed response. With your suggested changes in place, we gain over a 100% performance improvement for large messages!
Status: Issue closed
|
rancher/rancher | 234219519 | Title: [RFE] Specify source port on service side when using selector based load balancer
Question:
username_0: **Rancher versions:**
rancher/server: 1.6.0
cattle
When working with selector based Load Balancers we currently have to specify the source port when configuring the selector rule in the load balancer.
Instead we would like to be able to configure the source port on the service side. For example:
docker-compose
```
version: '2'
services:
loadbalancer:
image: rancher/lb-service-haproxy:<version>
ports:
- 80, 8080
web-service:
image: nginx
labels:
foo: bar
```
rancher-compose
```
version: '2'
services:
loadbalancer:
scale: 1
lb_config:
port_rules:
- selector: foo=bar
protocol: http
health_check:
port: 42
interval: 2000
unhealthy_threshold: 3
healthy_threshold: 2
response_timeout: 2000
web-service:
scale: 1
lb_config:
port_rules:
- source_port: 80
target_port: 81
hostname: test.com
```
Answers:
username_1: With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.
Status: Issue closed
|
vlang/v | 535671959 | Title: do not know how to put \' into string
Question:
username_0: **V version:**
**OS:**
https://vlang.io/play
**What did you do?**
```
fn main() {
areas := ['game', 'web', '\\\'', 'systems', 'GUI', 'mobile']
for i,area in areas {
println('Hello, $area developers!')
}
}
```
got error message:
```
syntax error: unexpected `', '`, expecting `,`
1| fn main() {
```
Answers:
username_1: You escape it once. `'\\'` will result in a single slash `\`.
Another option is using raw string: `r'\\\'` will output `\\\`
username_2: One way to put a single quote in a string is to use double quotes to wrap the string (e.g.: `"it's one way"`).
username_3: The solution has been given by username_1 and username_2 above. The following code works with v 0.1.27 on Windows 10 and the Playground (2 versions that work are given here):
fn main() {
// areas := ['game', 'web', "\\'", 'systems', 'GUI', 'mobile']
areas := ['game', 'web', r'\'', 'systems', 'GUI', 'mobile']
for _, area in areas {
println('Hello, $area developers!')
}
}
Output:
/*
Hello, game developers!
Hello, web developers!
Hello, \' developers!
Hello, systems developers!
Hello, GUI developers!
Hello, mobile developers!
*/
Status: Issue closed
|
eko/docker-symfony | 876371820 | Title: Service 'php' failed to build
Question:
username_0: ------
executor failed running [/bin/sh -c apk add --no-cache coreutils gettext php8-fpm php8-ctype php8-curl php8-dom php8-gd php8-iconv php8-json php8-intl php8-fileinfo php8-mbstring php8-opcache php8-openssl php8-pdo php8-pdo_mysql php8-mysqli php8-xml php8-xsl php8-zlib php8-phar php8-tokenizer php8-session php8-simplexml php8-zip php8-xmlwriter php8-sodium php8-pecl-apcu make curl]: exit code: 30
Service 'php' failed to build
```
Answers:
username_1: Hi @username_0,
I believe it was a temporary error:
```
#6 5.334 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later)
#6 10.34 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later)
```
I have build php container just now without errors:
`docker-compose build --no-cache`
```
Building php
[+] Building 31.9s (18/18) FINISHED
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 2.14kB 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/alpine:3.13 12.9s
=> [auth] library/alpine:pull token for registry-1.docker.io 0.0s
=> CACHED [ 1/12] FROM docker.io/library/alpine:3.13@sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 270B 0.0s
=> [ 2/12] RUN apk add --no-cache coreutils gettext php8-fpm php8-ctype php8-curl php8-dom php8-gd php8-iconv php8-json php8-intl php8- 6.1s
=> [ 3/12] COPY xdebug.ini /etc/php8/conf.d/xdebug.ini.template 0.1s
=> [ 4/12] RUN if [[ "off" != "" ]]; then apk add --no-cache php8-pecl-xdebug; export PHP_XDEBUG_MODE=off; export PHP_XDEBUG_CLIENT_PORT=5902; expo 1.0s
=> [ 5/12] RUN rm -f /etc/php8/conf.d/xdebug.ini.template 0.5s
=> [ 6/12] RUN curl -sS https://getcomposer.org/installer | tee composer-setup.php && php8 composer-setup.php && rm composer-setup.php* && chmod +x composer.phar && mv com 1.2s
=> [ 7/12] RUN wget https://github.com/symfony/cli/releases/download/v4.23.2/symfony_linux_amd64.gz && gzip -d symfony_linux_amd64.gz && mv symfony_linux_amd64 symfony 2.3s
=> [ 8/12] RUN apk add --update nodejs npm && npm install --global yarn 6.4s
=> [ 9/12] COPY symfony.ini /etc/php8/conf.d/ 0.1s
=> [10/12] COPY symfony.ini /etc/php8/cli/conf.d/ 0.1s
=> [11/12] COPY symfony.pool.conf /etc/php8/php-fpm.d/ 0.1s
=> [12/12] WORKDIR /var/www/symfony 0.1s
=> exporting to image 0.9s
=> => exporting layers 0.8s
=> => writing image sha256:5d66afb550dcdf2b0f1d84b4f7c334e00c17faee65e7ba1db9a48613052cc7c0 0.0s
=> => naming to docker.io/library/docker-symfony_php 0.0s
Successfully built 5d66afb550dcdf2b0f1d84b4f7c334e00c17faee65e7ba1db9a48613052cc7c0
``` |
scala-exercises/scala-exercises | 165322619 | Title: Running locally not showing libraries - std, cats and shapeless listing
Question:
username_0: Hello,
"sbt run" shows below warning messages (showing tail of many such)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:35: Inferred type containing Product
[warn] GET /progress/library/:libraryName/section/:sectionName org.scalaexercises.exercises.controllers.UserProgressController.fetchUserProgressBySection(libraryName: String, sectionName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:35: Inferred type containing Serializable
[warn] GET /progress/library/:libraryName/section/:sectionName org.scalaexercises.exercises.controllers.UserProgressController.fetchUserProgressBySection(libraryName: String, sectionName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:35: Inferred type containing Serializable
[warn] GET /progress/library/:libraryName/section/:sectionName org.scalaexercises.exercises.controllers.UserProgressController.fetchUserProgressBySection(libraryName: String, sectionName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:9: Inferred type containing Serializable
[warn] GET /loaderio-:token/ org.scalaexercises.exercises.controllers.LoaderIOController.verificationToken(token: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:14: Inferred type containing Serializable
[warn] GET /users/:login org.scalaexercises.exercises.controllers.UserController.byLogin(login: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:16: Inferred type containing Serializable
[warn] POST /exercises/sections/:libraryName/:sectionName/evaluate org.scalaexercises.exercises.controllers.ExercisesController.evaluate(libraryName: String, sectionName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:20: Inferred type containing Serializable
[warn] GET /assets/*file controllers.Assets.at(path="/public", file)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:31: Inferred type containing Serializable
[warn] GET /:libraryName org.scalaexercises.exercises.controllers.ApplicationController.library(libraryName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:32: Inferred type containing Serializable
[warn] GET /:libraryName/:sectionName org.scalaexercises.exercises.controllers.ApplicationController.section(libraryName: String, sectionName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes:35: Inferred type containing Serializable
[warn] GET /progress/library/:libraryName/section/:sectionName org.scalaexercises.exercises.controllers.UserProgressController.fetchUserProgressBySection(libraryName: String, sectionName: String)
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] /Users/pawan/git/github/scala-exercises/server/conf/routes: var is disabled
[warn] 225 warnings found
[warn] 11 warnings found
[info] Compiling 12 Scala sources to /Users/pawan/git/github/scala-exercises/client/target/scala-2.11/classes...
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/utils/DomHandler.scala:186: abstract type pattern A is unchecked since it is eliminated by erasure
[warn] def all[A <: dom.Element]: Seq[A] = j.toArray().collect { case d: A ⇒ d }
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Api.scala:26: null is disabled
[warn] val parsedBody = read[SectionExercises](raw)
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Api.scala:53: null is disabled
[warn] Ajax.postAsJson(url, write(request)).map(r ⇒ {
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Effects.scala:29: throw is disabled
[warn] val (lib, sect) = libAndSection
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Model.scala:15: Function has default arguments
[warn] case class ClientExercise(
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Ui.scala:92: Function has default arguments
[warn] def setExerciseStyle(method: String, style: ExerciseStyle, codeStyle: String = ""): IO[Unit] = (for {
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Ui.scala:56: throw is disabled
[warn] e.state match {
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/Ui.scala:82: throw is disabled
[warn] val (arg, input) = argAndInput
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/common/ExtAjax.scala:14: Function has default arguments
[Truncated]
[warn] nodes foreach { case (n, r) ⇒ $(n).html(r) }
[warn] ^
[warn] /Users/pawan/git/github/scala-exercises/client/src/main/scala/utils/DomHandler.scala:89: throw is disabled
[warn] exercise ← OptionT(io(findExerciseByMethod(methodName)))
[warn] ^
[warn] 29 warnings found
[info] Fast optimizing /Users/pawan/git/github/scala-exercises/client/target/scala-2.11/client-fastopt.js
[info] application - Creating Pool for datasource 'default'
[info] p.a.d.DefaultDBApi - Database [default] connected at jdbc:postgresql://192.168.99.100:2345/scalaexercises_dev
[warn] application - application.conf @ file:/Users/pawan/git/github/scala-exercises/server/target/scala-2.11/classes/application.conf: 11: application.secret is deprecated, use play.crypto.secret instead
[info] play.api.Play - Application started (Dev)
Request from domain: localhost
Redirect : false
Values : previewApp:false, Play.isProd:false, request.secure:false, inWWW:false
Environment:
OS: Mac OSX 10.11.3
Scala: 2.11
Browser: Chrome Version 51.0.2704.106 (64-bit)
Answers:
username_1: Thanks for reporting it @username_0 .
This issue is still pending to be fixed. In the meantime, you could do a quick fix locally replacing this line:
https://github.com/scala-exercises/scala-exercises/blob/master/build.sbt#L103
for `.dependsOn(core.jvm)`
and uncommenting this other one:
https://github.com/scala-exercises/scala-exercises/blob/master/build.sbt#L121
Hope it helps.
username_0: Perfect.. it worked.
username_0: Above workaround fixed it.
Status: Issue closed
|
yegor256/tacit | 373992959 | Title: "Download" Link on the Homepage LEads to a 404
Question:
username_0: The link on the homepage is [https://yegor256.github.io/tacit/tacit-1.3.3.min.css](https://yegor256.github.io/tacit/tacit-1.3.3.min.css) but it results in a 404.
Answers:
username_1: @username_2[/z](https://www.username_1.com/u/username_2) please, pay attention to this issue
username_1: @alain-christian[/z](https://www.username_1.com/u/alain-christian) this project will fix the problem faster if you donate a few dollars to it; just [click here](https://www.username_1.com/contrib/C7BNDNSNR) and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!
username_0: Uh, buddy, [you asked me](https://twitter.com/yegor256/status/1055425074449264640) to file this bug report. I'm doing this for **YOU**, not for me. I got what I needed. But your site looks unorganized with a dead link. That's on you, bro. 🙄
username_2: @username_0 thanks for reporting this issue, I'll get to it ASAP.
And don't mind the comments by @username_1, it's a bot.
username_1: Are you speaking to me or about me [here](https://github.com/yegor256/tacit/issues/170#issuecomment-433979725); you must always start your message with my name if you want to address it to me, see [§1](http://www.zerocracy.com/policy.html#1)
username_1: Job `gh:yegor256/tacit#170` is not assigned, can't get performer
<!-- https://www.username_1.com/footprint/C7BNDNSNR/c0e3d95c-fa7e-4bf8-85f5-dff3b1f49765, version: 0.37.5, hash: ${buildNumber} -->
username_1: This job is not in scope
<!-- https://www.username_1.com/footprint/C7BNDNSNR/bc980790-d826-48b8-843e-005cff5b23fa, version: 0.37.5, hash: ${buildNumber} --> |
fgasdia/RootsAndPoles.jl | 754617377 | Title: Make GRPFParams immutable again
Question:
username_0: There is little reason for GRPFParams to be mutable. It originally seemed convenient to update (mutate) GRPFParams entries in a project in which I was using RootsAndPoles, but it is inexpensive to create an entirely new GRPFParams struct and changes to fields can be easily made if we use Parameters.jl. Immutable structs are also a little "safer", e.g. when it comes to threading.
Answers:
username_0: Possibly also make it a Parameters.jl struct with keywords.
Status: Issue closed
|
felixhayashi/TW5-TiddlyMap | 55420120 | Title: Exporting views
Question:
username_0: Of course you can copy the view's data tiddlers into another wiki, but you also need to make sure to copy the edge stores (either global or private) and the tiddlers that are referenced by the edges as endpoints.
By the way, I updated the docs a bit, maybe [Advanced Topics](http://username_0.github.io/TW5-TiddlyMap/index.html#Documentation) gives you some clues on how the system is currently organized
-Felix
Answers:
username_0: Of course you can copy the view's data tiddlers into another wiki, but you also need to make sure to copy the edge stores (either global or private) and the tiddlers that are referenced by the edges as endpoints.
By the way, I updated the docs a bit, maybe [Advanced Topics](http://username_0.github.io/TW5-TiddlyMap/index.html#Documentation) gives you some clues on how the system is currently organized
-Felix
username_1: I guess the question really is if one actually wants an export / import of all those tiddlers in a graph. If I understand right, a graph will never show a missing tiddler.
username_2: Thanks for adding this issue, Felix. I should have clarified that I want to use the layout, i.e. tiddler node positions and edges, in an external application. Importing back to TiddlyWiki as some kind of "round trip" is not really necessary for my purposes. I probably have enough info to get started.
username_0: @username_2,
@username_2 Ah ok, I didn't quite understand what you mean by *layout*, but yes, feel free to use the data for your purposes.
username_0: Hi @username_2
This is now possible if you go to "View configuration":

Status: Issue closed
|
AudioCommons/ac-mediator | 189414095 | Title: Use COPY for requirements.txt in Dockerfile
Question:
username_0: Dockerfile for django/gunicorn container uses an `ADD .` instruction to copy all code to `/code/` folder in the container and then performs `pip install -r requirements.txt` This works but it's not optimal for the Docker cache as contents of `/code/` change when files are edited and therefore cache is invalidated before the `pip install ...`, causing Python dependencies to be re-installed every time we build the container (see [here](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/undefined#add-or-copy)).
We should first use `COPY` instruction to copy `requirements.txt`, then run `pip install` and then do the `ADD .` (just as suggested in the basic django+docker tutorial).<issue_closed>
Status: Issue closed |
sajoy/kumquat-timer | 297896399 | Title: What does bind do?
Question:
username_0: What does bind do? (after research, it appears to "create a new function that, when called, has its _this_ keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called."
https://github.com/sajoy/kumquat-timer/blob/86b1f17551ad459b2516c6e61835cd717ed0a036/app.js#L89 |
ikedaosushi/tech-news | 593870443 | Title: ZoomでできなくてRemoでできること黒田 悠介 / 議論メシnote
Question:
username_0: ZoomでできなくてRemoでできること|黒田 悠介 / 議論メシ|note<br>
<br>
https://ift.tt/3aAaEGM |
keybase/client | 322845421 | Title: Keybase pgp decrypt fails with decrypt error: unable to find a PGP decryption key for this message
Question:
username_0: This is for a message which I know I should be able to decrypt
my log id: c48789e606f425f6e430791c
Answers:
username_0: I was able to resolve this by signing out in the Keybase app and signing back in again
username_1: I started to experience this very recently as well and came here to report it.
```
$ echo foo | keybase pgp encrypt | keybase pgp decrypt
▶ ERROR decrypt error: unable to find a PGP decryption key for this message
$ echo foo | keybase pgp encrypt | gpg -d
gpg: encrypted with 4096-bit RSA key, ID B915AB7FE31DA8CD, created 2016-04-20
"<NAME> <<EMAIL>>"
foo
$ echo foo | keybase pgp encrypt | gpg --list-packets
gpg: encrypted with 4096-bit RSA key, ID B915AB7FE31DA8CD, created 2016-04-20
"<NAME> <<EMAIL>>"
# off=0 ctb=c1 tag=1 hlen=3 plen=524 new-ctb
:pubkey enc packet: version 3, algo 1, keyid B915AB7FE31DA8CD
data: [4094 bits]
# off=527 ctb=d2 tag=18 hlen=2 plen=0 partial new-ctb
:encrypted data packet:
length: unknown
mdc_method: 2
# off=548 ctb=cb tag=11 hlen=2 plen=0 partial new-ctb
:literal data packet:
mode b (62), created 0, name="",
raw data: unknown length
```
username_1: @username_0's solution of re-signing-in worked for me as well.
username_2: Same here. Sign-in / sign-out fixed this for me.
Shame I didn't try this last week when I had to roll all our passwords because I couldn't decrypt them!
username_2: @username_3 No probs. Thanks for keybase! Is there any way I can view the logs before sending?
username_2: @username_3 Just sent some logs (`8711c540fb7503731bd0db1c`), right after seeing the following error:
ERROR No username known
A logout and login in the main app sorted it.
username_3: @username_2 thanks, that's just a workaround, the new release should have a fix for it. Hopefully out this week.
username_2: Thanks @username_3 |
Adyen/adyen-dotnet-api-library | 1045438175 | Title: shareholderType field is missing in MarketPay.ShareholderContact
Question:
username_0: Version: V8.0.0
API Use : createAccountHolder
Issue : shareholderType field is missing in MarketPay.ShareholderContact and shareholderType is mandatory field in this api.
shareholderType
Specifies how the person is associated with the account holder.
Possible values:
Owner: Individuals who directly or indirectly own 25% or more of a company.
Controller: Individuals who are members of senior management staff responsible for managing a company or organization.
Answers:
username_1: Hello @username_0,
Thank you for raising this issue. We are going to update the models as soon as possible.
kind regards,
Alexandros
Adyen
username_2: In my latest testing, this field seems to be required on the /createAccountHolder endpoint (I receive errors if it's not provided). However, the documentation on Adyen's website do not indicate this is required.
Is this a mistake that it is required, or is it mistakenly just not flagged as required in the documents?
Status: Issue closed
|
FortnoxAB/csharp-api-sdk | 692992150 | Title: EnumMember "settle" is missing in enum Source
Question:
username_0: Hi,
Could not deserialize InvoicePaymentSubset because the value "settle" is missing in the enum Source.
```json
{
"MetaInformation": {
"@TotalResources": 3,
"@TotalPages": 1,
"@CurrentPage": 1
},
"InvoicePayments": [
{
"@url": "https:\/\/api.fortnox.se\/3\/invoicepayments\/1833",
"Amount": 253,
"Booked": true,
"Currency": "SEK",
"CurrencyRate": 1,
"CurrencyUnit": 1,
"InvoiceNumber": 10001847,
"Number": "1833",
"PaymentDate": "2020-09-02",
"Source": "settle"
},
{
"@url": "https:\/\/api.fortnox.se\/3\/invoicepayments\/1832",
"Amount": -253,
"Booked": true,
"Currency": "SEK",
"CurrencyRate": 1,
"CurrencyUnit": 1,
"InvoiceNumber": 10001865,
"Number": "1832",
"PaymentDate": "2020-09-02",
"Source": "settle"
},
{
"@url": "https:\/\/api.fortnox.se\/3\/invoicepayments\/1850",
"Amount": 118,
"Booked": true,
"Currency": "SEK",
"CurrencyRate": 1,
"CurrencyUnit": 1,
"InvoiceNumber": 10001885,
"Number": "1850",
"PaymentDate": "2020-09-03",
"Source": "manual"
}
]
}
```
Answers:
username_1: Documentation contains only "direct" and "manual" sources.
I will add it as an obsolete option to fix the issue.
Status: Issue closed
|
XX-net/XX-Net | 262469410 | Title: 扫描不到IP,请教如何应对
Question:
username_0: 使用最新版本的xx-net扫描了几小时也无法搜索到新IP,看issue里的帖子说需要打开IPv6,但是配置里面打开IPv6选项后显示:启用IPv6失败,请确认你的网络支持IPv6。
状态页永远显示:请等待大约2小时,XX-Net需要扫描IP。
诊断信息如下:
XX-Net Status:
sys-platform: AMD64, Windows-7-6.1.7601-SP1
os-system: Windows
os-version: 6.1.7601
os-release: 7
os-detail: Version:6-1; Build:7601; Platform:2; CSD:Service Pack 1; ServicePack:1-0; Suite:256; ProductType:0
architecture: 32bit,WindowsPE
browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
xxnet-version: 3.6.6
python-version: 2.7.13
openssl-version: 16.0.0 TLSv1_2 h2:alpn
ipv6-status: 0
gws-ip-num: total:0 good:0
network-status: OK
connected-link: new:0 used:0
worker: h1:0 h2:0
scan-ip-thread-num: 3
ip-quality: 9999
is-idle: 0
block-stat: OK
proxy_state: OK
ca_state: OK
Appid_Working: true
Appids_Out_Of_Quota: false
Appids_Not_Exist: false
Using_Public_Appid: true
Answers:
username_1: 同样的问题
username_2: 同样的问题加一
username_3: 我也试过同样的问题,不过我是没再扫IP,直接拔掉路由器和wifi重新连接,再重新开启IPv6,就成功了,如果不行多试几次
username_4: 联通有些地区根本就不支持ipv6,开了也没用
username_5: +1 |
betagouv/preuve-covoiturage | 990085594 | Title: Erreur moteur d'incitation si règle stateful + restriction
Question:
username_0: Si un couple est exclu d'un calcul mais que celui-ci fait partie d'une voiture éligible alors les plafonds applicable sur ces incitations ne seront pas appliquées sur le couple exclu initialement.
Answers:
username_0: @username_1 On peut fermer le ticket?
username_1: Si c'est ok pour toi oui.
Je ne sais pas comment le tester/
username_0: Ok je ferme via #1481
Status: Issue closed
|
phpdevbr/vagas | 180310337 | Title: [Belo Horizonte] Desenvolvedor PHP Sênior/Pleno
Question:
username_0: ## Descrição da vaga
Funções desta posição:
* Desenvolver novas funcionalidades e apoiar na manutenção da plataforma de eventos que mais cresce no Brasil!
* Atuar pró-ativamente para assegurar compatibilidade cross-browser, testando o seu código nos principais navegadores;
* Identificar e resolver potenciais gargalos de desempenho do sistema;
* Resolver problemas complexos de desempenho e desafios de arquitetura;
* Garantir a melhor experiência de usuário em todas as funcionalidades desenvolvidas.
## Local
Presencial, <NAME>, 147, Savassi, Belo Horizonte
## Benefícios
* Ambiente criativo, inovador e estimulante;
* Regime de contratação CLT;
* Salário compatível com o mercado, VT e VR;
* No dress code (pode trabalhar de bermuda, chinelo, etc);
* Clima descontraído;
* Café, bebidas variadas e snacks;
* Horário Flexível;
* Vale-transporte;
* Plano de saúde e odontológico, desconto em farmácias;
* Vale alimentação/refeição;
## Requisitos
**Obrigatórios:**
* A partir de 3 anos de experiência de atuação nas funções da vaga;
* Experiência com desenvolvimento de sites responsivos;
* Excelentes habilidades em PHP, MySQL, JS, JQuery, HTML, CSS, MVC, AJAX, GIT, SVN;
* Capacidade de criar módulos eficientes, testáveis e reutilizáveis em PHP;
* Compreender os princípios fundamentais de design para uma aplicação escalável;
* Ter familiaridade com as limitações do PHP como plataforma e suas soluções;
* Ter familiaridade com bancos de dados SQL / NoSQL;
* Capacidade de priorizar o seu próprio trabalho a partir das linhas gerais definidas pela equipe e de feedbacks recebidos dos usuários finais;
* Ser flexível, independente e responsável;
* Ser curioso, com muita vontade de experimentar e aprender coisas novas;
* Ter senso de organização, atenção a detalhes e foco;
* Conhecer os conceitos de startup;
* Must rock!
**Desejáveis:**
* Conhecimento do framework Yii;
* Inglês e/ou espanhol intermediário.
## Contratação
CLT, salário a combinar.
## Nossa empresa
A Sympla é uma startup sediada em Belo Horizonte que, em menos de três anos de existência, se tornou a plataforma de eventos mais utilizada no Brasil e possui o site com o maior número de eventos à venda no país.
Com o objetivo de simplificar e otimizar a criação e gestão de eventos para produtores e melhorar a experiência da compra de ingressos online pelos participantes, oferecemos diversas ferramentas eficazes e soluções inteligentes para todas as etapas de um evento. Aqui, você poderá participar da expansão de uma startup jovem e que já é referência no mercado online ticketing no país.
Encara o desafio?
## Como se candidatar
Envie seu currículo pelo nosso link 'trabalhe conosco': http://www.sympla.com.br/trabalhe-conosco#job-9501
Answers:
username_1: Enviado!
username_2: @username_0 Vaga preenchida?
Status: Issue closed
|
Salgat/elasticsearch-head | 280467132 | Title: Head & Elastic ports
Question:
username_0: Hi again,
More of a "wanted feature" than a bug report: would be great to be able to configure Heads listening port and the url/port where to find ES (on the docker-run commandline or through env vars) |
AlejandroNovellino/Project_FrontEnd | 919865465 | Title: Historia#4- Como administrador quiero cargar data de estudiantes al sistema para su utilización posterior.
Question:
username_0: * Admin-Page cargar datos de perfil estudiantes
* Después de cargar la data se pueden ver desde el usuario admin y profesor
Criterios:
* El administrador puede ver la data de los estudiantes ingresados en la sección "Estudiantes"<issue_closed>
Status: Issue closed |
raratiru/django-quenv | 669178165 | Title: pkg_resources raises KeyError if METADATA is missing
Question:
username_0: setuptools 44.0.0
```py
0%|▌ | 20/4475 [00:20<1:17:57, 1.05s/it]
Traceback (most recent call last):
File "./manage.py", line 50, in <module>
main()
File "./manage.py", line 46, in main
execute_from_command_line(sys.argv)
File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3.8/site-packages/django_compat_patcher/fixers/django1_10.py", line 404, in run_from_argv
original_run_from_argv(self, argv)
File "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/usr/lib/python3.8/site-packages/quenv/management/commands/quenv.py", line 28, in handle
obj.dump()
File "/usr/lib/python3.8/site-packages/quenv/licenses.py", line 336, in dump
data = self.get_result(map(self.create_package, self.environment_packages))
File "/usr/lib/python3.8/site-packages/quenv/licenses.py", line 248, in get_result
package_info = each_package.info()
File "/usr/lib/python3.8/site-packages/quenv/licenses.py", line 118, in info
for each in self.get_pkg_details():
File "/usr/lib/python3.8/site-packages/quenv/licenses.py", line 109, in get_pkg_details
lines = self.pkg.get_metadata_lines("METADATA")
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1911, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1895, in get_metadata
raise KeyError("No metadata except PKG-INFO is available")
```<issue_closed>
Status: Issue closed |
Rebirth-of-the-Night/Rebirth-Of-The-Night | 936602203 | Title: [BUG] Inventory not saving properly on world exit
Question:
username_0: <!--
ISSUES NOT USING OUR TEMPLATE WILL NOT BE CONSIDERED AND WILL BE CLOSED!
Issues regarding Davinci's Vessels will also be closed!
-->
**Describe the bug**
Your inventory from around 5-6 minutes before logging off of a world can overwrite your inventory at world save, deleting some items and duplicating ones that you put into chests.
This does not seem to affect non-player inventories.
**To Reproduce**
Steps to reproduce the behavior:
1. Play in a world long enough for it to autosave
2. Save and exit
3. When this happened to me, i hopped into a creative test world directly after, so idk if that has anything to do with it
4. Join the world again
5. You should now have an older version of your inventory
**Expected behavior**
Inventory states to be updated when saving and exiting to the menu.
**Screenshots**
N/A
**Info (please complete the following information):**
<!-- Replace the space between the [ ] with an x for the information below (i.e., [x]) -->
- Modpack Version:
- [ ] 2.77.5
- [ x] 3.0 BETA 5
- [ ] Other:
- Server or Singleplayer:
- [ ] Server
- [ x] Singleplayer
- Version the world was created on:
- [ ] 2.77.5
- [ x] 3.0 BETA 5
- [ ] Other:
**Additional context**
might be an autosave setting or mod
Status: Issue closed
Answers:
username_1: Since it seems to be inconsistent and unable to be reproduced properly, I'll close this. If you find the root cause of it and can reproduce reliably, then feel free to re-open. |
smartclash/facebook-hpdf | 328805515 | Title: Deleted README.md
Question:
username_0: Roses are red,
Violets are blue,
servers are complete,
But yours is not.
By the way...
You're fucking claiming GL code as yours by naming all the commits "Created filenamehere" and, most important thing, you're uploading a leaked code which isn't supposed to be public even if everyone has already got the complete one.
I suggest you to stop that childish thing and delete all the repositories that you made.
Hoping you will understand what I mean.
Cheers,
[Censored] |
Ylianst/MeshCentral | 507022208 | Title: https://meshcentral.com/ change desciption or tag or agentid bug
Question:
username_0: Hi username_2,
I have started to use https://meshcentral.com . I have added an agent. I have try to change agent's name or description or tag. When i click Ok button the iste say me Server disconnected, click to reconnect. After, when i try to access to site, the site is unreachable. After 2 minutes i try to log on site i can logged on. The value was changed.
But there is a bug in your site. Every try to save values site say Server disconnected, click to reconnect. Can you fix this bug?
Thanks
Answers:
username_1: This issue has already been fixed in v0.4.2-i (#567), the official website just isn't using the latest version (yet).
username_2: Ok, will just close this one as I am sure it's fixed. If you still see the problem, please re-open.
Status: Issue closed
username_0: Thanks so much. The bug seems fixed. |
dhis2/prop-types | 624959764 | Title: Build with app platform
Question:
username_0: This lib doesn't do any transpiling for `es` builds, which causes a failure in applications which don't use `babel-loader` on `node_modules` (like [maps-app](https://github.com/dhis2/maps-app)). All of our other frontend libraries apply babel transforms before publishing. We should align with that standard here, and the best way to do that is to build this lib with the platform instead of a custom build pipeline.
Answers:
username_1: Moved to: https://jira.dhis2.org/browse/LIBS-1
Status: Issue closed
|
OpenAPITools/openapi-generator | 911903763 | Title: [REQ] Support for @SpringQueryMap in spring-cloud
Question:
username_0: Could you please add support for @SpringQueryMap for @GetMapping if parameter is type of Object?
#### Support for:
generator: spring
library: spring-cloud
#### Example:
```java
ResponseEntity<List<Client>> findClients(@NotNull @SpringQueryMap @ApiParam(value = "Client filter object", required = true) @Valid ClientFilter filter);
```
Thank you |
andrewralon/keycuts | 341532968 | Title: GUI - Scroll to end of path for new destination
Question:
username_0: So it doesn't show the parent folder and not the final file and trick you into thinking it's not the right destination....
Eventually, this textbox needs to be able to expand downward to show the full contents.... OR shrink the text to show it all.<issue_closed>
Status: Issue closed |
patternfly/patternfly | 192669174 | Title: [Feature Request] - Supporting columns in vertical navigation
Question:
username_0: When the vertical navigation menu expands, it could show more than one column.
Something like this:

Answers:
username_1: Hey @username_0 I think that's an intresting idea. At the moment we are not intresting in introducing that kind of menu, but we will consider it for later.
Thanks a lot
Status: Issue closed
username_0: Ok. Thanks for considering it for later!
username_0: Hi @username_1,
maybe you could keep the issue opened, in order to not forget about it. Could you please do it? Thanks.
username_1: When the vertical navigation menu expands, it could show more than one column.
Maybe something like this, but without the separation lines:

username_2: Hey @username_0 we have [this](https://github.com/patternfly/patternfly-design/issues/553) issue open in design so I'm going to close this here. Thanks!
username_0: Hi @username_2, will this issue be developed there? Whether it is, okay to close here.
username_2: Hey @username_0 the design repo is where it belongs, if it does get developed that's where it will start. If you have any other questions just let me know!
username_0: Okay @username_2, thx.
Status: Issue closed
username_3: Thanks @username_0. @username_2 has provided the appropriate issue link to follow so I'm going to close this one. |
TGuillerme/Thesis | 106320545 | Title: General point about sections in chapters
Question:
username_0: You should be consistent. So each chapter should have similar sections.
Conclusions in TEM chapter is a subsection, but it's a subsubsection in STD. Pick one and stick to it! Also there are no conclusions in Missing mammals. But you can ignore that I think.
Also STD has Methods where the others have Materials and Methods - I'd fix that.
Answers:
username_0: FYI I only mean the data chapters (2-5)
Status: Issue closed
username_1: Done. I've put "Methods" for all and "Conclusion" is now a sub(sub)section for all. |
eWaterCycle/experiment-launcher | 310792460 | Title: Define REST API
Question:
username_0: Define a rest API that the globe-experiment-finder can use, see https://github.com/eWaterCycle/globe-experiment-finder/issues/10
Answers:
username_1: Request should contain a JupyterHub token
username_1: The request should also contain a username so the notebook can be created in that users home dir.
username_0: https://app.swaggerhub.com/apis/NLeSC/experiment-launcher-api/0.1.0
username_1: Connexion (https://github.com/zalando/connexion) can not handle OpenApi v3, created v2 based [swagger.yaml](https://github.com/eWaterCycle/experiment-launcher/blob/master/ewatercycle_experiment_launcher/swagger.yaml)
Status: Issue closed
username_1: In be57ad268c2d2f4e42475077c2e452e5f11b0aa9 the spec is in OpenApi v3 format. |
ivpusic/react-native-image-crop-picker | 376298640 | Title: It would be nice to update readme for android manual install
Question:
username_0: Could you please update README for Android manual install:
- Following should be added to android/app/src/main/java/com/showtime_client/MainApplication.java
...
import com.reactnative.ivpusic.imagepicker.PickerPackage;
...
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
...
new PickerPackage(),
...
);
...
Thank you
Answers:
username_1: You can make a PR @username_0 it's easy to do 👍
Status: Issue closed
|
ClinGen/clincoded | 108399207 | Title: Placement of title on Submit pages wrt citation bar
Question:
username_0: I've just come to consciousness regarding this - The Submit pages are the only places where the titles appear on top of the greenish/yellowish citation box - could they go below? My eye is always directed below the citation box, which makes it easy to miss the View and Edit buttons.
Answers:
username_0: 
username_1: @username_0 The screenshot below shows the requested change in this issue. Please let me know whether it's what you have expected. Thanks.

username_0: Nice! Thank you @username_1 !
username_2: Thanks @username_1 ... Good job!
username_0: look perfect coming from G or F submit. thx!
username_2: All looks good to me!
username_3: Included in last release (R4). Nice job and thanks for your hard work.
Status: Issue closed
|
Open-Systems-Pharmacology/Forum | 664610797 | Title: save simulation chart with the observed data
Question:
username_0: Hello,
I want to know how can I save a plot generated from a simulation with the observed data included??
Because whenever I try to export the plot, it only gives me the simulation only with no observed data
Thanks,
Aya
Answers:
username_1: @username_0 How do you export your plot?
username_0: when I run the model and get the time profile analysis,, I tried the export function from PK-sim, either results to excel/to csv/ to PDF --> all of those gave me the simulation only.
while I copy the plot to clipboard it gives me the simulated with the observed data, but with the resolution is not good
username_1: What about using the export feature option?

username_0: Okey,, so you mean by defining the Width & Height,, then copying it to the clipboard will give better resolution, right??
username_1: yes. You can create the plot as you wish to have for your export scenario
Otherwise exporting to excel. You get the row data (on different sheet) but then you can create your own plot

username_0: Thank you so much 👍
Status: Issue closed
|
klum-dsl/klum-ast | 225705578 | Title: Mark generated adders / setters as protected
Question:
username_0: In case one wants to use a custom method, but still wants to use the generated functionality (for example by setting a predefined name:
```groovy
class System {
@Key String name
@Field(hideAdders: true) // make adders protected instead of public
Component mainComponent
@Mutator
Component mainComponent(Closure body) {
mainComponent(this.name, body) // normally created method, should not be visible.
}
}
```
Answers:
username_0: need to thin about the naming of `hideAdders`
username_0: What about @Internal?
username_0: Might be easier to just enhance @ReadOnly so that accessor methods are created as protected.
username_0: ReadOnly and Internal have been merged to the FieldType INTERNAL, which creates setters and dsl methods as protected, inside the RW-class.
Status: Issue closed
|
Apicurio/apicurio-studio | 520494454 | Title: apicurio-ws does not output some config information to the log even though the log level is DEBUG
Question:
username_0: apicurio-ws does not output some config information to the log even though the log level is DEBUG
APICURIO_SHARE_FOR_EVERYONE variable is not output as a log in container log of apicurio-studio-ws.
https://github.com/Apicurio/apicurio-studio/issues/954#issuecomment-552110580
Answers:
username_1: I was not able to reproduce this locally. :( The log information seems complete when I run either locally or in Docker/docker-compose. Marking as closed, but please feel free to reopen this if you can find reliable steps to reproduce.
Status: Issue closed
|
itinero/routing | 248000546 | Title: Resolving point on network
Question:
username_0: I am having some problems calculating routes, where one of the point is not close to a road.
I am using this
var point = router.Resolve(profile, Coords[i].Coordinate, 3000f);
But it seems that it returns no error, but the point that is returns is the same as the input coordinate. (My guess is that it should return the closest point on the network ?)
It's properly just me, but i can't seem to get the resolved point out of the function.
When i pass the point to a router, it can't calculate a path, since it uses a search buffer of something like 50 meters.
What am I doing wrong :-)
Answers:
username_1: Ah, the resolved point keeps the original **and** the location on the network by keeping the edgeid and offset. You can get the coordinate on the network via this method:
https://github.com/itinero/routing/blob/develop/src/Itinero/RouterPointExtensions.cs#L256
You should pass the routerpoint response from ```var point = router.Resolve(profile, Coords[i].Coordinate, 3000f);``` to the routing method using this:
https://github.com/itinero/routing/blob/develop/src/Itinero/RouterBaseExtensions.cs#L387
username_0: Arhh, thanks.
Thats was what i was missing.
In earlier versions, the point returned, was the LocationOnNetwork point.
Now its working fine, thanks.
Status: Issue closed
username_1: Yes, that behaviour did change before 1.0, sorry. The old behaviour was a bug. |
coredns/coredns | 230645648 | Title: middleware/file: fail zone loading
Question:
username_0: During the discussion of #651 we stumbled up on the issue of multiple DNAME record under a name - which is illegal. Question is should we fail loading the zone - right now a zone is always loaded.
Failing to load the zone leads to interesting question: should started/reloading CoreDNS fail? Should we load all other zones. Should we retry (autoload). What happens when a DNAME is added/removed via dyn. updates (not supported atm).?
Answers:
username_0: NSD uses garbage in, garbage out; I like that. We could use the same, meaning if you have multiple DNAMEs, you *get* multiple DNAMES.
username_0: We don't fail zone loading, unless there is a syntax error.
Status: Issue closed
|
jOOQ/jOOQ | 1116233923 | Title: NullPointerException in MetaDataFieldProvider when reading plain SQL column without a name in MySQL
Question:
username_0: A recently added integration test for https://github.com/jOOQ/jOOQ/issues/12666 has failed on MySQL when we try to parse and translate `SELECT ?`, and then fetch the result via the `ParsingConnection`:
The assumption that `java.sql.ResultSetMetaData::getColumnName` always returns a non-`null` value is wrong. The ensuing exception is:
```
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "columnName" is null
at org.jooq.impl.MetaDataFieldProvider.init(MetaDataFieldProvider.java:103)
at org.jooq.impl.MetaDataFieldProvider.<init>(MetaDataFieldProvider.java:77)
at org.jooq.impl.DefaultDSLContext.fetchLazy(DefaultDSLContext.java:1267)
at org.jooq.impl.DefaultDSLContext.fetch(DefaultDSLContext.java:1126)
at org.jooq.test.all.testcases.ParserTests.testResult(ParserTests.java:595)
at org.jooq.test.all.testcases.ParserTests.testTranslateSQLExecuteJDBCDirectlyWithBindVariablesInputStreamAndReader(ParserTests.java:568)
at org.jooq.test.jOOQAbstractTest.testTranslateSQLExecuteJDBCDirectlyWithBindVariablesInputStreamAndReader(jOOQAbstractTest.java:9451)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:30)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
```
Status: Issue closed
Answers:
username_0: Fixed in jOOQ 3.17.0, 3.16.4 (https://github.com/jOOQ/jOOQ/issues/12967), and 3.15.8 (https://github.com/jOOQ/jOOQ/issues/12968) |
MaxDZ8/M8M | 70339375 | Title: "Mining process is having issues" on init, init takes way too much.
Question:
username_0: There's this user running a rig with 4 7990 vidcards, making up for 8 GPUs @ 600/1000MHz.
Leaving aside the hashrate is easily 4x lower than expected, this bug is about:
after init,
icon turns yellow block and reports "Mining process is having issues".
## Some elaborations
This is due to building the kernels in way too much time. 801 uses a watchdog-based monitoring approach. It was assumed no system would take so much time in initializing.
It is obvious this assumption proved to be false. Albeit this particular system is not in the target demographics, the reported bug can affect intended users.
## As a side note
The mining process will eventually start (at reduced performance) but the block will stay yellow. "yellow" could truly be correct or not; it has to be investigated as well.
Answers:
username_0: Cannot be reproduced using device replication. It looks like the driver caches kernel builds on the same device. I cannot blame it.
I have a suspect but that'll need to be validated by third parties.
Status: Issue closed
|
penrose/penrose | 440086054 | Title: make it even faster
Question:
username_0: The optimization is still much slower than it ought to be. With such a small problem size (10-100 DOF) and small polygons (10-100 vertices) it still takes seconds to minutes to converge, and sometimes almost a second per step. It should really be running 10-1000x faster per step, since other graphics/optimization code can handle meshes with millions of vertices much faster than we can.
It seems there are three main things to make faster:
* the speed of evaluating the objective function
* the speed of taking a gradient of the objective function
* the overall speed of the system (all other overhead like evaluating shapes and I/O)
We'd like to make two metrics faster:
* time per step (raw speed of evaluating the objective function and differentiating it)
* time to overall convergence (how long it takes to solve an optimization problem end-to-end)
Considering a variety of factors:
* scaling with size of optimization problem (# DOF)
* scaling with complexity of optimization problem (# objectives and constraints and their difficulty)
* polygon use vs. analytic calculations
Here are some major things to try:
* Statically generate the objective function
* The idea is to replace all the runtime lookups of paths, etc. with let-bindings in a Haskell function. That's like statically building the computational graph, instead of dynamically building it at runtime. If it's a Haskell function then it can be optimized etc. by the compiler. (Also, it ultimately needs to be a Haskell function anyway for the autodiff)
* do we have to generate a new objective function for each diagram strategy?
* we need to generate it so it only differentiates through the stuff that adds to the energy. suggests that we should write our own analytic gradients for the leaf nodes of our objectives, computations, etc.
* Squash polymorphism and genericity, inline functions, make everything strict https://wiki.haskell.org/Inlining_and_Specialisation https://wiki.haskell.org/Performance/Overloading
* Replace autodiff with some analytic gradients especially for Rain's code
* Keenan's intuition is also that we are "abusing autodiff" by giving it a huge chunk of haskell code to differentiate, rather than compiling to just the bare math (which is what autodiff should be getting)
* but then we have to figure out how to manage which variables are varying again
* https://github.com/ekmett/ad/issues/77
* understand reverse-mode AD better with jacobians
Here are some minor things to try:
* it's very strange that shapedefs comes up that often, given that we do not explicitly use it when applying opt fns. I suspect it's `findVarying` because it calls `propertiesOf`, which uses `shapeDefs`. Seems like the bang pattern is not working as expect, so the cached `varyingPaths` is evaluated at each step?
* Use `grad’` instead of `grad` (saves a function evaluation) and cache energies
* Pre-evaluate translation before putting in objective function, so we don't evaluate fixed computations on every step
* Make `getShape` and `getName` faster as currently they are linear-time lookups that use a derived `compare`
As a possible upper bound, profiling a version of the system with a small Style program inlined as an objective function yields 10x speedup and 10x less memory use. This is not as much of a speedup as I was expecting. There are still some questions around whether we might be able to see more speedup in practice (for larger Style programs) or less speedup (if our generated function is less efficient than this bound, or with frontend rendering overhead). See thread in slack [here](https://pen-rose.slack.com/messages/C2EV136RX/convo/C2EV136RX-1556751671.018000/).

previously on "make it fast": #166 #116
inspiration: https://www.youtube.com/watch?v=Tj9q4ADVrL4
Answers:
username_1: @username_0 needs to benchmark the web optimizer to make it **extra** faster
Status: Issue closed
username_1: Closing the issue for now as it's more related to the old optimizer. |
willianjusten/will-jekyll-template | 364940839 | Title: Main color cannot be changed.
Question:
username_0: Hi, I tried to change color but nothing happened on the page.
`// COLORS
main = #000000
hover = darken(main, 50%)
sec = #FFFFFF
lightGray = #F2F2F2
texts = #333333
colorcode = #3085F4
// Resolution
cut = 37.5rem`
This is the _variable.styl file. I use #000000 or #FFFFFF or lightGray but nothing would change. Could you help me on this?
Thanks
Answers:
username_1: Im having the same issue. I have to open a stylus file and save it in order to have it rebuild the stylesheet anytime I make a change to any other files (html, md, etc) |
tlsa/libcyaml | 603384354 | Title: Using other member variable to determine fixed sequence size
Question:
username_0: Hi tlsa:
In a previous issue, I utilized the following example regarding memory allocation for dynamic arrays, which you mentioned would be messy to support.
struct sample {
**uint32_t size_of_books;**
struct book_t books[];
};
Is there any way we can initialize a fixed array using a size defined by the variable **size_of_books**. Any help would be greatly appreciated.<issue_closed>
Status: Issue closed |
mangstadt/ez-vcard | 147332863 | Title: Custom Type for Telephone
Question:
username_0: Hi all,
I would like to add a custom type to a telephone number:
```
final Telephone telCAP = new Telephone("123456789");
telCAP.getParameters().setCharset("ISO-8859-1");
telCAP.getParameters().addType("SPÉCciälö"));//
vcard.addTelephoneNumber(telCAP);
```
but the accents are not encoded, can someone please help me?
Regards
G.
Answers:
username_1: Hi G,
Unfortunately, there is no way to specify the character set of a parameter value. The CHARSET parameter only applies to property values.
If you want to use characters like the ones in your example inside parameter values, then you'll have to set the encoding of the entire vCard to UTF-8 or something of the sort. For example:
```java
OutputStream out = new BufferedOutputStream(new FileOutputStream(new File("output.vcf")));
Writer writer = new OutputStreamWriter(out, "UTF-8");
VCardWriter vcardWriter = new VCardWriter(writer, VCardVersion.V3_0);
```
Status: Issue closed
|
AllTheMods/ATM-1 | 231379369 | Title: Practical Logistics 2 item duplication
Question:
username_0: Sometimes if items shown on the screen is right clicked it is duplicated instead of actually being removed from the inventory. I tested it with a few different blocks and as long as I put it inside the chest I could infinitely duplicate it. I managed to recreate the duplication when some of the items that were removed were still shown on screen, if you break the screen and place them down again you can duplicate the items.
Status: Issue closed
Answers:
username_1: Can't replicate, maybe it was fixed? |
dotnet/roslyn | 638032571 | Title: Change Signature: null annotations are ignored when adding NRT parameters
Question:
username_0: **Version Used**: VS 16.7 P2
**Steps to Reproduce**:
1. Open the Change Signature refactoring in a project with NRT enabled.
2. Add a `string?` parameter.
3. Commit the change.
**Expected Behavior**:
```c#
void M(string? s) { … }
```
**Actual Behavior**:
The parameter is shown without annotations in the dialog's table, and this is reflected in the generated code:
```c#
void M(string s) { … }
``` |
cta-wave/common-media-client-data | 588660056 | Title: Note on client privacy while using CMCD
Question:
username_0: The device-id and content-id fields are invariant when then same content is played from the same device and hence could be used as fingerprinting dimensions by a 3rd party. Although both are optional, any client implementation should weigh the risks of fingerprinting versus the benefits of performance analysis of device and/or content problems.
Request is to add language to the specification under the "Security Considerations" section highlighting this risk, and also clarifying that no PII should be ever be included in any value that is being sent.
Additional, team should review CMCD against GDPR requirements.
Answers:
username_1: Just noting that if this were to go through one of the relevant standards bodies -- IETF or W3C -- this likely wouldn't be enough to pass privacy review. The bar has been raised considerably, and you might find that if a fingerprinting / tracking vector is introduced, browsers will actively work to quash it.
username_0: Group meeting decided to remove DeviceID field due to the raised fingerprinting concerns. We retain ContentID, with the argument that the request URL is already visible to observers and communicates similar information to CID field, therefore removing ContentID has no benefit in reducing any fingerprinting surface.
username_2: Looking over the remaining fields, the only fingerprinting surface I see left is the CMCD Version. It's currently pegged at 1, but may or may not be omitted. The act of including it or not could leak information about the player. Maybe we should make version "MUST NOT" include?
username_1: Removing DeviceID is good, but not sufficient.
Fingerprinting is the ability to identifier the user (or more accurately, their specific browser instance) and correlate a user’s browsing activity within and across sessions by combining bits of entropy about them. See [this](https://w3c.github.io/fingerprinting-guidance/) for more.
The threat model has to assume a hostile Web site -- i.e., what could the site do to thread together a users activities using the information you expose? ContentID could certainly be used in that fashion, as could many of the other bits of data; browsers are extremely conservative about adding new bits that can be used in this way as a result.
If the information is cleared when the user purges state on the browser (cache, cookie, etc.), you should be good; you're inside the envelope that their security model provides, as it were. However, if this information is stored by browser extensions across that, or in non-browser software, it's not addressed.
So really, it comes down to the deployment model -- is this information always stored and used through the "normal' browser mechanisms (e.g., exposed by JS), or do extensions and non-browser applications sometimes set/access it on behalf of the user?
username_2: ContentID information is effectively stored in the URI. It identifies which content the object is stored in. The vast majority (maybe all?) of origins have a URI that looks like a variation of this: "http://origin.example.com/content-id/fragment-id". This just allows a player to break out the content-id for the CDN's benefit so it doesn't have to parse it out of the URI. And even if the URI doesn't include the content-id, by having globally unique fragment-id, for example, I still don't think it's a fingerprinting risk because it's fundamentally tied to the specific content being requested.
A hostile website could issue a request for a given piece of content, but it's up to the website to provide the content-id for the content.
In fact, as it stands, the fingerprinting risk _only_ exists when a media player is implemented as an extension. It's much more common for the player to be provided by the website itself, in which case there's no fingerprinting risk because the player only has access to the data already accessible in the browser.
We'd like extensions that naively implement things not to create fingerprinting risks, though, so DeviceID was dropped. That would have exposed the information "has extension that has a specific DeviceID", which is pretty informative, especially if the extension was uncommon. There's only so much you can do with an extension that has "modify data on all websites" permission, though, which is what such a player would generally need.
I think all the other information in the spec is already obtainable via JS in the browser, which is unsurprising because it's designed to be implemented primarily as a player delivered by a website to viewers.
username_0: @username_1 - your question here
`So really, it comes down to the deployment model -- is this information always stored and used through the "normal' browser mechanisms (e.g., exposed by JS), or do extensions and non-browser applications sometimes set/access it on behalf of the user?`
leads me to comment that we are not talking about JS browser APIs with this spec. It can be used by any client, especially ones that are not executing within browsers. I wonder how you envisage a bad actor taking advantage of the data transmitted via the CMCD standard to fingerprint? It is a data format standard for communication happening between a player application and a CDN. _There is no API to invoke_. With a TLS request, the only recipient of the data is the CDN server. The CDN already sees every single request that the player makes, so deprecating contentID while the CDN logs every media segment requested and can thus identify the content precisely, seems pointless. How would fingerprinting by a malicious 3rd party even work? Is the concern that the CDN is actually the malicious party?
username_1: I apologise if this is vague; I'm not familiar with the concrete deployment scenarios you're targeting for this.
Fingerprinting isn't specific to APIs; that's just how it's often done in browsers. The threat model is that the _server itself_ is the attacker (whether that's a CDN or an origin), and their overall purpose is to identify the client against the users' will (as expressed by clearing cookies and other client state).
So, if content ID is writable by the server (or another party) and is then sent back in requests, it can be used as a way to identify the user on the site.
In a browser deployment, that's fine, as long as it doesn't persist beyond the user clearing state (cookies, cache, etc.) -- e.g., in a plugin or other extension.
In a non-browser deployment, it depends on the user expectations for the system, and the controls exposed to them.
It's not just cookie-like mechanisms; every bit of information that's sent in requests has the potential to identify the client; for example, in browsers, the screen width reported adds bits of entropy. Since this specification is defining information to be sent from clients to servers, it seems relevant.
That doesn't mean that you need to drop all of that information. It may be that it's adequate to document this risk, and state that browser extensions and non-browser applications need to consider the privacy implications of exposing this information, with appropriate references and illustrations. An evaluation of the risk associated would help enormously.
username_2: Yup. The basic idea is to get the client to make requests in a way that reveals information about themselves they didn't intend to reveal.
There are three main deployment strategies that I envision for this. First is the JS/HTML5 player in the browser. This is accomplished entirely by having the server send the player to the client and has the same fingerprinting surface as any web content.
Second, browsers may have extensions for playing various types of content. Some of these extensions may implement this specification. In such a case, the kind of request made could reveal the version of the extension handling the request, or possibly leak other information about the extension. Even things like "what order are some fields served in" can provide fingerprinting surface here. Worse, the site need not even be an overt media site to take advantage of this, since a media-playing plugin might be induced to run in a non-obvious way. There's only so much you can do here, since a media plugin that had "modify all web pages" permission can provide as much fingerprinting surface as it wishes. Nevertheless, with DeviceID dropped, all the remaining fields depend on either the connection or request itself, not traits reasonably attributable to the processing entity (the plugin, in this case). I think the main remaining fingerprinting surfaces are the choices embedded in the "MAY"s and, in the future, the version number.
And lastly, it might be implemented by a standalone player that runs as a program on a general purpose or specialized device. All the same caveats from the extension apply, but the scope is rather significantly reduced because an arbitrary non-media site won't be able to leverage a media-playing program that isn't capable of processing it.
And maybe I'm underestimating the fingerprinting surface of the connection itself. That is to say, things like "how fast can I transfer files" do provide a bit of entropy that you might use against a client. But anything that can request transfers can get at that information already.
It might be useful to enforce a serialization order, though, to reduce the entropy revealed there.
Status: Issue closed
username_0: Agreed to a SHOULD for alphabetical sequencing of key/value pairs to reduce fingerprinting surface. |
optuna/optuna | 1053516802 | Title: Using constraints with ask/tell interface
Question:
username_0: Using the NSGAII sampler with the ask/tell interface I'm looking for a simple way to incorporate constraints.
I am currently using ask() to get trial IDs and suggestions, then computing the objective externally and using tell() to give them back. Where in this process should I compute and return the constraint evaluation?
From the examples it seems I can set an attribute? Should this be done before tell? Should I ask the study to set the constraint attribute for trial N, then return trial Ns objective?
Status: Issue closed
Answers:
username_0: Cheers, I forgot you could return the trial in study.tell, I'll do that. |
Wreckstation/iConsultancy | 614328883 | Title: Deals worth 0 cannot be specifically searched for
Question:
username_0: input values for integers default to 0 if not inputted. all 0 values are ignored because of this. searching for 0 values specifically may be needed to clear out buggy deals.
Answers:
username_0: could be worked around by searching for -0.01 and 0.01? |
jdhitsolutions/MemoryTools | 156028660 | Title: Add command to get top process using most memory
Question:
username_0: Query win32_process and get top process using most WorkingsetSize memory.
get-ciminstance win32_process | sort workingsetsize -Descending | select -first 1 *
Display a subset of properties:
Computername
Process name
ID
WS
VM
CreationDate
Runtime (calculated)
Path
Perhaps include a parameter to return the complete object.
Answers:
username_0: Created a new command: Get-TopProcessMemory.
Status: Issue closed
|
shriyaMadan/Youtube-Dashboard | 777173026 | Title: Fix search bar
Question:
username_0: The functionality of both search bars should be done by one.
We should be able to search by both Channel name and Channel URL.
Answers:
username_1: Hey, let me take this
username_2: I have started working on it can you assign it to me?
username_2: The issue has been resolved in #46 @username_0
username_2: The issue has been further resolved in #47 @username_0
Status: Issue closed
|
VATSIM-UK/UK-Sector-File | 197497868 | Title: EGMC Fixes
Question:
username_0: In GitLab by @hsugden on Dec 31, 2015, 15:44
ADVAS N051.40.53.030 E001.26.33.130
ATSAP N051.27.15.960 E001.30.16.980
BIDVA N050.43.38.760 W000.58.39.480
SOXUX N050.35.46.320 E000.55.45.480
Answers:
username_0: In GitLab by @hsugden on Jan 1, 2016, 18:03
mentioned in commit <PASSWORD>
Status: Issue closed
|
SD2E/opil | 820457399 | Title: specify which opil object supports clone() or copy() method
Question:
username_0: When looking at opil's library, I'm not sure which opil object supports copy/clone method. I had to ask @bbartley to get this kind of information. It will be convenient to have this documented in the library by creating copy/clone functions per opil object. This will also be convenient for me to track what fields of an object are copied/clone. |
spring-cloud/spring-cloud-contract | 347337587 | Title: Cannot generate contract tests when there is an escaped " in external JSON file
Question:
username_0: Contract:
```
org.springframework.cloud.contract.spec.Contract.make {
request {
method 'GET'
url '/vla/sss'
}
response {
status OK()
body(file("body.json"))
}
}
```
body.json:
```
{
"description": "Hello \"World\""
}
```
Command:
`./gradlew generateContractTests`
Version:
2.0.0
Error:
```
Caused by: groovy.json.JsonException: expecting '}' or ',' but got current char 'W' with an int value of 87
The current character read is 'W' with an int value of 87
expecting '}' or ',' but got current char 'W' with an int value of 87
line number 2
index number 29
"description": "Hello \\"World\\""
...........................^
at org.springframework.cloud.contract.verifier.util.ContentUtils.extractValueForJSON(ContentUtils.groovy:182)
at org.springframework.cloud.contract.verifier.util.ContentUtils.extractValue(ContentUtils.groovy:86)
at org.springframework.cloud.contract.verifier.builder.MethodBodyBuilder.validateResponseBodyBlock(MethodBodyBuilder.groovy:344)
at org.springframework.cloud.contract.verifier.builder.RequestProcessingMethodBodyBuilder.super$2$validateResponseBodyBlock(RequestProcessingMethodBodyBuilder.groovy)
at org.springframework.cloud.contract.verifier.builder.RequestProcessingMethodBodyBuilder.validateResponseBodyBlock(RequestProcessingMethodBodyBuilder.groovy:205)
at org.springframework.cloud.contract.verifier.builder.RequestProcessingMethodBodyBuilder.then(RequestProcessingMethodBodyBuilder.groovy:199)
at org.springframework.cloud.contract.verifier.builder.MethodBodyBuilder.thenBlock(MethodBodyBuilder.groovy:321)
at org.springframework.cloud.contract.verifier.builder.MethodBodyBuilder.appendTo(MethodBodyBuilder.groovy:290)
at org.springframework.cloud.contract.verifier.builder.MethodBuilder.appendTo(MethodBuilder.groovy:101)
at org.springframework.cloud.contract.verifier.builder.BlockBuilder.addBlock(BlockBuilder.groovy:98)
at org.springframework.cloud.contract.verifier.builder.ClassBuilder$_build_closure8.doCall(ClassBuilder.groovy:195)
at org.springframework.cloud.contract.verifier.builder.ClassBuilder$_build_closure8.call(ClassBuilder.groovy)
at org.springframework.cloud.contract.verifier.builder.ClassBuilder.build(ClassBuilder.groovy:194)
at org.springframework.cloud.contract.verifier.builder.JavaTestGenerator.buildClass(JavaTestGenerator.groovy:120)
at org.springframework.cloud.contract.verifier.builder.SingleTestGenerator$buildClass.call(Unknown Source)
at org.springframework.cloud.contract.verifier.TestGenerator.processIncludedDirectory(TestGenerator.groovy:124)
at org.springframework.cloud.contract.verifier.TestGenerator$_generateTestClasses_closure1.doCall(TestGenerator.groovy:103)
at org.springframework.cloud.contract.verifier.TestGenerator.generateTestClasses(TestGenerator.groovy:102)
at org.springframework.cloud.contract.verifier.TestGenerator.generate(TestGenerator.groovy:84)
at org.springframework.cloud.contract.verifier.TestGenerator$generate.call(Unknown Source)
``` |
apache/trafficcontrol | 654076263 | Title: Traffic Monitor Incomparable stat type int on back-up fields
Question:
username_0: <!--
************ STOP!! ************
If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
the Apache Software Foundation Security Team at <EMAIL> and follow the
guidelines at https://www.apache.org/security/ regarding vulnerability disclosure.
-->
<!--
- For *SUPPORT QUESTIONS*, use the
[Traffic Control slack channels](https://traffic-control-cdn.slack.com) or [Traffic Control mailing lists](http://trafficcontrol.apache.org/mailing_lists/).
- Before submitting, please **SEARCH GITHUB** for a similar issue or PR. -->
## I'm submitting a ...
<!-- (check all that apply with "[x]") -->
<!--- security vulnerability (STOP!! - see above)-->
- [x] bug report
- [ ] new feature / enhancement request
- [ ] improvement request (usability, performance, tech debt, etc.)
- [ ] other <!--(Please do not submit support requests here - see above)-->
## Traffic Control components affected ...
<!-- (check all that apply with "[x]") -->
- [ ] CDN in a Box
- [ ] Documentation
- [ ] Grove
- [ ] Traffic Control Client
- [x] Traffic Monitor
- [ ] Traffic Ops
- [ ] Traffic Ops ORT
- [ ] Traffic Portal
- [ ] Traffic Router
- [ ] Traffic Stats
- [ ] Traffic Vault
- [ ] unknown
## Current behavior:
<!-- Describe how the bug manifests / how the current features are insufficient. -->
Currently if TM is passed specific `system` stats, the TM logs will be polluted with the following error:
```ERROR: stat.go:292: 2020-07-09T13:03:34.31486976Z: Adding result from cache-server-1: some stats could not be added: cannot add stat system.astatsLoad: incomparable stat type int; cannot add stat system.lastReloadRequest: incomparable stat type int; cannot add stat system.lastReload: incomparable stat type int; cannot add stat system.inf.speed: incomparable stat type int; cannot add stat system.configReloads: incomparable stat type int; cannot add stat system.configReloadRequests: incomparable stat type int```
## Expected / new behavior:
No errors when `system` stats are present.
<!-- Describe what the behavior would be without the bug / how the feature would improve Traffic Control -->
## Minimal reproduction of the problem with instructions:
Have you cache server return one of these stats:
```
system.astatsLoad
system.configReloadRequest
system.configReloads
system.inf.name
system.inf.speed
system.lastReload
system.lastReloadRequest
system.notAvailable
system.proc.loadavg
system.proc.net.dev
```
<!--
[Truncated]
<!-- e.g. stacktraces, related issues, suggestions how to fix -->
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
Answers:
username_1: This issue was fixed two weeks ago: #4825
username_2: so can this issue be closed?
username_0: I don't think you can reproduce the issue #4871 fixes given that #4825 already fixed the issue.
Status: Issue closed
|
reach/reach-ui | 395239967 | Title: menu-button: issue when using the key "space"
Question:
username_0: Hello, I would like to report an issue on the component `MenuButton` when navigating with a keyboard.
Component: https://ui.reach.tech/menu-button
**Actual behavior:**
When using the key `space` to validate a value the pages scroll.
**Desired behavior:**
When using the key `space` the value currently highlighted is chosen and the list is hidden.
Have a nice day !
Answers:
username_1: Ah, yes, want to open a PR for this? Should be straightforward, just `event.preventDefault()` on `event.key === " "`.
username_2: Is it still open? I'd like to contribute here.
username_3: Should be fixed with #156
Status: Issue closed
|
gravitee-io/issues | 419351257 | Title: [global] Manage security domains deployment
Question:
username_0: Currently, all security domains created and enabled are deployed on all gateway instances.
It would be cool to provide the same feature we have for Gravitee.io API Management to pilot and dispatch security domains into multiple gateway instances.<issue_closed>
Status: Issue closed |
AbdeslemSmahi/NetflixChecker | 748023622 | Title: prograssbar
Question:
username_0: Traceback (most recent call last):
File "Netflix-Checker.py", line 4, in <module>
from progressbar import ProgressBar
ImportError: No module named progressbar
i do : pip install progressbar
and : pip install progressbar2
but nothing
Answers:
username_1: try <code>pip3 install progressbar</code>
username_0: Now it start, but :
__init__() got an unexpected keyword argument 'max_value'
An error occurred.. Saving progress... |
cytoscape/cytoscape | 287916588 | Title: Add a 'File --> close' option in the menu bar (suggestion)
Question:
username_0: When I work on a new network and I want to close my session that became messy, I have to do 'File New --> Session' . It is not intuitive for new user. A "close" option seems more intuitive (closing before importing/starting a new one).

Answers:
username_1: I agree! In the R package we're working on, the function is called closeSession() :)
I've posted this as a feature request to update the File menu and include a "Close" menu item:
http://code.cytoscape.org/redmine/issues/4111
Status: Issue closed
|
vim-syntastic/syntastic | 283428444 | Title: Flake8 not working with syntastic on Windows 10, python 3.6.3
Question:
username_0: I've installed Flake8, added C:\Users\Lopanda\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\flake8 to my environment variable, this is my vimrc: https://pastebin.com/2iZJsjzk , I ran e: C:\python\test.py , typed in some code, wasn't seeing any syntax highlighting, so I ran :SyntasticCheck flake8 and got the following error:

Did I add the wrong folder to my environment variable? Did I miss something in the vimrc?
This is the message that I get when I run :SyntasticInfo from within the python file:

Thanks in advance for any assistance.
Answers:
username_0: I figured it out, The path that needed added to the environment variable was C:\Users\Lopanda\AppData\Local\Programs\Python\Python36-32\scripts not what I had posted earlier, and now it's working like a charm!
Status: Issue closed
|
flrnbc/arxiv_script | 860749336 | Title: Autoformat code with black + isort
Answers:
username_1: Added the hooks locally and the checks in the CI pipeline, thanks!
(There seems to be an issue with the most current version of black (21.4b2) and github actions, so I've used an older version (20.8b1) instead.)
Status: Issue closed
|
phalcon/cphalcon | 91164361 | Title: Failed complie and zephir generate in 2.0.x branch
Question:
username_0: Tried branch 2.0.0 is OK
Branch 2.0.x compile failed by below errors:
```
git checkout 2.0.x
cd build
./install
```
```
/opt/htdocs/__cphalcon/build/64bits/phalcon.zep.c:66032:26: error: redefinition of 'zephir_init_properties'
static zend_object_value zephir_init_properties(zend_class_entry *class_type TSRMLS_DC) {
^
/opt/htdocs/__cphalcon/build/64bits/phalcon.zep.c:32920:26: note: previous definition is here
static zend_object_value zephir_init_properties(zend_class_entry *class_type TSRMLS_DC) {
^
```
I also tried to generate c codes by zephir, but zephir not work either.
```
zephir generate
__cphalcon git:(2.0.x) zephir generate
Zephir\CompilerException: Cannot operate 'variable' with variable ('array') in /Users/allovince/opt/htdocs/__cphalcon/phalcon/mvc/model/query.zep on line 3278
let this->_bindParams = currentBindParams + bindParams;
----------------------------------------------------------^
```
Here is my env:
```
➜ build git:(2.0.x) php -v
PHP 5.6.10 (cli) (built: Jun 15 2015 00:46:31) (DEBUG)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Xdebug v2.3.2, Copyright (c) 2002-2015, by <NAME>
zephir version
0.7.0b
```
Answers:
username_1: Compile from ext:
```php
git checkout 2.0.x
cd ext
./install
```
username_0: Thanks, compile under ext path works.
Would you mind to let me know how to fix the `zephir generate` issue?
username_1: Could you please update to zephir 0.7.1?
Status: Issue closed
username_0: zephir 0.7.1b works, thank you for your help |
yiisoft/yii2-app-advanced | 283712562 | Title: *.dev domains (as suggested in the guide) are redirected to https in chrome 63
Question:
username_0: ### What steps will reproduce the problem?
1. install an advanced projectaccording to the installation guide
(https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/README.md)
2. use chrome 63 (or is it just chromium maybe ?)
3. try to browse to the frontend / backend apps
### What's expected?
should be able to view the app
### What do you get instead?
chrome redirects *.dev URLs to HTTPS without attempting HTTP
if HTTPS is not installed then the server connection is refused. see the issue described here :
https://superuser.com/questions/565409/chrome-how-to-stop-redirect-from-http-to-https
even when deleting the domain security policy, this domain still can't be opened.
#### suggestion
change the suggested domains from .dev to .local (or anything else for that matter)
### Additional info
| Q | A
| ---------------- | ---
| Browser | Chromium - Version 63.0.3239.84 (Official Build) Built on Ubuntu , running on LinuxMint 18.3 (64-bit)
| Yii vesion | 2.0.13.1
| PHP version | 7.0.22
| Operating system | linux//ubuntu/mint 18.3
Answers:
username_1: Just in time! I was wondering why that started to happen in my browser.
username_0: LOL cool, just bumped into it today but didn't feel comfortable enough to PR etc.
Status: Issue closed
username_1: Fixed https://github.com/yiisoft/yii2-app-advanced/commit/b4a32666394d107524bfa6037226157f1d093bf1
username_2: @SEE
* [Chrome 63 forces .dev domains to HTTPS via preloaded HSTS](https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/)
* [Dont use dev for development](https://iyware.com/dont-use-dev-for-development/) |
pyelasticsearch/pyelasticsearch | 79081644 | Title: send_request fails when optional parameter query_params is not initialized as {}
Question:
username_0: Code expects dictionary to be initialized in client.py line 246:
params=dict((k, self._utf8(self._to_query(v)))
for k, v in iteritems(query_params)),
body=body)
Will only work if called:
self.send_request('GET',path_components, doc, {})
and should work:
self.send_request('GET',path_components, doc)
Optional parameter should be:
def send_request(self,
method,
path_components,
body='',
query_params={}):
Status: Issue closed
Answers:
username_1: Thanks for the report! |
fdaciuk/fdaciuk.github.io | 52610674 | Title: Sugestões #1postperday
Question:
username_0: O que você acha que seria legal falar de html5 @username_1?
Semântica das tags? alguma nova API específica? Outro assunto?
Valeu pela sugestão :D
Answers:
username_1: html5
username_0: O que você acha que seria legal falar de html5 @username_1?
Semântica das tags? alguma nova API específica? Outro assunto?
Valeu pela sugestão :D
username_1: acho fundamental focar em api's como geolocalização e outras. Creio eu que o html5 básico muita gente já entenda @username_0 .
username_0: Massa! Sugestão anotada :dancer: :dancer:
username_2: Opa!! fala @username_0, beleza cara ? então minha sugestão um guia para criar temas para wordpress se possível ou um norte.
username_3: A loucura que é a vida de quem quer se manter atualizado o tempo todo. ;)
username_0: Sugestão anotada @username_2 :D
Tem que ser né @username_3 haha :P
username_4: Que tal um pouco de AngularJS... :)
Como usa-lo em projetos pequenos (não sistemas e apps), usando sua forma correta de desenvolvimento... estou sujerindo isso porque ainda é obscura a ideia e sempre penso no Angular como um projeto grande...
username_0: É uma boa @username_4! Dica anotada ;)
username_5: Fala @username_0, uma dica Multiline String e Multidimensional Array em PHP? Abraços!
username_6: Opss! Postado com perfil errado @username_0.
username_0: Boa! Anotado @eltondev :D
username_7: live-reload integrado com sass no gulp =)
username_0: Ótimo tema @username_7! Anotado :dancer:
username_8: Web Speech API seria legal falar sobre essa API =)
username_0: Boa @username_8! Web Speech é da hora xD
Anotado! :D
username_9: AngularJS vs EmberJs
username_0: Legal @username_9! É legal fazer uma comparação.. mas não tenho conhecimento de Ember ainda, então esse pode demorar um pouco pra sair até eu aprender pra poder comparar xD
Valeu pela sugestão! :smile:
username_10: @username_0 por favor, escreva sobre Mutation Observers.
username_10: @username_0 em PHP que tal explicar um pouco sobre Traits e NameSpaces? Quando e como usar cada uma delas.
username_0: Ótimas sugestões @username_10! Obrigado :D
username_11: @username_0, parabéns pelo empenho!
Os artigos s/ GitHub estão ficando sensacionais e muito bem explicados/escritos. ;) Isso facilita o entendimento para quem não está acostumado a utilizar a ferramenta e enriquece o aprendizado.
Minhas sugestões são: continuar com artigos s/ GitHub (ou até criar uma série s/ GitHub e ferramentas relacionadas c/ TravisCI, Trello entre outras), ReactJS e BackboneJS (e utilizando ambos em conjunto).
Valeu! ;)
username_0: Ótimo assunto @username_11! Fico feliz em estar ajudando :)
Sugestões anotadas :D
username_12: @username_0 seus posts tem ajudado bastante, o problema é utilizar tudo rs mas agente da um jeito.
Gostaria de sugerir como tema a criação de plugins Wp com tabelas personalizadas no banco de dados, wp_list_table e formulários.
Estou desenvolvendo um e garrei em alguns pontos, sei como fazer em php mas na hora de fazer com WP fico procurando na documentação e gostaria de ver se to fazendo da forma certa. Vlw
username_13: Parabéns ae pela iniciativa de escrever mais conteúdo em pt_BR
Minha sugestão para quando for falar de angular.js X ember.js
http://www.techwars.io/fight/angularjs/emberjs/
username_0: Massa @username_12! O ideal é somente criar tabelas específicas se realmente for necessário, e fizer sentido. Normalmente você consegue trabalhar sempre dentro da estrutura do próprio WP :)
Mas é um bom assunto! Anotado :)
username_0: Valeu @username_13!
Obrigado pelo link :dancer:
username_14: Fala sobre yield e function*
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield
username_15: Ja que tem bastante assunto de Wordpress não seria bom falar de RequireJS + Wordpress ?
username_0: Boa @username_14 :dancer:
Anotado :smile:
username_0: Boa dica @username_15! Anotado também :smile:
username_16: Fala, @username_0! Acho que seria interessante você escrever sobre suas preferências de coding style, tipo [essa parada](https://github.com/zenorocha/my-coding-style) que o Zeno fez... ;D
username_0: Boa @username_16 :sparkles:
Comecei a escrever meu style guide uma vez, mas não dei continuidade. Farei isso! Obrigado pela sugestão :smile:
username_17: Api REST e autenticação via tokens [symfony2 ou mean]
username_0: Legal @username_17! Obrigado pela sugestão :smile:
Status: Issue closed
username_0: Todas as dicas estão anotadas! Obrigado pela colaboração de todos \o/
Em 2015 não deu pra escrever tudo, mas vamos continuar! :D
Para novas sugestões, podem usar esse repositório: https://github.com/LFeh/poste-mais
:dancer: :shipit: |
rails/spring | 476185700 | Title: Ofter hangs and eat whole memory
Question:
username_0: I use this script to kill all spring periodically - Ruby spring servers hang and eat whole memory? Kill them all - https://gist.github.com/username_0/e8203f545a6111d9ec070a5313d8d2cc
Status: Issue closed
Answers:
username_1: Thanks for sharing, @username_0 |
patternfly/patternfly-react | 498597299 | Title: Allow tooltip text to be left-aligned
Question:
username_0: The related Core PR is here: https://github.com/patternfly/patternfly-next/pull/2284?
In this issue we should allow for the tooltip text to be left-aligned. This issue will be populated with more description.<issue_closed>
Status: Issue closed |
ReScience/ReScience | 365346775 | Title: Is evaluating softwares while reproducing only one software prepint out of scope of ReScience
Question:
username_0: Dear ReScience Team,
Thanks for the wonderful possibility offered by your journal to confirm or disprove results in current publications.
I have just a short question concerning one of our current projects and the possibility to publish results in ReScience.
We are evaluating some assembly software packages (6 at the moment). So far, one of the softwares has been published (by ourselfs) and another software package has been published by a preprint. We would like to perform some benchmarking of that set of 6 and use a data set published in the preprint. At the moment, reproducing the preprint claims is not possible. Therefore, we thought about publishing our work including the benchmark and the try to reproduce the preprint results in ReScience.
Would that still be in the scope of your journal?
Thanks in advance!
Frank
Answers:
username_1: I'm not quite sure I understand exactly what you would like to publish. If the preprint is not by your team and you tried to replicate it then yes, we can review/publish it, and inside your paper you're free to introduce the overall context together with other results. So I think it would be within the scope of the journal.
@username_2 any comments ?
username_2: I am not quite sure either that I understand the situation.
There's a preprint that describes some software and demonstrates its use on some data. You say you cannot reproduce the preprint claims. Does that mean you don't get the same results when you run that preprint's software? Or that you get different results using different software?
Your last sentence sounds like you want to publish the replication failure in ReScience. That's definitely within our scope. However, it is a (failed) replication only if you use different software. If you run that preprint's software and get different results from the authors, then their work is not reproducible and they ought to fix it, but that's not the kind of message we publish in ReScience.
username_1: @username_0 Do you have more information ? |
EBWiki/EBWiki | 355892542 | Title: ActionView::Template::Error: undefined method `capitalize' for nil:NilClass
Question:
username_0: View details in Rollbar: [https://rollbar.com/username_0/EBWiki/items/1379/](https://rollbar.com/username_0/EBWiki/items/1379/)
```
NoMethodError: undefined method `capitalize' for nil:NilClass
File "/app/app/views/agencies/show.html.erb", line 13, in _app_views_agencies_show_html_erb___455314868294173463_69857888619520
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/template.rb", line 145, in block in render
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb", line 164, in block in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb", line 164, in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/template.rb", line 333, in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/template.rb", line 143, in render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb", line 54, in block (2 levels) in render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb", line 39, in block in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb", line 164, in block in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb", line 164, in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb", line 39, in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb", line 53, in block in render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb", line 61, in render_with_layout
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/jb-0.5.0/lib/jb/action_view_monkeys.rb", line 47, in render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb", line 14, in render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb", line 46, in render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb", line 27, in render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/rendering.rb", line 100, in _render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/streaming.rb", line 217, in _render_template
File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-4.2.10/lib/action_view/rendering.rb", line 83, in render_to_body
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb", line 32, in render_to_body
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/renderers.rb", line 37, in render_to_body
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/abstract_controller/rendering.rb", line 25, in render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb", line 16, in render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb", line 44, in block (2 levels) in render
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb", line 12, in block in ms
File "/app/vendor/ruby-2.5.1/lib/ruby/2.5.0/benchmark.rb", line 308, in realtime
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb", line 12, in ms
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb", line 44, in block in render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
File "/app/vendor/bundle/ruby/2.5.0/gems/searchkick-3.1.1/lib/searchkick/logging.rb", line 214, in cleanup_view_runtime
File "/app/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb", line 25, in cleanup_view_runtime
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb", line 43, in render
File "/app/vendor/bundle/ruby/2.5.0/gems/remotipart-1.4.2/lib/remotipart/render_overrides.rb", line 16, in render_with_remotipart
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb", line 10, in default_render
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb", line 5, in send_action
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb", line 198, in process_action
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb", line 10, in process_action
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 117, in call
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 555, in block (2 levels) in compile
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 505, in call
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 81, in run_callbacks
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb", line 19, in process_action
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb", line 29, in process_action
File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb", line 164, in block in instrument
File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-4.<issue_closed>
Status: Issue closed |
mcmartins/francy | 194193194 | Title: Create Gap Package
Question:
username_0: XGap is too tightly coupled with the XWindow system making it difficult to reuse.
Francy should implement basic representation of canvas, shapes, groups, links and actions in the form of json. These features should output json-ld in order to allow any technology to build and display graphics.
By being able to use these objects, one will be able to use them and generate meaningful graphics for mathematical structures.
Answers:
username_0: This project is now split in 2, a Javascript module to produce graphics and a GAP module to produce semantic JSON for the javascript implementation.
Status: Issue closed
|
cass-degrees/CASS-Degrees-Code | 486327044 | Title: Add Delete Feature in Edit Course/Subplan/Program
Question:
username_0: So, whilst they're editing a course/subplan/program have an option of some sort where you could delete that specific thing.
Status: Issue closed
Answers:
username_1: Is this so that they can delete the edited course/subplan/program, or something else?
username_0: So, whilst they're editing a course/subplan/program have an option of some sort where you could delete that specific thing.
Status: Issue closed
|
danwilson/google-analytics-plugin | 346703842 | Title: startTrackerWithId not working
Question:
username_0: Here's my ionic info:
```
cli packages: (/Users/andrewfurusawa/.nvm/versions/node/v9.6.1/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : android 7.0.0 ios 4.5.5
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 6.1.2
Node : v9.6.1
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment Variables:
ANDROID_HOME : /Users/andrewfurusawa/Library/Android/sdk
Misc:
backend : pro
```
and here's the error log I'm getting:
```07-31 23:12:29.546 26829 26901 W System.err: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbo;
07-31 23:12:29.546 26829 26901 W System.err: at com.google.android.gms.internal.zzami.zzaf(Unknown Source:0)
07-31 23:12:29.546 26829 26901 W System.err: at com.google.android.gms.analytics.GoogleAnalytics.getInstance(Unknown Source:0)
07-31 23:12:29.546 26829 26901 W System.err: at com.danielcwilson.plugins.analytics.UniversalAnalyticsPlugin.startTracker(UniversalAnalyticsPlugin.java:145)
07-31 23:12:29.546 26829 26901 W System.err: at com.danielcwilson.plugins.analytics.UniversalAnalyticsPlugin.execute(UniversalAnalyticsPlugin.java:53)
07-31 23:12:29.546 26829 26901 W System.err: at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
07-31 23:12:29.547 26829 26901 W System.err: at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
07-31 23:12:29.547 26829 26901 W System.err: at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
07-31 23:12:29.547 26829 26901 W System.err: at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
07-31 23:12:29.547 26829 26901 W System.err: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
07-31 23:12:29.547 26829 26901 W System.err: at org.chromium.base.SystemMessageHandler.handleMessage(SourceFile:9)
07-31 23:12:29.547 26829 26901 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
07-31 23:12:29.547 26829 26901 W System.err: at android.os.Looper.loop(Looper.java:164)
07-31 23:12:29.547 26829 26901 W System.err: at android.os.HandlerThread.run(HandlerThread.java:65)
07-31 23:12:29.548 26829 26901 W System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzbo" on path: DexPathList[[zip file "/data/app/com.scotts.groconnect-VhjOflE47_1y5Jai2-H2yw==/base.apk"],nativeLibraryDirectories=[/data/app/com.scotts.groconnect-VhjOflE47_1y5Jai2-H2yw==/lib/arm64, /system/lib64, /vendor/lib64]]
07-31 23:12:29.548 26829 26901 W System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
07-31 23:12:29.548 26829 26901 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
07-31 23:12:29.548 26829 26901 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
07-31 23:12:29.548 26829 26901 W System.err: ... 13 more
```
Context:
I looked around for possible solutions and some people mentioned enabling multidex, which I did and it still doesn't work.
Answers:
username_1: do this:
1. remove android platform
2. add android platform
that should fix you issue.
username_2: i see the same thing in version 1.8.6. version 1.8.3 works fine.
username_3: I can confirm I have the same issue.
`window.analytics.startTrackerWithId('XXXXX');` is never being called. Which one is the last version working for you?
username_4: Did you find a solution for this?
username_3: `window.analytics.startTrackerWithId('UA-XXXXXXXX-X');`
is working if you call it right after `deviceready`.
username_1: issue #551 related to this one
Status: Issue closed
|
systemapic/systemapic.js | 135445433 | Title: Upload button not working on IE
Question:
username_0: 
Answers:
username_0: Not possible to click "Upload data" button on IE. Nothing happens, according to client. Check console logs and fix :)
username_1: @username_0 we are using Resumable.js lib for this as I understood, console is empty. In docs wrote that
```
This is relied on for the ability to chunk files into smaller pieces. Currently, this means that support is widely available in to Firefox 4+, Chrome 11+, Safari 6+ and Internet Explorer 10+.
```
So IE11 should be sported... strange bug
username_0: @username_1 Are there any errors in the console? I don't think this is a resumable bug, probably just a simple click-related bug.
username_1: @username_0 console is clear
username_1: We handle this click in resumable as i thought. Is it correctly?
username_0: Not sure what causes this. You need to console.log your way thru the code to find out where it stops.
username_1: @username_0 But we aren't handling click in our code=) It's handling in resumable
username_1: @username_0 https://github.com/23/resumable.js/issues/290 I have added issue to resumable.js and asked Brian about a solution of this problem. |
dart-lang/sdk | 84564194 | Title: None
Question:
username_0: @username_1 Hey, hope you don't mind, I used your explanation, word by word, here: https://pub.dev/packages/weak_map
Answers:
username_1: No problem.
username_2: I think the documentation needs a clarification for object being "inaccessible".
One case is that, if the property holds an reference to the object (i.e. cyclic reference within `Expando` key-value pairs), does that interfere with the accessibility of the object?
For Dart2JS this is a non-question. However since DartVM uses an array of `WeakProperty` (whose details are hidden inside VM natives) as the underlying `Expando` implementation, one would naturally comes up with the above question.
username_1: We really prefer to *not* specify too much about expandos. You should treat them just as you treat instance fields, and not try to think about their behavior around garbage collection.
The way things are currently implemented by the backends, you shouldn't worry about a value keeping its key alive. If you don't have a way to get access to the key without already having the key, then it is inaccessible, and will be garbage collected eventually. |
hyperf/hyperf | 636282503 | Title: [FEATURE] 一个 Constant 中,多个相同值的 const 定义时,只会取最后一个的问题
Question:
username_0: **Is your feature request related to a problem? Please describe.**
有如下代码:
``` php
class ChannelConstant extends AbstractConstants
{
/**
* @Status("启用")
*/
const STATUS_ENABLE = 1;
/**
* @Status("禁用")
*/
const STATUS_DISABLE = 0;
/**
* @Type("文本")
*/
const TYPE_TEXT = 0;
/**
* @Type("语音")
*/
const TYPE_AUDIO = 1;
/**
* @AudioType("固定文本")
*/
const AUDIO_TYPE_FIXED_TEXT = 1;
/**
* @AudioType("变量")
*/
const AUDIO_TYPE_VARS = 2;
/**
* @AudioType("url")
*/
const AUDIO_TYPE_URL = 3;
}
```
以上代码中,如果通过 `$string = ChannelConstant::getStatus(ChannelConstant::STATUS_ENABLE) ` 则会发现,`$string` 变量是空字符串。
但是,原本是想让 `$string` 变量为 `启用` 的。
**Describe the solution you'd like**
通过查阅源码,发现 `\Hyperf\Constants\AnnotationReader::getAnnotations` 这个方法中
```php
public function getAnnotations(array $classConstants)
{
$result = [];
/** @var ReflectionClassConstant $classConstant */
foreach ($classConstants as $classConstant) {
$code = $classConstant->getValue();
$docComment = $classConstant->getDocComment();
if ($docComment) {
$result[$code] = $this->parse($docComment);
}
}
[Truncated]
foreach ($keys as $i => $key) {
if (isset($values[$i])) {
$previous[Str::lower($key)] = $values[$i];
}
}
}
}
return $previous;
}
}
```
**Describe alternatives you've considered**
N
**Additional context**
N<issue_closed>
Status: Issue closed |
home-assistant/android | 723788426 | Title: Can't upload person image from phone
Question:
username_0: **Home Assistant Android version:**
0.116.4
**Android version:**
10
**Phone model:**
Xiaomi mi 9
**Home Assistant version:**
None
**Last working Home Assistant release (if known):**
None
**Description of problem:**
I can't upload person image from phone. Image picker doesn't work from phone. I gave permission for gallery and camera for HA. I can upload image only from computer

Status: Issue closed
Answers:
username_1: This is fixed in the latest beta version that you can download from github, google has not reviewed the play store submission yet. |
irbv-collections/MT-controlled-vocabulary | 157745278 | Title: New Taxon
Question:
username_0: 214235 dét. 2
Solidago rugosa Miller var. sphagnophila Graves
[Solidago rugosa Miller subsp. rugosa var. sphagnophila Graves]
Geoff
Answers:
username_1: Solidago rugosa var. sphagnophila = acc = subsp. rugosa var. s.
Status: Issue closed
|
narrowspark/framework | 231797196 | Title: Add missing type hints
Question:
username_0: | Q | A
| ---------------- | -----
| Bug report? | No
| Feature request? | yes
| BC Break report? | no
| RFC? | no
| Narrowspark version | 1
<!--
- Please fill in this template according to your issue.
- For support request or how-tos, visit https://narrowspark.com/support
- Otherwise, remove this comment.
-->
### Description:
### Steps To Reproduce:<issue_closed>
Status: Issue closed |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.