Remove login from Facebook, Gmail and Email.

As our target customers are all programmers, we need simplifies the process of login, allow just for Github.
And this will destroy the dependency of a email-system reminding people of they password and the multiple account problem (Where people with different email make login multiples times.).

Any thoughts about what to do with the login of people that already logged in using one of these authentication providers?

Hi @jonatasoliveira, i do, for me the best approach:
Remove the authentication using Facebook, Google and Email.
Send an email asking to the users to login using Github (some users already have signed in with Github after have an account using the email, for example).
Migrate the old user votes to the new User.
Delete the old ones.

Nice, @luanfonceca. There is any chance to do it automagically? Like the user login with Github and if it's the same email from another authentication we migrate the data.

I dont know, because the user must to allow the Github to use his account.
But in the email we can add direct link Github login, so He will need just to click and accept.

Does it make sense remove login options for the system?
Why should it be required for the users to have an account in an specific closed and proprietary platform to allow them to login in the system? Even if the system has a programmer user focus, it is not mandatory that all participants of the events will be programmers too, and nor all programmers have Github accounts.

I Agree, not all programmers it has github.

There is some hard scenarios when you allow people to login with all that social networks:

Some people forget how social network he has been signed up, so they create unnecessary accounts.
Create one account for each possible authentication method to vote on his own proposal multiple times.
We need to offer a interface to, change password, reset password, change profile information.
We need to integrate accounts and take care of its multiples accounts on all the platform.

All that work consume time, that time which can be distributed to the growth of the platform, instead of being just wasted on login and signup, i don't think that this is a problem that we need to solve to make people use our application.
And all is for discussion here.
o/

Some people forget how social network he has been signed up, so they create unnecessary accounts.
These accounts will not need maintenance. Just will be stored in the database. We can even disable them after some time, and if the user tries use them again, it could require reactivate, reset password or something like that.

Create one account for each possible authentication method to vote on his own proposal multiple times.
If someone really wants to do something like that, he/she will do no matter how the accounts system works. You need to have some trust in the user behaviour. Besides, the event owner certainly will be following the votes and will notice if something like that happens.

We need to offer a interface to, change password, reset password, change profile information.

We need to integrate accounts and take care of its multiples accounts on all the platform.
Instead of forcing an user to have an account in Github, we can use some library that integrates that. An example is http://www.intenct.nl/projects/django-allauth/ that integrates everything, so we don't need to have to take care of multiple accounts. Integrate with OpenID is a good alternative too.

I can't see the platform growing and reaching users outside programmers world (and programmers that don't use github), if you remove from them alternatives to registering to the platform that they are accustomed to using, further existing good alternatives to handle this with not much effort.
Some people forget how social network he has been signed up, so they create unnecessary accounts.
Create one account for each possible authentication method to vote on his own proposal multiple times.
We need to offer a interface to, change password, reset password, change profile information.
We need to integrate accounts and take care of its multiples accounts on all the platform.

Hi @rennerocha, i agreed with you on all that, i just don't agree on spent time in all that, but its okay for me.
We already use django-allauth. So, this process should be less painful. I am okay with the all authentication methods, but we need to apply the Speakerfight style to the pages, so i am opening a issue for each page that should exist and relate that issues with this one, for people to track this talk.
o/

Github is currently not working, I only see this message when try to login:
Internal Server Error
I'm sorry, that page is currently unavailable due to a server misconfiguration. The server administrator has been notified, and we apologise for any inconvenience.

SpeakerFight é orgulhosamente um projeto open-source e esta sempre sendo melhorado. Se o software apresentar qualquer comportamento estranho por favor nos informe. ```

I am closing this talk, through the issues #30 and #65, we are improving the UX of the '/accounts/' interface. It needs to be much better, for now "working" is good enough.
o/


Remove host-label scheduling requirement for convoy-gluster

Just make convoy-gluster deploy globally

This will require a documentation update.

Fixed convoy-gluster now schedules globally.

Updated the documentation.
Verified that no host label is required anymore.


ESP32: Not able to complete Rendezvous session using chip-tool with static sdkconfig

Problem
CHIP-TOOL is not able to connect to ESP32 (BLE mode) after commit: b255818f. This failure is applicable for both NimBLE and Bluedroid BLE stacks of ESP32.

expected behavior:

Should be able to connect to ESP32 using chip-tool and complete Rendezvous session.

actual behavior

Even after running ./out/debug/chip-tool echo ble 12345678 3840 on mac not able to connect to ESP32(NimBLE). This behavior has been seen after Fix BLE advertisement service data format (#3557) commit.

steps to reproduce

Run all-clusters-app app on ESP32 with NimBLE BLE stack.
On mac, run ./out/debug/chip-tool echo ble 12345678 3840 , it won't connect to ESP32

system configuration
NimBLE:
-- Enable NimBLE stack (enabled by default)
-- Choose Rendezvous Mode as BLE.
Bluedroid:
-- Enable Bluedroid stack from menuconfig options
-- Choose Rendezvous mode as BLE

Proposed Solution
If we comment out kFlag_AdvertisingRefreshNeeded the chip-tool can connect to ESP32, but I am currently not sure of other implications of this.

Update: This issue occurs when I provide SSID + password through static configuration(sdkconfig) . Since the SSID and credentials are provided to device, I get kWiFiConnectivityChange platform event which retriggers the device advertisement and then chip-tool is unable to connect to ESP32. Is this expected behavior ? CC: @mspang @dhrishi

Hey @woody-apple I think this isn't relevant now. Should we close this?

Closing as this is not relevant now.


[DEVICE-TESTED] Credential fail

Describe the bug
After instalation, when prompted to enter credentials it returns 'invalid user'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots

Desktop (please complete the following information):
Smartphone (please complete the following information):

Device: Pi4
OS: Home assistant OS
Browser App
Version latest

Additional context
Add any other context about the problem here.
Conga 4090
device connects via different end points:
/mnt/UDISK/config/sysConfig.ini
[Sys_Config]
server_cmd_address=cecotec.das.3irobotix.net
server_map_address=cecotec.das.3irobotix.net
server_log_address=cecotec.log.3irobotix.net
server_ota_address=cecotec.ota.3irobotix.net
server_down_address=cecotec.download.3irobotix.net
server_ssl_cmd_port=5010
server_ssl_map_port=5030
server_ssl_enable=0
server_cmd_port=4010
server_map_port=4030
server_sync_time_port=4050
server_log_port=21
server_ota_check_port=5000
server_ota_download_port=2300
wlan_port=8111
wlan_broad_port=8888
deviceFirmsID=1003
deviceType=20
languageType=2
hardwareRtc=1
timezoneSec=28800
ctrl_version=V4.0
extra details:
[Device_Config]
software_version=S<IP_ADDRESS>.42R
hardware_version=1.0.1
robot_app_version=5
algorithm_version=<IP_ADDRESS>301_Alpha23
stm32_version=1.0.0_18112142
lidar_version=LIDAR_VERSION_UNKNOW
works with 5000 and 4000 series apps

Device 3090 is not currently supported. You can try Freeconga or Badconga.
I'm opening the PR #21  to update the README and make it clear now.

Ok, no worries but it's 4090 not 3090.
👍


Must not complain about 'new style hashes' if symbol is a string.

C: Use the new Ruby 1.9 hash syntax.
:'Allow profile sharing' => 'profile_can_be_shared_by_others'
^^^^^^^^^^^^^^^^^^^^^^^^^^^
is an incorrect complaint, since
ruby -e "{'symbol key with space': 'value'}"
-e:1: syntax error, unexpected ':', expecting =>
{'symbol key with space': 'value'}
^
-e:1: syntax error, unexpected '}', expecting end-of-input

ruby -v?

2.1.5 or 2.2.3 - I'll have to check when I get back into the office.

Worth noting that in your example, your hash key is a symbol, not a string. It's probably failing because you specified a symbol key but didn't use the hash rocket syntax. Obviously the hash rocket syntax is required in this case so perhaps the rule should check the key to ensure is both a symbol and that it is allowed to use the ruby19 syntax (in this case you cannot).

22:10 ~prog/Ruby/rubocop % rbenv shell 2.2.2                                   [master]
22:10 ~prog/Ruby/rubocop % pry                                                 [master]
[1] pry(main)> { "hi there": 1 }
=> {:"hi there"=>1}
[2] pry(main)> {'symbol key with space': 'value'}
=> {:"symbol key with space"=>"value"}
[3] pry(main)> RUBY_VERSION
=> "2.2.2"

This bug report is incorrect and should be closed.

I agree. @sleekweasel I think you ran rubocop under Ruby 2.2 or later, but the ruby -e command on an earlier version.


Support the Whisper model in onnxruntime-genai

Many changes in this PR are from @RyanUnderhill's whisper branch.
This pull-request introduces support for running the openai/whisper model. In particular, this pull-request introduces the following:

Whisper preprocessing: Given an audio file, the preprocessing stage creates the mel spectrogram and the decoder input ids that are needed for the model execution.

Whisper model execution: Given the log mel spectrogram and the decoder input ids, the whisper onnx models can be executed. The model execution is split into three phases

EncoderDecoderInit: The corresponding ONNX model for this phase contains the Encoder and the Decoder with the Attention operator. This model is run on the first token generation only.
DecoderInit: This phase manages the transition from first token generation to the second token generation. i.e. From managing the inputs/outputs of the EncoderDecoderInit ONNX models to managing the inputs/outputs of the Decoder ONNX model.
Decoder: This phase manages all the remaining token generation steps. The corresponding ONNX model contains only the decoder logic with the DecoderMaskedMultiHeadAttention operator.

The model execution also manages the outputs of the model: logits and optionally the cross_qk buffers required for computing the word level timestamps.

The Python, C, C++ APIs for loading audios, preprocessing the audio files, and executing the whisper model.

With this pull-request, onnxruntime-genai can execute the openai/whisper model on CPU (fp32) and CUDA (fp16 and fp32) EPs with batch_size >= 1 and beam_size >= 1
Changes required that are not part of this pull-request:

Making the cross_qk buffers available as outputs for the CPU EP.
Refining the user API.
Add C# API to load multiple audio files for batch size > 1.
Add C# example.
Splitting the phases into two Encoder and Decoder to avoid the decoder weight duplication in EncoderDecoderInit.
An end-to-end example with word-level timestamps

we need to add some tests in following PR.

and add a description on how to create the model

In reply to:<PHONE_NUMBER>


 Opening hours of 100 venues are now imported at a time.
Added 10s timeout for requests to external systems
Doubled deployments' RAM limits to 600Mi
Doubled cronjobs' timeouts to 6h

Codecov Report

Merging #42 (513875b) into develop (92ed169) will increase coverage by 4.54%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop      #42      +/-   ##
===========================================
+ Coverage    54.32%   58.86%   +4.54%
===========================================
  Files           18       19       +1
  Lines          567      615      +48
  Branches        74       83       +9
===========================================
+ Hits           308      362      +54
+ Misses         258      250       -8
- Partials         1        3       +2

Impacted Files
Coverage Δ

ingest/importers/location.py
57.37% <0.00%> (-0.84%)
:arrow_down:

ingest/importers/utils/shared.py
100.00% <0.00%> (ø)

ingest/importers/utils/__init__.py
100.00% <0.00%> (ø)

ingest/importers/utils/opening_hours.py
92.85% <0.00%> (ø)

ingest/importers/utils/traffic.py
33.33% <0.00%> (+4.76%)
:arrow_up:

Continue to review full report at Codecov.

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


Solr native support fixes #1703

[ ] An issue should be filed for the change unless this is a trivial change (fixing a typo or similar). One issue should ideally be fixed by not more than one commit and the other way round, each commit should fix just one issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful and properly spelled subject line and body. Copying the title of the associated issue is typically enough. Please include the issue number in the commit message prefixed by #.
[ ] The pull request description should explain what the pull request does, how, and why. If the info is available in the associated issue or some other external document, a link is enough.
[ ] Phrases like Fix # or Fixes # will auto-close the named issue upon merging the pull request. Using them is typically a good idea.
[ ] Please run mvn process-resources -Pformat (and amend the changes if necessary) before sending the pull request.
[ ] Contributor guide is your good friend: https://camel.apache.org/camel-quarkus/latest/contributor-guide.html

Are you looking at the test failure, @zbendhiba ?

@ppalaga I can't tell if the error comes from this
:+1: Caused by: io.quarkus.bootstrap.resolver.maven.DeploymentInjectionException: io.quarkus.bootstrap.resolver.maven.BootstrapMavenException: Failed to read descriptor of io.quarkus:quarkus-resteasy-jackson-deployment:jar:1.10.0.Final
....
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact io.quarkus:quarkus-resteasy-jackson-deployment:pom:1.10.0.Final from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/io/quarkus/quarkus-resteasy-jackson-deployment/1.10.0.Final/quarkus-resteasy-jackson-deployment-1.10.0.Final.pom
or from the code.
If those variables javax.net.ssl.trustStore, javax.net.ssl.trustStorePassword set on pom.xml are not recognized, we can have the same exception on SSL handshake. But we should have first the logs of the app starting, and 7/20 tests failing.


Add Tracing for SQLAlchemy and Flask-SQLAlcemy

Traces calls from SQLAlchemy ORM query and session classes, and calls from Flask-SQLAlchemy.
Also patches tox.ini so that py36 is used for coverage run, as if your default python was 27 it errors.
Added a couple of basic unit test for both sqlalchemy and flask-sqlalcemy tracing. Updated README as well.
Welcome feedback, this is my first attempt to extend X-Ray Tracing.

Hi, could you take a look at http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-sql
When you are sending data to X-Ray back-end service, if you have invalid key under subsegment.sql, your data will not be rejected, but the data will not propagate through our system. Some of the listed keys in that linked doc might be unavailable for specific sql libraries, which is OK.
Also for the actual query recording you have to submit that change to a separate CR. We have more strict policies for reviewing code that related to query recording. And also the query is required to be sanitized.

@haotianw465  I made the change and used the set_sql to set the sanitized SQL, and added one unit test to test sanitization. That should not me an issue with sqlalchemy orm, as it passes everything via params and those are not included in the sql output i exposed. I will go ahead and comment out the set_sql and test for that, and then make second PR for that work once this first batch is accepted.

Hi, per doc link http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-sql
This is the sample sql section
  "sql" : {
    "url": "jdbc:postgresql://aawijb5u25wdoy.cpamxznpdoq8.us-west-2.rds.amazonaws.com:5432/ebdb",
    "preparation": "statement",
    "database_type": "PostgreSQL",
    "database_version": "9.5.4",
    "driver_version": "PostgreSQL 9.4.1211.jre7",
    "user" : "dbuser",
    "sanitized_query" : "SELECT  *  FROM  customers  WHERE  customer_id=?;"
  }

Could you try to get some other info and add them to the sql section as well? For an architecture that has multiple databases the info like database_type, user, url could be very helpful for customers.
For sql subsegment name we have convention of using databas@host just like the one in the sample showed "name"<EMAIL_ADDRESS>This makes sure when you have multiple databases the back-end won't aggregate the latency altogether.

I have a separate branch started to get the set_sql working. I have it adding: url, user, database_type and sanitized_query.
https://github.com/therealryanbonham/aws-xray-sdk-python/tree/set_sql
One issue i see with the way this tracing I implemented works is it is tracing each function in sqlalchemy and thus setting a local namespace on the subsegments, so it is not creating a remove segment..
Thoughts? Want that as a seperate PR?

trace = xray_recorder.begin_subsegment(class_name+'.'+func.__name__) could you change the variable name from trace to subsegments? Trace is a collection of segments and subsegments. Then you can do subsegment.namespace = 'remote'. Database subsegment should always be remote.
For setting sql metadata could you have url user database_type included in this PR and a separated PR only for sanitized_query?

The combination or using the class and function name as the subsegment name, and namespace of remote, makes a very noisy service map, as every remote call shows up as it's own object. It seems remote namespace wants the name of the subsegment to be something like the hostname you are calling.
Something like
xray_recorder.begin_subsegment(sql['url'])
instead of
xray_recorder.begin_subsegment(class_name+'.'+func.name)
The issue in that though is the trace become just a bunch of repeat named subsegment calls.. It seems like remote namespaces need a way to be named, separate from the subsegment name...  so that multiple sql functions can be traced as subsegments to a single remote namespace..
Something like
xray_recorder.begin_subsegment(class_name+'.'+func.name, namespace=remote, namespace_name=sql['url'])
Is that supported in any way? I have tried to figure out some solution to this but am coming up blank...

Hi, as I pointed out in the previous thread:
For sql subsegment name we have convention of using databas@host just like the one in the sample showed "name"<EMAIL_ADDRESS>This provides proper level of aggregation on service graph.
Using url only will result in all databases on that instance aggregated to one node, and looks like the naming of your current PR result in too many nodes on service graph.
The mentioned naming convention works well on all of our SDKs so far and we haven't heard any complain. But it really depends on if the patching code can retrieve the info about database name and endpoint. In this case looks like you can have all the info you need to construct database@endpoint.

Hi, the PR is very close to a ready state. Do you have any update on SQL subsegment naming? Or do you prefer us to take whatever you have right now and finish the work by ourselves?

@haotianw465 I think this is ready for review again. It has SQL URL, user, and datatype added to the sql metadata. The sanatized_query is commented out for this PR. Traces are named by URL and have the function name as an annotation with the key "sqlalchemy".
I added another set of helper function to util.py to search for subsegments based on annotation key/value and updated unit test to use this as well.


Chat - Mentions popup doesn't appear when editing message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login to NewDot
Open any chat
Send a message
Edit message. While editing try to mention any account using @

Expected Result:
Popup should appear with possible mentions
Actual Result:
Popup doesn't appear when editing message.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://platform.applause.com/services/links/v1/external/e5a721eda7a8d29c80c1f999e9737f19fd8a4ae7358fcf6bb3f3630dd717b4b0
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Looks like this is a new feature not a bug

I agree, looks like a new feature not a bug but I think it's good to push forward.
Can we combine this issue with this fix?  https://github.com/Expensify/App/issues/19673

Hey @MariaHCD do you think this is good to build? I think this can be external but let me know if you think it should be internal!

I think it makes sense to have this feature but I think the plan for editing messages with mentions is still a WIP. Could you confirm, @puneetlath?

Ah interesting. It looks like neither emoji auto-suggestion or mentions auto-suggestion currently works while editing a comment. I agree it is something we should add though.
@stitesExpensify do you know if we have thought about this for emojis at all already?

I think this is pretty much as far as we got with it https://github.com/Expensify/App/pull/14686#issuecomment-1442025502
Basically "Yeah, we should add that". I don't think that the discussion continued though

I think we should probably wait until we have the inline auto-suggester: https://github.com/Expensify/App/issues/16078

Nice, makes sense. Thanks, @puneetlath! Should this be on hold for the inline auto-suggester? Additionally, I'm assuming once that is complete, this issue can be external?

Not overdue - Added daily label since payment on PR https://github.com/Expensify/App/issues/16078 is tomorrow

waiting

based on this SO - I can reach out to our expert contributors to see if anyone can take this

@Christinadobrzyn this is actually on hold right now.

Sorry @puneetlath, I'm confused, I thought this was on hold for https://github.com/Expensify/App/pull/17331 but that PR seems to be in production?

Ah yes, I see why that is confusing. #16078 will actually take multiple PRs to complete. The first has gone live, but there will probably be a handful more before it is done.

Looks like we're still on hold for https://github.com/Expensify/App/issues/16078

on hold for https://github.com/Expensify/App/issues/16078

monitoring https://github.com/Expensify/App/issues/16078

same ^

I'm going to be ooo until August 31st so going to unassign and assign a new teammate.
At this time, we're on hold for https://github.com/Expensify/App/issues/16078
I'll take this when I'm back if it's still open

Sounds good!

Updated labels as this is on hold.

On hold

@Christinadobrzyn I see you're back from OOO, so going to let you take this one back!

Still on hold for https://github.com/Expensify/App/issues/16078
Moving to weekly

still on hold for https://github.com/Expensify/App/issues/16078

still on hold for https://github.com/Expensify/App/issues/16078

Looks like we're still on hold for https://github.com/Expensify/App/issues/16078

on hold for https://github.com/Expensify/App/issues/16078

on hold for https://github.com/Expensify/App/issues/16078

on hold for https://github.com/Expensify/App/issues/16078

Still on hold

on hold - https://github.com/Expensify/App/issues/16078

on hold - https://github.com/Expensify/App/issues/16078

@perunt would you like to take this one? Now that you've added inline auto-suggestion, we can make user mentions, room mentions, and emoji auto-suggestion work in the edit menu flow.

Sure, I would like to do it. I'll start on it at the beginning of next week

hi @perunt just checking on this - can you provide an update? TY!

hey @Christinadobrzyn, the PR is ready and waiting for a review

PR https://github.com/Expensify/App/pull/44720 under review!

FYI https://github.com/Expensify/App/issues/45435 was missed during testing, I'll have another contributor handle it

PR in Staging - https://github.com/Expensify/App/pull/44720
Getting close!

Preparing for payment
Payouts due:

[ ] Contributor+: $250 @rayane-djouah - are you paid in Upwork?

@rayane-djouah do we need a regression test for this?

Ah thanks @rayane-djouah! Let me create an offer in Upwork... here you go - https://www.upwork.com/nx/wm/offer/103238719

Payment day is here - payment summary -https://github.com/Expensify/App/issues/19643#issuecomment-2248626177
Regression test - https://github.com/Expensify/Expensify/issues/415160
closing as complete!


Update whats-new.md

Added DLP for Power BI GA under the April updates.

@chrfox Can you please review this addition? Thanks!


openvswitch: 2.14.0 -> 2.14.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/openvswitch/versions.
meta.description for openvswitch is: "A multilayer virtual switch"
meta.homepage for openvswitch is: "https://www.openvswitch.org/"
meta.changelog for openvswitch is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.14.1 with grep in /nix/store/icjbgdmvm497390flcfmf25yk4ssh2rs-openvswitch-2.14.1

directory tree listing: https://gist.github.com/d68794fa6257cc3d5faee7ce768d4676

du listing: https://gist.github.com/ce5e5cc019b97afc0632c9b04a28ff28

Rebuild report (if merged into master) (click to expand)

40 total rebuild path(s)

20 package rebuild(s)

20 x86_64-linux rebuild(s)
8 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
8 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
libvmi
openvswitch
pipework
qemu_xen
qemu_xen-light
qemu_xen_4_10
qemu_xen_4_10-light
qubes-core-vchan-xen
xen
xen-light
xen-slim
xenPackages.xen-light
xenPackages.xen-slim
xenPackages.xen-vanilla
xenPackages.xen_4_10-light
xenPackages.xen_4_10-slim
xenPackages.xen_4_10-vanilla
xen_4_10
xen_4_10-light
xen_4_10-slim

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/icjbgdmvm497390flcfmf25yk4ssh2rs-openvswitch-2.14.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A openvswitch https://github.com/r-ryantm/nixpkgs/archive/ab04d96f2c9dc32dacafbd18feec6bc22397a97e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/icjbgdmvm497390flcfmf25yk4ssh2rs-openvswitch-2.14.1
ls -la /nix/store/icjbgdmvm497390flcfmf25yk4ssh2rs-openvswitch-2.14.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

7 packages failed to build:

libvmi
qemu_xen (qemu_xen_4_10)
qemu_xen-light (qemu_xen_4_10-light)
qubes-core-vchan-xen
xen
xen-light
xen-slim

2 packages built:

openvswitch
pipework

Maintainer pings
cc @netixx @kmcopper for testing.

Labeled as security due to two CVEs. Quoting the Arch security list:

CVE-2015-8011 (arbitrary code execution)
A buffer overflow in the lldp_decode function in
daemon/protocols/lldp.c in lldpd before 0.8.0 allows remote attackers
to cause a denial of service (daemon crash) and possibly execute
arbitrary code via vectors involving large management addresses and TLV
boundaries.

CVE-2020-27827 (information disclosure)
A security issue was found in lldpd before version 1.0.8. A packet that
contains multiple instances of certain TLVs will cause lldpd to
continually allocate memory and leak the old memory.  As an example,
multiple instances of system name TLV will cause old values to be
dropped by the decoding routine.

Labeled as security due to two CVEs. Quoting the Arch security list:

CVE-2015-8011 (arbitrary code execution)
A buffer overflow in the lldp_decode function in
daemon/protocols/lldp.c in lldpd before 0.8.0 allows remote attackers
to cause a denial of service (daemon crash) and possibly execute
arbitrary code via vectors involving large management addresses and TLV
boundaries.

CVE-2020-27827 (information disclosure)
A security issue was found in lldpd before version 1.0.8. A packet that
contains multiple instances of certain TLVs will cause lldpd to
continually allocate memory and leak the old memory.  As an example,
multiple instances of system name TLV will cause old values to be
dropped by the decoding routine.

@netixx Can you take care of backporting the fixes?


[Zephyr v2.0.0 nrf52840] Unable to reconnect to recently bonded peripheral

Describe the bug
I'm using the nrf52840 on my custom board as a BLE-USB-dongle. It's firmware is based on the hci-usb Zephyr sample. I've already successfully used the firmware with Zephyr v1.14.0. After upgrading to v2.0.0 I'm still able to pair and bond with devices, but after a disconnect I'm not able to successfully reconnect to the peripheral. The same issue exists with the original hci-usb sample running on a nrf52840_pca10056. We're using blueZ on a Linux machine as BT host.
To Reproduce
Steps to reproduce the behavior:

Build sample hci_usb for board nrf52840_pca10056.
Flash the image of hci_usb to a board.
Connect this board to a Linux machine using it as a BLE-dongle.
Build sample peripheral_sc_only for board nrf52840_pca10056.
Flash the image of peripheral_sc_only to another board.
Try to connect and pair with the hci_usb board with the peripheral_sc_only board.
After successful pairing try to disconnect.
Reconnect and wait.
After some time a "Connection Timeout" occurs.

Expected behavior
The dongle should reconnect it's bonded peripherals at any time without problems.
Impact
Showstopper.
Screenshots or console output
The first btmon console output shows the initial connection with the pairing process (creating and exchanging the keys is skipped here).

The next btmon console log shows the behaviour after a disconnect followed by another connection request. Here I'm missing the HCI Event "Encryption Change" after HCI Event "LE Start Encryption".

Environment:

OS: Linux with blueZ v5.50.
gnuarmemb
Zephyr v2.0.0

@PhilippFinke can you enable the legacy cotroller and use the latest master? I think this might be related to https://github.com/zephyrproject-rtos/zephyr/issues/15256, which is fixed in the legacy controller but not yet in the split one.

@carlescufi That seems to work, but using the master branch with our product is unfortunately not an option for us. When will this be fixed in a stable release?

The fix should come as part of 1.14.1. When will that be released is still not decided but should not take long.

@carlescufi That seems to work, but using the master branch with our product is unfortunately not an option for us. When will this be fixed in a stable release?

You can wait for 2.1.0, which is now not far away. Or alternatively you can use 1.14.1 which has just been released.

@PhilippFinke As a workaround you could delay initiating of the security by around 15 * connection interval.

@PhilippFinke you can also stay on 2.0.0 and then enable the legacy controller instead of the split one. Please ensure to do that in your prj.conf file. That's the options you have so far. I will close this issue and feel free to reopen or create a new one if you still experience problems.


attempt to solve issue #20

Hoping this adds the intended extra functionality. If not, happy to modify.

Thank you for the submission! I'll review at some point today. I think I might make a couple of small style changes, but for the most part I think it's good.
I appreciate the PR, thank you :+1:

@viaMorgoth By the way, may I please request that future pull requests be made from a feature branch instead of from master? Thanks!

Sure will, sorry abut that. I'm no uber programmer so I'm looking forward to seeing the style changes you make :) BTW I'm happy to help with anything else on this project. I've been trying to find ways to learn Go a bit better.

@viaMorgoth No need to apologise, we all start learning at the beginning! It's just good practice to do that, as it means that any other merges you make into your own master branch don't end up in this pr :)
Thank you for the contribution. I've merged it into master. Cheers!


Added support for -nofetch command line argument and 'NoFetch' MSBuild T...

...ask parameter, to suppress fetching from remotes during execution.
Up for review and discussion. I had no problem feeding in the noFetch argument, but I couldn't find an obvious way to test whether or not GitVersion was trying to fetch from a remote or not given the current test fixtures available.  Any pointers?

Thanks for the PR


HV memory range fragmentation bug (cause by: dynamic memory)

The HV dynamic memory option causes the physical memory ranges to become heavily fragmented after a while on a modern HV VM. (For example the "quick create" option in the HV manager creates such a Win10 VM showing this behavior.)
How to reproduce:

use the quick create button in HV manager (dynamic memory will be on by default)
Start the VM and wait. Not sure how long.
Download the MS Sysinternals Rammap tool und look at the physical memory ranges.

For an example rammap screenshot look here: https://github.com/Velocidex/WinPmem/issues/25

@vivianezw . Which article are you referring to?

@vivianezw . Which article are you referring to?

That's part of the problem: there is only https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh831766(v=ws.11), listed under "previous versions", and it does not seem to reflect the current state. The dynamic memory option is a switch in the Hyper-v manager on (any) modern Win10 or server. This feature is rather new (and it has bugs I want to report, any help appreciated).

That's part of the problem: there is only https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh831766(v=ws.11), listed under "previous versions", and it does not seem to reflect the current state. The dynamic memory option is a switch in the Hyper-v manager on (any) modern Win10 or server. This feature is rather new (and it has bugs I want to report, any help appreciated).

Hi @vivianezw, thanks for the feedback.  We just write the docs, and this sounds like a possible product bug. I found the following page that describes a bug bounty for Hyper-V bugs - you could try that: https://www.microsoft.com/en-us/msrc/bounty-hyper-v
Good luck!

Hi @vivianezw, thanks for the feedback.  We just write the docs, and this sounds like a possible product bug. I found the following page that describes a bug bounty for Hyper-V bugs - you could try that: https://www.microsoft.com/en-us/msrc/bounty-hyper-v
Good luck!


If I switch apps while typing text, the text is lost

Type in a Flutter text field on Android.
Double tap the square system button to switch to another app. I was switching to the "Add network" dialog in wifi settings.
Double tap back. The text you were typing is gone.

https://github.com/flutter/flutter/issues/6827 is possibly related?

I don't think so; the app itself isn't being shut down (if it was, we'd lose more than just the text field, we'd go back to the start of the app).

The task switcher triggers a pause/resume cycle, and after the activity resumes Android calls FlutterView.onCreateInputConnection.
The TextInputPlugin will create an InputConnection based on the "incoming state" supplied by RawInputState in the Flutter framework.  However, the plugin's "incoming state" may be out of sync with the "outgoing state" sent to the framework by the InputConnection after each change to the text.
How should the incoming state be kept in sync?  Is the framework supposed to echo each outgoing state change back to the incoming state?  Or should the incoming state be updated internally within the plugin?
@abarth


Install-Package: Package 'ImportExcel' failed to be installed because: End of Central Directory record could not be found.

Unfortunately I'm not able to install this module. I always get this error message:
Install-Package: Package 'ImportExcel' failed to be installed because: End of Central Directory record could not be found.
I'm on the most recent version of Powershell. 7.4.3
I've also tried to debug it, but IMHO there is no real information in there, at least nothing that can I use to solve it...
`install-module -Name ImportExcel
DEBUG: 00:00:00.0000070 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0000389 Name: ImportExcel
DEBUG: 00:00:00.0017697 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0027912 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0043515 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0086158 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0086430 Name: ImportExcel
DEBUG: 00:00:00.0093440 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0100306 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0113276 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0151138 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0151472 Name: ImportExcel
DEBUG: 00:00:00.0158883 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1
DEBUG: 00:00:00.0164729 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0185387 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0240050 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0240474 Name: ImportExcel
DEBUG: 00:00:00.0247909 INVOKING PowerShell Fn Get-DynamicOptions with args Install that has length 1
DEBUG: 00:00:00.0253495 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0272555 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0437529 Calling SearchForPackages. Name='ImportExcel'
DEBUG: 00:00:00.0446171 PackageProvider::FindPackage with name ImportExcel
DEBUG: 00:00:00.0456920 Calling SearchForPackages After Select 1
DEBUG: 00:00:00.0472302 Calling New() : MethodName = 'FindPackage'
DEBUG: 00:00:00.0475883 ProviderName: PowerShellGet
DEBUG: 00:00:00.0482891 Type: Module
DEBUG: 00:00:00.0487743 Scope: CurrentUser
DEBUG: 00:00:00.0495550 Name: ImportExcel
DEBUG: 00:00:00.0624417 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0647815 INVOKING PowerShell Fn Find-Package with args System.String[], , ,  that has length 4
DEBUG: 00:00:00.0669308 In PowerShellGet Provider - 'Find-Package'.
DEBUG: 00:00:00.0675396 OPTION: ProviderName => PowerShellGet
DEBUG: 00:00:00.0681418 OPTION: Type => Module
DEBUG: 00:00:00.0688654 OPTION: Scope => CurrentUser
DEBUG: 00:00:00.0696338 OPTION: Name => ImportExcel
DEBUG: 00:00:00.0704472 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0757905 PackageProvider::FindPackage with name ImportExcel
DEBUG: 00:00:00.0792401 Calling 'NuGet'::'FindPackage' - name='ImportExcel', requiredVersion='',minimumVersion='', maximumVersion='''.
DEBUG: 00:00:00.0796188 Iterating 'ImportExcel'.
DEBUG: 00:00:00.0808291 There are '1' registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0882228 Source 'https://www.powershellgallery.com/api/v2' is not one of the registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0889432 Source 'https://www.powershellgallery.com/api/v2' is validated.
DEBUG: 00:00:00.0896670 Calling 'NuGetRequest'::'GetPackageById', 'ImportExcel'.
DEBUG: 00:00:00.0904890 Calling 'NuGetPackageRepository'::'FindPackagesById', 'ImportExcel'.
DEBUG: 00:00:00.0910140 Calling 'NuGetPackageFeed2'::'FindPackage', 'ImportExcel'.
DEBUG: 00:00:00.0916928 Calling 'NuGetClient'::'FindPackage'.
DEBUG: 00:00:00.0930949 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=0&$top=40'.
DEBUG: 00:00:00.4720304 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=0&$top=40'.
DEBUG: 00:00:00.4778694 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=0&$top=40'.
DEBUG: 00:00:00.6139792 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=0&$top=40'.
DEBUG: 00:00:00.6229115 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=40&$top=40'.
DEBUG: 00:00:00.6230248 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=120&$top=40'.
DEBUG: 00:00:00.6231525 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=80&$top=40'.
DEBUG: 00:00:00.6261297 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=160&$top=40'.
DEBUG: 00:00:00.7782372 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=80&$top=40'.
DEBUG: 00:00:00.7823926 '30' packages received in the last request.
DEBUG: 00:00:00.7935352 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=160&$top=40'.
DEBUG: 00:00:00.7946341 '0' packages received in the last request.
DEBUG: 00:00:00.8360744 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=40&$top=40'.
DEBUG: 00:00:01.1408116 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=120&$top=40'.
DEBUG: 00:00:01.1419834 '0' packages received in the last request.
DEBUG: 00:00:01.1481649 Completed iterating for 'ImportExcel'.
DEBUG: 00:00:01.1538944 Done calling powershell «Find-Package» «PSModule»
DEBUG: 00:00:01.1615983 Calling New() : MethodName = 'GetInstalledPackages'
DEBUG: 00:00:01.1631275 ProviderName: PowerShellGet
DEBUG: 00:00:01.1640502 Type: Module
DEBUG: 00:00:01.1648097 Scope: CurrentUser
DEBUG: 00:00:01.1655699 Name: ImportExcel
DEBUG: 00:00:01.1663060 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:01.1680504 INVOKING PowerShell Fn Get-InstalledPackage with args ImportExcel, 7.8.9, ,  that has length 4
DEBUG: 00:00:01.1692649 In PowerShellGet Provider - 'Get-InstalledPackage'.
DEBUG: 00:00:01.1695625 OPTION: ProviderName => PowerShellGet
DEBUG: 00:00:01.1701730 OPTION: Type => Module
DEBUG: 00:00:01.1711915 OPTION: Scope => CurrentUser
DEBUG: 00:00:01.1716912 OPTION: Name => ImportExcel
DEBUG: 00:00:01.1723567 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:02.4541526 PowerShell Script 'PSModule' Function 'Get-InstalledPackage' returns null.
DEBUG: 00:00:02.4586425 Done calling powershell «Get-InstalledPackage» «PSModule»
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy
value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A
DEBUG: 00:00:08.3065996 Calling New() : MethodName = 'InstallPackage'
DEBUG: 00:00:08.3074418 ProviderName: PowerShellGet
DEBUG: 00:00:08.3088203 Type: Module
DEBUG: 00:00:08.3100224 Scope: CurrentUser
DEBUG: 00:00:08.3113664 Name: ImportExcel
DEBUG: 00:00:08.3126185 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:08.3154431 INVOKING PowerShell Fn Install-Package with args NuGet|ImportExcel|7.8.9|https://www.powershellgallery.com/api/v2|Module that has length 1
DEBUG: 00:00:08.3226961 In PowerShellGet Provider - 'Install-Package'.
DEBUG: 00:00:08.3236862 In PowerShellGet Provider - 'Install-PackageUtility'.
DEBUG: 00:00:08.3251657 The FastPackageReference is 'NuGet|ImportExcel|7.8.9|https://www.powershellgallery.com/api/v2|Module'.
DEBUG: 00:00:08.3266854 OPTION: ProviderName => PowerShellGet
DEBUG: 00:00:08.3272706 OPTION: Type => Module
DEBUG: 00:00:08.3288592 OPTION: Scope => CurrentUser
DEBUG: 00:00:08.3303579 OPTION: Name => ImportExcel
DEBUG: 00:00:08.3371081 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:08.3386198 ArtifactType is Module
DEBUG: 00:00:08.5217356 Calling 'NuGet'::'InstallPackage', '$aHR0cHM6Ly93d3cucG93ZXJzaGVsbGdhbGxlcnkuY29tL2FwaS92Mg==\SW1wb3J0RXhjZWw=\Ny44Ljk=\aHR0cHM6Ly93d3cucG93ZXJzaGVsbGdhbGxlcnkuY29tL2FwaS92Mg==\cG93ZXJzaGVsbGdldA=='.
DEBUG: 00:00:08.5245723 Calling 'NuGetRequest'::'GetPackageByFastpath', '$aHR0cHM6Ly93d3cucG93ZXJzaGVsbGdhbGxlcnkuY29tL2FwaS92Mg==\SW1wb3J0RXhjZWw=\Ny44Ljk=\aHR0cHM6Ly93d3cucG93ZXJzaGVsbGdhbGxlcnkuY29tL2FwaS92Mg==\cG93ZXJzaGVsbGdldA=='.
DEBUG: 00:00:08.5273674 Calling 'NuGetRequest'::'ResolvePackageSource', 'https://www.powershellgallery.com/api/v2'.
DEBUG: 00:00:08.5283946 Calling 'NuGetRequest'::'FindRegisteredSource', 'https://www.powershellgallery.com/api/v2'.
DEBUG: 00:00:08.5295929 Source 'https://www.powershellgallery.com/api/v2' is not one of the registered sources in 'NuGet' provider.
DEBUG: 00:00:08.7019742 Calling 'NuGetPackageRepository'::'FindPackage', 'ImportExcel'.
DEBUG: 00:00:08.7029628 Calling 'NuGetPackageFeed2'::'FindPackage', 'ImportExcel'.
DEBUG: 00:00:08.7068838 Calling 'NuGetClient'::'FindPackage'.
DEBUG: 00:00:08.7088062 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=0&$top=40'.
DEBUG: 00:00:08.9433332 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=0&$top=40'.
DEBUG: 00:00:08.9480098 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=80&$top=40'.
DEBUG: 00:00:08.9482101 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=160&$top=40'.
DEBUG: 00:00:08.9481587 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=40&$top=40'.
DEBUG: 00:00:08.9483052 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=120&$top=40'.
DEBUG: 00:00:09.0838923 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=40&$top=40'.
DEBUG: 00:00:09.0945915 Downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=200&$top=40'.
DEBUG: 00:00:09.1110028 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=160&$top=40'.
DEBUG: 00:00:09.1117882 '0' packages received in the last request.
DEBUG: 00:00:09.1119266 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=120&$top=40'.
DEBUG: 00:00:09.1165281 '0' packages received in the last request.
DEBUG: 00:00:09.2252302 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=200&$top=40'.
DEBUG: 00:00:09.2262096 '0' packages received in the last request.
DEBUG: 00:00:09.5502382 Completed downloading 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'&$skip=80&$top=40'.
DEBUG: 00:00:09.5584529 '30' packages received in the last request.
DEBUG: 00:00:09.5611547 'Package version' is '7.8.9'.
DEBUG: 00:00:09.5617540 'Request's Destination' is 'C:\Users\t.steibl.adm\AppData\Local\Temp\321169538'.
DEBUG: 00:00:09.5626460 Calling 'NuGetPackageRepository'::'InstallPackage'.
DEBUG: 00:00:09.5633258 Calling 'NuGetFilesFeed2'::'InstallPackage'.
DEBUG: 00:00:09.5646127 Calling 'NuGetFilesFeed2'::'InstallPackage', '$aHR0cHM6Ly93d3cucG93ZXJzaGVsbGdhbGxlcnkuY29tL2FwaS92Mg==\SW1wb3J0RXhjZWw=\Ny44Ljk=\aHR0cHM6Ly93d3cucG93ZXJzaGVsbGdhbGxlcnkuY29tL2FwaS92Mg==\cG93ZXJzaGVsbGdldA=='.
DEBUG: 00:00:09.5658392 Calling 'NuGetClient'::'GetPackageDependencies'.
DEBUG: 00:00:09.5706777 Returning the call 'NuGetClient'::'GetPackageDependencies'.
DEBUG: 00:00:09.5734963 Calling 'NuGetClient'::'InstallPackage'.
DEBUG: 00:00:19.7257332    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken)    at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)    at System.Net.Http.HttpConnection.ReadAsync(Memory1 destination)
at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)   at Microsoft.PackageManagement.NuGetProvider.NuGetClient.DownloadDataToFileAsync(String fileName, String query, NuGetRequest request, NetworkCredential networkCredential, ProgressTracker progressTracker) DEBUG: 00:00:37.6473696    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)    at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)    at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)    at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Http.HttpConnection.ReadAsync(Memory1 destination)    at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)   at Microsoft.PackageManagement.NuGetProvider.NuGetClient.DownloadDataToFileAsync(String fileName, String query, NuGetRequest request, NetworkCredential networkCredential, ProgressTracker progressTracker)
DEBUG: 00:00:38.8162416    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken)    at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)    at System.Net.Http.HttpConnection.ReadAsync(Memory1 destination)
at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)   at Microsoft.PackageManagement.NuGetProvider.NuGetClient.DownloadDataToFileAsync(String fileName, String query, NuGetRequest request, NetworkCredential networkCredential, ProgressTracker progressTracker) DEBUG: 00:00:38.8511199 Calling 'NuGetClient'::'InstallPackageLocal'. DEBUG: 00:00:38.8544460 C:\Users\t.steibl.adm\AppData\Local\Temp\321169538\ImportExcel.7.8.9\ImportExcel.7.8.9.nupkg DEBUG: 00:00:38.9156842 System.IO.InvalidDataException: End of Central Directory record could not be found.    at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()    at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding)    at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)    at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding, Boolean overwriteFiles)    at Microsoft.PackageManagement.NuGetProvider.PackageUtility.DecompressFile(String fullZipPath)    at Microsoft.PackageManagement.NuGetProvider.NuGetClient.InstallPackageLocal(String packageName, String version, NuGetRequest request, PackageSource source, String sourceFilePath, ProgressTracker progressTracker) Install-Package: Package 'ImportExcel' failed to be installed because: End of Central Directory record could not be found.
Any help would be very much appreciated.
Thanks in advance.

Sorry, have never seen that and at the moment no one else is reportting this issue.

Actually a long time ago a use had also some problems with "end of central"... https://github.com/dfinke/ImportExcel/issues/116
Is there any chance for a workaround to get it to work?

Sorry 🤷🏼♂

I am seeing the same problem on Win 11 box.

I'm having the same problem:
PS C:\Program Files\PowerShell\7> install-module msidentitytools -Scope currentuser -Verbose
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: The -Repository parameter was not specified.  PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='msidentitytools'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'msidentitytools'.
VERBOSE: Performing the operation "Install-Module" on target "Version '2.0.68' of module 'MSIdentityTools'".
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): a
VERBOSE: The installation scope is specified to be 'currentuser'.
VERBOSE: The specified module will be installed in 'C:\Users\JORDITORNOSPALOS\OneDrive - kyndryl\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'MSIdentityTools' with version '2.0.68' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='MSIdentityTools'' for ''.
VERBOSE: Package 'Microsoft.Graph.Authentication' is already installed.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'' for ''.
VERBOSE: Package 'Microsoft.Graph.Authentication' is already installed.
VERBOSE: InstallPackage' - name='ImportExcel', version='7.8.9',destination='C:\Users\JORDITORNOSPALOS\AppData\Local\Temp\124565913'
VERBOSE: DownloadPackage' - name='ImportExcel', version='7.8.9',destination='C:\Users\JORDITORNOSPALOS\AppData\Local\Temp\124565913\ImportExcel.7.8.9\ImportExcel.7.8.9.nupkg', uri='https://www.powershellgallery.com/api/v2/package/ImportExcel/7.8.9'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/ImportExcel/7.8.9'.
VERBOSE: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
VERBOSE: Retry downloading 'https://www.powershellgallery.com/api/v2/package/ImportExcel/7.8.9' for '2' more times
VERBOSE: Download is incomplete. Downloaded '540667' out of '540667' bytes.
VERBOSE: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
VERBOSE: Retry downloading 'https://www.powershellgallery.com/api/v2/package/ImportExcel/7.8.9' for '1' more times
VERBOSE: Download is incomplete. Downloaded '540671' out of '540671' bytes.
VERBOSE: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
VERBOSE: Retry downloading 'https://www.powershellgallery.com/api/v2/package/ImportExcel/7.8.9' for '0' more times
VERBOSE: Download is incomplete. Downloaded '540671' out of '540671' bytes.
VERBOSE: Completed downloading 'ImportExcel'.
VERBOSE: Hash for package 'ImportExcel' does not match hash provided from the server.
VERBOSE: InstallPackageLocal' - name='ImportExcel', version='7.8.9',destination='C:\Users\JORDITORNOSPALOS\AppData\Local\Temp\124565913'
Install-Package: Package 'ImportExcel' failed to be installed because: End of Central Directory record could not be found.

Sorry 🤷🏼♂

lol, ok, I have the same issue, but after seeing this reply... I'll fix my scripting issue some other way

This is the first time this issue has been posted, in 10 years, by 3 people.
Don't have an answer or a way to try that 🤷🏼♂
Let me know what you find.


Check Mimic ingredients & results

It looks like this bug can't be reproduced without ItemsAdder (a premium plug-in), so I will close this for now.


Add metrics about the costs of handling LIST requests

How to categorize this PR?

/area monitoring
/kind enhancement
What this PR does / why we need it:
This PR adds metrics about the costs of handling LIST requests.
Which issue(s) this PR fixes:
Part of #5282
Release note:

The kube-apiserver's Prometheus metrics have been extended with some metrics that describe the costs of handling LIST requests.  They are as follows.
- *apiserver_cache_list_total*: Counter of LIST requests served from watch cache, broken down by resource_prefix and index_name
- *apiserver_cache_list_fetched_objects_total*: Counter of objects read from watch cache in the course of serving a LIST request, broken down by resource_prefix and index_name
- *apiserver_cache_list_evaluated_objects_total*: Counter of objects tested in the course of serving a LIST request from watch cache, broken down by resource_prefix
- *apiserver_cache_list_returned_objects_total*: Counter of objects returned for a LIST request from watch cache, broken down by resource_prefix
- *apiserver_storage_list_total*: Counter of LIST requests served from etcd, broken down by resource
- *apiserver_storage_list_fetched_objects_total*: Counter of objects read from etcd in the course of serving a LIST request, broken down by resource
- *apiserver_storage_list_evaluated_objects_total*: Counter of objects tested in the course of serving a LIST request from etcd, broken down by resource
- *apiserver_storage_list_returned_objects_total*: Counter of objects returned for a LIST request from etcd, broken down by resource

Side-note: these metrics are only available for shoot with k8s v1.23 and upwards.


Updated text color in dark theme style

fixed the missing text color in dark theme style for time separator and am-pm text

Thanks for contributing!


BUG multilaunch process spams Terminate

Describe the bug
Log gets spammed with status:terminate messages. This bug exists for tasks, that are running on process and using multilaunch=True.
To Reproduce

Copy paste code (I will add it to the bottom of issue)
Use newest version of Rocketry (multilaunch=True is needed)
Run code: python my_file_name.py
Wait 30 seconds
Check logs file

Expected behavior

Terminate should not be called if task has done job with status:success
If terminate gets called, I think it should terminate task only once (not every 0.1s)

Screenshots
Uploading screenshot of logs

Desktop (please complete the following information):

OS: Windows 10
Python version 3.10.4

Additional context
Here I paste the code

from datetime import timedelta
from time import sleep

from rocketry import Rocketry
from rocketry.log import TaskLogRecord
from redbird.repos import CSVFileRepo

# #
# Rocketry app
repo = CSVFileRepo(filename="check_me_after_30_seconds.csv", model=TaskLogRecord)
app = Rocketry(
    config={
        "task_execution": "async",
        "max_process_count": 4,
        "timeout": timedelta(seconds=30),
    },
    logger_repo=repo,
)

# #
# tasks
@app.task("every 10 seconds")
async def mark_10_seconds():
    print("10 seconds have passed")

@app.task(execution="process")
async def run_me_sir():
    print("Sir, I am going to sleep for 20 seconds")
    sleep(20)
    print("Sir, I am done with sleeping")

@app.task(execution="process", multilaunch=True)
async def run_multilaunch_me_madam():
    print("Madam, I as multilaunch am going to sleep for 20 seconds")
    sleep(20)
    print("Madam, I as multilaunch am done with sleeping")

if __name__ == "__main__":
    app.session["run_me_sir"].run()
    app.session["run_multilaunch_me_madam"].run()
    app.run()

Sorry for taking quite a long to get to this issue. Thanks for spotting!
Indeed something odd is going on there. I suppose the run is never cleaned off or something. I'll investigate this further.
Was thinking of doing the next release but I don't think I'll release it before this is sorted out. Thanks again for spotting :)


adds fill=context-stroke to SVG markers

This PR is a minor change to address #28.  It adds an indicator to the SVG arrow ends to match the color of the given line where the option is supported.
Here is an example of the arrow before the change:

And the same example after the change:

Thank you for working on this. Merged.


fix Hyperlink without Remove

I tried to fix #726 , but I'm not sure if it is reasonable or not if I need to associate the Remove method.

Please follow https://svn.apache.org/viewvc?view=revision&revision=1896552 to write a unit test for this fix.

My solution can not run test,Cloud you help me

This is POI 52447


Small changes for alignment and function split

Small change on the order of elements in structures to better alignment
Add a typedef for the AnnTrainAlgoFunc function to allow create new ones and use then.
Split the AnnTrain function and create AnnTrainWithAlgoFunc, in the previous implementation there was no checks for when non existent algorithms were passed as parameter.

Thanks @mingodad!


Updated Day20 Learning

/lgtm
Consider joining the discord server for more discussions and hangouts.
https://saiyampathak.com/discord

Thanks @kranurag7 . Joined


Add role to build & install custom Iosevka font

Adds a role to build & install my customized version of the Iosevka font.
Because Iosevka depends on NPM and Node.js to build, this PR also includes a role which installs NVM.
To do:

[ ] Add CI for Iosevka role, separate from main CI pipeline

CI pipeline has been added, but currently fails due to https://github.com/nodejs/node/issues/53902 (also see https://github.com/npm/cli/issues/7657).


Recipe page not found with Bob's mods enabled

Describe the Bug
RecipeBook reports "Object has no page in Recipe Book" when clicking on a yellow belt (internal ID: transport-belt), and when searching for "transport belt" in the main GUI, Recipe Book returns two entries for the yellow belt, one with a recipe (from Bob's Logistics) and another with no recipe at all. With "show internal names" checked, they both show as the same prototype name.
This occurs in both single player and multiplayer.
To Reproduce
Steps to reproduce the behavior:

Install Bob's Logistics
Create a sandbox map and take the starter pack, unlock all research
Place some yellow belts from the inventory
Alt-left click a placed belt
Observe the error message "Object has no page in Recipe Book"

Alternatively:

Install Bob's Logistics
Create a sandbox map and take the starter pack, unlock all research
Open Recipe Book
Search for "transport belt"
Observe two yellow transport belts in the list
Click on one, note the lack of a full recipe
Click on the other, note the full recipe

Save File and Username
My username is mondoshawan22.
_autosave3.zip
Log file
factorio-current.log

This is all actually working as intended.

The transport belt entity doesn't have a page yet, so the error is accurate. I will be adding pages for all common entities in 3.4.
What you are seeing is the yellow belt item page, and the recipe page. The item page shows the recipes that it is an ingredient in, and product of, while the recipe page shows the transport belt recipe. The glyphs on each entry will tell you what kind of object it is, as well the title of the info window:

Oho. That was subtle. Okay, coolio. Thanks for responding -- I think I get what's going on now. If I have cycles, I'll see if I can help out with adding that page, if you like. :D


OV2460 parallel mode

Not fully clear to me if the OV2640 is supported in parallel mode, meaning no SPI but direct data lines.
When I quickly check the source code I read it like only SPI is supported, but when I check http://www.arducam.com/camera-modules/2mp-ov2640/ it looks like the OV2640 module I bought without SPI interface.
Thanks for hints if and how I can connect the OV2640 in non-SPI mode.
Cheers, Roger

@RogerHartmann
About the 2MP, we have two kinds of interface, SPI interface, and parallel interface.
For the parallel interface, you can't connect it to the UNO directly and you should use it
with our Arducam Shield V2 board.
http://www.uctronics.com/arducam-lf-camera-module-shield-3-2-inch-lcd-for-arduino-uno-mega2560-due.html
For the SPI interface, you can connect it to the UNO with spi and i2c interfaces directly.
http://www.uctronics.com/arducam-mini-module-camera-shield-w-2-mp-ov2640-for-arduino-uno-mega2560-board.html

Thanks @UCTRONICS for the quick reply. Looks like I have the wrong module then.


Correct the default value of cp4waiops.version param in all-in-one template

The all-in-one template using v3.3 as the default value for cp4waiops.version param even it's on 3.4 branch. See below UI:

Also, the _helpers.tpl in all-in-one template needs to be corrected since we do not mix multiple per-release templates on the same branch now. e.g.: there is no config/3.2/ai-manager any more.
{{- define "cp4waiops.aimanager.configPath" -}}
  {{- if eq .Values.cp4waiops.version "v3.2" }}
  {{- printf "config/3.2/ai-manager" -}}
  {{- else if eq .Values.cp4waiops.version "v3.3" }}
  {{- printf "config/cp4waiops/install-aimgr" -}}
  {{- else if eq .Values.cp4waiops.version "v3.4" }}
  {{- printf "config/cp4waiops/install-aimgr" -}}
  {{- else }}
  {{- fail "The CP4WAIOps all in one chart only supports release v3.2, v3.3, v3.4." }}
  {{- end }}
{{- end -}}

@morningspace all-in-one version and mixed version fixed in this PR https://github.com/IBM/cp4waiops-gitops/pull/214.
Closing this issue.


PLAT-633: Fixed Object ref in SMExecute if called constructor

- What I did
s.execution.Object = s.Payload.CallOutgoing -> s.execution.Object = reference.NewSelf(s.Payload.CallOutgoing.GetLocal()) in SMExecute.prepareExecution
- How I did it
- How to verify it
- Description for the changelog

https://insolar.atlassian.net/browse/PLAT-633

bors merge


Create components folder

Title

Code organization
Type

[x] Enhancement Suggestion
[ ] Inappropriate Content Report

Description

There is no components folder. We should add that and move files like Jokes.js, and Memes.js to organize code. That way future components like header/footer have a place to go.
Location

/src
Additional Context

That's really a very nice idea.

Closing this post merge #19


Select placeholder

I also wrote some code in solar to support having the placeholder item be greyed out. I purposely let the placeholder item to NOT be disabled because it lets users go back to the default state.

:+1:


Implement bar-chart sparklines for behavior data.

The "at-a-glance" section of the behavior data column uses line graph sparklines, but the charts below are bar graphs. We switched them, and now we'd like to switch the sparklines over as well.
I think the original sparklines are implemented in D3. Poke me if you're interested in working on this!

Here: http://omnipotent.net/jquery.sparkline/#s-about

Duplicated in https://github.com/studentinsights/studentinsights/issues/593.


Roll Engine from 3be118d2486c to bbefba3f9cd1 (3 revisions)

https://github.com/flutter/engine/compare/3be118d2486c...bbefba3f9cd1
2021-07-30<EMAIL_ADDRESS>Roll Skia from 14d87226b3ad to ab7ff17156a3 (1 revision) (flutter/engine#27816)
2021-07-30<EMAIL_ADDRESS>[web] Fixing clipping not being applied when height is zero (flutter/engine#27771)
2021-07-30<EMAIL_ADDRESS>Roll Dart SDK from 6e821afc0cb4 to a325ab04ed38 (1 revision) (flutter/engine#27812)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


regression-testadd usercase for user-definded variable

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Remove deprecated io/ioutil usage

Just noticed this while submitting an unrelated PR

Can confirm the whole ioutil library seems to be deprecated since go 1.16: https://pkg.go.dev/io/ioutil
Conversions look correct.
Thanks @mjlshen !
/lgtm


Benchmark in README.md is incorrect/misleading

The benchmark in README.md as of version 0.5.0 claims time 0:04 for Rust parallel vs 0:54 for GNU parallel. However, this benchmark is misleading because the command line used is completely useless:
seq 1 10000 | time -v parallel echo > /dev/null would never print anything because it lacks parameter substitution. The correct command that actually does something would be seq 1 10000 | time -v parallel echo '{}' > /dev/null
On my machine Rust parallel measures 1:02 vs 0:33 for GNU parallel for the actually useful command.

Parameter substitution isn't required. When you don't provide a placeholder token, it is automatically inferred, so parallel echo '{}' is equivalent to parallel echo. I'm not sure why it would be slower for your system. Using either commands still gives me the same results for my version, with GNU Parallel taking 40x longer.

What processor do you have? Is it AMD or Intel? Cores? Hyper-threading?

Here's my  /proc/cpuinfo
That kind of difference would rather stem from rustc difference than CPU difference.
$ rustc --version
rustc 1.11.0 (9b21dcd6a 2016-08-15)
Built from git with cargo build --release
I've double-checked and I am indeed using version 0.5.0 of Rust parallel

Forcing CPU into the highest frequency only makes GNU parallel a bit faster (3x difference again), does not affect Rust parallel.
Explicitly passing -j 4 does not change anything either.

I do believe that it is a rustc or LLVM bug. Sadly, I've also noticed that my AMD FX 8120 also performs abysmally for some reason -- even slower than my mobile Intel CPU, and others have noted the same behavior too. Intel processors aren't exhibiting this issue, and my benchmarks were taken from an i5-2410M CPU @ 2.30GHz using the Performance governor.

I've reported the bug here https://github.com/rust-lang/rust/issues/36705 so maybe someone who works closer to the lower level side of Rust can give some insight on why AMD hardware is executing much slower than Intel hardware.

Here's a recorded sysprof session so whoever investigates this can see where the time is spent
sysprof-log-for-weird-performance.zip

@Shnatsel / @mmstick: Just to be safe, are your AMD users compiling with optimizations turned on, a la cargo build --release ...? If not, perhaps enabling native CPU optimizations with RUSTFLAGS="-C target-cpu=native" cargo build --release ... might actually get the program properly optimized. That could help lead us towards what's going on if it's still performing poorly.

Nope, enabling optimizations like that didn't help.
export RUSTFLAGS="-C target-cpu=native"
cargo build --release
Still slow.

I can also confirm that my AMD systems see no improvement from enabling native optimizations. I have perf data from both my Intel laptop and AMD desktop with both debug and release builds on the associated Rust issue: https://github.com/rust-lang/rust/issues/36705

The solution to the problem is for Linux distributions to change their default parameter from always to madvise, as Solus did some time ago as they experienced issues with always: https://git.solus-project.com/packages/kernel/commit/?id=40b3b940348ce91ca7c03278f7f238a66883ad8f
Therefore, this should be reported as a bug against your Linux distribution.

For another datapoint, if you need to convince your distro, Fedora switched to madvise in 2014:
http://pkgs.fedoraproject.org/cgit/rpms/kernel.git/commit/?id=9a031d5070d9f8f5916c48637bd0c237cd52eaf9

I should clarify, I didn't mention the year for one-upmanship, but just to indicate experience with the change.  If Solus only made this change a few weeks ago, other distros may wonder if they've fully experienced the fallout of that change.  Fedora's longer period with madvise should inspire more confidence.

Even earlier, Debian has used madvise since 2012:
https://anonscm.debian.org/cgit/kernel/linux.git/commit/debian/config/config?id=c36d637ccaf86c15082a41018160b2bc9a431440
(I'll stop digging now.)

Considering Debian has been using it since 2012, I wonder why Ubuntu didn't decide to do the same.


Settings manager won't save settings such as mouse acceleration

It's a lovely setup btw and I'm very new to ricing so I apologize in advance for my newbie issues.
The settings for mouse acceleration and display scaling that I configured in the settings manager won't apply even after a reboot and I'm not sure why. Thanks in advance.

Settings Manager mostly works for Xfce session, you can only change a few things in it since we are not using xfce4 session, for display scaling you can edit the DPi in ~/.Xresources, by changing it from 120 to any other DPi
For mouse acceleration, You can check this ArchWiki guide on how to do it with libinput
I hope that helps :)

Makes sense, I added Xft.dpi value in the Xresources file and that solved the issue. Thanks man


Add a Max Editor Group Width setting

Since issue #114929 was closed (not mine) but im having same issue.
On a big screen / ultrawide / tv , using the "Maximize Editor Group" results in an editor group that is too wide than necessary, making other editor groups not readable even tho they could have plenty of space.
Make it possible to set proportions of the maximized group, eg 50% for active and remaining groups to split the rest of the space, instead of the default 80% or whatever it is.
Or when the user resizes the active group while "maximize editor groups" is active, make that be the size of active group (whichever group you choose after) while other groups split the remaining space. Currently you can resize but it  resets when you select any other group.
I have an ultrawide monitor and am using 3 groups, where each one is mostly well visible but id like just a slight boost in width to the active group so i dont have to use horizontal scroll all the time, and the current maximize group implementation gets ridiculously wide and leaves other groups unusable at all, forcing me to have to click to see them one at a time - eliminating the convenience of using multiple groups for easy readability of multiple files on an ultrawide monitor / tv.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Allow the template author to manually specify sub-temlates

Closes #636

With this change, sub-templates may also be "nested" within each other


[WIP][ISSUE-3007][Improve] Introduce a premise utils to reduce conditions check and exceptions processing

What changes were proposed in this pull request
Issue Number: close #3007

Brief change log
Add a tool to unify pre-checking and throwing exceptions
Verifying this change

This change added tests and can be verified as follows:

Added Test to verify the change.

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (no)

I really like this improvement and I'm looking forward to your next submit. 😊

I will start reviewing this PR if no one reviews it

@RocMarshal If you have time, can you help me with the review? Thank you.

hi:
There are some conflicts that need to be resolved first

In the current code, the backend still returns error messages to the frontend as before. The key issue is that these error messages are hard-coded and not processed through i18n. You can check out this issue. My suggestion is that after the backend detects an error, it should return a business state code, and the message info for each status code can be handled by the frontend.

+1 for me.
Hi @zzzk1 Thank you for the pr and sorry for the late reply.
thx for @wolfboys @caicancai comments.
How about

Only introduce a separate XXXUtils in console-service to perform a check with built-in exception binding
And keep common related checks in Utils.

?
I'd like to more ideas about it~

In the current code, the backend still returns error messages to the frontend as before. The key issue is that these error messages are hard-coded and not processed through i18n. You can check out this issue. My suggestion is that after the backend detects an error, it should return a business state code, and the message info for each status code can be handled by the frontend.

+1 for me.
Hi @zzzk1 Thank you for the pr and sorry for the late reply. thx for @wolfboys @caicancai comments.
How about

Only introduce a separate XXXUtils in console-service to perform a check with built-in exception binding
And keep common related checks in Utils.

?
I'd like to more ideas about it~

Only introduce a separate XXXUtils in console-service to perform a check with built-in exception binding
And keep common related checks in Utils.

+1,  This is a good idea


[Fix]Dark Mode Broken

Something happened to dark mode and it is not working. Need someone to check it out and fix it. This is a separate issue from styling Dark Mode.

@brittneypostma I would like to work on this!

@batistaDev1113 just saw someone already fixed it in a pr right after i created the issue.

Np!  Thank you for the heads up!


Can't login any more

get an error sins about 7 day's can you help me a bit
account is checked and ok but not getting the data?
9/27/2021, 8:16:42 AMnode: My-Car Parking
msg : number
403
9/27/2021, 8:16:42 AMnode: My-Car Parking
msg : number
400
9/27/2021, 8:16:42 AMnode: My-Car Parking
msg : string[83]
"{"error":{"errorCode":"gw.error.authentication","description":"Malformed request"}}"

Please check out the newest version. The issue should be solved #4

Thanks didn't know that i needed to do that manual, great help


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 798

Questions ?
Please refer to the Backport tool documentation


Some of my contracts are not deployed when i run truffle migrate

I have a blockchain project and when i tried to deploy my contracts using truffle migrate some of my contracts are not deployed

What does this have to do with Webpack?


ci: Release process updates

see #356

Good job! ... Just, could you please update .pre-commit-config.yaml as well?

Huh, I just keep forgetting that one...


Unable to install more than one copy of FTLDB to a database.

Problem
When try to install a new copy of FTLDB into another schema, installation process fails.
Investigation
The problem appeared with the solution of issue #1.
The reason is in coincidence of using the genmissing option and granting execute privileges on FTLDB classes to PUBLIC. When the second installation runs, loadjava checks if the missing classes to be generated are already exist in the system. It is done by selecting all_objects dictionary view with no filter applied to owner. The installer sees the classes and doesn't create them in the target schema. Then the dependent classes cannot be resolved and installation fails.
Possible solution
Add a new installation step for revoking privileges from autogenerated classes.

Finally did the following:

For Oracle 10 nothing changes: some classes stay unresolved and everything works but suddenly may break and need re-installation.
For Oracle 11+ freemarker.jar now is loaded in 2 steps:

load and genmissing;
resolve and grant privs.


Performance on NYUv2?

Hi, thanks for sharing the code.
I'm quite interested in the performance on NYUv2. Did you follow a similar setting as in kitti?
I found you only released the model on NYU but not the cfg files or dataloaders.

Yes, I only provide a pretrained model, since I trained the model during my internship last year.
Now I don't have NYU data at hand, it is difficult for me to rewrite a dataloader for NYU.
NYU dataloader is analogous with that of Kitti, you may try to write following the kitti dataloader.


fix: title change bug

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bittersweet playlist hover colors turn grin

Describe the bug
When you hover over tracks on a playlist, the song title will be highlighted in green instead of purple.
To Reproduce
Steps to reproduce the behavior:

Go to a created playlist
Play any song.
With or without the song selected, hover over it and the song title will turn green.

Expected behavior
Since the song that is playing is highlighted in purple and all fields remain purple on hover I expected the song title to also stay purple instead of green
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
DevTools failed to load SourceMap: Could not load content for https://zlink.app.spotify.com/zlink.bundle.js.map:
DevTools failed to load SourceMap: Could not load content for https://playlist.app.spotify.com/playlist.bundle.js.map:
DevTools failed to load SourceMap: Could not load content for https://buddy-list.app.spotify.com/buddy-list.bundle.js.map:
DevTools failed to load SourceMap: Could not load content for https://zlink.app.spotify.com/css/zlink.css.map:
DevTools failed to load SourceMap: Could not load content for https://buddy-list.app.spotify.com/css/buddy-list.css.map:
DevTools failed to load SourceMap: Could not load content for https://playlist.app.spotify.com/css/playlist.css.map:

Specifics (please complete the following information):

OS: macOS 10.15.7
Spotify version <IP_ADDRESS>8.gf9a83c60
Spicetify version 1.2.1
Theme name: Bittersweet

@bandithedoge

I'm honestly thinking of ditching this theme. It's messy, has a lot of issues and would require a rewrite. Unless someone else bothers to maintain it, @morpheusthewhite has my permission to remove it from the repo.

I am going to update the theme README then but not removing it for the moment. I will also properly label these issues and close them.


[xgboost4j-spark] Bug when training many models in the same session

When training multiple models in the same session, sometimes xgboost4j-spark reads the old cache file without realizing that the new input is different, resulting in exactly the same model.
In https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j-spark/src/main/scala/ml/dmlc/xgboost4j/scala/spark/XGBoost.scala, there is a line:
s"$appName-dtrain_cache-${TaskContext.getPartitionId()}"

One solution is to append another unique ID. Another would be to clear the cache files (this solution seems better).

resolved by https://github.com/dmlc/xgboost/pull/1493#partial-pull-merging


docs: workshop rsk truffle box

What

New workshop/ tutorial: Using Truffle Boxes with RSK

Why

We will be using this content to run live workshops

Refs

Task

@solangegueiros made the change to move the tutorial to the truffle boxes section
Note that this is not an RSK truffle box, so it doesn't exactly fit here either, so we may need to move it again.


Add broadcast API

Add a way for clients to be notified when anything changes. Ideally the API tells you what changed but probably also needs an escape hatch to say "eh, dunno reload everything" for garbage collection for example. Previous notes: https://github.com/SUPERCILEX/clipboard-history/issues/3#:~:text=Extra commands for the client%3A

For the UI to be efficient, I think we need to subscribe to server broadcasts while visible, drop the connection while in the background, and statx every bucket and ring with a full reload when back in the foreground. Since the server doesn't store a log of operations, there's no way to efficiently generate a diff between two random points in time.

Something I just realized: for the watcher clients, they don't need to differentiate between requests and pushes. If you request an add for example, it'll show up in your event stream just like any other client requesting an add, so there's no speed to special case the receive buffer for your requests vs other people's changes.