Can't finalize creating Docker container: "ERROR: Failed to download Chromium r624492! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download."

Describe the bug
When I attempt to run docker-compose as recommended, the puppeteer installation step fails. From https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker I see a section that says:
# Uncomment to skip the chromium download when installing puppeteer. If you do,
# you'll need to launch puppeteer with:
#     browser.launch({executablePath: 'google-chrome-unstable'})
# ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

Is it possible that should be included in the Dockerfile run (including using the new launch command) since we are downloading google-chrome-unstable anyway?
Steps to reproduce
Steps to reproduce the behavior:

Clone repo
Run docker-compose up -d

Screenshots or log output
><EMAIL_ADDRESS>install /node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r624492! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: connect ECONNREFUSED <IP_ADDRESS>:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1083:14)
  -- ASYNC --
    at BrowserFetcher.<anonymous> (/node_modules/puppeteer/lib/helper.js:108:27)
    at Object.<anonymous> (/node_modules/puppeteer/install.js:64:16)
    at Module._compile (internal/modules/cjs/loader.js:738:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
    at Module.load (internal/modules/cjs/loader.js:630:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
    at Function.Module._load (internal/modules/cjs/loader.js:562:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
    at internal/main/run_main_module.js:21:11
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 443 }
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-03-02T16_43_12_505Z-debug.log
ERROR: Service 'archivebox' failed to build: The command '/bin/sh -c npm i puppeteer' returned a non-zero code: 1

Software versions (please complete the following information):

ArchiveBox version: master (63e6ed8)
Python version: Latest version on Debian Stretch (node:11-slim)
OS: Synology DSM 6.2.1-23824 Update 6
Chrome version: Latest google-chrome-unstable version on Debian Stretch (node:11-slim)

Created PR #156 with this change and another one which got my container up and running. Still testing some things, may suggest some additional Docker related changes later just to keep things clean on the Docker host.

Also noticed on your Wiki page for Docker, you reference /bin/archive in multiple places which doesn't exist. Should that be /bin/archivebox instead?


Bulk insert via GraphQL - Schema Generation

RFC for Bulk Insert - #1783
Create the new operation type for bulk insert during graphQL schema generation

Reiterating here - this should not be limited to GQL, but included in REST.

As discussed, this is a post 1.0 improvement.


fix: remove redundant gradle dependency from library

:tada: This PR is included in version 2.1.1-test.1 :tada:
The release is available on:

npm package (@test dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New package: K8stooling.Kubazulo version 0.0.8-beta

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

@wingetbot run

Manual Validation ended with:

2:11:39 PM: 2024-01-22 14:11:38.145 [FAIL] Installer failed security check. Url: https://github.com/k8stooling/kubazulo/releases/download/v0.0.8-beta/kubazulo.exe Result: 0x80004005

(Automated response - build 623.)

Hi @maikbrauer,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 623.)

/AzurePipelines run

Manual Validation ended with:

8:57:45 AM: 2024-01-23 08:57:45.025 [CLI ] Package hash verification failed. SHA256 in manifest [6f771ddd2ec8db37a91fa0af205948ff07ac1ed0af7d8c7ef5015cf1c0d6c01a] does not match download [3399f1dbd03105042394a7723c97da2f35855c50026e449185e4e0bca333ae08]

(Automated response - build 629.)


Print args

Option to print only the args, that could be passed to migrate. This could be useful in generating scripts for later use, like rolling back a deployment.

Can be done through --dry-run anyways.


Signed xml with gost

Current status - some stubs

Need some tests.

Sources are currently at gost_x509_xml](https://github.com/CryptoProLLC/corefx/tree/gost_x509_xml) branch.
Nuget packages.
Windows only for now.

Changes for unix and windows are in master.


Create 0046_Permutations.py

@kishumds Thanks for contributing. Please create an issue for the same and follow contributor guidelines.


Add a parameter for the commit slash command to only run on staged changes

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
I'd like to run the /commit slash command only on staged changes, as opposed to all changes which is the current behaviour.
Solution
Add a boolean parameter to the commit slash command called stagedOnly. If true, include only the staged changes; If false, include both staged and unstaged changes. I'm happy to create a PR with this functionality.

I don't use the /commit, My current workaround is "CMD+Shift+P" -> "Git: commit staged" -> "CMD+I" -> "Write commit using conventional commit standards":

Neat workflow @priyashpatil ! This could be a neat custom quick action, although I'm unsure if there is a LSP extension for git files like this that we would need.
@FozzieHi - thanks for calling this out. I think if anything the default behavior should be to only generate the commit off of staged changes, and then we could add a param to optionally include unstaged changes. If we made that change, I think we would want to provide some sort of helpful feedback to the user in the scenario where they attempt to generate a commit but haven't staged any changes.
We would definitely welcome a PR if you're interested in taking this on!

@Patrick-Erichsen Sounds good. I did assume it was only doing staged changes to begin with until I started to realise it was writing about unstaged changes as well. I do have a demo running locally, I'll just swap around the params and create a PR.

Excellent, looking forward to the PR!


Azure.Messaging.ServiceBus: The lock supplied is invalid when function executes successfully

Hello,
We have an isolated .NET 6 Azure Function that consumes a service bus message and publishes two other messages to a different service bus namespace.
The issue is that even after the function finishes executing, as per the attached screenshot, The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue, or was received by a different receiver instance. (MessageLockLost) exception is thrown approx 20 seconds after the function finishes executing when the host / extension attempts to complete the message.

This doesn't always reproduce, we've seen 5 occurrences in 7k function executions - however that's enough for us to at least investigate it.
P.S. - A few weeks ago I've logged a "similar" issue that occurs when the function throws an exception https://github.com/Azure/azure-functions-dotnet-worker/issues/1003 - approximately 20 seconds after the failed execution is logged, you can see an exception attempting to renew the lock.
These are the package versions we're using
        <PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.8.0" />
        <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.4.0" />
        <PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.3.0" />

Since the message completion fails, this can be a bit problematic, because it leads to the message being consumed twice or more.

We're going to close this issue and consolidate the investigation on #1003 - we suspect the root cause is the same.


Review uses of .decode('ascii')

In some places, 'ascii' is used. In other places, 'utf-8' is used. Is there a reason? Why not use utf-8 everywhere?

It was previously using 'ascii'.
 symbol(pn_data_get_symbol(self._data).decode('ascii'))


Make build script more generic

Search for include paths and libraries
Directly reference subprojects when linking, so the build directory
can be anywhere

/usr/include/OpenEXR should still be in the includes as find_path searches in default locations.
It would be nice if someone could test this on Windows, it should still work I only tested on Linux.
Edit:
Whoops, I just found #86, so I’ll test it and see if this works better than my approach.
Edit2:
#86 does not find the include paths for my distribution, so it does not compile.
Therefor I would prefer this patch.

Could you please test https://github.com/GPUOpen-Tools/Compressonator/pull/86 again?
I back ported the usege of OpenEXR_INCLUDE_DIRS from MR https://github.com/GPUOpen-Tools/Compressonator/pull/87 to it.


Clean-up temporary files on teardown

When you mock a class that does not exist, or can't be found by autoloading,
Mockery creates a temporary file, so the class can be required. The clean-up
was left to the OS.
This change registers the files to be cleaned-up on teardown by Mockery.

Coverage increased (+0.09%) to 73.767% when pulling 556a5a7631b14ba108c9801e1fe7369a331eb728 on ricardofandrade:0.9 into 4db079511a283e5aba1b3c2fb19037c645e70fc2 on padraic:0.9.

Thank you!


Respect (or remember) appearance preference on splash screen

Is your feature request related to a problem? Please describe.
My appearance preference is set to "auto", to follow my system's appearance, which is set to dark mode most of the time. But when i open Phanpy (installed as a PWA on my phone), the splash screen is in long mode.
This is my splash screen, though my phone is on dark mode and Phanpy's appearance set to auto:

Describe the solution you'd like
Phanpy should remember whether it was in light or dark mode last time it was opened, and display the splash screen accordingly. Only then it should check the user's preference and make a change to the app's appearance, if relevant.

Hello! I'd happily give this a try to fix it if I may, as it flashes at me too 😅
I have had a look in the codebase but can't see where this splash screen is. It'll probably be easier to find once I get it running locally - but any tips are welcome!

@sarajw the splash screen is auto-generated by Chrome Android itself (and maybe other Chrome-based browsers on other platforms too) — this doesn't happen on Mobile Safari on iOS as it'll just load the page without splash.
Probably 2 ways to solve this:

Add splash screen to override the auto-generated one. Issues: static image(s), multiple resolutions 😩, no "dark mode" settings for webmanifest yet (I used to keep track of this development but haven't look at it recently, so some web apps use a single "safe" color of neither light nor dark background - or just dark by default)
Wait for Chrome to intelligently auto-generate dark-mode splash screen 🙈 - makes sense because this bug affects all PWAs.

Ahuh, understandable then that it is the way it is for now. You already have several logo resolutions in public though, so may not have to add any more for a webmanifest :)
Maybe I can find or make relevant issue to post to Android somewhere!

Hey so I found the manifest settings here: https://github.com/cheeaun/phanpy/blob/main/vite.config.js (from line 77)
I've added a line to darken the splash background in my fork: https://github.com/sarajw/phanpy/blob/main/vite.config.js
I can imagine that someone using it on a phone might find a dark background jarring too - so I'm not immediately going to turn it into a pull request. But it works :)


Bump microcks-testcontainers-java to 0.2.10

Upgrade to newest version of microcks-testcontainers-java

Now done.


"Error switching storefront" when signing in

When sign in on Travis, mas signin is failed with exit code 6 and with message Error switching storefront, see https://travis-ci.org/cybertk/vagrant-box-osx#L257.
But actually, mas signin is succeed as mas account returns valid account.

I think this is valid behaviour with the error. I will try to investigate what caused it but I have seen it before using the regular App so I don't think there's much I can do.
It's probably related to switching region

I think mas should exit with 0 in this case. Maybe mas should fail only when both ISStoreAccount.primaryAccount == nil and ISStoreAccount.signIn throwing errors

If the primary account matches the login details then that is a good idea. If you want to make a PR I can take a look


The app should 're-lock' (require credentials again)

I would like it to re-lock and request device credentials again:

Immediately after the screen has been locked
After a certain time of non-usage (e.g. 60 seconds)
Maybe: when exited through the back button

This seems reasonable, I will look into it.
Maybe. I still have to find a good way to detect user inactivity on Android ... anyone who knows how to do this feel free to submit a pull request.
This should already happen. If I exit my app with the back button and switch back to it it will ask for authentication again.

Indeed, 3 seems to work. I probably pressed the menu button.

I just implemented 1, it will be included in the next release.

Awesome! Thanks for your work.

I bet you never saw this coming but, can we have 1 as an option? About once a month I go on a maintenance spree, using 2FA ~20 times in a row. So I have to unlock the app a lot!

Sure, I had the idea already to make it optional. Just never had time to implement it.

@icetbr Just implemented it, will be in the next version.

The last point (re-lock after inactivity) was just implemented in #390 :tada:


Need to manually update bonsai workflows after pulling from github

The bonsai workflow files are version controlled in this repository.
After pulling new updates, if a computer has specific configurations they need to be manually updated. For example, disabling the opto settings.
We should have a solution that handles this automatically, one to reduce the amount of steps in updating code, and two to reduce chances of mistakes.

@hanhou @XX-Yin and I discussed this

The issue is that some settings in Bonsai are rig specific (@XX-Yin can you document which settings?). Thus, when we pull from github those settings are not preserved.
One option is to separate the bonsai workflows from the GUI repo. The workflows are updated less often, and so we can reduce this issue. This solution is relatively easy to implement, but we worry about having multiple repositories
The other option is to save all rig specific parameters in a settings file on the computer. We aren't sure how exactly to implement this with Bonsai. (@XX-Yin can you contact Neurogears and investigate?)

Specific settings for each rig.

Harp behavior COM port (saved in a csv file).
Sound card COM port (saved in a csv file).
OSC ports (saved in a csv file).
Camera USB ports (manually set; the camera is in a different bonsai workflow, and we only need to update the USB ports when we restart the computer).
Photometry ROI ... (@hagikent can you provide more information about the photometry-specific settings?)

For FP:
5. Photometry ROI -> I'm not sure for "Regions" property in ROIactivity. I'm consulting Bruno if there is a neat way.
6. Serial numbers for SpinakerCapture (can be easily externalize in a csv file)
7. Camera USB ports (can be easily externalize in a csv file).   *same as #4 but here cameras are recorded

@XX-Yin Regarding issue 4 about the Camera USB ports. They need to be manually set everytime the computer is restarted? Can we automate that?

@XX-Yin Regarding issue 4 about the Camera USB ports. They need to be manually set everytime the computer is restarted? Can we automate that?

Yes, I think we can automate this using a similar approach to automating the Harp COM port. I need to test this.

For the past couple weeks, I see it (Genetric Camera index) frequentry changed. Might be due to physical unplug/replug.
Note, this will not be an issue once cameras are replaced with high-speed videography where you can specify Serial# (exactly the same as Point6). However, considering not all rigs will have it replaced, having a solution at this point sounds nice.

related to https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/16

@XX-Yin I believe we can close this issue (and #16, and https://github.com/AllenNeuralDynamics/aind-behavior-blog/issues/93, which are redundant) now that the fiber photometry workflow has been removed from the rest of the bonsai workflow. What I mean by that is now a git pull from origin/main on dynamic-foraging-task will run on all the rig computers without any manual interventions.
Do you agree?
#50 is still active, but that is a separate issue.

Yes I agree.

Closing this and related issues


Fix: alternate build targets

The old build scripts didn't use the given arguments to discover the binary's path, among other fixes.

There seems to be an issue causing arch to be undefined when npm explore node-sass -- npm run build is run, causing the binary to be written to the wrong folder. I can't begin to figure out why it's happening


FREQ: Customized alpine image w/ preconfigured multiple NICS or aliases

Hi,
Thanks for this image!
Due to the limitations in Docker build, there is no way to run privileged actions. It's been years since this feature request was posted, but it's a foregone conclusion that Docker will not be implementing this feature anytime soon.
Since I can't run ifconfig/ip to add virtual interfaces and/or ip aliases to eth0, during docker build, I was hoping to circumvent this limitation at the image level i.e. alpine with at least 2 NICs or alpine's eth0 with at least one alias.
For my use case, it would allow me to host a STUN server, without having to fire up another instance, just so each would have a secondary STUN ip, in compliance with RFC 5389.
I'm sure others out there have a need for such an image. If there was some way for a user to customize the IPs/NICs, it would be ideal.

@adam-law How is this GCC image related to the issue you describe?

@frol Sorry, I was away, and if this was a noob question. I wanted to know how to modify the image in order for it to have the aforementioned settings in it. Without it, there's currently no easy way to tell Docker, or services like Kubernetes to deploy an image with these settings.
For exampled Dockerfile does not allow me to run ifconfig / ip, which would make what I want to do, trivial.

You can implement a custom entrypoint script, which will be executed on the container start.

👍 Thank you for the suggestion @frol. I did come across that option, though my preference is obvious. I'll explore this option then :) Still, great project!


compare meshes, unify signatures, and improve performance

I used the following code to compare the performance of our different mesh types (running Julia v1.6 with julia --check-bounds=no --threads=1).
julia> using Trixi, BenchmarkTools

julia> begin
           polydeg = 3
           tspan = (0.0, 1.0e-10)

           for elixir in ["benchmark/elixir_2d_euler_vortex_tree.jl",
                          "benchmark/elixir_2d_euler_vortex_structured.jl",
                          "benchmark/elixir_2d_euler_vortex_unstructured.jl",
                          #"benchmark/elixir_3d_euler_source_terms_tree.jl",
                          #"benchmark/elixir_3d_euler_source_terms_structured.jl",
                          ]
               println("#"^80)
               println(elixir)
               redirect_stdout(devnull) do
                   trixi_include(elixir; polydeg, tspan)
               end
               du_ode = similar(ode.u0); du = Trixi.wrap_array(du_ode, semi)
               u_ode = copy(ode.u0); u = Trixi.wrap_array(u_ode, semi)
               display(@benchmark Trixi.rhs!($(du_ode), $(u_ode), $(semi), $(first(tspan))))
               display(@benchmark Trixi.calc_volume_integral!($du, $u, $mesh,
                           $(Trixi.have_nonconservative_terms(equations)),
                           $equations, $(solver.volume_integral), $solver,  $(semi.cache)))
               if mesh isa CurvedMesh
                   display(@benchmark Trixi.calc_interface_flux!($(semi.cache), $u, $mesh, $equations, $solver))
               else
                   display(@benchmark Trixi.prolong2interfaces!($(semi.cache), $u, $mesh, $equations, $solver))
                   display(@benchmark Trixi.calc_interface_flux!($(semi.cache.elements.surface_flux_values),
                               $mesh, $(Trixi.have_nonconservative_terms(equations)),
                               $equations, $solver, $(semi.cache)))
               end
           end
       end

Using the changes made in this PR, I get (showing only the benchmarks for rhs!)
################################################################################
benchmark/elixir_euler_vortex_tree.jl
BenchmarkTools.Trial:
  memory estimate:  544 bytes
  allocs estimate:  8
  --------------
  minimum time:     97.368 μs (0.00% GC)
  median time:      99.162 μs (0.00% GC)
  mean time:        100.917 μs (0.00% GC)
  maximum time:     250.850 μs (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     1
################################################################################
benchmark/elixir_euler_vortex_structured.jl
BenchmarkTools.Trial:
  memory estimate:  544 bytes
  allocs estimate:  8
  --------------
  minimum time:     99.542 μs (0.00% GC)
  median time:      100.742 μs (0.00% GC)
  mean time:        102.777 μs (0.00% GC)
  maximum time:     262.146 μs (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     1
################################################################################
benchmark/elixir_euler_vortex_unstructured.jl
BenchmarkTools.Trial:
  memory estimate:  768 bytes
  allocs estimate:  9
  --------------
  minimum time:     130.149 μs (0.00% GC)
  median time:      132.214 μs (0.00% GC)
  mean time:        135.632 μs (0.00% GC)
  maximum time:     307.331 μs (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     1

On main without the change from FluxRotated(flux_lax_friedrichs) to flux_lax_friedrichs with a specialization of flux to normal::AbstractVector instead of orientation::Integer, the CurvedMesh has an additional overhead of ca. 25 μs, which is roughly 25% of the total time for rhs!.
The UnstructuredMesh has the variant of FluxRotated hard-coded right now, so it didn't benefit immediately. Hence, we should switch to the same version used for the CurvedMesh.
Results from Rocinante using one thread at ccafced428323f3afb50f1312b5e6c03578ed42c

ID
time ratio
memory ratio

["2d", "elixir_euler_nonperiodic_curved.jl", "p3_rhs!"]
0.87 (5%) :white_check_mark:
1.00 (1%)

["2d", "elixir_euler_nonperiodic_curved.jl", "p7_rhs!"]
0.92 (5%) :white_check_mark:
1.00 (1%)

["3d", "elixir_euler_nonperiodic_curved.jl", "p3_rhs!"]
0.66 (5%) :white_check_mark:
1.00 (1%)

["3d", "elixir_euler_nonperiodic_curved.jl", "p7_rhs!"]
0.78 (5%) :white_check_mark:
1.00 (1%)

TODO

[x] Adapt all 1D, 2D (serial and parallel), and 3D signatures of functions called in rhs! to dispatch on the mesh
[x] Implement fluxes dispatching on normal::AbstractVector to improve performance
[x] Get rid of FluxRotated in elixirs (but keep one example for CI)
Fix some TODO: Meshes (also tracked in #542)

Closes #506

So what does this PR mean for numerical fluxes in curved meshes: flux_lax_friedrichs can directly be used in a curved way, so does flux, but all other numerical fluxes would have to be fixed?

Yes, exactly. Alternatively, other numerical fluxes can use FluxRotated for now unless someone needs more performance and implements versions dispatching on normal::AbstractVector.

So what does this PR mean for numerical fluxes in curved meshes: flux_lax_friedrichs can directly be used in a curved way, so does flux, but all other numerical fluxes would have to be fixed?

Yes, exactly. Alternatively, other numerical fluxes can use FluxRotated for now unless someone needs more performance and implements versions dispatching on normal::AbstractVector.

This sounds like a good compromise to me. However, this should definitely be introduced at the next Trixi meeting and preferably also captured in the docs, as it is not 100% clear from reading the code alone

Thanks a lot for the docs, @ranocha!


PowerShell on Target Machines - Deployments using 'test hub: machine groups' is no longer supported

Environment

Server - VSTS
Agent - Private

Issue Description
We use "Powershell on Target Machines" task for deployment and it is suddenly not working today. Error shown below.
Error logs
2018-02-05T16:54:39.2854265Z ==============================================================================
2018-02-05T16:54:39.2854404Z Task         : PowerShell on Target Machines
2018-02-05T16:54:39.2854533Z Description  : Execute PowerShell scripts on remote machine(s)
2018-02-05T16:54:39.2854645Z Version      : 1.0.47
2018-02-05T16:54:39.2854751Z Author       : Microsoft Corporation
2018-02-05T16:54:39.2854880Z Help         : [More Information](https://go.microsoft.com/fwlink/?linkid=627414)
2018-02-05T16:54:39.2855139Z ==============================================================================

2018-02-05T16:54:42.9114310Z ##[debug]Unable to create a environment object for given json - Unexpected character encountered while parsing value: Q. Path '', line 0, position 0.
2018-02-05T16:54:45.9214309Z ##[error].};]
2018-02-05T16:54:45.9214614Z ##[debug]Processed: ##vso[task.logissue type=error;code={"Task_Internal_Error":Deployments using 'test hub: machine groups' is no longer supported. Refer to https://go.microsoft.com/fwlink/?LinkID=799742&clcid=0x409 for more information or get help from Developer Community [https://developercommunity.visualstudio.com/spaces/21/index.html].};]
2018-02-05T16:54:45.9214885Z
2018-02-05T16:54:45.9214951Z
2018-02-05T16:54:45.9255351Z ##[error]System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployments using 'test hub: machine groups' is no longer supported. Refer to https://go.microsoft.com/fwlink/?LinkID=799742&clcid=0x409 for more information or get help from Developer Community [https://developercommunity.visualstudio.com/spaces/21/index.html].
2018-02-05T16:54:45.9255814Z ##[debug]Processed: ##vso[task.logissue type=error;]System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployments using 'test hub: machine groups' is no longer supported. Refer to https://go.microsoft.com/fwlink/?LinkID=799742&clcid=0x409 for more information or get help from Developer Community [https://developercommunity.visualstudio.com/spaces/21/index.html].
2018-02-05T16:54:45.9256304Z    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
2018-02-05T16:54:45.9256553Z    at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
2018-02-05T16:54:45.9256738Z    at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
2018-02-05T16:54:45.9256907Z    at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
2018-02-05T16:54:45.9257228Z    at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
2018-02-05T16:54:45.9257539Z    at Microsoft.TeamFoundation.DistributedTask.Handlers.LegacyVSTSPowerShellHost.VSTSPowerShellHost.Main(String[] args)
2018-02-05T16:54:45.9380823Z ##[error]LegacyVSTSPowerShellHost.exe completed with return code: -1.

@thomasmktong - As you can see from the error message, the usage of "machine groups" from "test hub" has been decommissioned. More details at https://go.microsoft.com/fwlink/?LinkID=799742&clcid=0x409. Please look for the guidance in the same page on how to move away from the "test hub: machine groups" usage.
If you are not using "test hub: machine groups" but still seeing this issue, then please mail your account name to<EMAIL_ADDRESS>

Thanks, just sent the email. We are not using "test hub: machine groups". Actually if that feature has retired since Jan 31st 2018 our jobs would have been failed for few days, but it only happened since yesterday.

@thomasmktong to unblock yourself, could you please change the task version to 2.x. We are looking to address the issue you reported in older version. Moving to 2.0 can unblock you faster.

Hi, it's happening here too, switching to 2.0 didn't solved. I'm still getting the same error.

Same here...getting this same error on two of our release definitions even though we are using our own machines

Forgive me, I had to re-release process. Switching to 2.0 solved the problem.

@Shriram-A-R could you please try to switch to 2.x version of task and check if it works for you

@chshrikh Thanks for the recommendation. Yes, switching to 2.* version worked for me as well.

We also started to have this error in "Windows Machine File Copy" and "PowerShell on Target Machines" yesterday. We are not using "test hub: machine groups". Switching to version 2.* of both task types resolved the problem.

this has been fixed now


Add CodeOwners Plugin

This adds the CODEOWNERS file feature.
See GitLab docs, and GitHub docs
AFAIK they are identical.

1.0 is broken cos of https://github.com/JuliaCI/PkgTemplates.jl/issues/370


encoder.json/vocab.bpe show up in every project that uses SK

Bringing in the Microsoft.SemanticKernel nuget package causes these files to show up in the consuming application:

and they end up in the output directory for the application, regardless of whether the app is using the tokenizer or not.

I'd opened https://github.com/microsoft/semantic-kernel/pull/1800 to turn them into assembly resources instead, so that they'd simply be part of the assembly and not separate files, but it was closed due to a lack of a decision about what to do with it.

Echoing my comment on #1800
Bringing up SharpToken as this would solve 1) embedding of the tokenization resource files 2) extracting the tokenization logic to a separate package (maybe wrapped as an official SK package in the future) and 3) bug https://github.com/microsoft/semantic-kernel/issues/2334.

One other option could be to move the tokenizer into an extension package for OpenAI connector.


Use dev feed when connected to gesel, gesel-dev or rococo

We have now introduced a dev feed for playing around: https://github.com/encointer/feed/pull/10

Alternatively, shall we switch the link depending on the developer options instead of the network?

Consensus: use the developer mode flag.

Our final decision is to use the dev feed if the application is in dev mode. Did i understand correctly?

We are currently using the feed for two purposes in the application:

community-messages
encointer-feed-overrides

Question:
We don't have an overrides.json file in the feed/dev folder. Should we add it?
const encointerFeed = 'https://encointer.github.io/feed';
const communityMessagesPath = 'community_messages/$localePlaceHolder/cm.json';
const encointerFeedOverridesPath = 'overrides.json';

String getEncointerFeedLink({bool devMode = false}) {
  return !devMode ? encointerFeed : '$encointerFeed/dev';
}

We don't have an overrides.json file in the feed/dev folder. Should we add it?

Yes please!


fix(Makefile): fix commit-msg task

When contrib scripts were moved to _scripts this didn't get updated.
Now that we have many deis repositories however, it may more sense to remove this from here and instead move it to the documentation.

Current coverage is 82.45%

Merging #558 into master will not affect coverage as of 9b63d1c

@@            master    #558   diff @@
======================================
  Files           36      36
  Stmts         2303    2303
  Branches       331     331
  Methods          0       0
======================================
  Hit           1899    1899
  Partial        115     115
  Missed         289     289

Review entire Coverage Diff as of 9b63d1c

Powered by Codecov. Updated on successful CI builds.

it may more sense to remove this from here and instead move it to the documentation.

Yes, and/or add it to the prototype-repo and try to ensure each component has it.

I think the prototype repo would be ideal, but whenever the script is updated it would require ~10 PRs and everybody would need to run make commit-hook for every repo, which might be unmaintainable.
I'd be happy to go whatever way people think makes the most sense.


Text component adds some unintentional  "carriage return" when listing values with dot prefix

Description
The  component act strangely when listing some values with a dot prefix.
it adds some "carriage return" to the text... Can be seen in Android and iOs
Please see Stack Overflow ticket
Version
0.64.3
Output of npx react-native info
info Fetching system and libraries information...


✖ Failed to upload subgraph to IPFS: Failed to upload file to IPFS: HTTPError: Forbidden Only certain IPFS methods are allowed

When following the sample deployment, subgraph errors out when calling npx graph deploy
This is using the config file shown in the example

You might not be using the correct version of IPFS. I remember thegraph used to not work with the latest version of ipfs.
You should check this repo and direct your questions directly to thegraph

Thanks Hadrien, will give that a whirl


BUG: Remove unused virtual operator!=, operator== from ColormapFunction

The virtual ColormapFunction member functions operator!= and
operator== appear incorrect, as they always just return false or
true, respectively, even while ColormapFunction has four values as
data members, and corresponding setters and getters.
The two member functions aren't used elsewhere in ITK, and they aren't
overridden by derived ITK classes. So instead of fixing them, it appears
preferable to just remove them.

Sounds and looks good to me.


Verify that RNN is not actually "downward dependent" using jacobian plots/tests

The design of the microphysics model RNNBLock and FieldOutput "undoes" the vertical dependence structure we tried to enforce.

Plots show that d(output[i])/d(input[j]) != 0 for i > j

https://github.com/ai2cm/explore/blob/master/andrep/microphysics/2021-11-29-top-down-gradient-constraint.ipynb

Cool plots! I'm also surprised by how noisy the jacobian is for some fields. Maybe some regularization could help.


Onboard Viva Access Management Schema

Please review @lindalu-MSFT

@lindalu-MSFT Please review.

@snehitgajjar I merged to live just now, should be available on production shortly!


feat: refactor blas/ext/base/scusumpw to follow current project conventions

updates blas/ext/base/scusumpw to follow current project conventions
Related Issues

Does this pull request have any related issues?
Yes
Issue #788
Issue #1152

This pull request:

resolves part of #1152
fixes #1520

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Hi @Pranavchiku. whats the status of the pr?


bitmagnet: 0.0.6 -> 0.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/bitmagnet-io/bitmagnet/releases.
meta.description for bitmagnet is: A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine
meta.homepage for bitmagnet is: https://bitmagnet.io/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.3.1 with grep in /nix/store/03l21wk7vbwyblja62w2s15f8yla6ck2-bitmagnet-0.3.1
found 0.3.1 in filename of file in /nix/store/03l21wk7vbwyblja62w2s15f8yla6ck2-bitmagnet-0.3.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
bitmagnet

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/9bedb743da1f78670cffc4c97957fbb97c4bfd4d#bitmagnet

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

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

1 package built:

bitmagnet

Maintainer pings
cc @eclairevoyant for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/bitmagnet-io/bitmagnet/releases.
meta.description for bitmagnet is: A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine
meta.homepage for bitmagnet is: https://bitmagnet.io/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.1 with grep in /nix/store/7v03x4ikbg0ssna305pxzy7bx31vgcls-bitmagnet-0.4.1
found 0.4.1 in filename of file in /nix/store/7v03x4ikbg0ssna305pxzy7bx31vgcls-bitmagnet-0.4.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
bitmagnet

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/4cfc60940a34e7787d207b17085c163cdcf459b0#bitmagnet

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

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

1 package built:

bitmagnet

Maintainer pings
cc @eclairevoyant for testing.

Closed by #276901.


Update VS2015 image reference

Partially resolves #294 for the VS2015 Enterprise with Azure SDK image.
Unless another image is made available in the marketplace, the SQL Server image would need to use SQL Server 2014 (+file rename to match) or be upgraded to Win2016 and moved to the other folder.

The available images I see for SQL Server Express that are similar:
SQL2016SP1-WS2016
SQL2014SP2-WS2012R2


Template name fixes + Change phase event implementation

#1877
#1922

Codecov Report
Attention: Patch coverage is 63.07692% with 24 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (develop@0772bb9). Click here to learn what that means.

Files
Patch %
Lines

...rack-api/src/api/actions/change_phase_end_event.py
16.66%
15 Missing :warning:

epictrack-api/src/api/actions/set_events_status.py
10.00%
9 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #1921   +/-   ##
==========================================
  Coverage           ?   75.84%
==========================================
  Files              ?      280
  Lines              ?     9121
  Branches           ?        0
==========================================
  Hits               ?     6918
  Misses             ?     2203
  Partials           ?        0

Flag
Coverage Δ

epictrack-api
75.84% <63.07%> (?)

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

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


Voicechat falloff

Seems way too aggressive falloff.
Seems too poinpoint-y. Within e.g. arm's distance we should probably make it fill blast. Might not be realistic but better UX.

Sure, seems reasonable. Human hearing definitely isn’t linear falloff, and I doubt it’s quadratic.
One thing: directionality is very important to preserve. Whatever we do, make sure someone can tell when someone is behind them vs in front of them.


Out of memory errors should fail gracefully

Perhaps we should also check hash table parameters on the Python side to see if there is enough free memory.

Oops, this is a duplicate of #111, which I had my own pull request to fix, #704
@ctb, how shall we move forward? (see also https://github.com/ged-lab/khmer/pull/704#issuecomment-68304128)

On Thu, Feb 19, 2015 at 02:43:30PM -0800, Michael R. Crusoe wrote:

Oops, this is a duplicate of #111, which I had my own pull request to fix, #704
@ctb, how shall we move forward? (see also https://github.com/ged-lab/khmer/pull/704#issuecomment-68304128)

If @sherine.awad is willing to see this through, go for it.  Perhaps we can
have Linux-only tests?

@ctb @mr-c  worked on this just for practicing github.  So whatever you decide is ok with me :)

Sherine's work so far is a subset of #704. I can add the linux attributes to the tests and exclusions to the regular places.
@SherineAwad: sorry for wasting your time!

No waste of time, its a more practice for github and I can assign myself something else :)

Closing as this is a duplicate of #111


why not add makefile for c,cpp for ubuntu(or other linux)?

just A suggestion

Wnat can I do for you ?

for example, a simple 'make' to building all c and  cpp to executalbe,
I can do this later too, just too busy recently.


Fixing some codeSmells

Fixing the following code smells found in SonarCloud:
at pkg/controllers/externalsecret/externalsecret_controller_test.go:

Define a constant instead of duplicating this literal "test-secret" 3 times.
Define a constant instead of duplicating this literal "fake.manager" 4 times.
Define a constant instead of duplicating this literal "SOMEVALUE was templated" 3 times.
Define a constant instead of duplicating this literal "{{ .targetProperty | toString | upper }} was templated" 3 times.
Define a constant instead of duplicating this literal "map-foo-value" 6 times.
Define a constant instead of duplicating this literal "map-bar-value" 5 times.

/ok-to-test

/approve

/merge


Only change and precondition servers component.

I have not yet tried this out.

Obsolete due to fixes in agency preconditions.


Crm457 1612 fix translation

Description of change
CRM4 - Content Change - Service Type - Translation (documents)

Add Cost Multiplier To Service Type Rules
Default Cost Multiplier To 1 If Not Provided In Initiailization
Set Cost Multiplier To 0.001 For Translation (documents)
Use Cost Multiplier In Service Cost Form
Add Cost Item to Service Type Rule For Alternate Qualifiers (such as thousand words instead of words)
Update Tests

For the sake of expediency it may be worth addressing this in a separate PR, but error messages will need to be updated to use "1000 words" here:


errors in DeepL translation

Describe the Bug
For the last few weeks, DeepL translations in the system came back with the wrong word order when a "do-not-translate"-tag was involved. This issue only happens when the dnt-tag is used within a continuos text, not when it stands alone (i.e. in the contact details).
As far as we can tell, this happens for all DeepL languages except English and French. I have contacted DeepL and will update this thread with any information they send.
While searching for what the problem might be, I found this foru for WPML: https://wpml.org/forums/topic/word-in-wrong-order-with-automatic-deepl-translations/
Even though this refers to glossaries, the resulting issue is exactly the same - which leads me to believe that it is not something we can change.
Steps to Reproduce

Go to https://admin.integreat-app.de/testumgebung/pages/de/42661/edit/
Check position of dnt-tags
Change to e.g. Romanian
See that the German words (the ones that were marked with dnt) are at the beginning of the sentence.

Expected Behavior
German words are placed at the correct position within the continuos text.
Actual Behavior
German words are placed at the beginning of the sentence.
Additional Information
The following translation was done on Oct. 29th

The following translation was done in April 2024 (https://admin.integreat-app.de/lkkarlsruhe/pages/ro/11489/edit/)

curl -X POST "https://api.deepl.com/v2/translate" --header "Authorization: DeepL-Auth-Key [yourAuthKey]" --header 'Content-Type: application/json' --data '{"source_lang": "de", "target_lang": "ro", "tag_handling": "html", "text": ["
Für alle Kinder in Deutschland besteht ab der Geburt bis zur Vollendung des 18. Lebensjahres (in Einzelfällen auch darüber hinaus) Anspruch auf Kindergeld (Kindergeld).  Copilul trebuie să locuiască în gospodăria dumneavoastră și să fie îngrijit de dumneavoastră.
"}]}

Received:

{"translations":[{"detected_source_language":"DE","text":"
KindergeldToți copiii din Germania au dreptul la alocații familiale ( )de la naștere până la vârsta de 18 ani (în unele cazuri chiar și după această vârstă ). Copilul trebuie să locuiască în gospodăria dumneavoastră și să fie îngrijit de dumneavoastră.
"}]}

Test-CMS page: https://integreat-test.tuerantuer.org/testumgebung/pages/de/41799/edit/

I found a very simple test case that demonstrates the issue with the curl requests documented inhttps://developers.deepl.com/docs/api-reference/document

Hallo (Welt)

results in

WeltПривіт ( )

BUT

Hallo (Welt)

translates correctly to

Привіт. (Welt)

@svenseeberg DeepL replied - I'll forward the email to you and attached it as a text file here
Fwd  [DeepL] Re  Request no. 506982 - Translation of text _ DeepL API - Daniel Kehne<EMAIL_ADDRESS>- 2024-11-06 1143.txt

I can't reproduce that it works now - I'll test the other things he mentioned

And I cannot remove the " around the class="notranslate" dir="ltr" translate="no" - so I cannot test that


E-Book design - initial design

@coke @lizmat I'm creating an issue here and tagging you both, but maybe I should tag a group?
This is in issue form for feed back. I don't think discussions generate much feedback.
Abstract
The E-Book format being targetted is 'epub' as it seems the most widely support and is open-source. An epub can be characterised as a web in a file container that a ebook reader can display. The epub website will be simpler than the internet live website.
Detail
The following simplifications are my initial thoughts as I implement the epub. If anyone has other suggestions based on epub creation experience, please let me know. Otherwise, I expect the first epub creation (draft?) will generate lots of suggestions when we can test it on real users and varied e-book readers.
The simplifications:

The web page headers (ebook chapter headings) will be simpler and do not need so much navigation.
The Table of Contents, a standard in books and replacing the navigation bars common in 'live' websites, will contain

the three main tabs (as book sections) - Introduction, Reference, Miscellaneous
within each section, web pages (eg. language/operators) will be listed as chapters, and within each chapter the web page's own Table of Contents will be listed as next level contents.

There will not be a search function (initially, but one may be added in due course when someone in the community figures out the possibilities of search in an epub)
The relation graphs will be omitted for Type pages.

The reason for this is that the graphs are very large and there are a lot of them. On a website, the graphs are only loaded when a page with a graph is requested from the server. In an epub, they would all need to be included in the book, making it very large.

The secondary (aka Composite) files are not created or included

There are several thousand secondary pages. All the information in them is contained in the primary pages.
links to secondary files will initially yield 404 type errors in the epub.
A better strategy will need to be thought about.

This seems like a great first pass! I especially agree about skipping the class hierarchy images and the majority of the generated pages. We might want to have some generated pages just for the epub- maybe an intro page only to start? I can provide some content for that page.

@coke It seems that there is a significant difference between epub v2 and epub v3 in so far as Table of Contents are created and read (toc.ncx vs toc.xhtml). I am going to target v3 initially. This might reduce the ability of some ebook readers. If users report a problem, we can add a separate toc.ncx to the ebook data.

@dontlaugh I merged part of the docs-dev branch into main. The patch related to putting commit id information into the edit button.
I thought I had deleted the branch.
Then I uploaded a large number of files into the EBook directory as part of a "new" 'docs-dev' branch.
But there is no new PR.
I am confused as to what has happened.
The changes to EBook will NOT affect the website!
In order for Collection to build the EBook, the command bin_files/build-site EBook would need to be executed.
Note that the flag --without-completion should not be added (which is needed to build the website).
Running build-site EBook will generate a directory unzipped-ebook and RakuDocumentation.epub in the repo's root.

PRs are not automatically created.
On Fri, Apr 26, 2024 at 6:13 PM Richard Hainsworth @.***>
wrote:

@dontlaugh https://github.com/dontlaugh I merged part of the docs-dev
branch into main. The patch related to putting commit id information into
the edit button.
I thought I had deleted the branch.
Then I uploaded a large number of files into the EBook directory as part
of a "new" 'docs-dev' branch.
But there is no new PR.
I am confused as to what has happened.
The changes to EBook will NOT affect the website!
In order for Collection to build the EBook, the command bin_files/build-site
EBook would need to be executed.
Note that the flag --without-completion should not be added (which is
needed to build the website).
Running build-site EBook will generate a directory unzipped-ebook and
RakuDocumentation.epub in the repo's root.
—
Reply to this email directly, view it on GitHub
https://github.com/Raku/doc-website/issues/356#issuecomment-2080181669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMIUOXVBR445BAIHLPRZ3Y7LGQZAVCNFSM6AAAAABFGWVHF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGE4DCNRWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Also you committed directly to main with a commit message of "docs-dev",
not to a branch.
https://github.com/Raku/doc-website/commit/98f36e73211a7b7675be59716a631f7f0b9c9989
On Fri, Apr 26, 2024 at 6:14 PM Will Coleda @.***> wrote:

PRs are not automatically created.
On Fri, Apr 26, 2024 at 6:13 PM Richard Hainsworth <
@.***> wrote:

@dontlaugh https://github.com/dontlaugh I merged part of the docs-dev
branch into main. The patch related to putting commit id information into
the edit button.
I thought I had deleted the branch.
Then I uploaded a large number of files into the EBook directory as part
of a "new" 'docs-dev' branch.
But there is no new PR.
I am confused as to what has happened.
The changes to EBook will NOT affect the website!
In order for Collection to build the EBook, the command bin_files/build-site
EBook would need to be executed.
Note that the flag --without-completion should not be added (which is
needed to build the website).
Running build-site EBook will generate a directory unzipped-ebook and
RakuDocumentation.epub in the repo's root.
—
Reply to this email directly, view it on GitHub
https://github.com/Raku/doc-website/issues/356#issuecomment-2080181669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMIUOXVBR445BAIHLPRZ3Y7LGQZAVCNFSM6AAAAABFGWVHF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGE4DCNRWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@coke @dontlaugh (please read question below)
I am still very much a newbie when it comes to git. Please have patience with me. After a good night's sleep, here's what I think is the situation (you may know this already, in which case I'm explaining to myself):

The work I did on the docs-dev branch relating to commit-id info was merged to main with 98f36e7.
These changes can be seen in the main branch now
build-kite shows these patches are not affecting the current work flow
I deleted the docs-dev branch, but then replied to @coke, which seems to have re-opened it.
I then uploaded a whole set of new patches to docs-dev relating to EBook.
These files can be seen in the docs-dev branch, but not the main branch

Some questions:
question-1. @dontlaugh How to take this work further? I suggest adding the following to .buildkite/pipeline.yaml
  - label: "Build Ebook"
    key: ebook
    if: build.branch == 'docs-dev'
    depends_on:
      - build
    commands:
      - "./bin_files/build-site --no-status EBook"

I have not done this because I do not know the consequences for the build-kite process
The effect of the last command would create 'RakuDocumentation.epub' in the root directory.
question-2. @dontlaugh how do we make the epub available on line? Does it need to be added to the container served by Caddy?

@coke You said

We might want to have some generated pages just for the epub- maybe an intro page only to start? I can provide some content for that page.

I have adapted the About page from the website, but it's not really good. So, please change it.
The source is EBook/structure-sources/about.rakudoc

Note the :kinds<...> :subkinds<...> :category<...> metadata in the source's =begin rakudoc line.
These metadata are contatenated to create keys in hashes that  are used to define the order of the files in the ToC and the reading order (called spline data). Some sets of data have a defined order at the top.
Unknown keys (not pre-defined in 'embed-ebook`) are then sorted alphabetically for the ToC and spline data.

If you want to create a file that is at the end (but before the Index) then make kind<ZZZ> or something that sorts last.

@coke I have modified my new-raku deployment to download the ebook. It can be accessed by clicking on 'More' in the top-page navigation bar. Clicking on Download Ebook pops up a modal with the download link.
This one UX. Other ideas are possible. Let me know your preferences for the official website.
The EBook - I am sure - needs some TLC. It needs a cover. The CSS needs changing, particularly for the code snippets, which mess up my Calibre reader if the page width is not wide enough.
I have only tested it on a desktop.

There is no download - I get a popup saying I can press Escape.

The download fails to import into Apple Books app. No errors are given.

I was able to read it with 'brew install --cask calibre' and then using calibre to read the epub. Definitely agree that this needs some tweaking, but it's already good enough to be able to search for (e.g.) uniprop and read the docs.

@coke I dont have access to a Mac. I searched Apple Books & epub, and there is a way to import epub. But the description does not mention whether Apple Book App will read the Epub v3 spec or only v2.
Current version in this patch targets v3.
I've done as much as I can at present, and I need to return to the RakuAST Rakudoc v2 renderer.
For others to help on the CSS, all it takes (I hope), is to tweak the SCSS files in ebook-embed.

If you can update the popup window to mention the epub v3 restriction, I have no problem with this getting merged to main

FYI:
13:12 < lizmat> fwiw, I've downloaded Yomu and that at least opens it after complaining it's not compliant because of
                missing TOC

@coke

I can add reference to v3 to the Popup for my new-raku deployment.
I'll add a patch to docs-dev to incorporate this UX
It will 404 on docs-dev.raku.org without a change to the infra-structure script, which I dont want to change without feedback from @dontlaugh
I've seen @lizmat 's comment. It looks to me to be related to the v2 standard. Epub v2 requires a toc.ncx file.
I'm looking at creating one in parallel with the xhtml one.

@coke

new text on new-raku
docs-dev now has a patch to add item to Nav bar (text from new-raku))

Ebook is now available on https://docs.raku.org (click the "More" navigation link)

closing design thread. Failure issues in #374


Fix suggestions popover event listener bug (#5586)

Pull request opened by the merge tool on behalf of #5586

Merged in 0e08d70c13cccf9bdb64a7632fc91f5104bcf134


community: implement show_progress consistently

Description: This implements show_progress more consistently (i.e. it is also added to the HuggingFaceBgeEmbeddings object).
Issue: This implements show_progress more consistently in the embeddings huggingface classes. Previously (and still) this could have been set via encode_kwargs.
Dependencies: None
Twitter handle: @jonzeolla

@JonZeolla is this a breaking change for users that were passing it via encode_kwargs?

@eyurtsev Yes, it would break with the following:
TypeError: sentence_transformers.SentenceTransformer.SentenceTransformer.encode() got multiple values for keyword argument 'show_progress_bar'

This should not be merged yet.

Is there a specific commit title (community[major]: or !feat:) to indicate the breaking change?

@JonZeolla currently community[major]. (we may adopt https://www.conventionalcommits.org/en/v1.0.0/ at a later stage later.)
But we try to avoid making breaking changes like these -- it makes the API a bit prettier, but can cause user code to break without a good reason.
Instead if you can, make it backwards compatible so if a user passes show_progres=True via the kwargs, it'll still apply that correctly, but also raise a deprecation warning. You can use
from langchain_core._api import warn_deprecated for deprecation warnings. And target for remove in release 0.4.0.
There's a bit of information here about release policy that may or may not be useful (https://python.langchain.com/v0.2/docs/versions/release_policy/#langchain-and-langchain-core)

No problem, will do

@eyurtsev should be all set now


allow querying federated sharing roles

When listing permissions clients can now fetch the list of available federated sharing roles by sending a GET /graph/v1beta1/drives/{driveid}/items/{itemid}/permissions?$filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition, '@Subject.UserType=="Federated"')) request. Note that this is the only supported filter expression. Federated sharing roles will be omitted from requests without this filter.
The /roleManagement/permissions/roleDefinitions also returns the new roles. Filtering them is done in a subsequent PR which requires https://github.com/owncloud/ocis/pull/9727
server part of https://github.com/owncloud/ocis/issues/9745
 $ curl 'https://cloud.owncloud.test/graph/v1beta1/drives/storage-users-2%244c510ada-c86b-4815-8820-42cdf82c3d51/items/storage-users-2%244c510ada-c86b-4815-8820-42cdf82c3d51!f071293a-7cfe-4361-813d-008b791b113c/permissions?$filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition,%20\'@Subject.UserType=="Federated"\'))' -H 'Authorization: Bearer your.jwt.token'  -k | jq
{
<EMAIL_ADDRESS>[
    "libre.graph/driveItem/permissions/create",
    "libre.graph/driveItem/children/create",
    "libre.graph/driveItem/standard/delete",
    "libre.graph/driveItem/path/read",
    "libre.graph/driveItem/quota/read",
    "libre.graph/driveItem/content/read",
    "libre.graph/driveItem/upload/create",
    "libre.graph/driveItem/permissions/read",
    "libre.graph/driveItem/children/read",
    "libre.graph/driveItem/versions/read",
    "libre.graph/driveItem/deleted/read",
    "libre.graph/driveItem/path/update",
    "libre.graph/driveItem/permissions/delete",
    "libre.graph/driveItem/deleted/delete",
    "libre.graph/driveItem/versions/update",
    "libre.graph/driveItem/deleted/update",
    "libre.graph/driveItem/basic/read",
    "libre.graph/driveItem/permissions/update",
    "libre.graph/driveItem/permissions/deny"
  ],
<EMAIL_ADDRESS>[
    {
<EMAIL_ADDRESS>1,
      "description": "View and download.",
      "displayName": "Can view",
      "id": "be531789-063c-48bf-a9fe-857e6fbee7da"
    },
    {
<EMAIL_ADDRESS>2,
      "description": "View, download and edit.",
      "displayName": "Can edit",
      "id": "36279a93-e4e3-4bbb-8a23-53b05b560963"
    }
  ]
}

To make requesting only actions more speciffic, we can add a query parameter<EMAIL_ADDRESS>


Scan > and < only as single char punctuators in XJSTag/Child

Avoid extended scanning of > and < inside XJS to prevent occurences of >=, >>, etc from being parsed as the JavaScript operators rather than > followed by =. Fixes #37.
Test plan: npm test
cc @jeffmo @benjamn

@jeffmo Rebased.

cc @gabelevi


GhidraDev absolute paths using

In files that are located in Eclipse project directory there are so many absolute paths. So, when you want to port your old project to the new version of Ghidra it requires to change all these paths.
I think it is related to this issue: https://github.com/NationalSecurityAgency/ghidra/issues/283

You can use the "Link Ghidra" GhidraDev command to point your Eclipse project to a new version of Ghidra.

Still NullPointerException with my project:(

You can use the "Link Ghidra" GhidraDev command to point your Eclipse project to a new version of Ghidra.

It is not a good way to export source codes of any projects, I mean with absolute paths.

Agreed, it's not ideal.  Ghidra basically doesn't properly support importing and exporting projects at this time.  I'll consider this issue an enhancement request.

Relates to #283


Shell config message showing if home directory doesn't exist

Signing in with Code for IBM i will show this message if the home directory doesn't exist:

It should not do this, as we have other logic to validate the home directory after this stage.
Tested with:
CHGUSRPRF USRPRF(XXX) HOMEDIR('/home/BADDDDDD')

I also see an error when I login via SSH:
barrymac:~ barry$ ssh xxx@oss73dev
Could not chdir to home directory /home/BADDDDDD: No such file or directory
-bash-5.1$


HTPC manager kodi mysql issues

If Kodi is running via a Mysql database HTPC Manager will only connect to the main kodi install.
Example: My main kodi install is in my living room, the database is shared via mysql as per the kodi wiki, If I add another Kodi install (master bedroom) to HTPC it will not connect or display anything when selected via the drop down.

My setup is MySQL so I'm 100% sure it supports it.

I'm on absolute noob, firewall was playing havoc. Sorry for wasting your time.

No worries :)

Do both kodi's need to be running 24/7, seems to crash if one isn't available?
Living room is on 24/7 but master is only switched on as and when needed.

I dont think so no, please make a proper bug report. See https://github.com/Hellowlol/HTPC-Manager#so-you-found-a-bug-great

I think it's the timeout, If I select Master bedroom and it's not available it seems to get stuck for a few mins then switches over to living room.


[YouTube] Better handling of missing channel tabs, and the videos tab specifically

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
USA
Provide a description that is worded well enough to be understood
If you download an empty playlist (with 0 videos), yt-dlp doesn't throw an error. I think that makes the most sense and that behavior should also be used for when a channel doesn't have a tab specified in a URL. So when trying to download <channel URL>/shorts on a channel that doesn't have a shorts tab, it shouldn't throw an error and just consider it successfully downloaded... since you technically did successfully download all 0 shorts that were available. A warning could optionally be output to console as well.
Another more specific issue is that Topic channels don't have a videos tab, but they still can have uploaded videos. In this instance, I think yt-dlp should instead try to download the channel's uploads playlist. Here's a comment describing how a playlist of a channel's uploads can be found.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
This bug is related to the semantics/behavior of yt-dlp

can you give examples please?

For instance, test URL https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w/channels, which may once have produced at least 75 items, now doesn't in the upstream nightly and causes a failure (that I was just adding code to reproduce upstream) in yt-dlp stable because This channel does not have a channels tab:
python3.9 test/test_download.py TestDownload.test_YoutubeTab_11
[debug] Loaded 1830 extractors
[youtube:tab] Extracting URL: https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w/channels
[youtube:tab] UCKfVa3S1e4PHvxWcwyMMg8w/channels: Downloading webpage
[debug] [youtube:tab] Selected tab: 'featured' (home), Requested tab: 'channels'
ERROR: [youtube:tab] UCKfVa3S1e4PHvxWcwyMMg8w: This channel does not have a channels tab
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/extractor/common.py", line 740, in extract
    ie_result = self._real_extract(url)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/extractor/youtube.py", line 4825, in wrapper
    info_dict = func(self, url, smuggled_data)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/extractor/youtube.py", line 6818, in _real_extract
    raise ExtractorError(f'This channel does not have a {original_tab_id} tab', expected=True)

E
======================================================================
ERROR: test_YoutubeTab_11 (__main__.TestDownload):
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/YoutubeDL.py", line 1626, in wrapper
    return func(self, *args, **kwargs)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/YoutubeDL.py", line 1761, in __extract_info
    ie_result = ie.extract(url)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/extractor/common.py", line 740, in extract
    ie_result = self._real_extract(url)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/extractor/youtube.py", line 4825, in wrapper
    info_dict = func(self, url, smuggled_data)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/extractor/youtube.py", line 6818, in _real_extract
    raise ExtractorError(f'This channel does not have a {original_tab_id} tab', expected=True)
yt_dlp.utils.ExtractorError: [youtube:tab] UCKfVa3S1e4PHvxWcwyMMg8w: This channel does not have a channels tab

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/df/Documents/src/yt-dlp-new/test/test_download.py", line 168, in test_template
    res_dict = ydl.extract_info(
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/YoutubeDL.py", line 1615, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/YoutubeDL.py", line 1644, in wrapper
    self.report_error(str(e), e.format_traceback())
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/YoutubeDL.py", line 1092, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/home/df/Documents/src/yt-dlp-new/yt_dlp/YoutubeDL.py", line 1031, in trouble
    raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: [youtube:tab] UCKfVa3S1e4PHvxWcwyMMg8w: This channel does not have a channels tab

----------------------------------------------------------------------
Ran 1 test in 0.764s

FAILED (errors=1)
$

The question is whether this URL should just generate 0 videos, possibly with a warning.

So when trying to download <channel URL>/shorts on a channel that doesn't have a shorts tab, it shouldn't throw an error and just consider it successfully downloaded...

Won't fix. It is not an empty playlist, but an invalid URL and so should error

Another more specific issue is that Topic channels don't have a videos tab, but they still can have uploaded videos.

Example?


Bot not able to send uploaded attachments to the user in Sample 15

Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: samples
Sample language: nodejs
Sample name: 15.handling-attachments

Describe the bug
The bot is not able to demo the uploaded attachment option.
To Reproduce

Configure the bot
Run and open the bot in Teams
Type "hi"
Select option 3

Expected behavior
The bot should share an uploaded attachment with the user.
Screenshots

Additional context
Add any other context about the problem here.

The rest API call results in a 404 Not Found error.

@birla, thank you for your patience. I was able to repro the issue and am looking at the sample to try and identify where the problem lies.
Out of curiosity, when you first ran the bot from the sample, did you get an error related to the 'path' module not being installed, like below? I had to manually install that module before I could repro your issue. Just verifying if this is specific to me or if others encounter it.

[onTurnError] unhandled error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

@stevkan, great! No, I don't remember seeing any missing modules on first use.

Please refer to sample https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/56.teams-file-upload for uploading files to Teams bots.

@birla, thank you for your patience. I hope to have a response for you soon regarding the sample. Eric's comment brings up a clarifying question I have. To be clear, are you referring to a bot that has uploaded an image that then should display and be downloadable (like in sample 15, specifically) or are you referring to an image or attachment you have sent to the bot and then should display and be downloadable (sample 56)? I assumed the first, but your response would be helpful.


Docker compose with frq,redis,ipfs

Close #56 #55
Details

[x] docker compose file that starts the whole system with correct nodes and env: A user will just have to run scenario and use apis
[x] update docker file for dev and release
[x] update readme

Tests

[x] Start docker-compose and be able to access swagger, bullboard
[ ] Run e2e tests to check for working env

Looks like all the services now connect and work as expected, will an api test to check


Docker build: Scancode installation issues

Errors during scancode installation will not cause the build to fail

#53 [pythonbuild 4/4] RUN arch=$(arch | sed s/aarch64/arm64/)     && if [ "$arch" != "arm64" ]; then         curl -Os https://raw.githubusercontent.com/nexB/scancode-toolkit/v31.2.4/requirements.txt;         pip install -U --constraint requirements.txt scancode-toolkit==31.2.4;         rm requirements.txt;        fi
#53 75.50      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  101.5/103.8 MB 5.5 MB/s eta 0:00:01
#53 75.60 ERROR: Exception:
#53 75.60 Traceback (most recent call last):
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 435, in _error_catcher
#53 75.60     yield
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 516, in read
#53 75.60     data = self._fp.read(amt) if not fp_closed else b""
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read
#53 75.60     data = self.__fp.read(amt)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/http/client.py", line 465, in read
#53 75.60     s = self.fp.read(amt)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/socket.py", line 705, in readinto
#53 75.60     return self._sock.recv_into(b)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/ssl.py", line 1274, in recv_into
#53 75.60     return self.read(nbytes, buffer)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/ssl.py", line 1130, in read
#53 75.60     return self._sslobj.read(len, buffer)
#53 75.60 TimeoutError: The read operation timed out
#53 75.60
#53 75.60 During handling of the above exception, another exception occurred:
#53 75.60
#53 75.60 Traceback (most recent call last):
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
#53 75.60     status = run_func(*args)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
#53 75.60     return func(self, options, args)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 369, in run
#53 75.60     requirement_set = resolver.resolve(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
#53 75.60     result = self._result = resolver.resolve(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
#53 75.60     state = resolution.resolve(requirements, max_rounds=max_rounds)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve
#53 75.60     self._add_to_criteria(self.state.criteria, r, parent=None)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
#53 75.60     if not criterion.candidates:
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__
#53 75.60     return bool(self._sequence)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
#53 75.60     return any(self)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
#53 75.60     return (c for c in iterator if id(c) not in self._incompatible_ids)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
#53 75.60     candidate = func()
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
#53 75.60     self._link_candidate_cache[link] = LinkCandidate(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__
#53 75.60     super().__init__(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
#53 75.60     self.dist = self._prepare()
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare
#53 75.60     dist = self._prepare_distribution()
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
#53 75.60     return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 438, in prepare_linked_requirement
#53 75.60     return self._prepare_linked_requirement(req, parallel_builds)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 483, in _prepare_linked_requirement
#53 75.60     local_file = unpack_url(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 165, in unpack_url
#53 75.60     file = get_http_url(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 106, in get_http_url
#53 75.60     from_path, content_type = download(link, temp_dir.path)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in __call__
#53 75.60     for chunk in chunks:
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
#53 75.60     for chunk in iterable:
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
#53 75.60     for chunk in response.raw.stream(
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 573, in stream
#53 75.60     data = self.read(amt=amt, decode_content=decode_content)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 509, in read
#53 75.60     with self._error_catcher():
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/contextlib.py", line 153, in __exit__
#53 75.60     self.gen.throw(typ, value, traceback)
#53 75.60   File "/opt/python/versions/3.10.8/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 440, in _error_catcher
#53 75.60     raise ReadTimeoutError(self._pool, None, "Read timed out.")
#53 75.60 pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
#53 75.66
#53 75.66 [notice] A new release of pip available: 22.2.2 -> 23.1.2
#53 75.66 [notice] To update, run: pip install --upgrade pip
#53 DONE 76.6s

#52 [rubybuild 6/6] RUN rbenv install 3.1.2 -v     && rbenv global 3.1.2     && gem install bundler cocoapods:1.11.2
#52 571.9 make[2]: Leaving directory '/tmp/ruby-build.20230428103753.19.ylEU8Z/ruby-3.1.2/ext/digest/sha1'
#52 571.9 make[2]: Entering directory '/tmp/ruby-build.20230428103753.19.ylEU8Z/ruby-3.1.2/ext/json/parser'

This

TimeoutError: The read operation timed out

does not actually look like an SSL certificate issue. What's the exact command line you're running docker build with? In particular, do you pass a build argument for custom certificate files?

Ok, the timeout error can be a proxy server issue

Indeed. And as there's not other error than that, I'm closing this. Feel free to reopen with additional information if the issue persists.


Parallax2D: Scroll Scale is not respecting the Y value

Tested versions

Reproducible in Godot 4.3 Beta 1

System information
MacOs Sonoma 14.5 - Godot 4.3 Beta 1
Issue description
In my project I have some Parallax2D and im modifying the Scroll Scale for custom speed on each Parallax2D. Its working well on the X component, the parallax moment on horizontal works well, but the vertical movement is not properly being compute, the trees on the video below should not follow the camera if the Scroll Scale is 0 value on Y, but it does it, and if the value is 0.1 it should follow slowly. This is how i understand the value multiplier should behave.
I would expect the Y component affect the speed on vertical for different values as it says on the documentation:

Multiplier to the final Parallax2D's offset. Can be used to simulate distance from the camera.
For example, a value of 1 scrolls at the same speed as the camera. A value greater than 1 scrolls faster, making objects appear closer. Less than 1 scrolls slower, making objects appear further, and a value of 0 stops the objects completely.

The Scroll Scale on X work as intented but the Y component is not calculating the speed on vertical. Even when using different values the speed of Y on the Scroll Scale remain the same, it doesn't look to change at all. From simple observation my guess could be one of this 2 reasons:

Looks like the Values on Y component are not being computed properly or being ignored.
The Lock / Unlock component ratio that allows to set different components on Vector2 properties on the Inspector is messing up with the final values.

I dont have any specific code attached to those Nodes, im only using the default behaviour of the new Parallax2D.

https://github.com/godotengine/godot/assets/37193450/206c804d-ae55-4a9b-95cc-5ba6b9ae49ee
Steps to reproduce
N/A
Minimal reproduction project (MRP)
N/A

I'm unable to replicate this. It seems to be working fine for me.
https://github.com/godotengine/godot/assets/21325943/c6bb73f2-b8c7-412a-bcc1-cb460235a5ae
Can you make an MRP for me to test?

MRP.zip
Here is an MRP for the same issue. Moving along the x-axis scrolls fine, but no scrolling at all across the y-axis unless I specify a repeat size for it.

MRP.zip
Here is an MRP for the same issue. Moving along the x-axis scrolls fine, but no scrolling at all across the y-axis unless I specify a repeat size for it.

From the MRP's main.tscn:
[node name="ParallaxLayer" type="Parallax2D" parent="."]
scroll_scale = Vector2(0.5, 1)
repeat_size = Vector2(1024, 2.08165e-12)

So this is likely the same as #91631.
Can't confirm the same about the OP (no MRP provided), but seems all reporters run on Mac. :thinking: I can't reproduce this myself / debug in detail / pinpoint the cause.

@kleonc Just tested the MRP, and you're right. It's not related to Parallax2D, and is the issue on mac with editor inputs mentioned in the other ticket. Maybe we should update that issue's title as well.

Currently, the Godot editor is unusable on macOS (I have to close the editor, replace every 2.08165e-12 with 0 manually, and then restart the engine to make these changes stick). How can I help fix this issue?

Should also be closed by #94655 since it was the same root cause.


[New game]:Joke Generator Game

🎮 Game Request
In this entertaining game, you'll be treated to a variety of jokes at the click of a button. Whether you need a quick laugh or want to share a joke with friends, the Joke Generator is here to brighten your day. Simply click the "Generate Joke" button and enjoy a new joke every time!
Point down the features
Generate Joke Button:
Clicking this button fetches a new joke from the joke database.
Displays the joke in a designated area on the screen.
Joke Display:
Shows the generated joke to the user.
Automatically updates with each new joke.
Copy Joke:
Provides a button to copy the current joke to the clipboard.
Makes it easy to share jokes with friends via text or social media.
Responsive Design:
The game adjusts its layout to fit different screen sizes, ensuring a good experience on both desktop and mobile devices
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @manishh12 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @manishh12 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Archive files task is suddenly failing

Hi
My build pipeline is failing today on the Archive files task. It seems to be related to 7-Zip and I do not know how to resolve this. The build was working fine yesterday so I'm not sure what has changed.
I have set the build to debug and here is the output, which does not tell me much more than when debug was false:
2017-06-28T22:48:05.3012444Z [command]d:\a\_tasks\ArchiveFiles_d8b84976-e99a-4b86-b885-4849694435b0\1.118.0\7zip\7z.exe a -tzip d:\a\1\a\4e4273729cae996260133cad55c007d32925f08d.zip @progress appsettings.json CacheManager.Core.dll CacheManager.Microsoft.Extensions.Caching.Memory.dll CacheManager.Serialization.Json.dll CsvHelper.dll EA.Api.deps.json EA.Api.dll EA.Api.pdb EA.Api.runtimeconfig.json EA.Domain.dll EA.Domain.pdb EA.Persistence.dll EA.Persistence.pdb EFSecondLevelCache.Core.dll LinqKit.Core.dll MathNet.Numerics.Core.dll MathNet.Numerics.dll MediatR.dll MediatR.Extensions.Microsoft.DependencyInjection.dll Microsoft.AI.DependencyCollector.dll Microsoft.ApplicationInsights.AspNetCore.dll Microsoft.ApplicationInsights.dll Microsoft.AspNetCore.Antiforgery.dll Microsoft.AspNetCore.Authentication.dll Microsoft.AspNetCore.Authentication.JwtBearer.dll Microsoft.AspNetCore.Authorization.dll Microsoft.AspNetCore.Buffering.dll Microsoft.AspNetCore.Cors.dll Microsoft.AspNetCore.Cryptography.Internal.dll Microsoft.AspNetCore.DataProtection.Abstractions.dll Microsoft.AspNetCore.DataProtection.dll Microsoft.AspNetCore.Diagnostics.Abstractions.dll Microsoft.AspNetCore.Diagnostics.dll Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.dll Microsoft.AspNetCore.Hosting.Abstractions.dll Microsoft.AspNetCore.Hosting.dll Microsoft.AspNetCore.Hosting.Server.Abstractions.dll Microsoft.AspNetCore.Html.Abstractions.dll Microsoft.AspNetCore.Http.Abstractions.dll Microsoft.AspNetCore.Http.dll Microsoft.AspNetCore.Http.Extensions.dll Microsoft.AspNetCore.Http.Features.dll Microsoft.AspNetCore.HttpOverrides.dll Microsoft.AspNetCore.JsonPatch.dll Microsoft.AspNetCore.Localization.dll Microsoft.AspNetCore.Mvc.Abstractions.dll Microsoft.AspNetCore.Mvc.ApiExplorer.dll Microsoft.AspNetCore.Mvc.Core.dll Microsoft.AspNetCore.Mvc.Cors.dll Microsoft.AspNetCore.Mvc.DataAnnotations.dll Microsoft.AspNetCore.Mvc.dll Microsoft.AspNetCore.Mvc.Formatters.Json.dll Microsoft.AspNetCore.Mvc.Localization.dll Microsoft.AspNetCore.Mvc.Razor.dll Microsoft.AspNetCore.Mvc.Razor.Host.dll Microsoft.AspNetCore.Mvc.TagHelpers.dll Microsoft.AspNetCore.Mvc.ViewFeatures.dll Microsoft.AspNetCore.Owin.dll Microsoft.AspNetCore.Razor.dll Microsoft.AspNetCore.Razor.Runtime.dll Microsoft.AspNetCore.ResponseCaching.Abstractions.dll Microsoft.AspNetCore.ResponseCompression.dll Microsoft.AspNetCore.Routing.Abstractions.dll Microsoft.AspNetCore.Routing.dll Microsoft.AspNetCore.Server.IISIntegration.dll Microsoft.AspNetCore.Server.Kestrel.dll Microsoft.AspNetCore.Server.Kestrel.Https.dll Microsoft.AspNetCore.StaticFiles.dll Microsoft.AspNetCore.WebUtilities.dll Microsoft.Data.Sqlite.dll Microsoft.DotNet.PlatformAbstractions.dll Microsoft.EntityFrameworkCore.Design.dll Microsoft.EntityFrameworkCore.dll Microsoft.EntityFrameworkCore.Relational.Design.dll Microsoft.EntityFrameworkCore.Relational.dll Microsoft.EntityFrameworkCore.Sqlite.dll Microsoft.EntityFrameworkCore.SqlServer.dll Microsoft.Extensions.Caching.Abstractions.dll Microsoft.Extensions.Caching.Memory.dll Microsoft.Extensions.Configuration.Abstractions.dll Microsoft.Extensions.Configuration.dll Microsoft.Extensions.Configuration.EnvironmentVariables.dll Microsoft.Extensions.Configuration.FileExtensions.dll Microsoft.Extensions.Configuration.Json.dll Microsoft.Extensions.Configuration.UserSecrets.dll Microsoft.Extensions.DependencyInjection.Abstractions.dll Microsoft.Extensions.DependencyInjection.dll Microsoft.Extensions.DependencyModel.dll Microsoft.Extensions.DiagnosticAdapter.dll Microsoft.Extensions.FileProviders.Abstractions.dll Microsoft.Extensions.FileProviders.Composite.dll Microsoft.Extensions.FileProviders.Physical.dll Microsoft.Extensions.FileSystemGlobbing.dll Microsoft.Extensions.Globalization.CultureInfoCache.dll Microsoft.Extensions.Localization.Abstractions.dll Microsoft.Extensions.Localization.dll Microsoft.Extensions.Logging.Abstractions.dll Microsoft.Extensions.Logging.Console.dll Microsoft.Extensions.Logging.Debug.dll Microsoft.Extensions.Logging.dll Microsoft.Extensions.Logging.TraceSource.dll Microsoft.Extensions.ObjectPool.dll Microsoft.Extensions.Options.dll Microsoft.Extensions.PlatformAbstractions.dll Microsoft.Extensions.Primitives.dll Microsoft.Extensions.WebEncoders.dll Microsoft.IdentityModel.Logging.dll Microsoft.IdentityModel.Protocols.dll Microsoft.IdentityModel.Protocols.OpenIdConnect.dll Microsoft.IdentityModel.Tokens.dll Microsoft.Net.Http.Headers.dll Microsoft.VisualStudio.Web.BrowserLink.dll Newtonsoft.Json.dll Ngonzalez.ImageProcessorCore.dll nlog.config NLog.dll NLog.Extensions.Logging.dll NLog.Web.AspNetCore.dll Npgsql.dll Npgsql.EntityFrameworkCore.PostgreSQL.dll package.json refs Remotion.Linq.dll runtimeconfig.template.json runtimes Seed Service References System.Collections.NonGeneric.dll System.Collections.Specialized.dll System.ComponentModel.Primitives.dll System.ComponentModel.TypeConverter.dll System.Data.Common.dll System.Diagnostics.Contracts.dll System.Diagnostics.DiagnosticSource.dll System.Diagnostics.StackTrace.dll System.Diagnostics.TextWriterTraceListener.dll System.IdentityModel.Tokens.Jwt.dll System.Interactive.Async.dll System.Net.WebSockets.dll System.Runtime.CompilerServices.Unsafe.dll System.Runtime.Serialization.Formatters.dll System.Runtime.Serialization.Primitives.dll System.Text.Encodings.Web.dll System.Xml.XmlDocument.dll tsconfig.json tslint.json Views web.config wwwroot Z.EntityFramework.Plus.EFCore.dll
2017-06-28T22:48:05.3102464Z
2017-06-28T22:48:05.3102464Z
2017-06-28T22:48:05.3102464Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2017-06-28T22:48:05.3102464Z
2017-06-28T22:48:05.3112476Z ##[debug]execResult: {"code":7,"stdout":"\r\n7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10\r\n\r\n","stderr":"\r\n\r\nCommand Line Error:\r\nCannot find listfile\r\nprogress\r\n"}
2017-06-28T22:48:05.3112476Z
2017-06-28T22:48:05.3112476Z Command Line Error:
2017-06-28T22:48:05.3112476Z Cannot find listfile
2017-06-28T22:48:05.3112476Z progress
2017-06-28T22:48:05.3172491Z Error: Archive creation failed for archive file: d:\a\1\a\4e4273729cae996260133cad55c007d32925f08d.zip
2017-06-28T22:48:05.3172491Z ##[debug]Archive creation failed for archive file: d:\a\1\a\4e4273729cae996260133cad55c007d32925f08d.zip
2017-06-28T22:48:05.3192487Z code: 7
2017-06-28T22:48:05.3192487Z stdout:
2017-06-28T22:48:05.3192487Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2017-06-28T22:48:05.3192487Z
2017-06-28T22:48:05.3192487Z
2017-06-28T22:48:05.3192487Z stderr:
2017-06-28T22:48:05.3192487Z
2017-06-28T22:48:05.3192487Z Command Line Error:
2017-06-28T22:48:05.3192487Z Cannot find listfile
2017-06-28T22:48:05.3192487Z progress
2017-06-28T22:48:05.3192487Z
2017-06-28T22:48:05.3192487Z error: undefined;
2017-06-28T22:48:05.3192487Z ##[debug]task result: Failed
2017-06-28T22:48:05.3192487Z ##[error]Archive creation failed for archive file: d:\a\1\a\4e4273729cae996260133cad55c007d32925f08d.zip
2017-06-28T22:48:05.3192487Z ##[debug]Processed: ##vso[task.issue type=error;]Archive creation failed for archive file: d:\a\1\a\4e4273729cae996260133cad55c007d32925f08d.zip
2017-06-28T22:48:05.3192487Z code: 7
2017-06-28T22:48:05.3192487Z stdout:
2017-06-28T22:48:05.3192487Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2017-06-28T22:48:05.3192487Z
2017-06-28T22:48:05.3192487Z
2017-06-28T22:48:05.3202498Z stderr:
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3202498Z Command Line Error:
2017-06-28T22:48:05.3202498Z Cannot find listfile
2017-06-28T22:48:05.3202498Z progress
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3202498Z error: undefined;
2017-06-28T22:48:05.3202498Z ##[debug]Processed: ##vso[task.complete result=Failed;]Archive creation failed for archive file: d:\a\1\a\4e4273729cae996260133cad55c007d32925f08d.zip
2017-06-28T22:48:05.3202498Z code: 7
2017-06-28T22:48:05.3202498Z stdout:
2017-06-28T22:48:05.3202498Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3202498Z stderr:
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3202498Z Command Line Error:
2017-06-28T22:48:05.3202498Z Cannot find listfile
2017-06-28T22:48:05.3202498Z progress
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3202498Z error: undefined;
2017-06-28T22:48:05.3202498Z code: 7
2017-06-28T22:48:05.3202498Z stdout:
2017-06-28T22:48:05.3202498Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2017-06-28T22:48:05.3202498Z
2017-06-28T22:48:05.3212499Z
2017-06-28T22:48:05.3212499Z stderr:
2017-06-28T22:48:05.3212499Z
2017-06-28T22:48:05.3212499Z Command Line Error:
2017-06-28T22:48:05.3212499Z Cannot find listfile
2017-06-28T22:48:05.3212499Z progress
2017-06-28T22:48:05.3212499Z
2017-06-28T22:48:05.3212499Z error: undefined;
2017-06-28T22:48:05.3262509Z ##[section]Finishing: Archive files

Ah, please ignore this issue. I had a stray folder with a @ prefix, which obviously broke 7-Zip somehow. Thanks.


prevent strCopy from writing twice

Details
use reserve to allocate space but not write any data since
the std::copy will be writing.

Needs #include <iterator> for std::back_inserter.

closing this in favor of a strCopy refactor (TBD)


move to root broken on linux

@tvanderstad can you tell me if this is broken on pop!_os?

irrelevant with gtk4 client


There is a slight gap below the text

There's a little gap below, or how does it center in the vertical direction

example

Your label characters are entirely above the text baseline. This can be corrected with a padding when you know what characters will be used (as you have already found out).