Open file with selected text

Would like to have a feature, like when selecting a word. Then Go to File..., should lists down the selected file.

This is still important feature. selected/highlight text should be used to search for file open dialogue.

This would definitely increase the productivity, since this is a common action in my daily routine: I select the page controller's name and want to open it (since the Apex + Visualforce language doesn't detect it as a reference to file). So when I open the "Go to File..." dialog, I would like the selected text (controller's file name) to be pre-populated as a searched value.

@roblourens Why?

@roblourens Why did you close this issue?

Guys, I am using this workaround.
Very lightweight extension - https://marketplace.visualstudio.com/items?itemName=colch.quick-open-prefill-selection
keybindings.json
    {
        "key": "ctrl+shift+n",
        "command": "extension.quickOpen.withPrefill",
        "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
    },
    {
        "key": "ctrl+shift+n",
        "command": "-workbench.action.newWindow"
    },
    {
        "key": "ctrl+p",
        "command": "extension.quickOpen.withPrefill",
        "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
    }

I don't like ctrl+n to open new window, so disabled 😛
Hope it helps.

Guys, I am using this workaround.
Very lightweight extension - https://marketplace.visualstudio.com/items?itemName=colch.quick-open-prefill-selection
keybindings.json
    {
        "key": "ctrl+shift+n",
        "command": "extension.quickOpen.withPrefill",
        "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
    },
    {
        "key": "ctrl+shift+n",
        "command": "-workbench.action.newWindow"
    },
    {
        "key": "ctrl+p",
        "command": "extension.quickOpen.withPrefill",
        "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
    }

I don't like ctrl+n to open new window, so disabled 😛
Hope it helps.

I'm using similar approach. I've downloaded
https://marketplace.visualstudio.com/items?itemName=geddski.macros
and added the following lines in keybindings.json
  {
    "key": "ctrl+shift+N",
    "command": "macros.openFileFromSelectedText",
    "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
  },
  {
    "key": "ctrl+/",
    "command": "macros.commentDown"
  },

and added the following lines in settings.json:
    "macros": {
        "openFileFromSelectedText": [
            "editor.action.clipboardCopyAction",
            "workbench.action.quickOpen",
            "editor.action.clipboardPasteAction"
        ],
        "commentDown": [
            "editor.action.commentLine",
            "cursorDown"
        ],
    },

You can use the commentDown command if you want the cursor to go to the next line when you have commented out the current line of code.

I'm using similar approach. I've downloaded
https://marketplace.visualstudio.com/items?itemName=geddski.macros
and added the following lines in keybindings.json
  {
    "key": "ctrl+shift+N",
    "command": "macros.openFileFromSelectedText",
    "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
  },
  {
    "key": "ctrl+/",
    "command": "macros.commentDown"
  },

and added the following lines in settings.json:
    "macros": {
        "openFileFromSelectedText": [
            "editor.action.clipboardCopyAction",
            "workbench.action.quickOpen",
            "editor.action.clipboardPasteAction"
        ],
        "commentDown": [
            "editor.action.commentLine",
            "cursorDown"
        ],
    },

You can use the commentDown command if you want the cursor to go to the next line when you have commented out the current line of code.

I believe this is a very small and simple feature that can improve the experience. Are there any plans to implement this? 🤔

WebStorm already has this feature, select the file-name in "import" section, double hit Shift key, will search files with selected file-name. A simple feature, but highly efficient.


V3.0.0 alpha

Sanity check PR, mostly for me to review changes in

Codecov Report

Merging #229 into v2.2.0-alpha will decrease coverage by 1.01%.
The diff coverage is 73.44%.

@@                Coverage Diff                 @@
##             v2.2.0-alpha     #229      +/-   ##
==================================================
- Coverage           73.58%   72.56%   -1.02%
+ Complexity           2162     1342     -820
==================================================
  Files                 146      110      -36
  Lines                5659     3339    -2320
==================================================
- Hits                 4164     2423    -1741
+ Misses               1495      916     -579

Impacted Files
Coverage Δ
Complexity Δ

src/Account/ClientFactory.php
0.00% <0.00%> (ø)
1.00 <1.00> (?)

src/Application/ClientFactory.php
0.00% <0.00%> (ø)
1.00 <1.00> (?)

src/Client/Signature.php
97.29% <ø> (ø)
17.00 <0.00> (ø)

src/Conversion/Client.php
52.00% <0.00%> (ø)
11.00 <0.00> (ø)

src/Conversion/ClientFactory.php
0.00% <0.00%> (ø)
1.00 <1.00> (?)

src/Insights/Basic.php
81.81% <ø> (+25.72%)
11.00 <0.00> (-5.00)
:arrow_up:

src/Insights/ClientFactory.php
0.00% <0.00%> (ø)
1.00 <1.00> (?)

src/Network.php
82.75% <ø> (+22.34%)
13.00 <0.00> (-5.00)
:arrow_up:

src/Network/Number/Callback.php
90.90% <ø> (ø)
9.00 <0.00> (ø)

src/Numbers/ClientFactory.php
0.00% <0.00%> (ø)
1.00 <1.00> (?)

... and 75 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3652993...7f308be. Read the comment docs.


Cookie associated with a cross site resource

Describe the bug
Cookie associated with a cross site resource
Address a warning from the javascript console:
A cookie associated with a cross-site resource at http://www.facebook.com/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

this is issue of Firebase. The warning is for future change of chrome that may not affect firebase connection. Once we deploy the website to a more secure platform with tls/ssl certificate, this will be gone. Since we are using Firebase as our service provider, this has to be deal with by Google and not us.
https://stackoverflow.com/questions/58686839/samesite-cookie-attribute-warning-isnt-getting-fixed


Support neo_f3kdb

I saw L157 an other way to do it. Tell me if that's to be preferred.

I created from the wrong branch.


Add compatibility with new pyannote embedding models

Pyannote 3.0 comes with a batch of new and varied embedding models. Let's include them!
Discussion #184 was raised about this issue

Implemented in #188


GKE LoadBalancerIP Use Case

Hi There!
Firstly, love Traefik v2, huge improvement all round! 😄
We use the chart in GKE and are trying to ensure we always receive the same IP address even if the k8s service gets recreated. Currently deploying the LB outside of GKE reduces a lot of the ease of use of the chart just to get a stable static IP.
I understand from the Contributing guide that you want to "avoid specific use cases" however i think GKE is a fairly broad use case and the spec.loadBalancerIP: <YOUR IP HERE> would be a useful addition.
Docs are here: https://cloud.google.com/kubernetes-engine/docs/tutorials/configuring-domain-name-static-ip
I'm happy to contribute this myself as a conditional but wanted to see if you though this was useful before putting the work in?
Cheers,
Steve

Hello @stephenh1991,
this is already possible, isn't it? We have a value you can use to put that spec into the installation process.
Take a look at https://github.com/containous/traefik-helm-chart/blob/969b123bc8c2fe1e9f52e491f000b02a5b0cab61/traefik/values.yaml#L123
Does that work for you?

@SantoDE Sorry, I totally missed that! Must be a Monday 🤦
Yep that will do the trick! Sorry to waste your time 😅


Cannot populate URL in the Specified browser when connected to VPN.

Originally submitted to Google Code by ranadeep.dm on 28 Nov 2011

When i am trying to launch a application which uses a VPN connection to open,  the browser is launched, but after that the given URL is not getting populated. The Selenium Log is showing the error message
"error(1321371827388): xmlHttp returned: 500: INKApi Error".
The browser is showing the URL as "file:///C:/Users/......./AppData/Local/Temp/customProfileDir1ebd9b3a1cc54da0bd14374a7940d8f8/core/Blank.html?start=true"
When I am logging out of the VPN all other sites are launching and its perfectly working fine.
Can you please provide a solution or a round about?
Is there any firewall issues related to it??
Thanks and Regards,
Ranadeep

Originally submitted to Google Code by @yanne on 14 Dec 2011

This basically sounds like an Selenium issue, and not something we can fix.
perhaps you could try out the Selenium2Library [1], since it uses different mechanism for launching browsers
[1] https://github.com/rtomac/robotframework-selenium2library


DOC: Expand odd_ext even_ext const_ext docstrings

Add "A one-line summary that does not use variable names or the
function name"
Add graphical examples
Simplify text examples
From https://github.com/scipy/scipy/pull/6058#issuecomment-254061700

These don't show up in the docs currently, [right] (https://1242-1460385-gh.circle-artifacts.com/0/home/ubuntu/scipy/doc/build/html-scipyorg/signal.html)? Maybe we should add them.

These don't show up in the docs currently, right? Maybe we should add them.

signal._array_tools is a private module, and the functions it contains are private functions.  I recommend being very conservative about making functions public.  Has there been any demand for these functions from users?  If so, could those demands be met by numpy.pad instead?

Ahh right. Fine by me

numpy.pad examples show it adding a duplicate sample at the boundary though

Expanded docstrings look good, so merged.

Thanks @endolith

I'd indeed hesitate to make these functions public - too many little utilities and won't be used heavily. Rather improve pad if needed, or look for another single function that does what all of these functions do if there really is a need that np.pad can't cater for.


Button bar height is double then actual at start when using previous navigation controller

I am using show segue in Main View Controller to navigate to a view controller which acts as container for tabs using XLPagerStrip. Main View controller is embedded in navigation controller. When I first go to container VC, tab height is double than actual one set in storyboard:
Height is double even I keep swiping pages/VCs. When I switch tabs using tab bar buttons height is reduced to actual height automatically:
If I embed container view controller in to navigation controller then height is fine from start.
I have the latest version and constraints in storyboard are also fine.

I fixed this issue using the navigation controller from the example project which contains toolbar. Can somebody tell me what is its purpose in this library?


/builder: port to the new type system

Closes #180

https://github.com/nestauk/dapsboard/pull/187#discussion_r544238547
I see what you mean. I was using another line of reasoning, where type members that are not to be sent to Elasticsearch should be named starting with __, like you requested with '__algorithms` above.
Nonetheless, I'll remove the name and add the checks in the UI now.


Support ipstack (old freegeoip.net)

The old freegeoip.net service is deprecated, now accessible at ipstack.com, that requires an API Key. In order to keep it working we need to add a new implementation and notice the deprecation.

As of March 31 2018 the old freegeoip API is deprecated and a completely re-designed API is now accessible at http://api.ipstack.com. While the new API offers the same capabilities as the old one and also has the option of returning data in the legacy format, the API URL has now changed and all users are required to sign up for a free API Access Key to use the service.

While we want to keep the disruption to our current users as minimal as possible, we are planning to shut the old API down on July 1st, 2018.

Reference: https://github.com/apilayer/freegeoip#readme

We can take it, if you're agree.


Fix connection not closed

issue #9
/kind bug
Signed-off-by: xige-16<EMAIL_ADDRESS>

@wayblink


Can't reactivate fvm after pub cache repair

As a result of fvm flutter pub cache repair at the end of execution I get
Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'.
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:3:8: Error: Not found: 'package:fvm/src/runner.dart'
import 'package:fvm/src/runner.dart';
       ^
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:6:14: Error: Method not found: 'FvmCommandRunner'.
  exit(await FvmCommandRunner().run(args));
             ^^^^^^^^^^^^^^^^
Failed to reactivate fvm 2.2.3: Failed to build fvm:main:
Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'.
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:3:8: Error: Not found: 'package:fvm/src/runner.dart'
import 'package:fvm/src/runner.dart';
       ^
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:6:14: Error: Method not found: 'FvmCommandRunner'.
  exit(await FvmCommandRunner().run(args));
             ^^^^^^^^^^^^^^^^
Binstubs exist for non-activated packages:
  From fvm: fvm
Reactivated 1 package.
Failed to reactivate 1 package:
- fvm
pub finished with exit code 69

@RomanKapshuk sorry for the delay on this. Are you able to reactivate fvm by calling dart or flutter sdk directly?

@RomanKapshuk sorry for the delay on this. Are you able to reactivate fvm by calling dart or flutter sdk directly?

For first time fvm is known by terminal, means when I run  fvm --version I got true answer. But after running this command flutter pub cache repair and get Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'. error, fvm seems broken and when I run   fvm --versionI getzsh: command not found: fvmand I have to rundart pub global activate fvm` again.

@tazik561 thanks for the details… will have to do some research on this, as I am not sure what fvm is doing differently than any other package.

FWIW, I've been noticing this with other packages, so I don't think this is specific to fvm. I've noticed the same with melos and a package that I've been working on and have installed locally.

rking on and h

I think is because of fvm, I changed FVM to official SDK and the problem is gone. Now I am using official SDK and I don't have a problem .

I believe I know what is the problem, and has something that has been brought up before. The process is being run by FVM, and during the repair, process fvm is removed.
I am looking into what some of the options might be for the pub global activate fvm install method. The issue will not happen if you install through brew or chocolatey.
Will investigate ways of detaching that process to see if it helps.

Ok so I took a look, and the solution is to check if the pub command being run might impact the fvm install.

Check if command might impact fvm install
Check if fvm is installed through pub global (not brew, chocolatey)

If those are true it will go ahead and stop execution and output an explanation and the command you should add to your terminal.
Also since in the case the installation is not repaired and just removed like in the case of dart pub cache clean, it will also output a command to the direct executable to reinstall fvm.
Here is a screenshot:

FWIW I run into this when running dart pub cache repair directly, not via fvm -- not sure if that matters

Sorry I don't know if I understand correctly.
In a power shell as an administrator. I ran:
dart pub global deactivate fvm
and then:
dart pub global activate fvm
I closed the window and opened it again as an administrator and ran:
fvm dart pub cache repair
I received the following:
Building package executables...
Failed to build fvm:main:
Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'.
AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-2.2.4/bin/main.dart:3:8: Error: Not found: 'package:fvm/src/runner.dart'
import 'package:fvm/src/runner.dart';
^
AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-2.2.4/bin/main.dart:6:14: Error: Method not found: 'FvmCommandRunner'.
exit(await FvmCommandRunner().run(args));
^^^^^^^^^^^^^^^^
Failed to reactivate fvm 2.2.4: Failed to build fvm:main:
Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'.
AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-2.2.4/bin/main.dart:3:8: Error: Not found: 'package:fvm/src/runner.dart'
import 'package:fvm/src/runner.dart';
^
AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-2.2.4/bin/main.dart:6:14: Error: Method not found: 'FvmCommandRunner'.
exit(await FvmCommandRunner().run(args));
^^^^^^^^^^^^^^^^
Binstubs exist for non-activated packages:
From fvm: fvm
Reactivated 1 package.
Failed to reactivate 1 package:

fvm

As I mentioned pub cache repair is essentially removing the FVM’s own dependencies. That is why you are getting this error. The PR attached once releases will warns the user that the install will be modified and provides instructions on how to execute it safely

As I mentioned pub cache repair is essentially removing the FVM’s own dependencies. That is why you are getting this error.

ok, I understand.

The PR attached once releases will warns the user that the install will be modified and provides instructions on how to execute it safely.

OK, but in all the commands that execute in none the instructions to solve the problem appear. Which command should I run for this?
Léo, 1. Muito bom o FVM, quebra um galhão. 2. desculpa, mas to boiando nesse problema.  Pois é, em nenhum comando q dei apareceu informando que a instalação será modificada. Qual é o comando devo rodar? (PR é pub cache repair? se for, eu rodo ele, mas ele só me retorna o erro, como listado acima, sem as  instruções de como executar ele safety.)

@ccastroelo this update has not been pushed live add me on telegram and we can discuss. @leoafarias

@ccastroelo this update has not been pushed live add me on telegram and we can discuss. @leoafarias

please add me. I have never used the telegram and for some reason my account is blocked for non-contacts. @ccastroelo

After a few unsuccessful attempts I chose to delete the flutter and fvm folders and reinstall everything. And from then on I only got the rights issue when I road the fvm flutter pub get in the project.
As you recommended, I deleted the project's .fvm folder, ran "use" again and everything worked. I believe that with the previous instructions the problem would have been solved, but as there was the old configuration in the project's .fvm and I did the mistake of not deleting it, I was stuck.
Leo, thank you so much for your help and patience.

Closing this issue has version that addresses this has been pushed live


Multilingual ALBERT

Do you plan to release multilingual pre-trained models like BERT? Would appreciate it.

Is multilingual corpus available? and which languages needed most?

BERT multilingual was trained with a dump of the top 100 languages with the largest Wikipedias as is detailed here:
https://github.com/google-research/bert/blob/master/multilingual.md#details

Is multilingual corpus available? and which languages needed most?

XLM also does a smaller 17 most popular languages on wiki corpus, something like that would be very useful

waiting for multilinggual albert.


Update Composer dependencies (2022-01-28-00-03)

Visual regression test passed!
View the visual regression test report


Getting AURemoteIO::IOThread when implementing more than one conductor / sustainer

I created a fork of SynthOne app (posting the issue here since you're responsible of SynthOne) and I'm trying to load multiple presets at the same time.
Right now, I'm creating a list of conductors that contains sustainers and each sustainer loads a preset. This is working perfectly on the simulator. 2 and more presets are running at the same time. However, when I try using the app on my iPhone 7 Plus, I get AURemoteIO::IOThread.
Any idea why this is happening ? Maybe memory leaks ?

The Synth One repo has its own issue sections though, please post this there, and add a bit of code, I am not sure what you mean.


Image Tearing

Has anyone else noticed horizontal image tearing using Spinnaker with a Blackfly camera? I am using the GigE variant and there is often horizontal image tearing noticeable when the camera moves fast. Are there any solutions to this? It's a significant problem and I'm trying to figure out if it's hardware or software.

GPU/Display problem, closing


People often get the syntax for using data in a component wrong

on support, people often try something like this:
{{ govukInput({
  label: {
    text: "Age in years"
  },
  id: "age",
  name: "age",
  value: "{{data['age']}}"
}) }}

when the correct syntax is
{{ govukInput({
  label: {
    text: "Age in years"
  },
  id: "age",
  name: "age",
  value: data['age']
}) }}

we do cover this in the tutorial but maybe it would help to have a guide page too

covered here:
https://prototype-kit.service.gov.uk/docs/pass-data


Replace composer install by composer require

Description
Corrected a typo as described in #2457.
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide
None of the above, it's just a typo

Thanks for this! For non-code changes (User Guide, docs) if you preface your commit message with “[ci skip]” then it will keep the pipeline from running tests. Save a few resources :)


Megatron-LM-v1.1.5-3D_parallelism ds_pretrain_gpt2_pipe.sh error

Error occurred running megatron/Megatron-LM-v1.1.5-3D_parallelism/examples/ds_pretrain_gpt2_pipe.sh

finished creating GPT2 datasets ...
setting training data start iteration to 0
setting validation data start iteration to 0
done with setups ...
time (ms) | model and optimizer: 1716.01 | train/valid/test data iterators: 5358.74
training ...
[2022-07-06 11:31:24,416] [INFO] [checkpointing.py:547:forward] Activation Checkpointing Information
[2022-07-06 11:31:24,416] [INFO] [checkpointing.py:548:forward] ----Partition Activations False, CPU CHECKPOINTING False
[2022-07-06 11:31:24,416] [INFO] [checkpointing.py:551:forward] ----contiguous Memory Checkpointing False with None total layers
[2022-07-06 11:31:24,416] [INFO] [checkpointing.py:554:forward] ----Synchronization False
[2022-07-06 11:31:24,416] [INFO] [checkpointing.py:555:forward] ----Profiling time in checkpointing False
Traceback (most recent call last):
Traceback (most recent call last):
File "pretrain_gpt2.py", line 157, in
File "pretrain_gpt2.py", line 157, in
Traceback (most recent call last):
File "pretrain_gpt2.py", line 157, in
pretrain(train_valid_test_datasets_provider, model_provider, forward_step,pretrain(train_valid_test_datasets_provider, model_provider, forward_step,

File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 98, in pretrain
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 98, in pretrain
iteration = train(forward_step_func,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 481, in train
pretrain(train_valid_test_datasets_provider, model_provider, forward_step,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 98, in pretrain
Traceback (most recent call last):
iteration = train(forward_step_func,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 481, in train
File "pretrain_gpt2.py", line 157, in
iteration = train(forward_step_func,
loss_dict, skipped_iter = train_step(forward_step_func,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 481, in train
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 325, in train_step
loss_dict, skipped_iter = train_step(forward_step_func,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 325, in train_step
return train_step_pipe(model, data_iterator)
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 359, in train_step_pipe
return train_step_pipe(model, data_iterator)
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 359, in train_step_pipe
loss_dict, skipped_iter = train_step(forward_step_func,loss = model.train_batch(data_iter=data_iterator)
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 325, in train_step
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 353, in train_batch
loss = model.train_batch(data_iter=data_iterator)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 353, in train_batch
pretrain(train_valid_test_datasets_provider, model_provider, forward_step,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 98, in pretrain
self._exec_schedule(sched)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1384, in _exec_schedule
return train_step_pipe(model, data_iterator)
self._exec_schedule(sched)
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 359, in train_step_pipe
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1384, in _exec_schedule
iteration = train(forward_step_func,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 481, in train
loss_dict, skipped_iter = train_step(forward_step_func,
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 325, in train_step
loss = model.train_batch(data_iter=data_iterator)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 353, in train_batch
self._exec_instr(**cmd.kwargs)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1034, in _exec_send_grads
return train_step_pipe(model, data_iterator)
self._exec_instr(**cmd.kwargs)
File "/root/zsf/DeepSpeedExamples-master/megatron/Megatron-LM-v1.1.5-3D_parallelism/megatron/training.py", line 359, in train_step_pipe
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1034, in _exec_send_grads
self._exec_schedule(sched)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1384, in _exec_schedule
loss = model.train_batch(data_iter=data_iterator)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 353, in train_batch
p2p.send(inputs[1], self.prev_stage)
IndexError: tuple index out of range
p2p.send(inputs[1], self.prev_stage)
IndexError: tuple index out of range
self._exec_schedule(sched)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1384, in _exec_schedule
self._exec_instr(**cmd.kwargs)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1034, in _exec_send_grads
self._exec_instr(**cmd.kwargs)
File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/pipe/engine.py", line 1034, in _exec_send_grads
p2p.send(inputs[1], self.prev_stage)
IndexError: tuple index out of range
p2p.send(inputs[1], self.prev_stage)
IndexError: tuple index out of range

ds_report
DeepSpeed C++/CUDA extension op report
NOTE: Ops not installed will be just-in-time (JIT) compiled at
runtime if needed. Op compatibility means that your system
meet the required dependencies to JIT install the op.
JIT compiled ops requires ninja
ninja .................. [OKAY]
op name ................ installed .. compatible
cpu_adam ............... [YES] ...... [OKAY]
cpu_adagrad ............ [YES] ...... [OKAY]
fused_adam ............. [YES] ...... [OKAY]
fused_lamb ............. [YES] ...... [OKAY]
sparse_attn ............ [YES] ...... [OKAY]
transformer ............ [YES] ...... [OKAY]
stochastic_transformer . [YES] ...... [OKAY]
async_io ............... [YES] ...... [OKAY]
utils .................. [YES] ...... [OKAY]
quantizer .............. [YES] ...... [OKAY]
transformer_inference .. [YES] ...... [OKAY]
DeepSpeed general environment info:
torch install path ............... ['/opt/conda/lib/python3.8/site-packages/torch']
torch version .................... 1.11.0a0+b6df043
torch cuda version ............... 11.5
torch hip version ................ None
nvcc version ..................... 11.5
deepspeed install path ........... ['/opt/conda/lib/python3.8/site-packages/deepspeed']
deepspeed info ................... 0.6.5, unknown, unknown
deepspeed wheel compiled w. ...... torch 1.11, cuda 11.5

Have you solved this problem？

@drcege, this is a deprecated megatron. Please use https://github.com/microsoft/Megatron-DeepSpeed

@tjruwase Thanks. Indeed, I was trying gpt-neox and encountered the same issue. So I search for the cause and solution.
I know microsoft's Megatron-Deepspeed, but the problem is that the Megatron version is a little old and new improvements like distributed optimizer and flash attention are not intergrated. It would be great if it is rebased it to the latest Megatron.

@drcege, you are correct that Megatron-DeepSpeed is behind latest Megatron. From the stack trace, the failure seems to be in DeepSpeed. So, the right thing to do is to open an issue with DeepSpeed using your gpt-neox failure. Would tht work for you?


Add an option to add user identification in FlagsmithProvider

I tried migrating to the new flagsmith/react using hooks and the FlagSmithProvider.
However I am now running into frustrating race conditions on the identify...
Without the Provider/hooks I am able to identify my user as soon as they pass the Authentication step in my app (before React renders) and the first call to flagsmith ends up having the correct user identified flags
However with the new useFlagsmith hook that's suggested to identify a user with. This can only happen after React has rendered, and in a component at a lower level than the FlagsmithProvider.
That means now on the first render of my app and the first fetch of flagsmith flags, I get default values. Then when useEffect runs (which I had to put in a random nonsensical place due to the structure here) it fetches flags again with the right attributes.
This is a waste and frustrating to deal with.
Please let me identify the user via props in the FlagsmithProvider instead of the useFlagsmith hook. It will clean up my app and fix the race condition issue.

Hi, appologies if you found this frustrating to work with.
Without the Provider/hooks I am able to identify my user as soon as they pass the Authentication step in my app (before React renders) and the first call to flagsmith ends up having the correct user identified flags

Without the Provider/hooks I am able to identify my user as soon as they pass the Authentication step in my app (before React renders) and the first call to flagsmith ends up having the correct user identified flags

It sounds like in this case, really the issue is more that you wish to initialise or identify separately to components / render lifecycle.
Considering this, I've done 2 things.
1: I've marked the Flagsmith provider options as optional, this means the flagsmith instance you pass into the provider can be initialised both before and after this is rendered. It sounds like this might be preferable for you if you were previously rendering the correct values on the initial render.
flagsmith.init({
    environmentID: "QjgYur4LQTwe5HpvbvhpzK",
    cacheFlags:true
})

...
  <FlagsmithProvider flagsmith={flagsmith}>
    <App />
  </FlagsmithProvider>

2: I've added the ability to initialise with identity and also traits. This means if you know the identify beforehand you can pass it into init or as part of the Flagsmith provider options.

...
  <FlagsmithProvider flagsmith={flagsmith}>
    <App />
  </FlagsmithProvider>

Or

  <FlagsmithProvider flagsmith={flagsmith}
    options={{
    environmentID: "QjgYur4LQTwe5HpvbvhpzK",
    cacheFlags:true,
    identity: "my_user",
    traits: {{trait1:"value}}
  }}>
    <App />
  </FlagsmithProvider>

You'll need to update to flagsmith or react-native-flagsmith ^2.0.5 to do this.
I'll shortly update the snippets in the flagsmith dashboard to inform users of this. Also, the docs for this will be published to docs.flagsmith.com later today.
If you have any questions regarding the above let me know.

@kyle-ssg This is amazing! and thanks for the super fast turnaround! 😁 🎉

No problem at all, I'm keen to use this on projects too so I want it to be the best! Thanks for taking the time to be active

@kyle-ssg Please let me know if I should create a new issue, wanted to follow up on this conversation as I've just looked into upgrading to v2. I like the idea behind using a React native approach which makes Flagsmith similar to other React libraries.
I played with v2.0.9 for a bit and noticed a few things.

This still makes a call to Flagsmith, which then unsurprisingly fails.

<FlagsmithProvider
  flagsmith={flagsmith}
  options={{
    environmentID: ''
  }}
>

Can you please make it so that we don't try to send any Flagsmith API requests when the ID is missing? There could be a console warning if you think it's valuable in case someone forgot to inject the correct variable. For my use case, it's not necessary, I just don't want to run Flagsmith in local development. Pre-v2, I would just not call flagsmith.init() to achieve this.

Looking at the <FlagsmithProvider /> props, flagsmith={flagsmith} stands out. What is the purpose of importing it as import flagsmith from 'flagsmith' only to pass it to the provider? Can't you do that automatically for me? I assume this is intended for initialization outside components which may lead to faster first render, correct? For my use case, I'd prefer to pass all options to the provider, otherwise there's very little improvement to my existing implementation. I have my custom useFeatureFlag() hook which uses Flagsmith under the hood, so at the moment, v2 approach adds seemingly more complexity to implement at very small advantage (fewer re-renders)

Curious to hear your thoughts, thanks!


Error when detecting face

Occassionally, we receive an error when attempting to detect a face in a still image, we receive the following error:
Uncaught (in promise) Error: Box.constructor - expected box to be IBoundingBox | IRect, instead have {"left":211.82223243423,"top":188.34445656565,"right":299.35465223232,"bottom":null}
at BoundingBox.Box
at new BoundingBox
at minBbox
at FaceLandmarks68.FaceLandmarks.alignMinBbox
...
It appears that it's missing a value for the bottom of a bounding box, but I'm not sure why. Any suggestions?

I was having this error when running the html served in a node environment. Running it from traditional apache works fine.

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

https://github.com/vladmandic/face-api

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

https://github.com/vladmandic/face-api

Thanks as well ☺


When I Deploy the asp.net core 3.0 App to windows server 2012 R2，the all of IIS website are stopped？

as the title says，anybody can help me ? thanks!

How are you doing the deployment?

I installed dotnet-hosting-3.0.1-win.exe on Windows Server 2012 R2, and publish the website on IIS, and set the application pool without managed code.  and then the .net core website can run,but all of the asp.net website are can not be running,when I start them and access , they are stopped.

@anurse @jkotalik @joeloff ideas on where this should be?

This sounds like an IIS/ANCM issue to me, but it's possible it could just be a configuration issue causing the app pools to maybe become disabled. I'm not an IIS expert, so I'd defer to @jkotalik to ask the right questions.

OK,Thank you very much!
------------------ 原始邮件 ------------------
发件人: "Jacques<EMAIL_ADDRESS>发送时间: 2019年11月27日(星期三) 凌晨1:50
收件人<EMAIL_ADDRESS>抄送: "jesen"<237745378<EMAIL_ADDRESS>主题: Re: [dotnet/core] When I Deploy the asp.net core 3.0 App to windows server 2012 R2，the all of IIS website are stopped？ (#3904)
This sounds like an IIS/ANCM issue to me, but it's possible it could just be a configuration issue causing the app pools to maybe become disabled. I'm not an IIS expert, so I'd defer to @jkotalik to ask the right questions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I uninstalled dotnet-hosting-3.0.1-win.exe and installed the dotnet-hosting-3.0.0-win.exe on my server,it runs well,does the 3.0.1 version not support the windows server 2012 R2?

This issue was moved to aspnet/AspNetCore#17498


Use the newer geo-data-exchange library

The newer library has a more accurate gradient calculation algorithm: there is no more segmentation of the track into 200m segments, and so the resulting features (i.e. portions of the track with constant gradient) map much better to the elevation chart.
Before:

After:

We should focus on accuracy ... The concept of normalization also conflicts with another use case: The heightgraph colorization can be employed to indicate short segments with very steep slopes for route planning purposes, which now would simply get hidden.

IIRC @nrenner had a similar ask on the PR which introduced Heightgraph. The first commit in this PR does that - it tracks all gradient changes and plots them on the chart, but the result is almost unreadable in most of the cases. I did not implement/enable normalization for beautification purposes, but to make the chart more readable. At the end of this comment is an example of an elevation profile , without and with normalization.
If showing accurate gradients is preferred, I am more than happy to disable the normalization (it'd be a very easy change).
As for normalizing:

There another normalization parameter which I haven't overridden : https://github.com/alexcojocaru/geo-data-exchange/blob/master/src/index.js#L31 . I could set it to a lower value (e.g. 3px), to keep the gradient changes more accurate and the chart more readable.

Normalizing in Heightgraph would be a big ask, for that component is generic. This use case - showing the normalized gradients on the chart, but displaying the precise gradient on mouse over - might be too specific to be worth implementing in the component itself - if that's the case, then this logic should go into a wrapper, in which case I don't know if the wrapper could get the low-level access to the Heightgraph functionality that it would need.

Having a toggle to enable/disable normalization is an interesting option; are you interested in exploring this option more (e.g. where to show this toggle, what label to use on it, etc)?

Could you elaborate on "Maybe having two static preconfigured values for chartWidthInPixels (one regular and one for when the toolbar at the top is collapsed)" ? I am not following what the 2nd one is for.

If using a toggle, and if the user has enabled the normalization, I could disable it on chart resize - this behaviour might be confusing to the user, but at least the chart will be accurate.

I think I found a better solution to this problem: instead of bucketing the gradients on the profile (i.e. gradients 1 through 3 are shown as group 1-3, gradients 4 through 6 as group 4-6, etc), the algorithm keeps track of each individual integer (e.g. gradient 0, gradient 1, gradient 2, etc) . This results in a much busier profile, but I've mitigated that by using a gradient palette to assign similar colors to gradients close to each other (i.e. orange for gradient 0, orange with a tiny bit of red for gradient 1, orange with slightly more red for 2, etc) - this makes the profile appear less busy (i.e. less busy than in the screenshot in my previous comment).
The only downside of this approach that I can think of is the larger dataset that's generated for a given profile, which has to be rendered by Heightgraph.
Here is a screenshot of a profile generated by the new code:

On a related note: since you asked to have the legend shown, I've added it right under the profile.

Thank you @alexcojocaru, and sorry for the delay. I'll merge this now :tada:


SDK in Java

Original report by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).

Port the SDK and himecc program to Java

Won't fix.


UI: refactor alerts

new struct Alert
add three new alerts for UI: ControlsUnseen, ControlsUnresponsive, CameraMalfunction
handle alerts in function update_alert
move alert blinking stuff into paint.cc

update status in one place


Order articles by newest first

According to Spec articles should be returned by newest first and not ordered by slug.
Ordering by slug also doesn't really make sense with pagination.

You're right. Could you also improve the code in the same way in the listArticlesByFollowedUsers method within the same repository? Thanks.

Ok, thanks, I will merge these changes and add some tests in the new PR ;)


I specifically don't understand why this error coming up. Using LFQ proteomics data

I'm using gui V1 on windows 11. Used paste MS runs from clipboard. to submit the raw file.

Error coming:

Converting raw files to mza format...
Processing file: D:\GBC_2023\mzML\GBC_S2.mzML
Processing file: D:\GBC_2023\mzML\GBC_S1.mzML
Processing file: D:\GBC_2023\mzML\GBC_S3.mzML
Traceback (most recent call last):
File "mza.py", line 88, in
File "mza.py", line 34, in write_mza
File "source\MzML2mza.py", line 99, in write_mza_from_mzml
File "h5py_hl\group.py", line 148, in create_dataset
File "h5py_hl\dataset.py", line 137, in make_new_dset
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5d.pyx", line 87, in h5py.h5d.create
ValueError: Unable to create dataset (name already exists)
[18984] Failed to execute script 'mza' due to unhandled exception!
Closing remaining open files:D:\GBC_2023\mzML\new_folder\DataMza\GBC_S2_temp.mza...done
Traceback (most recent call last):
File "mza.py", line 88, in
File "mza.py", line 34, in write_mza
File "source\MzML2mza.py", line 99, in write_mza_from_mzml
File "h5py_hl\group.py", line 148, in create_dataset
File "h5py_hl\dataset.py", line 137, in make_new_dset
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5d.pyx", line 87, in h5py.h5d.create
ValueError: Unable to create dataset (name already exists)
[19024] Failed to execute script 'mza' due to unhandled exception!
Closing remaining open files:D:\GBC_2023\mzML\new_folder\DataMza\GBC_S1_temp.mza...done
Traceback (most recent call last):
File "mza.py", line 88, in
File "mza.py", line 34, in write_mza
File "source\MzML2mza.py", line 99, in write_mza_from_mzml
File "h5py_hl\group.py", line 148, in create_dataset
File "h5py_hl\dataset.py", line 137, in make_new_dset
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5d.pyx", line 87, in h5py.h5d.create
ValueError: Unable to create dataset (name already exists)
[16920] Failed to execute script 'mza' due to unhandled exception!
Closing remaining open files:D:\GBC_2023\mzML\new_folder\DataMza\GBC_S3_temp.mza...done
How to fix this issue, any idea?

Hello,
Thank you for trying PeakQC!
It seems that the 'id' of each spectrum in your mzML file is not unique. It could be that the run has multiple time segments. What was the original format before converting to mzML? Please would it be possible for you to share the mzML file so we can debug?


Remove obsolete APIs from Razor

See #3654 for details.
(55) src\Mvc\src\Microsoft.AspNetCore.Mvc.Razor\Compilation\CompiledViewDescriptor.cs
Links: [master] | [release/2.2]
File a bug for this

[x] I attest that I have taken appropriate action on this item

        [Obsolete("Use Item instead. RazorViewAttribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
        public RazorViewAttribute ViewAttribute { get; set; }
#pragma warning restore CS0618 // Type or member is obsolete

(56) src\Mvc\src\Microsoft.AspNetCore.Mvc.Razor\Compilation\RazorViewAttribute.cs
Links: [master] | [release/2.2]
File a bug for this

[x] I attest that I have taken appropriate action on this item

    [Obsolete("This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
    public class RazorViewAttribute : Attribute

(57) src\Mvc\src\Microsoft.AspNetCore.Mvc.Razor\Compilation\ViewsFeatureProvider.cs
Links: [master] | [release/2.2]
File a bug for this

[x] I attest that I have taken appropriate action on this item

    [Obsolete("This type is obsolete and will be removed in a future version. See " + nameof(IRazorCompiledItemProvider) + " for alternatives.")]
    public class ViewsFeatureProvider : IApplicationFeatureProvider<ViewsFeature>
    {

(58) src\Mvc\src\Microsoft.AspNetCore.Mvc.RazorPages\Infrastructure\PageArgumentBinder.cs
Links: [master] | [release/2.2]
File a bug for this

[x] I attest that I have taken appropriate action on this item

    [Obsolete("This type is obsolete and will be removed in a future version.")]
    public abstract class PageArgumentBinder
    {

(59) src\Mvc\src\Microsoft.AspNetCore.Mvc.RazorPages\Infrastructure\RazorPageAdapter.cs
Links: [master] | [release/2.2]
File a bug for this

[x] I attest that I have taken appropriate action on this item

        [Obsolete("This constructor is obsolete and will be removed in a future version.")]
        public RazorPageAdapter(RazorPageBase page)
        {

(60) src\Mvc\src\Microsoft.AspNetCore.Mvc.RazorPages\Infrastructure\RazorPageAttribute.cs
Links: [master] | [release/2.2]
File a bug for this

[x] I attest that I have taken appropriate action on this item

    [Obsolete("This attribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
    public class RazorPageAttribute : RazorViewAttribute
    {

dfddc4e8ff7dceceafd202ffdd9f5b046424e2df


Upgrade dependencies

Maybe connecting a tool like dependabot could help keep / to be alerted when dependencies publish new version.
I never used dependabot with cargo workspace project, but it works well with my rust project.
I didn't try to upgrade syn & proc-macro2

Unfortunately it looks like this doesn't work on the current stable version of rust. This is probably due to https://github.com/rust-lang/rust/issues/45601 which was only recently fixed. I had lots of trouble with this bug during development and it's the reason why I've pinned most dependencies to exact versions. It also meant that I had to avoid using certain libraries like a proper toml parser, since they used custom derive. Once stable is updated, we'll need to think about how soon we're happy to drop support for older versions of rustc.


Fixed dependency resolution using Cargo.lock

Parsing dependencies from Cargo.lock should overcome the version resolution limitations from cargo-metadata and also allow to use the same dep versions after a successful cargo build. It has been tested on both cargo-ebuild and rust-analyzer.

What if there's no lock file?

The lock file is automatically generated by Cargo after a successful build, both for binaries and libraries. As explained in the FAQ, projects should include Cargo.lock on VCS only for binaries, so that the same dependency versions are used when the package is compiled.
Using Cargo.lock for dependency resolution is necessary because although cargo-metadata is able to retrieve all the dependency names, their specific versions are still in semantic versioning format, so it is necessary to check for the latest versions on crates.io before downloading anything. Another benefit is that it ensures that the user has built the crate at least once before trying to generate an ebuild out of it.

I have dropped the changes about Cargo.lock on README and simplified lib.rs considering that cargo generate-lockfile is going to be used. Right now the only thing left to do is to invoke it before resoling the dependencies.

It should be working now, just let me know if you want any changes.

I've found a problem while testing the changes. cargo generate-lockfile is currently overriding Cargo.lock if it already exists, so the generated ebuild is failing to compile if any dependency is updated. So I think it would be a better solution to not try to generate it automatically considering that all binaries should come with a Cargo.lock. What do you think @cardoe ?

Initially I thought that cargo generate-lockfile would only generate if the lockfile did not exist, but it actually ignores it and acts like a cargo update. I decided to do like you proposed before, if you have any suggestions just let me know.


Parameter of type object and string literal

Hi there.
I tried to create a parameter of type object and than use type switch for various types (a single message of type string or a list of messages).
So I have created a parameter:
[Parameter]
protected object Message { get; set; }

Then, when I use it with literal value:
<Alert Message="Try adding some exchange rates." />

It strips out " and generates an invalid code:
builder2.OpenComponent<Money.UI.Blazor.Components.Bootstrap.Alert>(63);
builder2.AddAttribute(64, "Message", Microsoft.AspNetCore.Blazor.Components.RuntimeHelpers.TypeCheck<System.Object>(Try adding some exchange rates.));
builder2.CloseComponent();

It seems that only string is buggy, boolean and int values work.
Also when I pass a value of some property, it's ok.
I'm using Blazor 0.5.1.

Thanks for the report, I'll take a look at this.

Hi @maraf - this is expected. Razor attributes behave specially when the type of the component property being set is known string. This is a convenience shorthand for Message="@("Try adding some exchange rates.")". If you need to pass a string in a parameter that accepts an object, you'll have to wrap it in @(...).

Oh.
Ok, thanks for explanation.


Fixing to jp question from jp directory

Correction of fine Notation fluctuation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.seiya.tsukada seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


#802 Only set content-length header if transfer-encoding header is ab…

…sent, add more e2e test around response headers

For HTTPS proxying, GoProxy always set Transfer-Encoding header and remove existing Content-Length header as the safest way to write out the response body. Therefore a wrong content length does not matter (for example when templating or middleware modified the response body)
For HTTP proxying and webserver mode, a Content-Length header is only calculated if the body is not null, and neither Content-Length or Transfer-Encoding exists. Therefore if your simulation contains wrong Content-Length header value, Hoverfly will give you a warning when importing and your HTTP client might fail when reading the response body.


Windows settings.xml is beeing used

I don't know if it is a problem with winless or windows, but since 2 days winless brings with every action the error that the file settings.xml can't be used because it is being used by another program. I checked and no other program is using the file. I erased the file, reinstalled winless and the problem continues.

I have the same issue. Who's know, how to solve the question?!
Error while trying to save settings:
"C:\Path...\<IP_ADDRESS>\data\settings.xml"

I don't know if it is a problem with winless or windows, but since 2 days winless brings with every action the error that the file settings.xml can't be used because it is being used by another program. I checked and no other program is using the file. I erased the file, reinstalled winless and the problem continues.

@Nyxeen do you solved the problem?!

Sorry havent solved the Problem. I changed to Koala. Great Programm
Am Sa., 8. Dez. 2018, 10:34 hat kobetsmatviy<EMAIL_ADDRESS>geschrieben:

I have the same issue. Who's know, how to solve the question?!
Error while trying to save settings:
"C:\Path...\<IP_ADDRESS>\data\settings.xml"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/marklagendijk/WinLess/issues/167#issuecomment-445445900,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfZaZOHTH2ewXa9Sb8c8QFApsuX-PNVgks5u24eMgaJpZM4P-wBQ
.

THX for the answer, but it was a time and doesn't disturb me now ☺


Go Get

What version of Go are you using (go version)?

$ go version
go version go1.15.1 windows/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=C:\Google\GOPATH\bin
set GOCACHE=C:\Users\Will2010\AppData\Local\go-build
set GOENV=C:\Users\Will2010\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Google\GOPATH\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Google\GOPATH
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Google\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Google\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\Will2010\AppData\Local\Temp\go-build443042886=/tmp/go-build -gno-record-gcc-switches

What did you do?
In Powershell
go get -v -u gopkg.in/couchbase/gocb.v2
Then I tried
go get -v -u -d gopkg.in/couchbase/gocb.v2
and all packages were downloaded and cursor returned successfully
go install -v -i ...
Hangs indefinitely

What did you expect to see?
download and install packages
What did you see instead?
hangs after download

Is there any anti virus or firewall software that may be interfering?

I looked and I don't think so.  Plus, I ended up going back a couple versions to
go1.13.4.windows-amd64.msi
And I have NO problems now.  Everything is working successfully now including install with go get ...
So I have to believe it is an issue with
go version go1.15.1 windows/amd64
and
go1.15.1.windows-amd64.msi

This is a brand new install on a new laptop and yes I meant to "install" all of the packages I got.  (...)
At any rate, I'm working on 1.13 now - and don't have time to debug this.  I'll upgrade again with a newer version later.  This ticket may be closed.


Fix incorrect assert about configFileName when watch is created with explicit options, projectReferences etc

Fixes issue detected in https://github.com/TypeStrong/ts-loader/pull/1601

@typescript-bot cherry-pick this to release-5.0


Parameterize shellspec tests to run against all vendors/models

and make maintainability easier.  This relies on two shellspec features:

(Parameters)[https://github.com/shellspec/shellspec?tab=readme-ov-file#parameters---parameterized-example], where you can define several params and it will execute the same tests against them
(Data)[https://github.com/shellspec/shellspec?tab=readme-ov-file#data---pass-data-as-stdin-to-evaluation], which passes parameters in as STDIN, which is a vital feature of gru

Within the tests, I set parameters for each container running in the simulator.  In some tests, I add additional ones where the output of commands vary depending upon the endpoint being targeted.
There are some commented out tests, which require an updated in the emulator: https://github.com/Cray-HPE/csm-redfish-interface-emulator/pull/10

There are some tests that are commented out, which cannot successfully run in the redfish emulator until it is merged: https://github.com/Cray-HPE/csm-redfish-interface-emulator/pull/10 because it breaks the semantic vendor detection we have in gru


Forward Verkada LPR Webhooks to ParkPow Visits

[ ] Test receiving webhook payload and Image download
[ ] ParkPow Visit Creation
[ ] Update Readme.md

@danleyb2
FYI, I've converted the PR to "Draft pull request".


Add warn event and directly return without creating pods for job validation failure

What this PR does / why we need it:
Currently, all jobs' controllers validate job spec but only log an error in training-operator, but

Users don't know they are not correct because pods are running (such as tfjob wrong container name case)
Creating pod or Running pod will reserve node resources, while they don't behave correctly. Wasting resources.

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #1563
Checklist:

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 9 (0.0%)  changed or added relevant lines in 5 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.1%) to 37.045%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
0
1
0.0%

pkg/controller.v1/mxnet/mxjob_controller.go
0
2
0.0%

pkg/controller.v1/pytorch/pytorchjob_controller.go
0
2
0.0%

pkg/controller.v1/tensorflow/tfjob_controller.go
0
2
0.0%

pkg/controller.v1/xgboost/xgboostjob_controller.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mxnet/mxjob_controller.go
1
0%

pkg/controller.v1/pytorch/pytorchjob_controller.go
1
64.52%

pkg/controller.v1/tensorflow/tfjob_controller.go
1
70.87%

pkg/controller.v1/xgboost/xgboostjob_controller.go
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
2289

Relevant Lines:
6179

💛  - Coveralls

/ok-to-test
/assign @zw0610

Generally LGTM. It would be better if test cases are included as well.

Generally LGTM. It would be better if test cases are included as well.

Oh yeah, you are right, let me add tests

/retest
kubeflow-training-operator-presubmit  error is:
kubernetes.client.exceptions.ApiException: (401)
Reason: Unauthorized
Seems like flaky

Generally LGTM. It would be better if test cases are included as well.

Done

/retest kubeflow-training-operator-presubmit error is: kubernetes.client.exceptions.ApiException: (401) Reason: Unauthorized Seems like flaky

/retest
same reason.

/retest

@johnugeorge Could you advise how to handle stalled pull requests because of the failed ci like this one after the migration to GHA?

it should trigger new  GHA workflow on a rebase
@cheimu   Can you rebase?

:( sad for myself for a second. I'll open a new pr and close this one later...

@cheimu can you do it at the earliest as we are planning to have feature release by end of next week?

@cheimu can you do it at the earliest as we are planning to have feature release by end of next week?

@cheimu can you do it at the earliest as we are planning to have feature release by end of next week?

Hi @johnugeorge , I'm afraid I can't make it this week... I'll try my best though

Closing it in favour of #1704
/close


Laravel 7 Support

Problem 1
    - mpociot/laravel-apidoc-generator v4.x-dev requires nunomaduro/collision ^3.0 -> satisfiable by nunomaduro/collision[v3.0.0, v3.0.1] but these conflict with your requirements or minimum-stability.
    - Conclusion: don't install laravel/framework v7.0.2
    - Conclusion: don't install laravel/framework v7.0.1
    - Conclusion: don't install laravel/framework v7.0.0
    - mpociot/laravel-apidoc-generator 4.3.0 requires mpociot/documentarian ^0.3.0 -> satisfiable by mpociot/documentarian[0.3.0].
    - mpociot/laravel-apidoc-generator 4.3.0 requires mpociot/documentarian ^0.3.0 -> satisfiable by mpociot/documentarian[0.3.0].
    - mpociot/documentarian 0.3.0 requires illuminate/view 5.*|^6.0 -> satisfiable by laravel/framework[v6.17.1],

When version 7 support is expected?

I checked it seems this hanges here https://github.com/mpociot/documentarian/pull/28

Is it wise to just delete package for the time being and later re-add it?

4.3.1 now supports L7 (still theoretically).

Still doesn't work as I can see:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - mpociot/laravel-apidoc-generator v4.x-dev requires nunomaduro/collision ^3.0 -> satisfiable by nunomaduro/collision[v3.0.0, v3.0.1] but these conflict with your requirements or minimum-stability.
    - mpociot/laravel-apidoc-generator 4.3.1 requires mpociot/documentarian ^0.4.0 -> satisfiable by mpociot/documentarian[0.4.0].
    - Conclusion: don't install mpociot/documentarian 0.4.0
    - mpociot/laravel-apidoc-generator 4.3.0 requires mpociot/documentarian ^0.3.0 -> satisfiable by mpociot/documentarian[0.3.0].
    - Conclusion: remove laravel/framework v7.0.2

Worked fine for me on L7.

You are right, checked on new laravel 7 installation, it works.
In my case the conflict was because in composer.lock file it had a dependency on symfony/yaml:5.5

The problem persists
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mpociot/laravel-apidoc-generator v4.x-dev requires nunomaduro/collision ^3.0 -> found nunomaduro/collision[v3.0.0, v3.0.1, v3.1.0, v3.x-dev] but it conflicts with your root composer.json require (^5.0).
- mpociot/laravel-apidoc-generator[4.8.0, ..., 4.8.2] require nunomaduro/collision ^3.0|^4.0 -> found nunomaduro/collision[v3.0.0, v3.0.1, v3.1.0, v3.x-dev, v4.0.0, ..., v4.x-dev] but it conflicts with your root composer.json require (^5.0).
- Root composer.json requires mpociot/laravel-apidoc-generator ^4.8.0 -> satisfiable by mpociot/laravel-apidoc-generator[4.8.0, 4.8.1, 4.8.2, v4.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.


Why does there need to be a separate docs folder?

And if there needs to be one, why is the LICENSE not in there?

@Narrev I've moved most files to docs so that there are less distractions and the main module is easier to identify. However, due to default GitHub behaviour, the LICENSE file cannot be moved from the root directory.


how to run froned pro

I have encountered some problems. Can you give me some help thanks

duplicated #19


pub clean

Please, add a command to pub to clean the project.
Build and dependencies sometimes doesn't work, specially when you move workspace from a computer to another.
Common commands to other build environments can help:

pub clean: to clean all current project directory build files.
pub refresh-dependencies: to clean and rebuild all the dependencies and build of the current project.

Can you clarify which tool/command you're using prior to needing the clean command?


Unknown command: 'worker'.

After installing according to the Contributor's Manual document, the following problems occur

run the ./manage.py worker step,
The following error message appears。
Unknown command: 'worker'.

The backend and frontend starts normally, but the front-end page cannot be accessed. The chrome console prompts an error as shown below。

Backend startup screenshot

Frontend startup screenshot

Please help to see, thanks.

this command was removed

./manage.py worker

now you can start worker with (just make sure you start command from ./docker/dev folder):
poetry run task worker
Regarding the frontend issue, I see that you access it from external IP (<IP_ADDRESS>:4200), in such case it won't work, because, in development mode, the frontend always tries to access backed "<IP_ADDRESS>:8000"; you may need to adjust
environment.js.

Thank you, run poetry run task worker according to your reply, the following error message is displayed, where should I change the configuration? I am using the cloud server public IP.

2022年8月24日 01:58，Eugen Ciur @.***> 写道：
this command was removed
./manage.py worker
now you can start worker with (just make sure you start command from ./docker/dev folder):
poetry run task worker
Regarding the frontend issue, I see that you access it from external IP (<IP_ADDRESS>:4200), in such case it won't work, because, in development mode, the frontend always tries to access backed "<IP_ADDRESS>:8000"; you may need to adjust
environment.js https://github.com/papermerge/papermerge.js/blob/master/config/environment.js#L32.
—
Reply to this email directly, view it on GitHub https://github.com/papermerge/papermerge-core/issues/50#issuecomment-1224480678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR7IQ7Y2LMX5GUOAN4OBA6DV2UGLZANCNFSM57LBBEIQ.
You are receiving this because you authored the thread.

This (I mean starting worker with poetry run task worker) is actually mentioned in the documentation:
https://docs.papermerge.io/Contributor's Manual/backend_dev_setup.html#worker


PR: Added Chinese (zh) translation

Added the Chinese (zh) translation, and add 'zh' local in Presentation.gd script.
Any problem please tell me, thanks!

Thank you very much! As multiple persons are working on translations, this creates conflicts. Can you download the latest CSV and add your translation as a new column, then replace it in your PR?
Here's the download link: https://raw.githubusercontent.com/GDquest/godot-slides/master/godot-3-presentation/content/power_pitch/PowerPitch.csv
There's also a similar conflict in Presentation.gd.


Ins 294 ledger in logic runner

- What I did
Acquired ArtifactManager from Ledger in LogicRunner. Not from core.Components.

Yes, it is it. Thanx.


Silabs

Several improvements:

work on the PACKAGE_SESSION intersection
add default package ID to the session.
add queries and all the DB layer to support it
enhance unit tests.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: tecimovic:x: brdanduYou have signed the CLA already but the status is still pending? Let us recheck it.


[WIP] Added CONTRIBUTING.md

Fixes #2651
Description:

Added a draft for CONTRIBUTING.md

TODO:

define specific requirements for adding a new model and a new dataset. @fmassa can you please suggest those conditions ?

cc @cpuhrsch
EDIT: There is already a PR submitted by the bot : https://github.com/pytorch/vision/pull/1564
I was not aware before.

Any chance we could merge this to master? It's a good source of info for new comers as it describes setting up the dev environment. We could continue improving it post merge.

This is just a suggestion. Should new datasets support at a minimum, the same constructor arguments (when appropriate)?

root
split
target_type
target_transform
transform
download - for large datasets that are unreasonable to download, should always raise a RuntimeError when download=True

@vfdev-5 @fmassa I really think we should merge this, even if there are a few things left to TBD. This doc contains useful information that will allow new contributors to learn how to build the library from source. What is the bare minimum we need to do to merge this?

@jgbradley1 that's a good suggestion, although I'm not sure it can be generically implemented everywhere. FYI there was some discussion already in the past about dataset standardization in https://github.com/pytorch/vision/issues/1080

@fmassa let's keep existing issue open and I add a message about that.


MQTT

I have MQTT up and running using the python-broadlink script.
At the moment I'm using mosquitto_pub.exe to send messages and everything is working ok. However when I activate(enter IP:port ) the MQTT broker in HA-Bridge my python script can no longer connect to the service on port 1883.
Is this a single thread operation or is something broken?

Only one program can connect to the port on the same system.Either use the mqtt_pub or the HA-Bridge MQTT but not both.


how to excute is fullscreen or not ??

中文用户注意：

尽量用英文描述你的 issue
不要把内容堆彻在标题上，逻辑清晰地写在内容区
贴代码要提前格式化好，有颜色高亮那种，贴文本，不要贴图片
提问题前，必须仔细阅读 REMADE.md + 在已关闭的问题中寻找与自身相关的问题，90% 的可能它已经被解决
如果无法做到提一个合格、优秀的问题，则问题会被 close + block

BUG REPORT TEMPLATE
Vue.js version and component version

i have try fullscreenchange event,  but it didnt work,  it just was not being triggered
Reproduction Link

A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug.
You could start with this template: https://jsfiddle.net/39epgLj0/

Steps to reproduce
What is Expected?
i hope i can konw weather it is fullscreen  thankyou
What is actually happening?

Have you tried it ?
https://github.com/surmon-china/vue-video-player#mount
Vue.use(VueVideoPlayer, {
  events: ['fullscreenchange'],
})

Have you tried it ?
https://github.com/surmon-china/vue-video-player#mount
Vue.use(VueVideoPlayer, {
  events: ['fullscreenchange'],
})


Crash

Assertion failed: (start_angle >= end_angle), function void CG::Path::Subpath::add_arc(const CGPoint &, double, double, double, bool, const CGAffineTransform *), file Paths/path-subpath-arc.cc, line 53.

Crash when start MultitaskingView and go back to the app...

Are you able to provide any additional insight? I am currently unable to reproduce the issue.

No sorry that's all :( But it's strange .. only sometimes it's crashes

Are you filling the progress clockwise or emptying the progress counter clockwise?

I'm filling the progress in default clockwise yes

Can you post any of the code you are using to change the progress or instantiate the progress view?

progressView.backgroundColor = UIColor.clearColor()
    progressView.trackFillColor = UIColor(red: 0.0, green: 122.0/255.0, blue: 1.0, alpha: 1.0)
    progressView.centerFillColor = UIColor(red: 255.0, green: 255.0, blue: 255.0, alpha: 1.0)
    progressView.trackWidth = 9.0
    progressView.progress = self.proErg

I have not been able to reproduce this issue. My only guess is that your self.proErg value is a negative value or a progress value that is not between 0 and 1.

The value It's between 0 and 1. But sometimes when my View load new than the progress changes.

With out seeing the project, I'm having a hard time reproducing the issue.


Tutorial: simplify

Simplify is a swiss-army knife operation - we should give a tutorial that explains how it works at a high-level and goes through some of the things you can do with it.

There are some (very) basic hand-drawn plots in https://pyslim.readthedocs.io/en/latest/introduction.html#what-does-slim-record-in-the-tree-sequence (for forwards simulation) and https://pyslim.readthedocs.io/en/latest/tutorial.html#sec-tutorial-simplification (more generally) that might be useful as a basis to work from? They might be too forwards-sim specific, though.

Stub to fill out now in simplification.md

@gtsambos kindly volunteered to have a stab at this when she has time.

Here is some Jupyterbook text that was deleted from the main docs and could serve as a basis for an introductory paragraph or two:
Simplifying a tree sequence is an operation commonly used to remove
redundant information and only retain the minimal tree sequence necessary
to describe the genealogical history of the `samples` provided. In fact all
that the {meth}`TreeSequence.simplify` method does is to call the equivalent
table transformation method, {meth}`TableCollection.simplify`, on the
underlying tables and load them in a new tree sequence.

Removing information via {meth}`TableCollection.simplify` is done by
discarding rows from the underlying tables. Nevertheless, simplification is
guaranteed to preserve relative ordering of any retained rows in the Site
and Mutation tables.

The {meth}`TableCollection.simplify` method can be applied to a collection of
tables that does not have the `mutations.parent` entries filled in, as long
as all other validity requirements are satisfied.

Are you still on for having a go at writing this tutorial @gtsambos ?

Hi @hyanwong, sorry for the late reply here! I'd still be keen to write this tutorial, but I'm a bit strung up with things until the end of the year -- would it be okay to leave this until January or February? The simplify tutorial will have some stuff in common with the link_ancestors and possibly also the ibd_segments tutorial, so if possible, I think it would make sense to write them together.

Thanks @gtsambos: great that you're still happy to have a go at this. There's no massive urgency here, but it would be very good to fill out the tutorials site a bit more, as more and more people start using tree sequences.


tritonclient.grpc doesn't support timeout for other commands than infer.

Description
[ WARNING] client.py:207 - tritonclient.grpc doesn't support timeout for other commands than infer. Ignoring network_timeout: 60.0.
To reproduce
ModelClient(url='grpc://<IP_ADDRESS>:8001',model_name='test')
Question
How to ignore the warning or fix this warning

Thank you for your feature request and your interest in PyTriton. I appreciate your feedback and I will try to help you with your issue.
ModelClient uses tritonclient.grpc.InferenceServerClient to communicate with the Triton server over GRPC protocol. However, this client does not support timeout parameter for the whole connection and for the configuration and status methods. These methods are used by ModelClient to send configuration requests before any inference request is sent.
Therefore, ModelClient cannot enforce any timeout different than the default for GRPC connections when using GRPC protocol. You can use HTTP protocol instead, which does not have this limitation, if you want to avoid this warning.
The extension of tritonclient.grpc API with more timeouts is not planned soon, as far as I know.
We are considering two possible solutions for ModelClient to make this warning less intrusive:

Replace logging.warning with warning.warn, which can be suppressed by the user.
Downgrade logging level to logging.info, which is less alarming and more informative.

We would love to hear your opinion on these solutions. Please let us know what you think and if you have any other suggestions. Thank you for your cooperation and understanding.

See: https://github.com/triton-inference-server/pytriton/issues/38

Thank you for your replying.
I usually use warnings.filterwarnings to ignore the warning for other libs.
It woule be better if i can apply it to pytriton.

Warnings support was added from release 0.4.2.


Side panel morphology layout

When a treebank is viewed with ?config=sidepanel then show the side panel with morphology tab.
Unlike with the ?w= parameter, this ?config= parameter does not cause the control panel buttons to become real links. This also means that the ?config= argument is carried over when First, Next, etc. is pressed.
Currently this can only be accessed by explicitly setting ?config=sidepanel, but I'm planning on adding a settings drop down to control it in the future.

Thanks!


[Automation] Generate Fluent Lite from datadog#package-2021-03

[Automation] Generate Fluent Lite from datadog#package-2021-03

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-datadog


Use official multiple buildpacks support

WHY
heroku-buildpack-multi is no longer maintained. Instead Heroku now supports multiple buildpacks for an App.
WHAT
Drop heroku-buildpack-multi and write all buildpacks in app.json.
REF

Using Multiple Buildpacks for an App | Heroku Dev Center

To reflect this via heroku-toolbelt:
$ heroku buildpacks:set https://github.com/miketheman/heroku-buildpack-datadog.git
Buildpack set. Next release on hogehoge will use https://github.com/miketheman/heroku-buildpack-datadog.git.
Run git push heroku master to create a new release using this buildpack.

$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-ruby
Buildpack added. Next release on hogehoge will use:
  1. https://github.com/miketheman/heroku-buildpack-datadog.git
  2. https://github.com/heroku/heroku-buildpack-ruby
Run git push heroku master to create a new release using these buildpacks.

$ heroku buildpacks
=== hogehoge Buildpack URLs
1. https://github.com/miketheman/heroku-buildpack-datadog.git
2. https://github.com/heroku/heroku-buildpack-ruby


fix: externalID map should not include external_ids

Pull Request

[x] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Bug fixes

Which issue(s) this PR fixes
Fixes #3377
WHAT

🤖 Generated by Copilot at f94510b
Simplify the external_ids key format for logical switch ports associated with security groups in pkg/controller/security_group.go. This improves code readability and consistency.

🤖 Generated by Copilot at f94510b

ListLogicalSwitchPorts
Simplifies external_ids
A clear autumn code

HOW

🤖 Generated by Copilot at f94510b

Simplify the external_ids key for security group association in logical switch ports (link)

@xujunjie-cover please fix the DCO by git commit -s


Stabilize Boyter lc support

Please have a look at the individual commit messages for the details.

This change is

Merging this now to get it in before scheduled tests run.


Opening a PR description form the status bar is broken

The command for opening the description was incorrectly converted to multirepo.
We should consider weeding out all uses of executeCommand that are not required by VS Code API since this also broke opening the description when a PR is created too.

Agreed, it would be good to get rid of as many executeCommand usages as possible!


How to load .model and .optimizer file for load pytorch model?

Discussed in https://github.com/Trusted-AI/adversarial-robustness-toolbox/discussions/1308

Originally posted by LxyoryxL September 12, 2021

The .model and .Optimizer files above are the ones I saved with pytorch_model.save() functions,but I don't know how to load them again

Closing issue to continue in Discussion #1308.


Potentially a bug in syncRequest() handling

Release 1.1, WiFi-to-RTU bridge.
I got a situation twice, where the responses on syncRequest() calls from within the bridge code were "one off". I had some error first, like TIMEOUT or INVALID_SERVER, then responses were returned that belonged to the previous request.
A reset of the bridge ESP32 normalized things.
The token to match the responses to their requests is millis(), so it should not occur twice. 😕

Got it´:

if a slow RTU server was missing to maintain the data rate, the RTU client would assume end-of-packet prematurely.
The further data would be collected in the serial buffer nevertheless.
The next request would read the collected serial data for the previous response from the buffer as part of the response for the current request.
This effect could happen in loops, so every response was outdated in respect to the request.

As a remedy, the RTU client will now empty the serial buffer after having read a packet and before sending a new request. This does help, but will fail again for pathologically acting servers!


Test the visibility indicator using nightwatch.js or another automated browser test

Looks like we can use
browser.execute('scrollTo(0,3000)');

And similar tools getting things in and out of the viewport.
This code ensures the browser is a particular size: http://stackoverflow.com/a/30705084/117014

https://github.com/amir20/phantomjs-node
Here's an implementation: http://stackoverflow.com/a/29468858/117014


Long names overflow in the "author summary" component

When long names are added to the "author summary" component they extend beyond their container and into the bio area. Long names also change the shape of the author image from a circle to a narrow ellipse.

@theadamparker , which treatment is better? Test name: "Prapawedee Jarranaoterrratanakonmmmer"

Long words broken arbitrarily but words are kept together (no breaks on space):

Long words are broken, but browser is using maximum line length within the container breaking name on space as well:

@Jura 2 seems like a better approach. It shows as much unbroken text as possible.

Hi Jura,
I hope all is well.
Please remove my email address from your distro.
Thank you,
Jasmine
On Monday, July 25, 2022, Jura Khrapunov @.***> wrote:

@theadamparker https://github.com/theadamparker , which treatment is
better? Test name: "Prapawedee Jarranaoterrratanakonmmmer"

Long words broken arbitrarily but words are kept together (no
breaks on space):
[image: image]
https://user-images.githubusercontent.com/417604/180877458-c4282339-a653-4172-a0e6-4cc51f73da34.png
Long words are broken, but browser is using maximum line length
within the container breaking name on space as well:
[image: image]
https://user-images.githubusercontent.com/417604/180877599-5f816711-43ba-45f4-85e5-9dcd264fdf35.png

—
Reply to this email directly, view it on GitHub
https://github.com/undp/design-system/issues/510#issuecomment-1194656582,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOUXXAM4ZUBDFWDJ4NCE4HLVV4BXRANCNFSM5LZ4B47A
.
You are receiving this because you were assigned.Message ID:
@.***>

@devjgigas , this is the public repo and you have to withdraw your account from subscription list if you don't want to receive notifications. There is a small "unsubscribe" link at the bottom of every github notification email where you can manage that. You can also review your own list watching list and manage it here: https://github.com/watching


Adds get-namespace-dev-token command

Closes GDT-43

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #113

PR #99

PR #102

PR #103

PR #117

PR #118

PR #121

PR #122

Merge activity

Dec 24, 12:12 AM: @@NathanFlurry started a stack merge that includes this pull request via Graphite.


fix: release action fix by reverting to older @nx/rollup version

For some reason, any version of @nx/rollup higher than 16.5.5 seems to break our CI by outputting compiled files as cjs instead of js.
This is a temporary workaround to unblock releases until a long term strategy is figured out.
https://github.com/nrwl/nx/issues/18912

Hi, the @ts-rest/express build is actually broken with <=16.5.5.
The reason is that this PR https://github.com/nrwl/nx/pull/18342 added rolling up of the *.d.ts so that all types are exported.
Without it, turning on declaration: true will cause users to attempt to re-export inferred types from @ts-rest/express/lib/types, which is not exported by @ts-rest/express, thus causing a build error:
src/routes/getOrder.ts:7:14 - error TS2742: The inferred type of 'getOrder' cannot be named without a reference to<EMAIL_ADDRESS>This is likely not portable. A type annotation is necessary.

7 export const getOrder = s.router(contract.getOrder, {
               ~~~~~~~~

There are many situations in which one would want to turn on declaration: true:

One is using @ts-rest/express in another library
One is using @ts-rest/express in an app but wanting to split src/ and tests/ to make compilation/IDE on src/ faster. This requires TypeScript project references, i.e. emit the src/ .d.ts so that tests/ can use it

Our current workaround is monkey-patching the generated package.json:
"exports": {
  ".": {
    "types": "./src/index.d.ts",
    "import": "./index.mjs",
    "require": "./index.js"
  },
+  "./lib/types": {
+    "types": "./src/lib/types.d.ts"
+  }
},

hey @llllvvuu ! Do you think this is an appropriate issue for tracking this fix? https://github.com/ts-rest/ts-rest/pull/375

Yeah, that looks like it might be the same issue. I'm not sure why the author closed it though. Maybe they realized they didn't need "declaration": true?


pluginClient: client=fetch does not work

What version of kubb is running?
3.3.0
What kind of platform do you use?
MacOS
How does your kubb.config.ts config look like
import { defineConfig } from '@kubb/core'
import { pluginOas } from '@kubb/plugin-oas'
import { pluginTs } from '@kubb/plugin-ts'
import { pluginClient } from '@kubb/plugin-client'
import { pluginZod } from '@kubb/plugin-zod'

export default defineConfig(() => {
    return {
    ...

    pluginClient({
        output: {
            path: './clients/fetch'
    },
        client: 'fetch',
        parser: 'client', // TODO 'zod' or 'client'?
        paramsType: "inline",
        //dataReturnType: 'full',
        pathParamsType: "inline"
}),
..

Swagger/OpenAPI file?
No response
What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)
react 19.0.0

What steps can reproduce the bug?

use client: 'fetch' instead of client: 'axios' in pluginClient
generate the fetch resources and look into the generated clients folder

For example, this is the resource generated for:
clients/fetch/getUserByUserName.ts:
import client from '@kubb/plugin-client/clients/fetch'
import type {
  GetUserByUsernameQueryResponse,
  GetUserByUsernamePathParams,
  GetUserByUsernameQueryParams,
  GetUserByUsername404,
} from '../../../types/UserResource/GetUserByUsername.ts'
import type { RequestConfig } from '@kubb/plugin-client/clients/fetch'

/**
 * @description Get the user by username
 * @summary Get By Username
 * {@link /api/users/:username}
 */
export async function getUserByUsername(
  username: GetUserByUsernamePathParams['username'],
  params?: GetUserByUsernameQueryParams,
  config: Partial<RequestConfig> = {},
) {
  const res = await client<GetUserByUsernameQueryResponse, GetUserByUsername404, unknown>({ method: 'GET', url: `/api/users/${username}`, params, ...config })
  return res.data
}

Looking into @kubb/plugin-client/clients/fetch, it uses the axios client instead of fetch() api:
/**
 * Subset of AxiosRequestConfig
 */
type RequestConfig<TData = unknown> = {
    baseURL?: string;
    url?: string;
    method: 'GET' | 'PUT' | 'PATCH' | 'POST' | 'DELETE' | 'OPTIONS';
    params?: unknown;
    data?: TData | FormData;
    responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream';
    signal?: AbortSignal;
    headers?: [string, string][] | Record<string, string>;
};
/**
 * Subset of AxiosResponse
 */
type ResponseConfig<TData = unknown> = {
    data: TData;
    status: number;
    statusText: string;
    headers?: [string, string][] | Record<string, string>;
};
declare const fetchClient: {
    <TData, TError = unknown, TVariables = unknown>(config: RequestConfig<TVariables>): Promise<ResponseConfig<TData>>;
    getConfig(): never;
    setConfig(): never;
};

export { type RequestConfig, type ResponseConfig, fetchClient as default, fetchClient };

How often does this bug happen?
Every time
What is the expected behavior?
Something like the following file (which was previously needed  (before kubb 3.3.3) to be included via importPath: 'src/fetchRequest.ts'):
/**
 * Subset of FetchRequestConfig
 */
export type RequestConfig<TData = unknown> = {
	baseURL?: string
	url?: string
	method: 'GET' | 'PUT' | 'PATCH' | 'POST' | 'DELETE'
	params?: object
	data?: TData | FormData
	responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream'
	signal?: AbortSignal
	headers?: HeadersInit
}
/**
 * Subset of FetchResponse
 */
export type ResponseConfig<TData = unknown> = {
	data: TData
	status: number
	statusText: string
}

export const fetchClient = async <TData, TError = unknown, TVariables = unknown>(config: RequestConfig<TVariables>): Promise<ResponseConfig<TData>> => {
	const response = await fetch(`${config.baseURL}${config.url}`, {
		method: config.method.toUpperCase(),
		body: JSON.stringify(config.data),
		signal: config.signal,
		headers: config.headers,
	})

        // we use ECMAScript Safe Assignment Operator (?=)
        // as there are cases where no data is sent from the server (e.g. 204 (No Content) status code)
        const data ?= await response.json()

	return {
		data,
		status: response.status,
		statusText: response.statusText,
	}
}

export default fetchClient

Additional information
No response

Are you sure about this because the fetch client is using fetch behind the scenes, see https://github.com/kubb-labs/kubb/blob/main/packages/plugin-client/src/clients/fetch.ts

@nimo23 Could you have another look, I did some changes that should reflect more what was needed, see v.3.3.3


How can I use Chroma

Hello,
When I using Chroma,a problem occurred

What the problem?

I have the same issue ?

currently running both flowise and chroma on docker won't work.
here's the guide - https://docs.flowiseai.com/vector-stores/chroma

u can deploy chroma docker
use chroma url

currently running both flowise and chroma on docker won't work.
I got the same issue with or without the chroma url
Has this been resolved?

Hi @adryanm2m,

Clone Chroma Repo
Add below code into Chroma's docker-compose.yml

  flowise:
    platform: linux/x86_64
    image: flowiseai/flowise
    restart: always
    env_file:
      - ./flowise.env
    ports:
      - "${FLOWISE_PORT:-3000}:3000"
    volumes:
        - ~/.flowise:/root/.flowise
    command: /bin/sh -c "sleep 3; flowise start"

Run docker compose up -d --build
Specify this Chroma URL http://host.docker.internal:8000 assuming you use port 8000

Do come join our (Discord)[https://discord.gg/AfZaQA5k].
You can find this solution in Support Channel > Trying to use Chain Tool with Chat Prompt Template failing

I still have the issue.

Hi @Ramanpreet56,
Sorry for the late reply, let's continue here https://github.com/FlowiseAI/Flowise/issues/810

problem


Time and Geo DataTypes

Maybe a newbe question, but I cant set or use Time Data Type nor Geo DataType.
The plus important for me now is a sample about how to set and use geo (point) in a Postgres db.
Thanks in advance

Hey @mtabaj :)
See:
  @Column(DataType.GEOMETRY('point'))
  geo: Date;

  @Column(DataType.TIME)
  time: Date;
  // or
  @Column({
    type: DataType.TIME
  })
  time: Date;

and for more information: http://docs.sequelizejs.com/variable/index.html#static-variable-DataTypes

@RobinBuschmann  When I use
@Column(DataType.TIME)
time: Date;
It still in reality is a string with this format HH:mm:ss.


blobs.yml's SHA1 stored as string, not as binary

new blobs.yml generated by typing the following command:
ruby -e 'require "yaml"; puts YAML.dump(YAML.load(File.read("config/blobs.yml")))'

fixes
SHA1 mismatch. Expected YjgzMThiMDlkZTA2MDc2ZDUzOTdlNmVjMThlYmVmM2I0NWNkMzE1ZA==, got b8318b09de06076d5397e6ec18ebef3b45cd315d

[fixes #31]

Hey @gu-bin,
Can you please verify @cunnie's fix and let me know. It's relatively simple (see changes in diff)
Let me know when you do and I will merge it. Also, if you can fly execute this for our pipeline and verify that works too.
Thx,
Max
/cc @mattcui @jianqiu

Closing. This has been lingering for four years, and the repo is deprecated.

Closing. This has been lingering for four years, and the repo is deprecated.


Legal documents updated

What this PR does / Why we need it
Fixes a couple of typos and changes to legal documents.
Some questions

[X] I have read the contributing guidelines
[X] I abide by this repository Code of Conduct

Please wait for Faix to review legal documents.

Perfecte, merging!


'package:flutter/src/widgets/framework.dart': Failed assertion: line 4954 pos 14: '_dependents.isEmpty': is not true.

Steps to Reproduce
I am calling a new page which starts with a RubberBottomSheet. The bottom layer includes a stack component with google maps and some buttons on it.
Also I would like  to use an svg icon for markers.
Before loading google map I call a future widget to get all svgs needed but then the upper layer does not open says the controller is already complete.
These are couple of issues since I updated Flutter and all Libraries to the latest since last week.
here is flutter doctor results
[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.19041.804], locale en-US)
• Flutter version 2.0.1 at E:\Flutter
• Framework revision c5a4b4029c (6 days ago), 2021-03-04 09:47:48 -0800
• Engine revision 40441def69
• Dart version 2.12.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at E:\AndroidSDK
• Platform android-30, build-tools 29.0.2
• ANDROID_HOME = E:\AndroidSDK
• Java binary at: E:\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at E:\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.48.0)
• VS Code at C:\Users\Gokul\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.13.2
[√] Connected device (3 available)
• sdk gphone x86 arm (mobile) • emulator-5556 • android-x86    • Android 11 (API 30) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 88.0.4324.190
• Edge (web)                  • edge          • web-javascript • Microsoft Edge 89.0.774.45
! Doctor found issues in 1 category.
Process finished with exit code 0

Logs

Hi @hgokulchavan
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Roll engine 8dc3a4cde207..11408effda3c (10 commits)

https://github.com/flutter/engine/compare/8dc3a4cde207...11408effda3c
git log 8dc3a4cde2075a4f5458fd0eb199627f5124508d..11408effda3ceb10eca7b6b8b93a422ba502cf78 --no-merges --oneline
11408effd Update macOS podspec version requirement (flutter/engine#9077)
66c6ae48e Roll src/third_party/skia a4b837971c4b..d9430297e74a (30 commits) (flutter/engine#9080)
9151b377e Roll src/third_party/skia 9339a8a61af0..a4b837971c4b (34 commits) (flutter/engine#9076)
ee6a9c404 Fix unchecked operation warnings in FlutterMain (flutter/engine#9073)
333042cf3 Roll third_party/dart/tools/sdks to 2.3.0 (flutter/engine#9072)
01b8c078c Roll src/third_party/skia f77dbd04b926..9339a8a61af0 (12 commits) (flutter/engine#9065)
26b4fb57f Roll src/third_party/dart e3edfd36b2..ec4d48e241 (7 commits)
9d2d58a3c Add mouse button support to the macOS shell (flutter/engine#9054)
b17c0c6e6 Add a podspec for FlutterMacOS.framework (flutter/engine#9062)
82ccba303 libtxt: have GetRectsForRange(strut) fall back to tight bounds if layout isn't forcing use of the strut (flutter/engine#9058)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4791685725290496 , https://cirrus-ci.com/task/6621273073909760 , https://cirrus-ci.com/task/5495373167067136 , https://cirrus-ci.com/task/6199060608843776 , https://cirrus-ci.com/task/5706479399600128 , https://cirrus-ci.com/task/4580579492757504 , https://cirrus-ci.com/task/6058323120488448

Commit queue failed; closing this roll.