ic_arrow_back.xml overrides project's icon

Please rename or delete the icon in the anydpi folder because it overrides the project's icon with the same name.
Thank you.

Hi, Thank you for using this library. Above issue has been fixed in latest version.
https://github.com/afreakyelf/Pdf-Viewer/releases/tag/v2.0.1


{Compute} Refile help message for --data-disk-delete-option

Issue: #22004
Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute


Bump assertj from 3.15.0 to 3.17.2

Adopt me! (otherwise I will be abandoned if no progress by Oct 16)

> Task :geode-management:compileTestJava FAILED
/home/geode/geode/geode-management/src/test/java/org/apache/geode/management/configuration/DeploymentTest.java:67: warning: [deprecation] isEqualToComparingFieldByField(Object) in AbstractObjectAssert has been deprecated
    assertThat(newValue).isEqualToComparingFieldByField(deployment);
                        ^
  where SELF,ACTUAL are type-variables:
    SELF extends AbstractObjectAssert<SELF,ACTUAL> declared in class AbstractObjectAssert
    ACTUAL extends Object declared in class AbstractObjectAssert
error: warnings found and -Werror specified
/home/geode/geode/geode-management/src/test/java/org/apache/geode/management/configuration/ClassNameTest.java:106: warning: [deprecation] isEqualToComparingFieldByField(Object) in AbstractObjectAssert has been deprecated
    assertThat(className).isEqualToComparingFieldByField(className1);
                         ^
  where SELF,ACTUAL are type-variables:
    SELF extends AbstractObjectAssert<SELF,ACTUAL> declared in class AbstractObjectAssert
    ACTUAL extends Object declared in class AbstractObjectAssert
/home/geode/geode/geode-management/src/test/java/org/apache/geode/management/configuration/ClassNameTest.java:112: warning: [deprecation] isEqualToComparingFieldByField(Object) in AbstractObjectAssert has been deprecated
    assertThat(className2).isEqualToComparingFieldByField(className);
                          ^
  where SELF,ACTUAL are type-variables:
    SELF extends AbstractObjectAssert<SELF,ACTUAL> declared in class AbstractObjectAssert
    ACTUAL extends Object declared in class AbstractObjectAssert
/home/geode/geode/geode-management/src/test/java/org/apache/geode/management/runtime/DeploymentInfoTest.java:51: warning: [deprecation] isEqualToComparingFieldByField(Object) in AbstractObjectAssert has been deprecated
    assertThat(newValue).isEqualToComparingFieldByField(deploymentInfo);
                        ^
  where SELF,ACTUAL are type-variables:
    SELF extends AbstractObjectAssert<SELF,ACTUAL> declared in class AbstractObjectAssert
    ACTUAL extends Object declared in class AbstractObjectAssert
1 error
4 warnings


Added the ability to set logging levels from environment variables

See #3 for the full discussion. According to the last comment, by default this is disabled - as I couldn't find out how to set default value.

@adrukh sorry for the long delay, fixed :)


Update kube dependency to v1.13.2

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

Checking file snapshot/pkg/cloudprovider/providers/gce/gce_test.go
FAILED   /Users/travis/gopath/src/github.com/kubernetes-incubator/external-storage/repo-infra/verify/go-tools/verify-govet.sh	55s
make: *** [verify] Error 1

Go vet is passing locally for me , not sure why it fails on test infra. @wongma7 any pointers?

@wongma7 PTAL  :)

/assign @wongma7

Is there anything I can do to expedite the integration and merge of this patch? I can't run dep on a source tree that contains 1.13 and a flexvolume provisioner because of the missing version package.


Workspace: Can't add folder to workspace

Seen on macOS

Open a folder
Try to add another folder to the workspace. Cancelled error appears
Try it again. Cancelled error appears
Quit Code
Open Code
Two windows open, exact copies of each other in terms of workspace folders!

https://github.com/Microsoft/vscode/commit/b1bc9a59646fd37eebb389e392f480a6145cc927


dm6 assembly search box and coordinates system?

It seems HiGlass is not yet supporting the dm6 assembly of Drosophila melanogaster genome, is there a way to add the support of that assembly in the search box?

Working on adding dm6 right now :)
But in general, you need to create the gene annotations as described here: http://docs.higlass.io/gene_annotations.html#creating-the-track
And then add a chromsizes file: http://docs.higlass.io/track_types.html#chromosome-labels
Both the annotations and the chromosome sizes should have coordSystem set to the assembly name (e.g. dm6).
But if you can wait until the end of the day, I should have dm6 up on higlass.io.

Oh super nice of you, thank you!
Yes I followed the tutorial and got everything in place, even changed the chromosome names to 2L, 2R and so on instead of chr2L (since my matrices have 2L, 2R chromosome name style). But currently my matrices that were working yesterday are not working today anymore on HiGlass so I could not test that... Since it's on a local machine I cannot really know where the bug comes from or if it's just that my machine is taking forever to display the matrix (I'll perhaps post an issue about this if it persists).

OK, dm6 annotations are available on higlass.io: http://higlass.io/app/?config=Z-VHUGPCR1O-KQ3e61dvGQ
If you're still having trouble with your matrix, I'm happy to take a look and see if I can help. Just shoot me an email.


Create a command-line tool for auto-generating/filling CSV

A command-line tool to use Wikidatalookup API.
Accept person names and according Wikipedia link to automatically generate/fill CSV.

superseded by #37


Run jobs in an ECS cluster

This introduces an ECS cluster and builds off the ECS optimized-AMI. The agents still run on the host, but all jobs are spawned as ECS tasks on the same host so that we can leverage the IAM Role per Task infrastructure that AWS provides for ECS.

What are your feels so far?

Not good @toolmantim. The ECS AMI is really difficult to work with and ECS is really difficult to run ephemeral tasks with streaming output. I think I'm going to give up and do per-job IAM roles some other way.

Ah, cool cool. Good to leave some notes here if anyone ponders about going down the same path in the future!

Also I found ECS (the AWS engine) to be really slow in scheduling tasks. It can take several seconds till an eligible node gets its task dispatched. For projects with lots of concurrent tasks this can be quite an overhead.

Have you considered other cluster orchestration solutions?


Source not character like (check_syntax)

A strange error with this version.
I've check the source file in git and it does not contain any special characters...

node version:     v16.13.2
abaplint version: 2.85.12
Error
./src/ecc/#jcs#fi_document_list.prog.abap[77, 7] - Source not character like (check_syntax) [E]
Source

what is the type of error ?

reproduced as
DATA tab TYPE STANDARD TABLE OF string WITH HEADER LINE.
WRITE tab.

@ed-holland try again, 2.85.13

Issue is resolved.
Also the issue #2340 is now resolved.
Many Thanks


esVersion support both int or str

Description
Use intOrStr on esVersion in the datasource to be compatible with both grafana 7 and 8.
The only thing that have been changed in the GrafanaDataSourceJsonData struct is the esVersion, the rest is just indentation.
Fixes #753
Relevant issues/tickets
#753
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[X] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[X] Verified independently on a cluster by reviewer

Verification steps

make run
k apply -f deploy/examples/datasources/es.yaml

port-forward to the deployment and verify that the datasource is getting the version set.

ping @faelin and @redradrat


Doc/webhook remidiation

How to categorize this PR?

/area documentation
/kind enhancement
What this PR does / why we need it:
Adding documentation on the webhook remediator and how users can to fix it
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Adding documentation on the webhook remediator and how users can to fix it

/invite @rfranzke

/retitle Add documentation for webhook remediation

@etiennnr Can you please follow up on this PR?

Sorry, I was on vacation for a couple days. Just rebased it!


Added BetaGeoBetaBinom data gen

No testing yet but integrated into fitter function. Code for https://github.com/CamDavidsonPilon/lifetimes/issues/171

fyi the build failed because of it was unable to download some index files. don't know if there's anything to be fixed there.

Ah, it's an unrelated problem. Please ignore. Are you able to add a test in test_estimation for this too?

I can write tests for the data generation method, although I do not see any tests currently written for it. Is it enough to just do a sanity check and look at some bounds?

also, this build is failing because of a different commit you merged in, right?


net/rpc: error reported in server, when it shouldn't

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8.3 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?
I attempted to register, net/rpc Register, a type which contains some public methods that should be exposed as RPC methods, and some methods that are public but shouldn't be exposed as RPC methods. According to the net/rpc documentation...
    Only methods that satisfy these criteria will be made available for
    remote access; other methods will be ignored:

        - the method's type is exported.
        - the method is exported.
        - the method has two arguments, both exported (or builtin) types.
        - the method's second argument is a pointer.
        - the method has return type error.

... a public method that has only one argument should be ignored, but instead an error message is printed when such a method is encountered. Please see this example which reproduces the behaviour.
What did you expect to see?
Nothing should be printed.
What did you see instead?
From the go playground example above
2009/11/10 23:00:00 method ShouldNotBeExposedByRPC has wrong number of ins: 2
Suggested solution
In net/rpc/server.go:262 the function suitableMethods is called with reportErr=true, this eventually causes the printout, see net/rpc/server.go:298. If methods don't satisfy the criteria for exposure they should be ignored as the documentation says.

Tagging this for Go1.10. This a bug report and not a feature request so I don't think that affects whether net/rpc is frozen, what do y'all think: @robpike @adg?

Duplicate of #19957


File uploader – undefined filetypes

Describe the bug
If the service developer has chosen to define which filetypes that can be uploaded, but then hasn't typed in anything. the filetype is set to undefined and that is what is shown to the end user, which doesn't mean anything.
To Reproduce
Steps to reproduce the behavior:

Create a new service or go to an existing one
Go to ui editor and drag in a file uploader
check the "egendefinerte filtyper" radiobutton
Go to test and create a new instance
See that the allowed file types are set to "undefined"
See error

Expected behavior
That all file types are still allowed and undefined is not shown to the end user. To the end user in Altinn it should look and behave the same as for when the "egendefinerte filtyper" is not checked.
Screenshots

Additional info
Tested in altinn.studio
Fix
If they don't write anything, every filetype is allowed. This must be reflected in the application the same way as if they choose every filetype in the UI-editor. "alle" written after "tillatte filformater:" in the component.
Acceptance criterea

When the there are no values in the "skriv in gyldige filtyper" field, the component should act as if "Alle filtyper" is selected.
The component should tell the end-user that all filetypes are allowed.

Sketch
UI-editor (No values)
https://www.figma.com/file/O7Oqx6p9ZUZBt8DFBNanrymh/MVP-2-Altinn-Studio?node-id=2265%3A2
Application
https://www.figma.com/file/O7Oqx6p9ZUZBt8DFBNanrymh/MVP-2-Altinn-Studio?node-id=2265%3A485

Looks to me like this has been fixed in the period since this was reported. I tried with and without allowedContentTypes in applicationmetadata.json, and both present the same for me, at least.

Closing issue as it has been reported as fixed.


Adding data source for buildkite_cluster

We are trying to set the cluster on a pipeline which was generated through Terraform. We found a field cluster_id on the buildkite_pipeline resources (added in this PR). We were not able to find the matching data source for querying the ID of the cluster, similar to how there is a buildkite_team data source. Would it make sense for that  to be added?

@lkerford Thank you for raising this issue. We'll take a look into this one and see what we can do 😄


How to define/exclude categories?

There is an option in "Developer Settings" named "Exclude category"; could you help me to understand how does it work?
Is it possible to organise the underlying dataset into some categories and then exclude them from the search result?

@zedhaque is it possible to assign categories to a document after the ingestion?

In the context of "category," I’m wondering why, when using prepdocs.sh in "datalake mode" (with AZURE_ADLS_GEN2_STORAGE_ACCOUNT set), the files are still uploaded to AZURE_STORAGE_ACCOUNT, but the folder structure (category) is dropped, along with the ACLs, resulting in a flattened structure.
Why do I even need another storage sink in this case? Is it necessary for displaying the content inline in the browser UI, or can I use --skipblobs and still have the documents displayed in the UI by referencing AZURE_ADLS_GEN2_STORAGE_ACCOUNT + AZURE_ADLS_GEN2_FILESYSTEM + AZURE_ADLS_GEN2_FILESYSTEM_PATH + filename?
Also, why is the directory structure being dropped for AZURE_STORAGE_ACCOUNT? With a flat structure and no directories, it's likely we’ll run into name duplication issues as more documents are added.


SimpleInjector bootstrapper

Would you entertain a pull request for a boostrapper for Nancy.Bootstrappers.SimpleInjector?
Actually it would be more like a new repository.

@ayoung I'm not sure we would like to take on more 3rd party dependencies, to maintain, than we already have. Ideally we like it when our community grown outside of the core team and would like to see such packages to be maintained by our community instead. We just introduced a community contribution logo https://github.com/NancyFx/Nancy.Portfolio/blob/master/guidelines/guidelines.md#community-contributions to help push this effort further.
There are a couple of direct reasons for this

We might not be using the technology ourselves, meaning we're not really equipped to handle bug reports of even make necessary modifications if we change the contracts in Nancy

The more packages we assume ownership of, the thinner we'll eventually end up spreading out time across them all.

We'd like to help foster a strong .net ecosystem which means we'd like to see people maintain their packages themselves and work with their users to maintain and contribute to those packages. Also, in the event that the package author looses interest, a hand over could be done to one of the contributors

Thanks!


Failure to Build Restore chain quick enough

Before submitting a bug report:

[X ] Ensure you are able to reproduce it on the latest released version (we release often)
[ ] Verified this bug is not already reported in an issue
[ ] Verified errors are not related to permissions
[ ] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Steps to Reproduce
We use the Ola backup solution.  I am trying to do a point in time restore.  The Restore-DbaDatabase has to read through 4000 log files.  Due to the fact we run TLogs every 5 minutes, by the time the function gets all the file names and then come backs to read the header the oldest TLog is gone and I get error file not found.  I even have tried -AllowContinue and get the same behavior.
```Restore-DbaDatabase -SqlInstance $Server     -Path '\\crpitsisln17.exclaim-crp.com\sql\exclaim-prd\PRDPRSDBS13$NLS_Rise_AG\NLS_Rise' -MaintenanceSolutionBackup
-DatabaseName "$($previousMonth)_Rise_CBR" -DestinationDataDirectory R:\SQLData -DestinationLogDirectory R:\SQLLogs `
-ReplaceDbNameInFile -RestoreTime $RestoreTime -AllowContinue

![image](https://user-images.githubusercontent.com/169602/45000750-3046dc80-af8d-11e8-9fd4-e507134b26ab.png)

You're pushing in 2 weeks worth of backups,. This is nothing to do with your 5 minute backups (I do those as well), just that you're pushing in too much data.
Unless you're really only taking a full backup every 2 weeks can you prefilter:
Gci c:\path | ?{$_.LastWriteTime -lt (Get-date).adddays(-3) | restore-dbadatabase.........
Or you can use Get-DbaBackupHistory:
Get-DbaBackupHistory......  | Restore-DbaBackup -TrustDbBackupHistory..........
which only checks the files exists. Remember you can get history from the prod server and then pipe it into a restore on a test server. It'll just work if both can see the same paths. If the can't then you just need to modify the paths to the files

So all of my backups are stored in the file path and we use Ola's backups.  I need to do a point in time restore of 09/01/2018 @ 4:00am.  Using your suggested method, how would I scan the folder or the MSDB backup history to build the restore chain to this point in time.  We store 14 days of backups in our backup paths.

OK, need to ask some questions about your back schedules to answer that. Feel free to submit false info, but please make sure it's in the right ballpark and rebase my answers based on what you've provided.
To filter the files I'd need to know when you take the full backup as that's the earliest file  you need. For a restore to a Saturday on my larger systems I know I'd need to pull the Full from Wednesday (we do fulls on Sunday and Wednesday, diffs other days) and they start at 21:00. So I'd then go
Get-ChildItem \\server\\backups\prod | Where-Object {$_.LastWriteTime -gt (Get-Date "29/08/2018 21:00"} | Restore-DbaDatabase -SqlInstance TargetServer -RestoreTime (Get-Date "01/09/2018 04:00") -AllTheOtherOptions
Note, you don't need to specify Path when pushing files in like that. So you can just change the date on the file filter to accomodate your backup schedule. Should at least halve the number of files you're scanning (assuming you're at the furthest point from your full backup)
For Get-DbaBackupHistory I'm assuming you have a Production server that's actually doing the backups and already has the backup history. So in that case I'd go:
Get-DbaBackupHistory -SqlInstance Prod -Since (Get-Date "29/08/2018 21:00"}) | Restore-DbaDatabase -SqlInstance TargetServer -RestoreTime (Get-Date "01/09/2018 04:00") -TrustDbBackupHistory -AllTheOtherOptions
This doesn't read any files, just checks they exist. This is the fastest way to pass backup information into the restore process.
If those don't work for you then there are more complex filtering options I can go in to if you'd like?

We take a full weekly on Sunday at 4:00am. We take diffs every other day at 4:00am and tlogs every 5 minutes. Our fulls take between 4 and 6 hours to complete.
So the example I am working with this month was yesterday I needed to start a restore that was for a point in time of 09/01/2018 at 4:00am. So I pointed the restore function to my backup folder. And it seemed that before the function could get everything it needed a tlog ran ad deleted the oldest tlog. Then when the function tried to read header on that tlog it was gone since the tlog job deletes old tlogs older that 14 days.
So I just have to figure out with automation how to build the restore chain to a point in time either via a folder scan or using msdb from the original server.

Yes, or think about your overall backup strategy. I have a policy that I have to have a FULL restore chain on disk, ie for any full backup I must have all the diffs and logs up till now on disk. This is my DR plan, so if we lose a prod server I can recover without having to go back to tape/archive. So my backups are removed after the next full is taken and only up to that full.
In your case a file filter would be
Gci \\share\prod | Where-Object {($_.extension -eq '.bak') -or ($_.extension -eq '.trn' -and $_.LastWriteTime -gt that $RestoreTime.AddHours(-28)}
This will return all the fulls and diffs (*.bak), and all the logfiles from the 28 hours before your restore points. I'd put a bit of overlap in there just to cover yourself
So it's not just the backups you need, but it should have slimmed you down from 4k files to 3-400.
With both of the inputs (filtered files or history) Restore-DbaDatabase will still build the chain for you. You just have to give it the information

No response for 14 days, closing as not a dbatools issue.


[21.11] openvpn: 2.5.2 -> 2.5.6, 2.4.11 -> 2.4.12 (security, CVE-2022-0547)

Description of changes
See https://github.com/OpenVPN/openvpn/blob/release/2.5/Changes.rst
A bunch of bugfixes and one relevant CVE: CVE-2022-0547
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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 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

[ ] Fits CONTRIBUTING.md.

@ofborg eval
(GitHub's API was unhappy earlier)

nixpkgs-review happy, macos 10.15 & nixos x86_64
No working nixos test :(

@risicle Same as on master? https://github.com/NixOS/nixpkgs/pull/164595#issuecomment-1073008493

Yup.


[WIP] Basic example to enable posting results to job description

Hey @manuelmhtr I just made a small change to enable https://github.com/flowwer-dev/pull-request-stats/issues/4 for usage. I could possibly finish it, just will need some guidance 😄 , or if anyone can finish it faster even better 🚀

Hi @runmael thank you so much!
I made some changes and published it on v2.7.0.


Utilize prepared query handle cashing in TDS adapter to avoid multiple sp_prepare calls from the same ecto query

MSSql server can execute multiple times same prepared query if client can keep @handle output value during same session/connection. Ecto can generate name for query and this key can be used to cache prepared query handle value, so same connection can skip sp_prepare call and go straight to query execution by calling sp_execute.
This should be the case for streaming too (sp_CursorPrepare) with difference that cursor must be unprepared after close and it's handle must be removed from the cache after it is closed.
two adapter connections cannot share cached handles since MSSQL will not share them between connection. So cache table should be private to process

Perfect. I would say this is more of a TDS issue though. EctoSQL already uses the proper DBConnection APIs for this, so if you implement the correct semantics in prepare, prepare_execute and execute, then everything should just work. If you have any questions, feel free to ask!

should cache be stored in ETS?

@mjaric yes, it must be on ETS. Remember that DBConnection does queries from clients, which requires passing the connection state between processes. So if you have a large cache in the state, then it will be copied on every operation.


PG::ConnectionBadqc:work PQconsumeInput() connection not open

How can I fix this issue?  It's happening in production but not development.  There is an issue from 2013 that seems relevant, but slightly different.  My setup with rails is totally straightforward, no shared connections, etc.  Any ideas would be appreciated.   Thanks!
bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:62:in `wait_for_notify': PQconsumeInput() connection not open
 (PG::ConnectionBad)
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:62:in `block in wait_for_notify'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:61:in `tap'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:61:in `wait_for_notify'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:34:in `block in wait'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:31:in `synchronize'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/conn_adapter.rb:31:in `wait'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/worker.rb:96:in `lock_job'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/worker.rb:72:in `work'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/worker.rb:46:in `start'
    from bundler/gems/queue_classic-4cdc9b8e804b/lib/queue_classic/tasks.rb:27:in `block (2 levels) in <main>'
    from gems/rake-12.3.1/lib/rake/task.rb:271:in `block in execute'
    from gems/rake-12.3.1/lib/rake/task.rb:271:in `each'
    from gems/rake-12.3.1/lib/rake/task.rb:271:in `execute'
    from gems/bugsnag-6.11.1/lib/bugsnag/integrations/rake.rb:18:in `execute_with_bugsnag'
    from gems/rake-12.3.1/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
    from /usr/local/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
    from gems/rake-12.3.1/lib/rake/task.rb:193:in `invoke_with_call_chain'
    from gems/rake-12.3.1/lib/rake/task.rb:182:in `invoke'
    from gems/rake-12.3.1/lib/rake/application.rb:160:in `invoke_task'
    from gems/rake-12.3.1/lib/rake/application.rb:116:in `block (2 levels) in top_level'
    from gems/rake-12.3.1/lib/rake/application.rb:116:in `each'
    from gems/rake-12.3.1/lib/rake/application.rb:116:in `block in top_level'
    from gems/rake-12.3.1/lib/rake/application.rb:125:in `run_with_threads'
    from gems/rake-12.3.1/lib/rake/application.rb:110:in `top_level'
    from gems/rake-12.3.1/lib/rake/application.rb:83:in `block in run'
    from gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
    from gems/rake-12.3.1/lib/rake/application.rb:80:in `run'
    from gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
    from bin/rake:23:in `load'
    from bin/rake:23:in `<top (required)>'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli/exec.rb:74:in `load'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli/exec.rb:74:in `kernel_load'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli/exec.rb:28:in `run'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:463:in `exec'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:27:in `dispatch'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:18:in `start'
    from /usr/local/bin/bundle:30:in `block in <main>'
    from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
    from /usr/local/bin/bundle:22:in `<main>'

I'm running into an issue where PG::ConnectionBad: connection is closed happens. I recently upgraded to rails 5.2 which seems to be the issue here.
Do you use rails or just plain queue_classic? If so what version? Do you use the automatic connection sharing, or did you disable it by setting QC_RAILS_DATABASE=false?
I think to help resolve this, the maintainers will need a lot more information that just stacktrace 😄

I'm running into an issue where PG::ConnectionBad: connection is closed happens. I recently upgraded to rails 5.2 which seems to be the issue here.
...

I run into the same issue currently and have no idea how to fix it besides fiddling with queue_classic internas. Happened after I've upgraded our application from rails 4.x to 5.2. It seems to only happen from time to time, non-deterministic, and also just in production but not in development.

@vongruenigen Use QC_RAILS_DATABASE=true, fixed it for me..
I was able to reproduce it, when a high load appeared on my web site. After a while of lower load, the PG::ConnectionBad appeared. (Probably some garbage collector cleaning up AR connections without queue classic noticing it.

@siegy22 Thanks, I'll immediately try QC_RAILS_DATABASE=true. I'll also have the problem that the problem occurs with really low load, namely only me being the only user manually testing stuff on our app on a test server.
We'll probably switch to specifying the database via QC_DATABASE_URL in the long run, but I'll have to wait until my DevOp shows up to delegate this task :smile:

@vongruenigen You can also try out my fork, I've a applied a small patch. Which should make the connection sharing with active record work again. 😄
https://github.com/siegy22/queue_classic

@siegy22, thanks, I'll probably try it later somewhen :+1:

@siegy22, have you tried setting the ENV['QC_DATABASE_URL'] directly in application.rb? Like so:
if ENV['QC_RAILS_DATABASE'].blank? && ENV['QC_DATABASE_URL'].blank?
  db_conf = config.database_configuration[Rails.env].symbolize_keys
  db_url = "#{db_conf[:adapter]}://#{db_conf[:username]}"

  # more string fiddling ...

  ENV['QC_DATABASE_URL'] = db_url.freeze
  ENV['QC_RAILS_DATABASE'] = false.to_s
end

This seems to work for me too, but I'm not happy with building the database URL by concatenating strings tbh.

Yeah I've tried several ways to do what you're attempting to do, but always found a new way which made it fail and ended up running from my fork for now.
I'm trying to get this fixed upstream, and maybe even get a release 😄

@siegy22 I'm checking out your code ^ -- looks like it might be backwards incompatible?

Check my comment in your PR: https://github.com/QueueClassic/queue_classic/pull/312
@ukd1 😄

@siegy22 this might be due to connections taken with ActiveRecord::Base.connection are released to the pool by Action Pack's request handling cycle. To lease connection properly (according to AR docs), ActiveRecord::Base.connection_pool.checkout should be used.
I opened #317, as it looks distinct from the problem described initially here: PQconsumeInput() might be caused just by TCP connection closed or other causes, as opposed to PG::ConnectionBad: connection is closed which is caused only by .close being called on connection object: this closed state is distinct from disconnect and can't be recovered by reset. (Pool might close connections it in e.g. flush).

Any chances https://github.com/rails/rails/pull/36473 (released 2 days ago as part of Rails 2.5.4) fixed the problem?

@pkotnis no, QueueClassic does not call connections method (it doesn't need a list of all connections).


feat/add_apis_for_preloading_native_ui_component

Add APIs to support preloading adviews

initial checking for iOS

Also, two things: any relevant changes made here like styling, can we port over to RN? And I remember RN had some bugs that the preloading features introduced, could we ensure we don't have the same bugs on Flutter?

Thanks for the reviews.   Updated for another review and added the Android implementation.

Updated the API names also.   Please review again when you have a chance.  In the meantime, I'll run more testing.


Remove command

This PR adds help messages for the open and close commands and renames the "/cq student" command to "/remove student". The latter was done to avoid accidental wiping of OH queue by accidentally entering "/cq" before specifying a student.

I think it might be better to have the cq command be made longer so that it is less likely to accidentally happen. Perhaps just limit it to clear or clear_queue, probably the latter, so that it never accidentally happens. Then we can leave removing as a student from the queue as cq student_name. That's just my thoughts on it but you guys are doing awesome.

We used the shorthand cq command last quarter and didn't have any problems. I don't think it would be an issue going forward, but we can remove the shorthand alias leaving only clearqueue if you insist.
Ideally for destructive actions like this we should require some sort of confirmation. It would be possible to do this but it would not be a trivial change.

I'd like to go to clear_queue if it isn't too much trouble.


the current executing job is lost when force terminate app(in android)

if I set a very short timeout for my job for test,
the job will always fail and retry,
but if I terminate the app and restart,
that job has gone! the next job is executing.
is this a bug??

If I had to guess the job is stuck in "active" state so it is not being picked up by the queue the next time the queue tries to grab a job off the stack.
See this section of code for the realm query that grabs the next job(s) to process off the queue stack.
https://github.com/billmalarky/react-native-queue/blob/master/Models/Queue.js#L273-L275
The solution, which would have to be developed, would be some sort of process that looks for "stuck" jobs and marks them not active anymore. The question at that point is what interval to check for stuck jobs, because technically you can have a job with no timeout set (indefinite timeout) that could run forever, and we wouldn't want to randomly set that job to no longer active if it truly was still running.
The popular node.js library "kue" has dealt with this problem before so perhaps we can get inspiration there.
https://github.com/Automattic/kue#unstable-redis-connections

why not marking all job as inactive on startup??
just because the unexpected termination, their state were not reset as normal.

@billmalarky
I have add the reset function as my suggestion and it works correctly with force termination.
but there's another problem:
the failed jobs will live in realm forever, what about if their amount grows very fast??

The reset function may work for your specific use case, but it is more
complex than that for a general use case because you have to consider that
multiple RNQ modules can be initialized at once. For example you could be
using RNQ in a periodic background task that runs the same time you are
also using it in a focused app in the foreground.
As you can see with the above described scenario when the background task
fires up and inits RNQ all the jobs marked as active would be reset to
inactive even though they could very well be actively being processed by
RNQ running I'm the foreground app.
So it's a bit tricky to solve in a general way.
As for failed jobs hanging around, that is a TODO to handle garbage
collection. It has been considered lower priority simply because failed job
data piling up hasn't become a serious issue for anyone yet. Though when I
am able to add that functionality it will be done via "compactOnLaunch" in
this file if I had to guess.
https://github.com/billmalarky/react-native-queue/blob/master/config/Database.js
On Wed, Jun 13, 2018, 11:18 PM wellbye<EMAIL_ADDRESS>wrote:

@billmalarky https://github.com/billmalarky
I have add the reset function as my suggestion and it works correctly with
force termination.
but there's another problem:
the failed jobs will live in realm forever, what about if their amount
grows very fast??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/billmalarky/react-native-queue/issues/24#issuecomment-397157611,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABxTU6dtynE6DLtozWQEaV5swRqPEl4Rks5t8dYcgaJpZM4Umwju
.

@fatfatson how did you make your reset function?

This is roughly what I did to "reset" things @carllippert but I removed a lot of things that were extraneous to this library so it's probably not exactly how you should implement it.
import queueFactory from 'react-native-queue'
import Database from 'react-native-queue/config/Database'

restartQueue = () => {
    return queueFactory().then(queue => {
        // whatever action you do to start up your queue
    })
}

export function resetActiveJobs() {
    // Reset the jobs that react-native-queue immediately marked as "active" in realm.
    // Else, if the user killed the app before the job finished, when the app restarts
    // the job is still "active" so it doesn't requeue.
    Database.getRealmInstance().then(realm => {
        realm.write(() => {
            let jobs = realm.objects('Job').filtered('active == TRUE AND failed == null');
            if (jobs.length > 0) {
                for (let job of jobs) {
                    job.active = false
                }
            }
        })
    }).then(() => restartQueue())
}

... and I run resetActiveJobs() when I start up the app.

Any improvements?
In my case, this functionality is very important because I want all jobs to get complete even if the user closes app/restarts phone/etc.
For now, @famousfilm implementation has worked. Thank you.


Prepare info page for migration

References #2526
Who was this for?
All of us, to get away from Drupal
What is it doing for them?
It's allowing us to import Drupal content without importing the media.
The process will be:

Import with links to Drupal content
Create a list that content editors can use to go through content that still has a Drupal image attached.
Over time, this list should shrink to 0, at which time we deprecate the hack.
Or we deprecate the hack, Drupal images in the body will just fall away, and promo images will be replaced with a placeholder.

An example of this can be seen on the schools info page: WtYmMiAAAOYZI206
Checklist

[ ] Demoed to the relevant people?
[x] Simple as it can be?
[x] Tested?

Merging as it's blocking further work and doesn't affect live services.


Create a consistent icon and favicon

Just an idea. Thoughts? (slightly modified from http://www.flaticon.com/free-icon/bear_141734#term=bear&page=1&position=23)

Added in d8dccdd.


What's FQ12?

https://github.com/ethereum/py_pairing/blob/master/py_ecc/bn128/bn128_field_elements.py
# The modulus of the polynomial in this representation of FQ12
FQ12_modulus_coeffs = [82, 0, 0, 0, 0, 0, -18, 0, 0, 0, 0, 0] # Implied + [1]

What's FQ12?

It is the field underlying the target group of the pairing. The pairing is a function e(G1 x G2) --> GT.
FQ12 is an extension field of FQ with 12 dimensions (not 12 elements).
You can look at these as coefficients over powers of a free variable (as in a polynomial), so for example, the number [a,0,...,0] would just be a scalar. Then, [a,b,c,0...0] would be
a + bw + bw^2
Normal multiplication rules for polynomials apply:
[a,b,0...0] * [0,x,0,y,0...0] =
(a + bw) * (xw + yw^3) = axw + ayw^3 + bxw^2 + byw^4 or in coefficient notation:
[0,ax,0,ay,0...0] + [0,0,bx,0,by,0....0] = [0,ax,bx,ay,by,0...0]

Thanks!


tab switching can be slow on windows

i'm not sure yet why it's worse on windows. maybe it's just the small VM in which i'm running windows. a performance shows this, where the time range about the colored segments is around 2 seconds

The re function (this is from a production build, hence the obfuscation) is Terminal/visible.isInViewport()

i think we can help this quite a bit by pushing the expensive logic to a debounced async. By the time the old tab gets around to asking about focus, it is no longer the active tab!


squid:S1854 - Dead stores should be removed

This pull request is focused on resolving occurrences of Sonar rule squid:S1854 - Dead stores should be removed
You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S1854
https://jira.spring.io/browse/AMQP-571
Please let me know if you have any questions.
M-Ezzat

Hello, @m-ezzat !
Would you mind to remind me if you have signed the CLA?
We can't review without that confirmation.
Thanks

Hello @artembilan,
yes, I've signed up, and here is my confirmation number<PHONE_NUMBER>08042823

OK. Thank you for letting to know and for the fix as well.
Merging...
Looking forward for more!

Merged as https://github.com/spring-projects/spring-amqp/commit/425425a000d5c6d5bb369ab2d8c5d1656d2fbb6a


kad: Implement GET_PROVIDERS command

Implement the GET_PROVIDERS command:

spec: https://github.com/libp2p/specs/tree/master/kad-dht#content-provider-discovery

This command is similar to GET_VALUE. One possible solution is to extend GetRecordContext to support two different messages:
https://github.com/paritytech/litep2p/blob/a27d0072913be67cce904e2e8c465cc37ec5223a/src/protocol/libp2p/kademlia/query/get_record.rs#L83-L84
https://github.com/paritytech/litep2p/blob/a27d0072913be67cce904e2e8c465cc37ec5223a/src/protocol/libp2p/kademlia/query/get_record.rs#L117-L118

Superseded by https://github.com/paritytech/litep2p/issues/201 & https://github.com/paritytech/litep2p/issues/202.


Add get_pods() API method

Hey, I just needed a method to get all my pods and didn't find it in the repo.
Here's my humble implementation.

BTW, I tried to add get_pod(pod_id : str) method, but when I added (input: {id: "{pod_id}"}) to the query, I got GraphQL validation error. I'm not really familiar with GraphQL so would be happy if you direct me.

Thank you for the PR! If you get a moment may you please refactor/reformat to pass the lint check: test_ctl_commands.py:145:0: C0301: Line too long (133/100) (line-too-long)

Thank you for the PR! If you get a moment may you please refactor/reformat to pass the lint check: test_ctl_commands.py:145:0: C0301: Line too long (133/100) (line-too-long)

Easy, done.
Do you have any ideas how to build a query to get only one pod by id? I think we should add it for consistency.

Thank you for the PR! If you get a moment may you please refactor/reformat to pass the lint check: test_ctl_commands.py:145:0: C0301: Line too long (133/100) (line-too-long)

Easy, done.
Do you have any ideas how to build a query to get only one pod by id? I think we should add it for consistency.

Assuming you already looked over this? https://graphql-spec.runpod.io/
Also super clean PR, thank you for putting in the time to make it so comprehensive and include tests :)


chore: Make image-ref optional

The image-ref input is required, but looks unnecessary with scan-type: 'fs'.
VSCode Editor reports problems, so I want to set it to required: false.

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

You're correct in saying it isn't required for type fs but it is still required for image scans to keep backwards compatibility. Unfortunately I don't know of a way to make it optional for one type vs. another in GitHub Actions. Do you have any ideas?

I have no good ideas, so I will close this Pull Request.
Thank you for your comments.


personalizationIndex Not Passed to addSubstitutions Function

Issue Summary
In Mail::addDynamicTemplateDatas, the paramters $personalizationIndex and $personalization are not passed to Mail::addSubstitutions.

Steps to Reproduce
N/A
Technical details:

sendgrid-php Version: master (latest commit: f64b6fd)

Hi @larrylampco,
Thanks for taking the time to bring this to our attention!
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
With best regards,
Elmer


[RTF] wrong display of committees

if a user is added to several meetings and committees via the "add to meetings" option then only one of the new committees is displayed until a reload.
how to recreate:

create a new account A
go into account A and activate "add to meetings"
add at least two meetings from two different committees
go back to accout A
In the committees and meetings area only one committee is displayed
if the page is reloaded all committees will be displayed correctly

wanted behaviour:
the committees should be correctly displayed immediately

When adding a user to multiple meetings within different committees with the user.assign_meetings action only one of the committees is added to the committee_ids of the user.


Fix throughput example

The reactor wasn't being run. Also, I get speeds of ~1MB/s on both my macbook and my linux machine, so I reduced the transfer size for the tarpc case to 24MB so it finishes in about 24s, instead of 4 minutes.

I'd rather just fix bincode. It's a 10 line patch, so hopefully they'd accept it.

You'll likely get even better perf once https://github.com/TyOverby/bincode/pull/103 lands and you can avoid doing a byte-shuffle on each read.


Add field ID and dusk selector to field

This will make it easier when writing dusk tests

@dillingham hi, any update here?

@lucidlogic Yes, you are right. This is the important thing to do some action on it.


Add Sockeye to Python libraries

Disclaimer: I am a contributor of the project.

Thanks for the PR @barbaradarques!


Changed merge-gvcfs to only first base of deletion as reference if it…

… matches the reference

@tcasstevens Do we know how long the KeggDBTest has shown the issue that appears with this pull request?  Is this something we should look into?
No comments on the changes you made specific to the merge-gvcf code.

@tcasstevens Do we know how long the KeggDBTest has shown the issue that appears with this pull request? Is this something we should look into?
No comments on the changes you made specific to the merge-gvcf code.

Those KeggDBTest failing test, I've worked on in the past and corrected some. But the API being used changes. Ed wrote the code and he was going to look at it. But he doesn't have time and may have forgotten


Updated gradle ,kotlin and dependency

Updated gradle version to 8.0.1 and kotlin to 1.8.21 and dependencies to latest version

issue #8

Please mention issue number in future PRs.


Need Role mappings for roles return from graph API and roles return from _api/Web/Lists endpoint (with RoleAssignments)

Category

[x] Question

If we make following API call

https://tenant.sharepoint.com/personal/user_id/_api/Web/Lists(guid'XXXXXXX')?$select=HasUniqueRoleAssignments,RoleAssignments,*&$expand=RoleAssignments/Member,RoleAssignments/RoleDefinitionBindings

We can drive one of the following roles from the response of above API
"Limited Access" ,
"Read",
"Contribute",
"Design",
"Full Control",
"Edit"

But if we want to use following graph permission API

https://graph.microsoft.com/v1.0/users/user_id/drive/items/item_id/permissions

We can only get one of the following roles from the response

read
write
sp.owner
sp.member
Question
We want to use graph permission API. But How can we map roles from above two API calls?

Thanks for your feedback. Could you please explain your scenario a little further - why this information is required?

We have been categorizing roles using following scenarios
"Limited Access" ,
"Read",
"Contribute",
"Design",
"Full Control",
"Edit"
But now from graph APIs we are not getting the above mentioned info

We're following up internally about this.

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


format: syntax of in-process anotation should be *(:construction: in process)*

What does this PR do?
Improve repo
For resources
Description
The most common syntax seen for each resource annotations across files are *(bla bla bla)* where the kursive format wraps parenthesis
Regex: ((\*[^\*]+\*)|(_[^_]+_))
So:

change from (:construction: *in process*) to *(:construction: in process)*
fixes some of resources with this annotation but without it representative icon (*-id.md).
translate note text there where there was context previously.

Checklist:

[x] Read our contributing guidelines.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Conflicts are with #7033 because this PR alter their merge hunk

Conflicts are with a recent commit:

#7034

Preserve both sides to homogenize titles and access notes

what's motivating this change? the instructions say to use (:construction: *in process*) and this formulation outnumbers your proposed formulation 71 to 15
have you checked the parser (free-programming-books-parser) to see what it does with the two formulations?

what's motivating this change? the instructions say to use (:construction: *in process*) and this formulation outnumbers your proposed formulation 71 to 15 have you checked the parser (free-programming-books-parser) to see what it does with the two formulations?

Parser logic is a bit confusing not having schemas or testcases to check against.
https://github.com/EbookFoundation/free-programming-books-parser/blob/5eaf00bfd861856a85b2ba6f2d2aa282fab55a69/index.js#L54-L111
¿What would be the difference between notes and access notes? E.g. archived vs in process. if both have icon. I think all means the same 😟

I see, so this is meant to align archived and in process? ...

Yes, sir. Although I also see some of LeanPub notes wrapping all in kursive and others only some parts. Sure there are more data gardening to do :worried: to our oldies eyes.
Since access notes have cardinality of 0-1 and notes 0-n, I propose merge all in the same collection to simplify logic. It's posible? It's great? I don't know, too much newbie to understand the scope.
If someone ask me for the full normalized format I response with:
TITLE_LINK - CREATOR1, ..., CREATORn (FORMAT1, ..., FORMAT2..n?+LINK?) (COURSE_PLATFORM?) *(NOTE1)*... *(NOTE2..n)*
where AST tokens are:

TITLE_LINK: Normal title + year/version for historical books + main link
FORMAT1: main format, link in the resource title
FORMATn?+LINK?: rest of formats as multiformat syntax with optional links
CREATOR: ROLE? CREATOR_FULLNAME
ROLE: optional, not necesary for principal authors. Values: trl.: (traducer)... https://loc.gov/marc/relators/relaterm.html
meaningfull notes have a emoji prefix. E.g. archived, in_process...

... We'll need to play around with this / look at the resulting json.

How to play with the parser pointing to my forked repo instead of against the upstream?

I will work on this, but probably not till next week

There are new addings in #7082. Remember replace them with the new format

Conflicts are with #7065 with moves Vim section to -subjects.md file.
Remember in that file replace tokens on resolving conficts


Use latest release manifest for default make target

Issue #, if available:
Description of changes:
Currently, the Makefile defaults to pre-GA release manifest. Update this to use the latest one
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Don't we kind of want this tho so we are always testing the latest from build tooling and what not? Maybe the tag is wrong but I'm not sure we want to default to the prod release..

Don't we kind of want this tho so we are always testing the latest from build tooling and what not? Maybe the tag is wrong but I'm not sure we want to default to the prod release..

When running make and creating a cluster from that local build, it was pulling images from public.ecr.aws/l0g8r8j6 instead of public.ecr.aws/eks-anywhere which is why I updated it. Wasn't sure if this was expected?

My main concern is making sure we are always testing with the latest dependencies being built via build tooling, at least in the e2e tests but even locally to help catch issues as soon as possible.

Can we make this another target maybe like build-prod or something that uses the latest prod manifest rather than the recursive call used by e2e?

Can we make this another target maybe like build-prod or something that uses the latest prod manifest rather than the recursive call used by e2e?

Yeah I was thinking of making it a separate make target

@abhinavmpandey08: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

eks-anywhere-cluster-controller-tooling-presubmit
373223ece8e260e3a612b47272208acf9c72f777
link
/test eks-anywhere-cluster-controller-tooling-presubmit

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Fix minDate error message in Formik example

The error handling introduced in v4.0.0-alpha6 is amazing! There's just a tiny issue in the Formik example: the minDate message is the same as the maxDate one. This PR addresses it.

Thanks, your fixed was already deployed to https://next.material-ui-pickers.dev/guides/forms


Node support timeline

We received mail from azure with the subject line [Community support for Node 16 LTS is ending on 11 September 2023, upgrade to Node 18 LTS]
Please update support time line table on below page
https://github.com/Azure/app-service-linux-docs/blob/master/Runtime_Support/node_support.md#support-timeline

Table has been updated.  Thank you


🐛 [firebase_core_web] No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp()

This has been happening for a while, but never reported it.
I set breakpoints for All Exceptions and Uncaught Exceptions and I get this every time.  Latest flutter, packages etc.

Hey, I used the latest version and everything is working properly on web.
Have you added the proper config in your main?
void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );

  runApp(const MyApp());
}

Without any reproduction we will not be able to help you.

Hey, I used the latest version and everything is working properly on web.
Have you added the proper config in your main?

void main() async {

  WidgetsFlutterBinding.ensureInitialized();

  await Firebase.initializeApp(

    options: DefaultFirebaseOptions.currentPlatform,

  );

  runApp(const MyApp());

}

Without any reproduction we will not be able to help you.

I had the same errors. Please see: https://github.com/firebase/flutterfire/issues/9269
My solution was to completely delete that init for web in dart and do the init in index.html.


User-friendly error for non-OPL programs

As of 7923cb3c92620ec30f9f2c541120c71591a238a6, these now simply show 'The program encountered an internal error.' for the top-level InterpreterError class and the details can be viewed in the error view controller. We can always make these errors more specific over time if we need to.


Add deployment of .NET 4.7.2 targeting pack

Extracted from https://github.com/microsoft/vcpkg/pull/19320

Obsoleted by https://github.com/microsoft/vcpkg/pull/20064/


Proposal: Gradle Wrapper-like functionality for vcpkg

I would like to propose the idea of adding a Gradle Wrapper-like functionality to vcpkg. The aim is to provide an easy and consistent way to manage vcpkg and its dependencies within a project.
Currently, vcpkg requires manual setup and installation on each developer's machine and also requires package information to be included in the installation folder. This can result in inconsistencies across different environments and developers. Additionally, the size of the cloned vcpkg repository can be large, making repository management more challenging.
A Gradle Wrapper-like functionality would address these issues by allowing for automatic download and installation of vcpkg, ensuring that all developers are using the same version of vcpkg and that builds are consistent across different environments.
The proposed vcpkg wrapper command would work by creating a script called vcpkgw (or vcpkgw.bat on Windows) in the root directory of the project. This script would be responsible for downloading and running vcpkg.
When this script is run, it would check for the presence of vcpkg on the local machine by looking for the vcpkg executable in the system's PATH. If it is not found, it would download the appropriate version of vcpkg from the internet and save it in the project's root directory. A properties file named vcpkg-wrapper.properties would contain information such as the distribution URL and the version of vcpkg to be used.
Furthermore, this functionality should provide the option to choose between two modes of installation. One mode being minimal, where packages informations is fetched via internet from the GitHub repository, and the other being a full installation mode, where packages information is installed on the local machine, working in the current way.
I would greatly appreciate your thoughts and feedback on this proposal.

Apparently there exist undocumented scripts that allow for a minimal installation of vcpkg. The scripts can be found at the following links:

https://aka.ms/vcpkg-init.sh (for Linux and macOS)
https://aka.ms/vcpkg-init.ps1 (for Windows PowerShell)
https://aka.ms/vcpkg-init.cmd (for Windows Command Prompt)

I have tested the vcpkg-init.sh script and it downloaded the latest standalone bundle of vcpkg. The vcpkg instance required a manifest with a specified baseline in order to interact with ports as I would expect. However, the installation folder was in the user's home directory instead of the project root folder, I'm not sure if this is the optimal behaviour.


add futures usdm asset

data_dumper = BinanceDataDumper(
asset_class="futures\um",  # spot, futures, margin
path_dir_where_to_dump="./BianceFutures",
data_type="klines",  # aggTrades, klines, trades
data_frequency="1m",  # argument for data_type="klines"
)

Hi,
Sorry for the late reply,
I added support of futures from another PR,
it's almost identical to yours but also added some functionality to track the first date of any ticker,
so I've chosen it
I believe this PR can be closed.
Thank you for using my package and sorry for the inconvenience.


Update cuda svd to account for limited cuda support. Issue  #2675

What changes were proposed in this pull request?
Issue  #2675
Cuda only supports SVD on matrix where M>=N ( more rows than cols )
By transposing the input and swapping and transposing outputs U & VT
we can overcome this limitation.
How was this patch tested?
Compared results to matlab
Added extra junit test cases ( multiply SVD factors and compared against input )
testing with simple code in a test harness

Thank-you for your help. I need to figure out how to make the tests work locally.

Sure, np. Thanks for the fixes!
As for the tests - I'm just running them manually in intellij... you will need to build libnd4j (native + cuda) + use nd4j change-cuda-versions.sh if required, and then run a mvn clean install. You should then be able to run those tests in intellij.


Support Pronto 0.6

Hi again @carakan 👋  This PR updates pronto-credo to support the latest and greatest, Pronto v0.6

thanks, @doomspork I'm testing and I'll send a new version of gem with your changes.

Exciting!  Thanks @carakan 👍


Azure Event Hub intergration with KafkaHub

Description:

$subject

Summary
KafkaHub is a WebSub compliant hub implementation backed by Apache Kafka message broker. While deploying the aforementioned hub in Azure Kubernetes Service(AKS) it was identified that there are few asynchronous messaging options available in Azure cloud [1].

Azure Service Bus
Azure Event Grid
Azure Event Hubs
Azure HDInsight Kafka Cluster

As per the current hub implementation, integrations to Azure Event Hubs and Azure HDInsight Kafka Cluster requires minimal changes because both solutions supports Kafka protocol and the key difference being Event Hubs is a managed service while HDInsight Kafka Cluster is not.
Goals

Migrate the persistent layer of the Hub to Azure Event Hub.

Description
Azure Event Hubs is a scalable event processing service that ingests and processes large volumes of events and data, with low latency and high reliability. It has support HTTPS, AMQP(1.0+), or Kafka(1.0+) protocol which makes it easier to develop client programs with heterogeneous technologies with little to no knowledge on the underlying implementation. As for the requirement, the proposed solution will use Kafka protocol to communicate with the Event Hub.
Terminology
Azure Event Hubs has similar terminology as Apache Kafka [2].

Kafka Concept
Event Hubs Concept

Cluster
Namespace

Topic
Event Hub

Partition
Partition

Consumer Group
Consumer Group

Offset
Offset

Implementation
When integrating the Azure Event Hubs to the hub implementation following concerns should be addressed.

Defining a topic

topic can be defined as the combination of: (Event Hub + Partition)

Defining a consumer group

Have predefined set of consumer-groups (# of consumer-groups will the # of consumer-groups per event-hub) and for each subscriber will be given a consumer-group from the predefined set and will be assigned a partition to listen to.

Publishing messages to a topic

Publisher will publish messages to (Event Hub + Partition) combination.

Risks and Assumptions

Number of Topics: (# of event-hubs per name-space) * (# of partitions per event-hub) * (# of name-spaces)
Number of Consumer Groups (per Topic): # of consumer-groups per event-hub

References
[1] - https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/messaging
[2] - https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-for-kafka-ecosystem-overview#kafka-and-event-hub-conceptual-mapping

Following diagram depict the mapping of Event Hub partitions and consumer groups.

Need to complete following tasks:

[ ] Sample App to verify the integration.
[ ] Update the KafkaHub implementation to support the proposed solution.

Tested the integration with following sample codes:
1. Producer
import ballerinax/kafka;
import ballerina/random;
import ballerina/log;
import ballerina/lang.runtime;

configurable string broker = ?;
configurable string connectionString = ?;

readonly & kafka:ProducerConfiguration statePersistConfig = {
    clientId: "state-persist",
    acks: "1",
    retryCount: 3,
    securityProtocol: kafka:PROTOCOL_SASL_SSL,
    auth: {
        username: "$ConnectionString",
        password: connectionString
    }
};

public final kafka:Producer statePersistProducer = check new (broker, statePersistConfig);

public function main() returns error? {
    _ = @strand { thread: "any" } start runProducer("testhub");
    log:printInfo("sample producer started....!");
}

isolated function runProducer(string eventHub) returns error? {
    do {
        while true {
            int partitionNum = check random:createIntInRange(0, 5);
            kafka:AnydataProducerRecord msg = {
                topic: eventHub,
                partition: partitionNum,
                value: string `This is a test message to Part #${partitionNum}`
            };
            _ = check statePersistProducer->send(msg);
            _ = check statePersistProducer->'flush();
            log:printInfo("Sent message to EventHub", payload = msg);
            runtime:sleep(5);
        }
    } on fail var e {
        log:printError("Error occurred while sending messages to event-hub ", err = e.message());
        kafka:Error? result = statePersistProducer->close();
        if result is kafka:Error {
            log:printError("Error occurred while gracefully closing kafka-producer ", err = result.message());
        }
    }
}

2. Consumer
import ballerinax/kafka;
import ballerina/log;

configurable string broker = ?;
configurable string connectionString = ?;

public function main() {
    _ = @strand { thread: "any" } start startConsumer(0);
    _ = @strand { thread: "any" } start startConsumer(1);
    _ = @strand { thread: "any" } start startConsumer(2);
    _ = @strand { thread: "any" } start startConsumer(3);
    _ = @strand { thread: "any" } start startConsumer(4);
    log:printInfo("sample subscribers started....!");
}

type StringPayloadRecord record {|
    *kafka:AnydataConsumerRecord;
    string value;
|};

isolated function startConsumer(int partition) returns error? {
    kafka:ConsumerConfiguration consumerConfiguration = {
        offsetReset: kafka:OFFSET_RESET_EARLIEST,
        groupId: "$Default",
        securityProtocol: kafka:PROTOCOL_SASL_SSL,
        auth: {
            username: "$ConnectionString",
            password: connectionString
        }
    };
    kafka:Consumer consumerEp = check new (broker, consumerConfiguration);
    do {
        kafka:TopicPartition partitionInfo = {
            topic: "testhub",
            partition: partition
        };
        _ = check consumerEp->assign([partitionInfo]);
        while true {
            StringPayloadRecord[] records = check consumerEp->poll(10);
            foreach StringPayloadRecord msg in records {
                log:printInfo(string `[Partion #${partition} Consumer] Received message---`, payload = msg.value);
            }
        }
    } on fail var e {
        log:printError("Error occurred while receiving messages from partion", partition = partition, err = e.message());
        kafka:Error? result = consumerEp->close(10);
        if result is kafka:Error {
            log:printError("Error occurred while gracefully closing kafka-consumer", err = result.message());
        }
    }
}

State Management
1. WebSub Topic - EventHub Partition Mapping

To manage the mapping between WebSub topic to EventHub Partition hub will persist the assigned partition information into topic-registration message.
When a particular WebSub topic is de-registered the vacated partition assignment will be added into an in-memory array so that it could be assigned to another WebSub topic.

2. WebSub Subscriber - EventHub Partition & Consumer Group Mapping

To manage the mapping between WebSub subscriber to EventHub Partition and Consumer Group, hub will persist the assigned EventHub Partition and Consumer Group information into subscription message.
When a partition WebSub subscriber is unsubscribed the vacated Consumer Group mapping will be added into an in-memory array so that it could be assigned to another WebSub subscriber.

Completed with #663


RealSense Viewer Saving

Issue Description
I've built the realsense viewer in visual studio C++ on windows 10 and it works with D415 cameras.
I'm looking through the code for realsense-viewer.cpp though and it seems all gui related. Where would I modify the viewer so it saves frames live as png instead of saving to rosbag?
Also, I see the frames in viewer are aligned which is usually done with align_to_color.process. Where is the code for that if I want to edit it?

The graphics in the central window of the Viewer use OpenGL for their rendering, and the interface uses a system called imgui.
https://github.com/IntelRealSense/librealsense/issues/2450
I can imagine that saving PNGs live, if it were possible, would provide very slow performance.  Bags are the most efficient way to record live, and the bag can be converted into PNGs or another format such as csv after the recording is completed (by using a conversion tool or post-processing).  The link below has a very long and interesting discussion on the subject
https://github.com/IntelRealSense/librealsense/issues/1485
Depth can be aligned with color in the Viewer's 3D mode.  It is harder to align in the Viewer's 2D mode though.
https://forums.intel.com/s/question/0D70P0000069EWaSAM

I see depth/color can't be aligned in the default viewer, but there must be a way to add align_to_color.process to the code so it can align. My question was where would I find that file to change the code. Same with saving as png. Despite it being slower, where would I find the code to add those to the existing viewer code?

Custom editing of the Viewer is outside of my knowledge unfortunately.  One of the Intel guys on this forum should be able to advise you well.  Good luck!

The Realsense SDK contains great resource/examples that demonstrate image saving (png) as well as frame align.
Please take a look at the following two examples:
https://github.com/IntelRealSense/librealsense/tree/master/examples/save-to-disk
https://github.com/IntelRealSense/librealsense/tree/master/examples/align
Please let us know if you have any other question. Thank you.


Add atan2

Fixes https://github.com/EnzymeAD/Enzyme.jl/issues/459

Codecov Report
Base: 76.05% // Head: 75.96% // Decreases project coverage by -0.08% :warning:

Coverage data is based on head (d3d3148) compared to base (5c03dab).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #461      +/-   ##
==========================================
- Coverage   76.05%   75.96%   -0.09%
==========================================
  Files          17       17
  Lines        4924     4923       -1
==========================================
- Hits         3745     3740       -5
- Misses       1179     1183       +4

Impacted Files
Coverage Δ

src/compiler.jl
75.38% <ø> (-0.01%)
:arrow_down:

src/compiler/interpreter.jl
100.00% <100.00%> (ø)

src/compiler/orcv1.jl
76.92% <0.00%> (-3.85%)
:arrow_down:

src/compiler/validation.jl
62.06% <0.00%> (-0.63%)
:arrow_down:

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

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


Import rocc-angular client library

Fix #12

Now that https://github.com/Sage-Bionetworks/rocc-angular-client has been added to this repository as a git submodule, we can add it to the list of npm dependencies:
$ npm install ./rocc-angular-client/rocc-client --save

added 27 packages, removed 2 packages, and audited 1658 packages in 3s

96 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


feat: binary field

It changes the following:

binary field
binary field extensions using tower field arithmetic

I've kept the implementation closer to theory as described in Section 2.3 of Binius. let me know if anything needs more work.
TODO:

[ ] figure out primitive_element_generator in extension fields
[ ] docs and tests
[ ] demonstrate power of binary fields by showing examples of embedding and small-by-large multiplication as described in the paper

@0xJepsen @Autoparallel this is ready for review now, I have added binary fields using our ronk traits in tests.
my reasoning being, I want to showcase the ease of arithmetic in binary fields and their efficient embedding and small by large multiplication properties. this obviously bloats the code a bit
can remove this entirely, and directly use our traits, if we feel that's the better approach.


Feature Management All Support

Description
Requirement type all support

https://github.com/Azure/azure-sdk-for-java/pull/34908

API change check
APIView has identified API level changes in this PR and created following API reviews.
spring-cloud-azure-appconfiguration-config


arch/xtensa: Fix some typos and correct some comments.

Summary
Fixing trivial typos while browsing the code.
Impact
N/A
Testing
N/A

LGTM


Buttons overflow in FireFox browser

Button overflow can be solve in FireFox by making changes in CSS.

Hey @Bisuz , thanks for contributing here. The main eng folder template is used in all the other locales, so whatever you make change also consider changing to all the other locale too if possible :-)..Tell me if something is not clear.

#7

Thanks for your contribution.


Safety Rating System

Credit to Oneiros:
" That way, I don't need to know the percentage chance (which I don't understand anyway), or the life expectancy - just the safety rating.
Then you could just assign each launch a safety rating equal to the lowest rated part. A player checks one piece of information, and instantly knows how safe their flight will be (possibly even with a nice visual cue). If it's lower than they are happy with, they can investigate."

Now implemented


Promise.all for vector of requests

We can optionally pass in a vector of requests instead of just one.  As far as I can tell they are are independently launched and the on success is fired for each when it finished.  Is there any pattern we can use to mimic a promise.all?  That is the multiple calls have a single on success / on failure event that is called after all of the calls resolve.

Some discussion here:  https://github.com/day8/re-frame/issues/808
(Not for the promise.all case.)


Fix groupby.cumsum with series grouped by index

[x] Closes #8578
[ ] Tests added / passed
[x] Passes pre-commit run --all-files

I need some help figuring out what is making the test fail - maybe @ian-r-rose can provide a second set of eyes.
 There are a couple of things going on here, but at heart: the graph validation step is complaining that the HighLevelGraph layer dependencies aren't what we say they are. In particular, the issue lies with this block:
https://github.com/dask/dask/blob/4228dc7439f4ecd05708641bbe25adbf4d658f92/dask/dataframe/groupby.py#L1263-L1284
If the dataframe is a single partition, then the dsk never gets any dependencies on cumpart_ext or cumlast. But in HighLevelGraph.from_collections we are saying that it does have those dependencies. I think a relatively straightforward fix could be to do something like:
dependencies = [cumpart_raw]
if self.obj.npartitions > 1:
    dependencies += [cumpart_ext, cumlast]

Now, I see that the test explicitly asks for two partitions, so I'm not sure why from_pandas is giving you a single partition dataframe. But hopefully the above should unblock this PR?

N.b., I was able to get the test passing by extending the length of your test dataframe, which was enough to convince from_pandas to give us a two-partition ddf.

Thank you so much for the review Ian! This all makes a lot of sense.


[ChaosCenter]: Revoke the token when the user logout

Proposed changes
Issue No. #4084

Add logout logic to Authentication server
1.1. Add Mongo Schema revoked-token
1.2. Add /logout endpoint(POST) to Authentication server
1.3. When user logout, blacklist token (createOne to 'revoked-token' collection)
AuthMiddleware checks whether tokens are revoked or not. (in authentication-server & graphql-server)
Call /logout in frontend when logout button clicked

Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[x] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the commit for DCO to be passed.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be maerged before this (if any).

Special notes for your reviewer:

@Saranya-jena
I added logic to chaoscenter/authentication, chaoscenter/graphql, and chaoscenter/web :)

Hey @namkyu1999, proposed changes looks good to me. Just a small request, we've updated the REST API's setup in chaoscenter directory. Can you update the auth API swagger file and do a yarn services to generate frontend API and consume that. For litmus-portal directory everything will remain the same this change should only be inside chaoscenter. I'll suggest you to make changes in swagger file first and push it so that you can update the OATS config file with the raw link of your updated swagger file. We can wait for @Saranya-jena's PR to get merged first then you can update the swagger file.

Hey @hrishavjha , I synchronized the master branch code and updated the swagger file.

Hey @hrishavjha , Thanks for the detailed explanation. I fixed all that you said.
One thing I want to mention in chaoscenter/web/src/app/App.tsx, We use a try-catch statement. But It's not a good idea because we cannot detect what's happening when errors come out. And We cannot use forceLogout function because We use them out of LitmusAPIProvider scope. So I deleted a try-catch statement. Is that okay?

Please rename the expire_on field to expires_at in the DB and other places.

@SarthakJain26 I've included your feedback :)


aya: make it possible to use set_global() with slices of Pod(s)

Alternative to https://github.com/aya-rs/aya/pull/555

@dave-tucker @anfredette I played with this a bit and think that this is the best API. It makes set_global work with both Pod and &[Pod] without changing the Pod trait nor introducing allocations. I don't love having to introduce a new type but because of Into you don't actually ever have to use it directly.


Pass SQLITE_ENABLE_STAT4

SQLITE_ENABLE_STAT2 is deprecated (and is a no-op). Pass SQLITE_ENABLE_STAT4 instead.

Thanks for letting me know that.


Project/oppia

I'm not quite sure, whether naturalLanguages should include the languages that the website is offered in. It seems to be quite useless to have the website in a language without the lessons being translated to it, too :/
Other than that, I'm pretty sure that the project is a fit.

Few typos. Maybe we could also add a link to https://www.oppia.org/splash ?

We already have https://www.oppia.org/ as the website url, which automatically redirects to https://www.oppia.org/splash


Folder rename in Go tests causes test tree to keep old folder and causes infinite test run in VSCode Insiders

Type: Bug
"In VSCode Insiders, when I rename a folder in the tests directory, the test explorer updates correctly with the new folder name, but the old folder name is still kept in the tree. When I attempt to run tests, the test gets stuck indefinitely because it doesn't find the files with the old path. The go test -timeout 5s setting is ignored, and the test never times out. The button Cancel Test Run doesn't work either. Closing and relaunching VSCode Insiders solves the issue, as the tree is correctly updated after restarting."
Steps to Reproduce:

Open a Go project with tests in VSCode Insiders.
Rename a folder in the tests directory.
Notice that the test tree shows both the old and new folder names.
Attempt to run a test from the test explorer.
Observe that the test hangs indefinitely, ignoring the timeout setting, or the cancel action.
Restart VSCode Insiders.
Observe that the old folder name is no longer present, and the test tree is correctly updated.

Expected Behavior:
When renaming a folder in the test directory, the test explorer should update and only reflect the new folder name, and tests should run normally without hanging indefinitely.
Actual Behavior:
The old folder name remains in the test explorer, causing tests to hang indefinitely when run.


fix(client): retry RPC requests on JsonRpcError::RestartNeeded

Fixes #3410

Successfully created backport PR for releases/v0.1:

#3424


chore: update sdk version

Description
updating the component SDK to version 2837.
Closes #1413
Reviewer Notes
Be sure to double check the components in the preview to be sure that nothing is broken.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Tabatha Young seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update the AzDO org that private extension builds are shared with

Tidy up organisations that the preview extension is shared with
Fixes #197
Comment out test_platform_with_runcmd as it is failing - tracking in #198
Update the feature-docker-from-docker test image version to work around https://github.com/devcontainers/features/issues/423

/test

/test

/test

/test

/test

/test

/test


Remove not needed go routines and simplify code

Signed-off-by: Andreas Kupries<EMAIL_ADDRESS>Second take
Fixes #1417

Nevermind ... I forgot to EPINIO_COVERAGE=1 for the coverage binary.


feat: add 1.4.1 contracts for OP Celestia Raspberry

relevant issue: https://github.com/safe-global/safe-deployments/issues/510

@ElvisKrop - changes look good. Please resolve merge conflicts for merging. Will likely conflict with #512.

@nlordell this one done, thanks!


[Bug] Haptics plugin not working on Google Pixel 9 Pro XL

Attempting to call any of the four vibration functions from the haptics (@tauri-apps/plugin-haptics) plugin does nothing. No errors are returned nor sent in the device logs.
Using:

haptics version ~2
@tauri-apps/api ^2.0.3
Android 15

For more context the discord discussion that started after i asked for more testers (mostly me talking lol): https://discord.com/channels/616186924390023171/618328921330417692/1304856255269048430
Do you have the Haptic Feedback OS setting disabled? The APIs are fairly sensitive to that apparently. A short summary of the linked discord messages:
With haptic feedback disabled:

vibrate() only works with values (those are in miliseconds btw) above 1000. So 1001 vibrates, 1000 and below doesn't

changing it to the waveform api, using the workaround mentioned below, should make it work too ig

impact and selection does nothing
notification (warning) does vibrate

The difference is that the vibration waveform of notification is of length 4, while the other 2 use a length 2 array. If i make all of them use length 4 by appending 0 values (meaning amplitude 0, timing 0) they also start to work

With haptic feedback enabled:

vibrate() works with values below 1000
impact and selection work without the workaround
notification still works

if you could confirm this behavior on your end that would be much appreciated - Edit: Don't forget to enable the haptics apis in the capabilities file. Since i forgot to push the Guide this seems to be a common mistake

Now the question is how to solve this.
Is this just something that should be documented?
Or should we add the workarounds and make the apis work regardless of the user's settings?
If it matters, i stole the timings/amplitudes from other projects, mainly the capacitor plugin.

Issue resolved. These permissions need to be added to the default.json capabilities file rather than just haptics:default:
[
        "haptics:allow-vibrate",
        "haptics:allow-impact-feedback",
        "haptics:allow-selection-feedback",
        "haptics:allow-notification-feedback"
]


Burrow fails to decode group metadata for Kafka brokers at version 2.3.0

{"level":"warn","ts":1566894189.3171144,"msg":"failed to decode","type":"module","coordinator":"consumer","class":"kafka","name":"consumer_kafka","offset_topic":"__consumer_offsets","offset_partition":13,"offset_offset":85,"message_type":"metadata","group":"connect-cluster","reason":"value version","version":3}
{"level":"warn","ts":1566894192.066904,"msg":"failed to decode","type":"module","coordinator":"consumer","class":"kafka","name":"consumer_kafka","offset_topic":"__consumer_offsets","offset_partition":20,"offset_offset":1447,"message_type":"metadata","group":"connect-connector-consumer-processedstores","reason":"value version","version":3}

Same as above. Master branch.

any ETA for 2.3 support?

Thу fix in this PR worked for us also for Kafka 2.2 :) Hope that helps you when merging


feat(repository): split recommend and ui-components repositories

Summary
This PR removes everything related to the ui-component-horizontal-sider packages which will now be available here: https://github.com/algolia/ui-components.
Result
Only the packages related to Algolia Recommend UI components are on this repository.

Update: keeping this PR as a draft until the one for ui-components isn't fully finished


[jvm-packages] How can I can run big data based xgboost-spark on yarn?

I have  run the spark example in the official documents using sbt tools, with no error.
gcc version here is 4.8.2.
I can run it when the data is not too big. But when the data is 17G(kdd12 in https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html), jvm out of memory occurs.
--master yarn \ --class XgboostR \ --num-executors 10 \ --executor-cores 2 \ --executor-memory 50g \
That's my spark conf, it seems the executor memory is enough. what's worse, when I use 2G dataset, I still have OOM error. I am really troubled.
By the way, does the parameter nWorks affect the performance?

general questions are now welcomed at https://discuss.xgboost.ai/


Fix issue with qemu network option name

It appears that the name of the -nic option in qemu has changed to -net.
This fixes #48.

Upon further research, it seems that the -net option is considered obsolete. However, this does fix the issue for me and allow the program to function as desired.
It seems that the -nic option was actually added in qemu version 2.12. In my environment, I was using qemu version 2.11.1, and it seems that the options -net nic -net user for the older version.


Update to CUPS 2.3.0

PR for MPS is here.

Given the license change in 2.3, I think we should no longer update this repo with later than CUPS 2.2 since we should be keeping it for older versions of MPS only. @GladeDiviney what do you think?


Show statistics min and max in explain

Is your feature request related to a problem or challenge?
We want see statistics Min and Max in the query plan to verify whether the plan is optimized correctly. Currently, there are only statistics Rows and Bytes are displayed in the query plan. We want to add Min and Max.
Table for the reproducer

set datafusion.explain.show_statistics = true;

create table t1(state string, city string, min_temp float, area int, time timestamp) as values
    ('MA', 'Boston', 70.4, 1, 50),
    ('MA', 'Bedford', 71.59, 2, 150),
    ('CA', 'SF', 79.0, 1, 300),
    ('MA', 'Boston', 75.4, 3, 250),
    ('MA', 'Andover', 69.5, 4, 250),
    ('MA', 'Bedford', 78.2, 2, 150),
    ('MA', 'Boston', 65.0, 2, 250),
    ('CA', 'SJ', 78.4, 1, 300),
    ('MA', 'Reading', 53.0, 4, 250),
    ('CA', 'SJ', 75.4, 5, 350);

stats of timestamp filter is lost
explain select * from t1 where time <= to_timestamp(350);
+---------------+---------------------------------------------------------------------------------------------------+
| plan_type     | plan                                                                                |
+---------------+---------------------------------------------------------------------------------------------------+
| logical_plan  | Filter: t1.time <= TimestampNanosecond(350000000000, None)                                        |
|               |   TableScan: t1 projection=[state, city, min_temp, area, time]                                    |
| physical_plan | CoalesceBatchesExec: target_batch_size=8192, statistics=[Rows=Absent, Bytes=Absent]               |
|               |   FilterExec: time@4 <=<PHONE_NUMBER>00, statistics=[Rows=Absent, Bytes=Absent]                      |
|               |     MemoryExec: partitions=1, partition_sizes=[1], statistics=[Rows=Exact(10), Bytes=Exact(2960)] |
|               |                                                                                |
+---------------+---------------------------------------------------------------------------------------------------+

Describe the solution you'd like
Add Min and Max in statistics to make it looks like
statistics=[Rows=Exact(10), Bytes=Exact(2960), Min=Exact(1), Max=Exact(100)]
Describe alternatives you've considered
No response
Additional context
No response

@alamb I am actively working on this

FYI @berkaysynnada  who I think will also be interested in this feature


Using the App Catalog - HTTP Go Server

Describe the bug
Folowing the steps from https://unikraft.org/guides/using-the-app-catalog i got an error at this part HTTP Go Server.
Steps to reproduce
I have folowed the steps from this link https://unikraft.org/guides/using-the-app-catalog to this part "HTTP Go Server".
If i try this command kraft run -W -p 8080:8080 . i get an error
Expected behavior
what i get is:
teodora@teodora-VirtualBox:~/catalog/examples/http-go1.21$ kraft run -W -p 8080:8080 .
W  using hardware emulation
i  using arch=x86_64 plat=qemu
<!> building rootfs                                                                                x86_64 [0.0s]
i  creating ephemeral buildkit container
W  could not connect to BuildKit client '' is BuildKit running?
W
W  By default, KraftKit will look for a native install which
W  is located at /run/buildkit/buildkit.sock.  Alternatively, you
W  can run BuildKit in a container (recommended for macOS users)
W  which you can do by running:
W
W    docker run --rm -d --name buildkit --privileged moby/buildkit:latest
W    export KRAFTKIT_BUILDKIT_HOST=docker-container://buildkit
W
W  For more usage instructions visit: https://unikraft.org/buildkit
W
E  creating buildkit container: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.45/networks": dial unix /va
E  creating buildkit container: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.45/networks": dial unix /var/run/docker.sock: connect: permission denied: failed to create container
teodora@teodora-VirtualBox:~/catalog/examples/http-go1.21$ sudo kraft run -W -p 8080:8080 .
W  detected invocation via sudo!
W
W  mixing invocations of kraft with sudo can lead to unexpected behavior
W  read more on how to use kraft without sudo at:
W
W  	https://unikraft.org/sudoless
W
W  to hide and ignore this warning message, set the environmental variable:
W
W  	export KRAFTKIT_NO_WARN_SUDO=1
W
W  using hardware emulation
i  using arch=x86_64 plat=qemu
[] building rootfs                                                                                x86_64 [36.6s]
i  #14 writing config sha256:6259a070c27a4059e6b5a37b443474e1bf6d2a699fd20bdaeccfb77b02edf8ed
i  #14 preparing build cache for export 0.1s done
i  #14 writing config sha256:6259a070c27a4059e6b5a37b443474e1bf6d2a699fd20bdaeccfb77b02edf8ed done
i  #14 writing cache manifest sha256:29dd3667c74510a077896bfc47c0224ade29338e1695fd2db32c2ce92035bd71 done
i  #14 DONE 0.1s
ctrl+c to cancel
panic: assignment to entry in nil map
goroutine 291 [running]:
kraftkit.sh/internal/cli/kraft/run.(*RunOptions).prepareRootfs.func1({0x21dc8b8?, 0xc006b7d2f0?})
/__w/kraftkit/kraftkit/internal/cli/kraft/run/utils.go:401 +0x13b
kraftkit.sh/tui/processtree.(*ProcessTree).Init.(*ProcessTree).waitForProcessCmd.func2()
/__w/kraftkit/kraftkit/tui/processtree/processtree.go:329 +0xb4
github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1()
/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:294 +0x29
created by github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1 in goroutine 314
/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:293 +0x139
teodora@teodora-VirtualBox:~/catalog/examples/http-go1.21$
Which architectures were you using or does this bug affect?
x86_64
Which operating system were you using or does this bug affect?
No response
Relevant log output
No response

Hi, thanks for the bug report!
I think this was fixed in #1600. We just need to tag a new release for this to be upstream, I can do this later today. In the meantime time you can try the latest pre-release.


Use either local or git-based build context

A new function named BuildContext() has been added to llbutils package.
It's used in php and webserver defkind handlers to use either local or
git-based build context depending on the context name format (either
starting with git:// or not).

Here's the dotgraph representation of the build steps for a php build using git-based build context:

Note that the initial step "Load zbuild files from build context" don't appear on this diagram as it's not part of the build process itself. However this step uses the git-based build context too (and thus local zbuildfiles aren't used at all).


Implement TIA write register delays....

TIA writes are delayed a few cycles before they appear in output. Sync this up.
Paul's demo is a good test case

invalid


How add HubPort

Hello,I create Composite and HubPort in kms,but graph does not show Hubport. How I add HubPort and show connection ? Thank you.

Hello,
I don't know, i don't support this project. Maybe it is a bug in kurento. The monitor should display any media elements regardless of its types.
Some advices:

You can add console.log to https://github.com/kupec/kurento-monitor/blob/master/server/models/monitor.js#L30-L61 to see what media elements are returned by kurento api. If there are no hubports then it is a kurento problem (a problem in api or a problem with hubport creation) .

Sometimes graph elements layouted badly and one element overlaps others. Maybe Hubport is simply hidden by Composite. In this case you can try to move it by mouse.

And you can try an older version of kurento monitor - https://github.com/kupec/kurento-monitor/tree/v1.2.0 . It is a console version.


Cleans up some stray fmt and dead code

While investigating an issue with wrong service id picked for some server spans, I noticed some debug print information that was not removed and some extra service IDs we weren't using.

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

Project coverage is 51.04%. Comparing base (0af9e31) to head (ac1a80b).

:exclamation:  There is a different number of reports uploaded between BASE (0af9e31) and HEAD (ac1a80b). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (0af9e31)
HEAD (ac1a80b)

oats-test
1
0

k8s-integration-test
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1056       +/-   ##
===========================================
- Coverage   78.76%   51.04%   -27.73%
===========================================
  Files         139      139
  Lines       11143    11142        -1
===========================================
- Hits         8777     5687     -3090
- Misses       1826     5063     +3237
+ Partials      540      392      -148

Flag
Coverage Δ

k8s-integration-test
?

oats-test
?

unittests
51.04% <ø> (+0.04%)
:arrow_up:

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

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