Display "Error acquiring .NET Core tooling!" as long as an ARM deployment file is opened

OS: Mac & Linux
Build Version: 0.6.1-alphalangserv
Regression: Not a Regression
Repro Steps:

Install the ARM Tools Extension in VS Code.
Open one deployment file -->Check the VS Code pane.

Expect:
No error displays after the deployment file is opened.
Actual:
Display an error "Error acquiring .NET Core tooling!".

More Info:
No error pops up on Windows.

This is an issue with how the VSIX was built (needs to be built on Linux or Mac).

Fixed by #263


git clone get some unexpected characters in MicrosoftGraph.psm1

Had to change 'â€“' to '-' in Powershell-MicrosoftGraph\MicrosoftGraph\MicrosoftGraph.psm1
Not sure if it is due to encoding, I am in Sweden but my computer is on US settings.
ie row 70
$Response = Invoke-RestMethod -Uri $URI â€“Headers $authHeader -Method $method -ErrorAction Stop

I ran into that as well. The code looked fine but the PowerShell error reflected â€ in the error message. When I tried to find the cause in the code itself, there are 8 long dashes instead of the normal hyphen that prefixes arguments.

replaced all '–' (https://www.fileformat.info/info/unicode/char/2013/index.htm) with '-' (https://www.fileformat.info/info/unicode/char/2212/index.htm). Not sure how that snuck in to my code.


Calculate tumor volume from pixel masks

Overview
We want to provide clinicians with summary statistics about identified tumors. In the segment model, we output per-pixel binary masks that identify which pixels are likely to be cancer. From these masks, we want to calculate the volume of the tumor.
Expected Behavior
Take as an input the path to the serialized masks (which is the output of the segment predict method). We also have the centroids that are passed into the predict method. For each centroid, calculate the volume of the tumor. DICOM has slice sizes so the units should be in real measurements (not pixels).
Design doc reference:
Jobs to be done > Segment
Technical details

This feature should be implemented in the trained_model.py file.
The output should be the volume for each tumor (from the centroid list) in a real unit

Related issues
#XX is the work to add this output to the API endpoint.
Acceptance criteria

[ ] method that outputs volumes from a binary mask and list of centroids
[ ] tests for this method

NOTE: All PRs must follow the standard PR checklist.

I'm a bit confused: how we are going to calculate the real volume of an area while the function does not receive the CT meta data. Also, can you please clarify how the output from the predict method will be serialised? And last: is it necessary to provide the centroids, since all centroids may be re-estimated via the connected components analysis?

Hi @vessemer

I'm a bit confused: how we are going to calculate the real volume of an area while the function does not receive the CT meta data.

Good point! I think one way to approach this is to create a new function that outputs metadata, and then pass in that metadata as a third argument. I see you've assumed something similar in your PR via voxel_shape.

Also, can you please clarify how the output from the predict method will be serialised?

That will be up to whoever implements the predict function. I see you have assumed npy files. That should be perfectly fine as a stub for now. In the event a different serialization method is chosen, it shouldn't be too difficult to make the appropriate updates.

And last: is it necessary to provide the centroids, since all centroids may be re-estimated via the connected components analysis?

It is the job of algorithms.identify.trained_model.predict to calculate centroids. And it is this centroids argument that is passed to algorithms.segment.trained_model.predict. segment.trained_model.predict in turn calls segment.trained_model.calculate_volume. While it would be possible for calculate_volume to take dicom_path as an argument, and then calculate centriods on it's own, we prefer to uncouple those steps and have a canonical function dedicated to that task.

Hi @vessemer, see https://github.com/concept-to-clinic/concept-to-clinic/pull/78#issuecomment-326527819.

Closed via #78


Fix type hints

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

Coverage data is based on head (98d73cc) compared to base (9e5671e).
Patch coverage: 0.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@          Coverage Diff          @@
##            main      #8   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         17      17
  Lines        340     335    -5
=====================================
+ Misses       340     335    -5

Impacted Files
Coverage Δ

...ion_collection/coordinate/make_grid_coordinates.py
0.00% <ø> (ø)

...nitialization_collection/image/get_image_bounds.py
0.00% <0.00%> (ø)

...tialization_collection/image/plot_contact_sheet.py
0.00% <0.00%> (ø)

...tialization_collection/sample/get_image_samples.py
0.00% <0.00%> (ø)

...ialization_collection/sample/get_sample_indices.py
0.00% <ø> (ø)

...on_collection/sample/remove_unconnected_regions.py
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Release 2020-12-07

Found an issue here when I can't create an account using the seed phrase. Steps:

Create a new account using the seed phrase

Create one more. Click on "Create new account"

Choose "Recovery phrase"

"Continue" button is disabled

Found an issue here when I can't create an account using the seed phrase. Steps:

Create a new account using the seed phrase
Create one more. Click on "Create new account"

@ihaid thank you for catching this! Fix coming today.

Found an issue here when I can't create an account using the seed phrase

@vgrichina I fixed this here: https://github.com/near/near-wallet/pull/1282

There is 2FA confirmation when recovering an account with a seed phrase

sometimes I see this error during send, recovery, or confirmation

sometimes I see this error during send, recovery, or confirmation
@vgrichina typically this is slow network? Large parts of internet experiencing disruption today.

sometimes I see this error during send, recovery, or confirmation
@vgrichina typically this is slow network? Large parts of internet experiencing disruption today.

I saw it before so I don’t think that it’s connected with today’s outage

sometimes I see this error during send, recovery, or confirmation

I think I know how to fix it, we need to change where we get blockNumber from (should use actually finalized block, not optimistic value like right now)

@ihaid let's give this another round of testing, thanks!

@ihaid let's give this another round of testing, thanks!

yeah, already started!


What am I doing wrong in this surround to stereo mp4 attempt?

I've tried many versions of this command on my Silicon Mac. What's the simplest way to alter it so that it will give me .mp4 output? I can get .mkv, no problem, but I'm hoping for .mp4. Thanks!
other-transcode --debug --copy-video --mp4 --main-audio 1=stereo inputsurroundmovie.mp4
Here's the pertinent part of the error message appearing in Terminal when I try it: "other-transcode: output file already exists: inputsurroundmovie.mp4"
It appears that the issue might be solved by providing an output filename so that it differs from the input filename. How can I do it? Thanks again!

You need to put your source in a different directory. For example,
mkdir src
mv inputsurroundmovie.mp4 src/
other-transcode --debug --copy-video --mp4 --main-audio 1=stereo src/inputsurroundmovie.mp4

The transcoded output will be in your current working directory. This pattern is by design. Talking about an --output option makes Don's eye twitch. We like Don, and we like him even more when his eye's not twitching. 😎

Thanks. I kept getting in deeper with my tries, so I guess I needed a break. I thought I had ruled that out already, but no. It is the solution. In my case, I can also get the desired result by renaming the input to m4v, but that's not always workable Thanks again.

@ttyS0 Thanks! 👍


Is it possible to update scrollama dynamically

I"m trying to use scrollama to make a dynamic infinite scoll list by tracking the index in the handler. Problem is when I update my looped array feedPosts, scrollama only works with the initial array of objects. So to get around that I  rerendered scrollama by updating :key="componentKey" to + 1 after array is updated it rerenders scrollama and new data is working with it.  Unfortunately it also resets the scroll to the top and the scrolloma flashes in the process.
The question is it possible to update scrollama dynamically without rerender? Thanks!!
`
<Scrollama :debug="true" :offset="0.8" v-if="feedPosts.length" @step-enter="handleScroll" :once="true" class="container" :key="componentKey" >

 some content>

`

In the latest version (1.1.1), you can try calling an internal method setup() to re-setup scroll interactions and avoid a re-render
<Scrollama ref="scrollama" ...>
...
</Scrollama>

and once your array is updated
this.$refs.scrollama.setup()

Unfortunately, this did not work. I tried resize() also. I quicly researched the original library but no luck so far I'll keep looking
https://codesandbox.io/s/4270xl6oz0


failed to install vite-plugin-mdx with yarn

command:  yarn add  vite-plugin-mdx --dev
result:

yarn add v1.22.11
[1/4] Resolving packages...
error Couldn't find package<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

<EMAIL_ADDRESS>definitely exists
https://www.npmjs.com/package/vfile?activeTab=versions


trivy tekton task fails

Hi,
I had a pipeline run with a trivy scan on an image that was build using appsody in a tekton task.
The trivy tekton task fails, I see it copy the image into OCP.
The environment is OpenShift version: 4.6.15 via CodeReady Containers version: 1.22.0+6faff76f
trivy-run.txt

Please provide more info on how to reproduce with one of the provided pipelines and provide the source repo


Add pin argument to make-credential

This fixes an issue where a device with a set pin can not run the
make-credential command as the pin is not forwarded to fido2.

That's an odd oversight, not sure why it didn't come up before. Thanks!


Failures due to yarn --frozen-lockfile

The tests for a dependabot PR are failing with the following error:
warning @docusaurus/core > @svgr/webpack > @svgr/plugin-svgo > svgo ><EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning @docusaurus/core > @docusaurus/mdx-loader > @mdx-js/mdx > remark-parse ><EMAIL_ADDRESS>Use String.prototype.trim() instead
error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.

Seems to also be happening with the deploy github actions.
Should that yarn parameter be used?

I think I need to lock the node version down in the container

(Hopefully) FIxed by #6


C++: Make LZ4 and ZSTD dependencies optional + clang-format

Public-Facing Changes
New defines: MCAP_COMPRESSION_NO_ZSTD, MCAP_COMPRESSION_NO_LZ4
Description
Make LZ4 and ZSTD dependencies optional

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

Thanks for the PR! I'm continuing with your changes here: https://github.com/foxglove/mcap/pull/1013


Driver error while deploying Falco

'/tmp/falco-dkms-make' -C /lib/modules/5.15.0-1042-azure/build M=/var/lib/dkms/falco/3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4/build modules
make[1]: Entering directory '/host/usr/src/linux-headers-5.15.0-1042-azure'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
You are using:           gcc-5 (Debian 5.5.0-12) 5.5.0 20171010
CC [M]  /var/lib/dkms/falco/3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4/build/main.o
gcc-5: error: unrecognized command line option '-mharden-sls=all'
make[2]: *** [scripts/Makefile.build:297: /var/lib/dkms/falco/3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4/build/main.o] Error 1
make[1]: *** [Makefile:1914: /var/lib/dkms/falco/3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4/build] Error 2
make[1]: Leaving directory '/host/usr/src/linux-headers-5.15.0-1042-azure'
make: *** [Makefile:16: all] Error 2
Consider compiling your own falco driver and loading it or getting in touch with the Falco community
Mon Aug 21 12:08:54 2023: Falco version 0.30.0 (driver version 3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4)
Mon Aug 21 12:08:54 2023: Falco initialized with configuration file /etc/falco/falco.yaml
Mon Aug 21 12:08:54 2023: Loading rules from file /etc/falco/falco_rules.yaml:
Mon Aug 21 12:08:54 2023: Loading rules from file /etc/falco/falco_rules.local.yaml:
Mon Aug 21 12:08:54 2023: Unable to load the driver.
Mon Aug 21 12:08:54 2023: Runtime error: error opening device /host/dev/falco0. Make sure you have root credentials and that the falco module is loaded.. Exiting.
PS C:\Users\SlocAdm>

I used below command to deploy Falco on AKS cluster.
helm repo add falcosecurity https://falcosecurity.github.io/charts
helm install falco falcosecurity/falco
--version 1.16.0
--create-namespace
--namespace sec-falco-system

Hi! thank you for reporting! Have you ever tried a recent Falco version like 0.35.1? with you kernel version you should be able to use the modern bpf probe

@Andreagit97 I have a same issue in Falco version 0.35.1

Hi @Andreagit97 , Yes I did. below are error and events
PS C:\Users\SlocAdm> kubectl -n sec-falco-system get po
NAME          READY   STATUS                  RESTARTS         AGE
falco-29l88   0/2     Init:CrashLoopBackOff   10 (2m16s ago)   28m
falco-2jrj5   0/2     Init:CrashLoopBackOff   10 (2m26s ago)   28m
falco-4jv7p   0/2     Init:CrashLoopBackOff   10 (2m11s ago)   28m
falco-6m5wk   0/2     Init:CrashLoopBackOff   10 (2m10s ago)   28m
falco-7sc77   0/2     Init:CrashLoopBackOff   10 (2m34s ago)   28m
falco-hvtdw   0/2     Init:CrashLoopBackOff   10 (2m14s ago)   28m
falco-k6tck   0/2     Init:CrashLoopBackOff   10 (2m3s ago)    28m
falco-qp2zs   0/2     Init:CrashLoopBackOff   10 (2m25s ago)   28m
falco-s8wft   0/2     Init:CrashLoopBackOff   10 (2m5s ago)    28m
                         node.kubernetes.io/unschedulable:NoSchedule op=Exists

Events:
Type     Reason     Age                    From               Message

Normal   Scheduled  28m                    default-scheduler  Successfully assigned sec-falco-system/falco-s8wft to aks-default1-66400434-vmss000005
Normal   Pulled     28m                    kubelet            Container image "docker.io/falcosecurity/falco-driver-loader:0.35.1" already present on machine
Normal   Created    28m                    kubelet            Created container falco-driver-loader
Normal   Started    28m                    kubelet            Started container falco-driver-loader
Normal   Pulling    27m                    kubelet            Pulling image "docker.io/falcosecurity/falcoctl:0.5.1"
Normal   Pulled     27m                    kubelet            Successfully pulled image "docker.io/falcosecurity/falcoctl:0.5.1" in 2.808042017s (2.808057317s including waiting)
Normal   Created    26m (x5 over 27m)      kubelet            Created container falcoctl-artifact-install
Normal   Started    26m (x5 over 27m)      kubelet            Started container falcoctl-artifact-install
Normal   Pulled     26m (x4 over 27m)      kubelet            Container image "docker.io/falcosecurity/falcoctl:0.5.1" already present on machine
Warning  BackOff    3m14s (x114 over 27m)  kubelet            Back-off restarting failed container

Init container failing
PS C:\Users\SlocAdm> kubectl -n sec-falco-system describe po falco-29l88 -c falco-driver-loader
error: unknown shorthand flag: 'c' in -c
See 'kubectl describe --help' for usage.
PS C:\Users\SlocAdm> kubectl -n sec-falco-system logs falco-29l88 -c falco-driver-loader

Setting up /usr/src links from host
Running falco-driver-loader for: falco version=0.35.1, driver version=5.0.1+driver, arch=x86_64, kernel release=5.15.0-1042-azure, kernel version=49
Running falco-driver-loader with: driver=bpf, compile=yes, download=yes
Mounting debugfs
mount: /sys/kernel/debug: cannot mount nodev read-only.
Filename 'falco_ubuntu-azure_5.15.0-1042-azure_49.o' is composed of:

driver name: falco
target identifier: ubuntu-azure
kernel release: 5.15.0-1042-azure
kernel version: 49

Trying to download a prebuilt eBPF probe from https://download.falco.org/driver/5.0.1%2Bdriver/x86_64/falco_ubuntu-azure_5.15.0-1042-azure_49.o
curl: (6) Could not resolve host: download.falco.org
Unable to find a prebuilt falco eBPF probe
Trying to compile the eBPF probe (falco_ubuntu-azure_5.15.0-1042-azure_49.o)
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
You are using:           gcc (Debian 5.5.0-12) 5.5.0 20171010
scripts/mod/modpost: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by scripts/mod/modpost) scripts/mod/modpost: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by scripts/mod/modpost)
make[2]: *** [scripts/Makefile.modpost:133: /usr/src/falco-5.0.1+driver/bpf/Module.symvers] Error 1
make[1]: *** [Makefile:1829: modules] Error 2
make: *** [Makefile:38: all] Error 2
eBPF probe located in /root/.falco/5.0.1+driver/x86_64/falco_ubuntu-azure_5.15.0-1042-azure_49.o
Success: eBPF probe symlinked to /root/.falco/falco-bpf.o
PS C:\Users\SlocAdm> kubectl -n sec-falco-system logs falco-29l88 -c falcoctl-artifact-install
ERRO: unable to fetch index "falcosecurity" with URL "https://falcosecurity.github.io/falcoctl/index.yaml": cannot fetch index: Get "https://falcosecurity.github.io/falcoctl/index.yaml": EOF
PS C:\Users\SlocAdm>

uhm this is not the modern-bpf probe, it is the legacy one. For the modern one you should type something like
helm install falco falcosecurity/falco  --set driver.kind=modern-bpf ...

I tried helm install falco falcosecurity/falco  --set driver.kind=modern-bpf   but no success
PS C:\Users\SlocAdm> kubectl -n sec-falco-system logs falco-2glld -c falco
Error from server (BadRequest): container "falco" in pod "falco-2glld" is waiting to start: PodInitializing
PS C:\Users\SlocAdm> kubectl -n sec-falco-system logs falco-2glld -c falcoctl-artifact-follow
Error from server (BadRequest): container "falcoctl-artifact-follow" in pod "falco-2glld" is waiting to start: PodInitializing
PS C:\Users\SlocAdm> kubectl -n sec-falco-system logs falco-2glld
Defaulted container "falco" out of: falco, falcoctl-artifact-follow, falcoctl-artifact-install (init)
Error from server (BadRequest): container "falco" in pod "falco-2glld" is waiting to start: PodInitializing
PS C:\Users\SlocAdm>

thanks! Could you please provide the reason why Falco is failing?
So the usual Falco logs again otherwise I cannot understand what is going on :/

@Andreagit97  It is working now ! Thank you so much.
init container was failing because of internal DNS issue that solved by allowing the same.
So helm install falco falcosecurity/falco  --set driver.kind=modern-bpf  this worked fine for the reported error

thank you, I will close this if there are other issues please feel free to re-open


Build on ARM

Checklist:

[x] I have checked that there are no issues with similar or the same content
YOU SHOULD CHECK CLOSED ISSUES ASWELL
[x] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there
[x] I have double checked and can reproduce the issue

OS: Debian 10 (armbian)
GPMDP Version: master and 4.6.1
Issue Descriptions:
I discovered that building on ARM is not possible with the current setup, I tested tinkerOS (as I am using an Asus TinkerBoard), which failed (but chroming is broken there too) and armbian.
There are some build issues (lacking description), one with description is:
ERR! peerinvalid Peer react-tap-event-plugin
The solution for this is updating package.json to:
react to 15.4.1
react-dom to 15.4.1
material-ui to 0.16.4
react-tap-event-plugin to 2.0.1

So with this I can build GPMDP, but when starting the screen stays blank.
I found the solution here is to also update electron to 3.1.13
With this changes I can build and run it successfully, I still get this error but gpmdp keeps running (not sure if you can fix it):
output.txt
So you might change this in the package.json to build it successfully on ARM.
For users getting troubles with phantomjs:
(required by svg2png (yes they are using phantomjs AND v8...))
You have to use the debian provided version, as phantomjs-prebuild from npm will fail to install).

@susnux that appears to be an issue with mpris/dbus. Possibly an incorrect implementation on our part or the part of some other software on your system.


Multiple changelogs

The graphql gem has multiple CHANGELOGs:

CHANGELOG-pro.md
CHANGELOG-relay.md
CHANGELOG.md

but lock_diff only displays the first one: CHANGELOG-pro.md.

This PR makes lock_diff display all available CHANGELOGs.

Resolves #17

LGTM!

CI is down, but tests passed in the local environment, and I was able to confirm that it works.
https://github.com/vividmuimui/lock_diff_sample/pull/15#issuecomment-703227547

@rastamhadi
https://rubygems.org/gems/lock_diff/versions/0.5.0 released!


dataSourceBindings of Azure SQL servers and SQL databases

I am developing a custom VSTS task which would like to populate the SQL servers and SQL databases in an Azure subscription in a drop down list.
I researched the list of dataSourceName that I can use to populate the values in a drop down list and I found this api https://{accountName}.visualstudio.com/_apis/serviceendpoint/types?api-version=5.0-preview.1.
Unfortunately I can't find SQL servers and SQL databases types from this api.
Can you please let me know if this is the correct place I can find all dataSourceName of supported Azure resource type, or please provide the doc of that.
And let me know if SQL servers and SQL databases are supported now. If not, do you have a timeline when they will be supported?

service endpoints and sql ...

Let me elaborate more.
For example in the below pic, I can get all app service names (App1 to App9) from a drop down list after selecting the Azure subscription endpoint (Azure subscription 1). I believe it is because now VSTS API now supports getting app service name from an existing Azure subscription, by adding        {             "target": "WebAppName",             "endpointId": "$(ConnectedServiceName)",             "dataSourceName": "AzureRMWebAppNames"         } to dataSourceBindings object in task.json when developing the custom task.

My custom task requires both SQL server name and SQL database name, and I would like to achieve the same by setting up only an Azure subscription endpoint and all server names and database names in that subscription can be shown in a drop down list.

@william726 If there are APIs in azure that provide list of SQL servers and SQL databases, the you can directly use those urls in the dataSourceBindings instead of depending on a DataSource. Have a look at
https://github.com/Microsoft/vsts-tasks/blob/dabc382bcc98750676c3f1a79c17f39c7fe47e26/Tasks/AzureMonitorV0/task.json#L91

@william726
Following are the dataSourceBinding URLs:
SQL Server
{{{endpoint.url}}}subscriptions/{{{endpoint.subscriptionId}}}/providers/Microsoft.Sql/servers?api-version=2015-05-01-preview
SQL Database
{{{endpoint.url}}}subscriptions/{{{endpoint.subscriptionId}}}/resourceGroups/{{{ResourceGroupName}}}/providers/Microsoft.Sql/servers/{{{SqlServerName}}}/databases?api-version=2017-10-01-preview
Note: In order to fetch SQL databases two additional inputs are required :  ResourceGroupName and SQLServerName

thanks it works!

paste my code here for others as a reference
  "dataSourceBindings": [
    {
      "target": "ResourceGroupName",
      "endpointId": "$(ConnectedServiceName)",
      "dataSourceName": "AzureResourceGroups"
    },
    {
      "target": "SqlServerName",
      "endpointId": "$(ConnectedServiceName)",
      "endpointUrl": "{{endpoint.url}}subscriptions/{{endpoint.subscriptionId}}/resourceGroups/$(ResourceGroupName)/providers/Microsoft.Sql/servers?api-version=2015-05-01-preview",
      "resultSelector": "jsonpath:$.value[*].name"
    },
    {
      "target": "SqlDatabaseName",
      "endpointId": "$(ConnectedServiceName)",
      "endpointUrl": "{{endpoint.url}}subscriptions/{{endpoint.subscriptionId}}/resourceGroups/$(ResourceGroupName)/providers/Microsoft.Sql/servers/$(SqlServerName)/databases?api-version=2017-10-01-preview",
      "resultSelector": "jsonpath:$.value[*].name"
    }
  ]

@william726
Thanks for the confirmation that you are unblocked and for the reference.


Show message if there is no available device

If the device list empty, show "No Sinix servers detected around"
Source: https://github.com/sinix-dev/sinix-android/blob/master/lib/pages/discover.dart

I would like to work on this.


Bump copyright year in README.md

Description
This PR bumps the copyright year in the README.md file.
Happy new year! 🎉
Note
This PR should only be merged once a change to the content of this repository was done.

@Ein-Tim Thanks.


No Improvements After 150k Steps on Tamil Language Data

Checks

[x] This template is only for usage issues encountered.
[X] I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
[X] I have searched for existing issues, including closed ones, and couldn't find a solution.
[X] I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details
I trained for 16 hours with Tamil language data, completing 150k steps, but I still couldn't get any output or improvement. The data was cleaned and split into small chunks, around 10,000 files, each lasting 5 to 15 seconds. I don't know if I made a mistake; can someone help?
Steps to Reproduce

✔ Expected Behavior
https://vocaroo.com/1jY1QHBzzEVl
❌ Actual Behavior
https://vocaroo.com/16fYEFJRWskT

what's your training config, including config, dataset, and your loss fluctuates quite a bit.

what's your training config, including config, dataset, and your loss fluctuates quite a bit.

@ZhikangNiu
Learning rate 0.0001
Base model f5tts
Batch 700
Epoch 22
Wamp updates 5000
Save update 1000
Last step 2500
Fb16

have got to work?


feedback

[🍁]

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

ID: f10a0039-c955-2af1-6b11-ff611a171740
Version Independent ID: 12c1ecc1-7db6-2d4b-52f3-d4e99c4c5d44
Content: Architecture styles - Azure Application Architecture Guide
Content Source: docs/guide/architecture-styles/index.md
Service: architecture-center
Sub-service: guide
GitHub Login: @martinekuan
Microsoft Alias: architectures

@Treasuremine
Could you please elaborate the query for better understanding. So, we can assist you further.

Sure, I am very new to this platform and trying to understand the flow
within.
Thanks for your concern.
On Tue, May 30, 2023, 22:29 Saibaba Balapur Hireka @.***>
wrote:

@Treasuremine https://github.com/Treasuremine
Could you please elaborate the query for better understanding. So, we can
assist you further.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/architecture-center/issues/4064#issuecomment-1568771194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7QRNENLIGDL2MGMDE2325TXIYRO5ANCNFSM6AAAAAAYTY4PBA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Treasuremine
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Awesome, thanks for the update!
On Wed, May 31, 2023, 15:49 Saibaba Balapur Hireka @.***>
wrote:

Closed #4064
https://github.com/MicrosoftDocs/architecture-center/issues/4064 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/architecture-center/issues/4064#event-9388307464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7QRNEMKSXIYFXHG5PYPKBDXI4LJVANCNFSM6AAAAAAYTY4PBA
.
You are receiving this because you were mentioned.Message ID:
<MicrosoftDocs/architecture-center/issue/4064/issue_event/9388307464@
github.com>


Add conflict with SigmaDimensions to SSRSS-Rescale

Problem
SigmaDimensions and SSRSS-Rescale seem to be the same mod. They have identical $krefs and install stanzas. Unsurprisingly this causes problems if you try to install both.
The reason for this is not clear but it does seem to be deliberate; see #5435:

Added SSRSS-Rescale as a 'fake' SigmaDimensions

Changes
Now SSRSS-Rescale is marked as conflicting with SigmaDimensions.
Fixes #7235.

The plot thickens. SSRSS-Rescale depends on SSRSS-Cont depends on SigmaDimensions.
Prior to #6534, SSRSS-Cont depended on SSRSS-Rescale, which would have worked fine. Too bad nobody ever explained why it was like that to begin with or why it was changed (it was requested in #6527, but apparently I should have asked more questions about why).


BUILD FAILED

Android dependency 'com.android.support:support-core-utils' has different version for the compile (27.1.0) and runtime (27.1.1) classpath.
I've got this error when trying to install this plugin.

under android/build.gradle , add the following configuration :
subprojects {
...
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "27.0.1"
}
}
}
}

same issue for me, any solution?

same isssue for me and using details.useVersion "27.1.0"  doesn't solve it, any solution ?


Failed to check for local known_hosts file

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 2.2.6
VirtualBox 6.1.0r135406
ansible 2.9.6
  config file = None
  configured module search path = ['/Users/volka/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/volka/.pyenv/versions/3.7.4/lib/python3.7/site-packages/ansible
  executable location = /Users/volka/.pyenv/versions/3.7.4/bin/ansible
  python version = 3.7.4 (default, Apr 15 2020, 10:44:03) [Clang 9.0.0 (clang-9<IP_ADDRESS>)]

Your OS

macOS (10.12.6)

Full console output
TASK [Check if local known_hosts file is present.] *****************************
fatal: [agm]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: /usr/bin/python3: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}

PLAY RECAP *********************************************************************
agm                        : ok=166  changed=13   unreachable=0    failed=1    skipped=362  rescued=0    ignored=1

Summary
With DrupalVM 5.2 provisioning fails with Ansible on host. Forcing use of ansible_local provisioner works.
The problem occurs with base box geerlingguy/drupal-vm (virtualbox, 2.0.8) as well as geerlingguy/ubuntu1804 (virtualbox, 1.1.5).
Using DrupalVM 5.1 works fine.
Similar issue? #2030

@fsnet - Drupal VM 5.2 started defaulting everything to python3, and I wonder if that could be the issue, since you're running a much older macOS release which may have a different/older version of python3 than what Ansible would thrive on.
See also: https://github.com/geerlingguy/drupal-vm/issues/530 — there might be some good suggestions in there relating to the python environment.

@geerlingguy: Thanks for pointing me in the right direction. 10.12 has no python3 in /usr/bin and I did not understand that the path set in ansible_python_interpreter is the same for VM and host.
As a workaround I have created a symlink in the VM
sudo ln -s /usr/bin/python3 /usr/local/bin/python3
and changed the variable in config.yml
ansible_python_interpreter: /usr/local/bin/python3
before re-provisioning the VM.
On the host macOS /usr/local/bin/python3 is a symlink to my pyenv python3
/usr/local/bin/python3 -> /Users/volka/.pyenv/shims/python3
Another solution would be to create a symlink /usr/bin/python3 on the host and let the VM and config.yml untouched. But this only works with Apple's SIP disabled.
I have tried to create the symlink in the VM with a pre-provision script but the TASK [Gathering Facts] fails.

I wonder if you could add an inline shell provisioner in a Vagrantfile.local in your project that sets up the symlink (since it can't get to the pre-provision script since Gathering Facts fails...).

Vagrant.configure("2") do |config|
  config.vm.provision "shell",
    inline: "TODO_ADD_INLINE_COMMAND_TO_SYMLINK_HERE"
end

# The absolute path to the root directory of the project. Both Drupal VM and
# the config file need to be contained within this path.
ENV['DRUPALVM_PROJECT_ROOT'] = "#{__dir__}"
# The relative path from the project root to the config directory where you
# placed your config.yml file.
ENV['DRUPALVM_CONFIG_DIR'] = "config"
# The relative path from the project root to the directory where Drupal VM is located.
ENV['DRUPALVM_DIR'] = "vendor/geerlingguy/drupal-vm"

# Load the real Vagrantfile
load "#{__dir__}/#{ENV['DRUPALVM_DIR']}/Vagrantfile"

See: http://docs.drupalvm.com/en/latest/deployment/composer-dependency/#create-a-delegating-vagrantfile

@geerlingguy Thanks - the inline shell provisioner does the trick!

@fsnet, @geerlingguy:

I did not understand that the path set in ansible_python_interpreter is the same for VM and host.

IIUC, ansible_python_interpreter does not affect the control machine (or host, the one running ansible). It only affects the target machine. The reason it seems to affect the host machine is that this particular task (from drupal-vm/provisioning/tasks/sshd.yml) delegates to the local connection:
- name: Check if local known_hosts file is present.
  stat: "path={{ known_hosts_path | default('~/.ssh/known_hosts') }}"
  register: known_hosts_file
  connection: local
  become: no

So in this case, the control machine is the same as the target machine.
The solution discussed in earlier comments is to force the host and the VM to have python3 in the same location. You will have to re-fix it all when you upgrade macOS and find that the path has changed, or when you share the project with a coworker who has /usr/bin/python3 instead of /usr/local/bin/python3.
I suggest one of the following alternatives:

Upgrade macOS to the current version.
Use ansible_python_interpreter: auto instead of hard-coding the path.
Set ansible_python_interpreter as a host variable instead of using the same (hard-coded) value for host and VM.

According to Interpreter Discovery in the Ansible docs, (2) is forward-compatible, since that will be the default in Ansible 2.12. That same page recommends setting ansible_python_interpreter "for individual hosts and groups" as in (3).
To implement (3), you would want to set the variable in an inventory, host_vars file, or group_vars file. I do not see any of these in Drupal VM. :-(

@benjifisher - Could you maybe open a new issue and we can discuss what to do there? It seems like this may be causing some issues for other Mac users with older OSes as well.

@geerlingguy: Done. Issue #2072.


How to change mask color?

Hi everyone,
I want to change mask color but I don't successfully. It doesn't have setMaskColor() function.
I'm using  version 'com.journeyapps:zxing-android-embedded:3.6.0'
public void changeMaskColor(View view) {
    Random rnd = new Random();
    int color = Color.argb(100, rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256));
    viewfinderView.setMaskColor(color);
}

Can you help me?

I found the solution. I have been using old version. I updated version. It's worked.


Cannot pop cap off identity

Trying to pop the identity wire off the cap by dragging left gives "error while performing expansion: singular height is not smoothable".

homotopy_io_export (9).zip

Maybe this is an expansion propagation issue? But don't really see why, I can't see anything here that should be generating a nontrivial expansion.

It's trying to do a bubbling for some reason. Maybe factorization failed?

Fixed by 4c0cec4c19784784aa2cce599911722ef8ccc5c6.


Delete unused files

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

Comparison is base (ee18a37) 74.03% compared to head (b5819a3) 75.21%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #232      +/-   ##
============================================
+ Coverage     74.03%   75.21%   +1.17%
  Complexity      531      531
============================================
  Files            81       79       -2
  Lines          1795     1767      -28
  Branches        182      178       -4
============================================
  Hits           1329     1329
+ Misses          401      373      -28
  Partials         65       65

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


usb: driver: Delay attached event for Thingy:53 by default

Thingy:53 require to have delayed attached event by 700ms.
Set this option in board files.
Signed-off-by: Emil Obalski<EMAIL_ADDRESS>

@geotitas, @bjornspock  fyi.


GIUH routing time units

The GIUH routing scheme is run on lines 329-334 of the bmi_lgar.cxx file within the subcycle loop (set to iterate over 5 minute intervals). The units of GIUH ordinates are set to the hourly scale, not to the 5 minute scale, so a scalar factor could be applied to the routing scheme so it more accurately is calculated.
@jmframe explained the problem very well in the following :

From If they were calculated the same way they are for CFE, then the giuh ordinates themselves are inherently percentage of m/hour each. They would have to be re-derived to work at 5 minutes (although maybe this was done, but I doubt it, because the there would likely be many more ordinates configured, as cfe usually has around 5 or so), or alternatively any functions that act on giuh ordinates need to include the appropriate time scaling/conversion.

Current behavior
for (int cycle=1; cycle <= subcycles; cycle++) {
.
.
.
    /*----------------------------------------------------------------------*/
    // compute giuh runoff for the subtimestep
    surface_runoff_subtimestep_cm = volrunoff_subtimestep_cm;
    volrunoff_giuh_subtimestep_cm = giuh_convolution_integral(volrunoff_subtimestep_cm, num_giuh_ordinates, giuh_ordinates, giuh_runoff_queue);

    surface_runoff_timestep_cm += surface_runoff_subtimestep_cm ;
    volrunoff_giuh_timestep_cm += volrunoff_giuh_subtimestep_cm;
.
.
.
}

Expected behavior
The solution could be as follows: (from @ajkhattak)

There are two quick solutions.

(Solution # 1) Modify lgar config file and provide linearly interpolated values for GIUH (that correspond to 5 mins instead of 1 hour), that way you can accurately capture the runoff. One can easily get the interpolated values using python
(Solution # 2) We do it in the lgar.cxx, the user will provide GIUH values (hourly based) and the code converts that to 5 min GIUH values -- I think that is a better solution and will be implemented soon.

Steps to replicate behavior (include URLs)

Run any test case. I found this when using the Phillipsburg Case

ICYMI @peterlafollette


Is it possible to change the way eel call JS functions?

I'm using VSCode and their python linter but this is a problem with all IDEs that have linters or some error checking.
Currently, To call a js function from eel, you do
eel.say_hello_js('connected!')   # Call a Javascript function
Which gives this error in Pylint
Module 'eel' has no 'say_hello_js' member
You see, Pylint can't read JS and so it cannot understand the functions I create, so Pylint is absolutely correct to give this error.
This error is not harmful but imagine you have a big project and 50 errors, you could either keep checking them all to see if there's a real python error besides that error above or you could just say screw that it's all eel, I'm ignoring all errors, it's just annoying.
if we could make a function or a list that accepts a string, that won't cause any linter to go crazy. Like
eel.js('say_hello_js') # of some other function name
or
eel.JS['say_hello_js']['connected']

@elieobeid7 You should be able to add settings to a .pylintrc file to suppress these messages.
I think you need to say;
[TYPECHECK]
ignored-modules=eel

Interesting I'll try that out and reopen the issue if it's not fixed, thank you.


[TB] Add hotlinks component

Problem/Concern
The hotlinks component needs to be created and added to Components page.
Proposed Solution

At this point, all that should be needed is to make it work in Darkmode, which @lwnoble is going to look at


Great bot, but when doing buy now, it buys for ==targetprice but should be <target price

any chance you could make a change so it buys anything from target price and below? amazing bot btw.

@Elektro99  , currently the logic is to buy all the cards less than the given buy now price, so your requirement is already in place in the tool.

however, it doesn't, it says that they are listed for that price, but the actual buy price is the same as the price you put in, it also doesn't pick up most of the searches


rez yaml2py command

A small utility to convert a package.yaml file to package.py using the package_maker module.
When the resource system has been updated so it can write package files directly this code can be updated to use that.  In the meantime, this should do the trick.

Sure, no worries.  Will leave this for you to close if you decide against it.

There is an equivalent available in resources2.


[1.8] Fixed data migration bugs in address type/country

Issue: #390
Cherry picked: 459e826 from #369
See #369 for detailed info

Hi @sbani , Thanks for the contribution.  Merged.

When do you plan to release the bug fix? If you release it with 1.9 it's useless for me because everything's broken now

We are going to have release on Monday.

Thanks!

Do you still plan to release the 1.8.3?
I think a bug, which will not allow users to install or update Oro is a bigger one and shouldn't be shunted to a later time.
I mean till yesterday 1.8 was the official stable version and the bug was reported by myself 28 days ago. This means there was no bug fix of a known bug in stable version for 28 days although I created a PR directly.

@sbani, we are not going to release 1.8.3 community version as 1.9.0 already released and includes this bug fix, we do bug fix releases for enterprise edition only.
All bug fix contribution to maintenance brunches could be used by changing version dependency to "version-dev" (1.8.x-dev in this case). We'll update our contribution guide shortly to make this clear.


libc: add tests for malloc() alignment

Adds tests verifying that an application can use memory allocated by
malloc(), calloc() and realloc() to access any type of object in a
portable way.
This behavior is required by the C standard and applications should
be able to rely on it. For example:
        double *pi = malloc(sizeof (double));
        if (pi) {
                *pi = 3.1;
        }

The tests added by this pull request do a number of allocations of
variable size ~and verifies alignment of the returned pointers~. In
addition, the returned pointers are dereferenced to verify that the
application can access the objects without trapping.
~The minimal libc implementation has been updated to pass the new tests.~

Thanks @andyross for the guidance. It is much appreciated.

Does that sound like something you'd be comfortable adding here?

Sure. I have made an attempt which is now in the commit at the top of this PR. It allows to enforce the big heap mode with a bool config. If the config is not enabled, then the default (previous) way of selecting heap mode is used. The config is enabled only on SPARC for now, so nothing else should be affected. Yes the specific problem described is a real problem.
The change to the heap code is:
 static inline bool big_heap_chunks(size_t chunks)
 {
+       if (IS_ENABLED(CONFIG_SYS_HEAP_ALWAYS_BIG_MODE)) {
+               return 1;
+       }
        return sizeof(void *) > 4U || chunks > 0x7fffU;
 }

Thanks @andyross for the guidance. It is much appreciated.

Does that sound like something you'd be comfortable adding here?

Sure. I have made an attempt which is now in the commit at the top of this PR. It allows to enforce the big heap mode with a bool config. If the config is not enabled, then the default (previous) way of selecting heap mode is used. The config is enabled only on SPARC for now, so nothing else should be affected. Yes the specific problem described is a real problem.
The change to the heap code is:
 static inline bool big_heap_chunks(size_t chunks)
 {
+       if (IS_ENABLED(CONFIG_SYS_HEAP_ALWAYS_BIG_MODE)) {
+               return 1;
+       }
        return sizeof(void *) > 4U || chunks > 0x7fffU;
 }


Odd jump in B06006_107E in 2006

Variable B06006_107E is "number of people who worked from home". Very consistently, across most counties, there is a huge jump in this number from 2005 to 2006. (Note that 2005 is the first year of the survey). For example, in San Francisco County, California, I am seeing:

2005: 2,557
2006: 29,832 (an increase of 1,067% - seems spurious)
2007: 28,262  (an increase of 5% - seems normal)

This is important because it is dwarfing the very real increase between 2019-2021, which is due to Covid, and is the core feature of the app.
I just posted a question about this in the Census slack about how I should handle this. One option is to simply remove 2005 from this dataset, but I'd prefer to get feedback from experts before doing that.

According to Joe G. from the Census Slack:

sometimes issues like that crop up because variable ids/codes are not 100% consistent from year to year.
In this case, there is no B06006 table that I can see — is B06006_107E a typo? Maybe you mean B08006_017E ? That is “total: worked from home” in 2022, but total Motorcycle commuters in 2005.  — yep, in 2006 that one became what you’re looking for, but in 2005, B08006_021E was “Total :Worked at home”.
Census publishes “Table and Geography changes” for the ACS, in frustratingly un-structured format, but the oldest such page seems to be for 2007

(And yes, he is right about the typo as well). I just fixed the code.


Displays invalid validation error message on the date field.

Expected behaviour
Must not display error when the date is 28/feb/2019 which is within the range.
Actual behaviour
Displaying wrong error message for a incorrect field (Please find attached)
Steps to reproduce the behaviour
Launch a survey with date range (ex: 0102)
Enter 28/Feb/2019 for From
Enter 31/Sept/2020 for To
and click save and continue.
Additional information
Tested in Pre-prod and it fails (something caused from WTForms). Work fine in Prod
Browser
Chrome
Operating System
Screenshot

@yoganandkunche Can you please re-test this against master. I cannot reproduce the issue.

Discussed with @yoganandkunche, expected behaviour: there shouldn't be an error message around the Period from date, only the Period to date.


Corrects playbook.yml deprecation message

Previous implementation wrongly swapped arguments on deprecation
message, which confused users about rename direction.

recheck


Scope generic-most classes

Hi,
I'm using this in SPA context and as a global dependency that isn't getting scoped by setting a scoped attribute, it's affecting generic classes of scoped components with classes like center, right, etc'. If you could give an option to scope these, it solves my issue.

Hi,
I'm am not sure what you mean with this... Could you give an example snippet so that I can better understand what you mean?
Thanks for contributing, and sorry for taking so long to respond, but I have been a bit busy lately.
Lucas


removing 'params', as it should be a single VMArray

@lightszero do you agree? it's related to your other proposal on unified entry points during compiling

I think it's misleading to put params here, because it should imply that you have multiple parameters, when in fact we have two. Or is it supposed to be just a high-level abstraction for other SDK tools?

Same

I mean, its the same on C#,not all languages... just a semantic thing anyway, not a big deal. Fine


left Plan-coordinates

I seems that the left coordinates aren't shown correctly anymore

i also notice when the cursor is over an entity in the plan the coordinates are all off

noticed that this happens when the zoom level  !=100%

@adonno I have never covered the zoom!=100%. The card is supposed to be a quick and dirty approximate way to get coordinates. If you want pixel perfect you can use something like photoshop.
I'm using the hover element, so elements already on the image from picture-elements will distort coordinates.
I'm sure I won't fix the zoom, as you can just zoom to 100% to get right coordinates and back again. I might fix the element positioning (to just hide it).

As long as I know that I get the right coordinates at 100% that's fine for me and wanted the provide the info incase someone might encounter the same phnomenon

Thanks @adonno I will include this in the docs


Applications node not available under Packaging Project

In this URL, under step 4, the "Applications" node is not visible when creating a new Windows Application Packaging Project: https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-packaging-dot-net
Visual Studio 16.10.0
.NET 5

Attempting to build the project yields this error:
"Project must have a reference to an application. Please add a reference under the 'Applications' node in the Solution Explorer."
However, this node does not exist.

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

ID: bead27ac-8ed3-9886-26e2-47f49ea1efc0
Version Independent ID: f354c6b6-b2e0-e070-dd0d-c3452a5635fb
Content: Package a desktop app from source code using Visual Studio - MSIX
Content Source: msix-src/desktop/desktop-to-uwp-packaging-dot-net.md
Product: msix
GitHub Login: @Huios
Microsoft Alias: tajimha

In 16.10, we added a "Dependencies" Node to the Windows Application Packaging Project.   The "Applications" Node is now a sub-node under the "Dependencies" Node.

The documentation for this change can be found in the Visual Studio 16.10 Release Notes:
https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes#WAPAnchor

It is not under Dependencies either.

You'd have to add a Project Reference by right-clicking the Dependencies Node and click "Add Project Reference."   Add the project reference to the xns6 project.  The Applications Node should appear and should have the reference to the project.

Thank you for the assistance.  It appears step 4 will need to be updated in the linked documentation.

You're very welcome.  Docs team, please let me know if there's anything you need from me.

Thanks @docfresh for bringing this up.
Thanks @edwardskrod for your help.
Here is a PR to update our documentation https://github.com/MicrosoftDocs/msix-pr/pull/704

Closing this issue. Please reopen if required.

You'd have to add a Project Reference by right-clicking the Dependencies Node and click "Add Project Reference." Add the project reference to the xns6 project. The Applications Node should appear and should have the reference to the project.
When Add Project Reference this error occured:


Particles system jitters back & forth when pausing the SceneTree if Engine.time_scale != 1.0

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Ubuntu 22.10, Vulkan, NVIDIA GeForce RTX™ 2060 / NVIDIA GeForce RTX™ 2060
Issue description
The title is self-explanatory, but here's a screen capture code & motion artifacts as well:
Screencast from 2023-04-14 14-37-44.webm
Steps to reproduce
Engine.time_scale = ts # where `ts != 1.0`
get_tree().paused = true

Through some experimentation I found that setting Engine.time_scale = 1.0 before setting get_tree().paused = true is a workaround for this edge case.
Minimal reproduction project
godot-4-dbg.zip

when you want pause (particle) shaders, I think you have to set Engine.time_scale = 0.0 in you pause mode.

Duplicate of https://github.com/godotengine/godot/issues/50824.


tail: Implement tail -z.

This options makes tail use NULL instead of newline as a line delimiter.
Closes #849.

@ProgVal will it work fine with CLRF?

It should treat them like any other character, as I removed any special treatment of \n (and \r already wasn't a special character)
Do you want me to add a test?

no, it's fine

Thanks, @ProgVal!


Users cannot view plan until merge review has been submitted

Checked for duplicates
No - I haven't checked
Is this a regression?
No - This is a new bug
Version
1.7.0
Describe the bug
If a user initiates a merge review but does not complete the review (e.g. closes the browser) then when another user attempts to open the plan they see the merge review UI instead of the plan contents.
Reproduction
Create a merge request, and open the merge review UI.
Reload the Aerie browser tab and navigate to the plan. Merge review UI appears instead of the plan content.
Logs
No response
System Info
Chrome

Severity
Minor

Thanks @camargo. Ideally users would be able to view the plan before the merge request was processed (e.g. an instrument team submitted a merge request but the main plain owner is on a long lunch break, and now no one can see the plan until they get back). Please convert to a feature request, but let me gather some more info from the thread test conductors on how much this impacted operations, to inform priority.


Pkpdx 31 Project page

I'm not sure if this is a bug, but whenever I sort the project table, a 'Success' notification pops up on the right. It's very annoying.
https://github.com/user-attachments/assets/467e0e0f-bedc-429d-a880-7dd6b8f5dc9f

@eatyourgreens Oh, nice catch - I will remove this before merging this MR. Sorting must not be used often if that wasn't caught earlier, as it actually wasn't introduced in this MR :)

@wniestroj Thanks! Yes, I only realised, after reviewing this, that sorting already does this in the production app.

@eatyourgreens Notification has been removed from sorting


Mixcloud failing for below mentioned artist while working for many others tested

Checklist

[ x] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dl version 2021.12.17
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar bug reports including closed ones
[ x] I've read bugs section in FAQ

Verbose log

C:\soft>youtube-dl.exe https://www.mixcloud.com/adambeyer/dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.mixcloud.com/adambeyer/dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum/', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2024.03.24 [71211e7db] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.4.4 (CPython AMD64 32bit) - Windows-7-6.1.7601-SP1 - OpenSSL 1.0.2d 9 Jul 2015
[debug] exe versions: none
[debug] Proxy map: {}
[mixcloud] adambeyer_dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum: Downloading JSON metadata
ERROR: adambeyer_dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum: Failed to parse JSON  (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 951, in _parse_json
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\__init__.py", line 318, in loads
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 343, in decode
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 951, in _parse_json
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\__init__.py", line 318, in loads
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 343, in decode
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\YoutubeDL.py", line 863, in wrapper
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\YoutubeDL.py", line 959, in __extract_info
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 571, in extract
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\mixcloud.py", line 129, in _real_extract
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\mixcloud.py", line 32, in _call_api
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 944, in _download_json
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 928, in _download_json_handle
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 955, in _parse_json
youtube_dl.utils.ExtractorError: adambeyer_dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum: Failed to parse JSON  (caused by ValueError(
'Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl
 -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I am getting error with Adam Beyer on MixCloud, with any track I try playing. Please find verbose output attached, I am using latest version and tested with nightly release also to verify issue exists.

There is a new API host, and it seems that some new (?) tracks are only available through the new host.
PR #32557 should fix this and will be merged soon.

I am encountering the same issue using the link below. I also tried the MixCloud link of the original post for Adam Beyer with the same results. Looking at the PR it appears a resolution was determined but not merged yet. Is that correct?
youtube-dl https://www.mixcloud.com/marrone/ftb-mixtape-guilty-may-2024/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.mixcloud.com/marrone/ftb-mixtape-guilty-may-2024/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2024.05.31 [21924742f] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.9.3-060903-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[mixcloud] marrone_ftb-mixtape-guilty-may-2024: Downloading JSON metadata
ERROR: marrone_ftb-mixtape-guilty-may-2024: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
Traceback (most recent call last):
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/common.py", line 951, in _parse_json
return json.loads(json_string)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/common.py", line 951, in _parse_json
return json.loads(json_string)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/YoutubeDL.py", line 863, in wrapper
return func(self, *args, **kwargs)
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/YoutubeDL.py", line 959, in __extract_info
ie_result = ie.extract(url)
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/common.py", line 571, in extract
ie_result = self._real_extract(url)
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/mixcloud.py", line 86, in _real_extract
cloudcast = self._call_api('cloudcast', '''audioLength
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/mixcloud.py", line 26, in _call_api
return self._download_json(
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/common.py", line 940, in _download_json
res = self._download_json_handle(
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/common.py", line 926, in _download_json_handle
return self._parse_json(
File "/home/djk/youtube-dl/./youtube-dl/youtube_dl/extractor/common.py", line 955, in _parse_json
raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: marrone_ftb-mixtape-guilty-may-2024: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose option and include the complete output.

Apparently "soon" was wrong. You could adapt the instructions here, changing the PR number to match, and report whether your issue is fixed at #32557.

I did the following pull but the version is old. The results are the same. Is the path for the PR pull correct or did I miss something?
curl -L -o ytdl_pr_32802.zip "https://github.com/ytdl-org/youtube-dl/archive/pull/32557/head.zip"
./youtube-dl https://www.mixcloud.com/marrone/ftb-mixtape-guilty-may-2024/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.mixcloud.com/marrone/ftb-mixtape-guilty-may-2024/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.12 (CPython) - Linux-6.9.3-060903-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[mixcloud] marrone_ftb-mixtape-guilty-may-2024: Downloading JSON metadata
ERROR: marrone_ftb-mixtape-guilty-may-2024: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 906, in _parse_json
return json.loads(json_string)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 906, in _parse_json
return json.loads(json_string)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/mixcloud.py", line 86, in _real_extract
cloudcast = self._call_api('cloudcast', '''audioLength
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/mixcloud.py", line 26, in _call_api
return self._download_json(
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 895, in _download_json
res = self._download_json_handle(
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 881, in _download_json_handle
return self._parse_json(
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 910, in _parse_json
raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: marrone_ftb-mixtape-guilty-may-2024: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You have actually to run the PR code as described in the linked instructions. Plainly this is the installed yt-dl:

File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 906, in _parse_json return json.loads(json_string)

The PR is working for Mixcloud. I tested again using new VM Linux Mint that youtube-dl was not on. The version still reports back with an old date of 2021.12.17. Both of the Mixcloud shows retrieved successfully.
Thank you and look forward to it be merged.
curl -L -o ytdl_pr_32557.zip "https://github.com/ytdl-org/youtube-dl/archive/pull/32557/head.zip"
unzip ytdl_pr_32557.zip
Archive:  ytdl_pr_32557.zip
ec46d543b4304f17a5169cd92338bbd32af10c71
creating: youtube-dl-pull-32557-head/
...
unzip ytdl_pr_32557.zip
Archive:  ytdl_pr_32557.zip
ec46d543b4304f17a5169cd92338bbd32af10c71
creating: youtube-dl-pull-32557-head/
python3 -m youtube_dl --version
2021.12.17
python3 -m youtube_dl https://www.mixcloud.com/marrone/ftb-mixtape-guilty-may-2024/ --verbose


XMLHttpRequest cannot load url. Response for preflight is invalid (redirect)

I'm trying to redirect requests from a webapp to an internal server. But I keep getting these errors in console whenever the app tries to send a request, and I'm unable to login because of it (api won't work)

The browser is sending an OPTIONS (preflight) request because whatever code that's making the request isn't satisfying the requirements to avoid a preflight request. See here:
https://stackoverflow.com/questions/42168773/how-to-resolve-preflight-is-invalid-redirect-in-cors
Basically,

The http method must be GET, HEAD, or POST
The only headers you can set are Accept, Accept-Language, Content-Language, Content-Type, DPR, Downlink, Save-Data, Viewport-Width, or Width
The Content-Type request header must be application/x-www-form-urlencoded, multipart/form-data, or text/plain

Resource Override can change request headers, although in this case, chrome seems to filter out the request automatically (probably so extensions can't change them because it's a security issue). If you need to use certain headers or an uncommon http method then I'm not sure there's much you can do. I suppose you could redirect the script that's causing the request to your own script so you can just make the request to the correct url from the beginning.
Let me know if you find a way around this, as odds don't look too good for a solution.

It's a minified script on a third-party app that I don't control. Additionally, asset names are obfuscated and change often.

That sounds rough... You might need something higher calibur like a system wide proxy. Maybe https://www.charlesproxy.com/documentation/tools/rewrite/
I'm not sure it's possible to do what you need through a chrome extension. Let me know if you figure out a way though.


AmazingFeature - [Feature/themes] Added Themes for the tool

Hey BTC Team !
I had participated in the First BTC & really liked it. I was really looking forward to BTC2 and absolutely Love❤ this year's theme and design. I stumbled upon this plugin while exploring the BTC2 website (My Computer > CheatCodes.txt) (Haven't used the cheats myself I swear lol) & I saw I could contribute to this, so I did ! Please let me know what you guys think !
What I did
I created a few themes for the tool which the user can switch to while using the tool. The themes currently available are :

Light [this is the default theme which the plugin already used]
Dark
BTC2 (This goes with the Break The Code 2, colors taken from splash screen with clouds)

Changes in the UI:

Increased the dialog-box width from 350px to 400px to fit the dropdown.
Changing Title Bar color.
Changing Icon used in Title bar as well as the Dialog body.

Coding+Design choices & Files edited

Coding choices
Instead of writing a separate theme.js script, I decided to use a <script> tag (writing js inline) within the body so as to reduce extra https requests for a separate .js script, which may affect the efficiency ( reference1, reference2 ) . If need be, I can create a separate theme.js, no problem with that.

Design choices
To adhere to the Windows98 theme used, I have changed only a few things like the Title bar color and the Icon used in Title bar as well as the Dialog Body.

Files Edited
The files I have edited are :

runhacx.html
main.css

Files Added
I have also added the following .png image files in ../dist/img/ for theming :

run-dark.png (for the Dark theme)
run-btc2.png (for the BTC2 theme)

HOW DO THEY LOOK ???
I have been talking about what I did for quite while now ! So, without further ado, here's how they look !

Light (Default)

Dark

BTC2

Here's a short animation showing how the theme switching would work :

Let me know if any more changes are required from my end.
Regards,
KabiirK

Oh lol, in any case, I got to brush up my webdev & got some good project ideas like creating something similar to 98.css. So it's all okay i guess

Pretty cool stuff

@Kabiirk keep up the good stuff mate, you have a really bright future ahead of you...

Frontend Dev :)

Thanks a lot for your kind words ! 🙌


0.1.8 is pushed to crates.io but has no source here

This seems like an oversight...

Yes, this is an oversight. I pushed and tagged the new release. Thanks.

Thanks!


Verify get-pip.py

Currently get-pip.py is downloaded from a remote server and installed without checking that it's legitimate [1]
I'm aware that there's no official way to verify the downloaded file and also that it might change at any time, so IMHO it might be good to keep a local, known to be good, version of that file and update it from time to time.
[1] https://github.com/docker-library/python/blob/13ae0c0b3bf09ad3cf2f75f5e9a4ab2415a4b109/3.7/stretch/Dockerfile#L110

We could have our update.sh download and sha512sum get-pip.py and embed the sum in the Dockerfile.  That will do little than assure that the build servers get the same version that we saw earlier.
We should probably note where the sha512sum comes from in the Dockerfile. Concurrently we should see if we can file an issue with the Python Packaging Authority to see if they would be willing to publish a sha512sum along with get-pip-py (a detached gpg signature would be even better).

I think pulling from a specific Git commit out of https://github.com/pypa/get-pip might be worthwhile too (since then our checksum would be more meaningful/stable).

In case anyone wants to follow or bump: https://github.com/pypa/get-pip/issues/41

I think that fixing the checksum would still be a small step forward--if Homebrew Cask had been more strict at a time at checking the checksums then the Handbrake malware failure wouldn't have happened (at least for Cask users..) [1].
Pulling a specific commit sounds even better, as the commit hash is a checksum on its own. Also, I believe it's easier to detect a compromise of a GitHub repository than changes in what effectively is a binary blob.
[1] https://github.com/Homebrew/homebrew-cask/issues/33536

Pulling a specific commit sounds even better, as the commit hash is a checksum on its own. Also, I believe it's easier to detect a compromise of a GitHub repository than changes in what effectively is a binary blob.

We really need to do both -- we're not going to use git clone, so the commit reference is only going to get us an unchanging file which we can actually verify. :smile:
Additionally, I wouldn't put too much stock in verifying updates to that file; see https://github.com/pypa/get-pip/commit/404c9418e33c5031b1a9ab623168b3e8a2ed8c88 for example (it includes all of pip, so it's pretty much impossible to review those updates), but at least it's something which is better than where we're at now. :sweat_smile:

Wow, that was fast!
Thank you for adding the checksum, I realize it's suboptimal because it requires maintenance and also it doesn't solve the problem completely, but it's much better than it was yesterday!


fix: bump dependencies & improve a little the README

Issue
na
Description
bump dependencies & improve a little the README
Additional context

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 1.1.2-fix-update-dependencies-SNAPSHOT
download it from Artifactory here

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

1.1.2
GitHub release

Your semantic-release bot :package::rocket:


How to run in Gitlab Runner

How can jrei/systemd-debian:9 image be started in GitLab Runner enviroment, i.e. how to start it with only one command?
Entrypoint can be set to anything, but the container can not be manager, i.e. no daemon for the systemd can not started via the host docker as described in README https://github.com/j8r/dockerfiles/tree/master/systemd/debian.
exec /lib/systemd/systemd can be run without any issue, but how to open a bash then?

I am not familiar with GitLab runner, I've no answer to this question.
systemd being the init system, it must be the first process to start to be the PID1.

Thanks, solved directly with systemd team.

I'm curious, what was the solution found @mvorisek ?

https://github.com/systemd/systemd/issues/12844#issuecomment-504683151 basically you start your command in default systemd service and then exit from it.
Before that I have also checked the --system switch, but they confirmed that this switch does allow the systemd to be run under different pid than 1. They have updated the docs based on that https://github.com/systemd/systemd/issues/12843#issuecomment-505160729


Spaces in bearer token isn't properly sanitized when loading on web

When putting a token into the web browser, all spaces are converted over to %20 while what is received from OBS doesn't contain this sanitization. This causes a flow break when trying to load the stream, as you aren't allowed to send non-sanitized spaces in a web browser.

If I'm looking at the code correctly, there is no protection against setting protected HTTP characters in the request and should be added to this line of code https://github.com/Glimesh/broadcast-box/blob/main/main.go#L81 this should include both
characters needing https://datatracker.ietf.org/doc/html/rfc3986#section-2.1 and the following characters https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 on a blacklist

Thanks for digging on this @wolfcomp!
Do you have the time to add URL sanitizers to WHIP+WHEP requests?

I don't know the functions in the go language, so I won't be of help there. I can however compile a regex string for all the characters

I attempted a fix, not sure if it's the best way of doing it but it did work when tested locally. Hopefully it should help in the end though :)


Two-Factor auth added to iTunes Connect - Sigh no longer can login

Sigh just dumps the HTML out and throws an error. (the HTML of the login screen)

Yeah, it would be nice to have sigh asking for the verification step, or at least throw some error. But that is valid only if you intend to run fastlane manually from command line.
From automation perspective, you would need to disable two-factor auth.
It is possible to automate, but that would be so much pain.

Okay - strange it only started for me today though - probably Sigh should catch the error.
I am running fastlane manually from the command-line, for now at least, so it would be indeed useful. In the browser there’s the option to “remember this browser” (presumably sets a cookie..) so that the two-factor auth is only necessary the first time. Sounds like a pain to implement here though, you’re right.

On 12 Nov 2015, at 08:59, Nicolae Ghimbovschi<EMAIL_ADDRESS>wrote:
Yeah, it would be nice to have sigh asking for the verification step, or at least throw some error. But that is valid only if you intend to run fastlane manually from command line.
From automation perspective, you would need to disable two-factor auth.
It is possible to automate, but that would be so much pain.
—
Reply to this email directly or view it on GitHub.

I think that https://github.com/fastlane/spaceship/issues/168 is related as well.

Sorry for the inconvenience, please disable 2 step verification for now, until the issue is resolved. The best and easiest way is probably to create a separate Apple ID for fastlane so that your main account still has 2 step verification enabled.
I'm working on a solution :+1:

Any progress?

Sorry, no solution for this yet. It would be possible to implement this using the actual 2 step process of verifying the phone number and entering the SMS code, but this doesn't work properly on CI systems like Jenkins and Travis.
Instead I'd much rather prefer a solution with application specific passwords, but haven't found a way to authenticate with that yet.

Hey Felix. Any solution on this problem or should we still disable 2FA? 😕

This has been implemented with the most recent fastlane releases, please update to the latest version 👍

Hey everyone, fastlane now fully supports both two-factor and two-step verification 👋
On your computer 🚀
To use fastlane with two-factor, just run fastlane as you usually would. You'll be asked for the verification method, and a 4 or 6 digits pin. Everything will just work out of the box 📦
On your continuous integration system 💻
Check out the official two-factor docs for more information on how to setup two-step on CI system. You'll have to authenticate on your local machine to get a session cookie, which you then transfer to your CI.

If you have any issues setting this up, please submit a new issue so we can help you get up and running 👍


unable to load shared object 'C:/Program Files/R/R-3.4.3/library/stats/libs/x64/stats.dll'

Using RDotNet 1.7.0 downloaded from NuGet
Compiling with VS2017 using .NET 4.6.1
Error: package or namespace load failed for 'stats' in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-3.4.3/library/stats/libs/x64/stats.dll':
LoadLibrary failure:  The specified module could not be found.
Verified the dll exists at the target location.
Verified the project is being compiled in 64 bits.
Not sure what else to try.

I think this is the same as #62 , where it appears the R packagers accidentally included a file (etc/Renviron.site) in the 3.4.3 distribution, which is throwing things off.  More details in the linked issue, but if you delete etc/Renviron.site (from your R install directory), you should be all set.

Ahh, sorry about that.  I looked right at #62 and it simply didn't click it applied.
Thank you.

I was trying to run nrlx package in R (connection with R and NetLogo) while running the R-extension, and I have solved this problem of missing dll as below:

Following @kevinushey in this link which called my attention to my empty Sys.which("stats.dll"), I added ALL the following paths to my PATH in Windows (but the last two seemed to make the difference):

C:\Program Files\R\R-4.2.1\bin\x64;
C:\Program Files\R\R-4.2.1\bin\i386;
C:\PROGRA~1\R\R-42~1.1\bin\x64;
C:\Users\USER\AppData\Local\Programs\R\R-4.2.1\library\rJava\jri;
C:\Program Files\R\R-4.2.1\library\stats;
C:\Users\USER\AppData\Local\R\bin\x64;
C:\Users\USER\AppData\Local\R\library\stats\libs\x64

Deleted 'Rprofile.site' from the below folder following @lrasmus in this issue
C:\Users\user\AppData\Local\Programs\R\R-4.2.1\etc

I hope this helps.


Unable to inject into 32bit process

Update: I copied all the files to the dir as my app and now I get a different error:
Exception thrown: 'System.ApplicationException' in EasyHook.dll
Additional information: STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15)
Works fine for when my target is a 64 bit process but throws an error for the 32 bit process "The system cannot find the file specified"
my injectionLibrary dll was originally compiled as anycpu, I even tried compiling it specifically as x86 and same problem. My process is 64bit and not anycpu, the target process is 32bit.
         RemoteHooking.Inject(
           processId, // ID of process to inject into
           @"D:\builds\blast\git\master.A\BLASTDriverTest\build\BLAST.Injection.X86.dll", // 32-bit library to inject (if target is 32-bit)
           injectionLibrary, // 64-bit library to inject (if target is 64-bit)
           channelName); // the parameters to pass into injected library

the dlls in the path
D:\builds\blast\git\master.A\bin\EasyHook>dir /b
ComplexParameterInject.dll
ComplexParameterTest.exe
EasyHook.dll
easyhook.h
EasyHook32.dll
EasyHook32.lib
EasyHook32Svc.exe
EasyHook64.dll
EasyHook64.lib
EasyHook64Svc.exe
EasyHookTestCert.cer
EasyLoad32.dll
EasyLoad64.dll
FileMon.exe
FileMonInject.dll
ProcessMonitor.exe
ProcMonInject.dll
README.md
TestFuncHooks.exe

Having the same issue, added the libs to my VC++ Directories and Link/Input/Additional Dependencies so I have no clue.
Getting EasyHook32.dll dependency can't be found with my Injector

Fix that worked for me: Place the 32 bit Binary ( EasyHook32.dll ) with the injector :)

So your app is 64 bit and you were able to get it to work?
On Sat, May 23, 2020, 1:45 PM Samuel Stubbings<EMAIL_ADDRESS>wrote:

Fix that worked for me: Place the 32 bit Binary ( EasyHook32.dll ) with
the injector :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EasyHook/EasyHook/issues/338#issuecomment-633104143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4BZXNHHZICU26EWJCBCRDRTADVBANCNFSM4MZBO5DA
.

@Mobles I was able to get it working by setting the config path. I keep all the easyhook dlls in a separate dir underneath my assemblies. The 32 bit code is slightly diff from the 64 bit in easy hook and uses a different path to load the EasyHook32Svc.exe, the one below
EasyHook.Config.DependencyPath = Path.Combine(Path.GetDirectoryName(injectionLibrary), "EasyHook");


support lateral navigation

implemenmted access to replace_state (https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)

@koa I'd consider this a non-breaking change. There are changes, but it doesn't look like those are on any API that is supposed to be public.

That was my intention. Cool you see the same.

@koa I'd consider this a non-breaking change. There are changes, but it doesn't look like those are on any API that is supposed to be public.

It was the intention.

Released as 0.7.2


fix: improve default name to avoid same key in the list after delete

Hey, I noticed a bug in the form builder.
-> If you delete an input field from the middle of the list and then add a new one, two items end up with the same key, and it stops working properly.
Maybe using crypto.randomUUID() would be better for unique keys, but since you're using names, this might look cleaner.

Thanks a lot for noticing this.


chore: update README

Now that WebContainer API is out, it's time to update the readme!

LGTM- thanks @sylwiavargas!

wow thanks 😍 I going to test that


Support dotty

I'm trying to use minitest on a project that is cross-compiled with dotty. I'm using minitest 2.1.1 using withDottyCompat so it picks up the 2.12 artifact.
I am getting the following compilation error at runtime:
[error] java.lang.NoSuchMethodError: minitest.api.SourceLocation$.fromContext()Lminitest/api/SourceLocation;
[error] 	at scalapb.lenses.SimpleTest$.$init$$$anonfun$1(SimpleTest.scala:82)
[error] 	at minitest.SimpleTestSuite.$anonfun$test$1(SimpleTestSuite.scala:27)
[error] 	at minitest.api.TestSpec$.$anonfun$sync$1(TestSpec.scala:51)
[error] 	at minitest.api.TestSpec.apply(TestSpec.scala:27)
[error] 	at minitest.api.Properties.$anonfun$iterator$2(Properties.scala:38)
[error] 	at minitest.api.TestSpec.apply(TestSpec.scala:27)
[error] 	at minitest.runner.Task.loop$1(Task.scala:40)
[error] 	at minitest.runner.Task.$anonfun$execute$4(Task.scala:55)

Would it be possible, for the time being, to have a build for dotty with a non-macro implementation that  returns a default instance of SourceLocation? Happy to send a PR.

I guess an alternative solution is to return a constant SourceLocation in Dotty with hardcoded dummy values.
Cross-building should be fairly simple, addSbtPlugin(sbt-dotty) and ++0.8.0-RC1 should do the trick. Keep in mind a new Dotty version is released every ~6 weeks.

cc/ @nicolasstucki is working on the new metaprogramming system in Dotty and I think there will soon be available something equivalent to __FILE__ and __LINE__. He can say more about the current status

I have some prototype implementations that provide line numbers

https://github.com/lampepfl/dotty/tree/master/tests/run/tasty-linenumber
https://github.com/lampepfl/dotty/tree/master/tests/run/tasty-positioned

I do not have the file, but it would be trivial to add it to the API. It would be something similar to
https://github.com/lampepfl/dotty/blob/master/tests/run/tasty-location/quoted_1.scala
but where we have ctx.file instead of ctx.owner.


driver: regulator: npm1300: fix build warning

regulator_npm1300_init() generated uninitialized variable warning. Fix this by being consistent in the error checking in underlying function.

I don't see how checking for lower than 0 over not equal to 0 would have anything to do with an uninitialised variable warning

There was some discussion here: https://github.com/zephyrproject-rtos/zephyr/pull/80159#issuecomment-2428479636
This PR fixes this particular failure: https://github.com/zephyrproject-rtos/zephyr/actions/runs/11324295360/job/31492031631?pr=78621

I don't see how checking for lower than 0 over not equal to 0 would have anything to do with an uninitialised variable warning

There was some discussion here: #80159 (comment)
This PR fixes this particular failure: https://github.com/zephyrproject-rtos/zephyr/actions/runs/11324295360/job/31492031631?pr=78621

Interesting


Update train_sft.py

[Refactor] FutureWarning: prepare_model_for_int8_training is deprecated and will be removed in a future version. Use prepare_model_for_kbit_training instead

how can i give vigogne acces to internet

Hi @ell-hol ,
Sorry for my late response. I was on vacation. Would it be possible for you to reopen the PR?

Hi @ell-hol,
Thank you for your PR.
These enhancements sound promising. Can't wait to review and learn from you!


Abstract custom filter definitions

Currently custom filter definitions need to be written in Go. They then need to be called from the source code in with_all_filters.go. The BotKube container then needs to be rebuilt and redeployed.
It would be useful if custom filters could be defined in some abstracted manner (e.g. YAML).
It would also be useful if filter definitions could be kept in a ConfigMap and dynamically loaded.
This would allow:

Non-developers to build filters
Filters to be built faster with less boilerplate code
Users to add filters who do not have access to rebuild/redeploy the BotKube back end

Related

#835
#412
#24

#412 related

Initial thoughts:
IMO it would be good to extract the whole K8s source as external “plugin” first and have those filters not as a BotKube functionality but K8s source related (if still needed).
In case of BotKube, we can come up with some general mutation/validation webhooks approach.
mutators:  # executed in a given order
  # run image
  - image: gcr.io/kpt-fn/set-labels:v0.1.0
    parameters:
      animal: fish
      name: herring
validators:  # executed in parallel after all mutators
  # or instead of image, call external service
  - url: example-service.default.svc.cluster.local:9111/v1/validate

As a result, BotKube core logic will be fairly simple and more “generic” as it can work with any sources (not only k8s).
Additional thing is that the webhooks should be connected with a given “event”. Probably we should define CloudEvents  schema to have some common fields on all sources’ events and require from them to sent event name e.g. <source_name>.<event_type>.<event_name>.
In case of k8s, the event name could be kubernetes.resources.pod. In that way we could add mutators/validators into the exact event (kubernetes.resources.pod ) or for a group of them (kubernetes.resources.*).
It’s a draft idea, but I hope that you see the direction. Additionally, maybe it should work in both ways, not only sources -> webhooks -> communication platform but also communication platform -> webhooks -> executors - but this sounds like a feature that we don’t need right now.

@mszostok I agree, I like the external validator / mutator idea. It is also implemented in OathKeeper from ORY. We can also think about some built-ins if necessary.
When it comes to Docker images, I think it's a good idea (I've seen that in keptn), but we can implement it later, after the validation/mutation webhooks support, once we know if people want that 🙂

Another related issue https://github.com/kubeshop/botkube/issues/835, where @bygui86 described filtering based on messages regex. This should be possible with the new filtering functionality.

@pkosiec thanks for linking my issue.
@mszostok I like to keep BotKube generic and agnostic, but the solution you proposed is pretty complex and not aligned to what BotKube currently is in my opinion. First of if you don't find a pre-built/containerised filter like gcr.io/kpt-fn/set-labels, then you have to write it yourself and it won't align with some important requirements mentioned by @brampling at the beginning:

Non-developers to build filters
Filters to be built faster with less boilerplate code
Users to add filters who do not have access to rebuild/redeploy the BotKube back end

Secondly why should we define mutators or validators in BotKube? There are already great tools dedicated to such purpose, let's use them. However mutators and validators are neither filters on events nor checkers to come up with recommendations, so another question would be why webhooks for something "relatively simple" like filtering?
Please review my proposal in issue #835 to filter events based on matching regex on reason and/or message.
Same as "source names", the field to perform the regex match on could be flexible, adapting to any kind of JSON structure. This way BotKube can stay flexible without being k8s compatible only, even if K8s is mentioned in the description on GitHub and botkube.io...
I suggest to implement different kind of filters:

simple regex based matching the content of the event, defined in YAML config
rego syntax based, defined in YAML config

Hey @bygui86 you're right. Filtering by event messages/reasons should be a simple built-in feature without need to define/include some external filter. I'm going to reopen https://github.com/kubeshop/botkube/issues/835 and implement it in 0.16 which will come at the end of November / early December 🎉 Actually I have a draft PR prepared (https://github.com/kubeshop/botkube/pull/854), but still needs some polish. Cheers!

@pkosiec thanks! Following this issue anyway as still interesting long-term :)

We're putting the needs-triage label as we have some basic filters in place (requested multiple times by the community).
@brampling Do we still need it? If yes, please provide us a list of requirements, and we'll prepare a draft design for it. Thanks in advance!

I want to keep this on hold for now and see what the feedback is about filters/actions. We still can't create custom recommendations without code modification, although event filtering is much better now. We should keep the issue open for community feedback but not bring it into the project right now.


Fix -Wunreachable-code-aggressive.

Bug: chromium:1066980

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

For clarity: this impacts Chromium's build, as it pulls in SPIRV-Tools. See https://crbug.com/1066980 .
@alan-baker could you please review this? Thanks in advance.

@pkasting can you please fix the formatting issues and rebase on master?

Are you referring to the CI-check-format error?  It seems to be complaining about a file I haven't touched.

Ok, just the rebase then so I can get a run of the buildbots.


Doesn't download images, just 20-21KB placeholder files.

This should fix that.

Thank you @riversy that solved it :)


updated deprecated code

Please merge it to master branch

Thanks!

Welcome :)
Please release next version now.

Eagerly waiting for next version, too!


linkify-code is broken for code blocks in markdown

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.

Description
This used to be linkified:
// https://github.com/fregante

<a href="https://github.com/fregante">

URLs in actual code are still linkified, both embedded and when visiting the isSingleFile page
https://github.com/sindresorhus/refined-github/blob/9036cceec3455f275a5bd3cca8064d73309195dd/readme.md#L15-L17
Screenshot

Console errors
None
Browser(s) used
safari

🤦 Oops, I forgot about vanilia code block in #4613 and removed .comment-body selector.

A future PR should also include this link in a javascript comment because it contains more context:
https://github.com/sindresorhus/refined-github/pull/4710#discussion_r694896008


EventFlow package names update

small fix of the Eventflow nuget package names

@navalev : Thanks for your contribution to the Azure documentation! The author, @karolz-ms, has been notified to review your proposed change.

#sign-off


Compatibility For Lenovo Y50-70

Tested With Lenovo Y50-70

Battery Mode
Working normally, little graphics delay during changes

Always on USB
Not Working Properly

Power Mode
Greyed Out

Misc
Fn lock is not greyed out, but not working at all.

Specific support for this device has not been added, so some broken functions are expected.