repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
GoogleChrome/web-vitals-extension | 726890568 | Title: Log CWV events to the console
Question:
username_0: **Is your feature request related to a problem? Please describe.**
The CWV values reported by the extension are useful snapshots of the UX, but they don't necessarily have any diagnostic information for developers to understand what could have caused adverse experiences.
**Describe the solution you'd like**
I'd like to see the extension utilize console logging more to leave an audit trail to assist developers with debugging CWV issues. For example, log the times at which CLS changes and if possible attribute each shift to the culprit element. Or for LCP, log the elements that are considered the largest and the times at which they are painted. For FID, it'd be helpful to know the timestamp of the first input and what was clicked.
The extension can be a first class developer tool for not only understanding how pages are experienced but also debugging how to make them better. Stretch goal: maybe like a VisBug for performance?
Answers:
username_1: Hi @username_0 and @addyosmani I've opened a PR with a proposed Console Logging option here: https://github.com/GoogleChrome/web-vitals-extension/pull/80 |
ruby/etc | 626558358 | Title: warning: already initialized constant Etc::SC_*
Question:
username_0: When upgrading etc from `1.0.1` to `1.1.0` in ruby 2.6.5 (linux) it started to throw a lot of warnings like this:
```
.../ruby/2.6.5/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_AIO_LISTIO_MAX
.../2.6.5/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_AIO_MAX
.../ruby/2.6.5/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_AIO_PRIO_DELTA_MAX
.../ruby/2.6.5/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_ARG_MAX
.../ruby/2.6.5/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_ATEXIT_MAX
.../ruby/2.6.5/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_BC_BASE_MAX
and so on...
```
Answers:
username_0: according to https://github.com/rapid7/metasploit-framework/issues/12809#issuecomment-589921314 this also happens with ruby 2.5.7
username_1: Seems an old `etc` is loaded (probably) by rubygems. |
dsbenghe/Novell.Directory.Ldap.NETStandard | 234873158 | Title: How work sample attribute compare ?
Question:
username_0: Hello! How work sample [VerifyPassword](https://github.com/username_1/Novell.Directory.Ldap.NETStandard/blob/master/original_samples/Samples/VerifyPassword.cs) ? For example, my password is "<PASSWORD>%", I enter a known bad password and it's successful. What does it mean ?
Answers:
username_0: +1
username_1: The sample is the original one - not sure if it works or not.
You can read more about how to verify password on this issue - https://github.com/username_1/Novell.Directory.Ldap.NETStandard/issues/14
Status: Issue closed
username_1: Please reopen if you something is still unclear about how to verify password. |
jwhitbeck/java-rdb-parser | 279892876 | Title: Support Version 8
Question:
username_0: Let's support the dump file format version 8. It's related to #3 .
Answers:
username_1: Hi @username_0, I definitely want to get to this, but unfortunately I doubt that I'll have time to do this before a couple of months. I would be more than happy to approve a PR if someone wants to try adding support for version 8.
Status: Issue closed
|
hypriot/flash | 140420203 | Title: Can't run flash
Question:
username_0: For some reasons, I can't run the flash application. Any idea why ?

Happy Saturday!
Answers:
username_1: After downloading the script you have to set the executable flag
```
chmod +x flash
```
Have we missed mentioning that somewhere?
username_0: I did many and followed the https://github.com/hypriot/flash#installation but still nothing.
The flash file
```
flash 100%[===================>] 7.01K --.-KB/s in 0s
2016-03-12 17:06:48 (180 MB/s) - 'flash' saved [7175/7175]
hypriot|⇒ chmod +x flash
hypriot|⇒ sudo chmod +x flash
Password:
hypriot|⇒ sudo mv flash /usr/local/bin/flash
hypriot|⇒ sudo flash --help
sudo: flash: command not found
hypriot|⇒
```
la -la returns
```
drwxr-xr-x 12 username_0 admin 408 12 Mar 17:07 .
drwxrwxr-x@ 64 root admin 2176 12 Mar 16:37 ..
drwxr-xr-x 13 username_0 admin 442 12 Mar 17:10 .git
-rw-r--r-- 1 username_0 admin 23 12 Mar 16:36 .gitignore
-rw-r--r-- 1 username_0 admin 387 12 Mar 16:36 AUTHORS
drwxr-xr-x 3 username_0 admin 102 12 Mar 16:47 Darwin
-rw-r--r-- 1 username_0 admin 1075 12 Mar 16:36 LICENSE
drwxr-xr-x 3 username_0 admin 102 12 Mar 16:36 Linux
-rw-r--r-- 1 username_0 admin 5837 12 Mar 16:36 README.md
-rw-r--r-- 1 username_0 admin 714 12 Mar 16:36 Vagrantfile
-rwxr-xr-x 1 username_0 admin 7175 12 Mar 17:06 flash
-rw-r--r-- 1 username_0 admin 3095 12 Mar 16:36 sample.vmx
flash|master⚡ ⇒
```
username_1: Seems like your PATH environment variable does not contain `/usr/local/bin`.
You can check this with `echo $PATH`.
Try `/usr/local/bin/flash --help`.
Otherwise after downloading it to the current directory try use `./flash`.
username_0: ```
and also
```
flash|master⚡ ⇒ sudo /usr/local/bin/flash --help
sudo: /usr/local/bin/flash: command not found
```
I'll try current directory :)
username_1: As the absolute path does not work I guess the current directory also does not work.
The flash script uses `/bin/bash` as intepreter.
I have seen that you use zsh. Is bash installed? Try `which bash` and `/bin/bash` and then `exit` from the bash again.
username_0: Your rock Stefan! Here is the conclusion.
```
cd some-folder
wget https://raw.githubusercontent.com/hypriot/flash/master/Darwin/flash
chmod +x ./flash
sudo ./flash --help
```
The system return: https://gist.github.com/username_0/92e457179af0a91ac55b
Let's put my first micro SD card.
`sudo ./flash --hostname swrpi3-master01 hypriot-rpi-20160306-192317.img`
username_1: Congrats!
BTW you don't need `sudo`. The script does the sudo internally where needed.
username_0: Allright!
Status: Issue closed
|
ManageIQ/manageiq-api | 672320461 | Title: API Performance
Question:
username_0: Issues related to improving the performance of the ManageIQ Rest API
- [ ] [Add support for querying attributes without expand=resources](https://github.com/ManageIQ/manageiq-api/issues/868)
- [ ] [Slow but small response for virtual columns seemingly due to N+1 queries](https://github.com/ManageIQ/manageiq-api/issues/869)
- [x] [Add support for returning nil/null in associations](https://github.com/ManageIQ/manageiq-api/issues/870)
- [ ] [Add support for getting attributes on has_many associations (&attributes=vms.name](https://github.com/ManageIQ/manageiq-api/issues/871)
- [ ] [Querying for `&attributes=hardware.cpu_sockets` is 0.5 seconds faster than `num_cpu`, WAT](https://github.com/ManageIQ/manageiq-api/issues/872)<issue_closed>
Status: Issue closed |
akhodakivskiy/VimFx | 128436966 | Title: High CPU usage in hint mode
Question:
username_0: When entering hint mode, CPU usage jumps to nearly 100% and remains like this until we choose a hint or exit from the mode. Maybe there's some busy-waiting involved?
Answers:
username_1: Can't reproduce.
username_2: VimFx polls several times a second for if the elements with hint markers have moved, so that the markers can be moved as well. I didn't notice any performance impact because of this on my system, but apparently it seems to be on yours. Do you consider your system high- or low-performance?
I think an option might be needed, which controls the timeout between each poll. You'd need to raise it. Perhaps we should also raise it by default. And/or not process all marker elements in one go on each poll.
All this is assuming you use VimFx 0.11.0, though. And as @username_1 pointed out, a specfic URL where it happens is always helpful. Both of these are pointed out in the [contribution tips](https://github.com/akhodakivskiy/VimFx/blob/master/CONTRIBUTING.md), which you didn't read (even though GitHub asked you to) ;)
username_2: I just measured this a bit more on my system. While I can't tell just by looking and listening and using my computer, the system monitor _does_ show a noticeable rise in CPU usage while in hints mode, but on my system it does not rise to 100%.
I tried to increase the poll interval from lowest possible to lowest possible plus 15ms. Then I couldn't see any CPU rise anymore, and I couldn't see any difference in the updating of hint marker positions either. If I added 20ms I started seeing stuttering movement of the markers.
Hopefully, raising the poll timeout by 15ms works for everyone, which would be good since we could avoid adding an option. The best thing would be if we could test it on your computer before releasing. Would you like to do so? If so, I'll come back with instructions.
Status: Issue closed
username_2: @username_0 Never mind, I added the `hints_sleep` option anyway. |
CSBDeep/CSBDeep_fiji | 396052970 | Title: GPU support on Windows
Question:
username_0: We need to add installation instructions for Windows GPU support (and also update the ones for Linux).
Until we finish the PR to TensorFlow automatically loading the GPU or CPU lib depending on what is supported, the workaround is to manually add the native GPU TensorFlow library to Fiji.
Here is an update site that should do this for Windows:
https://sites.imagej.net/CSBDeep-GPU-win64-TF1.12.0
In Linux I also have to add CUDA to my PATH and LD_LIBRARY_PATH environment variables, something similar might have to be done for Windows:
```
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
```
Could someone on Windows with a recent CUDA installation add this update site additionally to the default CSBDeep update site and try if it works or what else needs to be done (e.g. environment variables)?
I would update the documentation then asap.
Answers:
username_1: Just tested it on Windows 7, Cuda 9.0, Cudnn 7.3 and after activating the update site everything runs on the GPU (without any path adjustments), woohoo! Well done!
username_0: Cool, thanks for testing!
I also updated the [Wiki install page](https://github.com/CSBDeep/CSBDeep_website/wiki/CSBDeep-in-Fiji-%E2%80%93-Installation) at least a bit to reflect that there is also GPU support for Windows and removed the old JNI CUDA update sites.
Would be great to also test Windows 10.
username_2: Hi, the CSBDeep Fiji plugin works on Win10, CUDA 9.0, CuDNN 7.4.2, with the update site.
username_3: Hi all,
I'm running CARE using CUDA 10.0 and CUDNN 7.6.0 and getting `tensorflow_jni.dll` from https://www.tensorflow.org/install/lang_java
Works like a charm!
Oli
Status: Issue closed
username_4: Installing TensorFlow GPU native libraries on Windows. I meet some troubles:

I really need your help.
username_4: I have solved this problem by changing "https" to "http", it works "http://sites.imagej.net/CSBDeep-GPU-win64-TF1.12.0"
username_4: Sorry, I have new problem: I have already install "tensorflow_jni.dll" for fiji. But tensorflow still doesn't work. I'm so confused.

username_5: @username_0 Help?! |
mail-in-a-box/mailinabox | 159772396 | Title: ClamAV Integration
Question:
username_0: What about an Antivirus integration?
Answers:
username_1: clamav can run safely in parallel. MiaB is ran over ubuntu. Just install and configure clamav on your box.
username_2: While it can be run, tutorials however have ended up mysteriously having my emails disappear. So what is the best way to set it up with an Ubuntu +MiaB system?
username_1: @username_2 in order to install type `sudo apt-get update && sudo apt-get install clamav` then cron a job to update viruses definitions with `sudo freshclam`, cron another to scan with _at least_ `sudo clamscan -r /home/` and tune with [an easy to google tutorial](https://www.howtoforge.com/tutorial/clamav-ubuntu/#clamav)
I think @username_0 was wonderring about _**integration**_ within the admin console.
In term of security, I disagree with _integrated solutions_.
username_2: I am referring to it scanning email automatically inbound and outbound such as clamsmtp for a real email virus solution, rather than waiting for it to scan for viruses.
username_1: Ok sorry. I have written a little python script that **trhew** all _new_ or _modified_ files (detected with a fast hash lookup table on an unjournalized FS, and with the modified tag on ext3). That was pretty efficient but cpu-costly.
Is it the way you meant "scanning automatically" ?
username_2: Yes, that's what I am referring to. However when I referred to a tutorial in mailinabox discussion, it lead to my emails vanishing from the outbox during testing. I was hoping MiaB would have some solution so my Windows clients have some piece of mind. I personally use GNU/Linux only, but my mom and dad who also use my email server I made (it's a family email server) are Windows only people. I am sure many MiaB users are in a similar situation and would like to see some way of AV integration |
jlippold/tweakCompatible | 355463218 | Title: `Record 'n' Torch` working on iOS 11.3
Question:
username_0: ```
{
"packageId": "com.spicat.recordntorch",
"action": "working",
"userInfo": {
"arch32": false,
"packageId": "com.spicat.recordntorch",
"deviceId": "iPhone7,2",
"url": "http://cydia.saurik.com/package/com.spicat.recordntorch/",
"iOSVersion": "11.3",
"packageVersionIndexed": true,
"packageName": "Record 'n' Torch",
"category": "Tweaks",
"repository": "Spica T Repo",
"name": "Record 'n' Torch",
"installed": "1.7.10",
"packageIndexed": true,
"packageStatusExplaination": "A matching version of this tweak for this iOS version could not be found. Please submit a review if you choose to install.",
"id": "com.spicat.recordntorch",
"commercial": false,
"packageInstalled": true,
"tweakCompatVersion": "0.1.0",
"shortDescription": "Toggle Torch while recording video.",
"latest": "1.7.10",
"author": "SpicaT",
"packageStatus": "Unknown"
},
"base64": "<KEY>
"chosenStatus": "working",
"notes": ""
}
``` |
DashMedia/Phantom-Image-Testing | 235130660 | Title: Conflict between clicking and keyboard shortcuts in final selector
Question:
username_0: The final selector which shows the actual image files to compare responds to keyboard shortcuts to change, but if a user has used their mouse to select a file, the wheels come off the back/next process.
Answers:
username_0: I've set the key shortcuts to set selected="selected" on the select option and then trigger a change. This works nicely until the mouse gets involved where changes don't modify the selected attribute.
I'll need to either change the way the keyboard shortcuts are triggering the change or find a way to remove the selected attribute from the selected option only AFTER a new selecting click is made and then find a way to pick the selection back up with they keyboard without the use of selected attribute as the starting point. |
tyrauber/stock_quote | 718288657 | Title: How can I specify the exchange in my search ?
Question:
username_0: Hi,
I want to use stock_quote for French actions (like here: https://www.google.com/search?channel=fs&client=ubuntu&q=cours+ai), but the "AI" symbol already exist in USA market. So when I use `StockQuote::Stock.quote("AI")`, it's the US action by default.
What is the best way to modify the code above to find "Air Liquide" data for french market (Paris) ?
Answers:
username_1: Hi @username_0, not at the moment, I don't believe. The Gem uses the IEX Cloud API for stock quotes, although in a limited capacity (only a few endpoints). There is a more featured gem, [iex-ruby-client](https://github.com/dblock/iex-ruby-client), but I am not sure that supports that functionality either. The question is what IEX endpoint supports international symbols and how, but I am not seeing any documentation on that yet. I did find [this](https://iexcloud.io/docs/api/#international-symbols) though. |
nightwatchjs/nightwatch | 454072758 | Title: click function not work on chrome driver 75
Question:
username_0: Hi colleagues,
When I use chrome driver version 75, downloaded from here: https://chromedriver.storage.googleapis.com/index.html?path=75.0.3770.8/ the click function is not working. Error throw:
error has occurred. 400 Bad Request
TimeoutError: An error occurred while running .click() command on <//div[@class='FPdoLc VlcLAe']//center//input[contains(@value, 'Feeling Lucky')]>:
{"status":-1,"state":"","value":{"error":[],"message":"invalid argument: missing command parameters"},"errorStatus":"","error":"An unknown error has occurred. 400 Bad Request","httpStatusCode":400}
And the click function works right on chrome driver 74
My test script (please ignore the stupid pause):
`module.exports = {
'Test click on Chrome driver 75': function (browser){
console.log("test started")
browser.url("https://www.google.es/")
.useXpath()
.pause(5000)
.click("//div[@class='FPdoLc VlcLAe']//center//input[contains(@value, 'Feeling Lucky')]")
.waitForElementVisible("//a[contains(@href, 'doodles')]")
}
}`
Regards,
Vicky
Answers:
username_1: See discussion #2118
Status: Issue closed
|
asfernandes/node-firebird-drivers | 373904409 | Title: Build fails
Question:
username_0: Fails on mac and windows:
node -v v11.0.0
node-gyp -v v3.8.0
<details><summary>Verbose output:</summary>
```
yarn install v1.10.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
[1/3] ⠄ node-firebird-native-api
[-/3] ⠄ waiting...
error /Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/sywka/.node-gyp/11.0.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/sywka/.node-gyp/11.0.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/sywka/.node-gyp/11.0.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/addon/src/native/fb-native.o
In file included from ../src/native/fb-native.cpp:3:
../../nan/nan.h:1064:44: warning: 'ToString' is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
^
/Users/sywka/.node-gyp/11.0.0/include/node/v8.h:2537:3: note: 'ToString' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/sywka/.node-gyp/11.0.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
[Truncated]
^
/Users/sywka/.node-gyp/11.0.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
261 warnings and 1 error generated.
make: *** [Release/obj.target/addon/src/native/fb-native.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.0.0
gyp ERR! command "/usr/local/Cellar/node/11.0.0/bin/node" "/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api
gyp ERR! node -v v11.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
```
</details>
Answers:
username_1: Is it using clang or gcc? And what version?
username_0: Sorry, how exactly can I find out the compilers versions that the node-gyp uses?
username_1: I think you can run `export V=1` before executing the command that is given the error.
username_2: It doesn't work... Please, fix build to work with node 11.0.0.
Status: Issue closed
|
murilobsd/parederia-maker | 345321518 | Title: Criação da parede
Question:
username_0: ## Introdução
A **parede** é a base do ambiente, o **usuário** deve conseguir _adicionar_ **quadros** nela, _movimentar_ a **parede** para que fique melhor visualizado na tela, _redimensioná-la_ tanto para cima/baixo e para os lados, _salvar_ o trabalho atual e _trocar_ as cores, para o usuário ter uma noção real de dimensionamento da parede deverá ser _apresentado_ a altura e largura em uma únidade familiar para o ser humano como por exemplo centímetros (cm).
### Propriedades
| Nome | Unidade | Observações |
|----------|--------------|--------------------|
|Altura|px|Altura da parede|
|Largura|px|Largura da parede|
|Cor|hexa|Cor de fundo da parede|
|P0| px | Posição topo esquero da parede |
|P1| px | Posição topo direito da parede |
|P3| px | Posição inferior esquero da parede |
|P4| px | Posição inferior direito da parede
### Métodos
| Nome | Observações |
|----------|-------------------|
|Redimensionar|Função de redimensionamento da parede |
|Arrastar|Função para movimentar a parede|
|Alterar Cor|Função para alterar a cor|
|Calcular Cm| Função para calcular unidade em cm |
|Salvar| Função responsável por salvar a parede atual no db | |
wardlem/factor | 647793117 | Title: Attributes are stripped out of tables
Question:
username_0: Non-standard attributes are stripped out of tables. This makes the `directive` attribute unreadable when the template is processed. There may be other elements for which this is true as well.
This problem requires a big fix. It would feel weird to have a special rule just for times like these, so we can't do that. Instead, all tag directive attributes (including there parameters) need to be prefixed. While we do this, we should also prefix the directive tags.
```html
<tr f:directive="for" f:values="items" f:as="item" #item="index"><td>{{item.name}}</td></tr>
```
Preliminary testing shows that prefixed attributes (any attribute containing a symbol character) are not stripped from an element when it is parsed by the browser.
Status: Issue closed
Answers:
username_0: False alarm. |
hesto2/PygameStarter | 152813748 | Title: Handle collision effects on the target object rather than the host
Question:
username_0: For each object in the game check if the player is going to collide with it using their current velocity. If they are going to, pass in which side they will hit it on and handle the collision using the target's 'onCollision' method. Example: a normal block would set the colliding object's x velocity to 0 (or whatever it needs to be to make it go up to the wall) if it collides with the left or right sides and its y velocity to 0 if it collides with the top or bottom sides.
A horizontal moving platform will set the player's x velocity to whatever it currently is plus however fast the platform is moving when the player is colliding with the top side of it so that the player will move with the platform when they are on top of it.
A player would set the colliding object's velocity to maybe -5 if it runs into it while also setting its own velocity to -5, making it so players bounce off of each other.
A power-up or projectile will alter the player's attributes like health or damage when a player collides with it rather than affecting the player's velocity.<issue_closed>
Status: Issue closed |
paulrosen/abcjs | 836806381 | Title: The %abc header causes an exception
Question:
username_0: When parsing this book
```
%abc-2.2
X: 1
T: Test Tune 1
K: perc
F2 c2 FF c2 |]
X: 2
T: Test Tune 2
K: perc
F2 c2 F2 c2 |]
```
an error `Can't access property length, tunes is undefined` is thrown.
The heading `%abc` is parsed into a separate tune and causes a problem later.
I think this is a regression, as I have some tunes with this header and they have been parsed correctly in the earlier versions.
Status: Issue closed
Answers:
username_0: Phew, good, it was only async/await! :D |
opencv/opencv | 199407164 | Title: Cmkae config incomplete, Help me how to fix.
Question:
username_0: CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_CUDA_LIBRARY (ADVANCED)
linked by target "example_gpu_alpha_comp" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_bgfg_segm" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_cascadeclassifier" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_cascadeclassifier_nvidia_api" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_driver_api_multi" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_driver_api_stereo_multi" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_farneback_optical_flow" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_generalized_hough" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_hog" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_houghlines" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_morphology" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_multi" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_opengl" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_optical_flow" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_opticalflow_nvidia_api" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_pyrlk_optical_flow" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_stereo_match" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_stereo_multi" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_super_resolution" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_surf_keypoint_matcher" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_video_reader" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
linked by target "example_gpu_video_writer" in directory /home/shravankumar/apps/opencv-3.2.0/samples/gpu
-- Configuring incomplete, errors occurred!
Answers:
username_1: Try to disable CUDA via CMake option `-DWITH_CUDA=OFF` (probably you have unsupported version)
username_0: Thanks, I'll try that.
Status: Issue closed
username_1: Duplicate of #6577 |
SpongePowered/SpongeAPI | 72500117 | Title: Allow Health Scaling
Question:
username_0: Currently, if we assign the maximum health of a player to, say, 200, there will be 100 hearts displayed on the client's screen. This is a ~~problem~~ feature! In all seriousness, we should likely have some sort of health scaling toggle much like [Bukkit] had.
[Bukkit]:https://github.com/Bukkit/Bukkit/blob/d3ab9468c3aed2a06c280bf6c9cea5108c736dcc/src/main/java/org/bukkit/entity/Player.java#L996
Thoughts would be appreciated.
Answers:
username_1: You mean to tell me you _don't_ approve of a wall of hearts?
username_2: Makes sense to me...
username_3: Is `0` intended to be 'normal' (a 1:1 ratio)? I think it would make more sense for `1` to represent the default scale. It would also allow for scaling down the player's health (e.g one client-side heart representing half a real heart).
username_0: @username_3 No, the scale is 0 -> scale such that the scale is the maximum displayed hearts. So normally, the scale is 0 -> 20.
username_4: This feature would be pretty good for a RPG server. This way, I don't have to make a custom max hp and current hp variables and get a ratio on it to put on the health and max health.
username_5: I thought the main reason it was this way in bukkit, was due to integer health.
Now we have double health, couldn't you scale the damage instead using plugins?
username_0: The problem with this is that a) Players will find it odd to see having more than just the 20 half hearts of health, if there is a slight deviation, they will question. When it comes to RPG plugins, usually they want players to have varying health based on multiple aspects, such as level, class, etc. Having to constantly recalculate all damages and health gains based on that for a "20 health scale" is much harder than you can imagine.
username_5: Fair point. Still thinkpeople should seriously consider using non-20 health even if scaling is introduced as it provides UI feedback that their health is changed.
username_0: The API shouldn't dictate how RPG plugins want to display their health. If an RPG plugin wants to always scale health on 20 hearts, so be it. We shouldn't be the ones to limit them.
username_4: My go-to guy is username_0. We have similar projects on our mind and trust me, it would be pretty useful. No more having custom hp values and doing this. http://pastebin.com/z7xGn7ka
username_6: @username_0
Get some traction on this and figure out what you are going to do.
username_0: So far, my idea is to make a `HealthScalingData` such that it is applied to every `EntityPlayer` on construction and the values are read in from NBT (getting the data is exposed through an interfaced mixin). and then handle the processing in `HealthDataProcessor` etc. to where packets need to be handled.
Status: Issue closed
|
mperdeck/jsnlog | 133357382 | Title: Using JSNLog with TypeScript, SystemJS and JSPM
Question:
username_0: I'm trying to use JSNLog in my project but would like to wrap the library in my own service. Following your documentation I'm trying to import JSNLog as follows:
```javascript
// documentation
var JL = require('jsnlog').JL
// which in TypeScript should be equivalent to
import {JL} from 'jsnlog'
```
While it seems to transpile OK it throws an error during runtime:
`TypeError: Cannot read property 'createConsoleAppender' of undefined`
or
`TypeError: JL.createConsoleAppender is not a function`
Am not sure if the problem lies with `JSNLog`, `SystemJS` or `JSPM`. Any ideas?
Status: Issue closed
Answers:
username_1: I'm sorry, I have no experience with SystemJS or JSPM.
You may want to compare your code with some working demo code that uses require. That might give some clues on what is going wrong:
https://github.com/username_1/jsnlog.NodeJsWorkingDemos |
keurfonluu/disba | 783089473 | Title: Get empty array from disba
Question:
username_0: **Description of the problem**
<!--
Please be as detailed as you can when describing an issue. The more information
we have, the easier it will be for us to track this down.
-->
I want simulate some muliti-mode phase-velocity dispersion of near surface layer model.
Only the fundament dispersion curve can be compated. The first and second modes dispersion curve only get empty array.
The target frequency range is [1,100]Hz.
**Full code that generated the error**
i
<!--
Include any data files or inputs required to run the code. It really helps if
we can run the code on our own machines.
-->
```python
mport numpy
from disba import PhaseDispersion
# Velocity model and periods
velocity_model = numpy.array(
[
[0.002,0.65,0.194,1.82],
[0.003,0.75,0.270,1.86],
[0.004,1.40,0.367,1.91],
[0.005,1.80,0.485,1.96],
[0.006,2.15,0.603,2.02],
[10.00,2.80,0.740,2.09],
]
)
freq = numpy.linspace(1.0, 100.0, 50.0)
# Dispersion curve
pd = PhaseDispersion(*velocity_model.T)
labels = {
0: "Fundamental",
1: "Mode 1",
2: "Mode 2",
}
cpss=list()
for wave in ["rayleigh"]:
# fig = plt.figure()
for i in range(3):
cp = pd(1./freq, mode=i, wave=wave)
cpss.append(cp)
```
**Full error message**
```
PASTE ERROR MESSAGE HERE
```
**System information**
* Operating system:Windows 10
* Python installation (Anaconda, system, ETS):Anaconda
* Version of Python:3.7.4
* Version of this package:0.4.0
Answers:
username_1: Hi @username_0,
Sorry for the delay, I have been quite busy this week.
`disba` works with period axis that must be sorted in increasing order. Thus you have to revert the frequency axis too (i.e. `period = 1.0 / freq[::-1]`).
```python
import numpy
from disba import PhaseDispersion
import matplotlib.pyplot as plt
velocity_model = numpy.array(
[
[0.002, 0.65, 0.194, 1.82],
[0.003, 0.75, 0.270, 1.86],
[0.004, 1.40, 0.367, 1.91],
[0.005, 1.80, 0.485, 1.96],
[0.006, 2.15, 0.603, 2.02],
[10.00, 2.80, 0.740, 2.09],
]
)
pd = PhaseDispersion(*velocity_model.T)
freq = numpy.linspace(1.0, 100.0, 100)
period = 1.0 / freq[::-1]
fig, ax = plt.subplots(1, 2, figsize=(10, 4), sharey=True)
for i in range(3):
cp = pd(period, mode=i, wave="rayleigh")
ax[0].semilogx(cp.period, cp.velocity)
ax[0].set_xlabel("Period (s)")
ax[1].plot(1.0 / cp.period[::-1], cp.velocity[::-1])
ax[1].set_xlabel("Frequency (Hz)")
ax[0].set_ylabel("Phase velocity (km/s)")
fig.tight_layout()
```

Note that I have fixed the infinite loop for Mode 2, so please upgrade `disba` to version `0.4.1`: `pip install -U disba --user`.
username_0: Thanks for your reply.Your modfication works.
However,I found another problem from the below code.
```
import numpy
from disba import PhaseDispersion
import matplotlib.pyplot as plt
velocity_model = numpy.array(
[
[0.002,0.65,0.194,1.82], #L5
[0.003,0.75,0.270,1.86],
[0.004,1.40,0.367,1.91],
[0.005,1.80,0.485,1.96],
[0.006,0.50,0.150,1.80],
[1.000,2.80,0.740,2.09],
]
)
pd = PhaseDispersion(*velocity_model.T)
freq = numpy.linspace(1.0, 100.0, 200)
period = 1.0 / freq[::-1]
fig, ax = plt.subplots(1, 2, figsize=(10, 4), sharey=True)
for i in range(3):
cp = pd(period, mode=i, wave="rayleigh")
ax[0].semilogx(cp.period, cp.velocity)
ax[0].set_xlabel("Period (s)")
ax[1].plot(1.0 / cp.period[::-1], cp.velocity[::-1])
ax[1].set_xlabel("Frequency (Hz)")
ax[0].set_ylabel("Phase velocity (km/s)")
fig.tight_layout()
```

The dispersion curves generated by geopsy are shown in the below.

username_1: You can set the parameter `dc` to a smaller value to avoid "modal jumps". This parameter adjusts the stepsize of the root-searching algorithm:
```python
pd = PhaseDispersion(*velocity_model.T, dc=0.0001)
```

username_0: Thank you very much. It works.
username_0: Another problem.
When I change the number of frequencies to 200.I get a wrong result.
`freq = numpy.linspace(1.0, 50.0, 200)`
```
import numpy
from disba import GroupDispersion
import matplotlib.pyplot as plt
velocity_model = numpy.array(
[
[0.002,0.65,0.194,1.82], #L5
[0.003,0.75,0.270,1.86],
[0.004,1.40,0.367,1.91],
[0.005,1.80,0.485,1.96],
[0.006,0.50,0.150,1.80],
[1.000,2.80,0.740,2.09],
]
)
pd = GroupDispersion(*velocity_model.T, dc=0.0001)
freq = numpy.linspace(1.0, 50.0, 200)
period = 1.0 / freq[::-1]
fig, ax = plt.subplots(1, 2, figsize=(10, 4), sharey=True)
for i in range(3):
cp = pd(period, mode=i, wave="rayleigh")
ax[0].semilogx(cp.period, cp.velocity)
ax[0].set_xlabel("Period (s)")
ax[1].plot(1.0 / cp.period[::-1], cp.velocity[::-1])
ax[1].set_xlabel("Frequency (Hz)")
ax[0].set_ylabel("Phase velocity (km/s)")
fig.tight_layout()
```

The belown figure is compuated by `freq = numpy.linspace(1.0, 50.0, 100)`

username_0: I am trying the PhaseSensitivity function and found that the accuracy of the sensitivity matrix is not high.
I use the model from Xia et al.,1999.

I compute the sensitivity matrix at f (=5, 10, 15,20, 25, and 30 Hz) .
The figure below is the sensitivity matrix from the below code.
```
import numpy
from disba import PhaseSensitivity
velocity_model = numpy.array(
[
[0.0020,0.65,0.194,1.82], #(Xia et al.,1999 Table.1 )
[0.0023,0.75,0.270,1.86],
[0.0025,1.40,0.367,1.91],
[0.0028,1.80,0.485,1.96],
[0.0032,2.15,0.603,2.02],
[1.0000,2.80,0.740,2.09],
]
)
ps = PhaseSensitivity(*velocity_model.T, dc= 0.0001)
labels = {
"velocity_s": "$\\partial c / \\partial \\beta$",
}
freqs=numpy.r_[5: 35:5] #f (=5, 10, 15,20, 25, and 30 Hz)
sen_mat=numpy.zeros((6,6)) #(Xia et al.,1999 ((2)))
for i in range(0,6):
sk = ps(1.0/freqs[i], mode=0, wave="rayleigh", parameter="velocity_s")
sen_mat[i,:]=sk[1]
```

The sensitivity matrix of the same model with different algorithm are shown below.

username_1: Sensitivity kernels are numerically approximated (finite-difference), this is obviously less accurate than analytical solutions.
You can try adjusting the factor `dp`, but I wouldn't bother much.
username_0: Thanks for your reply.
Is there any problem in the depth array.The thinkness of first layer is 0.0020.

username_1: Most `disba` objects have a magic method `__call__` that returns a namedtuple. The first item of the namedtuple returned by a sensitivity kernel object is the depth, not thickness. The depth is returned mainly for plotting purpose.
Status: Issue closed
|
SocialiteProviders/Providers | 236144249 | Title: Microsoft Azure: The request body must contain the following parameter: 'client_id'
Question:
username_0: I'm using the `microsoft-azure` provider and I get the following error message on the callback.
```
"error":"invalid_request","error_description":"AADSTS90014: The request body must contain the following parameter: 'client_id'
```
This is the code I'm using.
```
$config = new \SocialiteProviders\Manager\Config($config->client_id, $config->client_secret, $config->redirect_url, [
'tenant' => $config->tenant_id
]);
return Socialite::with('azure')->setConfig($config)->redirect();
```
And then on the callback I run;
```
try {
Socialite::driver('azure')->user();
} catch (Exception $e) {
dd($e->getResponse()->getBody()->getContents());
}
```
And it falls in the catch and returns the message above.
Any thoughts?
Answers:
username_0: Ok so for the next retarded developer who finds this issue, the problem was that I didn't realize that I had to pass the configuration before calling `->user()` as well.
So do something like this;
```
$user = Socialite::driver('azure')->setConfig($config)->user();
```
Status: Issue closed
username_1: @username_0 Must have overlooked this issue. The cleanest solution for that kinda issue is to handle it like this to make sure you always call the driver with the full configuration.
```php
<?php
namespace App\Http\Controllers;
class SocialiteController extends Controller
{
public function redirectToProvider(string $driver): RedirectResponse
{
return $this->getSocialiteDriver($driver)->redirect();
}
public function handleProviderCallback(string $driver): RedirectResponse
{
$user = $this->getSocialiteDriver($driver)->user();
}
public function getSocialiteDriver()
{
$config = new \SocialiteProviders\Manager\Config($config->client_id, $config->client_secret, $config->redirect_url, [
'tenant' => $config->tenant_id
]);
return Socialite::with($driver)->setConfig($config)
}
}
``` |
moremoban/pypi-mobans | 329945212 | Title: Add CONTRIBUTING guidelines
Question:
username_0: The moremoban repos have a commit message format, using emoji, and besides the obvious `:bug:` I am not 100% sure what to use.
Answers:
username_1: Hei, this is style that I am following: https://github.com/slashsBin/styleguide-git-commit-message. Will add it in README.
username_0: Created https://github.com/coala/coala-bears/issues/2524 ;-) |
Azure/azure-quickstart-templates | 426469304 | Title: Storage data is not generating
Question:
username_0: --------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[Template Name goes here](Template link goes here)
### Storage account data is not generating.
### Repro steps (*if necessary, delete otherwise*)
1. deployed the solution to Azure OMS (same region)
2. created Run as Account
3. when opening Storage analytics solution it is giving error:
{"error":{"message":"The request had some invalid properties","code":"BadArgumentError","innererror":{"code":"SyntaxError","message":"Syntax Error","information":{"details":"{\"error\":{\"code\":\"Bad request\",\"message\":\"Request is invalid and cannot be executed.\",\"innererror\":{\"code\":\"SEM0100\",\"message\":\"'where' operator: Failed to resolve column or scalar expression named 'StorageService_s'\",\"@context\":{\"activityId\":\"491c7688-e948-447a-a8ca-821703dbed5c\"},\"@errorCode\":\"SEM0100\",\"@errorMessage\":\"'where' operator: Failed to resolve column or scalar expression named 'StorageService_s'\"}}}"}}}}
4. Tried going to each solution tab and edit the query then it works.
5. So I need how can I save the query to this solution.
Answers:
username_1: Can you provide the template name?
username_0: I deployed "Azure Storage Analytics" template.
https://github.com/Azure/azure-quickstart-templates/blob/master/oms-azure-storage-analytics-solution/README.md |
envoyproxy/envoy | 450338895 | Title: Multiple RDS resources
Question:
username_0: Any reason for that?
In my configuration I need to have different set of routes for http and https listeners. Maybe there's some other way to get that and i'm going the wrong way?
Thanks.
Answers:
username_1: @username_0 what do you mean by multiple RDS resources here? Each listener can only take a single RDS subscription.
username_0: @username_1 is it possible to subscribe each listener to different RDS resource? To have different routes/domains for http and https listeners, for example.
username_1: Yes, but as it works today, I think each listener will open up its own independent RDS request for REST. You should reply back to Envoy with the requested resources in your management server.
username_0: Thanks!
Status: Issue closed
username_1: @username_2 this seems unrelated, maybe a new issue? I don't see a priori how the choice of codec would affect RDS loading, they are independent in implementation.
username_2: Yes, new issue.
Not only code, but HTTP3 (UDP) listener in specific, with HTTP2 (TCP) there is no issue.
```yaml
- "@type": type.googleapis.com/envoy.config.listener.v3.Listener
name: http-udp
address:
socket_address:
address: 127.0.0.1
port_value: 443
protocol: UDP
```
username_2: Yes, that it is a new issue, I think. It is better to create a new one.
In that issue, I used the: https://www.getenvoy.io/
getenvoy standard:1.18.2/linux-glibc
I think: I did a wrong configuration or envoy has a issue or the getenvoy envoy build has a issue.
Not codec only, but HTTP3 (UDP) listener in specific, with HTTP2 (TCP) there is no issue.
In the example below, the http-udp listener only works when the dummy-for-http-udp exists.
```yaml
version_info: "3"
resources:
- "@type": type.googleapis.com/envoy.config.listener.v3.Listener
name: http-udp
address:
socket_address:
address: 127.0.0.1
port_value: 443
protocol: UDP
reuse_port: true
udp_listener_config:
quic_options: {}
downstream_socket_config:
prefer_gro: true
filter_chains:
- filter_chain_match:
transport_protocol: quic
server_names:
- www.example.com
transport_socket:
name: envoy.transport_sockets.quic
typed_config:
'@type': type.googleapis.com/envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport
downstream_tls_context:
common_tls_context:
alpn_protocols: h3
tls_params:
tls_minimum_protocol_version: TLSv1_3
tls_certificates:
certificate_chain:
filename: /envoy-tls/fullchain.crt
private_key:
filename: /envoy-tls/tls.key
filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
codec_type: HTTP3
http3_protocol_options: {}
rds:
route_config_name: main
config_source:
resource_api_version: V3
path: /envoy-config/rds.yaml
http_filters:
- name: envoy.filters.http.router
[Truncated]
tls_minimum_protocol_version: TLSv1_2
tls_certificates:
certificate_chain:
filename: /envoy-tls/fullchain.crt
private_key:
filename: /envoy-tls/tls.key
filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
codec_type: HTTP2
rds: # same rds confing of the http-udp (hack)
route_config_name: main
config_source:
resource_api_version: V3
path: /envoy-config/rds.yaml
http_filters:
- name: envoy.filters.http.router
``` |
DemocracyClub/UK-Polling-Stations | 131608119 | Title: Add a "report problems" feedback form
Question:
username_0: Let's have a conversation about this before carring on – we need to find out more from councils about what they actually want.
Answers:
username_0: Let's have a conversation about this before carring on – we need to find out more from councils about what they actually want.
username_1: Sounds reasonable.
Btw, is this issue now a duplicate of #131, or are they subtly different?
username_0: I think this is more about us hearing about any problem, whereas the other is about an easy way to remove data from the live site (including cache invalidation, and so on)
username_1: https://democracyclub.org.uk/blog/2017/10/20/where-do-i-vote-tour/
username_1:  [WhereDIV: "report a problem" button](https://trello.com/c/nWmHuJjq/242-wherediv-report-a-problem-button)
username_1: - Once the form becomes more complex, how should we present it?
- Inline with JS show/hide the paths (how do we 'progressively enhance' this?)
- Seperate 'contact us' interaction with more of a 'wizard' workflow?
## Data Model
- Even if 'feedback' and 'report a problem' are one form, they should probably be 2 back-end tables
- Bug reports model lives in the logger DB
- Fields:
- Source URL/slug/postcode
- open/resolved flag
- open text comment
- source (WhereDIV/API consumer)
- optional email address for follow-up
- report type - enum:
- polling location info is wrong
- something else
- Do we want an option for 'address is right but map is wrong'? It is a common class of error, but...
- How do we express that clearly?
- What if we didn't show a map?
- What about third party sites?
## Information about the bug report
- If our form is inline, we can easily include the target postcode/address slug in the bug report
- If it is not, we need to pass that info into the form view (URL param/session data)
- If we have 3rd party users implement the form, we need to also have them pass in the target postcode/address slug - what is a slick way to do this? (not needed for MVP but should think about it) I reckon best plan = serve up a pre-populated 'bug report' url in the API JSON for each result.
## Admin interface
- Re-enable admin to provide interface to bug reports
- Useful thing to do because it also gives us a better way to manage API keys
- Need to enable sticky sessions on the load balancer (at the moment we don't do this)
- Need to set secret key in deploy repo if we are having sessions and admin accounts
- What's the MVP for bug reports?
- Mark as resolved (make sure it is easy to do lots - tickbox, not button)
- CSV download everything that is not marked as done sorted by issue type
- You can iterate from there. e.g: 'status' might be nice, but we don't _need_ it
- Admin interface should only talk to logger models
username_1: Maybe other alternatives to this would be to store the session data in redis or the logger DB.
username_0: Really sticky sessions, on Who we're using signed cookies for storage,
simplify everything. Might be good here?
username_1: `SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"`
https://docs.djangoproject.com/en/2.0/topics/http/sessions/#using-cookie-based-sessions
username_1: Also, improve tooling for extracting negative feedback comments. Even with a great user journey it is unrealistic that expect that we won't receive any errors reported this way.
Status: Issue closed
|
STAT547-UBC-2019-20/Discussions | 574406820 | Title: GitHub best practices
Question:
username_0: @username_1, I understand that we must fork and branch for our group project as it is a collaborative environment, and it is best practice to not work directly on master.
Is it necessary to branch when working on our assignment repos?
Answers:
username_1: Hope this helps!
username_1: Hi @username_0 is this solved? if yes, let's close the issue
Status: Issue closed
|
UCL-CloudLabs/deployer | 244597204 | Title: Do we need to configure the VM firewall
Question:
username_0: I can't see anything in the Terraform config that says which ports on the VM or network resource should accept incoming communications. Presumably therefore it opens everything by default, given that the test apps are working? We should probably lock that down to just the port(s) the researcher states.
Answers:
username_1: It is possible to [configure a network security group with inbound/outbound rules](https://www.terraform.io/docs/providers/azure/r/security_group_rule.html), but by default it does accept everything. It is a good idea to add those rules to the existent Terraform template with whatever the user chooses. |
apache-spark-on-k8s/spark | 249934285 | Title: Possible incorrect behavior of KubernetesClusterSchedulerBackend.doKillExecutors
Question:
username_0: According to the class [CoarseGrainedSchedulerBackend.doKillExecutors](https://github.com/apache-spark-on-k8s/spark/blob/branch-2.2-kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala?utf8=%E2%9C%93#L642) should return whether the kill request is acknowledged. However, [KubernetesClusterSchedulerBackend.doKillExecutors](https://github.com/apache-spark-on-k8s/spark/blob/branch-2.2-kubernetes/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala?utf8=%E2%9C%93#L604) always returns true even if the pods is not existed. Which leads me to think it's a bug rather than a feature.
Answers:
username_0: What do you folks think? cc
@username_2 @kimoonkim @mccheah
username_1: As I understand it, the kill operation is a request to the cluster API, which "succeeds" - knowledge of whether the corresponding pod eventually gets taken down is delayed, and not something we'd want to block on in `doKillExecutors`
username_0: what I see in the code ```doKillExecutors``` is used by [killExecutors to adjust a number of executors](https://github.com/apache-spark-on-k8s/spark/blob/branch-2.2-kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala?utf8=%E2%9C%93#L630).
I'm thinking if in case of such list: List(nonExistingPod1, nonExistingPod2, .. nonExistingPodN), doKillExecutors always ACK killing, which leads to the wrong number of executors.
username_0: but if folks know that it's proper behavior, feel free to close my issue.
username_2: Per my understanding,
[KubernetesClusterSchedulerBackend.doKillExecutors](https://github.com/apache-spark-on-k8s/spark/blob/branch-2.2-kubernetes/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala?utf8=%E2%9C%93#L604) eventually returns true, if the kill request has been acked and performed, and in this implementation, this is always true, so returning true seems to be the right behavior. Whether the request is legitimate or not or how many pods actually get killed is not of concern or captured in the return value, per the method contract.
[CoarseGrainedSchedulerBackend.killExecutors](https://github.com/apache-spark-on-k8s/spark/blob/branch-2.2-kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala?utf8=%E2%9C%93#L581) first adjusts the number of executors, and then attempts to kill executors. Adjustment needs to happen before kill attempts. That is the higher order bit. The method returns the list of executors it tried to kill, if it gets an ack from the Cluster Backend that Cluster Backend attempted to kill the passed-in executors else it will return an empty list.
KubernetesClusterSchedulerBackend.doKillExecutors return behavior seems OK to me.
@mccheah is the original author; please chime-in, if I am totally off the mark here.
username_0: Thanks, @username_2 and @username_1 for valuable comments. I'm still thinking if the function returns boolean, it should not return always true. Otherwise, the proper function type is void. Off course there's always a case for a bad API design :)
I've looked into the implementation of others cluster backends Messos and Standalone. I found that doKillExecutors in those implementations return false in case:
* [MesosCoarseGrainedSchedulerBackend.doKillExecutors](https://github.com/apache/spark/blob/bfdc361ededb2ed4e323f075fdc40ed004b7f41d/resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala#L653) was called before a driver was initialized. The same for [StandaloneSchedulerBackend](https://github.com/apache/spark/blob/bfd73a7c48b87456d1b84d826e04eca938a1be64/core/src/main/scala/org/apache/spark/scheduler/cluster/StandaloneSchedulerBackend.scala#L208)
I think it would be better to return ```false``` in case of ```runningExecutorsToPods``` HashMap is empty or ```kubernetesClient``` is closed or null to properly adhere to a ```CoarseGrainedSchedulerBackend``` contract.
username_1: I think returning false in the case of closed/missing `kubernetesClient` looks reasonable.
An empty `runningExecutorsToPods` seems like just a special case of one name missing from the table (i.e. all of the names are), and that is already handled in the code.
username_2: In case of Mesos and Standalone backends, it is theoretically possible that `schedulerDriver` object in the former and `client `object in the latter may not be initialized when` doKillExecutors ` is called as they are initialized in the `start` method. Although, practically, it is not clear to me what control flow would trigger such a behavior, that is `doKillExecutors` is called before `start` (only took a quick look). In case of `KubernetesClusterSchedulerBackend`, `kubernetesClient` is passed as a constructor argument and is expected to be initialized before the backend gets hold of it (or the SparkContext/Scheduler doesn't even start).
`KubernetesCLusterSchedulerBackend#stop()` closes the client. So, either something external to `KubernetesClusterScheduleBackend` is closing the client before calling `doKillExecutors` or stop() method is called first before calling `doKillExecutors` for `doKillExecutors `to work on a closed `kubernetesClient`.
We could have defensive code blocks to address the control flow of calling `doKillExecutors ` method with uninitialized or closed `kubernetesClient `. I don't feel strong about it though. It is not clear to me, if such control flows are possible. My hunch is we could leave the method as-is. It is also not clear to me, what are the api methods on `kubernetesClient` to check, if the client is initialized/valid/closed. I might have overlooked a few things, and it is entirely possible that having a defensive code block here is the right thing to do. If there are valid reasons, I am all for it.
Regarding, returning `false`, in case of empty runningExecutorsToPods, I concur with @username_1 |
wtetsu/mouse-dictionary | 719153568 | Title: Failure to compile
Question:
username_0: Please help me.
When i tried to compile the code, I met error like this. How can I fix it. Thanks


Answers:
username_1: Hi, did you follow "How to develop"?
You need to build Mouse Dictionary using npm before make Chrome load it.
https://github.com/username_1/mouse-dictionary#how-to-develop
username_0: Thanks. I did it.
username_1: Did you load dist-chrome directory? (not src directory)
Status: Issue closed
|
reutenauer/polyglossia | 121199672 | Title: Feature request: accented mathematical operators in Spanish
Question:
username_0: Operators such as lim/lím, max/máx, min/mín, inf/ínf, etc. are usually accented in Spanish. It would be useful to have an option that accents or unaccents operators like the `\accentedoperators` or `\unaccentedoperators` commands in `babel`.
Answers:
username_1: Can someone give a complete list of those operators (preferably with their default definition)? Then we can implement this along the line of https://tex.stackexchange.com/a/282233/19291 (rather than the complex `babel` approach)
Status: Issue closed
username_1: I've implemented something similar to `babel-spanish` |
isairz/yomiko | 58713065 | Title: URI refacotring
Question:
username_0: Current URI format is below
```
/?link=http://target.page
```
This format cannot contain parent page information.
There are some candiates of URI format
```
/?link=http://mange.page <!-- manga or episode list -->
/?link=http://episode.page&parent=http://manga.page <!-- manga viewer -->
```
```
/ <!-- site list -->
/:site/ <!-- list in target site -->
/:site/?serach=keyword <!-- filtered list in target site -->
/:site/:manga/ <!-- episode list in manga -->
/:site/:manga/:episode <!-- manga viewer -->
```
```
/ <!-- all list -->
/?site="site1"&category=weekly <!-- filtered list -->
/?site="site1"&category=weekly&manga=1234 <!-- episode list in manga -->
/?site="site1"&category=weekly&manga=1234&episode=5678 <!-- manga viewer -->
/?link=http://episode.page&site="site1"&category="weekly" <!-- manga viewer for legacy -->
```
Answers:
username_0: ```
/ <!-- Main Page -->
/:site/ <!-- list in target site (sorted by update date) -->
/search?q=keyword <!-- filtered list in target site -->
/:manga_id/ <!-- episode list in manga -->
/:episode <!-- manga viewer -->
``` |
jdbi/jdbi | 319597109 | Title: Retrieving `defined` attributes
Question:
username_0: Currently, Jdbi allows us to `define` values that can be interpolated in queries, like so:
```java
Jdbi.define("foo", "fooColumn");
Jdbi.open().createQuery("SELECT <foo> FROM my_foos");
```
But afterwards we are not able to retrieve the value of `foo` directly from the Jdbi class or instance, it would be nice to have `jdbi.getAttribute("foo")` .
The `StatementContext#getAttribute` method does just this but it's only accessible from within a StatementCustomizer
Status: Issue closed
Answers:
username_1: Defined attributes are stored in the `SqlStatements` config class:
```java
jdbi.getConfig(SqlStatements.class).get attributes()
``` |
syscoin/blockmarket-desktop-public | 289691812 | Title: Funding Manager
Question:
username_0: Time for flpme is incorrect was about 10:30 the trade started

Answers:
username_1: You cannot cancel trades ever. We'll look into the time thing when we get to this 👍
username_2: No way to cancel a trade. Looks like time component isn't getting set for FlypMe trades |
boto/botocore | 387053047 | Title: Stubber: Incorrect shape for select_object_content
Question:
username_0: When stubbing out an S3 client, `select_object_content` gives me a `ParamValidationError` for `"Payload"`.
The return value I'm attempting to use is structures as follows:
"""python
{
"Payload": {
"Records": [{'Payload': b'...'}, ...]
}
}
```
The actual return value has that structure, except that the list is replaced with an EventStream of dicts, rather than a list of dicts. However, the following is specified in the error:
`valid types: <class 'dict'>`
How do I specify an EventStream (or other iterator) of the expected type if it only accepts a dict?
Answers:
username_0: I had transcribed the structure incorrectly in the description. The description has now been fixed.
username_1: Seems to be an artifact of the fact that we're using the input validator, but on the output. EventStream can't be an input so it's not supported in the validator. This would be tricky to validate properly since fundamentally the event stream is a generic iterator so we can't simply consume any elements. We'd need to wrap it and validate things as they come out.
username_0: Is there a problem with consuming the iterator, and then re-wrapping it in an event stream?
username_2: This seems like a bug rather than an enhancement.
username_3: This is legit a bug. I find it extremely odd that the entire Internets is unable to mock `select_object_content` properly. But alas that seems to be the state of affairs. What exactly is the purpose of a mocking library that doesn't match the return signature of its realworld equivalent? |
Skyz03/Base-coming-soon | 948743412 | Title: JS Img toggle not functioning
Question:
username_0: The JS img error toggle need to be fixed to make it as per the error show.
Status: Issue closed
Answers:
username_0: Things started working out once that span img element was being seleted with DOM using ID rather than class or anything else. Then Finally turned off and on the visibility which made it to my requirement. |
phan/phan | 625196006 | Title: Null check when assigning variable inside is_null
Question:
username_0: Phan doesn't seem to catch the null check when assigning a variable inside the `is_null` function.
```php
<?php
if (is_null($variable = mayBeNull())) {
return 'early';
}
// PhanTypeMismatchArgumentNullable
doesNotAcceptNull($variable);
```
```php
<?php
$variable = mayBeNull();
if (is_null($variable)) {
return 'early';
}
// Works just fine.
doesNotAcceptNull($variable);
```
Answers:
username_1: This is because src/Phan/Analysis/ConditionVisitor.php supports complex expressions such as assignments(initTypeModifyingClosuresForVisitCall), but src/Phan/Analysis/NegatedConditionVisitor.php (`!is_null(expr)`) only supports simple variables (createNegationCallbackMap). This was probably just overlooked, and should be fixable
Status: Issue closed
|
amcharts/amcharts4 | 721938901 | Title: Cannot read property globalScale of undefined
Question:
username_0: **Question**
Hi all,
I have a bar chart which can be manually reordered by dragging around. Whenever I drop the bar in a different position, I do `categoryAxis.invalidateData()` in order for the am charts to take care of the labelling on the category axis especially when there is a `minGridDistance` attribute set.
I get the following error:
`Cannot read property globalScale of undefined`
<img width="561" alt="Screen Shot 2020-10-14 at 7 57 07 PM" src="https://user-images.githubusercontent.com/1661749/96072008-22483300-0e58-11eb-84cf-9eb792446460.png">
This error occurs intermittently and sometimes on the very first attempt of dragging the bar around. And sometimes after 3 or 4 attempts of drag.
**Note**: This error is happening only when there are hidden labels on the category axis. If we have minGridDistance set to 0 i.e., we show all the x no of labels for x no of bars, this error doesn't occur.
The other question I have is:
Even though the interpolationDuration is set to 0, I am getting a bit of lag when I drag the bar around too fast i.e., the invalidateData() is not happening too fast.
Here is the [Codepen](https://codepen.io/username_0/pen/MWeKoJX?editors=0010)
Any help is hugely appreciated.
**Environment (if applicable)**
amCharts version 4 - 4.9.24
Chrome 86
Answers:
username_0: @martynasma
username_1: Hi,
Invalidating data causes the Sprites to be disposed, so I am not surprised errors happen, as you are interacting with some of the sprites. Here is a pen where dragging is made without invalidating data:
https://codepen.io/team/amcharts/pen/yLJezZo
username_0: @username_1 Okie. Thank you for that but how do you suggest in getting the hidden label of the bar on the category axis to appear if I am not using the invalidateData() ? For example in my code pen, If I move the bar with label 1 to the second position (i.e., the bar which doesn't have the label), I want to get the label 2 which was previous hidden to be shown.
Here's the codepen without the invalidateData() : https://codepen.io/username_0/pen/MWeKoJX?editors=0010
**Initial state**: Label 2 is hidden because of the minGridDistance
<img width="1659" alt="Screen Shot 2020-10-14 at 11 03 33 PM" src="https://user-images.githubusercontent.com/1661749/96083351-defabe00-0e71-11eb-9b14-202af68e1532.png">
**Final state**: I dragged and moved the bar 1 to the bar 2 position. So bar 1 and 2 have been swapped. Now, it looks as follows. How can I get the Label 2 to reappear?
<img width="1752" alt="Screen Shot 2020-10-14 at 11 03 51 PM" src="https://user-images.githubusercontent.com/1661749/96083357-e0c48180-0e71-11eb-8519-2a8b921193ac.png">
username_1: In this case I would make sure all the labels are create by setting minGridDistance to some small number and then manually showing/hiding every X label after the sorting is done.
username_0: @username_1 thank you for the suggestion :) |
rust-lang/cargo | 534352628 | Title: Handle source replacement separately for [dependencies] and [dev-dependencies]
Question:
username_0: **Describe the problem you are trying to solve**
I understand that cargo has a feature to replace dependency source to self-hosted: https://doc.rust-lang.org/cargo/reference/source-replacement.html
However, it seems that I cannot do source replacement of `source.crates-io` only for `[dependencies]` but not for `[build-dependencies]`?
**Describe the solution you'd like**
Handle source replacement separately like this:
```
[source.dependencies.crates-io]
replace-with = "my-vendor-source-for-build-deps"
[source.dev-dependencies.crates-io]
replace-with = "my-vendor-source-for-dev-deps"
```
**Notes**
This issue has been discussed here: https://users.rust-lang.org/t/source-replacement-for-dependencies-only-but-not-for-build-dependencies/35411 |
cypress-io/cypress | 607438367 | Title: typescript compilerOptions "module" param breaks cypress
Question:
username_0: ### Current behavior:
In a JS project im working on I added TS type definitions for my packages.
for this I added a tsconfig.json to the root of my project. The "module" field in the config was accidentally set to "System".
When i committed my branch, cypress in CI started failing with an error:
ReferenceError: System is not defined
This was completely obscure to me and I couldnt figure out why it was failing since as far as i knew, ive made no change to Cypress.
Luckily, a search for the error found a similar (non Cypress related) that pointed me to the tsconfig.
### Desired behavior:
Cypress shouldnt be affected by the tsconfig of the project using it
or at the very least, the error should include useful information to help fix the problem
### Test code to reproduce
repo can be found here:
https://github.com/rpldy/react-uploady/tree/ts-defs
setting the module field in [tsconfig](https://github.com/rpldy/react-uploady/blob/ts-defs/tsconfig.json) to "System" and running:
``` yarn e2e ```
will result in the aforementioned error.
### Versions
cypress: 4.4.1
Answers:
username_1: I can reproduce this by:
- Pulling down the repo at https://github.com/rpldy/react-uploady
- `yarn`
- Edit the root `tsconfig.json` so that `"module": "System"`
- Run `cypress open`
This was introduced in Cypress 4.4.0 and it likely related to our out-of-the-box TypeScript support https://github.com/cypress-io/cypress/pull/5906
This project has no TypeScript files in `cypress` that it's running, so this is especially confusing as an error. cc @username_2
Full error:
```
/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/lib/exception.js:1
System.register([], function (exports_1, context_1) {
^
ReferenceError: System is not defined
at Object.<anonymous> (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/lib/exception.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Module.m._compile (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/ts-node/src/index.ts:536:23)
at Module._extensions..js (internal/modules/cjs/loader.js:986:10)
at Object.require.extensions.<computed> [as .js] (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/ts-node/src/index.ts:539:12)
at Module.load (internal/modules/cjs/loader.js:816:32)
at Module._load (internal/modules/cjs/loader.js:728:14)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at exports.Logger.logger.createException (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/lib/logger.js:67:12)
at exports.Logger.logger.defaultErrorHandler (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/lib/logger.js:92:12)
at exports.Logger.exitOnError (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/lib/logger.js:62:21)
at exports.Logger.Logger._uncaughtException (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/winston/lib/winston/logger.js:645:12)
at process.emit (events.js:215:7)
at processEmit (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/launcher/node_modules/signal-exit/index.js:161:32)
at process.emit (/Users/jennifer/Library/Caches/Cypress/4.4.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/source-map-support/source-map-support.js:485:21)
at process._fatalException (internal/process/execution.js:150:25)
```
DEBUG log: [system-not-defined.log](https://github.com/cypress-io/cypress/files/4544541/system-not-defined.log)
### Workaround
Downgrade to Cypress 4.3.0
username_2: I'll check this out.
Status: Issue closed
|
codalab/codalab-worksheets | 849960046 | Title: Restarting a bundle on the UI places the new bundle in the wrong position
Question:
username_0: Restarting a bundle on the UI would sometimes create the bundle at the top of the page or down an entire section. See the screenshot below:

I would expect the new bundle to be placed directly under the previous bundle. |
typemytype/drawbot | 470024128 | Title: Export TIFFs with CMYK color
Question:
username_0: Frederik, Just and I were discussing this so I'll open a feature — it could be nice to be able to specify that a TIFF image be exported in the CMYK colorspace.
Frederik noticed that this line is blocking it:
https://github.com/typemytype/drawbot/blob/2486f44a553f81870c07ad033fbfcfbcd3882028/drawBot/context/imageContext.py#L119
Answers:
username_1: `samplesPerPixel` need to be 5 is `colorSpaceName` is `AppKit.NSDeviceCMYKColorSpace`.
Perhaps more arguments for `initWithBitmapDataPlanes_pixelsWide_pixelsHigh_bitsPerSample_samplesPerPixel_hasAlpha_isPlanar_colorSpaceName_bytesPerRow_bitsPerPixel_` should become arguments to `_makeBitmapImageRep`. At least `samplesPerPixel`, perhaps `hasAlpha`. |
camelcasetechsd/testing-engine | 249390611 | Title: TE-201 : Import Question For Blueprint Test Without Topics
Question:
username_0: - [ ] If test has Blueprint formation ,imported question must contain topics instead of wight .
Answers:
username_1: https://camelcase.slack.com/files/soliman.samy/F6LS92NN6/-.txt
username_0: PR : https://git.camelcasetech.com/camelCase/testing-engine/pulls/138
username_1: @AbdElmoneimMohamed Please check this change and be sure to:
1. Import is working fine in all cases.
2. Exception above has gone away.
Status: Issue closed
|
sublimehq/sublime_merge | 549819102 | Title: Extra slash in the destination path when cloning a repository
Question:
username_0: **Version info**
- OS: Windows 10
- Build: dev 1118
**Description**
when cloning a repository an extra slash (`/`) is added to the destination path, this results in duplicates in the "Switch Repository" panel if one later opens the same repo via the "Open Repository" command

**Steps to reproduce**
Steps to reproduce the behavior:
1. Clone a repository
**Expected behavior**
No extra slash is added.
**Screenshots**
Notice that the slash character is redundant:

Answers:
username_1: Hi @username_0,
Thank you for your feedback! This issue should be resolved in the next build of Sublime Merge.
Status: Issue closed
|
easywebhub/medihub | 168241041 | Title: Phần search trên trang chủ mất thông tin hiển thị ban đầu, ví dụ "chọn bác sĩ | phòng khám
Question:
username_0: @username_1 xem thử sao
Answers:
username_1: Em thấy search ok rồi mà a @username_0
username_1: Đúng rồi a Phương.
A check lại nha,
@username_2 , @gattadesmond giao diện trang chủ các ô text ghi chữ bên trong combobox bị mất
username_2: fixed 48eb42f397d2946cecbc26f019864d107fdd2a77
Status: Issue closed
username_1: done
username_0: @username_1 xem thử sao
username_0: @username_1 suy nghĩ lại giá trị trống trên cùng khi click vào 1 tiêu chí, có nên thay bằng giá trị "Tất cả" không, chứ click vô đó, phần selection không hiện ra gì cả rất kì cục.
Có thể trao đổi lại với chị Hương về vấn đề này cho hợp lý hơn |
ryceg/Eigengrau-s-Essential-Establishment-Generator | 450135321 | Title: Implement a colour function.
Question:
username_0: There's a lot of duplicate code all over with arrays of colours. A simple colour function (that ideally had arguments that could limit it to specific tones) would simplify a lot of code.
Answers:
username_0: Started work on this at https://github.com/username_0/Eigengrau-s-Essential-Establishment-Generator/commit/68aa867af17318f25dc6437845c8c2ea3103dfa2
Status: Issue closed
|
xws-bench/battles | 135080671 | Title: Human:165 Computer:35
Question:
username_0: Zeta_Squadron_Pilot.Zeta_Squadron_Pilot.Zeta_Squadron_Pilot.Zeta_Squadron_Pilot.Darth_Vader*Veteran_Instincts*Engine_Upgrade*TIE/x1*Advanced_Targeting_Computer.VSPoe_Dameron*Veteran_Instincts*R2-D2*Autothrusters.Gold_Squadron_Pilot*Twin_Laser_Turret.Gold_Squadron_Pilot*Twin_Laser_Turret*R3-A2*BTL-A4_Y-Wing.Bandit_Squadron_Pilot.<br>
http://bit.ly/1L0WKis<br> |
openllb/hlb | 1021553310 | Title: building/pushing multi-platform images
Question:
username_0: Multi-platform image publishing has become a more common use-case. We need to figure out how to represent multi-platform images via HLB. I [recently added](https://github.com/openllb/hlb/pull/272) an `option::image platform` to let us use platform-specific images in a multi-platform manfiest, but we also need to figure out how to build and publish multi-platform images.
There was are recent thread on slack:
https://dockercommunity.slack.com/archives/C7S7A40MP/p1633007913196000
Which Tonis summarized as:
1. Build each image (1 solve for each image) -> OK
2. create a result object
3. add all return values to result map
4. return result
The dockerfile frontend [does this here](https://github.com/moby/buildkit/blob/ba673bbdab4f5c3be9c43600253321287bec2006/frontend/dockerfile/builder/build.go#L514-L516).
Via `pipeline` and `stage` we can build a bunch of images in parallel, but currently they are separate results. We need to think about a syntax that allows us to merge multiple results into a single result so that we can export it.
```hlb
option::image linuxAmd64() {
platform "linux" "amd64"
}
option::image linuxArm64() {
platform "linux" "arm64"
}
fs cowsay(option::image plat) {
image "ubuntu:focal" with plat
run "apt update && apt install -y cowsay"
}
fs default() {
dockerPush "mycowsay:latest" with option {
platform "linux" "amd64" cowsay(linuxAmd64)
platform "linux" "arm64" cowsay(linuxArm64)
}
}
```
This would add an `option::dockerPush platform(string os, string arch, fs myfs)`
I dont like this much... any suggestions for other/better ideas on syntax? I would also like some sort of "foreach" syntax, so in the example above I could run `apt update && apt install -y cowsay` in all existing registered platforms for the `ubuntu:focal` image where each platform would run in parallel, then we could push all platforms to preserve the "multi-platform" nature of the base image.
Answers:
username_0: Thinking on this a bit more, perhaps it makes sense to add `dockerPush` to the `pipeline` context, so a multi-platform push could look something like this:
```
option::image linuxAmd64() {
platform "linux" "amd64"
}
option::image linuxArm64() {
platform "linux" "arm64"
}
fs cowsay(option::image plat) {
image "ubuntu:focal" with plat
run "apt update && apt install -y cowsay"
}
pipeline default() {
stage cowsay(linuxAmd64) cowsay(linuxArm64)
dockerPush "mycowsay:latest"
}
```
Then we could have `stage` add all the return values from each solve to a new result map which `dockerPush` could use? |
ReactiveX/RxSwift | 462803090 | Title: Crash at [RxCocoa.RxTextViewDelegateProxy keyboardInputChangedSelection:]
Question:
username_0: **Short description of the issue**:
Fatal Exception: NSInvalidArgumentException
-[RxCocoa.RxTextViewDelegateProxy keyboardInputChangedSelection:]: unrecognized selector sent to instance 0x17939660
**Expected outcome**:
No crash
**What actually happens**:
I get a crash written above in the short description.
Here is the stack trace:
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x2329ca3a8 __exceptionPreprocess
1 libobjc.A.dylib 0x231bcfd00 objc_exception_throw
2 CoreFoundation 0x2328e29f8 -[NSOrderedSet initWithSet:copyItems:]
3 CoreFoundation 0x2329cfd54 ___forwarding___
4 CoreFoundation 0x2329d1b50 _CF_forwarding_prep_0
5 UIKitCore 0x25ffdffc8 -[UITextView keyboardInputChangedSelection:]
6 UIKitCore 0x25ff518cc -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) notifyKeyboardSelectionChanged]
7 UIKitCore 0x25ff3c54c -[UITextNonEditableInteraction oneFingerTapInUneditable:]
8 UIKitCore 0x25f8ac420 -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:]
9 UIKitCore 0x25f8b48e0 _UIGestureRecognizerSendTargetActions
10 UIKitCore 0x25f8b21dc _UIGestureRecognizerSendActions
11 UIKitCore 0x25f8b16b0 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:]
12 UIKitCore 0x25f8a5474 _UIGestureEnvironmentUpdate
13 UIKitCore 0x25f8a4ba0 -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:]
14 UIKitCore 0x25f8a4970 -[UIGestureEnvironment _updateForEvent:window:]
15 UIKitCore 0x25fcd7cac -[UIWindow sendEvent:]
16 UIKitCore 0x25fcb6f50 -[UIApplication sendEvent:]
17 UIKitCore 0x25fd82150 __dispatchPreprocessedEventFromEventQueue
18 UIKitCore 0x25fd8490c __handleEventQueueInternal
19 UIKitCore 0x25fd7d9c4 __handleHIDEventFetcherDrain
20 CoreFoundation 0x23295a444 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
21 CoreFoundation 0x23295a3c0 __CFRunLoopDoSource0
22 CoreFoundation 0x232959c7c __CFRunLoopDoSources0
23 CoreFoundation 0x232954950 __CFRunLoopRun
24 CoreFoundation 0x232954254 CFRunLoopRunSpecific
25 GraphicsServices 0x234b93d8c GSEventRunModal
26 UIKitCore 0x25fc9c4c0 UIApplicationMain
Note: I first opened an issue on another lib that I thought was the cause and the author gave me a pointer here: https://github.com/RedMadRobot/input-mask-ios/issues/74#issuecomment-507326622
**Self contained code example that reproduces the issue**:
Never reproduced the crash on my device.
**RxSwift/RxCocoa/RxBlocking/RxTest version/commit**
5.0.1
**Platform/Environment**
- [X] iOS
**How easy is to reproduce? (chances of successful reproduce after running the self contained code)**
N/A
**Xcode version**:
```
10.2
```
**Installation method**:
- [X] Carthage
**I have multiple versions of Xcode installed**:
- [X] no
**Level of RxSwift knowledge**:
- [X] I have a significant code base
Answers:
username_0: I found something in my code that might be the cause. I'll close this while investigating
Status: Issue closed
username_0: The bug was on my side.
For anyone getting here from Google, I was indirectly setting a textview as its own delegate.
username_1: Hey, I encounter this issue, I know the cause of this crash is as @username_0 said, setting a textview as its own delegate, but after doing some research and reading some source code, I think this behavior is somewhat a bug of RxCocoa.
The UIKit will call `keyboardInputChangedSelection` on textView when textView is begin edting, and as shown below, `keyboardInputChangedSelection` is a private method of UITextView.
https://developer.limneos.net/index.php?ios=13.1.3&framework=UIKitCore.framework&header=UITextView.h
But the wired thing is that UIKit will first ask textview's delegate if he can respond to the `keyboardInputChangedSelection` selector, and here its delegate is a DelegatePorxy instance.
in DelegatePorxy.swift:
```swift
override open func responds(to aSelector: Selector!) -> Bool {
return super.responds(to: aSelector)
|| (self._forwardToDelegate?.responds(to: aSelector) ?? false)
|| (self.voidDelegateMethodsContain(aSelector) && self.hasObservers(selector: aSelector))
}
```
while self._forwardToDelegate is our textView, the second condition answers true, but DelegatePorxy has no implemention of `keyboardInputChangedSelection`, and cause this crash.
I think this could be avoid by some way, anyone can help? |
capnkirok/animania | 217034012 | Title: Looting enchantment doesn't work on animals from your mod
Question:
username_0: Tested on Holstein cows, and always get 3 raw beef (vanilla) and 3 leather, whether with Looting 3 or not.
Old Spot Pigs always drop 1 raw pork (Old Spot). Leghorn Chickens drop 3 raw chicken (vanilla) and 3 feathers. Is this working as intended ? I would assume not, particularly the chickens - a 3 for 1 deal seems unlikely :)
Answers:
username_1: Cheers, will take a look.
username_1: Yes, I forgot. I made the drops all fixed based on the happiness of the animal. But, can certainly add loot chance in here. Thanks for the reminder.
username_2: You might want to rewrite everything as a loottable
username_1: @username_2 yup
username_1: See #95
Status: Issue closed
|
activerecord-hackery/ransack | 171699779 | Title: Ranking in ActiveAdmin
Question:
username_0: I have difficulty in one particular task in ActiveAdmin (I am a beginner in Rails). I have a Route model in which there is a start location, an arrival location, a distance, a duration etc... I want to configure ActiveAdmin so that i have a page that show the top 10 route depending on the start location and the arrival location (i.e : ‘London-> ‘Manchester' number 1 with 32 routes, ‘Swansea’ -> ‘Cardiff’ number 2 with 27 routes). I have looked for a way to do it but Nothing looked to fit my problem. I found [Ransack ](https://github.com/activerecord-hackery/ransack/wiki/basic-searching)for sorting and searching but I don’t think it is what I need. If you have any advices, tutorials or resources to help, it would help me a lot !
Sorry for my bad English and thanks in advance !
Answers:
username_1: There is an extensive README and wiki here on Ransack.
Status: Issue closed
|
rsc/goversion | 697331554 | Title: Cannot extract go version info on minimal/reproducible/stripped binaries built with go1.14+
Question:
username_0: testcases for default and symbol-stripped builds using standard/boringcrypto go versions 1.9-1.15 at https://github.com/rsc/goversion/pull/15
Answers:
username_0: testcases for default and symbol-stripped builds using standard/boringcrypto go versions 1.9-1.15 at https://github.com/rsc/goversion/pull/15
username_1: FTR the `-s` flag is specifically for [omitting the symbol table](https://golang.org/cmd/link/) so it would appear that the 1.14 and 1.15 golang compilers are actually working correctly.
username_0: yeah, this library has the ability to extract version info directly from well-known assembly produced by the go compiler. it appears that needs updating for go 1.14+ |
getgrav/grav-plugin-admin | 404588305 | Title: duplicate toggles on forms with multiple extends@ values
Question:
username_0: i have a template form that i want to extend multiple other forms. so i added multi
i've done many variations — template3.yaml:
```yaml
extends@:
- template1
- template2
```
```yaml
extends@:
- type: template1
- type: template2
```
```yaml
extends@:
- type: template1
context: blueprints://pages
- type: template2
context: blueprints://pages
```
including also variations with `@extends`, `'@extends'`, and `'extends@'`. always with the same results. — the template3's toggles appear as many times as there are `extends@`.
<img width="782" alt="screen shot 2019-01-29 at 18 56 13" src="https://user-images.githubusercontent.com/10264696/51948711-9417e900-23f7-11e9-9bc6-c2d17a0e2393.png"> |
dotnet/runtime | 607290389 | Title: EventLog access is not supported on this platform (Windows)
Question:
username_0: Exception: 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.PlatformNotSupportedException: EventLog access is not supported on this platform.
at System.Diagnostics.EventLog.SourceExists(String source)
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.EventLog" Version="3.1.3" />
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="4.7.0" />
</ItemGroup>
Answers:
username_1: You need to install windows compatibility pack first to make it work with .net core it’s available on NuGet , I checked it working fine able to write to event log
username_0: System.Diagnostics.EventLog.SourceExists is called from a .net standard 2.0 library referenced by a .net framework 4.7.2 project.
username_1: Then you might need to install this from the where it is being called
username_2: @sywhang is this ours?
username_3: @username_0 system.Diagnostics.EventLog is not supported on netstandard2.0 https://github.com/dotnet/runtime/blob/master/src/libraries/System.Diagnostics.EventLog/src/System.Diagnostics.EventLog.csproj#L11
Status: Issue closed
|
openhouse-project/openhouse-frontend | 928402699 | Title: False Negative: `Transaction failed. Please try again.`
Question:
username_0: When using the deployed instance of openhouse-frontend, an unexpected error was encountered.
The app reported `Transaction failed. Please try again.` in the frontend.
The transaction had been successfully mined shortly after it was broadcast.
# Observed behaviour
1. Load https://openhouse.col*******ory.io/
2. Click "Connect", and connect wallet.
3. Enter a name for the conference room and click Join
4. Click "Confirm" in MetaMask.
5. Observe in the console that the app has received the transaction hash
6. Observe that MetaMask reports that the transaction has been confirmed, which is [confirmed on Etherscan](https://rinkeby.etherscan.io/tx/0xbf4b704db43a58dadc146dc82fce7ec01d9fc88d56b3dc0b8f98f21dbf39d4a3)
7. Wait around 10 minutes
8. Observe the app reports `Transaction failed. Please try again.`
9. UNEXPECTED BEHAVIOUR: Observe the following message in the console: `Error: Transaction was not mined within 50 blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!`
# Expected behaviour
I expect that at (or before) step 6, the application allows a user to be permitted into a video chat room. This is as per
# Notes
The console shows the transaction hash to be [0x0e4299698987e8321086273b7b50b665de10bbf7d5b9a6b2128561167a36fa4d](https://rinkeby.etherscan.io/tx/0x0e4299698987e8321086273b7b50b665de10bbf7d5b9a6b2128561167a36fa4d) which was mined shortly after being submitted.
# Screenshots

Answers:
username_1: It would be great to know if anyone can still reproduce - since #12 was merged in, I haven't been able to reproduce, though I was able to reproduce this consistently before.
@username_0 since you seem the best at reproducing, please close this if you no longer have this issue :)
username_0: Closing - unable to reproduce on latest releases.
Status: Issue closed
|
Caleydo/mothertable | 203233051 | Title: Connection Lines between different data Attribute
Question:
username_0: Draw the lines connection between different data attributes as shown in figure.

Answers:
username_0: Current State:

username_0: Current State:
Still, we need to discuss on how the line will look like.For example when we connect from categorical to non-categorical. There is one issue also regarding the line thickness.
For example:
The domain of the first album is [1957,2014] and the domain of countries [1,7].
Should we generalize the thickness of the line to match first album and countries to the thickness of [1,10] or treat separately?

Status: Issue closed
|
Malek-Jabareen/ICSD | 313127461 | Title: One component contains: Header and Diagram
Question:
username_0: We have to split the Diagram to two components, Header Component, Diagram Component.
Answers:
username_1: I think that the diagram's header and the diagram itself should be in the same component.
the diagram's header is only a simple static part of the diagram. it's like a title.
username_0: I think we have to split the component to two different components, first component includes the shapes and the name of the function, second component includes the diagram.
need you opinion here @ahmadjbara , thank you.
username_1: @username_0 , if I split the diagram component to 2 components and added the function's name, you would not be able to draw lines from the function's name to shapes in the diagram. so we returned to the starting point: the diagram's header is only a static simple thing that does nothing.
username_1: @username_0 , if I did what you wrote, you might not be able to draw a straight line from the function's name to the shapes. There may be a little space, but i'm not sure. so like I said , the header is like a simple title ,a static image...
username_1: mousa fixed it.
Status: Issue closed
|
Tatikoma/php-gedcomlib | 363369851 | Title: Handle unknown records
Question:
username_0: It would be nice to handle unknown records in the parser at least to the extent the a warning is logged and the record is skipped over, or maybe there is an 'UNKN' record case that each unknown records is copied into rather than throwing a fatal exception. This file blows up on ADDR.
```
0 HEAD
1 SOUR FTW
2 VERS 5.00
2 NAME Family Tree Maker for Windows
2 CORP Broderbund Software, Banner Blue Division
3 ADDR 39500 Stevenson Pl. #204
4 CONT Fremont, CA 95439
3 PHON (510) 794-6850
1 DEST FTM
1 DATE 28 JAN 2007
1 CHAR IBMPC
1 SUBM @SUBM@
1 FILE C:\Documents and Settings\Woodbri\Desktop\Genealogy\family-files\Woodbridge-Record4.GED
1 GEDC
2 VERS 5.5
0 @SUBM@ SUBM
0 @I0001@ INDI
1 NAME John /Woodbridge/
1 SEX M
1 BURI
2 DATE 9 DEC 1637
2 PLAC Stanton, Wiltshire, England
1 CHAN
2 DATE 29 JUL 2001
1 REFN WR-1
1 FAMS @F001@
1 NOTE @NI0001@
0 @NI0001@ NOTE
1 CONC BIOGRAPHY: Rev. <NAME> was Rector of the parish of Stanton, near
1 CONC Highworth in Wiltsh ire, and a minister "so able and faithful" -- says
1 CONC <NAME>, in his Magnalia -- "as to o btain an high esteem among
1 CONC those that at all knew the invaluable worth of such a minister."
``` |
wso2/maven-tools | 303730061 | Title: Too many open files issue when using maven-car-plugin:
Question:
username_0: **Description:**
It seems that "Too many open files" error occurred when using the maven-car plugin. This can be happened due to unclosed input streams.
**Suggested Labels:**
Bug
**OS, DB, other environment details and versions:**
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
**Steps to reproduce:**
Use maven-capp or maven car plugins with around 100-120 files. It will give the above mentioned "too many open files" issue.
Answers:
username_1: Any update on this bug? It started happening to me today on a freshly installed ubuntu 18.04, my project was compiling fine in 16.04. The only workaround I found to work is to set ulimit -n <value> before running maven. |
Bryantdl7/darkstormdev | 175897893 | Title: Enhancing maps
Question:
username_0: gm_skydive2008_rc1
gm_ragdoll_slaughter_v4
Answers:
username_1: I will work on skydive for now, from what I can tell saving and editing is almost a waste of time.
username_0: What do you mean saving and editing is a waste of time?
username_1: I'm extremely late because I do thing sporadically, anyhow I will have to reconstruct most of the map except for maybe the airplane.
username_0: Post some milestones as you get stuff done. Again it's a low priority task, so just take your time and keep this updated
username_1: I try and manage all of my progress here https://trello.com/b/01PdH8L7, focusing on more than one map at a time tends to be overwhelming.
username_0: Are we scrapping this?
username_2: I think we lack the manpower to really put our all into enhancing maps, and the reward (Player Increase, etc.) we'd get for it is nonexistent since players seem to be content with our current generic maps
Status: Issue closed
username_1: gm_skydive2008_rc1
gm_ragdoll_slaughter_v4
Status: Issue closed
|
primefaces/primefaces | 101980399 | Title: p:columnToggler hidden columns reappear after change page
Question:
username_0: I created a p:dataTable with p:columnToggler by copying the code documented in the following blog:
http://blog.primefaces.org/?p=3341
When I select the column toggler button and uncheck a column, the column disappears and I see that primefaces added a style="display: none;" attribute to the appropriate th and td elements.
However, when I select the next page button or one of the numbered page buttons on the paginator, the column returns but the column header is still hidden. The th element still has the style="display: none;" attribute but the same attribute is missing from the td elements. The td elements do have a new ui-helper-hidden class.
Please see the following PrimeFaces forum entry for more information.
http://forum.primefaces.org/viewtopic.php?f=27&t=43042
Status: Issue closed
Answers:
username_2: still buggy in 5.3 and 5.2 when used in lazy table and filter for data |
Multiverse/Multiverse-NetherPortals | 147060317 | Title: Nether and End Portal Kills Players.
Question:
username_0: I have the latest 1.9.2 Spigot server running the latest Jenkins build (March 12) of Multiverse-NetherPortals and Multiverse-Core. However, the interdimensional teleportation has been causing players great grief.
Whenever you use the nether portal, players sometimes take half-a-heart of damage before appearing on the other dimension of the portal. When the worldborder of the nether world is smaller than the one in the overworld, and when the overworld portal is outside of the border range of the Nether, the player "will suffocate in a wall" before appearing at what it seems like a right location--dead. The temporary solution to this is setting the worldborder damage per block to 0. Also, it seems like the similar problem is causing all the entities that goes through the nether portal to not appear on the other side, but I have yet to test where the entities land after going through the portal.
However, the case with the End is much more extreme. When players use the End portal, they spawn in the End at the wrong coordinates--that is, the same coordinates the player used to enter the end portal back in the overworld (and sends them deep into the void). That happens very often when there's nobody in the End (or maybe when the spawn chunks in the End are not loaded). When there's someone already in the End, the player correctly spawns on the spawning platform. Also, when players use the End portal in the End, they spawn in the x-z coordinates (0,0) of the overworld, regardless of the world's spawn point. All three worlds have the flag "keep-spawn-in-memory"(or similar) set to true.
All those symptoms happen in the second survival world. The default world doesn't show these problems. Can they be fixed?
Answers:
username_1: I can confirm that this is occurring with the latest version of Multiverse-NetherPortals when paired with worldborder.
I have my overworld and nether on a 1:3 ratio, and the worldborder set accordingly.
It appears that while the exit nether portal is spawning at the correct coordinates, the player is teleported to the coordinates on a 1:1 ratio, putting them outside the worldborder.
Worldborder detects they are outside the border, and teleports them to the worlds spawn, which in my servers case was set to 0, 0, 0 by default, causing them to fall out of the world and die.
If I put a worldborder bypass on myself and walk through the portal, I come out where the exit portal spawns at the correct coordinates.
The only thing I can assume is happening is the player is being sent to a 1:1 ratio location first, before being sent to the correct coords?
I have not tested this with the end world yet, but I presume from the ops post, that the same issue will occur.
username_0: The case with the End portal was the matter of setting the End's spawn point right around the spawning pad. |
thombashi/SimpleSQLite | 623851195 | Title: Potential dependency conflicts between simplesqlite and typepy
Question:
username_0: Hi, as shown in the following full dependency graph of **_simplesqlite_**, **_simplesqlite_** requires **_typepy >=1.0.0,<2_**, **_simplesqlite_** requires **_tabledata >=1.1.1,<2_** (**_tabledata 1.1.2_** will be installed, i.e., the newest version satisfying the version constraint), and directed dependency **_tabledata 1.1.2_** transitively introduces **_typepy >=1.0.0,<2_**.
Obviously, there are multiple version constraints set for **_typepy_** in this project. However, according to pip's _“first found wins”_ installation strategy, **_typepy 1.1.1_** (i.e., the newest version satisfying constraint **_>=1.0.0,<2_**) is the actually installed version.
Although the first found package version **_typepy 1.1.1_** just satisfies the later dependency constraint (**_typepy >=1.0.0,<2_**), such installed version is very close to the upper bound of the version constraint of typepy specified by **_tabledata 1.1.2_**.
Once **_tabledata_** upgrades,its newest version will be installed, Therefore, it will easily cause a dependency conflict (build failure), if the upgraded **_tabledata_** version introduces a higher version of **_typepy_**, violating its another version constraint **_>=1.0.0,<2_**.
According to the release history of tabledata, it habitually upgrates Typepy in its recent releases. For instance, tabledata 1.0.0 upgrated Typepy’s constraint from **_>=0.6.4,<2 to >=0.6.6,<2_**,and tabledata 1.1.1 upgrated Typepy’s constraint from **_>=0.6.6,<2 to >=1.0.0,<2_**.
As such, it is a warm warning of a potential dependency conflict issue for simplesqlite.
### Dependency tree
```
simplesqlite - 1.1.2
| +- dataproperty(install version:0.49.1 version range:>=0.47.0,<2)
| +- mbstrdecoder(install version:1.0.0 version range:<2,>=0.8.3)
| | +- chardet(install version:3.0.4 version range:<4,>=3.0.4)
| | +- faker(install version:4.0.3 version range:>=1.0.2)
| | | +- python-dateutil(install version:2.8.1 version range:>=2.4)
| | | +- text-unidecode(install version:1.3 version range:==1.3)
| | +- pytest(install version:5.4.1 version range:*)
| | | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | | +- colorama(install version:0.4.3 version range:*)
| | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | | +- packaging(install version:20.3 version range:*)
| | | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | | +- six(install version:1.14.0 version range:*)
| | | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- py(install version:1.8.1 version range:>=1.5.0)
| | | +- wcwidth(install version:0.1.9 version range:*)
| +- pathvalidate(install version:2.3.0 version range:<3)
| +- pytablereader(install version:0.30.0 version range:>=0.28)
| | +- beautifulsoup4(install version:4.9.1 version range:<5,>=4.4.1)
| | +- dataproperty(install version:0.49.1 version range:<2,>=0.48.1)
| | +- jsonschema(install version:3.2.0 version range:>=2.5.1,<4)
| | +- mbstrdecoder(install version:1.0.0 version range:>=1.0.0,<2)
| | | +- chardet(install version:3.0.4 version range:<4,>=3.0.4)
| | | +- faker(install version:4.0.3 version range:>=1.0.2)
| | | | +- python-dateutil(install version:2.8.1 version range:>=2.4)
| | | | +- text-unidecode(install version:1.3 version range:==1.3)
| | | +- pytest(install version:5.4.1 version range:*)
| | | | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | | | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | | | +- colorama(install version:0.4.3 version range:*)
| | | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | | | +- packaging(install version:20.3 version range:*)
| | | | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | | +- py(install version:1.8.1 version range:>=1.5.0)
| | | | +- wcwidth(install version:0.1.9 version range:*)
| | +- path.py(install version:12.4.0 version range:>=11.5.2,<13)
| | +- path.py(install version:12.4.0 version range:<13)
| | +- pathvalidate(install version:2.3.0 version range:>=2.2.2,<3)
| | +- pypandoc(install version:1.5 version range:*)
[Truncated]
| | | | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | | +- packaging(install version:20.3 version range:*)
| | | | +- Pygments(install version:2.6.1 version range:>=2.0)
| | | | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | | +- setuptools(install version:46.1.3 version range:*)
| | | | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | | | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | | | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| | +- typepy(install version:1.1.1 version range:>=1.0.0,<2)
| +- typepy(install version:1.1.1 version range:>=1.0.0,<2)
```
Thanks for your help.
Best,
Neolith
Answers:
username_0: ### Suggested Solution
1. Loosen the version range of **_typepy_** to be **_>=1.1.1_**.
2. Remove your direct dependency **_typepy_**, and use the **_typepy_** transitively introduced by **_tabledata_**.
3. Change your direct dependency **_tabledata_** to be **_>=1.1.1,<=1.1.2_**.
@username_1 Which solution do you prefer, 1 ,2or 3?
Please let me know your choice. May I pull a request to solve this issue?
username_1: Thank you for your report.
I think there is no need to fix, the same reason with username_1/ghscard#1
This also the same for #69, #70
Status: Issue closed
|
danstarns/DGQL | 982094161 | Title: Multi Fragments
Question:
username_0: Given the DGQL Query:
```gql
{
MATCH {
movie @node(label: Movie) {
PROJECT {
title
...Actors
...Genres
}
}
}
RETURN {
movie
}
}
fragment Actors on DGQL {
actors @edge(type: ACTED_IN, direction: IN) @node(label: Person) {
name
}
}
fragment Genres on DGQL {
genres @edge(type: IN_GENRE, direction: OUT) @node(label: Genre) {
name
}
}
```
Response is:
```json
{
"movie": [
{
"Genres": null,
"title": "Forrest Gump",
"genres": [
{
"name": "Romance"
}
]
}
]
}
```
Expected:
```json
{
"movie": [
{
"actors": [
{
"name": "<NAME>"
}
],
"title": "Forrest Gump",
"genres": [
{
"name": "Romance"
}
]
}
]
}
``` |
Hacker0x01/react-datepicker | 163433474 | Title: New release
Question:
username_0: Hey,
Im trying to use the inline feature that was merged into master. It looks like the npm package has not been updated. Can you guys update the latest release on npm to include the latest changes on master.
Thanks!
Answers:
username_1: Give me a sec
Status: Issue closed
username_1: Here you go https://github.com/Hacker0x01/react-datepicker/releases/tag/v0.28.0 |
serverless/examples | 282278135 | Title: aws-node-rest-api-with-dynamodb-and-offline class not found error
Question:
username_0: Please LMK if I've made a basic mistake, or if more info is needed.
### Steps to reproduce:
````
Computer:aws-node-rest-api-with-dynamodb-and-offline paul$ export SLS_DEBUG=*
Computer:aws-node-rest-api-with-dynamodb-and-offline paul$ serverless offline start
Serverless: Load command run
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command emit
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command dynamodb
Serverless: Load command dynamodb:migrate
Serverless: Load command dynamodb:seed
Serverless: Load command dynamodb:start
Serverless: Load command dynamodb:noStart
Serverless: Load command dynamodb:remove
Serverless: Load command dynamodb:install
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Invoke offline:start
Dynamodb Local Started, Visit: http://localhost:8000/shell
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/spi/ExtendedLogger
at com.amazonaws.services.dynamodbv2.local.shared.logging.LogManager.<clinit>(LogManager.java:28)
at com.amazonaws.services.dynamodbv2.local.server.DynamoDBProxyServer.<clinit>(DynamoDBProxyServer.java:36)
at com.amazonaws.services.dynamodbv2.local.main.ServerRunner.createServer(ServerRunner.java:124)
at com.amazonaws.services.dynamodbv2.local.main.ServerRunner.createServerFromCommandLineArgs(ServerRunner.java:120)
at com.amazonaws.services.dynamodbv2.local.main.ServerRunner.main(ServerRunner.java:71)
[Truncated]
at variables.populateService.then (/usr/local/lib/node_modules/serverless/lib/Serverless.js:104:33)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
at Serverless.run (/usr/local/lib/node_modules/serverless/lib/Serverless.js:91:74)
at serverless.init.then (/usr/local/lib/node_modules/serverless/bin/serverless:42:50)
at <anonymous>
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Forums: forum.serverless.com
Chat: gitter.im/serverless/serverless
Your Environment Information -----------------------------
OS: darwin
Node Version: 9.2.1
Serverless Version: 1.24.1
````
Answers:
username_0: ````
Computer:aws-node-rest-api-with-dynamodb-and-offline paul$ sudo lsof -PiTCP -sTCP:LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
launchd 1 root 12u IPv6 0xf8787fa43b9e13c1 0t0 TCP localhost:8021 (LISTEN)
launchd 1 root 13u IPv4 0xf8787fa43b9e4d21 0t0 TCP localhost:8021 (LISTEN)
launchd 1 root 15u IPv6 0xf8787fa43b9e13c1 0t0 TCP localhost:8021 (LISTEN)
launchd 1 root 16u IPv4 0xf8787fa43b9e4d21 0t0 TCP localhost:8021 (LISTEN)
geth 20144 paul 32u IPv6 0xf8787fa43b464e81 0t0 TCP *:30303 (LISTEN)
geth 20144 paul 46u IPv4 0xf8787fa43ef0ed21 0t0 TCP localhost:8545 (LISTEN)
````
username_1: an example can be executed without running the migration. I am guessing it required readme file update as the offline command is twice. if not then definitely a bug in the example. Hope this helps.
username_2: I also hit an error something related to this. As soon as I run `Serverless offline start`, I get some outputs pertaining to the start and then this exception:
```xception in thread "main" java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8000
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:396)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.amazonaws.services.dynamodbv2.local.server.DynamoDBProxyServer.start(DynamoDBProxyServer.java:83)
at com.amazonaws.services.dynamodbv2.local.main.ServerRunner.main(ServerRunner.java:76)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:225)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
... 8 more```
The curl commands specified in README doesn't work either. |
broadinstitute/gatk | 308332723 | Title: multiple samples support or GVCF support for mutect2 tumor-only mode
Question:
username_0: Hi.
We need multiple samples support or GVCF support for mutect2 tumor-only mode.
so we can diff the ./. and 0/0 in multiple normal samples.
There is neither multiple samples support nor GVCF support in version 4.0.2.1.
Best Regards
Answers:
username_1: @username_0 Could you explain your use case a bit further?
username_0: for example,
the var of sample Normal_A:
chr1 100 T A 1/1
chr1 110 T T 0/0(not ouputted in vcf)
the var of samlpe Normal_B:
chr1 100 T T ./. (not coveraged, not outputed in vcf too)
chr1 110 T A 1/1
username_1: @username_0 We have decided to do this -- see #4887.
Status: Issue closed
|
CartoDB/cartodb | 182044844 | Title: feature request: button for centering map
Question:
username_0: Relate to https://github.com/CartoDB/design/issues/59
Status: Issue closed
Answers:
username_1: Relate to https://github.com/CartoDB/design/issues/59
username_1: Reopening.
When the dataset name is large, it pushes the icon to the right.

username_2: Closing due to it is already live 💋, thanks @username_1.
Status: Issue closed
|
cej55/roaming | 936389508 | Title: 무정지 재배포 - ( Liveness & Readiness )
Question:
username_0: ## 무정지 재배포 - ( Liveness & Readiness )
* 먼저 무정지 재배포가 100% 되는 것인지 확인하기 위해서 Autoscaler 이나 CB 설정을 제거함
- seige 로 배포작업 직전에 모니터링 함.
```
siege -c60 -t60S -r10 -v http get http://reservation:8080/reservations
```
- 새버전으로의 배포 시작
```
kubectl apply -f live_deployment.yml -n ns-carsharing
```

- seige 의 화면으로 넘어가서 Availability 가 100% 미만으로 떨어졌는지 확인




배포기간중 Availability 가 평소 100%에서 39% 대로 떨어지는 것을 확인. 원인은 쿠버네티스가 성급하게 새로 올려진 서비스를 READY 상태로 인식하여 서비스 유입을 진행한 것이기 때문. 이를 막기위해 Readiness Probe 를 설정함:
```
# deployment.yaml 의 readiness probe 의 설정:
```

```
kubectl apply -f kubernetes/read_deployment.yaml
```
- 동일한 시나리오로 재배포 한 후 Availability 확인:
## Readiness 다시 작성
```
yaml파일 수정 및 배포 완료
```

```
상태 확인을 위해 소스를 재 빌드함
```


```
신규 버전을 배포함
```

```
최종 결과 확인
```


배포기간 동안 Availability 가 변화없기 때문에 무정지 재배포가 성공한 것으로 확인됨. |
picotorrent/picotorrent | 314427661 | Title: Wrong progress status in taskbar
Question:
username_0: Version 0.14.1, win 10 x64
All added torrents downloaded but in task bar I see:

Answers:
username_1: #583 fixes this! I'll make a release later tonight. Sorry!
Status: Issue closed
|
ambarja/CheatSheetRGEE | 940074255 | Title: Group by categories the functions of rgee
Question:
username_0: At the moment rgee has 74 available functions, this is a proposal for a group the functions by category with the final of to have a cheetshet structured.
N° | Function | Category | Check
|---|---|---|---|
01 | ee_as_raster | Image & ImageCollection | <ul><li>[x] item1</li><li>[ ] item2</li></ul>
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
02 | ee_as_sf |
Answers:
username_0: - [ ] Define categories to available functions.
- [ ] Structuring the template of the cheatsheet in Latex or Google slides.
- [ ] To define the reproducible examples for the cheatsheet.
- [ ] Writing the cheatsheet in English and Spanish.
- [ ] Pull request to main repository.
username_0: ## Structure of rgee cheatsheet
| Categories | Spatial data | type | description | functions
-------------|--------------|------|-------------------------------|-----------
General | - | <ul><li>Number</li><li>String</li><li>List</li><li>Dictionary</li><li>Array</li><li>Date</li><li>DateRange</li></ul>| General functions for handling object basic| <ul><li>ee$Number()</li><li>ee$String()</li><li>ee$List()</li><li>ee$Dictionary()</li><li>ee$Array()</li><li>ee$Date()</li><li>ee$DateRange()</li></ul>
Geometry | vector | <ul><li>Point</li><li>Linestring</li><li>LinearRing(close lineString)</li><li>Polygon</li><li>MultiPoint</li><li>MultiLineString</li><li>MultiGeometry</li></ul>| Set of geometries form that respresent a object geographical.| <ul><li>ee$Geometry$BBox()</li><li>ee$Geometry$LineRing()</li><li>ee$Geometry$MultiLineString()</li><li>ee$Geometry$MultiPoint()</li><li>ee$Geometry$MultiPolygon()</li><li>ee$Geometry$Point()</li><li>ee$Geometry$Polygon()</li><li>ee$Geometry$Rectangle()</li><li>ee$Geometry()</li></ul>|
username_0: ## Structure of rgee cheatsheet
<p><h3 align="center">SECOND PART </h3></p>
| Categories | Spatial data | type | description | functions
-------------|--------------|------|-------------------------------|-----------
Machine Learning |
Specialized Algorithms|
Asset Management |
Custom visualization | | <ul><li>continous palette</li><li>categorical palette</li><li>character palette</li><li>custom palette</li></ul>
Custom Applications | | <ul><li>Flexdasboard</li><li>Shinny</li></ul> |
LoopFiftyFour/JS-Connector | 772178469 | Title: Add an example in the Js Library for CreateEvents
Question:
username_0: The JS Example library is missing an example for createEvents.
If I get the chance I'm happy to try and create a pull request for this, once we have it working in our solution
Answers:
username_1: Hi!
Do you mean this example library? https://github.com/LoopFiftyFour/JS-Connector/blob/master/public/index.html
A PR would be welcome, thank you!
username_0: The examples hosted here : https://github.com/LoopFiftyFour/JS-Connector/tree/master/codeexamples
I've created a fork and as I'm fixing my client's code, happy to update the examples with working instance of the code and send up a pull request
Also noticed that in that example set the library connector referenced isn't there, so I've updated it in my branch to use
<script type="text/javascript" src="https://static.loop54.com/lib/js/loop54-js-connector.js"> </script>
username_0: I'll work on a PR to fix that and the example and send it up later this week
username_1: Maybe I'm misunderstanding, but there are code examples for createEvents here: https://github.com/LoopFiftyFour/JS-Connector/blob/master/codeexamples/eventtracking.js
The file has a confusing name, though.
username_0: The example on that calls CreateEvent (singular : line 65) of this library : https://github.com/LoopFiftyFour/JS-Connector/blob/master/src/client.js
However there's a createEvents (plural : line 108) which allows multiple order line events to be created in one hit, and that doesn't have an example
username_1: Ah, now I understand. I was confused because the API method is also called createEvents and there is no singular method in the API.
Yes, a code example for the JS createEvents function would be nice. |
aws/aws-cli | 41591467 | Title: Validate region and parse "None" correctly in aws configure
Question:
username_0: When using aws configure and provide an invalid region (e.g. "Ireland", which is used throughout console.aws.amazon.com but needs to be "eu-west-1" here...), it should either provide a warning or ignore it.
Additionally, other commands should do the same, otherwise cryptic error message appear, e.g.:
```
$ aws s3 ls s3://assets.screenscott.com
HTTPSConnectionPool(host='s3-ireland.amazonaws.com', port=443): Max retries exceeded with url: /assets.screenscott.com?delimiter=/&prefix= (Caused by <class 'socket.gaierror'>: [Errno 8] nodename nor servname provided, or not known)
```
After I guessed the problem was due to my region and not my IAM user / permissions, I tried to change back to the default region. In aws configure, if you leave the region field empty, it uses the previous value (e.g. "Ireland"). If you put in None, it parses the region literally and it'll try to connect to ``s3-none.amazonaws.com`` :)
Not a big issue really, but took me ages to figure out due to the cryptic error message.<issue_closed>
Status: Issue closed |
sendgrid/docs | 200697794 | Title: What is my sending/originating IP address with Sendgrid?
Question:
username_0: https://sendgrid.com/docs/Classroom/Basics/Account/what_is_my_sending_originating_ip_address_with_sendgrid.html
According to this documentaiton I'm supposed to be able to determine the outbound IP Sendgrid is using to send email. However that information does appear to be available in my Settings. I'm attempting to Whitlelist the IP with Google as Google is now bouncing the emails sent into our domain. We were flagged as spam due to another site on our servers that was hacked and has since been resolved.
Status: Issue closed
Answers:
username_1: Hello @username_0,<br /><br/>Thanks for your suggestion or question!<br /> <br />In an attempt to clear out our backlog, we are closing out issues over 90 days old. If this is still an issue, please feel free to reopen it. <br /><br />Team SendGrid DX-Docs |
Toasted201/OpenClassroom_P06 | 749705638 | Title: Image/Video (Show trick) (2)
Question:
username_0: L'image "à la une" est laissé libre, par défaut, la première image ajoutée est à préférer.
Si aucune image n'a été ajoutée, vous veillerez à mettre une image par défaut
Carrousel d'image et vidéo : le nombre de vidéos et d'image n'est pas limité.
En fonction du nombre, l'affichage se fera à la suite.
Sur mobile, vous veillerez à cacher par défaut les images et les vidéos liées au trick, le bouton permettra de déployer une liste contenant les images et les vidéos<issue_closed>
Status: Issue closed |
softwaremill/bootzooka | 175585595 | Title: Missing class from version package.
Question:
username_0: Is there a class missing?
The version package has a VersionRoutes trait which imports BuildInfo, but I don't see that class in the package
`import com.softwaremill.bootzooka.version.BuildInfo._`<issue_closed>
Status: Issue closed |
SthephanShinkufag/Dollchan-Extension-Tools | 177635027 | Title: В Safari не открываются настройки скрипта
Question:
username_0: Аналогичная ситуация, но на десктопе:
https://github.com/username_1/Dollchan-Extension-Tools/issues/935
При нажатии на кнопку скрипта менюшка не разворачивается. Safari 9.1.2, Mac OS X El Capitan 10.11.6.
Answers:
username_1: Да, есть такая проблема в Safari <=9
username_1: Теперь настройки в Сафари<10 открываются.
Отключил анимацию, так как много костылей ради нее придется пилить. Они когда-то в скрипте были для старых webkit движков, но давно выпилены.
Осталось решить проблему с #914. Если это не удастся - тогда я прекращу поддержку Safari до 10 версии.
Status: Issue closed
username_0: Спасибо, отлично. |
mreichelt/docker-android | 365791533 | Title: Android SDK Link is out of date
Question:
username_0: The current version is https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
I think this may be related to the error I'm getting when trying to start an emulator in the container in a gitlab docker runner
"Your emulator is out of date, please update by launching Android Studio"
Answers:
username_1: Hi!
I assume that you were using the `username_1/android:latest` tag - that one has grown *way too large* (17,3G uncompressed), which is why I needed to split them up.
As a result, you should find many smaller tags here: https://hub.docker.com/r/username_1/android/tags/
tl;dr: Only the `X-system` variants contain the appropriate system image.
Let me know if anything is missing, and I'll add it as fast as I can! :)
username_0: I was using the 26-system tag. It seems to work in the 28-system tag, but the 26-system tag downloads an older version of the SDK as far as I can tell
username_1: I checked both the `26-system` as well as `28-system` locally - both have the latest SDK tools `26.1.1` and the latest emulator `27.3.10`.
And the latest SDK tools you mentioned are used, as you can see here: https://github.com/username_1/docker-android/blob/master/minimal.Dockerfile#L4
Can you provide a short, self contained, correct example for how you get to the "Your emulator is out of date, please update by launching Android Studio" message? Maybe I can fix the problem :)
username_0: I have a GitLab CI script that looks like this:
```yml
image: username_1/android:28-system
minimal:
stage: minimal
script:
- apt install -qq --yes qemu-kvm
- echo "no" | avdmanager create avd -n $EMULATOR_NAME -k "system-images;android-28;default;x86"
- $ANDROID_HOME/emulator/emulator -avd $EMULATOR_NAME -no-window -no-audio &
- echo $! > pidfile
- ./wait-for-emulator.sh
after_script:
- |
if [ -f pidfile ]; then
pkill -F pidfile || true
rm -f pidfile
fi
```
The output is here: https://gist.github.com/username_0/92b8d55dfc6000c499404adede9f2a8f
Interestingly I can't recreate the old behaviour; now it still complains that the emulator is out of date, but it actually successfully starts the emulator (and in non-minimal examples, also runs the tests)
username_0: Closing because I haven't been able to reproduce this at all anymore.
Status: Issue closed
username_1: That must mean it seems to be fixed! 🎉
Thanks a lot for reporting this @username_0 - I didn't get around to test this since I didn't have a KVM-enabled CI environment around.
In the end, I think the emulator up-to-date check is only a notice so the user is reminded to use the newest emulator.
If you see this message again, maybe there's a new emulator available. Then of course it's time for this Docker image to update to the latest tools. :-) |
Hasan-Baig/SYSC3010_Home_Pixel | 723134773 | Title: IssueC
Question:
username_0: 1. Clone repository to your local machine
2. Create a new branch "ideaN" where N=your identifier
3. Add a new file "N.py" where N=your identifier containing a single function that prints your identifier
4. Edit an existing file to import your new file and call your new function
5. Create a pull request
Answers:
username_1: Completed all tasks
Status: Issue closed
|
LibreCat/Catmandu | 244580577 | Title: Treat quotes numerals as string literals not as integers
Question:
username_0: ```
add_field(a,"910") # a := "910"
add_field(b,910) # b := 910
```
Ref: https://github.com/LibreCat/Catmandu-MARC/issues/82
Status: Issue closed
Answers:
username_1: I'm afraid both are just scalar's to perl. This should be handled as late as possible in the marc package by writing an interpolated literal `$record->{tag} = "$tag"`. |
fixstars/clpy | 356660634 | Title: Pass clpy_tests/core_tests/test_ndarray_scatter.py
Question:
username_0: We should support, remove, or fix clpy_tests/core_tests/test_ndarray_scatter.py
https://github.com/fixstars/clpy/blob/clpy/tests/clpy_tests/core_tests/test_ndarray_scatter.py
Answers:
username_1: `clpy.core.core._scatter_op_single` and https://github.com/fixstars/clpy/issues/139
username_1: `clpy.core.core._scatter_op_single` depends on `atomicAdd` (#30)
username_1: I'm trying to resolve this.
username_1: closing since #188 has been merged.
Status: Issue closed
|
shiftkey/desktop | 888348800 | Title: enterprise account
Answers:
username_1: Take a look at https://github.com/username_2/desktop/issues/72
Why did you delete the description?
Status: Issue closed
username_2: GitHub Enterprise access is not supported currently because of how OAuth applications work there.
#72 has more details on why that's the case, but I don't really have the time to take it further because it's a lot of fiddly work (both within the app and for users). |
dnsimple/erldns | 344519427 | Title: ./rebar: not found
Question:
username_0: ```
./build.sh: 4: ./build.sh: ./rebar: not found
./build.sh: 5: ./build.sh: ./rebar: not found
./build.sh: 6: ./build.sh: ./rebar: not found
```
Should I change this to rebar3 or is there something else I may be missing for the install process?
Answers:
username_1: Go ahead and change it to `rebar3` for now. It may be better to just use `make` but I need to review and make sure the `build.sh` script is not used somewhere.
Status: Issue closed
|
vluzrmos/collective-html | 90081167 | Title: Qual e a versão do pacote?
Question:
username_0: [InvalidArgumentException]
Could not find package vluzmos/collective-html at any version for your mini
mum-stability (stable). Check the package spelling or your minimum-stability
Answers:
username_1: Rode: `composer require username_1/collective-html`
a versão atual é 1.0.4
se quiser instalar o curinga dessa versão:
`composer require username_1/collective-html=1.0.*`
ou adicione no composer.json:
"username_1/collective-html":"1.0.*"
Status: Issue closed
username_1: [InvalidArgumentException]
Could not find package vluzmos/collective-html at any version for your mini
mum-stability (stable). Check the package spelling or your minimum-stability
username_1: I found that bug too, and i'll fix that in a minute.
Status: Issue closed
username_1: Fixed that on version 1.0.5.
Thanks @username_0 e @henriquesousa |
custom-select/custom-select | 192564467 | Title: Scroll propagation
Question:
username_0: When you scroll on the custom select panel the scroll shouldn't be propagated at parent elements.
A stopPropagation() call may be enough?
Answers:
username_1: For a consistent cross browsing behavior I suggest to use a library: [disable-scroll](https://github.com/gilbarbara/disable-scroll) |
google/jimfs | 177606667 | Title: Enable custom and/or overriding Attribute providers
Question:
username_0: Hey guys,
I'm looking to use JimFS to test some logic around a File system visitor I've written thats very sensitive to both the timestamp that a file is modified (✓ -- [BasicAttributeProvider supports `setLastModifiedTime`](https://github.com/google/jimfs/blob/fdc12fe9e0edb4cb952a371df1f43e67d2f8f459/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java#L96)) and how large that file is (✗ -- [BasicAttributeProvider throws `unsettable` for any attemps to set the size](https://github.com/google/jimfs/blob/fdc12fe9e0edb4cb952a371df1f43e67d2f8f459/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java#L108)).
There are a couple of workarounds I can currently employ:
- our domain logic involves looking at files that are many megabytes big --making creation of these files in an in-memory file system distasteful, but I can probably inject these size & threshold values into our service components to have our logic trigger on much smaller files, and then simply create files on the order of a few kilobytes in memory.
- I can wrap all of our length testing operations in an interface and simply have that interface supply me with the `setLength` operation I need in a testing environment. This has a little bit of a tricky life cycle requirement --I need to make sure the right objects get the right instances, but it would do the job.
That said, support from JimFS for setting the size attribute would allow me to write code that is a step closer to what is actually running in deployment.
Any chance you guys would consider making the file size settable? I understand that this leads to a number of logical inconsistencies (the most obvious: what do we do if we open a stream to a file whose length was programmatically set?) |
Nexus-Mods/web-issues | 309545497 | Title: "Move to forum" option suggestion
Question:
username_0: There could be "Move to forum" option similar to current "Move to bugs", that would move single comment with all it's replies to FORUM tab (assuming that you have it enabled).
It would be very useful for me because I like sorting features requests in separate topics. |
rails/rails | 35015994 | Title: default_scope with select: count is broken?
Question:
username_0: Hi!
Consider the usecase when you have legacy table with binary field in it (pdf document content for example), and you obviously don't want to select it every time. Simplest solution for this case seems to be to add default_scope which looks like this:
```ruby
default_scope {
select(:name, :mime_type, :num)
}
```
where migration would look something like this:
```ruby
create_table :documents do |t|
t.text :name
t.text :mime_type
t.integer :num
t.text :content
t.timestamps
end
```
It works perfectly besides one issue - count is broken:
```
irb(main):007:0* Document.all
Document Load (0.1ms) SELECT "documents"."name", "documents"."mime_type", "documents"."num" FROM "documents"
=> #<ActiveRecord::Relation [#<Document id: nil, name: "test2", mime_type: "aaaa", num: 4>, #<Document id: nil, name: "test", mime_type: "aaaa", num: 4>]>
irb(main):008:0> Document.count
(0.2ms) SELECT COUNT(name, mime_type, num) FROM "documents"
SQLite3::SQLException: wrong number of arguments to function COUNT(): SELECT COUNT(name, mime_type, num) FROM "documents"
ActiveRecord::StatementInvalid: SQLite3::SQLException: wrong number of arguments to function COUNT(): SELECT COUNT(name, mime_type, num) FROM "documents"
```
So issue it that count takes select from default scope, and it probably shouldn't, cause without the scope it uses '*' instead of field names.
Now I didn't dig into code, to see whether it's (easily) fixable, I would like to hear from you first, if this indeed is a bug, and not by design for some reason?
Thanks!
P.S. Rails 4.1.0, empty project created by ```rails new```
Answers:
username_1: Hi,
Is there any reason why `count()` would not default to the same semantics as `count(:all)`?
I am just trying to understand how producing invalid SQL code "respects the select". As far as I understand any `select` with more than one argument will cause this error, wouldn't it? Or am I missing something?
username_2: Hello @username_1, or anyone. Did you ever find the answer to this? I'm trying to understand this as well and trying to see if there is anything I can do to my query to fix this.
Thanks!
username_1: @username_2 nope, we worked around it in our project. I'd still be interested to see a real world use case where `count` should `respect` the given `select` columns
username_2: Thanks for the quick response! |
jlippold/tweakCompatible | 346864247 | Title: `WhoozItPro` working on iOS 11.3.1
Question:
username_0: ```
{
"packageId": "com.iarrays.whoozit",
"action": "working",
"userInfo": {
"arch32": false,
"packageId": "com.iarrays.whoozit",
"deviceId": "iPhone9,4",
"url": "http://cydia.saurik.com/package/com.iarrays.whoozit/",
"iOSVersion": "11.3.1",
"packageVersionIndexed": true,
"packageName": "WhoozItPro",
"category": "Utilities",
"repository": "IArrays",
"name": "WhoozItPro",
"installed": "2.0.6-beta-7",
"packageIndexed": true,
"packageStatusExplaination": "This package version has been marked as Not working based on feedback from users in the community. The current positive rating is 33% with 1 working reports.",
"id": "com.iarrays.whoozit",
"commercial": false,
"packageInstalled": true,
"tweakCompatVersion": "0.0.9",
"shortDescription": "Now with iOS 11 support. The all in one perfect caller ID solution for your iDevice. No clue who is calling you and don't know whom you missed? Don't worry, now this all in one perfect caller ID solution will make your life is more simple. Just install this and TrueCaller on your device and just start searchin the calls from you stack apps like Phone, Messages & Notification Center and even from the Recents (tweak).",
"latest": "2.0.6-beta-7",
"author": "IArrays",
"packageStatus": "Not working"
},
"base64": "<KEY>
"chosenStatus": "working",
"notes": ""
}
``` |
tensorflow/tensorflow | 178936464 | Title: using GraphDef in C API?
Question:
username_0: I'm looking over the C API to turn a GraphDef into a TF_Graph for use with TF_NewSessionWithGraph, but I can't figure out how that's supposed to be done.
It kind of seems like you can't unless you use the deprecated TF_ExtendGraph API? But that's deprecated, so I'm not sure what to do.
Answers:
username_1: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/c_api.h#L754 :)
It's currently being worked on though :)
username_2: The `TF_ImportGraphDef()` implementation is part of pending PR #4555, so should be available very soon: https://github.com/tensorflow/tensorflow/pull/4555/commits/22221698a3ecd43024f84cd6c468ddd00955f920 (commit)
username_0: Ah! I missed that! Thanks for the info.
Status: Issue closed
|
dart-lang/sdk | 351312929 | Title: Implementation Issue for CFE / Kernel
Question:
username_0: **What:** Issue for implementation for CFE/Kernel
**ETA:** 10/15 in Dart Repo. _Needed in Flutter/Flutter by 10/30 [Based on Flutter 1.0 Timeline ](http://go/flutter-1.0-timeline) so we need a buffer of 2 weeks for moving it from Dart to Flutter_
**For:** [SuperMixins Implementation]( https://github.com/dart-lang/language/blob/master/accepted/super-mixins.md) and [strawman documentation](https://github.com/dart-lang/language/blob/master/working/0006.%20Super-invocations%20in%20mixins/0007.%20Mixin%20declarations/lrhn-strawman.md)
**Meta Issue:** This is subsumed under the [Super Mixins Meta Issue in the Language Repo](https://github.com/dart-lang/language/issues/12)
**Comments:** Feel free to break this further into further tasks and issues, or use as a meta issue for all the tasks in the implementation plan
Answers:
username_1: Parsing, events, parse errors, recovery, and AstBuilder mods are now complete.
username_2: CL out with tests for mixin inference here: https://dart-review.googlesource.com/c/sdk/+/74017
username_2: Inference tests have landed.
https://dart-review.googlesource.com/c/sdk/+/74017
mixin_declaration/mixin_declaration_inference_valid_classes_test is failing and in some cases crashing.
username_3: Support for compiling mixins has landed. The static checks required at mixin applications are not yet implemented.
There are two kinds of checks on the class that the mixin is applied to: (1) that it implements the superclass constraint interfaces and (2) that it provides concrete implementations of the methods that are used in super calls in the mixin.
The first of these is straightforward to implement and can be done soon. The second of them is of moderate difficulty.
username_2: Presumably code that doesn't satisfy 2) is already broken, and can only "work" if the code is not exercised? Based on that, I'd prioritize 1) and consider letting 2) slip if necessary.
username_3: Code that doesn't satisfy (2) that it provides implementations of the required superclass methods is broken.
Checks for (1) that the supertype implements all the constraint interfaces, is implemented in https://dart-review.googlesource.com/c/sdk/+/79206, landing as soon as I verify that it doesn't break dart2js.
username_3: To elaborate on mixins that contain super calls which are applied to classes that don't have implementations of those methods: either the mixin and the subclasses of the mixin application do not implement the method, in which case it is a compile-time error to instantiate it because the classes are abstract; or else the method is implemented in the mixin or a subclass of the application but it would be a runtime error to evaluate the super call in the mixin.
I also just discovered that the VM allows one to extend a mixin (and `class C extends M` means `class C extends Object with M`). I will work on statically disallowing that right now.
username_3: CFE now signals an error when a class extends a mixin (implemented [here](https://dart-review.googlesource.com/c/sdk/+/79524)).
username_3: As far as the feature goes: we are missing static checks at mixin applications that the superclass has implementations of the methods that are used in super calls in the mixin declaration. Unfortunately, I think these have to get on the next release.
We also want to do some internal cleanup soon (e.g., represent mixins directly in Kernel), but that isn't tied to any particular release.
username_4: Can this be closed?
Status: Issue closed
username_3: Yes. |
dev-cafe/branching-model | 235057933 | Title: [Discussion] release-X.Y.Z instead of release/X.Y.Z?
Question:
username_0: Motivation for release-X.Y.Z would be more consistency with https://readthedocs.org which automatically changes release/X.Y.Z to release-X.Y.Z.
Answers:
username_0: For the same reason release-x.y.z might be better (more consistent with RTD) than release-X.Y.Z.
username_0: What is your opinion on this @username_1? I can draft the PR - just wanted to hear your view first. In short, the suggestion is to use release-x.y.z instead of release/X.Y.Z to be more consistent with RTD naming.
username_1: I prefer the release/X.Y.Z naming because it looks like a folder and its
subfolders. But I don't have any strong opinions on it.
username_0: OK - maybe the simplest fix is if I add a note about URL normalization by services such as RTD. For web services extra "/" can be problematic. Need to check this for Cicero - expect problems there, too. In the graphics we can then keep everything as it is. |
gravitational/cluster-ssl-app | 1107140719 | Title: Set EKS endpoint to only be accessed internally
Question:
username_0: This issue highly depends on the completion of the VPN solution!
Make sure that the external endpoint is not accessible anymore. At the moment it's created via a Service with the type `LoadBalancer`, change it to create the LB in a private subnet.<issue_closed>
Status: Issue closed |
FermiSummerSchool/FermiBottle | 377769774 | Title: No fermi pulgin in tempo2 in the latest version of FermiBottle
Question:
username_0: It seems that there is no more fermi plugin in temp2 in the latest version of FermiBottle. If this is true, would you pls add it back? Thanks!
Answers:
username_1: Thank you for pointing this out. I will try to address it today. |
microsoft/PowerToys | 648843760 | Title: ReMap key to left-click
Question:
username_0: # Summary of the new feature/enhancement
I would like to map a key to send a left-mouse-click. Is there any technical obstacles that would forbid this?
# Proposed technical implementation details
Allow to map a key to issue mouse interaction (click left, middle, right, x-button)
Answers:
username_1: We have not looked into mouse-based shortcuts as of yet, but we have an issue for it here: #3690
closing as duplicate!
Status: Issue closed
|
lissagoforth/TaxiPro-FinalCapstone | 302359569 | Title: User can register
Question:
username_0: ### GIVEN
a user performs a gesture on the register affordance
### WHEN
their information (first name, last name, phone, email, password) is added to the registration affordance
### THEN
the information is stored to the database<issue_closed>
Status: Issue closed |
learningequality/kolibri | 1073601046 | Title: channel diff shows update with no changes
Question:
username_0: ## Observed behavior
The channel update diff from version 95 to 96 showed no updates:

Presumably, if Studio allowed a new version to be published then _something_ changed. If that's not the case we should open an issue over there.
## Expected behavior
If there was a change that can't be described by one of the existing categories of changes (new, deleted, updated resources) we may need a new row e.g. "channel metadata updated". This doesn't need to be a count, but could be just a statement.
## User-facing consequences
confusing diff on upgrade
## Steps to reproduce
* Inspect the change that occurred in version 96 of `nakav-mafak`
* Replicate and attempt upgrade
## Context
0.15.0-beta3
Answers:
username_0: possibly a duplicate of https://github.com/learningequality/kolibri/issues/6230 but I am not 100% sure
username_1: Agreed with the suggestion to add the new category of `Channel metadata updated`, to reflect the cases where the resource file was not changed, just title, description, etc (as was the case in this new version of the QA channel). I keep forgetting if changed thumbnail falls into this category...? 🤔
Either that, or including metadata changes in the `Resources to be updated` category.
username_2: Flagging that I just experienced this as well....
1. I added captions to existing videos. Studio didn't recognize that changes had been made to the channel so I made a tweak to the title of the resource and that triggered the "Publish" button
2. After the channel was published, I tried to update the channel on Kolibri. It recognized that there was a new version, but showed that 0 resources had changes:
<img width="1061" alt="Screen Shot 2022-02-21 at 4 59 27 PM" src="https://user-images.githubusercontent.com/22602993/155045612-9afe8b23-ed8a-4024-ba53-1c5c268094c8.png">
The import is failing repeatedly on the demo site so I can't verify yet whether the captions made it in or not through the update. |
trailofbits/ebpfpub | 766003530 | Title: 洛隆哪里有真实大保健(找特色服务d
Question:
username_0: 洛隆哪有特殊服务的洗浴▋╋薇/芯:781372524▋ 今日,喜聚星旗下签约艺人贺梦洁受邀参与施耐德家广告拍摄。来自山东枣庄的贺梦洁今年十岁,外形出挑的她风格时尚,性格也十分率真大方,是一名气场爆棚的酷帅型女孩。 贺梦洁作为喜聚星偶像练习营第一季的赴韩练习生,在韩国接受了为期八天的魔鬼训练。在韩国她不仅接受了专业导师的高能体能与专业训练,还参与并了解了韩国本地文化和传统习俗。她在练习室里挥洒汗水、在弘大街头尽情表演,从最初的疲惫和崩溃,到最后的习以为常和飞速进步,贺梦洁的心态与实力都发生了质的变化。 回国后的贺梦洁不仅实力大增,在韩期间养成的良好训练习惯也一直伴随着她。她受邀参与了康师傅等知名品牌的广告邀约拍摄,表现十分优秀,受到了多方的认可。希望贺梦洁在未来的道路上能够始终保持初心,养成良好的习惯,不断进步,最终发光发亮。巡炮着晨料https://github.com/trailofbits/ebpfpub/issues/190 <br />https://github.com/trailofbits/ebpfpub/issues/1916?U52m1 <br />https://github.com/trailofbits/ebpfpub/issues/536?G0ts0 <br />https://github.com/trailofbits/ebpfpub/issues/1138?5akhu <br />https://github.com/trailofbits/ebpfpub/issues/2863?638xR <br />https://github.com/trailofbits/ebpfpub/issues/1483?rMr1P <br />https://github.com/trailofbits/ebpfpub/issues/104?jilkl <br />tgijrcnegdssbkokifectifhlwypxmbterc |
samkrew/node-mbus | 295913623 | Title: Problem with compilation
Question:
username_0: I have a problem with compilation on my Mac and linux Debian
8:make: *** [Release/obj.target/mbus/src/main.o] Error 1
Answers:
username_1: I used this as base for an updated version with:
- support node 4+ (only), so updated to nan 2
- most current libmus as base
- including windows build support (and yes it works) :)
https://github.com/username_1/node-mbus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.