User cannot confirm because user status is not UNCONFIRMED -- UpdateUserAttributesRequest

Expected Behavior

I am trying to update a user attribute (email) for an already registered cognito identity.
I am able to send the UpdateUserAttributes request which successfully updates the email, and subsequently changes the email_verified property to false.
Cognito then sends me a verification code, where I submit this along with the other properties required to confirm the sign up.
Once submitted, the email_verified should change to true.

Update email address (User is already in cognito and is confirmed)
Get code from email and confirm sign up.
Confirm signup successful

Current Behavior

Update email address (User is already in cognito and is confirmed)
Get code from email and confirm sign up.
An error occurred (NotAuthorizedException) when calling the ConfirmSignUp operation: User cannot confirm because user status is not UNCONFIRMED.

Steps to Reproduce (for bugs)

aws cognito-idp update-user-attributes --user-attributes<EMAIL_ADDRESS>--access-token ey...

aws cognito-idp confirm-sign-up --client-id 7ql*****u --username 9ccaf5a9-***-6d3b --confirmation-code 12345

Your Environment

Operating System and version: win10 Version 10.0.16299 Build 16299
Visual Studio version: 15.5.7
Targeted .NET platform:  4.5.2

I am a buffoon, i didn't see the verify-user-attribute method which sorts this specific problem out.


[code smell] System.currentTimeMillis() is a static method ,wrap it as a class method is inconvenient.

https://github.com/apache/rocketmq/blob/81e3648e3fcb1995897db3960a4561d6047b696c/common/src/main/java/org/apache/rocketmq/common/SystemClock.java#L19-L22
In order to use SystemClock's now method , one has to define SystemClock class instance first ,then use as
this.systemClock.now()
suggest to replace the now method with a static method or just use System.currentTimeMillis() directly

The current implementation reserves the possibility to use a different clock source, such as using a mock clock source in testing.
There is a similar usage in guava:
  /**
   * Creates (but does not start) a new stopwatch, using the specified time source.
   *
   * @since 15.0
   */
  public static Stopwatch createUnstarted(Ticker ticker) {
    return new Stopwatch(ticker);
  }

the possibility to use a different clock source

then now should be wrapped as a static method just as guava did.

I just check the originall rocket source ,there are more than 100 other places which use System.currentTimeMillis() directly.

the possibility to use a different clock source

then now should be wrapped as a static method just as guava did. Guava wraps a class method into a static method which is more reasonable.
as the possiblity to use a different clock source,is there any neccessary or just a over-design?

I'm just making a guess about the current design. IMO, It is inappropriate to use System.currentTimeMillis() in TimerMessageStore. If we can use the mock time source, it would be of great help to our test.

It is inappropriate to use System.currentTimeMillis() in TimerMessageStore

this  can be set as a new issue to deal with.

it would be of great help to our test

test friendly is really a good aspect to concern.

We currently use less precise means of validating delayed messages, which leads to some flaky tests.
https://github.com/apache/rocketmq/blob/81e3648e3fcb1995897db3960a4561d6047b696c/test/src/main/java/org/apache/rocketmq/test/util/VerifyUtils.java#L85-L96

IMO ,I think it(the flaky tests) was not caused by time precision ,it's the nature of  time testing especially when used in unit test.

btw,there are some issue in the above verifyDelay.


Incompatibility with TF2.0

Description
Got an error when running t2t-trainer --registry_help with installed "tensorflow alpha"
Environment information
OS: MacOS X

$ pip freeze | grep tensor
mesh-tensorflow==0.0.5
tensor2tensor==1.13.1
tensorboard==1.12.0
tensorflow==2.0.0a0
tensorflow-datasets==1.0.1
tensorflow-fold==0.0.1
tensorflow-hub==0.1.1
tensorflow-metadata==0.13.0
tensorflow-serving-api==1.7.0
tensorflow-tensorboard==1.5.1
tensorflow-zero==0.0.4

$ python -V
Python 2.7.15

For bugs: reproduction and error logs
# Steps to reproduce:
pip install -U --pre tensorflow
pip install -U tensor2tensor
pip uninstall tensorflow-probability
pip install -U tfp-nightly
t2t-trainer --registry_help

# Error logs:
Traceback (most recent call last):
  File "/usr/local/bin/t2t-trainer", line 23, in <module>
    from tensor2tensor.bin import t2t_trainer
  File "/usr/local/lib/python2.7/site-packages/tensor2tensor/bin/t2t_trainer.py", line 25, in <module>
    from tensor2tensor import models  # pylint: disable=unused-import
  File "/usr/local/lib/python2.7/site-packages/tensor2tensor/models/__init__.py", line 25, in <module>
    from tensor2tensor.layers import modalities  # pylint: disable=g-import-not-at-top
  File "/usr/local/lib/python2.7/site-packages/tensor2tensor/layers/modalities.py", line 28, in <module>
    from tensor2tensor.layers import common_attention
  File "/usr/local/lib/python2.7/site-packages/tensor2tensor/layers/common_attention.py", line 5074, in <module>
    @expert_utils.add_var_scope()
  File "/usr/local/lib/python2.7/site-packages/tensor2tensor/utils/expert_utils.py", line 68, in add_var_scope
    return add_scope(scope, scope_fn=tf.variable_scope)
AttributeError: 'module' object has no attribute 'variable_scope'

Hi @shkarupa-alex -- We aren't compatible with TF 2.0 yet.
Please checkout https://github.com/tensorflow/tensor2tensor/issues/1478 as well.


⚠ Blog博客 has degraded performance

In 694efe3, Blog博客 (https://blog.fangkehou.eu.org) experienced degraded performance:

HTTP code: 200
Response time: 8155 ms

Resolved: Blog博客 performance has improved in 41b4154.


argparse is required to run the scripts

If you download the project, run python setup.py install, and then try to run the mon-get-instance-stats.py script, you'll end up getting a ImportError: No module named argparse.  Adding argparse to the install_requires will ensure that the required module is installed.

Thanks! Sorry for the late merge - I were not notified by email about this PR.


Individual Dashboard UI

Issue Type: UI
Description:

Make UI for Individual Dashboard after login/SignUp by an Individual
Set the fields for Individual Profile Completion as the following in a sideview Drawer

Profile Image
D.O.B
City
Occupation Type
Social Media Links
Address

Use React Mui/Next UI with Tailwind CSS
Route Calculate button to /calculate
Route Feeds button to /feeds
Route Events button to /events

Design

Drawer View for Profile Edit/Completion:

Hello shreya024, thanks for opening a issue, your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.

Hi @shreya024 can I work this?


Add .env file to gitignore

@worksofliam I assume this is good to merge as was mentioned in the education


iPhone 6 iOS 11.3.1 Crash

Hi,
The jailbreak fails every time at exploit 1. I have airplane mode enabled, and Siri turned off. I turned the toggle on to allow more memory use. I closed all apps and restarted the phone. I open unc0ver, wait 30 seconds to hit Jailbreak and it crashes and restarts my phone at exploit 1 every time. It got to exploit 5 once and restarted.
Any recommendations?
Thanks for all y'alls hard work!

Which exploit are you using?

I did all same process like above. Also failed iPhone 5S with iOS 11.3.1. Use EI mode.

At first I used EL to achieve jailbreak on my iPhone X 11.3.1, and it didn't worked. Then I switched to MP and I achieved jailbreak after a few tries.

Im unable to select any other exploit, so it’s using the EL exploit.

MP mode need you have purchased apple developer account for $99 per year.

I have Iphone6, 11.3.1 running JB successfully just make sure you have the MultiPath,
Check the r/jailbreak discord (discord.gg/jb) and there will be a link for MP version.


While  user in Pagination, Browser Back button takes them start page

While user is in pagination clicking back button on browser takes them first page

Moving this to 1.7


Improvements for SwiftLint 0.18

When attempting to build SwiftGit2 via Carthage, SwiftLint caused the build to fail because of new linter rules added after the project was configured to use SwiftLint. This PR changes the SwiftLint build phase to use the --lenient flag, which will cause the linter to generate only warnings, not errors.
This PR also...

fixes a small lint issue with explicitly returning Void from a function.
enables several new linter rules which seem helpful.
disables the identifier_name rule, which was complaining about enum cases not beginning with lowercase letters. (See #87)

Fixes #85.

Tests are failing. Maybe we need to brew update swiftlint as part of the CI build?

Updated to use the latest Travis Xcode image, which has an updated version of SwiftLint.
Thanks for reviewing!


Multi pages of movies

Hello,
I am trying to get multiple pages of movies. How can I do to get multiple pages.
Currently, I am using theMovieDb.movies.getPopular({}, function(data){ 			processData(data); 		}, function(error){ 			console.log(error) 		})  to get first page of popular movies.
Thanks in advance.

I got it. I just need to add "page":2, theMovieDb.movies.getPopular({}, function(data){ 			processData(data); 		}, function(error){ 			console.log(error) 		}) to get second page. Thanks for the project.


In valid Leap Year dates can be entered

First, great mask.  This is the best one out there by far.
Here is the issue:

Go to the demo site and enter this in to the date field: 28/02/1975
Arrow back to the day field and change it to 29 (leap day)
Tab out of the field
RESULT: 29/02/1975 has been entered.  This is not a valid date (1975 was not a leap year.)

Expected:

29 would not be allowed because the year is 1975 (not a leap year)

Here's a possible fix #1389

@Vaccano, right, this change won't  fix your case - editing the date, but it works for another case - editing the month.
So, if you type 29/01/1975 and then try change 01 to 02 it won't let you do it.
For you case there's no code at all in the component.

@Vaccano ,
Finally fixed!

Sweet!  Thanks!


Adds Mastodon social network

The purpose of this PR is to add Mastodon as a social network, resolving issue #11.
Unlike the other social networks supported, there is no fixed hostname for the URL. Instead the hostname for the URL must be constructed from the full Mastodon address.
That is, a mastodon address may look like<EMAIL_ADDRESS>which should then have the associated url be "https://social.example/@a_tooter"
Why is this PR more complicated than one might expect?
This really seems like it would be a simple fix.
Mastodon specs and DNS hostnames
Unfortunately there is no formal specification for these things. I am grateful @ThisIsMissEm for pointing me to the relevant lines of Mastodon reference implementation.
Unfortunately, what I glean from that would allow syntactically invalid hostnames. And so I included stricter validation of hostnames. Perhaps I failed to understand the Pydantic and dnspython documentation  packages, but I found no obvious way to validate hostnames properly. So I resorted to a stack exchange answer.
I wasn't sure where to put my Mastodon address handling methods, so they are static methods in data_model.Connections.
Getting things to run
I need to tinker with pyproject.toml to get even the original to build on my system. I do not believe that I've done any harm, but testers should make sure that I haven't messed up build or packaging process.
I also added tests, and to make it easier for me to run tests tinkered with tests/test_data_model.py. Again, I don't think I did anything that should interfere with other testing.

Thank you! I will review it thoroughly this weekend.

Whilst I cannot review this, @jpgoldberg I think what you'll actually want to do is make a webfinger request:
<EMAIL_ADDRESS>
this'll either succeed or fail, and gives the URLs to any such profile.
e.g., mine:
{
  "subject"<EMAIL_ADDRESS>  "aliases" : [
    "https://hachyderm.io/@thisismissem",
    "https://hachyderm.io/users/thisismissem"
  ],
  "links" : [
    {
      "rel" : "http://webfinger.net/rel/profile-page",
      "type" : "text/html",
      "href" : "https://hachyderm.io/@thisismissem"
    },
    {
      "rel" : "self",
      "type" : "application/activity+json",
      "href" : "https://hachyderm.io/users/thisismissem"
    },
    {
      "rel" : "http://ostatus.org/schema/1.0/subscribe",
      "template" : "https://hachyderm.io/authorize_interaction?uri={uri}"
    },
    {
      "rel" : "http://webfinger.net/rel/avatar",
      "type" : "image/jpeg",
      "href" : "https://media.hachyderm.io/accounts/avatars/109/296/581/037/186/439/original/b55ac3f3a27e171e.jpeg"
    }
  ]
}

Hello, if you're not working on this PR, I would like to merge it as it is.


handle the changes in errors method in rails 6.1

solve #2168
as active_record_instance#errors metho is not returning a hash object anymore. as a part of rails 6.1 upgrade
the JSON error formatter should consider this change and check if the object type is ActiveModel::DeprecationHandlingMessageHash

Thanks. At the very least this needs an integration test.
I don't like that we're checking against a Rails type. Maybe these objects respond_to?(:something) which can make this cleaner. Or we need to extend the implementation with a proper Railtie.

Another thought, since User.first.errors.messages is producing the exception, maybe the "right way" is to avoid the exception altogether?


Refactor doc of NNI model compression

@scarlett2018  @squirrelsc @colorjam   I will create a  new PR to address your comments.


Branches and loops

Allow usage of functions in contents:
html.div(null, function() {
    if (this.something) {
        return html.p(null, 'bla-bla-bla');
    } else {
        return html.p(null, 'lorem-ipsum');
    }
}.bind(this));

Also second commit solves #3.

As I commented in #9, what is this for?
html.div(null, [
    something
        ? html.div(null, 'bla-bla-bla')
        : html.div(null, 'yadda-yadda-yadda')
])


Batch broken in 5.2.1

Batch download just broken in 5.2.1. It always shows 1000 pictures (same as the limit number) and doesn't work properly.
Rolled back to 5.1.1 - all is ok.

Did you try to finish the batch download?
Images are now downloaded by packs of 1000.

@Bionus, it downloads and replaces already existing images =\

Yes, it download the first pack of 1000, then go on to the next pack. If the images are downloaded what's the problem? If you want to download 2000 images, it will first download the first 1000 then the following 1000.

@Bionus, i mean 5.1.1 (and earlier) skips existing images. Now 5.2.1 don't.

Does this happen on all sources? I just tried to start a download, stop in the middle, restart then start the same download, and it properly skipped the first (already existing) images:

Is your "If a file already exists" setting set to "don't save"?

@Bionus, i tried on gelbooru.


Update xo.py

Fixed a bug to re-display the col,row when end key is pushed or if a new line is created.  This is for issue #18.  I tested this with the end key and it works, but xo still has issues with the display of col and row when using the down key and or page down.  I will make a new issue.

I have a better pull request on its way please ignore this one.....

Ok thanks!


Web snackbar

Resolved #5
Snackbar added
Attaching pics:

Will merge this after your other PR.

Ok

Please pull changes from upstream/master.
(Set this repository as upstream)

The link for the website doesn't seem to be updated, with the most recent changes

@AlKun25
It's working now check it out.

@mannprerak2
It would be great if you could label my merged PRs as "hacktoberfest-accepted". I guess they have made a new condition for considering PRs.

Hi @AlKun25, I don't think this is required since this repository has a hacktoberfest label and this PR has been merged.
This should be be counted automatically according to the rules.
Please check if this PR is visible in your Dashboard as "Pending", If it is, then after the review period it wiill get accepted.

Thanks for the clarification!


Memory leak in Benchmark? class

When calling test(...) two times in a row (in this case during MSWC FSCIL pre-training):
https://github.com/NeuroBench/neurobench/blob/50d855cbd5b361699f48038443a7a5397f5ca855/neurobench/examples/mswc_fscil/mswc_fscil.py#L145
https://github.com/NeuroBench/neurobench/blob/50d855cbd5b361699f48038443a7a5397f5ca855/neurobench/examples/mswc_fscil/mswc_fscil.py#L146
Memory usage increases very significantly during the execution of the second test(...):

(second test(...) starting at ~7s mark)
And causes the GPU to run out of memory:

(at ~1 second)
Which causes the script to fail. This is the test(...) function:

It seems (but still not 1000% confirmed) that that either the Benchmark initialization or the .run() call causes a memory leak when being used for the second time. I suspect this because when I do a manual loop through the dataloader to compute the accuracy, this sudden increase in memory usage doesn't occur.
Note: the same behavior is present when running this code on a CPU only.

@Maxtimer97 and I definitely ran into this issue before and I believe that we solved it somehow. I think the issue is that hooks are being attached to the network but they are never cleared.
Are you running the dev version of neurobench @V0XNIHILI? Or which version of the package?

Ok yeah, after looking into it a little I did fix this problem in this commit which is in main: de4ad1930fc705efc4628ad1ac1c57837dbb467d
But I haven't yet updated the pip package to include this fix. For now, I guess the way around this error is to use poetry run python to make sure to use a local version of the harness rather than the package.
We're figuring out automated deployment, after which these types of issues shouldn't come up

Just the version downloaded via pip indeed!

I updated the pypi package to 1.0.3 which includes this bugfix, so should be all good to run through the library instead of poetry at this point!


please add sg_utils and hdparm to 0-OS (no flist)

these are small tools, and do not warrant a full flist
http://sg.danny.cz/sg/sg3_utils.html
https://sourceforge.net/projects/hdparm/files/hdparm/hdparm-9.58.tar.gz/download
in light of being able to unmount disks and spin them down.
For SATA disks there is a go tool that Dylan is integrating, but for scsi disks there is another tool necessary
from sg3_utils, at least sg_start

For Sata disk I removed this go tool in favor of hdparm. I added hdparm as an extra package in zos


Fix bug where mdbook-forc-documenter would panic if mdbook build called not in Sway root

While testing, I noticed that the build would panic if you attempted to
mdbook build the book while in the docs directory. I then realised
we had a misuse of the current_dir function which must have slipped
through in a previous PR review. I've fixed this by adding a
find_sway_repo_root fn and implementing functions to find the plugins
and examples directories in terms of it.
cc @binggh this PR is against #1582 - landing this will apply the fixes there, then we can land #1582.

LGTM - thanks for this catch!


How to enabled PR autocomplete to rebase?

With the new option in PullRequest to rebase code to merge, how to enabled PR with autocomplete in vsts code cli to "rebase" automacatilly in complete pull request?
thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 71a706a5-ff44-04ba-20ef-2c1b04591983
Version Independent ID: fadbcf7c-badd-d820-2c83-c2af09218966
Content: vsts code pr
Content Source: src/command_modules/vsts-cli-code/vsts/cli/code/_help.py
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

@joaocarlossousa The rebase feature in Pull requests is only available in the latest APIs. CLI being a shipped client only takes dependency on stable released version of APIs.
It might take some time before this feature comes to the CLI.

@atbagga Is the v5.1 Azure DevOps REST API considered stable now? Could I submit a PR on this?

Any news on this @mitsha-microsoft ? It still seems impossible to create a PR with auto-complete when using rebase and fast-forrward.

I would also be interested by this, and AFAIK the API for that is there, see
https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/update?view=azure-devops-rest-6.0#gitpullrequestmergestrategy


iScroll Can't select text in content of iScroll

I have include the iScroll to our website and text it on Ipad. But i can't select content inside of iscroll to copy text

in iScroll v5.2.0, use options.preventDefault, set to false makes content selection works. options.preventDefaultException can also do this.


flutter FFI plugin client app failed to build for Android

Using, flutter dev channel version,
I was able to make a flutter ffi plugin run with the generated example project on iOS, but when doing so on Android, I seem to have JDK/gradle configuration issues, such as the following in my MainActivity.kt:
Check your module classpath for missing or conflicting dependencies
Error running 'libmynative': No JDK specified for module 'mynative_example_android'
Cannot access 'android.app.Activity' which is a supertype of 'com.my.app'. Check your module classpath or conflicting dependencies

How should I go about this?
I do have the following dependencies specified in my build.gradle for the Android example app
dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  implementation 'androidx.appcompat:appcompat:1.0.2'
  implementation 'androidx.core:core-ktx:1.0.2'
  implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  testImplementation 'junit:junit:4.12'
  androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}

So I assume that the system will find the JDK for me. On the other hand, I built another kotlin/NDK Android project, with the same version of Android Studio 3.6.3, which runs perfectly. I basically copied most Gradle settings from there.

Can you please provide the command that you are running? And the output of flutter doctor?

Hi @kakyoism
Can you please provide your flutter doctor -v,
your flutter run --verbose,
and a minimal reproducible code sample
also you may want to double-check the steps with the documentation;
if you do not wish to expose a closed source plugin
this may be used as reference
Thank you

Thanks guys!
I've temporarily suppressed the errors so that they no longer block me, although I don't know exactly how.
Here is what I did:
I ran flutter create . under example folder and basically erased the Android portion of the plugin example project. And started from scratch. So far by only adding C++ files and CMakeLists.txt accordingly with some Gradle tweaks, I got the example app running without issues.
Next I'll add the Kotlin code incrementally and see what happens.
Will keep you posted.

Hi @kakyoism
given your last message I feel safe to close this issue,
if you disagree please write in the comments
and I will reopen it.
Thank you

So I think I've got to the bottom of this problem.
The Kotlin issue was related to mainly Android ecosystem, not flutter. It was a nightmare for me though.
Just to leave tips to folks who may stumble upon this, the problem was a combination of AndroidX migration and Android Studio .idea folder not in sync with the migration. These StackOverflow questions may help:
https://stackoverflow.com/questions/34169562/unresolved-reference-kotlinx
https://stackoverflow.com/questions/57762145/cannot-access-androidx-lifecycle-lifecycleowner-what-is-the-meaning-of-error-in/62077558#62077558
https://stackoverflow.com/questions/57000915/error-adb-exited-with-exit-code-1-performing-streamed-install/62039726#62039726
https://stackoverflow.com/questions/59228006/create-method-channel-after-upgrading-flutter-can-not-resolve-method-getflutter/61003051#61003051
https://stackoverflow.com/questions/54008894/cannot-resolve-symbol-flutteractivity

Hi @kakyoism
given your last message I feel safe to close this issue,
if you disagree please write in the comments
and I will reopen it.
Thank you

No problem. Thanks for the quick responses from you guys.


feat: fetch & show microblocks

Try out this version of the Stacks Wallet - download extension builds.

Fetch microblocks using unanchored=true,  those microblock transactions must be displayed as confirmed

Actually, thinking about this, I think we want to add a boolean flag to enable disable this behavior

Agree

@beguene mind making this a draft PR? just so we know not to merge this until the API changes are live in prod

Sure !

@aulneau let's get your eyes on this one today if possible?

@aulneau let's get your eyes on this one today if possible?

@aulneau You can review this one instead https://github.com/blockstack/stacks-wallet-web/pull/1430 which already includes the current feat/microblocks-show-tx/I1396 branch.

@beguene this should be closed in favor of #1430 right?

@beguene this should be closed in favor of #1430 right?

Yes. I am closing this then.


🙉 Is there anyway to get response from RealConnection

I want to get headers from the Response by https request!
In class okhttp3.internal.connection.RealConnection
Response response = tunnelCodec.readResponseHeaders(false)
          .request(tunnelRequest)
          .build();
      tunnelCodec.skipConnectBody(response);

No.


Hardening TLS certificate key size

Describe the feature request
For our enterprise solution at SAP using Istio we have a requirement to increase TLS certificate key size to at least 3072 bits.
We explored the possibilities of hardening our configuration of Istio installation in terms of having certificates with bigger key size (4096). We had a look at both configuring CITADEL_SELF_SIGNED_CA_RSA_KEY_SIZE to 4096 (following this guide), as well as providing our own Intermediate CA (folllowing this guide and this one). They both worked.
However we verified that the TLS certificate for pod-to-pod communication pod-to-pod is still of key size 2048 bits, even for new clusters / installations.
We could not come up with a solution to ensure that the SPIFFE mTLS identity certificate generated for the SA is of size 4096 bits. We did also address the issue on Slack.
Could you please provide configuration for that or advise on how we can achieve it if it is possible?
Describe alternatives you've considered
There is no alternative as far as we know.
Affected product area (please put an X in all that apply)
[ ] Ambient
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[x] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

I think that env var is just for the self-signed cert for istiod itself, for the proxies you want WORKLOAD_RSA_KEY_SIZE which is set on the proxy container

is there another way to enable it for the whole service mesh other than for instance usage of ProxyConfig, e.g.:
apiVersion: networking.istio.io/v1beta1
kind: ProxyConfig
metadata:
  name: kyma-proxy-config
  namespace: istio-system
spec:
  environmentVariables:
    WORKLOAD_RSA_KEY_SIZE: '4096'

https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig lists some ways to set it

Yes, this works, first tried it with ProxyConfig CR but will be better to configure it directly to IstioOperator's proxyMetadata in the meshConfig section.
Thank you very much for the help.


[Feature] make staging log model an append-strategy incremental table

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
Add logic to stg_fivetran__log to make it an incremental model. Since past records should not change at all once they are inserted, an append strategy would work great here and hopefully limit runtime a bunch!
Describe alternatives you've considered

keep it non-incremental

the log table can get super big and unwieldy

use another incremental strategy:

too complicated for what we need, though we need to be very careful to not insert duplicate records

Are you interested in contributing this feature?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during your office hours for guidance.
[ ] No.

Anything else?
No response

@fivetran-joemarkiewicz bumping this issue following our discussion on performance for this package and also based on my work on #126. stg_fivetran_log__log and the downstreams would make sense to make incremental, though probably not append strategy.


Master to Live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mail-flow/Start-HistoricalSearch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailboxes/Set-CalendarProcessing.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance-audit/Search-MailboxAuditLog.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/Add-ManagementRoleEntry.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/New-ManagementRole.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/New-ManagementRoleAssignment.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/Remove-ManagementRole.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/role-based-access-control/Set-ManagementRoleEntry.md
:white_check_mark:Succeeded
View (exchange-ps)

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


Does not work in forge

I tried using the mod in forge 1.20.1 but there doesn't pop anything up. Is there any keybind I am missing?
PS.: Would be nice if you mention the Architectury API dependency in your modrinth project.

Yes, apologies! The keybind is L, just press it over any slot in your inventory.
This is my first time making an Architectury mod, and it doesnt use any of the api features, so ill remove the dependency on the mod itself


use_local not defined

When I follow walkthrough to run firs step of read filtering, variable use_local is not defined and causes program to break in pre_post_assessment.rule
It is not clear from the documentation as to whether, where, and when a user needs to set use_local. It's not seen in config hash either.

Hmm... I had to use this setting to shim a local docker image in place of the (broken) biocontainers image. Today I realized this had broken a few other things. Am currently working on fixing this...

NLA with latest changes, closing...


TS Server fatal error:  Cannot read properties of undefined (reading 'charCount')

❗❗❗ Please fill in the sections below to help us diagnose the issue ❗❗❗
TypeScript Version: 5.1.0-dev.20230509
Steps to reproduce crash

TS Server Log
❗ Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server: syntax
TypeError: Cannot read properties of undefined (reading 'charCount')
    at LineNode.walk (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182918:30)
    at LineIndex.edit (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182817:17)
    at _ScriptVersionCache._getSnapshot (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182623:31)
    at _ScriptVersionCache.lineOffsetToPosition (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182642:17)
    at TextStorage.lineOffsetToPosition (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:172893:22)
    at ScriptInfo.lineOffsetToPosition (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:173212:29)
    at /private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:179640:41
    at mapDefinedIterator (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:2653:19)
    at mapDefinedIterator.next (<anonymous>)
    at _ProjectService.applyChangesToFile (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:178464:16)
    at _ProjectService.applyChangesInOpenFiles (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:178435:14)
    at updateOpen (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:179629:29)
    at /private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182201:69
    at IpcIOSession.executeWithRequestId (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182193:14)
    at IpcIOSession.executeCommand (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182201:29)
    at IpcIOSession.onMessage (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182243:51)
    at process.<anonymous> (/private/var/folders/jj/r4wfrld17152zd6hfk_29cc80000gn/T/AppTranslocation/CCF6F77D-B487-4E89-98BE-2C51BBA16A2B/d/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:183823:14)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:958:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


vJunos-switch fails to establish connection

Hi,
I'm currently testing the vJunos-switch device, but I'm encountering difficulties establishing a Telnet connection. It appears that the Telnet connection is not being established properly. Additionally, I have ensured that there is a sufficient amount of CPU and RAM resources available.
Docker logs:
2023-11-07 12:44:30,702: vrnetlab   DEBUG    Creating overlay disk image
'juniper.conf' -> '/var/tmp/tmp.j04QIfeoh5/config/juniper.conf'
Formatting 'config.img', fmt=qcow2 size=1048576 cluster_size=65536 lazy_refcounts=off refcount_bits=16
losetup: config.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)
/dev/loop8 has 64 heads and 32 sectors per track,
hidden sectors 0x0000;
logical sector size is 512,
using 0xf8 media descriptor, with 384 sectors;
drive number 0x80;
filesystem has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 87 clusters.
There is 1 reserved sector.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is 12ecdf9e, volume label vmm-data   .
Copying file(s) to config disk config.img
./
./config/
./config/juniper.conf
Cleaning up...
removed '/var/tmp/tmp.j04QIfeoh5/config/juniper.conf'
removed directory '/var/tmp/tmp.j04QIfeoh5/config'
removed directory '/var/tmp/tmp.j04QIfeoh5'
removed directory '/var/tmp/tmp.3sPCSTaEBo'
Config disk config.img created
2023-11-07 12:44:30,961: vrnetlab   DEBUG    Starting vrnetlab VJUNOSSWITCH
2023-11-07 12:44:30,961: vrnetlab   DEBUG    VMs: [<__main__.VJUNOSSWITCH_vm object at 0x7f9ff850f430>]
2023-11-07 12:44:30,975: vrnetlab   DEBUG    VM not started; starting!
2023-11-07 12:44:30,975: vrnetlab   INFO     Starting VJUNOSSWITCH_vm
2023-11-07 12:44:30,976: vrnetlab   DEBUG    number of provisioned data plane interfaces is 0
2023-11-07 12:44:30,976: vrnetlab   DEBUG    qemu cmd: qemu-system-x86_64 -enable-kvm -display none -machine pc -monitor tcp:<IP_ADDRESS>:4000,server,nowait -m 5120 -serial telnet:<IP_ADDRESS>:5000,server,nowait -drive if=ide,file=/vJunos-switch-23.2R1.14-overlay.qcow2 -smp 4,sockets=1,cores=4,threads=1 -cpu IvyBridge,vme=on,ss=on,vmx=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,arch-capabilities=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,bmi1=off,avx2=off,bmi2=off,erms=off,invpcid=off,rdseed=off,adx=off,smap=off,xsaveopt=off,abm=off,svm=off -drive if=none,id=config_disk,file=/config.img,format=raw -device virtio-blk-pci,drive=config_disk -overcommit mem-lock=off -display none -no-user-config -nodefaults -boot strict=on -machine pc-i440fx-focal,usb=off,dump-guest-core=off,accel=kvm -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -smbios "type=1,product=VM-VEX" -device pci-bridge,chassis_nr=1,id=pci.1 -device virtio-net-pci,netdev=p00,mac=0C:00:c0:45:1c:00 -netdev user,id=p00,net=<IP_ADDRESS>/24,tftp=/tftpboot,hostfwd=tcp::2022-<IP_ADDRESS>:22,hostfwd=udp::2161-<IP_ADDRESS>:161,hostfwd=tcp::2830-<IP_ADDRESS>:830,hostfwd=tcp::2080-<IP_ADDRESS>:80,hostfwd=tcp::2443-<IP_ADDRESS>:443

when process stops after qemu is called this usually means you have host-related issues that presents qemu/kvm to work properly
The only thing you can try is to run the image manually with qemu and try to find some qemu logs

when process stops after qemu is called this usually means you have host-related issues that presents qemu/kvm to work properly
The only thing you can try is to run the image manually with qemu and try to find some qemu logs

I'm sorry, it was my mistake for not waiting for the approximately 20 min boot time of the device. Now, what I observe is that once the VM has started, the tap interfaces that should be created by the connection mode = "tc" are not being created.
    ...
    parser = argparse.ArgumentParser(description="")
    parser.add_argument(
        "--trace", action="store_true", help="enable trace level logging"
    )
    parser.add_argument(
        "--hostname", default="vr-vjunosswitch", help="vJunos-switch hostname"
    )
    parser.add_argument("--username", default="vrnetlab", help="Username")
    parser.add_argument("--password", default="VR-netlab9", help="Password")
    parser.add_argument(
        "--connection-mode", default="tc", help="Connection mode to use in the datapath"
    )
    args = parser.parse_args()

4048: eth1@if4047: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether da:45:70:cc:59:a2 brd ff:ff:ff:ff:ff:ff link-netnsid 0
4050: eth2@if4049: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 4e:60:a6:1e:8d:39 brd ff:ff:ff:ff:ff:ff link-netnsid 1
4052: eth3@if4051: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether ae:25:e8:bc:4a:65 brd ff:ff:ff:ff:ff:ff link-netnsid 0

can you show the output of git log -1?

can you show the output of git log -1?

Yes, of course:
~/vrnetlab$ git log -1
commit 57eef5bc091035cd4c16ca8ab192548e04c7a1dd (HEAD -> master, tag: v0.12.1, origin/master, origin/HEAD)
Merge: eb9bd57 9da695a
Author: Roman Dodin<EMAIL_ADDRESS>Date:   Fri Sep 22 08:23:54 2023 +0200

    Merge pull request #145 from kakkotetsu/fix-144

    fix #144 (vJunos-switch fails to create initial config, if startup-config is none)

I failed to find anyone recently facing issues with vjunos switch unfortunately
People seem to be running it just fine...
With this I will have to close this until some one else starts to show similar symptoms


proper Nesterov's acceleration

check out: https://blogs.princeton.edu/imabandit/2013/04/01/acceleratedgradientdescent/
and http://machinelearning.wustl.edu/mlpapers/paper_files/icml2013_sutskever13.pdf

Resolved in 5f69b60e62cf202acc1052f226eabc4f4d19277b! :checkered_flag:


⚠ Bofrost.fr has degraded performance

In c624928, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1178 ms

Resolved: Bofrost.fr performance has improved in 1811051 after 3 hours, 25 minutes.


PowerToys asking for admin permission at every boot

Environment
Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: 0.18 (started with 0.17)
PowerToy module for which you are reporting the bug (if applicable):

Actual behavior
Since version 0.17 at every boot I am showd the "Do you want this app to make changes to your device?" prompt for PowerToys.

Hi @Geims83
in the PowerToys general settings, turn off and the on, the "Run ast Startup" option, that should fix it.

Well, hadn't thought of that.
Worked like a charm.
Thank you very much!


Redux frontend

As part of my performance theme for the semester, I converted most of the Context code to Redux. Changes to a Context store causes the whole page to be rerendered, which is very bad considering we update the store whenever an item changes. By using Redux, only some components need to be updated which is very good for performance (or at very least leads to better performance.) Because of this, I tried to strip away any unnecessary references to the store in order to minimize how many components are updated. I also use Redux-Thunk which allows us to better organize most of our Redux-related code. I think that I have nailed down most of the issues and the feature set should be 1:1, but I'll continue digging into it.

Fixed the issue with the item lock button not updating.
Also removed some variables from state that don't need to be in state.

Everything looks good. Merging.


feat: implement export dataset to terra (#3223)

Ticket
Closes https://github.com/DataBiosphere/data-browser/issues/3223.
Reviewers
@NoopDog
Changes

Added export dataset to terra.

Thanks for reviewing @MillenniumFalconMechanic 🚀


The audio looping is not gapless

there's a little gap when looping the audio, which is not desirable for playing,say,a small ambiance audio clip. What is the best possible method to achieve seamless audio looping ?

+1

Only an issue an issue on Android! Any thoughts here?

+1

There are gaps between loops because of the bug in Android MediaPlayer (which is used under the hood).
To fix the problem I've created the react-native-audio-exoplayer module, which has pretty same functionality as the react-native-sound, but it is based on the Android ExoPlayer. The API is a bit different but more robust and modern (have a look at the docs).
Later if I have time I'll do a pull request to introduce ExoPlayer in the react-native-sound.
But for now feel free to use react-native-audio-exoplayer as a good workaround.


tasks.json update error when working from mapped network drive

VSCode Version: 1.0.0
OS Version: WIn7 x64

Summary:
Changes to tasks.json are not recognized by ctrl-shft-B if the file is on a mapped network drive unless I first restart of VSCode.
Steps to Reproduce:

Select a working folder on a mounted network drive.
create tasks.json. ctrl-shift-B and verify operation.
change tasks.json so it has an error, save it (close, reopen in another editor if desired to verify it was saved)
hit ctrl-shift-B. note that the new, saved version is not used.

The task service uses the config service to react to changes to the tasks.json file. The config service relies on file events.
@bpasero are you aware of any problem with FS events and mapped network drive. I had the experience that this worked

@adamzerok can you check if any file event occurs from the mapped drive? I would assume this does not apply just for tasks.json but any other file as well.
Otherwise I am merging this into https://github.com/Microsoft/vscode/issues/3132

Events are seen when the tasks.json or any other file are changed.  There is no problem with file creation, editing or saving.
Changes to the script are applied when it is run with ctrl-shft-B
However, the updated tasks.json just isn't being used. It uses the copy present when VS Code launches.  If i make a change to tasks.json it isn't used unless i restart VS Code.

@adamzerok ok this will be covered when we work on #3132


Question: Submit on blur with validation checking

Thanks for library

My use case - i have few inputs which should be submitted separately on blur. It's convenient to treat them as form and have validation/ui state for them from the box.
I know about changeAction, but i need to perform client validation before:

const {field} = this.props;
<Field model="..."
           changeAction={() => {
                dispatch(actions.change(...));
                // need to check client-side validity
                if (field.valid) {
                    dispatch(actions.submit(...));
               }
          }}
          changeOn="blur"
...
</Field>

Do you have analogue for blurAction? In this case i can set validation on field change and check validation state on blurAction and do/reject submit.
I can workaround by passing onBlur directly to input though, but i think it's not neat.

Sorry about the GitMagic thing! Still working on configuring it.
Anyway, if you do updateOn="blur" instead of changeOn="blur" (nonexistent prop) then it should work as you have it.

oh, yes, sorry, i mean updateOn="blur" of course.
Unfortunately this doesn't work, using your codepen example
        <Field model="user.username"
          validators={{
             isRequired,
            length: (v) => v.length > 1,
          }}
          changeAction={(model, value) => {
              store.dispatch(actions.change(model, value));
            store.dispatch(actions.setValidity(model, { length: false }));
            console.log(userForm.fields.username.errors.length);
                       }}
          updateOn="blur"
          validateOn="blur">
          <label>Username</label>
....

after typing kkkk in field the userForm.fields.username.errors.length is still true because the userForm was binded into context (or re-render didn't happen yet, or something else)

My fault, need validateOn="change"
Sorry for bothering


Create Homebrew Tap for Mac users

Request to submit XGBoost 1.0.0 to Homebrew (https://github.com/Homebrew/homebrew-core/pull/50467) is still ongoing. In the meanwhile, we should create a Homebrew tap so that Mac users can install XGBoost easily.
Example:
# Load recipe xgboost.rb from GitHub repo hcho3/homebrew-repo
brew install hcho3/repo/xgboost
brew install hcho3/repo/py-xgboost  # Install Python package

cc @ankane

Hey @hcho3, my suggestion would be to try and use the official Homebrew tap again before starting your own, since formula are precompiled, which makes installation much faster. I'd recommend breaking it into two steps:

Add support for OpenMP
Add support for the Python library. It looks like there is demand for the Python library to be included as part of Homebrew (https://github.com/dmlc/xgboost/issues/4949#issuecomment-542333666) and https://github.com/dmlc/xgboost/issues/5411), so I think there's a case to be made. Looking at the formula for other Python packages (like NumPy), I think the code needs to be a bit different than what was proposed in the earlier PR.

We can build pre-built bottles in a tap.
I proposed making a tap as an interim measure. Yes, we should submit a pull request again to homebrew-core, but it may take a while to get the pull request approved.

Sounds good. I just submitted a PR for the first one.

@ankane Interesting, so XGBoost recipe has been already upgraded to 1.0.2? I thought the recipe was still stuck to 0.9. In that case, users already have access to 1.0.2, albeit without OpenMP and without Python wrapper.

Yeah, was updated a few days ago in a different PR.

Got it. Let's see if we can get OpenMP and Python wrapper in this time. Thanks for the pull request!

I just tested NumPy on Homebrew. Homebrew has updated many packages (like NumPy) to Python 3.8, but the default Python (brew install python) is still 3.7, so users need to change their path to use Python 3.8. I have a feeling many users will confused by this.
Essentially, brew install xgboost won't be enough to make things "just work" with Python in the current state.
I personally think including shared libraries in the Python wheels is a better way to go. Then users can do pip/pip3 install xgboost in any Python environment.

So something like what LightGBM is doing? The LightGBM wheel includes a shared lib for OSX. That might be a better way to go. Since Homebrew requires macOS High Sierra nowadays, we can build a shared lib using macOS High Sierra and include it in the wheel.

Yeah, LightGBM takes that approach, but still requires brew install libomp. I just download PyTorch to see how it works, and it looks like they include a copy of libiomp5.dylib in the Mac wheels in the .dylibs directory, so that may be a possibility (would be good to confirm licensing).
cc @StrikerRUS

fwiw, we should be able to use GitHub Actions or similar to build the shared libraries without Homebrew. GitHub Actions uses the latest macOS, but setting MACOSX_DEPLOYMENT_TARGET should allow it work on previous versions.
Example: https://github.com/ankane/ml-builds/blob/master/.github/workflows/xgboost-mac.yml

@ankane Thanks a lot for the ping!
I personally against of including any copy of libomp.dylib into wheels. I think that making libomp as a dependency and allowing users to install it in their favorite way is more appropriate way and brings less maintenance burden for us. One of the main reason is that there shouldn't be more than one copy of it in user's environment. Refer to https://github.com/dmlc/xgboost/issues/1715 and https://github.com/microsoft/LightGBM/blob/master/docs/FAQ.rst#10-lightgbm-crashes-randomly-with-the-error-like-initializing-libiomp5dylib-but-found-libompdylib-already-initialized.
Linking also https://github.com/microsoft/LightGBM/issues/2435 here as a one possible solution.
In addition, if I'm not mistaken, GitHub Actions and Azure Pipelines share the same containers and their policy of deprecating images is quite aggressive. Refer to https://github.com/microsoft/LightGBM/pull/2822. So it won't be easy to build artifacts inside non-latest environments.

@ankane @StrikerRUS Travis CI supports High Sierra. I'm currently testing XGBoost inside High Sierra environment: https://travis-ci.org/github/hcho3/xgboost/builds/679300818

@StrikerRUS Thanks for the info and links!
Agree including OpenMP adds more complexity for maintainers, so may not be worth it. PyTorch might have a way to avoid the already initialized error, as I was able to train a simple neural net in PyTorch and XGBoost model (with OpenMP) in the same script (but there are a few reports of it). Here's a note about the specific error fwiw: https://github.com/pytorch/pytorch/blob/47c4dca1ab3fedfde7b1ce383e779454e7903e86/cmake/Modules/FindOpenMP.cmake#L198-L237
@hcho3 re High Sierra: great!

Also, the OpenMP PR for Homebrew has been merged 🎉

#5597 will push binary wheels targeted for Mac High Sierra, Mojave, and Catalina.

You can try it out by running
python -m pip install https://s3-us-west-2.amazonaws.com/xgboost-nightly-builds/xgboost-1.1.0_SNAPSHOT%2Bf68155de6c0f50773d435604eed8669797cdc420-py3-none-macosx_10_13_x86_64.macosx_10_14_x86_64.macosx_10_15_x86_64.whl

Hey @hcho3, just tried it and works great! I think it'd be helpful to give instructions for brew install libomp when it's not installed (I imagine you can check if the error message contains libomp.dylib). Here's the current one:
xgboost.core.XGBoostError: XGBoost Library (libxgboost.dylib) could not be loaded.
Likely causes:
  * OpenMP runtime is not installed (vcomp140.dll or libgomp-1.dll for Windows, libgomp.so for UNIX-like OSes)
  * You are running 32-bit Python on a 64-bit OS
Error message(s): ['dlopen(/Users/runner/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/xgboost/lib/libxgboost.dylib, 6): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib\n  Referenced from: /Users/runner/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/xgboost/lib/libxgboost.dylib\n  Reason: image not found']

@ankane 1.1.0 is just released with the mac wheel: https://pypi.org/project/xgboost/1.1.0/#files

Was planning to make coffee while it installed, but it installed immediately. Please revert!
In all seriousness, works great on Mojave. Ruby version is also out and submitted a version bump to Homebrew for the CLI. https://github.com/Homebrew/homebrew-core/pull/54882


Embedded link preview extends outside of reply modal

Issue: Like title says if you reply to a message with an embedded link, the preview for it will extend outside of the reply modal borders
Screenshot:

@phillsatellite did you paste an <iframe> or just a url for this to occur?

@jasonwoodland I pasted the


Should it be possible to instanciate accounts from the public key ?

This would provide a more object-oriented approach to signature verification, and most methods would still work.
Related to https://github.com/aleph-im/aleph-sdk-python/pull/19/files that creates a function verify_signature(...) outside of the class.

We agreed to do this refactoring at a later stage, when besides signature verification, encryption is also an advertised (or at least well-tested) feature of the SDK, so that the resulting distinction between PrivateAccount/KeypairAccount and PublicAccount/PubKeyAccount has more utility for the end user.


⚠ Mobitopup has degraded performance

In c0d0f3e, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5150 ms

Resolved: Mobitopup performance has improved in aaa5289 after 7 minutes.


New Release

Hello @Jeroen-G!
Could you please make a new release, since there are quite a lot of new code in the master branch.

3.3.0 is released!


How to check code for kernel module ?

I add
let g:syntastic_c_include_dirs = ['/usr/lib/modules/4.7.6-1-ARCH/build/include', '/usr/lib/modules/4.7.6-1-ARCH/build/arch/x86/include/']

then syntastic can find header files, but I get thousand errors after that about declaration.
Thanks for any help.

Somebody wrote a sort of recipe, mentioned at #1383.  IMO a better approach would be something like this:

read the manual until you're confident you understand how syntastic works and what it can do
read :h syntastic-c-gcc
duplicate in syntastic the setup you're using to build the modules.

That's all there is to it.  It's rather long and not particularly user-friendly, but it isn't conceptually complicated.


feat/client: add retries to the retrieve cmd

What this PR does / why we need it:
Frequently the results fails to retrieve in some situations. The issue #1633  describes some scenarios.
The most frequent are:
Slow internet connections between the client and k8s server. It should not affect the results nor the execution as all the work is done on the client side. But sometimes it's impossible to get the results with the CLI, only connecting to the node.
It happened to me in different releases using different plugins.
Which issue(s) this PR fixes

Fixes #1633

Special notes for your reviewer:
Release note:
release-note

Thank you so much @mtulio.
@pydctw @franknstyle - would it be possible to help get this merged and a build created? This would be an amazing fix our team is waiting for here at Microsoft.

It's still a draft, i have plans to validate it this week to submit to review.
But any feedback atm is welcome. I am keeping the counter and interval as argument to make it easier do adapt for needs into different environments.


[BUG] "max allowed memory reached" should not be reported as ERROR

When maxMemory is reached a line is written to the logs as ERROR, as the maxMemory is a soft limit it should be treated as an INFO or a NOTICE.

@hugochinchilla I am going to agree with you. Would you mind to make a PR?

@48d90782 I'm sorry for the late reply, I'm not familiar with golang but this did not prevent me from taking a look at the source code to see if it was possible with my limited knlowledge, sadly I don't know how to do it.

@48d90782 I'm sorry for the late reply, I'm not familiar with golang but this did not prevent me from taking a look at the source code to see if it was possible with my limited knlowledge, sadly I don't know how to do it.

Got you 😃 Likely we will update RR 2.0 first and then I return back to the 1.x version. Thanks for the proposal 😃


HTML in the ReadMe

Hello,
We have HTML in NuGet:

We are using strip html:
https://github.com/d-edge/extLauncher/blob/2b99889ae2667d18a14e6f8f54712f356606f716/.github/workflows/build.yml#L41
There is something to check here :)

I think it's because the project points to the input readme rather than the output: https://github.com/d-edge/extLauncher/blob/2b99889ae2667d18a14e6f8f54712f356606f716/extLauncher/extLauncher.fsproj#L43
If we change the fsproj, it will point to a file that only exists in the GH action. So I think the best is to use strip-markdown-html withou output-path so that it modifies the root README in-place.


Add component: rich text editor

It would be great to have a decent rich text editor as a drop in thing into projects.
Maybe we can look into some.
Quill seems nice :)
https://quilljs.com/docs/quickstart/
Not sure if this would then need some fitting styling.

https://docs.slatejs.org/

https://tiptap.dev/


Add GPS Unix epoch time to telemetry

Hi,
I noticed that in the latest releases of PX4 firmware, GPS time has been added as "microseconds since UNIX epoch"; it is available in the mavlink message #340 (UTM_GLOBAL_POSITION).
I thought that, if you have a companion computer that doesn't have a RTC Backup Battery, it could be very useful to get the time from GPS. It can be used also to sync time in a swarm of drones.

I know... Using the QGC Mavlink Inspector widget, I checked the "time" field of every single message coming from the PX4; the UTM message is the only one that contains UTC time. All the other ones have time from  boot. A GPS_TIME message would be great.

the UTM message is the only one that contains UTC time

Right but looking at the MAVLink spec it is not even specifically documented as being different from the other messages.

yes, the descriptions of the time fields are mostly the same in all the messages.

@julianoes re UTM_GLOBAL_POSITION

Right but looking at the MAVLink spec it is not even specifically documented as being different from the other messages.

This is a broadcast message that acts as a transponder for the drone. It makes no sense for it to be UAS-relative (ie from boot) like most other timestamps in the system, because other systems need to be able to compare it to their own GPS co-ordinates.
That said, there is no requirement that a system implement this, and I wouldn't rely on it. I think something like TIMESYNC might be better ... if its use were documented.

This is a broadcast message that acts as a transponder for the drone. It makes no sense for it to be UAS-relative (ie from boot) like most other timestamps in the system, because other systems need to be able to compare it to their own GPS co-ordinates.

@hamishwillee ok we should document that then.

I just saw this and to raise awareness about the problems of leap seconds, I have to mention that UTC and GPS are different times, with UTC being affected by leap seconds, while GPS time is not.
We should make sure to distinguish between the two and call things consistently with one of the terms, because e.g. on NTP-synced devices the difference could be noticeable.

@thomasetter @julianoes I don't think we need to worry too much about this because we've talked consistently about UNIX epoch:

UTM_GLOBAL_POSITION.time: Time of applicability of position (microseconds since UNIX epoch).
All other timestamps are time_usec: Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.

So there will have to be conversions done if timestamps are coming from GPS, but at the MAVLink level that should not matter.
Or am I missing something ... in which case, can you guys advise on what change you would like to see.

@julianoes I tried to fix all the conflicts and to rename variables and methods as you suggested... but at a certain point, things got really messy here on github.
Now, even if my code compiles, I am not sure that I fixed everything.
Could you please double-check my commits?
Thank you for your help!

On travis it doesn't find std::put_time:
https://travis-ci.org/mavlink/MAVSDK/jobs/568547781#L2393

I checked on the Internet, "the std::get_time and std::put_time manipulators are still missing in gcc 4.9" (see here). Travis is using gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4.
I have just pushed a commit that should fix it (I can't test it...Trevis will tell us).
I think I have also fixed the "timeout" issue.

I checked on the Internet, "the std::get_time and std::put_time manipulators are still missing in gcc 4.9" (see here). Travis is using gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4.
I have just pushed a commit that should fix it (I can't test it...Travis will tell us).
I think I have also fixed the "timeout" issue.

Thank you Julian!

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:
https://discuss.px4.io/t/how-do-i-get-system-time-and-gps-time/29366/5


Reconnect after disconnected

Seems like I've been disconnected from Slack but slash haven't reconnected me. Actually the official Slack also sometimes fail to reconnect me. I sometimes have to restart the app to successfully connect. Not sure whether slash attempts to reconnect and fails or reconnect isn't implemented.
Feature request: offline indication similar to how the official Slack client tells you when you're offline. If you're on a stable connection this might not be an issue, but I'm disconnected from Slack several times a day. Located in China and often switching VPN servers(to circumvent GFW).

@niklasberglund It looks like the problem is caused by expired "wssUrl" used by slash for the recoonnection. It should be requested again with start.rtm RPC method (https://api.slack.com/methods/rtm.start).
...feature request 👍 noted.


X-Ray Mesons Traitor Item

About the PR
Since we're looking to give stealth traitors some more options and I ran into this idea while looking at security cameras, I made goggles which give their user x-ray vision. They're a traitor item disguised as meson goggles. They also have flash resistance for a bit of extra utility.
https://user-images.githubusercontent.com/60792108/154187342-50fa2550-a802-431e-828b-89ffb025dafb.mp4
Changelog

:cl: Rane

add: Added X-Ray meson goggles to the traitor uplink!

need some discussion on whether we want this at all, probably

Could this be adapted to give meson goggles proper functionality - i.e. seeing walls and tiles through walls?

Could this be adapted to give meson goggles proper functionality - i.e. seeing walls and tiles through walls?

All it does is toggle FOV so you'd need a completely separate implementation.

Sussed it on discord and people seem pretty eh on it for balance reasons. Toggling fov seems like a bad idea (which also includes the genetic mutation if we ever get it).


A few small fixups

Signed-off-by: Joe Grund<EMAIL_ADDRESS>

This change is

iml-manager-cli/src/ostpool.rs, line 134 at r1 (raw file):
Previously, mkpankov (Michael Pankov) wrote…

query

Hmm? This query isn't used below.

good catch... fixing


Error: Ensure GITHUB_TOKEN has permission "id-token: write"

Hey there,
I saw that your build fails due to  Error: Ensure GITHUB_TOKEN has permission "id-token: write" error. You can resolve this error simply by adding the following permissions to your ci.yml file:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
  contents: read
  pages: write
  id-token: write

You have to add it between on: and jobs:. Like so:
name: CI

on:
#your other codes...

permissions:
  contents: read
  pages: write
  id-token: write

jobs:
#your other codes...

I believe it will solve the build error you've received in your recent action run.

Thank you for your advice, but I'm still encountering issues during deployment. If it's convenient for you, could you help me take a look

Sure thing. You might wanna update your version for vite-github-pages deployer, latest is v1.2.0:
- name: Vite Github Pages Deployer
  uses<EMAIL_ADDRESS>
Don't forget to check the documentation for possible inputs that suits your needs.
I've been able to solve it in a fork, smalls tweaks in the ci.yml made it work. You may check it here, and deployment here. However I get 404 on your application, it might be about public_base_path.
If the action package doesn't meet your requirements and needs, just hit me up with the specifications and I can add it to the package.

PR #2 contains the changes.

I set my parameters completely according to your Forkb version of the ci.yml file, but I still cannot deploy them correctly,
Error: Creating Pages deployment failed Error: HttpError: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from gh-pages     at /home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/node_modules/@octokit/request/dist-node/index.js:86:1     at processTicksAndRejections (node:internal/process/task_queues:96:5)     at createPagesDeployment (/home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/src/internal/api-client.js:126:1)     at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/src/internal/deployment.js:80:1)     at main (/home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/src/index.js:30:1) Error: TypeError: Converting circular structure to JSON     --> starting at object with constructor 'TLSSocket'     |     property '_httpMessage' -> object with constructor 'ClientRequest'     --- pr

Well the thing is I just forked from your current version and it literally worked without any changes (just added comment line in ci.yml to trigger action run).
Can you please verify "Github Actions" is selected for build and deployment source. Navigate to the repo -> Settings -> Pages (left sidebar) -> Source, then choose Github Actions from the dropdown.


Could you offer the minified file?

Hello @contra , I am the member of cdnjs project. We want to host this library. There is a question want to ask. Could you offer the minified file for react-responsive.js on npm package? We need to mention the minified file in package.json. Thanks for your help!
https://github.com/cdnjs/cdnjs/issues/9233

Want to send a PR to add that to the build step?
Or you could add something to cdnjs that minifies, because more library authors aren't including those anymore. It's expected that the user has their own bundling step.


The pdf preview is displayed normally, but the DOM text is garbled

Attach (recommended) or Link to PDF file here:
test.pdf
Configuration:

Web browser and its version:Firefox version 95.0 (x64)
Operating system and its version:macOS version 10.15.7

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Attach (recommended) or Link to PDF file here:

This part of the issue template is always required in order for any issue to be actionable.
Furthermore, please make sure that you provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md when opening an issue (currently e.g. the PDF.js version number is missing).

WFM, using PDF.js version 2.12.248 in Firefox Nightly 97 on Windows.
Hence I can only assume that this was an issue in older versions of the library, however given that you've not stated which PDF.js version(s) you're using (which is explicitly asked for in the ISSUE_TEMPLATE) and/or which versions are used in the respective screen-shot, we unfortunately cannot really provide further assistance here!

Hello, thank you very much for being able to solve this problem, I think this may be a bug in PDF.js


Feature Request: Have "View Info..." Tool Utilize Existing Preview Images

I love the "View Info..." tool that you've added to the Checkpoint Loader and Lora Loader. They are very helpful for finding the correct models. One request I would ask, however, is if you could allow this tool to utilize any existing .jpg or .png preview already downloaded for the model in question. I.E. In Automatic1111, I have an extension installed called "Stable-Diffusion-Webui-Civitai-Helper" that downloads all the model information from Civitai and saves it locally to the appropriate model folder for each model. It saves a .json file with a lot of great model information, as well as a preview image in the format "modelname.preview.png". If you could allow your tool to use these existing files, it would greatly improve the speed of the pop-up information window.
Thank you for your consideration.

That should already be supported:
https://github.com/pythongosssss/ComfyUI-Custom-Scripts/issues/37

Here it is loading .preview.png

Outstanding. I see that your node is looking for those preview images. I apologize for not realizing that.
Aside from the image, there's a lot of great information stored in the json file that this extension writes. Maybe you could make use of that, as well. Though, I noticed that your node saves some other type of file for each model I lookup information on.
Regardless, this is a GREAT step forward for usability in ComfyUI. The functionality is something I feel like the core nodes should utilize, also.

Outstanding. I see that your node is looking for those preview images. I apologize for not realizing that.
Aside from the image, there's a lot of great information stored in the json file that this extension writes. Maybe you could make use of that, as well. Though, I noticed that your node saves some other type of file for each model I lookup information on.
Regardless, this is a GREAT step forward for usability in ComfyUI. The functionality is something I feel like the core nodes should utilize, also.

I'd also like if the existing info in the A1111 JSON would be loaded. Maybe edit the title of the issue to reflect this?
A1111 saves info like this:
loras
| `- <loraname>.safetensors
| `- <loraname>.json

The JSON looks like this:
{
    "description": "",
    "sd version": "SD1",
    "activation text": "",
    "preferred weight": 0,
    "notes": ""
}

If this can be a thing it would be wonderful.
I am using ComfyUI automatic1111 extension and I can't seem to get your 'view info' to recognize the existing civitai helper plugin info.


Feature request: hover and navigation (to definition) inline need role

It's great to have on-hover preview and navigation with UI gestures on IDs in links-typed options.  Could we please also have these for inline :need: role text?

Sure, shouldn't be quite easy to configure it for :need: as well.


FIX-#2869: Fix setting NPartitions via put

Signed-off-by: Igoshev, Yaroslav<EMAIL_ADDRESS>
What do these changes do?

@YarShev Thank you, I could not get them to rerun.
Windows test can sometimes hang for 6 hours+. Do we have an open issue for that? It's hard to identify why it happens, sometimes it just does, but setting a lower timeout would help a lot.

Yes, I see Windows tests hanging not at first time as well. We don't have an open issue for that. Probably, yes, the timeout would be good solution.

@YarShev tests are hanging again. I will restart once they are shut down.

I have restarted the tests 😄  Will see how it goes at this time.

@devin-petersohn , tests passed.


Cannot resolve components during dev build with watch

Short description of the problem:
After upgrading to Ionic rc1 when I npm run watch the build fails with the message:
bundle failed: Could not resolve '../pages/units/UnitSelectorModal' from /Users/twalker/project/src/app/app.module.ts

However if I npm run build everything compiles fine. I have checked the paths and UnitSelectorModal is definitely in the right location.
What behavior are you expecting?
Failure to compile during a dev build
Ionic Info

Your system information:
Cordova CLI: 6.3.1
Gulp version:  CLI version 1.2.2
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.36
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.0 Build version 8A218a

Hello, thanks for opening an issue with us! Unfortunately i cannot reproduce this issue locally. Would you mind posting a repo i can test this with?

I can confirm the issue exists. After upgrading to RC.1 imports doenst work from barrel files.
Example:
export * from './slide.transition';
export * from './fade.transition';
export * from './md.transition';
export * from './ios.transition';

I tried stripping down my project so it is simple enough to demonstrate the issue however now I get a similar but different error:
[11:17:53]  can't resolve module /Users/twalker/Desktop/rc1test/.tmp/pages/about/AboutPage.ts from /Users/twalker/Desktop/rc1test/.tmp/pages/about/AboutPage.ts
[11:17:53]  Error: can't find symbol AboutPage exported from module /Users/twalker/Desktop/rc1test/.tmp/pages/about/AboutPage.ts

Please see the attached project. I'm not too keen in uploading the full project that is exhibiting the original issue, so hopefully it will exhibit the original issue after this new error is rectified.
Appreciate the teams hard work.
rc1test.zip

cannot load third component's templateUrl in browser with ionic serve.

I know I had a similar issue that was due to capitalisation. once i took out my capitals from the import statement and file name, everything started working correctly. In fact I just tried now, if i recapitalise them i still get this error.
@jgw96 can you take a look at this?

Hello all! Would you all give the latest beta release of our app-scripts a try and see if you still run into the issue? To install it just run npm install @ionic/app-scripts@beta in your project. Thanks!

@jgw96 I was having the same problem with 0.0.36 on RC.1. Updating to @ionic/app-scripts@beta solved the barrel imports not working.

@jgw96 I'm still having issues with watch, it was successful one time but most of the time I get the run time error:
Error: Module parse failed: /Users/twalker/Projects/Convert/node_modules/@ionic/app-scripts/dist/loaders/ionic-loader.js!/Users/twalker/Projects/Convert/src/pages/units/UnitSelectorModal.ts Unexpected character '@' (6:0)
You may need an appropriate loader to handle this file type.
| import {Unit} from "../../interfaces/Unit";
|
| @Component({
| 	templateUrl: 'unitselector.modal.html'
| }) (2)

Is the plan to go back to web pack?

@cubicleWar We are going to be using webpack by default as it is more compatible with alot of the legacy commonjs libraries that are still commonly used without any config, but still have rollup as an option as it provides smaller/faster bundles. Since it seems this issue has been solved i am going to close this issue for now. Thanks!


fix: parse the path for package manually when module is __main__

This is definitely over my head! What is this actually fixing/solving?


Switch to the new Mono.Unix nuget

The nuget replaces older Mono.Posix-NETStandard one and makes it
possible to build LibZipSharp using dotnet on Unix.

Hm, it seems native libraries aren't copied to the output directory from the Mono.Unix nuget

dotnet build did copy them, but not msbuild


addHTML and fromHTML methods not into jspdf.node.debug.js

The methods addHTML and fromHTML don't exist into jspdf.node.debug.js

these two methods have been deprecated, use html() instead.


Pre-delete-job image - allow customization of helm repository

We have a scenario where we need to consume images from a corporate helm repository, so we need to override the pre-delete-job image (like we do for the manager).
In addition, we need to support pull request for that repository

Suggested fix: https://github.com/SAP/sap-btp-service-operator/pull/293

fix merged and released in version v0.4.8


Browser back button doesn't work, afteer I change color by region to color by indicator

@olarosling

Related to https://github.com/Gapminder/vizabi/issues/936
@jheeffer is on it . We have discussed how this needs to be solved and solving #936 will solve this too.

Browser back button now brings you to previous page, after changing colour to indicator.

https://github.com/Gapminder/vizabi/commit/e942f03007299f397d71e5578f37b14feed04185


feat: Enrich super admin role by restricting model downloading

There's been a new super admin role since the 0.1.123 version to restrict user actions to other admins.
It'd be useful if model downloading/deletion were restricted to the super admin.

After being confused by the 2nd line;

User action buttons from the admin panel are now disabled for users with admin roles.

I discussed with another contributor about this, and thought some modifications would be necessary for this new "super admin" role

Make the super admin role assignable by other super admins
Super admin should be the only one able to see others chats, modify roles or modify users
"Normal" admins would preserve their current permissions, minus the latter

Below is a transcript of our conversation.

Link to a table describing the needs/permissions for this "Super Admin" role.
It restricts "Admin" permissions a lot, but it makes sense in the way that the "Super Admin"(s)  exists.
https://docs.google.com/spreadsheets/d/1Zb6_aC3h-wPb7K7eVxFYO9PV0k4PAlIUKM0AxRQd_dc/edit?usp=sharing


Add per-call context pointer API

This is a fairly minimal extension to the core API to allow manipulating some foreign pointers on the call and bubbling them through the filter stack.
@jboeuf, @a-veitch, @nabeelmian - does this enable the use cases that we've been talking about?

Thanks much!
There are 2 places where I would need this.

On the client side in order to associate credentials to a call.
On the server side in order to bubble up the peer to the application.

Note that it could also be useful to have a high level peer on the client side as well to be exposed to the application.
I guess that this is a sufficient hook for my needs though as I can have a client/server security context object that contains the sub-objects needed to make all these cases work. This security context is the one that would get set in the call context. Is this consistent with what you had in mind?

That's what I imagined, yeah. Happy to expand the enum by one or two values too if needed.

Cool thanks. Let's start with the current PR and we can always add more
values later.
On Friday, May 1, 2015, Craig Tiller<EMAIL_ADDRESS>wrote:

That's what I imagined, yeah. Happy to expand the enum by one or two
values too if needed.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/1447#issuecomment-98261064.

--
Julien.

Can we merge this?

Would like feedback from +Nabeel Mian<EMAIL_ADDRESS>beforehand.
On Mon, May 4, 2015 at 2:50 PM jboeuf<EMAIL_ADDRESS>wrote:

Can we merge this?
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/1447#issuecomment-98857838.

LGTM.


Something is wrong Please HELP!

When I try to run the code, I get this error and it does not display the weather but displays everything else:
File "smartmirror.py", line 147, in get_weather
weather_obj = json.loads(r.text)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Error: No JSON object could be decoded. Cannot get weather.

Make sure you add your weather token

Yes i made sure to do that many times
On Oct 19, 2016 6:09 PM, "Aaron Tainter"<EMAIL_ADDRESS>wrote:

Make sure you add your weather token
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerHouseYT/Smart-Mirror/issues/19#issuecomment-254983619,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVmjwTOcPCF5S1rUyvNQ2CW4BELsFeOWks5q1r80gaJpZM4Kbmlt
.

add a line print r.text before weather_obj = json.loads(r.text)

I put (print r.text) in the place you mentiobed but its still not working
On Oct 19, 2016 6:35 PM, "Aaron Tainter"<EMAIL_ADDRESS>wrote:

add a line print r.text before weather_obj = json.loads(r.text)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerHouseYT/Smart-Mirror/issues/19#issuecomment-254986886,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVmjwW5cxBMjkeB56LRi1dQLY6ftxk9Hks5q1sV5gaJpZM4Kbmlt
.

What does it print?

It prints nothing
On Oct 19, 2016 6:48 PM, "Aaron Tainter"<EMAIL_ADDRESS>wrote:

What does it print?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerHouseYT/Smart-Mirror/issues/19#issuecomment-254988301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVmjwZ9sdgSUPU1Na3fMiK308IFsNcD0ks5q1shzgaJpZM4Kbmlt
.

Can you print the request url for weather, then paste it in your browser?

also, did you use (print r.text)  or print r.text

Did you get your api token through darksky.net?

Yes i did. Also i get a 400 bad request when i copy paste the url into my
browser
On Oct 19, 2016 6:59 PM, "Aaron Tainter"<EMAIL_ADDRESS>wrote:

Did you get your api token through darksky.net?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerHouseYT/Smart-Mirror/issues/19#issuecomment-254989554,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVmjwapRwgj5-Wu85nKisASe9L-u9LuDks5q1ssNgaJpZM4Kbmlt
.

Can you remove the token and post the url here?

sorry for the lateness but here is the complete code
get weather
        weather_req_url = "

https://api.darksky.net/forecast/%s/%s,%s?lang=%s&units=%s" %
(weather_api_token, lat,lon,weather_lang,weather_unit)
r = requests.get(weather_req_url)
print r.text
weather_obj = json.loads(r.text)
thank you so much
On Thu, Oct 20, 2016 at 2:11 AM, Aaron Tainter<EMAIL_ADDRESS>wrote:

Can you remove the token and post the url here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerHouseYT/Smart-Mirror/issues/19#issuecomment-254990968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVmjwVEUVvZDJSZJmpfSr6F2phAz_cn5ks5q1s3QgaJpZM4Kbmlt
.

--
Allah Hafiz ,

I am also getting this error. I have added print r.text but it says Error: No JSON object could be decoded. Cannot get weather. also i seem to be getting American news. Is the news code uk, gb or en? Thanks a lot for your help.

I added parameters for latitude and longitude. Try setting both of those and trying again.

where did you add them?

Top of the file. By the params for weather token.

also would it help if i opened the file with python 3?

it seems that the code isnt even taking weather_api_token variable into account. I just left it blank and it came up with the usual error

I use python 2.7 exclusively, but it might work with 3

Strange. It works for me. Maybe you didn't copy the token correctly? Also, are you wrapping your token in quotes?

For python 3 it comes out with a syntax error

weather_api_token = 'ab3ecce009842378d898bcfc0d1b7270'

wfm

https://api.darksky.net/forecast/%s/%s,%s?lang=%s&units=%s this link has a 400 error

lol its not 68 degrees here

im on raspbian would that make a difference?

That's my location.
You need to replace the %s values in the string. https://api.darksky.net/forecast/ab3ecce009842378d898bcfc0d1b7270/37.774929,-122.419416?lang=en&units=us
Where 37.774929,-122.419416 are the latitude and longitude respectively.

is that the link from under the api? because ive tried putting that in already

Error: not all arguments converted during string formatting. Cannot get weather.

When did you get this error?

I constructed the URL

after i copied the link up there. and put it in here: weather_req_url = "https://api.darksky.net/forecast/ab3ecce009842378d898bcfc0d1b7270/37.774929,-122.419416?lang=en&units=us" % (weather_api_token, lat,lon,weather_lang,weather_unit)

remove % (weather_api_token, lat,lon,weather_lang,weather_unit)

it says i have a total number of calls of 16, so something must be happening

oh, you must've reached your call limit for the hour. Try again in an hour

you sir, are a wizard

it works :)

but now there is a comma infront of eng

screenshot?

for some reason i cant attach files here...

drag and drop them into the textbox

also i cant take a screen shot while the window is open...

Not sure why the screenshot wont work.
It probably can't find your location from ip for some reason. That is separate from the weather api, but sends the lat/long coordinates to the weather api. You could hard code the location name if you want. Just turn set location2

For example location2 = San Francisco, CA

Also, you have to make sure you update the url with your correct lat/long

thanks a lot. it works perfectly now :) Can i ask you a favour?

just a little one?

i am getting this error
raceback (most recent call last):
File "/home/pi/123.py", line 235, in get_headlines
headline = NewsHeadline(self.headlinesContainer, post.title)
File "/home/pi/123.py", line 248, in init
image = Image.open("assets/Newspaper.png")
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2251, in open
fp = builtins.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'assets/Newspaper.png'
Error: [Errno 2] No such file or directory: 'assets/Newspaper.png'. Cannot get news.
please help

Check in your directory assets folder in which  newspaper.png image is
prsent or not..
On 14-Apr-2017 3:03 AM, "Projectchotu"<EMAIL_ADDRESS>wrote:

i am getting this error
raceback (most recent call last):
File "/home/pi/123.py", line 235, in get_headlines
headline = NewsHeadline(self.headlinesContainer, post.title)
File "/home/pi/123.py", line 248, in init
image = Image.open("assets/Newspaper.png")
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2251, in open
fp = builtins.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'assets/Newspaper.png'
Error: [Errno 2] No such file or directory: 'assets/Newspaper.png'. Cannot
get news.
please help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerHouseYT/Smart-Mirror/issues/19#issuecomment-294027487,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZmr9N3fAR4EubqKGZgyliq_UQqbGG3iks5rvpSqgaJpZM4Kbmlt
.

there is no such folder assets in my directory.....

please help......

i created a folder assets with Newspaper.png but still the same error.....
/home/pi/MagicMirror/assets

hi guys i am also getting same error in smart mirror master(No json object could be decoded.cannot get weather)...

...please help me it's urgent

 this my code. please help me.

New Microsoft Office Word Document.docx
please help me any one i am getting error.

Can I get fresh codes of python 3 for smart mirror?

Enter a fresh ip token and try again..
On Sat, Apr 27, 2019, 8:05 PM LLeo007<EMAIL_ADDRESS>wrote:

Can I get fresh codes of python 3 for smart mirror?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HackerShackOfficial/Smart-Mirror/issues/19#issuecomment-487293408,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGYLIDVKH3VKLPZBFPFL7TDPSRTUBANCNFSM4CTONFWQ
.


Adjust red squiggly lines in Secrets management overview page

URL of the docs page
https://docs.dapr.io/developing-applications/building-blocks/secrets/secrets-overview/
Screenshots
Example image where you can find it:

Additional context
There are some red squiggly lines in the images showcased in the aforementioned doc page.

@hhunter-ms Do you happen to know where I can find the editable diagram files? Is it open to the community? I can only find the current state of the images in /images, but I can't find anything suggesting how we can open the images as diagrams and fix them.

@hhunter-ms Do you happen to know where I can find the editable diagram files? Is it open to the community? I can only find the current state of the images in /images, but I can't find anything suggesting how we can open the images as diagrams and fix them.

@RafaelJCamara the diagrams are located in this PowerPoint file. You can definitely contribute to this!
Note that the current diagrams in that PowerPoint are not matching the new style from the Dapr slide deck (located in the same folder). A larger effort is required to update all diagrams in this new style. Help is definitely appreciated.

I've read about this PowerPoint info in the docs, but I was unable to do any modifications on my side (probably something I need to see due to the fact I'm using LibreOffice, not sure).
I'll take a look into trying to contribute for the diagrams, I'm really curious about that.
Thank you so much @marcduiker !


Port kerberos module from apache druid

Are you working on it? If so, I will cherry-pick this issue to the carrot-branch later.

Just copied and made it compiled.


tensorflow.python.framework.errors_impl.NotFoundError: damo/cv_unet_person-image-cartoon-3d_compound-models/cartoon_anime_h.pb; No such file or directory

when running python multi-style/run.py --style 3d I get
Traceback (most recent call last):
  File "multi-style/run.py", line 46, in <module>
    process(args)
  File "multi-style/run.py", line 17, in process
    algo = Cartoonizer(dataroot='damo/cv_unet_person-image-cartoon-3d_compound-models')
  File "./source/cartoonize.py", line 19, in __init__
    os.path.join(dataroot, 'cartoon_anime_h.pb'), 'model_head')
  File "./source/cartoonize.py", line 38, in load_sess
    graph_def.ParseFromString(f.read())
  File "/root/miniconda3/envs/python-app/lib/python3.7/site-packages/tensorflow_core/python/lib/io/file_io.py", line 122, in read
    self._preread_check()
  File "/root/miniconda3/envs/python-app/lib/python3.7/site-packages/tensorflow_core/python/lib/io/file_io.py", line 84, in _preread_check
    compat.as_bytes(self.__name), 1024 * 512)
tensorflow.python.framework.errors_impl.NotFoundError: damo/cv_unet_person-image-cartoon-3d_compound-models/cartoon_anime_h.pb; No such file or directory

manully change the file name from cartoon_h.pb to cartoon_anime_h.pb


koumura2annot throws an error when annot_file is a Path not a str

Traceback (most recent call last):
  File "/home/art/anaconda3/envs/vak-dev/bin/vak", line 11, in <module>
    load_entry_point('vak', 'console_scripts', 'vak')()
  File "/home/art/Documents/repos/coding/birdsong/vak/src/vak/__main__.py", line 43, in main
    config_file=args.configfile)
  File "/home/art/Documents/repos/coding/birdsong/vak/src/vak/cli/cli.py", line 18, in cli
    prep(toml_path=config_file)
  File "/home/art/Documents/repos/coding/birdsong/vak/src/vak/cli/prep.py", line 162, in prep
    logger=logger)
  File "/home/art/Documents/repos/coding/birdsong/vak/src/vak/io/dataframe.py", line 124, in from_files
    annot_list = scribe.from_file(annot_file=annot_file)
  File "/home/art/anaconda3/envs/vak-dev/lib/python3.6/site-packages/crowsetta/koumura.py", line 53, in koumura2annot
    if not annot_file.endswith('.xml'):
AttributeError: 'PosixPath' object has no attribute 'endswith'

fixed by #53


Enhanced text-format

Is your feature request related to a problem? Please describe.
Logging output cannot be customised to suit SIEM rules for SOC
Describe the solution you'd like
What would be nice is text-format to be truly customisable, with the ability to put raw text as well as variable values.
For example to buld your own syslog output stream using logger.tcp:
text-format: "<30>1 {timestamp-rfc3339ns} {response-ip} named - {id} {operation} [] {queryip} {queryport} {qname} {qtype} {protocol} {qr} {opcode} {rcode}"

The text-format is customizable but doesn't support raw text.
It will be more easy to implement the opposite to be backward compatible, something like that:
text-format: "timestamp-rfc3339ns {my raw text} id operation rcode queryip {named} queryport family protocol length qname qtype latency"

I've got a modified version of dnsutils/message.go to handle this enhancement ...

diff -b ./dnsutils/message.go.1 ./dnsutils/message.go
40a41

  RawTextDirective       = regexp.MustCompile(`^\{.*\}$`)

747c748
<

          case RawTextDirective.MatchString(directive):

748a750,752

                  directive = strings.Replace(directive, "{", "", -1)
                  directive = strings.Replace(directive, "}", "", -1)
                  s.WriteString(directive)

But now I also need a way to split the format better :-(
It doesn't cope with static text {blah blah blah}
Is text-format-delimiter for splitting the format ,  or only for writing output ?
If only for output , may need a new config entry ,  eg text-format-splitter

Feel free to make a pull request :)

I don't think I have access to do a pull request (?)
According to the doco ,  I should be able to create a new request under the branch menu.
Ref:   https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request

You need to fork the project in your side and push back changes after.

Done.
I think I covered everywhere for the text-format-splitter ,  but I may have missed some places.
I also included your peer-name branch changes.
ref:  https://github.com/peterand-pa/go-dnscollector

Can you create the pull request here ?
Regression tests will be executed on your specific branch.

I've removed the peer-name changes and re-pushed.
How do I do a pull-request here ?

Custom text format implemented with Jinja template in PR https://github.com/dmachard/go-dnscollector/pull/748