repo_name
stringlengths
4
136
issue_id
stringlengths
5
10
text
stringlengths
37
4.84M
easylist/easylist
218321255
Title: http://www.torontosun.com/ unblocked ads Question: username_0: `http://www.torontosun.com/2017/03/30/cyclone-debbie-leaves-bull-shark-stranded-on-australia-road` Unblocked ads at the bottom. Note that the ads will not load if the console is open. Probably Nanovisor related.<issue_closed> Status: Issue closed
pmd/pmd
469829488
Title: [java] CloseResource possible false positive with Streams Question: username_0: **Affects PMD Version:** 6.16 **Rule:** [CloseResource](https://pmd.github.io/latest/pmd_rules_java_errorprone.html#closeresource) **Description:** CloseResource reports that Streams should be closed (indeed they implement AutoCloseable). In nearly all cases those violations are noise though. Closing a stream that doesn't feed on system resources is useless. Only streams that are obtained from eg [Files::lines](https://docs.oracle.com/javase/9/docs/api/java/nio/file/Files.html#lines-java.nio.file.Path-), or [Files::walk](https://docs.oracle.com/javase/9/docs/api/java/nio/file/Files.html#walk-java.nio.file.Path-int-java.nio.file.FileVisitOption...-) should really be closed, but they could escape their defining scope and be closed elsewhere (the laziness of the stream API is meant for that). I don't think we can reliably flag those at the moment. So I would say that the rule should not by default consider Stream instances. **Code Sample demonstrating the issue:** ```java public static <T> Stream<MatchResult<T>> filterResults(List<T> candidates, Function<T, String> matchExtractor, String query, MatchSelector<T> limiter) { if (query.length() < MIN_QUERY_LENGTH) { return Stream.empty(); } // violation here Stream<MatchResult<T>> base = candidates.stream() .map(it -> { String cand = matchExtractor.apply(it); return new MatchResult<>(0, it, cand, query, new TextFlow(makeNormalText(cand))); }); return limiter.selectBest(base); } ``` Answers: username_1: I'd suggest to add java.util.stream.Stream to the ignore list by default. Status: Issue closed
blockcypher/explorer
312219742
Title: HTMLParseError = _html_parser.HTMLParseError Question: username_0: ERROR LOG: ``` (venv) kim@computer:~/git/explorer$ foreman run python3 manage.py migrate WARNING: without a POSTMARK_API_KEY you cannot send emails WARNING: without a WEBHOOK_SECRET_KEY you cannot receive webhooks --------------------------------------------------------------------------- SITE_DOMAIN is set to anzucoin.ngrok.com If you're using webhooks locally, be sure this is correct --------------------------------------------------------------------------- Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 354, in execute django.setup() File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/__init__.py", line 18, in setup from django.utils.log import configure_logging File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/utils/log.py", line 13, in <module> from django.views.debug import ExceptionReporter, get_exception_reporter_filter File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/views/debug.py", line 10, in <module> from django.http import (HttpResponse, HttpResponseServerError, File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/http/__init__.py", line 4, in <module> from django.http.response import (HttpResponse, StreamingHttpResponse, File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/http/response.py", line 13, in <module> from django.core.serializers.json import DjangoJSONEncoder File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/core/serializers/__init__.py", line 23, in <module> from django.core.serializers.base import SerializerDoesNotExist File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/core/serializers/base.py", line 6, in <module> from django.db import models File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/db/models/__init__.py", line 6, in <module> from django.db.models.query import Q, QuerySet, Prefetch # NOQA File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/db/models/query.py", line 13, in <module> from django.db.models.fields import AutoField, Empty File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 18, in <module> from django import forms File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/forms/__init__.py", line 6, in <module> from django.forms.fields import * # NOQA File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/forms/fields.py", line 18, in <module> from django.forms.utils import from_current_timezone, to_current_timezone File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/forms/utils.py", line 15, in <module> from django.utils.html import format_html, format_html_join, escape File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/utils/html.py", line 16, in <module> from .html_parser import HTMLParser, HTMLParseError File "/home/ak/git/explorer/venv/lib/python3.5/site-packages/django/utils/html_parser.py", line 12, in <module> HTMLParseError = _html_parser.HTMLParseError AttributeError: module 'html.parser' has no attribute 'HTMLParseError' (venv) kim@computer:~/git/explorer$ ``` Any suggest? Thanks in advanced Answers: username_1: To fix this just delete the text 'HTMLParseError' from the files... Status: Issue closed
MicrosoftDocs/architecture-center
527979693
Title: Blob vs Data lake Question: username_0: I was wondering why do we prefer blob storage here instead of a data lake (cold)? or even why do we prefer cosmos db over data lake (hot)? Is there any reason to use data lake at all? because when i look on the numbers (and i might missed somthing) azure data lake cost as much as a blob storage those days. as for cosmos vs data lake i'm having a bit more trouble to compare them. --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: aa3f2c8a-9d2a-579b-6cb7-4e81fb561067 * Version Independent ID: 0d48338a-52aa-f518-82c3-e5ac281bd8f5 * Content: [Azure IoT reference architecture - Azure Reference Architectures](https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/iot/) * Content Source: [docs/reference-architectures/iot/index.md](https://github.com/microsoftdocs/architecture-center/blob/master/docs/reference-architectures/iot/index.md) * Service: **architecture-center** * Sub-service: **reference-architecture** * GitHub Login: @MikeWasson * Microsoft Alias: **pnp** Answers: username_1: @username_0 Thanks for the feedback! We have assigned this issue to the content author to review and update accordingly. username_2: AB#160211 - Thanks for reporting - this issue is under review Status: Issue closed username_3: Thanks for the suggestion. We've taken this into our backlog for review and a possible update shortly. Closing for now.
pydata/xarray
754558237
Title: Unexpected error when using `weighted` Question: username_0: <!-- Please include a self-contained copy-pastable example that generates the issue if possible. Please be concise with code posted. See guidelines below on how to provide a good bug report: - Craft Minimal Bug Reports: http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports - Minimal Complete Verifiable Examples: https://stackoverflow.com/help/mcve Bug reports that follow these guidelines are easier to diagnose, and so are often handled much more quickly. --> **What happened**: I just updated to the newest upstream master of xarray to branch of a pull request for #4625 and noticed a strange error in my regular workflow. I am working with a dataset `ds_transformed` like this: ![image](https://user-images.githubusercontent.com/14314623/100770013-c6674880-33ca-11eb-88b4-0b117e8291c8.png) and when I try to apply a weighted mean with ```python transformed_ds.o2.weighted(transformed_ds.dz_t).mean('time') ``` I get the following error, which I do not understand: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-101-b08fde69b74b> in <module> ----> 1 test = transformed_ds.o2.weighted(transformed_ds.dz_t).mean('time') ~/code/xarray/xarray/core/common.py in weighted(self, weights) 788 """ 789 --> 790 return self._weighted_cls(self, weights) 791 792 def rolling( ~/code/xarray/xarray/core/weighted.py in __init__(self, obj, weights) 121 _weight_check(weights.data) 122 --> 123 self.obj = obj 124 self.weights = weights 125 TypeError: descriptor 'obj' for 'Weighted' objects doesn't apply to a 'DataArrayWeighted' object ``` Using the synthetic example from #4625 this does not show up. I am wondering if anybody has an idea what could be wrong with my dataset that would cause this error? **Anything else we need to know?**: **Environment**: <details><summary>Output of <tt>xr.show_versions()</tt></summary> INSTALLED VERSIONS ------------------ commit: None [Truncated] rasterio: 1.1.3 cfgrib: None iris: None bottleneck: None dask: 2.30.0 distributed: 2.30.0 matplotlib: 3.3.2 cartopy: 0.18.0 seaborn: None numbagg: None pint: 0.16.1 setuptools: 49.6.0.post20201009 pip: 20.2.4 conda: None pytest: 6.1.2 IPython: 7.18.1 sphinx: None </details> Answers: username_0: Just confirmed that this does not occur when I use v0.16.1. username_1: Do you have ipython autoreload enabled? It usually cannot handle realtime changes to classes... username_0: That was it. Sorry for the false alarm! Closing this. Status: Issue closed
solana-labs/solana
635636693
Title: Enhance RPC getAccountInfo to support decoding account info for SPL Fungible Token Question: username_0: We need an easy way for users to figure the current account balance/state of any SPL Fungible Token account, without having to resort to client-side language-specific decoding libraries. This can be done by enhance [getAccountInfo](https://docs.solana.com/apps/jsonrpc-api#getaccountinfo) to support decoding of account info for SPL Token accounts when an optional parameter is supplied. At the same time add account decoding support for one or more of nonce, stake, and config accounts to setup a general precedent. Also probably file a longer-term issue to add decoding support for various sysvars/etc Answers: username_1: @username_0 , are you thinking that we want this decoded account info to look similar to the program `State` struct? Or parsed even further to something like we're returning from Cli? Eg. should a decoded Vote account be: [VoteState](https://github.com/solana-labs/solana/blob/583cec922b6107e0f85c7e14cb5e642bc7dfb340/programs/vote/src/vote_state/mod.rs#L157) or [CliVoteAccount](https://github.com/solana-labs/solana/blob/583cec922b6107e0f85c7e14cb5e642bc7dfb340/cli/src/cli_output.rs#L868) username_0: The latter is just a beautified version fo the former right? Reformatting the program `State` struct to be more JSON friendly sounds great (ie, Pubkey byte array vs string). username_1: That sounds more like what I meant by the former. We're a little more heavy-handed than that in the Cli structs. Some fields are stripped out, eg. `prior_voters` from VoteState. CliStakeState might be a better example; in addition to the stake account, we pull stake_history to process and return activating/deactivating information, and the clock sysvar to process lockup, etc. Either way, I would plan on making everything JSON friendly. username_0: I think I'd favour a more naive approach of just exposing the `State` without additional computed meta data until we have an end-user asking for more with a good reason behind them. Less work for the RPC server to do Status: Issue closed
Gimly/vscode-matlab
1161137989
Title: if, else, end one liners disrupt the outline Question: username_0: Hello, ``` function printNice(param) if param; disp('true'); else; disp('false'); end cmd = '@echo nice'; dos(cmd); end ``` produces a wrong outline: ![image](https://user-images.githubusercontent.com/39189215/157005593-8a1f5032-3156-4ebe-818b-8fb049f32c03.png) else and cmd are shown outside the function. Regards, Simon Answers: username_1: Ouch will have to disable folds in `vscode-textmate-languageservice` when they are on the same line.
gilday/dark-mode-sync-plugin
924382565
Title: Error on MacOS after update to Rider 2021.1.3 Question: username_0: After update this error is thrown on startup: ```Plugin error: Plugin 'Dark Mode Sync' (version '1.2.6') is not compatible with the current version of the IDE, because it requires build 202.* or older but the current build is RD-211.7442.29``` Will there be a release to resolve this? Thank you, love this tool! Answers: username_1: This functionality is now [built into Rider](https://www.jetbrains.com/help/rider/Settings_Appearance.html) (and the JetBrains platform more generally). You no longer need this plugin to keep your theme synced with your OS! That is why I am not releasing a new version of the plugin. Duplicates #26 Status: Issue closed
ehago/kreamzone-api
963378727
Title: image 경량화 Question: username_0: # image 경량화 <br> ### 완료 조건 - [ ] `Dockerfile 수정` <br> --- ### 체크리스트 - ~~issue 제목은 유의미한가?~~ - ~~issue 내용은 issue 내용만 확인하고도 모르는 사람도 파악할 수 있을 정도로 기술되었는가? (무엇을, 언제, 어디서...)~~ - ~~reference가 있다면 추가했는가?~~ - ~~관련 issue가 있다면 추가했는가?~~ - ~~유의미한 Label을 추가했는가?~~ - ~~Assginees를 추가했는가?~~ ---<issue_closed> Status: Issue closed
XXHolic/blog
661714562
Title: Collision Detection :Rectangle Question: username_0: ## <a name="index"></a> 目录 - [引子](#start) - [RECTANGLE/POINT](#situation1) - [RECTANGLE/RECTANGLE](#situation2) - [RECTANGLE/CIRCLE](#situation3) - [参考资料](#reference) ## <a name="start"></a> 引子 在 [Collision Detection :Point][url-blog-58] 中主要讲了点的碰撞检测,接着来看看矩形的情况。 ## <a name="situation1"></a> RECTANGLE/POINT 这是[示例页面][url-lab-1]。 绘制矩形可以通过四个点的坐标进行绘制,也可以通过一个顶点的坐标,结合矩形的宽高进行绘制: ![59-rect-bounding-box][url-local-1] 检测矩形与点的碰撞,只要点的坐标在矩形的坐标范围之内即可: ```js /* * (px,py) 点的坐标 * (rx,ry) 矩形顶点的坐标 * rw 矩形的宽度 * rh 矩形的高度 */ function checkCollision({px,py,rx,ry,rw,rh}) { const isTrue = px >= rx && // 左边界 px <= rx + rw && // 右边界 py >= ry && // 上边界 py <= ry + rh; // 下边界 if (isTrue) { return true; // 发生碰撞 } else { return false; // 没有碰撞 } } ``` ## <a name="situation2"></a> RECTANGLE/RECTANGLE 这是[示例页面][url-lab-2]。 矩形与矩形的碰撞检测,看下面一张图: ![59-rect-rect][url-local-2] 通过观察可以得知,两个矩形发生碰撞,需要符合的条件是: ```js /* * (r1x,r1y) 矩形1顶点的坐标 * (r2x,r2y) 矩形2顶点的坐标 * r1w r1h 矩形1的宽度和高度 * r2w r2h 矩形2的宽度和高度 */ function checkCollision({r1x,r1y,,r1w,r1h,r2x,r2y,r2w,r2h}) { const isTrue = r1x + r1w >= r2x && // 矩形 2 左边界 r1x <= r2x + r2w && // 矩形 2 右边界 r1y + r1h >= r2y && // 矩形 2 上边界 r1y <= r2y + r2h; // 矩形 2 下边界 if (isTrue) { [Truncated] [url-article-2]:http://www.jeffreythompson.org/collision-detection/rect-rect.php [url-article-3]:http://www.jeffreythompson.org/collision-detection/circle-rect.php [url-lab-1]:https://xxholic.github.io/lab/blog/59/rectangle-point.html [url-lab-2]:https://xxholic.github.io/lab/blog/59/rectangle-rectangle.html [url-lab-3]:https://xxholic.github.io/lab/blog/59/rectangle-circle.html [url-local-1]:https://xxholic.github.io/blog/draft/images/59/rect-bounding-box.jpg [url-local-2]:https://xxholic.github.io/blog/draft/images/59/rect-rect.jpg <details> <summary>:wastebasket:</summary> 我也想这样明明白白。 ![59-poster][url-local-poster] </details> [url-local-poster]:https://xxholic.github.io/blog/draft/images/59/poster.png
microsoft/botframework-cli
515033729
Title: Create command: bf luis:application:query Question: username_0: This command should expose this [request](https://westeurope.dev.cognitive.microsoft.com/docs/services/luis-endpoint-api-v3-0/operations/5cb0a9459a1fe8fa44c28dd8) Answers: username_1: code complete, PR here: https://github.com/microsoft/botframework-cli/pull/388 Status: Issue closed username_1: merged - closing
zettaios/zetta
142121419
Title: map foregroundColor & backgroundColor to UI buttons Question: username_0: In the attached screenshot I expected the button text color to be green. (i'm guessing you didn't get there yet, @username_1, but just wanted an issue to track it.) ![img_1628](https://cloud.githubusercontent.com/assets/21422/13902481/a0f700c6-ee20-11e5-8dc1-dcf0b9b18a86.PNG) Answers: username_1: This is in the next build. Status: Issue closed
silx-kit/silx
449145433
Title: ImportError: cannot import name sift Question: username_0: Hello, I put this here, in order to discuss with you. sift can not be distributed by Debian, due to the pattent, So I would like a way to fix this properly with you. maybe the best is to use a ski if we can not import the sift module. It is neverthless strange because, I can not remmerber this kind of faillure with the previous silx. ``` autopkgtest [08:18:12]: test command1: set -efu ; for py in $(pyversions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import silx.test; silx.test.run_tests()" 2>&1 ; done autopkgtest [08:18:12]: test command1: [----------------------- Testing with python2.7: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/silx/test/__init__.py", line 96, in run_tests if not runner.run(suite()).wasSuccessful(): File "/usr/lib/python2.7/dist-packages/silx/test/__init__.py", line 78, in suite test_suite.addTest(test_gui.suite()) File "/usr/lib/python2.7/dist-packages/silx/gui/test/__init__.py", line 70, in suite from ..plot import test as test_plot File "/usr/lib/python2.7/dist-packages/silx/gui/plot/test/__init__.py", line 55, in <module> from . import testCompareImages File "/usr/lib/python2.7/dist-packages/silx/gui/plot/test/testCompareImages.py", line 36, in <module> from silx.gui.plot.CompareImages import CompareImages File "/usr/lib/python2.7/dist-packages/silx/gui/plot/CompareImages.py", line 51, in <module> from silx.opencl import sift ImportError: cannot import name sift ``` Answers: username_1: This was changed to avoid loading sift if we know OpenCL is not available, but we can update it to handle the case it is removed. username_0: Yes I found the cuprite in the gui/plot/CompareImage.py +from silx.opencl import ocl +if ocl is not None: + from silx.opencl import sift +else: # No OpenCL device or no pyopencl + sift = None it should handle also the missing sift even if opencl is available :) username_0: for info there is also errors during the autopkgtests https://salsa.debian.org/science-team/silx/-/jobs/183459 username_0: new version whcih seems to pass, but there is errors and is is really verbose. https://salsa.debian.org/science-team/silx/-/jobs/183495 username_1: BTW, we should prepare a 0.11 release in the coming weeks. Status: Issue closed
guardian/frontend
40237053
Title: Preview login redirects to humans.txt Question: username_0: I thought after logging in I would go to the page I was trying to preview. Not sure if this is just something with my setup or universal. Answers: username_1: @username_0 is this still an issue or can it be closed off? If it is could you provide an example please? Status: Issue closed username_0: For posterity the redirect that the authentication does is based on the last url it receives. So I had the Humans Chrome extension installed so the last url seen is the request fro `humans.txt`. As most people won't have these kind of extensions installed it's not a big issue.
rust-lang/rust
438707052
Title: ICE with existential_type feature Question: username_0: Code ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=3647f89ce24af3db7c673dbc4e02f556)): ```rust #![feature(existential_type)] existential type Debuggable: core::fmt::Debug; static mut TEST: Option<Debuggable> = None; fn main() { unsafe { TEST = Some(foo()) } } fn foo() -> Debuggable { 0u32 } ``` The `core::fmt::Debug` trait is just an example, the error occurs with every trait I tried. Error: ``` error: internal compiler error: broken MIR in DefId(0/0:4 ~ playground[be34]::TEST[0]) (bb0[0]): equate_inputs_and_outputs: `std::option::Option<Debuggable>==std::option::Option<Debuggable>` failed with `NoSolution` --> src/main.rs:5:1 | 5 | static mut TEST: Option<Debuggable> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', src/librustc_errors/lib.rs:355:17 ``` <details> <summary>Backtrace</summary> ``` stack backtrace: 0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 1: std::sys_common::backtrace::_print at src/libstd/sys_common/backtrace.rs:71 2: std::panicking::default_hook::{{closure}} at src/libstd/sys_common/backtrace.rs:59 at src/libstd/panicking.rs:197 3: std::panicking::default_hook at src/libstd/panicking.rs:211 4: rustc::util::common::panic_hook 5: std::panicking::rust_panic_with_hook at src/libstd/panicking.rs:478 6: std::panicking::begin_panic 7: <rustc_errors::Handler as core::ops::drop::Drop>::drop 8: core::ptr::real_drop_in_place 9: <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop 10: core::ptr::real_drop_in_place 11: rustc_interface::interface::run_compiler_in_existing_thread_pool 12: std::thread::local::LocalKey<T>::with 13: scoped_tls::ScopedKey<T>::set 14: syntax::with_globals query stack during panic: end of query stack ``` </details> Possibly related to https://github.com/rust-lang/rust/issues/54899 and https://github.com/rust-lang/rust/issues/53678. Feel free to close this if this is a duplicate. I thought this might be useful for debugging because it (unlike the two other issues) does not use generators or futures. cc @username_2 (assigned to the two other issues) Answers: username_1: Proposed prio: P-Low. username_2: heh. I don't think using `existential type`s for anything but functions counts as a defining use. You can work around this ICE by placing `foo` and `Debuggable` into their own module: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=f244de8aa281ac5960be54980e5ba03f username_3: I guess you hit the same as this: https://github.com/rust-lang/rust/issues/60371#issuecomment-487679827 username_0: Interesting! I'm glad to see that my approach works in principle. username_0: @username_3 This seems quite similar indeed. I added the link to the issue description. Since I'm not sure if this is really the same I will keep this issue open for now. username_4: triage: P-high due to ICE; removing nomination. username_4: this should block #34511 username_4: triage: Downgrading to P-medium based on this being an unstable feature. (Though arguably it is a feature that is so close to stabilization that we should re-update this to P-high in the near term.) username_4: triage: Downgrading to P-medium based on this being an unstable feature. (Though arguably it is a feature that is so close to stabilization that we should re-update this to P-high in the near term.) username_5: This no longer ICEs on the latest nightly. Status: Issue closed
nimble-dev/nimble
183508350
Title: error in making a copy of a model Question: username_0: I'm seeing this at the end of Chapter 5 of the User Manual under 0.6-1. Don't have time to investigate at the moment. simpleModelCopy3 <- simpleModelCopy2$newModel(check = FALSE) ## setting data and initial values... ## Error in dataNames[i] <- data[[i]]: in subassignment type fix Answers: username_0: Just verified that this worked as of 0.5-1 and did not work starting with 0.6. username_1: This is a trivial bug. What happens is that model$newModel attempts to use the origData that was provided when the first model was build. If nothing was provided that time, this is a uninitialized field, which causes a bug for building the new model. In the future we can catch that case. For immediate purposes of building a valid manual, we can use: simpleModelCopy3 <- simpleModelCopy2$newModel(check = FALSE, data = list()) Would probably be a good idea to add tests for newModel and possibly other utilities that we don’t use much ourselves. > username_1: We fixed this for 0.6-4. Status: Issue closed
befovy/fijkplayer
765812197
Title: [BUG] Question: username_0: 问题:视频播放过程中断网,等播放完缓冲时视频被动暂停(或者播放完缓冲数据前主动暂停),再次连上网络后不能继续播放(即使在监听事件中主动调用播放方法也不行) 被动暂停时提示的异常信息: I/IJKMEDIA( 9753): ffp_toggle_buffering: error: -5 I/IJKMEDIA( 9753): ffp_toggle_buffering: eof D/IJKMEDIA( 9753): FFP_MSG_ERROR: -5 E/tv.danmaku.ijk.media.player.IjkMediaPlayer( 9753): Error (-5,0,I/O error) I/flutter ( 9753): [err] 2020-12-14 10:17:59.523804 [fijk] FijkPlayer{id:2} errorListener: FijkException(-5, I/O error) I/flutter ( 9753): ####LogUtil#### i ----_playerValueListener() state:FijkState.started I/flutter ( 9753): ####LogUtil#### i ----onCallBackEvent FijkState.started I/flutter ( 9753): ####LogUtil#### i ----_playerValueChanged state:FijkState.started I/flutter ( 9753): [inf] 2020-12-14 10:17:59.525779 [fijk] FijkPlayer{id:2} state changed to FijkState.error <= FijkState.started 再次连上网络后不能继续播放,点击播放按钮提示异常信息: I/flutter ( 9753): ####LogUtil#### i ----playOrPause state FijkState.error I/flutter ( 9753): [err] 2020-12-14 10:33:06.191739 [fijk] FijkPlayer{id:2} invoke start invalid state:FijkState.error E/flutter ( 9753): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Bad state: call start on invalid state FijkState.error
godotengine/godot
284386778
Title: Scene crashes when saving with a camera node Question: username_0: **Godot version:** 3.0 beta 2 build **OS/device including version:** Mac OSX 10.10.5 **Issue description:** Scene crashes when saving with a camera node **Steps to reproduce:** 1. Start a new scene. 2. Add a Camera Node. 3. Save scene. Hits 100%, then Godot Crashes **Minimal reproduction project:** I don't think this is necessary. The steps are really simple to reproduce - [x] I searched the existing [GitHub issues](https://github.com/godotengine/godot/issues?utf8=%E2%9C%93&q=is%3Aissue+) for potential duplicates. Note: There was [THIS](https://github.com/godotengine/godot/issues/9682) issue, but it seemed related to creating the camera node. I experience the crash only when I save the scene with the camera in it. Answers: username_1: I try to replicate in windows7 and i can´t: ![cameranodes](https://user-images.githubusercontent.com/11712737/34341120-1b1f5480-e991-11e7-97f5-b23d4246229c.png) username_2: ARVR Camera does not equal a normal camera. username_0: ![camerafail](https://user-images.githubusercontent.com/894122/34341397-6645d5f6-e94b-11e7-8633-38e8f222dbce.gif) GIF for what happens on my end. username_1: ARVR Camera does not equal a normal camera. -- I know. Look at my screen capture. I try to replicate with Camera2d, Camera, InterpolatedCamera and ARVRCamera. username_0: Ah, I see @username_1 . Also, don't know if you meant it, but you can use the "quote" by clicking the button or using the ">" character to quote a line. So then this problem is localized to OSX? Hopefully not just my old version of OSX. username_3: not sure but #14977 might fix this. username_4: On Windows 10 64 bits I got 2 frezzes / 10 tests after saving a scene with a Camera node, so not sure if it is related. If PR #14977, ping me and I will investigate more. username_3: @username_4 the PR was merged. would you test it? username_4: No more freeze for me. But i can't comfirm at 100% that the bug is fixed because only got 2/10 freeze before. username_5: Assuming fixed by #14977, please comment if it's not the case. Status: Issue closed
symfony/symfony
195939195
Title: Environment variables get REDIRECT_ appended in prod but not dev Question: username_0: | Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | no | BC Break report? | no | RFC? | no | Symfony version | 3.2.0 When using an environment variable set by Apache, if it is coming from a redirect (like in the case of a user login), it adds REDIRECT_ to the variable name in prod, but not dev. To test this out: 1) Set up the following in security.yml: ``` security: firewalls: firewall_name: anonymous: ~ form_login: login_path: /symfonylogin access_control: - { path: ^/admin, roles: ROLE_ADMIN } encoders: AppBundle\Security\User\WebserviceUser: bcrypt ``` 2) Leave the default route and set up an extra route for /admin 3) Set up a route for /symfonylogin and do a `print_r($_SERVER)` to dump all environment variables directly from PHP 4) In /web/.htaccess add a line with the following: `SetEnv REMOTE_USER adminblah` Now if you were to go to site/app_dev.php/admin it would redirect you to /symfonylogin and print the environment variables. You will see that there is a REMOTE_USER variable, but no REDIRECT_REMOTE_USER variable. If you then go to site/admin (to see the prod version) it will have a variable REDIRECT_REMOTE_USER as well. Note that in our case, the only reason that REMOTE_USER is also there is because it is being set every time a page loads (including when loading /symfonylogin). When an external source is setting this, you only get the REDIRECT_REMOTE_USER variable. Because we are pulling this directly from the PHP variable $_SERVER I thought it was a PHP thing, but the fact that it only does it when you load the prod environment and not dev means it has to be Symfony doing this. This should be set up the same between prod and dev as it makes development very hard if the 2 environments act so differently. I would suggest changing the behavior of the dev environment to match production. Status: Issue closed Answers: username_1: The `REDIRECT_*` variables are provided by your Apache web server (see http://httpd.apache.org/docs/current/custom-error.html#variables). Thus I am closing here as there is nothing to be done in Symfony.
CORE-GATECH-GROUP/serpent-tools
306563711
Title: Universes from branching file can be stored with negative burnup Question: username_0: 0 ``` ## Expected outcome Universes with non-negative burnup. Maybe implement a better method for retrieving universes given values of days or burnup. ## Versions * ``serpentTools.__version__`` 0.2.1+12.g68709f6<issue_closed> Status: Issue closed
stylelint/stylelint
191274310
Title: None Question: username_0: @username_1 i think issue in https://github.com/stylelint/stylelint/pull/2106 not in `babel` and we can close issue Status: Issue closed Answers: username_2: Since when does @greenkeeper[bot] create issues? I thought it only ever did PRs /shrug
immutables/immutables
219386358
Title: Consider adding addAllFoo(Stream<T>) to Builder Question: username_0: Java 8 feature request: `Builder`s currently support `addAllFoo(Iterable<T>)`, but they don't support Java 8 `Stream<T>`, so we have to do an extra copy each time we add items from a `Stream` to a `Builder`. It'd be nice if we could introduce `addAllFoo(Stream<T>)` and friends to the `Builder`s. Answers: username_1: Good idea! Definitely, there will be a lot less noise with collectors. Now, any built-in container support use only pre-java 8 APIs, need to think if there will be any problems with detecting java8 and generating such methods. I understand that proposing custom encodings for this would be a sad idea as it would be sweet to have it for all built-in recognizable containers. username_2: I'd be a little cautious of this, since a Stream can only be consumed once, perhaps implementing a collector would be better. username_0: Luke is right, a method for each field which returns a Collector is more appropriate. username_0: Java 7 has been EOL since April 2015. Should we consider requiring Java 8? Lambdas would probably make the codebase prettier. username_0: (I don't know the requirements of your big clients, but Buck at least requires Java 8. :) username_1: there a number of people using Immutables for Java7 and even Java 6 (with some feature loss) the other thing is I don't get how collectors are any better than consuming streams. Streams will be exhausted in either case ```java Consumer<Stream<T>> consumer = builder::addAllFoo Collector<T....> collector = builde.fooCollector(); ``` in their side effects, `consumer` and `collector` are the same ```java builder.addAllFoo(collection.stream().map(x -> s))); // may be more compelling than collection.stream().map(x -> s).collect(builder.fooCollector()); ``` username_0: I think the idea is you can nest/group `Collector`s in various interesting ways, but once you pass a `Stream<T>` to something, it's gone. username_0: (However, I don't know if that really matters much for Builders.) username_1: @username_2 @username_0 any good examples with collectors? username_0: This might be a stretch, but one interesting example is parallel collecting: https://docs.oracle.com/javase/tutorial/collections/streams/parallelism.html#concurrent_reduction username_1: certainly, a good example of collectors, but how we would use this in conjunction with Immutabes' builder collectors, how we could compose them? username_0: Yeah, I don't think there would be much benefit to composing Immutables' `Builder` collectors. The main thing we have to think about is: how do we plan on extracting items from the `Stream<T>`? I think there's only two ways (via a `Collector` and via `Stream.toArray()`). I think the Java 8 runtime is smart enough to prefetch and batch items from the `Stream<T>` to improve throughput when passing to a `Collector`, but it can't do that if we manually extract items from the `Stream` (e.g. with `Stream.toArray()`.) username_1: I mostly care about API here. In the implementation, we would use some sort of collectors or just forEach to add things to the internal collection builders. username_0: Yeah, I can see arguments for both styles of API that you mentioned. I like them both. :) username_1: just to note: ```java collection.stream().map(x -> x....).forEach(builder::addFoo); // vs collection.stream().map(x -> x....).collect(builder.fooCollector()); ``` username_0: Right. I think the forEach form must be serial, but the collect form may be parallel. username_1: builders are not thread-safe, so parallel collectors are in question. username_0: Not yet, anyway! ;)
irbv-collections/MT-controlled-vocabulary
86309379
Title: New taxon Question: username_0: [Originally posted on GoogleCode (id 1471) on 2014-11-19 by margotton.username_0] Scientific name:Metrosideros fulgens ID of the specimen(s):197829 Your name:<NAME>nie Answers: username_1: [Originally posted on GoogleCode on 2014-11-21 20:02Z] Metrosideros fulgens acc Status: Issue closed
material-components/material-components-web
848703895
Title: [docs/getting-started.md] Invalid babel config Question: username_0: [webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration[0].module.rules[1] has an unknown property 'query'. These properties are valid: object { compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, sideEffects?, test?, type?, use? } -> A rule description with conditions and effects for modules. ### Expected behavior <!-- A clear and concise description of what you expected to happen. --> A successful webpack build ### Screenshots <!-- If applicable, add screenshots to help explain your issue. --> ### Your Environment: <!-- please complete the following information --> | Software | Version(s) | | ---------------- | ---------- | | MDC Web | 10.0.0 | Browser | N/A | Operating System | Mac OSX ### Additional context <!-- Add any other context about the problem here. --> ### Possible solution <!-- Add any other context about the problem here. --> Update lines 315 and 372 from query to options<issue_closed> Status: Issue closed
crowdsecurity/crowdsec
1178315585
Title: Improvement/Allow .local config file Question: username_0: Hi, It could be usefull to allow usage of config file with .local to allow to override some value in the config file without touching the "official" file... Because when crowdsec config file (or the bouncer) is updated this can cause issue. Or you keep your current config file and you may loose some new value. Or you overwrite with the maintainer version and then you loose your custom change... The idea is to thave a file like config.yaml.local (or config.local.yaml as you wish) where you can place custom value. Like changing the log dir or the backend. The same apply for the bouncer ofc.
StackStorm/st2web
309391386
Title: Filtering not applied upon history refresh Question: username_0: In history view, select a filter, then wait for some other (than those shown by the filter) actions to be run (maybe via triggers) those new executions are shown in the history view even if they should have been filtered out. I am seeing a core.st2.CronTimer & a core.st2.webhook whereas I have the packs.install filter on. Status: Issue closed Answers: username_1: I've just tested this with 2.7.2, and current master (pre-release 2.8). I could reproduce it on 2.7.2, but not on 2.8-dev. Note that both st2web instances were pointing at the same underlying 2.7.2 ST2 system. So this seems to be resolved, most likely by #530
ephrembteich/Lab_Reservations
123179654
Title: Hole Pics of my Database and results Question: username_0: ![localhost _ mysql wampserver _ lab_reservation _ phpmyadmin 4 1 14 - google chrome 2015-12-20 21-46-35](https://cloud.githubusercontent.com/assets/16132780/11919736/7e183f4c-a763-11e5-9f9b-d347586932b8.png) ![localhost_project_getreservations php - google chrome 2015-12-20 21-45-17](https://cloud.githubusercontent.com/assets/16132780/11919737/7e35d4b2-a763-11e5-84b7-a0dcce09cb2f.png) ![localhost _ mysql wampserver _ lab_reservation _ eventcalendar _ phpmyadmin 4 1 14 - google chrome 2015-12-20 21-46-15](https://cloud.githubusercontent.com/assets/16132780/11919738/7e3d4e7c-a763-11e5-9ecc-c35d9d76ab1e.png)
auspicious3000/autovc
496225558
Title: How to use this project on another dataset? Question: username_0: Hi @username_2 . thank you for share this work. i have some questions, could you please help me with answers. 1. i have my own dataset and i want to use it on this work , how i can process this data and train it ?. After this, how i could build my own model to get my wav audio result ?. Are this your pre-trained models that provided with links general for using in all data ? please guide me how i can get my own result in steps by using your work? Thanks. Answers: username_1: +1 username_1: (here)[https://github.com/username_2/autovc/issues/2#issuecomment-493723637] username_2: With the code released on github and the extensive discussions and descriptions in the paper, one should be able reproduce it with very little effort. username_0: @username_2 thank you for your replying. ok , i see the code and the paper, but i still need some of steps and helping to guide mw, so if you can please guide me in from where i should start.
srobo/tasks
733712025
Title: Publish the rules for the SR2021 game Question: username_0: These need building and the website patching. The [rules](https://studentrobotics.org/docs/rules) page will need updating to show that the rules have been published and the link and image updating. # We should also update the [//schools/game] page at the same time with # a brief description of the game. ### Original [kickstart/website/publish-rules](https://github.com/srobo/recurring-tasks/blob/master/kickstart/website/publish-rules.yaml) ### Dependencies * #621 Write the rules for the SR2021 game Answers: username_1: Deployed in https://github.com/srobo/docs/pull/171 Status: Issue closed
grails/grails-core
466692853
Title: Grails 3.3.7 Multiple forwards in a single request leads params issue Question: username_0: ### Grails 3.3.7 When we are using multiple forwards with different params in a single request, not overriding the original params. Instead of overriding it is appending to the original params. So that we are getting 2 values for same key. ``` package com.grails class UrlMappings { static mappings = { "/home/$action"(controller:"home") "/some/$action"(controller:"some") "/"(view:"/index") "500"(view:'/error') "404"(view:'/notFound') } } ``` ``` package com.grails class HomeController { static defaultAction = 'index' def doForward() { println("test home doForward: " + params) forward(controller: 'some', action: 'doForward', params: [value1: 'aaa']) } def index () { println("test home index: "+ params) render view: 'index' } } ``` ``` package com.grails class SomeController { static defaultAction = 'index' def index(SomeTestCommand cmd) { println("test some index: ${cmd.max}") render view: 'index' } def doForward() { println("test Some doForward: " + params) forward(controller: 'home', action: 'index', params: [value1: 'bbb', value2: 'ccc']) } } class SomeTestCommand { Integer max [Truncated] - output: ```diff + test home doForward: [controller:home, action:doForward] + test Some doForward: [value1:aaa, controller:some, action:doForward] - test home index: [value1:[bbb, aaa], value2:ccc, controller:home, action:index] ``` ### Environment Information - **Grails Version:** 3.3.7 - **Groovy Version**: 2.4.15 - **JDK Version:** 1.8.0_191 ### Grails 2.2.4 - Same above example working in grails 2.2.4 - **Grails Version:** 2.2.4 - **JDK Version:** 1.7 ### sample code - https://github.com/username_0/forward Status: Issue closed Answers: username_1: this isnt actually the expected behavior. Grails supports multiple parameters with the same name on the query path. This allows for lists of values. It is commonly seen in use by jquery as well for request handling. This is behaving as designed.
ballerina-platform/ballerina-dev-website
926447497
Title: Integrate the Algolia Search in Bio Question: username_0: **Description:** Need to integrate the Algolia search in Bio. **Describe your problem(s)** **Describe your solution(s)** **Related Issues (optional):** <!-- Any related issues such as sub tasks, issues reported in other repositories (e.g component repositories), similar problems, etc. --> **Suggested Labels (optional):** <!-- Optional comma separated list of suggested labels. Non committers can’t assign labels to issues, so this will help issue creators who are not a committer to suggest possible labels--> **Suggested Assignees (optional):** <!--Optional comma separated list of suggested team members who should attend the issue. Non committers can’t assign issues to assignees, so this will help issue creators who are not a committer to suggest possible assignees--> Status: Issue closed Answers: username_0: Closing since this is a duplicate of https://github.com/ballerina-platform/ballerina-dev-website/issues/2404. username_0: **Description:** Need to integrate the Algolia search in Bio. May be, since Ballerina is based on Jekyll and not MKDocs, we will have to use the https://community.algolia.com/jekyll-algolia/getting-started.html plugin. **Describe your problem(s)** **Describe your solution(s)** **Related Issues (optional):** <!-- Any related issues such as sub tasks, issues reported in other repositories (e.g component repositories), similar problems, etc. --> **Suggested Labels (optional):** <!-- Optional comma separated list of suggested labels. Non committers can’t assign labels to issues, so this will help issue creators who are not a committer to suggest possible labels--> **Suggested Assignees (optional):** <!--Optional comma separated list of suggested team members who should attend the issue. Non committers can’t assign issues to assignees, so this will help issue creators who are not a committer to suggest possible assignees--> username_0: Closing since this is fixed now. Status: Issue closed
craftzing/laravel-lokalise-webhooks
762193625
Title: Suggest ext-zip rather than requiring it Question: username_0: ### Description `ext-zip` is currently marked as a requirement, but it is only needed for the the `CopyExportedProjectTopStorage` listener. Hence, it should be marked as a suggestion instead. Answers: username_0: Done in bc5e989. Status: Issue closed
gomods/athens
334609112
Title: Add support for Azure CDN Question: username_0: This is a follow-on to https://github.com/gomods/athens/issues/29. Originally, that issue was going to support Azure CDN, but I stopped after I supported Azure Blog Storage. This would be to add support for Azure CDN. Here's what I think most of the work would be (I'm not 100% sure how Azure CDN works): - Add support for custom URLs per-module in the metadata driver (right now, it's the same base URL for all modules) - Add some configuration to Olympus to make CDN work. I'm not really sure exactly what config is needed<issue_closed> Status: Issue closed
mbalabash/estimo
995595047
Title: findChrome fails on win10 with chrome 93.0 Question: username_0: findChrome (e.g. called on `npm i`) just starts chrome and throws error when closing chrome. Tracking things down I found out that the script identified correctly the installation path for chrome on my system ('"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"'), but that the command `.../chrome --version` is no longer supported (see also [entry on stackoverflow](https://stackoverflow.com/questions/50880917/how-to-get-chrome-version-using-command-prompt-in-windows)). My system: windows 10 pro 21H1 Chrome 93.0 Answers: username_1: Hey! @username_0 Sorry for long response time. I was a bit busy with my personal stuff. Would you like to make a PR with fix for this issue? username_1: @username_0 Do you still have that problem or it was a one-time situation? username_0: I was off for 2 weeks, so I could not answer in time. Yes I will prepare a PR for this. Status: Issue closed
Tencent/VasDolly
369530161
Title: Generated v2 signature is not page aligned. Question: username_0: The APK signature is not page aligned (i.e. 4K alignment), and is rejected by apksig verifier. See this change in apksig which added requirement in the page-alignement of the v2 signing block: https://android.googlesource.com/platform/tools/apksig/+/39a28bd4ba894920d0e5602526c2622cbe7b4f83%5E%21/#F0 Status: Issue closed Answers: username_2: problem solved? @username_1 Status: Issue closed username_1: 请使用V2.0.2及以上版本
reactor/reactor-netty
404866960
Title: Router routes macthing order Question: username_0: # Issue : conflict between "/yes/{param}" and "/yes/value" routes # Actual behavior The `HttpServerRoutes.route(*)` are impacted by the order. For example : ```java httpServerRoutes.get("/yes/{param}", handler1); httpServerRoutes.get("/yes/value", handler2); ``` In this case the route "/yes/value" will be occulted by "/yes/{param}". # Proposed solution Order the routes httpPredicates to place the more specific ones before? This will allow the `HttpServerRoutes` routes matching to be not impacted by the methods calling order (since the backed list will be automatically sorted). Thanks for your help Answers: username_1: Response ~~~ HTTP/1.1 200 OK content-length: 12 /yes/{param} ~~~ username_2: @username_1 Yes this is still not addressed in 1.0.x version. As a workaround you can provide your resolver for the routing. I'm marking this as help wanted. Status: Issue closed
Tecnativa/doodba-copier-template
727850413
Title: /web/sign/get_fonts: Function declared as capable of handling request of type 'json' but called with a request of type 'http' Question: username_0: I have created a new copier-template odoo 11 instance with the same parameters as a previous odoo system created with previous version of copier-template Now when I try to use signature widget i get this error and cannot get it running Is this can be something maybe about traefik issue? On my log: odoo_1 | 2020-10-23 02:48:38,261 1 INFO servicios odoo.http: <function Binary.get_fonts at 0x7f0bde68f158>, /web/sign/get_fonts: Function declared as capable of handling request of type 'json' but called with a request of type 'http' Answers: username_1: Well, that shouldn't be a problem, as the copier template supports both Traefik v1 and v2 labels. Can you post you Traefik labels configuration? You can anonymize some data if you want... username_0: labels: doodba.domain.main: "servicios.racomx.com" traefik.enable: "true" traefik.forbiddenCrawlers-0.frontend.headers.customResponseHeaders: "X-Robots-Tag:noindex, nofollow" traefik.forbiddenCrawlers-0.frontend.rule: Host:servicios.racomx.com;Path:/web{anything:/.*},/website/info{anything:/.*} traefik.main-0.frontend.rule: Host:servicios.racomx.com traefik.longpolling-0.frontend.rule: Host:servicios.racomx.com;Path:/longpolling/{anything:.*} traefik.longpolling-0.port: 8072 traefik.http.middlewares.fieldservice2021-13-0-prod-buffering.buffering.retryExpression: IsNetworkError() && Attempts() < 5 traefik.http.middlewares.fieldservice2021-13-0-prod-compress.compress: "true" ? traefik.http.middlewares.fieldservice2021-13-0-prod-forbid-crawlers.headers.customResponseHeaders.X-Robots-Tag : "noindex, nofollow" traefik.http.middlewares.fieldservice2021-13-0-prod-forceSecure.headers.forceSTSHeader: "true" traefik.http.middlewares.fieldservice2021-13-0-prod-forceSecure.headers.sslRedirect: "true" traefik.http.services.fieldservice2021-13-0-prod-main.loadbalancer.server.port: 8069 traefik.http.services.fieldservice2021-13-0-prod-longpolling.loadbalancer.server.port: 8072 traefik.http.routers.fieldservice2021-13-0-prod-main-0.rule: Host(`servicios.racomx.com`) traefik.http.routers.fieldservice2021-13-0-prod-main-0.service: fieldservice2021-13-0-prod-main traefik.http.routers.fieldservice2021-13-0-prod-main-0.middlewares: fieldservice2021-13-0-prod-buffering, fieldservice2021-13-0-prod-compress, fieldservice2021-13-0-prod-forceSecure traefik.http.routers.fieldservice2021-13-0-prod-main-secure-0.rule: Host(`servicios.racomx.com`) traefik.http.routers.fieldservice2021-13-0-prod-main-secure-0.service: fieldservice2021-13-0-prod-main traefik.http.routers.fieldservice2021-13-0-prod-main-secure-0.middlewares: fieldservice2021-13-0-prod-buffering, fieldservice2021-13-0-prod-compress, fieldservice2021-13-0-prod-forceSecure traefik.http.routers.fieldservice2021-13-0-prod-main-secure-0.tls: "true" traefik.http.routers.fieldservice2021-13-0-prod-main-secure-0.tls.certResolver: letsencrypt traefik.http.routers.fieldservice2021-13-0-prod-longpolling-0.rule: Host(`servicios.racomx.com`) && PathPrefix(`/longpolling/`) traefik.http.routers.fieldservice2021-13-0-prod-longpolling-0.service: fieldservice2021-13-0-prod-longpolling traefik.http.routers.fieldservice2021-13-0-prod-longpolling-0.middlewares: fieldservice2021-13-0-prod-forceSecure traefik.http.routers.fieldservice2021-13-0-prod-longpolling-secure-0.rule: Host(`servicios.racomx.com`) && PathPrefix(`/longpolling/`) traefik.http.routers.fieldservice2021-13-0-prod-longpolling-secure-0.service: fieldservice2021-13-0-prod-longpolling traefik.http.routers.fieldservice2021-13-0-prod-longpolling-secure-0.middlewares: fieldservice2021-13-0-prod-forceSecure traefik.http.routers.fieldservice2021-13-0-prod-longpolling-secure-0.tls: "true" traefik.http.routers.fieldservice2021-13-0-prod-longpolling-secure-0.tls.certResolver: letsencrypt traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-0.rule: Host(`servicios.racomx.com`) && (PathPrefix(`/web/`, `/website/info/`) || Path(`/web`, `/website/info`)) traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-0.service: fieldservice2021-13-0-prod-main traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-0.middlewares: fieldservice2021-13-0-prod-buffering, fieldservice2021-13-0-prod-compress, fieldservice2021-13-0-prod-forbid-crawlers, fieldservice2021-13-0-prod-forceSecure traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-secure-0.rule: Host(`servicios.racomx.com`) && (PathPrefix(`/web/`, `/website/info/`) || Path(`/web`, `/website/info`)) traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-secure-0.service: fieldservice2021-13-0-prod-main traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-secure-0.middlewares: fieldservice2021-13-0-prod-buffering, fieldservice2021-13-0-prod-compress, fieldservice2021-13-0-prod-forbid-crawlers, fieldservice2021-13-0-prod-forceSecure traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-secure-0.tls: "true" traefik.http.routers.fieldservice2021-13-0-prod-forbiddenCrawlers-secure-0.tls.certResolver: letsencrypt username_1: Thank you. @username_2 do you think maybe this is, indeed, a problem with Traefik routing? if we need a json request to be proxyed, should we try a TCP router instead? Or does it have to do with the way the request is being made on the client? Status: Issue closed username_2: This is a programming error not related to doodba. username_0: But this is the same code and same server, the only difference is that we execute copier-template this days instead the other one executed 3 months ago... username_2: Duplicate of #166
vugu/vugu
849681190
Title: vugufmt applies ToLower on HTML if used recursively Question: username_0: **Describe the bug** Running `vugufmt -d components/my-line.vugu` standard html diffs. Running `vugufmt -d .` will try to run ToLower on the same HTML. **Software Versions** Vugu version: v0.3.4 Go version: 1.15.8 Browser and version: N/A **To Reproduce** ``` # vugufmt -d components/my-line.vugu # vugufmt -w components/my-line.vugu # vugufmt -d . diff -u root.vugu.orig root.vugu --- root.vugu.orig 2021-04-03 10:25:17.110000000 -0500 +++ root.vugu 2021-04-03 10:25:17.110000000 -0500 @@ -1,7 +1,7 @@ <div class="root"> - <ul> - <components:MyLine FileName="example.txt" :LineNumber="rand.Int63n(100)" ></components:MyLine> - </ul> + <ul> + <components:myline filename="example.txt" :linenumber="rand.Int63n(100)" ></components:myline> + </ul> </div> <script type="application/x-go"> ``` **Expected behavior** HTML is only formatted and converted to lower case. **Additional Notes** example repo: https://github.com/username_0/vugu-fmt-bug Answers: username_1: Thanks for the bug report. Yeah vugufmt needs some love, it hasn't been updated in a while. I'll leave this open for now. Status: Issue closed
openfisca/openfisca-ops
300976842
Title: Update server packages Question: username_0: Today, we have `48 Debian package update(s)` Answers: username_1: - Update the packages we use - Uninstall the ones we don't - Shut down the services we don't use (mongo db) - Add a shut down date to the `/api`for V18, V19, V20 for Oct 1st Status: Issue closed
clarkie/jenkins-dashboard
121181158
Title: Problems with ports other than 80 Question: username_0: Jenkins is running on my system on port 8080, The dashboard cant seem to connect as it emits an error `````` jenkins: info: getaddrinfo ENOTFOUND http http:80 `````` Answers: username_0: My bad, it works if you leave out the protocol Status: Issue closed
LekoArts/gatsby-themes
924140321
Title: [gatsby-starter-minimal-blog]: Cannot find reach-router module Question: username_0: ### Environment System: OS: macOS 11.2.3 CPU: (8) arm64 Apple M1 Shell: 5.8 - /bin/zsh Binaries: Node: 16.1.0 - /usr/local/bin/node npm: 7.11.2 - /usr/local/bin/npm Languages: Python: 2.7.16 - /usr/bin/python Browsers: Chrome: 91.0.4472.106 Firefox: 89.0 Safari: 14.0.3 npmPackages: gatsby: ^3.6.1 => 3.7.2 gatsby-omni-font-loader: ^1.3.1 => 1.3.1 gatsby-plugin-feed: ^3.6.0 => 3.7.1 gatsby-plugin-gatsby-cloud: ^2.6.1 => 2.7.1 gatsby-plugin-google-analytics: ^3.6.0 => 3.7.1 gatsby-plugin-manifest: ^3.6.0 => 3.7.1 gatsby-plugin-netlify: ^3.6.1 => 3.7.1 gatsby-plugin-offline: ^4.6.0 => 4.7.1 gatsby-plugin-sitemap: ^4.2.0 => 4.3.1 gatsby-plugin-webpack-bundle-analyser-v2: ^1.1.22 => 1.1.22 npmGlobalPackages: gatsby-cli: 3.7.1<issue_closed> Status: Issue closed
knqyf263/pet
463164890
Title: Passing in filepath parameters more easily Question: username_0: I think Pet is pretty useful, and love how easy it is to _search, share and sync_ commands via a gist! All of the commands that I currently use Pet for actually take a filepath as a parameter! This is quite difficult to do at the moment because you cannot auto-complete file paths as you normally can on the shell. This means I often have to copy and paste the filepath - opening a new shell to do this - which is _relatively_ laborious and time-consuming. I'm not sure how easy it would be to implement auto-complete when entering filenames, but I have an alternative suggestion where `pet` prints the stored command (leaving in the parameter placeholders), allowing you to copy this into the command-line and edit it to your heart's content. Pet will not execute the command. This could be used by `pet print`, `pet search --print`, or maybe `pet exec --print`. Answers: username_1: I'm not aware of any improvement meanwhile, but here is a less laborious way to achieve what you are looking for: 1. Run `pet search | xclip` 2. Fill every parameter you can without auto-completion 3. After `<RET>`, the half-filled command is in your clipboard 4. Paste it on the terminal and enjoy your shell's auto-completion To not lost file path placeholders, you might prefer `<input=in.pdf>` over `<inputPDF>`.
bigcommerce/cornerstone
489280217
Title: IE11: Exception thrown and not caught AND String expected Question: username_0: When testing in IE11, we noticed some exceptions being thrown frequently on PDP. ### Expected behavior No exception errors ### Actual behavior SCRIPT5022: Exception thrown and not caught File: theme-bundle.main.js, Line: 7706, Column: 3 SCRIPT5005: String expected File: recaptcha__en.js, Line: 2, Column: 137 <img width="2160" alt="01" src="https://user-images.githubusercontent.com/5056945/64275492-829d3f00-cefa-11e9-845c-a79cf2f47c70.png"> <img width="2160" alt="02" src="https://user-images.githubusercontent.com/5056945/64275493-829d3f00-cefa-11e9-996e-94746d19d32f.png"> ### Steps to reproduce behavior Boot up into IE11, go to a PDP, check console. Answers: username_1: This is also happening to us. Any updates? username_0: https://github.com/zloirock/core-js/issues/567 Moving `<script src="https://www.google.com/recaptcha/api.js" async defer></script>` below the bundle resolved the issue for us. Not ideal, but keeps IE11 traffic flowing in. username_2: Was there any definitive fix for this or workaround? I'm a developer currently working on customizing this version of Cornerstone and we're getting the same issues in our IE 11 console which is hindering other JS from firing and disrupting customizations. I can provide a tunnel connection if needed. Another thing to note, we saw that these errors disappeared after IE version 11.4. We noticed this when we saw inconsistencies between different IE browsers on other users' computers. username_0: Moving `<script src="https://www.google.com/recaptcha/api.js" async defer></script>` below the bundle resolved the issue for us. Not ideal, but keeps IE11 traffic from bouncing. username_2: @username_0 Thank you so much for this, this seemed to clear our console of errors as expected. Our custom JS works now too. I apologize as I'm not too familiar with Stencil, but is there an explanation for this? What's happening with the built-in ReCaptchas that are throwing these errors in IE? Thank you! username_0: @username_2 I'm not entirely sure what the issue is. A lot of it goes above my head in JavaScript knowledge but from what I think I understand, there's duplicate polyfills. https://github.com/zloirock/core-js/issues/567 This is what led me to think "Hmm, maybe if I move all Google files below the main bundle, it'll work again" and it did. I'm glad to hear you're back up and running! Cheers! username_3: It's not only the Google ReCaptchas that doesn't work in IE 11 but also the "product options". These also don't work. If you have a product with additional options, like text fields or radio buttons, they will not appear, Only the add to cart button appears. Does anybody have a fix for this? username_0: [base.html.zip](https://github.com/bigcommerce/cornerstone/files/3811787/base.html.zip) username_3: Thanks. Can this fix be pulled in the next update. username_0: #1598 seemed to resolve my IE11 issues. How about you all? username_2: @username_0 I just merged with the latest Cornerstone and took out your fix from base.html and everything seems to be working in IE11 on my machine. I still have this updated version local so I will do more testing on other machines with different IE versions as that seemed to be an issue prior and will do a soft push live, will report back shortly. Thanks for the update! username_4: Hi, there. Duplicate polyfills have been mentioned here. Indeed, among the adventures in the journey to #1598 we experienced mysterious situations: the exact same theme worked in IE 11 in a BigCommerce store, but not in another! What we have found (copy/pasting from our internal thread, with a few edits): <hr> **TL;DR** :arrow_right: This JavaScript file is **loaded only in Sandbox** store and runs `NodeList.forEach` polyfill: https://cdn11.bigcommerce.com/shared/bower/checkout-sdk/dist/checkout-button.umd-0792489093856d7387bd3905924e0bc2c9158bc0.js <hr> By comparing client's Production x Sandbox page's HTML source, I found that these script tags are **only in Sandbox**. They don't appear in Production: ```html <script type="text/javascript" src="https://cdn11.bigcommerce.com/shared/bower/checkout-sdk/dist/checkout-button.umd-0792489093856d7387bd3905924e0bc2c9158bc0.js" defer></script> <script type="text/javascript" src="https://cdn11.bigcommerce.com/r-2665705a31510a822c866407a6433bb14bb2adf9/vendor/bower_components/braintree-web/index.js" defer></script> <script type="text/javascript" src="https://cdn11.bigcommerce.com/r-2665705a31510a822c866407a6433bb14bb2adf9/javascript/braintree.js" defer></script> ``` After a few experiments, I found that the first of these scripts do load NodeList's polyfill. You can load this very simple HTML document in IE 11: ```html <!DOCTYPE html> <html> <head> <script type="text/javascript" src="https://cdn11.bigcommerce.com/shared/bower/checkout-sdk/dist/checkout-button.umd-0792489093856d7387bd3905924e0bc2c9158bc0.js"></script> </head> <body> <p>Hi</p> <script> console.log('yep'); x = document.querySelectorAll('p'); console.log(x.forEach); </script> </body> </html> ``` As a result, you get in console: ![test-with-script](https://user-images.githubusercontent.com/69181/69345078-46eb5900-0c4f-11ea-9a29-eb06ef19a6f7.png) If we just remove the `<script>` tag, we get this in console: ![test-without-script](https://user-images.githubusercontent.com/69181/69345092-4eaafd80-0c4f-11ea-9ecb-e5e005318071.png) <hr> Soon after this, we found that this script tag containing core-js version 3 polyfills is tied to **payment settings** of the store. In the "Sandbox", we **turned off** Braintree and PayPal payment methods, and the script was not added to the page anymore. username_2: @username_4 Thank you for the clarification on this. That's good to know and glad this fix has been rolled out. So far, so good on our store in IE. @username_0 I noticed something with your workaround fix (edit to the base.html) - not that it matters with the update to core-js v3 but still wanted to mention because it seems related. Prior to removing your fix and updating core-js, we were having issues on our Create an Account, Write a Review and Contact Us forms. Forms weren't sending because a non-existent Captcha was throwing an error. Now after the update and taking that code out of the base template, the Captchas appear and forms can be sent. Again, not really relevant anymore but worth mentioning in case anyone else has this issue. username_5: Everyone, thanks for the detailed messages in this thread. Just had the exact same issue on a site I'm helping develop. You saved me a bunch of time! Status: Issue closed
WsdlToPhp/PackageBase
337476971
Title: Add support to invoke getLastRequest without throwing an InvalidArgumentException if the request is not executed Question: username_0: # Situation The invocation to an external webservice is wrapped in a try with a finally block. The finally block invokes $soapClientBase->getLastRequest() to log the request send. If an issue occurred while creating the request (before the request is actually send) invoking $soapClientBase->getLastRequest() results in a InvalidArgumentException due to fact null is supplied to getFormatedXml. Instead of throwing an InvalidArgumentException returning null might be more appropriate. # Possible solution Support null as input for the getFormatedXml method. According to the PHPDoc for the public static function getFormatedXml this method can return null as well. In the current implementation it seems it won't return null. It either returns the DOMDocument or the DOMDocument as string. If the supplied string is not valid a InvalidArgumentException is thrown by getDOMDocument. ``` /** * Returns a XML string content as a DOMDocument or as a formated XML string * @throws \InvalidArgumentException * @param string $string * @param bool $asDomDocument * @return \DOMDocument|null */ public static function getFormatedXml($string, $asDomDocument = false) { $domDocument = self::getDOMDocument($string); return $asDomDocument ? $domDocument : $domDocument->saveXML(); } ``` The getFormatedXml method is used by getLastXml in AbstractSoapClientBase, as shown in the snippet below: ``` /** * @param string $method * @param bool $asDomDocument * @return \DOMDocument|string|null */ protected function getLastXml($method, $asDomDocument = false) { $xml = null; if ($this->getSoapClient() instanceof \SoapClient) { $xml = static::getFormatedXml($this->getSoapClient()->$method(), $asDomDocument); } return $xml; } ``` The getLastRequest and getLastResponse methods are using the getLastXml method. To be able to invoke getLastRequest and getLastResponse in a finally block supporting null seems okay, since this will match the return types (the \DOMDocument|string|null) mentioned in the PHPDoc for getLastRequest and getLastResponse.<issue_closed> Status: Issue closed
Senparc/Senparc.CO2NET
338410007
Title: Core 控制台应用程序中对RegisterService.Start的使用 Question: username_0: 在core 2.0版本中引入0.1.6的Senparc.CO2NET,注册微信公众号服务时,调用RegisterService Start()需要参数IHostingEnvironment和SenparcSetting,直接传NULL就可以了吗? Answers: username_1: 已经发布一个新版本:https://www.nuget.org/packages/Senparc.CO2NET/0.1.8 注意新版本的第二个bool类型可以不用输入了。 Status: Issue closed username_1: 有更新了一个版本:https://www.nuget.org/packages/Senparc.Co2NET 单元测试中也可以跑了,如果还有问题欢迎ReOpen继续讨论,谢谢! username_2: ![image](https://user-images.githubusercontent.com/18487533/42937948-352bfa56-8b83-11e8-82f3-377ac0355604.png) 这个地方报错了 不知道什么原因 配置都有 ![image](https://user-images.githubusercontent.com/18487533/42937975-575b32ea-8b83-11e8-8155-877e0bdc57bc.png) 安装版本 ![image](https://user-images.githubusercontent.com/18487533/42937999-6d08e3c6-8b83-11e8-8644-aa79b8962396.png) username_2: 这个地方报错不知道什么原因啊 ![image](https://user-images.githubusercontent.com/18487533/42938055-9bd1727c-8b83-11e8-9d07-4063fb48aec5.png) 配置: ![image](https://user-images.githubusercontent.com/18487533/42938077-ac03cf00-8b83-11e8-95e6-3deb15bc92d2.png) 安装版本: ![image](https://user-images.githubusercontent.com/18487533/42938100-b7364d9e-8b83-11e8-846d-4e9b8c23903e.png) username_1: @username_2 看一下我们最新的demo,是不是启动注册的过程少了一些配置?
flutter/flutter
130528809
Title: Unable to build the game, wrong path to pub Question: username_0: * clone the game * update flutter to master * rm -rf ios * flutter ios --init * open the FlutterApplication.xcodeproj Expect: no warnings/errors in xcode Actual: ``` ~/Code/game ~/Code/game/ios /Users/username_0/Library/Developer/Xcode/DerivedData/FlutterApplication-emeckpgxqdbxjpdcbiqxhcjvvqwf/Build/Intermediates/FlutterApplication.build/Debug-iphoneos/FlutterApplication.build/Script-9EBB2F351BF675C200177634.sh: line 4: /Users/username_0/homebrew/Cellar/dart/1.14.0-dev.7.2/libexec/bin/pub: No such file or directory ``` ![screen shot 2016-02-01 at 4 29 59 pm](https://cloud.githubusercontent.com/assets/5479/12735951/0dc51476-c901-11e5-86b1-72fc7b068d85.png) I am running Dart 1.14 ``` ~/Code/game[master] $ dart --version Dart VM version: 1.14.0 (Thu Jan 28 09:20:03 2016) on "macos_x64" ``` Answers: username_0: cc @vlidholt Status: Issue closed username_0: I cleaned my Xcode project, and built again.
zeromq/pyzmq
252447891
Title: _AsyncSocket.close cannot be awaited Question: username_0: With `_AsyncSocket.close` un-awaitable it's possible to stop asyncio event loop before actual cancellation has a chance to execute. At the very least asyncio will show a warning about a pending task. I see 2 approaches: - `_AsyncSocket.close` should return a future so that cancellation can be awaited - `_AsyncSocket` should support __aenter__ and `__aexit__` Answers: username_0: Re-read the code: close is set regardless of future cancellation. Status: Issue closed
rsfetch/rsfetch
540718815
Title: Manpage Question: username_0: Once this release has shipped, I'll create a manpage. Since I'm lazy, I'll just generate it with `help2man` :P Answers: username_0: maybe generate it with [scdoc](https://git.sr.ht/~sircmpwn/scdoc)? username_1: This was resolved with #67, so I'll close this. Status: Issue closed
OpenNeuroOrg/openneuro
644170611
Title: Dataset missing imaging files Question: username_0: **Describe the bug** [ds002898](https://openneuro.org/datasets/ds002898/versions/1.0.0) does not have the imaging files. They are not present on S3. There may be a bug with git-annex. **To Reproduce** Steps to reproduce the behavior: 1. Go to [ds002898](https://openneuro.org/datasets/ds002898/versions/1.0.0) 2. View the imaging files - only the sidecars and metadata (non-annexed files) are present **Expected behavior** The imaging files being available. When the user tries to reupload the imaging files, the cli will skip those files. Answers: username_1: This is because these files are in .gitignore, so they are not tracked. Any legitimate uses of .gitignore in datasets? We might want to change this bug to "filter out .gitignore" as we already filter most other git or git-annex metadata. username_0: I agree - I can't think of why that would be in there. This may be an error and the user meant _.bidsignore_ - will follow up with the user username_1: There was some discussion of only allowing .bidsignore and dropping all other dot files but I don't think we have an issue for it. Maybe that's a better approach? username_0: yep - I recall that was associated with the .heudiconv directories that were being found. I agree with that approach username_0: quick update - the .gitignore is currently hidden on the web UI so deleting this file can't be done from the frontend username_0: note: the original dataset that surfaced this issue has been resolved username_2: Related to #1797 Status: Issue closed
ponylang/ponyc
332044523
Title: FFI calls to C functions not allowed for Pony keywords Question: username_0: If you are calling C function that is also a Pony keyword, like `box` that is also a function in ncurses library. Example: https://playground.ponylang.org/?gist=f22054dea5dcab1d22e246826eeaa2d0 Expected Result: Code Compiles Actual Result: `Error: ncurses-pony/src/ncurses-pony/ncurses.pony:52:8: syntax error: expected ffi name after @ @box[None](window, lchar, rchar) ^ Error: example.pony:3:1: can't load package 'ncurses-pony' use "ncurses-pony" ^ ` OS: Linux Mint 18.3 Ponyc: 0.23.0 Answers: username_1: One potential syntax strategy for addressing this would be to put the name of the function in quotes like a string. For example: `@"box"[None](window, lchar, rchar)`. This would also allow calling functions that are named in unusual ways that are not allowed by C, but are allowed in a shared library general. username_2: I opened an issue on the tutorial to include documentation for this: https://github.com/ponylang/pony-tutorial/issues/303 username_3: As @username_1 points out, by using quotes, you can do this right now. For example, from float.pony in builtin: ```pony fun abs(): F32 => @"llvm.fabs.f32"[F32](this) ``` Status: Issue closed
ory/hydra
643595262
Title: Disable traces for health endpoints Question: username_0: Disable span creation for health endpoints or give the option to disable them like `disable_for_health` flag for logs. Status: Issue closed Answers: username_0: I bumped Hydra to v1.6.0 and I still get traces from health endpoints. I realized that hydra, instead of using the [internal tracing package](https://github.com/ory/hydra/tree/v1.6.0/tracing) where I did the changes, is using the external [x/tracing](https://github.com/ory/hydra/blob/v1.6.0/driver/registry.go#L11) package. That is why my change is not working. Should we remove [hydra/tracing](https://github.com/ory/hydra/tree/v1.6.0/tracing) and apply my changes in the external [x/tracing](https://github.com/ory/x) username_1: Ah, absolutely! Thank you for debugging this :) username_0: I will send you a PR with the fix then :+1:
prestodb/presto
272066243
Title: Get table's column in MongoDB error Question: username_0: Presto server has a mongodb connector, MongoDB has a collection named "table_type" My app use Presto JDBC Driver to connect Presto server. I can execute SQL "select * from table_type" or "desc table_type" , it work fine. But I can't use conn.getMetaData().getColumns("mongodb", "northwind", "table_type", "%") to get columns meta Answers: username_0: Connection conn = DriverManager.getConnection("jdbc:presto://localhost:30105/mongodb/northwind", "test", ""); ResultSet rs = conn.getMetaData().getColumns("mongodb", "northwind", "abc_def", "%"); Exception in thread "main" java.sql.SQLException: Query failed (#20171115_032644_00023_q7v98): tableName is null at com.facebook.presto.jdbc.PrestoResultSet.resultsException(PrestoResultSet.java:1802) at com.facebook.presto.jdbc.PrestoResultSet$ResultsPageIterator.computeNext(PrestoResultSet.java:1790) at com.facebook.presto.jdbc.PrestoResultSet$ResultsPageIterator.computeNext(PrestoResultSet.java:1756) at com.facebook.presto.jdbc.internal.guava.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145) at com.facebook.presto.jdbc.internal.guava.collect.AbstractIterator.hasNext(AbstractIterator.java:140) at com.facebook.presto.jdbc.internal.guava.collect.TransformedIterator.hasNext(TransformedIterator.java:42) at com.facebook.presto.jdbc.internal.guava.collect.MultitransformedIterator.hasNext(MultitransformedIterator.java:50) at com.facebook.presto.jdbc.internal.guava.collect.MultitransformedIterator.hasNext(MultitransformedIterator.java:50) at com.facebook.presto.jdbc.PrestoResultSet.next(PrestoResultSet.java:149) username_0: Server Exception java.lang.NullPointerException: tableName is null at com.facebook.presto.spi.SchemaUtil.checkNotEmpty(SchemaUtil.java:25) at com.facebook.presto.spi.SchemaTableName.<init>(SchemaTableName.java:33) at com.facebook.presto.mongodb.MongoMetadata.listTables(MongoMetadata.java:287) at com.facebook.presto.mongodb.MongoMetadata.listTableColumns(MongoMetadata.java:127) at com.facebook.presto.metadata.MetadataManager.listTableColumns(MetadataManager.java:413) at com.facebook.presto.metadata.MetadataListing.listTableColumns(MetadataListing.java:93) at com.facebook.presto.connector.system.jdbc.ColumnJdbcTable.cursor(ColumnJdbcTable.java:126) at com.facebook.presto.connector.system.SystemPageSourceProvider$1.cursor(SystemPageSourceProvider.java:125) at com.facebook.presto.split.MappedRecordSet.cursor(MappedRecordSet.java:53) at com.facebook.presto.spi.RecordPageSource.<init>(RecordPageSource.java:37) at com.facebook.presto.connector.system.SystemPageSourceProvider.createPageSource(SystemPageSourceProvider.java:104) at com.facebook.presto.split.PageSourceManager.createPageSource(PageSourceManager.java:56) at com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:219) at com.facebook.presto.operator.Driver.processInternal(Driver.java:337) at com.facebook.presto.operator.Driver.lambda$processFor$6(Driver.java:241) at com.facebook.presto.operator.Driver.tryWithLock(Driver.java:614) at com.facebook.presto.operator.Driver.processFor(Driver.java:235) at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:622) at com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163) at com.facebook.presto.execution.executor.LegacyPrioritizedSplitRunner.process(LegacyPrioritizedSplitRunner.java:23) at com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:492) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
keplergl/kepler.gl
636234505
Title: Map is not saved Question: username_0: Hi, I saved my styled map with `.config` and 'Save Notebook Widget state', but when I re-open the code file, it does not show the same styled map. It goes to the default mode. How can I save the map? <img width="1051" alt="스크린샷 2020-06-10 오후 10 03 59" src="https://user-images.githubusercontent.com/64841056/84271616-4b358000-ab67-11ea-992f-a2c3bb0ae581.png"> <img width="766" alt="스크린샷 2020-06-10 오후 10 03 02" src="https://user-images.githubusercontent.com/64841056/84271624-4cff4380-ab67-11ea-9841-96e255ec3659.png"> Answers: username_1: Hello I'm using json for points and geojson for non point objects. This is my code
febobo/JS-EveryDay-Question
431452420
Title: JS每日一题:如何理解react中setState? Question: username_0: 合并当前state与nextSate,触发UI更新的主要方法,支持可选的回调函数,回调在setState执行完毕并且组件重新渲染完成之后调用 在了解其基本概念后,我们来简单梳理一下,setState是如何做到的 开始之前我们先看一段代码 ``` constructor() { super(); this.state = { val: 0 }; } componentDidMount() { this.setState({val: this.state.val + 1}); console.log(this.state.val); // 第 1 次 log this.setState({val: this.state.val + 1}); console.log(this.state.val); // 第 2 次 log setTimeout(() => { this.setState({val: this.state.val + 1}); console.log(this.state.val); // 第 3 次 log this.setState({val: this.state.val + 1}); console.log(this.state.val); // 第 4 次 log }, 0); } ``` 四次log的值为0,0,2,3, 答案不重要,为什么才重要 ``` // 源码位置 https://github.com/facebook/react/blob/35962a00084382b49d1f9e3bd36612925f360e5b/src/renderers/shared/reconciler/ReactUpdates.js#L199 // 篇幅原因我们只取核心代码 function enqueueUpdate(component) { ensureInjected(); // Various parts of our code (such as ReactCompositeComponent's // _renderValidatedComponent) assume that calls to render aren't nested; // verify that that's the case. (This is called by each top-level update // function, like setProps, setState, forceUpdate, etc.; creation and // destruction of top-level components is guarded in ReactMount.) if (!batchingStrategy.isBatchingUpdates) { // 若 isBatchingUpdates 为 false, 先不管这个 batchingStrategy, 并将当成batchingStrategy 状态置为true batchingStrategy.batchedUpdates(enqueueUpdate, component); return; } // 若 isBatchingUpdates 为 true,则把当前组件放入 dirtyComponents 数组中 dirtyComponents.push(component); } // batchingStrategy 定义 var batchingStrategy = { // 这个标志来标记是否处于一次 batchupdates 中 isBatchingUpdates: false, [Truncated] console.log(this.state.val); // 存入dirtyComponents this.setState({val: this.state.val + 1}); console.log(this.state.val); // 存入dirtyComponents setTimeout(() => { this.setState({val: this.state.val + 1}); // 这里为 this.setState({val: 1 + 1}),立即更新所以后面this.state.val值为2 console.log(this.state.val); // 2 this.setState({val: this.state.val + 1}); // 同理 2 + 1 console.log(this.state.val); // 3 }, 0); ``` #### 总结 - setState是否立即更新与调用栈有关 - 通过isBatchingUpdates字段来判断组件是否处于一次batchupdates中 - 需要同步的逻辑最好写在回调函数中
tomhoover/home-assistant_config
506036382
Title: Error while executing automation ... Unknown error for call_service at pos 1 Question: username_0: The first time this occurred, I opened an issue at https://github.com/home-assistant/home-assistant/issues/23510. Nate [responded](https://github.com/home-assistant/home-assistant/issues/23510#issuecomment-488262285) that it was actually a problem with discovery. After troubleshooting the discovery issue, I corrected the problem. The problem started occurring again, and I couldn't remember what I did to correct it. This issue is created as a reminder for if/when the problem reoccurs. The problem occurs as a result of **Disable IGMP Proxying** being selected within the configuration of my Orbi Mesh Router (possibly during firmware upgrades?). To correct the problem, select *Advanced* / *Setup* / *WAN Setup* in the Orbi interface. Uncheck *Disable IGMP Proxying* and select *Apply*. Before: <img width="1392" alt="Screen Shot 2019-10-11 at 2 55 36 PM" src="https://user-images.githubusercontent.com/159040/66681628-b4f83580-ec38-11e9-8d51-de1ad43c63c9.png"> After: <img width="1392" alt="Screen Shot 2019-10-11 at 2 56 32 PM" src="https://user-images.githubusercontent.com/159040/66681651-c17c8e00-ec38-11e9-9d21-33f3ec92ad38.png"><issue_closed> Status: Issue closed
jlippold/tweakCompatible
339139706
Title: `tweakCompatible` working on iOS 11.3.1 Question: username_0: ``` { "packageId": "bz.jed.tweakcompatible", "action": "working", "userInfo": { "arch32": false, "packageId": "bz.jed.tweakcompatible", "deviceId": "iPhone10,5", "url": "http://cydia.saurik.com/package/bz.jed.tweakcompatible/", "iOSVersion": "11.3.1", "packageVersionIndexed": true, "packageName": "tweakCompatible", "category": "Tweaks", "repository": "BigBoss", "name": "tweakCompatible", "packageIndexed": true, "packageStatusExplaination": "This package version has been marked as Working based on feedback from users in the community. The current positive rating is 100% with 9 working reports.", "id": "bz.jed.tweakcompatible", "commercial": false, "packageInstalled": true, "tweakCompatVersion": "0.0.7", "shortDescription": "Adds a way to check tweak compatibility in cydia", "latest": "0.0.7", "author": "treAson", "packageStatus": "Working" }, "base64": "<KEY>", "chosenStatus": "working", "notes": "" } ```
wolf99/test-ceedling-gcov
305444752
Title: html report not generating Question: username_0: Hi @username_1 below is my project file :gcov: :html_report_type: detailed :gcov_linker: :executable: gcc-5 :arguments: - -ftest-coverage - -fprofile-arcs - -O0 # never optimize for this - ${1} - -lm - -D$: COLLECTION_DEFINES_TEST_AND_VENDOR - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE - -o ${2} :gcov_fixture: :executable: ${1} :gcov_report: :executable: gcov :arguments: - -n - -p - -b - -o "$": GCOV_BUILD_OUTPUT_PATH - ""${1}"" :gcov_post_report: :executable: gcovr :optional: FALSE :arguments: - -p - -b - -e '.tools.|.build.|.vendor/ceedling.|.test/test.' - --object-directory= "$": GCOV_BUILD_OUTPUT_PATH - --html - --html-details - -o build/artifacts/gcov/index.html with above configuration i am able build test cases with out any error by using ceedling gcov:all but it is not generating html coverage report can you please help me . Answers: username_1: Hi, @username_0 can you let me know what version of gcovr you have installed? (gcovr has a `--version` option to find this). username_0: Hi @username_1 thanks for update i am getting below error when i am trying to run gcovr in windows command line , i did not install gcovr separately it is already installed along with python, available in this path C:\python36\Scripts\gcovr. 'gcovr' is not recognized as an internal or external command, operable program or batch file. thanks suresh username_1: In this case you will likely need to use the command as follows `python gcovr --version` username_0: i have tried that command it is giving below error python: can't open file 'gcovr': [Errno 2] No such file or directory python details what i have Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32 username_1: And what's the output you got from `ceedling utils:gocv`? username_0: Hi @username_1 below response i am getting for that command Creating a detailed html report of gcov results in build/artifacts/gcov/GcovCoverageResults.html... rake aborted! Errno::ENOENT: No such file or directory - gcovr -p -b -e "'^vendor.*|^build.*|^test.*|^lib.*'" --html --html-details -r . -o "build/artifacts/gcov/Gco vCoverageResults.html" C:/Users/sit8cob/Desktop/UnitTest6.02.02/UnitTestCgms/vendor/ceedling/lib/ceedling/system_wrapper.rb:45:in ``' C:/Users/sit8cob/Desktop/UnitTest6.02.02/UnitTestCgms/vendor/ceedling/lib/ceedling/system_wrapper.rb:45:in `shell_backticks' C:/Users/sit8cob/Desktop/UnitTest6.02.02/UnitTestCgms/vendor/ceedling/lib/ceedling/tool_executor.rb:68:in `exec' vendor/ceedling/plugins/gcov/gcov.rake:168:in `block (2 levels) in <top (required)>' C:/Ruby23/bin/ceedling:23:in `load' C:/Ruby23/bin/ceedling:23:in `<main>' Tasks: TOP => utils:gcov (See full trace by running task with --trace) ERROR: Ceedling Failed username_1: I'm not fully sure if this is a ceedling error or a gcovr error as gcovr has seen a lot of development around similar issues recently (which is why I asked for the gcovr version). But, if you are not even able to get gcovr to tell you it's version then you may need to uninstall and re-install gcovr. See if you can install it and get it to run with a simple hello-world type program. Other than this I'll have to direct you back to the ceedling or gcovr repositories as they would likely have better knowledge than I.
jhipster/generator-jhipster
143538104
Title: Delete entity Question: username_0: Helllo guys ##### **Overview of the issue** I, buy mistake added an entity that i don't need. How can I remove it ?? ##### **JHipster Version(s)** 2.27.1 Answers: username_1: Easiest way is to use Git to rollback the code. I'm sorry but this shouldn't be a ticket, next time please use StackOverflow for this kind of questions. Status: Issue closed username_0: Okay thnaks :)
the-carlisle-group/Acre-Desktop
289038350
Title: OpenProject fails in 4.0.3 Question: username_0: ]acre.openproject C:\T\Acre-4\Carlisle\AcreDesktop_Testcases Acre 4.0.3 2018-01-16 Opening from C:/T/Acre-4/Carlisle/AcreDesktop_Testcases/ into #.AcreDesktop_Testcases Creating Source folder FILE NAME ERROR: Invalid directory name ("The system cannot find the file specified.") folderObj[2] p t s d←0 1 2 3 ⎕NINFO⍠1⊢dir,'*' ∧ dir C:/T/Acre-4/Carlisle/AcreDesktop_Testcases/.acre/changes/ That does not exist indeed. Answers: username_1: I suspect you are attempting to open an acre-3 project. username_0: I did indeed use acre 3 for this although I fail to understand how. Anyway, acre 4 should recognize that the user attempted to open an acre 3 project and give a warning. username_2: There is no installed base for Acre 3, so I would not waste time coding around it. username_2: not "a lot" of time. username_0: Actually it's any acre project prior to version 4! username_1: Looking for /.acre/changes/ instead of /.acre/ Fixed Status: Issue closed
PaddlePaddle/Paddle
433365203
Title: 新版的paddle如何使用ranknet排序模型? Question: username_0: 有没有example?老版的都找不到啦 http://www.paddlepaddle.org/documentation/models/zh/0.13.0/ltr/README.html 这个网页的demo找不到了 Answers: username_1: https://github.com/PaddlePaddle/models/tree/develop/legacy/ltr 现在的模型放到这个目录下了,这个模型使用的是paddle v2版本 username_0: no model named paddle.v2,请问有没有v2版本的安装说明,github上的安装文档链接报404 ---原始邮件--- username_1: 我们现在已经不再维护v2的代码了,安装fluid 1.0之前的版本会自带v2 username_0: 请问如何安装fluid 1.0之前版本呢,想测试一下排序效果 ---原始邮件--- username_1: 请问你的cuda cudnn python版本分别是多少? username_1: http://www.paddlepaddle.org/documentation/docs/zh/1.0/beginners_guide/install/Start.html 可以参考这个文档 username_0: centos7.3-python3.6.4-cuda8-cudnn6-tensorflow1.4.1-keras2.1.0-pytorch0.3.0 ---原始邮件--- username_1: 我们目前还没有cudnn6可以直接pip安装的版本,需要进行源码编译,还是可以参考上面这个文档 username_0: fluid1.0版本 Windows单机能跑吗 ---原始邮件--- username_1: 可以的,http://www.paddlepaddle.org/documentation/docs/zh/1.0/beginners_guide/install/install_Windows.html
ktbyers/netmiko
193495458
Title: run a debug command Cisco WLC Question: username_0: Hello, We need to do an automation for Cisco WLC using debug command. Is there a way to run a command, save all output to var until we run another command that disable the debug? Answers: username_1: @username_0 If it goes to standard output, you should be able to capture the debugging. This worked on a Cisco IOS device: ``` #!/usr/bin/env python from netmiko import ConnectHandler from netmiko import NetMikoTimeoutException from getpass import getpass import time import sys device = { 'device_type': 'cisco_ios', 'ip': '1.1.1.1', 'username': 'admin', 'password': getpass(), 'port': 22, } # Use a context manager instead with ConnectHandler(**device) as net_connect: output = net_connect.send_command("terminal monitor") output += net_connect.send_command("debug arp") output += net_connect.send_command("clear arp") time.sleep(5) # read everything on standard output output += net_connect.read_channel() net_connect.send_command("undebug all") print print '#' * 50 print output print '#' * 50 print ``` Status: Issue closed
varnish/varnish-modules
217269233
Title: vmod_cookie: cookie.delete does unexpected things with Set-Cookie in vcl_backend_response Question: username_0: ## Abstract I'm not sure if this is really a code bug, a documentation issue, or a feature request. The manpage for `vmod_cookie` never mentions that it should work reliably with the `Set-Cookie` header but it looks like everybody is using it (eg. https://info.varnish-software.com/blog/sticky-session-with-cookies) since `Set-Cookie` isn't collapsible and some VMOD is needed. If this is expected behaviour I think the man page should state which functions are safe to use on `Set-Cookie` and which not. ## Example Take the following stripped down VCL snippet: ``` sub vcl_backend_response { cookie.parse(beresp.http.Set-Cookie); cookie.delete("SESSION"); set beresp.http.Set-Cookie = cookie.get_string(); if (beresp.http.Set-Cookie == "") { unset beresp.http.Set-Cookie; } } ``` and the following header: ``` Set-Cookie: SESSION=ffbafc72-a1ca-412d-ad33-1587045d2750; Max-Age=31536000; path=/; ``` ## Expected Result No `Set-Cookie` header in the response. ## Actual Result I now have a cookie called `Max-Age`: ``` Set-Cookie: Max-Age=31536000; path=/; ``` From an implementation PoV this behaviour does make total sense (how is `parse` supposed to know if it is a `Cookie` or a `Set-Cookie` header it is looking at), it is also totally unexpected. Status: Issue closed Answers: username_1: I actually don't see the issue :-) Written as it is, you have three cookies, SESSION, Max-Age and path. If you want the last two to be attributes of SESSION, you should use commas, not semi-colons. Closing until proven wrong. username_0: Somebody is confused here and it might indeed be me. Let me re-read the RFC to get up to speed with the `Set-Cookie` header syntax again and get back to you. All I remember right now is that it was odd and thus the header isn't collapsible. This is from a real world example though: ``` $ curl -s -I https://db-planet.deutschebahn.com/web/ | grep SESSION Set-Cookie: COYOSESSION=7fab6947-ad07-445a-a8f5-7a2bb0f2ea4c;Max-Age=31536000;path=/;Secure;HttpOnly ``` username_1: Oooooooooooor, it might be me :-) I remembered that the cookie and set-cookie headers had the same syntax. Apparently, that would have been too easy... So, indeed, vmod-cookie shouldn't be used for set-cookie. username_0: Ok, I'm glad I didn't discover yet another corner case of cookie handling :smile: I guess this is a documentation issue then and the `vmod_cookie` man page should point to `vmod_header` for setting cookies. Removing a cookie is actually rather trivial, rewriting one like you do in your blog post quickly gets unwieldy.It would be nice if `vmod_cookie` could use `vmod_header` so one could use the syntactic sugar of the former. username_1: Actually: https://github.com/varnish/varnish-modules/blob/master/src/vmod_cookie.vcc#L13 :-p But thanks for pointing that out, I'll update the blog post and credit you, if you're okay with it. username_0: Yeah, I read that part but thought it was related only to setting new cookies with that helper. Thanks for the credits when you update the post! An idea: Maybe `vmod_cookie` could get two more functions, `parse_req(HTTP http)` and `parse_resp(HTTP http)'`. The former would be the same as calling parse(http.Cookie) while the latter has its own logic. Then `vmod_cookie` could maybe do The Rigth Thing™ depending on context. username_1: @username_0: Just so you know, I corrected the article, the new version should be online shortly. Thanks again for taking the time to correct me.
winkerVSbecks/varun.ca
370427897
Title: Component Based Design System With Styled-System Question: username_0: Love this blog post! Super helpful :) suggested edit: apparently system-components is now part of rebass - https://github.com/rebassjs/components/blob/master/README.md - might be worth updating to point readers there as I believe the old repo is not being maintained :)<issue_closed> Status: Issue closed
bstcine/cine-tasklist
266123732
Title: iOS-Code规范:为Cine.iOS framework 提供合适的 Bundle 资源文件解决方案 Question: username_0: 问题:已提供现有的临时资源文件Bundle,不过该 Bundle 并没有自动加载到工程当中,在作资源文件查询的时候也需要拼接路径。 要求:自动加载 Bundle,并且不用拼接路径来查找资源。 Answers: username_1: 这种项目使用过程遇到的问题写到Wiki上 Status: Issue closed username_2: 问题:同一账号允许多端登录 20190117 by Eelin ``` 描述:用admin_eelin的账号陆续登录PC,IOS/Andriod APP,都能正常学习,且不被强制退出。 要求:不允许同一账号多端同时登录。 ```
ing-bank/lion
1124069880
Title: lion-collapsible event listener are not removed correctly in disconnectedCallback Question: username_0: ## Expected behavior When disconnectedCallback is executed all added event listeners should be removed. ## Actual Behavior The click event listener is not removed, since `.bind(this)` gives a new reference so `this._invokerNode.removeEventListener('click', this.toggle); ` is trying to remove a listener that doesn't exist. https://github.com/ing-bank/lion/blob/28bf12f9eb342737aada21dec2a5fc75e9a19f06/packages/collapsible/src/LionCollapsible.js#L54 https://github.com/ing-bank/lion/blob/28bf12f9eb342737aada21dec2a5fc75e9a19f06/packages/collapsible/src/LionCollapsible.js#L81 ## Additional context [email protected] Here is an [article discussing a solution](https://medium.com/@bigcatplichta/javascript-use-bind-to-dynamically-add-and-remove-event-listeners-d6b443877a73) Answers: username_1: Hey, thanks for the catch 💪 Would you like to do a pull request for this? I think in most other components we solved it already like the article proposed, except we don't rename to `boundMyFunction`. So that would mean: ```js constructor() { super(); .... this.toggle = this.toggle.bind(this); } ``` username_0: I've created a pull request now: #1605
Varrenhunter/CPSC270
132256419
Title: CPSC270-2/8/2016 Question: username_0: **Linked Lists** attach a "next" field to each data item head == address of dummy head node head.next == address of the first node tail == address of the dumy tail node head.next == tail means empty list too.next== tail mean fool is the address of last node cur == address of the current node
bitcoinj/bitcoinj
87396954
Title: Prepare for maven-release-plugin Question: username_0: Originally reported on Google Code with ID 208 ``` I experimented a bit with automation of the release process. If we want to use the maven-release-plugin, we'd need the following changes to our base POM: 1) SCM configuration add <connection>scm:git:https://code.google.com/p/bitcoinj/</connection> to the existing <scm> tag. You should be able to validate this with mvn scm:validate 2) maven-release-plugin configuration add <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.3.1</version> <configuration> <pushChanges>false</pushChanges> </configuration> </plugin> to the existing <build><plugins> tag. This allows you to prepare a release with mvn release:prepare and perform a release with mvn release:perform Note that I intentionally disabled automatic push, because I think pushing should ultimately stay in the hand of the developer. Thus, don't forget to push manually when you are finished with the release. ``` Reported by `andreas.username_3` on 2012-06-13 14:15:50 Answers: username_1: Bisq has a fork for now of bitcoinj, and we are in the process of pushing bitcoinj in our own namespace io.bisq.bitcoinj following http://www.debonair.io/post/maven-cd/, we have our own PR https://github.com/bitsquare/bitcoinj/pull/9 maybe you are interested to do something similar? hence my comment in here Concerning the maven release plugin, i recommend you to not use it, instead keep the pom version to anything-snapshot and use my plugin https://github.com/username_1/git-branch-renamer-maven-plugin Why you would ask? read https://www.waltercedric.com/index.php/development/2212-maven-release-plugin-with-git Moreover we also need deterministic build for Bisq (previously Bitsquare), so i may implement some of your comments. username_2: @username_3 Now that we are using Gradle I think we can close this issue. Status: Issue closed
Matze2010/homebridge-innogyPlatform
756926740
Title: Short howTo or Documentation Question: username_0: Hi Matze, I´m curious about this git repo. Is it to integrate innogy SHC1 or SHC2 into a homebridge environment and if yes, would you be able to share a short how to? I really appreciate as far as I can may use it also. P.S. Wir können auch auf Deutsch schreiben ;-) LG aus Niedersachsen
sam-cogan/arm-ttk-extension
1071215079
Title: custom tests Question: username_0: It would be great if we could point it to a folder with additional custom tests. Answers: username_1: I second this. The extension knows where it clones the arm-ttk repo. With a source folder as parameter, a simple Powershell script could copy the contents of that folder to the folder containing the tests in the repo. username_2: Certainly happy to look at adding this in when I can.
qaprosoft/jenkins-master
550459504
Title: setup by default github pull request builder Question: username_0: To do it manually such steps needed: Manage Jenkins -> Configure System Specify a value for GitHub Server API URL, for example, https://api.github.com Provide GitHub credentials with Admin privileges for your organization Check the "Auto-manage webhooks" param Update "Commit Status Context" to a value such as "qps-infra" Initially let's create credentials with: id: ghprbhook-token username: CHANGE_ME password: <PASSWORD> Decription: Github Pull Request Builder token Answers: username_1: ![image](https://user-images.githubusercontent.com/44428408/73334319-73d67080-427d-11ea-965e-d5646e81063e.png) username_1: https://github.com/qaprosoft/jenkins-master/pull/136 Status: Issue closed username_2: Tested. Fixed. username_2: To do it manually such steps needed: Manage Jenkins -> Configure System Specify a value for GitHub Server API URL, for example, https://api.github.com Provide GitHub credentials with Admin privileges for your organization Check the "Auto-manage webhooks" param Update "Commit Status Context" to a value such as "qps-infra" Initially let's create credentials with: id: ghprbhook-token username: CHANGE_ME password: <PASSWORD> Decription: Github Pull Request Builder token Status: Issue closed
playframework/playframework
139260226
Title: [doc] [2.5.x] Play WS docs some SSL Configs are using list, but the doc mentions a String Question: username_0: ### Play Version (2.5.x / etc) 2.5.x ### API (Scala / Java / Neither / Both) Both ### Actual Behavior Docs are mention a String but in reference.conf it is using a list, and a string will throw an error ### Expected Behavior Docs should change - play.ws.ssl.revocationLists - play.ws.ssl.enabledCipherSuites - play.ws.ssl.enabledProtocols - play.ws.ssl.disabledSignatureAlgorithms - play.ws.ssl. debug To use a list Answers: username_1: @username_0 Do you have a reference I can look at? There is no documentation link attached to this bug, and https://github.com/playframework/playframework/blob/master/documentation/manual/working/commonGuide/configuration/ws/DebuggingSSL.md does not show strings, but boolean properties. username_0: @username_1 these two: - https://www.playframework.com/documentation/2.5.x/CertificateValidation#Disabling-Certificates-with-Weak-Signature-Algorithms - https://www.playframework.com/documentation/2.5.x/CertificateValidation#Disabling-Certificates-With-Weak-Key-Sizes username_1: Where is revocationLists mentioned in CertificateValidation.md? username_0: yeah as said that was a copy paste mistake only: - play.ws.ssl.disabledKeyAlgorithms - play.ws.ssl.disabledSignatureAlgorithms are wrong Status: Issue closed
opnsense/tools
518570131
Title: [ARM] Port OPNsense to the Netgate SG3100 Question: username_0: Hello all, i want to get opnsense on my Netgate SG3100 appliance. (i learned a lot during this project ^^) After hours of debugging, trying and compiling, i got an image, which boots with all the marvell driver loaded <3 But now i'm facing the problem, that OPNsense just gets unresponsive after successful boot :-( ![image](https://user-images.githubusercontent.com/11734245/68315089-8cd4e880-00b7-11ea-9c66-61652a3ff588.png) Any ideas? All the best, René Answers: username_0: when i add a simple "/bin/csh" [here](https://github.com/opnsense/core/blob/4c4da7dfed9cf415580c580126e921757dbb330b/src/sbin/opnsense-shell#L2) it drops me into a shell, and everything seems to work so far. username_1: very strange spot to "hang".. did you configure auto-login on the console? username_0: Next strange thing ... this only occurs over serial output. Over SSH everything works as expected, seems to be a very device specific problem username_1: It's likely /etc/ttys or /etc/login.conf related. username_2: @username_0 Can your serial detect input? I tried with usb-serial, but cannot send input to console. username_0: @username_2 Yes, as said .. when i add a "/bin/csh" [here](https://github.com/opnsense/core/blob/4c4da7dfed9cf415580c580126e921757dbb330b/src/sbin/opnsense-shell#L2), everything works, and i can configure everything. @username_1 goo hint with ttys ... i cann see the followig error, when i reboot the box: ![image](https://user-images.githubusercontent.com/11734245/68391657-691dab00-0168-11ea-8157-f0888a5d359f.png) username_0: So, is there anyone who is able to help me create a flashable image? Currently i dd the arm image to a usb stick, and start it directly from this stickl (u-boot>> usb start ; boot) I recieved a recovery image from netgate, but i have no idea, who to build a opnsense image like this :-( It an .img file, this image file contains a 0.fat file, and a 1.img file. 0.fat seems to be the 1 stage bootloader, and 1.img seems to be the root system. I can also provide this image to one of you if somone is interested or can help :-) username_1: I can't speak for the image, but at least there's one of your issues: there's no ttyvX devices, maybe it's all USB-based, list your /dev/tty* to see what's there. :) username_2: If you can create a tree for each of the item listed on 0.fat and 1.img, I can point you somewhere. OPNsense img also structured like that if extracted from .img. 0.fat is where arm.sh copies /boot or ${STAGEDIR}/boot from OPNsense to /boot/MSDOS or ${STAGEDIR}/boot/msdos, mind you that these had to mounted as of arm.sh, [this](https://github.com/opnsense/tools/blob/master/build/arm.sh#L103) is where the process starts for creating 0.fat. 1.img is where ${STAGEDIR} being converted into usb image. If you reverse the step, you can get the ${STAGEDIR} structure for Netgate recovery image. username_0: Oh, okay ... well, didn't looked so close to the opnsense image yet ^^ Thanks for the explanation, so basically i just need to mount 1.img from the recovery image, find the recovery image which starts on boot, migrate that to the opnsense Souce and build a image with that 🤔 username_0: Okay, i just made a successful flash, i replaced the built in pfsense image with my opnsense image. It really boots up fine, but i recieve a lot of UFS and vfs errors: `UFS /dev/diskid/DISK-0A4A45A0s2a (/) cylinder checksum failed: cg 2, cgp: 0x5d474673 != bp: 0x2c1c94f6` and ``` mmcsd0: Error indicated: 2 Bad CRC g_vfs_done():diskid/DISK-0A4A45A0s2a[WRITE(offset=1047527424, length=32768)]error = 5 ``` And the opnsense shell is still not loaded (so no input is possible) username_0: Here we go: ![image](https://user-images.githubusercontent.com/11734245/68463447-ebf94100-020e-11ea-9a97-9fc3ce718234.png) username_0: Next hint :) as told before, i added /bin/csh at line 2 for debugging, so i can use the serial shell. When i start opnsense-shell again (on the cli), everything is working, the problem only occurs with the "first" shell which starts directly after boot username_1: ttyu0 and ttyu1 are there... can you check that /etc/ttys on the original image match ours? There's no "login:" prompt so it never finds the primary serial (likely ttyu0) maybe also due to some quirk device hint that needs to be set on the hardware. I really don't know. For details see i.e. https://forum.opnsense.org/index.php?topic=6998.msg31097#msg31097 username_1: Second thought.. have you tried to set the thing to serial on the GUI? username_1: Reference: https://github.com/opnsense/tools/blob/master/config/20.1/extras.conf#L29-L37 arm was HDMI so not serial yet, nano has dual console, serial has serial console likewise username_2: You might want to start debug from [here](https://github.com/opnsense/core/blob/master/src/etc/rc.bootup#L128) and look what really happens after system_console_unmute(). I hope you can find something there. username_2: Can we merge arm and nano hook? username_0: Okay ... i fixed it but i dont like it :-D When i remove "banner" [here](https://github.com/opnsense/core/blob/master/src/etc/rc#L204) everything works as expected, at least it seams so. Why is the banner called here, and not the "normal whole" opnsense-shell? username_1: Well, use “set -x” in /usr/local/etc/rc to confirm. Banner is a PHP script but echo-debug should lead you to the blocking call. > username_1: Oh sorry, use set -x in opnsense-shell then. It was changed to launch the banner I see. > username_0: I still try to understand all the rc stuff from freebsd ... when /usr/local/etc/rc is executed on boot, `/usr/local/sbin/opnsense-shell banner` is executed, this script just ends with exit code 0. So everything is fine at this point, but theres nothing whats getting triggerd after that, i think we have to search in this direction... Why is nothing executed after successfully finishing `/usr/local/etc/rc`? username_1: Well, as I said init is done and rc exited zero. There’s no issue except no login prompt appears which is related to tty not spawning due to /etc/ttys misalignment. Try to set serial as primary console and see if that is enough.... 😉 > username_0: Slowly this all make sense to me :-) Tried with the following settings: ![image](https://user-images.githubusercontent.com/11734245/68482924-d8fc6600-023a-11ea-8f1c-36be39d45d52.png) ... still no luck :-( username_2: It's not about freebsd, but it's opnsense feature. It should not prompt you shell after successfull login, but you'll be prompted a cli dashboard to manage opnsense via cli console. There will be a menu to enter a shell, which you have to enter number 8 if I'm not mistaken. It's same with pfsense. username_0: @username_2 yes, if i change [this line](https://github.com/opnsense/core/blob/master/src/etc/rc#L204) to `/usr/local/sbin/opnsense-shell` everything works as expected. The interesting thing we need to troubleshoot is, why the login prompt isnt showing up. As @username_1 already said, this should be /dev/tty* related, but i have no idea how to identify the problem at the moment. @username_1 , other question, i have to implement the whole switch configuration in the gui, do you have tips for me where i should start? These are completely new interfaces which i (or we) have to bring up in the gui. On the FreeBSD site everything is set up and working, so its really only the OPNsense (+gui) -stuff Should i create a separate issue for that? username_1: If you have the time to work on it a plugins.git issue would be good. We’re trying to get the device code to be fully plugin-ready at the moment so that is a good target to work on. Also, most won’t need the switch support so it’s better left out if the core itself. Take a look at the new VXLAN code in core.git master which is how you can get started. Cheers, Franco > username_0: First i want to fix the open issues i am facing at the moment. First, and most annoying is still that there's no login prompt. I now know, that the pfsense image is definitely using /dev/ttyu0 and /dev/ttyu0 is also there in opnsense, so where to start troubleshooting? username_1: @username_0 it might be a good opportunity to ask the manufacturer what is needed to make that happen username_0: So i should ask netgate, why opnsense doesn't show me a login prompt on there branded hardware? :-D username_1: Why not, assuming FreeBSD has the same issue they know how to fix it. Status: Issue closed
adjust/ios_sdk
377220351
Title: How to test for App Secret? Question: username_0: Hello guys, I just wanted to confirm how could I test if an App Secret is working correctly or not? I've already incorporated it into my app, then went to the SDK Signature section in the Adjust dashboard but it says "not enough data" I'm assuming since I've only installed it into a couple of devices?! So, any insight into how I could test if my App Secret is setup correctly would be appreciated. Thanks in advance. Answers: username_1: Hi @username_0, Are you testing in sandbox mode? If yes, were you looking at sandbox traffic in the dashboard? username_0: Thanks @username_1 for the quick reply. Yes I'm testing in sandbox mode. But, I wasn't checking the sandbox data!!! I was also looking into the wrong section it appears! After opening the SDK Signature data, I wasn't able to figure out how to set it to show sandbox data. But going to the statistics page and then turning sandbox mode ON in the filters I was able to see the data! Again, thanks a lot for your help. Status: Issue closed username_1: Glad it worked. I'll close the issue but in case you bump into any other issue or question, feel free to reopen it and ping us in here. Cheers! username_0: I'm sorry but I have another question. Let's say I want to set the `enforce SDK Signature` option to `OFF`. How can I confirm that the App Secret is set correctly? If I set it to `ON` and test on a test-device, that will allow me to confirm by looking into the device data from the test console. As the app containing the app secret will have its `TrackName` set to `organic` but the ones without the app secret will be set to `Untrusted Devices::Invalid Signature` From what I understand if you set the `enforce SDK Signature` to `ON` then all applications installed without the app secret will be considered untrusted devices. This will result in all users downloading the app to become untrusted devices. So, I can't set it to `ON` until I release the app containing the app secret. But before releasing it I want to confirm that it works as expected. How can I go about accomplishing that? username_1: Okay, lemme try to go through the feature a bit. Like you said, you have a choice, either to set toggle to ON or OFF. If it's ON, signature from your app installs will be expected by our backend. If install from your app pings our backend with valid app secret, it will be attributed to it's source. If install from your app pings our backend without app secret or with invalid app secret (deactivated or wrong one), it will be attributed to untrusted devices. If it's OFF, signature with your app installs is not something our backend will need to attribute installs to their source. If install from your app comes without app secret, it will be attributed to it's source. If install from your apps comes with valid app secret (valid means the one from your app secrets from the dashboard that is active and not deactivated), it will still be attributed to it's source. If install from your app comes with invalid app secret (deactivated or wrong one), it will be attributed to untrusted devices. If you chose to use app secret and you put it to your app and update it on the app store, switching toggle to ON in the moment when your app is released will not start all of a sudden to treat all your previous app version installs without app secret as untrusted. Those installs are already attributed to it's source and will continue to be treated as such. Switching toggle to ON is only affecting installs which are gonna hit our backend from that moment (moment of switching the toggle) on. I didn't reply you directly to your question, but I hope that this explanation threw some light on doubts you have. In case it didn't, feel free to ping with additional questions. Cheers username_0: Thanks again for the quick reply. Just to confirm I'm understanding you correctly If the toggle is set to ON: 1. App with valid app secret → will be attributed to its source. 1. App with no app secret or with an invalid one (deactivated or wrong one) → will be attributed to untrusted devices. If the toggle is set to OFF: 1. App with valid app secret → will be attributed to its source 1. App with no app secret → will be attributed to its source 1. App with invalid app secret → will be attributed to untrusted devices If that is the case, is there is a way to change the source to which the app is attributed to (while toggle is OFF), so that I can differentiate between apps with a valid app secret and the ones with no app secret? username_1: Your recap - I'd say that's how it is. But, in case you wanna check with people who are really knowledgable when it comes to that and also about your second question, might be good idea to ping either your dedicated account manager or send an email to <EMAIL> because this second question you have kinda goes out of our team's scope. :) username_0: Okay, will do just that! Thanks a lot for your help 🙏
pelias/dbclient
49300083
Title: Invalid bulk payload length Question: username_0: https://github.com/pelias/quattroshapes-pipeline/issues/12 Answers: username_0: closing in favour of https://github.com/geopipes/elasticsearch-indexer/issues/1 Status: Issue closed username_1: Just putting this hear to save others from having to dig: "The error invalid bulk payload length is emitted by pelias/dbclient when it's been asked to submit a bulk index request where the batch length is 0 (ie. the batch is empty)..." https://github.com/pelias/quattroshapes/issues/12
zuoqing1988/ZQCNN
437526840
Title: voc-mobilenetssd的检测问题 Question: username_0: 左博,您好: 我在用您的ZQCNN来部署mobilenet-ssd时,检测结果什么都没有,因此想向您咨询一下。 首先我直接跑了您的SamplesZQCNN文件夹下面的SampleSSD例子,我主要做了如下修改: 1、修改图像源,取消注释39行,注释掉40行 `Mat img1 = cv::imread("../../data/004545.jpg", 1); //Mat img1 = cv::imread("../../data/4_320x240.jpg", 1);` 2、无需进行通道转换,注释48行,取消注释49行 `//cv::cvtColor(img1, img0, CV_BGR2RGB); img0 = img1;` 3、更改模型为voc-mobilenetssd 56行和57行 `if (!detector.Init("../../model/MobileNetSSD_deploy.zqparams", "../../model/MobileNetSSD_deploy.nchwbin", "detection_out")) //if (!detector.Init("../../model/libfacedetection.zqparams", "../../model/libfacedetection.nchwbin", "detection_out"))` 4、修改检测类别 83和88行 编译通过后执行检测,但是无结果输出,不知道什么原因? 输出的log如下: ` in Layer conv0n para bias in Layer conv1/dwara bias in Layer conv1n para bias in Layer conv2/dwara bias in Layer conv2n para bias in Layer conv3/dwara bias in Layer conv3n para bias in Layer conv4/dwara bias in Layer conv4n para bias in Layer conv5/dwara bias in Layer conv5n para bias in Layer conv6/dwara bias in Layer conv6n para bias in Layer conv7/dwara bias in Layer conv7n para bias in Layer conv8/dwara bias in Layer conv8n para bias in Layer conv9/dwara bias in Layer conv9n para bias in Layer conv10/dwra bias in Layer conv10 para bias in Layer conv11/dwra bias in Layer conv11 para bias in Layer conv12/dwra bias in Layer conv12 para bias in Layer conv13/dwra bias in Layer conv13 para bias in Layer conv14_1ara bias in Layer conv14_2ara bias in Layer conv15_1ara bias in Layer conv15_2ara bias in Layer conv16_1ara bias in Layer conv16_2ara bias in Layer conv17_1ara bias in Layer conv17_2ara bias in Layer conv11_mbox_locs in Layer conv11_mbox_conf in Layer conv13_mbox_locs in Layer conv13_mbox_conf in Layer conv14_2_mbox_loc in Layer conv14_2_mbox_conf in Layer conv15_2_mbox_loc in Layer conv15_2_mbox_conf in Layer conv16_2_mbox_loc in Layer conv16_2_mbox_conf in Layer conv17_2_mbox_loc in Layer conv17_2_mbox_conf MulAdd = 1104.072 M [100] times cost 10.536 s, 1 iter cost 105.356 ms [100] times cost 10.499 s, 1 iter cost 104.989 ms [100] times cost 10.552 s, 1 iter cost 105.522 ms [100] times cost 10.558 s, 1 iter cost 105.576 ms [100] times cost 10.579 s, 1 iter cost 105.788 ms [100] times cost 10.553 s, 1 iter cost 105.528 ms [100] times cost 10.569 s, 1 iter cost 105.690 ms [100] times cost 10.626 s, 1 iter cost 106.263 ms [100] times cost 10.633 s, 1 iter cost 106.328 ms [100] times cost 10.527 s, 1 iter cost 105.272 ms` 最后显示的图片无任何检测框。 [我的模型是下载的您已经转换好的voc-mobilenetssd,](https://pan.baidu.com/s/1cyly_17cTOJBaCRiiQtWkQ#list/path=%2F) 我的环境是:Ubuntu16.04 还请左博指导一下具体问题出在哪里?非常感谢 Answers: username_1: 先找个windows机器试试,报的那些in Layer conv0之类的是不正常的,不过也有其他人报这些。我自己也很久没在Linux上跑过了,可能是编译器或者cmake之类的原因,具体情况你自己对照windows调试吧 username_0: 问题解决,感谢左博。 左博的模型参数文件是在Windows下面转换的,文本文件Linux和Windows之间是有差别的,因此需要转一下。可以直接用vim转 vim MobileNetSSD_deploy.zqparams :set fileformat=unix :wq 完美解决 Status: Issue closed
barbushin/php-imap
1062196955
Title: I have a question. If the checked mailbox list cannot be paginated! Do I need to save the checked email details in the local mysql? Question: username_0: **Environment (please complete the following information):** - PHP IMAP version: [e.g. 4.2.1] - PHP Version: [e.g. 7.3] - Type of execution: [e.g. Daemon / CLI or Web Server] **Your Text** I have a question. If the checked mailbox list cannot be paginated! Do I need to save the checked email details in the local mysql? Answers: username_1: This is currently not supported. See #464 for further information. @username_0 for the future, please use the "issues" search first, before you create new issues, which already exists. If there already exists a similar issue, give this a +1 or something, but please avoid creating duplicate issues. Thank you. Status: Issue closed
blockframes/blockframes
1040955369
Title: [CATALOG] Dashboard Sales Page Question: username_0: [Figma](https://www.figma.com/file/bs1vDcQEjbqqPggOYMpdd6/%5B-Deal-Negotiation-%5D?node-id=578%3A145709) [Zeplin](https://app.zeplin.io/project/6171832202b22097ed86fb7d/screen/61718995b5a7779397862537) - [ ] change the name "My Sales" to "My Deals" - [ ] Add filter `OnGoing` that only gets sales with status `negociating` - [ ] change static from `contractStatus` : `undernegotiation: 'Under negotiation', becomes `negotiating: 'In Negotiation'` (file: `libs\utils\src\lib\static-model\static-model.ts`) - [ ] In the list, if the sale has status `negociating`, query the last negociation: ```typescript joinWith({ licensor: (sale: Sale) => ..., licensee: (sale: Sale) => ..., title: (sale: Sale) => ..., price: (sale: Sale) => ..., negociation: (sale: Sale) => sale.status === 'negociating' : this.contractService.lastNegociation(sale.id) : null }) ``` - [ ] Add new column "Negotiation stage": check the last negociation of the contract, - `negocation.createdByOrg !== activeOrgId`: "To be reviewed" - `negocation.createdByOrg === activeOrgId`: "Waiting for {{ orgName }} answer". (note: here orgName is the contract.buyerId).<issue_closed> Status: Issue closed
Holzhaus/mixxx-gh-issue-migration
873390715
Title: [latenight] search bar gain focus on track preview + mouse move Question: username_0: Using 1.12 beta r5472 64bits on windows seven 64bits and the latenight skin: When clicking on the "headphone" (preview) icon in the library track list, the icon changes from "headphone + play" to "headphone + pause". Then, if you move the mouse pointer over another track, the search bar gain focus. When this happens, sometimes (didn't clearly figure how to reproduce), you can not stop preview by clicking on the "headphone+pause" preview button. You have to select a track first, then you can use that icon again.
Meiguro/simplyjs
269363553
Title: Contact Question: username_0: Hi. I wanted to email you about a project I'm working on that has a lot in common with pebble.js, but I can't find a way to contact you. If you see this, please message me at username_0 at 'big G' dot com. :-)
tiredofit/docker-openldap-fusiondirectory
606788742
Title: enable memberof and ou for users entries Question: username_0: Hello, I deploy docker image of this openldap and fusiondirectory app to manage my ldap and through the web interface i can add users but none of them Hadès attribute memberof or OU despite i had users as members of groups. It seem that that attributes are not enable... Answers: username_1: The memberof Overlay comes default in this image - installed during initial bootstrap with this LDIF: https://github.com/username_1/docker-openldap/blob/master/install/assets/slapd/config/bootstrap/ldif/03-memberOf.ldif username_0: Hello @username_1 thanks for your response, it seem that my installation do not enable this module at the launching, seems that any boostrap script do not lauch. now i already had many users and groups ...there is no entry dn: cn=module{0},cn=config. How can i fix it? username_1: I"ll need to see full debug logs from both containers (`DEBUG_MODE=TRUE`). Best if you email those over to me at dave at username_1 dot ca username_0: Have you received? username_0: OK it seems that the problem was related to backend HDB ..when you choose it it seem that there is a bug with some bootstrap script so i had to create another deployment with default backend mdb so the memberof is available now . I still got an issue with the attributes OU of organizationalPerson class, it is still blank. Do someone know how to fill it directly with this image? OU mus have the value of organisational unit of the user ..
Wmaarts/pitest-mutation-testing-elements-plugin
566685431
Title: Problem resolving plugin v0.2.0 with Gradle Question: username_0: ``` Answers: username_1: Hi! Thanks for opening this issue. Looking at the published [POM](https://repo1.maven.org/maven2/io/github/wmaarts/pitest-mutation-testing-elements-plugin/0.2.0/pitest-mutation-testing-elements-plugin-0.2.0.pom), it looks like that's where Gradle gets the development version (`MASTER-SNAPSHOT`) from instead of with the release tag version. We change the version when publishing with a java property (`-Drevision=...`) so the artifact is published with the correct version. It then has the correct version in the `pom.properties`, but the development version in the source `pom.xml`. It looks like Gradle has slightly different behaviour compared to Maven when resolving artifacts. I'm not sure what the best way to fix this is. Perhaps the release process should be changed back to a commit-per-release... Status: Issue closed username_2: ``` username_2: Thanks @username_0 and @username_1 ! As mentioned @username_1 attempted a fix for this, but I have to test this still, so I'm reopening this issue for now. Status: Issue closed username_2: @username_0 the `0.2.1` release does work now for gradle. 👍 ``` buildscript { repositories { mavenCentral() } configurations.maybeCreate('pitest') dependencies { classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.6' pitest 'io.github.wmaarts:pitest-mutation-testing-elements-plugin:0.2.1' } } ``` Closing this. Thanks again for the fix @username_1. 😊
merely-useful/merely-useful.github.io
440469644
Title: Proposal: develop 4-6 exercises per hour of lesson before writing new lessons Question: username_0: ## Proposal Working backward from exercises that check learners' understanding to the content of the lessons that prepare them for those exercises helps clarify objectives and keep development focused. Given how many of us there are, and how disparate our backgrounds, creating exercises before writing new material should help get us pulling in the same direction. ## Mechanics 1. For all new chapters, authors should create 4-6 exercises corresponding to each hour of classroom instruction. (We use the classroom-hour as the unit because most of us have a pretty good idea of how much we can cover in that time.) 2. Each exercise goes in a file `meaningful-name.Rmd` in the sub-directory corresponding to the book (`r` for novice R, `py` for novice Python, `rse` for intermediate material). Each of these files has a level-3 heading `### Meaningful Name`, the text of the exercise (including code samples and diagrams), and the fully worked out solution under a level-4 heading `#### Solution`. 3. Each exercise is added in a separate pull request. That pull request also adds code to `novice-r-exercises.Rmd`, `novice-py-exercises.Rmd`, or `rse-exercises.Rmd` to include the file as a child document. (See the inclusion of questions, objectives, and key points for mechanics.) 4. As exercises accumulate, we will add level-2 section headings to `*-exercises.Rmd` corresponding to the chapters of each book (which in turn correspond to classroom lecture hours). ## Pros and Cons Pro: - Creating exercises will help us agree on what "basic plotting" means faster and more accurately than bullet points. - Using child documents and inclusion will make it easier to shuffle these around as we adjust scope. - Exercises are short, and therefore a good way to ease into writing. Con: - Some people may initially find it hard to write exercises for lessons that don't exist yet. ## Possible Alternatives - *Write lessons, then exercises.* People may be more comfortable doing this. - *Write both in tandem.* Particularly if people are recycling existing material.<issue_closed> Status: Issue closed
jupyter/notebook
343109592
Title: imagio//tifffile: Kernel crashes. Question: username_0: When I use the module imagio to load a tiff , while having installed the tifffile package , the kernel crashes and restarts. It worked for some time, but suddenly I got this issue. After it occured I reinstalled everything in a clean conda env, but it persists. The bug disappears when I uninstall tifffile. (which I installed with pip). Also I have conda_notebook installed which allows me to choose the different environments.<issue_closed> Status: Issue closed
bytesparadise/libasciidoc
1139206800
Title: invalid rendering of smart quotes in table of contents Question: username_0: for example: ``` = title :toc: == "`smart`" quotes ``` gives ``` <div id="toc" class="toc"> <div id="toctitle">Table of Contents</div> <ul class="sectlevel1"> <li><a href="#_smart_quotes">&{" [0xc0000717f0]} quotes</a></li> </ul> </div> <div class="sect1"> <h2 id="_smart_quotes">&#8220;smart&#8221; quotes</h2> <div class="sectionbody"> </div> </div> ```<issue_closed> Status: Issue closed
iamgdevvv/gundalascroll
1064050665
Title: Class Name Hilang Jika GundalaScroll Aktif Question: username_0: Ketika gundalascroll digabungkan dengan code js dibawah ini dan ketika gundalascrool aktif maka code dibawah ini hilang. ``` var targetSticky = $(".site-header"); var positionTop = 0; $(window).on('scroll', function () { var scroll = $(window).scrollTop(); if (scroll > 0) { targetSticky.addClass('sticky-active'); if (scroll < positionTop) { targetSticky.addClass('sticky-up'); targetSticky.removeClass('sticky-down'); } else { targetSticky.addClass('sticky-down'); targetSticky.removeClass('sticky-up'); } } else { targetSticky.removeClass('sticky-active'); targetSticky.removeClass('sticky-up'); targetSticky.removeClass('sticky-down'); } positionTop = scroll; }); ```
openjfx/openjfx-docs
550923733
Title: Improvement on Cross-platform jar section Question: username_0: Originally our project pom had 3 openjfx dependencies declared in the pom. Worked great locally on windows. ``` <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-controls --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-web --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-web</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-swing --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-swing</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> ``` Then the package was assembled by linux based CI-pipeline and the javafx parts wouldn't work on windows anymore because of: ``` java.lang.RuntimeException: No toolkit found at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158) at javafx.embed.swing.JFXPanel.lambda$initFx$1(JFXPanel.java:234) at java.base/java.lang.Thread.run(Thread.java:830) ``` Okay, it's seems that openjfx only downloads binaries for the system its built on. Let's add windows classifier for out three dependencies. ``` <classifier>win</classifier> ``` Maven would download linux and windows binaries for our three dependencies javafx-controls, javafx-web, javafx-swing. That should do it.... Nope still wouldn't work on windows same error about toolkit not found. Here is the part about banging head against a wall for while. Eventually after long time It dawned that these dependencies depend on javafx-graphics. Even though we had declared windows classifier in our pom it wouldn't affect openjfx's dependencies. The solution was to add all of the openjfx's dependencies by hand to our pom and add the classifier by hand. The final pom that worked looked liked this. To ease other peoples suffering please add to openjfx documentation that you will need to manually add openjfx's internal dependencies to your pom and apply classifier for every platform (mac, linux, windows) you wish to support . ``` <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-base --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-base</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-graphics --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-graphics</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-media --> <dependency> [Truncated] <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-web --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-web</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-swing --> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-swing</artifactId> <version>${javafx.version}</version> <classifier>win</classifier> </dependency> ``` Answers: username_1: If you want to develop JavaFX applications using Maven, you don't have to download the JavaFX SDK. Just specify the modules and the versions you want in the pom.xml, and the **build system will download the required modules, including the native libraries for your platform**. But I agree with you, this goes totally against the way java is supposed to be "build once, run anywhere" Did you managed to find a way to solve it? I have exactly the same issue, and I don't want to clone my project to windows just to build and have a "local windows version built" username_1: So in the end you did something like this ? <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>15.0.1</version> <classifier>win</classifier> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>15.0.1</version> </dependency> username_0: First post contains the starting pom we had and, 3 dependencies. The final pom at the end of the post has all the classifiers and dependencies which where required to make those 3 dependencies work on windows when built on linux. I cant really remember more, this was a long time ago. Everything relevant is in the first post.
morepath/morepath
155960046
Title: A directive to add stuff to the request Question: username_0: We solve this now with request subclassing but this is more succinct. Following Pyramid also include reify option. Answers: username_1: how morepath manages multiple extensions subclassing the request for the same app? username_0: Morepath does not manage multiple extensions subclassing the request very well -- you can get a way with subclassing but Pyramid's strategy is cleaner. So for reference here is the idea to steal from Pyramid: http://docs.pylonsproject.org/projects/pyramid/en/latest/api/config.html#pyramid.config.Configurator.add_request_method In Morepath terms: ``` @App.request_method(name='my_method') def my_method(self, arg): # self is the current request .... ``` The ``name`` determines under what name the value is added to the request. We need to work out the other functionality that Pyramid supplies: passing in a property descriptor (seems overkill), and reify. I think reify is the most useful: `` @App.request_value(name='session') def session(self): # self is the current request # this gets called only once the first time you try to access the session property return something ``` I'm inclined to make this a separate directive myself, but perhaps there are reasons to do this with a knob on ``request_method`` instead.
EDIorg/EMLassemblyline
603741689
Title: Suggestion: adding temporal coverage features Question: username_0: Temporal coverage is here describing the entire project time, and it can be of interest to propose a way to describe temporal coverage for each data file and/or on the abstract/methods/additional info sections for each distincts project steps
TUT-ASI/thesis-template
323662298
Title: There should only be 1 annotation Question: username_0: English version currently also includes Estonian annotation, but according to new rules it is no longer needed. Answers: username_0: Now you have full control over abstracts in thesis.tex: https://github.com/TUT-ASI/thesis-template/blob/626b26d9cb2c958444c684320437f93cc7c4d2d7/thesis.tex#L74-L77 Just comment out the one you don't want, and you can also change the order if that's needed. Status: Issue closed
jdf2e/nutui
851276476
Title: [bug]swiper组件在路由跳转在回退时实现重复nut-swiper-wrap内容。 Question: username_0: ## 问题描述 swiper组件在路由跳转在回退时实现重复nut-swiper-wrap内容。把loop和autoPlay去掉就不会出现这个问题。 ## 复现步骤,具体代码 <nut-swiper direction="horizontal" loop paginationVisible :autoPlay="3000"> <div v-for="(item,index) in swiperlist" :key="index" class="nut-swiper-slide"> <img :src="item.img" style="width: 100%;height: 100%;"/> </div> </nut-swiper> ## 相关环境信息 - **操作系统**:Win10 x64 - **Node 版本**:14 - **NutUI 版本**: @nutui/[email protected] - **Vue 版本**:2.0 - **引用方式**: NPM<issue_closed> Status: Issue closed
ialisme/fed.ialis.me
231908185
Title: Guide: introduction Question: username_0: Introduction guide to the fediverse. Explain all the things, but mostly the big picture. Will be published at https://fed.ialis.me/introduction/ Content file is at `_i18n/en/introduction/content.md`. Also an excerpt could be done to display on the home page in `_i18n/en/index/introduction.md`. Answers: username_1: I will work on this, thx
18F/html-proofer-docker
193341135
Title: Last rebuild 6 months ago. Rebuild automatically Question: username_0: You can set up the project at Docker hub so that it rebuilds the project when a new version of the downstream image "docker" is being built. You can do this at https://hub.docker.com/r/18fgsa/html-proofer/~/settings/automated-builds/ Section Repository Links Answers: username_1: Good call, thanks! Done. Status: Issue closed
Roshan1130/Wilmington-University
381397087
Title: product feature Question: username_0: securitySSL certificate: establishes secure connectivity between a user and the websiteTwo-factor authentication: adds an extra layer of security by requiring username/password and a system-generated code sent via email Use a firewall
WarEmu/WarBugs
394818474
Title: [Quest] The Dark One (Norsca, destro) Quest marker missing/misplaced/doubled Question: username_0: The quest marker for the objective "Find Bloody Pike" appears twice at different positions while the markers for the other two objectives are missing. ![the dark one 1](https://user-images.githubusercontent.com/30193675/50541439-56c8fd00-0ba6-11e9-955b-e747271e824c.jpg) ![the dark one 2](https://user-images.githubusercontent.com/30193675/50541440-56c8fd00-0ba6-11e9-88c1-d54abbd4fe48.jpg) Answers: username_1: @Kabucoror - forgot this one ? Afaik is also fixed next patch username_1: fixed with first patch of the year 2019 (05.01.2019) Status: Issue closed
electron/electron
164783683
Title: Launching electron.exe while offline causes the executable to terminate immediately Question: username_0: * Electron version: `electron-v1.2.6-win32-x64` * Operating system: `Windows 10 Home (version 1511; build 10586.420)` As reported from [here](https://github.com/Microsoft/vscode/issues/7570) - I came across the issue while trying to launch Visual Studio Code without an internet connection. I also confirmed the behaviour with versions of Electron as far back as `electron-v0.37.6-win32-x64`. Answers: username_1: @username_0 I can't replicate this issue on Windows 10 Home. Launching in all the following configs works as expected. * No network connection * No internet connection * Internet connection but blocking all Electron communication Is their anything else super specific about your setup. Or perhaps this is an issue in VS Code where it is trying to connect to somewhere and isn't handling the errors nicely? username_0: @username_1 I'm not entirely sure. As you can see in the referenced issue [here](https://github.com/Microsoft/vscode/issues/7570), it doesn't seem to be anything specific to VS Code for myself (or the other reporters/maintainers). As I'm not familiar with the electron codebase and the appropriate ways to debug the issue between an app written using electron and electron itself, maybe you could give me some guidance on a way that I would be able to answer your question? Is there a low-level logging functionality that I can grab a log from? Can I get debug-level output on the command line? If so, how can I enable this and get you the information that you require? To give you some background - I installed VS Code on my personal laptop, opened it, installed a few modules to make it match my development environment (C#, Markdown Formatter, etc.) and then jumped on a plane. Unfortunately, while on the plane, I could not launch VS Code at all - presumably because I was offline, as that was the only difference I can ascertain. I have now landed at my destination, and proceeded to find and update the linked issue, and was directed over here by @username_11 because he (and @Tyriar) believe it to be an issue in electron itself. Maybe between us all we can figure out what's going on? Or they can help you with how they use `electron` in `vscode`? username_1: Easiest way to determine if this is an Electron issue is to download the latest Electron dist for windows. https://github.com/electron/electron/releases/download/v1.2.6/electron-v1.2.6-win32-x64.zip And disconnect from the network on your laptop and see if the same issue occurs. If it doesn't occur then something inside VSCode is causing a crash. As for finding logs I don't know if VS Code has a log file anywhere. But we can get chromium logs and normal console logs by launching VS Code from the command line. Find where the VS Code executable is and launch it with ```bash set ELECTRON_ENABLE_LOGGING=true VSCode.exe ``` username_0: Thanks for letting me know about the `ELECTRON_ENABLE_LOGGING` but nothing seemed to change. As I've said in the original report of this issue, and the linked ticket, I've already done this with versions `1.2.6` and `0.37.6` to check that it was an issue with `electron` as well as `vscode`. Please see the attached gif below for the simplified behaviour I am trying to report: ![debugging_electron_launch](https://cloud.githubusercontent.com/assets/165343/16727936/d0291202-4763-11e6-9259-18d71646c58d.gif) If anything is still unclear, or if I can help you by getting any additional information from my machine, please let me know. username_1: Passing this on to someone else. I just tried this on 3 different windows machines, 2 of which are running windows 10 home and I can't reproduce the issue on any of them. One last thing to ask @username_0 can you run `electron.exe` with airplane mode on and check if the process actually starts. (Watch Task Manager). And can you check your windows application logs, sometimes crashes end up in there username_0: I can confirm that *no process starts* (nothing additional in Task Manager) for either `electron.exe` or `code.exe` when Airplane Mode is enabled. Additionally, nothing is available in the Event Logs under Application (or System - just in case) Thanks for your help so far. username_0: Hey @username_2 - what more information do you need? I'll gladly supply any other information, you'll just have to ask. username_2: @username_0 Can you set the `ELECTRON_ENABLE_STACK_DUMPING` environment variable along with `ELECTRON_ENABLE_LOGGING` and see if there is any output? And if it still prints nothing, can you also try debugging Electron in a debugger with following steps: 1. [Install windbg as standalone tool](https://msdn.microsoft.com/en-us/library/windows/hardware/ff551063%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396) 2. [Add Electron's symbol server to windbg](http://electron.atom.io/docs/development/setting-up-symbol-server/#using-the-symbol-server-in-windbg) 3. Use windbg to execute Electron and paste the call stack. username_0: Still nothing using the Environment variables (set via Powershell for the session): ![debugging_electron_launch_2](https://cloud.githubusercontent.com/assets/165343/16758197/98f2f566-4810-11e6-96b4-1fce6e18568c.gif) Here's the full set-up and call stack from when the app crashes without internet - generated by launching electron.exe, downloading the symbols from your link, and then turning airplane mode on and executing it again. Hope this helps. ``` CommandLine: D:\Code\electron-v1.2.6-win32-x64\electron.exe WARNING: Whitespace at end of path element ************* Symbol Path validation summary ************** Response Time (ms) Location Deferred SRV*D:\code\symbols\*http://msdl.microsoft.com/download/symbols Symbol search path is: SRV*D:\code\symbols\*http://msdl.microsoft.com/download/symbols;SRV*D:\code\symbols\*http://172.16.31.10:8086/atom-shell/symbols Executable search path is: ModLoad: 00007ff6`2de20000 00007ff6`32f93000 electron.exe ModLoad: 00007ffa`2c8a0000 00007ffa`2ca61000 ntdll.dll ModLoad: 00007ffa`2ad50000 00007ffa`2adfd000 C:\WINDOWS\system32\KERNEL32.DLL ModLoad: 00007ffa`29a20000 00007ffa`29c08000 C:\WINDOWS\system32\KERNELBASE.dll ModLoad: 00007ff9`e9250000 00007ff9`ea1b8000 D:\Code\electron-v1.2.6-win32-x64\node.dll ModLoad: 00007ffa`2a340000 00007ffa`2a44b000 C:\WINDOWS\system32\COMDLG32.dll ModLoad: 00007ffa`24c90000 00007ffa`24f04000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_8c15ae12515e1c22\COMCTL32.dll ModLoad: 00007ffa`2c7f0000 00007ffa`2c88d000 C:\WINDOWS\system32\msvcrt.dll ModLoad: 00007ffa`2a8c0000 00007ffa`2ab3d000 C:\WINDOWS\system32\combase.dll ModLoad: 00007ffa`29830000 00007ffa`298e5000 C:\WINDOWS\system32\shcore.dll ModLoad: 00007ffa`2ab40000 00007ffa`2ac5c000 C:\WINDOWS\system32\RPCRT4.dll ModLoad: 00007ffa`2ae00000 00007ffa`2ae6b000 C:\WINDOWS\system32\WS2_32.dll ModLoad: 00007ffa`2a580000 00007ffa`2a6d6000 C:\WINDOWS\system32\USER32.dll ModLoad: 00007ffa`295f0000 00007ffa`2965a000 C:\WINDOWS\system32\bcryptPrimitives.dll ModLoad: 00007ffa`2a520000 00007ffa`2a57b000 C:\WINDOWS\system32\sechost.dll ModLoad: 00007ffa`2ae90000 00007ffa`2b016000 C:\WINDOWS\system32\GDI32.dll ModLoad: 00007ffa`2a760000 00007ffa`2a768000 C:\WINDOWS\system32\PSAPI.DLL ModLoad: 00007ffa`29ca0000 00007ffa`29d47000 C:\WINDOWS\system32\ADVAPI32.dll ModLoad: 00007ffa`2c790000 00007ffa`2c7e2000 C:\WINDOWS\system32\SHLWAPI.dll ModLoad: 00007ffa`2b230000 00007ffa`2c78c000 C:\WINDOWS\system32\SHELL32.dll ModLoad: 00007ffa`27140000 00007ffa`27163000 C:\WINDOWS\SYSTEM32\WINMM.dll ModLoad: 00007ffa`28620000 00007ffa`2863f000 C:\WINDOWS\SYSTEM32\USERENV.dll ModLoad: 00007ffa`235b0000 00007ffa`235e8000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL ModLoad: 00007ffa`28f50000 00007ffa`28f93000 C:\WINDOWS\system32\cfgmgr32.dll ModLoad: 00007ffa`28ed0000 00007ffa`28ee4000 C:\WINDOWS\system32\profapi.dll ModLoad: 00007ffa`28fa0000 00007ffa`295e4000 C:\WINDOWS\system32\windows.storage.dll ModLoad: 00007ffa`270e0000 00007ffa`2710c000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll ModLoad: 00007ffa`28de0000 00007ffa`28deb000 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL ModLoad: 00007ffa`28ec0000 00007ffa`28ecf000 C:\WINDOWS\system32\kernel.appcore.dll ModLoad: 00007ffa`28f00000 00007ffa`28f4b000 C:\WINDOWS\system32\powrprof.dll ModLoad: 00007ffa`29c10000 00007ffa`29c96000 C:\WINDOWS\system32\FirewallAPI.dll ModLoad: 00007ffa`29a00000 00007ffa`29a17000 C:\WINDOWS\system32\NETAPI32.dll ModLoad: 00007ffa`2a770000 00007ffa`2a8b3000 C:\WINDOWS\system32\ole32.dll ModLoad: 00007ff9`f4640000 00007ff9`f49ca000 D:\Code\electron-v1.2.6-win32-x64\ffmpeg.dll ModLoad: 00007ffa`18a00000 00007ffa`18ca9000 C:\WINDOWS\SYSTEM32\WININET.dll ModLoad: 00007ffa`2a450000 00007ffa`2a511000 C:\WINDOWS\system32\OLEAUT32.dll ModLoad: 00007ff9`fc900000 00007ff9`fca8c000 C:\WINDOWS\SYSTEM32\dbghelp.dll ModLoad: 00007ffa`26da0000 00007ffa`26dc2000 C:\WINDOWS\SYSTEM32\dwmapi.dll ModLoad: 00007ffa`22750000 00007ffa`22768000 C:\WINDOWS\SYSTEM32\USP10.dll ModLoad: 00007ffa`2ac60000 00007ffa`2ac9b000 C:\WINDOWS\system32\IMM32.dll ModLoad: 00007ffa`25470000 00007ffa`2547a000 C:\WINDOWS\SYSTEM32\VERSION.dll ModLoad: 00007ffa`27270000 00007ffa`2727c000 C:\WINDOWS\SYSTEM32\DAVHLPR.DLL ModLoad: 00007ffa`24880000 00007ffa`24904000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV ModLoad: 00007ffa`25800000 00007ffa`2586a000 C:\WINDOWS\SYSTEM32\OLEACC.dll ModLoad: 00007ffa`28df0000 00007ffa`28e19000 C:\WINDOWS\SYSTEM32\bcrypt.dll ModLoad: 00007ffa`23900000 00007ffa`23916000 C:\WINDOWS\SYSTEM32\WKSCLI.DLL [Truncated] 9f 000000f8`6b7ee248 000000a6`a8117a6d 0x000000f8`6b7ee280 a0 000000f8`6b7ee250 0000023e`1f80d541 0x000000a6`a8117a6d a1 000000f8`6b7ee258 0000014d`bc304301 0x0000023e`1f80d541 a2 000000f8`6b7ee260 0000014d`bc3e1891 0x0000014d`bc304301 a3 000000f8`6b7ee268 0000014d`bc304301 0x0000014d`bc3e1891 a4 000000f8`6b7ee270 00000130`792597e9 0x0000014d`bc304301 a5 000000f8`6b7ee278 0000014d`bc3af6f9 0x00000130`792597e9 a6 000000f8`6b7ee280 000000f8`6b7ee2c8 0x0000014d`bc3af6f9 a7 000000f8`6b7ee288 000000a6`a803ba24 0x000000f8`6b7ee2c8 a8 000000f8`6b7ee290 00000130`79259831 0x000000a6`a803ba24 a9 000000f8`6b7ee298 0000014d`bc3e1891 0x00000130`79259831 aa 000000f8`6b7ee2a0 0000014d`bc3e8601 0x0000014d`bc3e1891 ab 000000f8`6b7ee2a8 00000130`792597e9 0x0000014d`bc3e8601 ac 000000f8`6b7ee2b0 00000130`792597e9 0x00000130`792597e9 ad 000000f8`6b7ee2b8 000000a6`a803b941 0x00000130`792597e9 ae 000000f8`6b7ee2c0 0000000c`00000000 0x000000a6`a803b941 af 000000f8`6b7ee2c8 000000f8`6b7ee3e0 0x0000000c`00000000 b0 000000f8`6b7ee2d0 000000a6`a80252a3 0x000000f8`6b7ee3e0 b1 000000f8`6b7ee2d8 00000000`00000000 0x000000a6`a80252a3 ``` username_2: From the stack trace, the process crashed because Node failed to initialize the c-ares library. And there were a few same crashes in Node: https://github.com/nodejs/node/issues/6630 https://github.com/nodejs/node/issues/5588 @username_0 Can you also try whether latest [upstream Node.js](https://nodejs.org/en/download/current/) has this problem? username_0: I'm travelling again for the next 30 hours or so, but will check this ASAP and report back. Thanks for the update. username_0: @username_2 - sorry for the delay. How exactly do you want me to check if the latest node.js has this problem? Both the linked bugs are closed saying that more recent versions solved their problem... Surely that means that someone can just re-target? `electron` to use the latest `node.js` and the problem will go away? username_2: @username_0 Just checking whether Node.js 6.x can start is enough. The problem in those issues are not fixed, they either switched to an old version or changed their networking settings. username_0: Node itself looks fine. Please see the gif below. ![making_sure_node_runs](https://cloud.githubusercontent.com/assets/165343/16904076/573f04a4-4cd2-11e6-8b87-33b8d5797bff.gif) Let me know if there's anything more I can do to try and narrow this down. username_2: @username_0 Thanks for trying it, can you also try whether Node 6.1.0 works fine? username_0: @username_2 - I can confirm that Node 6.1.0 also works fine (using the same example as above) username_0: Is there any more information required, or anything else I can do to remove the `blocked` tag? username_2: The information is enough and thanks for the tryings. username_3: @username_2 - hows the debug going? Think we'll see a release soon? Thanks for your work on this, I'm anxious to see a fix soon. username_4: I do not know if it may help but I have reproduced an issue close to this one when trying to start *electron.exe* in a Windows 10 VM with some network interfaces *unplugged*. The result is that electron silently fails to start. Using VirtualBox, this means that network interfaces are disabled for the VM, Windows 10 then displays the network interfaces as unplugged. The issue can be reproduced with just one interface disabled. The issue __cannot__ be reproduced if the network interfaces are all enabled but configured with no access to internet (bad IP configuration for instance). Revisions used to reproduce the issue - Electron: `1.3.2` - VirtualBox: `5.1.2 r108956` - Windows 10 Pro N: - version `1511` - build `10586.164` username_3: In my case I do have a valid internet reachable connection in a non-VM setup. What may be the delta is that I have a USB wireless network adapter. username_0: Hey @username_2 - Is there anything more that I can do to help with this? Any ideas on where we could start? I'd love to get this fixed soon, and wouldn't mind helping out if you have an idea on where to start and can point me in the right direction. :smile: username_5: Windows Embedded 8 - all devices disconnected (wifi, ethernet) electron crashes silently on startup; I don't see any log in console; I tried enabling options above. It does show through procmon, but it doesn't write to any files... was hoping that eventually someone would have found an option or something to enable running. All network devices (bluetooth, ether, wifi) were set as DHCP, I set a static IP on the ether (which won't be connected ever) but since it's still disconnected, there's still no address on anything (ipconfig shows no addresses anywhere) username_6: It's disappointing to know that such a bug hasn't been fixed, and the time has been so long that bot added the wontfix label. username_7: net.js:10 const cares = process.binding('cares_wrap'); ^ Error: EFILE at net.js:10:23 at net.js:1607:3 at NativeModule.compile (bootstrap_node.js:528:7) at NativeModule.require (bootstrap_node.js:468:18) at internal/child_process.js:6:13 at internal/child_process.js:889:3 at NativeModule.compile (bootstrap_node.js:528:7) at NativeModule.require (bootstrap_node.js:468:18) at child_process.js:12:23 at child_process.js:551:3 npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" npm ERR! node v6.10.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] start: `electron .` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script 'electron .'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the electron-quick-start package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron . npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron-quick-start npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron-quick-start npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\00.workspace\electron-quick-start\npm-debug.log ``` username_5: @username_7 https://github.com/electron/electron/issues/6437#issuecomment-265828944 add a loopback adapter. username_7: @username_5 It works, thanks. It there no way to fix it in source codes? username_8: I HAVE THIS PROBLEM username_5: @username_8 see this https://github.com/electron/electron/issues/6437#issuecomment-265828944 (works same way on windows 10) username_9: Its almost 2 years now from the time bug was reported. I still face it on some of my customers machine. Will you please let us know when this will be fixed ? Currently the workaround is to use loopback adapter, but its too hectic to solve the same everyday on customers machine. username_10: This was impacting us because we were using http://localhost to load a window--switching to the loopback url http://127.0.0.1 fixed the issue. Our app will now launch with no network. username_11: Are people still seeing this with Electron 3.0.x? username_12: @username_11 I hadn't seen any issues like this with GitHub Desktop across our usage of Electron, and I couldn't reproduce this in a Windows 10 VM (with network disabled) using `electron-quick-start` (like one person was able to reproduce with): <img width="973" src="https://user-images.githubusercontent.com/359239/45825306-55935480-bcc8-11e8-9897-d27e4364347e.png"> username_13: Yes, I believe I'm still having the issue. This is also happening when I try running vs code with airplane mode on. Getting an error in dens.nd line 246:20. When creating 'new ChannelWrap ()' username_13: Connecting to WiFi router (with or without internet access) allows me to open vs code again username_14: I have this issue from the past 2 years now. Same machine. No fix. It is really difficult to work in college. Any way to fix this my emulation? username_15: Heh ![image](https://user-images.githubusercontent.com/18032232/46426508-75565e00-c747-11e8-9bb7-5e22624114cb.png) username_16: I met the same problem after the last windows update :( username_17: +1 on this issue today, windows 10 laptop, works with internet, does not work without internet. was working before a windows update. but then stopped working after? cant reproduce on my local machines at all but i can on a particular laptop (custom program i made for employees at work) username_15: I had this issue after windows 10 october update. I tried to build vscode with electron 3.0.2 and it's work fine for me username_17: Updating to 3.0.3 fixed it for me.. username_5: @rteshnizi as a workaround see this comment https://github.com/electron/electron/issues/6437#issuecomment-265828944 You can install a virtual loopback adapter. It doesn't even need an IP. username_18: Could this be an issue with the `autoUpdater` erroring out due to no network connection? username_19: Enabling a loopback adapter solved this issue for me in VSCode and GitHub Desktop. Tutorial for Windows 10 here. The issue never occured with the exploration build of VSCode, which uses electron 3. username_20: Any news yet? It's still not working... username_17: Update to 3.0.10 electron. It fixed it for me username_21: Electron framework was working while offline but now not working while offline. VS Code, Balena Etcher, Atom, GitHub Desktop etc. not working while offline. But, interesting, Discord is working! but waiting for connection...
github-vet/rangeloop-pointer-findings
771564244
Title: xiaowenLee/yce-1: src/k8s.io/kubernetes/pkg/api/v1/types.generated.go; 15 LoC Question: username_0: [Click here to see the code in its original context.](https://github.com/xiaowenLee/yce-1/blob/892af9cde892ef32bca2bd2a8d51c613b140d4af/src/k8s.io/kubernetes/pkg/api/v1/types.generated.go#L58769-L58783) <details> <summary>Click here to show the 15 line(s) of Go which triggered the analyzer.</summary> ```go for yyk4587, yyv4587 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) yyk4587.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) yy4588 := &yyv4587 yym4589 := z.EncBinary() _ = yym4589 if false { } else if z.HasExtensions() && z.EncExt(yy4588) { } else if !yym4589 && z.IsJSONHandle() { z.EncJSONMarshal(yy4588) } else { z.EncFallback(yy4588) } } ``` </details> Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket: See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information. commit ID: <PASSWORD>af
whosaysni/robotframework-seriallibrary
449836059
Title: Python 3 support of multiple ports Question: username_0: Hi guys, First of all, thanks for this module, very helpful! I got an error while porting my *.robot file to be executed in Python 3. Basically, I open a serial port, then I open a second one, switch to it, make some data exchanges and finally delete it: ``` TC1 [Setup] Open Primary Serial Port Write Data Hello on Primary port\n [Setup] Open Auxiliary Serial Port Switch Port ${COMPORT2} Write Data Hello on Secondary port\n Delete Port ${COMPORT2} [Teardown] Delete All Ports Open Primary Serial Port Add Port ${COMPORT} baudrate=115200 bytesize=8 parity=N stopbits=1 timeout=1 Open Auxiliary Serial Port Add Port ${COMPORT2} baudrate=115200 bytesize=8 parity=N stopbits=1 timeout=1 ``` It seems that `Delete Port ${COMPORT2}` is raising the error "TypeError: 'odict_keys' object is not subscriptable". I tried running the same script with Python 2, everything works well. It seems that dictionary is not used similarly across Python 2 and Python 3.
google/guava
674956629
Title: Unnecessary boxing in Doubles.constrainToRange() Question: username_0: Doubles.constrainToRange(double,double,double) and Floats.constrainToRange(float,float,float) both cause unnecessary boxing of their arguments. Both call Preconditions.checkArgument(boolean, String, **Object**, **Object**) which causes the boxing. Can be easily fixed by introducing an overloaded version of checkArgument for floats and longs. For ints and longs these versions already exist: Preconditions.checkArgument(boolean, String, **int**, **int**) Preconditions.checkArgument(boolean, String, **long**, **long**) which is also why constrainToRange does not have the same problem in the Ints, Shorts & Longs packages. Answers: username_1: Fixed - should be mirrored out shortly. Status: Issue closed
naptha/tesseract.js
464863690
Title: how to support multiple language Question: username_0: I want to recognize both Chinese and English at the same time, so I use this as suggest in example ``` Tesseract.recognize(img, "eng+chi_sim") .progress(p => { console.log("progress", p); }) .then(result => { console.log(result); }); ``` however I got an error ``` Error downloading language https://tessdata.projectnaptha.com/3.02/eng+chi_tra.traineddata.gz ``` Answers: username_1: @username_0 Multiple language support is available only in v2, please install with following command: ``` $ npm install tesseract.js@next ``` And a quick example for your reference: ```javascript import Tesseract from 'tesseract.js'; const { TesseractWorker } = Tesseract; const worker = new TesseractWorker(); worker .recognize('https://tesseract.projectnaptha.com/img/eng_bw.png', 'eng+chi_sim') .progress((p) => { console.log('progress', p); }) .then(({ text }) => { console.log(text); worker.terminate(); }); ``` Status: Issue closed
webgems/webgems
697688648
Title: Add some resources in category css, html, javascript, php, python. Question: username_0: I want to add some resources to the category: - CSS - HTML - PHP - JavaScript - Python ## Resources URL: #### CSS https://www.w3schools.com/css/ #### HTML https://www.w3schools.com/html/ #### PHP https://www.w3schools.com/php/ #### JavaScript https://www.w3schools.com/js/ #### Python https://www.w3schools.com/python/ I think this could be helpful for the beginners to learn from this resources. Answers: username_1: W3 Schools is not a good source for info, Their info is usually outdated and there are many other sources which are more credible. username_2: The point of webgems was to curate the best resources out there for people to have an easy start in web and find things they might not know yet. This is for beginners and intermediate people - therefore w3schools isn't a good match at all. The last time I've been going through w3schools, it had outdated things and overall is no really appealing. Thanks for the suggestion though anyways. Status: Issue closed username_0: Thanks for replying.