repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
georgipeltekov/ngx-file-drop | 314197118 | Title: How do you drag multiple files?
Question:
username_0: I want to allow the user to drag and drop up to 5 images. That would be stored in files array.. then uploaded to server.
Current the image object is replaced after every file drop.
Answers:
username_1: Can you share a stackblitz example or some sources about that. Basically you can drag and drop multiple files and whole folders. You can check at the demo in the description. Also if you check the readme you will see in the code examples that there is a for loop where we can iterate over all the dragged files.
Status: Issue closed
username_1: Closing as no additional info was provided.
username_2: Hi. I checked the demo in description as you mentioned (on this link https://username_1.github.io/) and I was not able to upload multiple files. Table 'upload-name-style' only keeps one file. My code is the exactly the same provided on example.
username_1: Can you at least provide some code and a stackblitz example? I cannot know what you did otherwise @username_2 . Here , you can check this example:
https://stackblitz.com/edit/angular-blhb9x
username_2: My template
` <div class="form-group">
<file-drop dropZoneLabel="Drop files here" (onFileDrop)="dropped($event)"
(onFileOver)="fileOver($event)" (onFileLeave)="fileLeave($event)">
<span>Drag and drop files here</span>
</file-drop>
<div class="upload-table">
<table class="table">
<thead>
<tr>
<th>File Name</th>
</tr>
</thead>
<tbody class="upload-name-style">
<tr *ngFor="let item of files; let i=index">
<td><strong>{{ item.relativePath }}</strong></td>
</tr>
</tbody>
</table>
</div>
</div>`
In the example you provided is happening the same thing: object is replaced after every file drop.
username_1: yes, because you dont save the state of the previous items. In order to save them, just copy the dropped files in another list, use the second list to show it in your table and you are ready to go. this is not related with the library, but rather it is a dev tasks
username_2: thanks, will try that! |
ashiina/lambda-local | 942530477 | Title: lambda-local as endpoint for aws-sdk
Question:
username_0: aws-sdk sends requests as `'content-type': 'binary/octet-stream'`, which watch doesn't support.
Would you accept a PR that uses raw-body to handle those requests?
```js
await lambdaLocal.execute({
event: JSON.parse((await getRawBody(ctx.req)).toString()),
lambdaPath: '...',
});
```
Answers:
username_1: Sure! |
cahilfoley/react-snowfall | 1048343988 | Title: Doesnt work with nextjs (window is undefined)
Question:
username_0: <img width="1440" alt="Screenshot 2021-11-09 at 2 23 18 PM" src="https://user-images.githubusercontent.com/50735025/140892938-3ed6b80c-b969-47d7-843f-e8b4bc6d756d.png">
Answers:
username_0: this PR should fix it IMO
https://github.com/username_1/react-snowfall/pull/23
username_0: Just found out this closed issue here https://github.com/username_1/react-snowfall/issues/15
Status: Issue closed
username_1: Thanks for raising this, it turns out that the config item that was causing the build to fail wasn't being used anymore so it's been removed in [v1.1.1](https://github.com/username_1/react-snowfall/releases/tag/v1.1.1). |
cloudera/hue | 60782859 | Title: Getting this error when I run bin/supervisor
Question:
username_0: Traceback (most recent call last):
File "/root/hue/build/env/bin/hue", line 8, in <module>
load_entry_point('desktop==3.7.1', 'console_scripts', 'hue')()
File "/root/hue/desktop/core/src/desktop/manage_entry.py", line 60, in entry
execute_manager(settings)
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/__init__.py", line 459, in execute_manager
utility.execute()
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/base.py", line 231, in execute
self.validate()
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/loading.py", line 64, in _populate
self.load_app(app_name, True)
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/root/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/root/hue/apps/beeswax/src/beeswax/models.py", line 38, in <module>
from beeswax.design import HQLdesign
File "/root/hue/apps/beeswax/src/beeswax/design.py", line 33, in <module>
from hadoop.cluster import get_hdfs
File "/root/hue/desktop/libs/hadoop/src/hadoop/cluster.py", line 22, in <module>
from hadoop.fs import webhdfs, LocalSubFileSystem
File "/root/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 31, in <module>
from desktop.lib.rest import http_client, resource
File "/root/hue/desktop/core/src/desktop/lib/rest/http_client.py", line 19, in <module>
import requests
File "/root/hue/build/env/lib/python2.7/site-packages/requests-2.0.0-py2.7.egg/requests/__init__.py", line 53, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/root/hue/build/env/lib/python2.7/site-packages/requests-2.0.0-py2.7.egg/requests/packages/__init__.py", line 3, in <module>
from . import urllib3
File "/root/hue/build/env/lib/python2.7/site-packages/requests-2.0.0-py2.7.egg/requests/packages/urllib3/__init__.py", line 16, in <module>
from .connectionpool import (
File "/root/hue/build/env/lib/python2.7/site-packages/requests-2.0.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 60, in <module>
from .response import HTTPResponse
File "/root/hue/build/env/lib/python2.7/site-packages/requests-2.0.0-py2.7.egg/requests/packages/urllib3/response.py", line 53, in <module>
class HTTPResponse(io.IOBase):
File "/root/hue/build/env/lib/python2.7/site-packages/requests-2.0.0-py2.7.egg/requests/packages/urllib3/response.py", line 77, in HTTPResponse
REDIRECT_STATUSES = [301, 302, 303, 307, 308]
KeyboardInterrupt
Answers:
username_1: How did you install Hue? Looks like a tarball install.
Is the 'runserver' command working?
For information http://groups.google.com/a/cloudera.org/group/hue-user is better suited for these types of problems.
username_0: the 'runserver' command works. And it's a tarball install
username_1: Which OS?
username_0: Ubuntu 14.04
Status: Issue closed
|
bwssytems/ha-bridge | 455995138 | Title: Have single scroll bar for Bridge Devices page.
Question:
username_0: Would it be possible to remove the inner frame and just have the devices show on the top layer? (not sure of the proper terminology here). That way there would only be one scroll bar to make your way down the page. Not sure what's possible, just throwing it out there.
Thanks as always for such an awesome program.
Answers:
username_1: I had this way thinking it would be easier to get to the backup items. But it probably makes more sense to have one scroll bar. The logs tab works that way too. I'll deprecate that.
username_0: looks great in RC3!
username_2: I second that, much better UI experience on mobile devices as well.
username_1: Awesome, glad you like it!
Status: Issue closed
username_0: since all is well, i'll close. :)
username_1: I'll keep this open until the merge
username_1: Would it be possible to remove the inner frame and just have the devices show on the top layer? (not sure of the proper terminology here). That way there would only be one scroll bar to make your way down the page. Not sure what's possible, just throwing it out there.
Thanks as always for such an awesome program.
edit: i saw in another ticket that you're using a scrollable table from another author. I'm curious if there is an option in the table to simply expand to max size automatically. That could remove the scroll bar of the table perhaps...
username_1: I also added for the final version a floating back to top button that will appear after you start scrolling
Status: Issue closed
|
conda/conda-build | 110711659 | Title: Incorrect behavior with numpy 1.10 using --numpy flag
Question:
username_0: When building against numpy 1.10 --numpy and CONDA_NPY produce different results
```
CONDA_NPY=1.10 conda build .
```
works
```
CONDA_NPY=110 conda build .
```
fails
```
conda build --numpy=1.10 .
Error: CONDA_NPY must be major.minor, like 1.9, not 110
```
also fails
Answers:
username_1: I find that options (1) and (2) above behave the same way, which is broken. Based on my reading of the code, the version string is first stripped of `'.'`s and then a `'.'` is added between each digit:
```python
".".join(str(conda_npy))
```
This makes conda-build look for numpy 1.1.0, which predates conda :)
I haven't tried `--numpy`
username_2: This is fixed in the master branch, post 1.18.
username_3: If it was fixed @username_2, do you mind sharing what fixed it for you?
username_4: I think he meant the git master of conda-build, since 1.18 is the latest version of it.
username_3: Sure, I was just hoping we could narrow it down to a commit and/or PR that was responsible for the fix. Anyways, it's not a big deal. It just would be nice to have the record for later should it be needed.
username_1: Looks like #626 is the relevant pr
username_5: In addition to that PR, one last related issue was handled recently in #660, so I'd say this can be closed.
username_3: This should be closed. |
jasonday/printThis | 251139821 | Title: Force resize to page ?
Question:
username_0: I would love a simple setting to allow the script to resize the content to "fit to page".
I know the user may choose to resize ot change settings manually, but I would like to set it
as a standard.
And / Or forced "page split" would be nice.
Answers:
username_1: I'm not sure I understand the suggestion.
Are you saying the script should be able to adjust the content size to the printed paged? If so, I do not believe this can be reasonably accomplished within the browser, and you might consider something like [jsPDF](https://github.com/MrRio/jsPDF).
There is no way to know the page size before printing, and once the print dialog is open, the script is paused.
You can use `@media print` CSS or even create a stylesheet just for your printing needs to accomplish some or all of this. Both of these are currently supported.
There are also some CSS settings for page breaks, but they are inconsistently implemented/supported across browsers.
username_1: @username_2 Anything we can add to this?
username_2: @username_1 - I don't think there's anything we can do within reason to address this type of issue.
Status: Issue closed
username_2: Closing issue; unable to implement request. |
ppatel221/xtractor | 280135783 | Title: pythonic thinking
Question:
username_0: Currently this program goes about using the python interrupter to begin and execute each of its methods.
It would be advantageous to approach in a pythonic and application style.
+ Add main function
+ Call inner methods
+ Command line callable<issue_closed>
Status: Issue closed |
martyjs/marty-devtools | 88881518 | Title: Seeing undefined for some stores
Question:
username_0: I can only see data for one of my stores.
I am using immutable.js and also I am doing an isomorphic render of the app.
An interesting point is that the store that is showing data is the only one I can serialising back to the client. All the other stores I have an empty dehydrate and rehydrate functions:
```
dehydrate() {
return undefined;
}
rehydrate() {
// do nothing! so we don't wipe our fetched viewers state with server data.
}
``` |
pytorch/pytorch | 609577604 | Title: Windows Libtorch Ver1.5 did't operate at the GPU mode , it operated at the CPU mode.
Question:
username_0: ## 🐛 Bug
Windows Libtorch Ver1.5 did not operate at the GPU mode , it operated at the CPU mode.
##Enviroment
・OS : Windows 10 Pro 64bit
・Compiler: Visual studio 2019 Professional
・Test code: mnist.cpp (got from github)
・libtorch Ver1.5 : I dounloaded https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.5.0.zip
Stable(1.5),, Windows, Libtorch, C++/Java ,CUDA10.2 ,Release mode
・CUDA10.2
・cuDNN 7.6.532 for CUDA10.2
・GPU : Geforce GTX1060 (6GB memory) ZOTAC
## To Reproduce
1 .I donwloaded libtorch-win-shared-with-deps-1.5.0.zip from https://pytorch.org.
2. I unziped libtorch-win-shared-with-deps-1.5.0.zip.
3. I got mnist.cpp form https://github.com/pytorch/examples/tree/master/cpp/mnist
[mnist.txt](https://github.com/pytorch/pytorch/files/4556126/mnist.txt)
4. I made New Project "mnistv1_5_0430" by Visual studo 2019
5. I did the setting of source code, include path , add user lib files,and etc.
6. I build the project and the project was built with no erros.
7. I get executable file "mnistv1_5_0430.exe"
8. I downloaded data for learning by download_mnist.py at folder " ./data".
9.I opened "Command promt" as Administrator .
10. At first I run nvidia-smi.exe ,the result was as blow.
I confirmed that I installed Geforce GTX1060 and CUDA10.2.
C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi.exe
Thu Apr 30 02:27:21 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 441.22 Driver Version: 441.22 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... WDDM | 00000000:01:00.0 On | N/A |
| 40% 31C P8 7W / 120W | 293MiB / 6144MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 788 C+G ...1.0_x64__8wekyb3d8bbwe\WinStore.App.exe N/A |
| 0 1256 C+G Insufficient Permissions N/A |
| 0 6700 C+G ...R.x86\ServiceHub.ThreadedWaitDialog.exe N/A |
| 0 8104 C+G C:\Windows\explorer.exe N/A |
| 0 8736 C+G ...5n1h2txyewy\StartMenuExperienceHost.exe N/A |
| 0 9028 C+G ...dows.Cortana_cw5n1h2txyewy\SearchUI.exe N/A |
| 0 9436 C+G ....111.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A |
| 0 9932 C+G ...6.102.0_x64__kzf8qxf38zg5c\SkypeApp.exe N/A |
[Truncated]
Train Epoch: 5 [59584/60000] Loss: 0.0822
Test set: Average loss: 0.0783 | Accuracy: 0.974
Train Epoch: 6 [59584/60000] Loss: 0.0605
Test set: Average loss: 0.0695 | Accuracy: 0.978
Train Epoch: 7 [59584/60000] Loss: 0.1973
Test set: Average loss: 0.0617 | Accuracy: 0.982
Train Epoch: 8 [59584/60000] Loss: 0.0872
Test set: Average loss: 0.0595 | Accuracy: 0.982
Train Epoch: 9 [59584/60000] Loss: 0.0636
Test set: Average loss: 0.0536 | Accuracy: 0.984
Train Epoch: 10 [59584/60000] Loss: 0.0995
Test set: Average loss: 0.0505 | Accuracy: 0.984
12. But libtroch Ver1.5 operated correctly by using mnist.cpp in Ubuntu18.04LTS.
I changed the OS Windows10→Ubuntu18.04LTS in same PC.
We can see the message "CUDA available ! Training on GPU"

[BUG]
・The libtorch ver1.5 operated did not operate correctly in Windows10 ,but also it operated correctly in Ubuntu18.04LTS.
Answers:
username_1: https://github.com/pytorch/pytorch/issues/37124
Status: Issue closed
|
hovu96/splunk_as_a_service_app | 504610327 | Title: Registry configuration
Question:
username_0: The splunk-as-a-service-app is trying to pull images from the internet, which is not possible for air gapped deployments. I need a way to specify the server to pull from.
Answers:
username_1: Commit <PASSWORD> closes this. In the cluster settings, you can now specify the Splunk image to use. That way you can specify which Splunk version to use, but also specify the image repository to get the image from. Full format `hostname[:port]/username/reponame[:tag]`
Status: Issue closed
|
dtolnay/cxx | 842985372 | Title: CxxVector<*mut Thing>
Question:
username_0: I had a crack at implementing `CxxVector<*mut T>` and `CxxVector<*const T>` here:
https://github.com/username_1/cxx/compare/master...
Answers:
username_1: I have not looked at your branch but naively I would expect to see:
```rust
// cxx crate
unsafe impl<T: MutPtrVectorElement> VectorElement for *mut T {}
// downstream crate
unsafe impl MutPtrVectorElement for Thing {}
```
Alternatively it's probably fine to assume std::vector\<T\*\> has a consistent layout independent of T, and have just one impl instead of a generic one.
username_0: Thanks, that points me in the right direction. |
reichlab/covidHubUtils | 733620544 | Title: Forecasts take a long time to load from zoltar
Question:
username_0: Retrieving forecasts with the following code took about an hour. The problem persisted in a new R session and I do not know what causes it
```
forecasts <- covidHubUtils::load_forecasts(models = c("COVIDhub-ensemble",
"COVIDhub-baseline"),
last_forecast_date = as.Date("2020-10-05"),
forecast_date_window_size = 3,
source = "zoltar",
types = "quantile")
```
Answers:
username_1: maybe due to multiple queries issued in parallel? So we should investigate whether
- we can reduce the splitting up of queries AND/OR
- whether running multiple small queries in parallel is possible/desirable.
username_1: I think there is something in the data processing that is making this take a while, perhaps having to do with calls to MMWRweek? I see this when I killed a query that had downloaded all the data but was taking a long time to do the post-processing
```
Called from: purrr::pmap_chr(MMWRweek::MMWRweek(lubridate::ymd(forecast_date) +
week_offset * 7), function(MMWRyear, MMWRweek, MMWRday) {
as.character(MMWRweek::MMWRweek2Date(MMWRyear, MMWRweek,
7))
})
```
username_1: this is related to https://github.com/reichlab/covidHubUtils/issues/19
Status: Issue closed
username_1: So the following query, when used in conjunction with the updated load_forecasts_zoltar() is relatively speedy.
```
library(covidHubUtils)
forecasts1 <- covidHubUtils::load_forecasts(
models = c("COVIDhub-ensemble", "COVIDhub-baseline", "YYG-ParamSearch", "UMass-MechBayes"),
targets = paste(1:4, "wk ahead inc death"),
last_forecast_date = as.Date("2020-10-05"),
forecast_date_window_size = 3,
source = "zoltar",
types = "quantile")
```
Note, also that reducing to include a `targets` option may reduce the size of forecasts that produce county-level forecasts as well. |
gems-uff/sapos | 90504859 | Title: Erro ao gerar boletim
Question:
username_0: Ao tentar gerar o boletim de alguns alunos (não todos), dá internal error. Log:
A ActionView::Template::Error occurred in enrollments#grades_report_pdf:
Table's width was set too small to contain its contents (min width 560.0, requested 523)
app/helpers/pdf_helper.rb:216:in `block in simple_pdf_table'
-------------------------------
Request:
-------------------------------
* URL : https://sel.ic.uff.br/sapos/enrollments/867/grades_report_pdf.pdf?utf8=%E2%9C%93
* IP address: 172.16.31.10
* Parameters: {"utf8"=>"✓", "controller"=>"enrollments", "action"=>"grades_report_pdf", "id"=>"867", "format"=>"pdf"}
* Rails root: /usr/local/sapos/computacao/production
* Timestamp : 23/06/2015 18:23
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: #<ActionDispatch::Request::Session:0x007f97febe7fb0 ...><issue_closed>
Status: Issue closed |
FDMilesi/pfc-gmz | 208676122 | Title: Finalización automática de tratamiento
Question:
username_0: Se podría hacer un Job que marque como finalizado un tratamiento cuando:
- Tenga todas sus sesiones transcurridas
- Tenga todas las ordenes necesarias cargadas y autorizadas
- Haya pasado un tiempo (3 semanas por ejemplo) desde que se modificó por última vez
Sería necesario agregar la fecha de modificación a la tabla de tratamiento en la BD. |
rParslow/TeamWhisky | 221629532 | Title: CAOL ILA 2005
Question:
username_0: CAOL ILA 2005<br>
http://ift.tt/2pdxRHp<br>
#TeamWhisky CAOL ILA 2005 Single Malt Ecosse/Islay LMDW http://ift.tt/2pdxRHp 92 € <img src="http://ift.tt/2nJs3IF"><br><br>
via Fishing Reports http://ift.tt/2dm5cfF<br>
April 13, 2017 at 07:14PM |
rom-rb/rom | 538502643 | Title: Nested combine fails when using views
Question:
username_0: **Describe the bug**
When using a nested combine and views we get an error thrown in the transproc gem.
```
/Users/shipmana/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/transproc-1.1.0/lib/transproc/array/combine.rb:51:in `block in group_candidates_by_keys': no implicit conversion of Symbol into Integer (TypeError)
```
Without using the nested combine, the data structure is retrieved correctly (although obviously without the child data)
As far as I can tell, the data is pulled from the data source correctly. We end up with a hash of data that fails the `group_by` call in transproc.
**To Reproduce**
```ruby
#!/usr/bin/env ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'rom'
gem 'rom-sql'
gem 'rom-repository'
gem 'dry-types'
gem 'sqlite3'
end
module Types
include Dry::Types(default: :nominal)
end
rom = ROM.container(:sql, 'sqlite::memory') do |c|
c.gateways[:default].create_table :product_groups do
primary_key :id
String :name
end
c.gateways[:default].create_table :products do
primary_key :id
String :reference
String :name
end
c.gateways[:default].create_table :grouped_products do
primary_key :id
Integer :product_group_id
Integer :product_id
end
c.gateways[:default].create_table :allocations do
primary_key :id
Integer :product_config_id
String :name
end
c.gateways[:default].create_table :product_configs do
primary_key :id
Integer :product_group_id
end
[Truncated]
allocations.combine(:product_group).to_a
end
end
repo = AllocationRepo.new(rom)
# puts repo.ok.inspect
puts repo.boom.inspect # => transproc-1.1.0/lib/transproc/array/combine.rb:51:in `block in group_candidates_by_keys': no implicit conversion of Symbol into Integer (TypeError)
```
**Expected behavior**
No error thrown and a correctly combined dataset.
**Your environment**
- Affects my production application: **YES**
- Ruby version: ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]
- OS: MacOS
Answers:
username_1: Thanks for the report. I'll look into this.
username_1: @username_0 that's an interesting bug 😅 It looks like the same mapper is being applied twice, I need to dig deeper. Does the same problem happen when you have identical setup except that standard PK/FK are used so that there's no need for overidden views?
username_0: If I use PK/FK for those relationships where I can - leaving one view for a many-to-many join then it does still throw the same error:
The "simpler" setup:
```ruby
#!/usr/bin/env ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'rom'
gem 'rom-sql'
gem 'rom-repository'
gem 'dry-types'
gem 'sqlite3'
end
module Types
include Dry::Types(default: :nominal)
end
rom = ROM.container(:sql, 'sqlite::memory') do |c|
c.gateways[:default].create_table :product_groups do
primary_key :id
String :name
end
c.gateways[:default].create_table :products do
String :id
String :name
end
c.gateways[:default].create_table :grouped_products do
primary_key :id
Integer :product_group_id
Integer :product_id
end
c.gateways[:default].create_table :allocations do
primary_key :id
Integer :product_config_id
String :name
end
c.gateways[:default].create_table :product_configs do
primary_key :id
Integer :product_group_id
end
c.gateways[:default].use_logger(Logger.new($stdout))
c.relation(:product_groups) do
schema(:product_groups, infer: false) do
attribute :id, Types::Integer, primary_key: true
attribute :name, Types::String
associations do
has_many :grouped_products
has_many :products, through: :grouped_products
end
[Truncated]
rom.relations[:grouped_products].insert id: 3003, product_group_id: 2002, product_id: "ABC"
rom.relations[:product_configs].insert id: 4004, product_group_id: 2002
rom.relations[:allocations].insert id: 5005, product_config_id: 4004
class AllocationRepo < ROM::Repository[:allocations]
def boom
allocations.combine(product_group: :products).to_a
end
def ok
allocations.combine(:product_group).to_a
end
end
repo = AllocationRepo.new(rom)
# puts repo.ok.inspect
puts repo.boom.inspect # => transproc-1.1.0/lib/transproc/array/combine.rb:51:in `block in group_candidates_by_keys': no implicit conversion of Symbol into Integer (TypeError)
```
username_1: Is it possible to set it up in a way that this view is not needed? I just want to make sure that this only happens with a custom overridden view.
username_0: Yes, it works (in a test, per below) using another join table and not using a view. However, that's not how my real world application works unfortunately.
```ruby
#!/usr/bin/env ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'rom'
gem 'rom-sql'
gem 'rom-repository'
gem 'dry-types'
gem 'sqlite3'
end
module Types
include Dry::Types(default: :nominal)
end
rom = ROM.container(:sql, 'sqlite::memory') do |c|
c.gateways[:default].create_table :product_groups do
primary_key :id
String :name
end
c.gateways[:default].create_table :products do
String :id
String :name
end
c.gateways[:default].create_table :grouped_products do
primary_key :id
Integer :product_group_id
Integer :product_id
end
c.gateways[:default].create_table :allocation_product_groups do
primary_key :id
Integer :product_group_id
Integer :allocation_id
end
c.gateways[:default].create_table :allocations do
primary_key :id
Integer :product_config_id
String :name
end
c.gateways[:default].create_table :product_configs do
primary_key :id
Integer :product_group_id
end
c.gateways[:default].use_logger(Logger.new($stdout))
c.relation(:product_groups) do
schema(:product_groups, infer: false) do
attribute :id, Types::Integer, primary_key: true
attribute :name, Types::String
[Truncated]
end
rom.relations[:products].insert id: "ABC", name: "TV"
rom.relations[:product_groups].insert id: 2002, name: "Broadcasters"
rom.relations[:grouped_products].insert id: 3003, product_group_id: 2002, product_id: "ABC"
rom.relations[:product_configs].insert id: 4004, product_group_id: 2002
rom.relations[:allocations].insert id: 5005, product_config_id: 4004
rom.relations[:allocation_product_groups].insert id: 3003, product_group_id: 2002, allocation_id: 5005
class AllocationRepo < ROM::Repository[:allocations]
def boom
allocations.combine(product_groups: :products).to_a
end
end
repo = AllocationRepo.new(rom)
puts repo.boom.inspect
# => [#<ROM::Struct::Allocation id=5005 product_config_id=4004 name=nil product_groups=[#<ROM::Struct::ProductGroup id=2002 name="Broadcasters" allocation_id=5005 products=[#<ROM::Struct::Product id="ABC" name="TV" product_group_id=2002>]>]>]
```
username_1: @username_0 thank you for checking it, this is good news because I was worried the association type is broken regardless if you're custom views or not. OK I will keep digging into your scenario then and fix it in the next release.
username_0: @username_1 just checking in on this one as I've been bitten by it again today in another project.
username_1: @username_0 no progress yet, sorry. It's hard to find time to work on OSS these days. I'll try to look into it later this week but can't promise anything :(
username_0: @username_1 FYI we worked around this by using a database view instead of combining multiple tables in Ruby, so no rush to fix! Thanks. |
reo11/papers100knock | 740314975 | Title: CheXbert: Combining Automatic Labelers and Expert Annotations for Accurate Radiology Report Labeling Using BERT
Question:
username_0: ## 概要
放射線画像診断書から所見のラベル(骨折、骨緻密化?、異常なしなど)を抽出するモデル。BERTベースのモデルをルールベースで抽出したラベルで学習し、放射線医師が付与したラベルでFine Tuneすることで精度を高める(エキスパートがアノテーションしたデータを活かすためBack-Translationも加えている)。
## 投稿年/会議
2020年/EMNLP2020
https://arxiv.org/abs/2004.09167
## 著者/所属機関
<NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
- Stanford University
## 参考リンク
https://www.gitmemory.com/issue/arXivTimes/arXivTimes/1928/719855554
## その他メモ
<issue_closed>
Status: Issue closed |
perkodi-org/perkodi | 381160908 | Title: Notulen Rapat 15 Nov 2018
Question:
username_0: <img src="https://user-images.githubusercontent.com/157515/48686975-94bf2280-ebf1-11e8-9b47-2633d6f1fdd4.jpg" width="300" />
Peserta:
- @ariestiyansyah
- @AzioArv
- @username_0
- @giosakti
- @waruboy
Diskusi:
- Buat LPJ untuk Pycon 2018
- Rekening kedua bank Mandiri diproses, kalau berjalan dengan baik seharusnya langsung muncul di internet banking
- buat proposal mengajukan untuk menggunakan nama Perkodi ketika Pycon kemarin (kalau internet banking rekening kedua sudah siap, seharusnya tidak perlu)
- RubyConf 2019
- Buat Telegram Group untuk panitia (Privat)
- Ticketing pakai Loket
- Tempat:
- Kalbis
- Prasetya Mulya
- Senayan City (KMK)
- Kasablanka Hall
- Konsep acara:
- 2 hari
- Full Workshop / LT
- Invitation speakers
- 1 track
- fokus ke topik pemula
- pigeonhole.at utk kumpulkan Q&A
- 10-11 Agustus (cek kalender liburan kampus: UI, Gunadarma, Binus, ITB)
- Membahas kandidat pembicara yang diundang (Dibagikan Privat pada grup)<issue_closed>
Status: Issue closed |
sthgrau/greasonable | 123512489 | Title: collection of broken youtube urls
Question:
username_0: https://www.youtube.com/watch?feature=player_detailpage&v=Yzht2_41caU#t=76
Answers:
username_0: These seem to check out now that I have simplified the logic, only allowing certain parameters instead of whatever.. Closing for now..
Status: Issue closed
username_0: https://www.youtube.com/watch?feature=player_detailpage&v=Yzht2_41caU#t=76
https://www.youtube.com/watch?v=zfm_qtMOz7E&feature=youtu.be&t=1h12m41s
http://m.youtube.com/watch?v=eE6QzDrT_x8
https://www.youtube.com/watch?v=z4Z6K9RSTK4#t=252
Is trying to display, but shouldn't
http://www.youtube.com/user/ReasonTV
username_0: I think the time needs to be translated to seconds
https://www.youtube.com/watch?v=TwwPUtz1el8&feature=youtu.be&t=1m5s
Status: Issue closed
username_0: converted to seconds.. appears to work
username_0: http://reason.com/reasontv/2017/07/13/game-of-thrones-the-libertarian-edition#comment_6901218
username_0: https://www.youtube.com/watch?feature=player_detailpage&v=Yzht2_41caU#t=76
https://www.youtube.com/watch?v=zfm_qtMOz7E&feature=youtu.be&t=1h12m41s
http://m.youtube.com/watch?v=eE6QzDrT_x8
https://www.youtube.com/watch?v=z4Z6K9RSTK4#t=252
Is trying to display, but shouldn't
http://www.youtube.com/user/ReasonTV
username_0: Last one may have been a memory depletion issue. Reload worked ok |
ultimatedelman/sass-flexbox-mixin | 44926459 | Title: Version using the new compass/css3/flexbox module?
Question:
username_0: I really like this mixin. Unfortunately, it uses the old box module that has been deprecated for the last few releases of compass. Any chance you can update it to use the new flexbox module as its base?
Answers:
username_0: I'm not sure anyone is still interested in a Compass module, but I've finally fixed the thing properly with the new flexbox mixin. If there's still interest, I'll submit a PR.
username_1: @username_0 please release and let me know.
username_0: @username_1 Done. |
DefinitelyTyped/DefinitelyTyped | 408706045 | Title: [@types/google-cloud__datastore] Wrong export format with v3+
Question:
username_0: If you know how to fix the issue, make a pull request instead.
- [x] I tried using the `@types/xxxx` package and had problems.
- [ ] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
- [ ] I have a question that is inappropriate for [StackOverflow](https://stackoverflow.com/). (Please ask any appropriate questions there).
- [ ] [Mention](https://github.com/blog/821-mention-somebody-they-re-notified) the authors (see `Definitions by:` in `index.d.ts`) so they can respond.
- Authors: @beaulac @username_1 @ogawa0071
If you do not mention the authors the issue will be ignored.
This [line](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/10bc3fc48a5f762ecf57cf007484eec3cd3f63f6/types/google-cloud__datastore/index.d.ts#L12) should be `export const Datastore = Datastore;` to match the [v3 export format](https://github.com/googleapis/nodejs-datastore/blob/7d9f77fd0f6c13bbb05723bcd30844a47cd19f85/src/index.ts#L805).
I try using this package with the latest `@google-cloud/datastore` and I get this error:

If I'm right, I'll be happy to make a PR to fix that.
Thanks for the typings. 👍
Answers:
username_1: The repository supplies its own types now, since it is written in Typescript. I think the current types can be deprecated with a message saying as much. Of course these types can be updated, but ideally we wouldn't do double work. Do you use the `DefinitelyTyped` version with a reason?
Status: Issue closed
username_0: Yeah indeed you are right, I didn't look thoroughly enough in the package. I didn't find an `index.d.ts` at the package root so I thought it was not supplied. I guess that's just VSCode that pick it up for some reason.
username_0: The problem seems that `@google-cloud/datastore` does not declare a `typings` or `types` field in the package.json hence why the types are not picked up. |
GinaKui/contact-book | 501733128 | Title: Exposed mongodb+srv credentials
Question:
username_0: **Potential security breach**. Verified credentials in URL `*redacted*:*<EMAIL>` in file [/config/default.json](https://github.com/username_1/contact-book/blob/master/config/default.json)<br/><br/>You should recycle your credentials immediately and move secrets to environment variables to prevent them being committed to GitHub.
Answers:
username_1: the credential is recycled. Thanks!
Status: Issue closed
|
blackholll/loonflow | 837226347 | Title: 启动后网页显示500报错
Question:
username_0: ## ISSUE TEMPLATE
使用的版本:1.0.13
问题详细描述:python manage.py runserver 0.0.0.0:8888 启动后 访问管理端显示500报错
是否查看了系统日志(默认在启动用户家目录下loonflow.log):未找到log文件
是否搜索过历史issue:是
做过哪些尝试:
Answers:
username_1: 1.管理端指的是哪里? 访问地址和截图看下
2.用什么用户启动的? 去哪个目录没有发现日志文件
3.控制台也没有异常信息输出么
username_0: 1.就是访问loonflow的页面
2.用管理员用户启动的,找到loonflow.log文件了 里面是空日志
3.控制台没有任何输出

username_1: 在当前服务器上 新建个终端,在命令行中curl http://127.0.0.1:8000看下两个终端的输出
username_0: 都没有输出。。。

Status: Issue closed
|
Adobe-CEP/CEP-Resources | 221982184 | Title: node.js implementation inquiry
Question:
username_0: Currently, extensions utilize io.js v1.2.0
This is quite out-of-date, and I was curious if there is any plan to update to a more modern version of node this year. Additionally, would it be reasonable to expect the node.js version to be updated simultaneously with all Adobe products, or would it happen on a product-by-product basis?
Very curious, cheers!
Answers:
username_1: Yes, we do have the plan for upgrading the nodejs version to 7.5 or higher in the upcoming CEP 8.0 release. CEP is a component for Adobe host applications, so it's the host application's decision to integrate CEP in to their product release. This way, each host application might release CEP 8.0 with different timelines. You can expect Adobe products with above mentioned nodejs version in post June releases.
We also have the plan for upgrading nodejs, Chromium and CEF in shorter timeline going forward.
Status: Issue closed
|
sacloud/sakuracloud_exporter | 550598605 | Title: Exporter now returns UnmarshalJSON error when getting ProxyLB information
Question:
username_0: version: 0.6.0
Stack trace:
```console
panic: interface conversion: interface {} is nil, not string
goroutine 185 [running]:
github.com/sacloud/libsacloud/v2/sacloud/naked.(*ProxyLBCertificates).UnmarshalJSON(0xc00008e480, 0xc000356018, 0x1641, 0x1de8, 0x7f2b6dfeb020, 0xc00008e480)
/go/pkg/mod/github.com/sacloud/libsacloud/[email protected]/sacloud/naked/proxylb.go:144 +0x690
encoding/json.(*decodeState).object(0xc0004acbe0, 0xac6800, 0xc000305bb0, 0x196, 0xc0004acc08, 0x7b)
/usr/local/go/src/encoding/json/decode.go:611 +0x2336
encoding/json.(*decodeState).value(0xc0004acbe0, 0xac6800, 0xc000305bb0, 0x196, 0xac6800, 0xc000305bb0)
/usr/local/go/src/encoding/json/decode.go:381 +0x6e
encoding/json.(*decodeState).object(0xc0004acbe0, 0xa6a8c0, 0xc000305ba0, 0x16, 0xc0004acc08, 0xc00068537b)
/usr/local/go/src/encoding/json/decode.go:763 +0x18bc
encoding/json.(*decodeState).value(0xc0004acbe0, 0xa6a8c0, 0xc000305ba0, 0x16, 0xc0004b9c40, 0x6f44ec)
/usr/local/go/src/encoding/json/decode.go:381 +0x6e
encoding/json.(*decodeState).unmarshal(0xc0004acbe0, 0xa6a8c0, 0xc000305ba0, 0xc0004acc08, 0x0)
/usr/local/go/src/encoding/json/decode.go:179 +0x209
encoding/json.Unmarshal(0xc000356000, 0x16bf, 0x1e00, 0xa6a8c0, 0xc000305ba0, 0xc0004b9ba0, 0x0)
/usr/local/go/src/encoding/json/decode.go:106 +0x123
github.com/sacloud/libsacloud/v2/sacloud.(*ProxyLBOp).transformGetCertificatesResults(0xc0001a94a0, 0xc000356000, 0x16bf, 0x1e00, 0x3, 0xc00005e5b0, 0x6f)
/go/pkg/mod/github.com/sacloud/libsacloud/[email protected]/sacloud/zz_api_transformers.go:4173 +0x6e
github.com/sacloud/libsacloud/v2/sacloud.(*ProxyLBOp).GetCertificates(0xc0001a94a0, 0xcbcfc0, 0xc000231c40, 0x1a556bfb13, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/sacloud/libsacloud/[email protected]/sacloud/zz_api_ops.go:7069 +0x380
github.com/sacloud/sakuracloud_exporter/iaas.(*proxyLBClient).GetCertificate(0xc0001bf430, 0xcbcfc0, 0xc000231c40, 0x1a556bfb13, 0x0, 0x0, 0x0)
/go/src/github.com/sacloud/sakuracloud_exporter/iaas/proxy_lb.go:42 +0x51
github.com/sacloud/sakuracloud_exporter/collector.(*ProxyLBCollector).collectProxyLBCertInfo(0xc00024d600, 0xc00047e060, 0xc00050a280)
/go/src/github.com/sacloud/sakuracloud_exporter/collector/proxy_lb.go:257 +0x6d
github.com/sacloud/sakuracloud_exporter/collector.(*ProxyLBCollector).Collect.func1.4(0xc00024d600, 0xc00047e060, 0xc00050a280, 0xc0003e3dd0)
/go/src/github.com/sacloud/sakuracloud_exporter/collector/proxy_lb.go:168 +0x3f
created by github.com/sacloud/sakuracloud_exporter/collector.(*ProxyLBCollector).Collect.func1
/go/src/github.com/sacloud/sakuracloud_exporter/collector/proxy_lb.go:167 +0x436
```<issue_closed>
Status: Issue closed |
phpspec/phpspec | 48268250 | Title: PSR4 Support issue/improvement (2.1@dev)
Question:
username_0: I was experimenting a bit with the new PSR4 support in a sandbox repo:
https://github.com/MarcoDeBortoli/psr4spectest
Everything seems to work pretty much as expected with the exception of PhpSpec adding an additional spec folder to the path when describing the specification. As you can see in the repo the PSR4 specification is created in:
`spec/classes/spec/`
rather then in:
`spec/classes/`
Where I would expect them because of the way the namespace has been specified and the source code located. Possibly I did something stupidly wrong with the YAML configuration or maybe I just spot a bug generated by some legacy behaviour.
Is there any workaround for it? Am iI missing something?<issue_closed>
Status: Issue closed |
atlassian/react-beautiful-dnd | 539872805 | Title: Dragable disapears from context
Question:
username_0: Hi,
I have this repo https://github.com/username_0/dnd-test
with some dinamic dragable components using HOCs. There a problem with de DnD that throws this error:
react-beautiful-dnd
Unable to find draggable with id: FU9fcUhJC👷 This is a development only message. It will be removed in production builds.
I can DnD consecutive indexes, i mean from 0 to 1, from 2 to 1 etc..., but when i DnD from 2 to 0 it breaks, and then i cant drag some element anymore.
Answers:
username_1: Hi @username_0,
Thanks for raising this issue! Can you please create a standalone example on codesandbox.io using our boilerplate: https://codesandbox.io/s/k260nyxq9v
Without a standalone example, we will not be able to action this one
Cheers!
username_0: Thank you.
Here it is, i hope it is ok:
https://codesandbox.io/embed/vertical-list-zfcrq?fontsize=14&hidenavigation=1&theme=dark
username_2: I am facing the same issue as described by @username_0 .
username_3: I am also facing this issue.
It seems to be caused by draggableAPI.update. When changing the order it gets run twice. On the first run it removes one of the elements from the entries and overwrites the second one. On the second run it should add back the deleted entry, but it does not, because the unique IDs don't match.
username_3: Problem solved: one of the elements was missing the "key" property, so make sure the keys are always consistent.
username_4: @username_3 can you please elaborate a bit more?
what element was missing the "key" property? the Draggable component?
If you have a code example it would be very helpful.
username_3: <div>
{data.map((a, idx) => <Element idx={idx} {...a} />)}
</div>
{provided.placeholder}
</div>
)}
</Droppable>
)
```
The error is that
```
{data.map((a, idx) => <Element idx={idx} {...a} />)}
```
would have to be:
```
{data.map((a, idx) => <Element key={a.id} idx={idx} {...a} />)}
```
Otherwise React will reuse the elements upon reordering the items so that it will confuse the draggableAPI update algorithm. The key has to be unique to that element and stay constant.
username_5: React should warn you if you are doing this. Would it be worth rbd adding a warning as well?
username_3: Yes, there is a warning and the key should be set, but it is not immediately obvious that it affects sorting that way and gives an impression that it is a bug. The easiest would be to just add it to the "Unable to find draggable with id" message.
username_5: I'll see if I can add some more helpful debugging information
username_5: We cannot really tell if the draggable component is supposed to have a key or not. Technically you can wrap a Draggable in other components. In which case they would need to have the key on it.
So from a draggable we cannot tell if a missing key is correct / incorrect
username_6: Side comment guys, I had the same bug because I accidentally passed different things to the draggableId and key.
It did work the first element, but later if I try to move the first element, it said it can not found.
Specifically (see key={**index**} below):
```
<DragDropContext onDragEnd={this.handleDragEnd}>
<Droppable droppableId="options">
{(provided) => (
<div {...provided.droppableProps} ref={provided.innerRef}>
{ this.state.options.map((option, index) =>
<Option key={index} option={option} ...
```
and (see draggableId={**this.props.option**})
```
export default class Option extends React.Component<OptionProps, OptionState> {
render() {
I18n.setLanguage(this.context.language);
I18n.putVocabularies(strings);
return (
<Draggable draggableId={this.props.option} index={this.props.index}>
```
The problem gets solved once I adjust the key to match the draggable, i.e.: <Option key={**option**}
Hope it can help.
username_7: This solved my issue. The draggableId should match the key of the component
Thanks man.
username_8: @username_3 thanks man! you saved my 2 hours.
username_9: This answer solved the issue for me, just add `key` prop to your `draggable` component with the same value as the element `id`.
username_10: Please solve this. There is no obvious reason why "key" and "draggableId" have to be the same value.
Cost me 2 hours to find out why there are "consecutive key" and "id not found" errors all over the place.
While we're at it: I consider the necessity to provide consecutive indexes to the component superfluous - why should this be required for a user to provide? The library should maintain these indexes - at least if they are not provided.
Apart from that, its a very good library and it saved me some days after all.
username_11: This solved to error for me 🎉🎉. Thanks ! |
hibiken/react-places-autocomplete | 416052491 | Title: onBlur event handler
Question:
username_0: *feature*
It would be great if you add onBlur event handler.
It could help in situation, when user clear the field and we can render the old value from redux store when focus is out of field.
Answers:
username_1: You should be able to pass it as a part of argument to `getInputProps`.
This function will return the props that you can spread over the <input /> element. You can optionally call the function with an object to pass other props to the input.
```jsx
<input
{...getInputProps({
placeholder: 'Search Places ...',
className: 'location-search-input',
onBlur: () => { /* your blur event hander logic */},
})}
/>
```
Status: Issue closed
|
pkgcore/pkgcore | 102606708 | Title: pmaint sync: no longer able to sync as non-root
Question:
username_0: Long story short, the fix of conditionals/fallbacks in `_exec()` resulted in `setuid()` no longer ignoring UID 0 :). As a result, the default of syncing using root account is now passed through to _exec, effectively breaking syncing using non-root user.
Answers:
username_0: By the fix, I mean a5424040a400a8cb719697.
username_1: Is there some reason pkgcore.sync.base.split_users() defaults to the root uid if the uri doesn't set a local user? Seems like the current process’s uid would make more sense in this case.
Status: Issue closed
|
gafusion/omas | 612045184 | Title: Add new nbi plot
Question:
username_0: @username_1 Can you point me to the right workflow for adding a plot for NBI related stuff in an ODS? I want to plot beam powers/voltage/energy fraction per 'energy harmonic' vs time and possibly also top-down and poloidal cross-section plots.
Answers:
username_1: The general strategy I recommend is:
1. Add a method for putting minimal sample NBI data into an ODS in https://github.com/gafusion/omas/blob/master/omas/omas_sample.py
2. Add a method for loading NBI data from MDS into an ODS to https://github.com/gafusion/OMFIT-source/blob/unstable/omfit/classes/omfit_omas_d3d.py or `omfit_omas_east.py` or `omfit_omas.py` (if it's general, which given what I know about DIII-D vs KSTAR NBI setups and pointnames, is probably not worthwhile.)
3. Add the relevant plot methods to https://github.com/gafusion/omas/blob/master/omas/omas_plot.py
4. While developing 3, also develop a test using the sample data and the plot method in https://github.com/gafusion/omas/tree/master/omas/tests
Of course, you could put the plot method in OMFIT instead if you wanted to, but it keeping the hardware overlay methods in OMAS worked pretty well for me. When OMAS attaches methods to ODS, it adds prefixes to their names. So the methods as defined in the script don't start with `plot_`, for example; that gets added. |
italodeandra/behaviortree-designer | 1027199431 | Title: Reorder child nodes
Question:
username_0: When a node has children:

And I want to reorder them:

I currently need to manually change the edge values:

The idea is to have two new buttons on the Sidebar:

That when clicked will automatically reorder the child. |
rzander/sccmclictr | 257723945 | Title: Can't Use Extracted MSI File - Requires Bootstrapper
Question:
username_0: Hi @username_2
I have 1.0.3.8 EXE and I extracted the contents to a folder using this command:
Client.Center.for.Configuration.Manager_v1.0.3.8.exe /extract:T:\CC2012
All good.
Then I tried to use the 64-bit MSI and I can't. When you try and execute it this error appears:

How do we get around this?
I want to host the MSI as an SCCM application and use command line options per standard to install and configure.
Thanks.
Answers:
username_0: e.g. command line:
msiexec.exe /i "Client Center for Configuration Manager_v1.0.3.8.x64.msi" /qn /l*v "%windir%\Install_Client_Center_for_SCCM_1.0.3.8_x64.log" CONSOLEEXTENSION=FALSE TRANSFORMS="CCCM_mytransform.mst"
username_1: To install the MSI only (without bootstrapper), add SETUPEXEDIR=1 on the msiexec command line
It's case sensitive.
username_0: Hi All, apologies for the silent air. :-) I logged this issue then went on holidays. I will use the information and report back soon.
Thanks for your response @username_1 .
Status: Issue closed
username_2: Fixed when using Parameter SETUPEXEDIR=1 |
ARMmbed/mbed-os-example-tls | 306960619 | Title: [OoB_5.8]: Example does not compile in online compiler
Question:
username_0: Steps to reproduce:
1. Import example via GitHub URL.
2. Switch to "feature-opaque-key" branch.
3. Select K64 as target.
4. Compile.
Expected output:
Example builds and generates binary.
Actual output:
Example does not build. Screenshot below.

Answers:
username_0: cc @mazimkhan
username_1: @username_3 - Given this related to opaque key handling, can we close it?
username_2: ARM Internal Ref: IOTSSL-2424
username_3: The opaque keys work will be delivered differently as part of [Mbed Crypto](https://github.com/ARMmbed/mbed-crypto). Closing.
Status: Issue closed
|
balladeop52no4/SQL_Notes | 738431251 | Title: 進階查詢技巧
Question:
username_0: #
## 子查詢
- SELECT SELECT 裡面在有 SELECT
#### 案例
找出人口比巴西多的國家
- 一般情況下,會使用兩個查詢:
```
//先找出巴西的人口數
SELECT Population
FROM world.country
WHERE Name = 'Brazil';
//再設下條件查詢人口數比巴西多的國家
SELECT Name
FROM world.country
WHERE Population > 170115000;
```
- 子查詢的方式
```
SELECT Name
FROM world.country
WHERE Population > (SELECT Population
FROM world.country
WHERE Name = 'Brazil');
```
其實就是在語句排版上做變形
#### 練習1

```
SELECT Continent,
Name
FROM world.country
WHERE Continent IN (SELECT Continent
FROM world.country
WHERE Name IN ('Argentina', 'Australia'));
```
#### 練習2

```
SELECT personName, ppg
FROM nba.nba_players
WHERE ppg > (SELECT ppg
FROM nba.nba_players
WHERE personName IN ('<NAME>'))
ORDER BY ppg DESC;
```
#### 練習3

```
SELECT teamShortName, confName
FROM nba.nba_teams
[Truncated]

### 函數可以連結文字 -> CONCAT( )

<br>
## 聚合函數
###
## GROUP BY
## HAVING
## UNION
## JOIN |
botmakers-net/bot-templates | 291728157 | Title: Beta User SignUp Bot Template for Startups
Question:
username_0: Sign up new users for your upcoming product, Share updates about product, Collect feedback from beta users
#chatfuel
https://botmakers.net/chatbot-templates/beta-user-signup-bot-template-for-startups |
rdkmaster/jigsaw | 278890252 | Title: 表格列头排序按钮状态异常
Question:
username_0: http://localhost:4200/table/local-paging-data

Answers:
username_1: 这不是一个bug,是因为table目前还不支持默认排序功能
username_1: Related issue #582
Status: Issue closed
|
Hopsan/hopsan | 990768861 | Title: Read system parameters from excel sheet
Question:
username_0: **Is your improvement request related to a problem? Please describe.**
*Excel is very convenient for storing parameter data and provides a nice overview. Big risks occur, however, when the same data is located in several places, which is the case when Excel is used as a database for a Hopsan model.*
**Describe the solution you'd like**
*I think it should be possible to load system parameters from an excel file. I also think it should be possible to save the current system parameter set in an excel file. This makes it easier to start using it, since the correct format will be provided from Hopsan.
In Hopsan, I would like to have 2 buttons, one called something like "Load from excel sheet", and another called something like "save current parameter set to excel sheet"*
Answers:
username_1: Would it be sufficient to use CSV files instad of regular Excel files (XLSX)? I see several advantages:
1. It is much easier to read a CSV file than an XLSX file (which is a actually zipped XML-file)
2. CSV is supported by many other tools as well
3. CSV is a more robust solution for the future, since the format will not change with e.g. new versions of Excel
4. We already have this feature for hopsancli, it just needs to be added to hopsangui as well
The format of the CSV file will then just have the parameter identifiers (System|Component#Parameter) in the first column and the parameter value in the second.
username_1: Another nice feature would be to actually link the parameters to the external file, so that they are automatically updated before starting each simulation. Affected parameters should then be greyed out in the component properties dialog, to avoid confusion.
username_0: **Is your improvement request related to a problem? Please describe.**
*Excel is very convenient for storing parameter data and provides a nice overview. Big risks occur, however, when the same data is located in several places, which is the case when Excel is used as a database for a Hopsan model.*
**Describe the solution you'd like**
*I think it should be possible to load system parameters from an excel file. I also think it should be possible to save the current system parameter set in an excel file. This makes it easier to start using it, since the correct format will be provided from Hopsan.
In Hopsan, I would like to have 2 buttons, one called something like "Load from excel sheet", and another called something like "save current parameter set to excel sheet"*
username_1: As I understand it, it should be possible to link a "real" Excel sheet to a CSV file so that the CSV file is updated automatically when the data in the XLSX file is changed. That CSV file could then in turn be linked to a Hopsan model. I have not actually tried this though.
My vision is that the linked parameters should be grayed out, maybe also with some label indicating that it is linked to a csv file. That should hopefully prevent any confusion.
username_1: I have been looking a little more into this. There are several libraries on GitHub that can read data from XLSX files. This would make it possible to assign a parameter in Hopsan to a cell in an Excel workbook, for example as `c:/path/file.xlsx:Sheet1!E17`. The value would then be evaluated at the beginning of every simulation.
Unfortunately, none of these libraries are header-only; they all need to be compiled. This is most likely because XLSX files are zip archives that needs to be unzipped. The problem is that this feature needs to be added to hopsancore, where we want to avoid compiled dependencies. If we add it to hopsangui only, models with this feature will not work in e.g. hopsancli or exported FMUs.
What is your opinion @peterNordin? Should we try to add the source files manually and compile them together with hopsancore, just like we do with Sundials? |
chirag-maniar/Selenium | 489559204 | Title: fu testing
Question:
username_0: |Property | Value|
|------------ | -------------|
| Device | iPhone XR |
| Browser | Mobile_chrome |
| Operating System | iOS 12.0 |
| Resolution | 828 x 1792 px |
| Screen size | 6.1 in - 2.56 x 5.54 in |
| Viewport | 414 x 896 dp |
| Aspect Ratio | 19.5 : 9 |
**Screenshot Attached**
[Screenshot URL](https://live-fu.bsstag.com/issue-tracker/1822819dd294bfaf0421feceae4dfda07aa3abb6/realios_iPhone_XR.jpg)
 |
godotengine/godot | 349809292 | Title: Godot GLES2: Buggy Crashes (Strange Results on Different OS)
Question:
username_0: <h1 align='center'>GODOT CONFLICTS/CRASHES DUE TO GLES2</h1>
<hr>
_After the GLES2 Backend for Godot has been merged, I've observed a strange error and Crashes in Godot which I think that the Developers are not able to Reproduce, so I've started a new issue so that the Developers can understand if there is a single Issue with it which is happening to many users with different Error Messages. I further Observed a strange error in Different OS which I'll explain shortly here._
<hr>
<h3>Godot Custom Build: 12th August 2018</h3>
<p align='justified'>
I downloaded the 2 Versions of Godot one for Linux and another one for Windows 7 (32 bit). Then the problem occurred and the Steps that I've performed have been summarized below:
- <h4><b>Windows</b></h4>
I downloaded the Windows 32 bit Version of Godot from the Hugo Daily Builds. I first ran that. The Godot Crashed by giving an error Message that GLES3 is not supported in my PC and it'll self Destruct. Then after that I Ran it on Command Prompt window:
```
godot_custom.exe --editor --path "./project/files/" --video-driver GLES2
godot_custom.exe --video-driver GLES2
godot_custom.exe --video-driver GLES2 --debug
```
To my bad luck, none of them did worked. I tried watching the console for any error messages or any other type of info. Only thing it showed was that hdpi aware? and next line line was something like this - OpenGL Debugging not supported and the splash Screen of Godot did Greyed and I was unable to even select any one window of it and an windows Crash Reporting also came there.
The main issue was to reproduce the problem, if something didn't even start (not even console), then how can I give the error messages and warning to reproduce the problem?
- Linux 64 bit
On, the same Device with Debian Linux. I tried Downloading and running the Linux version. Finally, I was able to record the Error Message about crash (on the same PC). It showed more Lines than Windows.
```
root@VAIO-PC:~/Downloads# '/root/Downloads/godot-linux-nightly-x86_64.AppImage' --video-driver GLES2
OpenGL ES 2.0 Renderer: Mesa DRI Intel(R) Ironlake Mobile
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
At: drivers/gles2/rasterizer_gles2.cpp:111.
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 16 Severity: High Message: GL_INVALID_OPERATION in glTexImage2D(bad target for depth texture)
[Truncated]
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
root@VAIO-PC:~/Downloads#
```
I've tested this on my New Laptop with GTX 1080, had same issue, it crashes without any warning.
<hr>
<h1 align='center'>TIMESTAMP DETAILS</h1>
I'd like to give some Details just before the Godot GLES2 Backend was merged (just 1 week before this), I've downloaded the Godot for both Windows and Linux and tried testing them (making a 2D game for Android), this worked! and there was grey screen in 3D Tab but 2D part and other features worked really well, which again Confirms that there are no issue with Drivers.
Other than that I tried Software Emulation to see what, the present 3D Version and the older one (which I've mentioned) worked well with Linux Mesa OpenGL Software Emulation.

**I did the best I think that from which I can tell the error, if something is missing then comment, I'll add those details soon, since the problem is not with Specific Hardware I don't know how to Add Steps of reproduction**
<hr>
Best Regards.
<hr>
Answers:
username_0: also as @karroffel suspected that there might be some problem with the drivers, so, I've updated my drivers -
```
root@VAIO-PC:~# glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile
OpenGL version string: 2.1 Mesa 18.1.4
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.1.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
root@VAIO-PC:~#
```
Plus, there are some other people too which've confirmed this strange thing that error repeats several times, you may see their Output similar to mine too - [click here to go to issue - #20734 ](https://github.com/godotengine/godot/issues/20734)
username_1: I have been fighting with this issue the last few weeks. I was able to ultimately get it to load but not sure why. After a lot of debugging and trial and error, here is what i did:
Issue 1 - glDrawArrays segfault kills application
https://github.com/godotengine/godot/blob/2005b0c820bac050e48c59f986e8e9fd3d7dce77/drivers/gles2/rasterizer_storage_gles2.cpp#L970
I ended up commenting out glDrawArrays(GL_TRIANGLE_FAN, 0, 4) in rasterizer_storage_gles2.cpp near line 970 in the sky_set_texture(RID p_sky, RID p_panorama, int p_radiance_size) function. Interesting enough I still see the sky rendered.
Issue 2 - (bad target for texture) This does not cause a fatal failure
Problem:
https://github.com/godotengine/godot/blob/60312915dc9c52d8dbf2b5cd6d28a9fcde92840e/drivers/gles2/rasterizer_scene_gles2.cpp#L2622
```
glTexImage2D(_cube_side_enum[i], 0, GL_DEPTH_COMPONENT, cube_size, cube_size, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, NULL);
```
The reason i think this does not work as expected from the opengl documentation
http://docs.gl/gl2/glTexImage2D
GL_INVALID_OPERATION is generated if target is not GL_TEXTURE_2D or GL_PROXY_TEXTURE_2D and internalFormat is GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32.
Hope this help get to the root of the issues, let me know how I can help figure this out.
username_2: There have been lots of fixes to the GLES2 backend since September, is this issue still reproducible?
username_3: I think this can be safely closed, please reopen if you find anything.
Status: Issue closed
username_1: I haven't be able to test my project lately. When I get back to it I will reopen this if the problem continues. Thank you for the update |
burzum/cakephp-file-storage | 343882002 | Title: error composer
Question:
username_0: Is it possible that there is a problem with cakephp:migrations when using composer to install? I am getting errors and can not install it. But I am using the latest cakephp...
Answers:
username_0: urzum/file-storage 1.1.3 requires cakephp/migrations ~1.0 -> satisfiable by cakephp/migrations[1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2, 1.2.1, 1.2.2, 1.3, 1.3.1, 1.3.2, 1.3.x-dev, 1.4, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1] but these conflict with your requirements or minimum-stability.
username_1: @username_0 show the whole command you're using to install it.
For 3.6+ you'll need to use the 2.0 branch.
Status: Issue closed
|
maixiaojie/maixiaojie.github.io | 292698328 | Title: 2017总结:你是时间的新欢和旧爱
Question:
username_0: ### 2017总结:你是时间的新欢和旧爱
时光如梭,一年光阴又匆匆地流逝了,今天是元旦放假前两天,在前几天的疯狂忙碌下,今天反而有时间静下心来写写博客。
2017,对我来说是一个转折点,算是正式步入社会的第一年,从毕业离开学校那一刻起,“学生”这个词就不是自己的一个代名词了,当然,“实习生”这个词也在逐渐从身上消失。相反的,“责任”、“能力”等等一系列词语会越来越沉的压在你的身上。
#### 毕业
每次离别都是那么伤感,我也不例外。毕业典礼上的最后一首歌,毕业后再也没有听过,因为能勾起太多悲伤的回忆,太多悲伤的场景。
毕业之后,好多同学、朋友还是保持着联系,觉得还是很欣慰,当然不出意外的话,会越来越少。所以,看淡些,该联系的总会联系的,而且,不联系也不能完全代表关系不好了还是别的什么。
#### 工作
总结几句话:
**“少废话,多做事。”**
说太多话,不一定会对自己有利的,或许无形中就说了不该说的话,影响别人。说该说的,不该说的就别瞎说。
**“Talk is cheap, show me the code!”**
本事和能力不是靠说出来的,要拿出东西来。
**“犯错不可怕,学会改变。”**
人本来就是会犯错的,学会去认识到错误,去改正,更是一个明智的选择。
**“不要太在意你不在意的!”**
你在意的东西可能会很多,当然,你不在意的东西也会很多,多花一些时间去在意你在意的,比起浪费时间去在意你不在意的东西,会更好一些。
**“不要给自己挖坑!”**
想象中的比现实中的要美好100万倍,盲目的提建议,做决定都是不负责任的表现,也会给自己挖下一个很大很大的坑。
以上几点,2017年或多或少都有一些经历,学会反思,进步就好。
#### 技术兴趣
2017,技术视野有所拓展,平时也会去关注很多非前端的东西,来源于内部的培训,产品发布会教授们和大佬们的发言,去听过的技术沙龙,技术分享,社区的分享等。让我对微服务、容器技术、云计算、边缘计算、IoT、NLP等新技术有了更深的了解,也会去关注背后实现的技术原理、方法。
前端的话,记得上次去TD参加FEE,学习到很多,在前端工程化、模块化还有很长的一段路要走。后来简单的学习了一些可视化的东西,全景展示,ar等等,希望以后有机会能实践,做些好玩的东西。
日常工作,除了前端的工作外,之前也做过一段时间的php开发,也做过调研,记得上个月做了两周的数据库同步方案,不过最后给CTO做报告的时候被否了,但是那两周收获很多,我觉得还是挺值得的。
这一年下来,发现自己最感兴趣的还是NLP和数据可视化,希望下一份工作能有机会好好挖掘下。
2017即将过去,2018继续成长。 |
allure-framework/allure-java | 248254615 | Title: Add plain link support to allure cucumber jvm feature file
Question:
username_0: [//]: # (
. Note: for support questions, please use Stackoverflow or Gitter**.
. This repository's issues are reserved for feature requests and bug reports.
.
. In case of any problems with Allure Jenkins plugin** please use the following repository
. to create an issue: https://github.com/jenkinsci/allure-plugin/issues
.
. Make sure you have a clear name for your issue. The name should start with a capital
. letter and no dot is required in the end of the sentence. An example of good issue names:
.
. - The report is broken in IE11
. - Add an ability to disable default plugins
. - Support emoji in test descriptions
)
#### I'm submitting a ...
- [ ] bug report
- [x] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
#### What is the current behavior?
Only @tmslink and @issue are supported as Allure2 report links, but not plain links like @Link("https://example.org")
@Link(name = "allure", type = "mylink")
#### If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
#### What is the expected behavior?
Support plain links written in cucumber .feature file. I'm referring to existing functionality, see TestNG/Links chapter from https://docs.qameta.io/allure/2.0/#_cucumber_jvm:
@Link("https://example.org")
@Link(name = "allure", type = "mylink")
#### What is the motivation / use case for changing the behavior?
To be able to link any free links and not just predefined type of links. This would be the major reason for us to change from Allure1 to Allure2!
#### Please tell us about your environment:
| Allure version | 2.3.01 |
| --- | --- |
| Test framework | cucumber.jvm |
| Allure integration | [email protected] |
| Generate report using | [email protected] |
#### Other information
@clicman is aware of the issue.
[//]: # (
. e.g. detailed explanation, stacktraces, related issues, suggestions
. how to fix, links for us to have more context, eg. Stackoverflow, Gitter etc
)<issue_closed>
Status: Issue closed |
stjudecloud/wdldoc | 992908112 | Title: Support for WDL development version
Question:
username_0: Hi,
Is there any support planned for WDL v1.1 and above?
I've got some WDL's in written in `version development` for which wdldoc reports validation error, but pass in `womtool validate`
Thanks
M
Answers:
username_1: Give the [newest release](https://github.com/stjudecloud/wdldoc/releases/tag/v1.7.1) a try. Development on this halted before v1.1 was released, so the version of `miniwdl` we had pegged didn't know how to parse any of those new features.
I just updated the `miniwdl` version, so it should correctly validate your WDL now.
If there's any unexpected behavior, or any WDL is incorrectly documented, let us know. We're not currently developing in WDL v1.1 (or development), so we won't know if anything is amiss.
Thanks,
-Andrew
Status: Issue closed
username_0: Hi,
True! I've updated everything to the latest version and all is well.
Thanks
M |
flutter/flutter | 321924486 | Title: Can't build release on iOS
Question:
username_0: I'm trying to build my app but I get this errors on ios
```
/Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:351:26: error: unknown receiver 'FIRSetOptions'; did you mean 'FIROptions'?
options:[FIRSetOptions merge]
^~~~~~~~~~~~~
FIROptions
In file included from /Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:7:
In file included from /Users/username_0/projects/IdeaProjects/serve_you/flutter/ios/Pods/Headers/Private/Firebase/Firebase.h:1:
In file included from /Users/username_0/projects/IdeaProjects/serve_you/flutter/ios/Pods/Headers/Private/FirebaseCore/FirebaseCore.h:21:
/Users/username_0/projects/IdeaProjects/serve_you/flutter/ios/Pods/Headers/Private/FirebaseCore/FIROptions.h:25:12: note: 'FIROptions' declared here
@interface FIROptions : NSObject <NSCopying>
^
/Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:351:40: error: no known class method for selector 'merge'
options:[FIRSetOptions merge]
^~~~~
/Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:350:17: error: no visible @interface for 'FIRDocumentReference' declares the selector 'setData:options:completion:'
[document setData:call.arguments[@"data"]
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:440:76: error: unknown receiver 'FIRSetOptions'; did you mean 'FIROptions'?
[batch setData:call.arguments[@"data"] forDocument:document options:[FIRSetOptions merge]];
^~~~~~~~~~~~~
FIROptions
In file included from /Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:7:
In file included from /Users/username_0/projects/IdeaProjects/serve_you/flutter/ios/Pods/Headers/Private/Firebase/Firebase.h:1:
In file included from /Users/username_0/projects/IdeaProjects/serve_you/flutter/ios/Pods/Headers/Private/FirebaseCore/FirebaseCore.h:21:
/Users/username_0/projects/IdeaProjects/serve_you/flutter/ios/Pods/Headers/Private/FirebaseCore/FIROptions.h:25:12: note: 'FIROptions' declared here
@interface FIROptions : NSObject <NSCopying>
^
/Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:440:90: error: no known class method for selector 'merge'
[batch setData:call.arguments[@"data"] forDocument:document options:[FIRSetOptions merge]];
^~~~~
/Users/username_0/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.6.3/ios/Classes/CloudFirestorePlugin.m:440:14: error: no visible @interface for 'FIRWriteBatch' declares the selector 'setData:forDocument:options:'
[batch setData:call.arguments[@"data"] forDocument:document options:[FIRSetOptions merge]];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 warnings and 6 errors generated.
Could not build the precompiled application for the device.
```
Answers:
username_1: /cc @username_14
username_2: I got past this part by making all those fixes locally, but then I get errors with some of the header files not existing too.
username_3: I am experiencing the same problem. Any advice on resolving this issue would be much appreciated.
Note that this is only happening when I attempt to build cloud_firestore.
username_4: I am experiencing this same problem. It's only happening when trying to build cloud_firestore.
username_2: FYI this seems to be fixed with the latest packages.
username_5: I just upgraded to cloud_firestore 0.7.2 and it broke my build. Can't build for iOS simulator at the moment.
```
Running pod install...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:80:42: warning: 'UIUserNotificationSettings' is only available on iOS 8.0 or newer [-Wunguarded-availability]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/tn/workspace/lstn/mobile/ios/Pods/Target Support Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked partial here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:79:1: note: annotate 'application:didRegisterUserNotificationSettings:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:95:44: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/tn/workspace/lstn/mobile/ios/Pods/Target Support Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:93:1: note: annotate 'application:didReceiveRemoteNotification:fetchCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:140:58: warning: this block declaration is not a prototype [-Wstrict-prototypes]
completionHandler:(nonnull void (^)())completionHandler;
^
void
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:148:49: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/tn/workspace/lstn/mobile/ios/Pods/Target Support Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
[Truncated]
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Private/Firebase/Firebase.h:13:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h:4:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h:323:57: note: passing argument to parameter 'completion' here
completion:(nullable FIRAuthResultCallback)completion;
^
/Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.m:188:43: error: incompatible block pointer types sending 'void (^)(FIRAuthDataResult *__strong, NSError *__strong)' to parameter of type 'FIRAuthResultCallback _Nullable' (aka 'void (^)(FIRUser * _Nullable __strong, NSError * _Nullable __strong)')
completion:^(FIRAuthDataResult *dataResult, NSError *error) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.10/ios/Classes/FirebaseAuthPlugin.h:7:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Private/Firebase/Firebase.h:13:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FirebaseAuth.h:4:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/FirebaseAuth/FirebaseAuth/FIRAuth.h:464:63: note: passing argument to parameter 'completion' here
completion:(nullable FIRAuthResultCallback)completion;
^
5 warnings and 4 errors generated.
Could not build the application for the simulator.
Error launching application on iPhone 8 Plus.
```
username_6: please add the output of `flutter doctor`
username_5: cloud_firestore 0.7.0+2 is fine, but if I move to 0.7.2 the build breaks with the following:
```
Launching lib/main.dart on iPhone 8 Plus in debug mode...
Running pod install...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:80:42: warning: 'UIUserNotificationSettings' is only available on iOS 8.0 or newer [-Wunguarded-availability]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/tn/workspace/lstn/mobile/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked partial here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:79:1: note: annotate 'application:didRegisterUserNotificationSettings:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:95:44: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/tn/workspace/lstn/mobile/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:37:
In file included from /Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:93:1: note: annotate 'application:didReceiveRemoteNotification:fetchCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:140:58: warning: this block declaration is not a prototype [-Wstrict-prototypes]
completionHandler:(nonnull void (^)())completionHandler;
^
void
/Users/tn/workspace/lstn/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:148:49: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/tn/workspace/lstn/mobile/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/tn/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.h:5:
[Truncated]
[batch setData:call.arguments[@"data"] forDocument:document merge:YES];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 warnings and 2 errors generated.
Could not build the application for the simulator.
Error launching application on iPhone 8 Plus.
```
```
22:12 $ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.4.2, on Mac OS X 10.13.4 17E199, locale en-KY)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
[!] VS Code (version 1.23.1)
[✓] Connected devices (1 available)
! Doctor found issues in 1 category.
```
username_7: The happens for me (username_5s post) but I'm also not able to fix it by down-/upgrading any dependencies
username_8: Same here. I'm getting:
```
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:115:45: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
@"oldIndex" : [NSNumber numberWithInt:documentChange.oldIndex],
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:116:45: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
@"newIndex" : [NSNumber numberWithInt:documentChange.newIndex],
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:160:21: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
[self writeSize:blob.length];
~ ^~~~~~~~~~~
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:270:7: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
transactions[transactionId] = transaction;
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:277:29: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
transactionResults[transactionId] = doTransactionResult;
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:284:14: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
return transactionResults[transactionId];
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:298:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:322:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:331:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:340:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:350:17: error: no visible @interface for 'FIRDocumentReference' declares the selector 'setData:merge:completion:'
[document setData:call.arguments[@"data"] merge:YES completion:defaultCompletionBlock];
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bernd/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:438:14: error: no visible @interface for 'FIRWriteBatch' declares the selector 'setData:forDocument:merge:'
[batch setData:call.arguments[@"data"] forDocument:document merge:YES];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 warnings and 2 errors generated.
Could not build the application for the simulator.
Error launching application on iPhone X.
```
These are my dependencies:
```
dependencies:
[Truncated]
dev_dependencies:
# flutter_test:
# sdk: flutter
# redux
build_runner: ^0.8.0
built_value_generator: ^5.2.0
source_gen: ^0.7.0
```
```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-NZ)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1)
[✓] Android Studio (version 3.1)
[✓] Connected devices (1 available)
• No issues found!
```
username_9: This worked for me:
```
rm -rf ~/Library/Caches/CocoaPods
rm -rf ios/Pods
pod update //in ios directory
```
username_10: I have the same problem. The Firebase for Flutter codelab does not compile for iOS because of cloud_firestore :(
username_2: I find deleting everything, eventually, works. I have to do it more than
once... I also have to turn on the option to let it compile with
non-modulare includes in a modular thing. The pod file generation from
flutter build always resets this back to no.
username_11: 'pod update' worked for me. I think those flutter libraries that use cocoapods to communicate with ios sometimes have changes to both the library and the pod. It's probably a best practice to do this every time you upgrade a library in the pubspec.yaml file.
username_6: Is this still an issue?
Did @username_9 's suggestion `pod update` in `ios/` not help for anyone?
username_0: from my point of view we can close this.
Status: Issue closed
username_12: The problem happens with me
`pod update` didn't help
username_13: Happens to me to. `pod install` solved some of the issues but it left me with one:
```
flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.3.4/ios/Classes/FirebaseCorePlugin.m:7:9: fatal error: 'Firebase/Firebase.h' file not found
#import <Firebase/Firebase.h>
```
username_14: @username_13 can you please file a new issue and include full steps the reproduce the compile error? thank you for your help.
username_13: I have no idea how it came about, and no way to reproduce. After furiously switching branches/ cleaning/ pod installing some more it worked again.
username_15: did the trick for me
username_16: @username_0
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/830. Any further collaboration will be done there. |
b0bst3r/Superstitions | 209286314 | Title: [Linux] Can't connect to server: Missing blocks and items
Question:
username_0: Bevos 3.2.0 on Minecraft 1.10.2
Can't connect to the server running same version with the following error:
http://paste.atlauncher.com/view/19747182
Windows client works just fine.
Before the last update everything was fine.
Answers:
username_1: Update server and client to be on same configs, that's caused by a mismatch in client/server configs.
Status: Issue closed
username_2: They were on the same config, of course.
That issue was because of case mismatch between path somewhere inside client config file and path in the filesystem, which is critical for case-sensitive filesystems, like ext4 I use on Linux.
NTFS is not case-sensitive, so on WIndows that issue hadn't manifested itself.
Sorry I haven't written here about my findings earlier.
Please note that case mismatch between paths in config and on the disk may cause such errors. |
TiagoSilvaPereira/vemto-issues | 751090713 | Title: [BUG] MS Windows issues a threat alert
Question:
username_0: MS Windows issues a threat alert

Answers:
username_1: Hello,
I don't know how much risk on it, but at least I can tell you the process of installation that actually you asked for.
Click the upper arrow mark(^) which is beside discard button. Then you will get two option: keep/learn more.
click on option(Keep). now it will start downloading vemto software. After completing your download, click on exe files.
now you will get a new window(windows protected you pc). click on "more info". now click "run anyway" button if you want to install. Hope, this will help you. Thanks.
username_1: Hello Federicoromani ,
I don't know how much risk on it, but at least I can tell you the process of installation that actually you asked for.
Click the upper arrow mark(^) which is beside discard button. Then you will get two option: keep/learn more.
click on option(Keep). now it will start downloading vemto software. After completing your download, click on exe files.
now you will get a new window(windows protected you pc). click on "more info". now click "run anyway" button if you want to install. Hope, this will help you. Thanks.
Status: Issue closed
username_2: Hi, @username_0 thank you for reporting... This alert is shown because Vemto doesn't have a Windows certificate yet. But don't worry, Vemto doesn't make any dangerous operation. If you want, you can try it on a Virtual Machine before using it on your main machine. Soon I'll acquire the Windows certificate to remove this alert. Thanks |
chips-blockchain/pangea-poker | 533867904 | Title: Winner's hole cards from the previous hand display after opponent folds
Question:
username_0: After the opponent folds, the hole cards of the previous hand get dispalyed of the winner. This happens only when there was a previous hand that reached Show Down.
The issue might be that `playerCards` does not get cleared properly.
https://share.getcloudapp.com/kpumEG7b/<issue_closed>
Status: Issue closed |
github-vet/rangeloop-pointer-findings | 772769319 | Title: InVisionApp/kit-overwatch: vendor/k8s.io/client-go/1.4/pkg/api/types.generated.go; 5 LoC
Question:
username_0: [Click here to see the code in its original context.](https://github.com/InVisionApp/kit-overwatch/blob/1ab95d60c27286dad4e5b2721af6a38ceadbac96/vendor/k8s.io/client-go/1.4/pkg/api/types.generated.go#L56256-L56260)
<details>
<summary>Click here to show the 5 line(s) of Go which triggered the analyzer.</summary>
```go
for _, yyv4457 := range v {
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
yy4458 := &yyv4457
yy4458.CodecEncodeSelf(e)
}
```
</details>
Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket:
See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information.
commit ID: <PASSWORD><issue_closed>
Status: Issue closed |
WagnerGroup/pyqmc | 451222520 | Title: Ewald summation object
Question:
username_0: This should be an object that:
__init__: uses a Cell object and initializes partial sums
ewald(configs): computes the ewald summed energy for a set of configurations.
QWalk has an implementation in Periodic_system which does the computation in O(N) time.
Answers:
username_0: Addressed by #123
Status: Issue closed
|
qjebbs/vscode-plantuml | 617409543 | Title: Remove version number from directory name in VS Code folder
Question:
username_0: I would like to link to your `plantuml.jar` for my build script that uses pandoc
```
"--metadata=plantumlPath:'/home/david/.vscode/extensions/jebbs.plantuml-2.13.9/plantuml.jar'"
```
but you have a version number that changes. Is there a reason for this? Can it simply be ommited? Thanks!
Status: Issue closed
Answers:
username_0: EDIT: I think it is automatically added, so I will close the issue.
In shell, I can just use `cd jebbs.plantuml*`, but not sure how to do it in VS Code tasks? |
backend-br/vagas | 794277087 | Title: [Remoto] Back-end Developer na Tatic (programa de trainee)
Question:
username_0: ## Descrição da vaga:
<p>Imagina se alguém fica louco e resolve te pagar uma grana para te ensinar sobre os temas mais TOPs do mundo tecnológico/digital? Que tal estudar sobre as tecnologias mais atuais e modernas do mercado e ainda receber um salário para isso?</p>
<p>Conheça o <strong>Programa de Trainee</strong> da Tatic!</p>
<p></p>
<p>Nesse programa os "recrutas" vão ter aulas sobre vários temas comuns do dia a dia das equipes de desenvolvimento. Vão participar das reuniões dos projetos, e receber mentoria com um time de feras em diversos temas da área de tecnologia. O programa tem a duração de 1 ano e a cada 3 meses os recrutas são avaliados e se aprovados, seguem para a próxima fase do programa.Durante o programa serão oferecidas várias aulas práticas de Banco de Dados, Webservices, Microserviços, Cloud Services, Algorítimos e Estruturas de Dados, Desenvolvimento Mobile com Flutter, Desenvolvimento Web e Linguagens de programação (Javascript, Typescript, GO, Kotlin e Java).Além de acompanhar o dia a dia de vários projetos, os recrutas também terão atividades ligadas aos diversos projetos da empresa no Brasil e no Exterior.</p>
<p></p>
<p>Que tal tudo isso e ainda ter a chance de sair contratado depois dessa aventura?</p>
<p>Certo, já falamos bastante mas vamos ao que interessa: quanto você vai receber por isso?</p>
<p></p>
<p>Veja o que oferecemos para nosso recrutas:</p>
<p></p>
<p><strong>Trainee Newbie</strong> -> R$1.200,00 + VR até o 3º mês*</p>
<p><strong>Trainee Beginner</strong> -> R$1.650,00 + VR a partir do 4º mês*</p>
<p><strong>Trainee Expert</strong> -> R$2.250,00 + VR a partir do 7º mês*</p>
<p><strong>Dev Junior </strong>-> R$3.000,00 + VR quando finalizar o programa*</p>
<p>* Todas as vagas são para trabalho 100% remoto. O valor do VR é R$22,00/dia</p>
<p></p>
<p>Ao formar no curso de graduação nós ainda turbinamos seu salário ;-)</p>
<p>Interessou? Fale com a gente!</p>
## Tatic:
<p>Com mais de 15 anos de experiência, a Tatic é uma empresa inovadora de tecnologia da informação. Nossos serviços e soluções irão modernizar sua arquitetura de dados e impulsionar a adoção da inteligência artificial na tomada de decisões de negócios: uma verdadeira parceria estratégica para o sucesso.</p>
<p>Os produtos e serviços Tatic atendem às necessidades de tratamento e armazenamento de grandes volumes de dados (big data e analytics). E hoje, grandes corporações em nível global já se beneficiam da nossa expertise para otimizar investimentos, reduzir custos operacionais, reter e fidelizar clientes e aumentar receita.</p><a href='https://coodesh.com/empresas/tatic'>Veja mais no site</a>
## Habilidades:
- Java
- Vue.js
- Go Lang
- Google Cloud
- Agile
- Node.js
## Local:
100% Remoto
## Requisitos:
- Cursando Ciência da Computação ou relacionados
- Disponibilidade de 6 horas diárias
## Benefícios:
- VR de R$ 22,00 / dia
- Horário flexível
- 100% remoto
## Como se candidatar:
Candidate-se em: [Programa de Trainee na Tatic](https://coodesh.com/vagas/programa-de-trainee-135109?origin=github&modal=open)
## Tempo médio de feedbacks:
Costumamos enviar feedbacks em até 48 horas após cada etapa do processo. E-mail para contato em caso de não haver resposta: [<EMAIL>](mailto:<EMAIL>)
## Labels
#### Alocação
Remoto
#### Regime
Estágio |
Dart-Code/Dart-Code | 798296297 | Title: Editing ARB files (terms export, synchronization)
Question:
username_0: **Is your feature request related to a problem? Please describe.**
With new l10n approach the only thing to worry about is to update .arb files in `l10n` directory. It's not ideal to edit the files manually and keep them in sync between various languages.
**Describe the solution you'd like**
As a user I would love to be able to:
- have a quick action to export selected string to template arb file

- automatically sync the terms between all present files (e.g. after adding to template, there should be new entries for all the other languages with empty values)
- add new arb file for desired language (e.g. by providing language code in prompt) that would automatically have all the entries present and empty
- notify me about missing translation entries when opening arb files (e.g. as analyzer info messages)
**Describe alternatives you've considered**
Similar feature is possible with Flutter Intl VS Code extension but it's tightly coupled with their localization system (e.g. generating custom localization delegate, sync with remote server).
Answers:
username_1: Does that do what you need? If so, perhaps it could be made easier to run from VS Code (at least if there's a convention about paths etc.)?
username_0: No, it's something different. This assumes that there's a class containing `intl`-based entries like:
```dart
String get appBarTitle {
return Intl.message(
'Sign Up',
name: 'appBarTitle',
desc: 'App bar title shown on Sign Up page',
);
}
```
However, with new [l10n approach](https://flutter.dev/docs/development/accessibility-and-localization/internationalization) there's no longer need to generate these manually, as it's done by the `flutter_localizations` in the background (these localization files are generated in `.dart-tool` directory after `pub get`, and the source files are based on the `l10n.yaml` config file and `arb` files in specified directory).
What I would like to have can be shown in this video:
https://user-images.githubusercontent.com/16854239/106932265-d4fa1500-6717-11eb-8fe8-b88511fa36b7.mp4
This action would result in new entry added in arb file, triggering `flutter_localizations` to regenerate localization classes, and string being replaced by this new key.
I started to play around on my own with sample VS Code extension to do it, but it would be awesome to have official support to even further simplify the localization process.
username_1: @username_2 I'm told you might be familiar with the localisation tools here so you might have some ideas about the current best practices. It sounds like the `intl_translation:extract_to_arb` tool works only with `Intl.message()` calls, though it may be more common to now use `AppLocalizations.of(context).helloWorld` instead?
Is it possible/likely that `intl_translation:extract_to_arb` would be extended in some way to support extraction using that format? (it seems like it might be difficult to extract them without all the info that was in the previous `Intl.message` calls?).
Are the file formats/locations static enough to have assists as shown in the screenshot at the top to add new strings to them? If the analysis server had some knowledge of these files, perhaps it could also have additional functionality such as go-to-definition and find-references working with the source files and not just the generated Dart; although there may be value in adding something simpler directly into VS Code in the short-term for the simple extraction case.
username_1: @username_2 any thoughts on the above?
username_2: @username_1 - sorry to have gone dark here, I'd overlooked [your comment on 2/11](https://github.com/Dart-Code/Dart-Code/issues/3112#issuecomment-777630350). Our current recommendation for localizing Flutter apps is described here: https://flutter.dev/docs/development/accessibility-and-localization/internationalization. It still begins with .arb files but is now based on an automatically generated localizations class and is not tied to the Dart intl package's tools.
username_1: **Is your feature request related to a problem? Please describe.**
With new l10n approach the only thing to worry about is to update .arb files in `l10n` directory. It's not ideal to edit the files manually and keep them in sync between various languages.
**Describe the solution you'd like**
As a user I would love to be able to:
- have a quick action to export selected string to template arb file

- automatically sync the terms between all present files (e.g. after adding to template, there should be new entries for all the other languages with empty values)
- add new arb file for desired language (e.g. by providing language code in prompt) that would automatically have all the entries present and empty
- notify me about missing translation entries when opening arb files (e.g. as analyzer info messages)
**Describe alternatives you've considered**
Similar feature is possible with Flutter Intl VS Code extension but it's tightly coupled with their localization system (e.g. generating custom localization delegate, sync with remote server).
username_1: **Is your feature request related to a problem? Please describe.**
With new l10n approach the only thing to worry about is to update .arb files in `l10n` directory. It's not ideal to edit the files manually and keep them in sync between various languages.
**Describe the solution you'd like**
As a user I would love to be able to:
- have a quick action to export selected string to template arb file

- automatically sync the terms between all present files (e.g. after adding to template, there should be new entries for all the other languages with empty values)
- add new arb file for desired language (e.g. by providing language code in prompt) that would automatically have all the entries present and empty
- notify me about missing translation entries when opening arb files (e.g. as analyzer info messages)
**Describe alternatives you've considered**
Similar feature is possible with Flutter Intl VS Code extension but it's tightly coupled with their localization system (e.g. generating custom localization delegate, sync with remote server).
username_1: Sorry for the long delay with this. I discussed this with someone on the Dart team and agreed the place to do something like this would be in the analysis server, by having it know about these arb files and be able to produce edits to add strings to them.
I've raised an issue at https://github.com/dart-lang/sdk/issues/46722 with some details from this issue (feel free to add anything I missed) and will close this one in favour of that. It would be quite difficult to do directly here in the extension as it doesn't have a good AST of the code (plus any solution here would only work for VS Code and not IntelliJ/Android Studio or any of the other LSP clients). Hope this makes sense!
Status: Issue closed
|
indico/indico | 985311631 | Title: Localization: Country names
Question:
username_0: **Describe the bug**
When registration includes list of contry names, it uses English versions of their names.
For an event held in a different language this is unpleasant.
**To Reproduce**
Steps to reproduce the behavior:
1. Create a conference with a participant registration
2. In participant registration form, see the values in the Country drop down menu
**Expected behavior**
Country names should respect the event language.
Answers:
username_1: Hm, tricky one. We get those country names from [pycountry](https://pypi.org/project/pycountry/) but AFAIK it only contains the English names.
The only solution I see there is generating a file with all the country names wrapped as translatable strings so they can get extracted for translation...
username_1: Oh nice, hadn't noticed that. That should make things much easier for sure.
username_2: I don't think `pycountry` is even needed. You have all that information already in `babel`. e.g.:
```python
In [40]: from babel import Locale
In [41]: cs_CZ = Locale('cs', 'CZ')
In [42]: cs_CZ.languages['gsw']
Out[42]: 'němčina (Švýcarsko)'
In [43]: cs_CZ.languages['pt']
Out[43]: 'portugalština'
```
username_1: For the country name you probably want `get_current_locale().territories.get(x)` with a fallback to the untranslated name (e.g. for custom countries defined via `CUSTOM_COUNTRIES` or countries that no longer exist (e.g. SU = Soviet Union))
username_3: The babel `Locale.territories` also include things like continents and regions. The continents can be easily flitered out since they don't use the alpha-2 codes, but then there are things like `EU - European Union` and `EZ - Eurozone` (seems weird, didn't find a mention of this in iso3166). Should we keep it in the list?
username_1: You'd still get the list from pycountry.. babel would just be used to look up a translated name.. Something like this:
`{code: locale.territories.get(code, name) for code, name in get_countries().items()}`
Status: Issue closed
|
vuematerial/vue-material | 278338029 | Title: Missing required prop: "to" found in md-bottom-bar-item ?????
Question:
username_0: `<md-bottom-bar md-sync-route>
<md-bottom-bar-item
to="/hot"
md-label="Home"
md-icon="home">
</md-bottom-bar-item>
<md-bottom-bar-item
to="/mobile"
md-label="Posts"
md-icon="perm_identity">
</md-bottom-bar-item>
<md-bottom-bar-item
to="/formDemo"
md-label="Favorites"
md-icon="favorite">
</md-bottom-bar-item>
</md-bottom-bar>`
my vue version is 2.5.2, thanks~
Answers:
username_1: Could you reproduce it on [Codepen](https://codepen.io)?
username_2: @username_0 Looks like you using older version where prop `to` doesnt exists.
Status: Issue closed
username_3: I encounter the same problem with `"vue-material": "^1.0.0-beta-7"`
project init by vue-cli script: `vue init pwa`,
```vue
// app.vue
<template>
<div id="app">
<router-view />
<md-bottom-bar >
<md-bottom-bar-item :to="'/home'" md-label="Home" md-icon="home"></md-bottom-bar-item>
<md-bottom-bar-item :to="'/issue'" md-label="Issue" md-icon="favorite"></md-bottom-bar-item>
</md-bottom-bar>
</div>
</template>
```
```js
// router
export default new Router({
mode: 'history',
routes: [
{
path: '/home',
name: 'home',
component: Home
},
{
path: '/issue',
name: 'issue',
component: Issue
}
]
})
```
I start a minimalist project with this part only, but problem is still there.
it can navigate to correct path when I click the item first time, but at the same time, it throws
```
[Vue warn]: Missing required prop: "to" vue.runtime.esm.js?ff9b:574
found in
---> <MdButton> at src/components/MdButton/MdButton.vue
<MdBottomBarItem> at src/components/MdBottomBar/MdBottomBarItem.vue
<MdRipple> at src/components/MdRipple/MdRipple.vue
<MdBottomBar> at src/components/MdBottomBar/MdBottomBar.vue
<App> at src/App.vue
<Root>
```
after that, items can also active or unactive when click, but the address in browser has no change,and throw this [Vue warning] twice at every click
is this a bug? what can I do
username_2: @username_3 try removing binding put only `to="/issues"`
username_3: @username_2 I've all tried, `to` or `:to`, not work either
username_3: now I have to use `router-link` instead `to`
```vue
<md-bottom-bar class="bottom-bar">
<router-link class="bottom-bar-item">
<md-bottom-bar-item>
</router-link>
...
</md-bottom-bar>
```
```css
.bottom-bar {
display: flex;
}
.bottom-bar-item {
flex-grow: 1;
}
.md-bottom-bar-item {
width: 100%;
}
```
username_2: can you check your package-lock? @username_3 because this issue looks like for version 0.8.x
username_3: @username_2
```json
"vue-material": {
"version": "1.0.0-beta-7",
"resolved": "http://registry.npm.taobao.org/vue-material/download/vue-material-1.0.0-beta-7.tgz",
"integrity": "sha1-zXu8kZ1LQ7cdkfr8m17a1Wvaoyc=",
"requires": {
"date-fns": "1.29.0",
"deepmerge": "2.0.1",
"fuzzysearch": "1.0.3",
"is-promise": "2.1.0",
"popper.js": "1.12.9",
"raf": "3.4.0",
"vue": "2.5.13",
"vue-ga": "1.0.0"
}
},
```
it's difficult for me to connect official npm (Great Firewall).
so we have to install dependences by Taobao mirror
`npm install --registry=https://registry.npm.taobao.org`
I'll try again CDN mode tomorrow, thanks
username_3: official `registry.npmjs.org` not work either, the same problem
```
"vue-material": {
"version": "1.0.0-beta-7",
"resolved": "https://registry.npmjs.org/vue-material/-/vue-material-1.0.0-beta-7.tgz",
"integrity": "<KEY>
"requires": {
"date-fns": "1.29.0",
"deepmerge": "2.0.1",
"fuzzysearch": "1.0.3",
"is-promise": "2.1.0",
"popper.js": "1.12.9",
"raf": "3.4.0",
"vue": "2.5.13",
"vue-ga": "1.0.0"
}
},
```
username_4: +1
Same problem =(
username_0: @username_3 我去,哥们你最后还是自己写的router-link嵌套么?我中间也用嵌套了,后来觉得麻烦,就滚回去用elementUI了,希望团队修复吧,material一些效果还是比较酷炫的,我用在react里面了,英文的官方文档还是看不习惯~emm.......
username_5: same problem here. vue version 2.5.13, vue-material version 1.0.0-beta-7 and vue dev tools showing the to prop is set.
<img width="340" alt="screenshot 2018-02-11 10 19 58" src="https://user-images.githubusercontent.com/12676504/36071839-6ee1f06a-0f15-11e8-9cf5-09acbca94226.png">
` "vue-material": {
"version": "1.0.0-beta-7",
"resolved": "https://registry.npmjs.org/vue-material/-/vue-material-1.0.0-beta-7.tgz",
"integrity": "<KEY>
"requires": {
"date-fns": "1.29.0",
"deepmerge": "2.0.1",
"fuzzysearch": "1.0.3",
"is-promise": "2.1.0",
"popper.js": "1.12.9",
"raf": "3.4.0",
"vue": "2.5.13",
"vue-ga": "1.0.0"
}
},`
username_6: @username_2 +1 Bug is not fixed. Still present on 1.0.0-beta-8.
username_2: ```vue
<md-bottom-bar md-sync-route>
<md-bottom-bar-item to="/hot" md-label="Home" md-icon="home"></md-bottom-bar-item>
<md-bottom-bar-item to="/mobile" md-label="Posts" md-icon="perm_identity"></md-bottom-bar-item>
<md-bottom-bar-item to="/formDemo" md-label="Favorites" md-icon="favorite"></md-bottom-bar-item>
</md-bottom-bar>
```
my vue version is 2.5.2, thanks~
username_2: @username_6 i cant reproduce it in our dev brach
username_6: I tried
`"dependencies": {
"nuxt": "latest",
"vue-material": "1.0.0-beta-8"
},`
and
` "dependencies": {
"nuxt": "latest",
"vue-material": "https://github.com/vuematerial/vue-material#dev"
},`
username_7: I get the same issue, created vue project using vue-cli `vue init pwa`
```
[Vue warn]: Missing required prop: "to"
found in
---> <MdButton> at src/components/MdButton/MdButton.vue
<MdBottomBarItem> at src/components/MdBottomBar/MdBottomBarItem.vue
<MdRipple> at src/components/MdRipple/MdRipple.vue
<MdBottomBar> at src/components/MdBottomBar/MdBottomBar.vue
<App> at src\App.vue
<Root>
```
`vue-material": "^1.0.0-beta-8",
"vue": "^2.5.16",`
```
<md-bottom-bar>
<md-bottom-bar-item to="/" md-label="Home" md-icon="home"></md-bottom-bar-item>
<md-bottom-bar-item to="/schedule" md-label="Schedule" md-icon="favorite"></md-bottom-bar-item>
<md-bottom-bar-item to="/animations" md-label="Animations" md-icon="favorite"></md-bottom-bar-item>
</md-bottom-bar>
```
username_2: @username_6 using version froom dev branch doesnt change anything because we doesnt recompile it everytime
username_8: This problem seems to have been fixed in 6860d3a004b09baef751724c0d9bf1ebdf92b752
username_2: This should be fixed in new version.
https://github.com/vuematerial/vue-material/releases/tag/v1.0.0-beta-10
Status: Issue closed
username_9: @username_2 The `to` prop still doesn't work for me in ^1.0.0-beta-10.2.
To get around this I just did this `<md-bottom-bar-item @click="$router.push('/')" md-label="Home" md-icon="home" />`. |
github-vet/rangeloop-pointer-findings | 771543465 | Title: kleveross/klever-model-registry: vendor/github.com/kleveross/ormb/pkg/oras/cache/cache.go; 73 LoC
Question:
username_0: [Click here to see the code in its original context.](https://github.com/kleveross/klever-model-registry/blob/c780e865c446edc5080d40f70d0dc20fc677c357/vendor/github.com/kleveross/ormb/pkg/oras/cache/cache.go#L88-L160)
<details>
<summary>Click here to show the 73 line(s) of Go which triggered the analyzer.</summary>
```go
for _, desc := range cache.ociStore.ListReferences() {
if desc.Annotations[ocispec.AnnotationRefName] == r.Name {
r.Exists = true
// Fetch the manifest.
manifestBytes, err := cache.fetchBlob(&desc)
if err != nil {
return &r, err
}
var manifest ocispec.Manifest
err = json.Unmarshal(manifestBytes, &manifest)
if err != nil {
return &r, err
}
r.Manifest = &desc
// TODO(gaocegege): Fetch the config.
r.Config = &manifest.Config
numLayers := len(manifest.Layers)
if numLayers != 1 {
return &r, errors.New(
fmt.Sprintf("manifest does not contain exactly 1 layer (total: %d)", numLayers))
}
// Fetch the content.
var contentLayer *ocispec.Descriptor
for _, layer := range manifest.Layers {
switch layer.MediaType {
case consts.MediaTypeModelContentLayer:
contentLayer = &layer
}
}
if contentLayer == nil {
return &r, errors.New(
fmt.Sprintf(
"manifest does not contain a layer with mediatype %s",
consts.MediaTypeModelContentLayer))
}
if contentLayer.Size == 0 {
return &r, errors.New(
fmt.Sprintf(
"manifest layer with mediatype %s is of size 0",
consts.MediaTypeModelContentLayer))
}
r.ContentLayer = contentLayer
info, err := cache.ociStore.Info(ctx.Context(cache.out, cache.debug), contentLayer.Digest)
if err != nil {
return &r, err
}
r.Size = info.Size
r.Digest = info.Digest
r.CreatedAt = info.CreatedAt
contentBytes, err := cache.fetchBlob(contentLayer)
if err != nil {
[Truncated]
if err != nil {
return &r, err
}
// TODO(gaocegege): Optimize the memory usage.
r.Model = &model.Model{
Content: contentBytes,
Config: configBytes,
Metadata: metadata,
}
}
}
```
</details>
Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket:
See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information.
commit ID: c780e865c446edc5080d40f70d0dc20fc677c357<issue_closed>
Status: Issue closed |
marmelroy/PhoneNumberKit | 199356278 | Title: Parenthesis in national number
Question:
username_0: Hi, Thanks for the excellent work on this library!
I've created a separate country picker and a PhoneNumberTextField for entering the national part. However when typing the number, the text field automatically adds parens to the first 3 digits. When I'm using phoneNumberKit.format(), I can set the toType to .international, and withPrefix none, which shows the national number correctly without parens (uses MetadataPhoneNumberFormat.intlFormat), but I've found no such option for PhoneNumberTextField. I've tried withPrefix false, but can't see the difference.
Is there a way to apply this format on PhoneNumberTextField as well?
Appreciate your support.
Gilad
Answers:
username_1: Hi Gilad,
Sorry for the delay with this. There's no current way to get that format with PhoneNumberTextField (and we don't have the regular expressions that will allow us to support it).
Status: Issue closed
|
TerryCavanagh/diceydungeons.com | 482122688 | Title: Jester crash when using the item from black market in parallel universe.
Question:
username_0: crashed: 2019-08-19 01:05:56
duration: 00:02:43
error: Null Object Reference
stack:
states.Combat.repeatlastaction (states/Combat.hx line 1595)
elements.Equipment.doequipmentaction (elements/Equipment.hx line 2138)
Reflect.callMethod (C:\coding\haxe\haxe\std/cpp/_std/Reflect.hx line 55)
motion.actuators.GenericActuator.complete (motion/actuators/GenericActuator.hx line 155)
motion.actuators.SimpleActuator.update (motion/actuators/SimpleActuator.hx line 501)
motion.actuators.SimpleActuator.stage_onEnterFrame (motion/actuators/SimpleActuator.hx line 579)
openfl.events.EventDispatcher.__dispatchEvent (openfl/events/EventDispatcher.hx line 443)
openfl.display.DisplayObject.__dispatch (openfl/display/DisplayObject.hx line 1236)
Answers:
username_1: Likely #1114
Status: Issue closed
username_2: Yep, can confirm that this is fixed in v1.9! |
reactor/projectreactor.io | 393364262 | Title: delayUntilOther is mentioned in "Which operator do I need?" but no longer exists
Question:
username_0: Mentioned here: https://projectreactor.io/docs/core/release/reference/index.html#which-operator.
This method seems to have been removed in https://github.com/reactor/reactor-core/commit/7cc4d54aea761cbf89f8da5a151cd57da26c2a15#diff-10ade4c0edd46bfe32858ea45d8c0972.
Answers:
username_0: PR here: https://github.com/reactor/reactor-core/pull/1473
Status: Issue closed
|
tensorflow/tensorflow | 803048433 | Title: Failed to deploy custom Tensorflow lite select ops .aar to Android
Question:
username_0: **System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Huawei P30 Lite
- TensorFlow installed from (source or binary): Source
- TensorFlow version: master - 2.4.1+
- Python version: 3.6.9
- Installed using virtualenv? pip? conda?:
- Bazel version (if compiling from source): 3.7.2
- GCC/Compiler version (if compiling from source): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
- CUDA/cuDNN version:
- GPU model and memory:
I have followed the instructions here: https://www.tensorflow.org/lite/guide/build_android and here: https://www.tensorflow.org/lite/guide/reduce_binary_size to build custom versions of tensorflow-lite.aar and tensorflow-lite-select-tf-ops.aar. However, when I try to run the model on Android, I get this error:
```
java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6tflite3ops6custom38Register_TFLITE_DETECTION_POST_PROCESSEv" referenced by "/data/app/com.example.myapplication-2NF_GHdjAnMJHFkmSCcPvw==/lib/arm64/libtensorflowlite_jni.so"...
at org.tensorflow.lite.TensorFlowLite.init(TensorFlowLite.java:80)
at com.example.myapplication.MainActivity.onCreate(MainActivity.java:26)
```
This appears to be happening before loading the model, it seems to be a linking issue, though I have just build the two .aar files from source.
Steps followed:
I'm using Docker to build the aar files. I downloaded the Docker file from [here](https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/tools/dockerfiles/tflite-android.Dockerfile) and ran:
`docker build . -t tflite-builder -f tflite-android.Dockerfile`
followed by:
`docker run -it -v "local_dir":/host_dir tflite-builder bash`
Inside the docker container, I ran:
`curl -o build_aar_with_docker.sh https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/lite/tools/build_aar_with_docker.sh && chmod +x build_aar_with_docker.sh`
followed by:
`echo y | /bin/bash build_aar_with_docker.sh --input_models=/host_dir/my_model.tflite --target_archs=arm64-v8a,armeabi-v7a --checkpoint=master `
My model is defined (here)[https://github.com/username_0/tensorflow_LPRnet] and uses 1 custom op - ctc_beam_search_decoder.
After several hours, the build finished with this message:
```
INFO: Analyzed target //tmp:tensorflow-lite-select-tf-ops (308 packages loaded, 33657 targets configured).
INFO: Found 1 target...
Target //tmp:tensorflow-lite-select-tf-ops up-to-date:
bazel-bin/tmp/tensorflow-lite-select-tf-ops.aar
INFO: Elapsed time: 35622.438s, Critical Path: 3942.80s
INFO: 14237 processes: 861 internal, 13376 local.
INFO: Build completed successfully, 14237 total actions
Output can be found here:
tensorflow-lite.aar
tensorflow-lite-select-tf-ops.aar
```
I copied the tensorflow-lite.aar and tensorflow-lite-select-tf-ops.aar files into a sample Android application (attached), and I got the above-mentioned error:
```
java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6tflite3ops6custom38Register_TFLITE_DETECTION_POST_PROCESSEv" referenced by "/data/app/com.example.myapplication-2NF_GHdjAnMJHFkmSCcPvw==/lib/arm64/libtensorflowlite_jni.so"...
```
I've tried generating the tensorflow-lite-select-tf-ops.aar file against the 2.4.0 and 2.4.1 branches, but I'm getting similar errors. This issue appears to be similar to [45153](https://github.com/tensorflow/tensorflow/issues/45153).
I built the two .aar files against the following tensorflow commit:
```
root@8<PASSWORD>:/tensorflow_src# git rev-parse HEAD
6ac306c372287e522168da6931fd751203915d46
```
I've attached the two .aar files as well as the demo Android app. I haven't included the model, because the app is crashing before trying to load the model.
[tensorflow-lite-master-20210207-docker.zip](https://github.com/tensorflow/tensorflow/files/5939881/tensorflow-lite-master-20210207-docker.zip)
[AndroidHelloWorld.zip](https://github.com/tensorflow/tensorflow/files/5939884/AndroidHelloWorld.zip)
**Any other info / logs**
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Answers:
username_1: Copy & pasting my comment from 45153 in case this solves your problem too: I found that I had to add `build --config=monolithic` to `.bazelrc` to avoid the `_ZNK6google8protobuf7Message11GetTypeNameEv` error.
username_2: @username_1 Please point where exactly is .bazelrc file??
username_2: @username_1 Is this the file? https://github.com/tensorflow/tensorflow/blob/master/.bazelrc
Please point out in what line do we have to insert your suggestion?
username_0: Thank you - this has helped, I added the option as you suggested, `echo -n "build --config=monolithic" >> /tensorflow_src/.bazelrc`
My original issue -
```dlopen failed: cannot locate symbol "_ZN6tflite3ops6custom38Register_TFLITE_DETECTION_POST_PROCESSEv" referenced by "/data/app/com.example.myapplication-2NF_GHdjAnMJHFkmSCcPvw==/lib/arm64/libtensorflowlite_jni.so"```.
is still happening. This happens when I try to use both the custom `tensorflow-lite.aar` (1.3MB) and `tensorflow-lite-select-tf-ops.aar` (4.4MB) files. It seems that the built libtensorflowlite_jni.so is missing some dependencies, even when built using the monolithic option.
However, if I try to use the custom `tensorflow-lite-select-tf-ops.aar` file with the vanilla `tensorflow-lite-2.4.0.aar` that I downloaded from e.g. jcenter, then its working. Thanks for the suggestion!
Status: Issue closed
username_3: Update: I sent a pull request to update `build_aar.sh`. If you're using this script, you should no longer require the `build --config=monolithic` change in `.bazelrc`.
username_4: Can you share the model? I took a look at your model in AndroidHelloWorld.zip. But the model does not contain DetectionPostProcess custom op.
username_4: **System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Huawei P30 Lite
- TensorFlow installed from (source or binary): Source
- TensorFlow version: master - 2.4.1+
- Python version: 3.6.9
- Installed using virtualenv? pip? conda?:
- Bazel version (if compiling from source): 3.7.2
- GCC/Compiler version (if compiling from source): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
- CUDA/cuDNN version:
- GPU model and memory:
I have followed the instructions here: https://www.tensorflow.org/lite/guide/build_android and here: https://www.tensorflow.org/lite/guide/reduce_binary_size to build custom versions of tensorflow-lite.aar and tensorflow-lite-select-tf-ops.aar. However, when I try to run the model on Android, I get this error:
```
java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6tflite3ops6custom38Register_TFLITE_DETECTION_POST_PROCESSEv" referenced by "/data/app/com.example.myapplication-2NF_GHdjAnMJHFkmSCcPvw==/lib/arm64/libtensorflowlite_jni.so"...
at org.tensorflow.lite.TensorFlowLite.init(TensorFlowLite.java:80)
at com.example.myapplication.MainActivity.onCreate(MainActivity.java:26)
```
This appears to be happening before loading the model, it seems to be a linking issue, though I have just build the two .aar files from source.
Steps followed:
I'm using Docker to build the aar files. I downloaded the Docker file from [here](https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/tools/dockerfiles/tflite-android.Dockerfile) and ran:
`docker build . -t tflite-builder -f tflite-android.Dockerfile`
followed by:
`docker run -it -v "local_dir":/host_dir tflite-builder bash`
Inside the docker container, I ran:
`curl -o build_aar_with_docker.sh https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/lite/tools/build_aar_with_docker.sh && chmod +x build_aar_with_docker.sh`
followed by:
`echo y | /bin/bash build_aar_with_docker.sh --input_models=/host_dir/my_model.tflite --target_archs=arm64-v8a,armeabi-v7a --checkpoint=master `
My model is defined (here)[https://github.com/username_0/tensorflow_LPRnet] and uses 1 custom op - ctc_beam_search_decoder.
After several hours, the build finished with this message:
```
INFO: Analyzed target //tmp:tensorflow-lite-select-tf-ops (308 packages loaded, 33657 targets configured).
INFO: Found 1 target...
Target //tmp:tensorflow-lite-select-tf-ops up-to-date:
bazel-bin/tmp/tensorflow-lite-select-tf-ops.aar
INFO: Elapsed time: 35622.438s, Critical Path: 3942.80s
INFO: 14237 processes: 861 internal, 13376 local.
INFO: Build completed successfully, 14237 total actions
Output can be found here:
tensorflow-lite.aar
tensorflow-lite-select-tf-ops.aar
```
I copied the tensorflow-lite.aar and tensorflow-lite-select-tf-ops.aar files into a sample Android application (attached), and I got the above-mentioned error:
```
java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6tflite3ops6custom38Register_TFLITE_DETECTION_POST_PROCESSEv" referenced by "/data/app/com.example.myapplication-2NF_GHdjAnMJHFkmSCcPvw==/lib/arm64/libtensorflowlite_jni.so"...
```
I've tried generating the tensorflow-lite-select-tf-ops.aar file against the 2.4.0 and 2.4.1 branches, but I'm getting similar errors. This issue appears to be similar to [45153](https://github.com/tensorflow/tensorflow/issues/45153).
I built the two .aar files against the following tensorflow commit:
```
root@8<PASSWORD>:/tensorflow_src# git rev-parse HEAD
6ac306c372287e522168da6931fd751203915d46
```
I've attached the two .aar files as well as the demo Android app. I haven't included the model, because the app is crashing before trying to load the model.
[tensorflow-lite-master-20210207-docker.zip](https://github.com/tensorflow/tensorflow/files/5939881/tensorflow-lite-master-20210207-docker.zip)
[AndroidHelloWorld.zip](https://github.com/tensorflow/tensorflow/files/5939884/AndroidHelloWorld.zip)
**Any other info / logs**
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
username_4: Commit <PASSWORD> should fix this error.
Status: Issue closed
username_0: Thank you @username_4 , I can confirm that the custom build is working using both the custom tensorflow-lite.aar and tensorflow-lite-select-tf-ops.aar files.
username_5: Hi @username_4 , I am still getting this error after adding ```implementation 'org.tensorflow:tensorflow-lite-select-tf-ops:0.0.0-nightly'``` dependency on my android project. The following are the error logs:
```
04-14 09:18:33.912 8903-8903/com.example.posm W/System.err: java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
04-14 09:18:33.912 8903-8903/com.example.posm W/System.err: Node number 65 (FlexSize) failed to prepare.
04-14 09:18:33.912 8903-8903/com.example.posm W/System.err: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
04-14 09:18:33.912 8903-8903/com.example.posm W/System.err: Node number 65 (FlexSize) failed to prepare.
04-14 09:18:33.912 8903-8903/com.example.posm W/System.err: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before infer
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:204)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:378)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at com.example.posm.yolo.Yolo.predict(Yolo.java:71)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at com.example.posm.POSM.predict(POSM.java:45)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at com.example.posm.MainActivity.run_posm(MainActivity.java:110)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at com.example.posm.MainActivity.lambda$onCreate$1$MainActivity(MainActivity.java:75)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at com.example.posm.-$$Lambda$MainActivity$w2a9VvlIKLLPHcyHZBUHuFlJhQA.onClick(lambda)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at android.view.View.performClick(View.java:4640)
04-14 09:18:33.942 8903-8903/com.example.posm W/System.err: at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1119)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at android.view.View$PerformClick.run(View.java:19431)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at android.os.Handler.handleCallback(Handler.java:733)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at android.os.Looper.loop(Looper.java:146)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5598)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at java.lang.reflect.Method.invoke(Method.java:515)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
04-14 09:18:33.952 8903-8903/com.example.posm W/System.err: at dalvik.system.NativeStart.main(Native Method)
04-14 09:18:33.952 8903-8903/com.example.posm E/ERROR: Exception java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
Node number 65 (FlexSize) failed to prepare.
Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
Node number 65 (FlexSize) failed to prepare.
Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before infer
```
The error happened in Android Kitkat 4.4 (API 19), but on my Android 10 (API 29) and Android 5.0 (API 21) it working correctly. Am I missing something?
username_4: @username_5 Can you file a new issue and cc me?
Your issue is different that this one. |
Kinto/kinto | 140696031 | Title: Relax content-type when no body is posted
Question:
username_0: With kinto 1.11.2:
```
$ http PUT https://kinto.dev.mozaws.net/v1/buckets/essai --auth user:pass
HTTP/1.1 201 Created
```
With kinto 2.0.0:
```
$ http PUT https://kinto-ota.dev.mozaws.net/v1/buckets/essai --auth user:pass
HTTP/1.1 415 Unsupported Media Type
```
Answers:
username_1: We should add a functional test for this to avoid regressions in the future.
Status: Issue closed
username_2: Fixed in https://github.com/Kinto/kinto/pull/510 |
TechnologyMasters/jobs | 536506679 | Title: CaseWare - Manager, Cloud Infrastructure Team - Toronto, Ontario
Question:
username_0: <!--
==============================================================
PLEASE REVIEW RULES BEFORE POSTING:
https://github.com/TechnologyMasters/jobs/blob/master/README.md#employers
Issue title format: [Company Name] - [Job Title] - [Location]
==============================================================
-->
## What You'll get
### Salary Expectation
<!--
Be sure to specify an actual salary figure, or at least a range
Include a currency if the work location can be in more places
than the one in your post title
IMPORTANT: Posts that do not include a salary or range
will receive a 'needs info' label
-->
- Negotiable
- Full Time
### Benefits
- flexible work hours and work from home available
- competitive benefits package
- monthly social (wine, beer, food)
- work-life balance. We work to live, not the other way around
### Location
<!--
Please specify your job's policy on remote work (see README for details)
-->
- Toronto, Ontario
- Candidate may work from home for a few days every month
## What You'll Do _(Job Description)_
As a manager of the Cloud Infrastructure team, you will be a strategic technology partner collaborating with various groups ensuring that the production systems, services, and infrastructure work reliably and securely. In this role, you will report to the Head of Cloud Operations Department and work in close relationship with other leaders within the department.
- Build, lead, and mentor a talented team of engineers to execute on projects, always-up availability initiatives and day to day operations
- Ruthlessly eliminate repetitive manual tasks and recurring errors
- Maintain & define key metrics to measure customer experience & system performance
- Cultivate a safe work culture that inspires individual decision-making and innovation
- Coach for frequent and effective feedback among team members
- Lead adoption of new tools and more sophisticated continuous delivery methods
- Play an active role in defining the overall architecture of our AWS systems
- Take responsibility for security and disaster recovery of our infrastructure
## What You Need to Be Successful _(Skills)_
We Are Looking For Someone Who:
- Has 3+ years of experience leading a technical team
- Has a deep understanding of the current state and future trends in modern cloud technologies, DevOps and continuous delivery tools
- Experienced with container orchestration tools and service meshes (Nomad, Consul, Kubernetes, Istio)
[Truncated]
Learn more in the README https://github.com/TechnologyMasters/jobs/blob/master/README.md#label-definitions
Note, you must fill in the checkboxes correctly in order for them to appear as checked in Markdown
Unfilled examples:
- [ ] Full Time
- [ x] Full Time
- [x ] Full Time
Filled example:
- [x] Full Time
-->
- [x ] Full Time
- [ ] Part Time
- [ ] Contract
- [ ] Internship
- [ ] Remote Worldwide
- [ ] Remote Regional
- [ ] Remote OK |
github-vet/rangeloop-pointer-findings | 774924761 | Title: rajatchopra/ose-contiv: contrib/cluster-autoscaler/Godeps/_workspace/src/k8s.io/kubernetes/pkg/util/deployment/deployment.go; 5 LoC
Question:
username_0: [Click here to see the code in its original context.](https://github.com/rajatchopra/ose-contiv/blob/0ff48115e6ad617b8937922bdb91eac89186b8f7/contrib/cluster-autoscaler/Godeps/_workspace/src/k8s.io/kubernetes/pkg/util/deployment/deployment.go#L272-L276)
<details>
<summary>Click here to show the 5 line(s) of Go which triggered the analyzer.</summary>
```go
for _, pod := range pods {
if IsPodAvailable(&pod, minReadySeconds) {
readyPodCount++
}
}
```
</details>
<details>
<summary>Click here to show extra information the analyzer produced.</summary>
```
The following graphviz dot graph describes paths through the callgraph that could lead to a function calling a goroutine:
digraph G {
"(IsPodAvailable, 2)" -> {"(Add, 1)";}
"(Add, 2)" -> {"(Do, 2)";"(Get, 1)";}
"(Get, 1)" -> {"(Get, 3)";"(Do, 2)";}
"(Get, 3)" -> {"(Do, 3)";}
"(Do, 3)" -> {}
"(NewClientConn, 3)" -> {"(clientHandshake, 2)";}
"(Copy, 2)" -> {"(ServeHTTP, 2)";}
"(ServeHTTP, 2)" -> {"(tryUpgrade, 2)";}
"(Dial, 3)" -> {"(NewClientConn, 3)";}
"(newClientTransport, 6)" -> {}
"(tryUpgrade, 2)" -> {"(DialURL, 2)";}
"(RoundTrip, 1)" -> {"(dial, 1)";}
"(dial, 1)" -> {"(dialWithoutProxy, 1)";}
"(dialWithoutProxy, 1)" -> {"(Dial, 3)";}
"(clientHandshake, 2)" -> {"(newClientTransport, 6)";}
"(DialURL, 2)" -> {"(Dial, 3)";}
"(Add, 1)" -> {"(Get, 1)";"(Has, 1)";"(Add, 2)";}
"(Do, 2)" -> {"(Copy, 2)";"(RoundTrip, 1)";}
"(Has, 1)" -> {"(Get, 1)";}
}
```
</details>
Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket:
See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information.
commit ID: 0ff48115e6ad617b8937922bdb91eac89186b8f7 |
platformio/platformio-home | 830825121 | Title: Could not initialize project
Question:
username_0: PIO Core Call Error: "The current working directory /home/zhenke/Documents/PlatformIO/Projects/toy1 will be used for the project.\n\nThe next files/directories have been created in /home/zhenke/Documents/PlatformIO/Projects/toy1\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\n\n\nError: Processing lpc1114fn28 (platform: nxplpc; board: lpc1114fn28; framework: mbed)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via `-v, --verbose` option\nCONFIGURATION: https://docs.platformio.org/page/boards/nxplpc/lpc1114fn28.html\nPLATFORM: NXP LPC (8.0.0) > Switch Science mbed LPC1114FN28\nHARDWARE: LPC1114FN28 48MHz, 4KB RAM, 32KB Flash\nDEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)\nPACKAGES: \n - framework-mbed 6.60600.210128 (6.6.0) \n - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)\nCollecting mbed sources...\nFailed to extract configuration for LPC1114FN28.\nIt might not be supported in the this Mbed release.\n========================== [FAILED] Took 0.94 seconds ==========================" |
sj26/mailcatcher | 210228346 | Title: Plain javascript in the Plain Text tab
Question:
username_0: function(c){return function(f){var d=this,e=a(f);e&&d.addEventListener("loadend",function(){b({requestID:e,statusCode:d.status})});return c.apply(d,arguments)}}(XMLHttpRequest.prototype.send));"function"===typeof fetch&&(fetch=function(c){return function(f,d){var e=a(d),g=c.apply(this,arguments);if(e){var h=function(a){b({requestID:e,statusCode:a&&a.status})};g.then(h)["catch"](h)}return g}}(fetch))}})();
(function(){if("undefined"!==typeof CustomEvent){var c=function(a){if(a.lpsubmit)return a;var b=function(){try{this.dispatchEvent(new CustomEvent("lpsubmit"))}catch(k){}return a.apply(this,arguments)};b.lpsubmit=!0;return b};window.addEventListener("DOMContentLoaded",function(){if(document&&document.forms&&0arguments);b&&"FORM"===b.nodeName&&b.submit&&(b.submit=c(b.submit));return b}}(document.createElement)}})();
And then my email... At first I tought that I was generating the emails bad, but nopes, the email is generated just fine, I tested with another mailcatcher alternative. Also if I go to the Source tab, in mail catcher, all the code doesn't appear at all.
I'm on ubuntu 15.10 with ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
Any clue?
thanks
Answers:
username_1: This looks like a bug in LastPass (see #331).
Status: Issue closed
|
JeffersonLab/HDvis | 214811335 | Title: To Eve or not to Eve
Question:
username_0: That is the question
I put here updates on mails to other EVE users
Answers:
username_0: Since the idea is to proof that EVE is not abandoned at all. Here is GitHub pages that shows the activity:
[Tutorials](https://github.com/root-project/root/tree/4fa59f4fb80fd914cb84144e5218e55397810c01/tutorials/eve)
are updated like 7 months ago but there wasn't any significant changes
[Code](https://github.com/root-project/root/tree/4fa59f4fb80fd914cb84144e5218e55397810c01/graf3d/eve/src) - looks like it hasn't been much reviewed from 2009 or so
[Some interesting file](https://github.com/root-project/root/commits/4fa59f4fb80fd914cb84144e5218e55397810c01/graf3d/eve/src/TEveTrackPropagator.cxx) - the idea here, is that this class is not just like dumb wrapper and it has the last bug fix from 2013. Maybe that is ok.
Status: Issue closed
username_0: That is the question
I put here updates on mails to other EVE users
Status: Issue closed
username_1: We eve'd. |
Atmosphere/atmosphere-javascript | 696462607 | Title: Websocket reconnect causes huge problems with tomcat
Question:
username_0: **Description**
When atmosphere.js tries to reconnect a websocket it does not pass along the usual headers in the reconnect attempt. This causes a weird behaviour where atmosphere-runtime accepts the request and schedules it in Heartbeatinterceptor, whereas tomcat doesn't see it as an upgrade request and therefore keeps the request/response objects in a pool for later usage.
The reconnect happens inside _websocket.onerror function:
```
if (_request.curWebsocketErrorRetries++ < _request.maxWebsocketErrorRetries) {
_reconnect(_websocket, _request, _request.pollingInterval);
```
The effect is the same as seen in https://github.com/Atmosphere/atmosphere/issues/2143 but the cause is different. This is not because of misconfigured atmosphere - it can happen when the server is under heavy load or if there's network issues. I've reproduced this issue using Meteor PubSub from [atmosphere-samples](https://github.com/Atmosphere/atmosphere-samples/tree/master/samples/meteor-pubsub), see reproducing.
In the first websocket connect attempt, atmosphere sends the usual HTTP headers to the server:
```
Request: /atmosphere-meteor-pubsub/pubsub/bertil?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true
=== MimeHeaders ===
host = localhost:8080
connection = Upgrade
pragma = no-cache
cache-control = no-cache
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
upgrade = websocket
origin = http://localhost:8080
sec-websocket-version = 13
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
sec-websocket-key = y78amtC5JpBDqo9tV+/t/Q==
sec-websocket-extensions = permessage-deflate; client_max_window_bits
```
The reconnect attempt however does not contain the expected headers
```
Request: /atmosphere-meteor-pubsub/pubsub/bertil?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true&_=1599482971412
=== MimeHeaders ===
host = localhost:8080
connection = keep-alive
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
accept = */*
sec-fetch-site = same-origin
sec-fetch-mode = cors
sec-fetch-dest = empty
referer = http://localhost:8080/atmosphere-meteor-pubsub/
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
```
**Atmosphere Info**
- atmosphere-runtime 2.6.1
- atmosphere.js 3.0.5 (reproducible from 3.0.0)
**Reproducing**
It's easy to simulate a hogged server or network issue by stopping the first websocket upgrade request in a breakpoint.
- Set up Meteor PubSub from [atmosphere-samples](https://github.com/Atmosphere/atmosphere-samples/tree/master/samples/meteor-pubsub).
- Modify versions to use atmosphere.js 3.0.5 and atmosphere-version 2.6.1
- Build a war file using maven
- Start Tomcat in debug and deploy war file
- Set a breakpoint somewhere inte the upgrade process. org.apache.tomcat.websocket.server.UpgradeUtil line 236 works fine (wsHandler.preInit(ep, perSessionServerEndpointConfig, sc, wsRequest,)
- Visit the /atmosphere-meteor-pubsub page in the browser. Open dev tools and watch the console
[Truncated]
**Expected behavior**
The correct headers must be present when reconnecting the websocket
**Screenshots**
Firefox:

Chrome:

**Systems**
- OS: OpenSuse Leap 15.2
- Browser name and version chrome 85.0.4183.83, firefox 78.1.0esr
- Java version and distribution 1.8.0_172, Oracle
- Server name and version: Tomcat 8.5.57
**Additional context**
The issue has been present since https://github.com/Atmosphere/atmosphere-javascript/pull/245
Answers:
username_1: @username_0 Great analysis. Let me investigate once I have a chance....if you have the cycle to find a fix, let me know and I will cut a new release.
username_1: @username_0 Can you try this [one](https://github.com/Atmosphere/atmosphere-javascript/blob/85c8c2a52399fc02b4c90b384127247387776a7c/modules/javascript/src/main/webapp/javascript/atmosphere.js) and let me know if that fixes the issue
username_0: @username_1 It fixes the issue but introduces another.
The reconnect is now identical with the first websocket attempt, which eliminates the shared Response objects in Tomcat. However the client connects with the fallback protocol before trying the websocket again. My browser ends up with an open Streaming connection AND an open WS.
Seen in browser:

Captured on server:
```
/atmosphere-meteor-pubsub/pubsub/test?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true
=== MimeHeaders ===
host = localhost:8080
connection = Upgrade
pragma = no-cache
cache-control = no-cache
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
upgrade = websocket
origin = http://localhost:8080
sec-websocket-version = 13
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
sec-websocket-key = <KEY>
sec-websocket-extensions = permessage-deflate; client_max_window_bits
/atmosphere-meteor-pubsub/pubsub/test?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=streaming&X-atmo-protocol=true&_=1599802523274
=== MimeHeaders ===
host = localhost:8080
connection = keep-alive
pragma = no-cache
cache-control = no-cache
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
accept = */*
sec-fetch-site = same-origin
sec-fetch-mode = cors
sec-fetch-dest = empty
referer = http://localhost:8080/atmosphere-meteor-pubsub/
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
/atmosphere-meteor-pubsub/pubsub/test?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true
=== MimeHeaders ===
host = localhost:8080
connection = Upgrade
pragma = no-cache
cache-control = no-cache
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
upgrade = websocket
origin = http://localhost:8080
sec-websocket-version = 13
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
sec-websocket-key = v<KEY>==
sec-websocket-extensions = permessage-deflate; client_max_window_bits
```
username_1: **Description**
When atmosphere.js tries to reconnect a websocket it does not pass along the usual headers in the reconnect attempt. This causes a weird behaviour where atmosphere-runtime accepts the request and schedules it in Heartbeatinterceptor, whereas tomcat doesn't see it as an upgrade request and therefore keeps the request/response objects in a pool for later usage.
The reconnect happens inside _websocket.onerror function:
```
if (_request.curWebsocketErrorRetries++ < _request.maxWebsocketErrorRetries) {
_reconnect(_websocket, _request, _request.pollingInterval);
```
The effect is the same as seen in https://github.com/Atmosphere/atmosphere/issues/2143 but the cause is different. This is not because of misconfigured atmosphere - it can happen when the server is under heavy load or if there's network issues. I've reproduced this issue using Meteor PubSub from [atmosphere-samples](https://github.com/Atmosphere/atmosphere-samples/tree/master/samples/meteor-pubsub), see reproducing.
In the first websocket connect attempt, atmosphere sends the usual HTTP headers to the server:
```
Request: /atmosphere-meteor-pubsub/pubsub/bertil?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true
=== MimeHeaders ===
host = localhost:8080
connection = Upgrade
pragma = no-cache
cache-control = no-cache
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
upgrade = websocket
origin = http://localhost:8080
sec-websocket-version = 13
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
sec-websocket-key = <KEY>
sec-websocket-extensions = permessage-deflate; client_max_window_bits
```
The reconnect attempt however does not contain the expected headers
```
Request: /atmosphere-meteor-pubsub/pubsub/bertil?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=3.0.5-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true&_=1599482971412
=== MimeHeaders ===
host = localhost:8080
connection = keep-alive
user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
accept = */*
sec-fetch-site = same-origin
sec-fetch-mode = cors
sec-fetch-dest = empty
referer = http://localhost:8080/atmosphere-meteor-pubsub/
accept-encoding = gzip, deflate, br
accept-language = en-US,en;q=0.9,sv;q=0.8
```
**Atmosphere Info**
- atmosphere-runtime 2.6.1
- atmosphere.js 3.0.5 (reproducible from 3.0.0)
**Reproducing**
It's easy to simulate a hogged server or network issue by stopping the first websocket upgrade request in a breakpoint.
- Set up Meteor PubSub from [atmosphere-samples](https://github.com/Atmosphere/atmosphere-samples/tree/master/samples/meteor-pubsub).
- Modify versions to use atmosphere.js 3.0.5 and atmosphere-version 2.6.1
- Build a war file using maven
- Start Tomcat in debug and deploy war file
- Set a breakpoint somewhere inte the upgrade process. org.apache.tomcat.websocket.server.UpgradeUtil line 236 works fine (wsHandler.preInit(ep, perSessionServerEndpointConfig, sc, wsRequest,)
- Visit the /atmosphere-meteor-pubsub page in the browser. Open dev tools and watch the console
[Truncated]
**Expected behavior**
The correct headers must be present when reconnecting the websocket
**Screenshots**
Firefox:

Chrome:

**Systems**
- OS: OpenSuse Leap 15.2
- Browser name and version chrome 85.0.4183.83, firefox 78.1.0esr
- Java version and distribution 1.8.0_172, Oracle
- Server name and version: Tomcat 8.5.57
**Additional context**
The issue has been present since https://github.com/Atmosphere/atmosphere-javascript/pull/245
Status: Issue closed
username_2: Doesn't https://github.com/Atmosphere/atmosphere-javascript/commit/7e7788b8d96cb587b945ed06fa95a9700afeb8f2#diff-db9ba3b79d60117ac320363bcb013ec3 break the reconnection logic altogether? I've been experiencing problems lately with automatic reconnections... As well as with missed open and closed events.
username_1: `maxReconnectOnClose` is not what you want to set. It's `maxWebsocketErrorRetries` if the websocket isn't closed properly by the server. @username_2 Can you give more info on what you are doing exactly?
username_2: @username_1 could you link to documentation talking about `maxWebsocketErrorRetries`?
As for what I'm doing, I basically have a Spring back end and Vue.js front end. During development, I use vue-cli-service to run the front end, which starts a simple HTTP server which serves the front end files and forwards back end requests to the Spring server. I regularly restart both front end and back end servers to evaluate reconnection behaviour. The table above summarizes my findings when stopping and starting the front end server specifically.
username_3: Just spent hour debugging why client is not reconnecting. There is no mentioning maxWebsocketErrorRetries in any of the samples or documentation. |
zold-io/wts.zold.io | 506655593 | Title: Pulling error
Question:
username_0: Trying to pull wallet to check balance, but log has some errors:
```
Zold gem version: 0.29.30/2
WTS version: 0.35.51
Current time is: 2019-10-14T13:28:41Z
Job ID: dd1fcece-8435-4ed5-aa7d-508d47a30a74
Login: 79066700808
Pulling wallet 718a5f671beeb877 via /pull...
Removing the local copy of 718a5f671beeb877...
Wallet 718a5f671beeb877 file not found in /app/.zold-wts/wallets/718a5f671beeb877.z
Wallet 718a5f671beeb877 removed
Pulling 718a5f671beeb877 from the network...
ERROR: WTS::UserError: E186: We didn't manage to find your wallet 718a5f671beeb877 in any of visible Zold nodes (79066700808). You should try to PULL again. If it doesn't work, most likely your wallet 718a5f671beeb877 is lost and can't be recovered. If you have its copy locally, you can push it to the network from the console app, using PUSH command. Otherwise, go for the RESTART option in the top menu and create a new wallet. We are sorry to see this happening! No nodes out of 20 have the wallet 718a5f671beeb877; run 'zold remote update' and try again
/app/objects/ops.rb:90:in `rescue in pull'
/app/objects/ops.rb:84:in `pull'
/app/front/front_start.rb:94:in `block (2 levels) in <top (required)>'
/app/front/front_jobs.rb:49:in `block in job'
/app/objects/update_job.rb:47:in `call'
/app/objects/tracked_job.rb:34:in `call'
/app/objects/safe_job.rb:37:in `call'
/app/objects/async_job.rb:44:in `block (2 levels) in call'
/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:130:in `block in open'
/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:176:in `open_synchronized'
/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:103:in `open'
/app/objects/async_job.rb:43:in `block in call'
/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
```
Answers:
username_1: @username_2[/z](https://www.username_1.com/u/username_2) please, pay attention to this issue
username_1: @username_0[/z](https://www.username_1.com/u/username_0) this project will fix the problem faster if you donate a few dollars to it; just [click here](https://www.username_1.com/contrib/CB28FH2NR) and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!
username_2: @username_0 this means that your wallet is gone from the network, you should create a new one. Click "Restart"
Status: Issue closed
username_1: Job `gh:zold-io/wts.zold.io#303` is not assigned, can't get performer
<!-- https://www.username_1.com/footprint/CB28FH2NR/5e788285-6303-4b04-8a06-c6e9799c04ae, version: 0.50.40, hash: ${buildNumber} -->
username_1: This job is not in scope
<!-- https://www.username_1.com/footprint/CB28FH2NR/769ef7bc-5943-4bef-bafa-f0150ce6e411, version: 0.50.40, hash: ${buildNumber} --> |
cuba-platform/cuba | 318391573 | Title: Polymer 3.0 support
Question:
username_0: Polymer 3.0 support
:link: Related links: {"is required for:": "https://youtrack.haulmont.com/issue/PL-9791"}
---
Original issue: https://youtrack.haulmont.com/issue/PL-9939
Answers:
username_1: https://github.com/Polymer/polymer/issues/5240#issuecomment-395922668
Status: Issue closed
|
woocommerce/woocommerce | 579791094 | Title: New Customer Registration Doesn't Show in WooCommerce/Customer
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 [...]
-- If a user registers a new account via /my-account/, they are signed up as a "Customer", but they do not appear in the 'WooCommerce/Customer" tab in WooCommerce 4.0.0.
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
-- I want to give access to staff to some of the features of WooCommerce, and not others. With the new features in WC4.0.* I would like that the "Customers" tab showed all registered users with the "Customer" status, and not just those that have made a purchase. By adding all customers to that list, it would enable me to not have to give access to the "users" tab to my staff in the wordpress backend, and just have access to "WooCommerce/Customers".
**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.
Answers:
username_1: Thanks for the suggestion, I think that makes sense.
cc @LevinMedia (is there someone else I should be tagging?)
username_0: Thank you. It's such a great system so it makes sense to maximise its new capabilities and centralise its purpose.
username_0: 

Attached are screen shots for my previous comments.
In addition, if a user has purchased a product, they appear in the list (correct). Now, if the customer has deleted their account, or an administrator has deleted the customer account, their name still appears in the customer list (correct), however it still has a link to their user profile. I would like to suggest that the link is removed to the user profile (it will go to an inactive user ID page) and/or the row is altered in some way to show they are an inactive user? |
rerost/issue-creator | 481895003 | Title: [{{.CurrentTime.Format "01/02/2006"}}-{{AddDateAndFormat "01/02/2006" 7 }}] Sample
Question:
username_0: issue-creator
Create new issue from this issue
```
issue-creator create https://github.com/username_0/issue-creator/issues/1
```
Create new issue from this issue by every monday
```
issue-creator schedule apply '0 0 * * 1' https://github.com/username_0/issue-creator/issues/1
```
last issue: {{.LastIssue.URL}} |
portainer/portainer | 387934602 | Title: [how-to] Using Portainer behing Socat and Traefik
Question:
username_0: I really don't know how to do this in my docker-compose file.
Thanks
Status: Issue closed
Answers:
username_1: Hi @username_0
The Portainer agent requires to be connected to the Docker socket (it's acting like a socat with extra features and security measures).
You will not be able to achieve this by using an agent setup. The `--external-endpoints` is a Portainer flag, not a Portainer agent flag.
You could make it work without the agent tho by updating the Portainer service declaration:
```
portainer:
image: portainer/portainer
command: -H tcp://socat:2375
```
And by removing the agent service.
username_0: Thanks! That will work as well :-) |
SignalR/SignalR | 17355314 | Title: Latest firefox not firing clean disconnect on browser refresh
Question:
username_0: The server is self hosted and the connection is cross domain using long polling (not jsonp).
<!---
@huboard:{"order":2342.0}
-->
Answers:
username_1: @DamianEdwards In the https://github.com/SignalR/SignalR/commit/458589c299dfab2fd4441f27ff44f75f7eb6b7bf commit i can see a line
var asyncAbort = !!connection.withCredentials && firefoxMajorVersion(window.navigator.userAgent) >= 11;
Where does the value "connection.withCredentials" is coming from? For me it is always undefined and so my asyncAbort is always false. This makes my long running abort call blocking everything in chrome and IE. Note: I am not using any cross domain calls.
Ref: http://stackoverflow.com/questions/33759013/async-signalr-abort-call?noredirect=1#comment55320300_33759013 |
jupyter/nbviewer | 524115517 | Title: Gist support does not work with GHE
Question:
username_0: **Describe the bug**
When configured to integrate with GitHub Enterprise, Gists do not work.
**To Reproduce**
Enter Gist URL, e.g. https://ghe.mycompany.com/gist/c3ca62e42d590f81c3a906824b2528b0, in an nbviewer configured `GITHUB_API_URL=https://ghe.mycompany.com/v3/api/`.
**Expected behavior**
The notebook in the Gist is rendered in nbviewer.
**Additional context**
Related to #850 and #863.
Answers:
username_1: Ditto the comments on #863
username_0: I am using the master branch of nbviewer, with latest commit https://github.com/jupyter/nbviewer/commit/8a8fd298b446096dddc874da57e99dd22a2d8d97.
Status: Issue closed
|
bottlepy/bottle | 3533944 | Title: Multiple plugins can't inject parameters
Question:
username_0: Hi,
I am trying to write a plugin which injects some data into the the functions, but it failes if I already have another plugin (say sqlite).
A simple example is the code below:
``` python
from bottle import *
import bottle
from bottle.ext import sqlite
app = bottle.Bottle()
test_db = sqlite.Plugin(dbfile='test.db')
cache_db = sqlite.Plugin(dbfile=':memory:', keyword='cache')
app.install(test_db)
app.install(cache_db)
@app.route('/')
def show(db, cache):
return "successfully loaded both plugins"
if __name__ == "__main__":
run(app, reloader=True)
```
when run, it throws this error : `TypeError: show() takes exactly 2 arguments (0 given)`
Answers:
username_1: Trying to solve this for the sqlite plugin with 1st level recursion on wrapped function : bottlepy/bottle-sqlite#14 |
CircleCI-Public/slack-orb | 732886337 | Title: invalid auth silently succeeds
Question:
username_0: ## Orb version:
4.1.1
## What happened:
CircleCI config (in a workflow):
```yaml
- slack/on-hold:
context: kounta-slack # contains SLACK_ACCESS_TOKEN
channel: "#redacted"
requires:
- plan
```
Job log output:
```plain
Checking For JQ + CURL: Debian
Sending Notification
Sending to Slack Channel: #kounta-engineering-ops
{
"ok": false,
"error": "invalid_auth"
}
```
The job succeeded.
## Expected behavior:
Job should fail.
## Additional Information:
<!--- Provide any additional context possible. -->
Answers:
username_1: Agreed, thank you @username_0 ! We'll get this patched.
username_2: I'd add this is the same for the 'channel_not_found' error too.
username_1: Looking into patching this and came to a decision/thought I would like more feedback on.
We _can_ cause the pipeline to fail if Slack fails to post, however I am struggling to decide if that is a favorable outcome. Slack failing to send notifications is not directly tied to a pipeline.
For instance, let's say you have a deployment pipeline. Regardless of if the deployment message is to be sent prior to or after the deployment, if the deployment would otherwise be successful but Slack fails to send an update (for any reason), would you actually want your CI pipeline to stop and report an error in that case? This type of feature could potentially delay the release of software.
CC @username_3 curious your thoughts here as well.
username_0: Personally, I want the pipeline to fail if the Slack message fails. But I don't have a problem with `ignore_failures: true` being added!
username_3: This is a tough one, but letting the end user ultimately decide is probably our best bet. Since the Slack orb is out of their hands, failures from that script shouldn't fail their entire pipeline. On the other hand, initial setup may require these failures to be surfaced. Implementing this as a parameter allows this flexibility.
username_1: Addressed in https://github.com/CircleCI-Public/slack-orb/pull/220
Status: Issue closed
|
vitoman8888/frontend-componentlibrary | 906773665 | Title: Document how to use UI components
Question:
username_0: **User Stories**
* As a product stakeholder, I want the application to provide a consistent experience for users.
* As a developer, I want know how to use a UI component to build an application.<issue_closed>
Status: Issue closed |
mengxiong10/vue2-datepicker | 443802942 | Title: clear button 报错
Question:
username_0: 

当我选择一个时间后点击清楚按钮时出现这个错误
<date-picker range format="YYYY-MM-DD" value-type="format"></date-picker>
当 range、format、value-type 同时存在时出现这个bug
Answers:
username_1: 谢谢反馈.
v2.11.2 修复了这个bug.
Status: Issue closed
|
department-of-veterans-affairs/va.gov-team | 1162672744 | Title: [FE] Display Alert upon Clicking Browser Back Button While in Edit Mode
Question:
username_0: ## User Story
As a Veteran, when I am editing my personal/demographic data, if I click the browser's back button, I'd like to receive an alert that tells me that I am going to lose my changes by navigating away from the page so that I can choose to stay and save my changes or continue to leave the page.
## Related Documentation
https://www.sketch.com/s/5331b114-280d-4ff5-8d36-ec49b1696b9e/a/4an9O8A
## Description
- Given I
- Am performing pre-check in or check in
- Am in edit mode
- When I
- Click my browser's Back button
- Then I
- See a message telling me that if I leave the page my changes will be lost (see sketch)
- Am given the choice of
- Continuing to leave the page and lose my changes --> system allows the browser back action to continue
- Cancel the navigation and return to edit my information --> system cancels the browser back action
## Tasks
- [ ] Create or update unit tests
- [ ] Create or update e2e tests
- [ ] Update relevant documentations
- [ ] README
- [ ] Use Cases
## Acceptance Criteria
- [ ] Passes Accessibility checks using axe
- [ ] Deployed to staging.
- [ ] Designer has signed off on the feature
- [ ] Product team has signed off on the feature |
nimiq/safe | 439505394 | Title: Accept a stringified serialized TX as a prepared transaction
Question:
username_0: The Accounts Manager now returns a stringified serialized transaction from the `signTransaction` call, so instead of using a JSON plain data object for sending prepared transactions, we could just accept a HEX serialized tx there.
This requires an additional method in the NanoAPI to accept a serialized tx.
Answers:
username_1: Can we have maybe the option to add multiple signedTransactions? |
NuffZetPand0ra/cli-countdown | 402320052 | Title: Sill not working
Question:
username_0: Sill not working
Problem 1
- Installation request for nuffy/cli-countdown v0.1.2.1 -> satisfiable by nuffy/cli-countdown[v0.1.2.1].
- nuffy/cli-countdown v0.1.2.1 requires nesbot/carbon dev-master -> satisfiable by nesbot/carbon[dev-master] but these conflict with your requirements or minimum-stability.
_Originally posted by @username_0 in https://github.com/NuffZetPand0ra/cli-countdown/issues/1#issuecomment-456866701_ |
Sandrem/FlyCasual | 554906398 | Title: Dengar not getting bonus attack in retaliation.
Question:
username_0: Dengar's ability allows him to shoot back against opponents in front of him with any weapon pointed that way, torpedoes and cannons included. However, I had his primary pointed sideways with Autoblaster cannon equipped and was not getting the option to return fire when shot at.

Status: Issue closed
Answers:
username_1: Works correctly in current version. |
udevbe/udevbe.github.io | 133413516 | Title: Jekyll 3.1.1 doesn't support GFM fenced codeblocks
Question:
username_0: Jekyll 3.1.1 doesn't highlight backtick style fenced codeblocks, e.g.
```ruby
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
```
See https://github.com/jekyll/jekyll/issues/4427 for more details
Current workaround is to use Jekyll 3.0.3 - `gem install jekyll -v 3.0.3`
Answers:
username_1: This fixed my issue. Thanks!
Status: Issue closed
username_0: 3.1.2 is released with a fix |
pmsipilot/docker-compose-viz | 289279833 | Title: Failure on override
Question:
username_0: Suppose you have `docker-compose.yml`
version: '3'
services:
web:
image: 'nginx'
ports:
- 80
links:
- db
db:
image: mysql
and `docker-compose.override.yml`:
version: '3'
services:
sonarqube:
image: 'sonarqube'
links:
- db
the output is:

File are correct since `docker-compose config` output is
services:
db:
image: mysql
sonarqube:
image: sonarqube
links:
- db
web:
image: nginx
links:
- db
ports:
- 80/tcp
version: '3.0'
BTW if you copy `docker-compose config`'s output in a new 'docker-compose.yml` the image is rendered correctly

Status: Issue closed
Answers:
username_1: Hi @username_0!
Thanks for reporting this issue.
It has been fixed. It was caused by the logic we use to merge configurations. It should be OK now. I also added a check on version: if there is a mismatch between the main file and the override, `dcv` will raise an exception. |
Automattic/mongoose | 1004505909 | Title: find() query on a model by non existing property returns whole collection
Question:
username_0: <!-- *Before creating an issue please make sure you are using the latest version of mongoose -->
**Do you want to request a *feature* or report a *bug*?**
Bug
**What is the current behavior?**
find() query on a model by non existing property returns whole collection.
**If the current behavior is a bug, please provide the steps to reproduce.**
<!-- If you can, provide a standalone script / gist to reproduce your issue. -->
<!-- If you are using TypeScript, please include your `tsconfig.json` -->
```javascript
const templateSchema = mongoose.Schema({
title: { type: String, required: true },
}, {
timestamps: true,
versionKey: false,
})
const Template = mongoose.model('Template', templateSchema)
await Template.create({ title: 'some title' })
const queryResult = await Template.find({ test: ' test' })
console.log(queryResult)
// [{
// _id: new ObjectId("5adf374309ee5958d92c4133"),
// updatedAt: 2020-03-19T12:50:33.280Z,
// createdAt: 2020-04-24T13:55:15.779Z,
// title: 'some title',
// }]
```
If enable mongoose debug, next query to DB will be logged:
```
Mongoose: templates.find({}, { projection: {} })
```
**What is the expected behavior?**
1. find() query on a model by non existing property returns empty array.
2. Not sure here, query to DB should be templates.find({ test: 'test' }, { projection: {} }) or DB should not be queried at all?
**What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.**
Node.js v14.17.4
Mongoose: 6.0.6
<!-- You can print `mongoose.version` to get your current version of Mongoose: https://mongoosejs.com/docs/api.html#mongoose_Mongoose-version -->
Answers:
username_1: Hello @username_0
This is expected behavior. Please read [migration to 6 guide](https://mongoosejs.com/docs/migrating_to_6.html#strictquery-is-removed-and-replaced-by-strict)
```javascript
const userSchema = new Schema({ name: String });
const User = mongoose.model('User', userSchema);
// By default, this is equivalent to `User.find()` because Mongoose filters out `notInSchema`
await User.find({ notInSchema: 1 });
```
username_0: Thanks @username_1, thats it.
But is there a way to apply this option to each query? Because it's to risky to have such behaviour by default, one wrong query may overload app memory and crash it...
username_0: @username_1 yes, but this global setting will also let to save `notInSchema` values when creating or updating document. I want to override this behaviour only for `find` query method and I've found solution. I've created small plugin:
```javascript
// MongooseStrictFindPlugin.js
module.exports = function MongooseStrictFindPlugin(schema) {
schema.pre('find', function (next) {
this.setOptions({ strict: false })
next()
})
}
// index.js
mongoose.plugin(MongooseStrictFindPlugin)
```
Now it works like expected, but is there any caveats for such approach?
username_0: Set `strict: false` option can't be a solution because` find` query will return whole document do not despite on which fields declared in scheme. I think this is wrong behaviour. Why mongoose modifying query in such way? MongoDB will never return whole collection if you pass in query non existing property. Small typo error in code may cause a big problems in production env. So I will need to implement additional layer which will validate each query object through schema's fields and delete not existing. It's not very user friendly :(
username_2: I was pointed here and I agree this should not behave like it is now. It should reflect mongodb. It could easily lead to some security issues or just dumb errors. I want my schema to be validated on update/save only. Here is example that could lead to sec issues.
```
const userSchema = mongoose.Schema({
userName: { type: String, required: true },
})
```
```
userSchema.findOne({
usersName: 'someuser'
});
```
It will return random user from db as we made a mistake and added extra S in 'users'; |
brianlala/AutoSPSourceBuilder | 277527103 | Title: KB2898850 is not a prerequisite for SP2016
Question:
username_0: According to [Hardware and software requirements for SharePoint Server 2016](https://technet.microsoft.com/en-us/library/cc262485(v=office.16).aspx#section4) Update for Microsoft .NET Framework to disable RC4 in Transport Layer Security KB2898850 is not in the list of prerequisites, so I believe it should be removed from the AutoSPSourceBuilder.xml
Answers:
username_1: Correct, it's not strictly needed or used by PrerequisiteInstaller.exe, but it was mentioned in several places in the past so I left it in as a "just in case" so it would be available for manual installation for Win2012 servers etc.
Status: Issue closed
|
ssl-hep/ServiceX | 494156108 | Title: Generate trivial Transformer code from FuncADL Select
Question:
username_0: # Story
_As an analyzer I want the transformer to select columns based on my selection so I can generate n-tuples for my research_
# Acceptance Criteria
1. Given a valid selection in the text language when I run the transformer then I should get the selected columns back
2. Given a selection text and the text contains syntax errors when I run the transformer then I should receive an error
# Assumptions
1. The ADL code is passed into the serviceX request as a JSON property
2. Parser and code generator added to the transformer code
3. The generated code looks mostly like the current code that reads attributes from the selected branches
4. The rest of the transformer runs as previously
Answers:
username_1: This looks like the generation of a component that will translate the new adl into the old python stuff from the assumption. This is a stepping stone to getting the full C++ backend in, right?
This makes me a little uncomfortable because it is creating something that will be thrown away: once the C++ back end comes in, we will likely have less use for the current backend.
If I remove some of your assumptions, this is the story I'd write for putting the C++ transformer in, which I guess is at the base of what I'm nervous about.
Status: Issue closed
username_0: Closed since this is now subsumed by #31 |
XX-net/XX-Net | 263078330 | Title: 尚未建立连接
Question:
username_0: 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; Trident/7.0; rv:11.0) like Gecko
xxnet-version: 3.6.7
python-version: 2.7.13
openssl-version: 16.0.0 TLSv1_2 h2:alpn
ipv6-status: 0
gws-ip-num: total:3000 good:517
network-status: OK
connected-link: new:0 used:0
worker: h1:0 h2:0
scan-ip-thread-num: 10
ip-quality: 596
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_0: 最新版的安装方法有吗/
username_1: 然而IP全挂掉了( ´_ゝ`)
username_0: 有解救方法吗 |
amida-tech/jsonapter | 243093731 | Title: $unwind
Question:
username_0: This is more of a question than an issue, but I don't know where to put it. Thank you in advance for your help.
Is there a way to use jsonapter to 'unwind' arrays? By unwind, I am referring to MongoDB [aggregate $unwind](https://docs.mongodb.com/manual/reference/operator/aggregation/unwind/#unwind-array)
As a simplified example, if I have this:
```
var input3 = {
a1: [{
x_outer: 1,
y_outer: 2,
z_outer: 3,
a2: [{
a_inner: 4,
b_inner: 5,
c_inner: 6
}, {
a_inner: 7,
b_inner: 8,
c_inner: 9
}]
}]
};
```
and I want this:
```
output = {
stuff: [{
x_new: 1, // a1[0].x_outer
a_new: 4 // a1[0].a2[0].a_inner
},{
x_new: 1, // a1[0].x_outer
a_new: 7 // a1[0].a2[1].a_inner
}]
}
```
What I have so far is this template:
```
var template3 = {
content: {
stuff: {
content: {
x_new: {dataKey: jsonave('a1[:].x_outer')},
a_new: {dataKey: jsonave('a1[:].a2[:].a_inner')}
}
}
}
};
```
My output is this:
```
{
"stuff": {
"x_new": [
1
],
"a_new": [
4,
7
]
}
}
```
I am stumped about how to get `x_new` and `a_new` in the same object, to get them in an array, and to get the `stuff` to repeat. Is there a way to accomplish what I want?
Answers:
username_1: At this point the best I can think of now something like this. Maybe another solution with simpler function can be found but I do not think you can do without a custom function somewhere in your template.
var template= {
content: {
stuff: {
content: {
x_new: {dataKey: 'x_outer'},
a_new: {
dataKey: jsonave('a2[*].a_inner'),
}
},
output: function(result) {
var raw = result.map(function(r) {
return r.a_new.map(function(p) {
return {
a_new: p,
x_new: r.x_new
}
});
});
return _.flatten(raw);
},
dataKey: jsonave('a1[*]'),
}
}
};
username_1: something similar to unwind looks to be a good thing to add to this library. i will take a look.
username_0: Thank you VERY MUCH for your code. It worked like I wanted it to.
When I was looking at the interface, it also crossed my mind that an `unwind` would be handy. I will leave the issue open for that, but from my standpoint, I got the answer I needed.
username_2: This is an excellent example of using the `output` tag.
However, it can be simplified much with the following `template` which may seem more intuitive.
This uses the `value` tag with the `parent` as `parameter`.
```
{
content: {
stuff: {
content: {
temp: {
dataKey: jsonave('a2[:].a_inner'),
content: {
a_new: {},
x_new: function (input, parent, params) {
return parent.x_outer;
}
}
}
},
output: function(result, input) {
return result.temp;
}
}
},
dataKey: 'a1',
single: true
}
```
I get the same output:
```
{
"stuff": [
{
"a_new": 4,
"x_new": 1
},
{
"a_new": 7,
"x_new": 1
}
]
}
```
Please let us know if you need any more help.
username_2: The template can be much simplified. I don't know what I was thinking.
```
{
content: {
stuff: {
dataKey: jsonave('a2[:].a_inner'),
content: {
a_new: {},
x_new: function (input, parent, params) {
return parent.x_outer;
}
}
}
},
dataKey: 'a1',
single: true
};
```
Hope this helps.
username_0: I like how much more simple this is if you can guarantee that the array a1 only has one element. If I have this input:
```
var data4 = {
a1: [{
x_outer: 1, y_outer: 2, z_outer: 3, a2: [{
a_inner: 4, b_inner: 5, c_inner: 6,
}, {
a_inner: 7, b_inner: 8, c_inner: 9,
}]
}, {
x_outer: 10, y_outer: 11, z_outer: 12, a2: [{
a_inner: 13, b_inner: 14, c_inner: 15,
}, {
a_inner: 16, b_inner: 17, c_inner: 18,
}]
}]
};
```
I would want this output:
```
output = {
stuff: [{
x_new: 1, // a1[0].x_outer
a_new: 4 // a1[0].a2[0].a_inner
},{
x_new: 1, // a1[0].x_outer
a_new: 7 // a1[0].a2[1].a_inner
},{
x_new: 10, // a1[1].x_outer
a_new: 13 // a1[1].a2[0].a_inner
},{
x_new:10, // a1[1].x_outer
a_new: 16 // a1[1].a2[1].a_inner
}]
}
```
I'll work on it and see if I can figure something better out. I really appreciate your interest and help.
username_2: If you remove the `single: true` you almost get the results except that it is in separate elements in an array. Now you need to do is to `flatten` the array.
Shortly I will have `flatten: true`, `compact: true` etc for arrays.
For now one can call the [flatten](https://lodash.com/docs/4.17.4#flatten) function.
Here is the complete template which gives you the desired result:
```
var template = {
content: {
stuff: {
dataKey: 'a1',
template: {
dataKey: jsonave('a2[:].a_inner'),
content: {
x_new: function (input, parent, params) {
return parent.x_outer;
},
a_new: {}
}
},
output: _.flatten
}
}
};
```
Status: Issue closed
|
PrismarineJS/node-minecraft-protocol | 222775212 | Title: Tried the client_echo.js example, got this error: ECONNRESET
Question:
username_0: I've tried running the example in `/examples/client_echo/client_echo.js` and this is what I get:
```
You are using a pure-javascript implementation of RSA.
Your performance might be subpar. Please consider installing URSA
connected
events.js:160
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:1026:11)
at TCP.onread (net.js:569:26)
```
I'm really interested in using a headless client on my project (https://github.com/username_0/Smelt).
I've been adding RCON support for servers, but for Singleplayer Worlds on LAN and Realms, it would be awesome to be able to use a secondary MC account to connect and fire commands.
But I can't get passed this error. Any thoughts?
Answers:
username_1: try putting version:'1.11.2' in createClient options ?
ps: @username_2 should we make 1.11.2 the default ? https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/src/version.js#L4
also I why is the displayed error so useless... there's even a test about this, I don't understand
username_0: That worked! Thank you 👍
I won't close so that @username_2 can answer your question.
username_2: We should just make whatever is the latest stable minecraft version the default automatically. Maybe we should add a 'latest' "symlink" in minecraft-data ?
username_1: now we default to automatically guessing the version, hopefully that will reduce the number of version issues.
Status: Issue closed
|
googleads/google-ads-python | 725740267 | Title: How can I assign attribute_values to a FeedItemOperation?
Question:
username_0: Hi, I want to create a new sitefeed item but I'm struggling with assigning the attibute_values to the FeedItemOperation using the Python library for the Google Ads API.
#so far it works:
feed_item_operation = google_ads_client.get_type(
'FeedItemOperation', version=VERSION)
feed_item = feed_item_operation.create
feed_item.feed = sitefeed_resource_name
#but here I'm lost
feed_item.attribute_values ...
This ist what it should look like:
`attribute_values: [feed_attribute_id {
value: 1
}
string_value {
value: "https://www.domain.com/"
}
]`
Can you help me out?
Regards
Mat
Answers:
username_1: @username_0 - with 10.0.0 of this library you can do this:
```py
client = GoogleAdsClient.load_from_storage(version="v6")
feed_item_attr_val = client.get_type("FeedItemAttributeValue")
feed_item_attr_val.feed_attribute_id = 1
feed_item_attr_val.string_value = "https://www.domain.com/"
feed_item.attribute_vales.append(feed_item_attr_val)
```
Since `attribute_values` is a repeated field it behaves like a list now, so you can use `extend` and pass in another existing list, or you can assign a comprehension result. See [these docs](https://developers.google.com/google-ads/api/docs/client-libs/python/library-version-10#repeated_fields) about the new interface for repeated fields.
Status: Issue closed
|
HanchengZhao/algorithm-notes | 240831695 | Title: 89. Gray Code
Question:
username_0: [89. Gray Code](https://leetcode.com/problems/gray-code/#/description)
Answers:
username_0: ```python
class Solution(object):
def grayCode(self, n):
"""
:type n: int
:rtype: List[int]
"""
# grayCode is symmetric
# each time you want to expand to one more digit, just add 0 on the left for each element
# in the array and add 1 for the reversed array to keep symmetric
res = [0]
for i in xrange(n):
for element in res[::-1]:
res.append(2 ** i + element)
return res
``` |
flosch/pongo2 | 455183475 | Title: set array in template
Question:
username_0: Seems to be this code not works properly, any plans to support it?
`{% set environments = ['dev', 'qa', 'prod'] %}`
Answers:
username_1: @username_0 I am seeing the same issue - were you able to find a workaround ?
username_0: @username_1 no, just abandon use this framework
username_1: Thank you for the response. Did you end up using any open source library ? I am looking for one too.
username_0: native go templating works okay
Status: Issue closed
username_0: closing issue, noone reacting and I dont want issue to hang than in my list |
zalandoresearch/fashion-mnist | 254022112 | Title: Benchmark: dual path network with wide resnet 28-10 as backbone
Question:
username_0: Classifier: dual path network with WideResNet28-10 as the backbone network (47.75M).
Preprocessing: standard preprocessing (mean/std subtraction/division) and augmentation (random crops/horizontal flips).
Fashion test accuracy: 95.73%
Code:https://github.com/username_0/DualPathNet
References:
[1] Chen, Yunpeng, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. "Dual Path Networks." arXiv preprint arXiv:1707.01629 (2017).
[2] Zagoruyko, Sergey, and <NAME>. "Wide residual networks." arXiv preprint arXiv:1605.07146 (2016).
Answers:
username_1: Many thanks for your contribution and the links to the paper. You are welcome include experiments on fashion-mnist in your final publication.
username_0: It's just an implementation for fun. I did not fine-tune hyper-parameters. Thanks for your awesome dataset.
Status: Issue closed
|
oppia/oppia | 787369182 | Title: No arrow pointer on the feedback popup
Question:
username_0: **Description**
The feedback popup when clicked on the rating stars does not show any arrow pointing to the start that was clicked.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to the library page
2. Click on complete a story
3. Give a rating at the end of the story.
**Observed behavior**
No arrow pointing to the rating provided by the user is observed.
**Expected behavior**
An arrow pointing directly to the start that the user clicked should be visible.
**Screenshots**

**Desktop (please complete the following information; delete this section if the issue does not arise on desktop):**
- OS: Arch Linux
- Browser Firefox |
jgee67/skeleton | 299552553 | Title: Home Page
Question:
username_0: This page will either be the first page the user sees, or the first page after logging in (depending on what the desired behavior of the app is)
This page will be the primary entry point into the site, and will probably interact with many of the other controllers. There will be no model associated with it, and will primarily be for display |
mongodb-js/vscode | 621840842 | Title: Playground imports or requires
Question:
username_0: I often use moment to format the results or the parameters of my queries. the playground does not support either a require or imports to use other JS libs.
Answers:
username_1: We checked this and yes this is a bug with our runtime. I'll message here once it fixed. Thanks for bringing it up!
username_1: The version 0.0.3 is released that adds require support in playgrounds. Thanks again for letting us know about the issue!
Status: Issue closed
|
postmanlabs/postman-app-support | 962958177 | Title: Migrate collection vars to env and vice versa
Question:
username_0: ### Is there an existing request for this feature?
- [X] I have searched the existing issues for this feature request
### Is your feature request related to a problem?
When you overtake a collection that has passwords etc. stored in collection vars you might want to migrate them to and environment.
On the other hand if you have different passwords for local development use stored in a "local" env, you might want to share them with the team via the collection.
### Describe the solution you'd like
Checkboxes to select definied variables and an action menu that has an entry "migrate to" and then a dialog that allows me to select a destination collection / environment (depending on whether source is collection vars or env vars)
Additionally that dialog should have an optional checkbox "copy". When copy is selected, the vars should be in source and destination location after operation completed-
### Describe alternatives you've considered
Can't think of any
### Additional context
_No response_
Answers:
username_1: @username_0 thanks for your suggestion. We will look at this and let you know. Feel free to add any more information at any point of time. |
avalonche/potato | 567231840 | Title: Video Calling
Question:
username_0: Would like video calling features for this baby...
Looking in [React Native WebRTC](https://github.com/react-native-webrtc/react-native-webrtc) as a possible solution. Not sure how to implement video calling with a remote client but it seems like there is a local only implement [here](https://github.com/baconcheese113/react-native-webrtc-minimal). |
rsuite/rsuite | 606686675 | Title: Header/Cell mismatch on horizontal scroll for Table
Question:
username_0: {
columnHeaders()
}
</Table>
</div>
)
}
export default Referrer
const style = {
topBarContainer: {
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center'
},
dateAndSearchContainer: {
paddingLeft: 10,
display: 'flex',
flexDirection: 'row',
overflow: 'overlay',
},
csvContainer: {
paddingRight: 10
},
search: {
paddingLeft: 10,
},
breadcrumb: {
height: 10
}
}
```
Answers:
username_1: Please upgrade rsuite to version 4.4.0
```
npm install rsuite@latest
```
Status: Issue closed
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.