rsync error in ssh deploy

Iam having the same issue

Iam having the same issue

Iam having the same issue

Same here!

Same here

same

So, in my case, I noticed that my private key had a passphrase set and thus I had to also include it as a secret along with the key itself. I was able to resolve it with another workflow that allowed the user to provide the passphrases. If anyone is interested, I have used this: https://github.com/marketplace/actions/rsync-deployments-action. Hopefully, @SamKirkland can incorporate the passphrase as an optional field, if this is not a huge ask of course.

So, in my case, I noticed that my private key had a passphrase set and thus I had to also include it as a secret along with the key itself. I was able to resolve it with another workflow that allowed the user to provide an SSH key passphrase. If anyone is interested, I have used this: https://github.com/marketplace/actions/rsync-deployments-action. Hopefully, @SamKirkland can incorporate the passphrase as an optional field, if this is not a huge ask of course.

I actually tried it without the passphrase also, and it still didn't work. Seems to be some sort of issue when web_deploy_key is generated.

So, in my case, I noticed that my private key had a passphrase set and thus I had to also include it as a secret along with the key itself. I was able to resolve it with another workflow that allowed the user to provide an SSH key passphrase. If anyone is interested, I have used this: https://github.com/marketplace/actions/rsync-deployments-action. Hopefully, @SamKirkland can incorporate the passphrase as an optional field, if this is not a huge ask of course.

I actually tried it without the passphrase also, and it still didn't work. Seems to be some sort of issue when web_deploy_key is generated.

I understand. I am not sure what could be causing it but I was definitely able to resolve it by using the other workflow I mentioned and the passphrase is optional in this case.

So, in my case, I noticed that my private key had a passphrase set and thus I had to also include it as a secret along with the key itself. I was able to resolve it with another workflow that allowed the user to provide an SSH key passphrase. If anyone is interested, I have used this: https://github.com/marketplace/actions/rsync-deployments-action. Hopefully, @SamKirkland can incorporate the passphrase as an optional field, if this is not a huge ask of course.

I actually tried it without the passphrase also, and it still didn't work. Seems to be some sort of issue when web_deploy_key is generated.

I understand. I am not sure what could be causing it but I was definitely able to resolve it by using the other workflow I mentioned and the passphrase is optional in this case.

This repo you have suggested is connecting SSH for me successfully but not actually doing any file updating. Are you able to send your git action? Are you using it alongside something else for deployment? Thank you!

So, in my case, I noticed that my private key had a passphrase set and thus I had to also include it as a secret along with the key itself. I was able to resolve it with another workflow that allowed the user to provide an SSH key passphrase. If anyone is interested, I have used this: https://github.com/marketplace/actions/rsync-deployments-action. Hopefully, @SamKirkland can incorporate the passphrase as an optional field, if this is not a huge ask of course.

I actually tried it without the passphrase also, and it still didn't work. Seems to be some sort of issue when web_deploy_key is generated.

I understand. I am not sure what could be causing it but I was definitely able to resolve it by using the other workflow I mentioned and the passphrase is optional in this case.

This repo you have suggested is connecting SSH for me successfully but not actually doing any file updating. Are you able to send your git action? Are you using it alongside something else for deployment? Thank you!

I have used it as is and the only thing I changed was the port as well as the source and destination paths (be very specific with these details). In my case I just had to use the passphrase along with the private key. The username and the remote host are all details I get from my provider. My use case is local dev env --> push to repo --> rsync deploy to remote env (shared hosting with ssh access). I hope this helps.

So, in my case, I noticed that my private key had a passphrase set and thus I had to also include it as a secret along with the key itself. I was able to resolve it with another workflow that allowed the user to provide an SSH key passphrase. If anyone is interested, I have used this: https://github.com/marketplace/actions/rsync-deployments-action. Hopefully, @SamKirkland can incorporate the passphrase as an optional field, if this is not a huge ask of course.

I actually tried it without the passphrase also, and it still didn't work. Seems to be some sort of issue when web_deploy_key is generated.

I understand. I am not sure what could be causing it but I was definitely able to resolve it by using the other workflow I mentioned and the passphrase is optional in this case.

This repo you have suggested is connecting SSH for me successfully but not actually doing any file updating. Are you able to send your git action? Are you using it alongside something else for deployment? Thank you!

I have used it as is and the only thing I changed was the port as well as the source and destination paths (be very specific with these details). In my case I just had to use the passphrase along with the private key. The username and the remote host are all details I get from my provider. My use case is local dev env --> push to repo --> rsync deploy to remote env (shared hosting with ssh access). I hope this helps.

Thanks! I have the same setup, all links up with SSH but no actual file changes :(

qfrter fu**** for 3 hours, found solution
login on server & run
ssh-keygen -m PEM -t rsa -b 4096
cat id_rsa.pub >> authorized_keys
cat id_rsa

copy and past in secrets
it requires to start with -----BEGIN RSA PRIVATE KEY-----
anything different will fail

Same issue here. It would be lovely if this tool could either support the "default" key format (e.g. the one generated by ssh-keygen without any arguments), or ED25519. Otherwise, this should be in the docs; would help other aspiring users to debug this error when they get it too.

afrter fu**** for 3 hours, found solution login on server & run
ssh-keygen -m PEM -t rsa -b 4096
cat id_rsa.pub >> authorized_keys
cat id_rsa

copy and past in secrets
it requires to start with -----BEGIN RSA PRIVATE KEY----- anything different will fail

Thank you ..spent a lot of time on this but your answer was correct ...and thanks @SamKirkland  for creating/maintaining 👏

https://github.com/SamKirkland/web-deploy/issues/16#issuecomment-1813492196

I apologize ahead of time because I'm a newbie when it comes to this particular topic. I'm going to try it, but I want to get confirmation from anyone here just to make sure I understand the problem and the solution.
I'm getting the same error posted above, but if I understand the solution, I can't use this to generate the SSH key on my shared hosting server:
ssh-keygen -t rsa -b 4096
Instead, I have to do it with this:
ssh-keygen -m PEM -t rsa -b 4096
The only difference is -m PEM. Can anyone tell me why that would make it work?

Can any one check the below image and help me on it. I am setting CI/CD for AWS ec2. Trying to solve the error for more than 2 days but am not getting the proper solution on the internet 😥.
Thank you in advance.


Allow SessionData to be extracted from Device

Right now there is no way to persist the SessionData to flash. This is a requirement for LoraWan 1.0.4 but is also nice to have just for being able to delete the Device for saving power in sleep.

Excellent! Been wanting this feature.

I made serde optional now. The reason behind even including it is to make it easier to save the session to flash. ie. we need a way to convert the SessionData struct to bytes.
In the future we might even include code for that into the repo as it is an requirement for LoraWan 1.0.4 to save the session even during power off and reboot.

Thank you!


Refresh Log Collector Scripts for SSM

Issue: #1134
Description of changes:

Cleanup HTML code from README.md
Update AWS CLI version from v1 to v2
Refresh sample command outputs for v0.7.3
Remove dummy "PatchLinux" for Windows nodes
Remove dummy "PatchWindows" for Linux nodes
Rename SSM document for Linux from "EKSLogCollector" to "EKSLogCollectorLinux"
Rename SSM document for Windows from "EKSLogCollector" to "EKSLogCollectorWindows"

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

Test with a node running with amazon-eks-node-1.24-v20221112 AMI:


Gracefully handle the failure to find error field

A secondary error was caused by incorrectly trying to handle a different error.  This will resolve that secondary error, revealing the primary error to the user.

Note that this includes some Nix-related stuff but that's just for setting up the dev environment.


Define duration or damping of interpolation

Thanks for his great little library!
Is there a way to set the "speed" or damping factor of the interpolation?

Hi @hatsumatsu , I wrote about this but I cannot find where. With the current ola it's not possible, you can adjust the time it takes but not the damping factor. This is because I'm using a 2nd degree equation (x^2+a*x+b=0) with all degrees of freedom defined, so there's no space for any new parameter.
It was a textbook solution with as many variables as unknowns, but still it was difficult (long time since uni's algebra). So I don't dare to set it up to a 3rd degree equation and calculate the resulting equations. IIRC you'd have to jump into the imaginary plane to solve these 3rd degree or do some other fancy maths.


[Fix #13256] Report and correct more Style/SafeNavigation offenses.

This change adds the ability for Style/SafeNavigation to detect offenses such as
foo? && bar && bar.end_with?('baz')

and nodes nest leftward, ie. the above code becomes
(and
  (and
    (send nil :foo?)
    (send nil :bar))
  (send
    (send nil :bar) :end_with?
    (send nil :baz)))

Because of this, the previously version of the cop was unable to find an offense for the above code because it was comparing foo? && bar with bar.end_with?. In order to support this, I had to greatly rewrite how on_and processes nodes. The new approach collects all the clauses of a (nested) and statement, and evaluates them in pairs. If a pair has an object detection on the LHS and a method call of that object on the RHS, it will be picked up by the cop as an offense and corrected. I also handled begin nodes within and nodes so code like foo && (bar && bar.x?) will be caught as well.
I mostly did not change the on_if code, other than using my new methods where appropriate. The core of it that finds which elements to operate on has not changed.
As part of my refactor, I added tests for a number of cases that were being covered by the cop but not tested for, to ensure the behaviour remains the same. I have run this new version of the cop against a number of codebases and do not get any crashes or false positives that I've seen.
A few new offenses were detected in the RuboCop codebase by the changes, which are fixed in the second commit.
Fixes #13256.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I ran this over real-world-rails and found some erroring (simplified for clarity):
foo? && begin
  bar? && baz?
end
# undefined method `receiver' for an instance of Parser::Source::Range
# lib/rubocop/cop/style/safe_navigation.rb:295:in `find_matching_receiver_invocation'

return if foo? && bar = baz && bat != bar
# undefined method `receiver' for an instance of Parser::Source::Range
# lib/rubocop/cop/style/safe_navigation.rb:295:in `find_matching_receiver_invocation'

foo? && (bar? || baz? && bat?)
# undefined method `receiver' for an instance of Parser::Source::Range
# lib/rubocop/cop/style/safe_navigation.rb:295:in `find_matching_receiver_invocation'

Although they look quite different, seems like one fix will take care of all.

Thanks @Earlopain I'll check those out!

Excellent improvement!


Update License and increment build

Checklist

[X] Used a fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@tboggs FYI... I needed to increment the version number :)
I hope this fixes the license issue it creates a new unique build.


requirePaddingNewlinesAfterBlocks: arrays act like objects for the last item

And added the airbnb check for the section 18.6
const arr = [
  function foo() {
  },

  function bar() {
  },
];

return arr;

Why? Could you use inArrayExpressions option?

inArrayExpressions means anywhere in the array.
This require newlines between functions inside the array except the last item, the same behavior than for objects

:+1: seems consistent with the objects rules indeed

up ?

Sounds reasonable, could you add the same logic for function call parentheses?

added for call parentheses :)

up ?

Thank you


Lots of unhandled exception IntegerDivideByZero

Hardware
ESP32
Firmware version
v2.4.5
Application version
v2.4.5
What happened? What did you expect to happen?
I'm having massive issues trying to get this software working reliably, and I'm constantly getting an IntegerDivideByZero exception which causes the chip to reset.
I've tried this on v2.4.4, v2.4.5, and v2.4.6 and I'm getting the same behaviour.
I can't find a pattern to the crashes. Sometimes it works really reliably, but then if I pull the power and restart it stops working again.
Listed below is one of the ways in which I've been able to reproduce the problem, but in the past it's also ended up in a complete boot loop. Now I can't even backup the config without it crashing, so I assume something in my config file is causing this.
Config is attached below.
24, 76,   29,  3,  276, 12,  200,  5,   77,  1,   77,  181,   74,E37A1C
  1,Living Room         ,  1
  2,Bedroom 1           ,  2
  3,Bedroom 2           ,  3
  1,true ,  0,    505085,Living Room 1       ,  0,  0, 56,     44000,     44000,      7000,  100,   5298149,   5494757,   5953509,   6281189,         0,         0,         0,   38,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  1,  0,  0,  0,  0,  1
  2,true ,  0,    505086,Living Room 2 Door  ,  0,  0, 56,     44000,     44000,      7000,  100,   5363685,   5494757,   5953509,   6215653,   6281189,         0,         0,   14,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  2,  0,  0,  0,  0,  1
  3,true ,  0,    505087,Living Room 3       ,  0,  0, 56,     44000,     44000,      7000,  100,   5429221,   5494757,   5953509,   6281189,         0,         0,         0,   21,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  3,  0,  0,  0,  0,  1
  4,true ,  0,    505088,Living Room 4       ,  0,  0, 56,     44000,     44000,      7000,  100,   5560293,   5887973,   5953509,   6281189,         0,         0,         0,   29,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  4,  0,  0,  0,  0,  1
  5,true ,  0,    505089,Living Room 5       ,  0,  0, 56,     44000,     44000,      7000,  100,   5625829,   5887973,   5953509,   6281189,         0,         0,         0,   36,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  5,  0,  0,  0,  0,  1
  6,true ,  0,    505090,Living Room 6       ,  0,  0, 56,     44000,     44000,      7000,  100,   5691365,   5887973,   5953509,   6281189,         0,         0,         0,   26,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  6,  0,  0,  0,  0,  1
  7,true ,  0,    505091,Living Room 7       ,  0,  0, 56,     44000,     44000,      7000,  100,   5756901,         0,         0,         0,         0,         0,         0,    2,  0,    97.50000,    -1.00000,   100.00000,     0.00000,false,false,  1,  7,  0,  0,  0,  0,  1
  8,true ,  0,    505092,Living Room 8 Corner,  0,  0, 56,     44000,     44000,      7000,  100,   5822437,   5953509,   6281189,         0,         0,         0,         0,   11,  0,    97.50000,    -1.00000,     0.00000,     0.00000,false,false,  1,  8,  0,  0,  0,  0,  1
  9,true ,  0,    505096,Bedroom 1 Left      ,  0,  0, 56,     24000,     24000,      7000,  100,   7491389,   7753533,   6150117,   6281189,         0,         0,         0,    9,  0,    75.86250,    -1.00000,     0.00000,     0.00000,false,false,  1,  9,  0,  0,  0,  0,  2
 10,true ,  0,    505097,Bedroom 1 Right     ,  0,  0, 56,     24000,     24000,      7000,  100,   7556925,   7753533,   6150117,   6281189,         0,         0,         0,    9,  0,    75.80417,    -1.00000,     0.00000,     0.00000,false,false,  1, 10,  0,  0,  0,  0,  2
 11,true ,  0,    505099,Bedroom 2 Left      ,  0,  0, 56,     24000,     24000,      7000,  100,   9332029,   9594173,   6084581,   6215653,   6281189,         0,         0,    9,  0,    71.01250,    -1.00000,     0.00000,     0.00000,false,false,  1, 11,  0,  0,  0,  0,  3
 12,true ,  0,    505100,Bedroom 2 Right     ,  0,  0, 56,     24000,     24000,      7000,  100,   9397565,   9594173,   6084581,   6281189,         0,         0,         0,   11,  0,    71.00000,    -1.00000,     0.00000,     0.00000,false,false,  1, 12,  0,  0,  0,  0,  3
  1,  0,    505093,Balcony             ,  0, 56,  1,  2,  3,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  2,false,  1,   23
  2,  0,    505094,Park                ,  0, 56,  4,  5,  6,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  1,false,  1,   13
  3,  0,    505095,Living Room         ,  0, 56,  1,  2,  3,  4,  5,  6,  8,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  0,false,  0,   31
  4,  0,    505098,Bedroom 1           ,  0, 56,  9, 10,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  3,false,  0,   10
  5,  0,    505101,Bedroom 2           ,  0, 56, 11, 12,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  4,false,  0,   18
         0,         0,         0,         0,         0,         0,         0
"v2.4.5","ESPSomfyRTS","pool.ntp.org","GMT0BST,M3.5.0/1,M10.5.0",true ,false
  1,false,"<IP_ADDRESS>","<IP_ADDRESS>","<IP_ADDRESS>","<IP_ADDRESS>","<IP_ADDRESS>","MQTT","homeassistant.local", 1883,true ,"somfyrts","homeassistant",  0,  0,  0,   1,   0,   0,   0
true ,  0, 56, 18,  5, 23, 19, 13, 12,   433.410,    99.97,    47.60,  10

How to reproduce it (step by step)
One of the ways I can currently reproduce it is below.

1. Select blind down
2. Blind starts moving
3. Select blind up
4. Blind doesn't move, ESP32 crashes

Looking at the logs, the rolling code for the up command is '1', whereas the rolling code for the down command was '39', so something has gone very wrong there. After the reboot, the rolling code for the up command reverts to '39', indicating that the rolling code was not saved (but at least it's not '1' anymore!)

Logs
Sending Shade Command

Received:{"shadeId":4,"command":"down"}

CMD:Down ADDR:505088 RCODE:39 REPEAT:1

Enabled receive on Pin #12 Timing: 1
Timing WebServer: 314ms
Sending Shade Command

Received:{"shadeId":4,"command":"up"}

CMD:Up ADDR:505088 RCODE:1 REPEAT:1

Enabled receive on Pin #12 Timing: 0
Timing WebServer: 315ms
Guru Meditation Error: Core  1 panic'ed (IntegerDivideByZero). Exception was unhandled.

Mounting File System...

File system mounted successfully

Chip Model ESP32-
Preference IP Free Entries: 460
SECURITY   Type:0 Username:[] Password:[] Pin:[] Permissions:0

Connection Type: 1
NTP Settings

pool.ntp.org TZ:GMT0BST,M3.5.0/1,M10.5.0

WIFI Settings

 SSID: [...] PassPhrase: [...]

Launching web server...

Creating Web MicroServices...

WiFi Mode: 0

(evt) WiFi interface ready

WiFi station mode started

Socket Server Started...

Max Heap: 110580

Free Heap: 176924

Min Heap: 176680

App Version:2.4.5
shades.cfg exists so we are using that

Reading header at 0
version:24 len:76 roomSize:29 roomRecs:3 shadeSize:276 shadeRecs:12 groupSize:200 groupRecs: 5 pos:76
Applying radio settings Setting Data Pins RX:12 TX:13
Setting SPI Pins SCK:18 MISO:19 MOSI:23 CSN:5
Radio Pins Configured!

Successfully set up the radio

Enabled receive on Pin #12 Timing: 1
Initializing RX Queue

Connecting to AP

Set hostname to:ESPSomfyRTS

(evt) Completed scan for access points

Found strongest AP 6 7A:9A:18:C8:1D:FC
Timing Net: 2902ms
(evt) Disconnected from WiFi access point

(evt) Connected to access point

Got WiFi IP: <IP_ADDRESS>

Successfully Connected to WiFi!!!!<IP_ADDRESS> (-50dbm)

MDNS Responder Started: serverId=E37A1C
SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true
Connected to SSDP...

Max Heap: 110580

Free Heap: 162736

Min Heap: 161768

Successfully connected MQTT client client-00001c7ae367b4fc

MQTT Subscribed to:somfyrts/shades/+/target/set

MQTT Subscribed to:somfyrts/shades/+/tiltTarget/set

MQTT Subscribed to:somfyrts/shades/+/direction/set

MQTT Subscribed to:somfyrts/shades/+/mypos/set

MQTT Subscribed to:somfyrts/shades/+/myTiltPos/set

MQTT Subscribed to:somfyrts/shades/+/sunFlag/set

MQTT Subscribed to:somfyrts/shades/+/sunny/set

MQTT Subscribed to:somfyrts/shades/+/windy/set

MQTT Subscribed to:somfyrts/shades/+/position/set

MQTT Subscribed to:somfyrts/shades/+/tiltPosition/set

MQTT Subscribed to:somfyrts/groups/+/direction/set

MQTT Subscribed to:somfyrts/groups/+/sunFlag/set

MQTT Subscribed to:somfyrts/groups/+/sunny/set

MQTT Subscribed to:somfyrts/groups/+/windy/set

MQTT Startup Completed

Timing Net: 697ms
Socket [0] Connected from <IP_ADDRESS> url: /
Initializing Socket Client 0
Socket [1] Connected from <IP_ADDRESS> url: /
Initializing Socket Client 1
Max Heap: 106484

Free Heap: 152168

Min Heap: 137456

Timing WebServer: 629ms
Sending Shade Command

Received:{"shadeId":4,"command":"up"}

CMD:Up ADDR:505088 RCODE:39 REPEAT:1

Enabled receive on Pin #12 Timing: 1

@edrose I loaded up your backup file and attempted to duplicate the divide by zero exception without success.  I performed the actions as you have outlined above with the firmware you have installed.
I noticed you are using MQTT discovery.  Are you using HomeAssistant then you do not need or want MQTT since the plugin will handle all of your shades way more efficiently than MQTT.  Anyhow please uncheck the enable MQTT client on the MQTT tab to see if the issue goes away.  This will allow me to see if there is something that is feeding back through the MQTT channel.
Then please install the current release of v2.4.6-pre.   This has some additional checks in it to ensure the MQTT connection is timed appropriately.  I would appreciate the exception dump like you provided above if it is still happening.   I have a sneaking suspicion that it is not really a divide by zero exception but rather the watchdog getting triggered from a feedback loop.

I think I've solved it. I'm running on a custom PCB and I'd forgotten to add enough capacitance on the reset pin.
My best guess is that the ESP32 booted up and mounted the filesystem before the flash memory was fully initialised, so read out a zero while mounting the filesystem. That zero got saved in memory and not used until the filesystem needed to do something, at which point it was used in a division and crashed everything.
I'm guessing if you look at the address pointed to by the program counter in the core dump it will point to a function in LittleFS? I don't know which versions of libraries the firmware was built with so I can't replicate the build to find out myself.
I'll close this for now and reopen it if the issue reappears.

In fact it does and what you are saying makes sense.   I was beginning to think we were blowing the stack.


osxfuse not found

I've run installation several times but faced that issue over and over again.
macOS Big Sur 11.0.1
The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
    Caskroom/cask/osxfuse

I've tried install osxfuse manually but have no luck 😭

Have you tried running opam depext google-drive-ocamlfuse?

I've got:
Warning: Cask 'osxfuse' is already installed.

while run opam depext and then on opam install google-drive-ocamlfuse
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[google-drive-ocamlfuse.0.7.23] found in cache
[ocamlfuse.2.7.1-cvs7] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocamlfuse failed at "/Users/tetianacherevan/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7".

#=== ERROR while compiling ocamlfuse.2.7.1-cvs7 ===============================#
# context     2.0.7 | macos/x86_64 | ocaml-base-compiler.4.11.1 | https://opam.ocaml.org#cfee992b
# path        ~/.opam/default/.opam-switch/build/ocamlfuse.2.7.1-cvs7
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7
# exit-code   1
# env-file    ~/.opam/log/ocamlfuse-16856-d2d111.env
# output-file ~/.opam/log/ocamlfuse-16856-d2d111.out
### output ###
# Fuse_util.c:324:5: note: expanded from macro 'FOR_ALL_OPS'
# [...]
#     ^~~~~~~~~~~~~~~~~~
# Fuse_util.c:631:23: note: expanded from macro 'SET_OPERATION'
#       OPNAME##_closure=caml_named_value(op->OPNAME); \
#                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:667:27: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_fuse_loop_closure = caml_named_value("ocaml_fuse_loop");
#                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:668:21: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_list_length = caml_named_value("ocaml_list_length");
#                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 36 warnings generated.

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlfuse 2.7.1-cvs7
+-
- No changes have been performed

I'm sorry, but in the output section the error is not present (maybe you can find it in the output file ~/.opam/log/ocamlfuse-16856-d2d111.out, if it was not deleted afterwards). For reference, here is the log of the Travis CI macos instance that builds ocamlfuse without errors. The relevant part of the log starts at row 763. Unfortunately I don't have a macos, box so I can't reproduce your issue.

Full log
➜  ~ opam install google-drive-ocamlfuse
The following actions will be performed:
  - install ocamlfuse              2.7.1-cvs7 [required by google-drive-ocamlfuse]
  - install google-drive-ocamlfuse 0.7.23
===== 2 to install =====
Do you want to continue? [Y/n] y

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[google-drive-ocamlfuse.0.7.23] found in cache
[ocamlfuse.2.7.1-cvs7] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocamlfuse failed at "/Users/tetianacherevan/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7".

#=== ERROR while compiling ocamlfuse.2.7.1-cvs7 ===============================#
# context     2.0.7 | macos/x86_64 | ocaml-base-compiler.4.11.1 | https://opam.ocaml.org#cfee992b
# path        ~/.opam/default/.opam-switch/build/ocamlfuse.2.7.1-cvs7
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 7
# exit-code   1
# env-file    ~/.opam/log/ocamlfuse-25787-d2d111.env
# output-file ~/.opam/log/ocamlfuse-25787-d2d111.out
### output ###
# Fuse_util.c:324:5: note: expanded from macro 'FOR_ALL_OPS'
# [...]
#     ^~~~~~~~~~~~~~~~~~
# Fuse_util.c:631:23: note: expanded from macro 'SET_OPERATION'
#       OPNAME##_closure=caml_named_value(op->OPNAME); \
#                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:667:27: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_fuse_loop_closure = caml_named_value("ocaml_fuse_loop");
#                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Fuse_util.c:668:21: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   ocaml_list_length = caml_named_value("ocaml_list_length");
#                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 36 warnings generated.

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocamlfuse 2.7.1-cvs7
+-
- No changes have been performed

The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
    Caskroom/cask/osxfuse

Full log of depext
➜  ~ opam depext google-drive-ocamlfuse
# Detecting depexts using vars: arch=x86_64, os=macos, os-distribution=homebrew, os-family=homebrew
# The following system packages are needed:
Caskroom/cask/osxfuse
gmp
lzlib
pkg-config
sqlite3
Warning: Calling `brew list` to only list formulae is deprecated! Use `brew list --formula` instead.
# The following new OS packages need to be installed: Caskroom/cask/osxfuse sqlite3
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/cask and caskroom/cask).
==> New Formulae
clash
==> Updated Formulae
Updated 43 formulae.
==> Updated Casks
a-better-finder-attributes  carbon-copy-cloner          ithoughtsx                  opera                       qbittorrent                 tweetbot                    webcatalog
a-better-finder-attributes  carbon-copy-cloner          ithoughtsx                  opera                       qbittorrent                 tweetbot                    webcatalog
activedock                  dcommander                  mate-translate              pdf-expert                  slack                       ukelele
activedock                  dcommander                  mate-translate              pdf-expert                  slack                       ukelele
anydo                       icollections                meetingbar                  protonmail-bridge           sunvox                      ultimate
anydo                       icollections                meetingbar                  protonmail-bridge           sunvox                      ultimate

Warning: Cask 'osxfuse' is already installed.

To re-install osxfuse, run:
  brew reinstall osxfuse
Warning: sqlite 3.33.0 is already installed and up-to-date
To reinstall 3.33.0, run `brew reinstall sqlite`
# OS packages installation successful

you can see that depext don't want to install osxfuse because it is already installed, but when I run opam install it fails because decide that osxfuse is not installed


Generic Question

We are trying to implement this angular directive in to our project, but I am facing few issues with the draggabilly and packery included files.
We are using require.js to load the files in AMD manner. We are facing the issues with the these 2 objects [Draggabilly, Packery] coming as null in the below function in packer-angular.js file.
(function (angular, Draggabilly, Packery) {
    'use strict';

..........
...........
...........
}

When we tried to debug the Draggabilly and Packery un minified files, we found that both the modules are written their code to work with AMD, CommonJS & ES Harmony  patterns as shown below. The below code is extracted from the draggabilly and packery unminified files.
/* globals define: false, module: false, require: false */
if ( typeof define == 'function' && define.amd ) {
  // AMD
  define( 'jquery-bridget/jquery-bridget',[ 'jquery' ], function( jQuery ) {
    factory( window, jQuery );
  });
} else if ( typeof module == 'object' && module.exports ) {
  // CommonJS
  module.exports = factory(
    window,
    require('jquery')
  );
} else {
  // browser global
  window.jQueryBridget = factory(
    window,
    window.jQuery
  );
}

I would like to know that whether packer-angular.js file is written to handle these kind of scenario's like loading the modules using AMD manner.
I think that packer-angular.js is trying to execute the code before the [Draggabilly, Packery] files are getting loaded.
Please correct me if I am not correct here and could you please let us know whether packer-angular is going to modify to handle these kind of scenarios.
Thanks in advance for your help

It should be fairly simple to change the code to be compatible with AMD, CommonJS and ES2015 modules.
I don't currently have the time for it, but PRs are welcome!

Hi, Thanks for your reply.

Hi,
Do you have any thoughts of taking up this task? Once you have time.
Sorry for asking like this.
Thanks in advance.


Shouldn't show scientific notation (for minute amounts)

Maybe "0.000"?

Still seeing this with the version downloaded at 20210922 04:31 PM. Can't reproduce #2031 so it should be the updated build.

Good with RC3


feat: add assetWhiteList and bridgeFee

Codecov Report

Merging #87 (6a664da) into main (d6f248c) will decrease coverage by 4.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   42.33%   38.10%   -4.24%
==========================================
  Files          50       17      -33
  Lines        2532     1732     -800
  Branches       82        0      -82
==========================================
- Hits         1072      660     -412
+ Misses       1460     1072     -388

Impacted Files
Coverage Δ

offchain-modules/packages/x/src/db/tron.ts

...th-contracts/contracts/libraries/MultisigUtils.sol

offchain-modules/packages/x/src/db/kv.ts

...chain-modules/packages/x/src/db/entity/TronLock.ts

...fchain-modules/packages/x/src/db/entity/EthLock.ts

...les/eth-contracts/contracts/libraries/SafeMath.sol

...ckb/tx-helper/generated/force_bridge_lockscript.ts

...ules/eth-contracts/contracts/libraries/Address.sol

offchain-modules/packages/x/src/db/eos.ts

offchain-modules/packages/x/src/core.ts

... and 18 more

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 d6f248c...6a664da. Read the comment docs.


Improve support for parallel runs and coverage report merging when --shard option is used

Clear and concise description of the problem
I'm making this suggestion because currently my setup is the following:

I'm using v8 coverage on a very large React project
To speed up tests, we chose to use following poolOptions:"poolOptions": {
  "forks": {
    "isolate": false,
    "singleFork": true
  }
}

To speed up tests even more, we chose to run Vitest with the --shard option and run 4 instances of them in parallel using npm-run-all (one for each shard)
This required us to use the following additional config:cache: false,
coverage: {
  clean: false,
  reportsDirectory: './.nyc_output',
  reporter: [['json', { file: `${uuid.v4()}.json` }]]
}

This setup worked fine up to version  v1.2.1. But in v1.2.2, the change introduced in #5008 breaks it as we get errors like Error: EONENT: No such file or directory,  open '/.../.nyc_output/.tmp/coverage-184.json'
Suggested solution
Solution 1: Allow to customize the name of the .tmp directory so each instance can read/write on a different one
Solution 2: Make the auto-cleaning of .tmp optional
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

The --shard option doesn't have good support for generated test and coverage reports. I think Vitest should instead detect --shard option, apply the value in all report names, and finally provide a command to merge these reports. Users shouldn't need to worry about conflicting filenames etc.
What you could do now is use similar unique name in coverage.reportDirectory as you have in JSON reporter's file. I guess you are already somehow merging these reports together in another script?

The --shard option doesn't have good support for generated test and coverage reports. I think Vitest should instead detect --shard option, apply the value in all report names, and finally provide a command to merge these reports. Users shouldn't need to worry about conflicting filenames etc.
What you could do now is use similar unique name in coverage.reportDirectory as you have in JSON reporter's file. I guess you are already somehow merging these reports together in another script?

We are indeed using nyc report to merge the reports. While we can customize the name of the directory in that command, it still expects that all .json reports are in the same directory. I guess it could work if we add another script to copy files to the same directory before merging reports, but I agree that Vitest should be providing native support for that, hence I'll keep this issue open for now.

As quick fix for this I think we could append the .tmp directory's name with value of --shard option, e.g. --shard=1/3 would use .tmp-13 or similar. The name of .tmp directory is not part of public API so that can be changed easily.
In longer term we'll need to think how to properly support all test and coverage reporters to work nicely with --shard. It might require breaking changes by changing the filenames of generated test and coverage reports. If someone is already using --shard and relying on identical filenames, this would break their existing merge scripts.
It also might be worth to check how Playwright generates test reports and coverage reports with --shard option.

It looks like playwright does shard-based file naming for their blob reporter automatically https://playwright.dev/docs/test-reporters#blob-reporter since it's intended be used with playwright merge-reports https://playwright.dev/docs/test-sharding#merging-reports-from-multiple-shards
For Vitest, I'm not sure how much we need to proactively help avoiding filename conflict since we don't have such merging functionality out-of-box yet.


Weird images rendering issues

Today one of the testers of our Flutter app reported a weird issue abount images rendering and layout.
The app usually looks like this (with some labels "anonymized"):

But, on its phone, at some point in time (apparntly without any relation to any action on the dev/deploy side), it started to look like this:

The brand, model and Android version of the tester are:

brand: huawei
model: ALE-L21
android version: 6

Among the testers, which are currently 10 or so, he is the only one affected by this weird issue (the app is not yet released) - even when we tried to replicate the very same data on each of the testers phone (which are all Android, of different brands/versions).
Does anyone have some clue about what might happening and/or can point me to a way to debugging this behaviour?
Images are loaded and displayed via NetworkImage, and layout is done via a GridView.builder.
Flutter doctor says:
C:\apps\programming\flutter\bin\flutter.bat --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v0.9.4-pre.31, on Microsoft Windows [Versione 10.0.17134.285], locale it-IT)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.2)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[√] IntelliJ IDEA Ultimate Edition (version 2018.2)
[√] Connected devices (1 available)

Sorry for not coming back to this earlier.
Are still seeing this problem?

Hi @zoechi ,
I asked the tester which was experiencing the problem and:

he said he is still using the same phone, but that he has not seen this kind of issue for a long time
on the other end, I haven't changed in the meatime the Flutter SDK version, and I did not changed the implementation of the related code in a significant way

So, given that the issue is no more observable, and I have no clue in understanding what actually solved it, I would just close the issue for the moment.

@nullp01nt3r thanks for the update.
Feel free to reopen if you encounter it again.

A question: Do you use the flutter_svg package?
Also, would you say these 3 following issues are the same problem?
https://github.com/flutter/flutter/issues/28484
https://github.com/flutter/flutter/issues/22546
https://github.com/flutter/flutter/issues/28786

Also these:
https://github.com/flutter/flutter/issues/28227
https://github.com/dnfield/flutter_svg/issues/115

@marcglasberg I do not use the flutter_svg package, and among the issues that you mentioned, only #28484 might be similar - but in the end really unsure whether there is any connection at all.

Hello @marcglasberg , I am also having this problem and I already moved from beta to master as I initially thought it would fix the problem. Now I'm encountering this even in debug mode.

$ flutter doctor -v
[✓] Flutter (Channel master, v1.3.10-pre.36, on Mac OS X 10.14 18A391, locale
en-SG)
• Flutter version 1.3.10-pre.36 at
/Users/allandaleho/Documents/Flutter/flutter
• Framework revision eb294a9 (64 minutes ago), 2019-03-13 18:08:57 -0700
• Engine revision 8b1a299ed5
• Dart version 2.2.1 (build 2.2.1-dev.1.0 674fd0e060)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/allandaleho/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 33.3.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1248-b01)
[✓] VS Code (version 1.32.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.24.0
[✓] Connected device (1 available)
• Lena’s iPhone • XXXX • ios • iOS
11.1.2
• No issues found!

Hi @PiercarloSlavazza  @allandaleho
Does this issue still exist for you?
Thank you

@TahaTesser no more reported since last report- so I would say, on my side, that we can close it.

Hi @PiercarloSlavazza
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


Fix #115: Adjust HTTP response code for invalid CSRF token

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
✔

Tests pass?
✔

Fixed issues
#115

I'd rather tend to error code 422, see also https://github.com/yiisoft/yii-web/issues/115#issue-495235305
A 403 is more tied to a wrong login or auth-token, IMHO.

Thanks for review, everyone.


Failed to create Hgi instance.

Windows 10
RTX 3080, Nvidia Driver 522.06, Cuda 11.8
Vulkan SDK is runnable.
run Plasma.exe, and I got this:

I find the problem is:
Coding Error: in _MakeNewPlatformDefaultHgi at line 103 of E:\Aurora\AuroraExternals\src\USD-22.08-Aurora-v22.11\pxr\imaging\hgi\hgi.cpp -- [PluginLoad] Cannot manufacture type 'HgiVulkan'
But I don't know how to fix it,
Could you help me ? Please.

Do you have the latest / recent version of the Vulkan SDK? Should be at least 1.3.

Yes,  the version of the Vulkan SDK is 1.3.243

On windows, it should default to the DirectX version.  Did you enable the HGI backend with the cmake flag ENABLE_HGI_BACKEND?

Yes, I followed the build instructions.
these are my cmds:
python Scripts\installExternals.py ..\AuroraExternals --build-variant All -v
cmake -S . -B Build -D EXTERNALS_ROOT=E:\Aurora\AuroraExternals  -G "Visual Studio 16 2019" -A x64  -D      ENABLE_HGI_BACKEND=ON -D ENABLE_DIRECTX_BACKEND=OFF
cmake --build Build --config Debug
cd Build\bin\Debug
Plasma.exe


this app cant run on your pc

hi, i used to use this application on my old computer which run win 10, since upgrading computer and now having win 11 i now get a message saying "this app cant run on your pc" whenever trying to open the installation, just wondering if you had any fix or anyone else reporting this? thanks alot, pancake.

Please install .NET runtime.

Could also be an issue with your Windows 11 settings. I haven't heard from you, so I'm going to close this. Let me know if you're interested in a potential fix.


BadGateway error when attempting to promote Member to Owner when I'm not an existing Owner on the Private Channel

I'm getting a BadGateway error when attempting to promote a Member to Owner.  I have Global Admin permissions but I'm not existing Owner on the Private Channel.
PS C:\WINDOWS\system32> Add-TeamChannelUser -GroupId $GroupID -DisplayName $ChannelName -User $UserUPN -Role Owner
Add-TeamChannelUser : Error occurred while executing
Code: BadGateway
Message: Failed to execute backend request.
InnerError:
RequestId: 66b210ef-4db9-4788-a661-c0f79b42304f
DateTimeStamp: 2020-01-10T00:56:31
HttpStatusCode: BadGateway
At line:1 char:1

Add-TeamChannelUser -GroupId $GroupID -DisplayName $ChannelName -User ...

  + CategoryInfo          : NotSpecified: (:) [Add-TeamChannelUser], ApiException
  + FullyQualifiedErrorId : Microsoft.TeamsCmdlets.PowerShell.Custom.ErrorHandling.ApiException,Microsoft.TeamsCmdlets.PowerShell.Custom.AddTeamChannelUser

Also raised this as a Support Ticket.

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

ID: 33e0ac38-cfff-8d8f-5345-2ae93a9fae2e
Version Independent ID: bec44289-e9fa-4464-1601-0ca86d61e6ca
Content: Manage the life cycle of private channels in Microsoft Teams - Microsoft Teams
Content Source: Teams/private-channels-life-cycle-management.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@HandyAndyOnGitHub  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hey
I have the same issue at the moment.
Did you find a workarround ?
thanks

I am currently having this issue in my dev tenant with the New-Team PS command.  Please let me know if there are any resolutions.
New-Team : Error occurred while executing
Code: BadGateway
Message: Failed to execute backend request.
InnerError:
RequestId: 85a8c302-6fcc-426e-9409-fed94ccc613b
DateTimeStamp: 2020-03-25T14:00:50
HttpStatusCode: BadGateway
At C:\VisualStudio\Cat.Scripts\Offering\Cat.MT-DeployCrisisTeam.ps1:140 char:10

$team = New-Team -DisplayName $workspace.DisplayName `

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [New-Team], ApiException
FullyQualifiedErrorId : Microsoft.TeamsCmdlets.PowerShell.Custom.ErrorHandling.ApiException,Microsoft.TeamsCmdlets.PowerShell.Custom.NewTeam

I am likewise getting this error message.
Here is my code
`$channelowners = @(
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>)
$teamname = "The team"
$team = Get-Team -DisplayName $teamname
$channelnames = Get-TeamChannel -GroupId $team.GroupId
foreach ($channel in $channelnames) {
foreach ($owner in $channelowners) {
Add-TeamChannelUser -GroupId $team.GroupId -DisplayName $channel.DisplayName -User $owner -Role Owner}}`

And the error information is
`Add-TeamChannelUser : Error occurred while executing
Code: BadGateway
Message: Failed to execute backend request.
InnerError:
RequestId: a4bf556f-4db2-4fc4-a6ec-18edf06833d7
DateTimeStamp: 2020-04-16T23:40:03
HttpStatusCode: BadGateway
At line:4 char:5

Add-TeamChannelUser -GroupId $team.GroupId -DisplayName $channel. ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Add-TeamChannelUser], ApiException
FullyQualifiedErrorId : Microsoft.TeamsCmdlets.PowerShell.Custom.ErrorHandling.ApiException,Microsoft.TeamsCmdlets.PowerShell.Custom.AddTeamChannelUser`


Types: scale.title does not exist when a legend onClick handler is specified

Expected behavior
After creating a Chart, I want to update its colors dynamically. I understand that I can't directly say chart.options.scales.x.title.color because the properties starting with scales are optional. However, I expect to be able to test chart.options.scales?.x?.title?.color === undefined, and if that's false, TypeScript should allow me to assign a new color to chart.options.scales.x.title.color.
Current behavior
Under certain conditions, TypeScript 4.7.4 emits an error when I try to access title:
Property 'title' does not exist on type '_DeepPartialObject<{ type: "linear"; } & CartesianScaleOptions & { beginAtZero: boolean; suggestedMin?: number | undefined; suggestedMax?: number | undefined; grace?: string | number | undefined; ticks: { ...; }; }> | ... 4 more ... | _DeepPartialObject<...>'.
  Property 'title' does not exist on type '_DeepPartialObject<{ type: "radialLinear"; } & CoreScaleOptions & { animate: boolean; startAngle: number; angleLines: { display: boolean; color: Scriptable<Color, ScriptableScaleContext>; lineWidth: Scriptable<...>; borderDash: Scriptable<...>; borderDashOffset: Scriptable<...>; }; ... 7 more ...; ticks: RadialTickO...'.

The conditions appear to be:

A legend onClick handler is specified.
The error goes away if I change the handler's third parameter from LegendElement<ChartType> to any.
The error goes away if I omit the handler entirely.
The error never happens with ticks, only with title. I am not sure why title is special.

Reproducible sample
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgYQBYENYBoUdgUQDcBTAOxhzUxgBUBPMYnAGWIHMyATfAG2JDIU4rDqU4BJGPxxR2wAM5So6AEZ95cAL5wAZlAgg4AcgDGeGADoAVvKMBuALAAoKrAuy2CpQAoLfj17EymrE8gCUjk7OOgCupCYwwBCkcHyinAD6JjzAJgDWGRhifFDeGcQk5ABcuNREgjgZaVwZwFIgNSJcktJwTexcnQNivPyCADyutAzEAHxhiJrOzibJinCK6DAx8lnmcAC8cKTEAO61sN5Gm9vyU0Y4CM5wL3AwMzVGOScPz6+cW3QNSeTleYLgAJg6HkxBg8hqAG0-uDwSCUej-oDEciMbikAAPGoARgADDg6DUACxaLA43Hogk1ABMZLgFLgAE4aXT6ai4IS4ABmVnsokANm5oN5YIAurSpdKXjxVMQeJ8TFtbPLpZptei5TjdTiIGBEmtgTyXmAeDFPKR4YhLeDmmILQrFclkDl8jUXZlsrkCkVOCU9fSje6wRGMfINeo3dKBWjFS93oxPt9iJgjHBoXBVvaKE6MYkYHwEynwaseNBPgBiQWNpu-SOVzgKa3odkwKAxJjF3lSfEwT4CCCnFuVyVTxL5B3Jqcvau14wNpuNyeV6O87f09kIXfgw8RzQRZZOAvrWPoPiHDZQ257agWE1m+0Wa-qAD8FnxkWcwA6HA3ifsQhwHEccScMQOjACcnBwAAPohGxxsQFilreEGQWIMFwcQCHIahN7obOeQaNhcBQXh8ELAubyoPo5wnOc+BQPopRGAA6gA8jxABiRhnk4SxRE4oEYW0fAWMuUB3kYdb8fxJIqSS9jOBJZHyDJEA1nJRwKapJJKepYk3DsT5uDEYCQsQ3jCUAA
Optional extra steps/info to reproduce
Here's a CodePen (with TypeScript types commented out), showing that this works at runtime: https://codepen.io/StephanTLavavej/pen/GRxKJgz
TypeScript examples:

original repro with error
error vanishes if handler's third parameter is any
error vanishes if handler is removed entirely

Possible solution
No response
Context
I'm implementing dark mode for the microsoft/STL Status Chart at https://microsoft.github.io/STL/ . I converted it to use TypeScript a couple of months ago, but haven't tried to change colors dynamically until now.
chart.js version
v3.8.0
Browser name and version
Chrome 103.0.5060.53
Link to your project
No response

What I think happens is that the legend causes the type of the scale to be any of the scales. Since the RadialLinearScaleOptions don't have a title, this error appears. https://github.com/chartjs/Chart.js/blob/master/types/index.esm.d.ts#L3345-L3456
I was able to resolve the error by changing the type definition for the 3rd argument of the legend callback to _legend: LegendElement<'line'>. If your chart is always a line chart this seems like the correct solution.
Another option is to make the click handler an arrow function onClick: (_event, _legend_item, _legend) => {} and then the types for all 3 arguments appear automatically

Thanks! I have both 'line' and 'bar' | 'line' charts, which made things more complicated, but I was able to get this working.

I think 'bar' | line'` should be fine since those are both cartesian charts and thus can use the same axis types.


Precedence of minimumResultsForSearch vs. minimumInputLength

This is a bug in my opinion but would qualify as a feature request.
Given the example below, with a dataset of 4 entries, I would expect that select2 will show the entire list instead of a message prompt to enter at least 1 character. After all, the search bar should be hidden before it checks for user input.
$('select').select2({
  minimumResultsForSearch: 20,
  minimumInputLength: 1,
});

Yup, this is a feature request. Here's a quick explanation of why we can't universally do this.
minimumInputLength tells Select2 to not kick off a query for results unless X number of characters are present in the search box. minimumResultsForSearch tells Select2 to show or hide the search box based on the number of results that come back in a query. Because minimumInputLength does not kick off a query unless there are characters present, minimumResultsForSearch does not know how many results are present and therefore it cannot determine if the search box needs to be displayed.
I'm pretty sure the only time when we could allow them to be combined is when we can run a blank search to get the first page of results, which basically means only standard <select> use cases (maybe with array loading as well), definitely not with AJAX and definitely not with custom result handlers. If you're able to work through that challenge, I'll definitely entertain a pull request for handling this edge case.

Ahh, I see the problem. Yes, in my case it would indeed be a local search on select options. Unfortunatelly I dont have the time to look into this. As a workaround I just disable the minLength requirement ^.^


Add tests for base interactions

Ignoring because testing changed a lot and I don't know how it works anymore


Update sonarqube.md

The correct file is catalog-info.yaml

https://app.clubhouse.io/larder/story/3860


docplex.cp.model vs docplex.mp.model

Hi,
Probably my question is rudimentary, but I was wondering if anyone could just share some informative links. Hopefully, anyone like me can have a better understanding of the differences between docplex.cp.model and docplex.mp.model.
Many thanks.

Hi,
The docpex-doc project contains the official documentation for docplex.
docplex.cp is the package for constraint programming.
docplex.mp is the package for mathematical programming.
This page  describes shortly the difference between the two of them .
From this page you can navigate to reference manuals for each package.
Thanks

Invaluably and extremely useful, thank you very much.


dlib 19.6

Hi,
Is anyone albe to update this with the latest dlib 19.6 version based?
If I'm not wrong, the dev extended to C++11 the support.
Cheers

@netcat88 There is some error functions if you build project with ndk. I updated dlib to 19.8 and successful compiled after fixed it.

You can make small changes in dlib/dlib/serialize.h and dlib/dlib/dnn/layers.h files in dlib 19.9 library to compile without c++11. See dlib in this repository.

@gv22ga thank you very much!!


Not working with Github CI but does with Gitlab ?

Report bugs here only for the Node JavaScript library.
If you're having problems using Notion's API, or have any other feedback about the API including feature requests for the JavaScript library, please email support at<EMAIL_ADDRESS>Describe the bug
Tried running a Github CI with a simple npm i & npm start to go make the calls to notion api but I always get :
@notionhq/client warn: request fail { code: 'unauthorized', message: 'API token is invalid.' }
APIResponseError: API token is invalid.

A clear and concise description of what the bug is.
To Reproduce
Node version:
Notion JS library version: v16
Steps to reproduce the behavior:
the yaml workflow file :
name: Node.js CI

env:
  NOTION_KEY: ${{ secrets.NOTION_KEY }}
  NOTION_PAGE_ID: ${{ secrets.NOTION_PAGE_ID }}

on:
  schedule:
    - cron: '30 7 * * *' # At 07:30 everyday
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [16.x]
        # See supported Node.js release schedule at https://nodejs.org/en/about/releases/

    steps:
    - uses: actions/checkout@v3
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.node-version }}
        cache: 'npm'

    - run: npm ci
    - run: npm run start --if-present

Expected behavior
Call api to do whatever i have to using environment variables I passed into Github project's secrets
Screenshots
Additional context
Repo with code

Closing this out, as I cannot reproduce. Sounds like some configuration tweaks are required specific to GitHub CI.

Same issue here. Anyone resolve it?


Add reason field in antctl traceflow command output

Sometimes the traceflow function may be used incorrectly, so need to display the reason for the failure.
Signed-off-by: Wu zhengdong<EMAIL_ADDRESS>

Codecov Report

Merging #3175 (a5a27ac) into main (0be629b) will decrease coverage by 29.51%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #3175       +/-   ##
===========================================
- Coverage   60.42%   30.90%   -29.52%
===========================================
  Files         297      291        -6
  Lines       25287    24440      -847
===========================================
- Hits        15279     7554     -7725
- Misses       8336    15733     +7397
+ Partials     1672     1153      -519

Flag
Coverage Δ

kind-e2e-tests
30.90% <ø> (-16.02%)
:arrow_down:

unit-tests
?

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


OCPBUGS-38085: UPSTREAM distribution/distribution: 4424: fix(registry/storage/driver/s3-aws): use a consistent multipart chunk size

/cc @flavianmissi
/hold

/jira refresh

/label qe-approved

/jira refresh

/jira refresh


Add Sentinel to architecture

Is your feature request related to a problem? Please describe.
I don't see Microsoft Sentinel in the architecture diagram.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I'd like to see where Sentinel should be included to most effectively monitor the other resources
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for submitting this feature request! This item will be discussed during our next triage session as having guidance around recommended Sentinel usage seems reasonable, and I will follow up here afterwards.


Added logo, favicon, and fixed path for examples in toc.yml

Added logo, favicon, and fixed path for examples in toc.yml för docfx documentation project.

Can we also change the "D" logo on the header?

I'm using docfx <IP_ADDRESS> and when I'm run >docfx docfx_project\docfx.json --serve I get the SVG with the 🎭emoji embeded as text.  Could it be a browser cache issue or is it different version of docfx maybe?


Add RangeSlider

Hey dash-labs team,
thank you for your great work of the new preview version, I love it!
This pull request adds RangeSlider as a template. The usage is similar to the already introduced Slider template.
Unfortunately, there is a bug in the current version 1.16.0 of the dash_core_component package. The tooltips which indicate the current value of the sliders are broken. Luckily, this bug is already fixed in current developer version: fixes tooltips on RangeSlider #963
If desired, I can disable the tooltip until the next version is released.
I added an example in /docs/demos/06-integration-and-migration/adding_controls2.py (screenshot shows the correct tooltip)

Feel free to give me some feedback!
If needed, I can add more missing templates.
Kind regards,
Nico

Thanks, this looks great!
I'm fine keeping the tooltips for now, since the dcc update will be out before Dash 2.


Angular v5 Stabile Version

Discussed in https://github.com/formio/angular/discussions/826

Originally posted by enesozer October 19, 2021
Hello, I working to Angular v5 at now and I want to use this project. Which i can use version of the project?
My package.json

"@angular/animations": "^5.2.10",
"@angular/cdk": "^5.2.5",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.2.9",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/material": "^5.2.5",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


Issues with GetText and a child FindElementByXPath acting as non-child

I can't understand these two issues:

if I replace all the "GetInnerHTML" with "GetText", I get empty strings instead than the expected text
the (commented out) ".FindElementByXPath" ignores being child of the "extension" element, thus returning a global match (always the first of the page) instead than the match inside the "extension" node

Sub ChatGPTextensionsMonitor()
    'Collects all the Chrome extensions for keyword "ChatGPT"
    Dim browser As Master.WebDriver: Set browser = Master.New_WebDriver
    Dim elem As Master.WebElement, elems As Master.WebElements
    Dim oRegex As RegExp

    'On Error GoTo errHnd
    With browser
        .startedge: .OpenBrowser
        '.SetHightlightFoundElems True
        .NavigateTo "https://chrome.google.com/webstore/search/chatgpt?_category=extensions"
        .SetImplicitlyWait 3000
        Do 'scroll down the infinite scrool up to the end
            Dim oldPageSize&, newPageSize&
            oldPageSize = Len(.GetPageSource)
            .ScrollToElement .FindElementByClassName("a-Hd-mb-Og-Ia") ' (empty) last rectangle at the end of the page
            .Wait 1000
            newPageSize = Len(.GetPageSource)
            DoEvents
        Loop Until Not (newPageSize > oldPageSize + 5) 'tolerance of 5 because I saw it increases by 4 bytes with the scroll after the last one

        Dim collExtensions As Master.WebElements, extension As Master.WebElement
        Set collExtensions = .FindElementsByClassName("a-na-d-K-A-w")
        For Each extension In collExtensions
            With extension
                Dim extrLogo$, extrTitle$, extrDomain$, extrDescr$, extrRatingStars$, extrRatingNumVoters$, extrCategory$
                extrLogo = .FindElementByTagName("img").getattribute("src")
                'extrTitle = .FindElementByXPath("//div[@role='heading']").GetInnerHTML 'bug: it takes the first out of all the page (always the same)
                extrTitle = .FindElementByCssSelector("div[role='heading']").GetInnerHTML 'GetText returns an empty string
                extrDomain = .FindElementByClassName("e-f-y ").GetInnerHTML
                extrDescr = .FindElementByClassName("a-na-d-Oa").GetInnerHTML

                If browser.IsPresent(className, "Y89Uic") Then
                    If oRegex Is Nothing Then
                        Set oRegex = New RegExp
                        Dim TEMPratingFullstring$, matches As MatchCollection
                        oRegex.Pattern = "Average rating (\d(?:\.\d)) out of \d\. +(\d+) users"
                    End If

                    TEMPratingFullstring = .FindElementByClassName("Y89Uic").getattribute("title")
                    Set matches = oRegex.Execute(TEMPratingFullstring)
                    extrRatingStars = matches(0).SubMatches(0)
                    extrRatingNumVoters = matches(0).SubMatches(1)
                End If

                extrCategory = .FindElementByClassName("a-na-d-ea").GetInnerHTML

                Debug.Print extrTitle, extrDomain, extrDescr, extrRatingStars, extrRatingNumVoters 'TEMP
                Stop
            End With
        Next
        .Shutdown
    End With
    Exit Sub
errHnd:
    err.Raise err.Number, err.Source, err.Description, err.HelpFile, err.HelpContext
End Sub

Can you understand where the problem originates?
I'm not sure it's a bug in SeleniumVBA because I can't find any in the inner code, at a first glance

On the GetText versus GetInnerHTML issue, I wonder if this is a clue?
Debug.Print .FindElementByCssSelector("div[role='heading']").IsDisplayed 'prints False

See getText - "Get the visible (i.e. not hidden by CSS) text of this element, including sub-elements."

I wonder if this is the way to go...
'WebDriver class
Public Function GetText(element As WebElement, Optional ByVal visibleOnly As Boolean = True) As String
    If visibleOnly Then 'default behavior of W3C GetText
        Dim data As New Dictionary
        data.Add "id", element.elementId
        GetText = Execute(tCMD.CMD_GET_ELEMENT_TEXT, data)("value")
    Else
        GetText = ExecuteScript("return arguments[0].textContent;", element)
    End If
End Function

'in WebElement class:
Public Function GetText(Optional ByVal visibleOnly As Boolean = True) As String
    GetText = driver_.GetText(Me, visibleOnly)
End Function

Or maybe just add a TextContent method?

... and on the XPath problem, try this (note the period before "//":
extrTitle = .FindElementByXPath(".//div[@role='heading']").GetInnerHTML

I can see that you have a new hobby! :-)

[...]
Or maybe just add a GetTextContent method?

Ah I didn't know about that official "visible" requirement.  Thanks for the info! :)
Although it seems that their implementation (Selenium webdriver? Chromium engine?) is bugged, since my texts are all displayed, I like your solution keeping the "visible" requirement as default and adding the optional argument.
Only thing, I'd prefer "includeInvisible As Boolean = False" or "VisibleOnly as Boolean = True", compared to "asRendered As Boolean = True", for both better clarity and conforming to the wording in the official description.

XPath: ah, thanks for this info too!
So, please correct me if I'm wrong, it works like this:

the parent SeleniumVBA object is just the "context", referrable as "." in XPath. It doesn't factually filter/cut the html that child method sees.
the CSSselector "div" is equivalent for the XPath ".//div"

Eheh yes I'm trying to get the most out of ChatGPT and I since found that the extensions are growing like mushrooms after a rainstorm, and some are interesting, I need to make the review of them more efficient :)
BTW I suspended thinking about a ChatGPTpromptToClipboard procedure because I found that there are relevant size limits in the prompt, where I planned that this procedure would write the instructions about how to use SeleniumVBA, before the user prompt.

@6DiegoDiego9, I took some time to look at the GetText issue. I don't think it's a bug.
The code line below gives yet another clue:
Debug.Print .FindElementByCssSelector("div[role='heading']").GetCSSProperty("visibility") 'returns "hidden"

If you insert the following line into your original code above, then you will then see that the extension element is visible and GetText works fine:
            With extension
                extension.ScrollIntoView '<- this one

So the behavior seen in your original code was a function of dynamic CSS. As the extension elements scroll in and out of view, so does the value of their visibility property, which is inherited by a distance ascendant element. I also confirmed this by using the dev tools and scrolling through the web page while observing the visibility style attributes changing for the child elements of the div with class "h-a-x", under where your information of interest resides.


Added route to get statements

Revision done, minor comments pending.

Done, updated the lrs-roles.js


Update serval app (take 2)

Simple fix (once I could see the logs): The streamlit version in the pyproject.toml was not up-to-date, and I was using a feature from a newer version in my code.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.26%. Comparing base (5bdf74b) to head (dc88ddb).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #344   +/-   ##
=======================================
  Coverage   70.26%   70.26%
=======================================
  Files         151      151
  Lines        7049     7049
  Branches     1120     1120
=======================================
  Hits         4953     4953
  Misses       1642     1642
  Partials      454      454

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New parameters

There are three new parameters associated with this command which are not documented -
SkipDomainValidationForMailUser
SkipDomainValidationForSharedMailbox
SkipDomainValidationForMailContact
These allow customers to skip the step that validates the proxy addresses associated with the object are all Accepted Domains.

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

ID: 71eba022-5ade-59d2-b557-c27e821fde1f
Version Independent ID: 6d2fd8b7-a445-6eba-5b8a-2338e6ac84de
Content: Add-RecipientPermission (exchange)
Content Source: exchange/exchange-ps/exchange/mailboxes/Add-RecipientPermission.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@kellybos I added the new parameters as you described in PR #1037.
Thanks for the feedback.


Update README.md

Connection with issue(s)
No. The change is so simple that I decided not to create a related issue.
Solution description
Added a new item for the breaking change log for the match validator. This validator had the type of its positional parameter changed from String (with name pattern) to RegEx (with name regex).
Screenshots or Videos
Before:
static FormFieldValidator<String> match(
    String pattern, {
    String? errorText,
  }) =>...

After:

To Do

[ ] Read contributing guide
[ ] Check the original issue to confirm it is fully satisfied
[X] Add solution description to help guide reviewers
[ ] Add unit test to verify new or fixed behaviour
[X] If apply, add documentation to code properties and package readme

Nice! Thanks for contribution


Question about mipnerf360

Hello! Sorry if this is the wrong place to post this question.
In mipnerf, during inference, LLFF scenes have their near and far distances set as 0 and 1 with the use of NDC.
However in mipnerf360, during training, without the usage of NDC, I assume near and far distances are used directly from the COLMAP calculations.
If so, how do you set these values during inference? Has it got something to do with the contract(.) operator?
Or perhaps I am approaching this wrongly?

Are you asking about the LLFF scenes, or the 360 scenes?
In mipnerf360, the LLFF scenes are handled using NDC, as usual. The 360 scenes do not use NDC, and the near/far planes are set to 0.2 and 10^6 respectively.
We should have a code release for mipnerf360 soon, sorry for the delay.

Thank you for answering my question, glad to know there will be a code release from the authors! I mistakenly thought that both LLFF scenes and 360 scenes were parameterized with equations (9) and (10) from the paper.
Another question, are the ray distances t for LLFF scenes also sampled using equation 11(linearly in disparity)? I assume they are, else I am not sure how the regularization loss Ldist(equation 15) should be computed.

Thank you for taking the time to answer my questions :)


Add Ubiquiti Edgerouter device tracker component (already coded!)

Hi all,
This is not a bug or anything, but I wanted to make sure I had an actual tracking for it so here it is.
I shamelessly used the awesome AsusWRT device tracker component and converted it to work with Ubiquiti Edgerouter, but I am not set up to actually submit a PR so I would appreciate if someone could have a look and run it through properly (I really didn't change much other than the actual commands to be run on the router and the regex to parse...)
Here is the link :
https://github.com/dels78/home-assistant-device_tracker.edgeos
Thanks!

Unfortunately, that will need some work before it is up to current Home Assistant standards. Device communication must be in a separate PyPi project and this is enforced more strictly these days.
If you don't want to do that work yourself, the proper way to ask others to do work is a Feature Request in the forum.
The Discord chat is the best place to get help if you do want to improve it yourself.
Cheers.

I understand! Thanks for the update... at this time I don't have what it takes to convert it... but I'll see if I can give it a shot and worst case I'll use the Feature Request, and I will DEFINITELY get on Discord if I do end up trying 😄

This seems to have stopped working since 0.80.0b1 release. Or it could have been the firmware release for the EdgeOs devices a few days ago (1.10.7) also? Anyone else experimenting with 0.80 yet?

You could try out the new version off asuswrt https://github.com/kennedyshead/aioasuswrt is the component used for that

Closing as this is not a bug report.


Fix: Update kubebb/resource-viewer version in values.yaml

Fix: Update kubebb/resource-viewer images's version in values.yaml, the correct version is image: kubebb/resource-viewer:v0.2.0

What type of PR is this?

/kind bug
What this PR does / why we need it
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer

/lgtm thanks


Feature/kindle highlights formatted pdf

Hi, amazing code by the way! It was all I was looking for and it works like a charm.
I have this PR open to give an improved format to the generated PDF as this is what I mainly use for my highlights.
This is how the format of PDF looks now:

I also added the option to include the metadata of the clips: If it is a highlight or note, and the date it was taken.
If the option is specified as True (by default False) the metadata is added to the .txt and the PDF. If this argument is not present, the output files keep the same format and are not modified.
Also (AFAIK) non-breaking change in the code with this option.
Looking forward to any discussion or modifications.
@MalayPalace @robertmartin8

This is great, thank you!


Ctrl+F6 does not work

VSCode Version: 1.42
OS Version: Windows 7

Steps to Reproduce:

Open several files in one project
Press Ctrl+F6
Nothing happens

However, here is a different behavior:

Open several files in one project
Press Ctrl+Shift+F6 (once or several times)
It works
Press Ctrl+F6
Now that also works

Does this issue occur when all extensions are disabled?: Yes

/needsMoreInfo
What do you expect to happen?
I don't see Ctrl+F6 in list of default Windows keybindings.

Sorry, I did not remember that these were not default mappings. I have had the following mappings  since 2016 or 2017, and their behavior changed in the past few days:
{
  "key": "ctrl+f6",
  "command": "workbench.action.openNextRecentlyUsedEditorInGroup"
}
{
  "key": "ctrl+shift+f6",
  "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
}

Have you checked release noted for latest update specifically Navigate most recently used editors section?
Looks like you need to change command (and may be condition) to have restore previous behavior.

I took a look at the notes but I was looking for Ctrl+F6, since this key combination is universal in Windows, and I thought it was a default key combination in VSCode also. I will take time to read that section and adapt my key bindings. Thanks!


Tutorial is not clear

Dear developers,
I'm sorry for my stupid question. I am new in WPF and your wiki was not clear for me.
I don't understand what steps I should take to make it work and I havn't found an appropriate tutorial in Internet.
Could someone reccomend me a tutorial or briefly describe steps needed to do.
Thank you in advance!

Hi, I work at the moment on the examples to make them running and better in the documentation.
But everything what you need to do is, add nuget and than:
0. https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/wiki/Resource-files

https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/wiki/Preparing-the-XAML-code
https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/wiki/Our-first-localized-text

Thank you very much for your rapid responce.
That was my fault, i havent seen my failure.


Back button, logo or Home link do not get me to the main page.

Back button, logo or Home link do not get me to the main page.
Steps to reproduce:

go to the the main page: https://www.opensuse.org/
select leap or tumbleweed.
click Back button, logo or Home link

Actual behavior: nothing happens, you remain on the same page with leap or tumble weed selected.
Expected behavior: i am taken to the page where i can again select leap or tumbleweed.
Note: a link "back to main page" works perfectly. I expect back, home and logo link to work the same

Excellent point. Will work on this as soon as I have time :+1:

For getting the back button to work, using location.hash should help. See
https://forum.jquery.com/topic/how-to-load-content-with-back-button-enable-and-refresh-using-ajax for an (untested) example.


mupdf .desktop file mimetype assocations

The mupdf .desktop file does not provide any mimetype assocations, even though mupdf can open PDF, XPS, OpenXPS, CBZ, EPUB, and FictionBook 2.
https://github.com/NixOS/nixpkgs/blob/a1aee1bd832cb708ccafefc38274b3aba7291919/pkgs/applications/misc/mupdf/default.nix
Please add the following line to the .desktop file (line 84):
MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;application/epub+zip

Opened an upstream issue https://bugs.ghostscript.com/show_bug.cgi?id=700485

Upstream said "WONTFIX".


Conv C code compilation error

To generate the RISCV firmwares for BARVINN simulation, I am trying to compile the convolution C code in csrc/conv/ . So I installed the rv32 RISCV compilation toolchain as per the Picorv32 instructions. When I do make all in the conv folder, I get the following error:

I am actually not able to find the definitions for these macros across the entire repo(including in csrc/conv/common/pito.h :

Could you confirm about these?

Could you please confirm on which branch of Pito/BARVINN and MVU you are?

I am currently on origin/master <-> 3649e73b for BARVINN ; origin/master <->5e24521b for PITO_RISCV  ; and  aff7d9d4 for MVU

I am in the process of adding a memory subsystem to BARVINN and our first FPGA target is ALVEO U200. The DMA engine is  under construction and the code you see is a left over of this development.
If you just want to try a simple Conv kernel on BARVIN, you can comment line 46 and 54 and the code will perform a Convolution between an input of size 1x3x32x32 and weight size of 64x64x3x3. The computation is divided between 8 MVUs. This code assumes that the data is already prepared in the correct format in input and weight buffers. The purpose of the DMA calls is actually to request the host to send over data in the correct format for the computation.
To use DMA engine and the host, you can follow my work on mem_sub_system branch on Pito. I should have some results soon.

Ahh, I see that makes sense. Thanks for the added clarification about the the DMA engine part being under construction. Sorry for the confusion, you had mentioned about that in #20 . With the lines commented, I am able to generate the firmware files!.

Awesome! let me know if you have more questions!

Sorry, needed a bit more clarification. You mentioned the csrc/conv2d.c will do 3x32x32 input  with 64x64x3x3 weight. Shouldn't the weights be 3x64x3x3 since we only have 3 input channels? Also for preparing the input and weight RAMs , I can use the MVU_Code_gen repository to generate the weight.hex and input.hex necessary for the conv_tester.sv simulation, right?

oops, I meant input size is 1x64x32x32. And yes, you can use MVU_Code_gen to generate weights and input necessary for the conv_tester.sv.


Additional requirements for COCO caption finetuning

Hi, thank you for sharing a great library.
I want to fine-tune the model on COCO caption, which uses pycocoevalcap that depends on stanford-corenlp.
While running run_scripts/blip/train/train_caption_cocosh, it causes an error when the SPICE score is calculated, because of Unable to make field private final byte[] java.lang.String.value accessible: module java.base does not "opens java.lang" to unnamed module.
I guess this error is due to its dependency on a specific version of Java. Which version of Java do you use in the development?
Thank you!

You need java==1.8.

Hi @moskomule,
Thanks for your feedback. You're correct. The cococap evaluation requires Java 8.
We'll update the instructions to reflect this.
Thanks.

Thanks!
Though it's not directly related to the topic above, I think writing torch==1.10.0 in the requirements-dev.txt may not be a good idea because it will download incompatible CUDA for Ampere GPUs.

@moskomule this is a valid point. An option is to install torch 1.10 with cuda 11, e.g. torch==1.10+cu113.
We will be better testing before relaxing the torch version constraints.
Thanks.

I want to say that torch1.10 may not match peft


MemoryBuffer example is potentially unsafe

I see some potential issues in the MemoryBuffer example which was added in https://github.com/microsoft/windows-rs/pull/756:

If I get a mutable slice (like it's done in the example) then I must ensure that no one else accesses the memory at the same time. Nobody stops me from calling as_slice twice on the same IMemoryBufferReference ... so the as_slice function should be marked unsafe. Unfortunately even changing the input to &mut IMemoryBufferReference doesn't help, because WinRT types themselves are just references and I can easily get another one referencing the same underlying object ...
Even if I change the output to an immutable slice (and in my case I only need read access, so I modified the code accordingly), I would need to make sure that no one else writes to the buffer at the same time while my immutable slice exists. Is there a guarantee for IMemoryBufferReference that the contents don't change while I hold the reference? Does IMemoryBufferReference come with any guarantees by itself, or does that depend on where I got the IMemoryBufferReference from? (Note that there is a similar issue with mmap-like APIs, so e.g. this wrapper function is marked unsafe.)
Lastly, I'm not sure from the documentation of https://docs.microsoft.com/en-us/windows/win32/winrt/imemorybufferbyteaccess-getbuffer whether the pointer to the data might be NULL if the buffer is empty. But I don't see any indication that it cannot, so you need to make sure that NULL is not passed to std::slice::from_raw_parts[_mut] because that is not allowed. NonNull::dangling() can be used instead (when the length is 0).

You're right of course. I've updated (#822) the example.


Publish to terraform registry

Motivation
Currently, the streamnative/terraform-aws-cloud module has already been published to terraform registry https://registry.terraform.io/modules/streamnative/cloud/aws
We need to publish this terraform-google-cloud module too for consolidation and standardization.
Below are action items by referring to Requirements of Publishing Modules:
Action Items

[x] Add repository descriptions
[x] Release v0.1.0

Blocked by https://github.com/hashicorp/terraform/issues/31040


blog: Add post for Solus 4.6

Depends on #48

Correct; David did most of the work. Tracey and I contributed and edited. :D

Sorry @Staudey, this release is not waiting on the blog post :P
I made your changes, anything else can be addressed later.

Huh? I didn't have anything else


[Marketplace] My Applications View

Description
My Applications View/tab:

list installed applications
context menu with Rate and Delete

Use case/motivation
No response
Related issues
No response
Confidential information

[X] I confirm that do not share any confidential information

verified in staging, related issues created with prefix [Marketplace]


Video Steganography using Python

Description
Perform steganography on a video provided by the user using python
Type of issue

[x] Feature (New Script)

Checklist:

[x] I have read the project guidelines.
[x] I have checked all the existing projects, before submitting a new project issue.
[x] I have checked previous issues to avoid duplicates.
[x] This issue will be meaningful for the project.

Hey @AdityaJ7, can you assign me to this issue?

Hey @AdityaJ7, can you assign me to this issue?

sure


Blocks on kura

Description of the Change

Issue

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

This work will be resumed at a later date.


marker opacity for scatter plot viz

This will address https://github.com/VEuPathDB/web-eda/issues/1487. Relying on https://github.com/VEuPathDB/web-components/pull/419. This also works with overlay and facet variables: tested but no screenshot is attached.
Note that currently, the step of opacity is set to be 0.1.
Here are some screenshots:

a general marker with opacity of 0

a general marker with opacity of 1

a gradient marker with opacity of 0

a gradient marker with opacity of 1

It looks/works great! The only things missing are a) opacity should be stored in vizConfig, not local state (unless that was explicitly not in the spec) b) opacity should be added to thumbnail dependencies

@bobular Thank you for your valuable suggestions! 👍 I missed those parts at Viz. Will work for that, probably tomorrow and after done, I will certainly use "re-review request" icon 😉

It looks/works great! The only things missing are a) opacity should be stored in vizConfig, not local state (unless that was explicitly not in the spec) b) opacity should be added to thumbnail dependencies

@bobular I have addressed your suggestions. Since the corresponding web-components PR was already merged, you can test this PR without using npm-pack-here. But please don't forget to update your local repo (git pull origin scatterplot-opacity & yarn install) 😉

Also, would it be useful to consolidate markerColorOpacity and markerOpacity into one name?  Perhaps markerBodyOpacity or markerCenterOpacity?

Also, would it be useful to consolidate markerColorOpacity and markerOpacity into one name? Perhaps markerBodyOpacity or markerCenterOpacity?

@bobular thank you for your suggestion. Perhaps markerBodyOpacity may work? I will need to change it at web-components as well 😄

Also, would it be useful to consolidate markerColorOpacity and markerOpacity into one name? Perhaps markerBodyOpacity or markerCenterOpacity?

@bobular thank you for your suggestion. Perhaps markerBodyOpacity may work? I will need to change it at web-components as well 😄

Oh, that's a pain re. web-components.  Maybe find a consistent name on the EDA-side that means no changes over there?

markerBodyOpacity

@bobular well, the current prop name, markerColorOpacity, is defined in web-components so it should be changed in there anyway. It may not be a big deal, except you will have one additional review request 😄

@bobular I have addressed your feedbacks. Since the change of the prop name required to make a change at web-components, this PR now depends on https://github.com/VEuPathDB/web-components/pull/433.

@bobular update. Due to fixing a bug for marker opacity work at web-components, https://github.com/VEuPathDB/web-components/pull/433 is now merged owing to Jeremy. So from now one this PR does not have a dependency with web-components.

@bobular Thank you for your reviews 👍


Add k8s annotation

This PR is for:

Server

add k8s annotation, add test in querier
Checklist

[ ] Added unit test.

Backport to branches

add-k8s-annotation-and-env

 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.王家璇 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


AttributeError with snakemake <7.32.4

Error :
AttributeError in file zAMP/Snakefile, line 11:
can't set attribute 'singularity_args'
 File "zAMP/Snakefile", line 11, in <module>

line:
## When using singularity
if "--use-singularity" in sys.argv:
    ### Bind the directory of the database to the singularity containers.
    workflow.singularity_args += f' -B {config["tax_DB_path"]}:{config["tax_DB_path"]}'

Hi,
Probably that changing that could do the trick?
### Bind the directory of the database to the singularity containers.
    workflow.**deployment_settings.apptainer_args** += f' -B {config["tax_DB_path"]}:{config["tax_DB_path"]}'

Indeed, this worked ef2d1666d066bd4d22843fda66db715afaad4c4b
But there a few python semantics and tools (with related conda/docker/singularity containers) to be updated as well. I have started to do some, but not finished yet.

Now fixed a bully working with https://github.com/metagenlab/zAMP/tree/UpdateTools, waiting for your testing


fix: TK functions no longer override default registers (#184)

Proposed change
Saves the yank register to a local variable and set it back one done using it.
Type of change

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (thank you!)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update

Additional information

This PR fixes or closes issue: fixes #184
This PR is related to issue:

Checklist

[x] I am running the latest version of the plugin.
[x] The code change is tested and works locally.
[x] There is no commented out code in this PR.
[x] The code has been formatted using Stylua (a .stylua.toml file is provided)
[x] The code has been checked with luacheck (a .luacheckrc file is provided)
[ ] The README.md has been updated according to this change.
[ ] The doc/telekasten.txt helpfile has been updated according to this change.

Awesome! Thank you for this fix.


fix: Sort express mountpoints to avoid requests getting hijacked

This commit reverse-sorts the mountpoints added to express so that
shorter mountpoints such as '/' do not hijack traffic meant for other
mountpoints e.g. '/api' or '/log'. This is not seen when running the
dev server, as the dev server config does not enable the client
module.

Contributes to: #42
Signed-off-by: Andrew Borley<EMAIL_ADDRESS>

Hi @ajborley - am I right in thinking (given the change made), this is to stop https://github.com/strimzi/strimzi-ui/blob/e4499460c95472438309a6544084879e079ce27e/server/client/router.ts#L48 responding to all requests?

@matthew-chirgwin - Yep, the ordering in https://github.com/strimzi/strimzi-ui/blob/master/server/core/modules.ts meant that the express router was mounting the client module on / before the config, log or mockapi modules. That means that calls to GET /log or GET /config were being serviced by the client module.
This PR reverse-sorts the list based on the mountpoint so that the order of mounting is now:

/log (log module)
/config (config module)
/api (api module)
/api (mockapi module)
/ (client module)

It also means, for example, that if we have a 'topics' module mounted at /api/topics in the future, calls to that endpoint will get serviced by the topics module rather than the api module.


When trying to Update All with Snail there is a command don't found

SVN Error: /Applications/SnailSVN.app/Contents/Resources/snailsvn.sh: line 18: dirname: command not found
/Applications/SnailSVN.app/Contents/Resources/snailsvn.sh: line 59: open: command not found
UnityEngine.Debug:LogError (object)
DevLocker.VersionControl.WiseSVN.ContextMenus.Implementation.SnailSVNContextMenus:Update (System.Collections.Generic.IEnumerable`1,bool,bool) (at Assets/DevLocker/VersionControl/WiseSVN/Editor/ContextMenus/SnailSVNContextMenus.cs:73)
DevLocker.VersionControl.WiseSVN.ContextMenus.SVNContextMenusManager:UpdateAll () (at Assets/DevLocker/VersionControl/WiseSVN/Editor/ContextMenus/SVNContextMenusManager.cs:231)

seems better after restart of computer


Conflict with Tropicraft Crashes Server

Hey there, I'm currently using OTG and Biome Bundle for my modpack and server. Clients crash the server when trying to enter the dimension added by Tropicraft and the error log seems to point to OTG being the cause. I reported it on their issue tracker https://github.com/Tropicraft/Tropicraft/issues/301, but was told to report it here instead.
Here's the initial error log:
https://pastebin.com/zEewcFwt
And here's the error log upon restarting the server and attempting to reconnect:
https://pastebin.com/zRgKEYg8

Hey, thanks for reporting, this should be solved with v7. Feel free to re-open if this is still an issue with v7.


[commit 8f99c08] defect monitor - exception handle

In core.http.HttpProtocolParser, there is an issue that incompleted type of request line.
Check requestLine's length under a minimum length.
Recommand to add
		String[] requestLine = requestRows[0].split(TextUtil.BLANK);
		if(requestLine.length < 3)
			return null;

Change this part also.
WebConnectionUnit.java
	public void run(){

		//Gain Request and analyze it.
		System.out.println("Run on");

		//Encode message to proper HttpRequest type.
		HttpRequest request = httpParser.EncodeRequest(httpParser.ReceiveMessage(socket));

		if(request != null && request.GetUrl().length() > 0){
			//Get request URL and Request Type
			String requestUrl = request.GetUrl();
			HttpMethod requestType = request.GetRequestType();

			HttpResponse response = null;

			IWebServiceLogic service = null;
			if(router != null){
				//Gain method from routing table.
				service = router.getRoutingMethod(requestUrl);
			}else{
				service = webServiceLogic;
			}
			response = service.Respond(request);

			DoRespond(response);
		}

		try {
			socket.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

Handling null exception

Delete connection status in connection manager from every server at the end of connection.


Make REGISTRY env var optionally include a prefix

Follows up on #529 and presents an alternative to #525-- cc @agonzalezro
This alters our use of the REGISTRY environment variable slightly to make it more flexible-- including the ability to end this string (optionally) with an image "prefix" (as originally proposed by #525) to help users disambiguate similarly named images within their own namespace in a public registry.
cc @arschles this should implement the strategy we discussed offline earlier.

I am merging this so that we get registry prefixing -- something we wanted from https://github.com/kubernetes-incubator/service-catalog/pull/525 -- into master