[Optimizers] Simplified the AdaGrad optimizer.

I could do that, but why do you expect the performance to be different?

I could do that, but why do you expect the performance to be different?

The code structure of optimizer update functions has changed quite a bit.
Previously, there were two for-loops iterating over recursivelyAllKeyPaths, and operations were performed per Tensor. Now, aggregate operations are used.
I would expect the new optimizers to be more performant.

Yes that makes sense. I believe this will be true for complex Model structures (i.e., consisting of multiple tensors that are not too big). I will try to add some benchmarking tests once I get the chance.
It would be great if we could set up some sort of benchmarking suite on top of the CI server so that we can see how the performance of various tests/benchmarks changes across commits. It will also help us detect potential performance regressions.

Yes that makes sense. I believe this will be true for complex Model structures (i.e., consisting of multiple tensors that are not too big). I will try to add some benchmarking tests once I get the chance.

That would be awesome!

It would be great if we could set up some sort of benchmarking suite on top of the CI server so that we can see how the performance of various tests/benchmarks changes across commits. It will also help us detect potential performance regressions.

Yes, a benchmarking suite would be sweet (😎). apple/swift CI has such a suite. Our team doesn't have bandwidth to set this up though.


Information missing from linked page #packaging-as-a-desktop-app

The page: https://flet.dev/docs/tutorials/python-calculator/#packaging-as-a-desktop-app
has the line:
[Follow these instructions](https://flet.dev/docs/guides/python/getting-started#packaging-a-desktop-app) to package your Calculator app into an executable.
The linked page does not contain the information. The Table of contents for the page is:
Installing flet module
Linux
WSL
Basic app structure
Controls
visible property
disabled property
Control Refs
The packaging of web apps from the same stating page also thinks to the same page which doesn't provide the information it is meant to be linking to.

I think this has been fixed.


dsn does not exist in the DB2 credential for Standard instance. It must be built manually per DB2 support team

Instead of addressing all transformation in the app code, I would like to see driver changes. I opened https://github.com/ibmdb/node-ibm_db/issues/719

The commented lines for the logging were removed.
Regarding to your comments "The code could be simplified by first obtaining the actual connection structure, then using it to extract the parameters", do you have a sample code? I am not sure what you mean.

You could so something like:
const db2ConnectionInfo = params.__bx_creds[Object.keys(params.__bx_creds)[0]].connection.db2
and then reuse db2ConnectionInfo
const dbname=db2ConnectionInfo.database

Thank you for the explanation.
I don't see much difference. What you explained and the current changes are almost identical.


minimize the work of git clone

Reduce the amount of load on the git servers:

Pass the git repo configuration information (container.yaml, additional tags, and such) to atomic reactor as part of the user parameters of the build JSON, so that atomic reactor doesn't need to reclone the repo to get that information.
Refactor plugins configuration slightly so that the additional tags for tag_from_config are taken from the build configuration, instead of recloning the git repo
Calculate the depth of the commit when cloning the repo for the first time, and pass that information to as part of the git repo configuration information.  Subsequent clones of the repo clone (for worker builds, etc) clone using --depth, dramatically reducing the amount of data that needs to be transferred.

Atomic reactor will need changes to take advantage of this work.

LGTM, but waiting for others to approve since they had comments

Testing showed that the git depth calculation was incorrect.  The 4th commit fixes that.

added to RN under build JSON changes:

add tags_from_yaml and git commit depth parameters.  Use tags_from_yaml to eliminate an unnecessary git clone operation when setting tags for atomic-reactor plugins.


Wrong link to the paper

Hi!
I think, there is a mistake in the README. You put the link to the paper SeGAN: Segmenting and Generating the Invisible, but this repo is actually the implementation of SegAN: Adversarial Network with Multi-scale L1 Loss for Medical
Image Segmentation.

Thanks. Changing it.


Add Typescript Support

Is your feature request related to a problem? Please describe.
Add Typescript Support for this project.
Describe the solution you'd like
Add all the necessary .ts files to improve Typescript support for Typescript users.
Maybe refactor the entire project with Composition API, Vue Demi and Typescript.
Describe alternatives you've considered
Just add Typescript support if it's possible in the project right now as it is.
Additional context
N/A

ref https://github.com/egoist/vue-dts-gen


New upstream image location for mailhog & go-httpbin

New image references contain multi-arch images

@pehala FYI


[Bug]: Results list appearing in upper left-hand corner of screen

Before submitting your bug report, please confirm you have completed the following steps

[X] Searched the issue is not already listed in the Issue List (I've searched it)
[X] Searched in the Quicksilver Users' Group for questions relating to tech support.
[X] Downloaded the latest version of Quicksilver for your system and confirmed the issue still persists.

Bug description
Results List appearing on top left of screen as shown in this screenshot. Can't get it to move, even after reinstalling
Steps to reproduce

Run quicksilver
start searching a folder
notice the results screen is in the wrong spot, and I can't move the window.

Expected behavior
The results screen is directly under the QS Pane.
MacOS Version
Other
Quicksilver Version
2.4.1
Relevant Plugins
No response
Crash Logs or Spindump
No response
Screenshots

Additional info
Note using MacOS 14, not listed among the dropdown list.

Duplicate: https://github.com/quicksilver/Quicksilver/issues/2962
Workaround: settings -> appearance -> uncheck "superfluous effects"
Working on a better fix, but it's complicated due to use of private APIs.


Changing the settings via the msbuild extensions

How do you exactly change the default location for KubeOpsConfigRoot? I added the following to the csproj
	<PropertyGroup>
		<KubeOpsConfigRoot>$(SolutionDir)KubeOps</KubeOpsConfigRoot>
	</PropertyGroup>

But unfortunately I still see it create the files at config folder.

As far as I know, this should actually do the trick. Does it not?
I need to investigate the matter.

Unfortunately it's not. Could it be due to VS 2019 updates (using 16.8.0 atm)

Oh. @wkit23 now I found it: KubeOpsConfigRoot does not exist.
I create the "config root" with: https://github.com/buehler/dotnet-operator-sdk/blob/master/src/KubeOps/Build/KubeOps.props#L4

Mhmm. well bonkers. It does exist.


Plugin crashes when attempting to connect

Upon hitting "Connect" i am greeted with the confirmation page that shows me what i will and wont be connecting eg: games/friends ect.
After hitting connect the integration sits on "Connecting..." for awhile before showing "Not responding" and then "Plugin has crashed. Retry."
If there is any information i can offer to help please let me know

Similar issue. Every time I launch Gog Galaxy 2.0, Battle.net fails to connect, but once I retry it, it will work again.

The plugin is also crashing for me after selecting "Connect". It never prompts for login credentials. It fails to connect and gives only the options to "Retry" and "Disconnect"

Had the same issue here but was able to make it work by placing the unzipped folder in C:\Users[Username]\AppData\Local\GOG.com\Galaxy\plugins\downloaded

Ahh yep, having the unzipped folder in both downloaded and installed did it for me
This should really be in the readme

The latest version has a fix for storing cookies. Please check if it works for you:
https://github.com/FriendsOfGalaxy/galaxy-integration-battlenet/releases/tag/v0.37
Replacing old files in
%localappdata%\GOG.com\Galaxy\plugins\installed
should be enough to get it work.
I would also delete anything related to battle.net in the
%localappdata%\GOG.com\Galaxy\plugins\downloaded folder, just to be sure.
Remember to disconnect it first to get rid of old credentials.


ormb push error when pushing model in to harbor registry

/kind bug
What happened:
Trying to push the model into the harbor registry. harbor login is successful but ormb push is failing with the below error
sh-4.2# ormb push  harbor.dsml.net/kubeflowprofiles/xgboostsample:v1
The push refers to repository [harbor.dsm.net/kubeflowprofiles/xgboostsample]
ref:       harbor.dsml.net/kubeflowprofiles/xgboostsample:v1
digest:    b57ea86dceff41196d633005bbaeb70af71ad2a7b3e8a8f490ad06757d1436fa
size:      905 B
format:    XGBoost
Error: failed to authorize: failed to fetch oauth token: unable to decode token response: invalid character '<' looking for beginning of value

What you expected to happen:
ormb push should be successible
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
PANI[2021-01-05T14:27:43Z] Failed to run the  command                    error="failed to authorize: failed to fetch oauth token: unable to decode token response: invalid character '<' looking for beginning of value"
panic: (*logrus.Entry) (0xb9acc0,0xc000122150)

goroutine 1 [running]:
github.com/sirupsen/logrus.Entry.log(0xc000122000, 0xc00001e9c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/bytedance/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go:239 +0x2da
github.com/sirupsen/logrus.(*Entry).Log(0xc000122070, 0x0, 0xc00059ff08, 0x1, 0x1)
        /Users/bytedance/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go:268 +0xeb
github.com/sirupsen/logrus.(*Entry).Logln(0xc000122070, 0x0, 0xc00059ff58, 0x1, 0x1)
        /Users/bytedance/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go:359 +0xd1
github.com/sirupsen/logrus.(*Entry).Panicln(...)
        /Users/bytedance/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go:397
github.com/kleveross/ormb/cmd/ormb/cmd.Execute()
        /Users/bytedance/go/src/github.com/kleveross/ormb/cmd/ormb/cmd/root.go:45 +0xcb
main.main()
        /Users/bytedance/go/src/github.com/kleveross/ormb/cmd/ormb/main.go:23 +0x20

sh-4.2# ormb version
Version: 0.0.9
Git SHA: 92e4a8dd3a61d0a3d5c6071217252d302daeafba
Repo Root: git@github.com:simon-cj/ormb.git
Go Version: go1.14.8
Go OS/Arch: linux/amd64

/assign @simon-cj @FogDong

/assign @simon-cj @FogDong

Can you please tell us What the Harbor version you are using?

Can you please tell us What the Harbor version you are using?

Harbor Version v1.8.0

Harbor Version v1.8.0

Can you please tell us What the Harbor version you are using?

Harbor Version v1.8.0

Can you please tell us What the Harbor version you are using?

Harbor Version v1.8.0

Do you have a project named KubeFlowProfiles in your harbor? @hemantha-kumara
Right now we do not support create the project automatically so the project must be created first.

Do you have a project named KubeFlowProfiles in your harbor? @hemantha-kumara
Right now we do not support create the project automatically so the project must be created first.

Do you have a project named KubeFlowProfiles in your harbor? @hemantha-kumara
Right now we do not support create the project automatically so the project must be created first.

Yes, the project kubeflowprofiles  exists

Do you have a project named KubeFlowProfiles in your harbor? @hemantha-kumara
Right now we do not support create the project automatically so the project must be created first.

Yes, the project kubeflowprofiles  exists

The error is Error: failed to authorize: failed to fetch oauth token .  In our case harbor authentication is enabled using OIDC(Keycloak). This might give you some clue !

The error is Error: failed to authorize: failed to fetch oauth token .  In our case harbor authentication is enabled using OIDC(Keycloak). This might give you some clue !

For OIDC((Keycloak), you can test that does docker login and docker push work? I doubt the issue is service token.

For OIDC((Keycloak), you can test that does docker login and docker push work? I doubt the issue is service token.

For OIDC((Keycloak), you can test that does docker login and docker push work? I doubt the issue is service token.

Yes, docker login and docker push work fine. I can push the docker image into the harbor.

For OIDC((Keycloak), you can test that does docker login and docker push work? I doubt the issue is service token.

Yes, docker login and docker push work fine. I can push the docker image into the harbor.

Can you upgrade Harbor to > v2.1.0, because we develop ormb with harbor community  at harbor v2.1.0, I am not sure how it work at v2.1.0 below.
I test harbor at v2.0.0, I am sure it will not show the metadata in harbor UI.
(The following image show the metadata at harbor v2.1.0)

as for the error message, it looks like service token issue, you can test it use harbor service token.

Can you upgrade Harbor to > v2.1.0, because we develop ormb with harbor community  at harbor v2.1.0, I am not sure how it work at v2.1.0 below.
I test harbor at v2.0.0, I am sure it will not show the metadata in harbor UI.
(The following image show the metadata at harbor v2.1.0)

as for the error message, it looks like service token issue, you can test it use harbor service token.

as for the error message, it looks like service token issue, you can test it use harbor service token.

Is there any example on how to use harbor service token ?

as for the error message, it looks like service token issue, you can test it use harbor service token.

Is there any example on how to use harbor service token ?

as for the error message, it looks like service token issue, you can test it use harbor service token.

Is there any example on how to use harbor service token ?

After install harbor, it will use default service token, it is define at https://github.com/goharbor/harbor-helm/blob/master/templates/nginx/configmap-http.yaml#L133, it is redirect to harbor-harbor-core componentt by nginx.
if you install harbor in k8s, you can execute kubectl edit configmap harbor-harbor-nginx to set it to default service token.
if not install harbor in k8s, you can set nginx config(nginx.conf) too.

as for the error message, it looks like service token issue, you can test it use harbor service token.

Is there any example on how to use harbor service token ?

After install harbor, it will use default service token, it is define at https://github.com/goharbor/harbor-helm/blob/master/templates/nginx/configmap-http.yaml#L133, it is redirect to harbor-harbor-core componentt by nginx.
if you install harbor in k8s, you can execute kubectl edit configmap harbor-harbor-nginx to set it to default service token.
if not install harbor in k8s, you can set nginx config(nginx.conf) too.

as for the error message, it looks like service token issue, you can test it use harbor service token.

Is there any example on how to use harbor service token ?

the default config like this in k8s:
   location /service/ {
          proxy_pass http://core/service/;
          proxy_set_header Host $host;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

          # When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
          proxy_set_header X-Forwarded-Proto $scheme;

          proxy_buffering off;
          proxy_request_buffering off;
        }

as for the error message, it looks like service token issue, you can test it use harbor service token.

Is there any example on how to use harbor service token ?

the default config like this in k8s:
   location /service/ {
          proxy_pass http://core/service/;
          proxy_set_header Host $host;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

          # When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
          proxy_set_header X-Forwarded-Proto $scheme;

          proxy_buffering off;
          proxy_request_buffering off;
        }

I tried oras push,  even oras push is failing for the same reason. I have created an issue on oras repo also https://github.com/deislabs/oras/issues/205.
here is the log for your reference
sh-4.2# oras push harbor.dsml-csfp-2.ccsp.dyn.nesc.nokia.net/kubeflowprofiles/hello-artifact:v1 --manifest-config /dev/null:application/vnd.acme.rocket.config ./artifact.txt --insecure
Uploading a948904f2f0f artifact.txt
Error: failed to authorize: failed to fetch oauth token: unable to decode token response: invalid character '<' looking for beginning of value

I tried oras push,  even oras push is failing for the same reason. I have created an issue on oras repo also https://github.com/deislabs/oras/issues/205.
here is the log for your reference
sh-4.2# oras push harbor.dsml-csfp-2.ccsp.dyn.nesc.nokia.net/kubeflowprofiles/hello-artifact:v1 --manifest-config /dev/null:application/vnd.acme.rocket.config ./artifact.txt --insecure
Uploading a948904f2f0f artifact.txt
Error: failed to authorize: failed to fetch oauth token: unable to decode token response: invalid character '<' looking for beginning of value


how to translate SQL to relational algera in batch?

Hi,
The calculator has no batch mode at the moment.
Do you have a concrete use case for such a feature?

This is not currently planned.


cloudflare-dyndns: 4.1 -> 5.0

Running the package 4.1 there are some warnings.
Upstream already fixed those warnings but hadn't released on github.
This is just an update after they've released.
I've only tried building this on x86_64-darwin
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 349990

x86_64-linux

:white_check_mark: 2 packages built:

cloudflare-dyndns
cloudflare-dyndns.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 349990

x86_64-linux

:white_check_mark: 2 packages built:

cloudflare-dyndns
cloudflare-dyndns.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 349990

x86_64-linux

:white_check_mark: 2 packages built:

cloudflare-dyndns
cloudflare-dyndns.dist


[NVIDIA TF] Enable BF16 TensorArray scatter, split, unpack

Support remaining GPU bfloat16 TensorArray ops

Hi @trevor-m Can you please check @reedwm's comments and keep us posted ? Thank you!


Hotfix/wjiang/profiler cleanup

turn off IO_profiler
Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Trivial change (affects only documentation or cleanup)

Checklist:

[x] I have tested this change with a run of GEOSgcm (if non-trivial)
[ ] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

@rmontuoro , It has been mergerd to the develop branch. Hopefully, your program won't crash any more

I'm going to pull develop and do a final check


Copy completed steps in quick apply service

Changes in this PR

Quick apply should populate the completed steps array for new job applications

Review app deployed to https://teaching-vacancies-review-pr-3218.london.cloudapps.digital


[CMSIS-NN] Include clip in the qnn binary op patterns

Support clip op in qnn binary op patterns for CMSIS-NN

cc: @Mousius @manupa-arm @lhutton1

Thanks @ashutosh-arm!


Feature: add form validation

Prevent users from submitting the form or refreshing the page if either field is empty

Edit:

Visual form validation: red side bar for empty field.
If the comment filed is empty, and users click 'update', show a dialog box "No further comments for ?"
If the comment field is not empty, and users click 'update', show a dialog box "Do you want to set  to  with ?"
If the comment field is not empty, and users click other links, show a dialog box "Do you want to discard changes?"


Complete raise if dataset requires manual download

Follow-up of:

#1309

See: https://github.com/huggingface/datasets-server/issues/1307#issuecomment-1579288660
Fix #1307.
TODO as requested by @severo:

[x] Raise DatasetManualDownloadError from config-split-names-from-streaming
[ ] Propagate the error codes to the aggregator steps (config -> dataset, in this case) so that we can show the appropriate message on the Hub

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@severo any hint for the propagation of the error code? Thanks.

Good question. We should manage it in another PR/issue because it might affect the response format for all the "aggregation steps". Maybe it's "just" adding the error_code field (if not none) to the failed entries.

Codecov Report
Patch coverage: 96.96% and project coverage change: -0.15 :warning:

Comparison is base (de2bbf3) 92.57% compared to head (2e3655a) 92.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1315      +/-   ##
==========================================
- Coverage   92.57%   92.43%   -0.15%
==========================================
  Files          73       69       -4
  Lines        4255     4176      -79
==========================================
- Hits         3939     3860      -79
  Misses        316      316

Flag
Coverage Δ

jobs_cache_maintenance
?

services_worker
92.43% <96.96%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...orker/job_runners/split/first_rows_from_parquet.py
85.41% <ø> (ø)

.../src/worker/job_runners/config/parquet_and_info.py
86.74% <90.00%> (+0.08%)
:arrow_up:

...r/job_runners/config/split_names_from_streaming.py
96.96% <100.00%> (+0.30%)
:arrow_up:

services/worker/tests/fixtures/files.py
90.38% <100.00%> (+1.49%)
:arrow_up:

services/worker/tests/fixtures/hub.py
98.35% <100.00%> (+0.04%)
:arrow_up:

.../tests/job_runners/config/test_parquet_and_info.py
97.32% <100.00%> (+0.03%)
:arrow_up:

..._runners/config/test_split_names_from_streaming.py
100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


All-day event added successfully to 'primary' google web calendar with api is not showing on Android phone Google Calendar

Summary
Added an all-day event to my personal 'primary' calendar using web api call gapi.client.calendar.events.insert(event) with
summary, description start date and end date. (also tried with timezone but the doc says they are not used for all-day events)
The event shows up on my Chrome Browser Calendar on my laptop and phone but not of the PlayStore Google Calendar app on my phone. I must be missing something but have checked the doc and I seem to have the required fields for an all-day event creation. The google mobile app appears to be looking for something that is not being provided by the insert as the web version finds it.
Browser(s)/Version(s)
laptop Chrome : Version 110.0.5481.104 (Official Build) (64-bit)
phone app : 2023.04.2-508087700-release
Expected Behavior
Event should appear on Mobile app and Web
Actual Behavior
Event appears only on web (in Chrome and Firefox)
Steps to Reproduce
Insert event using gapi.client.calendar.events.insert().
View all-day event successfully on Web version for the date specified date.
Go to Calendar app on phone.
Wait (any amount of time), Refresh
No corresponding all-day event (for any day)
Note : Duplicating and saving the event manually from the Web causes only the duplicated instance to appear on the mobile app. If the original event is simply edited and saved it does not appear on the mobile app
example code for call ..
const event = {
'summary': 'Some summary text',
'description':'Event description text',
'start': {
'date': '2023-02-20'
},
'end': {
'date': '2023-02-20'
}
}
try {
  const request = await gapi.client.calendar.events.insert({
    'calendarId': 'primary',
    'resource': event
  });

Seems the Google Calendar app does not recognize all-day events where start=end whereas the Web calendar does. in the example above changing it to
'start': {
'date': '2023-02-20'
},
'end': {
'date': '2023-02-21'
}
Creates an all-day event that shows for the day '2023-02-20' on both calendars.


Update Install-omsagent

Updated Install-omsagent.ps1. Corrected install logic tree to install from local folder rather than url when $sourcefolder existed.  Also added 2 new parameter sets to allow for credentials to be entered non-interactive manner with local install file.

Hi,
Thanks for the pull request.
Could you edit the original Install-omsAgent.ps1 in the GIT repository as opposed to copying a new version in place. As when doing so doesn't allow the changes to be tracked easily.
Thanks
Ben


Stetho plugin!

Would be nice to see requests as loading resources (spent time, request, response)

See #542.

@artem-zinnatullin I wanted to contribute to this library. I see #542 solves this in a more generic way but since this issue is still open can I work on this ?

@ShikherVerma what about resolving #542 first? We can discuss design of Interceptors API and accept PR(s) from you with implementation!

Sure. I have end semester exams in a few days. I'll discuss #542 with you after that. Thanks.

+1

@artem-zinnatullin Exams over!! Please help me get started.

I hope exams were good :-)

@Rainer-Lang thanks. I'll pass :)

@artem-zinnatullin i'll be great if we could discuss over hangout or fb

Nononononono, only public discussions here so anyone will be able to follow progress and contribute to it

I would suggest to start with:

Reading Stetho sources first.
Check how Stetho OkHttp integration works since we're going to go with pretty similar solution of using interceptors.
Then publish your thoughts about it here
Then we can discuss StorIO Interceptors API
Then we can implement StorIO Interceptors API
Then we can add StorIO Stetho Integration :)


Compatible with the Octotree extension

Octotree is a browser extension to display GitHub code in tree format. The z-index value of Octotree's sidebar is 91, to be compatible with it, I change the z-index value to 90, so the sidebar can display.
good stylish style! :heart:

Thanks :+1:


calling another task twice

Hi,
I need to create a task that runs another task N times. Invoke doesn't do the trick since the second task will be called only once. Is there any way to call thor tasks without using the invocation system?
Thanks!

I have this same use case, can it be updated to validate the task name AND options?  I was bit by this in a similar fashion as @eventualbuddha.  I checked the code on master and it seems to be the same way.
(pseudocode)
method_option :yes, default: false, type: boolean
task migrate_user USER
def migrate_user(username)
user = lookup_user(username)
if !user.migrated?
if options[:yes] || ask("Are you sure you want to migrate the user: #{username}?")
migrate_user(username)
invoke(:send_email, [username])
else
puts "user already migrated"
end
end
task 'migrate_users'
method_option :yes, default: false, type: boolean
def migrate_users
users = list_all_users
puts users
ask 'Are you sure you want to migrate the users listed above?'
users.each { |user| invoke(:migrate_user, [user], yes: true }
end
I like the safety that thor gives of preventing migration of a user more than once and further of ensuring that if a user is migrated more than once they don't receive an email twice (from some other task for example).
I can submit a PR if you feel this is a proper change.

For anyone coming here from google, this is how I solved it.
no_commands do
  def execute(task, args, options)
    (klass, task) = Thor::Util.find_class_and_command_by_namespace(task)
    klass.new.invoke(task, args, options)
  end
end

use execute exactly like invoke

Is there any documentation about why can't invoke twice?
I found the line that's holding the execution https://github.com/rails/thor/blob/main/lib/thor/invocation.rb#L125 but can't understand why is designed like this.
I noticed that using Rails::Generators.invoke  instead just invoke works.
def task
  Rails::Generators.invoke "avo:resource", ["Team"], {}   # Executed
  Rails::Generators.invoke "avo:resource", ["Course"], {} # Executed
end

def task
  invoke "avo:resource", ["Team"], {}   # Executed
  invoke "avo:resource", ["Course"], {} # Not Executed
end

Thank you


Errors and changes in Data settings page

General changes

Need update button on the header
Then add-website page here so user can change the website theme over here
then add team on this page ( on behalf of Vinod sir)
then add domain over here on the header so user can go to the website directly
change name data settings to website settings( on behalf of Vinod sir )

Error in software and industry experience

Can not change a new image to added experience
can not change the name of an already added
When we upload the image then it shows please wait- > it should not be clickable
Experience name should start with a capital letter

Error in Award

When we edit added award then it changes the image automatically and adds a new google image
the First letter should be capital

Remove industry
there is no need for this industry in user section because we already added industry experience and this industry has no value right now
Error in affiliations

the first letter should be capital
when we edit the added affiliations then it changes the image automatically and adds a new google image

Error in Testimonials

when we edit the added testimonials then it changes the image automatically and adds a new google image
the first letter should be capital

error in blog

Remove button is not working
need scroll in a short description

After discuss with @mitulpanch It is before 3 months old and not related


Feat: Navbar Logo Font "Mystory" Not Visible

Describe the feature
The "Mystory" font used for the logo in the navbar is not displaying correctly. This issue affects the visibility and branding consistency of the website. We need to investigate and fix this issue to ensure that the logo appears as intended.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Sayak-Bhunia
I want to work on this issue. Also, please add the label GSSOC and the level that you find appropriate for this issue. thank you!


Deprecate DraftEntity before removing

Summary
A previous PR had completely removed 'DraftEntity' the module and moved
control over entities into ContentState.1 This changed several public
APIs of Draft.js in a non-backwards compabible way.
To make it easier to migrate multiple use cases to the new Draft.js API,
and because the transition is too complex for a simple codemod, we are
releasing a version that supports both the new and the old API and then
later releasing a version that breaks the old API completely.
In order to renew support for the old API while also supporting the new
API, this PR

restores the DraftEntity module and associated tests/mocks
calls into DraftEntity methods under the hood of the new API

We tried to leave as much of the new API code in place and unchanged as
possible, so that things will be easier when we are fully removing
DraftEntity and switching to the new approach.
Test Plan:
This should pass unit tests and I did some manual testing.
Still TODO:

manually test in other browsers (will do before landing)
increase test coverage for 'convertFromHTML', which broke at one point even though tests were all passing. (follow-up PR)
Add some 'deprecated_examples' that demonstrate we are still supporting the deprecated API, for manual testing of the old API. (follow-up PR)

Next steps:

PR to add missing test coverage and examples
A PR to add warnings and comments about the deprecation of the old
API
Add all these related PRs to 0.10.0 alpha version
Add documentation about migrating from deprecated to new API
Release 0.10.0; support both APIs
Make PR that basically undoes this one, moving entity control into
ContentState, and release that as version 0.11.0, with warning that
it no longer supports the deprecated API.

I want to tag @johanneslumpe but it doesn't seem to be letting me. But since he did the work originally to migrate us to the new API, would be good to get perspective on this.
Also want to tag @stopachka because he helped review the original PR that changed the API.
Last, tagging @spicyj because he's been heroically handling bugs and PRs lately.

@flarnie I'm not sure I agree with the new signature of the functions, where contentState is put last, after the callback.
The downside of having this intermediate deprecation phase in general is that it nullifies the gains of the original change, since the problem with entity changes not triggering a content state update will persist.

@johanneslumpe you are right that this version won't actually give the benefits of the API change. That's why I hope to release the fully migrated version quickly after releasing this.
Version 0.10.0 -> warns when you use the old API, but doesn't have benefits of new API yet
Version 0.11.0 -> no longer supports old API, and has benefits of the new API
Because we have many and varied uses of Draft.js internally, it would be almost impossible to migrate all of them to the new API in one swoop. So updating to a version of Draft that doesn't support the old API would probably not happen, and I think we would fall out of sync with the open source version. Other folks using Draft will also find it easier to migrate this way too. And it lets us quickly release the other bug fixes that are present on master currently.
If we want contentState to not be the last argument, is the reasoning that we should ensure that people know that it's being passed in? In that case we could switch the order in version 0.11.0 when the API is no longer backwards-compatible. However, that means that even if someone does update all their use cases when switching to 0.10.0, they still have to change all their 'strategy' callsites to update to version 0.11.0.
Also - did we consider making the entity strategy arguments an object instead of three separate parameters? Three or more starts to get to be too many imo, and what if we want to add more in the future?

@flarnie The reasoning for the order of arguments is the "callback last" convention.
I agree that having a lot of arguments on a function call is not desirable and we could potentially move to an object here, if we don't see performance issues with it.

The tests and flow are passing on my local machine. Looking into why they are failing in CI.

It looks like the failing tests are unrelated and are happening on all recent PRs. Opened an issue and will look into it more tomorrow.
https://github.com/facebook/draft-js/issues/799

@johanneslumpe what would you think of doing the full change to the entity strategy arguments in 0.11.0, and at that point either putting the contentState as the first argument or moving all arguments into an object?
Hoping to get more feedback on this before landing - @hellendag or @spicyj any thoughts?

@flarnie so basically reverting this whole PR and then just converting the args to an object? Seems reasonable to me. At that point we probably should change all public apis which have multiple arguments in order to not have a mix of config objects and plain arguments. Thoughts on that?

@johanneslumpe You have a point that if we make the multiple args an object here, we would want to do that everywhere. In that case I'm biased towards the smaller amount of change to the API, and I'd rather just change the order of the arguments to put the callback last at that time.
I wasn't familiar with that convention, but there is a reference to it in the node.js style guide. Seems reasonable.

I'm going to land this since I have some of the follow-up work ready, and want to make a new PR with that. Happy to continue conversation about this API change process. I think this is cool though since @johanneslumpe has given some feedback and I talked to @hellendag about it a while ago.


Confusion over longbow correct

Hello,
I am using longbow correct to fix cell barcodes. There is a single-cell component to our experiment and we have used cell-ranger to obtain counts from 10X data that outputs a list of cell barcodes. This list in our case contains around 4.3K barcodes. The other set of cell barcodes at our disposal is the whitelist provided by 10X genomics which has over 6M barcodes. I used both sets of cell barcodes to perform correction but I am getting unexpected results when I use the barcode set with 4.3K barcodes. For both cases, I put the CCS max hamming distance to 2. I checked the results of longbow correct and found that some of the corrected barcodes have a hamming distance of over 5. I am not sure why longbow corrects those barcodes and not report those as uncorrectable. Here are some examples:
Old BC: CGGACACAGTCGTTTA
New BC: CCGGACACAGTCGTTA
Hamming dist: 11
Please let me know what is the recommended cell barcode list to use for correction.
Thank you

correct is using Levenshtein distance (a.k.a. edit distance) rather than hamming distance. This means it considers insertions and deletions as well as mismatches.
So the example you gave is something like:
-CGGACACAGTCGTTTA
CCGGACACAGTCG-TTA

i.e. edit distance 2

Makes sense. Thank you


Communications and automation for the release of Restricted theses/dissertations

From Grad School:

When a student's 2 years are up, we would like ETD to notify the student a month ahead of time via their email PSU and alternate email , letting them know they can either add another 1 year or to release to open access. When the communication is sent to the student, we would like ETD to automatically update the release date if they do ask for an extension.  No further extensions to be granted.

We could make this work by generating a unique link and sending that with the email to the student.  If the student clicks that link, it will send a request back to ETDA with that link, triggering the extension in the system.

Dear,

We are writing to inform you that your two-year restriction is about to expire. Please indicate below if you would like to extend your restriction or release your work to open access. If we do not hear from you, your work will automatically be released to open access.

Thank You,
Office of Theses and Dissertations

Somewhere in this email will need to be a link to trigger the extension.

It appears the Grad School would also like to automate the release of restricted submissions.  Right now admins must manually select the theses/dissertations they'd like to release.  We'd need some kind of cron task to do this.

Per Rich Stoller, Shreyer's Honors College is on board with this update as well.


Testimonials

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
Addition of Testimonials   instead of twitter mentions.
Fixes #955
Type of change

[✅ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
It has been tested by me in my local system.
Checklist:

[ ✅] I have performed a self-review of my own code
[ ✅ ] I have made corresponding changes to the documentation
[ ✅] My changes generate no new warnings
[✅ ] I have added tests that prove my fix is effective or that my feature works
[ ✅] New and existing unit tests pass locally with my changes
[ ✅] Any dependent changes have been merged and published in downstream modules

@joypoddar @yung-coder
We decided to drop title but I still see it in the UI and code. Please take care

Hy this PR was good but you left 2 empty files in home directory of project


Rails.env returns development

Hello,
when i run tests on my app i don't want for instance to send welcome text message to user after creating them (because it is for testing purposes and because it costs :) )
So in my model i have something like
    unless Rails.env.test?
      client = Twilio::REST::Client.new
      client.messages.create(
        from: Rails.application.credentials[Rails.env.to_sym][:twilio][:phone_number],
        to: Rails.env.development? ? Rails.application.credentials[Rails.env.to_sym][:twilio][:phone_number_for_dev] : recipient.phone,
        body: message
      )
    end

but it keeps sending sms because Rails.env returns development.
i tried to change in rails_helper ENV['RAILS_ENV'] ||= 'test' => ENV['RAILS_ENV'] = 'test'
it does not change behaviour. Any idea?
Thanks in advance

Rails.env is entirely controlled by Rails, so this is not an RSpec issue (and we prefer to keep Github issues for bugs and not for help on your specs, thats what the mailing is and/or stackoverflow is for) but looking at your code you evidently have something seeing ENV['RAILS_ENV'] or ENV['RACK_ENV'] to development (possibly rake).
In your rails_helper.rb or spec_helper.rb you should be able to override this depending on when your code is run, but you currently have ||= which won't "force" it, just set it if not already present. Changing this to = may work around this issue but you should probably find whats setting it.


用最新版react会有很多warning，能否考虑升级

Warning: PropTypes has been moved to a separate package. Accessing React.PropTypes is no longer supported and will be removed completely in React 16. Use the prop-types package on npm instead
View.propTypes has been deprecated and will be removed in a future version of ReactNative. Use ViewPropTypes instead.

您好，感谢您提的建议，近期会考虑着手组件重构：）


'info_text_icon_size' setting should be 16, not 20.

In its current state, it stretches the 16x16 icon linearly a couple pixels up to 20, and it looks distorted and terrible.
https://github.com/CloudSixteen/Clockwork/search?q=info_text_icon_size

20: http://i.imgur.com/4WSbOg0.png
16: http://i.imgur.com/QGQvcJF.png


java core: Implement base class serialization.

This splits out field serialization from the top-level .serialize() into
a protected method, and makes that method responsible for calling its
equivalent on the supertype if there is one. This should give us the
correct paths through {read,write}{Struct,Base}{Begin,End}.
The new members, .serializeFields and .deserializeFields, are strong
candidates for the static inner helper we've been talking about.
Creating it now would make this change larger than I would like it to
be.

Tested with my Bad Interop Thing - results are byte-for-byte with C++.


[Bootstrap Redesign] Integrate Bootstrap

For the UX/UI redesign I'll be using bootstrap, so the relevant static files need to be added. I've used the customizer to adjust the screen sizes used for responsive design, so I'll be including the files generated from that.
Just want to add the files and verify that nothing breaks (or fix it, but nothing should be affected as I'm pretty sure it's all inclusive) then from there I can start on the frontend redesign.

Also, you can access the customized version here: http://getbootstrap.com/customize/?id=7d921a2a44238ad4d994
And the config file here: https://gist.github.com/7d921a2a44238ad4d994
It's based on Bootstrap 3.5.5/3.5.6

Done via ca55e87


refactor: Track when MSRV is explicitly set, either way

What does this PR try to resolve?
This will hopefully help when merging between CLI and config with #13540.
How should we test and review this PR?
Additional information

@bors r+

:pushpin: Commit 2e75d66c7c3e60b4cbeb690f9c59d00136a08eb4 has been approved by Muscraft
It is now in the queue for this repository.

:hourglass: Testing commit 2e75d66c7c3e60b4cbeb690f9c59d00136a08eb4 with merge f99d24fee43193b8adec4233da109a2d0831cf5f...


Image segmentation algorithm

Adding Image Segmentation Algorithm

TODO: Tidy model folder. All critical components are included though.


Clarify AnalysisLevel default

Fixes #22635. I also removed the tip about AnalysisLevel as another way to enable code analysis, since anecdotally it doesn't work.
Preview link.

@Youssef1313 Thanks for the pointer to the AnalysisLevel default. Does this look okay to you?


Yum repo issue while building executable

The "build_x86_64_executable.sh" fails on yum update with "HTTP Error 504 - Gateway Timeout" while running the centos image "NODE_PACKAGE_BUILDER_GLIBC=centos/devtoolset-7-toolchain-centos7@sha256:24d4c230cb1fe8e68cefe068458f52f69a1915dd6f6c3ad18aa37c2b8fa3e4e1". This is the step where the executable.Dockerfile runs "async_profiler_env_glibc.sh" script and any yum commands fail within it. Proxy and /etc/resolv.conf are configured correctly. The repo file however seems to have all baseurls commented out, not sure if expected.
Base OS: Ubuntu 23.04

Can you please post full logs?
In any case, I get the following now:
 > [async-profiler-builder-glibc 4/6] RUN ./async_profiler_env_glibc.sh:
0.557 Loaded plugins: fastestmirror, ovl
0.650 Determining fastest mirrors
2.163 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=aarch64&repo=os&infra=container error was
2.163 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
2.164
2.164
2.164  One of the configured repositories failed (Unknown),
2.164  and yum doesn't have enough cached data to continue. At this point the only
2.164  safe thing yum can do is fail. There are a few ways to work "fix" this:
2.164
2.164      1. Contact the upstream for the repository and get them to fix the problem.
2.164
2.164      2. Reconfigure the baseurl/etc. for the repository, to point to a working
2.164         upstream. This is most often useful if you are using a newer
2.164         distribution release than is supported by the repository (and the
2.164         packages for the previous distribution release still work).
2.164
2.164      3. Run the command with the repository temporarily disabled
2.164             yum --disablerepo=<repoid> ...
2.164
2.164      4. Disable the repository permanently, so yum won't use it by default. Yum
2.164         will then just ignore the repository until you permanently enable it
2.164         again or use --enablerepo for temporary usage:
2.164
2.164             yum-config-manager --disable <repoid>
2.164         or
2.164             subscription-manager repos --disable=<repoid>
2.164
2.164      5. Configure the failing repository to be skipped, if it is unavailable.
2.164         Note that yum will try to contact the repo. when it runs most commands,
2.164         so will have to try and fail each time (and thus. yum will be be much
2.164         slower). If it is a very temporary problem though, this is often a nice
2.164         compromise:
2.164
2.164             yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
2.164
2.164 Cannot find a valid baseurl for repo: base/7/aarch64
------

and for  mirrorlist.centos.org I get `Could not resolve host: mirrorlist.centos.org`. Super weird

Yes, this is the exact error I get.  Not sure which logs, but I have attached the output from the build script.
gprofiler_build_log.txt


Block data must save immediately and not just on app exit

Suggestion details
Currently, when block data is saved, the actual file is not written to disk until the app exits. This prevents useful debug from occurring
Additional details
No response

This was seen on an isolated branch.
Currently we do not save yet and there is another issue that tracks how the data gets saved to the file system.

Suppressed by issue #679


Use Updatable to reduce boilerplates in update.ts

Currently, even with spread syntax, it's very crumble-some when trying to update a value of a very nested object

I've been using modify-via-query for sometimes, still feels like native is actually more flexible.


Enable ML.NET Model Builder not working

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/create
Operating System: windows
"Would you like to enable the ML.NET Model Builder preview feature so you can add Machine Learning to your .NET projects?  Enable ".  I click enable and restart VS, but it still won't work. VS 16.6

Same problem. After clicking enable, you an "Options" popup on "Preview Features". Even if you check everything (and restart), after trying to add machine learning to the project you just get another "Would you like to enable...". Latest VS, tried restarting VS and computer.

Same thing here. This is blocking for model builder installation and use.

@KeithT @Erol444 It is a bug in Visual Studio 16.6. Try it on Visual Studio 16.7 instead and it should work - https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-preview

@KeithT @Erol444 It is a bug in Visual Studio 16.6. Try it on Visual Studio 16.7 instead and it should work - https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-preview
Thanks, works now 👍

Thanks for your patience! We've fixed this issue in VS 16.6.1 and that went out today. Please update and you should see that this issue has been resolved. If you're stilling having any issues, don't hesitate to reach out again!
Thanks for using Model Builder!
Cheers,
Jake
Duplicate of: #764

I have this issue again with VS2022 preview 1 and 2.1


Cannot read property 'formatJSX' of undefined in Sublime Text 2

Probably user error, but I'm not sure how to get past this. Thanks!
TypeError: Cannot read property 'formatJSX' of undefined
at Object.module.exports.stringBefore (/Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/esformatter-jsx/lib/plugin.js:43:24)
at /Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/jsfmt/node_modules/esformatter/lib/plugins.js:78:53
at Array.reduce (native)
at Object.pipe (/Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/jsfmt/node_modules/esformatter/lib/plugins.js:77:19)
at Object.stringBefore (/Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/jsfmt/node_modules/esformatter/node_modules/mout/function/partial.js:15:22)
at Object.format (/Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/jsfmt/node_modules/esformatter/lib/esformatter.js:51:17)
at Object.exports.format (/Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/jsfmt/lib/format.js:15:20)
at /Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/jsfmt.js:27:24
at Socket. (/Users/kushal/Library/Application Support/Sublime Text 2/Packages/jsfmt/node_modules/get-stdin/index.js:23:3)
at Socket.emit (events.js:129:20)

can you provide the version of esformatter and esformatter-jsx you are using?

It might be that you need to specify the jsx section in your esformatter.json, check the parameters in the readme

<EMAIL_ADDRESS><EMAIL_ADDRESS>I'm having a hard time sorting out where esformatter.json would even go in
the context of Sublime/jsfmt? I do have a jsx: {} section in
jsfmt.sublime-settings
Thanks!
On Fri, Aug 7, 2015 at 3:07 PM Roy Riojas<EMAIL_ADDRESS>wrote:

It might be that you need to specify the jsx section in your
esformatter.json, check the parameters in the readme
—
Reply to this email directly or view it on GitHub
https://github.com/royriojas/esformatter-jsx/issues/15#issuecomment-128843795
.

I'm not familiar with Sublime Text 2, but for the 3 you can do:
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/jsfmt/

# the latest version has a bug with formatting some sentences
npm i -D<EMAIL_ADDRESS>
# grab the latest
npm i -D esformatter@latest

Oh I just realize you're using an old version of the plugin, the latest one is<EMAIL_ADDRESS>

Got it, thank you!

Using the latest (2.0.11), but still getting this error.

hi @filipmares, are you using esformatter-jsx from the cli? or are you using it in Sublime Text 3?
If is inside Sublime you might want to follow this guide
https://github.com/royriojas/esformatter-jsx/wiki/Usage-with-jsfmt
You need esformatter@7 for it to work correctly

@royriojas thank you!


spotbugs changes

Most are declaring variables inside conditional block where they are used. There are a couple suppressions for readability sake.
Also remove duplicate cve exlusion.

I ran the spotbugs main goal in travis yesterday and it passed. I had to "restart" it manually because the JWT test that failed in the previous stage. I don't think that is failing due to these changes because the same test was failing for me locally on my master branch.


Code blocks: Max length with scrolling and option to expand

Set a default max length, with vertical scrolling obvious (scrollbar)
Provide option to expand code block to full length

Inspired by Kafka tutorials: https://kafka-tutorials.confluent.io/filter-a-stream-of-events/ksql.html

Hi Jesse, I took a quick and dirty stab at fulfilling some of the requirements here (see linked PR). I still need to add option to expand, but I wanted to get your thoughts on whether I'm on the right track and iterate quick.


build issue

Hi, I have used async_grpc for cloud mapping on ROS1, melodic. Recently I installed ROS2 Humble and cartographer on it. Then, I wanted to get cloud mapping on cartographer. So I used one of the files, "install_async_grpc.sh" on cartographer. But, it doesn't work because ubuntu version 22.04 supports only gcc 9, 10, 11, 12 and tried to install all gcc supported by it. But I have same error on those versions like below code. Anyone can help this problem please?
Thank you for reading this issue.
cmake ..
-- The C compiler identification is GNU 12.0.1
-- The CXX compiler identification is GNU 12.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.10 (found version "3.10.4") found components: Interpreter
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found GMock: gmock_main
-- Found Protobuf: /usr/local/lib/libprotobuf.a (found suitable version "3.19.4", minimum required is "3.0.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/erick/dependency_ws/src/cartographer/scripts/async_grpc/build

make
[  4%] Running C++ protocol buffer compiler on async_grpc/proto/math_service.proto
[  8%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/common/time.cc.o
[ 12%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/completion_queue_pool.cc.o
In file included from /usr/include/c++/12/memory:66,
                 from /home/erick/dependency_ws/src/cartographer/scripts/async_grpc/async_grpc/async_client.h:20,
                 from /home/erick/dependency_ws/src/cartographer/scripts/async_grpc/async_grpc/completion_queue_pool.cc:19:
/usr/include/c++/12/bits/stl_uninitialized.h: In instantiation of ‘constexpr bool std::__check_constructible() [with _ValueType = async_grpc::CompletionQueue; _Tp = async_grpc::CompletionQueue&&]’:
/usr/include/c++/12/bits/stl_uninitialized.h:182:4:   required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = move_iterator<async_grpc::CompletionQueue*>; _ForwardIterator = async_grpc::CompletionQueue*]’
/usr/include/c++/12/bits/stl_uninitialized.h:372:37:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = move_iterator<async_grpc::CompletionQueue*>; _ForwardIterator = async_grpc::CompletionQueue*; _Tp = async_grpc::CompletionQueue]’
/usr/include/c++/12/bits/stl_uninitialized.h:397:2:   required from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = async_grpc::CompletionQueue*; _ForwardIterator = async_grpc::CompletionQueue*; _Allocator = allocator<async_grpc::CompletionQueue>]’
/usr/include/c++/12/bits/vector.tcc:674:48:   required from ‘void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = async_grpc::CompletionQueue; _Alloc = std::allocator<async_grpc::CompletionQueue>; size_type = long unsigned int]’
/usr/include/c++/12/bits/stl_vector.h:1010:4:   required from ‘void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = async_grpc::CompletionQueue; _Alloc = std::allocator<async_grpc::CompletionQueue>; size_type = long unsigned int]’
/home/erick/dependency_ws/src/cartographer/scripts/async_grpc/async_grpc/completion_queue_pool.cc:104:28:   required from here
/usr/include/c++/12/bits/stl_uninitialized.h:90:56: error: static assertion failed: result type must be constructible from input type
   90 | ctible<_ValueType, _Tp>::value,
      |                          ^~~~~

/usr/include/c++/12/bits/stl_uninitialized.h:90:56: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
make[2]: *** [CMakeFiles/async_grpc.dir/build.make:97: CMakeFiles/async_grpc.dir/async_grpc/completion_queue_pool.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:127: CMakeFiles/async_grpc.dir/all] Error 2

Same issue, trying to investigate.

Found a deleted copy constructor in the new Ubuntu package:
/usr/include/grpcpp/impl/codegen/sync.h:52:3: note: 'Mutex' has been explicitly marked deleted here
  Mutex(const Mutex&) = delete;
  ^

This version of gRPC-async seemed incompatible with the new main gRPC library.


Cant Discover Ports in LTSB2016 Microsoft Windows [Version 10.0.14393]

dump.zip
#######################################################
Port Discovery
#######################################################
Getting controllers... and nothing more
Worked OK with another Windows edition

finally it works, but it took a very long time, maybe 5 minutes, i ll check later
It was much faster in newer Windows, is it Ok?

Sorry, I have been somewhat busy lately. I have been working on a Python rewrite of the backend (usbdump) but it will take a while to complete. I'm hoping this will let me debug issues with dumping info and will make things faster.
Regarding com.apple.driver.AppleUSBMergeNub, I can definitely add that for you. I will put it on the to-do list.

OK, faster or slower, but it works!
Thanks, it will be great BTW the kext with com.apple.driver.AppleUSBMergeNub seems to be working in new macOS too, as "deprecated feature" so I dont need two different kexts

0.1.0 may fix the issue (I've fixed some stuff in usbdump, the backend). Please test with it, and if it doesn't work, send a new debug log from it (I added some code to log the duration for certain tasks, so I can hopefully pinpoint the issue).
I released 0.1.0 before I finished AppleUSBMergeNub so it'll probably be in 0.1.1

Thanks, trying but some errors here
#######################################################
Change Settings
#######################################################
T.  Show Friendly Types: Enabled
Show friendly types (ie. 'USB 3 Type A') instead of numbers.
N.  Use Native Classes: Enabled
Use native Apple classes (AppleUSBHostMergeProperties) instead of the USBToolBox kext.
Traceback (most recent call last):
File "Windows.py", line 152, in
File "Windows.py", line 35, in init
File "base.py", line 49, in init
File "base.py", line 696, in monu
File "utils.py", line 204, in start
File "utils.py", line 188, in select
File "base.py", line 675, in change_settings
File "utils.py", line 202, in start
File "utils.py", line 163, in print_options
File "base.py", line 648, in
File "base.py", line 652, in color_status
KeyError: 'use_legacy_native'
[6488] Failed to execute script 'Windows' due to unhandled exception!
C:\Users\Rodion S>

#######################################################
Select Ports and Build Kext
#######################################################
Расширяемый хост-контроллер Fresco Logic USB 3.0 — 1.0 (Майкрософт) | USB 3.0 (XHCI) | 2/8 ports
[ ]  1.  Port 1 | USB 2.0 | USB 3 Type A (guessed) | Companion to 5
[ ]  2.  Port 2 | USB 2.0 | USB 3 Type A (guessed) | Companion to 6
[#]  3.  Port 3 | USB 2.0 | USB 3 Type A (guessed) | Companion to 7
[ ]  4.  Port 4 | USB 2.0 | USB 3 Type A (guessed) | Companion to 8
[ ]  5.  Port 5 | USB 3.0 | USB 3 Type A (guessed) | Companion to 1
[ ]  6.  Port 6 | USB 3.0 | USB 3 Type A (guessed) | Companion to 2
[#]  7.  Port 7 | USB 3.0 | USB 3 Type A (guessed) | Companion to 3
- VLI Product String - operating at USB 3.0
[ ]  8.  Port 8 | USB 3.0 | USB 3 Type A (guessed) | Companion to 4
Intel(R) ICH9 Family USB универсальный хост-контроллер  - 2936 | USB 1.1 (UHCI) | 1/2 ports
[#]  9.  Port 1 | USB 1.1 | Type A (guessed)
- CSR8510 A10 - operating at USB 1.1
[ ]  10. Port 2 | USB 1.1 | Type A (guessed)
Intel(R) ICH9 Family USB2 расширенный хост-контроллер  - 293A | USB 2.0 (EHCI) | 2/6 ports
[ ]  11. Port 1 | USB 2.0 | Type A (guessed)
[#]  12. Port 2 | USB 2.0 | Type A (guessed)
- Generic USB Hub - operating at USB 2.0
- E-MU 0202 | USB - operating at USB 2.0
- USB DISK 2.0 - operating at USB 2.0
[ ]  13. Port 3 | USB 2.0 | Type A (guessed)
[ ]  14. Port 4 | USB 2.0 | Type A (guessed)
[ ]  15. Port 5 | USB 2.0 | Type A (guessed)
[#]  16. Port 6 | USB 2.0 | Type A (guessed)
- Keyboard Hub - operating at USB 2.0
- Apple Keyboard - operating at USB 1.1
- USB Optical Mouse - operating at USB 1.1
Intel(R) ICH9 Family USB2 расширенный хост-контроллер  - 293C | USB 2.0 (EHCI) | 0/6 ports
[ ]  17. Port 1 | USB 2.0 | Type A (guessed)
[ ]  18. Port 2 | USB 2.0 | Type A (guessed)
[ ]  19. Port 3 | USB 2.0 | Type A (guessed)
[ ]  20. Port 4 | USB 2.0 | Type A (guessed)
[ ]  21. Port 5 | USB 2.0 | Type A (guessed)
[ ]  22. Port 6 | USB 2.0 | Type A (guessed)
Intel(R) ICH9 Family USB универсальный хост-контроллер  - 2937 | USB 1.1 (UHCI) | 0/2 ports
[ ]  23. Port 1 | USB 1.1 | Type A (guessed)
[ ]  24. Port 2 | USB 1.1 | Type A (guessed)
Intel(R) ICH9 Family USB универсальный хост-контроллер  - 2938 | USB 1.1 (UHCI) | 0/2 ports
[ ]  25. Port 1 | USB 1.1 | Type A (guessed)
[ ]  26. Port 2 | USB 1.1 | Type A (guessed)
Intel(R) ICH9 Family USB универсальный хост-контроллер  - 2934 | USB 1.1 (UHCI) | 0/2 ports
[ ]  27. Port 1 | USB 1.1 | Type A (guessed)
[ ]  28. Port 2 | USB 1.1 | Type A (guessed)
Intel(R) ICH9 Family USB универсальный хост-контроллер  - 2939 | USB 1.1 (UHCI) | 0/2 ports
[ ]  29. Port 1 | USB 1.1 | Type A (guessed)
[ ]  30. Port 2 | USB 1.1 | Type A (guessed)
Intel(R) ICH9 Family USB универсальный хост-контроллер  - 2935 | USB 1.1 (UHCI) | 0/2 ports
[ ]  31. Port 1 | USB 1.1 | Type A (guessed)
[ ]  32. Port 2 | USB 1.1 | Type A (guessed)
Binding companions is currently on.
Traceback (most recent call last):
File "Windows.py", line 152, in
File "Windows.py", line 35, in init
File "base.py", line 49, in init
File "base.py", line 696, in monu
File "utils.py", line 204, in start
File "utils.py", line 188, in select
File "base.py", line 337, in select_ports
KeyError: 'use_legacy_native'
[6596] Failed to execute script 'Windows' due to unhandled exception!

Can you delete the existing settings.json? I need to work on better settings handling in general, but for now that will work around it

Can you delete the existing settings.json? I need to work on better settings handling in general, but for now that will work around it

Yes! I deleted all the files from old release and now it works! Thanks a lot!

👍


Documentation information

Not your place to merge into master!!! this is not the way to fix these.
You are correct about the mistakes in the docs ... should be set(...) and getIPAddress()

My mistake something went wrong on my side never my intention....

@erikk1986 No worries ... you'll have to redo the PR though, limited to the user guide mistakes :-/


Ensure correct emulation for historical events

Some issues have been reported when using the EMTF emulator from the latest CMSSW release to run on old collision & MC simulation data, due to conflicts among global tags/O2O/python config. The emulator needs to ensure that (global tag, O2O, era, python config, CMSSW release)-combination gives consistent results.
Specific tasks:

[ ] Implement EMTFSetup class used to carry "global" objects (such as VersionControl).
[ ] Implement VersionControl class (detailed below).

class VersionControl

The EMTF emulator is configured by parameters and assets. By parameters, I refer to configuration parameters, such as firmware version, era, etc -- all the things that are specified in the "L1TMuonEndCapTrackProducer" module + all the things that are provided by the "L1TMuonEndCapParamsRcd" event setup module. By assets, I refer to (often large) data files, such as all the things that are stored under the "L1Trigger/L1TMuon/data" directory + all the things that are provided by the "L1TMuonEndCapForestRcd" event setup module (currently the BDT xml files, but there could be more in the future).

For collision data, both the parameters and assets should be fully controlled by the O2O. Currently, this is done by configuring the emulator logic based on the firmware version [1] (which is provided by the L1TMuonEndCapParamsRcd, which depends on the GlobalTag). Future modifications to the EMTF algorithm will require adding more lines to [1].

However, due to incorrect implementation, certain parameters are not being configured in [1], but in [2].

For MC simulation, both the parameters and assets should be fully controlled by the global "era" parameter. [3] Currently, this is not the case, as the parameters and assets are configured by a mix of the python cfi file (simEmtfDigis_cfi.py) and the L1TMuonEndCapForestRcd (which depends on the GlobalTag). It should be changed such that it works similarly to the way it works for collision data, except that the era takes the place of the firmware version.

Fix proposal: once the new class (tentatively "VersionControl") is implemented, this should be trivial. Instead of using the firmware version, it would use the era (as a string). Currently, it is expected that we have 3 different eras: Run2_2016, Run2_2017, and Run2_2018. It is also expected that another era: Run3_2021 to be added in the future.

With the proposed fix, there should be no need to expose many of the configuration parameters in the python cfi file to the users. A lot of them should be removed to avoid confusion in the future, leaving simply the era and the various InputTags. [4] (probably also the CSCInputBXShift and the likes which are technically not part of EMTF, but from "upstream").

It is still necessary to make sure that the O2O functions correctly, and that the GTs / payloads are set up correctly. This is the same thing being pointed out by Andrew in the previous email. This makes sure that the assets loaded into EMTF are correct. (And for collision data, also the firmware version).

I think there should be someone (yes, a real human) who takes care of this for the EMTF emulator. It could be someone from the EMTF group, or it could be someone from L1T who can take care of not just EMTF, but also others (GMT, BMTF, OMTF, etc). I'd prefer the latter, but of course I understand if EMTF has to take care of itself.

[1] https://github.com/cms-sw/cmssw/blob/master/L1Trigger/L1TMuonEndCap/src/SectorProcessor.cc#L133
[2] https://github.com/cms-sw/cmssw/blob/master/L1Trigger/L1TMuonEndCap/src/TrackFinder.cc#L27
[3] https://github.com/cms-sw/cmssw/blob/master/Configuration/StandardSequences/python/Eras.py
[4] https://github.com/cms-sw/cmssw/blob/master/L1Trigger/L1TMuonEndCap/python/simEmtfDigis_cfi.py

UPDATE 04/21

The configuration parameter "FWConfig" will be kept. When enabled, all the configuration parameters and assets should be fully controlled by the firmware version as provided by the GlobalTag. In the case of collision data, the EMTF emulator should match very closely to the EMTF unpacker.

This is the behavior as described above. It should work for both collision data and MC simulation.

When "FWConfig" is disabled, the configuration parameters should be controlled by the global era parameter. To be clear, the firmware version as provided by the GlobalTag is ignored in this case. BUT the assets are controlled by the GlobalTag (e.g. the BDT trees). The user is responsible for providing the matching GlobalTag.

When there is a conflict between the global era and the GlobalTag, the user should receive an error message.
The ability to control the behavior without the firmware version allows us to do future developments (where firmware hasn't even been written).

Submitted PR: cms-sw#29767


Indexing error in pepolar_unwarp_wf.prepare_epi_opposite/matching_wf.merge

Hi,
I'm running fmriprep on a dataset with AP/PA fieldmaps, and got a same error in pepolar_unwarp_wf.prepare_epi_opposite_wf.merge and pepolar_unwarp_wf.prepare_epi_matching_wf.merge for all of my functional runs. I wonder if you know what caused this error or how to fix it...
Here's the error information:
Node Name: fmriprep_wf.single_subject_133_wf.func_preproc_task_face_run_01_wf.pepolar_unwarp_wf.prepare_epi_opposite_wf.merge
File: /u/project/CCN/cparkins/data/hierarchy/fmriprep/output_shortcmd_133/fmriprep/sub-133/log/20171129-020515_bf1f0454-c454-4555-9aea-a47d85aaf584/crash-20171129-021319-mengdu-merge-69a145ee-c129-4150-a591-fdc5c8bf3d59.txt
Working Directory: /u/scratch/m/mengdu/short_cmd_133/fmriprep_wf/single_subject_133_wf/func_preproc_task_face_run_01_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/merge
Inputs:
  args: <undefined>
  auto_detect_sensitivity: True
  average_metric: <undefined>
  environ: {'SUBJECTS_DIR': '/u/project/CCN/apps/freesurfer/6.0.0/subjects', 'OMP_NUM_THREADS': '1'}
  fixed_timepoint: True
  ignore_exception: False
  in_files: ['/u/scratch/scratch2/m/mengdu/short_cmd_133/fmriprep_wf/single_subject_133_wf/func_preproc_task_face_run_01_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0000.nii.gz']
  in_intensity_scales: <undefined>
  initial_timepoint: 1
  initial_transforms: <undefined>
  intensity_scaling: True
  no_iteration: True
  num_threads: 1
  out_file: template.nii.gz
  outlier_sensitivity: <undefined>
  scaled_intensity_outputs: <undefined>
  subjects_dir: /u/project/CCN/apps/freesurfer/6.0.0/subjects
  subsample_threshold: 200
  terminal_output: <undefined>
  transform_outputs: <undefined>

Traceback (most recent call last):
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 51, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 407, in run
    self._run_interface()
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 517, in _run_interface
    self._result = self._run_command(execute)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 650, in _run_command
    result = self._interface.run()
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/freesurfer/base.py", line 268, in run
    return super(FSCommandOpenMP, self).run(**inputs)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/freesurfer/base.py", line 144, in run
    return super(FSCommand, self).run(**inputs)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1089, in run
    outputs = self.aggregate_outputs(runtime)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1154, in aggregate_outputs
    predicted_outputs = self._list_outputs()
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/fmriprep/interfaces/freesurfer.py", line 73, in _list_outputs
    transform_file = outputs['transform_outputs'][0]
TypeError: '_Undefined' object does not support indexing

I've also tried to use --ignore fieldmaps  and --no-freesurfer , but the same error is still there.  The version of fmriprep I'm using is 1.0.0-rc11, and my dataset has passed the BIDS validator.
It seems to me that it's due to indexing outputs['transform_outputs'], which is undefined because the node input transform_outputs is undefined. When you instantiate the StructuralReference class here, is there supposed to be a transform_outputs passed to the constructor?
Please let me know if you know more information about the error or a way fix it. Thanks a lot!!!

Could you send us some data so that we reproduce this?

Yes, I've uploaded one subject's data here.
Thanks for your help!

What version of fmriprep are you using, and are you running it locally, or through Docker/Singularity?
My initial thought is that your niworkflows doesn't include a recent enough version of nipype, which suggests you're running locally with an older version of niworkflows. I suspect that pip install --upgrade niworkflows will fix your issue.

I've been using fmriprep v1.0.0-rc11 and running it locally (rather than docker/singularity). My nipype version is 0.13.1, and niworkflows version was 0.1.10. I just updated niworkflows to 0.1.11 so I can try again (is that where you think the issue is?).

Hmm. That should be new enough. Let me have a look.

Okay thank you!

Think I figured out the problem. Are you able to install from a branch and test?

Cool I'll try that. Thank you!

Hey, I'm running it and now getting a new error at the same places, which seems probably still related to the last issue (?):
Node: fmriprep_wf.single_subject_133_wf.func_preproc_task_face_run_01_wf.pepolar_unwarp_wf.prepare_epi_matching_wf.merge
Working directory: /u/scratch/m/mengdu/short_cmd_133_fix/fmriprep_wf/single_subject_133_wf/func_preproc_task_face_run_01_wf/pepolar_unwarp_wf/prepare_epi_matching_wf/merge

Node inputs:

args = <undefined>
auto_detect_sensitivity = True
average_metric = <undefined>
environ = {'SUBJECTS_DIR': '/u/project/CCN/apps/freesurfer/6.0.0/subjects', 'OMP_NUM_THREADS': '1'}
fixed_timepoint = True
ignore_exception = False
in_files = ['/u/scratch/scratch2/m/mengdu/short_cmd_133_fix/fmriprep_wf/single_subject_133_wf/func_preproc_task_face_run_01_wf/pepolar_unwarp_wf/prepare_epi_matching_wf/split/mapflow/_split0/vol0000.nii.gz']
in_intensity_scales = <undefined>
initial_timepoint = 1
initial_transforms = <undefined>
intensity_scaling = True
no_iteration = True
num_threads = 1
out_file = template.nii.gz
outlier_sensitivity = <undefined>
scaled_intensity_outputs = <undefined>
subjects_dir = /u/project/CCN/apps/freesurfer/6.0.0/subjects
subsample_threshold = 200
terminal_output = <undefined>
transform_outputs = <undefined>

Traceback (most recent call last):
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 51, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 407, in run
    self._run_interface()
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 517, in _run_interface
    self._result = self._run_command(execute)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 650, in _run_command
    result = self._interface.run()
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/freesurfer/base.py", line 268, in run
    return super(FSCommandOpenMP, self).run(**inputs)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/freesurfer/base.py", line 144, in run
    return super(FSCommand, self).run(**inputs)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1090, in run
    outputs = self.aggregate_outputs(runtime)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1177, in aggregate_outputs
    raise error
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base.py", line 1171, in aggregate_outputs
    setattr(outputs, key, val)
  File "/u/home/m/mengdu/.local/lib/python3.6/site-packages/niworkflows/nipype/interfaces/traits_extension.py", line 92, in validate
    self.info_text, value))
traits.trait_errors.TraitError: The trait 'out_file' of a RobustTemplateOutputSpec instance is an existing file name, but the path  '/u/scratch/scratch2/m/mengdu/short_cmd_133_fix/fmriprep_wf/single_subject_133_wf/func_preproc_task_face_run_01_wf/pepolar_unwarp_wf/prepare_epi_matching_wf/merge/template.nii.gz' does not exist.

Yeah, sorry, that was the error I referred to in https://github.com/poldracklab/fmriprep/pull/859#issuecomment-348062753. Grab that branch again and it should be fixed.

Yes this is fixed! Thank you.

Hi @MetaD, could I ask you to tell your experience here -> https://neurostars.org/t/fmriprep-success-stories/1111?u=oesteban ?

Sure :)


edit password

Laravel Version:  5.5
PHP Version:  7.2
Laravel-admin: 1.7

Description:
how to encrypt password when edit?
Steps To Reproduce:
https://prnt.sc/p72i3n
i made user controller and model
when i try to edit with new password, its become normal text, not encrypted
i need password field encrypted by Bcrypt()

i found this example on demo version.
$form->saving(function (Form $form) {
if ($form->password && $form->model()->password != $form->password) {
$form->password = bcrypt($form->password);
}
});


0% coverage

Why does the coverage show 0%?
https://coveralls.io/github/piwik/piwik-sdk-android?branch=master

Very strange, I'll try to fix it ASAP

What caused it?

@d4rken new version of JaCoCo plugin which came with gradle update here https://github.com/piwik/piwik-sdk-android/pull/100/files#diff-c197962302397baf3a4cc36463dce5eaR8

Do you know why that new version break coverage reporting?

Don't know, but this workaround is placed under "Potential breaking changes" section here https://docs.gradle.org/current/release-notes#jacoco-version-upgrade-to-0.7.6


circleci_failing

https://github.com/PCMDI/pcmdi_metrics/pull/647

Keeping it open until the circle ci button changes to "success" at the front page of this repo.


Dependency curl

Really nice job, works almost out of the box for me (tested with GoPro 9 Black).
Obviously curl is a dependency. That's why it failed for me after the first try :+1:

Thanks for reporting @hksapiens ! I'll make sure to add it as a dependency

Thanks for reporting @hksapiens ! I'll make sure to add it as a dependency

resolved with https://github.com/jschmid1/gopro_as_webcam_on_linux/pull/3

resolved with https://github.com/jschmid1/gopro_as_webcam_on_linux/pull/3


shown size of drive is not correct

It says 460M while it is 300Gb empty harddisk

Mine also said 460M.  Led me down a bit of a rabbit hole until i just decided to ignore it :D

Ok, it's because the hard drive is mounted. Thank you! working on it.

Hey, I made https://github.com/jochemin/raspnode/pull/10 for this ;)

Yes, vmavromatis, my concern is if the hard drive is not sda1 I don't know if it's possible to have a hard drive detected as sda2 or another way, in that case the script will fail.

And I would like to handle if the hard drive has more than one partition.


audio recording on safari, noise is particularly loud and severely distorted

I'm trying to use a StereoAudioRecorder to record audio. Its working on all other browsers, but on Safari the audio, when the sampling rate is set to 16khz, the audio noise played back or saved is particularly large and severely distorted.
var options = {
        type: 'audio',
        numberOfAudioChannels: isEdge ? 1 : 2,
        checkForInactiveTracks: true,
        bufferSize: 16384
    };

    if(isSafari || isEdge) {
        options.recorderType = RecordRTC.StereoAudioRecorder;
    }

    if(navigator.platform && navigator.platform.toString().toLowerCase().indexOf('win') === -1) {
        options.sampleRate = 48000; // or 44100 or remove this line for default
    }

    if(isSafari) {
        options.desiredSampRate = 16000;
        options.sampleRate = 44100;
        options.bufferSize = 4096;
        options.numberOfAudioChannels = 1;
    }

Thank you for any help. And please let me know if any more details would be helpful.

Same problem, audio heavily clicks and pops

anything on this one?

Is there any solution on this?


poor navigation experience in the docs concept section

Problem description
The Concepts overview page lists all the high level concepts but when one navigates to a particular concept, it doesn’t link to the next concept.
Though the sidebar contains the concepts, these are not in the same order as the overview page.
Suggestions for a fix
Have a consistent ordering of the concepts
When clicking on a particular concept, have navigation buttons to visit the prev/next concept.
All credits go to @aaijazi

#3724


Hotfix updates

Changes directily related to the hotfix:

Update the HelloWorld project to use 0.11.1-hotfix.
Use the updated TracyAllocSrclocName provided by the hotfix.

Changes unrelated to the hotfix:

Expose TracyEmitMessageAppinfo via Profile.AppInfo(string appInfo).
Add a simple example usage of AppInfo to the example program.
Don't use Convert() in IsConnected (this was something I did, and I've changed my mind about the implementation).

Great improvement, thank you.


MLFlow UI doesn't display artifacts with save_dir specification in MLFlowLogger

Bug description
Hello,
As said in #16112, if I set the save_dir of MLFlowLogger, the path of the saved artifacts is wrong, we can't see them in MLFlow UI.
How to reproduce the bug

Run the following code

import json
import os

import torch
from torch.utils.data import DataLoader, Dataset

from pytorch_lightning import LightningModule, Trainer
from pytorch_lightning.loggers.mlflow import MLFlowLogger

class RandomDataset(Dataset):
    def __init__(self, size, length):
        self.len = length
        self.data = torch.randn(length, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

class BoringModel(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def training_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("train_loss", loss)
        return {"loss": loss}

    def validation_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("valid_loss", loss)

    def test_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("test_loss", loss)

    def configure_optimizers(self):
        return torch.optim.SGD(self.layer.parameters(), lr=0.1)

def create_logger():
    return MLFlowLogger(
        save_dir="experiments/mlruns",
        experiment_name="EXP",
        run_name="RUN",
    )

def run():
    train_data = DataLoader(RandomDataset(32, 64), batch_size=2)
    val_data = DataLoader(RandomDataset(32, 64), batch_size=2)
    test_data = DataLoader(RandomDataset(32, 64), batch_size=2)

    model = BoringModel()
    trainer = Trainer(
        default_root_dir=os.getcwd(),
        limit_train_batches=1,
        limit_val_batches=1,
        limit_test_batches=1,
        num_sanity_val_steps=0,
        max_epochs=1,
        enable_model_summary=False,
    )
    logger = create_logger()
    trainer.fit(model, train_dataloaders=train_data, val_dataloaders=val_data)
    artifact_file = "artifact.json"
    with open(artifact_file, "w") as f:
        json.dump(trainer.test(model, dataloaders=test_data), f)
    logger.experiment.log_artifact(
        logger.run_id,
        artifact_file
    )

if __name__ == "__main__":
    run()

Open MLflow UI with the following commands

cd experiments/
mlflow ui

Open http://<IP_ADDRESS>:5000 with your web browser

Click on the experiment EXP and in the run RUN

You see that there is no artifact

Error messages and logs
No response
Environment

Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0): 1.6.5
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 1.10):
#- Python version (e.g., 3.9): 3.9.15
#- OS (e.g., Linux): Linux
#- CUDA/cuDNN version: 11.3
#- GPU models and configuration: NVIDIA GeForce RTX 3070 Laptop GPU
#- How you installed Lightning(`conda`, `pip`, source): pip
#- Running environment of LightningApp (e.g. local, cloud): local

More info
If I replace the create_logger function from the code to reproduce by the following code, it fix the issue.
def create_logger():
    from pathlib import Path
    save_dir="experiments/mlruns"
    return MLFlowLogger(
        save_dir=save_dir,
        experiment_name="EXP",
        run_name="RUN",
        tracking_uri=f"file://{str(Path(save_dir).resolve())}"
    )

This was fixed in #18395. Thanks for posting the code, I was able to confirm that it works now:


Fix web tls

Purpose

Fix web tls

Codecov Report

Merging #677 into master will decrease coverage by 0.18%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #677      +/-   ##
==========================================
- Coverage   74.26%   74.07%   -0.19%
==========================================
  Files          45       45
  Lines        1220     1219       -1
  Branches       95       95
==========================================
- Hits          906      903       -3
- Misses        274      275       +1
- Partials       40       41       +1

Impacted Files
Coverage Δ

...rc/main/java/io/cellery/models/ClusterIngress.java
66.66% <ø> (ø)
:arrow_up:

.../src/main/java/io/cellery/impl/CreateInstance.java
89.51% <ø> (-0.08%)
:arrow_down:

...ents/lang/src/main/java/io/cellery/models/TLS.java
75% <ø> (ø)
:arrow_up:

...src/main/java/io/cellery/impl/CreateCellImage.java
88.6% <100%> (-0.44%)
:arrow_down:

...ts/lang/src/main/java/io/cellery/CelleryUtils.java
62.1% <100%> (-0.18%)
: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 9269755...28ac54c. Read the comment docs.


multi-gpu support for Ampere

Hi, I saw that in the multi_gpu branch, GPU architecture was statically specified to Volta(sm_70) :
$ cat benchmark_multi_gpu/Makefile|grep -m1 -C1 -- -gencode
NVCCGENCODE = \
              -gencode arch=compute_70,code=sm_70
            #   -gencode arch=compute_61,code=sm_61

Does multi-gpu support Ampere?

You can specify additional target architectures, e.g., compute_80 and compute_86 for Ampere. However, the default setting is optimized for a DGX-1 (Volta) system - hence the default compute_70 target. More specifically, the NVLink communication library that we use (gossip) selects a transport plan which is optimized for the NVLInk topology of said system. I would advise you to create such a plan for your target system using the provided generator scripts. This should give you the best performance.

In fact, If I change the architectures in makefile to compute_80, without any other changes, the benchmark_multi_gpu/single_value_benchmark.out would be trapped into infinitely waiting

x86_64 machine with (GPU A100-40GB * 2)
glibc-2.27
gcc-7.5.0
cuda-11.7

From cuda-gdb where :

$ sudo /usr/local/cuda/bin/cuda-gdb -p `nvidia-smi|tail -n2|head -n1|tr -s ' '|cut -d' ' -f5` -ex 'where'
NVIDIA (R) CUDA Debugger
11.7 release
Portions Copyright (C) 2007-2022 NVIDIA Corporation
GNU gdb (GDB) 10.2

... ...

Thread 1 "single_value_be" received signal SIGURG, Urgent I/O condition.
0x00007fdef5feebec in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#0  0x00007fdef5feebec in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#1  0x00007fdef61ee292 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#2  0x00007fdef61eeda9 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#3  0x00007fdef632dbe2 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
--Type  for more, q to quit, c to continue without paging--
#4  0x00007fdef5f9ea93 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#5  0x00007fdef5f9ef81 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#6  0x00007fdef5f9fef8 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#7  0x00007fdef61610c1 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#8  0x00005652212f45d9 in __cudart606 ()
#9  0x00005652212c333d in __cudart743 ()
#10 0x00005652213197b5 in cudaMemcpyAsync ()
#11 0x000056522129d7fb in warpcore::SingleValueHashTable, warpcore::hashers::MurmurHash, 8ul>, warpcore::storage::key_value::AoSStore, 2048ul>::size (stream=0x0,
    this=0x565223b18a70) at ../include/single_value_hash_table.cuh:584
#12 warpcore::SingleValueHashTable, warpcore::hashers::MurmurHash, 8ul>, warpcore::storage::key_value::AoSStore, 2048ul>::load_factor (stream=,
    this=0x565223b18a70) at ../include/single_value_hash_table.cuh:603
#13 single_value_benchmark, warpcore::hashers::MurmurHash, 8ul>, warpcore::storage::key_value::AoSStore, 2048ul> > (
    multi_split_overhead_factor=1.5, thermal_backoff=..., iters=5 '\005', load_factors=..., print_headers=true,
    transfer_plan=..., dev_ids=..., input_sizes=...) at src/single_value_benchmark.cu:222
#14 main (argc=1, argv=0x7ffcd4d1e218) at src/single_value_benchmark.cu:325

I will try generator scripts in gossip later. Thanks for reply.

I found that the  infinitely waiting of multi-gpu program is because of gpu memory error.
In include/single_value_hash_table.cuh : 542
cudaMemsetAsync(tmp, 0, sizeof(index_t), stream);

the memory is invalid from now. Here program did not check CUDA error.
And if I insert a cudaSetDevice process at benchmark_multi_gpu/src/single_value_benchmark.cu : 222

            for(uint32_t i = 0; i < num_gpus; ++i) {
                actual_load.emplace_back(hash_table[i].load_factor());
                status.emplace_back(hash_table[i].pop_status());
            }

becomes

            for(uint32_t i = 0; i < num_gpus; ++i) {
                cudaSetDevice(dev_ids[i]); CUERR
                actual_load.emplace_back(hash_table[i].load_factor());
                status.emplace_back(hash_table[i].pop_status());
            }

It will work for me. It seems that this is the correct relation between memory and gpu?
Although why it works on only Volta without cudaSetDevice is still unknown.


Cannot run macOS binary

"zsh: exec format error: ./game"

Same

Thanks for the response. We are very sorry for the inconvinence. The Final Build Out release should work now.


The curl request with client certificates are not converted correctly in Python

Example command?

curl https://example.com/endpoint -H 'content-type: application/json' -d '{ "data": "data" }' --cert /path/to/cert --key /path/to/key

--cacert also doesn't seem correct.

Very handy project, thank you, @NickCarneiro!

curl https://example.com/endpoint -H 'content-type: application/json' -d '{ "data": "data" }' --cert /path/to/cert --key /path/to/key

Should translate to  something like
import requests

headers = {
    'content-type': 'application/json',
}

cert=('/path/to/cert', '/path/to/key')

data = '{ "data": "data" }'

response = requests.post('https://example.com/endpoint', headers=headers, cert=cert, data=data)

whereas omitting --key should result in cert='/path/to/cert'.
Related docs: https://2.python-requests.org/en/master/user/advanced/#client-side-certificates


Warning message on hover build

What is this warning mean?
It shown when I build or run application
poetra@warmachine:/media/poetra/SSD/Project/Mobile/TSPMProduction/tspm_production$ hover build -b '@beta'
hover: Using engine from cache
hover: ⚠ The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: ⚠     It's advised to use the beta channel. ($ flutter channel beta)
go: finding github.com/go-flutter-desktop/go-flutter beta
go: finding github.com/go-gl/gl latest
go: finding github.com/go-gl/glfw latest
# github.com/go-gl/glfw/v3.2/glfw
In file included from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/c_glfw_linbsd.go:24:
<EMAIL_ADDRESS>In function ‘_glfwInitJoysticksLinux’:
/home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/linux_joystick.c:224:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 9 [-Wformat-truncation=]
             snprintf(path, sizeof(path), "%s/%s", dirname, entry->d_name);
                                          ^~~~~~~
In file included from /usr/include/stdio.h:867,
                 from /usr/include/X11/Xcursor/Xcursor.h:26,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/x11_platform.h:39,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/internal.h:169,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/x11_init.c:28,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/c_glfw_linbsd.go:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 20
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# github.com/go-gl/glfw/v3.2/glfw
In file included from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/c_glfw_linbsd.go:24:
<EMAIL_ADDRESS>In function ‘_glfwInitJoysticksLinux’:
/home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/linux_joystick.c:224:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 9 [-Wformat-truncation=]
             snprintf(path, sizeof(path), "%s/%s", dirname, entry->d_name);
                                          ^~~~~~~
In file included from /usr/include/stdio.h:867,
                 from /usr/include/X11/Xcursor/Xcursor.h:26,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/x11_platform.h:39,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/internal.h:169,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/glfw/src/x11_init.c:28,
                 from /home/poetra/go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190519095719-e6da0acd62b1/v3.2/glfw/c_glfw_linbsd.go:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 20
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Not related to go-flutter or hover.
Please submit a PR or a issue to https://github.com/go-gl/glfw.
If really want to help them; find a fix, the warning comes from the line 224 of linux_joystick.c.