How can I build a docker image based ubuntu 2204？

I noticed that when I  build a cyber image by script in docker/build/
=====.=====.===== Docker Build Preview for cyber =====.=====.=====
|  Generated image: apolloauto/apollo:cyber-aarch64-18.04-20230830_1644
|  FROM image: apolloauto/apollo:l4t-cuda10.2-cudnn8-trt7-devel-18.04-20201217_0752
|  Dockerfile: cyber.aarch64.dockerfile
|  TARGET_ARCH=aarch64, HOST_ARCH=aarch64
|  INSTALL_MODE=download, GEOLOC=us, APOLLO_DIST=stable
=====.=====.=====.=====.=====.=====.=====.=====.=====.=====.=====.=====.=====
FROM image is l4t-cuda10.2-cudnn8-trt7-devel-18.04-20201217_0752
How can I build a  cyber-aarch64-22.04-20230830_1644 ??

make sure there is an l4t (linux for tegra) for ubuntu 22.04-->https://developer.nvidia.com/embedded/jetpack then you can change the base image to the one you should use--> https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-jetpack third, adapt all needed dependencies to your system base ubuntu 22.04--> https://github.com/ApolloAuto/apollo/tree/9.x_alpha/docker/build/installers finally use the scripts provided by apollo to build the docker image.
Please get me informed when you succeed with it and maybe you are also very kind to share the repo to the community. Thanks in advance!

Many thanks for the prompt reply.
Apollo x86 base image is  https://hub.docker.com/r/nvidia/cuda/tags  , and there are no 22.04 image,
Apollo aarch64 base image is https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-jetpack/tags , there are no 22.04 image either.
The NVIDIA® Jetson™ Linux 35.4.1 General Availability (GA) includes the Linux Kernel 5.10,
the UEFI based Bootloader, the Ubuntu 20.04-based root file system, NVIDIA drivers, the
necessary firmware, toolchain, and more
It seems that we need to wait for these base images to support 2204. Thanks again.


feat: support use multiple obi in scheduler

What type of PR is this?
/kind feature

What this PR does / why we need it:
support use multiple obi in scheduler. ex: node.obi.default-prometheus-node-cpu.metric.cpu
syntax: node.obi.<obinamespace-obiname>.metric.<metricname>
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

https://github.com/kube-arbiter/arbiter/actions/runs/3386230769/jobs/5625478811#step:6:3553 show prometheus obi get same obi, that is not right....

The following work needs to be done in the follow up pr:

[ ] manually update the 1.20 branch to add this feature
[ ] add other complex scheduling logic to the test, such as MostAllocated?
[ ] update the documentation

/lgtm


Can you help me with the usage?

Hi. firstly, thankyou for the wonderful work to test MNIST clissifier model that trained by keras.
but I dont get to how to run "trining.py" to get model.
I cloned your git rep and  download "data/mnist_all.mat" from "http://www.cs.nyu.edu/~roweis/data.html"
and give to --file option like above.
python3 training.py --file ./mnist_all.mat
but the log sais
  File "training.py", line 57, in load_data
    mapping = {kv[0]:kv[1:][0] for kv in mat['dataset'][0][0][2]}
KeyError: 'dataset'

looks like the  .mat file data is wrong.
can you tell me what .mat file I have to use and explain more about usage?
thank you

Hello, thanks for your interest in the project!
I am sorry if the database download was not clear, I will add a more direct link to the documentation.
Here is the direct link to download all of the matlab files; in this project, only the emnist-byclass.mat is used.
Let me know if you have any more issues.


Add support for completion block that fires after animation ends

I needed the ability to chain animation sequences similar to UIView's animateWithDuration:completion method. I added setValue:animateWithDuration:completion to enable animation chaining.
Implements https://github.com/MatiBot/MBCircularProgressBar/issues/12

Thank you for your pull request!
A completion block is a great idea.
I think that creating an implicit UIView animation would be a better move for us because it would enable us animate the change with other UIView properties. What do you think?

Definitely, implicit UIView animation would be much better for the reason you stated. I don't have expertise in animation and couldn't figure out how to implement it. Apple documentation (link below) suggested that animating view and layer changes together wasn't very precise, so I didn't investigate further. If you know how to do it then I would reject my PR and go with your solution.
https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/AnimatingViews/AnimatingViews.html#//apple_ref/doc/uid/TP40009503-CH6-SW12
Here is how I am currently using the completion block with other UIView animations:
// Animate progress view to 100%
progressView.setValue(100.0, animateWithDuration: 0.25, completion: { _ in
    UIView.animateWithDuration(0.25, animations: {
        // Fade the progress view out
        self.alpha = 0.0
    }, completion: { _ in
        UIView.animateWithDuration(0.25, animations: {
            // Collapse empty space (move views up to fill void)
            self.hidden = true
            self.superview?.layoutIfNeeded()
        })
    })
})

I think you are proposing a something that would look like this:
UIView.animateWithDuration(0.25, animations: {
    // Animate progress view to 100%
    progressView.value = 100.0
}, completion: { _ in
    UIView.animateWithDuration(0.25, animations: {
        // Fade the progress view out
        self.alpha = 0.0
    }, completion: { _ in
        UIView.animateWithDuration(0.25, animations: {
            // Collapse empty space (move views up to )
            self.hidden = true
            self.superview?.layoutIfNeeded()
        })
    })
})

Hope someone out there merge this feature :))

Took some time but I merged in some code today that enables you to animate the value property within an animation block.


thunderbrid@78: enable smartcard gpg support

Describe the bug
The "new" thunderbird@78 has native support for gpg now.
To Reproduce
Steps to reproduce the behavior:

install thunderbird@78
configure the gpg key manually
the mail encryption doesn't work

Expected behavior
It should support gpg smartcards or at least have an option to install all needed dependencies (gpgme).
Notify maintainers
@eelco
@lovesegfault
@pierron
@vcunat
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.8.10, NixOS, 21.03pre244045.1179840f9a8 (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.7
channels(root): "nixos-21.03pre244045.1179840f9a8"
channels(thomas): "nixpkgs-21.03pre243895.72b9660dc18"
nixpkgs: /home/thomas/.nix-defexpr/channels/nixpkgs

You need to download and install GnuPG yourself. In addition, you must ensure the GPGME C library is installed in a corresponding version. You must ensure that Thunderbird 78 can find GPGME in the system library search path.

If I get it right, you can test it without rebuilding anything by:
env LD_LIBRARY_PATH="$(nix-build -QA nixos.gpgme.out)/lib" PATH="$(nix-build -QA nixos.gnupg)/bin:$PATH" thunderbird

(you still need to do the other steps from the wiki post)

I'm up against this one as well and have downgraded to 68 for the time being. I'm seeing something like what's stated in this Thunderbird bug.

That's not ideal, as 68 has unfixed vulnerabilities (though perhaps hard to exploit if you're careful with e-mail content).

That's not ideal, as 68 has unfixed vulnerabilities (though perhaps hard to exploit if you're careful with e-mail content).

Turns out I was premature on that anyway. 68 failed to build.

With a slight modification @vcunat's command above, I was able to get the pinentry prompt to pop up:
 LD_LIBRARY_PATH="$(nix-env -q --out-path gpgme | awk '{print $2}')/lib"  thunderbird

I put the equivalent of @vcunat's fix from https://github.com/NixOS/nixpkgs/issues/98765#issuecomment-699501383 into PR #107122.
Please test!


some problem for networkserver.sendtoall

I have some problem for API. The networkserver.sendtoall it says can send all client even not connect. But actually, it can`t. it just can receive after connected.
 private void Awake()
        {
            // NetworkClient.ReplaceHandler<k>(temp);

            NetworkClient.RegisterHandler<k>(temp, false);

            DontDestroyOnLoad(gameObject);
        }

I have tried before connecting and after connected.
It just can receive the after connected send message.

I'm not 100% sure but I think Awake() is a bad place to place network code as it may be called before Mirror is fully initialized.
Going from memory which might be incorrect, you might want to consider OnStartClient or another overridable function. That would ensure Mirror is initialized and synchronized up.

You are not having any problems with Cilent's connection or not. I am guessing that it cannot make this function work because it has made the necessary adjustments and installation in the mirror awake function.
So, even if the client is not connected, this function works because this function sends messages to all existing clients.

Closing this - not a bug and was answered in Discord.


example points to non-existent volterra version 0.1.2

Example terraform registry module gives following version block example
terraform {
  required_providers {
    volterra = {
      source  = "volterraedge/volterra"
      version = "0.1.2"
    }
  }
}

This fails and should point to .0.1.1
terraform {
  required_providers {
    volterra = {
      source  = "volterraedge/volterra"
      version = "0.1.1"
    }
  }
}

Updated the release with fixes, pls test again
$ terraform init -upgrade
Upgrading modules...
Downloading volterraedge/secure-k8s-gateway/volterra 0.1.2 for skg...
- skg in .terraform/modules/skg
Downloading terraform-aws-modules/eks/aws 14.0.0 for skg.eks...
- skg.eks in .terraform/modules/skg.eks
- skg.eks.fargate in .terraform/modules/skg.eks/modules/fargate
- skg.eks.node_groups in .terraform/modules/skg.eks/modules/node_groups

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/template versions matching ">= 2.1.0"...
- Finding hashicorp/random versions matching ">= 2.1.0"...
- Finding volterraedge/volterra versions matching "0.1.0"...
- Finding hashicorp/aws versions matching ">= 3.22.0"...
- Finding hashicorp/null versions matching ">= 2.1.0, >= 3.0.0"...
- Finding hashicorp/local versions matching ">= 1.4.0, >= 2.0.0"...
- Finding hashicorp/kubernetes versions matching ">= 1.11.1"...
- Installing hashicorp/template v2.2.0...
- Installed hashicorp/template v2.2.0 (signed by HashiCorp)
- Installing hashicorp/random v3.1.0...
- Installed hashicorp/random v3.1.0 (signed by HashiCorp)
- Installing volterraedge/volterra v0.1.0...
- Installed volterraedge/volterra v0.1.0 (signed by a HashiCorp partner, key ID D9A99FF2F2E29E35)
- Installing hashicorp/aws v3.30.0...
- Installed hashicorp/aws v3.30.0 (signed by HashiCorp)
- Installing hashicorp/null v3.1.0...
- Installed hashicorp/null v3.1.0 (signed by HashiCorp)
- Installing hashicorp/local v2.1.0...
- Installed hashicorp/local v2.1.0 (signed by HashiCorp)
- Installing hashicorp/kubernetes v2.0.2...
- Installed hashicorp/kubernetes v2.0.2 (signed by HashiCorp)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.


Investigate using Deployment for Openshift

Currently, we are using DeploymentConfig on Openshift to make things easier, consider using Deployment instead, possibly when a new major version is released.

This issue has been resolved, and should not affect the upcoming 1.0.0-v2.0.0.final release.


[release-1.7] Refresh token periodically through credential fetcher

This is an automated cherry-pick of #26244

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.7
1c2c3d7061079ebd0af521b115e20f586bccef73
link
/test unit-tests_istio_release-1.7

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.

/test unit-tests_istio_release-1.7

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio_release-1.7
1c2c3d7061079ebd0af521b115e20f586bccef73
link
/test integ-distroless-k8s-tests_istio_release-1.7

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.

/test integ-distroless-k8s-tests_istio_release-1.7


Handle DockerInfo force_pull_image

0.22.0 has dropped, https://issues.apache.org/jira/browse/MESOS-2364 was included.

+1

+1

PR #899 implements this and is in review.

#899 merged


"Headless Re-Configure WiFi" after PiShrunk For Ubuntu Server 22.04 on Raspberry Pi

I have created a Raspberry Pi image - "ROS2 Humble on Ubuntu 22.04 Server Jammy For GoPiGo3 Robots", and used "sudo PiShrink -p -v -z 32GB.img Distro2G.img" to shrink the image for distribution.
Using Raspberry Pi Imager v1.7.3 to write my image (with the setup option to set WiFi SSID/Password, userid/pswd, enable ssh, hostname, and local) creates a working system, but while cloud-init does copy the new SSID/passwd to /etc/netplan/50-cloud-init.yaml the content of the file is not used to configure the WiFi.
The system connects to the network SSID/password of the original image somehow.
I tried sudo cloud-init clean --logs before I shutdown the original image for shrinking, but that did not cause the new network-config content to be used on the redistributed image.
Any tips on making a redistributable headless configurable Ubuntu 22.04 Server image?

This sounds like an issue with Raspberry Pi Imager, not PIShrink as we don't mess with anything related to wifi. Unless they also use /etc/rc.local they should work together.

What I found to work is performing the following before the shrink:

sudo cloud-init clean --logs
rm /etc/netplan/50-cloud-init.yaml


Allow Docker image file permissions to be modified at runtime

What changes are proposed in this pull request?
Rrefactor the Dockerfile's entrypoint script so that we can set permissions on a provided env/argument instead.
Why are the changes needed?
Please clarify why the changes are needed. For instance,
Currently in the Alluxio Dockerfile the USER, UID and GID are all hard-coded. Thus only way to change the file permissions is to recompile a Docker image with new values for the arguments.
This creates a problem for users of the Helm chart who try to modify the user / UID used to run the Docker container in k8s. The corresponding file permissions do not get updated to the new UID.
I suggest we should consider refactoring the Dockerfile's entrypoint script so that we can set permissions on a provided env/argument instead.
Does this PR introduce any user facing changes?
No, it doesn't.

I have changed the alluxio tarball version from 2.8.0 to 2.9.0-SNAPSHOT. The alpine's version is also changed back to 3.10.2. https://github.com/Alluxio/alluxio/pull/15898/commits/4441c096fc504a33cb6106b121fdae7a71970e0e

@JiamingMai After I run docker exec -it alluxio-master bash and whoami inside the container, it returns user root. Is it possible to run as user Alluxio by default  or the user specified through the environment variable?
bash-5.0# ps aux
PID   USER     TIME  COMMAND
    1 a         0:00 bash /entrypoint.sh master
   74 root      0:00 bash
  326 a         0:12 /usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio-2.9.0-SNAPSHOT/conf/::/opt/alluxio-2.9.0-SNAPSHOT/assembly/alluxio-server-2.9.0
  327 a         0:17 /usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio-2.9.0-SNAPSHOT/conf/::/opt/alluxio-2.9.0-SNAPSHOT/assembly/alluxio-server-2.9.0
  667 root      0:00 ps aux
bash-5.0# whoami
root

@JiamingMai After I run docker exec -it alluxio-master bash and whoami inside the container, it returns user root. Is it possible to run as user Alluxio by default or the user specified through the environment variable?
bash-5.0# ps aux
PID   USER     TIME  COMMAND
    1 a         0:00 bash /entrypoint.sh master
   74 root      0:00 bash
  326 a         0:12 /usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio-2.9.0-SNAPSHOT/conf/::/opt/alluxio-2.9.0-SNAPSHOT/assembly/alluxio-server-2.9.0
  327 a         0:17 /usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio-2.9.0-SNAPSHOT/conf/::/opt/alluxio-2.9.0-SNAPSHOT/assembly/alluxio-server-2.9.0
  667 root      0:00 ps aux
bash-5.0# whoami
root

@JiamingMai , could you take a look at @ssz1997 's comments?  thanks!

@JiamingMai After I run docker exec -it alluxio-master bash and whoami inside the container, it returns user root. Is it possible to run as user Alluxio by default or the user specified through the environment variable?
bash-5.0# ps aux
PID   USER     TIME  COMMAND
    1 a         0:00 bash /entrypoint.sh master
   74 root      0:00 bash
  326 a         0:12 /usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio-2.9.0-SNAPSHOT/conf/::/opt/alluxio-2.9.0-SNAPSHOT/assembly/alluxio-server-2.9.0
  327 a         0:17 /usr/lib/jvm/java-1.8-openjdk/bin/java -cp /opt/alluxio-2.9.0-SNAPSHOT/conf/::/opt/alluxio-2.9.0-SNAPSHOT/assembly/alluxio-server-2.9.0
  667 root      0:00 ps aux
bash-5.0# whoami
root

You can docker exec -it -u user_name

alluxio-bot, merge this please.

Duplicating this comment for posterity: https://github.com/Alluxio/alluxio/pull/15980#discussion_r933496712

By the way forcing the Pod/Container to use the root user from https://github.com/Alluxio/alluxio/pull/15898 is slightly concerning from a security point-of-view (to put it lightly) 😅
Can we refactor the Dockerfile to create a different admin user with permission to create users/groups & assign file ownership (i.e: a sudo-er), but isn't root (uid=0, gid=0)? The rest will still be the same; after creating the alluxio user & group you run the process as that user. This is just so that the container image itself doesn't run with a root user (which is very dangerous if people can enter the container runtime somehow).
Example blogpost: https://blog.aquasec.com/rootless-containers-boosting-container-security


Migrate document selection from ES Queries to CoherenceBot

In CoherenceBot V0, we wrote all documents (including HTML) to ElasticSearch and then proceeded to select certain PDFs for publishing using ES queries developed by Carolina.
This task is to migrate that selection to a configurable keyword match list that occurs in an index filter inside CoherenceBot.
Also explore whether this implementation can accept an update to the selection criteria without restarting the bot.
Log the selections made to make reporting possible on how many documents are getting filtered by the selection critieria.

This is implemented in the plugin index-criteria
It accepts into its config a list of key phrases to reject and the field name(s) to check.
It is the last filter in the index plugin and it does the checking after the title and title_english have been selected.
So there is no need to check heading and anchor (although these fields can be searched if you need to)
I obtained all the "must not" matches from the queries used in the first two crawls for Africa and DTT.
Initial filter criteria
This resulted in the following filter criteria.
title,title_english=acceptedcomputerprogram
title,title_english=accreditation
title,title_english=advisory board
title,title_english=appel à candidature
title,title_english=assembly
title,title_english=banner
title,title_english=call for
title,title_english=communiqué de presse
title,title_english=curriculum vitae
title,title_english=decision
title,title_english=demande de bourse
title,title_english=draft
title,title_english=executive board
title,title_english=expression of interest
title,title_english=financial statements
title,title_english=guide des services
title,title_english=in the news
title,title_english=job description
title,title_english=junta ejecutiva
title,title_english=list of faculty contacts
title,title_english=listofdocuments
title,title_english=newsletter
title,title_english=obituary
title,title_english=preparations
title,title_english=press release
title,title_english=recent happenings
title,title_english=seminar
title,title_english=status list
title,title_english=summer session
title,title_english=talking points
title,title_english=taller
title,title_english=tax return
title,title_english=technical evaluation
title,title_english=terms of reference
title,title_english=web policy
title,title_english=weekly digest
title,title_english=workshop

Format
field=phrase to check in one field
field1,field2=phrase to check in these two fields

Any number of comma-separated fields to check can be provided.
Only string fields can be searched.  Numeric and Date fields are not supported.
Field names you can check
anchor
content
domain
heading
host
lang
organization.city
organization.country
organization.country_code
organization.id
organization.name
organization.region
organization.type
outlinks
summary
thumbnail
thumbnail.url_archive
title
title_algorithm
title_english
type
url

###Matching Algorithm
Here is the matching algorithm.  Because we are not exploiting the full power of elasticsearch, I needed to implement a basic text analysis and normalization on both the fields we are testing and the phrases we are looking for.  The following happens to both.

The content is turned into lower case (in a unicode aware fashion).
Punctuation is removed.
Whitespace is normalized (repeated spaces and or newlines are turned into single space)
If a field is multi-valued, each value is checked independently.

And if any one of the provided keyphrases matches the content of any one field it searches, the document is rejected.


Create a monthly report (web page) with forecasts and validation/stats

I would like us to automate the creating of a monthly icenet report (web page), looking forward to the next 3 months and a validation over the previous 3 months.
We can also produce running statistics on how accurate IceNet is, and whether there are any anomalous events coming up

@scotthosking Moving this into icenet-project, as we actually have this infrastructure and it spans multiple repositories. Will be better captured there so that we can produce the required stats / plots under icenet-application and in the icenet-etl repositories as well.


Chatbot added

issue no #414

@subhadipbhowmik Please check it and merge !

Hello @subhadipbhowmik can I know why you are not merge my this PR !
Please merge this so i can work upon add scroll to top button in this website !

Previously we added chatbot to our site. It was creating lots of problem so we do not want to integrate chatbot.


Revert "added cmd for getting local users with offset, limit, userID and user…"

Reverts SSHcom/privx-cli#7

tagging needed for the go-sdk before this


Possibility to manually apply incoming filter expressions to an IQueryable

I have some fixed predicates that go into the my query and I want to pull the expression that the user entered from a query/resolver/filter context and apply it manually to my IQueryably that I'm getting from my db
I also would like to execute that query asynchronously so I can't just return the IQueryable in the resolver

Based on my memory, if the IQueryable also happens to implement IAsyncEnumerable, when using the selection middleware, it does execute the query asynchronously.  Unless you have some other requirement regarding executing the IQueryable asynchronously.

well.. the queryable provider in the .net cosmos v3 sdk that I'm using does not implement IAsyncEnumerable
I also don't think the selection middleware is going to apply the filters?
anyhow.. I thinks its very useful to be able to grab the graphql filter expression and manipulate it in various ways

My memory was was not correct earlier, as now I remember the async execution was in the first result and single result middleware components.
However, one thing that you could do is implement a middleware component, make sure it comes before the filter middleware but after any middleware which would resolve an IQueryable, then the Result value in the context parameter after having called the next middlware will be the IQueryable that you returned from your field resolver but with the filters already applied to it.  This will work well if you need to do the same or similar enough process to all of your IQueryable collections after the filters have been applied, not so much if each collection needs to be processed differently.  In the latter case, you might have to implement your own filtering process somehow, but, in that case, I believe there is an extension method that modifies the schema to include all of the filtering options but does not add the filtering middleware, allowing you to process it yourself.

sorry for the late response..
@TheJayMann I have tried your idea with a middleware and was able to solve the filtering for the more static parts of my schema.
For that I can apply something to the IQueryable and execute it async in the middleware. the only issue then is when I add paging, as I it can't really execute the IQueryable async.. I have not yet dove into the inner workings of the paging middleware to see how it works and why it different from the filtering one.
another even more important problem I have is that a part of the schema is generated dynamically. That means that the user filters on fields that dont exist in the database.. there the field names are replaced with guids to access them.
so i have to swap the field names with those keys somewhere down the pipeline
e.g.
where { myFieldName:  { eq: "inputstring" } }
becomes to
where { properties["_f860074e4bec4d4a9a6e3d4805c90432"]:  { eq: "inputstring" } }    <-- this does not exist in schema
or looking from the database side:
queryable.Where(x => x.MyFieldName == "inputstring");     <-- this does not exist in the db
vs
queryable.Where(x => x.Properties["_f860074e4bec4d4a9a6e3d4805c90432"] == "inputstring");
@PascalSenn in the other issue #2299 you mentioned an idea for exposing visitors.
descriptorContext.TryCreateFiltering(out Expression<Func<TEntityType, bool>> where);
or whats your take on this?

@MariaCobretti
yes something like this. Just didnt find the time to do it. :)

ok, good to hear that you got the idea to how make this work. do you mind reopening this issue for when you got the time to come around this one again?

hey @PascalSenn
I finally managed to get this to work and wanted to share it with you, also because it required some small changes to HC
Essentially, I needed to change the behavior of the QueryableDefaultFieldHandler to build the expression whenever it encounters a field that is part of one of my dynamic objects.
In order to build the expression correctly I need some additional context data in the QueryableFilterContext
this brings me to the following classes
public class CustomQueryableDefaultFieldHandler : FilterFieldHandler<CustomQueryableFilterContext, Expression>
public class CustomQueryableFilterProvider : FilterProvider<CustomQueryableFilterContext>
public class CustomQueryableFilterContext : QueryableFilterContext

important to note here is that CustomQueryableFilterContext implements QueryableFilterContext which make it easy to extend with a small change in HC which is
public class QueryableCombinator<TContext>
        : FilterOperationCombinator<TContext, Expression> where TContext : QueryableFilterContext

my Startup.cs
.AddFiltering(x =>
{
   x.AddDefaultOperations().BindDefaultTypes();
   x.Provider(new CustomQueryableFilterProvider(c => c
      .AddFieldHandler<CustomQueryableDefaultFieldHandler>()
      .AddDefaultFieldHandlers()
   ));
})

one other important thing is that the schemaType on which the filter is build differs from the entityType returned by the db.
So to inject the propper types into the filter provider, another .UseFiltering extension is needed, similar to the paging api
public static IObjectFieldDescriptor UseFiltering(
            this IObjectFieldDescriptor descriptor,
            Type schemaType,
            Type? entityType,
            string? scope = null)

lastly I changed the QueryableScope constructor to take a System.Type parameter instead of an IExtendedType, which I was unable to produce for my entityType
also I'd like the ErrorHelper to be public since it is used in the CustomQueryableDefaultFieldHandler
I can drop you a pull request if you want
Greetings

hi @MariaCobretti
cool that you got i working! i like the idea of the entity type. i think in case of dtos this could be helpful too
in a future release we want to support this natively so no need for automapper and such
for projections we also meed a slight change to the filtering api, we need to add the filter context to the context data of the field.
this would also enable you to pull it by yourself from the context data and apply it manually
we do not want the base visitor classes to depend on system.type because this should also work with schema first at some point
in case of queryable a runtime type is obviously something that is needed
i think a PR to discuss the api changes would be nice, if it is not too much work :)

sure thing, let me know what I need to do.. I'm getting a 403 when trying to push my branch as expected

you can either

fork the repo
copy the git link
git remote add fork <>
git push --set-upstream fork branchname
go to github and create a pr 👍

or wait till @michaelstaib  granted you permissions to push to the github repository :)

done 👍
happy to discuss the changes and contribute further


Defender updates for Server 2019

This document says (below) Question is where to download from?
"You have non-Internet-connected devices (such as VMs). You can use your Internet-connected VM host to download the updates to a network share"

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

ID: 7c033d14-427d-26d5-eca8-facf190da87d
Version Independent ID: 624d52e5-6cf5-534e-83c3-66925292ddcd
Content: Manage how and where Windows Defender AV receives updates
Content Source: windows/security/threat-protection/windows-defender-antivirus/manage-protection-updates-windows-defender-antivirus.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@officedocsbot assign @mypil

@DSPatrick - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

Thank you. Is the Win10 ITPro the correct team? We're asking about manual download of defender updates for Server 2019

@DSPatrick You can download updates from many sources mentioned in the document.
Microsoft Update
Windows Server Update Service (WSUS)
System Center Configuration Manager
A network file share
The Microsoft Malware Protection Center Security intelligence page (MMPC)
The last is on the internet. Where you will download the updates manually and then update Windows Defender. Once you have placed the downloaded files on any non-internet-connected VM and from there on you can file share those updates using procedure mentioned in the doc, like group policy or using powershell.
Thanks.

"The last is on the internet. Where you will download the updates manually and then update Windows Defender."
This was the original question; where to manually download defender updates for Server 2019?

@DSPatrick Please visit https://www.microsoft.com/en-us/wdsi/definitions and select the version of your Windows Defender to download the security updates.

Thanks.

Thanks, I've been there but nothing listed for Server 2019

@DSPatrick , I have checked and found that there is no option available to update Windows Server 2019 Windows Defender by manual updates. Please open a support ticket with Microsoft to address this issue.
@mypil , please guide the user how can he open a support ticket.
Thanks.

@DSPatrick - I think the best way forward is if you can open a service ticket so this can get resolved ASAP. Based on outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for Windows 10 products:  https://support.microsoft.com/en-us/hub/4338813/windows-help?os=windows-10
If you don't mind please keep us posted here on the resolution and I really want to get this information you are discovering back into the docs.

Thanks, but I'm asking on behalf of TechNet forums users. Users are wanting to download definitions for Server 2019 deployed in isolated / quarantined environment.

@DSPatrick As of now, I was not able to find any info for the same.
@mypil Can you please engage doc owner to see if there is any feedback from doc owner. Or maybe doc owner can find someone/team relevant to this request.
Thanks.

@Dansimp - Can you please share your insights on this issue?
Thank you.

@DSPatrick - If you have questions that are more support type questions about getting this up and running on your machines, I would suggest visiting Microsoft Support for Windows 10 as we only handle the updating of the documentation here. If you do find that it is a documentation error though, feel free to comment back and we'll gladly look into fixing it. Thanks!

@officedocsbot close

I'm confused?? Why would I reach out to Windows 10 support for a Windows Server 2019 question? Its not that the document is in error it the simple fact we are missing a download source for Server 2019 Windows Defender updates.

@DSPatrick - Please understand that this site is a product documentation site and not a support nor a feature request site.
As such, the feedback section here is intended for feedback that improves the content in the Microsoft documentation and not intended for user feedback on product features nor troubleshooting.
For user feedback on product feature requests, you can submit via Feedback Hub - https://support.microsoft.com/en-za/help/4021566/windows-10-send-feedback-to-microsoft-with-feedback-hub. I know the product teams are always looking for user feedback on how to make Windows 10 better. You might find others have made a similar request that you can add to, or you can open a new one.
For technical queries or troubleshooting, you can visit support.microsoft.com, answers.microsoft.com or open a support ticket.
I hope this gets you pointed in the right direction. Thank you.

Thanks, but I'm not asking for product support or a feature request. This document has links for defender updates for all operating systems except Server 2019. Wouldn't it make sense to add it here if it exists? If it doesn't exist or there are no plans for it then please spell that out here so users can stop looking.


[8.x] Fix the whereDoesntStartWith method

When $attributes->whereDoesntStartWith() is called from the Blade template, an exception is thrown because the ComponentAttributeBag class tries to use a reject method, but that method does not exist on the class. So this PR changes from reject to filter with negated callback.

@crnkovic can you send this to 6.x as well?

@crnkovic can you send this to 6.x as well?

you mean 7.x 😃 just did https://github.com/laravel/framework/pull/34329

@crnkovic ah no sorry, I did meant 6.x but that version doesn't has Blade components of course 🤦♂
So nevermind.


Website (javascript) should appropriately invalidate its cache when it makes changes

A few kinds of actions on the site don't currently render properly until you refresh the page:

Following / unfollowing a user doesn't reflect in your following page
Adding/removing a user to/from your team doesn't reflect on your published game page. (and has no UI indication of whether it is successful in general)

There are probably some others that don't come to mind at the moment, but I ran into these recently. Basically there seems to be a hole related to links/meta/stars, perhaps those APIs when changing things should cause a js cache invalidate of the affected nodes.

It was also noted that other kinds of profile changes don't update immediately,

Setting a profile image doesn't update top right icon
Setting user description

There's 2 sides to the invalidation:

Server side (i.e API)
Client side

I know we've done some of the server side, but I don't believe we've done any of the client side.

Yeah, I think all of the above do correctly invalidate in the server cache now (meta changes and node edit do), but they don't update the object in the client cache. That is a pretty serious gap :)

Well if you know a node is now, you can call.
$node->InvalidateNodeCache(id);

Next time it's requested, it will actually request from the server. So it looks like I was planning for this, just never actually used it. :wink:

will the top bar rerequest on navigate? If so then maybe this is pretty simple to resolve.

I'm not sure about the top bar, but other cases (editing posts not actually updating) should be trivial to fix. I've dropped the call in to the update/publish/transform calls of node. Just need to generate some data and perform some tests. Then we can fix other cases.

Okay, latest has fixes that should cause invalidations any time a node changes.
Stars (currently how adding friends and team members work) do not work. This is because the actual data for friends is stored in a user's private data. Invalidating the node is not the correct solution to this.
Instead, there needs to be a way to invalidate private data.

Caches invalidate now, but the changes don't cascade triggering re-renders. There's probably a good way to fix this.


Debugging method chains

Given this code:
a()
  .b()
  .c()

When I place an inline breakpoint before the c method is called, I want to see the resulting value from the method chain calls so far (a().b()).
Could this be added to the debugger? Given an inline breakpoint just prior to a method call, perhaps the debugger could show the method's parent object under the "Variables" section.

VS Code does not have a "debugger" but it only provides a common UI for different debugger backends.
That means that we first have to understand if debugger backends can actually provide the necessary information for this feature.
@roblourens is there are a way to get access to this info via CDP?

No, this is no easier in chrome devtools. You can step into a particular call then see the return value. I'm open to suggestions...

@OliverJAsh what debugger are you using?

Node and Chrome

Since node.js is not supporting this, we cannot do anything here.


[Integration] There is no error on UI if there was interruption while response is being generated

Create a chat and send a message like "Type 50 famous cities"
While response is being generated refresh the browser -> the response is interrupted (ok), but there is no error on UI -> bug

On staging now:

Expected as on Prod now:

The behavior is consistent with Open AI and we can't save the error without connection

Verified by auto-tests


Add 'left' and 'right' functions to PostgresModule

Add support for functions left and right described in the PostgreSQL docs.

Add function to PostgresFunctionDef in PostgresModule
Add test in FunctionDefSpec

I would like to tackle this 🙂


simulator: Correctly handle arrival at destination

The world process will now correctly report:
World Status: {'status': 'terminating', 'reason': 'done', 'done_info': {'crash_vehicle': False, 'crash_object': False, 'crash_building': False, 'crash_human': False, 'crash_sidewalk': False, 'out_of_road': False, 'arrive_dest': True, 'max_step': False, 'env_seed': 0, 'crash': False}}

can we have it loop forever?

can we still have it loop forever in the default run_bridge mode?

In theory yes, but what if the car barely moves or doesn't move at all in the simulation? A test simply checking if the simulation was running for X minutes will pass in such a case. By checking if the care arrived at dest, we can tell whether it actually drove in the simulator.

run_bridge is used for development, so we want it to loop forever in that case. For test cases we can have different behaviour

I will change it to ignore that in the run bridge loop

@jnewb1 Changed. Please review again.


Check the table route type before calling physical_table_route

What type of enhancement is this?
Tech debt reduction
What does the enhancement do?
https://github.com/GreptimeTeam/greptimedb/blob/feec4e289d95977f9e194fd680f7f10f52291dce/src/common/meta/src/key/table_route.rs#L65-L103
We should add panic notes before methods that the inside invoke the physical_table_route. And add a check before we invoke these methods(e.g., matches!(table, TableRouteValue::pshyical(_))).
Implementation challenges
No response

Hello, I would like to try this task, but I am not very familiar with  Rust and Greptime, so it might take me a bit more time. Would that be acceptable to you?

Great, feel free to reach out if you have anything want to discuss

I made an attempt, could you please check it for me?
I have a question: since the physical_table_route() function already includes the unreachable! macro, why is there a need to add a check in the functions that call it at a higher level? Is it to detect errors earlier?
https://github.com/GreptimeTeam/greptimedb/pull/3023

why is there a need to add a check in the functions that call it at a higher level?

It should throw an error instead of panic.


Test stdint in libc_all.pyx as it has been in MSVC since 2010

Doesn't this break on Python 2.7 (which we still support)? At least https://wiki.python.org/moin/WindowsCompilers#Microsoft_Visual_C.2B-.2B-_9.0_standalone:_Visual_C.2B-.2B-Compiler_for_Python_2.7.28x86.2C_x64.29 implies that this uses the version from before 2010.

Haven't tested, it may cause problems. We can wait until cython 3.1 for this to be merged... I guess

Although, we have this test, if it was successfully run in Python 2.7 on Windows, then i'd say we're good.

Haven't tested, it may cause problems. We can wait until cython 3.1 for this to be merged... I guess

It does look to have failed on Python 2.7 on Windows so I think it'd be better to wait.

Although, we have this test, if it was successfully run in Python 2.7 on Windows, then i'd say we're good.

The cpp11 tests are guarded by compiler version checks in runtests.py. I don't think any of those currently run on MSVC at all. Although maybe that should change.


TryRead for querying optional components

If this implementation strategy looks good, I'll follow up with a similar MaybeWrite.

@AThilenius would this meet your needs for the problems we ran into in legion_transform and reduce a lot of that query boilerplate?

Yep, I could replace the dozen separate queries with this. It could still pick up invalid combinations like Scale + NonUniformScale, but throwing a runtime error ther is totally acceptable. Can this be done efficiently though? I'm on my phone so don't want to dig through code.

Can this be done efficiently though? I'm on my phone so don't want to dig through code.

A query containing TryRead should cost about the same to execute as the same query with that field removed.

It's significantly more efficient than calling get_component inside a query.

The solution currently in legion_transform is about 12 different queries for all variations, all iterating in parallel. I wonder if that is actually faster than this case still.

I expect performance would be similar (assuming you use par_for_each or equivalent), but the code would be vastly simplified.

Added TryWrite along the same lines.


Improve Resource

This PR makes some improvements to the Resource class. It implements merge according to the specification and also adds tests and documentation. While working on this, I discovered that the original merge implementation wasn't working. This was because initialize expects labels as kwargs, but merge was passing them in as a Hash<String, String>. Since the labels are stored as a Hash<String, String> in resource, I updated initialize to expect a hash instead. See the comment and code in this commit for more context.

Fixes #26.
Fixes #25.


"More tutorials" changes

Change to "Tutorials"
Highlight the current selected tutorial and make it non-clickable

Glad to help with such amazing tutorials!
My contacts
Telegram: https://t.me/sun_rhythms


Check HPACK Huffman code strictly

This fixes issues checked with these h2spec tests below.
5.2. String Literal Representation
1: Sends a Huffman-encoded string literal representation with padding longer than 7 bits
2: Sends a Huffman-encoded string literal representation padded by zero

@zwoop This is nice to have because it's not a bug fix. Marked as a 7.1 candidate but there's no necessity.

[approve ci autest]

I've put this on Docs / CI for testing.

Should we land this?

@maskit This does not cherry-pick cleanly to 7.1.x branch, can either of you make a PR against 7.1.x please?

@zwoop Made it (#2200). Actually it was able to cherry-pick cleanly. It just has two commits.


Refactor Ehcache entity usage to create multiple entities

The goal is to better fit with the platform abstractions.
We would have:

ClusteredTierManagerEntity for top level configuration and some book keeping
ClusteredStoreEntity for each clustered tier

Unblocked as #1710 has been merged in

Functional changes are in.
Still to do:

EhcacheStateSyncMessage is not relevant anymore. Can be removed and EhcacheSyncMessageCodec should be cleaned up as well.
DefaultConcurrencyStrategy can be simplified as the concurrency key offsetting is not required anymore.
... and some general unused code cleanup.


Add projectPath arg to license activation command

Changes

Add projectPath argument to license activation command to avoid Unity errors package resolution.
Fixes game-ci/unity-actions#97

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

Note that the activation step should not be the step that initialises all the dependencies.
This is why project path is not set for that step.

Note that the activation step should not be the step that initialises all the dependencies.
This is why project path is not set for that step.

Then, how should I initialise the dependencies?

Do you have a different project in the root of your repository?

In the root of my repo I have 2 directories:

Packages: containing several Unity packages source code
CoreService.Client.Services.Unity: contains the Unity project that references the previous packages

Please also note that master is not the main branch (main is our main branch). I may have forgotten to delete master.

Ok, I will close this PR then.
I opened from master because the contribution guide indicated it.

I opened from master because the contribution guide indicated it.

Yea my bad, I will update it.

Then, how should I initialise the dependencies?

Somehow it's detecting the root of your repository as a unity project, which is trying to resolve those dependencies, when the activation step is being run (without projectPath).
I think we should either

set project path to something non-existent for the activate and return-license steps, or
make sure it doesn't detect the root as a project.

The reason for not loading dependencies inside the activation step is that it's not a good separation of concern and it will give logs that are out of context.


Use the existing tutorial on ts-changepoint to align the notebook

Is your feature request related to a problem? Please describe.
There is a tutorial on time series that we will consider as a reliable source to improve the second part of our notebook with the changepoint
Here is the tutorial : https://mapie.readthedocs.io/en/latest/examples_regression/4-tutorials/plot_ts-tutorial.html

I'm working on this issue just after solving issue #475


bug: obisdiain.nvim failed to start after update lazy.nvim to 9.8.1

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.8.3
Operating system/version
fedora 37
Describe the bug
After update lazy.nvim to 9.8.1, the obisdian.nvim plugin failed to load.
Steps To Reproduce

install obisdian.nvim plugin
update lazy.nvim to 9.8.1
run :ObsidianQuickSwitch

Expected Behavior
Should run normally.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
	vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
	"folke/tokyonight.nvim",
	-- add any other plugins here
	"epwalsh/obsidian.nvim",
}
require("lazy").setup(plugins, {
	root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here
vim.cmd([[ObisdianQuickSwitch]])

Exactly, don't just post an issue here. Lazy is just a plugin manager. You need to do your own debugging if a plugin doesn't work.

I seem to have some issue with obsidian, rolling back to v9.8.0 it works fine, forward to v9.8.1 it breaks and same on head.
Last working commit is 6351a2e, updating to 17a3c3a it breaks.
Not sure if this helps at all. I'm using v0.9.0-dev-969+gec782211f
Failed to run `config` for obsidian.nvim

...ocal/share/nvim/lazy/obsidian.nvim/lua/obsidian/yaml.lua:1: module '../deps/lua_yaml/yaml' not found:
^Ino field package.preload['../deps/lua_yaml/yaml']module ../deps/lua_yaml/yaml not foundmodule ../deps/lua_yaml/yaml not found
^Ino file './///deps/lua_yaml/yaml.lua'
^Ino file '/home/user/git/neovim/.deps/usr/share/luajit-2.1.0-beta3////deps/lua_yaml/yaml.lua'
^Ino file '/usr/local/share/lua/5.1////deps/lua_yaml/yaml.lua'
^Ino file '/usr/local/share/lua/5.1////deps/lua_yaml/yaml/init.lua'
^Ino file '/home/user/git/neovim/.deps/usr/share/lua/5.1////deps/lua_yaml/yaml.lua'
^Ino file '/home/user/git/neovim/.deps/usr/share/lua/5.1////deps/lua_yaml/yaml/init.lua'
^Ino file './///deps/lua_yaml/yaml.so'
^Ino file '/usr/local/lib/lua/5.1////deps/lua_yaml/yaml.so'
^Ino file '/home/user/git/neovim/.deps/usr/lib/lua/5.1////deps/lua_yaml/yaml.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
^Ino file './.so'
^Ino file '/usr/local/lib/lua/5.1/.so'
^Ino file '/home/user/git/neovim/.deps/usr/lib/lua/5.1/.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'

# stacktrace:
  - /obsidian.nvim/lua/obsidian/yaml.lua:1
  - /obsidian.nvim/lua/obsidian/note.lua:2
  - /obsidian.nvim/lua/obsidian/init.lua:10
  - ~/.config/nvim/lua/plugins/_obsidian.lua:1
  - ~/.config/nvim/lua/core/_plugins.lua:305 _in_ **config**
  - ~/.config/nvim/lua/core/_lazy.lua:3
  - ~/.config/nvim/lua/core/init.lua:46
  - ~/git/user/admin/configs/dotfiles/nvim/init.lua:1
Failed to source `/home/user/.local/share/nvim/lazy/obsidian.nvim/after/plugin/cmp_obsidian.lua`

...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:433: /home/user/git/user/admin/configs/dotfiles/nvim/init.lua..nvim_exec() called at /home/user/git/user/admin/configs/dotfiles/nvim/init.lua:0../home/user/.local/share/nvim/lazy/obsidian.nvim/after/plugin/cmp_obsidian.lua: Vim(source):E5113: Error while calling lua chunk: ...local/share/nvim/lazy/obsidian.nvim/lua/cmp_obsidian.lua:2: loop or previous error loading module 'obsidian'
stack traceback:
^I[C]: in function 'require'
^I...local/share/nvim/lazy/obsidian.nvim/lua/cmp_obsidian.lua:2: in main chunk
^I[C]: in function 'require'
^I...re/nvim/lazy/obsidian.nvim/after/plugin/cmp_obsidian.lua:1: in main chunk
^I[C]: in function 'cmd'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:433: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:432>
^I[C]: in function 'xpcall'
^I.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:110: in function 'try'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:432: in function 'source'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:391: in function 'source_runtime'

I think I know what caused this. I just fixed a bug related to loading lua libs. Can you see if the latest lazy version fixes this?

Using 4a0857c currently and still have the issue :/

Found the issue. Will fix

So there's actually a bug in obsidian: https://github.com/epwalsh/obsidian.nvim/blob/3d459708c77f9ce7ae7165dda07812e685f30d61/lua/obsidian/yaml.lua#L1
Relative paths as module names are not valid. However, before my latest changes this would have worked.
I'll add a hack to lazy for now, but that bug should defintely be fixed in obsidian

Just pushed an update with a hack to work-around that. Basically how it was before, but again, that obsidian code is just very wrong.

I don't get this quality of service from paid products! Confirmed that fixes it! I'll go raise a bug over in the obsidian module. Thank you @folke

I just submitted an issue there. That require makes no sense :)

Thanks a bunch, @folke . I ran into this yesterday and then it magically started working again after doing an update. I had no idea you glued a hack into place; if you didn't make that issue, I'm not sure how long it would have taken for any of us to notice! 😆


hotkey(Command+r)  invalid when Embedded Binaries add RCTAuroraIMUI.framework

My environment:

react-native version: 0.54
aurora-imui-react-native version: 0.9.9

React-native has hotkey Command+r can refresh the iOS simulator.
But when i use "react-native link" and add RCTAuroraIMUI.framework to Embedded Binaries,
Command+r will invalid.
I try minus RCTAuroraIMUI.framework in Embedded Binaries,Command+r can back to normal.
I try aurora-imui-react-native version 0.71 still have the same problem.
Same problem:
https://github.com/jpush/aurora-imui/issues/209
https://github.com/jpush/aurora-imui/issues/172
But it look like is not solved.

这边 Command + r 可以正常 reload 应用， 你那边编译选项是否选择了 release ？

no, it is debug.
I try minus RCTAuroraIMUI.framework in Embedded Binaries,Command+r can back to normal.
you can try to use react-native 0.54 init new project. you may have same problem.

新建  0.54.2 项目没有问题

I just retested.
Aurora-imui-react-native is already fixed this issue with 0.9.20.
The problem I encountered before was to use Aurora-imui-react-native with 0.9.9.
Thx.


Added listring/clickshift

est31 fixed a bug in the engine that allows listring/shift click to work properly now. This will only work right in the lasted github version. It was fixed a few hours ago.

thanks!


Runtime should make more noise about placement failures

In what area(s)?
/area runtime
What version of Dapr?
1.0
Expected Behavior
Dapr should log more info at the warning or info level when placement is unavailable and requests to actors are failing.
I noticed this while working on some integration test for Actors on my dev box. I didn't have placement running, but the runtime keeps that info on the downlow.
It would be great if the runtime could log more info in the form of a warning when actor requests are coming in, but the runtime has never been able to contact the placement service. There's a high likelihood in this specific case that it's a misconfigured dev environment - either by shutting down the docker daemon or stopping the placement service.
Actual Behavior
The runtime actually logs some info at the info level that would have you believe everything is OK:
time="2021-03-05T23:07:12.876021-08:00" level=info msg="application configuration loaded" app_id=testapp-34d54d3b-eef8-4030-9754-3a1d14d534ba instance=ryan-mbp.lan scope=dapr.runtime type=log ver=1.0.0
time="2021-03-05T23:07:12.876221-08:00" level=info msg="actor runtime started. actor idle timeout: 1h0m0s. actor scan interval: 30s" app_id=testapp-34d54d3b-eef8-4030-9754-3a1d14d534ba instance=ryan-mbp.lan scope=dapr.runtime.actor type=log ver=1.0.0
time="2021-03-05T23:07:12.88548-08:00" level=info msg="dapr initialized. Status: Running. Init Elapsed 917.534ms" app_id=testapp-34d54d3b-eef8-4030-9754-3a1d14d534ba instance=ryan-mbp.lan scope=dapr.runtime type=log ver=1.0.0
ℹ  Updating metadata for app command: dotnet run --project ./../../../../../test/Dapr.E2E.Test.App/Dapr.E2E.Test.App.csproj --framework netcoreapp3.1 --no-build --no-restore --urls http://localhost:54653
✅  You're up and running! Both Dapr and your app logs will appear here.

When you turn the logs up to debug you can see the actual failure:
time="2021-03-06T16:16:22.354309-08:00" level=debug msg="try to connect to placement service: dns:///localhost:50005" app_id=testapp instance=ryan-mbp.lan scope=dapr.runtime.actor.internal.placement type=log ver=1.0.0
time="2021-03-06T16:16:22.391725-08:00" level=debug msg="error connecting to placement service: rpc error: code = Unavailable desc = last connection error: connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:50005: connect: connection refused\"" app_id=testapp instance=ryan-mbp.lan scope=dapr.runtime.actor.internal.placement type=log ver=1.0.0

Steps to Reproduce the Problem
Shut down the placement service
Try to use actors
Look at the logs
Release Note
RELEASE NOTE: ADD diagnostic logging for the case where placement service is not reachable

/assign


Airtribune comps duplicated in recent queries

There is a link for
https://airtribune.com/copa-niviuk-2025-ii-edicion/info
and for
https://airtribune.com/copa-niviuk-2025-ii-edicion/pilots

Interesting, thanks, I will have a look!

Fixed, thank you for reporting!


新增小程序订阅消息发送接口

微信小程序的模版消息即将下线，取而代之的是订阅消息，故新增小程序订阅消息发送接口。
该接口在我们公司自己的项目上使用一段时间了，可以满足当前的需求。

Codecov Report

Merging #495 into master will decrease coverage by 0.04%.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##           master    #495      +/-   ##
=========================================
- Coverage   72.44%   72.4%   -0.05%
=========================================
  Files          77      77
  Lines        2892    2895       +3
=========================================
+ Hits         2095    2096       +1
- Misses        797     799       +2

Impacted Files
Coverage Δ

wechatpy/client/api/wxa.py
54.09% <33.33%> (-1.08%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks!


Team galleries

After merging #413, consider adding team galleries.

Do we also need groups for the steering council and the release (or another name for people with secrets credentials, PyPi, etc.)?

Probably not - steering council overlaps largely with maintainers so a list of names in the governance docs will do. And release manager is named there too; usually one person rather than a team.

Do we also need groups for the steering council and the release (or another name for people with secrets credentials, PyPi, etc.)?

Probably not - steering council overlaps largely with maintainers so a list of names in the governance docs will do. And release manager is named there too; usually one person rather than a team.

👌 ok so we don't do a section for these 2 roles. Then let me know if you do some changes to the GH groups and I can run the scripts (and do a PR). I can also start with the single current maintainer list and I manually do the web one.

I don't have much time this week (CZI workshop is happening), so maybe just go ahead with a PR so we see how it look and can review/tweak?

@tupui It may make sense to hold off on the script and stuff.  @stefanv and I are in the process of working on the team gallery stuff for the theme:  https://github.com/scientific-python/scientific-python-hugo-theme/pull/49
Take a look at https://github.com/scientific-python/scientific-python-hugo-theme/blob/main/tools/team_query.py.  We are trying to get a few other things fixed for the theme first, but we should have time to make a team gallery PR here next week.  If you have time, it would be great if you could help us with the general theme work.
We want to make one common solution, rather than having each project have to sort it out themselves.  Of course, I don't want to slow things down, though. ;)

@tupui It may make sense to hold off on the script and stuff. @stefanv and I are in the process of working on the team gallery stuff for the theme: scientific-python/scientific-python-hugo-theme#49
Take a look at https://github.com/scientific-python/scientific-python-hugo-theme/blob/main/tools/team_query.py. We are trying to get a few other things fixed for the theme first, but we should have time to make a team gallery PR here next week.

@jarrodmillman I just pushed a PR which uses this script.

If you have time, it would be great if you could help us with the general theme work.

I would be happy to help 😃 Just ping/email/call me.

We want to make one common solution, rather than having each project have to sort it out themselves. Of course, I don't want to slow things down, though. ;)

Totally agree! There is no rush on my side, I thought the script was ready to use 😅

I have renamed "Scipy core team" to "Maintainers", and also added an "Emeritus maintainers" team, currently containing 16 people who are no longer active. Before I remove anyone from the Maintainers team (causing them to lose a bunch of permissions) I'll ping those people and also discuss with the active maintainers what the permissions for Emeritus maintainers should look like.
Also, I made both teams visible, so anyone who is a member of the SciPy org is now able to see all members of each team and at-mention the team.

I have renamed "Scipy core team" to "Maintainers", and also added an "Emeritus maintainers" team, currently containing 16 people who are no longer active. Before I remove anyone from the Maintainers team (causing them to lose a bunch of permissions) I'll ping those people and also discuss with the active maintainers what the permissions for Emeritus maintainers should look like.
Also, I made both teams visible, so anyone who is a member of the SciPy org is now able to see all members of each team and at-mention the team.

All sounds great to me. Thanks Ralf! I will update the PR after Christmas when I am back. This will let some time for people to reply to your emails.


Chart continues expand vertical when using filter_datetime

At first, Thank you for making wonderful tool.
I find a bug when I use filter datetime.
It looks inifinite loop happens in reports_kit.
You can see same phenomenon at this page below:
https://www.reportskit.co/examples/filter_datetime
This is my environment:
ruby 2.3.3-p222
Rails 5.1.4
bootstrap-sass 3.3.7
reports_kit latest
Thanks,
Hiro

Yes, I also noticed it but forgot to inform it.

Thank you for information. On the other hand, this chart hasn't problem:
https://www.reportskit.co/categories/interaction
Do you think that it is cause of using f.date_range or not?


BUG: Can't use margin css-style in bar-card-iconbar when position is inside since version 3.1.0

Since bar-card version 3.1.0 it is no longer possible to use "bar-card-iconbar" margin css-style when icon postitions inside is set.
Before version 3.1.0 i used the code below to get my icons in the middle of the bar.
bar-card-iconbar {
    color: white;
    margin-top: 80px;
}

And now they stay on top.

This is an issue with the margin being hard coded for the iconbar. I'll fix this in the next release.
However if you want to center both the value and the icon I'd recommend doing something like this instead:
style: |-
  .value-direction-up {
    margin-top:  4px;
  }
  .contentbar-direction-up {
    justify-content: center;
  }

Thank you @Gluwc!
You're solution works for me.


TDVT: How to add a SET statement before SELECT in every test

About You:
Name: Richard G
Your question:
I have a need to execute a 'SET var=value; ' statement before every SELECT being executed by the TDVT tests. I've modified my dialect to add the SET statement in the 'Select' part of format-select:
    <format-select>
      <part name='Select' value='SET var=value; SELECT %1' />

While this works for most tests, many of the calcs expression tests fail with 'For input string: "null"' or 'Unable to fetch date'. Executing the query (with the SET prepended) in my database query console works successfully.
Is format-select the correct place to add the SET statement? Is this functionality supported by TDVT?

This doesn't sound like a scenario that is supported today. The expectation is that format-select is a single query statement.
Tableau does have the concept of Initial SQL that allows for SQL statements to be run during initial connection. These get persisted in the .tds file used by TDVT. This however doesn't seem to match the per-statement requirement above.

Not the answer I was hoping for, but thanks for the quick reply.


add Ubuntu 22.04 (Jammy) to nightly Foreman

needs https://github.com/theforeman/forklift/pull/1779


[question] How can I select and check row's checkbox on click?

My question is pretty simple. I want to check/select row on click. How can I do that without overthinking the whole thing? Thank you for any advice.

Solved using option : rowsSelected as it is simple array of selected options and onRowClick method.

its not so simple as soon I click to any sorting - indexes are messed up. How can I implemented this feature as easy as possible please?

onRowClick will fire whenever you select a row, and it contains the rowMeta argument with dataIndex and rowIndex values. The rowIndex is the current row as it is currently ordered, so it will change if you've sorted the row. dataIndex is the initial ordering of the rows, so it will be constant despite sorting.
You can use the dataIndex value to determine the initial index of the selected row.

I did it as you said, works perfectly. It took me a little while to figure it out. Thank you for the exact answer. Hopefully, it will serve others. I think that this could be added as an option as well.

I'm glad that helped! I had a similar issue at one point and it also took me a little bit to figure out. I think the docs could be improved by explaining what rowIndex and dataIndex are, as those explanations are not currently in the README.


[Buyer Dashboard] Routes and queries to return brief data

[Buyer Dashboard] Order briefs by closed date
[Buyer Dashboard] Added closed_at to docstring
[Buyer Dashboard] Added fixture to create mix of briefs
[Buyer Dashboard] Added tests for response, ordering and item keys
Addresses #MAR-1507

Please don't merge this branch until FE completed


Timer shows NaN

The hacking begins timer shows NaN on firefox but works fine on chrome.

Same issue with Safari as well


build: plugin 6.3.1, gradle 8.0.2, micronaut-validation module

@wetted if you use standardized project names, then only projects which name starts with test-suite- are not renamed. I'm not sure what those examples are, but I could add another exception to the rule (you are not forced to move to standardized project names now).
Regarding the validation failure, since validation has moved out of core, we are in a strange situation where the old Gradle plugin cannot be used anymore in test modules : you have to use 4.0.0-SNAPSHOT. However, I had to publish a SNAPSHOT version from a branch yesterday, because the version which supports the validation changes is still not merged because of other failures in data. Headache...

OK, thanks @melix. It sounds like I have to wait for the gradle plugin 4.0.0-SNAPSHOT to publish successfully. I have useStandardizedProjectNames=true following @sdelamo's example for the security module. I'll check back later. I have plenty of other modules to migrate too.

we could just rewrite docs-examples to test-suite and get around the issue.

@sdelamo This is ready now. @melix changed the build plugin to support it, and I updated the example gradle plugin to 4.0.0-SNAPSHOT, so now it pulls in the right validation dependencies.
I did not refactor the name of the example project to docs-examples:test-suite but can if you rather have it that way. However, it doesn't have any tests. It is just an example.


All the default notebooks should be resaved with the language set to Julia

The example notebooks open with the wrong syntax highlighting.

Closed via #213


Feature/update to polkadot v0 9 0

@AndreiNavoichyk
Checked primitives, frame, utils, clien.
Found diffs:

use sp_std::{prelude::*, rc::Rc, vec}; vs use sp_std::{prelude::*, rc::Rc}; in primitives/npos-elections/src/phragmms.rs
Config vs Trait in frame/support/test/tests/pallet_with_name_trait_is_valid.rs
sc-tracing = { version = "3.0.0", path = "../tracing" } vs empty line in client/executor/Cargo.toml
test-case = "2.2.1" vs empty line in client/executor/Cargo.toml

@MRamanenkau At what version did these changes appear? Let's fix them there.

The diff is not significant. At the same time it might be time consuming to rebuild the artifacts and the tests (also, it would be nice to run our blockchain tests against new artifacts). I propose to fix them in the next version.

@MRamanenkau At what version did these changes appear? Let's fix them there.

The diff is not significant. At the same time it might be time consuming to rebuild the artifacts and the tests (also, it would be nice to run our blockchain tests against new artifacts). I propose to fix them in the next version.

Agree. Let's fix in 0.9.3


✨ Add support for the custom mode

Add custom mode

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #123
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squash commits
[ ] include documentation
[ ] add unit tests

Done


MultiQC format needs improvement

Description of the bug

If there are two FastQC sections displaying the read stats before/after preprocessing, then why are there six samples in each FastQC diagram? I'm expecting 3 samples, as the nanopore data is not analyzed by FastQC.

The general statistics table has too many missing values making it hard to understand. Likely need to split it into multiple tables

Command used and terminal output
No response
Relevant files
No response
System information
No response

If there are two FastQC sections displaying the read stats before/after preprocessing, then why are there six samples in each FastQC diagram? I'm expecting 3 samples, as the nanopore data is not analyzed by FastQC.

Just realized the reason is because those correspond to forward and reverse reads..


xScale in different timezone

Hi, is there any way to render xAxis with a scale in a different timezone?
I can convert the labels with tickFormat, but I'd like to still only render "round" times (like 00:00, 12:00) regardless of the timezone.

Feels like a d3 scale question

but I'd like to still only render "round" times (like 00:00, 12:00) regardless of the timezone.

the ticks are provided by d3 scale, so you probably want to send the tickValues attribute with the desired ticks you want to show


UmbNav is not showing on the front end

Which exact Umbraco version are you using? For example: 8.7.0 - don't just write v8 or v9
8.16.0
Bug summary
After we update the cms to latest stable version 8.16.0. Umbnav is not taking on the front end .its shows blank
Specifics
No response
Steps to reproduce
install or update the umbraco version
Expected result / actual result
No response

any solutions?

@ziyadsv I've not had chance to look yet.
Anything in the error logs relating to UmbNav?

@ziyadsv I think I've found the issue, I'm just working on the fix now =]

still have some issues. I created a new project and tried to install from the umbraco package its showing me the following error


Add description of Priority implementation in Developers Guide

Codecov Report

Merging #158 (5cb2b3e) into master (fb7fa4e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #158   +/-   ##
=========================================
  Coverage     56.25%   56.25%
  Complexity      334      334
=========================================
  Files            75       75
  Lines          1319     1319
  Branches        133      133
=========================================
  Hits            742      742
  Misses          504      504
  Partials         73       73

Continue to review full report at Codecov.

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


Parallelize query execution

Currently, arcticDB's query execution is not parallelized, but we want to do that. There are well-known techniques such as vulcano to generalize the parallelization of steps within a query. I think vulcano is a promising direction for arcticDB but I'd be happy for us to explore other possibilities as well.

Hey @brancz I agree volcano seems like a good fit.
To add parallelization to articdb, I think we could add an implementation of the exchange operator described in the paper. We could have optimizers in the logicalplan to inject exchange operators in the appropriate places in the query tree.
I took a stab at implementing this. https://github.com/polarsignals/arcticdb/pull/90
The ExchangeOperator in this cases uses channels instead of IPC. The chan length is used to provide the backpressure that (whereas int he paper they describe using semaphores), and it spawns a number goroutines that are listening to provide the horizontal parallelism (instead of using multiple queues as the paper describes).
Does that sound like it's the right approach? Is it too simplistic?
Of course this code in the PR is still WIP, but it gives us something to iterate on at least. Looking forward to your feedback!

Compared to the Volcano's 1-tuple-a-time Iterator model, vectorwise batching iterator model used by MonetDB seems better for columnar storage https://www.cidrdb.org/cidr2005/papers/P19.pdf. This is used by TiDB and CRDB as well.
But since we are using Arrow underlying already maybe Volcano is good enough.

I wasn't aware of this paper, thanks for sharing @yeya24! I've only cross-read the paper, but from what I can tell what @albertlockett proposed so far is actually in line with what's described in this paper, as it handles full arrow.Record frames, as opposed to 1-tuple-a-time like you, said.
About what Albert wrote:

Does that sound like it's the right approach? Is it too simplistic?

I think what you proposed is very elegant and should work quite well. Only practice will truly tell, but I think the direction looks promising!

Thanks @brancz, I'll move forward with this. I'll get the code cleaned up, add tests & error handling and do some profiling to verify if this approach improves performance and what level of parallelism makes sense.

@brancz @metalmatze we've managed to get a good performance boost from this parallelism. I wrote a simple benchmark program (see below) and found out that this is about 50% faster with the new code path.
I found that the code in table iterator that was a bit of a bottleneck, so by fixing that we're able to take advantage of parallelism in the execution of the physical plan.
https://github.com/polarsignals/arcticdb/pull/90/files#diff-134c48f173480a9772719053c1b3e967756a71c75f84ed4f94f12c71cd91ed30R319
I also tested varying the level of parallelism. As would be expected, adding more horizontal parallelism gets us improved query performance to a point. I found performance improvements seemed to taper off when I got to a number of workers that was approximately the number of CPU cores on my PC - 1.
The raw data and the detailed analysis results can be found here:
https://docs.google.com/spreadsheets/d/1782MYsiM3rHqb3VK77EJ9VpLxM3ET-WcxROIFQ686Vs/edit#gid=0
These numbers are from running this test on my macbook, which as 12 cpu cores.
Anyway, how does this all sound to y'all? Does that sound like a good performance improvement? Would we expect more improvment from this technique?
This code is still WIP (I need to fix/write some unit tests)
Here's the benchmarking program I used:
package main

import (
	"context"
	"fmt"
	"log"
	"os"
	"runtime"
	"runtime/pprof"
	"time"

	"github.com/apache/arrow/go/v8/arrow"

	"github.com/apache/arrow/go/v8/arrow/memory"
	log2 "github.com/go-kit/log"
	"github.com/go-kit/log/level"
	"github.com/segmentio/parquet-go"

	"github.com/polarsignals/arcticdb"
	"github.com/polarsignals/arcticdb/dynparquet"
	"github.com/polarsignals/arcticdb/query"
	"github.com/polarsignals/arcticdb/query/logicalplan"
)

func main() {
	var err error
	columnstore := arcticdb.New(nil, 10, 512*1024*1024).WithIndexDegree(3)
	db, err := columnstore.DB("test_db")
	if err != nil {
		panic(err)
	}

	logger := log2.NewLogfmtLogger(log2.NewSyncWriter(os.Stderr))
	logger = level.NewFilter(logger, level.AllowDebug())

	schema := dynparquet.NewSchema("test_schema",
		[]dynparquet.ColumnDefinition{
			{
				Name:          "Column1",
				StorageLayout: parquet.Encoded(parquet.String(), &parquet.RLEDictionary),
				Dynamic:       false,
			},
			{
				Name:          "Column2",
				StorageLayout: parquet.Int(64),
				Dynamic:       false,
			},
		},
		[]dynparquet.SortingColumn{
			dynparquet.Ascending("Column1"),
		})
	tableConfig := arcticdb.NewTableConfig(schema)

	table, err := db.Table("test_table", tableConfig, logger)
	if err != nil {
		panic(err)
	}

	buffer, err := schema.NewBuffer(map[string][]string{})

	log.Printf("num cores = %d\n", runtime.NumCPU())

	log.Println("begin writing table")
	for i := 0; i < 250_000; i++ {
		row := make([]parquet.Value, 0)
		message := fmt.Sprintf("hello%d", i)
		row = append(row, parquet.ValueOf(message).Level(0, 0, 0))
		row = append(row, parquet.ValueOf(10).Level(0, 0, 1))
		_, err = buffer.WriteRows([]parquet.Row{row})
		if err != nil {
			panic(err)
		}

		if i > 0 && i%1000 == 0 {
			_, err = table.InsertBuffer(context.Background(), buffer)
			if err != nil {
				panic(err)
			}
			buffer, err = schema.NewBuffer(map[string][]string{})
			if err != nil {
				panic(err)
			}
		}
	}

	_, err = table.InsertBuffer(context.Background(), buffer)
	if err != nil {
		panic(err)
	}
	table.Sync()

	log.Println("done writing table")
	queryEngine := query.NewEngine(memory.DefaultAllocator, db.TableProvider())
	f, perr := os.Create("cpu.pprof")
	if perr != nil {
		log.Fatal(perr)
	}
	err = pprof.StartCPUProfile(f)
	if err != nil {
		panic(err)
	}

	for j := 0; j < 1; j++ {
		for i := 1; i < 2; i++ {
			os.Setenv("parallelism", fmt.Sprintf("%d", i)) // this is what I was using to vary the parallelism
			query := queryEngine.ScanTable("test_table").
				Filter(
					&logicalplan.BinaryExpr{
						Left:  logicalplan.Col("Column1"),
						Op:    logicalplan.RegExpOp,
						Right: logicalplan.Literal("hello.*"),
					},
				)
			start := time.Now().UnixMicro()
			err = query.Execute(context.Background(), func(ar arrow.Record) error {
				log.Printf("%v", ar)
				return nil
			})
			end := time.Now().UnixMicro()
			log.Printf("parallel = %d | trial = %d | time = %d us\n", i, j, end-start)
		}
	}
	pprof.StopCPUProfile()

	if err != nil {
		msg := err.Error()
		log.Printf("%s", msg)
		log.Printf("%v", err)
	}
}

here is a document with some more of my notes
https://docs.google.com/document/d/1-9jX8XafLP3m5hLShSRh1hoMAEKrQTzqS0og2JCOlXg/edit#heading=h.vf1o5lbbldn6

That all sounds great and makes sense with the NumCPUs. I would have also been fine with just leaving it at that number and not subtracting 1, but since you've already figured out we can keep NumCPUs - 1.
There's one comment on that PR about errgroups and another nitpick. Any reason this is still a draft? Let's discuss the details over there.
Overall it sounds like the way forward!

https://github.com/polarsignals/frostdb/pull/202


Checks the compute capapbility of GPUs before loading the models

The minimum supported compute capability of GPU for TRTIS can now be specified as a cmake setting while building it. By default, it is set to 6.0. Next, only the GPUs having required compute capability will be loaded with the model.

Is there some compelling reason to use sm 6 as the minimum?
AWS g3s instances have M60 GPUs (Maxwell architecture, sm 5) and are the most cost-effective option for inference on my workloads.  With this change it sounds like TRTIS won't work on those anymore.
AWS g4 instances with T4 cards, despite having been announced at GTC back in March, still haven't been released by AWS.  These would be the ideal replacement for the geriatric g3 series.
AWS p2 instances have K80s (Kepler architecture, sm 3).
AWS p3 instances have V100s (Volta, sm 7) and will be the only instances to still work with TRTIS if the minimum sm becomes 6.  Cost/perf for these is sadly garbage for my use case.
Or perhaps I'm misunderstanding what this PR is changing... also quite possible!

Is there some compelling reason to use sm 6 as the minimum?
AWS g3s instances have M60 GPUs (Maxwell architecture, sm 5) and are the most cost-effective option for inference on my workloads. With this change it sounds like TRTIS won't work on those anymore.
AWS g4 instances with T4 cards, despite having been announced at GTC back in March, still haven't been released by AWS. These would be the ideal replacement for the geriatric g3 series.
AWS p2 instances have K80s (Kepler architecture, sm 3).
AWS p3 instances have V100s (Volta, sm 7) and will be the only instances to still work with TRTIS if the minimum sm becomes 6. Cost/perf for these is sadly garbage for my use case.
Or perhaps I'm misunderstanding what this PR is changing... also quite possible!

@nieksand Not sure if you saw this in the review comment:
The default value is 6.0 because that is what TRTIS officially supports. If someone wants to build the framework backends with support for earlier CCs that can do that and then set TRTIS_MIN_COMPUTE_CAPABILITY appropriately so that TRTIS allows those GPUs to be used.

Thanks for the heads up.  I'm hoping AWS gets the g4 series out before I need a newer version of TRTIS.


CAPRKE2 patch release

Create a new patch release that includes recent ETCD fixes

Released 2 new patch versions:

https://github.com/rancher/cluster-api-provider-rke2/releases/tag/v0.7.1
https://github.com/rancher/cluster-api-provider-rke2/releases/tag/v0.2.8

Issue should be closed.

https://github.com/rancher/cluster-api-provider-rke2/releases/tag/v0.7.1 was released to address this, closing it.


Fix some class names

Rules
We need to be consistent between the Runtime and the Generator.
We have to be as explicit as we can.
We have to avoid single classes in a folder (src/Propel/Generator/Reverse/ for instance).
We can avoid Propel in classnames as the namespace contains Propel (except for the singleton).
Generator
src/Propel/Generator/Platform

PropelPlatformInterface => PlatformInterface

src/Propel/Generator/Model

IDMethod => IdMethod
XMLElement=>XmlElement`

src/Propel/Generator/Model/Diff
Remove Propel in classnames.
src/Propel/Generator/Reverse
Move single classes in src/Propel/Generator/Reverse.

BaseSchemaParser => AbstractSchemaParser
SchemaParser => SchemaParserInterface

src/Propel/Generator/Util

PropelPHPParser => PhpParser
PropelSQLParser => SqlParser

Remove Propel in classnames.
Runtime
src/Propel/Runtime/Adapter

DBAdapter => AbstractAdapter
DBMySQL => MysqlAdapter (to be consistent with Platforms)
…

### src/Propel/Runtime/Collection / src/Propel/Runtime/Config
Remove Propel in classnames.
src/Propel/Runtime/Formatter

PropelFormatter => AbstractFormatter

src/Propel/Runtime/Parser

PropelParser => AbstractParser
PropelCSVParser => PropelCsvParser
…

Are you ok ?

I really prefer a complete name like "DatabaseAdapter" instead of (DB|Db)Adapter. This makes the code really camel cased and it's clear for everyone.

Agreed.
Envoyé de mon iPhone
Le 16 oct. 2011 à 11:20, Hugo<EMAIL_ADDRESS>a écrit :

I really prefer a complete name like "DatabaseAdapter" instead of (DB|Db)Adapter. This makes the code really camel cased and it's clear for everyone.
--
Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/4#issuecomment-2420059

Just listed classes that have to be renamed IMO. I'm waiting your comments :)

ping @fzaninotto, @jaugustin, ...

I agree to all suggestions.

I am ok with the names except that :

PropelCSVParser => PropelCsvParser

should be:

PropelCSVParser => CsvParser

Oh you're right ! So we can start to work on that part ;)

I looked at the code and I was thinking if we should remove the validation system. Are there lots of people that use this "feature"? I think Propel should focus on doing only mapping stuff but validation should not be delegate to the ORM.
Do you agree with me?

@hhamon: let's postpone this decision for now. The knowledge of the model is a good starting point to define validation rules, so tying parts of a validation system to a schema-centered ORM makes sense. On the other hand, Propel doesn't do it properly, so the current validation layer (which is broadly used) would need a serious upgrade to match standards.

What about using the Symfony2 validation layer? Thus the validation could use the exact same code base as any Propel2-Symfony2 project, so there would be no double validation or other nasty quirks when someone uses Symfony2 forms for Propel2 models.
I agree on postponing the decision until the important stuff (Twig etc.) is being tackled.

Hey!
How to name the PropelCollection class ? Don't like just "Collection"

@fzaninotto : what do the files into src/Propel/Runtime/Adapter/MSSQL do ?

@jaugustin: can you tell me if we can close this issue ?

I commited all my work on this issue , if you think naming is ok, you could close the issue.

Ok fine, so there are just two question to answer:

files n src/Propel/Runtime/Adapter/MSSQL
How to name the PropelCollection class ?

MSSQL adapters were contributed by a MSSQL user to overcome limitations in PDO. We may be able to remove them eventually, but for that we need a MSSQL user with a good knowledge of Propel.
As for the second question, Collection sounds good to me.

Collection or ArrayCollection

Ok for Collection.
François : these classes should be in the Connection directory IMO, not in adapters… But don't know who is a MSSQL master.

In Connection/Adapter I suggest

yep, that's where they should go... and yet we will remove them, so let's keep them where they are for now.
One question: shouldn't PropelArrayFormatter become Formatter\Array instead of Formatter\ArrayFormatter?

Don't think so. Does this class represent a Formatter or an Array ?
If you find an Array class in your code, what will you think ?

This is issue is closed. The discussion about naming is in the Coding Standards issue: https://github.com/propelorm/Propel2/issues/2


Remove syscc from genesis#issue1741

Remove system chaincodes from genesis block and make them completely non-declarative.
Description
System chaincodes should be treated as part of the fabric with all policies and rules applicable to upgrading/modifying the fabric applicable to the system chaincodes. It does not make sense to have them committed to the genesis block as user chaincodes would. This PR removes system chaincodes from genesis block

remove system chaincode declaration from peer/core.yaml
the system chaincodes are embedded into the fabric programmatically (see importsysccs.go and systemchaincode_test.go)

The registration of system chaincodes is currently disabled if security/privacy mode is on. A approach different from user chaincode treatment of security context is needed to address this correctly (the "user" is the "peer"). Working with @adecaro on this. Commit 3ad5fb1 commit will be removed with the PR for the fix.
Motivation and Context
As highlighted by #1741, having system chaincodes  - whose deployment don't participate in consensus - committed to genesis block can give raise to problems if the transactions are not the same on all peers (even if the chaincode's context and states are identical). Furthermore, treating them as proper on-block transactions would complicated scenarios such as upgrade. These problems really show that system chaincodes should be considered as part of fabric code.
Fixes #1741
How Has This Been Tested?
Removed a system chaincode unit test from chaincode folder and made it part of the system_chaincode package. This is the right approach now that system chaincodes are registered programmatically. The test case also serves as an example of registering system chaincodes (ie, the sample needs to be only part of the unit test and does not have to be imported/registered in importsysccs.go).
Checklist:

[X] I have added a Signed-off-by
[X] Either no new documentation is required by this change, OR I added new documentation
[X] Either no new tests are required by this change, OR I added new tests
[X] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by<EMAIL_ADDRESS>

This is great Murali, thank you.  FYI, the CI failure looks related to this patch so please investigate.

Doesn't that mean that if peers have system chaincode configured differently, they will return different results for transactions accessing the system chaincode?

@corecode SCC operates similar to CC that it must be the same on all peers, both code and configuration that effecting SCC. Also upgrade will require backward operational compatibility, so we must be careful when we get there.

@ghaskins looks like a timeout somewhere  (it did work on my env though), will take a look soon,

@ghaskins I was computing timeout in nanosecs in the test case. Fixed it with millis.
Will take a closer look at this crash though. Perhaps a new PR and testcase will come out of this. Opened an issue #1830 to track this.

Jenkins failed with

Assuming the only listener for 40303 are chaincode/ tests, I cannot understand why the listener is still up (unless these package tests run in parallel .... ) ?
In any case its probably good to have for system_chaincode test on a different port (will help future parallel test effort).


Marking the std::mt19937 *gen argument as [[maybe_unused]]in `runtime/include/QuantumD…

Context:
Marking the std::mt19937 *gen argument in runtime/include/QuantumDevice.hpp/SetDevicePRNG(std::mt19937 *gen) as [[maybe_unused]], as some devices (e.g. openqasm and oqc) do not support seeding has this argument has no effect in the default implementation of this setter.
At a more superficial level, this is to make the tests in https://github.com/PennyLaneAI/pennylane-lightning/pull/819 pass.
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

I don't think this needs changelog. Thoughts?


Undertake competitor review

Competitor review audit on Miro exploration board: https://miro.com/app/board/uXjVLS7YqfQ=/?share_link_id=117786911242
research brief: https://docs.google.com/document/d/1xsec3I3QM0WGRhaip_3Lfgt-y-YQicLXHVyepHsyjTk/edit
More information on Notion (project brief, meeting notes, etc.): https://www.notion.so/wellcometrust/Onward-journeys-from-Stories-28a038bcc6cf4643854ea9007090a6d3?pvs=4


[LANG-1345] - Add methods to enhance non-empty strings

I really like this method and the proposal. I think it is quite useful and should be included in the next version. I create the PR with the name change proposal.

Coverage increased (+0.0006%) to 94.99% when pulling 7e59a662aa456cfa44bf82ee4c6d22dd627ac668 on arturobernalg:feature/LANG-1345 into 61e82e832e31037810cec0c526ecd83fbeb62227 on apache:master.


[Removal]: Please remove Joyous Obsidian Kestrel

Hotspot Name
Joyous Obsidian Kestrel
Hotspot b58 Address
113f8RMequK1JzuYgziVba5BkLGZ2m1bwLnxPD1rPoUNDCFoDfx
Discord Handle
No response
Hotspot Manufacturer
Heltec Automation
Removal Reason
I had purchased a second hand miner which was already in denylist in which I do not know why. I have given proof that it is now in a real location.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information

Proof for miner in real location.

Why should this be removed from denylist?. The gateway was witnessing in USA while it's in malaysia?
It has been in a heltec cluster.
Recent to old.
lat 3.159658341129602 - long<PHONE_NUMBER>3428618

lat 35.867308441418146 - long -76.61307307009379

lat 35.875297250065806 - long -76.61088258136704

lat 35.87795131184766 - long -76.61520170242564

And another fact "I had purchased a second hand miner" Still same wallet 🤣

And another fact "I had purchased a second hand miner" Still same wallet 🤣

iq at room temperature type spoofers

sorry, i do not understand what you are trying to say.
How come the gateway is in USA when the miner is indeed in Malaysia?

Why should this be removed from denylist?. The gateway was witnessing in USA while it's in malaysia? It has been in a heltec cluster. Recent to old. lat 3.159658341129602 - long<PHONE_NUMBER>3428618  lat 35.867308441418146 - long -76.61307307009379  lat 35.875297250065806 - long -76.61088258136704  lat 35.87795131184766 - long -76.61520170242564

i think there was a mistake in the setting of 923.. i will check again with my partner.

Is there any other way else to prove further? - Please guide me. thank you.
To all Sarcasm + Haters - please leave comment trail if you are not sincere in helping.

And another fact "I had purchased a second hand miner" Still same wallet 🤣

iq at room temperature type spoofers

SO, BUYING A MINER + THE WALLET IS A FELONY ?

u bought a wallet? like the 12 phrases? what kind of cringe explanation is this

Why should this be removed from denylist?. The gateway was witnessing in USA while it's in malaysia? It has been in a heltec cluster. Recent to old. lat 3.159658341129602 - long<PHONE_NUMBER>3428618  lat 35.867308441418146 - long -76.61307307009379  lat 35.875297250065806 - long -76.61088258136704  lat 35.87795131184766 - long -76.61520170242564

please check again on the gateway?
i had corrected it.
Is there any other way I can prove it in real location ? Please guide, not give sarcasm.
thank you.

It has been used in a cheating farm (geo located USA) then few days ago you switched location. Not sus at all.

It has been used in a cheating farm (geo located USA) then few days ago you switched location. Not sus at all.

The Miner just turned on last weekend. I was not aware that it was in a USA location.
I did not cheat at all. I have not even start to change the ori wallet and ya all here starts BASHING me for no reason.
I want to remove from the DenyList and then switch back to my other wallet.
Is there anyone (non sarcastic) here can help?
please look into my miner and tell me what is the issue that has gotten me into that DenyList in the 1st place and how to lift from the DenyList.
thank you very much


Rename ASF v3

Can i rename ArchiSteamFarm.exe?

Yes.

renamed program does not start

I suggest you to instead you rename ArchiSteamFarm.exe, why not you create the shortcut pointing to ArchiSteamFarm.exe? 😄

I'm using proxifier, I need to rename exactly ArchiSteamFarm.exe, this is a big problem for me now

In ASF v2 it was possible to rename

Please review the guidelines for contributing to this repository.

https://github.com/JustArchi/ArchiSteamFarm/blob/master/CONTRIBUTING.md

If my issue is not meeting contributing guidelines specified above, especially if it's a question or technical issue, please close my issue immediately - I won't complain.

Although it's a bit connected with the development so I'll answer - you should not rename ASF binary regardless if it's possible or not. If your program does not work with original naming then find better one or another solution. Your issue is not ASF issue.


Exception vs LastErrorCode / LastErrorString

As the title says, use of Exceptions vs LastErrorCode and LastErrorString. Personally I favor exceptions because they don't break under concurrent use and they're the builtin (as in within the language) solution for this problem. A custom exception type can be created to also return the error code. There are some cases where exceptions are thrown on precondition failures while in other cases the error code and message are set, I think this should be implemented consistently.

Agreed. Some methods are also producing misleading error strings, this should be cleaned up while implementing Exceptions.

Merged into develop.


describe how to set up local integration testing environment

@sverhoeven said:
Yes it is possibe see https://github.com/NLeSC/Xenon/blob/fixingTestsAndTime/src/integrationTest/docker/README.md
It is useful for Xenon developers so they can test changes before pushing.

tutorial is part of this repo. closing the issue.