repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
nusmodifications/nusmods | 53099975 | Title: Optimize moduleInformation.json
Question:
username_0: `moduleInformation.json` is HUGE at ~4.2mb and the page may appear to have hung if it takes a long time to load.
A temporary fix will be to add a loader/spinner or some message to notify of load times. Related to #95
Reported by @yjwong
Status: Issue closed
Answers:
username_0: After gzipping by @xinan it has been reduced to 1.2mb. There's no real optimization we can do if we are to stick with client side filtering. |
autodesk-forks/MaterialX | 646388473 | Title: Shader node search does not find any shaders for a material which is inside a definition
Question:
username_0: Currently the utility getShaderNodes() cannot find any shader nodes if the material node passed in has a nodegraph implementation, where the nodegraph contains the shader nodes.
e.g.

Note that the nodedef creation utility also does no publish the output correctly and does not consider to add the "nodename" reference. Another issue.
If created correctly this is the example configuration not handled:
```xml
<nodedef name="ND_mymaterial" node="mymaterial" nodegroup="material">
<output name="out" type="material" nodename="surfacematerial1" />
</nodedef>
<nodegraph name="NG_mymaterial" nodedef="ND_mymaterial">
<surfacematerial name="surfacematerial1" type="material">
<input name="surfaceshader" type="surfaceshader" nodename="standard_surface"/>
</surfacematerial>
<standard_surface name="standard_surface" type="surfaceshader" />
<output name="out" type="material" nodename="surfacematerial1" />
</nodegraph>
`<issue_closed>
Status: Issue closed |
NYCPlanning/db-safegraph | 745883707 | Title: daily_zip_poivisits_by_sector and daily_zip_poivisits_by_subsector - Boroughs have the same zip code
Question:
username_0: ZIP code 10001 is in both MN and BX.
The subsector file contains other MN ZIP codes with BX records, such as 10023.
How are we calculating ZIP codes?
Answers:
username_1: zip codes are provided by safegraph, not calculated
username_2: Query to see how big of a problem this is:
```sql
WITH daily_visits AS(
SELECT safegraph_place_id, poi_cbg, postal_code, date_add('day', row_number() over(partition by safegraph_place_id), date_start) AS date_current, CAST(visits AS SMALLINT) as visits
FROM (
SELECT
safegraph_place_id,
poi_cbg,
postal_code,
CAST(SUBSTR(date_range_start, 1, 10) AS DATE) as date_start,
CAST(SUBSTR(date_range_end, 1, 10) AS DATE) as date_end,
cast(json_parse(visits_by_day) as array<varchar>) as a
FROM safegraph.weekly_patterns
WHERE SUBSTR(poi_cbg,1,5) IN ('36085','36081','36061','36047','36005')
AND CAST('2020-10-01' AS DATE) < dt
AND CAST('2020-11-01' AS DATE) > dt
) b
CROSS JOIN UNNEST(a) as t(visits)
),
boro_counts AS (
SELECT postal_code, COUNT(DISTINCT SUBSTR(poi_cbg,1,5)) as boro_count
FROM daily_visits
GROUP BY postal_code
ORDER BY boro_count DESC)
SELECT
boro_count,
COUNT(postal_code) as num_zipcodes
FROM boro_counts
GROUP BY boro_count
```
For the month of Oct 2020:
Number of boroughs associated with a zipcode | Number of zipcodes
-- | --
1 | 231
2 | 36
3 | 0
4 | 22
5 | 2 |
thombergs/coderadar | 172259866 | Title: list file quality profile ratings over time
Question:
username_0: Provide a REST endpoint that provides the ratings for a specified quality profile of a single file over time
input:
* filename
* commit at which the file was named like that (filenames can change over time, so we have to provide the information at which point in time our filename was valid)
* quality profile name
* list of commits or date range
output:
* quality profile ratings for each commit in the specified range<issue_closed>
Status: Issue closed |
dotnet/aspnetcore | 621173013 | Title: Razor HTML Colorization Recognizing Invalid Keywords
Question:
username_0: 1. Create an empty `.razor`/`.cshtml` file
2. Paste in:
```html
<div>
do string foo something const string you know
what is going on?
</div>
```
Expected:
- no coloring for `do`, `const`, `going`
Actual:


Answers:
username_0: Potentially related to: https://github.com/dotnet/aspnetcore/issues/21071
username_1: Still repros. |
arangodb/kube-arangodb | 683512829 | Title: JWT Secret should contain JWT token, not just a HMAC secret
Question:
username_0: To make a real usage of the secret generated by kube-arangodb operator in automated deployment environments, it would be great to have the JWT token generated out of the box. As it seems to contain no timestamp nor server information, it should be no problem to have such generated. The currently proposed way: use of `arangodb auth header` command is a waste of resources as it requires installation of the whole arangodb server in the automated deployment container.
Answers:
username_1: Hello!
According to your comment - arangodb is only arangodb starter binary (in Go, standalone) - https://github.com/arangodb-helper/arangodb/releases/tag/0.14.15 - it should be not a problem to include it in your automated deployment.
About second part - JWT token can be generated in multiple ways, using expiration date, username, specific endpoints which it should access - we are not able to cover all cases.
Best Regards,
Adam. |
Frogging-Family/wine-tkg-git | 846310799 | Title: StarCitizen client (Lutris install, with wine-tkg) fails to start from launcher with: ntdll/unix/virtual.c:1414: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed.
Question:
username_0: System: Ryzen 3800XT 32GB RAM 36GB NVMe swap VEGA64 Archlinux with 5.11.11-zen1-1-zen kernel
Using the latest released wine-tkg build.
the launcher starts up fine, can login, plays music, can update, but when i try to start the client its crash with this error in log.
Checking for update
[11:36:20.316] [info] { event: 'LAUNCH_GAME' }
Update for version 1.4.10 is not available (latest version: 1.4.10, downgrade is disallowed).
[11:36:20.885] [info] { event: 'LAUNCH_GAME_READY',
data:
{ channelId: 'LIVE',
gameId: 'SC',
gameToken: '<KEY>',
heapAccountId: {},
platformId: 'prod' } }
[11:36:20.886] [info] Launching Star Citizen LIVE from (C:\Program Files\Roberts Space Industries\StarCitizen\LIVE)
m Files\Roberts Space Industries\StarCitizen\LIVE\Bin64\StarCitizen.exe: ../wine-mirror-git/dlls/ntdll/unix/virtual.c:1414: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed.
m Files\Roberts Space Industries\StarCitizen\LIVE\Bin64\StarCitizen.exe: ../wine-mirror-git/dlls/ntdll/unix/virtual.c:1414: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed.
m Files\Roberts Space Industries\StarCitizen\LIVE\Bin64\StarCitizen.exe: ../wine-mirror-git/dlls/ntdll/unix/virtual.c:1414: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed.
[11:36:30.901] [error] Star Citizen process exited abnormally (code: 2147483905) : Command failed: C:\Program Files\Roberts Space Industries\StarCitizen\LIVE\Bin64\StarCitizen.exe -no_login_dialog -no_login_dialog
Answers:
username_0: Shoot. Nevermind. Forgot to apply sysctl -w vm.max_map_count=16777216
Status: Issue closed
|
skwashd/github_api | 192949637 | Title: Create an 8.x-1.x branch
Question:
username_0: I have a D8 port for the github api that I'm ready to create a PR for, but there is no 8.x-1.x branch to make a PR to. Can you create an 8.x-1.x branch on the repo here, then we can issue a PR with our changes.
Status: Issue closed
Answers:
username_0: this has been created. |
riboseinc/rnp | 282800226 | Title: Use random filename for output until all processing is finished
Question:
username_0: ## Description
Signing/verification/decryption/encryption may fail at the end of operation (wrong signatures, failed mdc check, user don't know password for the secret key) so it would be logical to first save output data to random filename and then, on success, rename it to the correct one.
Is the part of #221 |
nodejs/build | 1094833167 | Title: Jenkins security update Jan 12th
Question:
username_0: I suppose I'll handle this one.
Answers:
username_1: The releases are out and we have some warnings on ci.nodejs.org now.
Status: Issue closed
username_0: A bit delayed, but they're both upgraded now:
## ci-release
Jenkins: 2.303.3 -> 2.319.2
### Plugins
* AnsiColor 1.0.0 -> 1.0.1
* Ant 1.12 -> 1.13
* Bootstrap 5 API 5.1.1-1 -> 5.1.3-4
* Credentials 2.6.1 -> 1074.v60e6c29b_b_44b_
* Credentials Binding 1.27 -> 1.27.1
* Durable Task 1.39 -> 493.v195aefbb0ff2
* ECharts API 5.2.1-2 -> 5.2.2-2
* Folders 6.16 -> 6.17
* Font Awesome API 5.15.4-1 -> 5.15.4-5
* Git 4.10.0 -> 4.10.3
* Git client 3.10.0 -> 3.11.0
* GitHub API 1.133 -> 1.301-378.v9807bd746da5
* GitHub Authentication 0.34 -> 0.37
* GitHub Branch Source 2.11.3 -> 2.11.4
* Jackson 2 API 2.13.0-230.v59243c64b0a5 -> 2.13.1-246.va8a9f3eaf46a
* Job Configuration History 2.28.1 -> 2.31-rc1098.b666422863b2
* Mailer 1.34 -> 408.vd726a_1130320
* INCOMPATIBLE (not upgraded): Matrix Authorization Strategy 2.6.8 -> 3.0
* Matrix Project 1.19 -> 1.20
* Maven Integration 3.15.1 -> 3.16
* OkHttp 4.9.2-20211102 -> 4.9.3-105.vb96869f8ac3a
* OWASP Markup Formatter 2.4 -> 2.7
* Parameterized Trigger 2.41 -> 2.43
* Pipeline: API 2.47 -> 1122.v7a_916f363c86
* Pipeline: Groovy 2.94 -> 2648.va9433432b33c
* Pipeline: Job 2.42 -> 1145.v7f2433caa07f
* Pipeline: Multibranch 2.26 -> 706.vd43c65dec013
* INCOMPATIBLE (not upgraded): Pipeline: Nodes and Processes 2.39 -> 1121.va_65b_d2701486
* Pipeline: Step API 2.24 -> 622.vb_8e7c15b_c95a_
* Pipeline: Supporting APIs 3.8 -> 813.vb_d7c3d2984a_0
* Plugin Usage 2.0 -> 2.1
* Plugin Utilities API 2.5.1 -> 2.12.0
* Popper.js 2 API 2.10.2-1 -> 2.11.2-1
* INCOMPATIBLE (not upgraded): PostBuildScript 2.11.0 -> 3.1.0-348.vaf5cd5c632ce
* Rebuilder 1.32 -> 1.33
* SCM API 2.6.5 -> 595.vd5a_df5eb_0e39
* Script Security 1.78 -> 1131.v8b_b_5eda_c328e
* SSH Agent 1.23 -> 1.24.1
* Structs 1.23 -> 308.v852b473a2b8c
* Subversion 2.15.1 -> 2.15.2
* Text Finder 1.16 -> 1.18
* Throttle Concurrent Builds 2.4 -> 2.6
* Timestamper 1.13 -> 1.16
## ci
Jenkins: 2.303.3 -> 2.319.2
### Plugins
* Ant 1.12 -> 1.13
* Badge 1.9 -> 1.9.1
[Truncated]
* Pipeline: Step API 2.24 -> 622.vb_8e7c15b_c95a_
* Pipeline: Supporting APIs 3.8 -> 813.vb_d7c3d2984a_0
* Platform Labeler 1018.v93737f630767 -> 1149.v1f78b2a3c1de
* Plugin Usage 2.0 -> 2.1
* Plugin Utilities API 2.5.1 -> 2.12.0
* Popper.js 2 API 2.10.2-1 -> 2.11.2-1
* INCOMPATIBLE (not upgraded): PostBuildScript 2.11.0 -> 3.1.0-348.vaf5cd5c632ce
* Rebuilder 1.32 -> 1.33
* REST API for Blue Ocean 1.25.1 -> 1.25.2
* REST Implementation for Blue Ocean 1.25.1 -> 1.25.2
* SCM API 2.6.5 -> 595.vd5a_df5eb_0e39
* Script Security 1.78 -> 1131.v8b_b_5eda_c328e
* SSH Agent 1.23 -> 1.24.1
* Structs 1.23 -> 308.v852b473a2b8c
* Subversion 2.15.1 -> 2.15.2
* Text Finder 1.16 -> 1.18
* Throttle Concurrent Builds 2.4 -> 2.6
* Timestamper 1.13 -> 1.16
* Web for Blue Ocean 1.25.1 -> 1.25.2
* xUnit 3.0.4 -> 3.0.5
username_1: What about "PUBLISH OVER SSH 1.22" ?
username_2: No available fixes at this time: https://www.jenkins.io/security/advisory/2022-01-12/ |
docker/docker-py | 75797093 | Title: docker-py fails silently on setting, creating, or starting a relative path volume
Question:
username_0: Note: the volume mount fails silently. I'd recommend a bug label; I should have mentioned that.
Answers:
username_0: Note: the volume mount fails silently. I'd recommend a bug label; I should have mentioned that.
username_1: Sorry for the delay on this - You're not getting an error because you're not doing volume configuration properly.
```
In [1]: import docker
In [2]: c = docker.Client()
In [6]: cfg = docker.utils.create_host_config(binds={'./tests': { 'bind': '/vol1', 'ro': False }})
In [8]: container_id = c.create_container('busybox', 'ls /vol1', volumes=['/vol1'], host_config=cfg)
---------------------------------------------------------------------------
APIError: 500 Server Error: Internal Server Error ("cannot bind mount volume: ./tests volume paths must be absolute.")
```
We could add more validation arguably (for example to not let you set a string as the "volumes" param) but there's a limit to how much we can really do I think.(i.e., if you specify volumes but not binds, there's no way for docker-py to tell if that's an error, or simply the intent to have unbound volumes)
Status: Issue closed
|
denoland/deno | 771394033 | Title: WebSocketStream API
Question:
username_0: The WebSocketStream API is an API for usage of websockets using streams.
There is no formal spec for it yet.
https://web.dev/websocketstream/
https://docs.google.com/document/d/1XuxEshh5VYBYm1qRVKordTamCOsR-uGQBCYFcHXP4L0/edit#
https://docs.google.com/document/d/1La1ehXw76HP6n1uUeks-WJGFgAnpX2tCjKts7QFJ57Y/edit
https://github.com/ricea/websocketstream-explainer/
https://chromestatus.com/feature/5189728691290112
Would there be interest in having it? From discussions it seems the answer would be yes, including https://github.com/denoland/deno/pull/7450#issuecomment-702013713
Answers:
username_1: Thanks for bringing it up. And WebSocketStream will be enabled by default on Chrome 89. [source](https://bugs.chromium.org/p/chromium/issues/detail?id=983030#c22)
username_0: I have a mostly-done implementation for it on a branch, but i am not sure if it is quite correct as there is no proper spec
username_1: One question: Does the WHTWHG Stream implementation in Deno comes from chromium Stream implementation? There's [new ByteStream feature](https://chromestatus.com/feature/4535319661641728) in Chrome Stream
username_2: The stream implementation in Deno is built in JavaScript and is part of the op_web crate.
I'm not sure we would want to include something that is not part of the living standard until it is part of the living standard. Chromium has jumped the gun a number of times and it only ends in sadness.
username_1: @username_2 Thanks for the information, I've also noticed WebKit's implementation also written is JS, I think it because of the stability result same as Deno. But I've noticed many new interesting features are going to be based on WHTWHG's Stream, besides WebSocketStream, there's also [QUICTransport](https://bugs.chromium.org/p/chromium/issues/detail?id=1011392) and [RTCQuicTransport](https://www.chromestatus.com/feature/6311472179183616). There are still in flux, but all venders is heading to QUIC and HTTP3, and it will happen soon than we expected(probably before 2021Q3). So a correct and performant Steam implementation is a key enabler.
username_2: What is incorrect or non-performant with the Deno Stream implementation?
username_1: I haven't done any benchmark, but I think this level code should be done in c++/rust level
username_3: Well please do benchmarks before making claims regarding performance :-). I would not be surprised at all if a pure JS implementation of WHATWG streams is faster and has higher throughput (and especially has better tail latencies) than a comparable C++/Rust implementation due to the lower context switch overhead.
username_2: I agree with @username_3 that for streams and what they do, we are likely to have a higher performance in JavaScript. It really is a stated layer on top of isolate constructs anyways. Doing it in Rust (in the Deno CLI there is 0 C++, and the least amount of C++ when can get away with in rusty_v8) would be painful and likely end up in a less performant solution.
Additional streams being implemented, might have a stream source that is an op to Rust, but that it quite a bit different than implementing streams in Rust.
Status: Issue closed
|
Ezure-HARUNA/HabitForce | 785773027 | Title: #7 feat:title
Question:
username_0: ---
name: firestoreを用いてadd機能追加
about: 追加したテキストを追加する機能を追加する
---
## 欲しい機能はなに?
追加したテキストを追加する機能を追加する
## なぜその機能が欲しい?
firestoreを用いてReactでCRUD機能を実装し、ポートフォリオに組み込むためにテスト的に実装したいから
## 実装方法
編集ボタンクリック→フォーム変更→編集完了ボタンクリック→編集完了という流れになるように実装する
## アウトライン
- [ ] useCreate実装
- [ ] useCreate({text})
- [ ] 表示
## 参考URL
https://qiita.com/k_tada/items/ed05d14458d1ddfcefae
## 参考資料 |
flutter/flutter | 564507603 | Title: Can not get symbols from crash report
Question:
username_0: <!-- Thank you for using Flutter!
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
* https://flutter.dev/
* https://api.flutter.dev/
* https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->
## Steps to Reproduce
<!-- You must include full steps to reproduce so that we can reproduce the problem. -->
1. according https://github.com/flutter/flutter/wiki/Crashes download symbols(libflutter.so), my engine version is 8591bd32e6b6cac4fe4e7487c3babdb907f459a3
2. use "aarch64-linux-android-addr2line -e ~/Downloads/libflutter.so", build id is right
```
solib build id:
/data/app/com.wudaokou.flyingfish-1/lib/arm/libapp.so: (no build id)
/data/app/com.wudaokou.flyingfish-1/lib/arm/libflutter.so: 47222fc274688c7c
/data/app/com.wudaokou.flyingfish-1/lib/arm/libstlport_shared.so: (no build id)
/data/app/com.wudaokou.flyingfish-1/lib/arm/libwdm-hdm-securitycheck.so: 965d6fcc7bb08d7cf7f5e184480ff5dfff62dd83
/data/app/com.wudaokou.flyingfish-1/lib/arm/libcrashsdk.so: 8d49f4bece6c6e239eacd4d0b505488ec8cd8fdd
/data/app/com.wudaokou.flyingfish-1/lib/arm/libneonuijni.so: (no build id)
/data/app/com.wudaokou.flyingfish-1/lib/arm/libmarsxlog.so: (no build id)
/data/app/com.wudaokou.flyingfish-1/lib/arm/libtnet-3.1.14.so: d494d577ed734a1a804198a73895dd3bcf8407dc
/data/data/com.wudaokou.flyingfish/app_SGLib/app_1581385068/libsgsecuritybodyso-6.4.27.so: (no build id)
/data/data/com.wudaokou.flyingfish/app_SGLib/app_1581385068/libsgmainso-6.4.36.so: (no build id)
/data/data/com.wudaokou.flyingfish/app_SGLib/app_1581385068/libsgmiscso-6.4.22.so: (no build id)
/data/data/com.wudaokou.flyingfish/app_SGLib/app_1581385068/libsgavmpso-6.4.20.so: (no build id)
/data/app/com.wudaokou.flyingfish-1/lib/arm/libc++_shared.so: 006aa3f3cdc1d618f277596e399816ccdc765674
/data/app/com.wudaokou.flyingfish-1/lib/arm/libmmkv.so: a5a3235c89f80396294b0bb525a85e08dfeb79f4
```
3. input crash address
**Expected results:** <!-- what did you want to see? -->
crash symbols
**Actual results:** <!-- what did you see? -->
??:0
<details>
<summary>Logs</summary>
<!--
Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.
-->
crash log parts
```
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000001
r0 00000001 r1 dac2d6b0 r2 dac2d6b0 r3 0000009d
r4 ef14bc60 r5 d600e3d0 r6 ed6a81b0 r7 00000048
r8 ed5b9ec0 r9 ed6a7c00 10 00000001 fp f748ef6c
ip dcc20018 sp d90ff6e8 lr d8700335 pc d86fed9e cpsr 80000030
[Truncated]
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 38.2.4
• Dart plugin version 192.6262.58
[!] VS Code (version 1.36.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (4 available)
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 5.1.1 (API 22) (emulator)
• iPhone6-iOS10.3 • 985E5233-0F5A-490C-BE56-92F5A82EE49A • ios • com.apple.CoreSimulator.SimRuntime.iOS-10-3
(simulator)
• macOS • macOS • darwin-x64 • Mac OS X 10.14.6 18G2022
• Chrome • chrome • web-javascript • Google Chrome 80.0.3987.100
! Doctor found issues in 3 categories.
```
</details>
Answers:
username_1: @username_0
Is this still a valid issue using latest Flutter version or has this been resolved ?
username_2: Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of `flutter doctor -v`.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.
Status: Issue closed
|
escola-de-dados/jornalismodedados.org | 605199024 | Title: Links nos textos do fórum e do prêmio
Question:
username_0: Como os links que direcionam ao fórum e ao prêmio estão apenas nos ícones, no celular esta área clicável fica muito reduzida, por isso o ideal seria clicar o texto junto. Além disso, seria mais interessante visualmente deixar as caixas em tamanhos iguais, talvez cortando um pouquinho o texto de uma delas. |
citusdata/postgresql-hll | 337282074 | Title: PostgreSQL 11 build issue
Question:
username_0: Hi,
I'm getting this on my Fedora 28 box, against PostgreSQL 11:
`
+ /usr/bin/make -j4
hll.c: In function 'setup_multiset':
hll.c:2760:64: error: macro "AllocSetContextCreate" passed 5 arguments, but takes just 3
ALLOCSET_DEFAULT_MAXSIZE);
^
hll.c:2756:18: error: 'AllocSetContextCreate' undeclared (first use in this function); did you mean 'SlabContextCreate'?
tmpcontext = AllocSetContextCreate(rcontext,
^~~~~~~~~~~~~~~~~~~~~
SlabContextCreate
hll.c:2756:18: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [<builtin>: hll.o] Error 1
make[1]: *** Waiting for unfinished jobs....
hll.c:2759:40: error: too many arguments provided to function-like macro invocation
ALLOCSET_DEFAULT_INITSIZE,
^
/usr/pgsql-11/include/server/utils/memutils.h:165:9: note: macro 'AllocSetContextCreate' defined here
#define AllocSetContextCreate(parent, name, allocparams) \
^
hll.c:2756:18: error: use of undeclared identifier 'AllocSetContextCreate'
tmpcontext = AllocSetContextCreate(rcontext,
^
2 errors generated.
make[1]: *** [/usr/pgsql-11/lib/pgxs/src/makefiles/../../src/Makefile.global:1009: hll.bc] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.0j1PDS (%build)
Bad exit status from /var/tmp/rpm-tmp.0j1PDS (%build)
rpmsign: no arguments given
make: *** [../../../common/Makefile.global-PG11:28: build11] Error 1`
Can you please take a look?
Regards, Devrim
Answers:
username_1: Hi @username_0,
Thanks for reporting this but I could not reproduce this problem. Line numbers in the error message you shared don't match the current HEAD. Is it possible that you used old master? At the moment latest tag (v2.10.2), does not refer to HEAD. If you used the tag, that would explain this behavior. If current master builds in your setup too without any problem, I can tag it.
username_0: Hi @username_1 ,
I don't use tags -- I use the released versions to build the packages. If you can build from a specific tag, it means the issue is resolved, so you should wrap a new release :)
Cheers, Devrim
username_0: ping :)
Status: Issue closed
|
kogg/InstantLogoSearch | 162262651 | Title: (unknown): Script error.
Question:
username_0: View details in Rollbar: [https://rollbar.com/instantlogosearch/instantlogosearch/items/120/](https://rollbar.com/instantlogosearch/instantlogosearch/items/120/)
```
(unknown): Script error.
File "http://pstatic.bestpriceninja.com/nwp/External/nlp_compromise.min.js", line unknown, in [anonymous]
```<issue_closed>
Status: Issue closed |
smallnest/rpcx | 312278105 | Title: How to use grpc Interceptor
Question:
username_0: How to use `grpc` Interceptor
`grpc` for example
```
grpc.NewServer(Interceptor)
```
How should `rpcx` use interceptors?
Answers:
username_0: 看了你给的文档你指的是这个[https://github.com/rpcx-ecosystem/rpcx-examples3/tree/master/trace](https://github.com/rpcx-ecosystem/rpcx-examples3/tree/master/trace)吗?
具体如何使用呢?看`examples3`里面的`trace`例子没看明白如何使用。比如自定义实现一个`app_id,app_token`的验证,就类似java的拦截器,在发起请求前进行一些操作(比如数据加密),在接收请求后预处理数据(比如数据解密),具体类似下面的`grpc middleware插`件
[https://github.com/rpcx-ecosystem/rpcx-examples3/tree/master/trace](https://github.com/grpc-ecosystem/go-grpc-middleware)
username_1: 1. 如果只是身份认证,rpcx提供了Auth接口,你可以接入你的oauth2或者jws
https://github.com/rpcx-ecosystem/rpcx-examples3/tree/master/auth
2. 你可以用metadata传递额外的信息
https://github.com/rpcx-ecosystem/rpcx-examples3/tree/master/metadata
这个例子是在服务中读取metadata。如果你想实现通用的拦截,可以实现下面的接口
```go
type PostReadRequestPlugin interface {
PostReadRequest(ctx context.Context, r *protocol.Message, e error) error
}
```
通过 `reqMeta := ctx.Value(share.ReqMetaDataKey).(map[string]string)` 读取客户端传递的metadata
3. 如果你的信息是在参数里, 你实现`PostReadRequestPlugin `接口即可。
Status: Issue closed
username_1: 参考trace实现: https://github.com/username_1/rpcx/blob/master/serverplugin/trace.go
定义一个struct, 实现`PostReadRequest`方法:
```go
func (p *TracePlugin) PostReadRequest(ctx context.Context, r *protocol.Message, e error) error {
tr := trace.New("rpcx.Server", "ReadRequest")
defer tr.Finish()
tr.LazyPrintf("read request %s.%s, seq: %d", r.ServicePath, r.ServiceMethod, r.Seq())
return nil
}
```
你可以在这个方法中做你的拦截操作,如果返回error,则直接返回给clienty error, 否则会继续调用服务
把你的这个plugin加入到server的plugin容器中即生效。
```go
s := server.NewServer()
traceP := &serverplugin.TracePlugin{}
s.Plugins.Add(traceP)
```
username_1: 你更新一下代码, 我刚刚fix.
先前的代码没有处理插件的error,直接抛弃了
username_0: 好的,谢谢啦 |
DimaLinnik/Testing_BSU | 443027305 | Title: [KSR2][Improvment]Проекты: убрать возможность создания проектов с одинаковыми именами
Question:
username_0: Android app 1
Шаги:
1) Заходим в "Проекты"
2) Жмем на плюс
3) Вводим "4" в оба поля
4) Сохраняем
5) Жмем на плюс
6) Вводим "4" в оба поля
7) Сохраняем
8) Видим что изменения успешно приняты
Получено:
Два проекта с одинаковыми полями "Название" и "Сокращенное название"

Ожидается:
После шага №7 ожидаем сообщение о существовании проекта с введенными параметрами |
rveachkc/pymsteams | 461533157 | Title: printme() should return string rather than printing
Question:
username_0: Or rather, I guess it would be nice to have a new method such as as_string() so that we can get a string and print it to where WE choose (e.g. log file).
Answers:
username_1: Instead of adding another method, would you consider just referencing the payload class attribute?
It's a python object, but can also be dumped to json or pretty printed.
Example:
```python
# setup
teams_message = pymsteams.connectorcard(os.getenv("MS_TEAMS_WEBHOOK"))
teams_message.text("This is a simple text message.")
teams_message.title("Simple Message Title")
# dump to json string
import json
json.dumps(teams_message.payload)
# output: '{"text": "This is a simple text message.", "title": "Simple Message Title"}'
# pretty printing
import pprint
pprint.pprint(teams_message.payload)
# output: {'text': 'This is a simple text message.', 'title': 'Simple Message Title'}
```
username_0: This is good, thank you!
Status: Issue closed
|
nybejonn/DungeonCrawler | 236742405 | Title: Koodikatselmointi 2.
Question:
username_0: Projekti ladattu 18.6.2017 klo 10:24
Netbeans (tai koodikatselmoija itse) ei tunnistanut main-luokkaa, joten en harmi kyllä päässyt testaamaan projektia käytännössä. Vaikuttaa kyllä mielenkiintoiselta projektilta, vaikken ihan täysin vielä ymmärtänytkään pelin rakennetta.
* Yleisesti ottaen metodit ovat ytimekkäitä ja selkeitä, ja luokkajako näyttää myös selkeältä.
* Luokkakaavio näyttäisi kaipaavan hieman päivitystä.
* Metodeissa on käytetty jonkin verran yhden-kahden kirjaimen lyhenteitä, esim int k, boolean ko. Ulkopuoliselle nämä ei ehkä ole kovin kuvaavia nimityksiä, ja helpottaisi koodin seuraamista jos olisi nimetty pidemmästi ja kuvaavammin.
* Pieni epäjohdonmukaisuus nimeämisessä; .ui pakkauksessa on nimetty luokat TestUI.java ja TekstUi.java, toisessa UI isolla, toisessa Ui.
* Hyvältä näyttää, tsemppiä loppurutistukseen! |
alekseylovchikov/ch-download | 494818040 | Title: Unable to do npm install
Question:
username_0: 191 silly saveTree ├─┬ [email protected]
191 silly saveTree │ └── [email protected]
191 silly saveTree └── [email protected]
192 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...tgz"}},"6.0.59":{"nam'
192 verbose stack at JSON.parse (<anonymous>)
192 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17)
192 verbose stack at consumeBody.call.then.buffer (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50)
192 verbose stack at processTicksAndRejections (internal/process/task_queues.js:86:5)
193 verbose cwd /Users/fasil/Documents/downloader
194 verbose Darwin 18.6.0
195 verbose argv "/usr/local/Cellar/node/11.14.0_1/bin/node" "/usr/local/bin/npm" "install"
196 verbose node v11.14.0
197 verbose npm v6.9.0
198 error Unexpected end of JSON input while parsing near '...tgz"}},"6.0.59":{"nam'
199 verbose exit [ 1, true ] |
openshift/console-operator | 398660924 | Title: CRD and CR for operator resource config need to be updated to guidelines
Question:
username_0: See https://docs.google.com/document/d/1aIIFMRpzfNh_sOAMf2NQ2iXUD5AeUYgWZNEhiqTwyYE and
https://github.com/openshift/cluster-kube-apiserver-operator/blob/master/manifests/0000_10_kube-apiserver-operator_01_config.crd.yaml as an example.
Answers:
username_1: @busername_0aminapetersen @username_0 anything left for this?
username_2: Well, this document hasn't really been kept up to date. There are a couple things that could still be done:
- `Force ManagementState = "Force"` - I'm not 100% certain [this](https://github.com/openshift/api/blob/master/operator/v1/types.go#L32) does much for us.
- `OperatorSpec.LogLevel` - We have talked about doing [this](https://github.com/openshift/api/blob/master/operator/v1/types.go#L55), it needs to be piped down into the operand/console.
- `OperatorSpec.ObservedConfig` - Essentially, we need 2 sync loops.
The first for top level config, operator config, etc. We should collect & build our config, then merge`upsupportedConfigOverrides`, and then publish the merged config here. THEN we should have a separate sync loop watching for just this update & applying the merged config to our resources. [This](https://github.com/openshift/api/blob/master/operator/v1/types.go#L74). Its a decent bit of work splitting up our sync loop just to get back to where we are at. I don't know if any other operators support this yet.
- `OperatorSpec.OperandSpecs` - If useful, this provides [another layer of overrides](https://github.com/openshift/api/blob/master/operator/v1/types.go#L103).
username_2: I'm closing this as I've broken it out into issues in Jira in the [Console Operator Epic](https://jira.coreos.com/secure/RapidBoard.jspa?rapidView=134&projectKey=CONSOLE&view=planning.nodetail&selectedIssue=CONSOLE-1322&epics=visible&selectedEpic=PROD-667).
Status: Issue closed
|
peeringdb/peeringdb | 688618326 | Title: Add {ix,fac}_count to object net
Question:
username_0: Like net_count for facilities, add `{ix,fac}_count` fields to object `net`. This is an informational field and read-only.
@pc, please vote on this issue.
Answers:
username_1: +1
username_0: A series of issues to add counters to object relations. Related to #834 ad #836
@pc, please review
username_2: +1
username_3: **Summary:**
- Add to the API a read-only field `ix_count` to net (ie the number of ix the network is linked to)
- Add to the API a read-only field `fac_count` to net (ie the number of facilities the network is linked to)
Status: Issue closed
|
withfig/fig | 1114998883 | Title: Unable to complete fig setup
Question:
username_0: 
### Details:
|macOS|Fig|Shell|
|-|-|-|
|12.1.0|Version 1.0.55 (B365)|/usr/local/bin/zsh|
<details><summary><code>fig diagnostic</code></summary>
<p>
<pre>Version 1.0.55 (B365) [ABC]
UserShell: /usr/local/bin/zsh
Bundle path: /Applications/Fig.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/michael/.fig/bin/fig
Accessibility: true
SSH Integration: false
Tmux Integration: false
iTerm Integration: true
Hyper Integration: false
VSCode Integration: false
Docker Integration: true
Symlinked dotfiles: false
Only insert on tab: false
UNIX Socket Exists: true
Installation Script: true
PseudoTerminal Path:
SecureKeyboardInput: false
SecureKeyboardProcess: <none>
Current active process: ??? (???) - ???
Current terminal session: ???
Current working directory: ???
Current window identifier: ???</pre>
</p>
</details>
Answers:
username_1: Hey @username_0, so sorry that you're running into issues here. If you restart Fig and go through the onboarding flow again, is this reproducible?
username_2: Having the same issue
@username_1 I tried restarting but with no success
This is the output:
```
[Error] Origin https://app.withfig.com is not allowed by Access-Control-Allow-Origin.
[Error] Fetch API cannot load https://www.cotter.app/api/v0/verify/get_identity?oauth_token=true due to access control checks.
[Error] Failed to load resource: Origin https://app.withfig.com is not allowed by Access-Control-Allow-Origin. (get_identity, line 0)
[Error] Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20Load%20failed for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Ni (vendor.a7f585ad.js:27:82900)
(anonymous function) (vendor.a7f585ad.js:27:85019)
Eg (vendor.a7f585ad.js:27:49161)
Yi (vendor.a7f585ad.js:27:86755)
dk (vendor.a7f585ad.js:27:102911)
dk
(anonymous function) (vendor.a7f585ad.js:18:3780)
Uj (vendor.a7f585ad.js:27:99691)
Lj (vendor.a7f585ad.js:27:95736)
Lj
(anonymous function) (vendor.a7f585ad.js:27:45668)
(anonymous function) (vendor.a7f585ad.js:18:3780)
jg (vendor.a7f585ad.js:27:45614)
ig (vendor.a7f585ad.js:27:45549)
Jg (vendor.a7f585ad.js:27:93135)
Oh (vendor.a7f585ad.js:27:65021)
Oh
(anonymous function) (index.c743fcaf.js:1:1217)
promiseReactionJob
[Error] Unhandled Promise Rejection: Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20Load%20failed for the full message or use the non-minified dev environment for ful...
jg (vendor.a7f585ad.js:27:45757)
ig (vendor.a7f585ad.js:27:45549)
Jg (vendor.a7f585ad.js:27:93135)
Oh (vendor.a7f585ad.js:27:65021)
Oh
(anonymous function) (index.c743fcaf.js:1:1217)
promiseReactionJob
```
Status: Issue closed
username_3: Should be fixed |
ekowabaka/tico-v | 392680941 | Title: Feature Request: events!
Question:
username_0: This seems to be a very cool and performant two-ways binding. I would love to see events added to it (such as clicks, etc...). :)
Answers:
username_1: Thanks @username_0 I've actually been thinking of adding that. Also thanks for your interest in my tiny project. :smile: |
ScottLogic/StockFlux | 140642137 | Title: Cap the number of favourites per window?
Question:
username_0: Should the number of favourites per window be capped to help prevent the application slowing down/misuse of the Quandl API? Having 200-300+ favourites per window seems a bit silly.
Answers:
username_1: I can't imagine a window being useful after 10 stocks. This is an entirely arbitrary number, but I find it unlikely to be reached in most cases.
username_2: @username_1 How should this work? When 10 (or n) stocks have been selected as favourite what do we do?
We can disable all favourite stars on new search results, or display a message. Or allow adding new stocks but remove the eldest ones?
username_2: Similarly how would this work for tearing in? If a window has the maximum number of stocks do we disallow tearing in? I.e. don't show the hover state, and when the user lets go of the torn out stock a new window is opened.
username_3: I really don't see the point of this feature. I Often have at least 20 favorites in my stockflux, but I wouldn't want to prevent others from having more.
username_3: It's adding complication and limiting functionality for no great reason in my opinion.
username_1: Honestly I having a huge number of stocks favourited isn't really what the application was designed for, but it probably doesn't hurt. It reduces de incentive to create new windows, which is an openfin feature we wanted to highlight, but usability-wise, having to create new windows isn't a great workflow to encourage. With this in mind, not adding a limit might be best at least for now, since it gives control to the user.
Status: Issue closed
|
sherfin94/resume-maker | 166262978 | Title: Improvement - how to better segregate method tests
Question:
username_0: Have a look at [these tests](https://github.com/sherfin94/resume-maker/blob/master/spec/user_spec.rb#L9-L16). All these are tests pertaining a single method. The first test is actually not needed and the second redundantly checks the final result. Here's a better way to rewrite the same:
```ruby
describe "#to_hash" do
it 'returns a hash with name, age, place' do
the_hash = user.to_hash
expect(the_hash).to eq({name: '<NAME>', age: '21', place: 'Some Place'})
end
end
```
As a convention, when testing methods, have all the individual tests wrapped in a `describe` block as above. If the method is an instance method, let the description be the method name preceded by a hash `#` (e.g. `describe "#to_hash"`). If it were a class method, let the preceding symbol be a period `.` (e.g. `describe ".my_class_method"`). |
ISISComputingGroup/IBEX | 325002308 | Title: BECKHOFF: autosave settings and positions
Question:
username_0: This is not currently down for the BECKHOFF
Answers:
username_0: To test:
* Edit end of st-common.cmd so that "create_monitor_set" is run in simulation mode
* Start in either devsim or recsim
* Change a motor record field e.g. LLM
* wait 30 seconds
* restart ioc
* check value preserved
Note that simulation mode with the axis record doesn't quite work and you will be unable to move the motor
Status: Issue closed
|
theskumar/python-dotenv | 661976906 | Title: python-dotenv fails to install on macOS python 3.8
Question:
username_0: pip install fails with below output
```
(venv) localhost:test-project test$ pip install -r requirements.txt
Requirement already satisfied: pynetbox in ./venv/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (5.0.5)
Requirement already satisfied: dnacentersdk in ./venv/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.0.0)
Collecting dotenv
Using cached dotenv-0.0.5.tar.gz (2.4 kB)
ERROR: Command errored out with exit status 1:
command: /Users/test/Documents/test-project/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-install-<KEY>dotenv/setup.py'"'"'; __file__='"'"'/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-install-e2vraf18/dotenv/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-pip-egg-info-1t1vef5k
cwd: /private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-install-e2vraf18/dotenv/
Complete output (52 lines):
WARNING: The wheel package is not available.
ERROR: Command errored out with exit status 1:
command: /Users/test/Documents/test-project/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/setup.py'"'"'; __file__='"'"'/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-pip-egg-info-7uw20k6y
cwd: /private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/setuptools/extension.py", line 5, in <module>
from setuptools.dist import _get_unpatched
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/setuptools/dist.py", line 7, in <module>
from setuptools.command.install import install
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-<KEY>distribute/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-wheel-5u137z6b/distribute/pkg_resources.py", line 1518, in <module>
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Traceback (most recent call last):
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/local/Cellar/[email protected]/3.8.4/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/test/Documents/test-project/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/tmp043jll3f', '--quiet', 'distribute']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/pip-install-<KEY>dotenv/setup.py", line 13, in <module>
setup(name='dotenv',
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 143, in setup
_install_setup_requires(attrs)
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 138, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/setuptools/dist.py", line 695, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 781, in resolve
dist = best[req.key] = env.best_match(
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1066, in best_match
return self.obtain(req, installer)
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1078, in obtain
return installer(requirement)
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/setuptools/dist.py", line 754, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/test/Documents/test-project/venv/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/Users/test/Documents/test-project/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/80/5dkl_lsn4nb9bx57_chc4qtr0000gn/T/tmp043jll3f', '--quiet', 'distribute']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
```
Answers:
username_0: python installed via homebrew:
```
(venv) localhost:test-project test$ python --version
Python 3.8.4
(venv) localhost:test-project test$ pip --version
pip 20.1.1 from /Users/test/Documents/test-project/venv/lib/python3.8/site-packages/pip (python 3.8)
(venv) localhost:test-project test$
```
username_1: Do you get the same error if you don't use cache? `pip install -r requirements.txt --no-cache-dir`
username_2: I agree, trying without cache might help. This line in the output you posted looks surprising:
```
Using cached dotenv-0.0.5.tar.gz (2.4 kB)
```
That version of Python-dotenv is very old.
Status: Issue closed
username_2: Wait a minute, that's not Python-dotenv you're trying to install, it's dotenv, another package. Try `pip install python-dotenv` and it should work. |
MicrosoftDocs/OData-docs | 546100076 | Title: Using OData client without auto-generated proxy classes.
Question:
username_0: All code samples in the OData Client docs appear to use auto-generated proxy classes for the TripPin service. I was wondering why there are no examples showing how to use the barebones OData client library directly to interact with an existing OData service without using a tool or extension to pre-generate code. Is this not a valid or intended use case?
Status: Issue closed
Answers:
username_1: https://docs.microsoft.com/en-us/odata/client/basic-crud-operations#using-with-pocos |
videojs/videojs.com | 108671648 | Title: Player not Working in IE9
Question:
username_0: Hi,
the player is not working in IE9 on Windows 7. I'm using the v4.12.15 video.js from the cdn, but even on your website the error occurs:
SCRIPT16385: Not implemented
video.js, line 133 character 433
SCRIPT5007: Unable to get value of the property 'parse': object is null or undefined
video.js, line 62 character 84
Could anyone please help? The link to my project is: http://projekte.username_0.de/u4-anim/ but at the moment the player is not even loading with the error.
I am using the player already in a customers project and it is necessary that it wors on IE9 and IE8 as well...
regards, username_0
Answers:
username_0: Could please anybody help me with this problem???
Status: Issue closed
username_1: Closing as this is the repo for the website and this is not a website issue. The main video.js repo is at https://github.com/videojs/video.js, but in this case it isn't really a video.js issue either so Stack Overflow might be a better resource.
The video doesn't play on IE9 because there is no source set. I can see how you're adding a source element to the video before instantiating the player, but for some reason appending source elements to video elements [doesn't work on IE9](http://stackoverflow.com/q/7174790/740233).
You could set the source with the video.js API when it's ready instead:
player = videojs(containerId, {
...
}, function(){
this.src({src:"http://projekte.username_0.de/u4-anim/media/02_Gesamtanimation.mp4", type:"video/mp4"})
});
username_0: Ok, thank you for the advise. I'll try this. |
pnp/sp-starter-kit | 686623638 | Title: Why is it required for "everyone" to be on Targeted Release for this to work?
Question:
username_0: - [x] Question
Hello, I'm trying to use the stock web part but the requirement to have everyone on Targeted Release is a deal breaker. Is there any way around this requirement? Can you help me connect the dots to understand why this is required?
Answers:
username_1: This isn't actually a requirement anymore. It was a requirement of v1 of the starter kit when it was initially released to use the Graph Web Parts.. We'll update the documentation to reflect this.
You are good to go to use this! I'm going to close this out :)
Status: Issue closed
username_0: Are you sure because I tried to use the stock info webpart with tenant set to Enterprise release and it didn’t work until I switched it Targeted release for Everyone. I will test again….
username_0: I guess it must be something other than the release cycle causing the issue. It’s not working in either case now. The time updates but the stock price doesn’t. =( Maybe a network thing. This SPFx is so overwhelming!
<NAME> | Digital Workspace Architect | Enterprise Technology - Engineering
Edwards Lifesciences | www.edwards.com<http://www.edwards.com/> | One Edwards Way | Irvine, CA 92614
mobile: +1.858.405.7185
<EMAIL>
From: <NAME>
Sent: Thursday, August 27, 2020 8:38 AM
To: pnp/sp-starter-kit <<EMAIL>>
Subject: RE: [EXTERNAL] Re: [pnp/sp-starter-kit] Why is it required for "everyone" to be on Targeted Release for this to work? (#431)
Are you sure because I tried to use the stock info webpart with tenant set to Enterprise release and it didn’t work until I switched it Targeted release for Everyone. I will test again….
username_2: Can you provide the specific error you are seeing? Anything reported in the console log or in the webpart it self? |
mdlayher/netlink | 635610288 | Title: Signal block while Receiving
Question:
username_0: Hi, I found that when I call `Receive`, system signal is blocked(such as `syscall.SIGINT` and `syscall.SIGTERM`. However I need to support interrupt when nothing received(like `ctrl+c`). How could I do?
Answers:
username_1: The following program works with no problems:
```go
package main
import (
"log"
"github.com/username_1/netlink"
"golang.org/x/sys/unix"
)
func main() {
c, err := netlink.Dial(unix.NETLINK_ROUTE, nil)
if err != nil {
log.Fatalf("failed to dial: %v", err)
}
defer c.Close()
for {
msgs, err := c.Receive()
if err != nil {
log.Fatalf("failed to receive: %v", err)
}
log.Println(msgs)
}
}
```
```
✔ ~/src/github.com/username_1/netlink/cmd/nlblock [master|…1]
12:59 $ ./nlblock
^C
✘-INT ~/src/github.com/username_1/netlink/cmd/nlblock [master|…1]
```
What exactly are you trying to do? Can you provide example code?
username_0: I need to handle some cleanup code so I capture the signal like this
```
package main
import (
"log"
"os"
"os/signal"
"syscall"
"github.com/username_1/netlink"
"golang.org/x/sys/unix"
)
func main() {
c, err := netlink.Dial(unix.NETLINK_ROUTE, nil)
if err != nil {
log.Fatalf("failed to dial: %v", err)
}
defer c.Close()
s := make(chan os.Signal, 1)
signal.Notify(s, syscall.SIGINT, syscall.SIGTERM)
go func() {
<-s
c.Close()
os.Exit(0)
}()
for {
msgs, err := c.Receive()
if err != nil {
log.Fatalf("failed to receive: %v", err)
}
log.Println(msgs)
}
}
```
This will lead to dead loop.
Status: Issue closed
username_1: This is a duplicate of #162, so closing. |
poteto/ember-crumbly | 130831761 | Title: Make active breadcrumb not be an anchor tag
Question:
username_0: It would be great if there was an option to make the active breadcrumb not be an anchor tag. I'm using the breadcrumb with Bootstrap and their [examples](http://getbootstrap.com/components/#breadcrumbs) show the active breadcrumb to just have text within the list item (no anchor tag).
```html
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li><a href="#">Library</a></li>
<li class="active">Data</li>
</ol>
Currently, I'm adding my own custom styles to make the active breadcrumb look like normal text instead of a link, but I'm still able to click on it, which just goes to the same page I'm on.
Answers:
username_1: @username_0 is this still an active issue?
username_0: @username_1, I'm not sure. I haven't worked on the project that was making use of breadcrumbs in months. I can check on this sometime this week though.
Status: Issue closed
username_2: Can't reproduce this issue, closing for now.
username_2: One side note, if you manually define `linkable` in your route it takes precedence over the calculated one.
https://github.com/poteto/ember-crumbly/blob/master/addon/components/bread-crumbs.js#L103 |
valyala/fastjson | 512381631 | Title: Can I use one `Parser` repeatedly?
Question:
username_0: I want to define a `Parser` only one time, and use it to parse different string several times. But it seems that the variables only are assigned with the latest parsing result, even I use different variable. My demo code as follows:
```
package main
import "fmt"
import "github.com/username_1/fastjson"
func main() {
var p fastjson.Parser
s0 := `{"hello": "world"}`
s1 := `{"hello": "dlrow"}`
v, _ := p.Parse(s0)
v1, _ := p.Parse(s1)
fmt.Printf("%v\n", v.Get("hello"))
fmt.Printf("%v\n", v1.Get("hello"))
}
```
Answers:
username_1: `Parser` can be used repeatedly. Moreover - this is the most optimal usage for `Parser`. But all the objects returned from the `Parse` call become invalid after the next `Parse` call.
username_0: Any methods to keep it valid?
username_2: https://godoc.org/github.com/username_1/fastjson#ParserPool
What are the disadvantages of reusing a parser pool for infinitely dissimilar json?
Boundless memory consumption? |
dropwizard/dropwizard | 509638565 | Title: Update jackson.version to 2.9.10.20191020 to address CVE
Question:
username_0: Update `jackson.version` in `dropwizard-bom` from 2.9.10 to 2.9.10.20191020
This updates jackson-databind from 2.9.10 to 2.9.10.1, and addresses three CVE, all with CVSS v3.1 score of 9.8
* [CVE-2019-16942](https://nvd.nist.gov/vuln/detail/CVE-2019-16942)
* [CVE-2019-16943](https://nvd.nist.gov/vuln/detail/CVE-2019-16943)
* [CVE-2019-17531](https://nvd.nist.gov/vuln/detail/CVE-2019-17531)
The update should be done release/1.3.x branch.
Master (2.0.x) is using jackson 2.10.0 which is not vulnerable to the CVE.
Answers:
username_1: @username_0 Thanks for your contribution!
Status: Issue closed
|
julianlam/nodebb-plugin-canned-responses | 486026990 | Title: Category specific template does not work
Question:
username_0: I have installed the plugin, its very cool.
Now i wan't to use a template for topic opening, but the text isn't shown in the composer or the topic.
Forum was restarted & rebuild after save the plugin settings.
Is there something i am missing?
nodebb version: 1.12.2
plugin version: 2.2.3
Status: Issue closed
Answers:
username_0: I have installed the plugin, its very cool.
Now i wan't to use a template for topic opening, but the text isn't shown in the composer or the topic.
Forum was restarted & rebuild after save the plugin settings.
Is there something i am missing?
nodebb version: 1.12.2
plugin version: 2.2.3 |
munichrocker/DatawRappr | 547968886 | Title: Check session cookie when sending multiple calls
Question:
username_0: Datawrapper uses session cookies, if there's an unauthenticated call to v1. This package uses v3 and authenticated calls, but there have been reports of 401 errors on Windows when using dw_edit_chart() multiple times in a single R session.
This needs to be investigated. A possible solution might be to add a handle = '' to the httr call
Status: Issue closed
Answers:
username_0: Should be fixed in https://github.com/username_0/DatawRappr/commit/8d17ab99e2f04085b6ee804827f081c9380cdb7c
username_1: I just (still, after this fix) had this issue both on OSX and on Ubuntu.
Addinghttr::handle_reset("https://api.datawrapper.de/") in front of the 2nd dw_edit_chart call helped.
I think the issues is that I'm doing multiple things in this order
dw_data_to_chart
dw_edit_chart
dw_publish_chart
and dw_edit_chart also suffers from side-effects from other calls?
username_0: Yes, **Adding** `httr::handle_reset("https://api.datawrapper.de/")` after the first (or before the second dw_edit_chart-call is the only known workaround right now.
https://github.com/username_0/DatawRappr/commit/ac205dcde0eebe6077e5df6431896dfff50502aa should've fixed it. But it doesn't.
dw_data_to_chart and dw_publish_chart both use different APIs. It could be a side effect, but I'm not sure.
Needs further investigation. I see it's a huge problem right now with Corona. Try to get it done this week.
username_0: Datawrapper uses session cookies, if there's an unauthenticated call to v1. This package uses v3 and authenticated calls, but there have been reports of 401 errors on Windows when using dw_edit_chart() multiple times in a single R session.
This needs to be investigated. A possible solution might be to add a handle = '' to the httr call
username_1: I decided to look into this a bit more. One more thing that breaks is `dw_list_charts`, which returns an empty result. a quick search through the codebase for api.datawrapper.de returns only `/v3/` results - except `dw_publish_chart`. so that might be the culprit.
i could reproduce the issue by creating charts using a different user, then editing them with my auth key. adding `httr::handle_reset` to `dw_publish_chart` fixed the issue.
pull request incoming
Status: Issue closed
|
davemers0160/Ouster | 454874680 | Title: Cannot connect to os1
Question:
username_0: Hi, and thank you very much for making this code available. I am trying to get an os1 64 running on windows using your code, and it is giving me:
```
Log File: ../results/lidar_capture_log_20190611_204914.txt
Running lidar capture using the following parameters:
Lidar IP Address: 10.127.1.175
Config Port: 7501
Data Port: 7502
IMU Port: 7503
Receiving IP Address: 10.127.1.101
Average Capture Number: 11
Save Path: ../results/
Configuring LIDAR: Failed!
Error Code (005): Socket connection failed. Error: -1
```
it seems the socket is wrong, but how to tell what it should be?
i am able to ping the lidar using the serial:
```
C:\Windows\system32>ping os1-************* (serial redacted)
Pinging os1-************* with 32 bytes of data:
Reply from fe80::be0f:a7ff:fe:%13: time<1ms
Reply from fe80::be0f:a7ff:fe:%13: time<1ms
Reply from fe80::be0f:a7ff:fe:%13: time<1ms
Reply from fe80::be0f:a7ff:fe:%13: time<1ms
Ping statistics for fe80::be0f:a7ff:fe:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
```
If you are able to help me out with this it would be very much appreciated. Thanks!
Answers:
username_1: Sorry, I didn't see this until know.
If you haven't fixed it, I think that the problem is IPv4 vs IPv6. It looks like your system is defaulting to IPv6.
Also the IP address are going to be specific to your machine and how you configure the OS-1.
Status: Issue closed
|
google/blockly | 300807308 | Title: Discussion: Possible values of Blockly.selected
Question:
username_0: As of Feb 2018, `Blockly.selected` can only be the currently selected **block**.
With the workspace comments we set `Blockly.selected` to be the currently focused/selected comment. By extension it should be possible to select a block comment or warning, and possibly even the flyout or toolbox category. When moving within a block, there could be a selected field or connection.
For accessibility and keyboard navigation we probably want some concept of "selected" that encompasses all of these things.
Questions:
- Would overloading `Blockly.selected` in this way cause problems? e.g. if someone's code assumes that if `Blockly.selected` is set, it's a `Blockly.Block`.
- @quachtina96 do you have thoughts on accessibility?
- How does this play into keyboard navigation?
- Is it worth keeping track of a selected block separately from anything else that might be selected?
- Are there categories of selectable things? e.g. blocks, block comments and workspace comments are mutually exclusive, but a textarea within a block or a comment may be selected at the same time as that block or comment.
Answers:
username_1: For selection, I would say that Blockly's selection handling should be separate from the toolbox. As it's not a requirement to use Blockly's toolbox, as developers can implement their own custom toolbox.
I'm not sure if there's some other meaning for selection, but my understanding of selection is that there's a visual indicator in Blockly (not in scratch-blocks), when a block is selected. It's the last Block that a user clicked on. Perhaps in the future it would be the block that would move if you were to use the arrow keys (for accessibility). So with that assumption in mind, I'd say that selecting a block is no different to any other entity that can be moved around with arrow keys on the workspace. (ie: any other entity that lives on the workspace). That includes both workspace and block comments.
As an extension of that, the selected visual indicator is an indicator that the Block can be moved. (and I just checked, and we don't show a selected indicator for read only, so that's in alignment with my reasoning).
Perhaps down the line, all selectable objects (blocks, comments, warnings) should extend from one abstract class, and that is the type of Blockly.selected.
username_2: I want help with my blockly code. how to remove all dragged blocks by clicking the reset button. my code only removes the child block.
Here's my code:
function reset() {
if (Blockly.selected && !Blockly.selected.workspace.isFlyout) {
Blockly.Events.setGroup(true);
Blockly.hideChaff();
Blockly.selected.dispose(false);
Blockly.Events.setGroup(false);
}
delete inputTextValue;
redrawUi();
}
I also wanted to delete the parent block as well. Please help me with this problem.
username_3: Hello!
The code you currently have will delete all blocks below the currently selected block. If you want to remove any parents of the block you could use the following code:
```
Blockly.selected.getRootBlock().dispose(false)
```
This will get the first block in the stack and then call dispose on it.
If you have any more questions, please use the [forum](https://groups.google.com/g/blockly?pli=1) to ask them. We like to keep all questions in one place and this will help us keep our issues decluttered.
Thanks! |
sabbelasichon/typo3-rector | 517376030 | Title: Breaking: #78581 - FormEngine TcaFlexFetch data provider removed
Question:
username_0: Breaking: #78581 - FormEngine TcaFlexFetch data provider removed
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.5/Breaking-78581-FormEngineTcaFlexFetchDataProviderRemoved.html
.. include:: ../../Includes.txt
================================================================
Breaking: #78581 - FormEngine TcaFlexFetch data provider removed
================================================================
See :issue:`78581`
Description
===========
The FormEngine data provider :php:`TcaFlexFetch` has been merged into data provider :php:`TcaFlexPrepare`.
Impact
======
If own registered data providers are declared to "depends" or "before" :php:`TcaFlexFetch`, the
:php:`DependencyResolver` will be unable to find it and throws an exception or sorts the own data
provider to an ambiguous place.
Affected Installations
======================
An installation is only affected in the relatively unlikely case that an own data provider declared a
dependency to :php:`TcaFlexFetch`.
[Truncated]
Migration
=========
Move the dependency over to :php:`TcaFlexPrepare`: The two data providers have been merged into one, it
should be save for any data provider to hook in before or after :php:`TcaFlexPrepare` instead. There
is a little additional flex form processing in :php:`TcaFlexPrepare`, so the flex structure might be a
bit different. Have a look at methods :php:`removeTceFormsArrayKeyFromDataStructureElements()`
and :php:`migrateFlexformTcaDataStructureElements()` for details.
.. index:: PHP-API, FlexForm, Backend
Answers:
username_0: This is not worth it. Not many people doing it, if at all.
Status: Issue closed
|
ros2/ros2 | 115571302 | Title: ci_scripts: change Windows defaults to something that "just work"
Question:
username_0: Currently the Windows job will try to build all of the rmw implementations by default and that will fail. We should change it to default to one, probably OpenSplice.
It would also be good to have an early check to make sure mutually exclusive options are not selected.
Answers:
username_0: Closed by https://github.com/ros2/ros2/pull/154
Status: Issue closed
|
rubyzip/rubyzip | 1175743065 | Title: Consider enabling write_zip64_support by default?
Question:
username_0: I accidentally created an invalid zip file by adding a single file with > 4GB of uncompressed data but without setting `Zip.write_zip64_support = true`. For example, `7z x` errors when attempting to extract the generated file.
In my case I quickly found the problem and recreated the zip file having enabled `write_zip64_support`, but I can imagine in some scenarios it may be a pain to (much?) later find that the generated file has been silently corrupted.
Is there a good reason _not_ to enable `write_zip64_support` by default? Or perhaps explicitly raise an error if `rubyzip` detects that it has written >4GB of data?
A simple reproduction:
```ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'rubyzip', "= 2.3.2"
end
require "zip"
ONE_MB_OF_A = "a" * 1024 * 1024
def write_zip(file_name, zip64_support:)
Zip.write_zip64_support = zip64_support
Zip::File.open(file_name, Zip::File::CREATE) do |zipfile|
zipfile.get_output_stream("data.txt") do |data|
(1024 * 4).times do |i|
data << ONE_MB_OF_A
end
10.times do |i|
data << "b"
end
end
end
end
write_zip("example.zip", zip64_support: false)
write_zip("example64.zip", zip64_support: true)
```
writes out 4GB + 10 bytes of data, running `7z t example.zip` fails but `7z t example64.zip` passes
Answers:
username_1: Thanks for this. I would like to turn Zip64 on by default, and do intend to. There's a PR (#517) that does this, but I'm taking some time to make sure we do this in a way that doesn't break other things - see this comment to that PR: https://github.com/rubyzip/rubyzip/pull/517#issuecomment-1030266449.
I'll leave this issue open and close it once I get this sorted. I intend Zip64 to be on by default - or, even better, applied only when it needs to be by default - in version 3.
username_0: Thanks @username_1 - apologies for missing the already-open PR. Your suggestion of enabling Zip64 when required sounds good |
adsabs/aws_elk | 89012623 | Title: Ensure elasticsearch index does not fill disk
Question:
username_0: A curator will need to be added to the docker container running elasticsearch. This will ensure that elasticsearch does not fill the disk with the index.
For more details see the [docs](https://www.elastic.co/blog/curator-tending-your-time-series-indices).<issue_closed>
Status: Issue closed |
PolitoTech/FCI-WP | 94337054 | Title: Blog Overview Page - Side Bar Edits
Question:
username_0: 1. Browse Blog Topics --> only want these post types:
From the Sales Team
Marketing Update
Marketing Best Practices
Salesforce Best Practices
Sales and Marketing Alignment
Also here we need to actually have these categories linked to the post types because when you click on them they just show all the blogs instead of the specific ones for that category. Want to show a page with all the posts that are tagged under these types.
____
2. Our Bloggers --> remove these:
Pratibha
Admin
<NAME>
<NAME>
Politotech
Also when you click on the blogger picture/avatar it either needs to show a page with all the blogs written by that person or to a page with their bio
______
3. Popular Posts --> needs to pull from actual blog posts, not all the pages
____
4. I hyperlinked the buttons to the right assets so that is taken care of.
Answers:
username_1: - For the First issue(Browse Blog Topics) Fixed
- Our Bloggers : Need new page => new Design
- Popular Posts : Need to develop a new plugin, I never did it
- I hyperlinked the buttons ...etc I did not understand
Status: Issue closed
|
alibaba-fusion/next | 1048251911 | Title: [Select]组件包更新到1.24.14后,alifd/next/types/select/index.d.ts 报错导致无法build
Question:
username_0: ### Component
Select
### Steps to reproduce
项目依赖了 alifd/next,近期next release后出现该报错,导致构建失败。
目前的解决方法是在node_modules中将SelectProps中renderPreview方法按照报错提示进行修改。
../../node_modules/_@[email protected]@@alifd/next/types/select/index.d.ts:195:18 - error TS2430: Interface 'SelectProps' incorrectly extends interface 'HTMLAttributesWeak'.
Types of property 'renderPreview' are incompatible.
Type '((values: string | number | data | (string | number | data)[], props: any) => any) | undefined' is not assignable to type '((value: ReactText) => ReactNode) | undefined'.
Type '(values: string | number | data | (string | number | data)[], props: any) => any' is not assignable to type '(value: ReactText) => ReactNode'.
<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE -->
<!-- component: Select --><issue_closed>
Status: Issue closed |
xitu/tensorflow-docs | 316475604 | Title: /extend/new_data_formats.md
Question:
username_0: * Markdown 文件:[/extend/new_data_formats.md](https://github.com/xitu/tensorflow-docs/blob/zh-hans/extend/new_data_formats.md)
* PR 地址:
----
* 翻译时间:6 天
* 校对时间:2 天
* 翻译积分:6 分
* 校对积分:2 分
* [积分有什么用](https://github.com/xitu/gold-miner/wiki)
Answers:
username_1: @username_0 翻译认领
Status: Issue closed
|
godotengine/godot | 219866046 | Title: Will Godot open plain text files with the script editor?
Question:
username_0: Is this going to be supported in the future?
My main problem with this is that I want to edit Escoria ESC files inside Godot, so I don't need to go to a different editor, search routes to save/open, etc... And if I'm going to work in a syntax highlighting for ESC files, putting it in the internal godot editor looks like the best option.
Answers:
username_1: Duplicate of #1390.
(and to avoid 8254 type of scenarios, yes, it would be supported in the future, hopefully 3.0)
Status: Issue closed
username_0: Thanks :) |
tensorflow/tensorflow | 493576685 | Title: undeclared inclusion(s) in rule '//tensorflow/contrib/lite/kernels:eigen_support'
Question:
username_0: <em>Please make sure that this is a build/installation issue. As per our [GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md), we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em>
**System information**
- OS Platform and Distribution: Linux Ubuntu 16.04
- TensorFlow installed from (source or binary): Source
- TensorFlow version: r1.12
- Python version: 2.7
- Installed using virtualenv? pip? conda?: No
- Bazel version (if compiling from source): 0.15.0
- GCC/Compiler version (if compiling from source): 5.4.0
- CUDA/cuDNN version: Cuda 9.0/ cuDNN 7
- GPU model and memory: Mobile GTX 1070
**Describe the problem**
sudo bazel --output_base=/opt/tensorflow build --config=cuda --config=opt --define framework_shared_object=false tensorflow:libtensorflow_cc.so //tensorflow/tools/pip_package:build_pip_package
**Any other info / logs**
`./configure`
build --action_env PYTHON_BIN_PATH="/usr/bin/python"
build --action_env PYTHON_LIB_PATH="/home/ryan/catkin_ws/devel/lib/python2.7/dist-packages"
build --python_path="/usr/bin/python"
build:ignite --define with_ignite_support=true
build:xla --define with_xla_support=true
build --action_env TF_NEED_OPENCL_SYCL="0"
build --action_env TF_NEED_ROCM="0"
build --action_env TF_NEED_CUDA="1"
build --action_env CUDA_TOOLKIT_PATH="/usr/local/cuda"
build --action_env TF_CUDA_VERSION="9.0"
build --action_env CUDNN_INSTALL_PATH="/usr/lib/x86_64-linux-gnu"
build --action_env TF_CUDNN_VERSION="7"
build --action_env TF_NCCL_VERSION="1"
build --action_env TF_CUDA_COMPUTE_CAPABILITIES="6.1"
build --action_env LD_LIBRARY_PATH="/usr/local/cuda-9.0/lib64:/home/ryan/catkin_ws/devel/lib:/opt/ros/kinetic/lib:/opt/ros/kinetic/lib/x86_64-linux-gnu"
build --action_env TF_CUDA_CLANG="0"
build --action_env GCC_HOST_COMPILER_PATH="/usr/bin/gcc"
build --config=cuda
test --config=cuda
build:opt --copt=-march=native
build:opt --host_copt=-march=native
build:opt --define with_default_optimizations=true
build:v2 --define=tf_api_version=2
`build log`
WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
DEBUG: /opt/tensorflow/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:115:5:
Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default
WARNING: /opt/tensorflow/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /opt/tensorflow/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /opt/tensorflow/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /opt/tensorflow/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /opt/tensorflow/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /opt/tensorflow/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/ryan/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:354:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /home/ryan/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed 2 targets (0 packages loaded).
INFO: Found 2 targets...
ERROR: /home/ryan/tensorflow/tensorflow/contrib/lite/kernels/BUILD:57:1: undeclared inclusion(s) in rule '//tensorflow/contrib/lite/kernels:eigen_support':
this rule is missing dependency declarations for the following files included by 'tensorflow/contrib/lite/kernels/eigen_support.cc':
'/opt/tensorflow/external/eigen_archive/Eigen/Core'
INFO: Elapsed time: 3.144s, Critical Path: 2.54s
INFO: 18 processes: 18 local.
FAILED: Build did NOT complete successfully
Answers:
username_1: There's not much we can do for TF 1.12 at this point. Are you able to repro the issue in 1.14 or a more recent build?
username_0: I tried with r1.11 and r1.14 and it builds.
username_2: Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.
Status: Issue closed
|
null-open-security-community/swachalit | 619611748 | Title: Session comments / likes / dislikes
Question:
username_0: Can we enable some sort of comments likes dislikes option for session.
I would preferably link it to logged in users to avoid fraud
Answers:
username_1: We can use this gem for like/dislike:
https://github.com/davidcelis/recommendable
username_2: @username_1 you can maybe assign it to me.
username_1: Sounds good @username_2
This needs to be implemented in a bit modular manner.
For example, this will be used only for `EventSession` model. But the same feature may be required against other models as well in future.
username_1: Hey @username_2
Any progress on this? Let me know if you need any assistance.
username_2: Hi Abhishek,
I think it will be better if you can assign it to someone else now as I am
relocating to new city and totally occupied with all that. I doubt I'll be
able to work on it soon.
Apologies for the delay, I hope you understand.
Thanks and Regards.
username_1: No problem. Thanks @username_2
username_3: @username_1 You can maybe assign this to me. I will work on it.
username_1: Done @username_3
username_3: Is it necessary to use a recommandation engine for like/dislike? A simple/dislike gem like [Acts As Votable](https://github.com/ryanto/acts_as_votable) can be used. This gem persists the data in the db unlike [Recommendable](https://github.com/davidcelis/recommendable) which uses `Redis`.
username_1: Ok. Sounds good. Go ahead as you like.
username_0: couple of points.
1. If you open free text comments we need moderation or an option for admin to delete comments in case its voilating community guidelines.
username_1: Awesome work @username_3
I merged this. This will go to production soon.
Status: Issue closed
|
saltstack/salt | 52606359 | Title: "salt-minion.exe" thread leak in Salt 2014.7.0 on Windows
Question:
username_0: Running the official Salt 2014.7.0 release on a Windows 7 Enterprise 64bit Minion.
The minion is running for 3 days and was only occasionally connected to the salt-master.
When connected, I have issued only testing commands (like test.version).
In Sysinternals Process Explorer I searched for "salt-minion" and found 400 `salt-minion.exe` threads, spawned of `crss.exe` (Microsoft client server runtime process). 20 were created in the last 2 hours, when I was connected to the master for 1 hour and 40 during writing this report (and offline).
This means the number of threads is rapidly rising.
I don't get where the answer is in "Explain the number of master procs and worker_threads" https://github.com/saltstack/salt/pull/14907
At which number of threads Python is supposed to reclaim threads?
Is this a thread leak?
Answers:
username_1: Yeah, I think this is likely the same issue as #18515. |
GameServerManagers/LinuxGSM | 622311966 | Title: ts3server doesn't start with updateonstart
Question:
username_0: ## User Story
ts3server doesn't start with updateonstart turned on.
## Basic info
* **Distro:** Ubuntu 18.04]
* **Game:** TeamSpeak 3
* **Command:** update, start
* **LinuxGSM version:** v20.3.0
## Further Information
It just checks the version currectly, but doesn't end the start command as in earlier versions.
Output with updateonstart turned on:
```
ts3server@ts:~$ ./ts3server r
[ OK ] Stopping ts3server: Graceful: CTRL+c: 2: OK
[ OK ] Updating ts3server: Checking for update: teamspeak.com
No update available
* Local build: 3.12.1
* Remote build: 3.12.1
ts3server@ts:~$
```
without updateonstart:
```
ts3server@ts:~$ ./ts3server r
[ INFO ] Stopping ts3server: TeamSpeak 3 Server is already stopped
[ OK ] Starting ts3server: TeamSpeak 3 Server
ts3server@ts:~$
```
## To Reproduce
Steps to reproduce the behaviour:
1. Turn updateonstart to on
2. start ts3
## Expected behaviour
Start no matter what updateonstart is.
Answers:
username_1: Thanks this will be a priority
username_2: Fixed with the release 20.3.1
Status: Issue closed
|
student-lt/student-lt | 327512336 | Title: デプロイを自動化したい
Question:
username_0: 現状はいい感じのタイミングと環境で `./build.sh` を実行してデプロイしているが、これをCircleCI的な何かでマージしたらデプロイみたいな感じにしたい。(いい感じのタイミングと環境が整ってないと `./build.sh` はコケるし毎回実行するのも面倒)
Answers:
username_1: `.circleci/config.yml` などをつくって
以下のような感じで実行可能だと思う
```
deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "gh-pages" ]; then
*deploy command*
```
username_2: [Netlfiy](https://www.netlify.com/) を利用したらいいんじゃないでしょうか?
ホスト対象のブランチを Netlify に登録して、そのブランチが更新されたら自動でビルドされますよ。
username_3: Netlifyで行ってるためClose
Status: Issue closed
|
skycoin/cx-games | 829040550 | Title: Snake game (using `cx` command)
Question:
username_0: Running snake game produces following error:
```
cmd\main.cx:515: syntax error: unexpected PERIOD
```
Answers:
username_0: After resolving previous issue, following error is produced:
```
error: cmd\main.cx:559 operator 'os.Open' expects to return 1 output, but 0 receiving arguments were provided
```
Status: Issue closed
|
BeamMW/beam | 425383474 | Title: Settings screen - Сhange the sequence of checks when changing the password
Question:
username_0: We have two checks here:
1. if the password is incorrect
2. if the old and new passwords are the same
But their sequence is wrong for the next case
Steps:
- open the wallet
- go to the Settings screen
- click "change wallet password" button
- type a wrong old password and repeat and confirm this wrong password for new password
Expected: In that case system should check at first correct old password or not - the 1 error appears
Actual: Currently system applies the 2nd check, that old and new passwords are the same

Answers:
username_1: Let's do it for the new settings |
flutter/flutter | 435418326 | Title: firebase_auth: 0.8.0+3 FireBaseAuth.verifyPhoneNumber crashes on IOS 12.1 device
Question:
username_0: Hello,
My app crashes on IOS 12.1 when trying to register my phone (I am testing on real device).
FireBaseAuth.verifyPhoneNumber
I had no issues with firebase_auth: 0.6.6.
Any version starting from firebase_auth: 0.8.0+3 crashed my app ( which BTW runs fine on android)
(I recently upgraded my dependencies to match androidX)
I of course ran flutter clean prior building, still the same issue.
**Flutter doctor -v:**
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.13.6 17G65, locale
en-FR)
• Flutter version 1.2.1 at /Users/Crono/Development/Mobile/flutter
• Framework revision 8661d8aecd (9 weeks ago), 2019-02-14 19:19:53
-0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version
28.0.3)
• Android SDK at /Users/Crono/Library/Android/sdk
• Android NDK location not configured (optional; useful for native
profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.2.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
[!] IntelliJ IDEA Community Edition (version 2017.2.5)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific
functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[✓] Connected device (1 available)
• iPhone … ios •
iOS 12.1
**The flutter exception:**
18:08:27.006 2560 info flutter.tools [ +41 ms] Service protocol connection closed.
18:08:27.006 2561 info flutter.tools [ +1 ms] Lost connection to device.
18:08:27.006 2562 info flutter.tools [ +2 ms] DevFS: Deleting filesystem on the device
18:08:27.007 2563 info flutter.tools [ +1 ms] Sending to VM service: _deleteDevFS(...)
**The Exception retrieved from xcode:**
2019-04-14 18:21:58.563029+0200 Runner[2949:2458392] flutter: [PhoneRegistrationProvider] IN _signInWithPhoneNumber with verificationId = <KEY>nMROy6fiRmwhWuYyzuGnvsSxts1pUV0sLYD3e2O8bHESlnzZyAuCjLEDMThuAn8EqIrVpcyp9kP-7vKhSMyTT4QR1vei and smsCode = 142558
2019-04-14 18:21:58.568043+0200 Runner[2949:2458375] -[NSNull length]: unrecognized selector sent to instance 0x1eea359b0
2019-04-14 18:21:58.569355+0200 Runner[2949:2458375] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull length]: unrecognized selector sent to instance 0x1eea359b0'
*** First throw call stack:
(0x1be2d3ea0 0x1bd4a5a40 0x1be1ecd04 0x1be2d97b8 0x1be2db45c 0x10294ebb4 0x102944930 0x102944164 0x1066db824 0x1066dcdc8 0x1066e4e6c 0x1066e5b60 0x1066efbfc 0x1bdef00dc 0x1bdef2cec)
libc++abi.dylib: terminating with uncaught exception of type NSException
any help is appreciated :)
Status: Issue closed
Answers:
username_0: The crash was caused by the input code that i always set as null, sorry for my negligence.
nevertheless it made the app crash on IOS
username_1: I have the exact same problem. On my iPhone 5s with iOS 12.2, running
await _auth.verifyPhoneNumber(phoneNumber: "+491712345678",
timeout: Duration(seconds: 60),
verificationCompleted: (e){
print("completed");
},
verificationFailed: (a){
print("failed" + a.message);
},
codeSent: (String a, [int]){
print("codeSent");
},
codeAutoRetrievalTimeout: null);`
the app crashes instantly when I hit the button.
On Android, it works perfectly. Other firebase-operations like e-mail registering work like a charme. Silversquall, could you give a little more details on how you solved that? :)
username_0: Hey username_1 could you try to build your app in release mode and try again ?
username_1: Thanks username_0. I just tried in release-mode, but without success. Same crash as soon as I hit the button. I'll go over all those APNs settings and keys and stuff one more time, even though I'd expect flutter to just return an error message if that would be the case...
username_0: @username_1 glad to hear that ! lot's f conf @ first sight then it's all smooth...until the next relase of the lib :D |
smanders/externpro | 502228002 | Title: node.js 10 requires additional include directory for internal includes
Question:
username_0: node.js 10 is currently available to use in externpro https://github.com/username_0/externpro/issues/219
however, an additional include directory is needed for "internal" includes, for example uv/include/uv/unix.h has
```cpp
#include "uv/threadpool.h"
```
https://github.com/nodejs/node/blob/v10.16.0/deps/uv/include/uv/unix.h#L46
where previously in node.js 8 it had
```cpp
#include "uv-threadpool.h"
```
https://github.com/nodejs/node/blob/v8.12.0/deps/uv/include/uv-unix.h#L45
Status: Issue closed
Answers:
username_0: completed with commit to dev branch referenced above |
ng-packagr/ng-packagr | 365217021 | Title: Embedded option setting
Question:
username_0: ## Type of Issue
```
[v] Bug Report
[ ] Feature Request
```
## Description
My library depend on highcharts.
After build , it shows below error
```
ERROR in ./libs/test-toolkit/fesm5/test-toolkit.js
Module not found: Error: Can't resolve 'highcharts' in '/ilabs/project/test-project/toolkit-test/libs/test-library/fesm5'
```
it seems ngpackagr didn't bundle highcharts for me.
ng-package setting as below
```
{
"name": "test-library",
"version": "1.0.0",
"ngPackage": {
"$schema": "../node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "index.ts",
"embedded": [
"highcharts"
],
"umdModuleIds": {
"highcharts": "Highcharts",
}
},
"dest": "test-library",
"whitelistedNonPeerDependencies": ["."]
},
"peerDependencies": {
"@angular/animations": ">=6.0.0",
"@angular/common": ">=6.0.0",
"@angular/compiler": ">=6.0.0",
"@angular/core": ">=6.0.0",
"@angular/forms": ">=6.0.0",
"rxjs": ">=6.0.0"
},
"dependencies": {
"@angular/animations": "^6.1.6",
"@angular/cdk": "^6.3.1",
"@angular/common": "^6.1.6",
"@angular/compiler": "^6.1.6",
"@angular/core": "^6.1.6",
"@angular/forms": "^6.1.6",
"@angular/material": "^6.3.1",
"@angular/platform-browser": "^6.1.6",
"@angular/router": ">=6.0.2",
"rxjs": "^6.3.2",
"zone.js": "^0.8.26",
[Truncated]
#### Expected Behaviour
What should I do if I want to consumer using my library without install highcharts?
#### Version Information
```
$ node_modules/.bin/ng-packagr --version
ng-packagr: 4.2.0
@angular/compiler: 6.1.8
rollup: 0.66.2
tsickle: 0.32.1
typescript: 2.7.2
```
_Please include all version numbers that might be relevant, e.g. third-party libraries_
"highcharts": "^6.1.4"
Answers:
username_1: Embed option is not longer available in ng-packagr v4. It was replaced with npm bundles dependencies
https://docs.npmjs.com/files/package.json#bundleddependencies
I’ll try to document this a bit larger on today, however, I highly suggest that you use peerDependencies instead.
username_2: Hi all,
my personal experience: I would not use bundledDependencies nor embedding any more. In the first place, we were using it for proprietary non-public third party dependencies. Why we eventually were comfortable with it? Because of the architecture/environment in which our applications and libraries were running we were safe to not have conflicting versions - actually, we were 'forced' to embed the proprietary code because we didn't want to expose it to public APIs. If that's the case, it's the only use case I think of where it's ok to do embedding/bundling. (In the meantime, we changed the architecture and don't do it anymore)
For most (every) open source project I'd recommend to use peerDependencies. Give your consumers some choice: choice to resolve version conflicts, choice to use or to not use dependency APIs directly.
username_0: Hi, username_1, username_2
Thank you very much for you guy's reply.
so when consumer use my library, they will need to install highcharts again if I bundled highcharts by peerdependancy, right?
username_1: Yes indeed
Status: Issue closed
username_3: What is the alternative? If we use 'peerDependencies' the final UMD file will not contain the required dependencies.
username_4: It seems to me that some dependencies prefer to have their source bundled with your code. I wanted to include ol (open layers) and uuid in my library since they don't have UMDs like other ng libs in my node_modules. Removing bundledDependencies seems like not allowing using external source files in this nature anymore. |
Calendar-Application/Calendar-2 | 374345681 | Title: Considering the Century
Question:
username_0: https://github.com/Calendar-Application/Calendar-2/blob/26099cb856ec5624999056fe8c75475c515b9e6c/main.c#L31
is it essential to add all the years from 1AD?
cant we just add from the lower year?
@username_1
Answers:
username_1: We can do it. But then we need to check which year is lesser in dayDifference() and pass that year to day_Number() as a parameter.
Status: Issue closed
|
ikedaosushi/tech-news | 767148337 | Title: MLOpsに必要な情報全部BigQueryに置いたら想像以上に捗った話 - Qiita
Question:
username_0: MLOpsに必要な情報全部BigQueryに置いたら想像以上に捗った話 - Qiita<br>
<br>
https://ift.tt/3qRSZmB |
dotnet/roslyn | 362380407 | Title: Public API design for IOptionWithGroup
Question:
username_0: https://github.com/dotnet/roslyn/pull/30043 added notion of grouping options in the same feature (such as CodeStyleOptions, CSharpCodeStyleOptions, FormattingOptions, CSharpFormattingOptions, etc.) into sub-features or groups (such as "this. preferences", "expression-level preferences", etc.). This enables the editorconfig generation to group the related options, without explicit knowledge of each option group. This PR used an internal interface `IOptionWithGroup`, which is workaround to avoid tying up public API design with that PR. This issue tracks correctly designing a public API around this. |
ocornut/imgui | 240198514 | Title: Revert & Save buttons for colors get clipped out in ShowStyleEditor demo
Question:
username_0: I'm running imgui_examples_msvc2010:

Revert button gets clipped, and it is completely impossible to save some of the options when the ref argument is non-null. Resizing the window does not help.
Answers:
username_1: Yeah it's a bit crappy. In a real application I would use icons and put them before the label, fixed size, greyed out or hidden when unavailable, but imgui doesn't rely on icons-font at the moment.
I'll put that on hold for now because I may revamp the styling system.
Status: Issue closed
username_1: @username_0 : I made some improvements to the style editor and among other things this is now fixed.
I also added a comment in that code explaining how in this case I would suggest use Icons from an icon font (but we can't in the demo code because we don't have guarantee of which fonts are loaded), so hopefully. |
TreeHacks/root | 1058958034 | Title: Add basic filtering on stats page
Question:
username_0: Would be really great to be able to filter by status (ie accepted, waitlisted, rejected, etc etc) and application year (currently just defaults to the current).
If you want to tackle this, `src/Admin/Stats.tsx` and `backend/routes/user_list.ts` are good places to start |
ecometrica/concourse-resource-bitbucket | 191515263 | Title: Fix build urls for statuses on bitbucket
Question:
username_0: The current urls reported back won't work correctly for teams other than main. Job names with spaces and other characters that needs to be escaped doesn't work either.
Easiest solution is probably to just change it the same way as this: https://github.com/JohannesRudolph/concourse-resource-bitbucket/commit/9786ee39b60de34daddccd63bee3187027101bb9 |
vuetifyjs/vuetify | 225897454 | Title: "Toolbar and Sidebar" pattern in Pre-defined layouts doesn't work
Question:
username_0: <!--
Reporting a bug?
================
- Always search for your issue first. It may have already been answered, planned or fixed in some branch.
- Can you reproduce the issue outside of your environment? Please provide a jsfiddle or codepen example that demonstrates the bug. A codepen template can be found [here](http://codepen.io/pen?template=bgJOrX)
Have a feature request?
=======================
- Remove the template from below and provide thoughtful commentary.
- Answer those questions:
- What will it allow you to do that you can't do today?
- How will it make current work-arounds straightforward?
- What potential bugs and edge cases does it help to avoid?
Do not create new features based on a problem that will only solve edge cases for your project.
-->
<!-- BUG REPORT TEMPLATE -->
first, please forgive my poor english ^_^
### Steps to reproduce
I just copied "Toolbar and Sidebar" demo code into codepen, modified id of v-app, the link is below
### Versions
<!-- Which versions of Vue, Vuetify, OS, browsers are affected? -->
Vue: 2.2.6
vuetify: 0.11.1
os: ubuntu 16.10
browser: chrome 56.0.2924.87
### What is expected ?
<!-- The behavior you would expect to see -->
1、when sidebar is open, it is under the toolbar
2、there is no left padding in the main section, just like what demo shows
### What is actually happening ?
<!-- Is there anything else we should know? -->
1、when sidebar is open, it is on the toolbar,
2、there is 300px left-padding in the main section
then I changed v-app properties from "left-fixed-sidebar to " left-sidebar sidebar-under-toolbar", the left-padding of main section is gone, sidebar is under the toolbar, but the first item of sidebar is covered by the toolbar
### Reproduction Link
<!-- Any issues without a reproduction link will be closed -->
http://codepen.io/username_0/pen/PmjgrE
P.S.
The "Toolbar, Sidebar & Footer" demo code doesn't work well too
Answers:
username_1: I just used your codepen an added the sidebar-under-toolbar and it looked correct. The main section padding is also there.
username_2: Also does not work
https://plnkr.co/edit/K0tdlE1khYLxr66ZAx2P?p=preview
username_1: I'm not understanding the issue you are having sorry, but, the layout system has been completely revamped for next release.
If you can tell me what you are trying to achieve, I will make it for you and show you an example.
username_2: I want to repeat
https://vuetifyjs.com/layout/pre-defined
http://joxi.ru/4Ak0MVNuyl8yEr
username_0: I want to achieve what demo shows, just like "Toolbar and Sidebar" and "Toolbar, Sidebar & Footer" pattern : sidebar is under the toolbar and there is no left-padding in the main section....
I will be appreciate if you can show me an example (^_−)☆
username_2: I try... )
http://joxi.ru/1A5QMqDTnJ63lA
Thanks for your effort.
username_3: Add the "sidebar-under-toolbar" parameter to the <v-app>
`<v-app id="example-2" left-fixed-sidebar sidebar-under-toolbar>
<v-toolbar>
<v-toolbar-side-icon @click.native.stop="nav2 = !nav2" />
<v-toolbar-logo>Toolbar</v-toolbar-logo>
</v-toolbar>
<main>
<v-sidebar left fixed drawer v-model="nav2">
<v-list>
<v-list-item v-for="i in 3" :key="i">
<v-list-tile>
<v-list-tile-title>Item {{ i }}</v-list-tile-title>
</v-list-tile>
</v-list-item>
</v-list>
</v-sidebar>
<v-content>
<v-container fluid>
<div class="title">Main Content</div>
</v-container>
</v-content>
</main>
</v-app>`
username_1: Does @username_3's answer this solve your issue?
username_0: @username_1 sorry,it's not working
username_2: Thank you, username_3.
Yes, works.
But I can not understand why "sidebar" over "footer" :
http://codepen.io/anon/pen/JNMGWv
http://joxi.ru/v29dv05f3NB7Pm
username_2: Everything, figured out.
Thank you.
username_4: @username_2: The issue is not the sidebar under the toolbar, that is working fine.
The issue here is the yellow highlighted padding when the sidebar is closed. The "Main Content" should responsively shift left when the sidebar is toggled closed.

username_0: @username_4 YES!!you read my mind
Status: Issue closed
username_1: http://codepen.io/johnjleider/pen/GmyPBb
I believe this solves the issue. As far as being able to collapse the sidebar on desktop and have the content respond by shifting back left, this is not possible in the current version but is something that is supported for next release.
username_5: It also appears placing the sidebar to the right is not working as expected, can anyone confirm? |
alaneje/Project-Baboon | 126138445 | Title: Chickens laying eggs
Question:
username_0: Make chickens able to lay eggs.
Answers:
username_0: Output change: Chickens will randomly after being alive for a day will lay an egg, player starts with 6 egg slots and can upgrade over time, eggs will all be sold on fridays for money.
username_0: Terminated due to lack of time.
Status: Issue closed
|
Dart-Code/Dart-Code | 454223496 | Title: Completion lists items multiple times, even for the same file
Question:
username_0: 
Here, the imports are duplicated - not just because they're imported from different files - the same auto-import file is listed multiple times.
`real_def.dart` contains the class, and both `proxy1.dart` and `proxy2.dart` re-export it. The completion lists `proxy1.dart` and `proxy2.dart` auto-imports twice each.
Answers:
username_0: This is because we loop through the server response and assume no dupes, but that's not correct (see https://github.com/dart-lang/sdk/issues/37211). Will revisit this when it's clear whether clients should do this or the server will fix it.
Status: Issue closed
|
ghuls-apps/ghuls-web | 137008200 | Title: Terrible overflow
Question:
username_0: I changed the `overflow-x` thing to `overflow`, so now scrolling is awful.
Answers:
username_0: This may have been fixed by 2bfb3a9, but I'm not sure as we are having some performance issues which prevent Heroku from loading anything.
Status: Issue closed
|
BSData/wh40k-mobile-format | 238321237 | Title: [Anon] Bug report: WH40k_8th_Mobile.gstz
Question:
username_0: **File:** WH40k_8th_Mobile.gstz
**BattleScribe version:** 2.01.03
**Platform:** iPhone / iPod / iPad
**Dropbox:** No
**Description:** Scout squad power level is off. Pwr lvl 10 in app but when compared to book it's 6 pwr lvl<issue_closed>
Status: Issue closed |
jahirfiquitiva/Tap-Issues-Tracker | 202547237 | Title: Home button
Question:
username_0: After tapping home when the dialog is opened, it doesn't open again
-
Device info:
---
<table>
<tr><td>App version</td><td>1.3</td></tr>
<tr><td>App version code</td><td>13</td></tr>
<tr><td>Android build version</td><td>54</td></tr>
<tr><td>Android release version</td><td>7.0</td></tr>
<tr><td>Android SDK version</td><td>24</td></tr>
<tr><td>Android build ID</td><td>ONEPLUS A3003_16_170118</td></tr>
<tr><td>Device brand</td><td>OnePlus</td></tr>
<tr><td>Device manufacturer</td><td>OnePlus</td></tr>
<tr><td>Device name</td><td>OnePlus3</td></tr>
<tr><td>Device model</td><td>ONEPLUS A3003</td></tr>
<tr><td>Device product name</td><td>OnePlus3</td></tr>
<tr><td>Device hardware name</td><td>qcom</td></tr>
<tr><td>ABIs</td><td>[arm64-v8a, armeabi-v7a, armeabi]</td></tr>
<tr><td>ABIs (32bit)</td><td>[armeabi-v7a, armeabi]</td></tr>
<tr><td>ABIs (64bit)</td><td>[arm64-v8a]</td></tr>
</table>
Extra info:
---
<table>
<tr><td>App</td><td>Tap for Keep</td></tr>
</table><issue_closed>
Status: Issue closed |
qtile/qtile | 398805315 | Title: root authentication request do not appears when gparted opens
Question:
username_0: Hi,
When I would like to open gparted program, normally a root authentication window comes up, but in qtile I never show this window.
Thank you for your reply.
Answers:
username_1: You need an authentication agent (v. https://wiki.archlinux.org/index.php/Polkit#Authentication_agents).
In Arch Linux ou can write an `autostart.sh` file like, if you have `polkit-gnome` installed:
```bash
#! /bin/bash
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & # Graphical authentication agent
```
Then put this at your `config.py` file:
```python
##### STARTUP PROGRAMS #####
@hook.subscribe.startup_once
def start_once():
home = os.path.expanduser("~")
subprocess.call([home + "/.config/qtile/autostart.sh"])
```
You need to import os for this python code.
Then, when Qtile start, the authentication agent will start too (and all programs you call at your `autostart.sh` file, like a compositor, a wallpaper setter _et cetera_).
username_2: It looks like @username_1 's solution should work, feel free to re-open if you are still having issues, thanks!
Status: Issue closed
|
osmcz/osmcz | 126042617 | Title: Splash: Šipky s popiskem ovládání
Question:
username_0: Představa:

Status: Issue closed
Answers:
username_0: @username_3
No nevím. I když jsem vědět, že tam ta šipka má být, tak jsem ji nemohl najít. Nakonec jsem zjistil, že tam sice je, ale trochu moc daleko od okraje - mám full HD rozlišení.

Nebude lepší dát tam nějaký "ComboBox" , který se bude jmenovat "Vybrat mapu"? Samozřejmě včetně té ikony, aby si na ni uživatelé zvykli.
username_0: @username_1
me by se libilo neco jak ma gugl a mapy.cz, malej obrazek vyrendrovane mapy s popiskem, nekde sem to i videl s osm datama ale uz nevim kde
username_0: Nojo, udělal jsem to trochu nedokonalé, věděl jsem nže na fullhd to bude zlobit. Asi to je dočasné než bude #36 - tam jsou ty vrstvy vidět jak píše username_1 + by mohl být ten tab defaultně rozbalený.
Otázkou jestli zatím ponechat nebo úplně vyrušit.
username_1: nesla by ta sipka udelat relativne k pravymu hornimu rohu at cestuje zaroven s velikosti okna?
username_0: Nojo, já jsem trotl. Přeci position:fixed. Opravím.
username_0: Představa:

Zde SVG, které je nutno napozicovat do splashe:
[info-layer-switch.zip](https://github.com/osmcz/osmcz/files/86430/info-layer-switch.zip)
username_2: :D ...dejte tam k tomu vyskujiciho alzaka, a zmente kurzor na palici, 100% si kazdej klikne aby ho ubil ...
Status: Issue closed
username_0: opraveno
username_3: Ještě by to chtělo upravit pozici vůči obsahu. Když si zúžíš obrazovku, tak je šipka zobrazena přes text.

username_3: Představa:

Zde SVG, které je nutno napozicovat do splashe:
[info-layer-switch.zip](https://github.com/osmcz/osmcz/files/86430/info-layer-switch.zip)
username_0: Opraveno, zatím nenasazeno.
Status: Issue closed
|
dotnet/efcore | 980677834 | Title: Exception when trying to run Optimize-DbContext
Question:
username_0: I have a Customer Entity configured in my DbContext.ModelBuilder as:
```
modelBuilder.Entity<Customer>()
.HasKey(k => k.Custnmbr);
modelBuilder.Entity<Customer>()
.Property(e => e.Custnmbr)
.HasConversion(v => v.TrimEnd(), v => v.TrimEnd());
```
The entity that was scaffolded is:
```
[Table("RM00101")]
public class Customer : INotifyPropertyChanged
{
[Key]
[Column("CUSTNMBR", TypeName = "char(15)")]
[StringLength(15)]
public string Custnmbr { get; set; }
...
}
```
When I run `Optimize-DbContext` I get this exception:
```
System.InvalidOperationException: The property 'Customer.Custnmbr' has a value converter configured. Use 'HasConversion' to configure the value converter type.
at Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpRuntimeModelCodeGenerator.Create(IProperty property, Dictionary`2 propertyVariables, CSharpRuntimeAnnotationCodeGeneratorParameters parameters)
at Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpRuntimeModelCodeGenerator.CreateEntityType(IEntityType entityType, IndentedStringBuilder mainBuilder, IndentedStringBuilder methodBuilder, SortedSet`1 namespaces, String className, Boolean nullable)
at Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpRuntimeModelCodeGenerator.GenerateEntityType(IEntityType entityType, String namespace, String className, Boolean nullable)
at Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpRuntimeModelCodeGenerator.GenerateModel(IModel model, CompiledModelCodeGenerationOptions options)
at Microsoft.EntityFrameworkCore.Scaffolding.Internal.CompiledModelScaffolder.ScaffoldModel(IModel model, String outputDir, CompiledModelCodeGenerationOptions options)
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.Optimize(String outputDir, String modelNamespace, String contextTypeName)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OptimizeContextImpl(String outputDir, String modelNamespace, String contextType)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OptimizeContext.<>c__DisplayClass0_0.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
The property 'Customer.Custnmbr' has a value converter configured. Use 'HasConversion' to configure the value converter type.
```
Even though it is using 'HasConversion'.
EF Core version: 6.0.0-rc.2.21426.10
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: net6.0
Operating system: Windows 10
IDE: Visual Studio 2022 17.0.0 Preview 3.1
Answers:
username_1: @username_0 The key part about this message is the word "type" in, "Use 'HasConversion' to configure the value converter _type_." This means you need to create a ValueConverter type and configure that type in the model, rather than using inline conversion expressions. We will try to make this exception message clearer.
username_0: @username_1 I have tried ...
```csharp
var converter = new ValueConverter<string, string>(
v => v.PadRight(15),
v => v.TrimEnd());
modelBuilder.Entity<Customer>()
.Property(e => e.Custnmbr)
.HasConversion(converter);
```
With the same error.
username_1: @username_0 Hopefully this is clearer:
```
The property 'Customer.Custnmbr' has a value converter configured using a ValueConverter instance or inline expressions.
Instead, create a type that inherits from ValueConverter and use 'HasConversion<ConverterType>()' or
'HasConversion(Type converterType)' to configure the value converter.
``` |
irbv-collections/MT-controlled-vocabulary | 86238667 | Title: New Country, Province, MRC or Park
Question:
username_0: [Originally posted on GoogleCode (id 1628) on 2015-02-17]
Country:US
Province/State:FL
MRC/District/County:Duval County
http://en.wikipedia.org/wiki/Duval_County,_Florida
<b>Park:</b>
<b>ID of the specimen(s):</b>
199677
Your name:Luc |
ziglang/zig | 1061785716 | Title: Slicing at compile time doesn't update backing array
Question:
username_0: ### Remember to search before filing a new report
- [X] I searched for this bug and did not find it in the issue tracker, and furthermore, the title I used above will make this new bug report turn up in the search results for my query.
### Zig Version
0.9.0-dev.1700+b644d4936
### Steps to Reproduce
I used [the stdlib test for Salsa20](https://github.com/ziglang/zig/blob/master/lib/std/crypto/salsa20.zig#L552-L564). It works at runtime but not at comptime:
```zig
const key = [_]u8{0x69} ** 32;
const nonce = [_]u8{0x42} ** 8;
const msg = [_]u8{0} ** 20;
var c: [msg.len]u8 = undefined;
Salsa20.xor(&c, msg[0..], 0, key, nonce);
```
The following diff somehow works around the compiler bug and makes it pass, even at comptime. I hope it helps narrow down what's failing here:
```zig
diff --git a/salsa20.zig b/salsa20.zig
index 0e7d67b..714f4a4 100644
--- a/salsa20.zig
+++ b/salsa20.zig
@@ -247,7 +247,9 @@ const Salsa20NonVecImpl = struct {
fn hashToBytes(out: *[64]u8, x: BlockVec) void {
for (x) |w, i| {
- mem.writeIntLittle(u32, out[i * 4 ..][0..4], w);
+ var tmp : [4]u8 = undefined;
+ mem.writeIntLittle(u32, &tmp, w);
+ std.mem.copy(u8, out[i * 4 .. ][0..4], &tmp);
}
}
@@ -257,8 +259,8 @@ const Salsa20NonVecImpl = struct {
var buf: [64]u8 = undefined;
var i: usize = 0;
while (i + 64 <= in.len) : (i += 64) {
- salsa20Core(x[0..], ctx, true);
- hashToBytes(buf[0..], x);
+ salsa20Core(&x, ctx, true);
+ hashToBytes(&buf, x);
var xout = out[i..];
const xin = in[i..];
var j: usize = 0;
@@ -272,8 +274,8 @@ const Salsa20NonVecImpl = struct {
ctx[9] += @boolToInt(@addWithOverflow(u32, ctx[8], 1, &ctx[8]));
}
if (i < in.len) {
- salsa20Core(x[0..], ctx, true);
- hashToBytes(buf[0..], x);
+ salsa20Core(&x, ctx, true);
+ hashToBytes(&buf, x);
var xout = out[i..];
const xin = in[i..];
@@ -305,7 +307,8 @@ const Salsa20NonVecImpl = struct {
}
};
-const Salsa20Impl = if (builtin.cpu.arch == .x86_64) Salsa20VecImpl else Salsa20NonVecImpl;
+//const Salsa20Impl = if (builtin.cpu.arch == .x86_64) Salsa20VecImpl else Salsa20NonVecImpl;
+const Salsa20Impl = Salsa20NonVecImpl; // DEBUG: Force non-vector implementation for testing
fn keyToWords(key: [32]u8) [8]u32 {
var k: [8]u32 = undefined;
```
### Expected Behavior
I expect the result array to be filled with the correct data
### Actual Behavior
The array isn't written to, the old value there is unchanged. Godbolt playground: https://gcc.godbolt.org/z/37cEG7aW6
Answers:
username_0: Imho this is quite a bad one since I've only seen it show up by silently failing while doing crypto, which seems like a bad thing.
username_1: Ran into this same issue as well while using SHA2-256 at comptime. Would it be worth submitting PR's to work around this issue for the time being?
Godbolt: https://zig.godbolt.org/z/EYvoavf8j
username_0: Yeah one could submit patches with those workarounds, but there's no guarantee that it will keep working.
username_2: I believe this is a duplicate of #8304. I also ran into the same problem with comptime md5. |
LaravelRUS/SleepingOwlAdmin | 250289050 | Title: Динамическое добавление полей
Question:
username_0: Как реализовать динамическое добавление полей в формы?
Например, есть список различных атрибутов и опций для товара, и нужно в карточке товара их динамически добавлять:
- цвет:синий
- размер:большой, и т.д.
Answers:
username_1: Как Ты себе это видишь?
username_0: Поскольку laravel я только изучаю, поэтому опишу теорию, как я это вижу
### Атрибуты
Атрибуты могут иметь любой тип - строка, число, цвет (могут быть и другие). В карточке товара можно будет присваивать любое количество этих атрибутов, выбирая из уже существующих. В зависимости от типа атрибута при воборе его в форму карточки товара добавляется соответствующее типу поле.
### Опции
Опции тоже добавляются заранее и их назначение - изменения цены товара в зависимости от выбранных опций. В них тоже есть определенные типы - чекбокс, селект, радибаттон, изображения (могут быть и другие). В карточке товара выбор опций может быть такой же, как в атрибутах с той разницей, что для опций добавляется поле "цена" за опцию.
### Основная задача:
добавление этих полей динамически через ajax.
### вопрос:
можно ли это реализовать штатным способом или пилить свой какой-то компонент
username_1: @username_0 скорее всего придется пилить самостоятельно. У меня есть в планах сделать Related-Edit компонент - но охватить все кейсы у меня к сожалению не выйдет. Потому до этого еще нужно дойти.
username_2: На данный момент появились элементы `hasMany` и прочие. Они покрывают это иссуе. Закрываю
Status: Issue closed
|
godotengine/godot | 993223956 | Title: Draggging a skeleton bone root to be the immedate bone under it crashes
Question:
username_0: ### Godot version
1234c2b
### System information
popos 21.04 Linux
### Issue description
Dragging a skeleton bone root to be the immedate bone under it crashes.
### Steps to reproduce
1. Import a glb with a skeleton.
2. Click on the skeleton3d node
3. Drag the root node on the inspector on the right to the node just underneath it
### Minimal reproduction project
See instructions.
Answers:
username_1: cc @username_2
username_2: I can confirm the bug. I’m not sure what is causing it (nor if my changes caused it) but I will try to take a look at it and see what I can find out. |
spiricom/MantaMate | 211524225 | Title: Keyboard Mode
Question:
username_0: Buttons...
TopL - Octave down
TopR - Octave up
BotL - Step down
BotR - Step up
Sliders...
Top - CV1
Bot - CV2
Keyboard layout...
For now, limited to ~10 pre-defined keyboard layouts
Later, allow user to edit and save keyboard layouts
Answers:
username_1: I just edited the top comment to reflect our current ideas of the functionality we are aiming for
Status: Issue closed
username_0: different now |
leggett/simplify | 495234615 | Title: No longer working with 9/18/2019
Question:
username_0: Looks like the lastest gmail broke the styles
Answers:
username_1: I do a lot of things to adapt as Gmail changes their code. Can you share more about what broke? If Simplify isn't working at all, you may need to refresh Gmail or even restart your browser. Please let me know if the problem persists.
username_0: The main padding to the right/left no longer seem to be working. I've tried restarting as well as re-installing the extension.

username_1: That looks like horizontal preview-pane is enabled... do you have preview pane enabled under Gmail's advanced settings?
username_1: If not, can you share a screenshot of your whole screen? Your spam folder or promotions tab is fine.
username_0: Disabling the split view in advance panel fixed it. Thanks for the help :)
Status: Issue closed
username_1: Yup, split view allows the interface to stretch the entire width of the screen. This makes more sense in vertical split. |
ZeroK-RTS/Chobby | 235731151 | Title: Map info in tooltips
Question:
username_0: Basic information about each map should display in a tooltip when you hover over the map, both in the game setup screen and in the map chooser dialog box.
Things to include: size, teamsize / 1v1 / FFA / chickens, and perhaps things like sea and hills. Possibly also the description (where present), perhaps only in the setup screen and not the chooser.
Answers:
username_1: This can be done by selecting via website which has these data.
username_0: Getting info about the currently-selected map shouldn't require switching to a browser, when simply hovering over the map in the game setup screen would do it instead.
Selecting a new map in the current UI is simple and fast, and that's good. Using the website to select a map is also good, because it allows you to search and to specify parameters, but the simple selection method in the current UI should remain, and would be enhanced greatly by showing some basic information about each map in a tooltip. |
tridactyl/tridactyl | 646909733 | Title: `hintnames numeric` is broken
Question:
username_0: 1. `:set hintnames numeric`
2. `:open news.bbc.co.uk`
3. `f` - BBC is numbered 1
4. `1` - Sounds, number 10 appears to be selected as well as BBC
5. `<Enter>` - you visit BBC sounds
Related: #2548<issue_closed>
Status: Issue closed |
wpilibsuite/allwpilib | 292151995 | Title: "Unable to access jarfile FRCUserProgram.jar"
Question:
username_0: We're trying to bring up our 2018 FRC code but, regardless of the Java application we build and deploy, we are always seeing "Unable to access jarfile FRCUserProgram.jar" in the Eclipse RIOLog window after the code is successfully copied to the robot. We initially tried with our 2017 code ported to the 2018 WPILib/CTRE_Phoenix but then moved back to a completely empty skeleton generated with Robotbuilder in case something we were doing was messing things up.
So far, we've SSH'd into the RoboRio and verified that /home/lvuser/FRCUserProgram.jar" exists. We've also copied the file back via SFTP and verified that it is identical to the file generated by Eclipse. We also tried cmod'ing the file in the RoboRio file system to 777 in case it was a permissions issue. We've also reimaged and rebooted the RoboRio a couple of times. No luck.
At this point, we're stuck. Can anyone offer any suggestions on the next step in diagnosing this problem?
Answers:
username_1: Our team encountered something similar, not sure if this applies in your case. There is a file copied during deployment called robotCommand (or robotCommandDebug). Through, slightly odd circumstances, that file had a CRLF introduced by git. Since this file is parsed in linux-land, that's a bad character and the filename produced during the robot bootstrap process is bogus. This was where the FRCUserProgram.jar message came from.
username_0: Excellent info - many thanks! I managed to get into the robot from my Mac this afternoon via WiFi (Mac access is causing me a whole range of other problems) and verified that the robotCommand file was indeed corrupted with a non-printing character at the end of the line. I've fixed it and will update as soon as I get the driver station up and running.
Status: Issue closed
|
bartervg/barter.vg | 660669706 | Title: Immediate improvements to multiple user offers: highlight library/wishlist
Question:
username_0: # What problem does this feature address?
There are some issues with multiple user offers that are in "desperate" need of improvement over all the other enhancements, so I am making this thread exclusively for those. There are more drastic GUI improvements in the works I'm sure, but I would say that these require a quick fix:
The typical multiple user offer is 1:1 or 1:2 with about 20 games on one side and 20 games on the other. Currently you have to scroll down the list and look at the very tiny text next to each game and see if you already own it / if you have up for trade / if you have it wishlisted. This is meticulous work and discourages people from even opening them (at least me). In addition, wishlist items with #-1 is also showed as wishlisted without showing that it is "-1".
This screenshot shows a typical offer. It takes me 15 seconds to confirm that none of these games are relevant to me – that's too long.

## Describe a solution
A solution would be to highlight qualifying games. This does not mean that non-wanted/already owned games should be hidden, just that games you don't own (for receiving games) and games that you have in tradable (for the tradee's wanted games) should be highlighted. This improvement does not need to be beautiful. A very simple and not pretty highlight of qualifying games will improve multiple user offers tenfold. If the highlight should be just the text "wishlist" / "tradable" or the whole <td> item is something I'm unsure of.
Wishlist tiering (# -1, # 10, # 1 etc.) could also be implemented.
## Examples of similar features
Normal offers have the ability to show that you now own a game that you have been offered. These games are crossed out (not possible to select). Not sure if this is the way to go, but possibly.
Sorry if these suggestions exists in a different issue, I just feel like this should have priority when it comes to improving multiple users offers.
Answers:
username_0: Also, better visibility / respect for "no offers" tags in multiple offers:
https://discord.com/channels/329829406153375755/438406560222281738/824187703872323644 |
cmd-ntrf/jupyter-lmod | 613577204 | Title: Extension not finding my Lmod modules
Question:
username_0: I installed the jupyter-lmod extension as described in the README file and I can see the Lmod icon in my JupyterLab interface, but it doesn't show any modules.
LMOD version=7.8.1
JupyterLab version=2.1.1
```bash
(jupyter-hub) root@host[~] env|grep -i lmod_version
LMOD_VERSION=7.8.1
(jupyter-hub) root@host[~] conda list | grep -i -e lmod -e jupyter
# packages in environment at /XYZ/anaconda/3/2020.02/envs/jupyter-hub:
jupyter-server-proxy 1.3.2 py_0 conda-forge
jupyter_client 6.1.3 py_0 conda-forge
jupyter_core 4.6.3 py37hc8dfbb8_1 conda-forge
jupyter_telemetry 0.0.5 py_0 conda-forge
jupyterhub 1.1.0 py37_2 conda-forge
jupyterhub-base 1.1.0 py37_2 conda-forge
jupyterlab 2.1.1 py_0 conda-forge
jupyterlab_server 1.1.1 py_0 conda-forge
jupyterlmod 1.8.0 pypi_0 pypi`
(jupyter-hub) root@host[~] jupyter labextension list
JupyterLab v2.1.1
Known labextensions:
app dir: /XYZ/anaconda/3/2020.02/envs/jupyter-hub/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
@jupyterlab/fasta-extension v2.0.0 enabled OK
@jupyterlab/geojson-extension v2.0.1 enabled OK
@jupyterlab/mathjax3-extension v3.0.0 enabled OK
@jupyterlab/toc v3.0.0 enabled OK
dask-labextension v2.0.2 enabled OK
jupyterlab-lmod v0.6.0 enabled OK
```

What would I have to do for the Jupyter-Lmod extension to find and show my LMOD modules?
Thanks.
Answers:
username_1: It is either a client-side browser / javascript issue or a server side configuration issue.
To rule out client-side, can you look in your browser's console and see if there are error messages? If there are error mesages, provides these messages and your browser version.
To rule out server side, in the address bar:
1. replace `/lab` by `/lmod/list` -> this should display a web page with a JSON aray of the modules currently loaded (equivalent of `module list`)
2. replace `/lab` by `/lmod/avail` -> this should display a web page with a JSON array of the modules available (equivalent of `module av`).
If one or both rest API endpoints do not return values, the jupyter-lmod extension is misconfigured.
username_0: Thanks for the quick reply. You may have helped me figure out the problem. It looks like the Lmod modules were not showing up for the local spawner, but they do show up when I use the SLURM spawner. My SLURM spawner batch script explicitly activates Lmod while the local spawner doesn't.
`jupyterhub.config`
```
c.JupyterHub.spawner_class = 'wrapspawner.ProfilesSpawner'
c.SlurmSpawner.batch_script = '''#!/bin/bash
#SBATCH -p {partition}
#SBATCH --time={runtime}
#SBATCH --nodes=1
#SBATCH --ntasks-per-node={nprocs}
#SBATCH --mem={memory}
#SBATCH --job-name=Jupyter
#SBATCH --output=/home/{username}/jupyterhub-spawner.%j.log
#SBATCH --export=ALL
#SBATCH --workdir=/home/{username}/jupyter
#SBATCH {options}
export MODULEPATH=/XYZ/modulefiles
source /XYZ/lmod/7.8.1/init/bash
module load autotools prun/1.2 gnu8/8.3.0 openmpi3/3.1.3 ohpc use.own
...
module load anaconda/3/2020.02
source activate jupyter-hub
{cmd}
'''
c.ProfilesSpawner.profiles = [
( 'Local ', 'local', 'jupyterhub.spawner.LocalProcessSpawner', {'ip':'0.0.0.0'} ),
( 'Debug- 8 cores + 32GB RAM for 2hrs', 'debug-8-2', 'batchspawner.SlurmSpawner', dict( req_partition='debugq', req_nprocs='8', req_memory='32GB', req_runtime='2:00:00'))
...
]
````
I may just need to find a way to activate Lmod for the local spawner.
- client-side check - I did check the the browser console for error messages and I didn't find anything germane to lmod.
- server-side check - replacing `/lab` with `/lmod/[list/avail]` does show the list of loaded and available modules.
Thanks for your help.
username_1: Glad I could help!
Status: Issue closed
|
bird-house/eggshell | 381085995 | Title: fix python 3
Question:
username_0: The travis may say python 3.x is working ... but that is not the case. Due to the dependencies it always installs python 2.7.
Status: Issue closed
Answers:
username_0: This is initially fixed by PR #26. Legacy code needs to be adapted when it gets integrated. |
goldfire/howler.js | 149399249 | Title: howler 2.0 and auto unlock audio on mobile
Question:
username_0: If you use html5: tue in howler 2.0 the auto-unlock audio with user gesture doesn't work.
Answers:
username_1: It seems to be working for me. Can you provide a sample and specify a mobile platform/browser?
username_0: https://jsfiddle.net/vsm3rhr2/1/
as you can see after the tap on the box the first audio is reproduced but not the second. It requires another tap !
The problem may be that for every html5 sound you create obvious a new Audio(); object that can't be unlocked with a previous tap
username_1: I haven't been able to find a workaround for this so far. The issue is being tracked within Chromium here: https://bugs.chromium.org/p/chromium/issues/detail?id=178297. If anyone can find a workaround I'll be happy to include it.
username_0: I have no time to implement this now, but you should create more audio element in the initialization of the lib and on the first touchevent unlock these element all together. Create an audioPoll where you can ask for an audio element that is free and use that poll instead of creating new Audio allover the code. The audio element will be inserted in the poll on the end of the reproduction.
This is working for me (I'm implementing this directly with audio tag without Howler atm)
username_0: I tryed a draft of implementation of what i was tryng to explain in the last comment:
this is the code: (based on 2.0.0-beta12)
http://pastebin.com/BTku1RUp
username_1: This should now be fixed in v2.1.0 using the HTML5 Audio pool.
Status: Issue closed
|
morepath/morepath | 71862283 | Title: introspection UI
Question:
username_0: A web UI and/or commandline tools that introspect the application registries for paths and views and give information. Needs Morepath changes to add good introspection UIs to these registries, and then a separate project which contains the UI.
Answers:
username_0: Okay, so it looks like I'm going to work on this in the near future. I need to go into Morepath and add APIs so that introspection is possible.
Then as a first stage build a command-line tool that you can use to ask questions such as: what paths are registered (and what models), or "tell me everything about this model" etc, which then give some human readable information that describes what's going on, ideally with line number information about where registrations happened.
username_0: I'd be very curious to hear your thoughts and wishes on this too, @username_1
username_1: Well I'm interested in learning about all the urls (paths + views) to generate documentation through it. I'll try to add a reflector to [sphinxcontrib.httpdomain](https://pythonhosted.org/sphinxcontrib-httpdomain/) once you've done some work on this.
The Flask shows quite nicely how useful this is for API documentation:
* [Application](https://github.com/jalaziz/sphinxcontrib-httpdomain/blob/master/test/autoflask_sampleapp.py)
* [Docs](https://pythonhosted.org/sphinxcontrib-httpdomain/#module-sphinxcontrib.autohttp.flask)
I think it might also be interesting to find out the permissions of each view for reviewing and testing permissions. I currently have a test that asserts that all my views *have* to specify a permission. If I could enumerate them I might also be able to add a test which simply compares all the permissions and views with a specific list. I can test for that in other ways, but this would be much easier to review.
I think it's generally interesting to get a nice representation of all the configuration out. I'm not sure what I would use it for to be frank, but if something is wrong we could inspect all the configuration state that the app carries in the debugger. Maybe we could even find out what was inherited, what comes from the app and what was overridden.
Ultimately it would really befit the elegance of Morepath if this worked with all directives. So if I write my own, I can find out about that as well. Not something I see any use for at the moment, just something that would be nice. I mean you *did* ask for my wishes ;)
Anyway, I realise I'm not telling you anything new and my use cases are kind of unimportant. You've also already picked up on sharing routing strings with javascript and generating routes without having to instantiate the model, which I was going to mention as well. But I'm really excited for this feature because it will make Morepath more user-friendly and easier to grok! This is going to lay a nice foundation for the future (and dare I say version 1.0 ;).
username_0: Thanks for the feedback, @username_1, it does help me a lot to hear these things. The connection to the configuration system is definitely an interesting one. A directive causes things to be registered with underlying registries, sometimes Reg-based, sometimes simpler stuff mixed into the application base class. Perhaps a directive can define one or more registration extraction operations as well, but I'm not sure what shape this operation should take yet.
username_0: There's now a command-line tool to query configuration actions in Dectate, but some issues were brought up here that are separate, so leaving this open for now until we can split this up into specific work items.
Status: Issue closed
username_0: I've split up #373 with the meat of stuff so I can close this one. |
fabric8io/docker-maven-plugin | 136380038 | Title: 0.14.0 not supported for Java 6?
Question:
username_0: When I bumped up the version of the plugin and ran a docker:start I got this error:
```
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.14.0:start (default-cli) on project my-volume:
Execution default-cli of goal io.fabric8:docker-maven-plugin:0.14.0:start failed: Unable to load the mojo 'start' in the plugin 'io.fabric8:docker-maven-plugin:0.14.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException:
io/fabric8/maven/docker/StartMojo : Unsupported major.minor version 51.0
```
I have this Java version:
```
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
```
When running it with Java 8 it worked perfectly
Answers:
username_1: The build infrastructure has changed so it could be that there has been a change in the compiler setting. d-m-p doesn't use any particular Java 8 feature, it is intended to work at least with Java 7. That it has worked with Java 6 was probably luck ;-)
Can you confirm that 0.13.9 worked with Maven and Java 6 (confirmed with `mvn -version`) ?
username_0: Hmm, we probably had some luck before. Now even 0.13.[6-9] doesn't work anymore with java 6. But it works with Java 7 so we just have to compile the Java code with 6 and switch to 7 when we do the docker build (we have problems with <java.source.version> in our legacy code)
username_1: Coud you try 0.14.1, too ? This has been done with our new build infrastructure, unfortunately I don't know for sure with which jdk it was compiled.
I will pin the language level to Java 1.7 so for the next release, even when the plugin is compiled with Java 8 it should still work with Java 7.
username_1: [Just verified](https://github.com/fabric8io/docker-maven-plugin/blame/master/pom.xml#L212-L213): The plugin is and was targeted to Java 1.7 from the very beginning, so there shouldn't be any changed behaviour (even if it happened to be compiled under Jdk1.8, which btw was already the case for the other versions). |
oysterprotocol/webnode | 326301688 | Title: [Webnode] Production build fails to compile
Question:
username_0: **Steps to reproduce**
1. Run `npm run build`
**Expected Output**

**Tips to resolve**
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
React says that the error is likely due to the library not being compiled to ES5 but I checked and the file its failing on is in ES5
Answers:
username_1: This could be why it's not compiled: https://github.com/iotaledger/curl.lib.js/issues/14
We might need to contribute a PR to fix their build. Look like they are using Gulp, so this might be helpful:
http://www.codeblocq.com/2016/03/Setup-Gulp-to-compile-ES6-ES2015-code/
Status: Issue closed
username_0: We no longer need a production build for the webnode, we have a separate build than our test environment |
WarEmu/WarBugs | 395854423 | Title: [Item] Scout's Emblems hard to get due to T2+T3 merge
Question:
username_0: I was playing a Marauder mainly by doing SCs and hunting quest bugs and witnessed a problem, due to the T2+T3 SC merge I solely got Soldier's Emblems, no Scout's Emblems. Since SCs yield less renown than open RvR and breaking down Soldier's Emblems requires RR20 it's hard to get T2 SC items before you're eligible for T3 SC items. This problem was also confirmed by a guild mate.
My recommendation: Lower the RR needed to break down Soldier's Emblems to Scout's Emblems to RR10 as long as T2 and T3 SCs are merged.

Answers:
username_1: The RR requirement is lowered to 15 with next patch
username_2: Fixed with patch from 12.01.2019
Status: Issue closed
|
alexcrichton/ssh2-rs | 598534747 | Title: Unable get userauth_keyboard_interactive to work
Question:
username_0: I'm not sure if I am doing something wrong or if there is a bug, but I can't authenticate using `session::userauth_keyboard_interactive`. [This](https://github.com/username_0/rftp/blob/278a07633dbecb36037f7edd4e544aee41810403/src/rftp.rs#L283) is what I have tried.
```rust
struct Prompter;
impl ssh2::KeyboardInteractivePrompt for Prompter {
fn prompt(
&mut self,
username: &str,
instructions: &str,
prompts: &[ssh2::Prompt],
) -> Vec<String> {
println!("I expect something to be printed here.");
println!("{}", username);
println!("{}", instructions);
prompts.iter().map(|p| p.text.to_string()).collect()
}
}
let mut prompter = Prompter;
session.userauth_keyboard_interactive(username, &mut prompter)?;
```
It would be helpful if there was a little more explanation and a working example in the docs.
Answers:
username_1: Here's a working example from inside username_1term:
https://github.com/username_1/username_1term/blob/master/src/ssh.rs#L172
the prompter implementation is towards the top of that file: https://github.com/username_1/username_1term/blob/master/src/ssh.rs#L18
username_1: I think one of the things that is confusing is that `password` auth is not the same thing as `keyboard-interactive` auth, even though both can appear similar when prompting the user.
Another thing that is confusing is that the `auth_methods` can change based on the results of authenticating; for example, at my place of work, I have to `password` auth before `keyboard-interactive` is offered and allows me to use a yubikey as a second factor of authentication.
I'd also recommend that you move your host key check to happen before you prompt the user to enter a password; that way have a chance to detect a MITM or compromised remote system before you pass the users credentials to the host.
username_0: That makes more sense, I'll take a look at your implementation.
Thanks for catching that MITM bug!
Status: Issue closed
|
angular/angular | 320641313 | Title: Using multiple Angular Elements, ngDoBootstrap runs twice, breaking with CustomElementRegistry
Question:
username_0: _ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.0.0
Node: 8.11.1
OS: linux x64
Angular: 6.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, http, language-service, material, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
Browser:
- [x] Chromium Web Browser (desktop) Version 65.0.3325.181 (Developer Build) Fedora Project (64-bit)
For Tooling issues:
- Node version: 5.6.0
- NPM version: 5.6.0
- Platform: Linux
</code></pre>
Answers:
username_0: @username_1 - I removed the `zone.js` from the polyfills to avoid that issue, in both of these example projects:
- [example-angular-elments-component-box](https://github.com/username_0/example-angular-elments-component-box/commit/ce59684f50ca7f62c6ac2cfae085d85e5c6c1980)
- [example-angular-elments-component-button](https://github.com/username_0/example-angular-elments-component-button/commit/42923dc04219f5efc5480752400b92790ba79d1f)
Which then meant I had to come back and add `zone.js` into each of the component's `index.html` file (if I wanted to run them locally, before exporting and consuming them.)
username_0: I'll try and load multiple Angular Elements together within a single page if anyone has any that they've exported, simply to determine if it's an error in my own approach.
Any up-to-date documentation as to how to officially utilize `@angular/elements` and export a consumable WebComponent would be awesome.
username_1: I managed to get multiple components (bundled in one file) running in another ng app. Is this what you're trying to do? Or standalone?
username_0: @username_1 - standalone, built individually and independently from one another.
So, for example, if I work with multiple teams then I could download the WebComponent that they built with their own Angular Elements (they're own dependencies, versions, build pipeline, etc.) I am interested in consuming their built artifact.
By appending `script`s to my `document`'s `head`, I should also be able to lazily load these WebComponents. I'm loading two in my example application, the first one works but once the second one is introduced the app breaks - while they are separate files and separate builds, they're stepping on each other once introduced and consumed.
username_0: This is very important to fix, I believe, especially considering the fact that once Angular Element WebComponents are built and [published for everyone else to use](https://www.webcomponents.org/) (Wordpress, Polymer, etc.) they all look to be breaking one another in what appears to be friendly fire.
username_0: I know that your post was from January and many things have changed, technically and at a high level, I imagine, but would you have idea as to why my Box WebComponent's module would be running `ngDoBootstrap` again when my Button WebComponent is introduced?
(Visa-versa, depending on which WebComponent was lazily loaded first.)
username_2: I wonder if it is because you are including the polyfills in both scripts.
<sub>(Despite whether this is causing the error or not, I guess you should only include the polyfills once per app.)</sub>
username_1: No. I cerated a cli based setup for standalone and angular components.
I excluded all polyfills in the component bundles and included them in my "main" app.
username_1: Ill try more tonight. I also will publish my setup on npm and have a cli "story" (docs for setup) nearly done.
username_0: @username_2 I'll try excluding the plolyfills from both the Box and Button WebComponents, re-build each and then consume both again and see what happens.
@username_1 thank you, I'd greatly appreciate comparing our work. What you've done excluding the polyfills goes along with @username_2's direction too, so I'll again this and report back.
username_0: @username_2 and @username_1 following both of your suggestions, I commented out the `polyfills.ts` from the script that concats the built files, like so:
```javascript
const fs = require('fs-extra');
const concat = require('concat');
(async function build(){
const files = [
'./dist/scripts.js',
'./dist/runtime.js',
// './dist/polyfills.js',
'./dist/main.js'
];
await fs.ensureDir('elements');
await concat(files, 'elements/example-angular-elements-component-button.js');
})();
```
I did this with both of the example components.
I am still getting the same error. The first component's module is logging to console when the second component is introduced and then breaks.
I will copy and paste my browser's log and include screen shots below.
```
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
example-angular-elements-component-box.js:3 ngDoBootstrap example-angular-elements-component-box
example-angular-elements-component-box.js:3 ngDoBootstrap example-angular-elements-component-box
example-angular-elements-component-box.js:1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry
at ze.define (http://localhost:4200/assets/elements/example-angular-elements-component-box.js:1:12582)
at ze.define (http://localhost:4200/assets/elements/example-angular-elements-component-button.js:1:12582)
at new e (http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:121311)
at http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:74118
at no (http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:74335)
at http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:84190
at new e (http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:84200)
at Object.Eo [as createNgModuleRef] (http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:83838)
at t.create (http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:115342)
at http://localhost:4200/assets/elements/example-angular-elements-component-box.js:3:36458
ze.define @ example-angular-elements-component-box.js:1
ze.define @ example-angular-elements-component-button.js:1
e @ example-angular-elements-component-box.js:3
(anonymous) @ example-angular-elements-component-box.js:3
no @ example-angular-elements-component-box.js:3
(anonymous) @ example-angular-elements-component-box.js:3
e @ example-angular-elements-component-box.js:3
Eo @ example-angular-elements-component-box.js:3
t.create @ example-angular-elements-component-box.js:3
(anonymous) @ example-angular-elements-component-box.js:3
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:388
onInvoke @ example-angular-elements-component-box.js:3
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:387
push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:138
e.run @ example-angular-elements-component-box.js:3
e.bootstrapModuleFactory @ example-angular-elements-component-box.js:3
zUnb @ example-angular-elements-component-box.js:3
p @ example-angular-elements-component-button.js:2
3 @ example-angular-elements-component-box.js:3
[Truncated]
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:387
push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:138
(anonymous) @ zone.js:872
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:421
onInvokeTask @ core.js:4062
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420
push../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188
drainMicroTaskQueue @ zone.js:595
push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:500
invokeTask @ zone.js:1540
globalZoneAwareCallback @ zone.js:1566
```
1. I can add multiple box WebComponents without any issue. See how the box's module logged to the console once, upon introduction into the application.

2. I then try and load the button WebComponent, breaking the application. You can now see that the box's module logged to the console, again.

3. I then try and add another box WebComponent, it is not added and I also get a new error logged in my console (the total log you see in this screenshot was pasted above.)

username_1: I created a detailed step by step descriptions to setup multiple projects and elements.
Unfortunately, this will just help to reproduce the bug, not it's not a fix, but easily adaptable if we find a solution,
Here is the all in one repo:
[ng-elements-poc](https://github.com/username_1/ng-elements-poc)
@username_2 as you can see in the attached description the polyfills are not included:
# Angular Elements Build Setup
The dev-kit has a package available for building web components with angular.
You can use the `@angular/elements` package for this.
Here you can follow a step by step setup for angular elements running standalone or in another angular app.
## Setup a new project
1. Create a new project. Run `ng new ng-elements-poc` in the console.
2. Switch into you new directory: `cd ng-elements-poc`
3. You should now be able to test it by running `ng serve --open` in the console.
## Setup WebComponents
1. Run `ng add @angular/elements` in the console.
The cli will install some packages to your `package.json`:
```json
// package.json
{
[...]
dependencies: {
[...]
"@angular/elements": "^6.0.0",
"document-register-element": "^1.7.2"
}
[...]
}
```
And add a script to your projects scripts config in `angular.json`:
```json
// angular.json
{
[...]
"projects": {
"ng-elements-poc": {
[...]
"scripts": [
{
"input": "node_modules/document-register-element/build/document-register-element.js"
}
],
[...]
},
[...]
[Truncated]
}
```
5. Add the html tag into your `app.component.html`
```html
<!-- src/app/app.component.html -->
[...]
<app-other-element></app-other-element>
```
6. Test it. Run following commands:
```
npm run first-element:build
npm run first-element:bundle-ng
npm run other-element:build
npm run other-element:bundle-ng
npm run copy-bundles
```
username_1: @username_3 any ideas?
username_0: Thank you for the clear reproduction @username_1 !
username_2: Taking a closer look at the demo, it seems to be trying to use the elements as standalone Angular "mini-apps" (for example each includes `BrowserModule` and does its own bootstrapping). This is likely what is causing the issue. AFAIK, this is not supported just yet (tagging @username_3, @andrewseguin to confirm).
What _is_ supported is including the elements from within an Angular app, which loads the custom element module factories and bootstraps them (sharing the main app's injector among the custom element modules).
This is what we currently do in angular.io btw (and [here][1] is the loader we use for reference).
[1]: https://github.com/angular/angular/blob/master/aio/src/app/custom-elements/elements-loader.ts
username_1: THX for the heads up!
The link is very helpful!
username_0: Thank you @username_2 - I like how you described these, standalone Angular "mini-apps" are exactly what I'm trying to consume. I thought this would be supported since React, Wordpress and/or any other website could consume Angular Elements, but it's looking like we can't support multiple together. E.g. I can't use [Firebase's example polling WebComponent](https://www.youtube.com/watch?v=4u9_kdkvTsc) along with my simple Box WebComponent from above.
Specifically, my circumstance includes an Angular application trying to consume WebComponent artifacts from other teams and third-parties. This Angular application has no awareness of the WebComponents it could load but with configuration it would lazily load specific WebComponents during run-time (which I believe is _counter_ to what [angular.io is doing](https://github.com/angular/angular/blob/master/aio/src/app/custom-elements/element-registry.ts) - the registry is an array of routes used as a "hack" for bundling/lazy loading.)
Some of these WebComponents my application will consume may not be built from Angular Elements, but I know of many teams who are already developing with Angular who would like to package and publish their components for my team to use (we're all excited for what Angular Elements promises to bring!)
username_2: Just to be clear, being able to run multiple Angular Elements in any app (Angular or not), _IS_ one of the usecases that `@angular/elements` aims to support (in fact, it might be its primary/most common usecase).
It's just that it isn't possible in this first stable implementation (we've tried to keep it simple and focus on one (simpler) usecase). It is definitely something that will be worked on in the near future (subjective personal estimation :grin:).
username_3: Fundamentally, there's nothing in Angular itself that precludes you doing this - most of the challenge here is to do with packaging and bundling, as well as understanding the intricacies of Angular's platform/injection system.
The CLI is currently not set up to do this, so we don't officially support this use case yet. We know that this will be significantly less complex with the Ivy engine, and are already prototyping this, so we've opted to focus on the use case @username_2 mentioned, with a minimal API for the use cases we can support.
username_1: @username_3
Could you give more details about the bundling pls?
- What should be in the bundle and what not?
- Where is the problem with the cli?
Thanks for your time!
Status: Issue closed
username_3: Had a chance to look closer at this today. As suspected, it's a bundling issue. The root cause is that webpack (which drives the CLI) uses a runtime: `webpackJsonp` global, and you're overwriting that each time you load another bundle (which also defines `webpackJsonp`) - See https://github.com/webpack/webpack/issues/3791#issuecomment-270821692. The CLI doesn't expose this option (things like this are why we are not supporting this use case yet). You could (though I don't recommend it) manually rename that global `webpackJsonp` in each bundle to something unique.
You're also duplicating all the polyfills, which is likely to cause all kinds of unexpected results, as they're shimming native APIs and overwriting them at various times. Further, bundling a copy of all the angular packages into each bundle seems suboptimal.
For the moment, if you want to do this sort of use case, your likely best option is going to be to use something like rollup to build UMD bundles, that rely on angular's UMD bundles and exclude the angular source from each element's package. It's going to take some manual work.
Alternately, don't use the CLI to build the individual elements into binaries, treat them as libraries and bring them into the build properly, so you only have one webpack runtime.
Again, we're working to enable this use case for v7, so I'm going to close this (as its not actually an issue with Angular core)
username_4: Thanks for detailed answer, @username_3. I'm also very much looking forward to this use case to be supported. Since this issue is closed, is there any other document (or issue) out there which could be used to track this use case? I suppose we can keep an eye on #21706 for Ivy implementation, which is very relevant, but perhaps there is something else out there more specific to this use case?
username_5: This weekend, I've created a builder that makes the CLI to do what Rob suggested above:
https://www.npmjs.com/package/ngx-build-plus
username_0: @username_5 so awesome to hear!.. I'll try it out for this use case and follow back up here soon - thank you!
username_5: @username_0 Cool. Feel free to provide feedback.
username_6: The same issue appears when an Angular Element consumes an Angular Element.
username_7: Anyone got this working?. i am using ngx-build-plus to build two standalone "mini apps" containing custom-elements and trying to consume them in another angular app. First custom element works, but i get an error saying "Cannot enable prod mode after platform setup" when the second custom element is loaded.
username_8: Iv'e written a webpack plugin that that allows you to share modules between builds.
[share-loader](https://www.npmjs.com/package/share-loader)
username_9: Why is this issue closed ? Is there an official fix ?
username_10: @username_12 Thanks in advance for your help.
I don't see any files in the repo ( https://github.com/username_12/multiple-angular-elements-sample.
Can you please share the code?
username_10: @username_3 I tried with angular 7, loading two elements from two different apps in one web page.
Getting the same error for angular 7 beta also
`ERROR DOMException: Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry`
Can you please let me know, do we have support in angular 7 for the use case loading two elements exposed from two different apps?
.
username_11: @username_10 i had same error, because module bootstraped twice and `customElements.define` called twice too. You can not define same element twice.
I don't remember exactly, but one of them was the solution, if not all :)
1. use zone fix package (https://www.npmjs.com/package/elements-zone-strategy)
2. don't use same name for angular `selector` and for defined webcomponent name
3. simple input if-else to definition code, like if `customElements.get('comp')` then do nothing, else `define('comp')`.
username_10: Thanks for sharing the implementation. I see minified version .js inside "test-angular-elements/angular-element-a" and angular-element-b folders. Can you please share the details, how to generate them?
username_12: @username_10 Just updated the readme of the repo. Hope it helps. [multiple-angular-elements](https://github.com/username_12/multiple-angular-elements-sample)
username_10: @username_12 Thank you. I tried adding --prod to ng build that takes care of generating minified version, it worked fine.
username_10: @username_11 Thanks for your response. i tried all the 3 options it is not working. If you are able to recollect, can you please let me know what exactly you did to fix this error?
username_13: @ddiebel For what's worth I just downloaded the [multiple-angular-elements-sample](https://github.com/username_12/multiple-angular-elements-sample) and it worked for me. I did a fresh install with yarn and changed the `package.json` to remove any `^` and `~` characters.
Semantic versioning is nice in theory but in practice feels fragile at times. I almost always remove `^` and `~` when pulling down an example from someone else and things typically work pretty well.
username_2: <sub>FWIW, removing `^`/`~` shouldn't make a difference as lonk as you use the lockfile (`package-lock.json`, `yarn.lock`, etc.) provided in each project.</sub>
username_14: I have only one angular-element that i want to use inside a regular Angular 7.0.0 app. I'm getting the same error. "ERROR DOMException: Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry"
If I load the webcomponent js with defer (or load it in body below the angular app js files) its working at first, but after refresh or navigating to a non-angular page and then returning to the angular page, the attributes of the webcomponent dont work, only the tag without its properties.
I'm also using the same webcomponent in an Angular 6 app and AngularJS app and there its working without this bug.
username_14: I found an ugly workaround, setting the attributes with JS setAttribute is working just fine.
ngOnInit () {
this.fixAngularElementsBug();
}
fixAngularElementsBug () {
window.addEventListener('hashchange', () => { this.setCommonLayoutAttributes(); });
this.setCommonLayoutAttributes();
}
setCommonLayoutAttributes () {
let commonLayout = document.getElementsByTagName('common-layout')[0];
commonLayout.setAttribute('current-page', this.getPageName());
if (this.isShowConfig()) { commonLayout.setAttribute('show-config', 'true'); }
if (this.isLoading()) { commonLayout.setAttribute('is-loading', 'true'); }
if (this.enableRestTester) { commonLayout.setAttribute('enable-rest-tester', 'true'); }
}
<common-layout><!-- [currentPage]="getPageName()" [showConfig]="isShowConfig()" [isLoading]="isLoading()" [enableRestTester]="enableRestTester">-->
PAGE CONTENT
</common-layout>
username_14: I found an ugly workaround, setting the attributes with JS setAttribute is working just fine.
ngOnInit () {
this.fixAngularElementsBug();
}
fixAngularElementsBug () {
window.addEventListener('hashchange', () => { this.setCommonLayoutAttributes(); });
this.setCommonLayoutAttributes();
}
setCommonLayoutAttributes () {
let commonLayout = document.getElementsByTagName('common-layout')[0];
commonLayout.setAttribute('current-page', this.getPageName());
if (this.isShowConfig()) { commonLayout.setAttribute('show-config', 'true'); }
if (this.isLoading()) { commonLayout.setAttribute('is-loading', 'true'); }
if (this.enableRestTester) { commonLayout.setAttribute('enable-rest-tester', 'true'); }
}
<common-layout><!-- [currentPage]="getPageName()" [showConfig]="isShowConfig()" [isLoading]="isLoading()" [enableRestTester]="enableRestTester">-->
PAGE CONTENT
</common-layout>
username_14: I had another slightly different case, I have a webcomponent used by angular 1,6,7 apps. In the angular 6 app when in prod mode something caused the angular 6 app functions like ngOnInit or the bootstrapping to always run two times. the way I fixed it was to use "ngx-build-plus" as the builder in the angular.json of the webcomponent with "ng build **--single-bundle true** --prod" in package.json.
The default way webpack/angular-cli builds the app there are functions in the global scope apparently and ngx-build-plus builds it in a more separated way.
username_15: @username_3 why this issue is closed? I didn't find any solutions how to solve this problem.
username_10: I am able to solve this problem with approach as below.
https://medium.com/@username_10/multiple-angular-elements-apps-loading-in-one-window-7bcc95887ff4
username_16: a renaming of the `window.webpackJsonp `variable in the bundle to a unique (e.g.: `window.webpackJsonp+ElementName`)
has solved that issue for me
username_17: npx-build-plus worked for me but then we tried using different versions of angular and updated to the newest npx-build-plus package. Now I can only get one element to work.
username_10: @username_17 Can you please elaborate what versions of angular you are using?
here is my obersavations.
ngx-build-plus works fine to load multiple angular elements, we will not run into any issues even though multiple elements/apps use the same variable name (webpackJsonp). The reason is some how browser is able to differeniate these variables when we use single bundle approach. But styles was getting messed up.
username_17: @username_10 Will look into this.
username_18: @username_5 I have one question ngx-build-plus able to separate it out the two elements and
that shares the common angular and third party libs e.g. core-js, zone and angular lib.
But how they will share the same store if both elements have their own NGRX store, then it will create the two instance of store for two different elements. How to combine those two NGRX store?
username_19: it work!cool~
username_20: Now we are at Angular 7. Something new here?
username_21: @username_19 Where should this code be placed?
username_22: For anyone wondering, this issue is closed and the explanation is here: https://github.com/angular/angular/issues/23732#issuecomment-388670907
username_3: ngx-builds-plus is the right way to do this for the moment. Once ivy goes
out we’ll bring out some new stuff for Elements :)
username_23: Hi, just wonder whether multiple Angular elements on one single page is supported by latest Angular 7 yet? Thanks!
username_5: It's possible. However, if you compile them separately, it's not officially supported and you may end up with big bundles. The time after Ivy provides a remedy ...
username_23: Thanks! Hopefully Ivy will be released soon. We are building micro front end demo by using Angular elements. Being able to support multiple Angular elements from independent projects on the same page is a key thing to us.
username_24: Not sure how to reconcile these two statements. We're long past v7, so why do we have to resort to using a separate plugin?
username_25: is this fixed in Angular 8?
username_26: I'm encountered some problem when I used the angular elements in another angular app. I'm getting this issue.
**### Cannot read property 'apply' of undefined
**at ComponentNgElementStrategy.initializeOutputs****
Please refer to the sample code below and turn on developer tools you will see the error in console.
https://stackblitz.com/edit/angular-xqfkvj?file=src%2Fmain.ts
@username_3 I'm sorry for tagging you but could you give me some advice? |
grz0zrg/wui | 184687483 | Title: MIDI learn visual feedback not working when the dialog is detached
Question:
username_0: When the dialog is detached with MIDI enabled sliders or inputs, all is working as expected but there is no more visual feedback in the detached dialog.
Answers:
username_0: Solved with a tricky solution... which only work if the title of the detached dialog containing the MIDI enabled sliders/inputs is the same as the origin dialog, if the title is changed, there will be no visual sync in the detached dialog and this also add flickers when clicking on the MIDI learn button in a non detached dialog due to a dummy call to "window.open" to try to get the detached dialog handle.
A better solution which would eliminate the limitation and the flicker would be to add a global which would hold all WUI_Dialog detached handles, this may be implemented in the future as it would be anyway a cleaner way of doing this, for the moment it work but it is not an optimal solution.
Status: Issue closed
|
renatahodovan/grammarinator | 241876479 | Title: Unable do generate recursive grammars
Question:
username_0: domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
domain cannot be generated within the given depth (min needed: 5).
```
Now seems the warning is reported up to the max depth.
Answers:
username_1: -n defines the number of tests to generate. You should increase -d to change the expected depth.
username_0: Sorry, my fault! It worked, thank you!
Status: Issue closed
|
Project-OSRM/osrm-backend | 72857512 | Title: Building osrm-backend on a Hackintosh with OS X 10.10.3
Question:
username_0: HI,
run a Hackintosh with OS X 10.10.3 (i7, 32 GByte, 250 GB SSD and two harddrives (4 and 2 TB).
I have tried to install OSRM there. I have opened the terminal and entered:
git clone https://github.com/Project-OSRM/osrm-backend.git
then I have entered:
mkdir -p build; cd build; cmake ..; make
errormessage: cmake not found
Next Step:
npm install cmake
it failed
Answers:
username_1: you need to install the cname build system, as well as other dependencies. see the wiki: https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM#mac-os-x-1071-1082.
username_0: thanks I have not seed that one :-(
I used google to see if anyone had success with Mac OS X and somehow I missed the wiki on Mac OS X.
Status: Issue closed
|
soulqw/CoCo | 627016759 | Title: 华为P20上选择图片错误问题
Question:
username_0: 在华为P20 android 版本 10 上选择图片后报:
error on compress or Rotate java.io.FileNotFoundException: /storage/emulated/0/Pictures/Screenshots/Screenshot_20200529_124657.jpg: open failed: EACCES (Permission denied)
debug跟踪发现是 DefaultImageDisposer中correctRotate()方法处理旋转时出现问题
Answers:
username_0: 继续查了一些资料,发现是因为没有适配Android 10 scoped storage (分区存储)导致的。
username_1: @username_0 所以只要APP申请了这个权限的话就能正常处理上述逻辑吧?
username_0: 权限都申请了,只是在Android Q(10)上面默认需要适配分区存储,选择图片访问了公共目录(/storage/emulated/0/Pictures 属于公共目录)下面的文件,但是没有适配分区存储就会报错,在 application配置加入android:requestLegacyExternalStorage="true 以兼容模式运营就不会报错。
Status: Issue closed
|
jcserv/ulinks | 949960417 | Title: 🚀 Feature Request: Filter Groupchat by Relevance/Hotness
Question:
username_0: ### Problem Overview 👁️🗨️
Currently the group chats are being returned in order of creation date. We should leverage the likes/views fields to have metrics to rank group chats.
### What would you like? 🧰
- Whenever a group chat page is visited, add a view
- Create a button for users to like them<issue_closed>
Status: Issue closed |
npolar/marine-db | 328973648 | Title: Samples log with multiple ids
Question:
username_0: {"id":1461,"expedition":"GlacierFront2017","station":"KpM6","sampled_from":"Helicopter","cast":5,"transect":"KpM","gps":11,"latitude":78.8704580068588,"longitude":12.58379900828,"depth_bottom":68,"lon_utm":447948.230988578,"lat_utm":8756593.18388749,"dist_krone":177,"dist_conway":12757,"dist_kongs":9477,"tow_distance_m":"","deployment_time_days":"","time":"2017-07-25T13:06:00.000Z","gear":"Hydrobios mini CTD","depth_from":30,"depth_to":"","sample_type":"Ammonium","filtered_volume":"","salinity":"","temp":"","ph":"","respobsible":"<NAME>; <NAME>","comment":"","event":"340e8058-490c-5c11-8ef1-f05e847ea4b1","sample":"AMM-016h; AMM-017h; AMM-018h"}
Answers:
username_0: And also: ";" is not the only in-cell separator; "," is also used...
Status: Issue closed
|
silverstripe/silverstripe-webauthn-authenticator | 513596243 | Title: Unable to complete registration on Firefox
Question:
username_0: Browser: Firefox 69.0.4
We're seeing some errors when users attempt to use a YubiKey on Firefox. When a user taps their YubiKey and clicks Complete Registration we're seeing this error in our logs:
```
The attestation statement format "packed" is not supported.
```
On the user's end they remain on the screen with the Complete button. User was able to register when they switched to Chrome.
Answers:
username_1: Hmm, weird. I couldn't recreate this on (OSX) Firefox version 69.0 (for a registration) or the latest version 70.0 (for a log in).
username_1: I'll keep this open until we're able to test this on another operating system
username_2: This has been [resolved upstream](https://github.com/web-auth/webauthn-framework/issues/123), so we should be able to close this out by upgrading (we're currently on the 1.x line, current is 3.x.)
username_1: Nice catch
username_1: Marking this issue as blocked by: https://github.com/silverstripe/silverstripe-webauthn-authenticator/issues/73 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.