NotAuthorizedException when trying to get cognitoTokens on Apple Silicon.

Describe the bug
We are using Amplify and Cognito to sign-in users in our app. We also support iOS apps on Apple Silicon Macbooks, which till latest macOS version worked perfectly. Since updating to macOS Ventura (13.0), we are no longer able to retrieve cognito credentials to perform API requests inside the app.
From the logs, I can see that user is successfully signed in using Amplify.Auth.signIn() method.
{"AuthenticationResult":{"AccessToken":"[MASKED]","NewDeviceMetadata":{"DeviceGroupKey":"[MASKED]","DeviceKey":"[MASKED]"},"RefreshToken":"[MASKED]","TokenType":"Bearer"},"ChallengeParameters":{}}

But when I try to fetch the session with Amplify.Auth.fetchAuthSession(), the AuthCognitoTokensProvider returns error whenever I try to call getCognitoTokens()
Also, the following logs are seen in Xcode when trying to fetch the accessTokens:
2022-11-08 21:50:23:258 Within Health[52376:1115645] Adding FetchUserPoolTokensOperation operation
2022-11-08 21:50:23:258 Within Health[52376:1115359] A603FC05-BEF8-4654-A6A5-C4C984E1453E Start execution
2022-11-08 21:50:23:259 Within Health[52376:1115645] 93C23221-F0DC-4484-A92E-5F4731047869 Created FetchUserPoolTokensOperation
2022-11-08 21:50:23:260 Within Health[52376:1115359] A603FC05-BEF8-4654-A6A5-C4C984E1453E notStarted: startOperation -> fetching
2022-11-08 21:50:23:260 Within Health[52376:1115359] A603FC05-BEF8-4654-A6A5-C4C984E1453E Inside fetch token
2022-11-08 21:50:23.261381+0200 Within Health[52376:1115359] OSStatus error: [-34018] Security error has occurred.
2022-11-08 21:50:23:261 Within Health[52376:1115359] A603FC05-BEF8-4654-A6A5-C4C984E1453E  No User name
2022-11-08 21:50:23:262 Within Health[52376:1115359] A603FC05-BEF8-4654-A6A5-C4C984E1453E fetching: noUserFound -> error noUserFound
2022-11-08 21:50:23:262 Within Health[52376:1115359] A603FC05-BEF8-4654-A6A5-C4C984E1453E Error
2022-11-08 21:50:23:262 Within Health[52376:1115763] 93C23221-F0DC-4484-A92E-5F4731047869 Start execution
2022-11-08 21:50:23:263 Within Health[52376:1115763] 93C23221-F0DC-4484-A92E-5F4731047869 notStarted: startOperation -> fetching
2022-11-08 21:50:23:263 Within Health[52376:1115763] 93C23221-F0DC-4484-A92E-5F4731047869 Inside fetch token
2022-11-08 21:50:23.263552+0200 Within Health[52376:1115763] OSStatus error: [-34018] Security error has occurred.
2022-11-08 21:50:23:263 Within Health[52376:1115763] 93C23221-F0DC-4484-A92E-5F4731047869  No User name
2022-11-08 21:50:23:263 Within Health[52376:1115763] 93C23221-F0DC-4484-A92E-5F4731047869 fetching: noUserFound -> error noUserFound
2022-11-08 21:50:23:263 Within Health[52376:1115763] 93C23221-F0DC-4484-A92E-5F4731047869 Error
2022-11-08 21:50:23:264 Within Health[52376:1115645] GetId failed. Error is [AWSMobileClient.AWSMobileClientError.notSignedIn(message: "User is not signed in to Cognito User Pool, please sign in to use this API.")]
2022-11-08 21:50:23:265 Within Health[52376:1115645] Unable to refresh. Error is [AWSMobileClient.AWSMobileClientError.notSignedIn(message: "User is not signed in to Cognito User Pool, please sign in to use this API.")]
2022-11-08 21:50:23:265 Within Health[52376:1115763] Adding FetchUserPoolTokensOperation operation
2022-11-08 21:50:23:265 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E Created FetchUserPoolTokensOperation
2022-11-08 21:50:23:265 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E Start execution
2022-11-08 21:50:23:265 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E notStarted: startOperation -> fetching
2022-11-08 21:50:23:265 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E Inside fetch token
2022-11-08 21:50:23.266235+0200 Within Health[52376:1115763] OSStatus error: [-34018] Security error has occurred.
2022-11-08 21:50:23:266 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E  No User name
2022-11-08 21:50:23:266 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E fetching: noUserFound -> error noUserFound
2022-11-08 21:50:23:266 Within Health[52376:1115763] 470147FF-7B3E-4193-B667-0EE39A497C1E Error
2022-11-08 21:50:23:266 Within Health[52376:1115645] GetId failed. Error is [AWSMobileClient.AWSMobileClientError.notSignedIn(message: "User is not signed in to Cognito User Pool, please sign in to use this API.")]
2022-11-08 21:50:23:266 Within Health[52376:1115645] Unable to refresh. Error is [AWSMobileClient.AWSMobileClientError.notSignedIn(message: "User is not signed in to Cognito User Pool, please sign in to use this API.")]

2022-11-08 21:41:55:039 Within Health[52159:1104441] Response headers:
{
    "Content-Length" = 111;
    "Content-Type" = "application/x-amz-json-1.1";
    Date = "Tue, 08 Nov 2022 19:41:55 GMT";
    "x-amzn-errormessage" = "Unauthenticated access is not supported for this identity pool.";
    "x-amzn-errortype" = "NotAuthorizedException:";
    "x-amzn-requestid" = "dff2ebbe-16c6-437a-bb92-ce0605858bb5";
}

Please note that this is only an issue on macOS Ventura. Amplify works perfectly fine on previous macOS version and iOS 15/16.
Steps To Reproduce
Steps to reproduce the behavior:
1. Run an iOS app with Amplify on a Macbook with Apple Silicon (Designed for iPad)
2. Perform a sign-in.
3. Try to fetch the session in order to retrieve access token using Amplify.Auth.fetchAuthSession()
4. See error

Expected behavior
Application should be able to retrieve accessToken after a successful login.
Amplify Framework Version
1.28.2
Amplify Categories
Auth
Dependency manager
Cocoapods
Swift version
5
CLI version
10.4.0
Xcode version
14.0
Relevant log output
No response
Is this a regression?
Yes
Regression additional context
No response
Device
Macbook Pro with M1 apple Silicon
iOS Version
13.0 (macOS Ventura)
Specific to simulators
No response
Additional context
No response

Thanks for letting us know @losetchi, glad to hear your issue was resolved.


need to implement these URLs options configure

There still some urls not implement into client's configure here.

[ ] ClientBackURL
[ ] PaymentInfoURL
[ ] ClientRedirectURL
[ ] OrderResultURL

implemented in ac90e370


[ISSUE #2152] add consumer method isRunning state

fix the issuehttps://github.com/apache/rocketmq/issues/2152

Coverage increased (+0.01%) to 51.309% when pulling b62c731b1b904cfedef703ef5b28f8411f36d255 on zhangjin-007:feature/fechstate into 9f95a972e10e0681bc3f2d00e9957aa212e897b5 on apache:master.


Bug: C++WinRT does not correctly handles Chinese characters using Windows.Foundation.Uri

Version
2.0.240405.15
Summary
I have a uri with Chinese character and query string that needs to be parsed with Windows.Foundation.Uri. Using C++WinRT, it always returns me an empty result. But equivalent C# code does returns me expected result.
I have tried changing the file encoding to either UTF-8 and UTF-8 BOM, nothing worked.
Reproducible example
With C++WinRT, create a C++WinRT console application:
    winrt::Windows::Foundation::Uri uri{ LR"(myapp://open?file="C:/我.txt")" };
    winrt::Windows::Foundation::WwwFormUrlDecoder parsed{ uri.Query() };
    for (auto entry : parsed)
    {
        std::wcout << entry.Name().data() << L'\t' << entry.Value().data() << L'\n';
    }

With C#, create a UWP project:
            var uri = new Uri("myapp://open?file=\"C:/我.txt\"");
            var parsed = new WwwFormUrlDecoder(uri.Query);
            foreach (var entry in parsed)
            {
                Debug.WriteLine(entry);
            }

Expected behavior
C# result is expected:

Actual behavior
C++WinRT result:

Additional comments
Repro here

Are you sure the bug is not with the console output? Check the debugger maybe?

Are you sure the bug is not with the console output? Check the debugger maybe?

The break point inside the for loop is not hit. That should be clear enough.

For API questions I suggest: https://docs.microsoft.com/en-us/answers/topics/windows-api.html

@kennykerr I don't know, but both examples uses the same Windows.Foundation.WwwFormUrlDecoder class which makes me wondering. I will ask there too.

It uses the same Windows.Foundation.WwwFormUrlDecoder class, but System.Uri is not the same as Windows.Foundation.Uri. The doc page for Windows.Foundation.Uri calls out some of these potential differences in the Remarks, including potentially relevant statements about percent-encoding non-ASCII characters.
That's as far as I got, but I'm confident that this is where you're seeing behavior differences.


Ignoring unrecognized environment variable REGISTRY_REDIS_PASSWORD

Description
When trying to replace the redis.password configuration via the REGISTRY_REDIS_PASSWORD ENV, it is not actually replaced.
I see this log
time="2024-11-19T11:39:27Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_REDIS_PASSWORD"`

Reproduce

use registry version 3.0.0-rc.1
use this config of distribution

    storage:
      cache:
        blobdescriptor: redis
    redis:
      addrs: [registry-redis-master:6379]
      ## override config with env REGISTRY_REDIS_PASSWORD
      password: replaced-with-env
      db: 0
      dialtimeout: 10ms
      readtimeout: 10ms
      writetimeout: 10ms
      pool:
        maxidle: 16
        maxactive: 64
        idletimeout: 300s
      tls:
        enabled: false

run registry with env configuration

    env -i \
      REGISTRY_REDIS_PASSWORD="my_secret_of_redis_password" \
    /bin/registry serve /etc/application/secret.yaml

try pushing image and check logs of distribution

{"blob":"sha256:cd43ca3ebe4acdc90375a2ec6f1945e3eee504981eb31b00a7746d041189b57c","error":"WRONGPASS invalid username-password pair or user is disabled.","go.version":"go1.23.2","http.request.host":"localhost:5000","http.request.id":"86e75373-871d-4a9f-a083-12fcda8292bf","http.request.method":"GET","http.request.remoteaddr":"[::1]:47182","http.request.uri":"/v2/dev/registry01/nginx/blobs/sha256:cd43ca3ebe4acdc90375a2ec6f1945e3eee504981eb31b00a7746d041189b57c","http.request.useragent":"go-containerregistry/v0.19.2","instance.id":"c5c7f0d6-6f47-40f9-b0f5-24b03c164d5f","level":"error","msg":"error from cache stat(ing) blob","time":"2024-11-19T11:57:19.311598093Z","vars.digest":"sha256:cd43ca3ebe4acdc90375a2ec6f1945e3eee504981eb31b00a7746d041189b57c","vars.name":"dev/registry01/nginx","version":"3.0.0-rc.1"}

check blobs in redis. It will be empty.

localhost:6379> KEYS *
(empty array)

Expected behavior
ENV REGISTRY_REDIS_PASSWORD will replace configuration redis.password
registry version
github.com/distribution/distribution/v3 3.0.0-rc.1
Additional Info
No response

There is a "bug" in configuration package that snuck in when we added support for Redis cluster.  We missed to update the reflection craziness that's done in the package.
As a workaround until this is fixed, you can use REGISTRY_REDIS_OPTIONS_PASSWORD which should do the trick (see https://github.com/distribution/distribution/blob/e3007cd2bcd9526c1c7c92edad419bd0e67531d1/configuration/configuration.go#L743).

Thank you very much, this solved my problem.

hi I have the same problem but with REGISTRY_REDIS_ADDRS
using REGISTRY_REDIS_OPTIONS_ADDRS  does not fix this. anybody got any ideas?

@fboerman you are giving us very little to work with.
At the very least, please state the version of registry you are trying to run and what issue do you actually see (some logs could be useful, too, obviously)
Saying "I have the same problem" is not helpful without context.

@milosgajdos I run version 2.8.2 and I get the same error:
level=warning msg="Ignoring unrecognized environment variable REGISTRY_REDIS_OPTIONS_ADDRS"
with REGISTRY_REDIS_ADDRS i get the same problem.
I defined the env as:
- name: REGISTRY_REDIS_ADDRS
value: "[<IP_ADDRESS>:6379]"

Thanks. Those options have been introduced in v3. NO v2 version supports those options so that will never work for you.
Besides, I strongly recommend you to switch to the latest v3 release; v2 is essentially in a maintenance mode at this pint and it has not seen any updates for over a year.
@legolego621 mind closing this issue, please.

@milosgajdos oh okay but how can I change the redis configuration then for v2? I rather use a stable version that is tagged as latest release then something which is still in pre release

It's in pre-release but it's gotten endless number of bug fixes and performance improvements.
Just compare the commits between the tags.
Honestly, Ive no interest opening v2 code. It's ridden with bugs and all kinds of terrible code plague.
Maybe someone who finds this issue will help you but I doubt it.


go-rename.el doesn't work with symbolic link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version go1.6.2 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/enzoc/App/go_path"
GORACE=""
GOROOT="/home/enzoc/.local/share/umake/go/go-lang"
GOTOOLDIR="/home/enzoc/.local/share/umake/go/go-lang/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?
My environment:

project directory:   /home/enzoc/tmp/GoLang/emacs_setup_test   (/home/enzoc/tmp is a symbolic to /opt/enzoc/tmp)
go file directory:    /home/enzoc/tmp/GoLang/emacs_setup_test/src/cmd/helloworld/t.go
The Emacs "go-mode" would automatic set my GOPATH to /opt/enzoc/tmp/GoLang/emacs_setup_test (true directory). When I call the "go-rename", it forms the "-offset=%s" with buffer name as "/home/enzoc/tmp/GoLang/emacs_setup_test/src/cmd/helloworld/t.go" which doesn't match with the GOPATH. Then I go "Can't find package contains ..." error.
I tried from terminal to set both GOPATH and "-offset=" file name to true directory and file name, it works well.
So I guess, if "go-rename.el" can make both the GOPATH and buffer name use the true file name or directory name, that issue should be solved.

What did you expect to see?

I would like to see both GOPATH and --offset is set with true directory or file name as:
GOPATH=/opt/enzoc/tmp/GoLang/emacs_setup_test/
--offset=/opt/enzoc/tmp/GoLang/emacs_setup_test/src/cmd/helloworld/t.go:XXX

What did you see instead?

But what I saw is:
GOPATH=/opt/enzoc/tmp/GoLang/emacs_setup_test/
--offset=/home/enzoc/tmp/GoLang/emacs_setup_test/src/cmd/helloworld/t.go:XXX
That causes "gorename" return error as "Can't find package contains ...".

CC @alandonovan

The Emacs integration is not part of the x/tools repository anymore. If this is indeed an issue specific to Emacs and not rename itself please consider filing the issue at https://github.com/dominikh/go-mode.el

Even though it may be possible to work around the problem with editor-specific fixes, I think the underlying problem is in the gorename command.  (guru has an almost identical problem, Issue #17515). The solution is that gorename's logic to find the package containing a given file should use inode (os.SameFile) not textual equivalence when comparing file names.

not sure where is the real underlying (my gut feeling think it would be in go-rename) but it is much easier to fix in emacs so submitted one

Why does go-guess-gopath in go-mode.el apply file-truename to the candidate GOPATH directory?  Generally it's best to avoid "normalizing" filenames (absolutizing, resolving symbolic links, etc) unless and until it's absolutely necessary.  Removing that function call would be a better workaround for the underlying gorename bug than additional additional compensatory calls to file-truename.

@alandonovan I don't fully remember, but most uses of file-truename in go-mode are because of the following Emacs behaviour: Given a link /a -> /b, opening /a in Emacs will report /a as the file name, not /b, and vice versa. If the user opens the file one way, but has the other version (resolved or unresolved) in his GOPATH, we need to normalize one of them if we want to match them. The easiest way to do so is to always resolve symbolic links.


Contributors in README.md?

Fixes #50

Hey @priyanshumaitra
I am so sorry but this repo has been excluded from Hacktoberfest, yet, I'll take your Pull Request for the sake of Contribution
Thank you so much!


Unable to get COVID status for Chandigarh(U.T) from Map of India

If user wants to check number of CORONA cases in chandigarh by hovering over map of India, user wont be able to access chandigarh. Kindly try to resolve this issue please.

Let me /claim this issue. I will review it and come up with a solution

@bee-rickey Basically, chandigarh is a city which comes under both Punjab and Haryana, so where should the chandigarh be displayed ?

Just like there's small place for delhi, if somehow you can display the
chandigarh on border of both Punjab and Haryana, because actually it is U.T
and doesnt belongs to either state.
On Sat, May 16, 2020 at 6:32 PM Siju Samson<EMAIL_ADDRESS>wrote:

@bee-rickey https://github.com/bee-rickey Basically, chandigarh is a
city which comes under both Punjab and Haryana, so where should the
chandigarh be displayed ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/covid19india/covid19india-react/issues/1843#issuecomment-629642329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AINCXT4LGD5ZI5ALHFT4AUDRR2FEXANCNFSM4M4ZB6HA
.

@bee-rickey is anyone assigned for this ?

I would like /claim for this issue

@sijusamson @kamal-aujla If its possible to place Chandigarh on the map, then it will be wrong  according to the Indian map. As there is no area assigned to chandigarh on the Map of India!!!

You can check out the state map of Punjab and Haryana and then you can get
the idea about its location. Just like other Union territories like
Pondicherry, Dadar&nagar Haveli, if  it is possible to place chandigarh's
location on the map. Otherwise, there won't be any way to get data of
chandigarh from the Map displayed.
On Sun, May 24, 2020 at 3:38 PM Sparsh Garg<EMAIL_ADDRESS>wrote:

@sijusamson https://github.com/sijusamson @kamal-aujla
https://github.com/kamal-aujla If its possible to place Chandigarh on
the map, then it will be wrong according to the Indian map. As there is no
area assigned to chandigarh on the Map of India!!!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/covid19india/covid19india-react/issues/1843#issuecomment-633208022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AINCXT2KMIMHOTGHS5FCPQ3RTDW2FANCNFSM4M4ZB6HA
.

Okay

Closing due to inactivity


Unused variable in test code

The variable evoked_nf_name is declared in several testing modules, but is not actually used in any of them except for one from my search. Should it be removed from those files? What's the policy on unused variables?

Yes please get rid of them. We don't keep unused variables. Usually
pyflakes catches them but it can't for top-level variable creation.

When the fork is merged into master should I close the issue. Like this one?

yes. If you had written closes #3271 is the PR description if would have been closed automatically.


Bump clap to 4.5.23 & fix failing seq tests

This PR bumps clap from 4.4.2 to 4.5.23 and fixes some failing tests in seq due to breaking changes in clap's handling of negative numbers. It also adapts two error messages of GNU tests to adapt to clap changes.

GNU testsuite comparison:
GNU test failed: tests/du/threshold. tests/du/threshold is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/factor/factor. tests/factor/factor is passing on 'main'. Maybe you have to rebase?

I guess they are regressions, right? Thanks

well done


fix: Cannot add control from Controls menu with click

We were defaulting the value to null instead of undefined
A golden-layout refactor explicitly checked for undefined instead of null
For some reason the type error in FilterPlugin and also AppMainContainer wasn't throwing an error when building?? Will need to investigate why not
Loosen restriction to just be != null instead of !== undefined as that is the intent
Fixes #1362

Is it the same event that is erroring if I look at GridPlugin.tsx?


Add contributing.md file

Please consider the following when creating a PR:

Provide a useful description of this PR, suitably verbose, aimed at helping reviewers and contributors

This PR is created to add CONTRIBUTING.md file to the repository. The content of the CONTRIBUTING.md file contains details to the users/community members on how they can contribute, process they have follow when contributing and steps to adhere to during the process.

Update all relevant changelogs

Changelog;

        new file:   CONTRIBUTING.md
        new file:   images/casper_pull_request_flow.png

Provide a link to the GitHub issue relating to this PR

N/A

Identify if any downstream impact as in to, SDKs, SmartContracts etc

This is a information document for community members, users and therefore no downstream impact is anticipated.

Hi @ipopescu ,
Thank you very much for your feedback/comments. I have now incorporated the comments. Please review and let me know your feedback.

@devendran-m, there are still unresolved comments. Please take a look and let me know if you need help.

Housekeeping - Moving it to backlog for future sprint planning


Implemented metrics function on Server Model

Hey, I completed your function for getting the metrics of a server. Is that okay or would it be better to create a model for metrics?

LGTM, but can you please add a test for the Method :)?

FYI: You can test against the exact response values from https://docs.hetzner.cloud/#servers-get-metrics-for-a-server

my bad, changed it :)

Thank you!

FYI: Was released with https://github.com/LKDevelopment/hetzner-cloud-php-sdk/releases/tag/v1.4.0


Develop Content for authentication code's detail view

You are to develop content for each authentication code detail page
Refer to this doc for the format to use for structuring you tasks
Your should submit a google doc link in this thread after the task has been completed
Refer to #1 for an overview of all frontend related tasks

@ti-oluwa, i am sort of confused as regards to the issue's title, but correct me if i'm wrong, i should make separate auths codes that would be used

No sir. You guys would be developing content for each authentication code's detail (download) page. You should already have one you're working on

https://docs.google.com/document/d/1XXbCB4qmGQXV7qRv_HlKXw3-9_ETbifYzXce2a-cAQM/edit?usp=sharing

https://docs.google.com/document/d/1x21sflI5mGdH_jMBwRPSLHfuMBY6usI_19ZRFfLNeRw/edit?usp=sharing

https://docs.google.com/document/d/1SSR_etx-WEGDnxJGLkyFU37dUHsD1XrVoFwiUXoWMYc/edit?usp=sharing
Please, kindly check for review

https://docs.google.com/document/d/1SSR_etx-WEGDnxJGLkyFU37dUHsD1XrVoFwiUXoWMYc/edit?usp=sharing
Please, kindly check for review

It's okay but I think the application example and code snippet still needs improvement.
@ElSam20 What do you reckon?

https://docs.google.com/document/d/1kyg08hBa5RUD3vjoY_d9-cTWAKG02h4m/edit?usp=sharing&ouid=104735513871091929134&rtpof=true&sd=true

https://docs.google.com/document/d/1kyg08hBa5RUD3vjoY_d9-cTWAKG02h4m/edit?usp=sharing&ouid=104735513871091929134&rtpof=true&sd=true

Is this authentication code detail for PyOtp or Send Grid because I can see Send Grid which is used to manage emails?
Please make your doc more detailed so we can decipher what it's actually about.

https://docs.google.com/document/d/1YvGrH5qUSFWupC6jgJ2HbWcDtSbysAISoSdxNO-uLRc/edit?usp=sharing
Kindly check for review

https://docs.google.com/document/d/1SSR_etx-WEGDnxJGLkyFU37dUHsD1XrVoFwiUXoWMYc/edit?usp=sharing
Good evening. Kindly help me to check for review. Thanks

https://docs.google.com/document/d/1x21sflI5mGdH_jMBwRPSLHfuMBY6usI_19ZRFfLNeRw/edit?usp=sharing
Updated the document to include formatted code snippets.

https://docs.google.com/document/d/1x21sflI5mGdH_jMBwRPSLHfuMBY6usI_19ZRFfLNeRw/edit?usp=sharing
Updated the document to include formatted code snippets.

Thanks your submission has been accepted

https://docs.google.com/document/d/1YvGrH5qUSFWupC6jgJ2HbWcDtSbysAISoSdxNO-uLRc/edit?usp=sharing
Kindly send the link to the repo where you're hosting the Authentication code

I would push the codes to github and send the repo link this evening, currently now around my laptop

https://github.com/chigozieokoroafor/authendtications/blob/main/auth_codes_wiki.py #


tests: add tests for exception policy master switch - v3

Add tests for the new master switch config for the Exception policies. Added also a check in the exception-policy test that checks the default behavior, to ensure that things work as expected with the master switch disabled and the exception policies not set.
Task #5219
Previous PR: 1037
Changes from previous PR:

comply to master switch changes (remove 'performance' option)

Suricata PR: https://github.com/OISF/suricata/pull/8280

Replaced by: https://github.com/OISF/suricata-verify/pull/1040


Feature Request -: bot can generate it's selfie photo when asked

Hey there is it possible to add a argument
--image (image given locally)
Like when we say generate a selfie or pic of yourself
It generate it's multiple variant of image given locally through argument based on prompt
on chat (selfie) plus also generate other images  (i mean based on prompt just like now)
Both combined
just like there is extension sd_api injection type in ooobaboga
It will be amazing

I like this idea. I don't quite understand all the specifics being asked for, but here's my idea: we can specify a base image that the bot considers its own selfie. Then, it can run img2img on that image with various parameters either built-in or in a user request, and give the result.
Alternatively, we could specify a folder full of images meant to represent the bot, and then when asked for a selfie it picks one of them and sends it. OR it could then do img2img on it. Or both, both could be options. 😄

Yeah img2img with a prompt let's suppose user asked for i want selfie with a car so it generate that character image with a car
Plus if user asked generate an image of Elon Musk (text to image ) , it generate image (just like now )

Interesting.  Something to keep in mind.  What do folks think of using the bot's discord avatar as an image source?  That way this feature could potentially generate images for other users as well.

If it's possible it will be cool

Interesting. Something to keep in mind. What do folks think of using the bot's discord avatar as an image source? That way this feature could potentially generate images for other users as well.

You could also have it "see" itself as a character that is trained in Lora (or something similar). For example, if you asked it to make an image of itself, it would put lora:ainoku_HatsuneMiku:0.4 first, and then it would describe the selfie. I say this because img2img can be hit and miss especially with something like this.


Running flask with docker

Hello Miguel, thanks for helping out always. I decide to run my flask app with docker and after i set the docker-compose.yml file and dockerfile, i'm this bunch of error which is causing my app to fail.
Successfully built 5a42dfb64267
Successfully tagged hospital-management-system_website:latest
Creating hospital-management-system_website_1 ... done
Attaching to hospital-management-system_website_1
website_1  | [2021-04-19 13:11:13 +0000] [1] [INFO] Starting gunicorn 19.4.5
website_1  | [2021-04-19 13:11:13 +0000] [1] [INFO] Listening at: http://<IP_ADDRESS>:7000 (1)
website_1  | [2021-04-19 13:11:13 +0000] [1] [INFO] Using worker: sync
website_1  | [2021-04-19 13:11:13 +0000] [10] [INFO] Booting worker with pid: 10
website_1  | Exception in thread Thread-1:
website_1  | Traceback (most recent call last):
website_1  |   File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
website_1  |     self.run()
website_1  |   File "/usr/local/lib/python3.7/site-packages/gunicorn/reloader.py", line 41, in run
website_1  |     for filename in self.get_files():
website_1  |   File "/usr/local/lib/python3.7/site-packages/gunicorn/reloader.py", line 29, in get_files
website_1  |     for module in list(sys.modules.values())
website_1  |   File "/usr/local/lib/python3.7/site-packages/gunicorn/reloader.py", line 30, in
website_1  |     if hasattr(module, 'file')
website_1  |   File "/usr/local/lib/python3.7/re.py", line 192, in sub
website_1  |     return _compile(pattern, flags).sub(repl, string, count)
website_1  | TypeError: expected string or bytes-like object
website_1  |
Below is my docker-compose.yml file configuration
version: '2'
services:
website:
build: .
command: >
gunicorn -b <IP_ADDRESS>:7000
--access-logfile -
--reload
"hms.app:create_app()"
environment:
PYTHONUNBUFFERED: 'true'
volumes:
- '.:/hms'
ports:
- '7000:7000'
docker file configuration
FROM python:3.7.5-slim-buster
MAINTAINER ********** <M*********.com>
ENV INSTALL_PATH /hms
RUN mkdir -p $INSTALL_PATH
WORKDIR $INSTALL_PATH
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
CMD gunicorn -b <IP_ADDRESS>:7000 --access-logfile - "hms.app:create_app()"

Try a newer gunicorn. This looks like https://github.com/benoitc/gunicorn/issues/1951.

Hello Miguel, I tried the latest gunicorn, it works pretty cool. Thanks


[SPARK-6671] Add status command for spark daemons

SPARK-6671
Currently using the spark-daemon.sh script we can start and stop the spark demons. But we cannot get the status of the daemons. It will be nice to include the status command in the spark-daemon.sh script, through which we can know if the spark demon is alive or not.

Can one of the admins verify this patch?

Please update the title according to https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark

I don't think it is a good idea to check daemons' status via pid file as there are too many corner case here as Sean said.

Thanks for reviewing the pull request.
I made changes to the pull request according to your suggestions.

@WangTaoTheTonic it's the same logic used to kill the process; it's not bullet proof but do you think it's still too error prone?
@pchanumolu the indentation doesn't match the rest of the script here.

@srowen  fixed the indentation.

I think it's a reasonable change. Pinging @vanzin @pwendell as people who might have an opinion on adding a status command to the daemon scripts.

Yeah this seems good. I think it's quite common to have this for deamon scripts.

LGTM. The logic to detect if the process is running could be put into its own function (since it's also used elsewhere), but no biggie.

One question user-wise:
As user usually don't invoke spark-daemon.sh directlly (they were redirected from start-.sh or stop.sh), is it good to add an extra option in kind of internally script?

That's a fair question. I suspect it's not worth changing all these scripts to handle start/stop/status messages. It does require users to execute spark-daemon.sh status [class] [instance] which is ... OK I guess. Will they know "instance"? it seems to be 1 in other scripts.
Also, since the new logic depends on finding the PID file already, should the logic if [[ $(ps -p "$TARGET_ID" -o args=) =~ $command ]]; then not just match the stop logic, and look for "java"? That is, does the current check actually match? the class name is not the command-line command. I might be missing something.

is it good to add an extra option in kind of internally script?

I think it's a good first step. Optimally, the other scripts would be refactored so that they just delegate everything to this common one. e.g.:

sbin/spark-master.sh: calls sbin/spark-daemon.sh with the command to execute
sbin/start-master.sh: just calls sbin/spark-master.sh start

etc, etc
Perhaps, for this patch to be really useful, that should be done as part of it?

@vanzin Do you mean that we will add other more scripts to make this change more easy-use and obvious?
From the example you showed, it seems thing would be too complicated.

Yes my suggestion would require new scripts. Just because overloading start-master.sh to handle status would be too cumbersome. BTW, having a spark-master.sh script like what I suggested would also make these scripts friendlier to /etc/init.d.
Otherwise, I don't see an easy way to expose the status command in an easy-to-use manner. I still think the patch is useful by itself, just not exactly user-friendly.

@pchanumolu I'm OK to merge this (pending a possible change per my last comment) If you feel inclined to make the additional changes here, that's OK too.

ok to test

Test build #30034 has started for   PR 5327 at commit 5062926.

Test build #30034 has finished for   PR 5327 at commit 5062926.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30034/
Test PASSed.

@pchanumolu This is still waiting on you. I think the logic to test the command needs to be consistent with what's used in stop right?

@srowen agreed with you. Made the necessary change.

Test build #30128 has started for   PR 5327 at commit d3a1f05.

Test build #30128 has finished for   PR 5327 at commit d3a1f05.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30128/
Test PASSed.


Mortar AOE changed

Users are reporting that mortar splash range has changed. This is making it more difficult to cut down trees.
Set the stats back to the original values.

Appears that Blizzard has done a 180 and readded the backups. Will reopen or create new issues if someone reports this issue again.


KinematicBody2D move_and_collide can't return KinematicCollision2D when target shape is ConcavePolygonShape and KB2D shape is RectangleShape2D

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot V3 f5e85c61039f8ff17805172c7a417747070bbc98
Issue description:
KinematicBody2D (Collider : RectangleShape2D) will stuck at the center of ConcavePolygonShape
Open project below, and test it
Link to minimal example project:
KBxConcave.zip

Maybe related to #10110 (problem with segment based shapes).
If using a CollisionPolygon2D in segment mode, capsule gets stuck in a bad position too (with nulls also).

@reduz this is the "bounciness" issue i mentioned earlier

Minimal project will not show the bounciness, because there is no slide collision normal. Simply just use move_and_slide will make it bouncy

Oh right, i'm using a handmade collision shape, as player (didn't bother to set the snapping to do it) so a non Axis Aligned polygon should make the same effect than the capsule

@damarindra Can you still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?


Add option to disable auto closing braces and quotes

Description of the problem or steps to reproduce
Add option to disable automatically entering closing quotes and braces when typing.
Specifications
When typing a quotation mark or a brace, in many cases micro automatically creates a closing quotation mark or brace. Personally I find this extremely annoying as I have to constantly delete the characters it creates. I would propose adding an option to toggle this behavior on or off.
For example: typing " creates "". Typing { creates {}.
Love this editor by the way, great work!
Commit hash: 2c219ba
OS: Windows 10
Terminal: conhost.exe, Alacritty, Windows Terminal (same behavior on all)

You should be able to turn it off by using the autoclose option.

Thank you! Looked all over but must have missed that.

You should be able to turn it off by using the autoclose option.

I tried micro -autoclose off and it does not seem to work.

The autoclose option is not controllable from a CLI flag. You have to use > set autoclose off, or manually set it to false in ~/.config/micro/settings.json.

autoclose should be off by default IMHO. It's a really annoying feature if it doesn't understand context. It doesn't know whether or not it should get me one or two quotes/brackets, or if text is selected it does not quote/brace around it - it replaces the text with two quotes/brackets. I feel like this feature might tend to steer newcomers away from using this editor.
Is there not a plugin or something that handles this better?

if text is selected it does not quote/brace around it - it replaces the text with two quotes/brackets.

https://github.com/zyedidia/micro/issues/3387#issuecomment-2227426044

@dmaluka I totally forgot about that one - I've actually used that plugin before. Thank you for pointing it out to me.

There was no reason to merge it into the main editor.

Why was/is there no reason?

The plugin exists, it can be installed, so what's the problem? :)


EncodeProcessDecode and resetting/changing globals during rollout steps

Hi, first of all, thank you for your support. You've been doing a great job in answering our questions about the graph nets library.
I would like to know how one can update the global attribute at every single iteration in the rollouts for-loop in the EncodeProcessDecode model. In particular, when the model predicts u' based on u (using the notation from the paper to refer to the global as u), I want to not use the GraphNetwork's predicted u' for the next time step, but instead reset it to my own control input such that the model computes the predictions based on my pre-defined control sequence rather than it's own sequentially predicted globals.
The way I was thinking about implementing this was to use graphs as follows: As input I use a single (initial) input graph that is rollout over time (10 times). To compute the losses I have 10 target graphs with the appropriate globals. I could pass these target graphs to the _build() function, extract the global attribute from it and use these to initialize 10 empty graphs with just the global attribute set and concatenate these with the latent rollout graphs at every time step. If that's the correct way to do it, how is this done? If not, what would you suggest to do when there's this requirement for an additional control input during the rollouts?
Thank you very much!
Below the _build() function from the example:
    def _build(self, input_op, num_processing_steps):
        latent = self._encoder(input_op)

        latent0 = latent
        output_ops = []
        for _ in range(num_processing_steps):
            core_input = utils_tf.concat([latent0, latent], axis=1)
            latent = self._core(core_input)
            decoded_op = self._decoder(latent)
            output_ops.append(self._output_transform(decoded_op))
        return output_ops

My current solution looks like this:
def _build(self, input_op, input_ctrl_ph, num_processing_steps, is_training):
        latent = self._encoder(input_op, is_training)

        latent_global = self._encoder_globals(input_op, is_training)
        latent = latent.replace(globals=latent_global.globals)

        global_T = self._encoder_globals(input_ctrl_ph, is_training).globals
        output_ops = []

        for step in range(0, num_processing_steps-1):
            global_t = tf.expand_dims(global_T[step], 0)
            latent = latent.replace(globals=global_t)

            latent = self._core(latent)

            decoded_op = self._decoder(latent, is_training)
            output_ops.append(decoded_op)
        return output_ops

where _encoder_globals():
with self._enter_variable_scope():
    self._network = modules.GraphIndependent(
    edge_model_fn=None,
    node_model_fn=None,
    global_model_fn=lambda: get_model_from_config(self.model_id, model_type="mlp")

and where _encoder():
with self._enter_variable_scope():
    visual_encoder = get_model_from_config(self.model_id, model_type="visual_encoder")(is_training=None, name="visual_encoder")
    self._network = modules.GraphIndependent(
                edge_model_fn=lambda: get_model_from_config(self.model_id, model_type="mlp")(),
                node_model_fn=lambda: get_model_from_config(self.model_id, model_type="visual_and_latent_encoder")(visual_encoder),
                global_model_fn=None


Dynamic SMTP configuration

Hi!
Is it possible to specify SMTP configuration when I send mail. My issue is admin can change these parameters (like user name/password, SMTP port and so on) on the fly. Will be nice if i can provide configuration in deliver_now/deliver_later call (as second parameter). Or may be you can point me to different way to solve it?
Thanks

@lonelyDog not sure if the functionality exists when you opened the ticket, but I opened a similar one. It exists, its just a little hidden. See my comment on #309

I'm going to close this issue per the recommendation in #309. Please reopen if this is still an issue and that recommendation doesn't address the concern.


Not getting fb bots but I have tokens

Any help regarding this is appreciated

Maybe the acc are just banned

But it's showing the no of total tokens?!!

Can u give ur Skype ID:

I don't give my Skype away. Maybe u forgot to delete the cookies before u logout

Your tokens/cookies must not be banned and must not be used by any other services such as OVH or other people, if it's leaked then this is probably why.
A facebook account can only be used once per tab and IP, and cannot host more than 1 agar.io session.
Make sure the tokens are all valid.

i have 6 facebook tokens ( ik they work cause they are mine ) they are all level 20+ and  i get no facebook bots too

@polarbear2g give it to me i fix them :'D

@sejo153 don't share my script...


README.md: change taprootassets-mode to taproot-assets-mode

All references to taprootassets-mode should be changed in README.md to taproot-assets-mode which is what litd -h says. Using taprootassets-mode causes litd to crash.

Fixed by https://github.com/lightninglabs/lightning-terminal/pull/835.


Unique test suite name

@HarshadKavathiya ,Please do review for unique test suite name

Ok Harshad
On Tue, 20 Aug, 2019, 10:02 PM Harshad Kavathiya<EMAIL_ADDRESS>wrote:

@HarshadKavathiya requested changes on this pull request.
In application/api/testsuite.py
https://github.com/accionlabs/acciom/pull/47#discussion_r315788209:

     if test_suite_data["suite_name"] == None or test_suite_data[

         "suite_name"] == " ":

       test_suite_data["suite_name"] = "Quality Suite"

       now = datetime.now()

       date_time_now = now.strftime("%d/%m/%Y %H:%M:%S")

       test_suite_data["suite_name"] = "Quality Suite " + date_time_now

Read "Quality Suite" Value from Constant instead of Hard coding it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/accionlabs/acciom/pull/47?email_source=notifications&email_token=AJ2GYSV7RXZ7BHYYPWYBK6DQFQMBXA5CNFSM4INRMCP2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCCDSNNI#pullrequestreview-277292725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ2GYSQLGFZOV4K6WX7LGNDQFQMBXANCNFSM4INRMCPQ
.


TypeError: Cannot read property 'mode' of undefined

Hi,
I guess I found a bug:
If I try to lint a file with the following content:
$breadcrumbs-item-separator-item-rtl: '\\';
$button-background: background('');

I get the this error:
TypeError: Cannot read property 'mode' of undefined
    at findCommentsInRaws (node_modules/stylelint-scss/dist/utils/findCommentsInRaws.js:63:44)
    at checkRoot (node_modules/stylelint-scss/dist/rules/double-slash-comment-whitespace-inside/index.js:28:52)
    at exports.default (node_modules/stylelint-scss/dist/utils/eachRoot.js:14:5)
    at node_modules/stylelint-scss/dist/rules/double-slash-comment-whitespace-inside/index.js:19:25
    at Promise.resolve.then (node_modules/stylelint/lib/lintSource.js:230:9)

I narrowed it down a bit, so this only happens when the first value is the string with the two backslashes and when the second variable holds the result a function-call with a string as parameter. Any other combination seem to work properly.

I'm seeing the same issue with rule block-no-empty
.../node_modules/stylelint/lib/rules/block-no-empty/index.js:50:47

@axelboc could you post the CSS here that triggers the error?

Hmm, seems to be working fine now, strange. Sorry about that! I'll let you know if I bump into the issue again.


What's the training data format?

thanks for your code,it helps a lot.But what is the data format?For example,the states.npy.
The reinforcement learning sample is a tuple like <s,a,s',r>, given <s,a,s',r>. How to build states.npy, action.npy and reward.npy?

states format :  [data size]+[state shape]
action format : [data size ,1]
reward format : [data size ,1]


Added remove() method.

Soliving issue #18

LGTM: just some nits.

Tested on esp8266 feather huzzah.


-full64 is required to detect VCS.

Contributor Checklist

[ ] Did you add Scaladoc to every public function/method?
[ ] Did you update the FIRRTL spec to include every new feature/behavior?
[ ] Did you add at least one test demonstrating the PR?
[ ] Did you delete any extraneous printlns/debugging code?
[ ] Did you specify the type of improvement?
[ ] Did you state the API impact?
[ ] Did you specify the code generation impact?
[ ] Did you request a desired merge strategy?
[ ] Did you add text to be included in the Release Notes for this change?

Type of Improvement

API Impact
None
Backend Code Generation Impact
None
Desired Merge Strategy

Rebase: You will rebase the PR onto master and it will be merged with a merge commit.

Reviewer Checklist (only modified by reviewer)

[ ] Did you add the appropriate labels?
[ ] Did you mark the proper milestone (1.2.x, 1.3.0, 1.4.0) ?
[ ] Did you review?
[ ] Did you check whether all relevant Contributor checkboxes have been checked?
[ ] Did you mark as Please Merge?

Just did the scalafmt and rebase to origin/master. Is should pass now.


Add a stopgap fix to USAFacts deaths from October 2

set all county deaths values on Oct 2nd to the values from Oct 1st

Issue date, not event date, turns out to have been the problem -- closing.


Read json format of gbtree and gblinear

This will add support for json format and binary format of gbtree and gblinear which have the version not younger than  v1.0.0

@tonylee19544 , great job! That's definitely what leaves needs!
I will come back yo you with review after the easter holidays.

Hi would like to ask if there is some news for the pull request. Thanks.

@dmitryikh Can you review? Super useful library and the json bindings are super useful!

Yes!! Would love to see this merged @dmitryikh

Have a problem with this pull request.
I have an xgboost model trained with version 1.6.0. Training code: https://gist.github.com/adensur/134b82c304cc69eed278e258e6b2a685
json read error: json: cannot unmarshal number into Go struct field Tree.learner.gradient_booster.model.trees.default_left of type bool
"default_left" field in tree nodes are ints (in current xgboost version, at least), not bools.
After fixing that, the prediction result is incorrect. I don't understand where this formula is coming from: https://github.com/dmitryikh/leaves/pull/81/files#diff-c524a0589fd250b78ba6e81dbd14998971af6ea9fd8dd2aad8c2dd8e3ecf6a4dR334
But without it prediction is correct, in my case at least


fix: add timeout for executor signal

Fixes #13011
Motivation
Modifications
I added a context timeout to prevent spdy from blocking for a long time

Could someone take a discussion for this issue ? It will block all pod cleanup workers. It's very serious.

@Joibel @agilgur5 Hi, could you help me to review again? I have already fixed the issues mentioned earlier. Thanks!

@Joibel @agilgur5 Hi, could you help me to review again? I have already fixed the issues mentioned earlier. Thanks!

Could you answer my question in #13011 on when you think this might be useful please.

@Joibel @agilgur5 Hi, could you help me to review again? I have already fixed the issues mentioned earlier. Thanks!

Could you answer my question in #13011 on when you think this might be useful please.

Okay, I missed that message. I'm sorry. Now I'll reply

I updated the code, thanks for help me.

All CI's passed, very successful

I wasn't able to backport this into v3.5.x as it has a merge conflict b/c it depends on #12858, which itself has a merge conflict b/c it depends on #12847 (which itself depends on other things that weren't backported to v3.5.x)

I wasn't able to backport this into v3.5.x as it has a merge conflict b/c it depends on #12858, which itself has a merge conflict b/c it depends on #12847 (which itself depends on other things that weren't backported to v3.5.x)

Why the v3.5.x branch is different from main branch.

I wasn't able to backport this into v3.5.x as it has a merge conflict b/c it depends on #12858, which itself has a merge conflict b/c it depends on #12847 (which itself depends on other things that weren't backported to v3.5.x)

Why the v3.5.x branch is different from main branch.

Oh, i see you want to add https://github.com/argoproj/argo-workflows/pull/12847 into v3.6.0 Release.

Correct, the main branch tracks development, which includes new features and breaking changes of any subsequent minor, and #12847 is a breaking change (as it may not work on older k8s)


Enforce proper winding order on multipolygons

Refs #20
To handle multipolygons, instead of cloning features with each part, the
winding order of the parts will signal when a new multipolygon starts.
@zerebubuth: could you review please?

Updated decode to handle cases where polygon rings were not closed with a CMD_SEG_END in e2b21ba

:+1: looks good

Added a test for the case when polygons aren't closed with a CMD_SEG_END in 0a340f6

Awesome :+1: !


javascripting command not found

i install javascripting  and after  writing javascripting show me javascripting command not found in mac os
how can i fix this issue?

انت عربية؟!
Am 12.06.2016 22:11 schrieb "mona"<EMAIL_ADDRESS>
i install javascripting and after writing javascripting show me
javascripting command not found in mac os
how can i fix this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sethvincent/javascripting/issues/170, or mute the
thread
https://github.com/notifications/unsubscribe/ARRmVvehUb5jl2Y1gYYUZXKA2ZJ0Zfmnks5qLGfwgaJpZM4Iz31h
.

@monala don't you forget to install it with global flag -g? Like so:
npm install -g javascripting

@denysdovhan  yes i use this command npm install -g javascripting

@raslan3333  what?!!!

@monala can you show the output from your terminal?

@denysdovhan

@monala as I see, you have changed your npm prefix (modules folder). Maybe that's is the cause of problem.

@denysdovhan i have problem with npm must use sudo for fix it i use this link https://docs.npmjs.com/getting-started/fixing-npm-permissions !
how i can solve this problem?

@monala yes I know. Have no idea about fixing. Maybe someone else can help you. @sethvincent?

@denysdovhan thanks for answering

@monala It looks like the bin folder in ~/.npm-packages might not be in the PATH.
Make sure there's a line like this in your ~/.bash_profile file:
 export PATH=~/.npm-packages/bin:$PATH

And also run source ~/.bash_profile after adding that line to make sure the change is available in your current terminal session.

@sethvincent  thank you
i use this command npm bin
and after that
export PATH=~/.npm-packages/bin:$PATH
then
alias npm-exec='PATH=$(npm bin):$PATH'
and now it works

@monala it seems you moved the default package install dir for node modules, but didn't add the new dir to the path. Also see the excellent recap on using npm install -g without sudo by John Papa

@claudiopro it really help me.
tnx


Add ability to set custom padding to message input field

Description:
This PR adds ability to specify custom paddings for message input EditText.
Why is it necessary?
In the current version of library you can not set padding values to message input field. And default values for side paddings are 0dp, which looks bad in case you have custom input background. Examples below:

How it is implemented:
New attributes (inputPaddingLeft, inputPaddingRight, inputPaddingTop, inputPaddingBottom) were added to MessageInput view.

@bevzaanton Can you please review this PR

Why this PR is not merged yet?


HTMLParseError

Getting this error while running Python3 with newspaper in VirtualEnv. However if I run this in Python2 Virtualenv it works seamlessly.
Running OS X 10.10
The Script
import newspaper
paper = newspaper.build('http://androidweekly.net/issues/issue-171', memoize_articles=False)

for i in paper.articles:
    print(i)

The exception
Traceback (most recent call last):
  File "rx.py", line 1, in <module>
    import newspaper
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/newspaper/__init__.py", line 10, in <module>
    from .article import Article, ArticleException
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/newspaper/article.py", line 13, in <module>
    from . import network
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/newspaper/network.py", line 14, in <module>
    from .configuration import Configuration
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/newspaper/configuration.py", line 15, in <module>
    from .parsers import Parser
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/newspaper/parsers.py", line 16, in <module>
    from bs4 import UnicodeDammit
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/bs4/__init__.py", line 30, in <module>
    from .builder import builder_registry, ParserRejectedMarkup
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/bs4/builder/__init__.py", line 308, in <module>
    from . import _htmlparser
  File "/Users/shapathneupane/Desktop/saito/lib/python3.5/site-packages/bs4/builder/_htmlparser.py", line 7, in <module>
    from html.parser import (
ImportError: cannot import name 'HTMLParseError'

i followed this and updated beautiful soup http://stackoverflow.com/questions/28745153/importing-bs4-in-python-3-5

yup, as @muranava said, just upgrade bs4
here's a PR: https://github.com/codelucas/newspaper/pull/171

Thanks for the fix guys! It's been merged and should reflect in pip soon


Update Python version to a supported one

Since Python 3.7 support ended in June 2023, I would like to know if we could update its version to a more recent one.
I see that there are some PR attempting to fix this issue, but for some reason they haven't been approved yet.
Thanks in advance.

I suggest you check this fork

I suggest you check this fork

@MarcinOrlowski it looks like you linked to this repository, did you mean to link a different fork?


#[UIC-2106]:updated TICKET_GENERATION_SYSTEM_USER email_id

CATEGORY
updated TICKET_GENERATION_SYSTEM_USER email_id
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[x] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Have we updated apitoken corresponding to raf-operator?


Fixes/mac os constrain window size

Fixes 2x mac os window issues:

before show: if you set the window size to be bigger than the monitor, it must tell avalonia with Resized event immediately with the maximum windows size equal to the working area.

If you set the window size to be bigger than the monitor, it was miniturising the window on show.

You can test this PR using the following package version. 11.0.999-cibuild0031251-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

ChatGPT was consulted,
I had feared we could regress this bug fix, but ChatGPT convinced me its safe. Testing seems to reveal it works without causing the regression.
https://github.com/AvaloniaUI/Avalonia/pull/8483

You can test this PR using the following package version. 11.0.999-cibuild0031258-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0031284-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0031320-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0031334-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Add airdrop2 call

Codecov Report

Merging #182 (9cee256) into develop (ec6e85e) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop     #182      +/-   ##
===========================================
- Coverage    14.05%   14.02%   -0.04%
===========================================
  Files           22       22
  Lines         5813     5827      +14
===========================================
  Hits           817      817
- Misses        4996     5010      +14

Files Changed
Coverage Δ

src/app.rs
2.07% <0.00%> (-0.05%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update readme file.

Codecov Report
Base: 0.00% // Head: 0.00% // No change to project coverage :thumbsup:

Coverage data is based on head (6454708) compared to base (0f9a36a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##              main     #24   +/-   ##
=======================================
  Coverage     0.00%   0.00%
  Complexity      72      72
=======================================
  Files           10      10
  Lines          174     174
=======================================
  Misses         174     174

Flag
Coverage Δ

unit-test
0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


docker-ce: backport patch correcting panic on netlink

Sometimes, especially on devices relying on modems, docker would fail to initialize and create 'docker0' interface. This is a known issue [1], that was solved upstream [2].
Since we're using an older version of docker, I've backported this fix to our layer.
[1] https://github.com/moby/moby/issues/43034
[2] https://github.com/vishvananda/netlink/pull/665
Related-to: TOR-3551

Hey @EdTheBearded thanks for the contribution, with the rebase this was added automatically.


IA-632 leaflet

Upgrade leaflet (1.9.3) and react-leaflet(3.2.5).
Related JIRA tickets : IA-632
Self proofreading checklist

[x] Did I use eslint and black formatters
[x] Is my code clear enough and well documented
[x] Are my typescript files well typed
[x] New translations have been added or updated if new strings have been introduced in the frontend
[ ] My migrations file are included
[ ] Are there enough tests
[ ] Documentation has been included (for new feature)

Changes

Remove map reducer
upgrade every maps to support new versions of packages
rewrite of custom zoom bar
provide some docs for frontend and especially for maps
use only one tile layer component

How to test
Run npm ci first.
Go trough every maps in Iaso and check that everything is ok:

GeoJsonMapComponent => visible in org unit history for an org unit with a shape
MarkerMapComponent => visible in instance details with a geo location
AssignmentsMap => planning
ListMap => entities /beneficiaries
InstancesMap => instances list
OrgUnitsMap => org unit list
OrgUnitMap => org unit detail
OrgUnitChildrenMap => registry
CalendarMap => Polio/calendar

Notes
Bluesquare component as been upgraded here

@Son, regarding the last video, can you check that the parent has a shape and is very small ? i have the same problem on my side with this org unit

@son, regarding the last video, can you check that the parent has a shape and is very small ? i have the same problem on my side with this org unit

Yes, indeed. I tried an org unit with no parent and the fit to bounds was ok


Torch2Bullet transition with system identification.

The lower-level attitude rate controller does not match in Bullet and Pytorch-based environments.
Here is a one-step difference between that two different environments.

Roll rate
Motor torque

Rope force
object pos

The torch version has a faster response compared with the bullet version. :arrow_forward: need to study the actual torque generated by the object.

At 1s timescale:

The gap comes from the incorrectly applied external torque in the pytorch.

In PyTorch simulator, compare the torque caused by object and applied torque (which turn out to be 1).
But after making the gain larger, there is no other effects. Need to be further investigated. :part_alternation_mark:

The problem is addressed at #19
Current comparison between two simulators:


Local cache for datasets

In order to avoid hammering a network drive when several processes need access to a dataset at the same time, which can be a problem at MILA, it would be really useful to have an automatic way of caching datasets on a local drive.
Pylearn2 has had that functionality for a while [1], and it proved useful to reduce the load on file servers.
One way this could work would be:

Use a new environment variable, for instance FUEL_DATA_CACHE to specify the path of that cache. If that variable is not set, no cache will be used.
In fuel.utils.find_in_data_path, when the original data file is found, try to:

see if it is already in the cache, and check that the version is up to date,
if not, try to copy if into the cache,
if it works, return the path of the cached version, otherwise, return the original path.

Maybe add an option to find_in_data_path to disable caching, for instance ignore_data_cache. This can be used by a particular Dataset class to disable caching for its data.

CC @nouiz who worked on the Pylearn2 version.

I would caution against doing this automatically if the file exceeds about
a gigabyte (though this could be configurable). I also think it's important
to double check byte size and file metadata written inside to make sure
that a cached version is up to date.

It would be easy to port this. I suggested this by email today to Vincent:)
The code for the cache is located in only one file with no dependencies on
pylearn2. So just copy this file and use it.
As you recently added find_in_data_path, the change will be trivial to use
it.
Copy the file is : pylearn2/datasets/cache.py
the to use it:
from pylearn2.datasets.cache import datasetCache
label_path = datasetCache.cache_file(label_path)
If we can't copy it locally (like no space) we will return the original
path. If we cached it, we will return the local path.
We should take care as if multiple path are in FUEL_DATA_PATH and they have
name that colide, we  could colide them in the local cache. I'm not sure of
that, maybe not, so just double check that behavior.
On Wed, Jun 17, 2015 at 5:45 PM, Pascal Lamblin<EMAIL_ADDRESS>wrote:

In order to avoid hammering a network drive when several processes need
access to a dataset at the same time, which can be a problem at MILA, it
would be really useful to have an automatic way of caching datasets on a
local drive.
Pylearn2 has had that functionality for a while [1
https://github.com/lisa-lab/pylearn2/blob/master/pylearn2/datasets/cache.py],
and it proved useful to reduce the load on file servers.
One way this could work would be:

Use a new environment variable, for instance FUEL_DATA_CACHE to
specify the path of that cache. If that variable is not set, no cache will
be used.
In fuel.utils.find_in_data_path, when the original data file is
found, try to:

see if it is already in the cache, and check that the version is
up to date,
if not, try to copy if into the cache,
if it works, return the path of the cached version, otherwise,
return the original path.

- Maybe add an option to find_in_data_path to disable caching, for

instance ignore_data_cache. This can be used by a particular Dataset
class to disable caching for its data.
CC @nouiz https://github.com/nouiz who worked on the Pylearn2 version.
—
Reply to this email directly or view it on GitHub
https://github.com/mila-udem/fuel/issues/173.

It was done for the size and metadata check from memory.
We check the size availability and make sure only 1 process do the copy via
a lock (from memory same lock as Theano compiledir).
On Wed, Jun 17, 2015 at 5:49 PM, David Warde-Farley <
<EMAIL_ADDRESS>wrote:

I would caution against doing this automatically if the file exceeds about
a gigabyte (though this could be configurable). I also think it's important
to double check byte size and file metadata written inside to make sure
that a cached version is up to date.
—
Reply to this email directly or view it on GitHub
https://github.com/mila-udem/fuel/issues/173#issuecomment-112961190.

The code in Pylearn2 currently has a dependency on Theano, though (it re-uses theano's compile lock), but Fuel does not depend on Theano.

I think that part of Theano is standalone, you could copy it too...
On Wed, Jun 17, 2015 at 5:52 PM, Pascal Lamblin<EMAIL_ADDRESS>wrote:

The code in Pylearn2 currently has a dependency on Theano, though (it
re-uses theano's compile lock), but Fuel does not depend on Theano.
—
Reply to this email directly or view it on GitHub
https://github.com/mila-udem/fuel/issues/173#issuecomment-112961581.

Let's not worry about name collisions for the first version. I assume the
current behaviour is "first found" (trying to look at that PR, but on my
phone sitting on a delayed airplane...). If there's a mismatch between
cached version and the first found, for now we can just give up.

@dwf I think that is the right behaviour anyway. First found is what we would use if there was no cache, so that is what we should use in all cases.

@alexmlamb, this is your ticket


Cannot run you code due to installing Inplace_ABN on GTX1080TI with Ubuntu 18.04, PyTorch 1.4, CUDA 10.1,

Dear Tal,
First of all, your work is valuable and I trying to apply TResNet on my problems. However, I can not install Inplace-ABN, following the instruction pip install<EMAIL_ADDRESS>or the alternative one. My configuration is Ubuntu 18.04, Pytorch 1.4, GTX 1080Ti with CUDA ver. 10.1.
The message:
ERROR: Command errored out with exit status 1:
command: /home/linh/.conda/envs/CV/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-g6ls7n0j/setup.py'"'"'; file='"'"'/tmp/pip-req-build-g6ls7n0j/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-g6p0jt8n/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-req-build-g6ls7n0j/
Complete output (20 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/inplace_abn
copying inplace_abn/version.py -> build/lib.linux-x86_64-3.6/inplace_abn
copying inplace_abn/group.py -> build/lib.linux-x86_64-3.6/inplace_abn
copying inplace_abn/abn.py -> build/lib.linux-x86_64-3.6/inplace_abn
copying inplace_abn/init.py -> build/lib.linux-x86_64-3.6/inplace_abn
copying inplace_abn/functions.py -> build/lib.linux-x86_64-3.6/inplace_abn
running build_ext
building 'inplace_abn.backend' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
/home/linh/.conda/envs/CV/bin/x86_64-conda_cos6-linux-gnu-cc -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -fPIC -DWITH_CUDA=1 -Iinclude/ -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include/TH -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/linh/.conda/envs/CV/include/python3.6m -c src/inplace_abn.cpp -o build/temp.linux-x86_64-3.6/src/inplace_abn.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=backend -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
/usr/local/cuda/bin/nvcc -DWITH_CUDA=1 -Iinclude/ -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include/TH -I/home/linh/.conda/envs/CV/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/linh/.conda/envs/CV/include/python3.6m -c src/inplace_abn_cuda.cu -o build/temp.linux-x86_64-3.6/src/inplace_abn_cuda.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_backend -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++11
unable to execute '/usr/local/cuda/bin/nvcc': No such file or directory
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
ERROR: Command errored out with exit status 1: /home/linh/.conda/envs/CV/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-g6ls7n0j/setup.py'"'"'; file='"'"'/tmp/pip-req-build-g6ls7n0j/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-g6p0jt8n/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Do you have any suggestion?
Best regards
Linh

Hi linh
my guess it that you have some problem with your Cuda path settings. it happens.
i don't think its specific to inplace-abn, all installations of cuda-like application will be problematic under you current settings.
i looked for your error message in google, and found many similar cases.
try to follow (for example):
https://github.com/NVIDIA/apex/issues/368
or a general search in google:
unable to execute '/usr/local/cuda/bin/nvcc': No such file or directory
if all fails (which should not), maybe try reinstall cuda drivers
Tal

Hi Tal,
I'll try following your recommendation.
Linh


covid challenge evaluation

hello, I am the participant of the covid challenge. Now, the submit has been closed. I have a new prediction and I want to know its dice score to do my own research. Could you please open the evaluation website for me or share the evaluation method? It will be better if the organization can release the ground truth labels of test and validation dataset. Thank you so much!

Hi @ericspod and @wyli ,
Could you guys please help on this question？
Thanks in advance.

Hi @ericspod and @wyli ,
Could you guys please help on this question？
Thanks in advance.

thanks @gscahhh, those are managed by the challenge organisers, please consult https://covid-segmentation.grand-challenge.org/Contact/

thanks @gscahhh, those are managed by the challenge organisers, please consult https://covid-segmentation.grand-challenge.org/Contact/


set font properties in dcs plot_layers

I would like to change the fontsize in plot_layers

BXz2 is too large.

Done in improve_plots branch


set AR=ar

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

$ go version
go version go1.19.10 windows/386

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=386
set GOBIN=
set GOCACHE=C:\Users\a_gonzalez\AppData\Local\go-build
set GOENV=C:\Users\a_gonzalez\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\a_gonzalez\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\a_gonzalez\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files (x86)\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files (x86)\Go\pkg\tool\windows_386
set GOVCS=
set GOVERSION=go1.19.10
set GCCGO=gccgo
set GO386=sse2
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m32 -mthreads -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\A_GONZ~1\AppData\Local\Temp\go-build3393229692=/tmp/go-build -gno-record-gcc-switches

What did you do?
<!--
If possible, provide a recipe for reproducing the error.

}


storage: add StorageIterate

StorageIterate provides a way to iterate over all the keys within a Storage instance.
Some notes:

This borrows the storage instance while the iterator exists, even though this might not be needed by all implementations
This returns Result<> both on the initial entries() call and on each step. This mirrors https://doc.rust-lang.org/std/fs/fn.read_dir.html
I have no particular attachment to the name used.
Having the StorageIterate::Error type parameter makes things more flexible when layering over a StorageImpl compared to inheriting from StorageBase.
I'm not entirely happy with the name() and name_cstr() functions on each entry. They mainly exist because on esp-idf's nvs we have cstrings as the underlying data, and I did not want to prevent obtaining entries with non-utf-8 names. In practice, it might be ok to skip non-utf-8 entries instead of allowing access to the CStr.

esp-idf-svc PR: https://github.com/esp-rs/esp-idf-svc/pull/249

Two notes:

C_str is an ``ESP-IDF-ism, so we should avoid it here (embedded-svc does not assume there is a C implementation underneath), as this is an API leak.
More importantly - I'm unsure why we need the StorageIterate trait (btw - shouldn't it be named StorageIterable)? We already have IntoIterator in Rust core, and if you want to want an "iterable" behavior you just need to implement IntoIterator with Item = &'a str for &'a T where T: Storage?

@jmesmon Do you still plan to work on this and address my comments?

@ivmarkov ya, sorry about not getting back to you on this. I agree about the CStr bit (it should be removed), and seeing if IntoIterator might work here sounds like a good idea.
I'm not sure when I'll take a look though. Might be soon or might not be.


Fix build errors in entry.S. allows helloworld to compile and link.

__riscv_float_abi_single is not in the provided preprocessor namespace.
The default build sets -Werror and has -Warn implicitly. Testing something
that's not defined with an #if is therefore an error.
This is possibly a behavior change. If your builds ever define that AND
set it to 0, this way will fail, but #if defined (foo) + #if foo is akward
and probably not what you intended.

"csrw mtvt, t0" is not legal in at least
GNU assembler (GNU Binutils) 2.35
Fortunately, riscv_encoding.h #defines a perfectly lovely value of
$0x307 that's appropriate for the chips AND is compatible with more assemblers.
This appears to be  an extension in
GNU assembler (SiFive Binutils 2.32.0-2019.08.0) 2.32
(present in bl_io_sdk, as provided by SiFive)
and that's probably what's in  your $PATH, but not relying on vendor
extension in this case is dead easy.

Two distinct problems. No, I'm not making different pull requests.
...this is a lot of words for a two line change. :-)

Hi robertlipe,thanks for your contribution,we have formatted code style using clang-format,so we close your this pull request.


fixed an error was causing the build to fail in linux using build.sh

the error: "NUGET_PACKAGES should end with a slash or it will lead to editorconfig issues:"
added the needed trailing slash in eng/common/tools.sh that was causing the error when defining NUGET_PACKAGES variable

Thanks for the PR, but that file actually comes to us from another repository, where this fix has already been applied so we just need to wait for that to flow through. Unfortunately other changes in that repo currently have us a bit blocked.
You should be fine to just change your local copy of the file though to unblock yourself.

I think we need to switch to arcade .NET 9 channel to get this fix in.


Ability to run all railway commands with RAILWAY_TOKEN

First of all, I want to thank all the contributors who made Railway possible, I am exploring using it for my next project (a Remix app with a Postgres database consumed by Prisma) because I have searched for existing services that allows me to automatically create per-environment databases and so far Railway has been the only one that allowed me to to this -- great work!

The Problem
I want to create a GitHub Action for my project that first validates the project (build, lint, test) and then, only if those tests passes, deploy to Railway. This is because, currently, only the railway run command is reading the RAILWAY_TOKEN environment variable.
Proposed solution
If all commands could read the RAILWAY_TOKEN environment variable, it would unleash its power by making it completely usable in headless environments like CI/CD systems.

I looking forward in this too. I really need for railway up. Maybe I can help about this?

Oh we didn't see this until now! I've added push events into our Discord for all future issues sorry about that!
Ya this would be great. We can have a look into it and circle back pretty soon! Will comment back when resolved

Hey, @elkevinwolf! The CLI now supports RAILWAY_TOKEN for all commands, as of Railway Changelog #30.
Also @JakeCooper, can you close and lock this issue as resolved? Thanks.

Thanks @AndreiJirohHaliliDev2006!
Yes indeed!

Hey, @elkevinwolf! The CLI now supports RAILWAY_TOKEN for all commands, as of Railway Changelog #30.
Also @JakeCooper, can you close and lock this issue as resolved? Thanks.

Hi @AndreiJirohHaliliDev2006 / @JakeCooper , sorry I just want to make sure. Is it already published? I just curious, so for RAILWAY_TOKEN need to exactly one line with the command? or I can define from another line? Since I try at my github action, seems not work.
https://github.com/bervProject/tell-me-everything-api/runs/2671890622?check_suite_focus=true

Oops! Just pushed a new release. Should be live as of 0.2.22!

Seems I am not understand how to use RAILWAY_TOKEN. I still meet same error (ask me to login) at 0.2.22. Maybe I need to login first with the RAILWAY_TOKEN?
https://github.com/bervProject/tell-me-everything-api/runs/2672088984?check_suite_focus=true

Seems I am not understand how to use RAILWAY_TOKEN. I still meet same error (ask me to login) at 0.2.22. Maybe I need to login first with the RAILWAY_TOKEN?
https://github.com/bervProject/tell-me-everything-api/runs/2672088984?check_suite_focus=true

@berviantoleo You may need to do this instead:
# if you want to use environments in GitHub Actions to control deployments
# please see the GitHub Docs for that.
- name: Deploy to Railway
  run: |
     RAILWAY_TOKEN=$RAILWAY_TOKEN railway up
  env:
     RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

Also, it's currently not possible to sign in without email prompts (aka using an API token for logging in) to the CLI for now.

@berviantoleo it seems like it's being set to "" by this line?

We've discovered an issue with using railway up and the project token. Will fix that today and let you know!

@berviantoleo it seems like it's being set to "" by this line?

Hi @gschier. No, it's not. It will be replaced when the value at the left side True. When the left side is false, the right side will not executed.

We've discovered an issue with using railway up and the project token. Will fix that today and let you know!

I think this one the problem that I met. So I will wait the #126 instead.

This should be fixed and live in release v0.2.25 https://github.com/railwayapp/cli/releases/tag/v0.2.25
You don't need to railway link or login at all. If you up with the RAILWAY_TOKEN the associated project and environment will be used.
Please let me know if you have any further issues with it

This should be fixed and live in release v0.2.25 https://github.com/railwayapp/cli/releases/tag/v0.2.25
You don't need to railway link or login at all. If you up with the RAILWAY_TOKEN the associated project and environment will be used.
Please let me know if you have any further issues with it

Thanks. It's working as expected.

This is still an issue in 2024.

Works: RAILWAY_TOKEN=$RAILWAY_TOKEN railway up
Doesn't work: RAILWAY_TOKEN=$RAILWAY_TOKEN railway redeploy

At a minimum, I'd suggest fixing the misleading documentation:

This suggests all commands support the RAILWAY_TOKEN, which is not the case. Maybe the documentation could explicitly mention which commands do/don't support it?
Fixing the doc is not as good as actually fixing the functionality, but at least it will prevent people from wasting time trying to follow the docs like we apparently have been for a few years now.


RHINENG-12007 updated shared-config-packages

RHINENG-12007 updated shared-config-packages & RHINENG-10566: express(^4.19.2)   :boom:
RHINENG-12007 updated shared-config-packages: https://issues.redhat.com/browse/RHINENG-12007
@redhat-cloud-services/<EMAIL_ADDRESS>@redhat-cloud-services/<EMAIL_ADDRESS>RHINENG-10566: express(^4.19.2)
Why do we need this change? :thought_balloon:
Please include the context of this change here.
Documentation requires update? :memo:

[ ] Yes
[ ] No

Security Checklist :lock:
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

This PR also includes changes from the PR: https://github.com/RedHatInsights/ros-frontend/pull/364


feat: response style (creative, precise)

Summary
Adds options for creative and precise responses from AI

Test plan
Hard to figure out... but with precise mode responses should not diverge too much from the initial one.

Approved!


delte files

删除大文件

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


fix docs, requests need to be awaited

something that tripped me up at first

Yes, thanks for the fix!


Dhcp domain option

Make dhcp_domain configurable
It is already in the default reclass (for example in file metadata/control/cluster.yml), but it was not applied in controller configuration file.
It will apply to the nova metadata server. (hostname part)

are the tests broken?

Strange, test is passing on my workstation without any issue. Internally we spin kitchen suites as jobs on internal jenkins CI so we have not spotted the issue on travis.
I think I found the issue:
https://github.com/salt-formulas/salt-formula-nova/pull/40
(if that will pass, please rebase once we merge it)


Aqua + typos CI

Minor amount of type piracy needs to be fixed.

@AlCap23 does it make sense to upstream this function?
https://github.com/SciML/SymbolicNumericIntegration.jl/blob/7b3920c87d5bf667697f163f7d9332fb5e3b9d48/src/sparse.jl#L124-L128

@ChrisRackauckas If tests pass, I think this is good to go, the last remaining piracy can be made into an issue and fixed later.

@shahriariravanian is it safe to delete these functions?
https://github.com/SciML/SymbolicNumericIntegration.jl/pull/77/files#diff-5286ab18446ceac577bfe10dbc94bafeb42424a99a1a1556e26aa7dd8ec26267
Since it is type piracy, it is very hard to track down what the intended use of these lines is.

@ArnoStrouwen
We still need Base.signbit(z::Complex{T}) where {T <: Number} = signbit(real(z)). This is to prevent error messages when it tries to calculate abs(z) for when z is a complex number.
The problem arises because some of the derivatives in Symbolics have an abs in them. For example, expand_derivatives(Differential(x)(asec(x))) returns 1 / (abs(x)*sqrt(-1 + x^2)), which is the standard solution for real arguments but is meaningless for complex arguments. I think a better option would be to fix Symbolics to return 1 / (x^2 * sqrt(1 - 1/x^2)), which is what Mathematica does and works for complex values. If Symbolics is fixed, we can get rid of this signbit line.

That edit should happen in DiffRules.jl


GetBookDestination()

This query will be used to render maps.
GetBookDestination()

Takes BookInstance.id
Returns a matrix with {holder.first_name, holder.last_name, lat, lon, timestamp, message} for the final owner.

**Pseudocode by @virtenyatko : **
def getBookDestination(id):
    """we dont need message here, its owner, not holder"""
    for book in BookInstance:
        if id == book.id:
            ourBook = book
    result = []
    for location in UserLocation:
        if location.user == ourBook.owner:
            result.append([ourBook.owner.first_name,ourBook.owner.last_name,location.lon,location.lat,location.time])

2bae2da7699e3a636983f0d29a8a4dcdd9c928fa


How to load custom module

Hi guys,
I'm very new to Ooor. When I connect my ERP, Ooor is loading base modules. I need a load my own module. How to do it?

Got it.


Rename go app

Towards https://github.com/giantswarm/roadmap/issues/3226
This renames the project, I will check for obsolete loki references in a next PR.

Do we still need to keep the authors as we did a lot of changes?

Maybe not, but that's probably not in the scope of this PR.


SAK-46280 Forums : fix encoding for mailtos

Not possible to solve using the existing component EscapedOutputLinkRenderer (there's another encoding afterwards), so removing it.
Adding missing i18n too

That's how it was done previously with the EscapedOutputLinkRenderer class, but now with this jsf version I couldn't find a way.


winch: Aarch64 MacroAssembler completeness

Winch's support for Aarch64 is minimal. The objective of this issue to track the missing items in order to bring the Aarch64 MacroAssembler to parity with the x64 implementation.
If you're interested in taking on any of the elements below, please add your name beside it to signal that you're actively working on it (if you don't have permission to edit this issue, feel free to reach out via Zulip).

[ ] Stack checks ( check_stack)
[ ] address_from_sp
[ ] address_at_sp
[ ] address_at_vmctx
[ ] wasm_store
[ ] wasm_load
[ ] call
[ ] load_ptr
[ ] load_addr
[ ] pop
[ ] cmov
[ ] checked_uadd
[x] float_add (@evacchi)
[x] float_sub(@evacchi)
[x] float_mul(@evacchi)
[x] float_div(@evacchi)
[x] float_min(@evacchi)
[x] float_max(@evacchi)
[ ] float_copysign
[ ] float_neg
[ ] float_abs
[ ] float_round
[ ] float_sqrt
[ ] and
[ ] or
[ ] xor
[ ] shift
[ ] div
[ ] rem
[ ] zero
[ ] popcnt
[ ] unsigned_truncate
[ ] signed_convert
[ ] unsigned_convert
[ ] reinterpret_float_as_int
[ ] reinterpret_int_as_float
[ ] demote
[ ] promote
[ ] cmp
[ ] cmp_with_set
[ ] clz
[ ] ctz
[ ] wrap
[ ] extend
[ ] branch
[ ] jmp
[ ] unreachable
[ ] jmp_table
[ ] trap
[ ] trapz
[ ] trapif

Sorry for looking at this only now -- but I should have some of these instructions implemented soon.  I've been caught up with other things but want to resume work on this ASAP.

@lpereira to prevent accidental duplication of work and to help minimize conflicts and the need for rebases, could you edit the OP issue to add your name next to the instructions you're currently working on implementing? Thanks!


Compatibility with C++ Builder

The library installs from GetIt in "C++ Builder" 11.1, but just putting a TSkSvg on a form and compiling it will produce 431 errors starting with Release() function of ISkReferenceCountedBase returns void but should return ULONG (Skia.Bindings.hpp Line 175).
Skia1.zip

Skia4Delphi is not yet compatible with C++ Builder. We intend to make it compatible, but it's not yet our priority.

We started porting to C++Builder. You can follow through issue #107


Parameter reuse issue!

Greetings,
I've adapted your code for my simple two-dimensional data set. According to statement below, since the TensorFlow doesn't support the attribute 'placeholder':
AttributeError: module 'tensorflow' has no attribute 'placeholder'
I had to consider disabling v2 behavior via replacing the term import tensorflow as tf with:
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
Although it apparently looks compatible, the 'mu' parameter reuse tends to be problematic. Inciting the error below:
Variable mu already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope?
Thus, I've tried to solve this by tf.variable_scope("anfis", reuse=tf.AUTO_REUSE) which didn't work either!!!
Kindly assist me through a feasible solution if you had any ideas.
Yours sincerely

I'm having the same issue with "AttributeError: module 'tensorflow' has no attribute 'placeholder'". Currently at Tensorflow 2.11.0.

Dear Josmer,
You can refer to the branch I made at the time. The link is as follows:
https://github.com/MahdiArj/TensorANFIS
On Mon, Mar 13, 2023, 6:18 AM Josmar Cristello @.***>
wrote:

I'm having the same issue with "AttributeError: module 'tensorflow' has no
attribute 'placeholder'". Currently at Tensorflow 2.11.0.
—
Reply to this email directly, view it on GitHub
https://github.com/tiagoCuervo/TensorANFIS/issues/9#issuecomment-1465428783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUS25XOMDZLJZAJV7UUWKD3W32KHPANCNFSM47FTZ3PQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Feature Parity: Add env-file and workdir options to container

Not all docker run options are present in the create container form. In particular, I was missing these:
--env-file
--workdir
If Rancher's goal is to provide a great UI for docker, all available options must be present.

These will need to be added to the container schema/API first..

302 https://github.com/rancher/rancher/issues/971


Release Google.Cloud.AssuredWorkloads.V1Beta1 version 1.0.0-beta04

Changes in this release:

Commit 4593a55: feat: add HIPAA and HITRUST compliance regimes
Commit af0c533: feat: Add 'resource_settings' field to provide custom properties (ids) for the provisioned projects.

Created release for Google.Cloud.AssuredWorkloads.V1Beta1-1.0.0-beta04


Goodreads

I'd love to see The Power of Go Tests appear on Goodreads--I'm happy to submit a request to their Librarians Group, but I figured I'd ask here first if anyone could suggest an official publication date. Perhaps September 5th, 2022 because of this commit?
Thanks!

Yes, that sounds about right!


Add support for all endpoints

Add support for all Helix API endpoints as documented here.


nvidia: install selected version of 32-bit library

Without this commit, NixOS installs the newest 32-bit nvidia libraries despite a selected legacy version. This leads to problems in 32-bit applications.

Thanks for noticing this! I resolved it in a way avoiding multiple version switches (for better maintainability).


sshd: add custom options

Motivation for this change
Add custom options - TCPKeepAlive, clientAliveCountMax and clientAliveInterval.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

NixOS options are only added when they add value, not when they just shadow the options provided by the tool. Providing all options is just code bloat and we will always be behind upstream.


Latest update seems to break a few things: extra newlines, no longer working before export

Just updated to the latest version in my atom (also on latest stable atom 1.9.9), and now whenever I hit enter after /**, I get an extra newline.  Here's an example of exactly what happens:
/**
 *
 *
 * @param {[type]} foo [description]
 * @param {[type]} bar [description]
 * @returns {[type]} [description]
 */
function doThings(foo, bar) {
    return true;
}

Notice the extra newline above the first param?  It also puts the cursor there, so there's this extra space above the description and I have to backspace.
Also when I hit enter to line-break a long description, it again adds an extraneous newline.
/**
 * Some long descripion that I want to line break
 *
 * And this is where the cursor ends up after hitting enter
 * @param {[type]} foo [description]
 * @param {[type]} bar [description]
 * @returns {[type]} [description]
 */
function doThings(foo, bar) {
    return true;
}

Another issue that might be just my imagination is that it seems this no longer works for exported functions, and I'm fairly sure it did previously (but I could be wrong)
/**
 *
 *
 */
export function doThings(foo, bar) {
    return true;
}

I love this plugin and rely on it every day to help make my life easier, so many thanks to you for making it.  Let me know if you require any further information :)

Thanks for reporting this and your nice feedback =).
The first thing is an known issue, but unfortunately we couldn't find out what causes this behavior yet.
See #202 for more information on that.
Previously exported functions where not really supported, it was kind of a bug. I improved the JS function parser which removed support for exported functions as a side effect. Anyway we already have an PR which will bring back support for exported functions and make parsing them even better: #203

#204 is merged and release with version 0.8.4 so the second thing shouldn't be an issue anymore.

No worries!  Thanks for that!  I'lll follow the other issue for updates :)


Fixed config variable usage in admin index page

If the config contains an apostrophe in the name configuration, this will break the builder syntax in https://github.com/totaljs/framework/blob/769cf8586d03df5a766cd316030d7eafcae8fd57/internal.js#L1981

I have fixed it in the framework: $ npm install total.js@beta (it's stable).

Thank you!

Cheers!
MSc Gabriel Petrovay
Mobile: +41(0)797403634
On Mon, 11 Feb 2019 at 00:29, Peter Širka<EMAIL_ADDRESS>wrote:

Thank you!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/totaljs/eshop/pull/56#issuecomment-462191798, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABHb3lkQmM5xk87ylJilqdBylt1iK_afks5vMKtRgaJpZM4azU_0
.


Adding log support

simple support for logs

There are still lots of todos that we could implement for logs, like streaming logs. But these features can come later.

closed because this PR is against master


Need improvement on calling as CJS module from ESM

Calling the CJS module from the ESM has been improved by the resolution of #641, but we need further improvements.
See also.
https://github.com/awslabs/llrt/issues/641#issuecomment-2450988284
In addition, the following PRs would be helpful as a path that should not be taken.
https://github.com/awslabs/llrt/pull/664#issuecomment-2453113856
--
This is by design. We need to be able to distinguish cjs from regular mjs files. I’ve considered options for trying to automatically detect this or simply treat all require imports as CJS. What’s your take?
Originally posted by @richarddavison in https://github.com/awslabs/llrt/issues/641#issuecomment-2450550500

A common export method is similar to react
  module.exports = require('./cjs/react.production.min.js');

However, there are two other types used in some older libraries
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeaderContentLength = void 0;
exports.HeaderContentLength = "Content-Length";

exports = {}


Doesn't have any separation/vertical bar for vertical windows

Current Behavior
Code of both vertical windows looks like they are from same window as there is no separator
Context
Just do a vsplit in neovim
My Environment

vim, neovim, gVim, MacVim, ...?: Neovim
Version used: NVIM v0.4.4
Environment name and version (terminal, tmux, ...):  Neovim-Qt, Terminal
Operating System and version: Debian 10

That's intentional. You can add this line to your .vimrc file to make them visible:
hi VertSplit guifg=#111111 ctermfg=233 guibg=#111111 ctermbg=233 gui=NONE cterm=NONE


PluginRegistry cannot be converted to FlutterEngine

Description
PluginRegistry cannot be converted to FlutterEngine.

I don't think this is correct and it is out of date.