repo_name
stringlengths
4
136
issue_id
stringlengths
5
10
text
stringlengths
37
4.84M
findtheflow/Feedback
202834275
Title: Flow is not able to record the execution due to slf4j issue Question: username_0: Hi, I wanted to evaluate this promising tool. However, I'm not able to make it running. Flow cannot start due to this issue : SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Flow is not able to record this execution :( I check in the plugin folder and slf4j-api-1.7.21.jar and logback are present (amongst other logging libraries). Il tried with a webapp ( on Tomcat7) but also with a simple standalone application without any success. How can I solve this ? Answers: username_1: Hi, thanks for letting us know. You can safely ignore the slf4j warning messages. However "Flow is not able to record this execution :(" is the important message here. It means that the application you run cannot communicate with our local server. Let's find out why. 1. What is your OS? 2. What is the default java version of your OS? ("java -version" in a terminal) 3. Can you please send me the logs to <EMAIL>? They are located in your "user home" ("C:\Users\{username}\.flow\logs" on Windows) Thanks
suyashkumar/dicom
604237306
Title: Trying to read 4 bytes beyond buffer end Question: username_0: Another issue resulting from a scan around several millions of DICOMs. We have to dig deeper around what is causing that. Answers: username_1: @username_2 Found some example files for this error [issue63.zip](https://github.com/username_2/dicom/files/4704667/issue63.zip) Data Citation: _<NAME>; <NAME>; <NAME>; <NAME>. (2017). Data from ACRIN-FLT-Breast. The Cancer Imaging Archive. http://doi.org/10.7937/K9/TCIA.2017.ol20zmxg_ Status: Issue closed username_2: Closing this out as I'm unable to reproduce it with the current `s/1.0-rewrite` branch candidate!
PyDataPune/Talks
401459662
Title: Excursion to Neural Network Question: username_0: - What is Neural Network? - Why we need Neural Network? - Traditional ML vs Neural ML - Inspiration behind Neural Network - Anatomy of Neural Network - Types of Neurons - Components of Neural Networks - Back propagation - Importance of Non-linearity - Types of Activation Functions - Initialization of weights and choosing optimizer - Building your first Neural Network using Numpy - Introduction to DL Frameworks (Which frameworks are available in market) - Building you first NN using DL Framework - What Next??? Answers: username_1: Delivered!! Status: Issue closed
keunwoochoi/kapre
756322593
Title: Most direct replacement for Spectrogram Question: username_0: What's the most direct replacement in 0.3.x for the Spectrogram class from 0.1.7? I'm guessing it's `kapre.composed.get_stft_magnitude_layer` and then decomposing if I want to save in h5? Thanks! Answers: username_1: You're correct, that would be the best approximation. There are two difference though. 1) The old `Spectrogram` layer has a little more error than I expected compared to librosa and I couldn't figure out. 2) `Specrogram` used conv1d based DFT kernels while the current implementation uses `tf.signal.stft` which is based on FFT. username_0: Great, thanks! Status: Issue closed
w3c/csswg-drafts
407075053
Title: [filter-effects] Specify rounding behaviour of feMorphology radius attribute Question: username_0: https://www.w3.org/TR/filter-effects/#element-attrdef-femorphology-radius The `radius` attribute determines the size (row and column count) of a convolution kernel. Obviously this eventually has to be rounded to an integer to create the matrix. However the spec does not say what the rounding method is. Testing this, it appears that FF always rounds up, and Webkit always rounds down. So, for example 0.4 becomes 0 on Chrome (disabling the filter) and 1 on Firefox (filter works). I believe it would be a good idea to add a note to this section formalising the rounding method. If you are familiar with convolutions, it is obvious that only integers should be used, but that is not obvious to the average person. Answers: username_0: @rlongson has pointed out to me that FF actually rounds down if the fraction is below an epsilon of 0.0001. So 0.0001 becomes 0, but 0.0002 is rounded up to 1. Thanks Robert. username_1: Blink is looking to change its behavior in M84 (see https://chromium-review.googlesource.com/c/chromium/src/+/2132426 ). Previous to this change the radii were calculated in css pixels, then floored to integer css pixels, then sent through the CTM to get to physical pixels and then floored again to integer physical pixels to do the actual effect. To avoid the double flooring this is being changed to remove the intermediate floor in css pixels and round instead of floor in physical pixels. So the new behavior is map the radii through to physical pixels and then round the radii just before applying the effect to the physical pixels. After a quick look at the Firefox implementation it wan't immediately clear at what stage the conversion to integer was happening (in css or physical pixels). In general it seems best to put off any conversion to integer until actually doing the effect to physical pixels. The consensus locally seems to be that the old behavior of flooring probably isn't a good idea. Effectively taking the ceiling as Firefox does seems to have some merit as it always provides some effect if a radius is non-zero. We ended up picking rounding (before finding this issue) since it picks the closest integer. Another possibility is for anything greater than zero but less than one to go up to one but for other values to round.
amcnulty/Bricks
63560245
Title: Incorporating buffering to game rendering. Question: username_0: Currently the game loop does not utilize any buffering. The frame rate is an average of 39 FPS whereas, the are 60 updates per second. In the run method a call to the surface holder's lockCanvas() method is done before rendering. After rendering a call to the surface holder's unlockCanvasAndPost(canvas) method is performed. ex. [BricksView.java] - Line 114 c = mSurfaceHolder.lockCanvas(); render(c); mSurfaceHolder.unlockCanvasAndPost(c); These calls are a possible cause to the slowdown of the frames per second. Buffering the rendering will smooth out animation. However, I don't know if it will increase the slow frame rate we are experiencing. Answers: username_0: The method that I am using actually is a simple way of writing to the canvas's buffer. After researching into this problem I currently think this is the best performance I am going to get. It might be possible to use outside libraries to do some more advanced buffering but, I'm not sure about that. username_0: The game is running fine without it. Status: Issue closed
tableau/extensions-api
1150398653
Title: Permission mismatch on Tableau Server/Online Question: username_0: Users using extensions on Tableau Server need the 'Download Summarydata' permission. If this permission is not enabled the extension won't run and throw an unexpected error in the developer tool console. A clear and concise description of what the issue is. **Version information:** - Tableau version: 2021.4 - OS: - - Browser: All - Version All **Steps to reproduce (please include a code snippet, if possible):** 1. Have a user denied 'Download summarydata' permissions 2. Go to Tableau Server and open a workbook with SuperTables with this user 3. See the error in the console of the developer tools A clear and concise description of what you expected to happen: <img width="1247" alt="errors" src="https://user-images.githubusercontent.com/16118919/155716420-c0d58667-cc10-437b-8609-993d2874dd01.png"> Answers: username_1: Hi Merlijn Thank you for reporting this. We will investigate how we can improve the error handling. John
mdibl/package_downloads
287189341
Title: Install libgtextutils Question: username_0: This's one of the prerequisites for fastx_toolkit's install Status: Issue closed Answers: username_0: Done - this will be run on-demand since this software is unmaintained See the disclaimer : Gordon-Text_utils-Library (https://github.com/agordon/libgtextutils) ============= ******************************************************************* * libgtextutils is unmaintained software. * It is only ever used in FASTX-Toolkit, which is also unmaintained. * Use at your own risk. *******************************************************************
ruanyf/weekly
658701373
Title: [自荐] 基于SpringBoot 的 zookeeper 可视化 web 工程 Question: username_0: ## 简介 - zookeeper-view 基于 [SpringBoot](https://github.com/spring-projects/spring-boot) 和 [curator](https://github.com/apache/curator)进行开发 - 项目地址: https://github.com/username_0/zk-view - 支持的功能: 1. 节点列表查看 1. 节点数据查看 1. 创建、修改、删除节点 1. zk四字命令
elixir-lsp/vscode-elixir-ls
608332223
Title: syntax highlighting for liveview html.leex templates Question: username_0: With the release of Phoenix 1.5 it's much easier to include [LiveView](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html) https://www.phoenixframework.org/blog/build-a-real-time-twitter-clone-in-15-minutes-with-live-view-and-phoenix-1-5 #83 adds the .html.leex filetype for syntax highlighting and filewatching Answers: username_1: #83 has been merged Status: Issue closed
mellium/xmpp
862101967
Title: xmpp: marshaling stanza errors fails with a confusing error if no condition is present Question: username_0: When no condition is present, ie. ```go xml.Marshal(stanza.Error{}) ``` a confusing error is returned: ``` xml: start tag with no name ``` We should either pick a default condition if such a thing makes sense, or we should check for this and return an actual error that tells us what's going on in [`Error.MarshalXML`](https://pkg.go.dev/mellium.im/xmpp/stanza?utm_source=godoc#Error.MarshalXML).
DylanPiercey/auto-sni
232630629
Title: error in 2.1.1 : le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) Question: username_0: version 2.1.1 throws error as: le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed However, version 1.5.1 working fine. using: nodejs, npm, express as: let server = createServer({ email: '<EMAIL>', agreeTos: true, debug: false, domains: [ ['abc.com', 'www.abc.com'] ], // i use nested array ports: { http: 8080, https:8443 } }, app); Answers: username_1: Hey @username_0, with @2.x of this library it has been completely changed to be an extremely thin wrapper around greenlock-express. When I first created this module Greenlock (at the time node-letsencrypt) had a very unfriendly api and was missing many features. However now most of these features have been and so I have mostly stopped my efforts and changed this library to wrap their updated api. The bundled domains option is currently missing from greenlock-express but with @2.2 I have made it so that the domain option is automatically flattened so that your existing config will still atleat work (it will not bundle though). Status: Issue closed username_0: @username_1 , i just tried the v2.2.1, the error still occur. it is not the error cause by the nested domains. it shows `le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed` username_1: version 2.1.1 throws error as: le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed However, version 1.5.1 working fine. using: nodejs, npm, express as: let server = createServer({ email: '<EMAIL>', agreeTos: true, debug: false, domains: [ ['abc.com', 'www.abc.com'] ], // i use nested array ports: { http: 8080, https:8443 } }, app); username_1: @username_0 can you try removing and reinstalling your node modules? I can't seem to recreate this. username_0: I created a new vm and try. It did generate a cert if I set debug=true. However, error occurs if debug=false. username_1: @username_0 what if you use ports http:80 and https:443? I'm curious if its a port issue. username_0: Yes, I use 80 and 443. username_1: @username_0 can you run the standard (manual) lets encrypt client? Are those ports actually open? I'm a little stumped. username_0: I think it is caused by greenlock-express. i tested their QuickStart guide, it gives me the same error. `'use strict'; require('greenlock-express').create({ server: 'https://acme-v01.api.letsencrypt.org/directory' , email: '<EMAIL>' , agreeTos: true , approveDomains: [ 'xxx.example.com' ] , app: require('express')().use('/', function (req, res) { res.end('Hello, World!'); }) }).listen(80, 443);` error message:- `le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed Handling ACME challenges and redirecting to https on plain port 80 Handling ACME challenges and serving https 443` Maybe you should consider to change the library to [letsencrypt-express](https://www.npmjs.com/package/letsencrypt-express) from greenlock-express username_0: [Ticket from greenlock-express](https://git.daplie.com/Daplie/greenlock-express/issues/127) username_1: @username_0 thanks for checking that out. I may consider switching from greenock-express in the future but for now I will close this issue and we can follow the progress on the greenlock repo. Status: Issue closed
robotn/gohook
723053542
Title: How do I register function keys? Question: username_0: Hi, I tried to register F6 by using this code ```go fmt.Println("Press F6") hook.Register(hook.KeyDown, []string{"F6"}, func(e hook.Event) { fmt.Println("F6 was pressed") }) s := hook.Start() <-hook.Process(s) ``` but it doesn't seem to work. My question is, how do I register function keys? Thank you in advance. Answers: username_1: i've found no realiable way to do that yet. feel free to PR. Status: Issue closed
chanzuckerberg/cellxgene
941112744
Title: Surface log fold change in histogram for DE results Question: username_0: If a gene is added to a gene set as a result of DE, show log fold change in the UI under the histogram when expanded. Ideally, log fold change is persisted when the gene set is edited. Log fold change will be removed if the gene is removed from the gene set. Needs some discussion since only genes created from DE will have log fold change values. Answers: username_0: Closing as a low priority Status: Issue closed
indeedeng/starfish
502388349
Title: Update README.md with Project Structure Information Question: username_0: It could be helpful for new contributors to have a Project Structure section in the README.md explaining the structure, like what each folder/file does. Example: https://github.com/twilio-labs/open-pixel-art/blob/master/CONTRIBUTING.md Answers: username_1: That's a cool idea. Starfish is pretty simple. All of the code is in index.js Everything else is text files, the gitignore (to tell git what to ignore), a template for making the environment variables, a test file (with only 1 test so far), and the package.json (which is a node configuration file). When you run npm install, you'll also get a folder called node_modules added to your code locally. That folder contains all of the dependencies - libraries of code starfish is using - and you can ignore all of it. Feel free to add this info to the "Contributing" section of the README if you like. Status: Issue closed
braintree/sanitize-url
296197627
Title: Interest in type definitions? Question: username_0: This module is so small - it would be trivial to add typescript type definitions. I'd be happy to submit them. Basically: ``` declare module "@braintree/sanitize-url" { export function sanitizeUrl(url: string): string; }; ``` Answers: username_1: We're not interested in adding them, but feel free to submit a PR to https://github.com/DefinitelyTyped/DefinitelyTyped yourself if you wish. Status: Issue closed username_2: Hi 👋🏻 I've just added them: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43343 username_1: FYI, this module is now written in typescript. PR to remove the types from DT: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46109
AzureAD/azure-activedirectory-library-for-android
371721648
Title: Refactor a minimal subset of Adal classes into common to support x-cache synchronization Question: username_0: Objective: - For a future release, MSAL should be able to synchronize SSO state from the ADAL format by reading its `SharedPreferences` Given: - ADAL writes to `SharedPreferences` by serializing instances of `TokenCacheItem` using `Gson`. - `TokenCacheItem` is namespaced to ADAL (thus inaccessible in `common` / MSAL) Therefore: - `TokenCacheItem` (+ a minimal subset of supporting classes) must be migrated to `common` such that the schema is not just 1:1 with ADAL's cache format, but actually uses the same POJO as the deserialization target Answers: username_1: @username_0 Is this done? If so can you close the issue? username_0: Yeah, this is done. Thanks @username_1 Status: Issue closed
gwlucastrig/gridfour
1167226456
Title: Move coordinate-related classes to a dedicated package Question: username_0: The previous release of Gridfour, 1.0.1, introduced a set of coordinate-transform classes. At the time, I put them in the gvrs package. But I think that they have potential uses for grid-based applications that are unrelated to GVRS. Therefore, I am planning on moving them to their own package, which I will be naming "coordinates". As a reminder, the long-term goal of Gridfour is to provide tools for general raster applications. The GVRS API is only one of these. For example, the Gridfour project already implemented surface interpolation classes based on B-Splines. And I am currently working on a contouring package similar to [The Tinfour Contour package](https://github.com/username_0/Tinfour/tree/master/core/src/main/java/org/tinfour/contour) which was developed for our companion project [Tinfour](https://github.com/username_0/Tinfour). I anticipate that some of this future work will require access to coordinate transformations, so I will be moving the classes and, in some cases, renaming them. Affected classes include IGridPoint, IModelPoint, IGeoPoint, GridPoint, ModelPoint, and GeoPoint. The existing classes GvrsGeoPoint and GvrsGridPoint will be renamed to a more generic form. Answers: username_0: The refactor is complete. Changes pushed to Github main branch. Status: Issue closed
johannesegger/SenseHatNet
423644353
Title: Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libRTIMULibWrapper.so' Question: username_0: Hello, I got `Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libRTIMULibWrapper.so'` when executing `docker run` with following Main function: static void Main(string[] args) { //TestLedMessage(args.Length > 0 ? args[0] : "Hello World"); // TestLowLight(); // TestJoystick(); TestRTIMULib(); } `TestLedMessage` works without any issues, I've got troubles only with `TestRTIMULib`. I created Docker image according to your [Sample](https://github.com/username_1/SenseHatNet/tree/master/Sample). Do you have any idea what might be wrong? My setup: `Docker version 3.0.2, build e042b58f` `RPi 3: Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux` Answers: username_1: Thanks for reporting. It's a long time since I touched the native part of this library. The exception is typically thrown when the library doesn't exist (which I doubt is the case here) or doesn't fit to the processor architecture. `libRTIMULibWrapper` is built using docker (see [here](https://github.com/username_1/SenseHatNet/blob/master/RTIMULib-dev/Dockerfile)) which uses the ARM cross compiler toolchain. I can try rebuilding `libRTIMULibWrapper` with the latest version of the toolchain and publish a new version with it. You might as well be able to do so: Build `libRTIMULibWrapper` on your machine and then replace the original dll with it. Hope that helps. username_0: I will try rebuilding on Monday but please take a look at this issue - any help is very welcome :) username_1: I'll see my RPi on Tuesday again, though I'm not sure if I have the time to do some tests. username_0: I would be grateful if you could check following (`ldd` executed inside docker container from Sample build image): ``` root@f79e1d9175ec:/usr/app# ldd libRTIMULibWrapper.so linux-vdso.so.1 (0x7eb17000) libRTIMULib.so.7 => not found libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76ea1000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76e29000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76e00000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76d12000) /lib/ld-linux-armhf.so.3 (0x76fbf000) ``` I wonder if you have `libRTIMULib.so.7 => not found` as well? username_1: Hm I guess that never worked in a docker container because SenseHatNet doesn't ship `libRTIMULib.so.7`. However SenseHatNet v0.0.5 now ships a copy of `libRTIMULib.so.7` and now I get the following output (I realized I don't need physical access to my RPi to test this kind of stuff): ``` Settings file not found. Using defaults and creating settings file Failed to open I2C bus 1 Failed to open SPI bus 0, select 0 Failed to open SPI bus 0, select 1 No IMU detected Using fusion algorithm RTQF Failed to open SPI bus 0, select 1 No pressure sensor detected Failed to open SPI bus 0, select 1 No humidity sensor detected Timestamp: 2534-02-22T20:42:45.5410000 FusionPose: Valid: True, Value: <0, 0, 0> FusionQPose: Valid: True, Value: {X:0 Y:0 Z:0 W:1} Gyro: Valid: False, Value: <0, 0, 0> Accel: Valid: True, Value: <0, 0, 0> Compass: Valid: True, Value: <0, 0, 0> ``` Still doesn't look entirely correct, but I guess it's a start. Can you try pulling the latest version from GitHub and running the sample again? username_2: Version 0.0.5 is working fine. In order to get rid of above is to enable proper Rpi interfaces - you can find them in main menu of device - go to: Preferences -> Raspberry Pi Configuration -> Interfaces (tab) and enable: 1. I2C 2. Serial Port 3. Remote GPIO I had those 3 enabled and its working - maybe there is only I2C interface needed to make it work - I was too lazy to check this out :) username_0: I checked and only **I2C interface** is required for this to work. Status: Issue closed
Automattic/mongoose
189530945
Title: Error with Object Id Question: username_0: Hi, I need your help with this error: Error: The 2nd parameter to `mongoose.model()` should be a schema or a POJO at Mongoose.model... My model is: 'use strict'; /** * Module Dependencies */ var mongoose = require('mongoose'); var shortid = require('shortid'); var Schema = mongoose.Schema; var userSchema = require('../models/User'); var User = mongoose.model('User', userSchema); /** * Define Unit Schema */ var unitShema = new mongoose.Schema ({ idShema: { type: String, unique: true, default: shortid.generate }, name: { type: String, unique: true, index: true }, description: { type: String }, updated: { type: Date }, created: { type: Date, default: Date.now }, user: { type: mongoose.Schema.ObjectId, ref: 'User' }, }); module.exports = mongoose.model('Unit', unitShema); I don´t understand ....this work ....a few weeks ago. Thanks.. Answers: username_1: Is your stack trace saying the error is from the `var User = mongoose.model` call or the `module.exports = mongoose.model` call? I suspect it's the former, because I'd imagine `models/User` exports a *model*, not a *schema*. Either way, `User` is unused in this file so it's not clear why it's there in the first place. username_0: Hi @username_1, i found my mistake, i just only remove : var userSchema = require('../models/User'); var User = mongoose.model('User', userSchema); Mongoose recognize automatically my model User......Thanks Status: Issue closed
igaponov/wirecard-php-api
75944322
Title: How to use wirecard php api and how to implement that Question: username_0: Please provide code example and steps what we need to do Answers: username_1: I'll do it later, now you can use [Omnipay driver](https://github.com/username_1/omnipay-wirecard) username_0: Thank you for answer. After 3 days researching I decided to write my own direct debit transaction class using spreedly.com API. I'll make repo for it lately.
react-navigation/react-navigation
314772513
Title: Navigating to Inner Stack with Reset and Subroute Does Not Fire Subroute Navigation Question: username_0: When navigating to an inner stack with reset, passing an action into the inner stack does not fire. If you have a stack, say RootStack, with two stacks, InnerStack and InnerStack2, when navigating with a reset action from InnerStack to InnerStack2, passing an action into InnerStack2 does not fire the action. EX: In InnerStack hit a button. Button navigates to InnerStack2 and attempts to use navigate action to navigate to SubRoute2. SubRoute2 navigation never fires. See Snack for example: https://snack.expo.io/rySs6wzhG react-navigation - 1.5.11 react-native - 0.52.1 Answers: username_1: I think this is related to this issue: https://stackoverflow.com/questions/50046136/react-navigation-blank-screen-with-nested-tabnavigator-on-device-only
voxpupuli/plumbing
175206979
Title: voxpupuli CHANGELOG.md Question: username_0: Organisations go through changes most changes have reasons We have this repository (and its history) and mailing lists and so on, but it would be nice to have have an easily accessible summary of what happened, when, and why. The background to this idea can be read in [this blog post](https://addxorrol.blogspot.de/2016/09/essays-about-management-in-larger.html) Answers: username_1: #77 More to find and add: - Modules that joined VP (we should make monthly list) - CoC adoption - Initial bootstrap of Puppet-Community
commercialhaskell/stack
455968468
Title: Regression for doctest in 2.1.1 Question: username_0: ### General summary/comments (optional) After switching to 2.1.1 I'm seeing the need to include `-package [package-name]` in `doctest` flags. This was not previously necessary. ### Steps to reproduce I do not yet have a minimal reproduction. ### Expected I would expect not to need the `-package` flag. ### Actual ``` fancy-api> test (suite: doctest) Loaded package environment from /tmp/stack3123/test-ghc-env Loaded package environment from /tmp/stack3123/test-ghc-env library/FrontRow/Api/School/TextSearch/Internal.hs:23:1: error: Could not load module 'Import' It is a member of the hidden package 'fancy-api-0.0.0'. You can run ':set -package fancy-api' to expose it. (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. | 23 | import Import hiding (first, second, toQuery) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ library/FrontRow/Api/School/TextSearch/Internal.hs:30:1: error: Could not load module 'FrontRow.Api.TextSearch' It is a member of the hidden package 'fancy-api-0.0.0'. You can run ':set -package fancy-api' to expose it. (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. | 30 | import qualified FrontRow.Api.TextSearch as TextSearch | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fancy-api> Test suite doctest failed ``` ### Stack version ``` $ stack --version Version 2.1.1, Git revision f612ea85316bbc327a64e4ad8d9f0b150dc12d4b (7648 commits) x86_64 hpack-0.31.2 ``` ### Method of installation Official binary, downloaded from stackage.org or fpcomplete's package repository Answers: username_1: Thanks for reporting; I'll take a look and get back to you! username_2: It seems doctests work in 2.2.0. ``` $ stack --version Version 2.2.0, Git revision f6258124cff9a7e92bcb5704164a70e149080e88 (dirty) (7597 commits) x86_64 hpack-0.31.1 ``` username_1: I _think_ I can reproduce this on 2.1.1 for my [mtags](https://github.com/username_1/mtags/blob/develop) package, but I get a slightly different error. @username_0 would you like to give 2.2.0 a go? Status: Issue closed username_1: @username_0 As described at https://github.com/commercialhaskell/stack/issues/4896#issuecomment-504646318 you need to ensure that the test dependencies are listed in the test stanza of the package cabal file (or equivalent hpack file). It would be good if you could provide that sort of information with any future issues you report. username_3: Note: if you are getting `Variable not in scope: polyQuickCheck` when running doctests, you need to add `QuickCheck` to your doctests' `build-depends`.
sassoftware/python-dlpy
477579180
Title: No Error When Using Wrong Platform Path For AudioTable.load_audio_files() Question: username_0: Good afternoon. If you attempt to call AudioTable.load_audio_files() with a Windows path, but have the server be Linux based (or vice versa), you get no feedback whatsoever. This is because the logic is checking for forward slashes on Linux and backward slashes on Windows and if it doesn’t split on these, the function [returns None](https://github.com/sassoftware/python-dlpy/blob/master/dlpy/audio.py#L97). A message that covers this situation would be very helpful. Thank you! Answers: username_1: I am adding a message. the current design assumes that the path is accessible by the CAS server. Adding a warning message. Status: Issue closed
zold-io/zold
572392038
Title: Difference between bind-port and port options Question: username_0: It is not clear what the difference between these two options are when starting a node: bind-port and port. In addition, the log is wrong or confusing. I can start a node by: `zold node --threads 0 --invoice xx@xx --host 127.0.0.1 --standalone --port 80 --bind-port 8080` and I see: `Starting up the web front at http://127.0.0.1:80...` but I can only make requests to http://127.0.0.1:8080 Answers: username_1: @username_2[/z](https://www.username_1.com/u/username_2) please, pay attention to this issue username_1: @hdouss[/z](https://www.username_1.com/u/hdouss) this project will fix the problem faster if you donate a few dollars to it; just [click here](https://www.username_1.com/contrib/CAZPZR9FS) and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! username_2: @username_0 I added more details, in cdbf74a Better now? Status: Issue closed username_0: @username_2 yes it is better. Thanks. username_1: Job `gh:zold-io/zold#786` is not assigned, can't get performer <!-- https://www.username_1.com/footprint/CAZPZR9FS/c6878cd5-41f3-4f5a-a98d-d89c43e19810, version: 0.54.5, hash: ${buildNumber} -->
DigiDago/moodle-format_softcourse
549768792
Title: Please remove French language files Question: username_0: Hi, The French language files have been sent to AMOS and they were accepted. You can now remove the French language strings from this plugin code in GitHub. You can check all translations for this plugin in the 'Translations' tab of https://moodle.org/plugins/translations.php?plugin=format_softcourse. Please use AMOS (https://lang.moodle.org/ )for adding the remaining French language string translations. Answers: username_1: Hello, can you help me? I installed this course format and found it really beautiful, but I'm not able to make the necessary restrictions for some sessions, for example: I need to leave a session named 'certificated' completely hidden and only be released when the student reaches the required average, but they are not succeeding. I tried all the ways but I can't. Thank you for your help username_2: Hello, Sorry for the time it took us to process your request, the language file will be deleted with the PR #60 I'm going to look to do the same for the other plugins we maintain. Thanking you for your return. Status: Issue closed
katzer/cordova-plugin-local-notifications
56551229
Title: Crash iOS7 when adding notification Question: username_0: I'm trying to schedule some repeating notifications in my app. It all works wonderfull in Android, but in IOS it doesn't work. I used the last version in the Master and it just crashes. In the log I see the following: `Feb 4 20:19:15 iTouchs-iPhone-4 AppName[1895] <Error>: -[UIApplication registerUserNotificationSettings:]: unrecognized selector sent to instance 0x15d20e30` I tried an fixed suggested by craig-at-rsg in pull-request #388. It stopped the app from crashing, but no notifications are scheduled then. Can anybody help me with this? I use IntelXDK to build the app. Status: Issue closed Answers: username_1: The new 0.8.x release is a complete rewrite. If the issue still exists please reopen it. You may also take a look into the new [wiki](https://github.com/username_1/cordova-plugin-local-notifications/wiki). Thanks!
ufz/ogs
127711292
Title: Windows compiler warnings Question: username_0: FYI: MSVC currently gives the following warnings: ``` warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) (C:\Projects\ogs\GeoLib\PointVec.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility 144 1 GeoLib warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) (C:\Projects\ogs\GeoLib\Surface.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility 144 1 GeoLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h 236 1 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h 237 1 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU.h 733 1 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU.h 734 1 MathLib warning C4267: '=' : converSMatrixReorderedOpenMP::amux': virtual function overrides 'MathLib::CRSMatrix<double,unsigned int>::amux', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers (C:\Projects\ogs\MathLib\LinAlg\Sparse\NestedDissectionPermutation\CRSMatrixReorderedOpenMP.cpp) C:\Projects\ogs\MathLib\LinAlg\Sparse\NestedDissectionPermutation\CRSMatrixReorderedOpenMP.h 28 1 MathLib ``` Answers: username_1: From the output I assume the first two of the warnings occur in `GeoLib::PointVec` and `GeoLib::Surface`. But I can not find the exact place. @username_0 Is there more information in the Visual Studio warning output? username_0: Console output is the following, if that helps: ``` 14>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility(144): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) (C:\Projects\ogs\GeoLib\Surface.cpp) 14> c:\projects\ogs\geolib\AABB.h(111) : see reference to function template instantiation 'std::pair<bool,std::bitset<0x03>>::pair<int,int,void>(_Other1 &&,_Other2 &&)' being compiled 14> with 14> [ 14> _Other1=int 14> , _Other2=int 14> ] 14> c:\projects\ogs\geolib\AABB.h(111) : see reference to function template instantiation 'std::pair<bool,std::bitset<0x03>>::pair<int,int,void>(_Other1 &&,_Other2 &&)' being compiled 14> with 14> [ 14> _Other1=int 14> , _Other2=int 14> ] 14> C:\Projects\ogs\GeoLib\Surface.cpp(66) : see reference to function template instantiation 'bool GeoLib::AABB::update<GeoLib::Point>(const PNT_TYPE &)' being compiled 14> with 14> [ 14> PNT_TYPE=GeoLib::Point 14> ] ``` username_0: Here's an update, the current list of warnings (some are new, some are already listed above): ``` warning C4244: 'argument' : conversion from 'const double' to 'unsigned __int64', possible loss of data C:\Projects\ogs\NumLib\TimeStepping\Algorithms\FixedTimeStepping.cpp 79 1 NumLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU.h 733 1 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU.h 734 1 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h 236 1 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\projects\ogsbuild\external\eigen\src\eigen\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h 237 1 MathLib warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) (C:\Projects\ogs\GeoLib\Surface.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility 144 1 GeoLib ``` username_0: Some more warnings on Windows: ``` warning C4180: qualifier applied to function type has no meaning; ignored (C:\Projects\ogs\Tests\MathLib\TestNonlinear1D.cpp) C:\Projects\ogs\MathLib\Nonlinear\Root1D.h 52 warning C4180: qualifier applied to function type has no meaning; ignored (C:\Projects\ogs\Tests\MathLib\TestNonlinear1D.cpp) C:\Projects\ogs\MathLib\Nonlinear\Root1D.h 112 warning C4244: 'argument' : conversion from 'const double' to 'const size_t', possible loss of data C:\Projects\ogs\Tests\NumLib\TestExtrapolation.cpp 327 warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data C:\Projects\ogs\Tests\GeoLib\TestAABB.cpp 174 warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data C:\Projects\ogs\Tests\GeoLib\TestAABB.cpp 175 warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data C:\Projects\ogs\Tests\GeoLib\TestAABB.cpp 176 ``` username_0: The current list of windows compiler warnings. I didn't compare to the one's above so pls take this as the new status: ``` warning C4244: '=' : conversion from 'std::streamoff' to 'int', possible loss of data C:\Projects\ogs\MeshLib\IO\FEFLOW\FEFLOWMeshInterface.cpp 318 MeshLib warning C4244: 'argument' : conversion from 'const __int64' to 'const unsigned int', possible loss of data (C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp) c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h 293 ProcessLib warning C4244: 'argument' : conversion from 'const __int64' to 'unsigned int', possible loss of data (C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp) c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h 304 ProcessLib warning C4244: 'argument' : conversion from 'const __int64' to 'unsigned int', possible loss of data (C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp) c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h 329 ProcessLib warning C4244: 'argument' : conversion from 'const __int64' to 'unsigned int', possible loss of data (C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp) c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h 331 ProcessLib warning C4244: 'argument' : conversion from 'const __int64' to 'unsigned int', possible loss of data (C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp) c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h 335 ProcessLib warning C4244: 'argument' : conversion from 'const __int64' to 'unsigned int', possible loss of data (C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp) c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h 344 ProcessLib warning C4244: 'argument' : conversion from 'const double' to 'unsigned __int64', possible loss of data C:\Projects\ogs\NumLib\TimeStepping\Algorithms\FixedTimeStepping.cpp 84 NumLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU.h 733 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU.h 734 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h 236 MathLib warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data (C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp) c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h 237 MathLib warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) (C:\Projects\ogs\GeoLib\PointVec.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility 144 GeoLib warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) (C:\Projects\ogs\GeoLib\Surface.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility 144 GeoLib ``` username_0: Since we switched to MSVC2015 now, here is the current list of warnings: Code|Description|File|Line :---|:---|:---|:--- LNK4221|This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library|C:\Projects\ogsdebug\NumLib\ShapeStaticConsts.obj|1 C4180|qualifier applied to function type has no meaning; ignored (compiling source file C:\Projects\ogs\Tests\MathLib\TestNonlinear1D.cpp)|C:\Projects\ogs\MathLib\Nonlinear\Root1D.h|52 C4180|qualifier applied to function type has no meaning; ignored (compiling source file C:\Projects\ogs\Tests\MathLib\TestNonlinear1D.cpp)|C:\Projects\ogs\MathLib\Nonlinear\Root1D.h|111 C4312|'type cast': conversion from 'DWORD' to 'HANDLE' of greater size (compiling source file C:\Projects\ogs\ThirdParty\logog\src\unittest.cpp)|c:\projects\ogs\thirdparty\logog\include\thread.hpp|108 C4312|'type cast': conversion from 'DWORD' to 'HANDLE' of greater size|c:\projects\ogs\thirdparty\logog\include\thread.hpp|108 C4244|'initializing': conversion from '__int64' to 'int', possible loss of data (compiling source file C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp)|c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU.h|733 C4244|'initializing': conversion from '__int64' to 'int', possible loss of data (compiling source file C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp)|c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU.h|734 C4244|'initializing': conversion from '__int64' to 'int', possible loss of data (compiling source file C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp)|c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h|236 C4244|'initializing': conversion from '__int64' to 'int', possible loss of data (compiling source file C:\Projects\ogs\MathLib\LinAlg\Eigen\EigenLinearSolver.cpp)|c:\users\username_0\.conan\data\eigen3\3.2.8\username_2\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\eigen\src\SparseLU\SparseLU_SupernodalMatrix.h|237 C4800|'const MeshLib::PropertyVector<int> *': forcing value to bool 'true' or 'false' (performance )|C:\Projects\ogs\Tests\FileIO_Qt\TestFEFLOWInterface.cpp|36| C4244|'argument': conversion from '__int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|271 C4244|'argument': conversion from '__int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|273 C4244|'argument': conversion from '__int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|277 C4244|'argument': conversion from '__int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|286 C4244|'argument': conversion from 'double' to 'unsigned __int64', possible loss of data|C:\Projects\ogs\NumLib\TimeStepping\Algorithms\FixedTimeStepping.cpp|84 C4244|'argument': conversion from 'const __int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|245 C4244|'argument': conversion from 'const __int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|271 C4244|'argument': conversion from 'const __int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|273 C4244|'argument': conversion from 'const __int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|277 C4244|'argument': conversion from 'const __int64' to 'unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|286 C4244|'argument': conversion from 'const __int64' to 'const unsigned int', possible loss of data (compiling source file C:\Projects\ogs\ProcessLib\TES\TESLocalAssemblerInner.cpp)|c:\projects\ogs\processlib\tes\TESLocalAssemblerInner-impl.h|234 C4244|'argument': conversion from 'const std::size_t' to 'const double', possible loss of data|C:\Projects\ogs\Tests\NumLib\TestComponentNorms.cpp|39 C4244|'=': conversion from 'std::streamoff' to 'int', possible loss of data|C:\Projects\ogs\Applications\FileIO\FEFLOW\FEFLOWMeshInterface.cpp|386 C4334|'<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)|C:\Projects\ogs\Applications\FileIO\Gmsh\GMSHAdaptiveMeshDensity.cpp|118 C4018|'<': signed/unsigned mismatch|C:\Projects\ogs\Applications\FileIO\FEFLOW\FEFLOWMeshInterface.cpp|485 username_2: You can always see a [list of warnings on Jenkins](https://jenkins.opengeosys.org/job/ufz/job/ogs/job/master/lastSuccessfulBuild/parsed_console/). username_0: I usually have the obligation to remove gcc warnings when I submit code, so I started this thread no notify Linux users that there are a number of Windows warning that clutter my output. For most of those I have no idea how to fix them so I was hoping somebody else would (e.g. the person introducing them in the first place). But apparently nobody is all that interested... Status: Issue closed
facn2/noor
260590413
Title: nav bar fixes & touch-ups Question: username_0: - [ ] search doesn't work - [ ] split lang into three buttons - [ ] english page nav should be flipped - [ ] search text input right -> left on arabic/hebrew - [ ] change home word in arabic - [ ] fix bugs for layout header<issue_closed> Status: Issue closed
thedevs-network/kutt
776551768
Title: Is it possible to setup an admin mail and password directly in docker-compose.yaml? Question: username_0: Hi, I am having a hard time trying to understand some things. I want to use kutt from the python API so I need to get a Kutt API Key from an account. For that purpose, I need to signup on my kutt deployment. However, I don´t want others to signup. So if, I disable signup, I can't signup either and get my API Key. What can I do? Is it possible to create a default admin account? Best regards, WaterKnight Answers: username_1: Hey, you need to sign up first to create an account and then disable signup.
elastic/apm-agent-dotnet
993074085
Title: Missing Dependencies when Using Microsoft.Azure.ServiceBus Question: username_0: ### APM Agent version ```xml <PackageReference Include="Azure.Storage.Blobs" Version="12.8.4" /> <PackageReference Include="Elastic.Apm" Version="1.11.0" /> <PackageReference Include="Elastic.Apm.Azure.Storage" Version="1.11.0" /> ``` ### Environment .NET 5.0 ### Describe the bug I have a service that uses NServiceBus, which internally uses Microsoft.Azure.ServiceBus. I use UseAllElasticApm however the only thing I am seeing in APM is AzureServiceBus RECEIVE from xxxx in the transactions section and nothing in dependencies. I think this may be a similar issue to `https://github.com/elastic/apm-agent-dotnet/issues/1321`, as I have managed to reproduce the issue where CurrentTransaction is null. Manually creating the transaction solves the issue but is not ideal. Here is the code I used: ```csharp using System; using System.Threading; using System.Threading.Tasks; using Elastic.Apm.Api; using Elastic.Apm.NetCoreAll; using Microsoft.AspNetCore.Hosting; using Microsoft.Azure.ServiceBus.Core; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace ApmServiceBusTest { internal class MessageHandler : IHostedService { private readonly IServiceProvider _serviceProvider; private readonly string cnnString = ""; private readonly string queueName = ""; public MessageHandler(IServiceProvider serviceProvider) { _serviceProvider = serviceProvider; } public async Task StartAsync(CancellationToken cancellationToken) { var receiver = new MessageReceiver(cnnString, queueName); using var scope = _serviceProvider.CreateScope(); var tracer = _serviceProvider.GetService<ITracer>(); while (true) { await receiver.ReceiveAsync(); var transaction = tracer.CurrentTransaction; } } public Task StopAsync(CancellationToken cancellationToken) { return Task.CompletedTask; } } [Truncated] } } internal static class Program { private static IHostBuilder CreateHostBuilder(string[] args) { return Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); }) .UseAllElasticApm(); } public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } } } ` Answers: username_1: Hi, I'm experiencing the same issue. Transactions created automatically by elastic service bus instrumentation subscriber `MicrosoftAzureServiceBusDiagnosticsSubscriber` doesn't contain any child spans like e.g. HTTP calls. After removing library instrumentation and creating transactions explicitly in the service bus message handler everything seems to be working fine. Below I'm attaching screenshots that shows timelines for those two approaches. **Transaction created automatically by MicrosoftAzureServiceBusDiagnosticsSubscriber** ![biblioteka](https://user-images.githubusercontent.com/91484005/134937019-7a254bed-ad76-4c76-94fa-36df4b050d68.png) **Transaction created explicitly in the code that handles Service Bus message Agent.Tracer.CaptureTransaction(...)** ![explicitly](https://user-images.githubusercontent.com/91484005/134937097-4523aee8-c868-404a-8741-0d0c2b0311bc.png) Versions: Elastic.Apm.Azure.ServiceBus 1.11.1 Microsoft.Azure.ServiceBus 5.1.3 Elastic stack 7.14.1 Regards. username_2: Could you maybe give us a small reproducer of this? So to sum this up: from the code sample I see here, everything woks as expected and I just tested the scenario where I added a message handler and that seem to maintain the current span. Another reproducer would be super helpful. username_2: Also for completeness: we got another reproducer with NServiceBus over Azure ServiceBus where the current transaction was null within an `IHandleMessages` implementation. I think this is from @username_0, but maybe I'm wrong - I'll also reach out through other channels. I debugged through this and this is an NServiceBus related issue: the underlaying Azure ServiceBus library sends a `.Stop` event before the `IHandleMessages` implementation is called and this causes the agent to end the transaction before the `IHandleMessages` implementation runs. So this is kind of an unfortunate combination. We don't support NServiceBus directly, we support the underlaying Azure ServiceBus library and the way NServiceBus runs its message handlers (specifically the `IHandleMessages` implementations) is that those run after the reading from Azure ServiceBus is alrerady closed. I think for this to work out of the box, we'd need specific support for NServiceBus. username_1: Hi @username_2 , below you can find some code, and screenshots. * `Startup.cs` implementation. Note that I put there elastic configuration for both approaches just to not paste almost the same code twice. ``` public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } private IConfiguration Configuration { get; } public void ConfigureServices(IServiceCollection services) { services.AddControllers(); } public void Configure( IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime lifeTime) { RegisterApplicationStartedEvents(lifeTime); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } app.UseRouting(); app.UseAuthorization(); app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); //Using MicrosoftAzureServiceBusDiagnosticsSubscriber app.UseElasticApm( Configuration, new AspNetCoreDiagnosticSubscriber(), new HttpDiagnosticsSubscriber(), new MicrosoftAzureServiceBusDiagnosticsSubscriber()); //Not using MicrosoftAzureServiceBusDiagnosticsSubscriber app.UseElasticApm( Configuration, new AspNetCoreDiagnosticSubscriber(), new HttpDiagnosticsSubscriber()); } private static void RegisterApplicationStartedEvents(IHostApplicationLifetime lifeTime) { var subscriptionClient = new SubscriptionClient("***", "test", "test"); var messageReceiver = new ServiceBusMessageReceiver(new HttpClient()); lifeTime.ApplicationStarted.Register(() => { [Truncated] } } public static Task HandleExceptionAsync(ExceptionReceivedEventArgs exception) { return Task.CompletedTask; } } ``` ![Issue_2](https://user-images.githubusercontent.com/91484005/135302622-bd190596-3190-44a1-a0c9-0a12c4090269.JPG) * Versions: .NET 5 Elastic.Apm.AspNetCore - 1.11.1 Elastic.Apm.Azure.ServiceBus - 1.11.1 Microsoft.Azure.ServiceBus - 5.1.3 As you can see the child `http` span is not tracked in case of using `MicrosoftAzureServiceBusDiagnosticsSubscriber` instrumentation while transaction created explicitly tracks child span. Let me know if you need any additional details. Regards. username_2: @username_3 will know more about this issue. Nevertheless I document my findings here. On the screenshot above I see a transaction with name `AzureServiceBus RECEIVE from [queuename]`. From what I understand the handler (which is registered in `subscriptionClient.RegisterMessageHandler`) should be part of the `Microsoft.Azure.ServiceBus.Process` event and we name transactions `AzureServiceBus PROCESS from [queuename]` when that event is raised. So this makes me think that there should be another transaction with `AzureServiceBus PROCESS from [queuename]` and the outgoing HTTP call should be part of that. This works for me: <img width="1301" alt="image" src="https://user-images.githubusercontent.com/1091853/136096183-89d0e247-3dca-42bf-98a7-7e821d7ffd71.png"> @username_1 do you have such a transaction, or you only see the one with `AzureServiceBus RECEIVE from..` (the one you pasted a screenshot from) in case you use `MicrosoftAzureServiceBusDiagnosticsSubscriber`? Now - one thing I managed to reproduce is that I got 2 transactions for a single `ReceiveAsync()` call when I read massage, one with `RECEIVE` and one with `PROCESS` - I also debugged `AzureMessagingServiceBusDiagnosticListener` and for the code above we got multiple events and indeed we start transactions for multiple ones without any check. I think this is not ok - to handle this, one thing we could do is that in the diagnostic listener we check for existing transactions and not start a second one if a previous `Microsoft.Azure.ServiceBus.X` event was already raised. Question is what transaction name should we use? I only tested with `Microsoft.Azure.ServiceBus` (the old one), I don't know how `Azure.Messaging.ServiceBus` behaves. username_3: Thanks for opening @username_0, and thanks for your input, @username_1. Let me see if I can clear up how the Azure Service Bus integration works. What you're describing @username_0 sounds like the expected behaviour and the same as https://github.com/elastic/apm-agent-dotnet/issues/1321. It'd be good to discuss whether this is serving you and other users well though. Given this has come up a couple of times, I'd like to see if we can improve things. The Azure Service Bus integration follows the [APM messaging spec](https://github.com/elastic/apm/blob/master/specs/agents/tracing-instrumentation-messaging.md). The _intent_ of message reception is to capture a transaction around the message handling flow. When using a processor or session processor like `ServiceBusProcessor` in Azure.Messaging.ServiceBus, or registering a message handler in Microsoft.Azure.ServiceBus, the message handling flow is captured in a transaction with a name starting with `AzureServiceBus PROCESS from <queue/topic subscription>`. I put together a sample app based on @username_1's example (happy to share if it helps), using Microsoft.Azure.ServiceBus 3.0.0, and see that the message handling transactions are captured, as is the span for the HTTP call that happens as part of the transaction: ![image](https://user-images.githubusercontent.com/208231/136134501-337ef995-d51e-4339-874d-22c6de91e364.png) Now, if we look at the messaging type transactions, we see there are two differently named transactions captured ![image](https://user-images.githubusercontent.com/208231/136134647-540e67ed-3134-4b76-9073-62374adbf3b7.png) The `AzureServiceBus RECEIVE from <queue/topic subscription>` transactions relate to receiving message(s) from Azure Service Bus; a transaction is started when the Receive Start activity is seen, and stopped when the Receive Stop activity is seen. As is, this is probably not very useful, since these activities are raised one after another, and from a user's code perspective, correlate with the `ReceiveAsync()` call, i.e. ```c# await receiver.ReceiveAsync(); // Starts and ends a transaction ``` If not using a processor type or registering a message handler, the ideal message handling flow would be: ```c# { await receiver.ReceiveAsync(); // Start a transaction // do some work that results in captured spans // end the transaction } ``` Unfortunately, it's not possible to do this automatically with the activities raised, when receiving messages manually from Azure Service Bus. It may make sense to capture the `ReceiveAsync()` calls as a span if there is a current transaction, to allow the call to be traced when manually calling `ReceiveAsync()`. This would require a transaction to be manually started, which is not ideal, but perhaps better than the current implementation? When using the processors or message handlers, it is possible to capture the messaging flow, since the activities raised by the libraries follow the pattern ``` Receive.Start // start a transaction Receive.Stop // end transaction ProcessMessage.Start // start a transaction /** inside HandleMessage processor delegate **/ Complete.Start Complete.Stop ProcessMessage.Stop // end transaction ``` _If_ we were to capture the `ReceiveAsync()` calls as a span however, we _might_ not be able to capture it when it's part of a processor or message handler, since we would need an active transaction. Status: Issue closed
Demerjianm/databridge-website
499795498
Title: Sorry I ran [npm i] and got errors Question: username_0: Sorry, when I tried to install packages but i got some errors like [Reinstalling packages to the last version gives an file not found error #17545](https://github.com/gatsbyjs/gatsby/issues/17545) Answers: username_0: [fatal error: 'vips/vips8' file not found](https://github.com/lovell/sharp/issues/1882) username_0: Look forward to someone could send me the `yarn.lock` or `package-lock.json` file. Thx! username_1: still nobody solves? username_0: ya, so confused username_2: I used **node v12.10.0** and it worked for my Gatsby project. username_3: installing the vips library should fix this issue
AaronMorelli/ChiRho
277301202
Title: Catalog object differences: SQL 2014 SP1 versus SQL 2014 SP2 Question: username_0: New objects: sys.dm_db_incremental_stats_properties sys.dm_exec_input_buffer column changes: sys.dm_exec_query_profiles: "actual_read_row_count" added in SP2 sys.dm_os_memory_objects: these cols added in SP2 contention_factor exclusive_access_count partition_type waiting_tasks_count Answers: username_0: Cols added to sys.dm_exec_query_stats in SP2 last_dop last_grant_kb last_ideal_grant_kb last_reserved_threads last_used_grant_kb last_used_threads max_dop max_grant_kb max_ideal_grant_kb max_reserved_threads max_used_grant_kb max_used_threads min_dop min_grant_kb min_ideal_grant_kb min_reserved_threads min_used_grant_kb min_used_threads total_dop total_grant_kb total_ideal_grant_kb total_reserved_threads total_used_grant_kb total_used_threads
jpcre2/jpcre2
241517907
Title: Substitution, LastReplaceCount As Object-Specific Data Member Question: username_0: Due to a miscommunication, I implemented LastReplaceCount as a static class variable: https://github.com/username_0/jpcre2/commit/1e473ca35b4178881442ab0bd4a2c5b949c96775 Instead it should be implemented as an object-specific data member, as discussed here: https://github.com/jpcre2/jpcre2/pull/16 This issue is a placeholder for future conversation when the new code is ready to be tested and RPerl can be upgraded. Answers: username_1: It's implemented, https://docs.username_1.org/jpcre2/classjpcre2_1_1select_1_1RegexReplace.html#a6377f15289aa7413571fcbfe18889212 username_0: @username_1 I have been testing this new code for Perl compatibility, we are close but not quite there yet... Imagine we have this input code in Perl, which will change $foo in place and set $bax to the replace count: my string $foo = "SUBJECT"; my integer $bax = ( $foo =~ s/FIND/REPLACE_WITH/gms ); To implement this concisely in C++ using JPCRE2, we must introduce a new _fooRC "replace count" variable and some weird hacks to convert from string-to-integer type: string foo = (const string) "SUBJECT"; integer _fooRC; integer bax = ((((foo = regex("FIND", "ms").replace(foo, "REPLACE_WITH", "g", (regexsize*) &_fooRC)).max_size() * 0) + _fooRC)); You originally said we could implement a preplace() method, which should act like Perl by modifying $foo in place and returning the replace count, which should remove the need for the extra _fooRC variable and hack code: string foo = (const string) "SUBJECT"; integer bax = ((regex("FIND", "ms").preplace(&foo, "REPLACE_WITH", "g")); Also, we need preplace() to accept string literals as well as variable references, like this variant of the Perl code which has no $foo variable at all, changes the string literal and then discards the change, then returns the replace count to be stored in $bax as before: my integer $bax = ( "SUBJECT" =~ s/FIND/REPLACE_WITH/gms ); This should be implemented in C++ using JPCRE2 as follows: integer bax = ((regex("FIND", "ms").preplace("SUBJECT", "REPLACE_WITH", "g")); Can you please write these 2 variants of the preplace() method? Thanks so much! :-) username_1: How about something like this: ```cpp size_t bax; string foo = regex("FIND", "ms").replace("SUBJECT", "REPLACE_WITH", "g", &bax); ``` By the way, I don't think you can do something like `(size_t*)&_fooRC` from `int _fooRC;` And for the second one: ```cpp size_t bax; regex("FIND", "ms").replace("SUBJECT", "REPLACE_WITH", "g", &bax); ``` username_0: @username_1 I was afraid that I did not give enough information in my previous post, this seems to be the case and for that I apologize. Unfortunately, your suggestions do not provide the Perl compatibility I need. In the examples I gave, we are storing the regex's return value into the variable `$bax`, but in Perl the return value of a regex can be used for any purpose, not only for the purpose of storing into a named variable. The very existence of a variable such as `$bax` is in no way guaranteed, thus we cannot use `$bax` itself anywhere within the regex, and we are forced to create the internal-use-only "replace count" (RC) variable such as `_fooRC` which is automatically named after the subject of the regex. The problem with the `_fooRC` solution is that it creates an extra variable, `_fooRC` itself, which does not exist in the original Perl input code and which must be created as an entirely separate code statement prepended to the regex. In Perl, all the regex code is done within one code statement without creating extra variables, this is what we must have. This all means that I really must have the 2 variations of the `preplace()` method as I have specified above, they both modify the subject in-place and they both return the replace count. There is no other good solution, so can you please implement the 2 `prelace()` methods as we originally discussed? (Also, yes you can cast the `SIZE_T` to and from `int`, it seems to work fine in my example code.) username_1: ok, guess I will implement the `preplace()` method then. And, I was not talking about size_t to int casting. That always works good. What I was trying to say is basically this: ```cpp #include <iostream> void fun(size_t* x){ std::cout<<"\n"<<(*x); } int main(){ int rc=0; fun((size_t*)&rc); //should print 0, but outputs random value size_t c=0; fun(&c); //prints 0 return 0; } ``` username_0: @username_1 Okay sounds great, thanks! username_0: @username_1 Hi, just checking on the preplace() methods? Thanks! :-) ~ Will username_1: @username_0 I am kinda busy right now. It may take a week or two to make time for this project. Thanks for all your support as usual. ~ Jahid username_0: @username_1 I appreciate that you will be making time, I need this update to move forward with RPerl. Thanks, ~ Will username_0: @username_1 Hi thanks for any updates? ~ Will Status: Issue closed username_0: @username_1 Thank you so much for implementing the preplace() support, so far it seems to work as needed and thus I have included this upgraded regex functionality as part of the new RPerl v3.2! :+1:
BIT-Brain-Lab/Brain-Sort
731179841
Title: installation error. Question: username_0: I followed the instruction.. and I belive the Python is installed well. however clicking Start.vbe brought me an error sign says there is no assigned file. I repeated several time after I delete everything. but no changes. is there anything I can try to solve this problem? Thank you. <NAME>
carbon-design-system/carbon-charts
1013566131
Title: [Bug]: As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Question: username_0: ### Contact Details <EMAIL> ### What happened? A bug happened! Warning when compiling with sass ### Version `@carbon/[email protected]` ### Data & options used _No response_ ### Relevant log output ```js DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Recommendation: add `$active-01: null` at the stylesheet root. ╷ 192 │ $active-01: map-get($theme, 'active-01') !global; ``` Here is a comprehensive list of all variables affected: // Having this file removes a LOT of warning // As suggested by the warnings themselves $active-01: null $active-danger: null $active-light-ui: null $active-primary: null $active-secondary: null $active-tertiary: null $active-ui: null $background-active: null $background-brand: null $background-hover: null $background-inverse-hover: null $background-inverse: null $background-selected-hover: null $background-selected: null $background: null $body-long-01: null $body-long-02: null $body-short-01: null $body-short-02: null $border-disabled: null $border-interactive: null $border-inverse: null $border-strong: null $border-subtle-selected: null [Truncated] $text-03: null $text-04: null $text-05: null $toggle-off: null $ui-background: null $ui-01: null $ui-02: null $ui-03: null $ui-04: null $ui-05: null $visited-link: null ``` ### Codesandbox example _No response_
geneontology/go-ontology
97264622
Title: Cilia: new terms and links - cellular component branch Question: username_0: We are in contact with <NAME>, <NAME> and colleagues to add/revise terms related to cilia (CC and BP). Here is a first list of suggested edits from John: "...In the end I've removed a lot of terms from my list because I found out they already existed as part of the axoneme term, which itself was not connected to the cilium. I've missed these terms using the graphical viewer in OBO-edit. Please find attached an excel file with the new terms, a short definition, reference data and relationships. I've also added some new connections for existing terms as well as identified some issues that need some rewiring of the terms. I am sure that in terms of is_a and part_of relationships there are more issues to solve. I will try and figure those out this December, as well as figure out the biological processes part. One of these things is the fact that some terms define areas through which other components cross, like "ciliary transition zone" and "axoneme", in the excel file I've made "axoneme" part_of "ciliary transition zone", but I'm not quite sure if it is the way to go." The excel file is called "New GO terms - Nov2013" and is attached. Paola Reported by: username_1 Original Ticket: [geneontology/ontology-requests/10553](https://sourceforge.net/p/geneontology/ontology-requests/10553) Answers: username_1: Wrapping up pending to-do items: 1) added links: ciliary base has_part ciliary transition zone ciliary base has_part ciliary transition fiber ciliary shaft has_part axoneme axonemal central pair part_of axonemal central apparatus axonemal outer doublet has_part A axonemal microtubule axonemal outer doublet has_part B axonemal microtubule axonemal central pair has_part C1 axonemal microtubule axonemal central pair has_part C2 axonemal microtubule 2) removed (now) redundant has_part links from axonemal central pair and axonemal outer doublet 3) changed radial spokehead into radial spoke head 4) changed nexin complex into axonemal nexin link username_1: Dear @username_2 and @username_3, This ticket was the first one containing John’s initial suggestions for ciliary component edits, and where we started discussion with Karen too. I went over it again in detail, and made sure that every suggestion we agreed on was implemented. (So you may ignore all of the previous comments in this ticket.) There are only two pending points. One is about types of cilia (I’ll create a separate ticket for that, so let’s leave these aside for now). The other is about a link that John suggested. Could you please provide feedback on the following: In his initial set of suggestions, John mentioned this one: GO:0034464 BBSome part_of intraflagellar transport particle (GO:0030990) Note that GO:0030990 has since been renamed intraciliary transport particle. Based on the current definitions of the two terms BBSome = A protein complex that associates with the primary cilium and is involved in cilium biogenesis; consists of seven conserved proteins: BBS1, BBS2, BBS4, BBS5, BBS7, BBS8 and BBS9. intraciliary transport particle = A nonmembrane-bound oligomeric protein complex that participates in bidirectional transport of molecules (cargo) along axonemal microtubules. John’s suggested link sounds a bit weird to me. Do you agree that we should drop this? Note for self: once this is resolved, I can close this ticket. username_2: Hi Paola, The BBSome definition appears to be outdated, hence the confusion. PMID: 26498262 "The BBSome, a complex comprising eight BBS proteins, moves in association with IFT trains through cilia (Figure 2) 11, 20, 21, 22 and 23." "The BBSome, comprising at least seven Bardet–-Biedl syndrome (BBS) proteins and BBIP10, appears to be a substoichiometric component of IFT trains." But reading a little more it appears to become a bit muddled. Blacque at al. show that the BBSome is required for IFT-A and IFT-B integrity (http://genesdev.cshlp.org/content/18/13/1630) But this does not necessarily mean it is "part of", though highly suggestive. Williams et al. find it is an integral part of IFT in mammalian olfactory neurons. (doi:10.1038/ncomms6813) But Lechtreck et al. describe the BBSome in Chlamydomonas reinhardtii as "IFT cargo required for export of specific signalling proteins" (J. Cell Biol., 187 (2009), pp. 1117–1132). I think that the description of the BBSome as "cargo to carry other cargo" is a bit weird. The complex might not directly provide the directional locomotion, but I think that as an consistent constituent of the IFT train it is therefore "part_of". I'll do a little more digging later this week (also to make that NPHP def) once I send my paper out (again). Sorry for the hold up. Cheers, John username_1: OK, thanks @username_2 , I'll wait before adding the link. username_3: Hi Paola and John, Coincidentally, the IFT complex and the BBSome complexes are both things where I have annotated the mouse genes fairly completely, so I understand this somewhat well, though my impression is that there are still some open questions about exactly how the BBSome functions. Anyway, my impression is that the BBSome has several roles, one of which is as a cargo adaptor for IFT trains. However, it is not the only cargo adapter, and the other cargo adaptors, e.g. Tulp proteins, that I know of are considered to be part of IFT. This paper: Avidor-Reiss T, Leroux MR. Shared and Distinct Mechanisms of Compartmentalized and Cytosolic Ciliogenesis. Curr Biol. 2015 Dec 7;25(23):R1143-50. doi:10.1016/j.cub.2015.11.001. Review. PubMed PMID: 26654377 says: "Comparative genomics therefore affords tremendous predictive power when contrasting highly divergent or closely related organisms that display cellular and morphological differences. It is within this framework that we consider how different macromolecular complexes, that is, the transition zone (TZ) and the core intraflagellar transport (IFT) machinery with its associated Bardet-Biedl syndrome complex (BBSome), are differentially employed to support two distinct categories of ciliogenesis — compartmentalized and cytosolic — and the different types of cilia present across diverse eukaryotes." This seems consistent with the way I have seen the IFT machinery described, as being composed of IFT-A and IFT-B, and then IFT associates with many various cargo adaptors, of which BBSome is one. So, at the moment, I am not in favor of adding GO:0034464 BBSome part_of intraflagellar transport particle (GO:0030990) -Karen username_2: Since the uncertainty in literature I am inclined to agree with Karen on not adding the link at this point, until the literature will become more definitive on this point. Just to gouge some perspective from others I've asked one of my collaborators who has worked on IFT and BBSome for his opinion. I will take into account that his view may be not be representative, but I hope his reply will have some leads to interpret/search for additional literature. The BBSome term definition is outdated however, so we might as well try to fix/update that a little. More on this in a hour or so. username_2: This still leaves papers like PMID: 2550414 which state: "We identify Bardet-Biedl syndrome proteins (BBSome) as bona fide constituents of IFT in olfactory sensory neurons, and show that they exist in 1:1 stoichiometry with IFT particles." But I think it is better to err on the side of caution and let the scientist battle this out a little more before (and if!) we make the connection in GO. username_1: Thanks @username_3 and @username_2 (and Oliver), Summing up, I will *not* add the part_of link GO:0034464 BBSome part_of intraflagellar transport particle (GO:0030990). Instead, I updated the def of GO:0034464 BBSome, and added a part_of link to ‘cilium’. The revised stanza is below for reference. Closing now. [Term] id: GO:0034464 name: BBSome namespace: cellular_component def: "A ciliary protein complex involved in cilium biogenesis. It consists of at least seven Bardet–-Biedl syndrome (BBS) proteins and BBIP10. It moves in association with IFT trains through cilia (likely as an IFT-A/B adaptor or cargo), and is required for the integrity of IFT-A and IFT-B." [GOC:BHF, GOC:cilia, PMID:15231740, PMID:17574030, PMID:26498262] synonym: "Bardet-Biedl syndrome complex" EXACT [] is_a: GO:0043234 ! protein complex relationship: part_of GO:0005929 ! cilium Status: Issue closed
facebook/react
134150930
Title: Breaking change on 0.14.7, testing events Question: username_0: On 0.14.6, this test was passing: ``` context('SelectChange', function() { var eventStub; var rendered; beforeEach(function() { eventStub = sinon.stub(); rendered = reactTestUtils.renderIntoDocument(<SelectChange onChange={eventStub}/>); }); it('should allow changing a value', function() { var element = reactTestUtils.findRenderedDOMComponentWithTag( rendered, 'select' ); element.value = 'b'; reactTestUtils.simulate('change', element); assert.calledOnce(eventStub); assert.strictEqual(eventStub.getCall(0).args[0].target.value, 'b'); }); }); ``` On 0.14.7, the assertion on the last line is failing. In 0.14.6, `eventStub.getCall(0).args[0]` is ``` SyntheticEvent{dispatchConfig: null, dispatchMarker: null, nativeEvent: null, target: <select data-reactid=".0"><option value="a" data-reactid=".0.0">A</option><option value="b" data-reactid=".0.1">B</option></select>, currentTarget: null, type: null, eventPhase: null, bubbles: null, cancelable: null, timeStamp: null, defaultPrevented: null, isTrusted: null, isDefaultPrevented: function () { ... }, isPropagationStopped: function () { ... }, _dispatchListeners: null, _dispatchIDs: null} ``` In 0.14.7, it is ``` SyntheticEvent{dispatchConfig: null, dispatchMarker: null, nativeEvent: null, type: null, target: null, currentTarget: null, eventPhase: null, bubbles: null, cancelable: null, timeStamp: null, defaultPrevented: null, isTrusted: null, isDefaultPrevented: function () { ... }, isPropagationStopped: function () { ... }, _dispatchListeners: null, _dispatchIDs: null} ``` This seems related to the change here: https://github.com/facebook/react/commit/3285d834402a60d241188a1deacf8250b50239cf Perhaps it should only be cleaning up error objects on the next tick. In the mean time, how should I work around this? Answers: username_1: How about persisting the event? ``` spyHandler = sinon.spy(function(e) { e.persist() }); <SelectChange onChange={spyHandler}/> ``` username_2: Correct, the API has always required that events be persisted if you want to use them outside the scope of the event handler, this is now more strictly enforced. Status: Issue closed
JeffreySu/WeiXinMPSDK
665508915
Title: 企业微信 缺少第三方应用开发时通讯录和外部联系人变更回调 Question: username_0: ##### 问题描述 企业微信在第三方应用开发和企业内部开发的不同环境下 通讯录和外部联系人变更回调有差异 企业内部开发是根据MsgType, Event, ChangeType判断时间类型 第三方应用开发是根据InfoType, ChangeType判断事件类型 ##### 微信官方文档 URL 企业内部开发 https://work.weixin.qq.com/api/doc/90000/90135/90970 第三方应用开发 https://work.weixin.qq.com/api/doc/90001/90143/92654 ##### 微信官方文档快照(直接复制关键内容到下方) 成员变更为例 企业内部开发 ``` <xml> <ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[sys]]></FromUserName> <CreateTime>1403610513</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[change_contact]]></Event> <ChangeType>create_user</ChangeType> <UserID><![CDATA[zhangsan]]></UserID> <Name><![CDATA[张三]]></Name> <Department><![CDATA[1,2,3]]></Department> <IsLeaderInDept><![CDATA[1,0,0]]></IsLeaderInDept> <Position><![CDATA[产品经理]]></Position> <Mobile>13800000000</Mobile> <Gender>1</Gender> <Email><![CDATA[<EMAIL>]]></Email> <Status>1</Status> <Avatar><![CDATA[http://wx.qlogo.cn/mmopen/ajNVdqHZLLA3WJ6DSZUfiakYe37PKnQhBIeOQBO4czqrnZDS79FH5Wm5m4X69TBicnHFlhiafvDwklOpZeXYQQ2icg/0]]></Avatar> <Alias><![CDATA[zhangsan]]></Alias> <Telephone><![CDATA[020-123456]]></Telephone> <Address><![CDATA[广州市]]></Address> <ExtAttr> <Item> <Name><![CDATA[爱好]]></Name> <Type>0</Type> <Text> <Value><![CDATA[旅游]]></Value> </Text> </Item> <Item> <Name><![CDATA[卡号]]></Name> <Type>1</Type> <Web> <Title><![CDATA[企业微信]]></Title> <Url><![CDATA[https://work.weixin.qq.com]]></Url> </Web> </Item> </ExtAttr> </xml> ``` 第三方应用开发 ``` <xml> <SuiteId><![CDATA[ww4asffe99e54c0f4c]]></SuiteId> <AuthCorpId><![CDATA[wxf8b4f85f3axxxxxx]]></AuthCorpId> <InfoType><![CDATA[change_contact]]></InfoType> [Truncated] - [x ] Visual Studio 2015 - [ ] Visual Studio 2017 - [] Visual Studio 2019 - [ ] Visual Studio Code - [ ] 其他: ##### 缓存环境 - [x] 服务器内存缓存(默认) - [ ] Redis 版本: - [ ] Memcached 版本: - [ ] 其他: ##### 系统环境 - [x] Windows,版本: - [ ] Linux,版本: - [ ] Mac,版本: - [ ] 其他:
eddieantonio/imgcat
245229072
Title: Add height option Question: username_0: When using this command, you’d ideally want the image to be as large as possible without going offscreen. The width parameter works quite well for landscape images, but portrait images will still be too large. Adding equivalent functionality for height would be very useful. Answers: username_1: This is implemented as of [version 2.2.0](https://github.com/username_1/imgcat/releases/tag/v2.2.0)! If you're using Homebrew, simply type: ```sh brew install username_1/username_1/imgcat ``` Status: Issue closed
StefanScherer/choco-packer
199846339
Title: choco installer stop working Question: username_0: removing old packer plugins Attempt to get headers for https://releases.hashicorp.com/packer/0.12.1/packer_0.12.1_windows_amd64.zip failed. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: An unexpected error occurred on a send." happens in all hashicorp chocos I use. Answers: username_1: Really strange. Are your running behind a HTTP/HTTPS proxy? Company network? Which version of chocolatey do you have? username_0: latest choco 10.x on windows. no proxy. company network? yes. does it work for you if you run a normal install? cheers username_1: Yes, I use a fresh Win10 VM here in Company network (no proxy) ``` PS C:\> iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 1/10/2017 7:48 AM chocInstall Getting latest version of the Chocolatey package for download. Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.3. Downloading 7-Zip commandline tool prior to extraction. Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\vagrant\AppData\Local\T emp\chocolatey\chocInstall... Installing chocolatey on this machine Creating ChocolateyInstall as an environment variable (targeting 'Machine') Setting ChocolateyInstall to 'C:\ProgramData\chocolatey' WARNING: It's very likely you will need to close and reopen your shell before you can use choco. Restricting write permissions to Administrators We are setting up the Chocolatey package repository. The packages themselves go to 'C:\ProgramData\chocolatey\lib' (i.e. C:\ProgramData\chocolatey\lib\yourPackageName). A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin' and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'. Creating Chocolatey folders if they do not already exist. WARNING: You can safely ignore errors related to missing log files when upgrading from a version of Chocolatey less than 0.9.9. 'Batch file could not be found' is also safe to ignore. 'The system cannot find the file specified' - also safe. chocolatey.nupkg file not installed in lib. Attempting to locate it from bootstrapper. PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding... WARNING: Not setting tab completion: Profile file does not exist at 'C:\Users\vagrant\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'. Chocolatey (choco.exe) is now ready. You can call choco from anywhere, command line or powershell by typing choco. Run choco /? for a list of functions. You may need to shut down and restart powershell and/or consoles first prior to using choco. Ensuring chocolatey commands are on the path Ensuring chocolatey.nupkg is in the lib folder PS C:\> choco install -y packer Chocolatey v0.10.3 Installing the following packages: packer By installing you accept licenses for the packages. packer v0.12.1 [Approved] packer package files install completed. Performing other installation steps. Removing old packer plugins Downloading packer 64 bit from 'https://releases.hashicorp.com/packer/0.12.1/packer_0.12.1_windows_amd64.zip' Progress: 100% - Completed download of C:\Users\vagrant\AppData\Local\Temp\chocolatey\packer\0.12.1\packer_0.12.1_window s_amd64.zip (9.87 MB). Download of packer_0.12.1_windows_amd64.zip (9.87 MB) completed. Hashes match. Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\packer\0.12.1\packer_0.12.1_windows_amd64.zip to C:\ProgramDat a\chocolatey\lib\packer\tools... C:\ProgramData\chocolatey\lib\packer\tools ShimGen has successfully created a shim for packer.exe The install of packer was successful. Software installed to 'C:\ProgramData\chocolatey\lib\packer\tools' Chocolatey installed 1/1 packages. 0 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). PS C:\> packer version Packer v0.12.1 PS C:\> ``` username_1: Maybe asking in the Gitter channel may help? https://gitter.im/chocolatey/choco username_0: yeah thanks for that. just checked and the SSL certificate was renewed yesterday on https://releases.hashicorp.com username_0: re-installed choco as a local admin and downloaded packer fine. Status: Issue closed
polkadot-js/api
999693003
Title: FATAL: Unable to initialize the API: Cannot convert metadata from version 14 to 13 Question: username_0: It seems like #3966 releases the parsing changes? Answers: username_0: It seems like #3966 releases the parsing changes? username_1: Indeed. API release are always on Sunday/Monday. 6.0.1 should have it. (It is already part of the beta releases, each master merge triggers a beta release, so it is “out there for use”, just not “stable”) username_1: https://github.com/polkadot-js/api/releases/tag/v6.0.1 Status: Issue closed username_1: Please use 6.0.x versions for “stable” (or betas prior where it has been released)
Gabriele266/MyOlder
912225301
Title: Implement 'keep logged into' switch in the login page Question: username_0: Implement a functionality to keep logged into after a successful login. Add a **switch** into the login page and implement also the backend. In the user **root** file, add a key to signal if the user is currently logged.<issue_closed> Status: Issue closed
angular/angular
205616788
Title: Entry Components of a Lazy Loaded NgModule are not available outside the Module Question: username_0: **I'm submitting a ...** (check one with "x") ``` [X] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question ``` Follow-up issue for #12275 as requested by @username_1 **Current behavior** `entryComponents` of a lazy loaded NgModule cannot be rendered using `ComponentFactoryResolver`. Error message: `No component factory found for {{entryComponent}}` **Expected behavior** `entryComponents` should be available just like if the module is imported **Minimal reproduction of the problem with instructions** http://plnkr.co/edit/9euisYeSNbEFrfzOhhzf?p=preview I created a simple setup, similar to what we use internally. `Main` component provides a method to render a `Type`. `EntryComponent` is declared as `entryComponent` in `Page1Module`. However after having loaded `Page1Module`, when trying to render `EntryComponent` via `ComponentFactoryResolver`, `No component factory found for EntryComponent` is thrown. **What is the motivation / use case for changing the behavior?** Render `entryComponents` of child modules at root level. Use cases for this approach are - Modals that shall be rendered on top of everything - Notifications - etc. **Please tell us about your environment:** We're using currently Angular 2.1.1 but this affects the latest version of Angular (2.4.6) as well (see plnkr). * **Language:** TypeScript ^2.0.0 Answers: username_1: After some investigation I figured out that in your in works as designed. Entry components follow the same rules as providers in lazy loaded modules. https://angular.io/docs/ts/latest/cookbook/ngmodule-faq.html#!#q-lazy-loaded-module-provider-visibility They are only visible inside lazy loaded module. username_0: Ok, if this is the intended behavior, how can specific tasks like the use cases above be accomplished? I don't think that blowing up the main module is a proper solution. username_1: If you want to use it in `MainComponent` then you should provide entry component in `AppModule` username_0: So your solution indeed is to move **everything** into the main component? IMO this totally breaks the module concept of Angular which should allow to group functionality blocks into one module. This means basically that things like modals are impossible to use with a lazy load architecture. username_1: You should use api similar to material's https://material.angular.io/components/component/dialog Then it should work username_0: Wow, so your opinion is that we should rather move DOM content, like Angular Material does. See here: https://github.com/angular/material2/blob/master/src/lib/core/portal/dom-portal-host.ts#L30-L55 If this is really the best practice to handle this in Angular, basically we can dump Angular and start using JQuery again. Sorry, but I cannot take this approach seriously. username_1: I don't know what is the best approach for modals and lazy loading, but anyway in your plunkr it works as intended and there's no angular bug here. For discussion about modals it's better to use support channels such as gitter and stackoverflow username_0: Ok, in this case I'm changing this issue to a feature request. IMO these use cases should be handled by Angular itself rather than by moving things along the DOM manually. username_2: Faced with same issue today - component for modal defined in lazy loaded module does not handled by app modal service (it cant find it despite `entryComponents` usage). Forced to move it to main bundle that breaks lazy modules structure and usage logic :confused: username_3: Same issue there ... Impossible to use an entryComponents in a lazyLoaded module without breaking the lazy modules logic : My LazyLoaded module depends on an entryComponent declared in my AppModule :( username_4: Ran into this same issue, I did come to a resolution though after looking through ng-bootstrap modal source code. Essentially the issue (from my understanding please correct me if I'm wrong) is that your lazy modules are not included in the initial injector when your app is bootstrapped and the initial injector cannot be modified once it is set. When one of your lazy modules is loaded it gets its own injector with references to whatever you declare or provide in your lazy module. That being said, as long as wherever you create your dynamic component at has reference to the correct `injector `and `componentFactoryResolver `you can indeed reference an `entryComponent` outside of the lazy loaded module. So, what I did was create a singleton service to store the `injector` and `componentFactoryResolver` of the dynamic component I want to create. This service needs to be outside of your lazy modules. Then whenever I go to dynamically create a component I can call this service to get what I need. Code below will be wherever you are creating your dynamic component outside of your lazy module ```js @ViewChild('parent', {read: ViewContainerRef}) parent: ViewContainerRef; private componentRef: ComponentRef<any>; ... const childComponent = this.componentFactoryResolver.resolveComponentFactory(yourComponentRef); this.refInjector = ReflectiveInjector.resolveAndCreate([{provide: yourComponentRef, useValue: yourComponentRef}], this.injector); this.componentRef = this.parent.createComponent(childComponent, 0, this.refInjector); ``` ```html <div #parent></div> ``` Then in your entryComponent you'll inject `injector` and `componentFactoryResolver` and set their values in the shared service: ```js constructor(private componentFactoryResolver: ComponentFactoryResolver, private injector: Injector) {} ``` Let me know if this doesn't make any sense and I can elaborate further. username_5: Thanks @username_4. Are you able to tell us a bit more about what that service looks like and how it is set up? I am struggling with a similar issue, trying ti dynamically load a component from one lazy loaded module into a component from another lazy-loaded module and even though (I think) I have added the entry components in the right place, I get told I haven't. Thanks username_6: Maybe this might help: https://github.com/valor-software/ng2-bootstrap/issues/579 username_4: @username_5 - Sure. So my use case was, I have a common toolbar on every page of my app, but within the toolbar I wanted to add buttons and tools for additional functionality based on what page I was on. In order to achieve this I created a component to hold these buttons/tools and their logic and I wanted to keep these components inside of the module they are associated with. So, essentially nothing outside of my module knows anything about these specific toolbar functions while still being able to show them on the common toolbar. Below is my working solution which I hope will help you: All I'm doing with the toolbar service is creating an observable, so your lazy component can pass it's `componentFactoryResolver` and `injector` references to the toolbar common component that is listening for the `receiveContext` Event. toolbar.service.ts ```js @Injectable() export class ToolbarService { contextReceivedSource = new Subject<any>(); contextReceived$ = this.contextReceivedSource.asObservable(); stateReceivedSource = new Subject<string>(); stateReceived$ = this.stateReceivedSource.asObservable(); receiveContext(componentFactoryResolver: ComponentFactoryResolver, injector: Injector) { this.contextReceivedSource.next({ resolver: componentFactoryResolver, injector: injector }); } receiveState(state: string) { this.stateReceivedSource.next(state); } } ``` In your lazy loaded component you'll want to inject `componentFactoryResolver` and `injector` and fire an event in the toolbar service. lazy loaded toolbar component ```js ... constructor(private componentFactoryResolver: ComponentFactoryResolver, private injector: Injector) {} ... ngOnInit() { this.toolbarService.receiveContext(this.componentFactoryResolver, this.injector); } ... ``` Finally, in my core toolbar component I'm subscribing to the observable in the toolbar service so that anytime an event is fired it will try to inject and create the lazy component that I need. It's also important to destroy the `componentRef` that you create otherwise you will end up with memory leaks. ```js ... resolverSub: Subscription; refInjector: ReflectiveInjector; componentFactoryResolver: ComponentFactoryResolver; injector: Injector; ngOnInit() { this.resolverSub = this.toolbarService.contextReceived$.subscribe(resolver => { this.componentFactoryResolver = resolver.resolver; this.injector = resolver.injector; }); } updateToolbar(data: any) { this.clearComponent(); this.component = data['toolbar']; if (this.component) { const childComponent = this.componentFactoryResolver.resolveComponentFactory(this.component); this.refInjector = ReflectiveInjector .resolveAndCreate([{provide: this.component, useValue: this.component}], this.injector); this.componentRef = this.toolbarTarget.createComponent(childComponent, 0, this.refInjector); } } clearComponent() { this.toolbarTarget.clear(); if (this.componentRef) { this.componentRef.destroy(); }; } ngOnDestroy() { this.resolverSub.unsubscribe(); this.clearComponent(); } ``` As an aside, I'm using this line `this.component = data['toolbar'];` in the common toolbar component to get the lazy loaded component reference from the route. If you want to see the full code for this I can post that, but it's outside the scope of this discussion. ```js { path: '', component: yourComponent, data: { toolbar: yourToolbarComponentToInject } } ``` Let me know if you have any further questions! username_7: @username_4 I have one question (probably a stupid one) about your code, when you mention the "lazy loaded toolbar component", you put the service call code in the ngOnInit section, but how do you manage to initialize it (the component) without having to add it to the HTML code and hide it later in the DOM? Since that component is only going to be used in the topbar, I don't load it anywhere else before. username_4: @username_7 - I realized I completely left that part out of my example above, sorry about that! You'll want to add the dynamic component as an `entryComponent` in the lazy loaded module it is associated with. Then in the toolbar component itself you'll define a `ViewContainerRef` that will reference the location in your html template where you want the dynamic component to display. Then the updateToolbar() method will take care of creating your component, placing it in the specified location and showing the component on the toolbar. ``` @ViewChild('toolbarTarget', {read: ViewContainerRef}) toolbarTarget: ViewContainerRef; ... updateToolbar(data: any) { this.clearComponent(); this.component = data['toolbar']; if (this.component) { const childComponent = this.componentFactoryResolver.resolveComponentFactory(this.component); this.refInjector = ReflectiveInjector .resolveAndCreate([{provide: this.component, useValue: this.component}], this.injector); this.componentRef = this.toolbarTarget.createComponent(childComponent, 0, this.refInjector); } } ``` Your dynamically created component will then be placed wherever you put the corresponding #toolbarTarget ```html <div #toolbarTarget></div> ``` The clearComponent() method gets called whenever ngOnDestroy() is run, which takes care of hiding the component when you leave the page. clearComponent() { this.toolbarTarget.clear(); if (this.componentRef) { this.componentRef.destroy(); }; } ngOnDestroy() { this.resolverSub.unsubscribe(); this.clearComponent(); } ``` I've also updated my original post above. I've been getting a lot of questions about this, so I'll add a working example using this dynamic toolbar as soon as I can and update you guys with a link. username_7: @username_4 that I get (I think), but I still don't understand how the call to the service is make from the dynamic component (the **this.toolbarService.receiveContext** call part) since the ngOnInit never gets called (or I don't see how to do so). I added to the entryComponents but need to initialize it somewhat to get the onInit to work. username_4: @username_7 - Maybe an example will be best. Say I'm navigating from the index page of my app to Page A. You will have a corresponding route for Page A, that will define Page A's module/component. Page A will also have a separate component that I want to display in the global toolbar. So, inside Page A's main component you will inject `ComponentFactoryResolver` and `Injector` and then fire a `receiveContext` event. This bit of code: ```js constructor(private componentFactoryResolver: ComponentFactoryResolver, private injector: Injector) {} ... ngOnInit() { this.toolbarService.receiveContext(this.componentFactoryResolver, this.injector); } ``` Sorry, I could see how that could be confusing. You don't put that code in the component you want to display in the toolbar, but rather the component associated to the page you are on. username_7: @username_4 Ah perfect, many thanks!!! Got it working now :) username_8: @username_4 I just solved the same issue before finding this post. One thing I noticed is if you want to save a few characters in your function declarations, you get get a reference to the ComponentFactoryResolver using the Injector that you pass. you can just do: `injector.get(ComponentFactoryResolver);` And that should return the reference you need. But in the end it gives the same result as passing the ComponentFactoryResolver in as a parameter in the function as well. username_9: This solves my issue as well. In sum, all you need to know is that when you want to dynamically create a component that's declared in a lazy module, you need to actually use ComponentFactoryResolver from a component that's declared in that lazy module. The root injector (which contains the root ComponentFactoryResolver) will not know about any entryComponents declared in a loaded lazyModule. Looks kinda weird, but this is how Angular is designed (which makes sense) but this actually creates extra complexity when working with the framework, imho. How Angular team could leverage this: Whenever a route is activated, the root injector should append the entryComponents listed on that lazyModule automatically and whenever the route is changed, the previously appended entryComponents should be automatically destroyed, this would ensure less complexity and avoid over flooding the root injector with extra component factories. I'll submit a feature request for this. Thank you! username_10: Many thanks @username_4 username_11: @username_4 thanks a lot!! @username_9 have you submitted this feature to Angular team? username_9: @username_11 I have submitted a feature request regarding this "issue" (it's not really an issue if you think about it), please see #17168. username_12: Just to add to this. My use case is that I have created a ModalManagerService in my AppModule which has an open method that all other parts of the app call to open a modal. It gets passed a component which is then opened as a modal. I also have a closeAll method which is used when the modals need to be closed by some action other than the user closing them e.g. route change due to session timeout. username_13: @username_4 but I still not understanding yours,many thanks if there are some suggestions. username_13: @username_7 can u give me a hand?I suffered the same issure for weeks,and its really a headache. username_9: @username_13, All you need to understand is whenever you navigate to a lazy loaded route, the activated route will spawn a child injector which contains the entryComponents for that lazyModule. If you have a global modalService defined in the AppModule (which is the application's root injector), the componentFactoryResolver will not know any new entryComponents from any lazyModule. So, one of the ways to solve this issue is to get the instance of complementFactoryResolver from a lazyModule's component and somehow tell the modalService "hey, use this injector/componentFactoryResolver to render the wanted entryComponent". Seems a bit hard to understand but it's not. username_13: @username_9 thanks for your explain,in my use case, I want to load component from a link,thats to say,i click the menu from the left sidebar,and i will retrieve module from a lazyloaded module,and then ,i will create a dynamic component,because i want to build a tab-like app,so, in the right main content area,there are some component content, if i click the tab trigger,the content will show.or is there any solution building tab-like app via angular2/4? username_13: @username_9 how can i get the instance of complementFactoryResolver from a lazyModule's component?i think its much more difficult, because the lazymodule's component never be init(or i'm wrong) username_7: @username_13 check the conversation I had with @username_4 above, we talked about something similar with a toolbar. username_13: @username_7 i cant understand the example from @username_4 , i think i suffer the same.the lazyload component never init. username_7: @username_13 you have to load the main component of the lazy module with the routes, and that component is the one that calls the aux service with its Injector and ComponentFactoryResolver. username_13: @username_7 thanks, can u give me a hand if its convenient for you, some other use case,i want to lazyload a module from link click,and then create dynamic component.is it possible? username_14: @username_13 ... yes, it is possible. Look at https://github.com/Toxicable/module-loading for the starting point. username_13: ok,try it now,thx. @username_14 username_15: @username_13 et al: Can I recommend you take this support thread to another channel? StackOverflow or Gitter might be more suitable. As it is, I am subscribed to this issue (as I am sure are many others) and it is generating a lot of noise right now which is getting a little off-topic. On the plus side: great to see such a helpful community! username_16: I can't believe that this issue is also another road block I have to face with lazy loaded modules. I've been desperately looking for a solution to keep my lazy module's children anonymous from it's parent (app.module) so that I can easily remove/export the lazy module if needed. For something as simple as a app wide <router-outlet name="app-popup"> in app.component.html (which I've given up on in hopes that ComponentFactory can replace it's job) just to load lazy children components has been very daunting. Only to now come across the entry-components issue with the lazy-modules entry-children. It's just not possible to keep my modules isolated properly if I need the root module to register their children components. I'm just hoping the Angular team realizes this as an issue soon and resolves it. I'm still waiting for them to respond to my issue with an app-wide router-outlet for lazy-modules. https://github.com/angular/angular/issues/19520 username_17: In the beginning, there was nothing, 'Let's create a view! ', says jQuery team, 'Let's have a list! ', says Angular team. username_18: @username_4 we got ngComponentOutlet now, it makes things much simpler. ``` <ng-container *ngComponentOutlet="yourComponentClass;injector: yourInjector;"></ng-container> ``` username_19: @username_18 ngComponentOutlet is great but it does not allow us to pass data to the component yet so it's not a solution. username_20: Any news about this feature? =/ username_21: I just came across this issue. Tried a couple of the suggestions, without success. It actually turned out that my lazily loaded module was missing an import of another dependant module -- in this case the NGX modal module -- but the error accused my component of not being resolvable. username_22: I'm curious: Is this problem solved by the use of ui-router? Or maybe even angular's own router multiple outlets capability? Do they do this logic behind the scenes? This is a very common case for me in angular 1.x and I am trying to transition that to angular 2+ In the toolbar example, the ui-view (probably a named view, or router outlet in case of angular router), would be setup in a higher level module. If a lazy loaded module state replaces the toolbar ui-view with it's own content, it would have to just "work" or ui-router would not function in a lazy loaded environment where higher level views outside of the current module need to be replaced. That would be extremely limiting compared to angular 1.x. The above example seems like it is solving the same thing that ui-router/angular router are designed to solve. Am I missing something? username_14: ... we are probably lost what is the problem at all. As we know and use each day there is no problem to use components from lazy loaded modules ... even via router or programmatically by our own code. username_23: When using @username_4 example above it appears to work well for my use case. I had to add `this.componentRef.changeDetectorRef.markForCheck();` after `this.componentRef = this.toolbarTarget.createComponent(childComponent, 0, this.refInjector);.` This fixed an issue I had with HostBinding properties not triggering. username_24: I figured I would take a swing at a potential solution that has worked for me. http://plnkr.co/edit/x3fdwqrFDQr2og0p6gwr?p=preview To work around this you need to resolve the component factory from a service (ResolverService) provided in the module that has the entryComponent (Page1Module). This is then passed to a second service (ChangerService) which uses the resolved factory and adds the component to the view on the MainComponent. username_25: What I seriously don't understand is this god damn router. Check this plunker (forked from @username_24 's example) http://plnkr.co/edit/keMuCdU9BwBDNcaMUAEU?p=preview @ `src/page1.ts` What I basically want to do is inject some component into the toplevel app and use [routerLink] directive with commands relative to its defining lazy loaded module like: `[routerLink]="['./', 'sub', 'component']` to generate `/page-1/sub/component`. Even if I pass an injector to `createComponent` with some `ActivatedRoute` and it works for my case it screws up every other routerLinks Should I file a bug? username_26: I am facing the same issue with entry components for my dialog singleton service. Feature related modal components should remain in their respective module without the need of @username_4's workaround. username_27: Any new ETA on this? Or at least a response from Angular team? Not having this functionality is a real downer since module encapsulation just got thrown out the window. All the dialogs for @angular/material need to be imported in root module. username_28: @username_27 I don't think we have any progress with that. We have to do the walkaround of it :( username_29: @username_4 is it possible to get a reference of injected component using your approach? I have successfully injected a component, it is a tree btw, so now I need to subscribe on tree click events in component, that injected the tree. Is there a way to accomplish this? username_30: In the issue #23819 I asked about making the entry components behave in a similar way as the services with `providesIn: 'root'`. Closed that issue because it seems both issues are intended to solve the same thing. **I hope this issue will be solved soon because this is an important feature :)** username_14: @username_30 ... we use the following logic to load a module and use its component types (with our own mapping between string keys <-> component types stored directly in that module): ``` this._loader.load(url) .then((_ngModuleFactory: NgModuleFactory<any>) => { const _ngModuleRef: NgModuleRef<any> = _ngModuleFactory.create(this._injector); const _cmpType: Type<any> = _ngModuleRef.instance.cmps.get('dynamic'); const _cmpFactory: ComponentFactory<any> = _ngModuleRef .componentFactoryResolver .resolveComponentFactory(_cmpType); this._cmpRef = this.vc.createComponent(_cmpFactory, 0, this._injector, []); }); ``` username_31: Hey everyone, Just facing the same problem and I use the workaround as a bootstrap for my solution. A way to go further on this and reduce the need to have a global service, would be to expose the loadedConfig private variable of RouteConfigLoadEnd event. This private variable of type LoadedRouterConfig contains the loaded module, its injector and its componentFactoryResolver. Should I open a new issue to propose this as a feature request? username_32: I think I have the same issue, but my extra module is not `lazy loaded`. I have to move my `entryModules` from `SharedFeatureModule` (which is loaded only if is needed) to `CoreModule`. Now it works. But I moved feature related component to core which is not ok in my opinion. username_33: Any updates on this? Our custom solution involves constructor-injecting the `ComponentFactoryResolver` and `Injector` into each component that could open our global sidebar. The calling component then passes those references (its own) to a service along with the desired `Component`. The service uses those instances to create the component. Over-complicated and over-verbose. username_34: Just put your entry components into their own submodule and import that into the app and nowhere else. username_30: @username_34 I think the point of this issue is for `entryComponents` in **lazy loaded modules**. Including all submodules of every component you want to use as an entry component in `AppModule` will force all such components be loaded eagerly, which could cause **performance issues at the startup**. Not to say that those components should be agnostic to the components that use them (the consumers), in such a way that their modules shouldn't know if they are being used as entry components or normal components (declared in the html), only its consumer should know (so, putting them in AppModule would make it hard to know why they are there, you would need to search in other places to know). username_14: @username_30 ... load such lazy module programmatically ... you have full control then, and it just works. username_35: I stumbled upon this thread after encountering a weird issue where I could not get the component resolved from the root resolver by using a map of string keys and corresponding components. I can literally see the component in the _factories Map but somehow it doesn't compare correctly and returns undefined. @username_4 @username_7 Don't you think instead of the feature module handing over its injector reference (registering its context with the main app module) it will be better if it exposes a service say FactoryResolver that will actually return the correctly resolved factory for its components as it will have correct reference to its own module's injector. This way it will be like exposing a public api for your components. I am trying to do something similar, but my module is not lazy loaded and I am bumping into the issue I described above. In theory, it should work, unless I am missing something obvious here? username_25: @username_35 I noticed the same issue, seeing the comp. in _factories, but the issue was that the module had a build error actually, which didn't show up username_36: I spent a couple of days breaking apart my companies project and implementing lazy loading. It wasn't until the end that I realized our modals weren't working due to being entries in their respective modules. We've reverted back and are waiting on a fix... Is this something that's scheduled or should we explore a workaround. As people are doing above. username_37: @username_36 you probably want to look at the workaround as this is in the Backlog and doesn't have a priority assigned at this time. username_38: Same problem HERE username_14: @username_38 ... if you load such lazy modules programmatically ... you have the full control then, ... it means that you can get a module reference finally and call `moduleRef.componentFactoryResolver.resolveComponentFactory(entryComponentType)` username_39: Had the same issue as many above, and solved by creating a standalone module declaring and exporting all entryComponents, including that in the appModule and exporting it as well, so that every single lazyLoaded module will load these components. The only other feasible solution I've found was also spawning dialogs by providing a custom `ComponentFactoryResolver` according to the module hosting the `entryComponent`. **BEWARE**: remember that singleton modules provided in root will only see **the main module entry components**, that's why I've decided to come up with the first solution, otherwise you may think about making a dialog spawner for each submodule of your application and, in that submodule, eventually include shared modules that have other `entryComponents`, by providing to the service spawning the modals the `ComponentFactoryResolver` of said modules. username_14: ... the general supported solution should be available ... due to Jason and his presentation http://www.youtube.com/watch?v=2wMQTxtpvoY&t=131m24s ... in Angular 7.2 ... but I am not sure if the version 7.2 was mentioned correctly. username_40: I have the same issue with [Angular CDK Overlay](https://material.angular.io/cdk/overlay/api), I have an Lightbox module that is built on top of the CDK overlay, but because of this I have to import it in the root module. Is there any workaround in this case? username_14: @username_40 ... lol, I have to say again that it's by design. The thing was explained a hundred times ... there is one root injector and any lazy loaded module is one level deep so you can't suppose that you are able to touch its components from root level. But as it was said many times you can load that module programmatically ... so you will get that module reference ... and you can reach its components then. username_40: @username_14 Have you got a workaround with the CDK Overlay? I cannot figure out how to get around it Here is how I load the component into the overlay dynamically ```ts // Attach gallery to the overlay const galleryPortal = new ComponentPortal(LightboxComponent); const lightboxRef: ComponentRef<LightboxComponent> = this._overlayRef.attach(galleryPortal); ``` src code [LightboxModule](https://github.com/username_40/ngx-gallery/blob/master/projects/lightbox/src/lib/lightbox.module.ts), [LightboxService](https://github.com/username_40/ngx-gallery/blob/master/projects/lightbox/src/lib/lightbox.service.ts#L73-L74) username_41: Add me to the list too 😄. I have modal component where i load my components dynamically and i don't want to load all of them in app that would be bad design as they are not part of app component. But that's what I have to do i guess after reading all this. username_42: Someone pointed out to me today that if you create a service that is lazily loaded and have it extend your global service that opens popups, then use the lazily loaded service to open the popup, it will work as expected: **Global `PopupService`** ```ts @Injectable({ providedIn: 'root' }) export class PopupService { export class PopupService { constructor( private injector: Injector, private overlay: Overlay ) {} open(component: ComponentType<T>) { ... } } ``` **Specific Service only lazily loaded in `MyFeatureModule`** ```ts @Injectable() export class MyFeaturePopupService extends PopupService {} ``` **Usage in a component that is part of the lazily loaded `MyFeatureModule`** ```ts @Component({ ... }) export class MyFeatureComponent { constructor( private popupService: MyFeaturePopupService, ) {} openPopup() { this.popupService.open(MyFeaturePopupComponent); } } ``` **Example definition of lazily loaded module** ```ts @NgModule({ imports: [MyFeatureRoutingModule], declarations: [ MyFeatureComponent, MyFeaturePopupComponent, ], entryComponents: [MyFeaturePopupComponent], providers: [MyFeaturePopupService] }) export class MyFeatureModule {} ``` Tested in Angular 7. username_43: ... @username_14 could you expand on what the general supported solution would be ? username_14: @username_43 ... I just mentioned the important moment in that presentation which actually looks like a solution ... it means the supported ability to programmatically load a lazy loaded module and then use any part of it, like a component, a directive, ... That way is available even today ... but with Angular CLI you always need to define necessary routes ... even if you never use them via the router. username_44: Wow. This was very unexpected. I implemented my own dialog system based on @angular/cdk portals and overlays: https://stackblitz.com/edit/cdk-dialog-example-p1. Got this issue as well. The workaround mentioned by @username_42 works: I had to extend the service in my feature module and that worked for me. How weird! Is there a more elegant solution for this? username_45: Something I have been experimenting with is to re-provide a launcher wrapper at the lazy module level. Have this wrapper take an injector in the constructor, and pass that along to the real launcher (which gets injected from the root). Its a one line fix. I'm not sure how stable it is, though, `@NgModule({ declarations: [LazyRootComponent, LazyEntryComponent], entryComponents:[LazyEntryComponent], providers:[DialogService], //<---- reprovision here imports: [ CommonModule, LazyModRoutingModule, NuiButtonModule ] }) export class LazyModModule { }` ` @Injectable() export class LauncherWrapper { constructor(private injector: Injector, private launcher:ActualLaucherClass) { }` username_44: My issue was caused because I used `@Injectable({providedIn: 'root'})`. Changing it to `@Injectable({providedIn: MyModule})` solved it. 😄 username_46: Many thanks to @username_4 and @username_44 , I as scratching my head for hours and your description helped to find a solution for my case. username_47: I just wondering what is the right way to do it. It is needed @angular/cdk ? Why ? username_48: I don't think any workaround is viable if it requires the code you're integrating with to know about it, because there's plenty of 3rd party code that just uses `ComponentFactoryResolver` without knowing about your special alternative registry. With that in mind, he's my "solution": [CoalescingComponentFactoryResolver](https://github.com/username_48/angular-coalescing-component-factory-resolver/blob/master/src/app/coalescing-component-factory-resolver.service.ts). This is a service that should be provided by the app module and initialised in its constructor, like so: ```ts @NgModule({ providers: [CoalescingComponentFactoryResolver] }) class AppModule { constructor(coalescingResolver: CoalescingComponentFactoryResolver) { coalescingResolver.init(); } } ``` Then, lazy-loaded modules should inject it and register their own `ComponentFactoryResolver` instances with it. Like so: ```ts @NgModule({}) export class LazyModule { constructor( coalescingResolver: CoalescingComponentFactoryResolver, localResolver: ComponentFactoryResolver ) { coalescingResolver.registerResolver(localResolver); } } ``` When this is done, entry components in the lazy-loaded module should be available How it works: When initialised, it injects the root app's `ComponentFactoryResolver` and monkey patches the `resolveComponentFactory` method to call its own implementation. This implementation first tries resolving the component factory on all the registered lazy-module resolvers, then falls back to the root app resolver (there's a bit of extra logic to avoid cyclic calls, but that's the gist). So, yeah, a pretty gross hack. But it works, right now, in Angular 7. Maybe it will be of use to someone. username_49: Building on @username_42' s solution, I got this working by simply adding my existing PopupService to the providers array of the component. So I didn't need to create a separate "feature-specific" PopupService. So like so: ``` @Component({ ... providers: [PopoverService] //<---- generic PopupService }) export class MedicationPortletComponent implements OnInit, OnDestroy { ... ``` username_50: @username_48 best solution username_51: @username_48 This is minimal intrusive and works perfectly for our use case. A giant thanks from me and my team :) username_52: I am just curious how it works smoothly in case of lazy router but it throws error when I removed the lazy route and load the modules manually using ngModuleFactoryLoader. ```javascript //Ignore the syntax CompA { openDialog() {//invoked on button click of this comp matDialog.open(FilterComponent);//works fine in case of lazy route but throws error when manually loaded } } ModuleA {//lazy module imports: [MatDialog, FilterModule], declaration: [CompA] } FilterModule { declaration: [FilterComponent], entryComponent: [FilterComponent] } FilterComponent { ... } ``` username_53: @username_4 @username_51 @username_50 ``` async showBar() { const module = await import("../bar/bar.module"); const compiled = this._compiler.compileModuleAndAllComponentsSync( module.BarModule ); compiled.ngModuleFactory.create(this._injector); let factory: any = compiled.componentFactories.find( componentFactory => componentFactory.selector === "app-dialog" ); this.modal.show(factory.componentType); } ``` username_14: @username_53 This is for JIT mode. You need to load `import("../bar/bar.module.ngfactory")` for AOT mode (where `compileModuleAndAllComponentsSync` is not available). username_53: @username_14 heavily inspired by https://github.com/angular/angular/blob/master/aio/src/app/custom-elements/elements-loader.ts It can use AOT JIT. success for me. ```typescript import { Compiler, Inject, Injectable, NgModuleFactory, NgModuleRef, Type, ComponentFactory } from '@angular/core'; import { LoadChildrenCallback } from '@angular/router'; import { ELEMENT_MODULE_LOAD_CALLBACKS_TOKEN } from './lazy-component-registry'; @Injectable({ providedIn: 'root' }) export class LazyComponentLoader { private modulesToLoad: Map<string, LoadChildrenCallback>; private modulesLoading = new Map<string, Promise<void>>(); constructor( private moduleRef: NgModuleRef<any>, @Inject(ELEMENT_MODULE_LOAD_CALLBACKS_TOKEN) elementModulePaths: Map<string, LoadChildrenCallback>, private compiler: Compiler ) { this.modulesToLoad = new Map(elementModulePaths); } loadCustomElement(path: string, selector?: string): Promise<void> { if (this.modulesLoading.has(path)) { return this.modulesLoading.get(path); } if (this.modulesToLoad.has(path)) { const modulePathLoader = this.modulesToLoad.get(path); const loadedAndRegistered = (modulePathLoader() as Promise<NgModuleFactory<any> | Type<any>>) .then(elementModuleOrFactory => { if (elementModuleOrFactory instanceof NgModuleFactory) { return elementModuleOrFactory; } else { return this.compiler.compileModuleAsync(elementModuleOrFactory); } }) .then(elementModuleFactory => { const elementModuleRef = elementModuleFactory.create(this.moduleRef.injector); const factories: Map<any, ComponentFactory<any>> = (elementModuleRef.componentFactoryResolver as any) ._factories; Array.from(factories.keys()).find(type => { const factory = factories.get(type); return factory.selector === selector; }); return true; }) .then(() => { this.modulesLoading.delete(path); this.modulesToLoad.delete(path); }) .catch(err => { this.modulesLoading.delete(path); return Promise.reject(err); }); this.modulesLoading.set(path, loadedAndRegistered); return loadedAndRegistered; } return Promise.resolve(); } } ``` username_14: @username_53 ... then correct. It's using the compiler only in JIT mode. ``` constructor(private compiler: Compiler) {} ... if (elementModuleOrFactory instanceof NgModuleFactory) { return elementModuleOrFactory; } else { return this.compiler.compileModuleAsync(elementModuleOrFactory); } ``` username_53: @username_14 AOT will be NgModuleFactory. You can test https://github.com/username_53/ng-lazy-component-load username_16: Hey guys, with the help of the comments form this thread I have created a workaround package that is meant to be a workaround for trying to get entry components loaded outside the module through routing. Please have a look at it and hope that it helps. Repo Link: https://github.com/username_16/route-master-example username_54: FWIW, in a similar vein to @username_42 and @username_44, I removed the the `providedIn: 'root'` from my service (defined in a lazy loaded module and responsible for opening an `entryComponent`) and instead specified the service in the `providers` of my lazy module definition. I believe the biggest/only drawback of this is the service is no longer tree-shakeable. Using `providedIn: MyLazyModule` led to circular dependencies warnings. username_55: @username_48 I couldn't leave the thread without thanking you!! you saved my day. For everyone reading my comment it may help you in order not to waste your time if you look at this [wonderful answer](https://github.com/angular/angular/issues/14324#issuecomment-481898762). username_56: Confirmed this is not resolved in Angular 8.2.0 yet. Since the OP had been created 2.5 years ago, the landscape of Angular had changed a lot, and Angular Material 2 had become Angular Components. As indicated by the other commentators, Angular Material uses DOM so application developers do not have to use DOM when loading an application component in MatDialog, even if the application component is declared in the entryComponents of the sub module lazily loaded. However, doing the same DOM things in a business application is looking odd, against Angular's application programming guidelines. It will be nice that the feature request of the OP could be implemented so `ComponentFactoryResolver` could "see" an entry component declared in a sub module lazily loaded, one way or the other. Declaring an entry component of a lazy module in app.module is working, but ugly. In addition to the dirty working solutions as mentioned above: 1. DOM, 2. Declaring the component in app.module, I would provide another solution, less dirty, below. username_56: the 3rd solution, less dirty. I have a shared services used by multiple modules lazily loaded. ```js export interface DataComponent { data: any; } /** * Display an NG component in a dialog, and this dialog has not need to answer but close. */ @Injectable() export class DataComponentDialogService { modalRef: MatDialogRef<DataComponentDialog>; constructor(private dialog: MatDialog) { } open(title: string, externalComponentType: Type<DataComponent>, componentData: any, autofocus = true): Observable<any> { const isSmallScreen = window.innerWidth < 640 || window.innerHeight < 640; this.modalRef = this.dialog.open(DataComponentDialog, { disableClose: true, minWidth: isSmallScreen ? '98vw' : undefined, autoFocus: autofocus, data: { title: title, externalComponentType: externalComponentType, componentData: componentData, isSmallScreen: isSmallScreen } }); return this.modalRef.afterClosed(); } } ``` This service can see entry components of modules not lazily loaded. I have some entry components implemented in some modules lazily loaded. So I have derived class of this service to be provided in each lazy module: ```js import { DataComponentDialogService } from '../_ui_services/dataComponentDialog.component'; @Injectable() export class LazyComponentDialogService extends DataComponentDialogService { constructor(dialog: MatDialog) { super(dialog); } } ``` Since LazyComponentDialogService is provided in the same lazy module with the lazy entry component, so it can see the component. username_57: It looks like that the issue does not exist in Angular 9 any more due to the ivy implementation (tested with 9.0.0-next.7). You can dynamically create a component of a lazy loaded module from outside of the lazy module. It appears to be the case that the entry component declaration is not needed any more for dynamic components in Ivy. Ivy does not need a separated component factory which used to be generated by the compiler. The component factory info is embedded in the component definition with Ivy(?). Once you have a component type, you should be able to get its component factory and then create an instance of it. That is just my impression. Take my word with a grain of salt username_58: All you need to do is create a separate widgets module that declares all your modal components and also includes them as entryComponents. Then import this module from AppModule. This will ensure that your entry components are registered with the root injector. ``` @NgModule({ declarations: [ ModalComponent, ... more modal components ... ], entryComponents: [ ModalComponent, ... more modal components ... ] }) export class ModalModule { } ``` AppModule: ``` @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule, BrowserAnimationsModule, ModalModule ], providers: [], bootstrap: [ AppComponent ] }) export class AppModule { } ``` username_30: @username_58 That would make all the dynamic components (like modal and the like) **eager loaded**, but the point here is make them being able to be lazy loaded **to not slow down the initial load of the app** (especially as the project grows), just like the components that call them. Let's say that a lazy loaded `ComponentA` calls dynamically a lazy loaded dynamic `ComponentB`. If `ComponentA` knows that it will call `ComponentB` you can just import `ComponentBModule` in `ComponentAModule`. This is not the ideal case, but I can live with it. The main problem arises (in my opinion) **when `ComponentA` doesn't know that `ComponentB` will be loaded**. For example, if `ComponentB` is a modal and `ComponentA` calls a method `showModal()` in a service, and the service loads `ComponentB` dynamically behind the scenes, `ComponentA` wouldn't know that. What I do now is including the `ComponentB` reference as a parameter in the method, like `showModal(ComponentB)`, in such a way that `ComponentA` now knows that the `ComponentB` will be loaded, **but that's bad in my opinion** (each call to the method must pass the component reference). If Entry Components were available **without having to import their modules explicitly** (what I think this issue is about), that would solve it (maybe Angular could have a way to detect that `ComponentA` calls a service that imports `ComponentB` and make `ComponentAModule` import implicitly `ComponentBModule`, and although it could have the undesirable effect of also importing modules of components whose references are imported but the reason of the import is not to create them dynamically, I would see this more as an edge case, and would be okay with it). I haven't tested (yet) @username_48 [suggestion](https://github.com/angular/angular/issues/14324#issuecomment-481898762), but that seems promising. username_59: It would be awesome if `ComponentA` would automatically lazy load module with `ComponentB` only if `ComponentA` is displayed: `ModuleA` has component `ComponentA1`, `ComponentA2`. `ComponentA1` reference in html `ComponentB` (in module `ModuleB`), but `ComponentA2` doesn't. `ModuleB` would be automatically lazy load only if `ComponentA1` is displayed, but not if `ComponentA2` is displayed. This would perfectly fit scenario of dashboards on home page. Dahsboards comes from many different modules, but if dashboard is not included (let's say through user settings), there is no need to download that module. username_60: @username_48 Great idea to wrap the resolveComponentFactory function of the main ComponentFactoryResolver and search the registered lazy load modules before. It works with entry components which inject services that are provided in root. But I can not inject a service that is only provided in the lazy load module. In this case I got a StaticInjectorError. Can you check it? username_61: I wanted to confirm that ivy seems to take care of this issue. I just stumbled on this issue today when I rewrote my modules to be lazy loaded which contained entry components and a shared services to instantiate them only to find a new error stating the component factory couldn't be found. I was actually shocked to read this was an issue in the first place. At any rate, I just enabled ivy in my existing angular 8.2 project and all seems to be working as expected. username_62: My solution for usage the `Overlay` in lazy loaded modules: You have to pass factory resolver to `ComponentPortal`'s contructor like this ``` @Injectable() export class OverlayService { constructor( private overlay: Overlay, private componentFactoryResolver: ComponentFactoryResolver ) { } open<T>(component: ComponentType<T>) { const overlayRef = this.overlay.create(); const filePreviewPortal = new ComponentPortal(component, null, null, this.componentFactoryResolver); overlayRef.attach(filePreviewPortal); } } ``` but you also have to proide `OverlayService` in lazy loaded module ``` @NgModule({ declarations: [ SomeComponent, ], entryComponents: [ SomeComponent, // <-------- will be opened via this.overlayService.open(SomeComponent) ], providers: [ OverlayService, // <-------- ] }) export class LazyLoadedModule {} ``` username_63: @username_62 This approach will work [in my app, I am doing like that and it works fine until I need to close all the modal dialogs on some event like logout] but keep in mind that this will instantiate the OverlayService every time when other module imports this module i.e. the app will not have a single instance like services used to be. Because there will be no signalton of overlay service it will NOT be easy to know how many modal dialogs are opened. Of course, it is app's requirements but just to be cautious of this approach. username_62: For example, in my case I have `ModalDialogModule` with provided `OverlayService` and when I call `OverlayService.open(SomeComponent)` it also create for me the modal window tempate, inserts `SomeComponent` inside it and returns back some data structure with helpful observables (for close and success events), component instance and manual `close` method. So, when I need to use modals in my LazyModule I just need to import the `ModalDialogModule` to it for getting the ability to use `OverlayService`. I found this approach convenient, bacause you always know that to use modal you have to import the `ModalDialogModule`, like you always know that to use reactive forms you have to import `ReactiveFormModule` username_64: I'm using Angular Material dialogs in a library (created using ng generate library). This library is built and I install using npm install and importing it into my app.module. This module is then lazily loaded via loadChildren in app.routing.module. Having 'entryComponents: [MyDialog]' in the libraries module file doesn't work so create a static method that returns all your entry components (dialogs) and call it in the app.modules entryComponents list e.g.: In library's module.ts file: ``` export class CommonModule { static getEntryComponents() { const entryComponents = []; entryComponents.push(MyDialogComponent); return entryComponents; } } ``` In main applications app.module file `entryComponents: [...CommonModule.getEntryComponents()]` username_64: I got this working in Angular 8.3.6. I have a library module with entry components (mat dialogs) that won't load if I add them to the library modules entry components. It says can't find component factory for MyCustomDialog in the console log when I tried to open it. Solution is to create a static method in the library module's NgModule class that returns an array of all the module's entry components. Then call this method from the app modules NgModule. ``` @NgModule({ declarations: [ MyCustomDialogComponent ], imports: [ CommonModule ], exports: [ MyCustomDialogComponent ] // no need to add the dialog component to entryComponents here. }) export class MyCustomModule { static getEntryComponents() { const entryComponents = []; entryComponents.push(MyCustomDialogComponent); return entryComponents; } } import {MyCustomModule} from 'my-custom-library'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule, BrowserAnimationsModule, MyCustomModule ], providers: [], bootstrap: [AppComponent], entryComponents: [].concat(MyCustomModule.getEntryComponents()) }) export class AppModule { } ``` username_65: @username_64 why do you not use spread operator? it looks ugly username_64: Because it doesn't work with it. There's a bug about it somewhere. username_65: looks like it doesnt work with --prod mode username_34: Even if it did work, it does not address the REAL problem. the problem is if I add a component to the entryComponents of an NgModule, and that module is imported into a lazily loaded module in my app, then the entryComponents should automatically get registered with the apps entry components. I would further say that any component in the entryComponents of any NgModule should automatically wind up in the entryComponents of the app module. This is currently not the case. username_14: @username_34 What about conflicts and priorities from different injection levels? username_66: @username_14 order should be on a first-come, first-served basis in my opinion. username_34: @username_14 Do you mean if different components have the same name? username_14: @username_34 Hi, yes. Because all variants have to be covered if we are talking about general principles. username_34: @username_14 I think that the limitation in angular that many would like to overcome is that entry components can only be instantiated and placed in the dom by the app. The app does not need to know about a dialog box that a lib that I import into a lazy loaded module uses. The current concept of entry components breaks the modular pattern of angular. username_67: AFAIK with Ivy entryComponents will no longer be necessary, right? Since components will have locality so just dynamically importing them will always work? username_14: @username_67 You are right, we know. It was just a small reminiscence back to history. 😄 username_68: For those who still struggling with this issues here is the solution that actually works: https://github.com/angular/angular/issues/14324#issuecomment-481898762 username_53: I publish a package for this issues. some code copy from username_48. It looks like that the issue does not exist in Angular 9. If you need fix this now. you can use ` @aiao/lazy-component` sample code here https://github.com/aiao-io/aiao/tree/develop/integration/lazy-component Status: Issue closed username_69: I believe that this is fixed in Angular v9 running ivy. If anyone still faces similar problems, please open a new issue with a minimal reproduce scenario. Thnx!
drand/drand
1059435683
Title: Fails when running for n=65 nodes Question: username_0: When running drand for n=65 nodes, drand fails to perform DKG. [Logs with scripts] [drand-logs.zip](https://github.com/drand/drand/files/7576698/drand-logs.zip) Answers: username_1: See if using the newer version of kyber works for you. You can try this [PR](https://github.com/drand/drand/pull/856) against the most recent release, or take whatever version of drand you're trying and `go get github.com/drand/[email protected]`, which will fix [this](https://github.com/drand/kyber/pull/23) issue. username_0: I updated kyber on the master branch. I am still getting the same error. (Attached logs again [drand-logs-after-updating-kyber.zip](https://github.com/drand/drand/files/7577214/drand-logs-after-updating-kyber.zip) ). username_0: Here are the debug logs after running the code from `fix/log` branch [logs-from-fixlog-branch.zip](https://github.com/drand/drand/files/7577258/logs-from-fixlog-branch.zip) username_2: Some of my findings... **TLDR**: I didn't find anything suspicious in the logs (anything revealing a bug), the most likely reason the DKG is failing from the logs is because the timeout is too short here (10s). I I invite you to try with 1m or 2m even and send us back the logs. Explanation: * Nodes correctly sent all their deals at the beginning of the DKG (22:15:50) ```bash cat *log | ack -i "echoBroadcast" | ack -i push | ack -v -i "response" | ack -i "2021-11-21T22:15:50" | wc -l 65 ``` * Nodes moved to Response phase only because of the timeout (and not _before_ as it should happen in the optimistic case like this one because FastSync is enabled): ```bash cat *log | ack -i "moving to response phase" | ack -i phaser | wc -l 65 ``` * When nodes moved to Response phase, they only received a portion of their deals. Look at the lines from the command above (remove `wc -l`) - one example: ``` 2021-11-21T22:16:00.180Z DEBUG core/drand_control.go:170 [dkg-proto-log phaser moving to response phase, got 26 deals] ``` -> most nodes only received about a third of all the deals. Only two nodes received all the deals: ```bash cat *log | ack -i "moving to response phase" | ack -i phaser | ack -i 65 | wc -l 2 ``` * Even at the "DKG deadline" (timeout * 3 because there are 3 phases), most nodes still haven't received all their deals ``` cat logs-3.21.43.14.log | ack -i "echoBroadcast" | ack -i "received new packet" | ack -i "dkg.DealBundle" ``` Last Deal accepted was at `2021-11-21T22:16:20` and then after drand do not accept DKG messages (check with `cat logs-3.21.43.14.log | ack -i "no dkg running" | cut -f1 | head -n1`) Status: Issue closed username_2: Closed as experiments were running with wrong flags
mordentral/VRExpPluginExample
1013070979
Title: undefined symbol: ___aeabi_unwind_cpp_pr1 Question: username_0: Blank project packages fine for Quest 2 But this happens if I try to do the same for the example project. Perhaps I missed something crucial? ![errrorr](https://user-images.githubusercontent.com/58888818/135591009-35eeab2e-f716-47a2-b268-97a6075b8d7c.PNG) Answers: username_1: Blank project isn't a c++ project, you need to install the correct android NDK in order to compile for android, I believe that quest2 requires minimum SDK version 25 if I remember correctly, due to a thermal sensor function it uses. username_0: Thank you! My SDK 29 is correct, but I got the wrong NDK & JDK Status: Issue closed
Sammi-Husky/Brawl-Codes
497367361
Title: Selection glow border doesn't show up if melee random is used. Question: username_0: If you use the melee random the css glow border doesn't show up around the character's portrait. ![MeleeRandomBug](https://user-images.githubusercontent.com/34172872/65468930-dc6e9600-de22-11e9-9bdb-b6e8589a32fd.gif)
bfifield/hettx
650507170
Title: whether binary Z is required Question: username_0: Dear Authors, I am thinking whether the package can handle ordinal or continuous treat variable. Could you please clear this issue for me? Thanks! Kai Answers: username_1: The package currently can handle only binary treatment. Continuous treatment would require some sort of dose-response model, I believe, and thus would rely on a differ kind of approach to impact estimation. Ordinal (or multiple treatments) would likely be doable as an extension. username_0: Imiratrix, Thanks for your detailed reply!
nxtedition/create-caspar-graphics
602457362
Title: Make HTML output a CLI option Question: username_0: Currently when developing, we have one build for the preview, but we also build html templates of all templates (so that you can view them separately using ${template}.html). The builds would be a lot faster if we didn't do this. So I think we should move that into a CLI option instead.
Strassengezwitscher/Strassengezwitscher
181829359
Title: Kontaktformular: Fehler JSON.parse Question: username_0: Mit Firefox unter OS X bekommt man folgende Fehlermeldung: ``` JSON.parse: unexpected character at line 5 column 1 of the JSON data ``` wenn man: - erst den Recaptcha anklickt - dann in ein Feld (Betreff oder Nachricht) klickt Der Senden-Button wird auch nicht freigeschaltet. Answers: username_1: Kann ich nicht reproduzieren. Welche Firefox Version? username_2: Habe ich auch nicht reproduzieren können. username_0: FF 49 aber nur im dev mode. Status: Issue closed
crs-tools/tracker
331003124
Title: Recalculation of progress bars Question: username_0: When mass deleting (sub)encoding tickets the progress bar on the parent does not get updated. Progress recalculation for a whole conference should be be triggered automatically or manually e.g. via a button.<issue_closed> Status: Issue closed
pinnacleapi/pinnacleapi-documentation
702987168
Title: Error when placing bet for a baseball match Question: username_0: Hello, when I place a bet for a baseball match with condition that pitcher must start - please see the code below: PlaceBet(stake, sportId = 3, eventId, periodNumber = 0, lineId, pitcher1MustStart = TRUE, pitcher2MustStart = TRUE, betType = 'MONEYLINE', team = 'Team1', acceptBetterLine = TRUE, winRiskStake = "RISK", oddsFormat = "DECIMAL") then I get this error: "Error in PlaceBet(stake, sportId = 3, eventId, periodNumber = 0, :unused argument (pitcher2MustStart = TRUE)" I tried to change the script in many ways, but without any success and I still receive the error code related to unused argument for pitcherMustStart. Can you help me to fix it? Thank you. Pedro Answers: username_1: Apologies for the late response, this is kind of question is best to check with the customer support. Status: Issue closed
pikim/grav-plugin-events
725758364
Title: Merging work with grav-plugin-fullcalendar would be very intereting. Question: username_0: I forked the original grav-plugin-fullcalendar plugin. And I would like to lake a single plugin with fullcalendar whihc reads ics files as: - remote url - local media page files There is a work to do on how to merge those work. I don't really know how for now. But we should work together ! Answers: username_1: I don't understand what you try to achieve. Could you please elaborate? username_0: I meant ics files can be remote one as well as page uploaded files (not included by means of shortcode) This is an old comment ... Status: Issue closed
ramiromagno/gwasrapidd
992310007
Title: Extract other information using gwasrapidd Question: username_0: Hi, Thanks a lot for developing the package. I am enjoying using the gwasrapidd to extract information from GWAS catalog API. Could I know whether I can define other columns to be extracted or only the column in `class?studies` (for example, besides reported traits in the table, I also want to extract curated traits and background traits like the webpage search result) ? Thank you for your help Yue Answers: username_1: Hi @username_0: Thank you for your question. Unfortunately curated traits and background traits retrieval is not yet implemented in gwasrapidd. This feature has been recently added to the GWAS Catalog, August this year I believe, and still has to be implemented at the REST API level which gwasrapidd uses to retrieve the data (see the Section API in https://ebispot.github.io/gwas-blog/background-trait-update). I will try to implement this feature as soon as the GWAS Catalog makes it available at the API level. :) Status: Issue closed
sensu/sensu-docs
539150097
Title: Confirm dashboard links in sample-app.md Question: username_0: ## This is an issue with: - [ ] Bug (site functionality or styling) - [ ] Errata (fix needed for doc content) - [ ] New content (guide wanted) - [x] Update (Add missing or refresh existing content) - [ ] Enhancement (add new site functionality) ## Expected Behavior The code and links that list the dashboard in the sample app lesson are correct ## Current Behavior I'm not sure if the dashboard code setup and links are correct. These appear to be used: - http://sensu.local (https://docs.sensu.io/sensu-go/latest/getting-started/sample-app/#multitenancy) - Two link references for the dashboard: - [7]: http://webui.sensu.local/signin/ - [8]: http://webui.sensu.local/events/ ## Possible Solution Confirm the dashboard links are correct and fix them if not. ## Affected Docs Pages https://docs.sensu.io/sensu-go/latest/getting-started/sample-app/ ## Context I just want to make sure user experience lines up with what we've told them will happen in the doc. Answers: username_0: The `http://sensu.local` example seems fine because I think it's just a Sensu Backend URL placeholder, but should we update it to follow the placeholder format we've used in other docs (something like `http://127.0.0.1:8080`)? I am less sure about the `http://webui.sensu.local/signin/` and `http://webui.sensu.local/events/` links. Based on our other docs, it seems like `http://localhost:3000/signin` and `http://localhost:3000/events` would be more appropriate. I could not confirm any of this because I could not get past the "3. Deploy kube-state-metrics." step. I get this error: `error: the path "kube-state-metrics/kubernetes" does not exist` Not sure if it's a problem with the doc or something I'm doing wrong. username_1: @username_0 I can pair with you on this. username_0: We updated the docs so that they no longer link to sample-app.md (see #2133 ). Leaving this issue open pending further discussion about final dispensation. username_0: Issues Aaron identified in 1/24/20 retro: - Kubernetes extension apis have changed and have been deprecated - Kube state metrics have changed how that app is deployed as well - Minikube on OSX (maybe even on Windows) is now using hyperkit, which makes use of a different IP range than what Virtualbox uses - Number of deployments inside of the sensu-kube-demo repo now contain deprecated references that make setup impossible username_0: Text of issue #2270 from Edgar: -------------------- ### Description Looks as though a while ago some changes where made to the repo causing our guide to no longer work at step 3. I believe it needs to be updated to `kubectl apply -f kube-state-metrics/examples/standard` but this needs to be tested. ### Category This is an issue with: - [x] errata (error in doc content) - [ ] new doc (requires a completely new doc) - [ ] update (add missing or refresh existing content) - [ ] improvement (improve docs content or format) ### Affected pages https://docs.sensu.io/sensu-go/latest/getting-started/sample-app/#set-up ### Expected behavior Sample app should be deployed. ### Current behavior Folder does not exist in the repo, deployment fails ### Corrections needed App should be located in `metrics/examples/standard` but not sure if this is the same one as before. username_0: Update from Jef: https://sumologic.slack.com/archives/C0250SG6Y03/p1626802296029100 username_0: Added to agenda for 1/13/2022 CR+DA sync username_0: On hold pending Sensu Catalogs work
MicrosoftDocs/dynamics-365-customer-engagement
413770042
Title: https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/blob/master/ce/includes/cc_applies_to_update_9_0_0.md Question: username_0: [Enter feedback here] --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 965d3e6a-9726-eae9-020a-7010aac4e973 * Version Independent ID: 353626fd-2a2f-b59a-9550-bb8be3ca61ca * Content: [Schedule optimization](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/field-service/rso-schedule-optimization) * Content Source: [ce/field-service/rso-schedule-optimization.md](https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/blob/master/ce/field-service/rso-schedule-optimization.md) * Service: **dynamics-365-customerservice** * GitHub Login: @username_1 * Microsoft Alias: **shellha**<issue_closed> Status: Issue closed
valor-software/ngx-bootstrap
323308273
Title: Popover positioning auto not working as expected on right side of screen? Question: username_0: ### Bug description: I'm trying to implement some popovers on our application, and the problem is that when using 'auto' positioning, some popovers on the right side of screen doesn't work as expected. Both Left and Center elements work as intended, placing the popover on top or right positioning, but the right side still sets it to 'top', and tries to resize the popover area. Since a lot of our content is dynamic I don't have a way to determine when it's gonna happen and fix it like, for example, manually setting it to 'left'. It would be nice if in this case the content could be on the left side of the button. Any other help or advice would be nice too. ### Reproduction: I could not set a stackBlitz to work and show this bug, but we're generating the popover with the following code: `<button popoverTitle="Info" popover="auto auto auto auto auto auto" placement="auto" container="body" triggers="hover tap"> Right </button>` Left button works as expected, setting the content to right: ![image](https://user-images.githubusercontent.com/30807941/40071867-6a0b1266-5848-11e8-8284-69b33c4f1150.png) Center button also works as expected, setting the content to top: ![image](https://user-images.githubusercontent.com/30807941/40071930-8900c472-5848-11e8-91de-e7a59c704d4a.png) But right button set it to top and tries to resize it (the content changes its size some times before standing still): ![image](https://user-images.githubusercontent.com/30807941/40071971-b809bc6a-5848-11e8-9077-648b8899b169.png) ### Versions of ngx-bootstrap, Angular, and Bootstrap: ngx-bootstrap: 2.0.5 Angular: 6.0.1 Bootstrap: 4.1.1 ### Build system: Angular CLI, System.js, webpack, starter seed: Webpack: 4.8.3 Answers: username_1: Known issue, auto position in this implementation more like experimental feature, after upgrade to ng v6 (already published as v3 rc.1) I will be able to reimplement from stretch. This point is in roadmap Closing issues as duplicate Status: Issue closed
scoutapp/scout-apm-php
854412515
Title: Check `X-Request-Start` is detected and passed on Question: username_0: We do some detection for the `X-Request-Start` header (see: https://github.com/scoutapp/scout-apm-php/blob/930af919808b34fb6c33884160eff9e01bb9c06e/src/Events/Request/Request.php#L134-L161 ) but need to double check the field is accepted when `print_r($_SERVER)` contains: ```php Array ( [X-Request-Start] => t=1617904442.424 ) ``` The lack of capitalisation is what bugs me, I'm not sure if we check for it. Investigate and check if we need to fix anything.<issue_closed> Status: Issue closed
home-assistant/core
775160291
Title: Ring Integration Error Fetching Data Question: username_0: <!-- READ THIS FIRST: - If you need additional help with this template, please refer to https://www.home-assistant.io/help/reporting_issues/ - Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/core/releases - Do not report issues for integrations if you are using custom components or integrations. - Provide as many details as possible. Paste logs, configuration samples and code into the backticks. DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment. --> ## The problem <!-- Describe the issue you are experiencing here to communicate to the maintainers. Tell us what you were trying to do and what happened. --> The Ring integration has stopped reporting motion alerts from my doorbells. It is returning an error regularly. ## Environment <!-- Provide details about the versions you are using, which helps us to reproduce and find the issue quicker. Version information is found in the Home Assistant frontend: Configuration -> Info. --> ## System Health version | 2020.12.1 -- | -- installation_type | Home Assistant Supervised dev | false hassio | true docker | true virtualenv | false python_version | 3.8.6 os_name | Linux os_version | 5.4.0-58-generic arch | x86_64 timezone | America/Toronto <details><summary>Home Assistant Community Store</summary> GitHub API | ok -- | -- Github API Calls Remaining | 607 Installed Version | 1.9.0 Stage | running Available Repositories | 763 Installed Repositories | 1 </details> <details><summary>AccuWeather</summary> can_reach_server | ok -- | -- remaining_requests | 36 </details> <details><summary>Home Assistant Cloud</summary> logged_in | true -- | -- [Truncated] ## Traceback/Error logs <!-- If you come across any trace or error logs, please provide them. --> ```txt Logger: homeassistant.components.ring Source: components/ring/__init__.py:210 Integration: Ring (documentation, issues) First occurred: 8:17:19 AM (27 occurrences) Last logged: 9:38:29 PM Error fetching Ring active dings data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) Error fetching Ring device data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) Error fetching Ring active dings data: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) Error fetching Ring device data: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) Error fetching Ring active dings data: 504 Server Error: Gateway Time-out for url: https://api.ring.com/clients_api/dings/active?api_version=9 ``` ## Additional information Answers: username_1: I am actually having issues with the integration as well it is triggering this: Logger: homeassistant.components.ring Source: components/ring/__init__.py:210 Integration: Ring (documentation, issues) First occurred: 9:26:15 PM (1 occurrences) Last logged: 9:26:15 PM Error fetching Ring active dings data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) Then it triggers this: Logger: homeassistant.components.recorder Source: components/recorder/__init__.py:526 Integration: Recorder (documentation, issues) First occurred: 9:25:51 PM (4 occurrences) Last logged: 9:27:22 PM Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)] [parameters: ('call_service', '{"domain": "system_log", "service": "clear", "service_data": {}}', 'LOCAL', '2020-12-28 03:25:50.121995', '2020-12-28 03:25:50.121995', '053594f69a2e59a47547944956868af3', '607a7d33db4149a498c94ac277abeffd', None)] (Background on this error at: http://sqlalche.me/e/13/e3q8) Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{}', 'LOCAL', '2020-12-28 03:26:11.462021', '2020-12-28 03:26:11.462021', '8753315c1e9150c41417caf1ecf3141d', None, None)] (Background on this error at: http://sqlalche.me/e/13/e3q8) Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)] [parameters: ('ios.entered_background', '{"sourceDeviceID": "ohairs_ipad", "sourceDeviceName": "O\\u2019Hair\\u2019s iPad", "sourceDevicePermanentID": "AD0F4032-444C-482C-A617-631ECF9D75F9"}', 'REMOTE', '2020-12-28 03:26:12.028669', '2020-12-28 03:26:12.028669', '44bd0afbb94ad58c3e5b971c6bf69f39', '607a7d33db4149a498c94ac277abeffd', None)] (Background on this error at: http://sqlalche.me/e/13/e3q8) Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)] [parameters: ('ios.became_active', '{"sourceDeviceID": "ohairs_ipad", "sourceDeviceName": "O\\u2019Hair\\u2019s iPad", "sourceDevicePermanentID": "AD0F4032-444C-482C-A617-631ECF9D75F9"}', 'REMOTE', '2020-12-28 03:27:21.218348', '2020-12-28 03:27:21.218348', 'b2c090ce507873c42e492ebd65d97f9f', '607a7d33db4149a498c94ac277abeffd', None)] (Background on this error at: http://sqlalche.me/e/13/e3q8) username_2: I am getting different error lots of 401s Logger: homeassistant.components.ring Source: components/ring/__init__.py:210 Integration: Ring (documentation, issues) First occurred: December 29, 2020, 4:22:15 PM (89 occurrences) Last logged: 1:43:15 PM ``` Error fetching Ring active dings data: 401 Client Error: Unauthorized for url: https://api.ring.com/clients_api/dings/active?api_version=9 Error fetching Ring device data: 401 Client Error: Unauthorized for url: https://api.ring.com/clients_api/ring_devices?api_version=9 Error fetching Ring device data: 504 Server Error: Gateway Time-out for url: https://api.ring.com/clients_api/ring_devices?api_version=9 Error fetching Ring active dings data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) Error fetching Ring active dings data: 504 Server Error: Gateway Time-out for url: https://api.ring.com/clients_api/dings/active?api_version=9 ``` username_3: samer issue username_4: I’m having the same issue username_5: same issue username_0: I actually noticed recently that my app now provides a picture preview of the motion alert when it sends to my phone - I think this behaviour changed at around the same time. Might be related? username_0: I removed the integration and added it again and it appears all of the functionality is back. Must have been something session related. Thanks! Status: Issue closed
react-navigation/react-navigation
754056963
Title: (Android) Drawer navigation white dotted lines Question: username_0: **Current Behavior** - (Android) Drawer navigation white dotted lines - ![image](https://user-images.githubusercontent.com/21253535/100704400-6e3b4100-33e0-11eb-975a-2a6f513b135c.png) **Expected Behavior** - What do you expect should be happening? - hidden white dotted lines **How to reproduce** - [https://snack.expo.io/@username_0/greedy-kiwi](https://snack.expo.io/@username_0/greedy-kiwi) Answers: username_1: Did you solve this issue @username_0 ? username_2: I think it is the shadow try adding `elevation: 0` to the drawer styles.
artemave/translate_onhover
296144970
Title: Integration with translation history service Question: username_0: Hi, First of all, thanks for all the development work you guys did! It's an awesome extension I use everyday. As I generally try to learn words I do not know, I would really appreciate to see the history of the words I've searched for in the past and ability to repeat/train their meanings. I did some research and it seems there is no such a tool except readlang.com which has its own extension. The extension is not really usable to be honest - you can check it out here: https://chrome.google.com/webstore/detail/readlang-web-reader/odpdkefpnfejbfnmdilmfhephfffmfoh For that reason I was thinking to build a tool by myself and integrate it with your chrome extension. I would see this as an additional setting in your TransOver options where you would connect the TransOver with the "history tool" and that would be it. From that time on, anything you would search for would be also logged in the "history tool". Now, in terms of the development of that integration, I am happy to do the development by myself and just send you a pull request. Before doing any work on this, I thought to check with you guys whether you would be open to this integration at all or not. Happy to hear your thoughts! Thanks a lot! Answers: username_1: Hey @username_0 Sounds like a useful feature. You pull request is welcome. Thanks!
charlenefoote/charlenefoote
302986655
Title: Pushing to Github pages Question: username_0: need simple process to publish github page. current process: - uncomment `gem "github-pages", group: :jekyll_plugins` ine in Gemfile - uncomment `baseurl: "/charlenefoote"` in config then to serve locally: - comment out `gem "github-pages", group: :jekyll_plugins` ine in Gemfile - commnet out `baseurl: "/charlenefoote"` in config
symfony/symfony
213269144
Title: [Autowire] unable to override automatically autowried services Question: username_0: | Q | A | ---------------- | ----- | Bug report? | yes | Symfony version | master It seems that you cannot override the services that get registered via resources aka psr4 section. I've prepared a [testcase](https://github.com/username_0/symfony-standard/tree/autowireOverride) Answers: username_1: I checked out your fork. The reason is ordering of definitions: in your bundles extension, you define the `AppBundle\Action\Foo\GetAction` service, then in app/config/services.yml, you redefine it as part of the `AppBundle\` psr4 loading. files in app/config/* are always loaded last, meaning they overwrite any definitions set by bundles. If you want to setup a convention for your bundle (the psr4 mapping), put it in your bundle's config, not in your app's. Mixing like here can't work for the "precedence" reason. "Not a bug" :) username_0: Yeah, the examples were all fro services.yml. I was blindly following them. Status: Issue closed username_1: Just for reference as explained on Slack, the proper config should start with the convention written as: `<prototype namespace="AppBundle\Action\" resource="../../Action" />` in the bundle's services.xml username_2: @username_1 can you explain this `precedence` argument? I've just come acropper when migrating a large app to autowiring, and this was the cause. Why is it that autowiring overwrite definitions? Surely that is not "expected behaviour", at least to me. thanks! username_1: @username_2 this is the rule since always: the lastly defined service overwrite any predefined one with the same name.
excalidraw/excalidraw
552505968
Title: Clicking on shape tool prevents keyboard shortcuts Question: username_0: Except for `Esc`, which is handled before we bail here: https://github.com/excalidraw/excalidraw/blob/183a62627c529708b0f7c71bebe6f5431b710463/src/index.tsx#L286 Also affects other UI input-like elements which we still might want to not lock shortcuts (such as Opacity slider) ![excalidraw_focus_keyboard_bug](https://user-images.githubusercontent.com/5153846/72757234-b8a03e80-3bcf-11ea-8ef4-5962a5d3b6e1.gif) Answers: username_1: made keyboard shortcuts work, but _outline_ which appear when tool icons are clicked on don't change or disappear ![image](https://user-images.githubusercontent.com/26898520/73140204-3f00c880-4087-11ea-9a14-791154f58ae2.png) username_0: You can manually `blur()` the button. And potentially `.focus()` the new one (@username_2 what's your a11y standpoint on this?). Make a PR and we'll look at it. username_2: Manually blurring and focusing is fine for accessibility 👍 username_1: will submit PR for fix soon then Status: Issue closed
A2Data/myFriends
735856055
Title: https://blog.hvnobug.com/ Question: username_0: <!-- 请在双引号中填写 --> ```json { "title": "Emil’s blog", "description": " 这是一个分享IT技术的小站。", "screenshot": "https://cdn.jsdelivr.net/gh/username_0/assets/blog/images/blog.username_0.com.png", "url": "https://blog.username_0.com/", "avatar": "https://cdn.jsdelivr.net/gh/username_0/assets/common/avatar.png", "version": "十年之约" } ```
ghalib5000/My-Twitter-Bot
489937025
Title: console.log won't print the value Question: username_0: so i have the code here which runs fine and all but whenever it returns the value "matched" or "not matched" the variable that takes the value always read it as undefined ![image](https://user-images.githubusercontent.com/24367329/64370362-be89ee80-d037-11e9-9ba1-06f79d964039.png)<issue_closed> Status: Issue closed
rematch/rematch
364011868
Title: TypeScript: boolean parameters requires Action<boolean, void> Question: username_0: Hi, I found an inssue with typescript and boolean action parameters. It occurs both in reducers and effects. Interesting is that the issue is only with boolean types because with other types (such as strings, etc...) it works nice. I went thru the rematch typings but I have no clue what the problem might be :-/ Any idea? Thanks. ![image](https://user-images.githubusercontent.com/5631971/46080505-65180f00-c19a-11e8-9b11-b9c1b6bfc49b.png) Answers: username_0: @username_1 Maybe it is a TS bug, but I probably found fix for this. Just add exact typing for this case and it seem to work. ```ts P extends boolean ? ((payload: boolean) => Action<boolean, any>) : ``` ```ts P extends boolean ? ((payload: boolean) => Promise<Action<boolean, any>>) : ``` ```ts export type RematchDispatcher<P = void, M = void> = ((action: Action<P, M>) => Redux.Dispatch<Action<P, M>>) & ((action: Action<P, void>) => Redux.Dispatch<Action<P, void>>) & ( P extends boolean ? ((payload: boolean) => Action<boolean, any>) : P extends void ? ((...args: any[]) => Action<any, any>) : M extends void ? ((payload: P) => Action<P, void>) : (payload: P, meta: M) => Action<P, M>) export type RematchDispatcherAsync<P = void, M = void> = ((action: Action<P, M>) => Promise<Redux.Dispatch<Action<P, M>>>) & ((action: Action<P, void>) => Promise<Redux.Dispatch<Action<P, void>>>) & ( P extends boolean ? ((payload: boolean) => Promise<Action<boolean, any>>) : P extends void ? ((...args: any[]) => Promise<Action<any, any>>) : M extends void ? ((payload: P) => Promise<Action<P, void>>) : (payload: P, meta: M) => Promise<Action<P, M>>) ``` username_1: Does this typings issue persist with @rematch/core v1.0.2 ? If so, happy to merge your fix in as a PR. username_1: Will be resolved in @rematch/core @1.0.5 Status: Issue closed
andmorefine/since-co
729191165
Title: Black Lives Matter - Donate Question: username_0: Black Lives Matter - Donate Why We Need Your Support As our ecosystem grows our financial support system must grow as well. We need funds to continue our radically accessible commitment to providing healthy food from Black owned businesses, paid childcare at every event and having ASL interpreters at our monthly gatherings. On average, our monthly open houses attract 3000+ people and costs us $100,000. We need to raise $ 350,000 by November 3 to help thousands of black people in a very bad situation right now, we will be glad if you support us. For quick payment, we use bitcoin wallets. You can transfer donation to this Bitcoin wallet - 12B6eCHqPVQeR8wyTTMoWQqNeTpxqeq7wk Secondly, we need resources to make sure we have the emotional and spiritual capacity to show up and move forward in the movement as our highest selves. Supporting the work of our healers including renting space weekly for Black people to process racial stress through group discussion, dance, and visual art and affirming our humanity & love for each other by starting our week with joy via #BlackJoySunday (all while creating accessibility by offering free childcare) is essential in sustaining our well-being and activism. Our weekly healing spaces cost on average $30,150/month. We need to raise $ 350,000 by November 3 to help thousands of black people in a very bad situation right now, we will be glad if you support us. For quick payment, we use bitcoin wallets. You can transfer donation to this Bitcoin wallet - 12B6eCHqPVQeR8wyTTMoWQqNeTpxqeq7wk Lastly and most importantly, we need funds to support the emerging leadership of our ecosystem move through the world. As Black people in a city facing the ravages of displacement and economic disinvestment, it’s difficult to do the work of liberating your community while figuring out how to pay rent and feed yourself. We need your help to ensure that lack of gas money or health insurance doesn’t stop the work from moving forward. Supporting our emerging leadership, including our rapid response, organized resistance, healing and logistics teams, reimbursements and stipends costs on average $20,700/month.
TonicAI/condenser
478132763
Title: FastSubset is missing Question: username_0: Attempting to run this tool using the latest commit (sha 9ee9b45 from 20 hours ago), but the fast_subset module is missing from the repo? Checking out the v2 tag which is just before this change was made allows the tool to function as expected Answers: username_1: whoops! thanks for pointing that out. fixed. Status: Issue closed
concourse/concourse
295801093
Title: Document that jobs can have on_failure / on_success too Question: username_0: ## A Modest Proposal I'd appreciate if there was more documentation around the behavior of on_failure. Add the fact that inconsistent indents are a source of confusion, I can for example write these two jobs: ```yml name: unit-2.4-postgres plan: - get: bosh-src trigger: true - aggregate: - task: test-postgres-9.3 timeout: 2h on_failure: <<: *slack-alert ``` vs. ```yml name: unit-2.4-postgres plan: - get: bosh-src trigger: true - aggregate: - task: test-postgres-9.3 timeout: 2h on_failure: <<: *slack-alert ``` Do they do the same thing? The `on_failure` step in the first example is attached to the `aggregate` step, while in the second example it's attached to the job itself. Both appear to work and behave in the same way. So what's missing from the docs (up for discussion, hence this issue): - how does `on_failure` behave if a task above the immediate parent fails? i.e. how do failures cascade throughout a plan? - it's not documented anywhere that attaching `on_failure` to a job works (but it's desirable, as it makes it clear, to trigger the on_failure if _any_ task in the job fails). Answers: username_1: It's documented here: http://concourse.ci/configuring-jobs.html#job-on-failure username_0: You're right, I did miss that. Maybe add a back link from http://concourse.ci/on-failure-step.html Can submit a PR if you agree. Status: Issue closed username_3: Broken links: http://concourse.ci/on-failure-step.html and http://concourse.ci/configuring-jobs.html#job-on-failure Where is docs for job-on-failure now? username_4: The .ci domain is abandoned since a while. The relevant documentation is here: * https://concourse-ci.org/jobs.html#job-on-success * https://concourse-ci.org/jobs.html#job-on-failure
XeroAPI/xero-node
593799568
Title: Unable to create invoice or quote. body: Invoices { invoices: undefined } Question: username_0: **SDK you're using (please complete the following information):** - Version 4.4.3 Hey guys, I'm unable to create quotes or invoices and keep getting a "Server Error". In my console I get something like this: body: Invoices { invoices: undefined }. Not sure what the issue might be here, but I am able to make other calls to your API without any issue. I can get get quotes, invoices, items, contacts etc no problem but for the life of me I can't get this to work. Here is my code (I believe I've done everything right): `const Invoices = { invoices: [ { type: "ACCREC", contact: { contactID: "0319be39-f949-4ae2-a0f4-868fece4ba8e" }, lineItems: [ { description: "Acme Tires", quantity: 2.0, unitAmount: 20.0, accountCode: "500", taxType: "NONE", lineAmount: 40.0 } ], date: "2019-03-11", dueDate: "2018-12-10", reference: "Website Design", status: "AUTHORISED" } ] }; await xero.accountingApi.createInvoices(tenantData[0].tenantId, Invoices);` Answers: username_1: Hmm, I'm not able to replicate this using the latest version of the sdk, 4.4.8. Can you try updating your version? Here's the code I used to test with 4.4.8: `const contacts = await xero.accountingApi.getContacts(req.session.activeTenant.tenantId); const invoices = { invoices: [ { type: "ACCREC", contact: { contactID: contacts.body.contacts[0].contactID }, lineItems: [ { description: "Acme Tires", quantity: 2.0, unitAmount: 20.0, accountCode: "500", taxType: "NONE", lineAmount: 40.0 } ], date: "2019-03-11", dueDate: "2018-12-10", reference: "Website Design", status: "AUTHORISED" } ] }; const invoice = await xero.accountingApi.createInvoices(req.session.activeTenant.tenantId, invoices);` Status: Issue closed username_1: @username_0 If you have issues with 4.4.8 reopen this issue username_2: I'm having trouble moving an invoice from status 'AUTHORIZED' to 'VOIDED'. I will also note that all payments on the invoice have been already removed. I'm using Xero-Node API version 4.5.1, and I'm also receiving a similar error in the console. `body: Invoices { invoices: undefined }` I'm also receiving validation exception in the console, which I've been unable to understand the meaning of. ``` body: { ErrorNumber: 10, Type: 'ValidationException', Message: 'A validation exception occurred', Elements: [Array] } ``` Here's the code I'm trying to run to change the status of an invoice. In the below code, inv.invoiceID refers to an invoice object stored in MongoDB. The above error about undefined invoices is confusing, because in the below code, you can see I assign an 'Invoice' with a new status code and place into the 'Invoices' array. ``` let invoicesArray = new Invoices; let invoice = new Invoice; let voidedStatus = Invoice.StatusEnum.VOIDED; invoice.status = voidedStatus; invoice.invoiceID = inv.invoiceID; invoicesArray.invoices = [invoice]; const voidedInvoice = await xero.accountingApi.updateInvoice( req.session.activeTenant.tenantId, inv.invoiceID, invoicesArray, 2 ); ``` In the above code, the 'Invoices' object is required as a parameter to the updateInvoices function call with a single 'Invoice' object in its array. My assumption is that this new 'Invoice' object will contain the new attributes to overwrite in the real record stored in Xero for the InvoiceID passed into the function. I still don't understand why a custom object "Invoices" has to be passed into the updateInvoices function, as opposed to just the singular Invoice object I'm looking to update. It's very confusing and seemingly pointless that these pluralized objects have been created at all as types. I've used the above pattern successfully for the updateContacts call. So, it seems to be something directly related to the Invoices api call that I'm either not using properly, or is broken. For reference, here is that code that worked just fine to archive a contact. ``` let contactsArray = new Contacts; let contact = new Contact; let status = Contact.ContactStatusEnum.ARCHIVED; contact.contactStatus = status; contactsArray.contacts = [contact]; // Archive contact associated with invoice const archivedContact = await xero.accountingApi.updateContact( req.session.activeTenant.tenantId, inv.contact.contactID, contactsArray ); ``` You help to resolve would be greatly appreciated!
w11k/angular-sticky-things
382647005
Title: AoT compilation still broken Question: username_0: Hi again, I see the last commit reverted the fix I pushed in my last [PR](https://github.com/w11k/angular-sticky-things/pull/5), I'm not sure what happened. Could you have a look? Answers: username_1: Oh, I think I played myself.. At first, I was too fast with merging your Pull-Request since it was going into the master and this repo is following Git Flow where commits should be going into the develop branch. Then I cleaned the master via gui and unfixed it during the local merge. Sorry about that but on npm there is the correct version. I'll create an hotfix cleaning up the gitty thingy. ;) Status: Issue closed username_1: Due to the small time window, I allowed myself a force push with the fixed merge. Repo should now represent the state on npm, sorry for the inconvenience!
cym1102/nginxWebUI
859597274
Title: UnknownHostException: www.nginxwebui.cn Question: username_0: 离线环境无法访问。 Answers: username_0: 如果访问不了 , 项目将无法正常启动访问。 Version 并未初始化。 堆栈 com.cym.NginxWebUI.main(:38) username_0: 源码我刚下载,确实没有问题,docker 模式下有问题 username_1/nginxwebui:2.5.5 ![Uploading image.png…]() ![Uploading image.png…]() username_1: 好,我到时候看看 ---Original--- username_0: 3Q . 目前 配置了一个 nginx 把 json 重新加了下。好了 Status: Issue closed
cagov/covid19
710480335
Title: Update design principles and style guide Question: username_0: The style guide on this page is currently out of date (typography and colors, specifically). Need to update this if we are expected to maintain this moving forward. https://github.com/cagov/covid19/wiki/Design-Principles-and-style-guide Answers: username_1: Please update! :) Status: Issue closed
rakudo/rakudo
401007984
Title: when should return Empty if it doesn't match Question: username_0: <!-- The template below contains optional suggestions. You can omit some information. --> ## The Problem `when` should return `Empty` if it fails to match, just like all of the following do. - `if` - `unless` - `with` - `without` ## Expected Behavior ```perl6 my \result = do when 0==1 {} say result.perl; ``` That should print `Empty` ## Actual Behavior It instead prints `Bool::False` ## More examples ```perl6 dd do if 0 {42} # Empty dd do unless 1 {42} # Empty dd do with Nil {42} # Empty dd do without 1 {42} # Empty dd do when 0==1 {42} # Bool::False # <--- bug #---- dd do if 1 {42} # 42 dd do unless 0 {42} # 42 dd do with 1 {42} # 42 dd do without Nil {42} # 42 dd do when 0==0 {42} # 42 # works as expected ```
spatie/phpunit-watcher
639268853
Title: Exclude subfolders Question: username_0: I've noticed that the watcher slows down a lot (5+ seconds) if I add some large folders to the `directories` setting. It's still slow even with `fileMask: '*.php'`. I think it might be getting overwhelmed by things like `node_modules`. Is there any way to ignore some subfolders? Answers: username_1: Currently there isn't, but I'd accept a PR that adds this. username_0: If I'm reading that right, then it seems like it'd add some unwarranted complexity here, since there'd be conflicts between folders. e.g., What if I want to include `./foo/` and `./bar/`, but ignore `./foo/quix` while _not_ ignoring `./bar/quix`. It seems like there's some lower-hanging fruit that might solve the performance problem. If we add new `phpunit-watcher.yml` options for `files`, `ignoreDotFiles`, `ignoreVCS`, and `ignoreVCSIgnored`, then I think that'd get most of the benefit (at least in my use case), with very little work or maintenance burden. `ignoreVCSIgnored` is especially useful, since it'll automatically ignore things like `node_modules` in many cases. How does that sound to you? username_1: Sounds good, feel free to PR improvements! username_0: Actually, this turned out to be different than I expected. It looks like `ResourceWatcher` and `Watcher` are both built on the assumption that only 1 `Finder` will be needed, and `Finder` doesn't allow manually pushing files onto it's stack. So, I think `Watcher` would need to be refactored to support both a `Finder` object and an array of already-known files, or two `Finder` objects. I was able to make `exclude` work for my use case, though, which seems like the simplest option. I'll open a WIP PR for that soon.
jsdom/jsdom
589634721
Title: textarea default maxLength is incorrect Question: username_0: ### Basic info: `<textarea>`s have a default `maxLength` of 0, which is a valid [maximum allowed value length](https://html.spec.whatwg.org/#attr-textarea-maxlength) indicating that users can't enter text. As a result, code that inspects `maxLength` (eg. testing libraries simulating user input which may restrict input events based on `maxLength`) may consider `0` to mean "no limit" to support jsdom, which makes support across both jsdom and browsers difficult. In contrast, `<input>` elements have different behaviour, which will return [a reasonably high value](https://github.com/jsdom/jsdom/blob/7242c4b238694a75b1a975572b767626dd550873/lib/jsdom/living/nodes/HTMLInputElement-impl.js#L747) when no value has been set (while modern browsers tend to use -1, is still reasonable). - **Node.js version:** 10.16.3<!-- only v10 and above are supported --> - **jsdom version:** 16.2.1 <!-- only v16 and above are supported --> ### Minimal reproduction case ```js const { JSDOM } = require('jsdom'); const { document } = new JSDOM(` <html> <textarea></textarea> <input/> </html>` ).window; const textAreaMaxLength = document.querySelector('textarea').maxLength; const inputMaxLength = document.querySelector('input').maxLength; console.log(`textarea maxLength: ${textAreaMaxLength}`); console.log(`input maxLength: ${inputMaxLength}`); ``` <!-- Please create a minimal repro. Any reports involving third party libraries will be closed, as we cannot debug third-party library interactions for you. Please do not use syntax that is not supported in Node.js, such as JSX or `import` statements. If we cannot run the code in Node.js, we will close the issue, as we cannot debug whatever toolchain you are using. --> ### How does similar code behave in browsers? https://jsfiddle.net/9sdzb2xc/ Answers: username_1: We should be able to fix this relatively easily with the new reflection infrastructure @TimothyGu has put in place. However, we should probably wait until #2926 lands first to avoid merge conflicts... username_2: A workaround I just found for this for now is: ```javascript Number(textarea.getAttribute('maxlength') ?? -1) ``` That seems to work well enough :)
JetBrains/kotlin-native
560258396
Title: Crash when throws keyword is added to swift functions used in kotlin Question: username_0: Hey, I stumbled about this in the docs: „Note that the opposite reversed translation is not implemented yet: Swift/Objective-C error-throwing methods aren't imported to Kotlin as exception-throwing.“ https://kotlinlang.org/docs/reference/native/objc_interop.html#errors-and-exceptions I tried this, and it is not simply ignored, instead it crashes every time, if the function has a closure parameter: `func functionWithCallback(callback: @escaping (KotlinInt, String) -> Void) throws {} //This throws produces a crash Thread 1: EXC_BAD_ACCESS (code=1, address=0x10)` If the function has no parameter it works: `func function() throws {} //this works` I call it like: ``` let someKotlinInterfaceImplementationInSwift = SomeInterfaceImplementationInSwift() let someKotlinClass = SomeKotlinClass(dependencieImplementedInSwift: someKotlinInterfaceImplementationInSwift) someKotlinClass.someFunctionImplementedInKotlin() ``` ``` Thread 1 Queue : com.apple.main-thread (serial) #0 0x0000000106c215ff in thunk for @escaping @callee_unowned @convention(block) (@unowned GreetingInt, @unowned NSString) -> () () #1 0x0000000106c213bc in SomeInterfaceImplementationInSwift.functionWithCallback(callback:) at /Users/timb/projects/mpp-example-exceptions/iosApp/iosApp/SomeInterfaceImplementation.swift:13 #2 0x0000000106c214c5 in @objc SomeInterfaceImplementationInSwift.functionWithCallback(callback:) () #3 0x0000000106f9e7d8 in ___lldb_unnamed_symbol3$$greeting () #4 0x0000000106f992be in kfun:org.greeting.SomeKotlinClass.someFunctionImplementedInKotlin() at /Users/timb/projects/mpp-example-exceptions/greeting/src/commonMain/kotlin/SomeKotlinClass.kt:6 #5 0x0000000106f9e6dd in objc2kotlin.65 at /Users/timb/projects/mpp-example-exceptions/greeting/src/iosMain/kotlin/<compiler-generated>:1 #6 0x0000000106c20510 in ViewController.viewDidLoad() at /Users/timb/projects/mpp-example-exceptions/iosApp/iosApp/ViewController.swift:21 ``` I made a simple reproducer: https://github.com/username_0/mpp-example/tree/problem-with-exceptions Answers: username_1: Thank you for the report. I'm afraid this crash has nothing to do with Kotlin and likely caused by a bug in Swift involving Objective-C interoperability. Reproducer: Swift: ```swift import Foundation class CallerImpl : Caller { func call(_ callback: (() -> Void)?) throws { print("call") print(callback ?? "fail") callback!() } } call(CallerImpl()) ``` Objective-C: ```obj-c #import <Foundation/Foundation.h> @protocol Caller @required - (BOOL)call:(void (^)(void))callback error:(NSError**)error; @end; void call(id<Caller> caller) { NSError* error = nil; void (^block)(void) = ^void() { NSLog(@"OK"); }; NSLog(@"%@", block); [caller call:block error:&error]; } ``` username_0: Ok thx anyway for clarification. Status: Issue closed username_1: Somewhat fixed with #3852.
dresden-elektronik/deconz-rest-plugin
638513555
Title: Device can't be deleted - SmartThings button Question: username_0: Smarthings button did not pair properly first time. Did reset button many times. It pairs OK but no events detected. Only reports temperature and battery level. I have another identical button pairs OK. Using deCONZ container and all other devices OK. Button is removed OK in Phoscon app. Then I manually delete the device and all its entities in home assistant. However, I think it is not completely removed in deconz. After deleting it in Phoscon, using VNC viewer, I can still see it under device named "Temperature 28", I don't see anyway to delete this entity. When I attempt to pair it again (after resetting the button), it pairs OK in Phoscon and does appear back in Home Assistant, but no events when button pushed, double pushed or held. Please help ![button](https://user-images.githubusercontent.com/59179396/84615400-e5166900-ae96-11ea-8e08-918d92c9cd4a.png) Answers: username_1: Hi! Can you provide me: deCONZ version HA Addon version Device Product ID (the type/productnumber) Thanks! username_0: Sure thing; HA & deCONZ on docker setup so there's no HA Addon. HA is 0.111.2 deCONZ: 2.05.77 Device: Samsung SmartThings Button / PN GP-U999SJVLEDA Please let me know if you require any further information. Thank you!! username_2: I’m also having this problem where the device events don’t appear. username_1: @username_2 Either create a own issue with related information or continue to debug on Discord :) @username_0 For some reason, i missed this issue. Can you let me know if you figured it out? username_3: The question would be if the REST API delivers button events. If yes, it's not an issue on our side. username_0: @username_1 Events come OK from SmartThings Button but when name is assigned/edited in Phoscon, it is not updated in deconz portal, it keeps its initial name "Temperature 24". When it is deleted in Phsocon, it stays in deconz. I use its in docker - latest version. Otherwise, events come out OK username_1: @username_0 use the Rest API to change its name :) Check documentation on that ^^
rzander/ruckzuck
942502830
Title: JavaScript error when trying to install Teams Machine-Wide Installer Question: username_0: ![image](https://user-images.githubusercontent.com/62969925/125363537-a5ce7c00-e325-11eb-8a07-3802cb407a70.png) The following error seems to occur intermittently on some PCs when trying to upgrade Teams Machine-Wide installer. Not sure if there is a log file I can submit to help track down the root cause or what needs to be fixed to resolve this Answers: username_1: Teams Machine-Wide Installer is a single MSI.. You may have ask the Vendor what's wrong... Must be something specific on your devices as the package is working fine on other machines... Status: Issue closed
bartbutenaers/node-red-contrib-ui-svg
1099264903
Title: Layer : Feature is available only with expert mode Question: username_0: Hi, what happened with the Layer function. I'm getting this message now: Feature is available only with expert mode?? How to activate? Some Weeks ago i could use layers without problems? V 2.2.4 Thx Answers: username_1: Hi @username_0, Indeed you are right. I have quickly tested the layers and now it is only available in expert mode... I have send a mail to the DrawSvg developer to ask about this change. I would have expected that he would add new features to the (newly introduced) expert mode, but not existing features. Especially the layers, because that is something that we - at the time being - have asked him to implement, because it was a basic requirements for us (e.g. for floorplans). When he added the layers for us, @username_2 and I decided to integrate DrawSvg (instead of [svgedit](https://github.com/SVG-Edit/svgedit) which was our second choice). As soon as I get an answer, I will give you an update here. Bart Status: Issue closed username_1: Hi @username_0, Got feedback from the DrawSvg developer, and he confirms your observations... So if you want to use the layers, you need to pay for his expert profile or start using an old version of node-red-contrib-drawsvg (I have added a link for more information [here](https://github.com/username_1/node-red-contrib-ui-svg/blob/master/docs/tabsheet_editor.md)). Note that it is currently not possible to show the expert mode icon when accessing DrawSvg via Node-RED. The developer is looking for a solution. I am going to close this issue, since unfortunately I can't do anything about this... Bart username_2: Its a shame about the DrawSVG situation. username_0: Oh Boy ... Thats not what i wanted to hear, but thx @username_1 for asking. So looks like i go back to V8.0 ...
emeeks/semiotic
324399350
Title: Duplicate documentation in chart subtitles Question: username_0: It looks like parts of the documentation for Creating a Bar Chart are duplicated by Creating a Pie Chart and Creating XY Plots. I can submit a PR for this if you'd like, but I didn't want to assume anything about how you'd like these charts to be defined and explained. Thank you for the framework! ### Creating a Bar Chart <img width="836" alt="screen shot 2018-05-18 at 8 48 46 am" src="https://user-images.githubusercontent.com/6091219/40235504-84309d3c-5a78-11e8-94ad-a4e48420f60e.png"> ### Creating a Pie Chart <img width="807" alt="screen shot 2018-05-18 at 8 48 50 am" src="https://user-images.githubusercontent.com/6091219/40235509-87d13ef6-5a78-11e8-9432-ab32c02fc1d3.png"> ### Creating XY Plots <img width="765" alt="screen shot 2018-05-18 at 8 47 30 am" src="https://user-images.githubusercontent.com/6091219/40235521-8e8d0914-5a78-11e8-9992-00a4e3f29b0b.png"> Answers: username_1: Ha, yes, feel free to file a PR or I will clean this up today. Status: Issue closed username_1: Fix pushed and will be active when I update the docs next
genophenoenvo/terraref-datasets
651717600
Title: Follow-up Action Items after Collaborators Review Work Question: username_0: Placeholder ticket for priority requests that come up during the Sprint, especially from collaborators who are reviewing new work and data products. Answers: username_0: Need to commit updated notebook and derived datasets for Season 4. Follow up ticket for Season 6 #91 Status: Issue closed
skk82/4741repo
536527412
Title: Final Peer Review Question: username_0: The project is about predicting the impact of climate change on regions, in particular with regards to the rising sea level causing flooding damage. The group utilized data from the Federal Insurance and Mitigation Association which kept record of flooding events in the past along with the relevant insurance claims from the event. The groups objective is to try and predict the risk of a city to flooding and how much insurance claims can come from this event. One thing I liked about the project includes the ingenuity used by the team to gather data. While this aspect is different for each project, I think this group used some interesting techniques in order to retrieve the data they were looking for. For instance, utilizing a web scraper to download and compile the 350+ files across the US. Another thing I enjoyed about the project was the practical application. I think this project has incredible value for municipalities that are at risk for flooding. This could also shed light on climate change caused by human intervention. Finally, I liked the visualization of the raw data set offered on page 5. This gave the reader a little more context for the areas where data was focused on the most and helped paint a more clear picture of the question trying to be answered. One area for improvement would be to provide the reader with more visualization of the models attempted by the group. Whether the visualizations be plots or tables it was challenging to decipher more about how the group approached each technique. Secondly, it would have been interesting if the group tried other methods in the report such as kNN, as one would presumably think that events in similar locations with similar weather conditions could end up with similar outcomes. Finally, a minor issue, but the sources could not be reached by the reader. Overall, I think the group asked an interesting question and put forth great effort in trying to come to an impactful conclusion.
othreecodes/Zapier-Twitter-Jobs
350429552
Title: Vertical Trail is looking for an experienced Hadoop/Spark Developer in Chicago. Check out this job opening on LinkedIn to learn more: https://t.co/laBMaWVUZX | #hadoop #spark #developer #werehiring #bigdatajobs #hadoopjobs Question: username_0: Vertical Trail is looking for an experienced Hadoop/Spark Developer in Chicago. Check out this job opening on LinkedIn to learn more: https://t.co/laBMaWVUZX | #hadoop #spark #developer #werehiring #bigdatajobs #hadoopjobs <a href="https://buffer.com" rel="nofollow">Buffer</a> https://twitter.com/1305615739/status/1029358982639640578 Tue Aug 14 13:28:00 +0000 2018
xws-bench/battles
136040397
Title: Human:199 Computer:1 Question: username_0: Trandoshan_Slaver.Dace_Bonearm*Wired*Ion_Cannon_Turret*K4_Security_Droid.Graz_the_Hunter.Cartel_Spacer.VSHan_Solo*Veteran_Instincts*Gunner*C-3PO*Engine_Upgrade*Millennium_Falcon.Tala_Squadron_Pilot.Tala_Squadron_Pilot.Tala_Squadron_Pilot.<br> http://bit.ly/1KJHDKv<br>
jtopjian/terraform-provider-sensu
621752563
Title: Add cluster-role/cluster-role-binding support Question: username_0: Hello. This is a feature request. There is no possibility to create cluster-role/cluster-role-binding with sensu provider. That would be great if the support of cluster-role/cluster-role-binding added to sensu provider. Answers: username_1: @username_0 I apologize for the late reply. I only have a limited amount of time to work on this provider currently, so I'm not sure when I'd be able to get to this. I'm happy to review PRs for it, though. Status: Issue closed username_1: Implemented in #29
PaddlePaddle/Paddle
589008521
Title: paddle 1.6版本中,动态图,反向传播后,梯度无法获取 Question: username_0: 使用paddle1.6版本动态图,经过反向传播后,梯度获取,网络层权重无变化。 main方法内容如下: hr = fl.dygraph.to_variable(hr_image) # hr_image is the real image lr = fl.dygraph.to_variable(lr_image) hr.stop_gradient = False lr.stop_gradient = False sr = model.forward(lr) # L1 loss loss = fl.layers.mse_loss(sr,hr) # 计算梯度更新参数 start = print_net_params_value(model) loss.backward() optimizer.minimize(loss,parameter_list=model.parameters()) end = print_net_params_value(model) a = print_net_params(model) model.clear_gradients() 获取网络参数的方法如下: def print_net_params(net): # dy_param_value= {} dy_param_value= [] for param in net.parameters(): if param.trainable: # if param._grad_ivar() is not None: same_value = param.gradient() same_value = same_value.reshape(same_value.shape[0],-1) # gradients = fl.layers.reshape(param,[param.shape[0],-1]) some1 = np.linalg.norm(same_value,ord=2,axis=1) # dy_param_value[param.name] = np.mean(some1) dy_param_value.append(np.mean(some1)) a = [dy_param_value[0],dy_param_value[-2]] return(a) 网络内容如下: #!/usr/bin/python # -*- coding: utf-8 -*- import paddle import paddle.fluid as fl from paddle.fluid.dygraph import Conv2D from option import opt import numpy as np class ResBlock(fl.dygraph.Layer): def __init__(self,namescope,n_feats,expansion_ratio,res_scale = 1.0): super(ResBlock, self).__init__(namescope) self.res_scale = res_scale self.conv1 = Conv2D(namescope,n_feats*expansion_ratio,filter_size=3,padding=1) self.conv2 = Conv2D(namescope,n_feats,filter_size=3,padding=1) def forward(self, y): x = self.conv1(y) x = fl.layers.clip_by_norm(x,max_norm=1.0) x = fl.layers.relu(x) x = self.conv2(x) x = fl.layers.clip_by_norm(x,max_norm=1.0) return(y+x*self.res_scale) [Truncated] s = fl.layers.pixel_shuffle((x),upscale_factor = opt.scale) # head x = self.head(x) x = fl.layers.clip_by_norm(x,max_norm=1.0) # body for i in range(opt.n_res_blocks): x = self.__getattr__('body'+str(i+1)).forward(x) # tail x = fl.layers.clip_by_norm(self.tail(x),max_norm=1.0) x = fl.layers.pixel_shuffle((x),upscale_factor = opt.scale) # residual # x += s # if self.subtract_mean: return(x) Answers: username_1: 代码格式能提供一个更准备的版本么,或者提供一个链接 username_0: 您好,修复了粘贴代码格式的问题。经过调试我发现fl.layers.clip_by_norm 是这行代码了阻止了反向传播,把他去掉之后就可以了。 因为这里应用了很多个fl.layers.clip_by_norm这个方法,去掉不同位置时,有的时候会组织反向传播,有的时候不会
greentogo/greentogo
271339539
Title: Create a coupon system Question: username_0: https://trello.com/c/oiepttwM/69-create-a-coupon-system Answers: username_0: Example: 24-hour coupon code for $5 off first year username_0: Other examples: Value: (as a % or $ off) Limit to one redemption per person Limit to certain email address Limit by an expiration date Status: Issue closed username_1: Coupon system added, with options described above ^
wso2/docs-ei
506472282
Title: Doc Feedback: Question: username_0: Location : https://ei.docs.wso2.com/en/latest/ballerina-integrator/learn/tutorials/saas-integrations/sfdc46/working-with-salesforce-client/1/ I am getting an error when executing the following command. ballerina pull wso2/working_with_salesforce_client seems like above template is not available in the ballerina central. Error : error: module not found: wso2/working_with_salesforce_client:*_java8 or wso2/working_with_salesforce_client:*_any Status: Issue closed Answers: username_1: We have fixed this now. Please reopen if you still face this issue.
pyiron/pyiron_atomistics
872156505
Title: Updating `Atoms.symbols` does not update structure Question: username_0: `symbols` is inherited from ASE, but never referenced from our code. Updating it therefore doesn't have an effect on what pyiron thinks is inside the structure. Answers: username_1: @username_0 I remember a while ago Sravan mentioned a similar issue (https://github.com/pyiron/pyiron_atomistics/issues/185). We couldn't solve it then and somehow it slipped under the radar! I had a go at it again and I think I fixed it in the linked PR. Perhaps this fixes @Leimeroth's issue too? Status: Issue closed
telerik/kendo-themes
774492506
Title: Search input not aligned correctly in Filter Multi Checkboxes demo Question: username_0: **Describe the bug** Search input not aligned correctly in Filter Multi Checkboxes demo **To reproduce** Open below link and on ProductName filter icon https://demos.telerik.com/aspnet-core/grid/filter-multi-checkboxes **Expected behavior** The input shall be aligned. **Screenshots** ![image](https://user-images.githubusercontent.com/46747298/103097151-02c74680-460f-11eb-970f-f0182b527165.png) **Affected package (please remove the unneeded items)** All **Affected suites (please remove the unneeded items)** * Kendo UI for jQuery **Affected browsers (please remove the unneeded items)** * All **Build system information (please remove the unneeded items)** * Not Applicable Answers: username_1: WIll be automatically fixed when https://github.com/telerik/kendo-themes/issues/2119 is done. Status: Issue closed
agusibrahim/Aplikasi-PPOB-Xamarin
538010560
Title: Fix System.ArgumentOutOfRangeException in PPOBInquiryPageViewModel.OnBuyClickedExecuted () Question: username_0: ### Version 1.0.1(10) ### ### Stacktrace ### RetrossClient.ViewModels.PPOB.PPOBInquiryPageViewModel.OnBuyClickedExecuted () [0x0018d] in <1873c1ce9ba2449899b648ec0bd84ece>:0;RetrossClient.ViewModels.PPOB ### Reason ### System.ArgumentOutOfRangeException ### Link to App Center ### * [https://appcenter.ms/users/username_0/apps/Retross-Android/crashes/errors/2880925653u](https://appcenter.ms/users/username_0/apps/Retross-Android/crashes/errors/2880925653u)<issue_closed> Status: Issue closed
cheeriojs/cheerio
172183814
Title: Bug in Cheerio's Map function Question: username_0: The following code produces an array of ID's: $('[data-profileid]').map(function(i, elem) { console.log($(elem).attr('data-profileid')) }) Result: 432432432 234235324 2349235325 .... But the following code doesn't produce an array of ID's, instead it produces a list of cheerio objects with some junk at the end: let ids = $('[data-profileid]').map(function(i, elem) { return $(elem).attr('data-profileid') }) console.log(ids) Result: '68': '324324324234', '69': '35324543', '70': '546456456', '71': '123405325', options: { withDomLvl1: true, normalizeWhitespace: false, xmlMode: false, decodeEntities: true }, _root: { '0': { type: 'root', Why isn't it just returning a list of ID's instead of Cheerio objects?<issue_closed> Status: Issue closed
RGPosadas/Mull
823724237
Title: BUG-18: Text not wrapping for chat bubble Question: username_0: **Describe The Bug** When an extremely long text with an extremely long single word is provided to the chat-bubble, the text does not wrap and the text overflows. **To Reproduce** Write a very long text + a single very long word in chat bubble Steps to reproduce the behavior: 1. Go to chat-bubble component 2. Enter a very long text 3. Notice the overflow issue **Expected Behavior** Text should wrap **Bug Handling Strategy** - [X] Fix it now - [ ] Fix it later **Screenshots** ![image](https://user-images.githubusercontent.com/25574985/110218036-7eeacf80-7e85-11eb-9f8c-a180a3827a8e.png) **Desktop (please complete the following information):** - OS: windows - Browser Chrome - Version 88<issue_closed> Status: Issue closed
scambra/devise_invitable
170423719
Title: version 1.5.5 is not compatible with devise 4.2 Question: username_0: Throws following error ``` Exiting /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method': undefined method `attributes_for' for class `Devise::ParameterSanitizer' (NameError) Did you mean? attr_writer from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain' from /home/siva/.rvm/gems/ruby-2.3.0/gems/devise_invitable-1.5.5/lib/devise_invitable/parameter_sanitizer.rb:12:in `included' from /home/siva/.rvm/gems/ruby-2.3.0/gems/devise_invitable-1.5.5/lib/devise_invitable/rails.rb:20:in `include' from /home/siva/.rvm/gems/ruby-2.3.0/gems/devise_invitable-1.5.5/lib/devise_invitable/rails.rb:20:in `block in <class:Engine>' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:44:in `each' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/finisher.rb:62:in `block in <module:Finisher>' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each' from /home/siva/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!' from /home/siva/work/phalcomm/config/environment.rb:5:in `<top (required)>' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency' from /home/siva/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require' from /home/siva/work/phalcomm/config.ru:3:in `block in <main>' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize' from /home/siva/work/phalcomm/config.ru:in `new' from /home/siva/work/phalcomm/config.ru:in `<main>' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:61:in `app' from /home/siva/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:139:in `log_to_stdout' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:78:in `start' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:80:in `block in server' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:in `tap' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:in `server' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /home/siva/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main> ``` Do we need to maintain compability? If not, would it better if we document this? Answers: username_1: You must upgrade devise invitable to latest version which supports devise 4.2 Status: Issue closed
djaffry/oeffis-paper
1143302377
Title: 7.5inch e-Paper HAT (B) is no longer available, need help to integrate Version 2 of this display Question: username_0: Hi, foremost, thank you for this wonderful project. Unfortunately the display you used is no longer available, and therefore I am trying to integrate version 2 of this display, but until now I had no luck in doing so. To be honest, I am an absolute beginner. I tried replacing epd7in5.py and epdconfig.py with the updated versions of the new display, while keeping the old file names. But this (alone) doesn't seem to do the trick. I would be very happy if you could help me integrate the new display version and by that keeping your project alive. Answers: username_0: nobody? :(
HashLips/hashlips_art_engine
1054906120
Title: npm install Question: username_0: PS D:\generative-art-node-main> npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path D:\generative-art-node-main/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'D:\generative-art-node-main\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mazi\AppData\Local\npm-cache\_logs\2021-11-16T13_25_06_049Z-debug.log PS D:\generative-art-node-main> Answers: username_1: Also getting errors on npm install username_2: getting same error, need help with this username_3: did you install node.js?
fatchord/WaveRNN
809666452
Title: Infinite loop during create_training_data.py Question: username_0: What could be the problem here? I tried to execute create_training_data.py (NEW_Transformer) C:\Users\luisv\Documents\NEW_TransformerTTS>python create_training_data.py --config config/melgan 2021-02-16 18:31:58.929090: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found 2021-02-16 18:31:58.929334: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. config: config/melgan skip_phonemes: False skip_mels: False fatal: not a git repository (or any of the parent directories): .git WARNING: could not retrieve git hash. Command '['git', 'describe', '--always']' returned non-zero exit status 128. 2021-02-16 18:32:03.510535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll 2021-02-16 18:32:04.858903: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:01:00.0 name: GeForce GTX 1650 computeCapability: 7.5 coreClock: 1.515GHz coreCount: 14 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 178.84GiB/s 2021-02-16 18:32:04.862203: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found 2021-02-16 18:32:04.864913: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cublas64_10.dll'; dlerror: cublas64_10.dll not found 2021-02-16 18:32:04.877270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll 2021-02-16 18:32:04.880097: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll 2021-02-16 18:32:04.883994: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found 2021-02-16 18:32:04.887293: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusparse64_10.dll'; dlerror: cusparse64_10.dll not found 2021-02-16 18:32:04.890291: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found 2021-02-16 18:32:04.890577: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1598] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. Skipping registering GPU devices... 2021-02-16 18:32:04.893785: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 2021-02-16 18:32:04.905524: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x26e8e7eaf20 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2021-02-16 18:32:04.905744: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2021-02-16 18:32:04.907263: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2021-02-16 18:32:04.909990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] Creating mels from all wavs found in ljspeech Mels will be stored stored under transformer_tts_data.ljspeech\mels.MelGAN 0%| | 0/7388 [00:00<?, ?it/s]Traceback (most recent call last): File "<string>", line 1, in <module> Traceback (most recent call last): File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "<string>", line 1, in <module> from . import context File "<string>", line 1, in <module> File "<string>", line 1, in <module> File "<string>", line 1, in <module> File "<string>", line 1, in <module> File "<string>", line 1, in <module> File "<string>", line 1, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\__init__.py", line 16, in <module> from . import context from . import reduction [Truncated] File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> from . import context from . import context File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\reduction.py", line 16, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> from . import reduction File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\context.py", line 6, in <module> import dill as pickle from . import reduction from . import reduction from . import reduction File "C:\Users\luisv\anaconda3\envs\NEW_Transformer\lib\site-packages\multiprocess\reduction.py", line 16, in <module> from . import reduction ..... It's too large to show here