:Line: 1, Column: 1: Unexpected end of file

compiled 'gluon' from the master
i'm getting the following error, while trying to execute any of the examples (beyond hello world and numbers) from the tutorial.
`> let record = { pi = 3.14, add1 = (+) 1.0}
:Line: 1, Column: 1: Unexpected end of file
let record = { pi = 3.14, add1 = (+) 1.0}
^'
Is there a work around ?

Looks like a poor error message. It should say something like expected in because it expects all let bindings to be followed by an expression which the let expression evaluates to.
https://github.com/gluon-lang/gluon/blob/master/TUTORIAL.md#variable-bindings
That being said, in the repl (but not in normal files) I want your example to work as a way to bind temporary variables for later use. Need to open an issue for that.

The UnrecognizedToken errors here https://github.com/gluon-lang/gluon/blob/195bea377a300be736561940bb9a4e43a86280f2/parser/src/lib.rs#L121-L126 also contain information about what tokens were expected https://github.com/nikomatsakis/lalrpop/pull/178. We should use this information in the error messages as well.


Fan Speed Support

Can add support for fan speed. New version of Panasonic Comfort App added this feature. Also added Swing Left-Right and Up-Down.

Hi @aneip, this is already supported using the climate services.
Horizontal swing is set using the panasonic_cc.set_horizontal_swing_mode service.


Database Migration Error

Subject of the issue
Database Migrations not running on bare-bones build.
Describe your issue here.
Your environment
Ubuntu 18
Tell us where this issue occurred.
1.4 Migrate the databases (From the ReadMe manual)
Steps to reproduce
Run mix do ecto.create, ecto.migrate
Tell us how to reproduce this issue.
mix do ecto.create, ecto.migrate
Expected behavior
Databases should be created
Tell us what should happen.
Databases should be created.
Actual behavior
23:16:12.677 [error] GenServer #PID<0.724.0> terminating
** (RuntimeError) Connect raised a KeyError error. The exception details are hidden, as
they may contain sensitive data such as database credentials.
(elixir) lib/keyword.ex:377: Keyword.fetch!/2
(postgrex) lib/postgrex/protocol.ex:610: Postgrex.Protocol.auth_md5/4
(postgrex) lib/postgrex/protocol.ex:504: Postgrex.Protocol.handshake/2
(db_connection) lib/db_connection/connection.ex:135: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

Last message: nil
State: Postgrex.Protocol
** (Mix) The database for LocalLedgerDB.Repo couldn't be created: an exception was raised:
** (RuntimeError) Connect raised a KeyError error. The exception details are hidden, as
they may contain sensitive data such as database credentials.
    (elixir) lib/keyword.ex:377: Keyword.fetch!/2
    (postgrex) lib/postgrex/protocol.ex:610: Postgrex.Protocol.auth_md5/4
    (postgrex) lib/postgrex/protocol.ex:504: Postgrex.Protocol.handshake/2
    (db_connection) lib/db_connection/connection.ex:135: DBConnection.Connection.connect/2
    (connection) lib/connection.ex:622: Connection.enter_connect/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

Tell us what happens instead.

Closing down for now. Feel free to re-open if you still experience this issue!


Deployments are flaky when using gcloud plugin to deploy App Engine standard environment apps.

I filed an internal issue number 29425008 for this. Our end-to-end / user journey tests are failing often for the Java interactive tutorial due to this issue.
Example log of failed deploy:
+ mvn gcloud:deploy -Dgcloud.gcloud_project=java-quickstart-test -Dgcloud.version=81
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building appengine-try-java 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> gcloud-maven-plugin:<IP_ADDRESS>.v20160525:deploy (default-cli) > package @ appengine-try-java >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appengine-try-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /workspace/appengine-try-java-e2e-gcloud/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ appengine-try-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /workspace/appengine-try-java-e2e-gcloud/target/appengine-try-java/WEB-INF/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appengine-try-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /workspace/appengine-try-java-e2e-gcloud/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ appengine-try-java ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ appengine-try-java ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.3:war (default-war) @ appengine-try-java ---
[INFO] Packaging webapp
[INFO] Assembling webapp [appengine-try-java] in [/workspace/appengine-try-java-e2e-gcloud/target/appengine-try-java-1.0]
[INFO] Processing war project
[INFO] Copying webapp webResources [/workspace/appengine-try-java-e2e-gcloud/src/main/webapp/WEB-INF] to [/workspace/appengine-try-java-e2e-gcloud/target/appengine-try-java-1.0]
[INFO] Copying webapp resources [/workspace/appengine-try-java-e2e-gcloud/src/main/webapp]
[INFO] Building jar: /workspace/appengine-try-java-e2e-gcloud/target/appengine-try-java-1.0/WEB-INF/lib/appengine-try-java-1.0.jar
[INFO] Webapp assembled in [80 msecs]
[INFO] Building war: /workspace/appengine-try-java-e2e-gcloud/target/appengine-try-java-1.0.war
[INFO]
[INFO] <<< gcloud-maven-plugin:<IP_ADDRESS>.v20160525:deploy (default-cli) < package @ appengine-try-java <<<
[INFO]
[INFO] --- gcloud-maven-plugin:<IP_ADDRESS>.v20160525:deploy (default-cli) @ appengine-try-java ---
[INFO] Creating staging directory in: /workspace/appengine-try-java-e2e-gcloud/target/appengine-staging
2016/06/16 01:53:33
[INFO] Running appcfg --disable_update_check -A notused -V 81 -A java-quickstart-test stage /workspace/appengine-try-java-e2e-gcloud/target/appengine-try-java-1.0 /workspace/appengine-try-java-e2e-gcloud/target/appengine-staging
Reading application configuration data...

Beginning interaction for module default...
0% Scanning for jsp files.
0% Generated git repository information file.
Success.
Temporary staging for module default directory left in /workspace/appengine-try-java-e2e-gcloud/target/appengine-staging
[INFO] Running gcloud app deploy...
[INFO] Running python -S /root/google-cloud-sdk/lib/gcloud.py --quiet --project=java-quickstart-test preview app deploy /workspace/appengine-try-java-e2e-gcloud/target/appengine-staging/app.yaml --version=81 --promote
[INFO] You are about to deploy the following services:
[INFO]  - java-quickstart-test/default/81 (from [/workspace/appengine-try-java-e2e-gcloud/target/appengine-staging/app.yaml])
[INFO]      Deployed URL: [https://java-quickstart-test.appspot.com]
[INFO]
[INFO] Beginning deployment of service [default]...
[INFO] File upload done.
[INFO]
[INFO] Updating service [default]...
[INFO]
[INFO] Updating service [default]...failed.
[INFO] ERROR: (gcloud.preview.app.deploy) Error Response: [400] Invalid request.
[INFO]
[INFO] Details: [
[INFO]   [
[INFO]     {
[INFO]       "@type": "type.googleapis.com/google.rpc.BadRequest",
[INFO]       "fieldViolations": [
[INFO]         {
[INFO]           "description": "Version does not exist in service (module) \"default\".",
[INFO]           "field": "module.split.allocations[81]"
[INFO]         }
[INFO]       ]
[INFO]     }
[INFO]   ]
[INFO] ]
[INFO]
[ERROR] Error: gcloud app command with exit code : 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.212 s
[INFO] Finished at: 2016-06-16T01:53:47+00:00
[INFO] Final Memory: 27M/460M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.appengine:gcloud-maven-plugin:<IP_ADDRESS>.v20160525:deploy (default-cli) on project appengine-try-java: Error: gcloud app command exit code is: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I believe this was fixed. I've not encountered this issue recently.


Update readme to include baselines

Fixed: https://github.com/dev-sec/ansible-os-hardening/commit/7bbd479a9a3a22060eb26088aa4e0786bb3d390b


Example/reuse chrome for #765

#765
Sorry for all those merge commits showing up....again... 😢

fixed up the issues

@kblok  not sure why this test is failing for an example

@bdurrani just a hiccup :)


KAFKA-2726: Fix port collision between ntpdate and ntp daemon

@gwenshap Can you take a quick look? I have verified the change allows successful vagrant provision even with ntp daemon already running on the vm.

LGTM. Thanks.


ui-select-choices should allow object (hashtable) instead of array of objects

I have the following ui-select working:
<ui-select ng-model="vm.example" name="example">
    <ui-select-match placeholder="Select...">{{$select.selected.key}}</ui-select-match>
        <ui-select-choices repeat="x in vm.examples | filter: $select.search">

    </ui-select-choices>
</ui-select>

And the source for this select is the following array...
vm.examples = [
    {key:'a', value: 1},
    {key:'b', value: 2},
    {key:'c', value: 3}
]

However, I want my "datasource" for the select to be an object literal, as it follows...
vm.examples = {
    a: 1,
    b: 2,
    c: 3
}

I have tried several times and couldn't be able to make it work, is this even possible? If it is not possible due to the ui-select current implementation... what is the reason??

Duplicate of #1255

Closing due to lack of activity. Refer to https://github.com/angular-ui/ui-select/blob/161cff56c0ba9d4a86ae213056dd78ba18296036/examples/demo-object-as-source.html for examples of how to do this. (Or see wiki)

I am adding the initial value. It is selected properly, but disappears from the list. Any idea?

@rodneicouto #1672

demo is broken here
http://angular-ui.github.io/ui-select/demo-object-as-source.html
the dropdown lists are empty


How could I download the dataset of worldcup2014?

How could I download the dataset of worldcup2014?
Thanks

This is the place: https://github.com/lood339/SCCvSD/tree/master/data/UoT_soccer
for world cup 2014 dataset.
Also, here is some description for the related data: https://github.com/lood339/SCCvSD/blob/master/data/read_me.py

Close this issue as the dataset link is provided.


Totally broken Select?

.faqWSt select {
    padding: null;
    box-shadow: inset 0 0 0 1px gray2;
    border-radius: undefined;
}

It's a styles on Select component.
1.0.3 version.
Reproduction:

You need to wrap it in <Provider/>
Fixed:
https://codesandbox.io/s/KrAMk9LNY

@jasonblalock Hmmm. I have mine in project wrapped in provider. But still box shadow is broken and weird gray2 inside. Padding etc is set but shadow is broken. :/

From the docs:

To ensure Rebass's theme is properly configured, use the  component at the root of your application.

Rebass is largely dependent on its theme and I wouldn't recommend using this library without the Provider component


WIP: Process flux segments separately.

When a physical disk is read and retries are necessary, the
retried track's flux is concatenated in the .flux file, separated
by F_DESYNC delimiters.  The reader currently processes the single
multi-segment flux, leading to differences in interpretation of
a physical disk read vs. processing the .flux file generated by
the same physical disk read.
Break up the Fluxmap and process each segment separately.
An alternate approach would be to let readFluxmap() return the flux up until the F_DESYNC, and then let the reader make subequent calls to readFluxmap() returning the next segment of flux from the same track as part of the retry mechanism.
I'd like to get feedback on these two approaches.  The goal is for .flux files processed with "fluxengine read" to be processed identically to reading a physical disk.

Originally my plan was to have multiple fluxmaps for successive reads, but that caused problems due to design impedance mismatch with things like storing multiple fluxmaps in the flux files. But that predates the fl2 change, so maybe it's worth revisiting that. I agree that having flux files and hardware behave similarly is valuable. I'm quite willing to believe that F_DESYNC is a bad idea.
The biggest knock-on change there is that FluxSource::readFluxmap would probably need to return a kind of iterator rather than returning a single fluxmap directly. That wouldn't be hard, TBH. I'll think about this one.

After spending some time poking at the code: I remember now why I gave up on this. You end up with two types of retryable flux sources: those which can reread indefinitely, and those which have a fixed number of retries. This becomes important for rawread and rawwrite where you may want to copy all available flux if the target is a file.
I believe the latter's broken anyway. With rawread, you only ever get one read because no error detection is done. And with rawwrite, all data including the desync bytes is sent to the hardware, which is wrong; but rawwrite only works with solved fluxmaps anyway.
I think I have a route to fixing this properly...

Okay, so #488 contains a big refactor to store multiple fluxmaps throughout, hopefully making F_DESYNC go away completely. It compiles and the tests pass...

Awesomeness me, thank you!


cookbook_upload.rb should have --dry-run

The knife cookbook upload command should support a -n, --dry-run option like knife upload does.

We really should replace the implementation of cookbook_upload with that of upload, but this is a breaking change.

Closing this one out since the why-run action here seems to be of limited use for most folks.


Update AgeableData

This PR makes https://github.com/SpongePowered/SpongeCommon/pull/562 possible.
Changes:

[x] - Added the key for IS_ADULT
[x] - Removed redundant methods, which were discussed with @gabizou a while back.

Please reopen targeting the bleeding branch.

@Deamon5550 Okay


test PR with Github API

Please pull this in!

Docs Build status updates of commit 463d534:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

sdp-test/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit cbe60f6:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/index.md
:white_check_mark:Succeeded

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 1046c70:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/index.md
:white_check_mark:Succeeded

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Duplicated component name inside stimulus controller when using sidecar option

Feature request
Improves stimulus controller name when we have sidecar option
Example
When i run rails g component Reports::Footer::Card --sidecar --stimulus --preview
Its creates the html with component name duplicated in data-controller prop

Add Reports::Footer::Card template here

But would be better to be:

Add Reports::Footer::Card template here

👍🏻 Makes sense to me. Want to write the PR?

Correct me if I'm wrong, but that's the expected behavior: the controller identifier depends on the path and file name of the controller JS file.

If your controller file is named…
its identifier will be…

clipboard_controller.js
clipboard

date_picker_controller.js
date-picker

users/list_item_controller.js
users--list-item

local-time-controller.js
local-time

See https://stimulus.hotwired.dev/handbook/installing

Correct me if I'm wrong, but that's the expected behavior: the Stimulus controller identifier depends on the path and file name of the controller JS file.

If your controller file is named…
its identifier will be…
clipboard_controller.js
clipboard
date_picker_controller.js
date-picker
users/list_item_controller.js
users--list-item
local-time-controller.js
local-time

See https://stimulus.hotwired.dev/handbook/installing#controller-filenames-map-to-identifiers

Yes you are right, the new name would work, but is better keep default naming from stimulus for the default imports. Maybe the better approach in my case is change the controller name from card_component_controller.js to just controller.js. Is there some generator to automatic generate sidecar component like in this part of the docs? https://viewcomponent.org/guide/javascript_and_css.html#stimulus
app/components
├── ...
├── example
|   ├── component.rb
|   ├── component.css
|   ├── component.html.erb
|   └── component_controller.js
├── ...

Is there some generator to automatic generate sidecar component like in this part of the docs? https://viewcomponent.org/guide/javascript_and_css.html#stimulus

You can use view_component-contrib or implement your own generator by copying this file in your project and adapting it.

Thanks @Spone for the help! I will use view_component-contrib to generate my components


Load AsyncProfiler with ap-loader

We should replace our custom integration of AsyncProfiler with https://github.com/parttimenerd/ap-loader so that we don't have to worry about the platform and architecture.

I'm happy to to help if there are any issues :)

I looked into it: I forgot to integrate the converter as a proper Java API (because I have to move the classes into a new package, as I don't want the converter classes in the default package).

I think it's fine, we can copy the converter code, it had a bug anyway.

Or I could integrate it properly

I implemented a draft version of the former in https://github.com/parttimenerd/ap-loader/commit/dea409343495e599c2cfc0e6c1e26786d6c9d157 (in a separate branch).

It's an PR at https://github.com/parttimenerd/ap-loader/pull/1

Any thoughts on my PR?


pull server URI from connection not setting

For #9151

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #9161 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #9161      +/-   ##
==========================================
- Coverage    57.4%   57.39%   -0.01%
==========================================
  Files         551      551
  Lines       29262    29265       +3
  Branches     4438     4440       +2
==========================================
- Hits        16799    16798       -1
- Misses      11528    11532       +4
  Partials      935      935

Impacted Files
Coverage Δ

.../datascience/interactive-common/interactiveBase.ts
18.06% <0%> (-0.09%)
:arrow_down:

src/client/common/utils/platform.ts
70.58% <0%> (-5.89%)
:arrow_down:

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 b31b8bf...56f030c. Read the comment docs.


Update Upload function

The Upload function should be implemented with the AWS S3 upload method to also allow for larger files to be transferred.

@gedankenstuecke I am taking this up! Thanks :)

Great, thanks!

@gedankenstuecke Can I too work on this issue ??

I would like to work on this :)

Thanks for the interest @sepicoder, but this is nearly ready with #31 which just needs a final review before being merged.


Add a way to default-trigger private jobs

(Sorry, I couldn't resist also fixing 1: other method comments and 2: the triple-T typo in permitAllSubmittters)

@mmitche @jashook PTAL

LGTM


Warn that iptables proxier doesn't handle readiness failures.

qv https://github.com/kubernetes/kubernetes/issues/24322
Not totally sure about the wording. @thockin?
(The totally-sketchy-looking hardcoded link to readiness probes documentation is stolen from docs/user-guide/ingress.md...)

Change URL to /docs/user-guide/production-pods/#liveness-and-readiness-probes-aka-health-checks

updated


Show accurate value in <RangeHistogram>

If the value does not match the smaller and the larger

[ ] Hide left (min) and right (max) values
[ ] Show current value
[ ] Update column height in percents (see the pink example in picture)

The task has been moved to the sloy-map repository:
https://github.com/sloyio/sloy-map/issues/26


Request to add Int instance for HasTSRep

I am curious if there is any reason for not including an Int instance for HasTSRep, incase there isn't I could submit a PR adding it.
Secondly, I am also curious whether you would be open to me opening a PR updating prettier once this gets merged.
https://github.com/gcanti/purescript-prettier/pull/5

I don't think "Int" has any real representation in JS as it can be easily broken. That said, this "library" is just some template for you to fork from and integrate into your own codebase, so you can make your own decision on that.

The formatting update is probably not strictly necessary either, as this is mostly an archive more than anything.


Moving the hardcoded strings from the Debug UI to Resources file

Customer scenario
Debug properties page is not currently localized.
Bugs this fixes:
https://github.com/dotnet/roslyn-project-system/issues/1286
Workarounds, if any
None
Also, why we think they are insufficient for RC vs. RC2, RC3, or RTW
Risk
Low
Performance impact
Low
Is this a regression from a previous update?
No
Root cause analysis:
How did we miss it?  What tests are we adding to guard against it in the future?
Page was copied over from old system. Missed seeing the strings not being localized.
How was the bug found?
ad hoc testing

@nguerrera

Merging to localization branch to take this along with other changes requiring xlf updates.


fix: no open handle for localConfig in tests

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[x] Lint (yarn lint --check) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Don't load localConfig in test environment.
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

I think with #29 we don't actually need this.


Training baichuan2 13b, when pp>1, it will nanloss when flash attention is turned off.

It might be an issue with the attention mask.
The startup script is:
sh run_pretrain_megatron_baichuan.sh dsw /workdir/fengyu05/Pai-Megatron-Patch 13B 1 8 1e-5 1e-6 4096 4096 0 bf16 4 2 sel true false true false 100000 /mnt/dolphinfs/hdd_pool/docker/share/llama_efficient/comparison_gpt4_data_en.json /mnt/dolphinfs/hdd_pool/docker/user/fengyu05/model/baichuan-13b-base-hf-to-megatron-tp4-pp2_1 100000000 10000 output_baichuan2
error is:
Traceback (most recent call last):
    assert not total_norm.isnan(), (
  File "/workdir/fengyu05/Pai-Megatron-Patch/examples/baichuan2/pretrain_megatron_baichuan.py", line 101, in <module>
AssertionError: Rank 3: found NaN in local grad norm in backwards pass. Device: 3, node: set-zw04-kubernetes-pc133.mt
    pretrain(train_valid_test_datasets_provider,
  File "/workdir/fengyu05/Pai-Megatron-Patch/megatron_patch/training.py", line 152, in pretrain
    iteration = train(forward_step_func,
  File "/workdir/fengyu05/Pai-Megatron-Patch/megatron_patch/training.py", line 652, in train
    train_step(forward_step_func,
  File "/workdir/fengyu05/Pai-Megatron-Patch/megatron_patch/training.py", line 385, in train_step
    update_successful, grad_norm, num_zeros_in_grad = optimizer.step(args, timers)
  File "/usr/local/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/workdir/fengyu05/Pai-Megatron-Patch/Megatron-LM-main/megatron/optimizer/optimizer.py", line 329, in step
    grad_norm = self.clip_grad_norm(self.clip_grad,
  File "/workdir/fengyu05/Pai-Megatron-Patch/Megatron-LM-main/megatron/optimizer/optimizer.py", line 111, in clip_grad_norm
    return clip_grad_norm_fp32(
  File "/workdir/fengyu05/Pai-Megatron-Patch/Megatron-LM-main/megatron/optimizer/clip_grads.py", line 98, in clip_grad_norm_fp32
    assert not total_norm.isnan(), (
AssertionError: Rank 1: found NaN in local grad norm in backwards pass. Device: 1, node: set-zw04-kubernetes-pc133.mt

pull下最新的代码试试

pull下最新的代码试试

嗯，最新的代码没问题了


Input events - [merged]

In GitLab by @ismaelpamplona on Jan 12, 2023, 15:32
Merges feature/input-add-events -> master
Event fowarding  onfocus and onfocusout

mentioned in commit f8ad3fafdb46ee3bffade25aef79fd34e6c89bcb


Update offline installation instructions

This addresses issues #4788 and #4803 which identify issues with the offline installation instructions with later versions of Mendix Studio Pro 9

Looks good from R&D PoV. Will merge now and pick up later if there are any further issues.


Add With() overload taking factory method

Closes #708
Added overloads for the With() method taking action as a parameter. The following overloads were added:
With(x => x.Property, () => MakeValue());
With(x => x.Property, (object someInput) => MakeDesiredValueUsingInput(someInput))

Usually we have overloads taking up to 4 input values. Decided to not add those for now, as it's unclear whether they will be demanded in future.
Additionally, added a few more changes:

deprecated the CompositePostprocessComposer as it's not used in our code
used interitdoc whenever possible to not duplicate the parent documentation
Reworked With() overload without parameters to unify graph when we perform With() change. The observable behavior hasn't changed and no tests failed, so I presume change might be considered as safe.

@moodmosaic Happy review!
CC @Kralizek

Oh wow! I don't think I would have managed to implement this! Great job!
As for the overloads with multiple parameters, maybe 3 extension methods that request for a tuple behind the scenes?

:+1: Looks reasonable. I would say go for it.

@moodmosaic Merged. Thanks for the review 🤝

@zvirja

Usually we have overloads taking up to 4 input values. Decided to not add those for now, as it's unclear whether they will be demanded in future.

I would suggest the extension method way for this kind of scenario.
After all, considering that the parameters are provided by us, we can say that generating N values to be fed into a delegate is equivalent to generate a tuple with N values and feed into the same delegate.
// These two are equivalent
(T1 arg1, T2 arg2, T3 arg3, T4 arg4) => something(arg1, arg2, arg3, arg4)
((T1, T2, T3, T4) arg) => something(arg.Item1, arg.Item2, arg.Item3, arg.Item4)

So we could have something like
public static IProcesscomposer<T> With<TProperty, TInput1, TInput2, TInput3, TInput4>(
    this IPostprocessComposer<T> composer,
    Expression<Func<T, TProperty>> propertyPicker,
    Func<TInput1, TInput2, TInput3, TInput4, TProperty> valueFactory)
{
    return composer.With(propertyPicker, ((TInput1 a, TInput2 b, TInput3 c, TInput4 d) arg) => valueFactory(arg.a, arg.b, arg.c, arg.d));
}

Hello @Kralizek,
Thanks for your input! It's a brilliant idea to implement extension method and relay request to a tuple! Thanks for that 👍
I don't mind to have overloads taking a few arguments. I just don't want to implement them upfront as they might be never required. As soon as we get them requested in future for a few times, we might add them as well.
Do you find them required in your projects?


Added SwiftPM build of Siesta

TL;DR: Attempting to add SwiftPM tests only for the newest version of Siesta, but preserve the existing Xcode-only config for older versions. Is this PR the proper way to accomplish that?

Siesta has been in the compatibility suite since the suite’s earliest days, as an Xcode-only project.
Siesta’s test suite depends on Quick and Nimble. When building as an Xcode project, Carthage manages those dependences, and swift-source-compat-suite thus can’t run the tests. However, at long last, I got Siesta working with SwiftPM (yay!), and now swift-source-compat-suite is capable of running Siesta’s tests via SwiftPM.
There is value in adding those tests to your suite, I think: there are some quirks in them you probably want in your regression tests. (In fact, as of last week, Siesta’s tests exposed a regression in the current dev snapshot.)
BUT only the very latest release of Siesta supports SwiftPM. I thus want to configure BuildSwiftPackage and TestSwiftPackage only for the latest releases, while still having the older ones run Xcode-only. My solution (in this PR) is to list Siesta twice with two different paths pointing at the same GitHub repo:

one (already in the compat suite) configured to build only with Xcode, and pointing at both new & old versions of Siesta, and
one (added in this PR) configured to build only with SwiftPM, and pointing only at the newer version of Siesta.

Does that make sense? Is there a better way?

Yes, I think it does make sense to have a separate entry in this case. Thinking ahead a bit, if there's ever a configuration that supports both Xcode/SwiftPM builds, it would be nice to combine them.

@swift-ci test

Thinking ahead a bit, if there's ever a configuration that supports both Xcode/SwiftPM builds, it would be nice to combine them.

All Siesta release from here out support both. I just didn’t want to lose the 4.0 (and older 5.1 commit) from the suite. If you ever drop pre-5.1 from the suite, they could merge again.

Oh cool, in that case I'd suggest that we do something like...
path: siesta-legacy

4.0
Xcode project actions

path: siesta

5.1
Xcode project actions
swiftpm action

I think this setup would make it easier to add new configurations, as well as clean up older configs if/when they need to be cleaned up.

Fair enough! I’ll get that pushed as soon as I can find 5 min to test locally….

@swift-ci test

Done. LMK if that works.

@swift-ci test

Thanks @pcantrell!

Thanks likewise for maintaining this suite!


Warning 'h2' tag

Is there any way in order to avoid this warning?
Thanks

Hi @will88!
Are you using default styles?

Hi,
Nope, I'm using a customised style

Try change zero values in your styles to: '0px'.

Yeah it worked!
Thanks


Set the initial worker count for the RDE beam pipeline at 24

This likely will speed up the pipeline by skipping the initially slow
process of spinning up instances.

This change is

Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @jianglai and @weiminyu)

core/src/main/resources/google/registry/beam/rde_pipeline_metadata.json, line 62 at r1 (raw file):

    },
    {
      "name": "numWorkers",

We shouldn't have to add this parameter to the metadata file. This is a builtin parameter in Dataflow.
Did you run into problem without it?
Code quote:
numWorkers

The similar workerMachineType (above this one) also is included in the metadata file. I suspect any parameter to the pipeline needs to be explicitly specified here, builtin or not.


[Packaging][Ubuntu] Drop support for Ubuntu 21.04

It reached EOL at 2022-01.

@github-actions crossbow submit ubuntu-*

There are also some references to 21.04 in dev/tasks/tasks.yml, should be bump them to 21.10?
Also, there's ci/docker/ubuntu-21.04-cpp.dockerfile.


Fix media query in

The db-mainnavigation component hides itself on small viewports.
Reproducible in Storybook

@mfranzke Is this bug related to https://github.com/db-ui/elements/issues/398?


Run Basecoin on Docker

Hello,
I tried to run basecoin with Docker.
After pulling the images, the initialization is successful. but  docker run -it --rm -v  "/home/andlinks/docs/basecoin:/basecoin" tendermint/basecoin
only showsloading existing db I[08-30|11:13:09.293] Done setting Account via SetOption           module=app result=Success I[08-30|11:13:09.293] Starting Basecoin with Tendermint            module=main chain_id=test_chain_id
then there was no more output.
I wish there could be more instructions on how to use this image to run basecli commands properly.
Thx

@Andlinks-Yourturn this repo is here largely for legacy purposes. Please see https://github.com/cosmos/cosmos-sdk ... there is work going on in unstable branches. We have docs forthcoming in this area; http://cosmos-sdk.readthedocs.io


Debugging snakemake in PyCharm not working

Hi all,
I'm trying to debug my snakemake script with Pycharm. Therefore I set up the following run configuration:

snakemake --debug -j1
However, as soon as the script starts a job, it can't be stopped by the PyCharm debugger.
Is there a fix to this problem? Thanks in advance
Best, Nils

Snakemake's --debug is not meant to work in combination with a debugger like the one in PyCharm. It is just a mode for running single threaded such that you can avoid concurrent output during manually setting the pdb debugger.


Feature/profile redesign menues

New option for navigating the section on the profile page using sectionView state instead of tabs
Created wrappers for the mobile (top nav) and desktop (side nav) version. Both are being displayed using a ternary operator that checks if the screen is mobile or not window.width <= parseInt(mq.phone.wide.maxWidth)
the menu onClick function takes in the value of the click and updates the sectionView state based off what you clicked on, this state will be used to hide/show your components
The mobile nav can probably stay where it is, but we will want to position the desktop wrapper once we are building the desktop view of things, ie we probably need a sidebar for it

@clubkemp The build link for testing is giving a 404 error. Can you please check and give me the link to review. Thanks!

@clubkemp The build link for testing is giving a 404 error. Can you please check and give me the link to review. Thanks!
https://featureprofile-redesign-menues.fightpandemics.xyz.

@SinghRomika, I was merging that with profile branch and it deletes the branch after merging. thus the error.

@aditi thanks for sharing the link will review it!


Use same method to manage tags in display and paste

⚠  I think the priority is inversed compared to the one described in README

We need to check this issue in another way


Release 164.0.0

Explanation
Releases notification-services-controller from 0.0.0 to 0.1.0.
References
N/A
Changelog
@metamask/notification-services-controller

ADDED: Initial Release of Notification Services Controller; Notification Services Push Controller.

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@metamaskbot publish-preview


super reference in private method throws

Bug Report
🔎 Search Terms
private, super
🕗 Version & Regression Information
v4.3.2, also tested with nightly in playground
works with ESNext setting (which just strips out the types), Babel, V8
⏯ Playground Link
https://www.typescriptlang.org/play?ts=4.3.2#code/MYGwhgzhAECC3QN4CgEIC4FMLoBQEolU0SAnTdAV1IDtoByLHe4hAX2Q+VEhgCFomAB5YaAExjwUJAMQAzAPYKCREmQrU6ESgAdMpAHRM8+VtC4kARmFIrpahOSq1o6ABYBLCAflKCZji5gBRocaEtoAF5oGkwAd2g+AgNrW1NuEIgFEEwDEAUAc1xLfCA
💻 Code
class A  {
    test() {
        return 'test'
    }
}

class B extends A {
    #foo() {
        return super.test()
    }

    bar() {
        return this.#foo()
    }
}

const b = new B().bar()

console.log(b)

// [ERR]: "Executed JavaScript Failed:"
// [ERR]: 'super' keyword unexpected here

🙁 Actual behavior
throws error
🙂 Expected behavior
prints 'test'

Private class fields and methods were introduced in ES2022 so changing the target to ES2022 in tsconfig.json should resolve the issue.

It also seems to be working with target set to ES2022. I am guessing it's like that because private class fields and methods were actually introduced only in ES2022.

It also seems to be working with target set to ES2022.

It also seems to be working with target set to ES2022.

because there is no down leveling, just the types are being removed.


OLINGO-1357 use s map to cache EdmPrimitiveTypeKind values for lookup

This PR contains a fix for the expensive construction of EdmTypeInfo as described in https://issues.apache.org/jira/browse/OLINGO-1357.

@DirkMahler Thanks for improvement and your contribution 👍


Correct misspelling in XML comments for TokenValidationParameters.ValidateAudience

{PR title}

[ x] You've read the Contributor Guide and Code of Conduct.
[ ] You've included unit or integration tests for your change, where applicable.
[ ] You've included inline docs for your change, where applicable.
[ ] If any gains or losses in performance are possible, you've included benchmarks for your changes. More info
[ x] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)
Description
Fixes misspelling in TokenValidationParameters.ValidateAudience XML comments
Fixes #2385

Thanks @scottschluer


feat: better reference tracking

Declare model associations (references) in schema
Resolve and cache references
Auto-create reference getters
Fix schema attribute validation

Opened https://github.com/tywalch/electrodb/issues/449 to improve validation vs required check.


feat: use tsup instead tsc for single file dist

This PR continues #8, as this might be an opinion choice, just raising this as an option. If you like it, you might take this and close #8.
tsup allows to bundle the package and generate dts within single file. You can find more on it's doc.

Hey @antfu, thanks for sending the PR. I'm out of town for next 2 days and will have a look at these when I get back (including your other 2 pull requests)
Cheers.

I have an alternate proposal, quite the opposite in fact, please join the discussion over at #11. We can decide the fate of this PR, and #8, once we have some consensus.


No Internet if OpenServer is connected to ethernet

Issue
Hello as my description says i loose internet (in some computers) if my OpenVPN Server is online. I created a Raspberry Pi with the Server and if i disconnect the Ethernet cable from the Raspberry the internet is Ok. If i connect the cable back two computers loose internet completely. I checked IPs on the network they are ok. The only thing i did different this time was when i configured the Open VPN Server it asked me if i wanted to use my Public IP or a DNS i choose DNS and used the dyndns.org that i have. If anyone can help me i would be greatly appreciated. Thank you
PS No Computers is connected to the VPN (inside or out of the network)

@orien2k what a Weird issue you have here! xD
First, provide us all the information we request on the PiVPN Issue template.
Second, when the pi is connected to the network, can you check if you are able to ping <IP_ADDRESS> on the devices that lose internet access?

Closing as no answer was given...


v3: Proposal: helm env to show XDG info

With the use of XDG directories for helm configuration, it has become difficult to find and automate where helm data can be found.  See https://github.com/helm/helm-www/issues/336 for a concrete example where I believe the user may find themselves at a loss.
Point 1:
I suggest extending helm env to provide the location of the current XDG paths in a machine consumable fashion.  Concretely I propose to add a --show (or some other name) flag to helm env like so:
$ helm env --show <cache|config|data>

which would print the corresponding path.
On Linux for example:
$ helm env --show data
 /home/marckhouzam/.local/share/helm

This would allow to tell users to do such things as:
cp ./myStarter $(helm env --show data)/starters

which to my knowledge has no other good alternative right now.
Point 2:
We could also have helm env return all 3 XDG paths in its output like so:
$ helm3 env
HELM_NAMESPACE="default"
[...]
XDG_CACHE_HOME="/Users/marckhouzam/Library/Caches"
XDG_CONFIG_HOME="/Users/marckhouzam/Library/Preferences"
XDG_DATA_HOME="/Users/marckhouzam/Library"

Note that just to be able to write the proper paths above I had to run helm -h and look at the default XDG locations.  This is another example that shows the issue that this proposal aims to address.
I can work on a PR if maintainers agree they find value.

Thinking about this some more, I believe that plugins must also suffer from this 'limitation'.  How would a plugin know where to find helm data if the XDG variables are not set in the shell? I guess it would need to figure out the default values itself, based on the current OS.  I think we should improve that.
I see that listing the XDG paths in helm env was actually part of the original helm env PR: https://github.com/helm/helm/pull/6244 (/cc @waveywaves )
However, it was purposely removed by https://github.com/helm/helm/pull/6362.
From the title of the PR, it makes sense to me that we don't want to "override users xdg directories".  However, I think it is because there was a bug in how 'helm env' would set these variables originally, where it would include the '/helm' suffix in the XDG vars, which is not correct.
I think if we strip that suffix, it would be safe to set the XDG vars in helm env.
/cc @adamreese

Thinking about this some more, I believe that plugins must also suffer from this 'limitation'. How would a plugin know where to find helm data if the XDG variables are not set in the shell?

If the environment variable is not present, then they can just look up the default XDG filepaths as per the spec. pkg/helmpath can help in this regard, assuming the plugin is written in Go.

Thinking about this some more, I believe that plugins must also suffer from this 'limitation'. How would a plugin know where to find helm data if the XDG variables are not set in the shell?

If the environment variable is not present, then they can just look up the default XDG filepaths as per the spec. pkg/helmpath can help in this regard, assuming the plugin is written in Go.

You're right, so they are not stuck.  Plugins in bash would need to hard-coded these paths for now.

Thinking about this some more, I believe that plugins must also suffer from this 'limitation'. How would a plugin know where to find helm data if the XDG variables are not set in the shell?

Plugins will get it from the environment: https://github.com/helm/helm/blob/6a98d1f1d209c7a96a0df250e05070a9932e089f/pkg/cli/environment.go#L98-L100

That's just for OCI configuration, and that can be managed separately with the --registry-config, --registry-cache settings. It doesn't include information about the data, cache or configuration directories which are used by the rest of the system.

@marckhouzam is this completely resolved like https://github.com/helm/helm/issues/8635 by https://github.com/helm/helm/pull/8638? Or is there more to be done on this issue?

Thanks for bringing this up @bridgetkromhout, I would have forgotten.
This is all resolved nicely.


MultiGPU errors

Thanks for the great repo and the congrats on the amazing paper!
Training is working fine for me with 1 GPU but I'm getting mysterious errors with >1 GPU. I'm not sure how to fix these. I'm using your recommended conda environment with  CUDA 11.3 . When running the pokemon expt with 2 GPUs I get the following std out:
Distributing across 2 GPUs...
Setting up training phases...
Exporting sample images...
Traceback (most recent call last):
  File "/home/ed/Documents/repos/projected_gan/train.py", line 266, in <module>
    main() # pylint: disable=no-value-for-parameter
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/home/ed/Documents/repos/projected_gan/train.py", line 252, in main
    launch_training(c=c, desc=desc, outdir=opts.outdir, dry_run=opts.dry_run)
  File "/home/ed/Documents/repos/projected_gan/train.py", line 103, in launch_training
    torch.multiprocessing.spawn(fn=subprocess_fn, args=(c, temp_dir), nprocs=c.num_gpus)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
    while not context.join():
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 130, in join
    raise ProcessExitedException(
torch.multiprocessing.spawn.ProcessExitedException: process 1 terminated with signal SIGABRT

And the following error out:
terminate called after throwing an instance of 'c10::CUDAError'
  what():  CUDA error: the launch timed out and was terminated
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Exception raised from create_event_internal at ../c10/cuda/CUDACachingAllocator.cpp:1211 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x42 (0x7fe48196fd62 in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libc10.so)
frame #1: <unknown function> + 0x1c4d3 (0x7fe481bd24d3 in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libc10_cuda.so)
frame #2: c10::cuda::CUDACachingAllocator::raw_delete(void*) + 0x1a2 (0x7fe481bd2ee2 in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libc10_cuda.so)
frame #3: c10::TensorImpl::release_resources() + 0xa4 (0x7fe481959314 in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libc10.so)
frame #4: std::vector<at::Tensor, std::allocator<at::Tensor> >::~vector() + 0x4a (0x7fe4de77a80a in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libtorch_python.so)
frame #5: c10d::ProcessGroupNCCL::barrier(c10d::BarrierOptions const&) + 0x9c6 (0x7fe4850be296 in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libtorch_cuda.so)
frame #6: <unknown function> + 0xe86443 (0x7fe4def1a443 in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libtorch_python.so)
frame #7: <unknown function> + 0x2a544b (0x7fe4de33944b in /home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/lib/libtorch_python.so)
frame #8: <unknown function> + 0x15ff85 (0x55cf0df03f85 in /home/ed/.conda/envs/pg/bin/python)
frame #9: _PyObject_MakeTpCall + 0x316 (0x55cf0deea986 in /home/ed/.conda/envs/pg/bin/python)
frame #10: <unknown function> + 0x1a225a (0x55cf0df4625a in /home/ed/.conda/envs/pg/bin/python)
frame #11: _PyEval_EvalFrameDefault + 0x11e1 (0x55cf0df85141 in /home/ed/.conda/envs/pg/bin/python)
frame #12: <unknown function> + 0x259205 (0x55cf0dffd205 in /home/ed/.conda/envs/pg/bin/python)
frame #13: _PyEval_EvalFrameDefault + 0x4c92 (0x55cf0df88bf2 in /home/ed/.conda/envs/pg/bin/python)
frame #14: <unknown function> + 0x139c70 (0x55cf0deddc70 in /home/ed/.conda/envs/pg/bin/python)
frame #15: _PyFunction_Vectorcall + 0x336 (0x55cf0df45596 in /home/ed/.conda/envs/pg/bin/python)
frame #16: _PyObject_Call + 0xb5 (0x55cf0df04335 in /home/ed/.conda/envs/pg/bin/python)
frame #17: _PyEval_EvalFrameDefault + 0x2d69 (0x55cf0df86cc9 in /home/ed/.conda/envs/pg/bin/python)
frame #18: _PyFunction_Vectorcall + 0x19a (0x55cf0df453fa in /home/ed/.conda/envs/pg/bin/python)
frame #19: _PyObject_Call + 0x10b (0x55cf0df0438b in /home/ed/.conda/envs/pg/bin/python)
frame #20: _PyEval_EvalFrameDefault + 0x2d69 (0x55cf0df86cc9 in /home/ed/.conda/envs/pg/bin/python)
frame #21: _PyFunction_Vectorcall + 0x19a (0x55cf0df453fa in /home/ed/.conda/envs/pg/bin/python)
frame #22: _PyObject_Call + 0x10b (0x55cf0df0438b in /home/ed/.conda/envs/pg/bin/python)
frame #23: _PyEval_EvalFrameDefault + 0x2d69 (0x55cf0df86cc9 in /home/ed/.conda/envs/pg/bin/python)
frame #24: _PyFunction_Vectorcall + 0x19a (0x55cf0df453fa in /home/ed/.conda/envs/pg/bin/python)
frame #25: _PyEval_EvalFrameDefault + 0x609 (0x55cf0df84569 in /home/ed/.conda/envs/pg/bin/python)
frame #26: <unknown function> + 0x139430 (0x55cf0dedd430 in /home/ed/.conda/envs/pg/bin/python)
frame #27: _PyFunction_Vectorcall + 0x336 (0x55cf0df45596 in /home/ed/.conda/envs/pg/bin/python)
frame #28: _PyEval_EvalFrameDefault + 0x609 (0x55cf0df84569 in /home/ed/.conda/envs/pg/bin/python)
frame #29: _PyFunction_Vectorcall + 0x19a (0x55cf0df453fa in /home/ed/.conda/envs/pg/bin/python)
frame #30: _PyEval_EvalFrameDefault + 0x3bc (0x55cf0df8431c in /home/ed/.conda/envs/pg/bin/python)
frame #31: <unknown function> + 0x139430 (0x55cf0dedd430 in /home/ed/.conda/envs/pg/bin/python)
frame #32: _PyFunction_Vectorcall + 0x336 (0x55cf0df45596 in /home/ed/.conda/envs/pg/bin/python)
frame #33: _PyEval_EvalFrameDefault + 0x11e1 (0x55cf0df85141 in /home/ed/.conda/envs/pg/bin/python)
frame #34: <unknown function> + 0x139430 (0x55cf0dedd430 in /home/ed/.conda/envs/pg/bin/python)
frame #35: _PyEval_EvalCodeWithName + 0x47 (0x55cf0dfc3517 in /home/ed/.conda/envs/pg/bin/python)
frame #36: PyEval_EvalCodeEx + 0x39 (0x55cf0dfc3559 in /home/ed/.conda/envs/pg/bin/python)
frame #37: PyEval_EvalCode + 0x1b (0x55cf0dfc357b in /home/ed/.conda/envs/pg/bin/python)
frame #38: <unknown function> + 0x251ec9 (0x55cf0dff5ec9 in /home/ed/.conda/envs/pg/bin/python)
frame #39: <unknown function> + 0x28cc04 (0x55cf0e030c04 in /home/ed/.conda/envs/pg/bin/python)
frame #40: PyRun_StringFlags + 0x9d (0x55cf0e03702d in /home/ed/.conda/envs/pg/bin/python)
frame #41: PyRun_SimpleStringFlags + 0x3d (0x55cf0e03708d in /home/ed/.conda/envs/pg/bin/python)
frame #42: Py_RunMain + 0x25c (0x55cf0e03730c in /home/ed/.conda/envs/pg/bin/python)
frame #43: Py_BytesMain + 0x39 (0x55cf0e037599 in /home/ed/.conda/envs/pg/bin/python)
frame #44: __libc_start_main + 0xd5 (0x7fe4e0fceb25 in /usr/lib/libc.so.6)
frame #45: <unknown function> + 0x20c6b1 (0x55cf0dfb06b1 in /home/ed/.conda/envs/pg/bin/python)

/home/ed/.conda/envs/pg/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 34 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Any ideas on how to fix this?

As the error output shows, the launch timed out.
CUDA error: the launch timed out and was terminated
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

The error arises here, with an exception being raised as expected in the comment:
    # Loop on join until it returns True or raises an exception.
    while not context.join():
        pass

in this function:
https://github.com/pytorch/pytorch/blob/60632a00fe6212159164d92ad69766925ab15c97/torch/multiprocessing/spawn.py#L170-L199

The code works with 1 GPU for each GPU! When running with 2 GPUs after passing CUDA_LAUNCH_BLOCKING=1, the std out became this:
Distributing across 2 GPUs...
Setting up training phases...
Exporting sample images...
Traceback (most recent call last):
  File "/home/ed/Documents/repos/projected_gan/train.py", line 266, in <module>
    main() # pylint: disable=no-value-for-parameter
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/home/ed/Documents/repos/projected_gan/train.py", line 252, in main
    launch_training(c=c, desc=desc, outdir=opts.outdir, dry_run=opts.dry_run)
  File "/home/ed/Documents/repos/projected_gan/train.py", line 103, in launch_training
    torch.multiprocessing.spawn(fn=subprocess_fn, args=(c, temp_dir), nprocs=c.num_gpus)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
    while not context.join():
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 150, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 1 terminated with the following error:
Traceback (most recent call last):
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
    fn(i, *args)
  File "/home/ed/Documents/repos/projected_gan/train.py", line 47, in subprocess_fn
    training_loop.training_loop(rank=rank, **c)
  File "/home/ed/Documents/repos/projected_gan/training/training_loop.py", line 258, in training_loop
    torch.distributed.broadcast(__CUR_NIMG__, 0)
  File "/home/ed/.conda/envs/pg/lib/python3.9/site-packages/torch/distributed/distributed_c10d.py", line 1159, in broadcast
    work = default_pg.broadcast([tensor], opts)
RuntimeError: NCCL error in: ../torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:45, unhandled cuda error, NCCL version 21.0.3
ncclUnhandledCudaError: Call to CUDA function failed.

We would need expertise of Axel there.
Maybe relevant:

https://github.com/NVIDIA/nccl/issues/141
https://github.com/pytorch/pytorch/issues/9163

hey :) i am pretty busy right now, so I am slow to respond currently. This seems to an issue unrelated to the PG codebase and more of a problem with your GPU/cuda setup. Do you have issues running the stylegan3 codebase (https://github.com/NVlabs/stylegan3)?

I'm getting similar errors when trying to run Stylegan3 training. I'll raise an issue on that repo!

OK I seem to have resolved this now. It seems the problem was caused by having an X session running during training. I hadn't realised this doesn't work! For some reason, training other models on all gpus with pytorch lightning while running an X session was fine. Hope someone else who has this problem comes across this issue!


Update from Upstream

Please read the Pull Request Checklist to ensure you have everything that is needed to get your contribution merged.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/public/js/frappe/model/indicator.js  1
- frappe/utils/pdf.py  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  4

See the complete overview on Codacy

Pull Request Test Coverage Report for Build 706

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build 704:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

Pull Request Test Coverage Report for Build 706

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build 704:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  4
- frappe/public/js/frappe/model/indicator.js  1
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/utils/pdf.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/public/js/frappe/model/indicator.js  1
- frappe/utils/pdf.py  1
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  4

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  4
- frappe/utils/pdf.py  1
- frappe/public/js/frappe/model/indicator.js  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/utils/pdf.py  1
- frappe/public/js/frappe/model/indicator.js  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/utils/pdf.py  1
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1
- frappe/public/js/frappe/model/indicator.js  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/public/js/frappe/model/indicator.js  1
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/utils/pdf.py  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/public/js/frappe/model/indicator.js  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1
- frappe/utils/pdf.py  1

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/utils/pdf.py  1
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/public/js/frappe/model/indicator.js  1

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/utils/pdf.py  1
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6
- frappe/public/js/frappe/model/indicator.js  1

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/utils/pdf.py  1
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6
- frappe/public/js/frappe/model/indicator.js  1
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4

Complexity increasing per file
==============================
- frappe/utils/pdf.py  1
- frappe/patches/v11_0/make_all_prepared_report_attachments_private.py  6
- frappe/desk/doctype/calendar_view/test_calendar_view.py  1
- frappe/email/doctype/auto_email_report/auto_email_report.js  1
- frappe/public/js/frappe/model/indicator.js  1

Complexity decreasing per file
==============================
+ frappe/utils/formatters.py  -2

See the complete overview on Codacy


Supercript feature in fulltext

Add a feature in the full text model indicating if the token is a superscript.
Motivation: better learning of citation callout expressed as superscript.
Evaluated on 139,835 citation contexts and it improves the citation context resolution as follow:
from
Precision citation contexts:     81.36
Recall citation contexts:        68.73
fscore citation contexts:        74.51

to
Precision citation contexts:     81.45
Recall citation contexts:        69.58
fscore citation contexts:        75.05

Note: due to some obscure reasons, I mixed this PR with PR #572, so it will have to be merged after PR #572.

Coverage decreased (-0.08%) to 37.93% when pulling d6d6a8f79941e12dfadfb57f80dc36d0e5ca8cbb on supercript-feature-in-fulltext into 206583af95cdbc0080e20819ba204673bed83fc9 on master.


Unable to access library after integrate install and/or integrate project in Visual Studio / Win10

Describe the bug
Visual Studio reports "cannot open source file "zmq.hpp"
Environment

OS:
Edition	Windows 10 Home, Version 20H2, Installed on 6/11/2020,  OS build 19042.870
Experience Windows Feature Experience Pack 120.2212.551.0
Processor	Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz   3.40 GHz  Installed RAM	32.0 GB
System type	64-bit operating system, x64-based processor
Visual Studio Community 2019, Version 16.9.1
Visual C++ 2019 -- 00435-60000-00000-AA449

VCPKG installed via:
$ git clone https://github.com/microsoft/vcpkg
 .\vcpkg\bootstrap-vcpkg.bat
.\vcpkg\vcpkg install cppzmq
.\vcpkg\vcpkg integrate install
Note: I installed VCPKG on my M drive.  VCPKG is installed no where else on this computer (typically I use virtual machines.. not this time...)  Operating system located on C drive..
Install reports success:
The package cppzmq:x86-windows provides CMake targets:
     find_package(cppzmq CONFIG REQUIRED)
     target_link_libraries(main PRIVATE cppzmq cppzmq-static)

Integrate Install also successful:
    PS M:\> .\vcpkg\vcpkg integrate install
    Applied user-wide integration for this vcpkg root.
      All MSBuild C++ projects can now #include any installed libraries.
      Linking will be handled automatically.
      Installing new libraries will make them instantly available.

I can see that both CPPZMQ and its base ZEROMQ are successfully installed.  I can search VCPKG folder and see the .h files my program can't find.
PS M:\vcpkg> ./vcpkg list
cppzmq:x86-windows                                 4.7.1#1          lightweight messaging kernel, C++ bindings
zeromq:x86-windows                                 2019-09-20#2     The ZeroMQ lightweight messaging kernel is a lib...
After an initial search I discovered this posting,  I attempted to use $ ./vcpkg integrate project  From what I can see that was successful, too.
    PS M:\vcpkg> `./vcpkg integrate project`
    `Created nupkg: M:\vcpkg\scripts\buildsystems\vcpkg.M.vcpkg.1.0.0.nupkg`

    `With a project open, go to Tools->NuGet Package Manager->Package Manager Console and paste:`
        `Install-Package vcpkg.M.vcpkg -Source "M:\vcpkg\scripts\buildsystems"`

    `Package Manager Console Host Version <IP_ADDRESS>34`

    PM> `Install-Package vcpkg.M.vcpkg -Source "M:\vcpkg\scripts\buildsystems"`
    Attempting to gather dependency information for package 'vcpkg.M.vcpkg.1.0.0' with respect to project
    'Games\FactoryEnvCollect', targeting 'native,Version=v0.0'
    Gathering dependency information took 310 ms
    Attempting to resolve dependencies for package 'vcpkg.M.vcpkg.1.0.0' with DependencyBehavior 'Lowest'
    Resolving dependency information took 0 ms
    Resolving actions to install package 'vcpkg.M.vcpkg.1.0.0'
    Resolved actions to install package 'vcpkg.M.vcpkg.1.0.0'
    Retrieving package 'vcpkg.M.vcpkg 1.0.0' from 'M:\vcpkg\scripts\buildsystems'.
    Adding package 'vcpkg.M.vcpkg.1.0.0' to folder 'M:\FactoryEnvCollect\packages'
    Added package 'vcpkg.M.vcpkg.1.0.0' to folder 'M:\FactoryEnvCollect\packages'
    Added package 'vcpkg.M.vcpkg.1.0.0' to 'packages.config'
    Successfully installed 'vcpkg.M.vcpkg 1.0.0' to FactoryEnvCollect
    Executing nuget actions took 1.83 sec
    Time Elapsed: 00:00:02.4203787
    PM>

To Reproduce
Steps to reproduce the behavior:
See above.  Everything looks right.  I can see the packages.config file within my project.
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="vcpkg.M.vcpkg" version="1.0.0" targetFramework="native" />
</packages>

Failure logs
Everything looks good, but it just doesn't work.    Compiler shows "fatal error C1083: Cannot open include file 'zmaq.hpp': No such file or directory.  Sigh.
Is there a better way to point my project at the packages within vcpkg?  (Note, I've never touched NuGet package manager before.. I need to study up a bit on that...)

oops.  I can't believe the default install on a 64 bit windows box installed the 32 bit windows library.  Big ouch.  It's certainly okay to have off standard behavior AS LONG AS YOU TELL US THAT IN THE INSTRUCTIONS.
Can we update the readme.md at https://github.com/microsoft/vcpkg ?

https://github.com/microsoft/vcpkg/blob/master/README.md
https://github.com/microsoft/vcpkg/blob/master/README_es.md
https://github.com/microsoft/vcpkg/blob/master/README_fr.md
https://github.com/microsoft/vcpkg/blob/master/README_ko_KR.md
https://github.com/microsoft/vcpkg/blob/master/README_zh_CN.md

and add the following lines (or whatever makes sense) to the Windows quickstart paragraph:
Please note, Windows 64bit (x64) may not be the default package used when installing packages.  You may discover that the Windows 32bit (x86) version is installed.  Please verify that you have the correct intended package installed.  Note:  If you want to install a particular library you would do so via:
vcpkg install  myDesiredCppPackage:x64-windows      or    vcpkg install myDesiredCppPackage:x86-windows
You may also override the default via the system environment variable VCPKG_DEFAULT_TRIPLET=x64-windows (Go to control panel -> system -> environment variables )
And can we not close this issue UNTIL the README's are improved?  many thanks.

One note:  With the fix mentioned above, I was able to preclude visible errors within Visual Studio  (i.e. the program was able to find the XXX.hpp file, no more squiggley red error lines.)    It turns out I was still unable to compile with the library, but that one is on me.  Apparently for C++ Unreal Game Engine programming, you are only able to use third party libraries via their own plugin system.  See reference.  Info offered here in case others hit this pothole.

Can we please consider changing the default for 64 bit windows to be 64 bit? Is there an issue someone can link to explaining the rationale? I'd be open to creating a PR that at the very minimum lets the user change the result, but my terminal is filled with C-c's followed immediately by remove [pkg] and install [pkg]:x64-windows

@zipzit  /cc: @jeremyong @ras0219-msft @BillyONeal
Reference https://github.com/microsoft/vcpkg/issues/53#issuecomment-249276675 and other comments in #1254

From my understanding (@ras0219 @BillyONeal can chime in and correct me if I am wrong) vcpkg defaults to x86-windows for windows to streamline the customer experience as it relates to Visual Studio as it also defaults to x86 on windows when creating a new project.
I myself agree it should default to x86 on 32-bit windows and x64 on 64-bit windows, but we would need to have the Visual Studio team make the same change to maintain the customer experience.
I set the default triplet using one or more of the provided methods:

set the environment variable VCPKG_DEFAULT_TRIPLET
from command prompt set VCPKG_DEFAULT_TRIPLET=x64-windows
from powershell prompt ${env:VCPKG_DEFAULT_TRIPLET} = "x64-windows"
add --triplet x64-windows to the command line
Example: \.vcpkg.exe install boost[core,mpi] --triplet x64-windows
concatenate  :x64-windows after the port[features]
Example: .\vcpkg.exe install boost[core,mpi]:x64-windows

I myself have also created a series of powershell scripts using powershell core to maintain the various instances of vcpkg being used, triplet type needed, production or test environment, version of C/C++ ie Visual Studio, sets the various other vcpkg environment variables and or directory paths, etc.

I'm (now) totally aware of the issue, but that does not begin to address my humble proposed interim fix.    Update the frigging readme file, particularly for the quickstart paragraph.  I get that code changes take time and argument and design and propogation and testing.  In the meantime, update the written instructions.
If you can't find translators for each of the languages provided, we understand that.  Write the doggone recommendations in English on each document and ask for help.  Folks, this is open source time.  Move this along.  No excuses for easy fixes that at least get users productive again.
Recommended additions at the bottom of the text I mentioned above...
translation help required here! Can you help us with a pull request?  Many thanks    Don't delay.

Reference https://github.com/microsoft/vcpkg/blob/master/docs/users/triplets.md#additional-remarks
Unfortunately everyone who runs across an issue where there is existing documentation for their issue in the multitude rtm pages thinks the issue they had should be moved to be up front in the initial readme pages.
[vcpkg-root]\docs contains a plethora of information, if I cannot find it within then I do a search of google with keywords vcpkg blob <search terms> helps me find what I am looking for about 95% of the time.
Example: vcpkg blob "default" "triplet" yields a page with the first listing the complete page containing the link mentioned above.

@zipzit, does the issue still repro when you installed the port with x64-windows?

Check my comments above.  No, the package seems to be working in that my intellisense no longer reports a missing header file.  In my case, I'm using Unreal Game Engine and they have some sort of block in place from users adding any third party libraries.  This has to do with the plugin design system that controls the entire engine.  You have to add the libraries back in carefully organized plugins.  So from what I can see, when installed as 64 bit on a Win64 bit machine everything from the VCPKG side is good.

@zipzit, the PR has been merged, the notes has been added to Quick Start, so close this issue now.


Certbot is already running

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

No

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug

log：Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-45" --agree-tos --email<EMAIL_ADDRESS>--domains "*.yydy.link,yydy.link" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-45"
Another instance of Certbot is already running.
Ask for help or search for solutions at https://community.letsencrypt.org/. See the logfile /tmp/certbot-log-0_tp1hz3/log or re-run Certbot with -v for more details.
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
Nginx Proxy Manager Version

jc21/nginx-proxy-manager                 latest    219fa0ba0547   2 months ago    843MB
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Operating System

docker
Additional context

Dupe of several other bugs, e.g.
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2881


flutter attach crashes on iOS

command
flutter attach
exception
NoSuchMethodError: NoSuchMethodError: The getter 'port' was called on null.
Receiver: null
Tried calling: port
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
#1      AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:219:78)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:559:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1132:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#9      Future._complete (dart:async/future_impl.dart:473:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#12     _rootRun (dart:async/zone.dart:1124:13)
#13     _CustomZone.run (dart:async/zone.dart:1021:19)
#14     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel beta, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale zh-Hans-CN)
    • Flutter version 1.5.4-hotfix.2 at /Users/mac/Development/flutter_master
    • Framework revision 7a4c33425d (7 days ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[!] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.31.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.25.1

[✓] Connected device (2 available)
    • iPhone Xs • 48A89E82-FD4D-4B65-8692-BBDB0520F01E • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
    • iPhone Xʀ • 0E27C4F1-726B-4263-9F85-09CFE04D8C4B • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

! Doctor found issues in 1 category.

after the Dart upgrade(Maybe),I have the same problem
Flutter crash report;
command
flutter attach -d BEBDED2C-8B07-4D2C-9CC0-1008F491B6C4
exception
NoSuchMethodError: NoSuchMethodError: The getter 'port' was called on null.
Receiver: null
Tried calling: port
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
#1      AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:219:78)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:559:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1132:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#9      Future._complete (dart:async/future_impl.dart:473:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#12     _rootRun (dart:async/zone.dart:1124:13)
#13     _CustomZone.run (dart:async/zone.dart:1021:19)
#14     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale en-HK)
    • Flutter version 1.5.4-hotfix.2 at /Users/zhangyang/Desktop/SourceCode/flutter
    • Framework revision 7a4c33425d (8 天前), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/zhangyang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/zhangyang/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/zhangyang/Library/Android/sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[✓] VS Code (version 1.33.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.0.0

[✓] Connected device (1 available)
    • iPhone Xs Max • BEBDED2C-8B07-4D2C-9CC0-1008F491B6C4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

! Doctor found issues in 1 category.

well, switch flutter to master channel and upgrade, can fix it.
in your flutter SDK folder
$ flutter channel master
$ flutter upgrade

well, switch flutter to master channel and upgrade, can fix it.
in your flutter SDK folder
$ flutter channel master
$ flutter upgrade

I have the  same question,and I switch to master channel and upgrade,but it can not work.

well, switch flutter to master channel and upgrade, can fix it.
in your flutter SDK folder
$ flutter channel master
$ flutter upgrade

I have the same question,and I switch to master channel and upgrade,but it can not work.

Switch to stable channel is work.

well, switch flutter to master channel and upgrade, can fix it.
in your flutter SDK folder
$ flutter channel master
$ flutter upgrade

I have the same question,and I switch to master channel and upgrade,but it can not work.

Switch to stable channel is work.

I tried all the channels, but all had the same question.

I had issues on stable channel, but I just tried that on 'dev' channel and it's working fine there:
Flutter (Channel dev, v1.6.0, on Mac OS X 10.14.4 18E226, locale en-PL)

I have the same question on Flutter version 1.5.4-hotfix.2

Hello @YoungJam !
Does the problem still persist in the latest stable version?

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.

flutter attach works okay on the stable channel, v1.9.1+hotfix.6. However, as of the moment, not working on the latest master channel.
Here's the error.
NoSuchMethodError: NoSuchMethodError: The getter 'path' was called on null.
Receiver: null
Tried calling: path

Hope it helps.

Hi @joshuadeguzman
could you please provide your updated  flutter doctor -v
and your flutter run --verbose ?
Also, to better address the issue, would be helpful
if you could post a minimal code sample to reproduce the problem
Thank you

Hi @iapicca,
Thanks for the quick response.
This is the exact codebase I'm trying to run on the master channel via flutter attach.
https://github.com/joshuadeguzman/devfest-flutter-to-native
Switching to the latest stable channel introduced this error:
23465

Hi, do we have any updates on this?


fix to #965

fix to #965

Tests have failed due to
Traceback (most recent call last):
  File "/opt/python/3.6.7/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/python/3.6.7/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/travis/build/Parsely/pykafka/pykafka/test/kafka_instance.py", line 570, in <module>
    bin_dir=args.download_dir)
  File "/home/travis/build/Parsely/pykafka/pykafka/test/kafka_instance.py", line 166, in __init__
    ManagedInstance.__init__(self, name, use_gevent=use_gevent)
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/testinstances/managed_instance.py", line 63, in __init__
    self._start_process()
  File "/home/travis/build/Parsely/pykafka/pykafka/test/kafka_instance.py", line 278, in _start_process
    raise ProcessNotStartingError('Unable to start Kafka cluster.')
testinstances.exceptions.ProcessNotStartingError: Unable to start Kafka cluster.

Hi @emmett9001
I was wondering how can I help with reviewing this PR?
It seems as the testing pipeline is failing inability to start Kafka test cluster.


Add kokoro configs for continuous build

The commit by the github new codereview feature suggestion doesn't work well with googlebot in terms of CLA check, but the commit seems totally fine to me.

The current test result is here:
https://source.cloud.google.com/results/invocations/9eb59e93-1b06-49d3-828a-df627561e269/targets

Ok, the current result:
https://source.cloud.google.com/results/invocations/467a2b8c-a0b7-4e9d-a479-b7650a7badf6/targets
Few more to go

The commit in question is co-authored by the repo owner

I believe the system test now runs green on kokoro and this PR is ready to merge.
@jdpedrie @dwsupplee I'd appreciate it if you could take another look

The system tests themselves are green, but cleanup failed.
Tests: 625, Assertions: 1602, Skipped: 14.
[24-Oct-2018 00:40:34 UTC] PHP Fatal error:  Uncaught Google\ApiCore\ApiException: {
    "message": "Requested entity was not found.",
    "code": 5,
    "status": "NOT_FOUND",
    "details": [
        {
            "@type": "grpc-server-stats-bin",
            "data": "<Unknown Binary Data>"
        }
    ]
}
  thrown in /tmpfs/src/github/google-cloud-php/vendor/google/gax/src/ApiCore/ApiException.php on line 138
cleanup

Re: the above failure
According to my observation, that error happens in the cleanup phase but it'e very rare. My guess is that the delete API call succeeds on the server, but somehow an error returns to the client. For example, just after the delete operation succeeds on the server and then that server dies. In this case the client lib probably sees timeout, or another error and retry the delete api call, however since the object in question is already deleted, now it sees NOT_FOUND.
Semantically we can ignore all the NOT_FOUND errors happened during the cleanup process.

I re-run the test and saw the same error on cleanup. There must be wrong logic in cleanup process. I'll look into it.

And yes, finally the system test passes:
https://source.cloud.google.com/results/invocations/0b3f6c87-c4b9-473f-ab55-0d52d5e4cf90/targets

This is the preview of the README:
https://github.com/googleapis/google-cloud-php/blob/125da7f19fbeb75a4e39868177b1be4d5b65c94d/README.md

LGTM. Will that table contain all the tested versions? If no, maybe we can just replace the travis badge with the kokoro badge.

I will add other PHP versions later and add them to the table!


Import error with numpy v1.23+

Import Camera  fails with the following error:
AttributeError: module 'numpy' has no attribute 'asscalar'
It looks like NumPy has had numpy.asscalar() deprecated since v1.16 and finally removed in v1.23.
In the short-term the environment.yml file needs to limit the numpy version <v1.23 , or better, the necessary changes need to be made to ensure numpy v1.23+ compatibility.
Error trace attached
sstcam-simulation-numpy-error.txt

Should be addressed now. Please reopen if there is still a problem/


Global DGP values. Fixed qtum-dgp-4mb-block-size.py.

Global DGP values

I will close this now until a complete PR is made.


Support port forwarding for privileged ports (1-1023)

https://twitter.com/_AkihiroSuda_/status/1403403845842075648
I'm planning to support privileged ports using authbind (https://github.com/Castaglia/MacOSX-authbind) if it works.

Another way is to replace ssh -L with https://github.com/norouter/norouter and set SETUID bit on the norouter binary.
(We could just set SETUID on ssh binary, but perhaps it may cause some unexpected side effect)

Or maybe we don't need any SETUID stuff. Just bind <IP_ADDRESS>:80, and reject connections from non-loopback addresses.

reject connections from non-loopback addresses

Maybe make the rejection configurable? I think it can be useful to expose an app running in lima to the local network, so you can test it e.g. as a service from another machine.

Yes, we will eventually need config file and (REST?) API to control flexible forwarding

Until
this gets done, I hope this old little snippet helps someone :)
alias port80="sudo ifconfig lo0 <IP_ADDRESS> alias
echo \"rdr pass on lo0 inet proto tcp from any to <IP_ADDRESS> port 80 -> <IP_ADDRESS> port 8080\" | sudo pfctl -ef -"

To revert the mappings back to their original state, just empty the file.
sudo pfctl -f /etc/pf.conf
Same for 443

PR: https://github.com/lima-vm/lima/pull/283


missing css from fix:  Bootstrap 4 needs border-spacing:0

With regards to fix #1008 & #1010 -- The minified css file (listed below) does not appear to have border-spacing: 0; as referenced in the fix.  Basically, I still have to drop either border-collapse: separate !important;, add cellspacing: "0", or manually add border-spacing: 0; to my local css (one of those options).
Isn't the minified version (listed below) supposed to have border-spacing: 0; ?
the file, https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.min.css, was obtained via "Step 3. Pick a download method", here:  https://datatables.net/download/

Its in the source here. This is a distribution repo (really a legacy one now). 1.10.17 is due for release soon which will contain the fix.


BUG: failed to parse LLVM IR

Hello,
Error
I get the following message on my project
error: failed to parse application's LLVM IR from `project/target/x86_64-unknown-linux-gnu/release/deps/bin-0d269819aa1d3063.ll`: BUG: failed to parse LLVM IR; please submit a cargo-call-stack bug report and attach the `.ll` file: Failure("Eof in line 880")

Info
$ cargo +nightly call-stack  --version
cargo-call-stack 0.1.7
$ cargo --version
cargo 1.61.0 (a028ae4 2022-04-29)
$ rustc --version
rustc 1.61.0 (fe5b13d68 2022-05-18)

bin-0d269819aa1d3063.ll.txt
Let me know if I can help figuring it out.
thanks!

with PR #59 the llvm-ir parser can handle the .ll file you shared in the issue description

Who thanks for the super fast reply. I don't have this error anymore, but now it fails on a different problem
thread 'main' panicked at 'BUG: unhandled llvm intrinsic: llvm.experimental.noalias.scope.decl', /home/forty/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-call-stack-0.1.8/src/main.rs:701:21

This  llvm.experimental.noalias.scope.decl seem to indeed be present in the file I shared (but if it's supposed to work, maybe I'm doing something wrong?)
Thanks!

I only ran your file through the llvm-ir parser; I couldn't test the whole cargo-call-stack itself because I didn't have the source code of your Cargo project. I can repro the issue with a "hello, world" project; will have a look.


Nodeos has crashed after hard replay

I've get corrupted state after killing the nodes and launched it in hard replay mode.
After a while I faced with this error in the log and state was corrupted again!
Nodeos version is:<PHONE_NUMBER>
OS: Centos7 (Linux eos 3.10.0-862.9.1.el7.x86_64 #1 SMP Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux)

block_subscription_plugin.cpp appears to be a network-enabled plugin.  Check it for uncaught exceptions.  If it has problems, you'll need to file issues with it.  It is not part of the EOS.IO software maintained in this repository.


Also support first-capital, as GHC does too.

Sorry, I should have merged this before rebasing.

It seems it did end up on master, so that's okay.


[Feature][Manager] Supplement the Managerctl Commands Tools

Description
the Managerctl Commands Tools Code:
https://github.com/apache/inlong/tree/master/inlong-manager/manager-client-tools
Sub Tasks

[ ] #5036
[ ] #5037
[ ] #5038
[ ] #5039

Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I want to do this task

Motivation
The Managerctl Commands Tools does not support cluster and label management.
The Managerctl Commands Tools does not support SQL.
Changes
Support cluster and label management.
Support SQL.
Design
Support cluster and label management by interface InlongGroup.
Support SQL by Flink

@lujunhao957 LGTM


Conflicts with older WebXR extension in Chrome

In Chrome (at least Chrome on Windows latest version) you need to deactivate the older extension or it will consume all the events and the app will not respond to headset movements in the new extension.

Great call out, apparently the Immersive Web Emulator and the WebXR API Emulator by Mozilla are not compatible with each other (for reasons not known to me), when both are active, neither will work. So you will have to disable one to use the other.
Since it's very unlikely a user needs to use both at the same time, this is not a high-priority item for me to look into and fix at the moment, but please let me know if you do need to do so.

And a big thank you to @kevinjardine for bringing this to our attention!


Make (eye) camera speed configurable

One of the many things that should go into the camera's blueprint!
See also

https://github.com/rerun-io/rerun/issues/6013
https://github.com/rerun-io/rerun/issues/5451

Imo, it would be nice to just single press shift to increase and ctrl to decrease speed, and make them accumulate.

But also setting via blueprint is nice, I have somewhat weird scenes where the autosetting is way too fast in general.


New providers and bug fixes

@adamyi
I suggest you leave the param comments of each method as is.
e.g, do not replace
@param v1 some comment for v1
@param variable2 some comment for variable2

with
@param v1         some comment for v1
@param variable2  some comment for variable2

The latter is pretty but not easy to maintain.
Also, the Android source code uses the former style.
Thanks.


alternative for gulp

gulp does not work for me in proper way. This is an alternative for gulp to resize and name the featured images automatically. Just run the script, then copy the generated images to assets/img/posts.

Hey @nhat-thien , thanks for this seems like a nice alternative indeed! Could you please just move the resize.sh to script folder and update the script so it would work from there? There're some other bash scripts there, so I think would be nice to just keep them all there.