PIME.PIME version 1.3.0-beta2

[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] Does your manifest conform to the 1.2 schema?

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

Microsoft Reviewers: Open in CodeFlow

Latest release of PIME does not support silent installation yet. Closing this PR until https://github.com/EasyIME/PIME/commit/12ba6239ef38124c9f5f9978e5b8ddadd74ac913 is released.


Example 1 - missing e (789)

I could be wrong but in the examples, the first example is missing e - 789 at the start.

Ah - never mind, I had a brainfart - I see you're setting e, not reading it.


[Bug]: using multiple filters on a nested object field returns an access forbidden message

What happened?
The changes have been made according to the remarks made in #1538 this works well when the query looks like this:
{
    assets(
      filter: {
        and: [
          { type: { eq: "asset" } }
          { collection: { eq: $domain } }
          { data: { container: { neq: $domain } } }
         ]
      }
    ) {
      items {
        __typename
        ...AssetFields
      }
    }
  }

however when i use multiple filters on the nested object the access forbidden error is returned
{
    assets(
      filter: {
        and: [
          { type: { eq: "asset" } }
          { collection: { eq: $domain } }
          { data: { container: { neq: $domain } } }
          { data: { path: { notContains: ".json" } } }
        ]
      }
    ) {
      items {
        __typename
        ...AssetFields
      }
    }
  }

Version
0.7.6 (part of the swa cli)
What database are you using?
CosmosDB NoSQL
What hosting model are you using?
Static Web Apps (SWA)
Which API approach are you accessing DAB through?
GraphQL
Relevant log output
dataApi] fail: Azure.DataApiBuilder.Service.Startup[0]
[dataApi]          at Azure.DataApiBuilder.Service.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputField filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Service/Models/GraphQLFilterParsers.cs:line 159
[dataApi]          at Azure.DataApiBuilder.Service.Models.GQLFilterParser.ParseAndOr(IMiddlewareContext ctx, IInputField argumentSchema, IInputField filterArgumentSchema, List`1 fields, BaseQueryStructure baseQuery, PredicateOperation op) in /_/src/Service/Models/GraphQLFilterParsers.cs:line 430
[dataApi]          at Azure.DataApiBuilder.Service.Models.GQLFilterParser.Parse(IMiddlewareContext ctx, IInputField filterArgumentSchema, List`1 fields, BaseQueryStructure queryStructure) in /_/src/Service/Models/GraphQLFilterParsers.cs:line 56
[dataApi]          at Azure.DataApiBuilder.Service.Resolvers.CosmosQueryStructure.Init(IDictionary`2 queryParams) in /_/src/Service/Resolvers/CosmosQueryStructure.cs:line 168
[dataApi]          at Azure.DataApiBuilder.Service.Resolvers.CosmosQueryEngine.ExecuteAsync(IMiddlewareContext context, IDictionary`2 parameters) in /_/src/Service/Resolvers/CosmosQueryEngine.cs:line 64
[dataApi]          at Azure.DataApiBuilder.Service.Services.ResolverMiddleware.InvokeAsync(IMiddlewareContext context) in /_/src/Service/Services/ResolverMiddleware.cs:line 146
[dataApi]          at HotChocolate.Utilities.MiddlewareCompiler`1.ExpressionHelper.AwaitTaskHelper(Task task)
[dataApi]          at HotChocolate.AspNetCore.Authorization.AuthorizeMiddleware.InvokeAsync(IDirectiveContext context)
[dataApi]          at HotChocolate.Utilities.MiddlewareCompiler`1.ExpressionHelper.AwaitTaskHelper(Task task)
[dataApi]          at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken)
[dataApi]          at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

hi @dgcaron, thank you for reporting. We will investigate.
In the meantime - could you please try adding include: "*" to the read permission of the nested AssetData entity as follows:
    "AssetData": {
      "source": "Asset",
      "permissions": [
        {
          "actions": [
            {
              "action": "read",
               "fields": {
                         "include": ["*" ]
                  }
            }
          ],
          "role": "anonymous"
        }
      ]
    }

@dgcaron Thank you for reporting! As a work around, please use the filter as below, this should work and serve the purpose for your use case. In the meanwhile, we are investigating into this.
{
    assets(
      filter: {
        and: [
          { type: { eq: "asset" } }
          { collection: { eq: $domain } }
          { data: {
              and: [
                  { container: { neq: $domain }}
                  { path: { notContains: ".json" }}
                ]
           }
        }]
      }
    ) {
      items {
        __typename
        ...AssetFields
      }
    }
  }


Ruby morse Code

in this milestone, we did the following activities:

Run a program using the command line.
Use Ruby syntax for basic programming operations.
Use Ruby to solve basic coding challenges.

Thank you 😄


Include Draco and Basis in @babylonjs/core

Part of #12783.
KTX2 Decoders package was already released under @babylonjs/ktx2decoder

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Reviewer - this PR has made changes to one or more package.json files.

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14869/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14869/merge/testResults/webgl2playwright/index.html


[BUG] Occasionally the cache is not updated with new verification data

Happens with a long revision of the 'Main Page' most likely due to some restrictions in how big the string can be which is passed to be stored in the chache.

https://stackoverflow.com/questions/67552133/chrome-api-runtime-quota-bytes-per-item-quota-exceeded-error-but-precheck-pass

This issue occurs also in other contexts. For example, if a page has no verification data (because it was removed from the backend database) it still shows the cache data if a page with the same title exists.

We have switched to chrome.storage.local, which has bigger storage. But to prevent this problem once for all, we need to switch to indexedDB.

Solved by changing the caching method by @rht well done!


':logger application is not running' after an upgrade

My mix.exs looks like:
  def application do
    [applications: [:logger, :cowboy, :plug, :emysql],
     included_applications: [:jazz, :cipher],
     mod: {Sequeler, []}]
  end

Everything looks fine with the first release. Then I build a second release, and make an upgrade. I get this:
Release 1.0.0+20141123_53e045e not found, attempting to unpack releases/1.0.0+20141123_53e045e/sequeler.tar.gz
Unpacked successfully: "1.0.0+20141123_53e045e"
Installed Release: 1.0.0+20141123_53e045e
Made release permanent: "1.0.0+20141123_53e045e"

Everything still looks ok. I run bin/sequeler attach and I see everything is up, :emysql, :cipher, :jazz, :cowboy, :plug... The only one that's not responding is :logger.
When I run Logger.info "hi" I get:
** (RuntimeError) Cannot use Logger, the :logger application is not running
    (logger) lib/logger/config.ex:50: Logger.Config.__data__/0
    (logger) lib/logger.ex:401: Logger.log/3

The trace in logs for a regular http call to the main app may give you more clues:
=CRASH REPORT==== 23-Nov-2014::03:48:13 ===
  crasher:
    initial call: Elixir.Logger.Watcher:init/1
    pid: <0.66.0>
    registered_name: []
    exception exit: {#{'__exception__' => true,
                       '__struct__' => 'Elixir.RuntimeError',
                       message => <<"Cannot use Logger, the :logger application is not running">>},
                     [{'Elixir.Logger.Config','__data__',0,
                          [{file,"lib/logger/config.ex"},{line,50}]},
                      {'Elixir.Logger',log,3,
                          [{file,"lib/logger.ex"},{line,401}]},
                      {'Elixir.Logger.Watcher',handle_info,2,
                          [{file,"lib/logger/watcher.ex"},{line,92}]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,599}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,237}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 737)
    ancestors: ['Elixir.Logger.Supervisor',<0.60.0>]
    messages: []
    links: [<0.61.0>,<0.6.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 16236
  neighbours:

=SUPERVISOR REPORT==== 23-Nov-2014::03:48:13 ===
     Supervisor: {local,'Elixir.Logger.Supervisor'}
     Context:    child_terminated
     Reason:     {#{'__exception__' => true,
                    '__struct__' => 'Elixir.RuntimeError',
                    message => <<"Cannot use Logger, the :logger application is not running">>},
                  [{'Elixir.Logger.Config','__data__',0,
                       [{file,"lib/logger/config.ex"},{line,50}]},
                   {'Elixir.Logger',log,3,[{file,"lib/logger.ex"},{line,401}]},
                   {'Elixir.Logger.Watcher',handle_info,2,
                       [{file,"lib/logger/watcher.ex"},{line,92}]},
                   {gen_server,handle_msg,5,
                       [{file,"gen_server.erl"},{line,599}]},
                   {proc_lib,init_p_do_apply,3,
                       [{file,"proc_lib.erl"},{line,237}]}]}
     Offender:   [{pid,<0.66.0>},
                  {name,'Elixir.Logger.ErrorHandler'},
                  {mfargs,
                      {'Elixir.Logger.Watcher',watcher,
                          [error_logger,'Elixir.Logger.ErrorHandler',
                           {true,false,500},
                           link]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

nil

This is right after the upgrade. Before that everything worked ok.

Nice! Thanks guys.


End of life Alpine Linux 3.16

According to the official website https://alpinelinux.org/releases/ alpine 3.16 has reached it's end of life on  2024-05-23.
Loos like 3.16 is still used in 2.34.4.
To receive security fixes etc. the alpine containers referenced in the Dockerfiles should upgraded to a newer version, i. e. 3.20.
Best regards,
Stephan Knabe

@mtesauro, this issue can be closed. Alpine has been updated to 3.20


Compatibility on Mac 14.4.1, KiCad 8.0.1 & Fabrication Toolkit V4.3.0

Discussed in https://github.com/bennymeg/Fabrication-Toolkit/discussions/154

Originally posted by FrankNz April 15, 2024
Hello,
The Fab-Toolkit runs on the above combination but does not present the config menus as displayed on Github. The only window that opens is the one below. I have used this S/W before on earlier Mac/KiCad combinations and it worked ok then.
Clicking 'Generate' does generate a set of files.
Maybe I'm doing something wrong?

what other screens? all the other screens in the readme are from the schematic editor.
It seems that you do not have the latest version.

Thank you for the reply.
You are correct, it seems I need more coffee and to read more carefully.
I have now updated to the latest release. Thank you


Issues for referencing svg files from Chinese Content

In order for easy maintain, for all of the Chinese content, I prefer that we use a symlink for the svg files and link it from English content to Chinese content, this is easy to maintain, as once the svg files are updated sometime, the Chinese content will be updated automatically.
/cc @geeknoid @rootsongjc @fleeto
Please show your comments if any.

Perhaps it's not a good option.
When  an image in the original version is updated, the text in it will be changed together, they should be updated in the same time. Keeping the same images only means nothing.
 This approach is more stable and independent.
Or we can do nothing about image files, we just put the reference to the original image in the master tree.

If you're going to do a symlink to the original, then why not just use an absolute link in the markdown file instead? That is link="/docs/concepts/overview/foo.svg"

Thanks @fleeto and @geeknoid
Using symlink can enable us do not change the file location but just copy the location directly from english version. Using absolute link will request all links in Chinese document needs to be updated which is different with english version. So seems using symlink is better?

I think copy images to zh folders is the best, sharing data is not the style of microservices :)
And the 2nd way , as @geeknoid said, just  link="/docs/concepts/overview/foo.svg"

OK, then I think we can go ahead with the solution of using absolute path. @fleeto @geeknoid @rootsongjc

What should we do right now? At least it works nowadays. Should we change the pictures reference?

Can we close this then?

yes, let me close this one. Thanks all for the comments here.


add '--show-failed-logs` to executor args

Description
See #1992
Adds --show-failed-logs to Snakemake call in cloud containers. This is a workaround to capture the stderr/stdout that is redirected to a rule log file which is not saved when a job fails on GLS.
@johanneskoester would appreciate your feedback/discussion.
QC

[ ] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Mhm, why is the logfile not saved though?

Mhm, why is the logfile not saved though?

I'm not entirely sure to be honest. I'm not super familiar with the other remote executors, but for GLS, only the stderr and stdout from the container is captured and uploaded to the bucket. This is not helpful if you've defined a log for a rule and redirect stderr/stdout to the log as is best practices.
Ideally we would upload the defined log on rule failure, and I could probably figure that out for GLS, but for other remote executors I'm not sure.

Mhm, why is the logfile not saved though?

I looked at this some more and think I may understand why this is. For GLS, 2 'actions' always occur on the cloud instance. 1) The actual Snakemake command creating some file for the pipeline. 2)google_lifesciences_helper.py is run which uploads the captured stderr and stdout from the instance to the bucket. This script only has knowledge of the job name and jobid.
If the snakemake action finishes without error, then all files (outputs and logs) are uploaded to the bucket by Snakemake itself. However, if the job fails - then Snakemake cannot/does not upload anything. I think the real problem lies here - if a job fails when using a remote provider (i.e. --default-remote-prefix) then on job failure, Snakemake should at least attempt to upload the log file to the remote prefix. What do you think @johanneskoester? I'm not super familiar with the remote codebase, but I can start to dig into this.


Error Code when installing gem.

I keep getting this error code when I install the gem. There is nothing in my data that warrants this error, and was working fine a few days ago.
/var/lib/gems/3.0.0/gems/naive_bayes-0.0.3/lib/naive_bayes.rb:43:in `block in train': undefined method `[]' for nil:NilClass (NoMethodError)
	from /var/lib/gems/3.0.0/gems/naive_bayes-0.0.3/lib/naive_bayes.rb:42:in `each'
	from /var/lib/gems/3.0.0/gems/naive_bayes-0.0.3/lib/naive_bayes.rb:42:in `train'
	from frequency.rb:160:in `<main>'

Here we go, resolved it. Apparently it was a misspelling in the labels.


memflow-ffi fails with "unable to get qemu memory maps"

Hey, thanks for all the great work on this new library! I'm coming from vmread and trying to upgrade my project to Memflow.  Unfortunately I've encountered an issue that I believe is a bug with the C bindings.
Compiling and running the examples in either memflow-ffi or memflow-win32-ffi always fails:
[grim@arch examples]$ ./dump_header.out qemu_procfs win10
2020-10-06 21:59:58,793 INFO  [memflow::connector::inventory] scanning "/usr/local/lib/memflow" for connectors
2020-10-06 21:59:58,793 INFO  [memflow::connector::inventory] scanning "/home/grim/.local/lib/memflow" for connectors
2020-10-06 21:59:58,793 INFO  [memflow::connector::inventory] adding connector: "/home/grim/.local/lib/memflow/libmemflow_coredump.so"
2020-10-06 21:59:58,793 INFO  [memflow::connector::inventory] adding connector: "/home/grim/.local/lib/memflow/libmemflow_qemu_procfs.so"
2020-10-06 21:59:58,793 INFO  [memflow::connector::inventory] adding connector: "/home/grim/.local/lib/memflow/libmemflow_kvm.so"
inv: 0x55e2fb63e660
2020-10-06 21:59:58,798 DEBUG [memflow::connector::inventory] connector error: unable to get qemu memory maps
2020-10-06 21:59:58,798 ERROR [memflow_ffi::util] connector error: Failed to create connector
conn: (nil)
2020-10-06 21:59:58,798 TRACE [memflow_ffi::connectors] inventory_free: 0x55e2fb63e660

I've verified that the non-ffi examples work fine:
[grim@arch memflow]$ target/release/examples/dump_offsets -c qemu_procfs -a win10
pdb_file_name = 'ntkrnlmp.pdb'
pdb_guid = '641F55C592201DCC4F59FACC72EA54DA1'
nt_major_version = 10
nt_minor_version = 0
nt_build_number = 19041
arch = 'X64'

[offsets]
list_blink = 8
eproc_link = 1096
kproc_dtb = 40
eproc_pid = 1088
eproc_name = 1448
eproc_peb = 1360
eproc_section_base = 1312
eproc_exit_status = 2004
eproc_thread_list = 1504
eproc_wow64 = 1408
kthread_teb = 240
ethread_list_entry = 1256
teb_peb = 96
teb_peb_x86 = 48

[grim@arch memflow]$ cargo run --example read_keys -- -c qemu_procfs
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
    Running `/home/grim/memflow/./runner.sh target/debug/examples/read_keys -c qemu_procfs`
space down: false
space down: false
               space down: true
                               space down: true
    space down: true
 space down: true
                  space down: true
space down: false

I can't seem to figure out what the issue is, but only the rust examples work. The C examples will compile, but as seen in the error above, they all error with "unable to get qemu memory maps". I've tried all ffi examples and they all fail with the same error. It appears that the C bindings just don't work.

Thanks for checking out the project and opening the first real issue :+1: !
Did u set the ptrace permissions for the FFI binary? If you're using the current master branch there is a script that will set the appropiate permissions for the rust binaries (theres currently a tracking issue to rework those).
To let the process access the memory maps you can either just set the permissions for it like so:
sudo setcap 'CAP_SYS_PTRACE=ep' dump_header.out

Alternatively running the process through sudo should also work.
Can you check if those are set properly?

Setting the ptrace permission worked! Thank you!
Sorry that the first issue opened ended up being a non-issue, but hopefully this will help others in the future if they run into the same problem.

I updated the README on the dev branch and also updated the qemu_procfs readme with an appropriate Permissions section. This should hopefully make it more clear for future users.


gitlab: 11.5.0 -> 11.5.1

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @flokli

Tested via my playground gitlab instance, and was also tested by @globin on a more production instance. Merging.


QUIC_CRYPTO_TOO_MANY_REJECTS

I build a simple quic server using gospdyquic
but when I try to visit using chrome, It was connected using HTTP/2
alternative service mapping show it's "broken" and the console show error "QUIC_CRYPTO_TOO_MANY_REJECTS"

Did you use a SSL certificate? If so, can you check if it uses an ECDSA private key? There's a untested code in gospdyquic that is triggered if an ECSDA cert is used. See:
https://github.com/devsisters/gospdyquic/blob/master/spdyquic.go#L264

Sorry I'm not read the spec.
I'm using RSA certificate.maybe I need buy a new one.
Thanks
On Tue, May 26, 2015 at 15:40 Brian Hong<EMAIL_ADDRESS>wrote:

Did you use a SSL certificate? If so, can you check if it uses an ECDSA
private key? There's a untested code in gospdyquic that is triggered if an
ECSDA cert is used. See:
https://github.com/devsisters/gospdyquic/blob/master/spdyquic.go#L264
—
Reply to this email directly or view it on GitHub
https://github.com/devsisters/gospdyquic/issues/2#issuecomment-105428120
.

If you're using RSA key, it should work fine. Maybe you are not connecting to the server with correct hostname? Also try connecting to the server without SSL certificate and see if it works.

Yes , The hostname is correct , HTTP/2 HTTP/1.1 works fine.
My chrome seems not connect QUIC without SSL.

Can you try with the latest code? We've fixed some bugs, so it might work this time.
Thanks!

I have rebuild all libraries using latest code , still got same error

I have saved all output logs, how can I send to you ?

Both HTTP and HTTPS works on my mac .
but on linux VM , HTTP return code is 500, and HTTPS is "QUIC_CRYPTO_TOO_MANY_REJECTS "

You can use https://gist.github.com/ to send logs to me. I'll have a look at it.
So you are only having problems on linux VM, is that correct?

Yes
Log: https://gist.github.com/typcn/4d3e14282eaf06f9b007

WWWTTTFFF
I try to run the server without any modification today.
and it works well .....
I will try to integrate it with nginx.
Thanks

:) Closing issue.


Add webhooks for security vulnerabilities

Description
Right now you only get the info of vulnerabilities by performing an API call, or by going to the repository page of the UI. As explained by @mogul on this comment it would be quite useful to also add webhooks for security vulnerabilities. A webhook would be sent when a status of a tag has changed (e.g. it never got scanned before and now we got some results, a tag has new vulnerabilities, all vulnerabilities have been addressed, etc.).
Thanks @mogul for reporting!

@adnoh commented on #1412 the following:

Why not using the Webhooks from Clair? (if you are using it as a scanner). https://coreos.com/clair/docs/latest/notifications.html - with the clair api you could scan the image BEFORE pushing it to the registry which works quite well

So, maybe all it's needed is a bit of documentation from our side pointing to this solution.


Support for Faceted Search

Thank you very much for working on this! Are there any updates on when we can expect to use faceted search?

This issue was moved to orientechnologies/orientdb#5200


Can't download from Rutube.ru - <HTTPError 404: 'NOT FOUND'>

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.06. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.07.06

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
c:\Python36\Scripts>youtube-dl.exe --verbose https://rutube.ru/metainfo/tv/1523/#!/season7
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://rutube.ru/metainfo/tv/1523/#!/season7']
[debug] Encodings: locale cp1255, fs mbcs, out cp862, pref cp1255
[debug] youtube-dl version 2016.07.06
[debug] Python version 3.6.0a2 - Windows-10-10.0.10586-SP0
[debug] exe versions: ffmpeg N-80912-gce466d0, ffprobe N-80912-gce466d0
[debug] Proxy map: {}
[rutube:movie] 1523: Downloading movie JSON
[rutube:movie] 1523: Downloading page 1
[rutube:movie] 1523: Downloading page 2
[rutube:movie] 1523: Downloading page 3
[rutube:movie] 1523: Downloading page 4
[rutube:movie] 1523: Downloading page 5
[rutube:movie] 1523: Downloading page 6
[rutube:movie] 1523: Downloading page 7
[rutube:movie] 1523: Downloading page 8
[rutube:movie] 1523: Downloading page 9
[rutube:movie] 1523: Downloading page 10
[rutube:movie] 1523: Downloading page 11
[rutube:movie] 1523: Downloading page 12
[rutube:movie] 1523: Downloading page 13
[rutube:movie] 1523: Downloading page 14
[rutube:movie] 1523: Downloading page 15
[rutube:movie] 1523: Downloading page 16
[download] Downloading playlist: Орел и решка
[rutube:movie] playlist Орел и решка: Collected 307 video ids (downloading 307 of them)
[download] Downloading video 1 of 307
[rutube] 00edfacb5263897caf516de2bcee327d: Downloading video JSON
[rutube] 00edfacb5263897caf516de2bcee327d: Downloading options JSON
ERROR: Unable to download JSON metadata: HTTP Error 404: NOT FOUND (caused by <HTTPError 404: 'NOT FOUND'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 390, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "c:\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1955, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "c:\python36\lib\urllib\request.py", line 537, in open
    response = meth(req, response)
  File "c:\python36\lib\urllib\request.py", line 647, in http_response
    'http', request, response, code, msg, hdrs)
  File "c:\python36\lib\urllib\request.py", line 575, in error
    return self._call_chain(*args)
  File "c:\python36\lib\urllib\request.py", line 509, in _call_chain
    result = func(*args)
  File "c:\python36\lib\urllib\request.py", line 655, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
I can't download from Rutube.ru - it starts traversing the links, but immediately fails on download start of the 1-st video.

this error appear in video wabpage:

Sorry, this video is temporarily unavailable.

use -i option to skip errors.


Harmless dtrace-provider error traces printed to console

The bunyan logging library is used by one of our dependencies, and it tries to import native bindings for error trace reading. For whatever reason the library that provides those readings, dtrace-provider, doesn't rebuild properly for electron, so the import fails. Three errors are printed - they're harmless but it would be good to get rid of them eventually.
Track progress on this in bunyan here: https://github.com/trentm/node-bunyan/issues/216 and here: https://github.com/trentm/node-bunyan/issues/487

Now we intercept this error, which is both harmless and malformed, and suppress it.


Instructions for downloading and installing responses

Copy the response related instructions from the nitrates repo into the README.
Include instructions on how to setup the config.
We want this to be a standalone package and eventually replace all response components in NITRATES.

closes #4


Documentation about state machines and few refinements along the way

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

Project coverage is 40.25%. Comparing base (e02b91b) to head (a7c9c86).
Report is 8 commits behind head on main.

:exclamation: Current head a7c9c86 differs from pull request most recent head 8e6a8c8. Consider uploading reports for the commit 8e6a8c8 to get more accurate results

Files
Patch %
Lines

x/machine/test_suite.go
56.30%
45 Missing and 7 partials :warning:

example/state/machine.go
84.78%
10 Missing and 4 partials :warning:

x/machine/machine.go
52.94%
8 Missing :warning:

x/machine/infer_state_machine.go
83.33%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
+ Coverage   33.61%   40.25%   +6.64%
==========================================
  Files         129      149      +20
  Lines       25269    26171     +902
==========================================
+ Hits         8494    10536    +2042
+ Misses      16295    14991    -1304
- Partials      480      644     +164

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


DatabaseMetaData throws SQLFeatureNotSupportedException for unimplemented JDBC 4 features -fixes #255

DatabaseMetaData throws SQLFeatureNotSupportedException for unimplemented JDBC 4 features -fixes #255

Looks good. Thanks


heise.de: Unable to extract container ID

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
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Worldwide
Provide a description that is worded well enough to be understood
Tested from Germany. The only relevant existing bug I could find is #1520 which was fixed already by  #5029, thus to my understanding no duplicate.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] 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
user@host:~$ yt-dlp -vU -x --audio-format mp3 "https://www.heise.de/blog/Die-Produktwerker-UX-Management-fuer-Product-Owner-9597750.html"
[debug] Command-line config: ['-vU', '-x', '--audio-format', 'mp3', 'https://www.heise.de/blog/Die-Produktwerker-UX-Management-fuer-Product-Owner-9597750.html']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [f10589e34] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.5.0-14-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5, websockets-9.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[Heise] Extracting URL: https://www.heise.de/blog/Die-Produktwerker-UX-Management-fuer-Product-Owner-9597750.html
[Heise] 9597750: Downloading webpage
ERROR: [Heise] 9597750: Unable to extract container ID; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/user/bin/yt-dlp/yt_dlp/extractor/common.py", line 718, in extract
    ie_result = self._real_extract(url)
  File "/home/user/bin/yt-dlp/yt_dlp/extractor/heise.py", line 170, in _real_extract
    container_id = self._search_regex(
  File "/home/user/bin/yt-dlp/yt_dlp/extractor/common.py", line 1266, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

In the problem page there is a ld+json block containing an AudioObject with 'contentUrl': 'https://produktwerker.podigee.io/204-neue-episode'. To extract this audio URL, append to this URL like so https://produktwerker.podigee.io/204-neue-episode/embed?context=external to get (maybe with the right headers) JSON containing the media link and associated metadata.

Part of the resolution of the issue would be to "support" produktwerker.podigee.io either as part of the Heise extractor or perhaps through a separate extractor for podigee.io, which appears to be a podcast platform.
Since there is an ecosystem of media hosts and sites may change their hosting service from time to time, it's natural that maintaining support for a site may require implementing or fixing extraction for a newly selected hosting service.

@dirkf By doing so please note Heise is using more than one Podcasts on Podigee, thus those subdomain names should be all treated the same way.

This issue is about a page that needs Podigee. Someone may care enough to fix that problem (not looking likely so far), ideally without breaking any other still relevant extraction tactics (Kaltura?) used in the Heise extractor. A Podigee extractor would be the right way to go.
It's up to interested users to point out other Heise pages that may need fixing and/or whether other domains linked to heise.de (t3n.de, say) should be supported.


SyncService is not exported in at_client_mobile.dart

Describe the bug
I noticed that SyncService is not exported in at_client_mobile.dart, and had a couple of questions related to it:

Is there an explicit reason it's not exported or is it just something that's never come up
If it's something that's never come up are there any reasons not to export it?

Steps to reproduce
N/A
Expected behavior
N/A
Screenshots
No response
Smartphones
No response
Were you using an atApplication when the bug was found?
No response
Additional context
No response

Is there an explicit reason it's not exported or is it just something that's never come up

No explicit reason that I'm aware of

If it's something that's never come up are there any reasons not to export it?

Not that I'm aware of. @sitaram-kalluri @murali-shris @VJag how about you?

The way I see it, there are two patterns devs might follow:

chaining the call

atClient.syncService.sync();

storing an instance

SyncService ss = atClient.syncService;
// other code
ss.sync();
// maybe other stuff happens before sync is called again
ss.sync();

We are exposing the syncService via atClient.syncService but the class itself is not exposed in the scope, so atm 2 doesn't work. If there are no functional issues with storing the instance, I suggest that we export syncService for a couple of reasons:

From the perspective of a dev less familiar with the SDK, providing it in scope makes it easier to use built-in tooling to find the object / documentation. I would be confused if I try to do SyncService ss = atClient.syncService and get an error under SyncService
It is easier to teach in the docs if I can be verbose about the class


Application.yml correctly used by spring-zeebe-starter

This hopefully close #49 .
Please @menski and @jangalinski review carefully because a better way to implement this fix should easily exist (due to my low knowledge of spring).
IMHO what's needed:

[x] test to check the yaml has been correctly fetched if present (i.e. default values).

[x] more tests for other client - worker properties

. Opened to your feedback!

Codecov Report

Merging #58 into master will decrease coverage by 0.33%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master      #58      +/-   ##
============================================
- Coverage     14.88%   14.55%   -0.34%
  Complexity       16       16
============================================
  Files            30       30
  Lines           262      268       +6
  Branches         12       12
============================================
  Hits             39       39
- Misses          218      224       +6
  Partials          5        5

Impacted Files
Coverage Δ
Complexity Δ

.../client/config/ZeebeClientSpringConfiguration.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...nt/config/ZeebeClientStarterAutoConfiguration.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Tested more client properties and added one more test class to test default value. Does it make sense to test defaults even if they could change in a near future?


A nice, green test suite

This:

Sorry, my friend, I didn't get what you mean.

I think he meant Travis CI testing.

@the94air I'm not familiar with Travis CI very much. If you can do that, please create a PR ❤

I tried my best to get familiar with Travis CI but it seem to be no way to make this PR for now. I don't know how to use PHPUnit test. Sorry for let us down.

@meness this package has been made for package testing. https://github.com/orchestral/testbench. try it out.


black: magic trailing comma

What does this PR do?

Fixes #<issue_number>
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

This was already discussed in #7783 (comment)
If you want to change it, lets have a poll with the wider team. I would like to avoid going back-and-forth between options

yep, I see that it was 2 in favour and 2 against...
but if I see it correctly, the skip-magic-trailing-comm is not default


Generic typing issue?

Hi @cgarciae,
Thank you for creating such a neat library. Have quite enjoyed playing around with it.
I have potentially run into an issue with generic typing:
# version == 0.1.4

from simple_pytree import Pytree

import typing as tp

T = tp.TypeVar("T")

class MyClass(Pytree, tp.Generic[T]):
    def __init__(self, x: T):
        self.x = x

MyClass[int]

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[1], line 14
     11     def __repr__(self) -> str:
     12         return f"MyClass({self.x})"
---> 14 MyClass[int]

File [~/miniconda3/lib/python3.10/typing.py:309](https://file+.vscode-resource.vscode-cdn.net/Users/danieldodd/Desktop/~/miniconda3/lib/python3.10/typing.py:309), in _tp_cache..decorator..inner(*args, **kwds)
    306 @functools.wraps(func)
    307 def inner(*args, **kwds):
    308     try:
--> 309         return cached(*args, **kwds)
    310     except TypeError:
    311         pass  # All real errors (not unhashable args) are raised below.

File [~/miniconda3/lib/python3.10/typing.py:1342](https://file+.vscode-resource.vscode-cdn.net/Users/danieldodd/Desktop/~/miniconda3/lib/python3.10/typing.py:1342), in Generic.__class_getitem__(cls, params)
   1338         raise TypeError(
   1339             f"Parameters to {cls.__name__}[...] must all be unique")
   1340 else:
   1341     # Subscripting a regular Generic subclass.
-> 1342     if any(isinstance(t, ParamSpec) for t in cls.__parameters__):
   1343         params = _prepare_paramspec_params(cls, params)
   1344     else:

AttributeError: type object 'MyClass' has no attribute '__parameters__'

Would appreciate any insight to what might be causing this issue, if you know the answer. Otherwise happy to investigate/support you with a PR, if this not expected behaviour.
Cheers,
Dan :)

Hey @Daniel-Dodd, thanks for the kind words :)
I've opened a PR to fix this, will publish a new version soon. In the meanwhile, you can fix the problem by simply changing the order of the parent classes:
class MyClass(tp.Generic[T], Pytree):

Fixed on 0.1.5


doc: Bluetooth: Documentation overhaul

Overhaul the Bluetooth documentation to split it into manageable units
and include additional information, such as architecture and tooling.
Fixes #13394

Codecov Report

Merging #14163 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #14163      +/-   ##
==========================================
+ Coverage   52.68%   52.71%   +0.03%
==========================================
  Files         307      307
  Lines       45473    45473
  Branches    10530    10530
==========================================
+ Hits        23956    23972      +16
+ Misses      16640    16628      -12
+ Partials     4877     4873       -4

Impacted Files
Coverage Δ

subsys/testsuite/ztest/src/ztest.c
72.72% <0%> (+7.43%)
:arrow_up:

subsys/testsuite/ztest/include/ztest_assert.h
77.77% <0%> (+38.88%)
:arrow_up:

Continue to review full report at Codecov.

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

@dbkinder we've addressed the issues


Avoid incorrect computing anchor of Control node when reset on save with saving flag

Fixes #90079. Alternative of #91493.
#91493 seems to have some effect on the scene and cannot pass the editor test. Possibly the test is not correct (like process timing problem?) but I don't know the details...
It seems a bit of a stopgap, but this PR adds the saving flag and provides a narrower fix focused only on save time.

This makes RESET animation have no effects on Control nodes. You could at least add is_inside_tree() check (in addition to saving), to make the position reset when saving the current scene. RESET would still have no effect when saving inactive scene, but at least it wouldn't break layouts.

@KoBeWi Thanks and indeed. I added !is_inside_tree() check. I assume this workaround will now only work if the scene is saved in a background tab.

Thanks!


Flask Mail builtin.OSError Errno 0

I wrote the same exact issue, checked my environment settings, printed out everything, and they still give out the same OSError.

@JHero23 Did you ever solve this? I don't check GitHub issues as much as I check my email, so in the future it's probably best to ask me questions through there<EMAIL_ADDRESS>Or to comment on the video in question.


Fix: get_client_from_cli_profile and ADLA

This fixes a bug when calling get_client_from_cli_profile(DataLakeAnalyticsJobManagementClient).
The root cause is that DataLakeAnalyticsJobManagementClient does not accept a base_url argument, and the constructor does not test if this is a valid argument for the given client_class constructor.
I've testing this successfully and there do not seem to be any negative effects.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Codecov Report

Merging #2312 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2312      +/-   ##
==========================================
- Coverage   52.77%   52.77%   -0.01%
==========================================
  Files        5630     5630
  Lines      133962   133963       +1
==========================================
  Hits        70697    70697
- Misses      63265    63266       +1

Impacted Files
Coverage Δ

azure-common/azure/common/client_factory.py
76.74% <0%> (-1.83%)
:arrow_down:

Continue to review full report at Codecov.

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

Hi @lmazuel. If helpful, I would love to also add unit tests into this PR as well.
Do you know where the proper code file is to add unit tests against this?

Hi @aaronsteers
Thanks for your contribution!
However, this is not the good fix for the problem:

You assume DataLakeAnalyticsJobManagementClient is already imported, which is likely not true
I should be able to configure adla_job_dns_suffix automatically based on the given cloud, to be compatible with ADL in other country.
See for instance the CLI code for that:
https://github.com/Azure/azure-cli/blob/79ab16490b17f7ca8d58f3e05c81f47315c2d4df/src/command_modules/azure-cli-dla/azure/cli/command_modules/dla/_client_factory.py#L37-L70

I will fix that asap

@lmazuel - Agreed. Your solution sounds more robust. Thanks for looking into this!
If I can help at all on my side, lmk.

replaced by https://github.com/Azure/azure-sdk-for-python/pull/2318


CI: GitHub Actions need updating where applicable for actions steps.

Describe the issue:
Currently, we are getting the following warning:

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

We will want to update any actions/* actions to ensure that we are using the latest version (which will use Node 16 instead of Node 12).
Please provide the steps to reproduce if possible:

Navigate to Actions
Select "Continuous Integration v2"
Re-run the most recent scheduled run
(This is only applicable to members with permissions)

Expected behaviour:
We should no longer get a warning that Node 12 is deprecated and to upgrade.
Other warnings may still occur and should be handled outside of this issue.
Please tell us about your environment:
N/A - GitHub Actions

Hello there, first time contributor here. After some research, the issue might be connected with this PR and this. We might have to wait until the testing was done in the upstream.

Hi there @mohzulfikar !
I don't believe we are using gha-setup-vsdevenv however we are certainly using humbletim's Vulkan SDK actions. With that said, we'll leave this as blocked for now. Thanks for the heads up!


Document common errors

New page Common errors.
Add a question in FAQ: I have an error XYZ, what do I do?

Check Common errors
Join the discord
Raise an issue on https://github.com/caido/caido if its a bug

Errors:

You do not have access to this instance

Why: You are trying to access an instance that you do not own (ref to https://github.com/caido/documentation/issues/32)

Caido instances are owned by one Caido Account

Likely origins:

You used another caido account in the past to connect to the machine on which caido is running

Remediations:

Login with your original caido account
Delete the data folder of caido (ref to https://docs.caido.io/configuration/data_location.html)
Run caido with --reset-credentials or in the desktop advanced settings (reset credentials) ONLY ONCE

I have paid for the pro plan but it still shows Community in the app

Why: We have caches in Caido that take some time to update
Remediations

Wait 1h
Logout/Login from your instance
Run caido with --reset-cache  or in the desktop advanced settings (reset cache) ONLY ONCE

An unknown authentication error occurred during the login process

Usually means that your computer time is out of sync
We allow 5m slippage between the "real" time and your computer time
Document the process for each platform to resync the time using NTP

I can't forward some traffic using Caido

Possibly a tamper rule modifying requests in a bad way
Restart the instance
Change project
TLS blocked (cloudflare), requires a cookie to avoid bot detection

https://github.com/caido/documentation/issues/31


Process Musgraves Dataset

For the "2030" Geophysics Community Connect Workshop
Started processing Musgraves on Gadi, using a notebook modelled after process_synthetic.ipynb
Here are the encountered issues:

[x] Permissions Error, cannot open in Append Mode
The musgraves data are readable but not writeable.  Copying the data to my scratch is a last resort, better to modfiy aurora to open in "r" mode, unless save_fc is True.  This can be handled by logic in TFK, and processing_config.
open in read-mode was applied to aurora v0.3.4 patch, we can use the old datasets for now.  We should still rebuild the datasets if time permit but we don't need to for the workshop.
[x] Run label in tfk.dataset.df (ultimately from mth5 channel summary) doesn't match run_obj.metadata.id
This is likely because the data were created using an older version of mth5.  Rebuilding the data with latest release should fix.  Otherwise we can workaround in process_mth5 with:

try:
    assert row.run_id == run_obj.metadata.id
except AssertionError:
    print("WARNING Run ID in dataset_df does not match run_obj")
    print("WARNING Setting run_obj metadata to match dataset_df")
    run_obj.metadata.id = row.run_id

right before make stfts.  I have added this workaround to earthscope_tests branch
and will merge into dev and then main depending on whether or not we rebuild the dataset

This workaround has been applied to main branch in v0.3.4
[x] Channel Nomenclature:

“bx”, “by”, “bz”, “ex”, “ey”
has not been encountered before.  Registering it properly would require a patch on mt_metadata.
Alternatively we could allow "define on the fly" in aurora ... TBD

This raises the question of the role of channel nomenclature, which is to accommodate MTH5 where the channel labels deviate from the standard ["ex", "ey", "hx", "hy", "hz"].

We do not wish to modify the hdf5, since we dont know where it is from.

In the output TF we need to adopt a policy on nomenclature - agree with input h5 or standardize, or allow control.  For now, we are returning the TF in the same coordinates as the input MTH5, but forcing HEXY format on the mt_metadata XML output.

[x] Transfer function is computed but doesn't cast to mt_metatdata.transfer_function.core.TF
Needs debugging ... this is likley associated with channel nomenclature, and should be diagnosable via examining
aurora/tests/synthetic/test_processing.py and comparing behaviour of test_can_use_channel_nomenclature()

Once the above issues are tackled, we can then:

[x] build an index table of all the musgraves data
[x] use a tools similar to earthscope_tests widescale.py to iterate on the table in parallel
For a first test:

[x] Extract from the dataframe table only the level1 data
[x] process as single station to see what fraction of data result in xml
of 89 files run, all resulted in XML in 1m21s
For a Second Test
[x] Given an L1 dataframe, search for all combinations of RR and Local Station
instead of doing combinatorics I just used the station pairs that Nigel shared.
[x] Add remote_path, remote_station_id to a new (melted) dataframe
[x] Iterate over RR processing
[x] Time testing with n_processors, etc.

This may get re-opened for a second pass, as it would be good to compare the TF values obtained by BIRRP and aurora, but the pandarallel processing ran for SS and RR so we will have an example for the workshop.  Closing for now.


Stackblitz errors when launching vite project

Describe the bug
The project console shows errors like:

simple?file:8=README.md Uncaught (in promise) Error: Unhandled Promise Rejection: Could not find source file: 'stackblitz:/src/comments/PostQuickCreateCancelButton.tsx'.

The web view is empty
Link to the blitz that caused the error
https://stackblitz.com/github/marmelab/react-admin/tree/4.x/examples/simple?file=README.md
Steps to reproduce

Go to https://stackblitz.com/github/marmelab/react-admin/tree/4.x/examples/simple?file=README.md
Open the console

Expected behavior
No errors, and a working app on the right
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 134414616,
  "usedJSHeapSize": 130494488,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 134daa3c

Additional context
No response

I managed to fix this sandbox by adding a lock file.


Add minimal FFmpeg variants

Description of changes
The FFmpeg closure is huge. It pulls in SDL, vdpau, and pulseaudio, which in turn pull in pipewire, dbus, etc., most of which are only useful for desktop systems.
This introduces -minimal variants of FFmpeg that are quite a bit smaller (not small enough imo), and updates Navidrome and unpaper to use them. There are probably more packages that could benefit from this.
For comparison:
$ nix path-info -Sh .#ffmpeg_4 .#ffmpeg_4-minimal .#ffmpeg_5 .#ffmpeg_5-minimal
/nix/store/0p929r2ifvymzd7jjny4gfmfa68k4g82-ffmpeg-4.4.2-bin     562.2M
/nix/store/a95pgdp816i9h230pa3yh750ar9vbdd3-ffmpeg-4.4.2-man       1.2M
/nix/store/ba3h2sa7m3kfa55w50dbdkb50wqia25f-ffmpeg-4.4.2-bin     163.6M
/nix/store/bspcw6q45bzyizvmkzd8g0zg5brhp0zj-ffmpeg-5.1.2-bin     562.6M
/nix/store/fax05c69zn6jg34n0qi5syghby0v4cwj-ffmpeg-5.1.2-man       1.3M
/nix/store/mxsqs9vk95q0cakrpj3c481wzkqacfmi-ffmpeg-4.4.2-man       1.2M
/nix/store/sjdp7cbnp6yf0hzflfalzcc47bph1xwn-ffmpeg-5.1.2-bin     164.0M
/nix/store/w0ra8kmiyn0l8xvfi5g1lb9a8vpdhppa-ffmpeg-5.1.2-man       1.3M

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

paperless
paperless-ng

9 packages built:

ffmpeg-minimal
ffmpeg_5-minimal
gscan2pdf
navidrome
ocrmypdf (python310Packages.ocrmypdf)
paperless-ngx
pdfsandwich
python39Packages.ocrmypdf
unpaper

Slight oddity - paperless and paperless-ng fail, but they're just aliases to paperless-ngx, which succeeded?

Nice idea. I wonder if what's really needed is a "headless" version with no ui support at all.

Nice idea. I wonder if what's really needed is a "headless" version with no ui support at all.

That's basically what I'm going for. I'm still experimenting with it - I'm compiling with libva-minimal currently.

After switching to libva-minimal, there's no longer any x11/wayland dependencies. This is about as small as its going to get unless I start removing headless features.
/nix/store/9dyffcdc3wd7b8v0jgjpsvcwavrvzr04-ffmpeg-5.1.2-man	   1.3M
/nix/store/fxfwfbi4li1z4x9ppc4igi4vpbdayjgp-ffmpeg-4.4.2-bin	 156.5M
/nix/store/h13zc0ds6af1fix1zs45w0m0k7rrblgn-ffmpeg-4.4.2-man	   1.2M
/nix/store/ry2rg145vr982vd8fr5qm2cg6xvqk0qk-ffmpeg-5.1.2-bin	 156.9M

What do you think of calling it headless instead?
Essentially what you're building is a ffmpeg which doesn't come with dependencies that are only useful on a headed system rather than one that doesn't come with any, are you?
This would also be helpful for SDL bootstrap.

What do you think of calling it headless instead?

No problem at all. Done.

Essentially what you're building is a ffmpeg which doesn't come with dependencies that are only useful on a headed system rather than one that doesn't come with any, are you?

Yep. My main motivation was to reduce the closure size to help my poor 30gb "server".

This would also be helpful for SDL bootstrap.

Pipewire too, but that should probably happen after this is merged.
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index d1f8b6bf315..f7378003d21 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -15649,12 +15649,8 @@ with pkgs;

   pipewire = callPackage ../development/libraries/pipewire {
     # ffmpeg depends on SDL2 which depends on pipewire by default.
-    # Break the cycle by disabling pipewire support in our ffmpeg.
-    ffmpeg = ffmpeg.override {
-      SDL2 = SDL2.override {
-        pipewireSupport = false;
-      };
-    };
+    # Break the cycle by depending on ffmpeg-headless.
+    ffmpeg = ffmpeg-headless;
   };

Yeah, SDL, pipewire and what have you will need to go to staging in a separate PR.

nixpkgs-review happy, macos 10.15

pkgsMusl and pkgsCross.aarch64-multiplatform variants build too, for both 4 and 5.


Update getting_started.md

Правка перевода

I've prepared a stage to preview changes. Open stage or view logs.

:+1: :smiley:

:)


Add documentation for new Performance rule CA1829 (UsePropertyInsteadOfCountMethodWhenAvailableAnalyzer) in FxCop analyzers

Does not exist in legacy FxCop
Rules Implementation:

https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.NetCore.Analyzers/Core/Performance/UsePropertyInsteadOfCountMethodWhenAvailable.cs#L21

Rules message and description:

https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.NetCore.Analyzers/Core/MicrosoftNetCoreAnalyzersResources.resx#L1137-L1145

Unit tests:

https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.NetCore.Analyzers/UnitTests/Performance/UsePropertyInsteadOfCountMethodWhenAvailableTests.cs

The analyzers already have the following URLs assigned:
CA1829: https://docs.microsoft.com/visualstudio/code-quality/ca1829

/cc @mavasani

Documentation for this rule was requested on developer community at https://developercommunity.visualstudio.com/content/problem/897563/missing-documentation-ca1829.html

Since this was closed I tried to see if the documentation was online but does not seem so. Is this pending a release or has it been closed without resolution?

This issue has been closed yesterday by PR https://github.com/MicrosoftDocs/visualstudio-docs-pr/pull/6468.
It's probably waiting for a release.


VSCode Terminal unusable when opening after waking computer from sleep.

VSCode Version: 1.47.0
OS Version: Ubuntu 18.04 LTS

Steps to Reproduce:

Open VSCode and suspend computer without closing it.
Log in and I find the VSCode terminal is messed up.

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

/duplicate https://github.com/Microsoft/vscode/issues/69665


how to generate meshes

Hello, thank you for your work. I want to know how to generate meshes using resources from the doc3d dataset

Hi,
the meshes we used for our Inv3D dataset were provided by the authors of the Doc3D dataset.
The Doc3D dataset itself does not contain the mesh data.
Luckily, the authors sent them to us.
Feel free to reopen this issue if your question is not fully answered.

Hi,
the meshes we used for our Inv3D dataset were provided by the authors of the Doc3D dataset. The Doc3D dataset itself does not contain the mesh data. Luckily, the authors sent them to us.
Feel free to reopen this issue if your question is not fully answered.
Thank you for your reply~


Alternative download (zip or exe), instead of Microsoft Store

Is your feature request related to a problem? Please describe.
Due to certain IT policy, I am not able to install Notepads from Microsoft Store.
Describe the solution you'd like
Please provide exe or zip file download for Windows x86_64 from github.
Describe alternatives you've considered
None.
Additional context
None.
Thanks.

You can install the *.msixbundle from the download page without using the store:
run this in an admin power shell:
 Add-AppxPackage \path\to\Notepads_<IP_ADDRESS>_x86_x64_arm64.msixbundle

Unfortunately, I don't have Admin. Probably, I am looking for a portable type.

Just noticed the *.msibundle can be installed as it is (double-clicking it). So, closing this issue. However, I still prefer portable binary.


D417: Error if arguments listed in docstring are not vertically aligned with 'Args:'

Following command:
ruff check .\script.py

With script.py containing:
def calculate_speed(distance: float, time: float) -> float:
    """Calculate speed as distance divided by time.

    Args:
    ----
        distance: Distance traveled.
        time: Time spent traveling.

    Returns:
    -------
        Speed as distance divided by time.

    """
    return distance / time

Reports the following violation:
script.py:3:5: D417 Missing argument descriptions in the docstring for `calculate_speed`: `distance`, `time`

Where Ruff version is 0.0.286 and the settings in pyproject.toml are as follows:
[tool.ruff]
select = ["ALL"]
ignore= ["D203", "D213", "FA102", "FIX002", "N817", "S101", "S311", "S314", "T201", "TD002", "TD003"]

But if arguments are vertically aligned with Args::
def calculate_speed(distance: float, time: float) -> float:
    """Calculate speed as distance divided by time.

    Args:
    ----
    distance: Distance traveled.
    time: Time spent traveling.

    Returns:
    -------
        Speed as distance divided by time.

    """
    return distance / time

Then Ruff does not complain.

Thanks! Closing as a duplicate of https://github.com/astral-sh/ruff/issues/7256. I wrote a comment there, but FWIW I don't necessary recommend mixing docstring conventions (e.g., this snippet uses NumPy-style underlines but Google-style indentation and section names) as it can lead to unintended results.


Refresh the temporary file before download

The first time I create and download a file:
$file =  Excel::download(new EmployeeDownloadExport(), $project->course->title . '-' . $project->date . '.xls');
I get fresh, up to date data from my database. However, all downloads after that seem to use the temporary file created. Even if i alter my data and download again, i still get an old copy of the xls file.
Is there any way i can delete the old file before downloading a new one or refresh the file before downloading? Or at least set the time duration for keeping the tmp file?
Using:
maatwebsite/excel                     3.1.17   Supercharged Excel exports and imports in Laravel

If you return the response that ::download returns, the temporary file get's deleted by Laravel.

I need to do some actions between the creation of the file and the download. So, this is not an option.
Any way I can manually provoke this? I'm getting old data in my files.

I think you could better store the file and trigger an normal download with Laravel

Thanks. I figured there might be an easier way but that made sense:
$name = $project->course->title . '-' . $project->date . '.xls';
$file =  Excel::store(new EmployeeDownloadExport(), $name);
//Do extra actions here
return response()->download(storage_path('app/' . $name))->deleteFileAfterSend(true);


Fixed a bug  about capacity unit

What this PR does / why we need it:

Using cmd vgs instead of vgdisplay.
Fixed a bug about capacity unit.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Coverage decreased (-0.03%) to 43.919% when pulling 88c66fb1ff5bef206e70560672c41a2cb4dfdf2b on xxwjj:lvm_pool_capacity_bug into dd199c969f56b00a1d2d08be42b3be2ba949ef43 on opensds:development.


add missing job types for SHOW JOBS

DOC-8354

I'm a little uneasy calling this "possible values" when the there are other possible values that we just don't think users should care about, and the set changes over time. Do we actually need to claim to enumerate all "possible values" for a string result?

Alternatively, is there a way to soften the claim? e.g. "Some common values" or "Possible values include:" or some wording that makes it clearer that there could be other values here.

@dt that makes sense -- I adjusted by simply removing those words; let me know if you think it works.

Works for me. We could also say "e.g." or "Examples:" to introduce this (partial) list of types.

TFTR. I like e.g.! Using that.


I2C transmit buffer not correctly iterating over the buffer

This function in I2C.c :
void I2C_Master_Send_Buffer(I2C_Config I2C, uint8_t *data, int length)
{
	for(int i = 0; i < length; i++)
	{
		while((I2C.I2C -> SR1 & 0x80) == 0){}
		I2C.I2C -> DR = data;
		while((I2C.I2C -> SR1 & 0x80) == 0){}
	}
}

Is supposed to iterate over the elements in the buffer, but doesn't, and it also fails to de-reference the pointer to the data.  This code did not even compile under Segger Embedded Studio and needs to be changed to :
I2C.I2C -> DR = data[i];

Ah yes, good catch. Will update soon.

Issue is fixed now! Please continue testing these files. Also take a look at STM32F4 repos.

Closing issue


[jvm-packages] Bring XGBoost4J Intro up-to-date

Updating java_intro.rst to work with latest XGBoost4J.
@CodingCat

Codecov Report

Merging #3574 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3574   +/-   ##
=========================================
  Coverage     48.06%   48.06%
  Complexity      188      188
=========================================
  Files           169      169
  Lines         13341    13341
  Branches        457      457
=========================================
  Hits           6412     6412
  Misses         6704     6704
  Partials        225      225

Continue to review full report at Codecov.

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

LGTM

@CodingCat I think we're good for 0.80 release. Is there anything else you should that should be merged?

let's merge https://github.com/dmlc/xgboost/pull/3575


Please Consider Using your Own Trending Server

The endpoint, trending.codehub-app.com, is used primarily for CodeHub and so it's scale has been designed around supporting that user base. However, your application is also using that endpoint which is generating additional load and bandwidth on the server. Please consider using something else or standing your own server up. GitHub-Trending is the code that is used to power that server and is simple to setup.

Thank you for your feedback. I will deal with it as soon as possible.

Already fixed and I'm so sorry for the trouble brings to you.


Update form-validation.md

iteration objects requires key.
Note
We're currently in the process of migrating Vue's documentation to v3. To ensure smooth progress, only PR's that fix critical bugs and/or misinformation will be accepted. If yours is not one of them, consider creating an issue instead and we will label it as post-3.0 for later tackling.

Since this is not a critical error, I'm going to close it per the PR template. You're welcome to create an issue which can then be labeled as post-3.0 to tackle later.


Add network --host to build script

First confirm with group this is okay (in a pr to recipes)

➤ Julien Lhermitte commented:
This was an issue I had here when playing on thuban:
Testing on thuban - packaging and deployment ( https://3.basecamp.com/3733838/buckets/4534819/messages/1114837477 )
I noticed that there was some issue with the network bridge. When I removed it by adding the "--network host" flag, everything worked fine. If there are issues with docker not being able to see the outside world, then I suggest adding that flag here:
https://github.com/NSLS-II/lightsource2-recipes/blob/master/scripts/nsls2-tag-build.sh#L36
I don't remember more than this and don't have time to try to recall so I will leave it at that. @Maksim has taken charge of the build sytem so i will assign him and decide if this is needed

I don't think it's relevant anymore.


Raise NotImplemented in binary operations with non-CuPy arrays

Binary operations in CuPy currently raise TypeError when other is a non-CuPy array, see below:
In [1]: import cupy as cp, dask.array as da

In [2]: a = cp.arange(5)

In [3]: b = da.ones_like(a, shape=(5,))

In [4]: b - a
Out[4]: dask.array<sub, shape=(5,), dtype=int64, chunksize=(5,), chunktype=cupy.ndarray>

In [5]: a - b
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-5-09bd029d0285> in <module>
----> 1 a - b

cupy/core/core.pyx in cupy.core.core.ndarray.__sub__()

cupy/core/_kernel.pyx in cupy.core._kernel.ufunc.__call__()

cupy/core/_kernel.pyx in cupy.core._kernel._preprocess_args()

TypeError: Unsupported type <class 'dask.array.core.Array'>

It would be useful to instead raise a NotImplemented exception as it would allow the other array to try to compute that operation, see NotImplemented docs for details.
Any thoughts on allowing this in CuPy?

Thanks for the feedback! Currently CuPy binops only take care of __array_priority__ (https://github.com/cupy/cupy/blob/v8.0.0/cupy/core/core.pyx#L67-L70 + https://github.com/cupy/cupy/blob/v8.0.0/cupy/core/core.pyx#L1068-L1072) and not following NEP-13 rules like Dask.
https://numpy.org/neps/nep-0013-ufunc-overrides.html#behavior-in-combination-with-python-s-binary-operations
I think we should update the logic to follow it.

NEP-13 says that self.__op__ return NotImplemented when other.__array_priority__ > self.__array_priority__, but otherwise calls the corresponding ufunc and it never return NotImplemented. Could you set the value of dask.array.__array_priority__ higher than 100?
https://github.com/dask/dask/blob/0ca77043bbbe015dcb69378ece54419332734f40/dask/array/core.py#L1413)
https://github.com/cupy/cupy/blob/v8/cupy/core/core.pyx#L269

Apologies, I missed responses here.

Could you set the value of dask.array.__array_priority__ higher than 100?

I'm guessing we can't as I believe many projects use that and have already higher values specifically because of Dask. @mrocklin could you confirm/deny my statement, or maybe copy someone else who's more familiar with that in Dask?

100 seems like a very high value.  I think that numpy uses 10 and most other projects use values like 11.
In practice though I also don't know if __array_priority__ is commonly used.  In cases like this I think that the Python binary operator dance is probably a better fit (try left.__add__(right) if that doesn't work then try right.__radd__(left).  However, I do not know how that integrates with NEP-13 (I am not very familiar with NEP-13).
cc'ing @jakirkham and @seberg , both of whom know this better than I do.

Looking at the cupy code, it uses the logic:
cdef inline _should_use_rop(x, y):
    xp = getattr(x, '__array_priority__', 0)
    yp = getattr(y, '__array_priority__', 0)
    return xp < yp and not isinstance(y, ndarray)

This is different from what NumPy does. NumPy rather first checks for __array_ufunc__ with the assumption that the __array_ufunc__ protocol will handle it correctly later (assuming __array_ufunc__ is not None, which means that you should defer always).
My first impression is that cupy should add the check for __array_ufunc__ to allow fallback to the ufunc/__array_ufunc__ protocol?  For NumPy that is what happens anyway, I guess for cupy that may mean a 3-way logic (defer, use ufunc, handle internally).

From my perspective, array-priority is more of an artifact of the past. We probably can't quite do without it yet, but I think we should try.
Normally, the logic in __add__ is something like:
def __add__(self, other):
    if not is_known_type(other):
        return NotImplemented

NumPy (and cupy probably) can't do that easily, because we coerce most python objects agressively.  The solution is to use __array_ufunc__ to decide whether this is a "coercible" type:
def __add__(self, other):
    if hasattr(other, "__array_ufunc__") and not is_known_type(other):
        return NotImplemented

NumPy continues to check the array priority for historic reasons IMO.  And I am not even sure cupy/dask have to worry about it?
In the previous post I thought you may need a 3-way logic (calling the ufunc in theory).  I guess that should not be necessary, if self.__array_ufunc__ is valid, is_known_type() will succeed since you use the same logic for __array_ufunc__.  If other.__array_ufunc__ would be used, then other.__add__ should succeed as well and deferring is correct.
Or am I missing a reason why cupy/dask must rely on __array_priority__ here?

@pentschev @mrocklin @seberg Thanks for your explanations! I fixed cupy.ndarray binary operation logic in #4198.

>>> cupy.ones((3, 4)) @ da.ones_like(cupy.empty((4, 2)))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cupy/_core/core.pyx", line 1197, in cupy._core.core.ndarray.__matmul__
  File "/path/to/cupy/_core/_gufuncs.py", line 660, in __call__
    args, dimsizess, loop_output_dims, outs, m_dims = self._get_args_transposed(  # NOQA
  File "/path/to/cupy/_core/_gufuncs.py", line 474, in _get_args_transposed
    args = [_manipulation.broadcast_to(
  File "/path/to/cupy/_core/_gufuncs.py", line 474, in <listcomp>
    args = [_manipulation.broadcast_to(
TypeError: Argument 'array' has incorrect type (expected cupy._core.core.ndarray, got Array)


Add CAP_DAC_READ_SEARCH escape

Hi team! First of all thanks for the project! I'd like to contribute escape via CAP_DAC_READ_SEARCH capability that allows arbitrary file read.
You'll find documentation to this escape in comments to this PR because I can't edit project Wiki directly.

Nikita Stupin
Advanced Software Technology Lab
Huawei

Exploit: cap-dac-read-search
If container is run with CAP_DAC_READ_SEARCH capability it is able to read arbitrary file from host system. This is possible because CAP_DAC_READ_SEARCH gives ability to bypass DAC (discretionary access control) checks and open files by file handles which are global file identifiers. Original exploit can be found at http://stealth.openwall.net/xSports/shocker.c.
Usage
cdk run cap-dac-read-search <target> <ref>
# read target file from host. First argument is target file. Second argument is file bind-mounted to container from host

Example

Build cdk
Run a docker container docker run -it --rm --cap-add CAP_DAC_READ_SEARCH -v "$(pwd)/cdk":/cdk ubuntu /bin/bash 1. Run cdk exploit inside the container cdk run cap-dac-read-search /etc/shadow /etc/hosts

You should get /etc/shadow from host:

Verify that /etc/shadow from container is different:

hi, this exploit is great! But I can't reproduce it very well. I think it is related to the version of docker, and my ubuntu image seems to be different from yours.

Hi @neargle , maybe you could try /etc/resolv.conf, /etc/hostname or /etc/hosts as the second parameter, because they are all default bind-mounted into current container. I successfully dump host /etc/shadow using these 3 files.

And hi @nikitastupin , as /etc/localtime won't be mounted into container automatically, script will fail (no such file or directory) with defaultRef , maybe you could consider changing defaultRef from /etc/localtime to any one of above 3 files (like /etc/hosts) ?
https://github.com/cdk-team/CDK/blob/703a85c04879577c5550e4c7b2583bdf8d7ec15f/pkg/exploit/cap_dac_read_search.go#L19

@greenhandatsjtu Yes, u are right, the second parameter should use the file mounted into the container.

And hi @nikitastupin , as /etc/localtime won't be mounted into container automatically, script will fail (no such file or directory) with defaultRef , maybe you could consider changing defaultRef from /etc/localtime to any one of above 3 files (like /etc/hosts) ?
https://github.com/cdk-team/CDK/blob/703a85c04879577c5550e4c7b2583bdf8d7ec15f/pkg/exploit/cap_dac_read_search.go#L19

I will do this, thank you both.


DO NOT MERGE: testing CI binary check

Testing #12614, take two.

The experiment was a success, and the CI check has been merged.


Parsing Maya collada exports

At the time of this issue all collada files in the test suite are from Blender exports.
We'll want to add tests for collada files exported from Maya (and other tools)

[ ] Organize test fixtures by 3d modeling tool
[ ] Make Maya collada tests that cover the existing Blender test cases
[ ] Add accompanying GIFs and/or an html viewer for all of the test fixture collada animations

We'll want to add tests for collada files exported from Maya (and other tools)

Quick comment: Last time I checked (>1 year ago), the native Maya COLLADA exporter did not produce valid COLLADA documents. Only files exported with the OpenCOLLADA plugin were valid COLLADA files.

@crobi ah thanks a lot for that info, that's super useful. We'll definitely want to keep that in mind whenever we explore Maya-collada unit tests.
Hopefully they've been improving their native exporter :crossed_fingers:


Select Business Group during Deployment

On the ACB online/Desktop, I'm trying to deploy my application to CloudHub 1.0 . I created the deploy.json and tried to deploy. But the deployment always deploys to the Root Business Group. I want to deploy to a child business group. I was not able to find a way to select the business group during deployment.
The feature to select the Business Group for the entire workspace would be really helpful as today im blocked from being deploying the application to the right Organization.

Thanks for posting this issue.
ACB currently only allows deploying to the root organization. We already fiked an enhancement, which will be implemented as soon as possible


Add replace-by-fee-bug-(cve-2021-31876) to bitcoin-magazine/bitcoin-explained

This PR adds Replace-by-Fee Bug (CVE-2021-31876) transcript to the bitcoin-magazine/bitcoin-explained directory.

Had to add the "RBF" tag manually. Wasn't able to do it via the Review frontend.

Thanks for the contribution @0xB10C!

Had to add the "RBF" tag manually. Wasn't able to do it via the Review frontend.

That's because we are using the tags of btctranscripts, and RBF was not in them until now.

Thanks for the fixups!


sqlsmith bug hunt: cannot recognize large numeric

Describe the bug
Large numeric is not recognized in RW: e.g. f32::MAX:<PHONE_NUMBER>00000000000000000000000000000.
To Reproduce
dev=> SELECT<PHONE_NUMBER>00000000000000000000000000000;
ERROR:  QueryError: Expr error: Cast("str", "risingwave_common::types::decimal::Decimal").

Expected behavior
postgres=# select<PHONE_NUMBER>00000000000000000000;
            ?column?
--------------------------------
<PHONE_NUMBER>00000000000000000000
(1 row)

postgres=# select pg_typeof(340282350000000000000000000000);
 pg_typeof
-----------
 numeric
(1 row)

Additional context
Can fix by indicating what is the max size of numeric we support. We may not strictly follow pg behaviour in this case. See #239 (currently using rust-decimal out of the 3).

Probably due to the limitation of the current decimal crate we use #239

If it's a known issue then we can temporarily limit sqlsmith to only generate integers within the bound of int64.

Track in #239


[Bug] No linting for .ts and .tsx files when using vue-eslint-parser

Quote from README.md:

The 2.0.4 version of the extension contains the following major improvements:

Improved TypeScript detection - As soon as TypeScript is correctly configured inside ESLint, you no longer need additional configuration through VS Code's eslint.validate setting. The same is true for HTML and Vue.js files.

Therefore, my config:
{
  "eslint.validate": []
}

Repro: https://github.com/wenfangdu/vue-eslint-parser-repro
Seems when using vue-eslint-parser, .ts and .tsx files aren't auto-detected unless I explicitly specify:
{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]
}

This is actually by design since I didn't want to break existing users. You should simply remove the setting since it is not necessary for your setup anymore.
Let me know if everything works as expected when the setting is removed.

I think you misunderstood the issue, pardon me if I'm wrong. My previous config "eslint.validate": [] caused .ts and .tsx not being linted, only after using the following config, the linting took effect.
{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]
}

You can try my repro with this config "eslint.validate": [] and see if linting is on.

I cloned the repository as is and it works for me out of the box

Any additional steps?

@dbaeumer No, there's none. It's quite strange, I'm using the following as a workaround now, no problems so far:
{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]
}

That is really strange since it works for me without the eslint.validate setting.

@wenfangdu are you using windows by any chance? if so, can you try the same repo in another windows computer along with linux/osx? My findings are that it fails without that validate options if you use windows, whereas in linux/OSX, it works out of the box.

@wenfangdu are you using windows by any chance? if so, can you try the same repo in another windows computer along with Linux/OSX? My findings are that it fails without that validate options if you use windows, whereas, in Linux/OSX, it works out of the box.

@baranelitez  Yes, I'm using Windows 10.
@dbaeumer I think this might be the reason?

@dbaeumer Sorry to bother 🙏, is it released? It's still reproducible for me.

Only has a new insider here: https://github.com/microsoft/vscode-eslint/releases/tag/release%2F2.1.24-Insider
If you want to give it a try you can download the VSIX and install using the Install from VSIX command in VS Code.

Any updates? Still reproduces for me today.


feat(updating-csv-validation-messages): updating validation messages for issuance creation from CSV upload

Updating CSV validation messages

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update README.md

Fixes Issue
closes #19

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

@divyanshraj0408, don’t forget to link the issue that your PR addresses. It’ll add more context about your PR :)

@divyanshraj0408, don’t forget to link the issue that your PR addresses in the Fixes issue section. It’ll add more context about your PR :)
Thanks for letting @CBID2  me know, I totally missed it :+1:

Thank you 👍


Failed to use context.vRouter.pushReplacementNamed

channel: dev
  vrouter:
    git:
      url: https://github.com/lulupointu/vrouter.git
      ref: dev

Failed: context.vRouter.pushReplacementNamed(kRouteAuthLogin);
flutter: ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
flutter: The following UnsupportedError was thrown while handling a gesture:
flutter: Unsupported operation: Cannot modify an unmodifiable Map
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      _ImmutableMap.updateAll (dart:core-patch/immutable_map.dart:114:5)
flutter: #1      VRouterState._updateUrlFromName (package:vrouter/src/vrouter/vrouter.dart:776:20)
flutter: #2      VRouterState.pushReplacementNamed (package:vrouter/src/vrouter/vrouter.dart:1618:5)
flutter: #3      RootVRouterData.pushReplacementNamed (package:vrouter/src/vrouter/root_vrouter_data.dart:111:14)
flutter: #4      LocalVRouterData.pushReplacementNamed (package:vrouter/src/vrouter/local_vrouter_data.dart:170:51)
flutter: #5      EmailOptions.build.<anonymous closure> (package:tictic/application/ui/authentication/view/auth_main_page.dart:97:35)
flutter: #6      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:991:20)
flutter: #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
flutter: #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:607:11)
flutter: #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:296:5)
flutter: #10     BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:230:7)
flutter: #11     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:475:9)
flutter: #12     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:93:12)
flutter: #13     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:138:9)
flutter: #14     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
flutter: #15     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:136:18)
flutter: #16     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:122:7)
flutter: #17     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:381:19)
flutter: #18     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:361:22)
flutter: #19     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:278:11)
flutter: #20     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:316:7)
flutter: #21     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:280:5)
flutter: #22     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:238:7)
flutter: #23     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:221:7)
flutter: #27     _invoke1 (dart:ui/hooks.dart:180:10)
flutter: #28     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:276:7)
flutter: #29     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
flutter: (elided 3 frames from dart:async)
flutter:
flutter: Handler: "onTap"
flutter: Recognizer:
flutter:   TapGestureRecognizer#77eb1
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Unsupported operation: Cannot modify an unmodifiable Map
flutter: Another exception was thrown: Unsupported operation: Cannot modify an unmodifiable Map
flutter: Another exception was thrown: Unsupported operation: Cannot modify an unmodifiable Map
flutter: Another exception was thrown: Unsupported operation: Cannot modify an unmodifiable Map

This option works for me, maybe I am using this in unexpected way or not sure..
context.vRouter.pushReplacement(kRouteAuthLogin);

i will have a look at pushReplacementNamed. I leave this open as a reminder.
thanks for the report

Oh wait you used Named with a path? If so this is unexpected.
You should use Named with a VWidget which uses the name attribute for example.
In any case, can you describe your use case (even if mis used) so that I can work on displaying a more helpful error message?

Yes @lulupointu I have used Named with a path..
Yeah good catch, we can improve on more helpful error message..

After looking into it, what you encountered was definitely a bug. A more helpful error message should and will now be displayed.
This is silly since my tests did catch the issue, I just did forgot to run them.
In any case, thanks !


click on a url from inside the pdf

Hey folks,
opening this one up because I hate to leave an empty issue that wasn't worthwhile.
I've got a question for you guys; if you could let me know where we're at for hyperlinks for url's that are in the pdf's.
Is that a possible?

Here is what I'm using at the moment
` func generatePDF() {
do {
let dst = NSHomeDirectory() + "/sample_tblview.pdf"
        let page1 = PDFPage.view(self.tv)
        let page2 = PDFPage.image(self.resultsWordCloudImage.image!)
        let p1 = [page1]
        let p2 = [page2]
        let p3 = p1 + p2

        try PDFGenerator.generated(p3, to: dst)
        openPDFViewer(dst)

    } catch let error {
        print(error)
    }
}`

hey, did you find a solution ?


Authentication

Incorporates authentication with blobstore, however blobstore does not work on deploy.

Blobstore now works on the live server!


Can we publish a new Nuget version?

The latest version 6.1.0 was published more than two years ago, there have been many changes since then, a new version would make people's life easier.

Latest Nuget Packages

Solnet.Rpc
Solnet.Wallet
Solnet.Programs
Solnet.Extensions
Solnet.Keystore

Latest nuget package links are in the readme. search net8 & solnet to find all the latest packages on nuget easily
https://github.com/bmresearch/Solnet?tab=readme-ov-file#latest-nuget-packages


Vite adds spaces around commas in image url within srcset (HTML files)

Describe the bug
Vite appears to add spaces around commas when a comma is present in a srcset property. This only occurs in HTML files.
If my index.html file contains
    <img
       srcset="https://www.rei.com/dam/18160142_homepage-lead-member-rewards-xs_web_lg.jpeg?im=Resize,width=800 800w"
       src="https://www.rei.com/dam/18160142_homepage-lead-member-rewards-xs_web_lg.jpeg"
    />

Vite outputs
<img srcset="https://www.rei.com/dam/18160142_homepage-lead-member-rewards-xs_web_lg.jpeg?im=Resize , width=800 800w" src="https://www.rei.com/dam/18160142_homepage-lead-member-rewards-xs_web_lg.jpeg">

Take note of the space added to the image url around the comma in the query parameter. ?im=Resize , width=800
The browser reads width=800 as the entire image url and attempts to request /width=800 which is nonexistent.

Reproduction
Code Sandbox
Steps to reproduce
reproduceable with vite vite preview and vite build
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (6) x64 Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
    Memory: 8.79 GB / 15.93 GB
  Binaries:
    Node: 21.6.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (122.0.2365.59)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    vite: ^5.1.4 => 5.1.4

Used Package Manager
npm
Logs

Browser Logs
```shell
Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
    at main.ts:6:49
    ```

Vite Logs
```shell
  vite:resolve 0.64ms /width=800 -> null +5s
  vite:html-fallback Rewriting GET /width=800 to /index.html +228ms
```

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I believe the bug lives in this line of splitSrcSet: https://github.com/vitejs/vite/blob/11cceeab392504c1af262a0fa033345f22c6ffae/packages/vite/src/node/utils.ts#L781
I will try to make a contribution this weekend, but anyone else should feel free to jump on it.

Hi, this is still broken for URLs with commas in path, eg. https://res.cloudinary.com/hackercamp/image/upload/dpr_auto,f_auto,fl_progressive,q_auto,w_100/v1/www.hackercamp.cz/faq-ubytko-3?_a=BAMABmTE0

Hey @rarous, please create a new issue with a minimal reproduction so we can properly track your report

Ok, my case is described in https://github.com/vitejs/vite/issues/16323


revoke_cdb_conf_access user-level closes #1141

This closes #1141. @Kartones CR this, please.

:+1:


Ensure mobile menu works correctly on iOS

Using an <a> for the mobile menu button without an href
was causing the mobile menu not to work on iOS devices
Altered mobile menu to use <button> instead
Change data-target to use an ID otherwise aria-expanded
true/false on mobile menu button does not get set correctly

Nice catch, thanks for the fix. :+1:

@fofr no worries, anything I can do to help this through? - I ran the tests locally and all was well.

@Guntrisoft We have to do some magic to get external branches to run against our internal CI. All sorted now, tests passed and PR merged.


Unify knowhere to use new/delete to sync with faiss

Signed-off-by: yudong.cai<EMAIL_ADDRESS>Issue: #344

/lgtm

/lgtm


Node-API napi_remove_wrap is not being handled correctly

If a finalize callback was associated with the wrapping, it will no longer be called when the JavaScript object becomes garbage-collected.
this is the bit from the Node-API docs that is not being handled correctly, from napi_remove_wrap (https://nodejs.org/api/n-api.html#napi_remove_wrap)

This is the case in JSC but we should check Chakra also. It should not be an issue for V8.


New version: Darknet v0.1.3

Registering package: Darknet
Repository: https://github.com/ianshmean/Darknet.jl
Created by: @ianshmean
Version: v0.1.3
Commit: 6d141532dd62206a95439cf86650ac9163c53920
Reviewed by: @ianshmean
Reference: https://github.com/ianshmean/Darknet.jl/commit/6d141532dd62206a95439cf86650ac9163c53920#commitcomment-35975382

Superceeded by #5459. Can be closed


fix: make sure charts always fit into report width

Description
Using the autosize function of Vega.
fix ZEN-239

This is epic I wasted so much time trying to figure this out

The radar chart is still a bit off, but I think it was off before.


🚀 Feature: Add a way to apply known file changes after migration

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
Right now, if you want to run npx create-typescript-app --mode migrate on an existing repository that doesn't use exactly what the template sets up, there'll likely be some changes to tooling. For example, a GitHub Action that uses ncc instead of tsx to build might see a change like:
// package.json
- "build": "tsx"
+ "build": "tsx"
...
+ "ncc": "^1.2.3",
- "tsx": "^1.2.3",

This is annoying and inconvenient. I'd like to allow repositories to store their own description of changes to be made after migration. That way they can run migration mode, then those changes - and end up with no unintended changes.
I suspect there may be two kinds of changes to be made:

Terminal commands: running installs, uninstalls, and the like
Text (diff): directly modifying built files

Additional Info
This is essentially a re-file of #498. Spinning out into a new issue as the comment history on that one includes a good bit of discussion to get us to this point.
This is essentially turning the end-to-end test snapshots into a real feature. Better documenting those snapshots is tracked in #1141.
There's also a similarity to how https://github.com/ds300/patch-package allows applying changes after installation...

This isn't cleanly doable in the current architecture. But in the big create package revamp I'm planning for #1181, it will be. Closing this issue out in favor of a big description I'll post there. 🚀


Conversion Host - Return hostname as IP address

The IP addresses of a virtual machine or a host are not ordered accordingly to their interface name or role. So, when trying to connect to a conversion host, the IP address might not be correct. Returning the hostname when it's available mimics the behavior of Host.connect_ssh method.

@miq-bot add-label transformation, enhancement, hammer/yes
@miq-bot add-reviewer agrare