Privileged containers are not allowed spec.initContainers[1].securityContext.privileged: Invalid value: true:

General information

OS: macOS
Hypervisor:Hyper-V
Did you run crc setup before starting it (Yes/No)? Yes

CRC version
OpenShift version: 4.3.1 (embedded in binary)

CRC status
CRC VM:          Running
OpenShift:       Running (v4.3.1)
Disk Usage:      13.39GB of 32.72GB (Inside the CRC VM)
Cache Usage:     12.46GB
Cache Directory: /Users/kimgysen/.crc/cache

CRC config
(nothing displayed)

Host Operating System
ProductName:    Mac OS X
ProductVersion: 10.13.6
BuildVersion:   17G2307

Steps to reproduce

oc adm policy add-scc-to-user privileged developer
create statefulSet:

apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: es-cluster
  namespace: efk
spec:
  serviceName: elasticsearch
  replicas: 3
  selector:
    matchLabels:
      app: elasticsearch
  template:
    metadata:
      labels:
        app: elasticsearch
    spec:
      containers:
      - name: elasticsearch
        image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.2.0
        resources:
          limits:
            cpu: 1000m
          requests:
            cpu: 100m
        ports:
        - containerPort: 9200
          name: rest
          protocol: TCP
        - containerPort: 9300
          name: inter-node
          protocol: TCP
        volumeMounts:
        - name: data
          mountPath: /usr/share/elasticsearch/data
        env:
        - name: cluster.name
          value: k8s-logs
        - name: node.name
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
        - name: discovery.zen.ping.unicast.hosts
          value: "es-cluster-0.elasticsearch,es-cluster-1.elasticsearch,es-cluster-2.elasticsearch"
        - name: discovery.zen.minimum_master_nodes
          value: "2"
        - name: ES_JAVA_OPTS
          value: "-Xms256m -Xmx256m"
      initContainers:
      - name: fix-permissions
        image: busybox
        command: ["sh", "-c", "chown -R 1000:1000 /usr/share/elasticsearch/data"]
        securityContext:
          privileged: true
        volumeMounts:
        - name: data
          mountPath: /usr/share/elasticsearch/data
      - name: increase-vm-max-map
        image: busybox
        command: ["sysctl", "-w", "vm.max_map_count=262144"]
        securityContext:
          privileged: true
      - name: increase-fd-ulimit
        image: busybox
        command: ["sh", "-c", "ulimit -n 65536"]
        securityContext:
          privileged: true
  volumeClaimTemplates:
  - metadata:
      name: data
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "pv0002"
      resources:
        requests:
          storage: 100Gi

Expected
The pods to be created successfully
Actual

create Pod es-cluster-0 in StatefulSet es-cluster failed error: pods "es-cluster-0" is forbidden: unable to validate against any security context constraint: [spec.initContainers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.initContainers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.initContainers[2].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]

Note: it concerns a fresh install from today.
I went overboard and added a bunch of users in the hope to make a difference but no luck:
oc describe scc

Name:                                           privileged
Priority:
Access:
Users:                                        system:admin,system:serviceaccount:openshift-infra:build-controller,developer,deployer,default,builder,statefulset-controller
Groups:                                       system:cluster-admins,system:nodes,system:masters
Settings:
Allow Privileged:                             true
Allow Privilege Escalation:                   true
Default Add Capabilities:
Required Drop Capabilities:
Allowed Capabilities:                         *
Allowed Seccomp Profiles:                     *
Allowed Volume Types:                         *
Allowed Flexvolumes:
Allowed Unsafe Sysctls:                       *
Forbidden Sysctls:
Allow Host Network:                           true
Allow Host Ports:                             true
Allow Host PID:                               true
Allow Host IPC:                               true
Read Only Root Filesystem:                    false
Run As User Strategy: RunAsAny
UID:
UID Range Min:
UID Range Max:
SELinux Context Strategy: RunAsAny
User:
Role:
Type:
Level:
FSGroup Strategy: RunAsAny
Ranges:
Supplemental Groups Strategy: RunAsAny
Ranges:

Fixed this by using:
oc adm policy add-scc-to-user privileged -z default -n efk
According to the docs:

-z, --serviceaccount=[]: service account in the current namespace to use as a use

This not specific to CRC ()related to OpenShift in general)


Limit proposal creation only to BIFI holders

It seems that we're starting to get some spammy proposals by random addresses. Or people not following the rules of always having a "No" option for proposals.
The first measure we should take is to limit proposal creation to people holding at least 1 BIFI in their wallet.

Solved by #4


Tweaked Theme & AppName

Fixed Material Theme. Text was Black which should have been white for better visibility.
Shortened app name to fit on Launcher.

@ZKjellberg can you share at least one screenshot?

Please excuse the size, the Nexus 6P resolution is a bit absurd.
First image, not the white font instead of black, giving a better appearance. In the second image you'll see the full appname is visible, compared to the original which only would say "Android OB..."

This is awesome, this app is needing a UI revamp/redesign for sure.


Notes fixes

@michael, @oliver---- pls merge.
Most notable change here is that documents are created now with 0 version, so editor will send transaction immediately with seed changes. It's what we did with factory functions on server before. Now we don't need any factory functions on server. It's fully compatible with old documents and I think much better. For example we could use different seed files within one setup.
I dropped out multiple schemas facility which we used before. I think it's good choice for now at least while we have single-schema-oriented configurator which we use now in document engine etc.

Looking good 👍


tree: handle schema contravariantly when generating input types

Description
Handle schema contravariantly when generating input types.
Breaking Changes
No runtime changes, but typing tweaks could break users on non-exact schema, and the enum schema APIs have been tweaked to avoid relying on non-exact schema, see changeset.
Reviewer Guidance
The review process is outlined on this wiki page.

Left a handful of suggestions and questions. Biggest question: how confident are we that the type-wise breaking changes made here will not disrupt the majority of users?

It's hard to tell. It did break our in repo ai-collab code, but it's doing non-schema aware editing. I don't really know how many people are doing things that we never intended to support and are unsafe. I'll do a test build and try it in the examples repo.

Left a handful of suggestions and questions. Biggest question: how confident are we that the type-wise breaking changes made here will not disrupt the majority of users?

It's hard to tell. It did break our in repo ai-collab code, but it's doing non-schema aware editing. I don't really know how many people are doing things that we never intended to support and are unsafe. I'll do a test build and try it in the examples repo.

I have done the test integration into the examples repo. It has some preexisting problems, but I don't see anything new from these changes.


How to build a branch?

Do we have the process document about how to build branch?
I am confusing in building the jar from specific branch.

https://github.com/SparkMonitor/varOne/issues/45#issuecomment-241430898


Updated to use literals and subscripting.

Updated to use literals and subscripting.

Waited a bit too long. :) Closing as its now outdated code.


Automatically add DCO signoff with commit hooks

Fixes #2281. DCO signoff is mandatory for all contributors. Currently
this is enforced via CI.
This commit smoothes this process somewhat by introducing:

A git commit hook, which will check the commit message for a
signoff, and if not present, add one to the bottom of the message.
A script, support/bootstrap, which will symlink these commit
hooks into the Envoy root .git directory, to minimize the effort
it takes to use them.

Signed-off-by: Alex Clemmer<EMAIL_ADDRESS>

Sweet! Can we potentially merge https://github.com/envoyproxy/envoy/blob/master/tools/pre-commit.sh into this commit also? That one sets up a hook to check format, but it has never been well documented (I use it locally).

@mattklein123 Done. Two more things:

Are there any other places we should be documenting this?
I notice that some of the mac OS X tests are failing but because I am not changing any "real" code I'm guessing they're just flaky. So first of all, are they? And second of all is there a way for normals to re-trigger a build in such a case?

Oh I've noticed that moving the commit hook causes it to not work. Oops. That's what I get for copy+paste'ing. Let me fix that.

Ok that should be fixed. I went ahead and just rebased the commit because it looks like no one had gotten around to reviewing it.

@mattklein123 ok, I believe all of those comments should be addressed.

@htuch Ok, so, to recap, it sounds like we have two main questions:

When should the formatting checks happen? (Options are: pre-commit, post-commit, and pre-push.)
Should DCO signoff line be added automatically, or should we just error out and tell them that they don't have the signoff line?

For the first, I think you're right that it's more annoying to run as a pre-commit hook, but I suspect that making it a pre-push hook is noticably more complex. (i.e., it's not yet clear to me whether there's an easy way to deal with all the cases of push simply). So what I will offer to you is: if you believe it is worth this extra complexity, both in terms of our time commitment on this PR and in terms of the technical risk, we can do it that way.
For the second, I actually prefer to have it just auto-append if missing, but I'm only about a 6/10 in my conviction this is the way to go. Firstly, in general I prefer to solve the problem if we can, rather than haranguing people to solve it themselves. But secondly, I think it should also work with other workflows, too: specifically, I wrote it specifically so that it would be compatible with --signoff. Do you see another way this regimen would not be compatible with something we'd expect people to do commonly?

Can you elaborate on why it is much more complex to do this on push vs. commit? My understanding (from some quick searching) is that git has pre-push hooks. Can't they just validate some reasonable suffix of commit history (e.g. last 50 commits) have DCO? Anything that comes from upstream should have DCO, any local changes must have had them added.

Since it's compatible with --signoff I think what you have there is good, so no worries.

BTW, I think this whole PR is a really useful contribution and don't want perfect to get in the way of good, so please only do what is low hanging fruit.

Ah, I was actually talking about the case of running the format checker as pre-push, could be expensive if we validate too many commits. But this case is purely hypothetical at this point, I'm only cautious because we got it wrong on Mesos and it made the push workflow painful. So let me investigate and come back with a real recommendation.

The format check doesn't happen on a per-commit basis. It just looks at the entire state of the tree when you run it, without looking at version control history, so I don't think you have a per-commit validation worry there.

@htuch Alright, we're really starting to strain my knowledge of bash, so if it looks like we're doing something dumb, we probably are.
I am pretty sure pre-push won't behave perfectly in all the weird corner cases, but I think we're starting to get close to something that will work for, like, maybe 95% of cases.

@htuch I actually fixed that as you typed that message. I think we're good now.


Traefik virtualhost subfolder (router PathPrefix + middleware StripPrefix)

In some case we want to create a virtulahost that reverses a container from a subfolder, ie https://myapp.test/app
https://medium.com/@iced_burn/reverse-proxy-in-traefik-with-subdirectories-eef4261939e
There should be an easy way to do this inside ddb, and it should be available on services and external services.

Here's the current custom template I wrote for an extra_service requiring the /diffusion path
docker:
  disabled_services: ['python', 'gunicorn', 'apache']
traefik:
  extra_services:
    django-dev:
      domain: "{{core.domain.sub}}.{{core.domain.ext}}"
      url: "http://{{docker.debug.host}}:8000"
  extra_services_config_template: |+
    # This configuration file has been automatically generated by ddb
    [http.routers]
    {%- if _local.https is none or _local.https is sameas false %}
      [http.routers.extra-service-{{_local.id}}]
        rule = "{{_local.rule}}"{% if not _local.redirect_to_https %} && "PathPrefix(`/diffusion{regex:$$|/.*}`)"{% endif %}
        entrypoints = ["http"]
        service = "extra-service-{{_local.id}}"
    {%- if _local.redirect_to_https %}
        middlewares = ["extra-service-{{_local.id}}-redirect-to-https"]
    {%- else %}
        middlewares = ["extra-service-{{_local.id}}-stripprefix"]
    {%- endif %}
    {%- endif %}
    {%- if _local.https is none or _local.https is sameas true %}
      [http.routers.extra-service-{{_local.id}}-tls]
        rule = "{{_local.rule}} && PathPrefix(`/diffusion{regex:$$|/.*}`)"
        entrypoints = ["https"]
        tls = true
        service = "extra-service-{{_local.id}}"
        middlewares = ["extra-service-{{_local.id}}-stripprefix"]
    {%- if _local.certresolver is defined %}
        [http.routers.extra-service-{{_local.service}}-tls.tls]
          certResolver = "{{_local.certresolver}}"
    {%- endif %}
    {%- endif %}

    [http.middlewares]
    {%- if _local.redirect_to_https %}
      [http.middlewares.extra-service-{{_local.id}}-redirect-to-https.redirectScheme]
        scheme = "https"
    {%- endif %}
      [http.middlewares.extra-service-{{_local.id}}-stripprefix.stripPrefix]
        prefixes = "/diffusion"

    [http.services]
      [http.services.extra-service-{{_local.id}}]
        [http.services.extra-service-{{_local.id}}.loadBalancer]
          [[http.services.extra-service-{{_local.id}}.loadBalancer.servers]]
            url = "{{_local.url}}"

It generates the following configuration which works as expected.
# This configuration file has been automatically generated by ddb
[http.routers]
  [http.routers.extra-service-django-dev]
    rule = "Host(`inserjeunes.test`)"
    entrypoints = ["http"]
    service = "extra-service-django-dev"
    middlewares = ["extra-service-django-dev-redirect-to-https"]
  [http.routers.extra-service-django-dev-tls]
    rule = "Host(`inserjeunes.test`) && PathPrefix(`/diffusion{regex:$$|/.*}`)"
    entrypoints = ["https"]
    tls = true
    service = "extra-service-django-dev"
    middlewares = ["extra-service-django-dev-stripprefix"]

[http.middlewares]
  [http.middlewares.extra-service-django-dev-redirect-to-https.redirectScheme]
    scheme = "https"
  [http.middlewares.extra-service-django-dev-stripprefix.stripPrefix]
    prefixes = "/diffusion"

[http.services]
  [http.services.extra-service-django-dev]
    [http.services.extra-service-django-dev.loadBalancer]
      [[http.services.extra-service-django-dev.loadBalancer.servers]]
        url = "http://<IP_ADDRESS>:8000"


useScrollViewOffset hook is only in react-native-reanimated >= 2.11.0 available

Description
The useScrollViewOffset hook is only available in react-native-reanimated >= 2.11.0.
Expected behavior
Should work with all react-native-reanimated 2 versions.
Actual behavior
Error occurs: Undefined is not a function. Due to the availability of useScrollViewOffset only in >= 2.11.0 version of reanimated.
Environment

react-native-header
v0.6.0

Platform & OS (if applicable)
iOS/Android/Web

react-native-reanimated
< v2.11.0

react-native-safe-area-context
v4.5.0

Thanks for opening this issue up. Exploring solution here: #3

I just released a fix for this. See 0.7.0-rc.0 or install it with:
yarn add<EMAIL_ADDRESS>

#3


Feature request: pin a page to home

Hi,
I love Bookstack. We use it everyday. It may be the best documentation app we ever used.
We have two needs though that we think can benefit every BS user.
One of them is covered by #182 .
The other would be to be able to pin a selection of pages to the home screen. It could use the same layout as the recently viewed pages, etc.
Do you think it would be compliant with BS phylosophy and if so will it be added to your roadmap ?
Best regards,
Ben

Hi @obinoby,
Thanks for your feedback and nice comments!

Do you think it would be compliant with BS phylosophy and if so will it be added to your roadmap?

I do think this would be a useful feature for others and fits into the BookStack use-case/philosophy. It probably won't be an official roadmap point since roadmap feature are generally larger than this (Spanning multiple releases) but this may be a prerequisite for system notifications which is something I'd like to incorporate soon.
"Pinned" items would essentially come as part of a favorite/starred/pinned/bookmark system. Such requests are already open under issues #1376 and #505. Therefore I'm close this off as a duplicate but I'll open an new issue here to gather feedback on details to move such a feature forward.

#2063 opened to discuss options.

Hi @ssddanbrown ,
Thank you for reviewing my feature request.
In those issues it seems to be a user defined pinning of favorites. What we intended was a system wide pinning where the admin can pin some key books, pages or chapters on every users home page ; or better on every members of a designated group.


Fix get leader/follower when using TLS

Description
Fixes the issue on 7.0.x and above. Refer #1022
Fixes # (ANSIENG-1340)
Type of change

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

How Has This Been Tested?
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

We dropped the changes in PR in favour of this PR which was working in 7.x.y branches.
cc: @chromy96 @sknop @erikgb

We dropped the changes in PR in favour of this PR which was working in 7.x.y branches.
cc: @chromy96 @sknop @erikgb

Yup, even better. Thanks.

Sure @nsharma-git
I think we should use whichever of this is the better method to evaluate zookeeper_ssl_enabled and have the same thing across all branches and not different solutions for different branches. WDYT?

Sure @nsharma-git I think we should use whichever of this is the better method to evaluate zookeeper_ssl_enabled and have the same thing across all branches and not different solutions for different branches. WDYT? I'll change/close this PR accordingly.

I agree! The solution in 7.0 seems better and if needed we can back-port it. However, I'm not very sure of key/value strings, as at times it changes across the releases. Please ensure the condition is valid in 6.x.y branches while back-porting it.


Field: payload.payload; Message: Required field not set (only when deployed)

Environment details

Node.js version: 10
@google-cloud/automl version: 2.2.0

Stack tracke:
Error: 3 INVALID_ARGUMENT: List of found errors:	1.Field: payload.payload; Message: Required field not set.
    at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:30:26)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:174:52)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:340:141)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:303:181)
    at Http2CallStream.outputStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:114:27)
    at Http2CallStream.maybeOutputStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:153:22)
    at Http2CallStream.endCall (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:140:18)
    at Http2CallStream.handleTrailers (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:262:14)
    at ClientHttp2Stream.emit (events.js:198:13)
    at emit (internal/http2/core.js:265:8)

Works fine if I call predict method from my local environment.
Errors after deploying to GC AppEngine.
Nothing changed in my code.
I double checked and I'm sure that payload is passed in arguments.
It works fine on version I deployed on Jul 21, 2020.
I trained new model and I'm getting the same issue.
Here's my code:
const automl = require('@google-cloud/automl');
// Create client for prediction service.

const client = new automl.PredictionServiceClient();
const projectId = 'XXX';
const computeRegion = 'us-central1';
const modelId = 'XXX';

// Get the full path of the model.
const modelFullId = client.modelPath(projectId, computeRegion, modelId);

const payload = {
	"row": {
		"values": [
			{
				"numberValue": 6
			},
			{
				"numberValue": 0
			},
			{
				"numberValue": 0
			},
			{
				"numberValue": 0
			},
			{
				"stringValue": "Turkey"
			},
			{
				"stringValue": "Vinyl"
			},
			{
				"stringValue": "7inch"
			},
			{
				"stringValue": "45 RPM"
			},
			{
				"stringValue": "Mini-Album"
			},
			{
				"numberValue": 3
			},
			{
				"numberValue": 0
			},
			{
				"numberValue": 47.62
			}
		]
	}
}

const data = await client.predict({
			name: modelFullId,
			payload: payload,
			params: {}
		});

I don't have this problem when using @google-cloud/automl version 1.2.4.
The model was trained mode than one year ago so maybe that's the cause?
From the other side I had the same issue with new model and recent @google-cloud/automl version.

I was not able to reproduce this issue.

@404-html Is this Tables or NL?

Hey @munkhuushmgl, it's Tables.

@404-html I think you are missing beta version on instantiating the client
const client = new automl.v1beta1.PredictionServiceClient();

you could use this as reference
https://github.com/googleapis/nodejs-automl/blob/master/samples/tables/predict.v1beta1.js


Simplify for beginners

Having worked with some beginners at the Meteor devshop, I noticed the sample tests were overwhelming for new users.
I propose to create a simpleSpec.js and an advancedUseSpace.js to show users how to get started.
I can take this task if you're willing @Sanjo ?

Would be awesome if you coukd do that.
Sam Hatoum<EMAIL_ADDRESS>schrieb am Fr., 30. Jan. 2015 19:02:

Having worked with some beginners at the Meteor devshop, I noticed the
sample tests were overwhelming for new users.
I propose to create a simpleSpec.js and an advancedUseSpace.js to show
users how to get started.
I can take this task if you're willing @Sanjo https://github.com/Sanjo ?
—
Reply to this email directly or view it on GitHub
https://github.com/Sanjo/meteor-jasmine/issues/140.

+1... I was really confused by the mass amounts of code that it created and it took several hours of tweaking to get everything running. However i'm glad they're there!!

I think we should create a suite of example where each example shows how to do one common task. Testing methods, templates, a function etc.

Also FWIW, when I first started I was perplexed at why my code wasn't running (wrong folders) and when I added the sample code from the html-reporter, it adds the default jasmine example which seems really confusing in the Meteor context.

I think we should create a suite of examples where each example shows how to do one common task. Testing methods, templates, a function etc.

This would be ideal. Testing the default counter app might even be good enough!
Kind of off topic but I made example tests for Jasmine + React:
https://github.com/AdamBrodzinski/react-meteor-tests


add cache to SavedQueryConfig

resolves #9540
Problem
SL needs us to support a cache property for SavedQuery
Solution
Add cache to SavedQueryConfig.
Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[ ] This PR includes type annotations for new and modified functions

Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/4946


techdebt: named pipe for sqfs2tar input

In #52 we write the sqfs layer from an image out to disk, so that sqfs2tar can read it from a file.
We should be able to stream the data through a named pipe, used as the input for sqfs2tar to avoid the temporary file.

Unfortunately it appears this is not possible - https://github.com/AgentD/squashfs-tools-ng/issues/24
The structure of a SquashFS filesystem is such that it can't be handled easily as a stream.


Sort Employees by Name

Employee lists are not in name order

My employee list is sorted by last name. This may not be obvious since first name is printed first inside the "name" column.

@blacklevel is right: the employees are sorted by surnames.

It was deliberately done so as last name is a main key while searching people.
Probably we need to add a way to sort the list by more criterias.

@vpp Hi all. I've got the project running locally and was wondering if I could attempt a PR for this to give other sort options? Potentially by first name, last name, Department etc. Do you think it would be better to possibly have the table headers be clickable to sort the columns? Or more of just a simple drop down maybe? Let me know your thoughts, I'll try put something together for it.


Special-cased performance improvement for Iterator::sum on Range<u*> and RangeInclusive<u*>

Rendered

Speaking Procedurally: I'm wondering if this even needs an RFC. I think T-libs can just accept a PR that makes this improvement, since it's only a change to the quality of implementation, not a change to the API contract.

Okay sounds good! I'll make a PR and close this RFC.

Agreed -- it could be reverted at any time, so it doesn't need an RFC.

Running into an issue with implementation regarding the overlap between the unstable Step trait and Iterator -- currently I cannot trivially special-case Iterator or Iterator::sum because the signature for the RangeInclusive iterator implementation is
impl<A: Step> Iterator for ops::RangeInclusive<A> {
    type Item = A;

and all the unsized integer types implement Step.
What are the future plans for Step? It seems to have been stalled for a long time, and at this point does not clearly provide much in terms of advantages over the existing iterator implementation using StepBy.

This may actually not be an issue -- just reading now about trait specialization and the default keyword.

Nope I can't figure this out -- https://github.com/rust-lang/rust/issues/55436 is stopping me from getting any of this stuff to build properly.

@Alfriadox open a PR (to rust-lang/rust) with your change and link it here, you can leave this RFC PR closed.
You shouldn't need to add any attributes to do this, it doesn't need feature gating - are you trying to add a stability attribute to the sum function?

I was trying to add it to the impl Iterator for Range<u*>, which requires the specialization feature because u* also implements the unstable Step trait and there's an existing impl for Iterator on Range<T> where T: Step. This would be a lot easier honestly if we made u* not implement Step but at that point we might as well get rid of Step entirely, which doesn't make sense. Most of this comes down to specialization working properly

I was trying to add it to the impl Iterator for Range<u*>, which requires the specialization feature because u* also implements the unstable Step trait and there's an existing impl for Iterator on Range<T> where T: Step. This would be a lot easier honestly if we made u* not implement Step but at that point we might as well get rid of Step entirely, which doesn't make sense. Most of this comes down to specialization working properly

Just make a PR with what you have, even if it doesn't work (just mark it as a draft), and link it here. We can help you get there, but it's easier when we can see the implementation and the errors.

I'm closing this, as it's not an RFC anymore. Do open a PR as others have said already, and feel free to ask questions on the PR (or on zulip).


Add *.safetensors to .gitignore

Motivation
Whilst trying to remove some more blockages to Shark2 generating an image on Windows, I kept ending up with .safetensors files appearing and git still noticing them.
Changes

shark2 is putting base model .safetensors files in model specific subfolders. Easiest to just ignore .safetensors completely.

Ideally all the .safetensors will just be saved to the user's HF cache if it exists. This will help in the case where it doesn't and until that's actually a feature. Thanks!


Avoid question marks in labels of options

I suggest to avoid question marks in all options and all languages.
Originally posted by @ksuess in https://github.com/plone/volto/pull/4996#discussion_r1270501906
Another one unrelated, but also concerning an option label:
I suggest to change "Facetten-Widget" to "Widget", which is shorter and spares therefore a not so nice line wrap.
#: components/manage/Blocks/Search/schema
# defaultMessage: Facet widget
msgid "Facet widget"
msgstr "Widget"

shall i work on this?

@sahilsekr42 please see:

https://6.docs.plone.org/contributing/index.html
https://6.docs.plone.org/contributing/first-time.html
https://6.docs.plone.org/volto/contributing/index.html


744 cleanup

See if this helps simplify some of those internal methods.  Tried to reduce the complexity of validate_visibility_combinations and had some success, but not enough to please rubocop.
I also did some consolidation in the spec.

@laritakr: how does this look?


Fixes #123

Whenever we have a language for a user we should return it when the user is loaded via an API.
We needed to create a user for a subscription and assign them a language if they didn't already have one.

minor non-blocking comments. lgtm for a merge


net8.0 Button Click event wont fire

from project <IP_ADDRESS>644 to with net8.0 click with a button wont fire in blazor going back to using <IP_ADDRESS>604 with net7.0 works

It was that one needed to add BrowserWindowOptions -> WebPreferences -> AllowRunningInsecureContent set to true it's set to false as default in dotnet 8.0

@Cav-jj can I close the issue then?


[linux] fix eol date : 4.9.x became eol yesterday

Update ReleaseImage with a bit recent version
Add 4.9.337 version
Fix eol date

With release of 4.9.337 yesterday it became eol

LGTM


Add missing comparison operators to client

Is your feature request related to a problem? Please describe.
Tigris supports following comparisons:
https://github.com/tigrisdata/tigris/blob/42b9f8a0529f398cc7267ad41f5f5f3f0c659b1c/query/filter/comparison.go#L27-L36
But client only has following:
https://github.com/tigrisdata/tigris-client-ts/blob/93d099072219f60879b87e3779c8eb6d82ec92a9/src/types.ts#L765-L766
Describe the solution you'd like
TypeScript should add support for missing operators.

/bounty $25

I'm working on this

Following are the operators that have been added recently and need to be added to the TS client SDK:
$not
$contains
$regex
filter: {
op: "$contains",
employeeName: ["Jack", "Tim", "Sarah"]
}
filter: {
op: "$contains",
employeeName: "arah"
}
filter: {
op: "$regex",
employeeName: ".*im"
}
filter: {
op: "$not",
employeeName: "Jack"
}

Please check this PR


Search from error page only show images

Description

Making a search from the input field of the 404 error page only show image results.
Reproduction

Navigate to a page that throws 404 error, like https://search-staging.openverse.engineering/non-exist
Introduce a term to search for
See the wrong state of the results page, it shows the VContentLink for images when it's already showing only image results.

Expectation

The search should be for all content types.

Resolution

[ ] 🙋 I would be interested in resolving this bug.

I can't reproduce this behavior anymore, although I'm not sure where exactly it was fixed. Closing.

I can't reproduce either! 👍


Fixing icu errors in translations

Summary
@m1lt0n noticed some errors in ICU-messages. We fixed these in the cloud branch but not yet in master
Related Pull Requests
orig pr https://github.com/mattermost/mattermost-webapp/pull/11477
Release Note
NONE

Hello @ctlaltdieliet,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.


Wrong value of FileSystemModifyEvent.contentChanged on Windows

When File.setLastAccessedSync(...) is called then, FileSystemModifyEvent is fired with contentChanged set to true. But content was not changed, value should be false
Example
import "dart:io";
import "dart:async";

main() async {
  Directory sandbox = Directory.systemTemp.createTempSync();
  try {
    File file = new File(sandbox.path + Platform.pathSeparator + "file.tmp");
    file.createSync();
    final eventCompleter = new Completer<FileSystemEvent>();
    StreamSubscription subscription;
    subscription = sandbox.watch().listen((FileSystemEvent event) {
      if (event is FileSystemModifyEvent) {
          eventCompleter.complete(event);
          subscription.cancel();
      }
    });
    file.setLastAccessedSync(new DateTime.now());
    final event = await eventCompleter.future;
    print(event); // FileSystemModifyEvent('C:\Users\sgrekhov\AppData\Local\Temp\a06ac8a3-e3fd-11e8-ab66-bcaec534d2ad\file.tmp', contentChanged=true)
    print((event as FileSystemModifyEvent).contentChanged); // true
  } finally {
    sandbox.deleteSync(recursive: true);
  }
}

No this issue on Linux. On Linux output is
FileSystemModifyEvent('/tmp/MCIYLW/file.tmp', contentChanged=false)
false

Tested on
Dart VM version: 2.1.0-dev.9.3 (Thu Nov 8 01:13:22 2018 +0100) on "windows_x64"
Dart VM version: 2.1.0-dev.9.3 (Unknown timestamp) on "linux_x64"

Fixed in d1d2adb5dc04edbbffdd851154835cb8dc8bb6ee


Add pipeline training and inference Patchcore UI

I have already build a pipeline for training and inferencing Patchcore model on website. I want to contribute my pipeline for everyone can use it to quickly demo. Where folder can I create pull request in anomalib repo?
My pipeline Github: https://github.com/vnk8071/anomaly-detection-in-industry-manufacturing
With training:

User can add custom dataset from zip file with MVTec format
I use default backbone Resnet 18 and Patchcore model (Can be add more backbones and models)
I created 2 custom datasets for training.

With inference:

I have already training in MVTec dataset with 3 categories: Hazelnut, Metal Nut and Grid.
3 outputs: Anomaly score, target label and show heatmap on UI

I hope my pipeline can contribute to anomalib open-source.

@ashwinvaidya17 I would like to be assigned and can see my repo.

@vnk8071 That's a great pipeline you have build using anomalib! It is nice that you support training as well. One comment is that using only patchcore is a bit limiting. You can have a look at this script https://github.com/openvinotoolkit/anomalib/blob/main/tools/inference/gradio_inference.py. Maybe you can extend your app.py to something similar here so that you can support more models. You can then create a PR to replace the gradio_inference.py. It might need some refactor but we can discuss that in the PR comments.

Thank you for the reply. I will refactor the code with more backbones and models like https://github.com/openvinotoolkit/anomalib/blob/main/tools/inference/gradio_inference.py and maybe create folder name example in tools. Because I use Flask API and the app.py link with each part together and really hard to break them. How you feel with my idea? @ashwinvaidya17

Not sure if I understand what you mean. What does app.py link with?

My app.py link with database when user training (weight of model ) and output of inference. And with Flask, it links with templates and static folder and structure of code when I break down them from one file.

Ah in that case we can always have a folder named gradio_inference with the relevant files and a README to get started.

Oki I will refactor code follow structure of gradio_inference.py and create PR for discuss details.  Thank you for your time answer @ashwinvaidya17


Storing the database queries in the configuration file

Hello,
Is there any reason why database queries are stored in the main configuration file?
A normal user should not have to modify those queries and I think they should be updated automatically each time there is an update in traccar.

A lot of people are using Traccar as a back-end with their own system and database. It this case, they modify queries to store data directly in their database schema.

I can understand people modifying them to fit their own schema, but is it the most common use?
Perhaps there should be a "default queries" and if queries are found in the main config, then those override the default ones.

Might be a good idea to have default queries, but then you will break it for everybody who uses their own set of queries. They would have to specify all queries instead of just the ones they need.
One option I was thinking about is to split queries into a separate config file. Even better would be an option to "include" extra config files into the main one, so you can split config into seperate modules.

I think splitting queries in a separate configuration file doesn't change anything as you will still have to update them manually on each upgrade.
Of course having 3 separate files for server, database and protocol configs would already make things clearer and easier to update. Actually, protocols section in the config would also be nice if it updates automatically on each upgrade.
Maybe having default queries, and then in the configuration file being able to specify things like:
<entry key='database.loginUser.override'>
or <entry key='override.database.loginUser'>true</entry>

Splitting configuration file would help. You could just take the latest config with queries because you know that you want to use defaults and you haven't changed anything there. Same for protocols.

Indeed, but that still means you need to copy the default ones when updating.
I could be seamless if there was something like:
if database.selectServers exists then use it
else use default

Config file is updated automatically by installer when you upgrade.

But that's only for the platforms which have an installer. Having a default and an override would work on all platforms and simplify the installer task.

I just thought of a better idea than importing configuration. We can have a default configuration file in addition to a regular config. If parameter is defined in the regular config, we use that value, otherwise use from default config. That should be fairly simple to implement.

I see one problem, if we use only a few protocols, how we will disable other? Now we just deleting them from config.

Yes, I actually though about it as well. Don't have any solution. We can possibly bring back "enable" flags for protocols.

if port == 0, disable the protocol

Anyway, you have to put more then 120 lines to config just to disable unused protocols.
May be add some logic, if regular config has at least one protocol - enable only them, if does not - enable all from default config.

That's actually a good idea.

I have implemented default config. For now it doesn't solve the problem with removing protocol because I couldn't think of any simple clean way to do it.


remove legacy pypi markdown approach using pandoc

What was wrong?
A while back we used a 3rd party tool that required pandoc to make our markdown README render correctly on pypi.  Pypi now supports markdown natively.
How was it fixed?
Specify the content type and include the readme information directly.
Cute Animal Picture

ping @carver (this needs to be manually checked next time we make a release to be sure it is working as expected.)


The error indicates that the file results/4s8r-01/checkpoint/mymodel.bson cannot be found.

Hello, I apologize for bothering you again. It seems that I have resolved the environment issue, but now there's a problem where I can't get the expected result when running the main program. It seems that the program is unable to successfully save the file. The specific error is as follows:

That's a check point file. You need to train a model first before load a checkpoint.

Sorry, I misunderstood. So, the crnn_cellulose.jl code is not used for training the network model? If I want to train a network model, which code should I use? Or should I be looking at the example code from the library CRNN instead

I encountered a similar issue when using the case2.jl code from CRNN. The results of running the code are as follows:
species (column) reaction (row)
species (column) reaction (row)
species (column) reaction (row)
species (column) reaction (row)
species (column) reaction (row)
species (column) reaction (row)
species (column) reaction (row)
w_in | w_b
3×8 Matrix{Float64}:
0.022  0.0    0.03   0.0   0.024  0.153  7.959  8.452
0.083  0.163  0.0    0.0   0.0    0.0    7.623  7.63
0.0    0.096  0.046  0.04  0.0    0.0    7.898  6.506
w_out
3×6 Matrix{Float64}:
-0.022   0.007  -0.03    0.025  -0.024  -0.153
-0.083  -0.163   0.048   0.042   0.13    0.041
0.064  -0.096  -0.046  -0.04    0.029   0.108
ERROR: SystemError: opening file "./checkpoint/mymodel.bson": No such file or directory
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base .\error.jl:168
[2] #systemerror#62
@ .\error.jl:167 [inlined]
[3] systemerror
@ .\error.jl:167 [inlined]
[4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
@ Base .\iostream.jl:293
[5] open
@ .\iostream.jl:282 [inlined]
[6] open(f::typeof(BSON.parse), args::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:328
[7] open
@ .\io.jl:328 [inlined]
[8] parse
@ C:\Users\lenovo.julia\packages\BSON\73cTU\src\read.jl:106 [inlined]
[9] load (repeats 2 times)
@ C:\Users\lenovo.julia\packages\BSON\73cTU\src\read.jl:108 [inlined]
[10] macro expansion
@ C:\Users\lenovo.julia\packages\BSON\73cTU\src\BSON.jl:50 [inlined]
[11] top-level scope
@ c:\Users\lenovo\Desktop\CRNN-main\case2\case2.jl:184

I can now correctly use the CRNN/case1 code, but it seems that there is still an issue with the Biomass code where the model cannot be found. Could this be a problem with the path settings?

Sorry for bothering you with this issue. I have already resolved it. It was a simple problem—it was actually related to setting is_restart to false in the config.yaml file when using it for the first time. Although it’s a simple issue, I got stuck for a while at the beginning due to my unfamiliarity with the process. I apologize for the trouble. Anyone using this code for the first time in the future can refer to this issue for guidance.


Bump outlines-core version to 0.1.13

First version where the wheels are available. Closes #1202. Closes #1198.

This PR pins to latest outlines-core and includes changes necessary for compatibility with the new outlines-core.
Please re-open if I'm missing something.


Add support for lnd 0.14

Description:
Add support for lnd 0.14

dupe

Coverage remained the same at 21.942% when pulling 0bceb0802246680d9d1cbc71e5bc6399c1baad80 on feat/lnd-0.14 into f2692b2a84be59d640fe11f8c7bb3163382abc04 on next.


fix NumberFormatException for too high int value generated from Xeger

Hello @me3x Is there any issue that can be linked with this PR?

@OlgaMaciaszek I don't know about any.

@me3x Please create a corresponding issue and link to this PR. Also, please fix the failing tests.

@me3x any progress with this one?


ci: Add Alpha Release

https://github.com/lenra-io/Lenra/issues/124
Checklist

[ ] I didn't over-scope my PR
[ ] My PR title matches the commit convention
[ ] I did not include breaking changes
[ ] I included unit tests that cover my changes
[ ] I added/updated the documentation about my changes
[ ] I made my own code-review before requesting one

Description of the changes

Technical highlight/advice

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


ACS Chat - Patch release with azure core 1.43

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Login returns 404

Thanks for sharing this script. I am looking to implement a similar solution where I run a container via podman. Looking at the login api and just trying to Post the request in Postman to see if things are working. I am currently getting a 404 error when posting to /api/auth/login/. Running UDM Pro v 1.8.3. Wondering if this is working for you on that version and if you have any other insights as to what I problem could be.

So, I can confirm this login functionality still works for me in 1.8.3. I did notice a strange quirk in that you cannot POST a login more than once successfully in the same session. The first try will return a 200, and any subsequent retries will return a 404, as shown below:
>>> s = requests.Session()
>>> r = s.post(f'{baseurl}/api/auth/login', json={'username': username, 'password': password}, verify=False)
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:842: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn((
>>> r.status_code
200
>>> r = s.post(f'{baseurl}/api/auth/login', json={'username': username, 'password': password}, verify=False)
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:842: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn((
>>> r.status_code
404

Maybe this is what's happening to your requests?

Thanks for confirming. Looks like subsequent retries is exactly what I am running into. I am able to ignore that call and call the other apis just fine.


Portal Project Profiles

Feature Enhancements
Create New Project page / Project Profile page (with authentication)

[ ] Add support of project funding feature. A project can have [0, n] funding with fields of funding agency  (*required), funding directorate, award number and award amount;
[ ] Add support of project science domain/ community.

Public Project List and Public Project Profile

[ ] Support project list view that targets sharing/marketing of projects to external viewer and the NSF (by conditionally rendering based on user's authentication status)

Doc: https://docs.google.com/document/d/1_q4pSNqh0krm9LG65E8zkkzpo7mdctV0xsuODJA3GfA/edit#heading=h.l9bw8nmywtnu

Per Bryttany from the Jira ticket:
This is a ticket for discussing issues related creating public project profile pages in the FABRIC portal.  The idea is to use the existing project profiles but add to them so that they are the place to learn about any project.
Requirement ideas:
Public/private info. Each project will have some info that can be viewed by users who are not logged in and some info that requires the viewer to be logged in.
Project list page. The current project list page is targeting users who are looking for their own projects. We will likely want a new page that targets sharing/marketing of projects to external viewer and the NSF.
Info that should be on each project profile page

[x] Project Name
[x] Project description
[ ] URLs to project webpage
[ ] Funding source (NSF, DoE, NIH, etc)
[x] owners, member
[ ] published papers
[ ] shared arifacts
[ ] FABRIC Matrix
[ ] ACM keyword labels (AI, networking, etc)

Per Paul:

WYSIWYG editor for project description to render links etc.

Field One: Project Science Domain/Community
Please select at least 3 science domains/communities.
Networks
Networks:Network architectures
Networks:Network protocols
Networks:Network algorithms
Networks:Network performance evaluation
Networks:Network services
Networks:Datacenter networks
Networks:Mobile networks
Networks:Overlay and other logical network structures
Networks:Wireless access networks
Networks:Public Internet
Networks:Wired access networks
Networks:Packet-switching networks
Networks:Network security
Computer systems organization
Computer systems organization:Dependable and fault-tolerant systems and networks
Computer systems organization:Real-time systems
Computer systems organization:Embedded and cyber-physical systems
Computer systems organization:Architectures
Computer systems organization:Cloud Computing
Computer systems organization:Peer-to-peer architectures
Information systems
Information systems:Data management systems
Information systems:Information storage systems
Information systems:World Wide Web
Information systems:Information retrieval
Security and privacy
Security and privacy:Cryptography
Security and privacy:Security services
Security and privacy:Intrusion/anomaly detection and malware mitigation
Security and privacy:Systems security
Security and privacy:Network security
Human-centered computing
Applied computing
Applied computing:Electronic commerce
Applied computing:Enterprise computing
Applied computing:Physical sciences and engineering
Applied computing:Life and medical sciences
Applied computing:Computer forensics
Applied computing:Arts and humanities
Applied computing:Education
Hardware
Hardware:Quantum technologies
Hardware: Integrated Circuits - Reconfigurable logic and FPGAs
Hardware:Sensor devices and platforms
Hardware:Networking hardware
Software
Theory of computation
Theory of computation:Design and analysis of algorithms
Theory of computation:Theory and algorithms for application domains
Theory of computation:Semantics and reasoning
Theory of computation:Formal languages and automata theory
Theory of computation:Models of computation
Mathematics of computing
Computing methodologies
Computing methodologies:Artificial Intelligence
Computing methodologies:Machine Learning
Computing methodologies:Parallel computing methodologies
Computing methodologies:Modeling and simulation
Computing methodologies:Distributed computing methodologies
Computing methodologies:Computer graphics/Graphics systems and interfaces/Graphics processors
Additional Communities
HPC
RNE

Field Two: Project Funding Source
Please select your project’s funding agency.
Funding Agencies
NIH
NSF
DOD
DOE
Department of Education
Other
Field Three: NSF Directorate
Please select your project’s NSF Directorate.
NSF Directorates
Directorate for Biological Sciences
Directorate for Computer and Information Science and Engineering
Directorate for Engineering
Directorate for Geosciences
Directorate for Mathematical and Physical Sciences
Directorate for Social, Behavioral and Economic Sciences
Directorate for STEM Education
Funded by Other Agency
Not Funded (yet)
Field Four: Award Num. and Amount
Please write your project’s award number and amount of funding.
[open text]


Config "candidate" and "advertise-url" of static lease from command line

It would be nice if it could config candidate and advertise-url  from command line for static lease. Then we do not need to update litefs.yaml config file frequently.

@legionxiong What's the use case you have where you're frequently updating the primary in a static lease? Static leases are meant to have a single static primary. I'm hesitant to add a lot of command line flags.

@legionxiong What's the use case you have where you're frequently updating the primary in a static lease? Static leases are meant to have a single static primary. I'm hesitant to add a lot of command line flags.

It is meant to start new litefs primary and restart replicas quickly without updating each node's litefs.yaml.

I'm going to close this for now as I'd like to avoid adding CLI flags where possible.


Code for Article Model

You can get: Title, Author, Featured Image, and then content is still needing a bit of fixes.

There's just a typo I want to fix. I also don't think we need a binding for the featured media ID.

Haha, I just found out the way I was trying to fix the whole content formatting issue was way more complicated than the actual solution: setting

TextType="Html"

in the label :). I'm committing that.


--no-reset-stats should be on by default

Please make this on by default.  It is what most people will want in a realistic load test.
Case in point. We are gradually hatching about 1000 locusts that all need to authenticate with a login server. We hatch them slowly to avoid overwhelming the login server. After each locust logs in,  it immediately starts performing our regular workflow. In our first test runs, we lost the stats that got collected during the hatch because we didn't know --no-reset-stats existed. Watching your stats reset to 0 is extremely baffling. We had to scour the interweb to learn about this setting, and then spent a few hours figuring out how the switch works in a master/slave scenario
Making this on by default begs the question of how someone would turn it back off if they really do want to reset their stats when the hatch completes. Some options:

Ditch --no-reset-stats and replace it with a switch that has the opposite polarity : --reset-stats-on-hatch-complete
Just let me hook on_hatch_complete and reset the stats on my own if that is the behavior I want. Assumes that I can do this in my locust class or task set.

I actually think this would be a good idea. I have fielded this question often.
Curious what other people think. @heyman you have thoughts on this?

The most confusion/frustrating thing is that no where in the current documentation does it mention that all your data will reset after all Locust have been hatched.

Yeah I always run the tests with --no-reset-stats,I think it would be great if it set by default

Agreed, it ought to be the default setting. As previously mentioned, the documentation doesn't spell out what is happening, or indicate that the option to not reset exists. We ended up with many many invalid test results because of this settings before realizing what was going on.

That is, alternative 1. Turn it off by default, and add a --reset-stats flag.

@heyman, I will try to knock out a PR for this

resetting stats may not be intuitive behavior, but you get better results.
I'm curious why anyone would you want to mix metrics from the hatching phase into the main results?  Just beware that including this data from before the workload has stabilized, the result distribution can be skewed and any calculated stats may not be representative.
However, I'm fine changing the default as long as we keep a way to reset stats and document the switch to do so.

I personally feel like more data and a clear procedure would lead to "better data". While using locust, I was unaware that the beginning of my data was being truncated and this lead me to question my data and ultimately not trust it.

Just beware that including this data from before the workload has stabilized, the result distribution can be skewed and any calculated stats may not be representative.

This could also be the sole purpose of a test (to find the point of failure). So if I was stress testing over night with a slow ramp of users, by the time I came back to check my results later they could potentially be truncated.
Im not opposed to the current way of truncating ramp data, but at least clearly tell me that you are doing that. Finding this option in the locust issues as opposed to the Documentation or a UI checkbox was frustrating.

@cgoldberg in my experience people like comparing "requests made" vs "requests serviced" (from the server) and it's confusing if those numbers differ, which they do because the requests are reset.

@cgoldberg I agree that some users may want this behavior. For us though, I expect to make our test server scream in agony long before the hatch is complete. When it does, I want to retain all those stats.
It seems to me that most people reaching for locust for the first time are doing so in the context of a test server that is having problems. The most sensible default for those newbs, IMO, is to retain all stats until instructed otherwise. As they use locust more, and start to resolve the problems it uncovers in the test server, they may want to reset stats once they reach a steady state.

I also want the resetting of stats in most of my use cases. However, I really don't mind using the --reset-stats flag for it, and it has come up enough times

@cgbystrom A major use case for not resetting stats is a case when you have a fractional hatch rate.
I work on high-latency, compute-heavy services, so this is the norm for me. My eventual production deployment might involve dozens of servers to scale up to merely hundreds or thousands of concurrent users at a throughput of 1-10 requests per second.
These are paltry numbers compared with large web services handling high volumes of traffic. But the services I work on are used very differently.
As a result, we want to know from load testing how to extrapolate to estimate what resources we will need for a production scale of traffic. It would be prohibitively expensive to actually allocate that much resource to just run the load tests.
So instead, we may run tests on a much smaller scale, maybe even a single server that can handle only 10s of requests per second at a low level of concurrency.
To see the saturation point of a service like this, we would gradually step up the users from 1 to N spread out over a long time, and the stats we collect at each increment when a new user is added are extremely important.


Update code_schools.yml

@hollomancer  @rickr
Added Fullstack Academy to the list of code schools.

@hollomancer  Will do! Also do you know why CI travis is failing my PR? Is it for the same reason?

Addressed by #483


Question: background on coordinate reference systems

In 2014 I wrote a document on theoretical and applied background of coordinate reference systems, in Dutch. Some introductory overview of common standards and open tools is also provided in the document. I'm still using it myself now and then to recall theory behind CRS's.
It has never been distributed or published really; it was some sort of spare time quest of myself and I've shared it with some colleagues at the time.
So, I'm wondering if this content should find its place on the tutorials website. E.g. as a (long!) article, but in Dutch. That would require some additional markdown tinkering, but that's not a point (the pandoc conversion seemed to run quite well). Another option for the website is to just mention the link to the pdf version. Still another option is that someone translates the whole thing in English - be my guest.
What do others think about it?

The document provides a comprehensive summary of the CRS matter, with much more detail than other/typical online resources. By doing so, the document certainly provides value for a wider audience. Ideally, the text is translated to English, but I'm fine with a Dutch tutorial (converted as md file) as well.
My only suggestion would be to be combine it with a small tl;dr section with a set  practical hands-on advices/tips.

Originally planned for 2020, but postponing this article/tutorial to a later (unknown) date when GDAL3 and PROJ>6 are used by default, given current migrations of CRS handling by R packages (#164). Instead, several non-planned geo-tutorials have been contributed in 2020.


Update Contract URL in Footer

When we install app using defaults then in footer we have Contract link which takes to
https://etherscan.io/token/0xe3fFbD303ccC7733e501713aAF06E46312B22D3E
Please update it to new URL
https://etherscan.io/token/0x2b0ffbf00388f9078d5512256c43b983bb805ef8

Branch - update-contract-URLin-footer
@sarora180673


[Question] Page number at the top left corner

Hi,
I would like to know if it is possible to show the floating page number indicator at the top left corner. I would like to add a close button at the top right corner and the page number indicator is shown just above it

Nevermind, I just found it. I will post the solution later just in case someone has the same issue


Release freebsd/openbsd/netbsd and arm64 binaries

Since goreleaser-produced binaries is now the official way
to use stable gometalinter, it makes sense to cover more
GOOS/GOARCH combinations.
Update #552
Signed-off-by: Dmitry Vyukov<EMAIL_ADDRESS>

I've run go test ./... but it does not seem to test this part. I don't see any other tests I can run.

Thanks!


Showing display name of bread record on validation error

A fix for this matter. Showing display name instead of field on validation error
Closes #2005

Thanks 🎉


Benchmark query index is 1 offset and not 0 offset

I think you also need to change it down the file otherwise it'll break the formatting

Where? I'm confused as this is just the display string

so maybe it's fine? If you ran it and it looks good it's fine by me


Lock page during postback

Currently the framework allows to create several concurrent postbacks. E.g. when the user clicks the button twice, two postbacks are sent to the server and if the responses come in different order, the viewmodel can break.

There are several solutions and I don't know which one is the best.

Prevent the postback when another postback is active. The advantage is that this behavior also helps to prevent e.g. creating duplicate items in the DB when the user double clicks the button. In combination with some UpdateProgress control which displays some loading icon, this is my favorite.

Allow the second postback and when the response comes from the first one, drop it because it is outdated. This is the way ASP.NET WebForms behave.

Put the postback in some queue and post it to the server when the current postback is finished. I don't think this is suitable for most scenarios however I can imagine this solution for e.g. the Timer control which posts back each minute - in case there is some postback, the Timer will wait until it is finished. But we can implement this behavior directly in the Timer control, it does not have to be the framework feature.

Maybe we can queue postbacks internaly but disable all controls performing actions. This will prevent user enqueuing many unwanted requests (and creating duplicates in db) and make posting back in any time possible.

If you prevent the user to use the controls during the postback, it is the solution 1 and there is no need for the queue at all.

For the milestone 0.5 I have decided that it will be enough to create the UpdateProgress control that can display an overlay with a loading animation.
If the developer decides not to use it, then the user will  be able to create multiple postbacks but it is his problem.


Update deployment-script-template-configure-dev.md

Includes steps on troubleshooting AZ CLI image. Specifically, the location of the script.

@Teodelas : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@mumian - I added console for the code fencing language; is that correct?

@ktoliver - thank you for the edit.
#sign-off


chore(deps): update common-dev-assets digest to 7d85724

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
910eeda -> 7d85724

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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


Support passing custom amount of days in the past

as env variable, with some reasonable default(365?)

fixed by https://github.com/IgorPerikov/mighty-watcher/pull/58


Rename "portalIP" to "clusterIP"

This is still very much WIP.  Mostly what's left is to deal with portal_net flags.
@bgrant0607

Looking good already. Thanks much.

I like this; it will be much more consistent.

This depends on the services doc update.
Removed WIP - I think it is done.  e2e passes (except PD, grr)

FWIW I find it word y in places but it is consistent.

@zmerlynn @roberthbailey @cjcullen regarding master-run addons and config params in general

Does this require a new kube2sky image to be built once the change goes in on the master side?

Please write a PR description that can be used in the release notes. The flag changes, in particular, are important to anyone whose turnup code isn't in our repo.

Does this subsume #8655?

@roberthbailey This only changes the v1 API, so kube2sky, other add-ons, configs, examples, etc. don't need to be updated until we move them to v1.

Looks pretty good overall.

PR description (first comment) updated.
Style question - is "ClusterIP" a noun or is it "Cluster IP".  Ditto for "NodePort" vs "Node Port" ?

We're in no way consistent about this, but I'd reserve compound CamelCase (e.g., ReplicationController) for cases where you are referring to the code (fields, kinds, etc.) and just use separate words (e.g., Replication Controller) in most descriptions.

LGTM. Please merge #8655 first, which I expect to cause this to need to be rebased.

Rebased and pushed


Not able to Build clBLAS from Sources

I tried to build the clBLAS on a Centos 7.3 installed PC.
But I get the following error please find the attached Screen shot.
The Computer is not connected to the Network.

read this blog.  https://github.com/clMathLibraries/clBLAS/wiki/Build-client,-samples,-gtest

Thank you tingxingong for your comment.
So I understand the Problem is due to the following additional dependencies missing on my Computer
•Boost
•GoogleTest
•CPU BLAS ACML or [CBLAS] (http://www.netlib.org/blas/)
Am I right?

No,  your problem is only network.
My suggestion is if you do not need this google test feature, you may turn it off on your cmake-gui.

Oh alright!
Thanks a lot for the Information
I will try that


Can we use thread variables instead of global variables, such as UnpaddedInternalThreadLocalMap.nextIndex?

When we use FastThreadLocal, we know that this is to get the variable from the current thread according to the index, but if the index becomes large, such as 10000, then when different threads use the new FastThreadLocal, the capacity needs to be expanded, causing unnecessary waste of space.

Yeah, when constructing a lot of a FastThreadLocals (and gc cleaning old ones up) eventually you'll get a very large backing array because of the constantly increasing index. To prevent this, the index should be "recycled" in some way.
Alternatively, after a certain threshold, fallback to an IntObjectMap instead of an array.

@Cybermaxke @Cybermaxke I am happy to review a PR.

@JulyJunWu @Cybermaxke I wonder why you would create a lot of these ?


Failing ternary pattern

This definitely shouldn't segfault.
print((true && true) ? 1 : 0);
print((true && true) ? 1 : 0);

Lol C memory management problems. The resize function is reallocating (and internally relocating) all the code_block structs, and therefore invalidating all the pointers on the call stack.


XP feature: Lose XP on crash

Make generic way for all future skill mods

Partially done, maybe check numbers.


chore/vips branch introduces source dir bug

BUG: wax:iiif includes source dir specified in _config.yml in path for image resources (e.g., thumbnail path, manifest path, etc.)
MUST FIX and write tests before release

This bug exists prior to / separate from vips branch; closing in favor of a non-contingent ticket.


Scripting Stored Procedure - add USE [databasename] to the start of the script

I am scripting and modifying a number of procedures on our server as part of a project. The Procedures are in several databases.
When scripting a stored procedure from the Manage window, I would find it most helpful if ADS would include a USE statement at the top of the script. This will ensure the procedure is created/altered within the correct database.

Great to see it planned for the May release. Would this add the USE [databasename] statement when scripting out other objects (e.g., tables, views, and functions) as well?

Yes, that would be helpful no matter what you're creating!
On Wed, Apr 5, 2023, 12:28 A Kim @.***> wrote:

Great to see it planned for the May release. Would this add the USE
[databasename] statement when scripting out other objects (e.g., tables,
views, and functions) as well?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azuredatastudio/issues/21993#issuecomment-1498007294,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJSAHOKWDIV34HSUTZYE23W7XBWNANCNFSM6AAAAAAVDKELDA
.
You are receiving this because you authored the thread.Message ID:
@.***>


ImportError: libblosc.so.1: cannot open shared object file: No such file or directory

I installed the package by pip install scanpy. When I imported it, there was such an error

import scanpy as sc

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/sibcb1/mxqianlab1/common/anaconda/envs/cnmf_env/lib/python3.6/site-packages/scanpy/__init__.py", line 36, in <module>
    from . import tools as tl
  File "/sibcb1/mxqianlab1/common/anaconda/envs/cnmf_env/lib/python3.6/site-packages/scanpy/tools/__init__.py", line 17, in <module>
    from ._sim import sim
  File "/sibcb1/mxqianlab1/common/anaconda/envs/cnmf_env/lib/python3.6/site-packages/scanpy/tools/_sim.py", line 23, in <module>
    from .. import _utils, readwrite, logging as logg
  File "/sibcb1/mxqianlab1/common/anaconda/envs/cnmf_env/lib/python3.6/site-packages/scanpy/readwrite.py", line 10, in <module>
    import tables
  File "/sibcb1/mxqianlab1/common/anaconda/envs/cnmf_env/lib/python3.6/site-packages/tables/__init__.py", line 93, in <module>
    from .utilsextension import (
ImportError: libblosc.so.1: cannot open shared object file: No such file or directory

Versions:

version 1.5.1

Are you able to run import tables in this environment? If not, I think the issue will be with installation of the pytables package.


Versions.json Deprecation

I just downloaded versions.json to answer another issue and there is a nice message in the file.

"__comment": "This URL is being phased out! Please update your scripts to check https://launchermeta.mojang.com/mc/game/version_manifest.json instead. Thanks <3 --Dinnerbone",

Looks like we need to update the URL and possibly the parsing since they added a url to each version.
  "versions":[
    {
      "id":"1.9-pre1",
      "type":"snapshot",
      "time":"2016-02-17T15:24:11+00:00",
      "releaseTime":"2016-02-17T15:23:19+00:00",
      "url":"https://launchermeta.mojang.com/mc/game/6768033e216468247bd031a0a2d9876d79818f8f/1.9-pre1.json"
    },
    {
      "id":"16w07b",
      "type":"snapshot",
      "time":"2016-02-16T15:23:33+00:00",
      "releaseTime":"2016-02-16T15:22:39+00:00",
      "url":"https://launchermeta.mojang.com/mc/game/6768033e216468247bd031a0a2d9876d79818f8f/16w07b.json"
    },

Nice find.  I'll take a look at the differences between files and come up with a patch when I have some time.

The only difference seems to be the addition of the url for each version. I hope they don't retire the method we use to download the client and server jars as well.

It looks like we are going to need to use a real json parser to update to the URL.  I'm currently looking at the JSON package that I already had installed via the package libjson-perl.

The following code works with both files when checking the latest version:
perl -0777ne 'use JSON; $json = decode_json ($_); print $json->{latest}{release};' versions.json

I'll check the other places where the versions.json file is read and update this comment.
The nice thing about using the JSON library instead of a regex is that the code becomes much more readable, which is always nice.

Nice, do you think you can also use this library to output the server info for the query-json command and the tellraw command in the overviewer() function

The library also has a method called encode_json, so yeah.  Although I'm not sure how useful it would be to bring Perl into the equation for the query-json and tellraw command in the overviewer function.  The current text would have to be converted into a Perl data structure.

Ah, makes sense. I think for more complex output it would be useful, like for REST services. I still need to write up a REST issue sometime.

The two regex were replaced with code similar to the comment above with commit 1c11172aa9f891b6638fb82706c08ea4411c27da.  The new URL is now used with commit 5d43ae8d0ec4353c67d1e453d94766dd839204cd.  Issue closed.

Does the required software list need to be updated to add libjson-perl for those systems that may not already have it?

README was updated.  Did I miss somewhere else?

Ah, I didn't see README.md in the commit log, my bad.


Fix some options in more-info dialogs after Home Assistant 2023.12.1

This pull request fixes the next options that got broken after Home Assistant version 2023.12.0:

hide_dialog_attributes
hide_dialog_timer_actions
hide_dialog_media_actions
hide_dialog_update_actions
hide_dialog_climate_actions
hide_dialog_climate_temperature_actions
hide_dialog_climate_settings_actions

A condition has been introduced to keep supporting Home Assistant installations prior to this update.

Note:
With this update, the support for the next options have been removed for installations prior to 2023.9.x:

hide_dialog_climate_actions
hide_dialog_climate_settings_actions
hide_dialog_climate_temperature_actions

Closes: #149

@NemesisRE,
For the release, it would be good to edit the body of the release and add the note above, so users that have not updated to 2023.9.x refrain themselves from updating the plugin.


OMNIS-BIT

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

OMNIS-BIT is the token that brings everyone closer to the cryptocurrencies' world with its services.

Is this contract address for image 0x3123ff80cbdfd35577628a41ff50598cefc2d236 ?

Yes! Thank you!
Il giorno gio 14 mar 2019 alle 8:11 PM Mykola<EMAIL_ADDRESS>ha
scritto:

Is this contract address for image
0x3123ff80cbdfd35577628a41ff50598cefc2d236 ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TrustWallet/tokens/pull/1258#issuecomment-473018092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ath0O92bqlyKDcof39miBXNJjBd3ghW9ks5vWp7VgaJpZM4b0_Vs
.

Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwallet.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


Issue Compiling using LibEvHandler specifically Watcher

I am trying to compile an example using AMQP::LibEvHandler; but, I am running into trouble.
Compiling: pthread, C++ 11, g++ 5.4.0
Specifically I am trying to initialize it by:
AQMP::LibEvHandler handler = AMQP::LibEvHandler(&loop);
I have attached the error report.
error.txt

This is a beginners C++ question, not at all related to AMQP-CPP.


e2e: Add testing for erasure coded pools

Verify if basic csi features work with a pvc created via an erasure-coded pool.
Also, add helper functions in e2e to allow
the creation of erasure-coded pools.
Updates: #2566

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

/retest ci/centos/mini-e2e/k8s-1.21

/retest ci/centos/mini-e2e/k8s-1.22

/retest ci/centos/k8s-e2e-external-storage/1.21

/retest ci/centos/mini-e2e-helm/k8s-1.21

/retest ci/centos/upgrade-tests-cephfs

/retest ci/centos/mini-e2e/k8s-1.21

/retest ci/centos/mini-e2e/k8s-1.21

@Mergifyio rebase

@mergifyio rebase

@Mergifyio rebase

@Mergifyio rebase

just some nits, nothing critical that blocks it from my POV

Thanks for the suggestions @nixpanic ! Updated now

/retest ci/centos/mini-e2e/k8s-1.20


The Labels title is displayed twice in the Host labels page

Summary
Remove one of the duplicate title.
Before:

After:

Fixes #
https://github.com/harvester/harvester/issues/5973
Occurred changes and/or fixed issues
Remove the useless :title property which is responsible for the duplicate title.

@mergify backport release-harvester-v1.2 release-harvester-v1.3


How to send ICMP package

If I want to send ICMP packages, what should I do? I am a new user in network programming with Haskell.

Hi,
sending ICMP is not that easy and it depends on what exactly you're trying to do.
You need raw sockets (supported by the library) and assemble the ICMP packets yourself.
Note that a regular user is not allowed to do this by default (at least on Linux) and your process needs the right capability set (see http://unixetc.co.uk/2016/05/30/linux-capabilities-and-ping/ and https://stackoverflow.com/questions/8290046/icmp-sockets-linux).
If you want to use IPPROTO_ICMP (not part of the library) it might make sense to write a separate extension package for this (e.g. socket-icmp).

en... Can I just define a type name ICMP, instance type-class Protocol, assemble the ICMP packets, and send it with method send, will that work? Or I need just use type Default, and send packages?


Deprecate legacy_custom_rules

Deprecates use of legacy_custom_rules.
Gets rid of related unused bits:

iris.fileformats.grib._load_rules
iris.fileformats.pp._load_rules
iris.fileformats.pp._ensure_load_rules_loaded

I've added this to the 1.9 milestone to make sure we get the deprecation out before 2.0. Does that seem reasonable?

@rhattersley  I've added this to the 1.9 milestone ... Does that seem reasonable?

Absolutely.
Could we not do more, though?
We still have supported (but essentially unused) functions for handling text rules
i.e. pp.add_save_rules + pp.reset_save_rules.
If we deprecated all  this stuff, I think we are then free to reimplement the pp save rules + remove all the text rules legacy ?

Could we not do more, though?

Absolutely. :wink:
But I'd prefer to chip away at it in multiple PRs.

If we deprecated all this stuff, I think we are then free to reimplement the pp save rules + remove all the text rules legacy ?

:+1:
NB. Just because we've deprecated something doesn't mean we have to remove in v2.0, so we're not committing ourselves to anything.

Just because we've deprecated something doesn't mean we have to remove in v2.0, so we're not committing ourselves to anything.

No, but we need to move sharp if we want to leave the option open.

Indeed. Are you going to put up a PR for the deprecations you suggest then?

@pp-mo - I've rebased to get rid of the #1837 problem (and snuck in some tests while I was at it!). All tests pass. :smile:

Good for me :-)


Fix javadoc devel

Codecov Report

Merging #412 into master will decrease coverage by -34.78%.
The diff coverage is n/a.

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


Improved events query.

PT-797 Removed pEvent and venue fields (but left an id and nextOccurrenceDatetime) to much improve the events query. Single event query is unchanged.
API changes done in https://github.com/City-of-Helsinki/palvelutarjotin/pull/129.

I first had changes to 1 query file only. It passed testing and linter on my machine, but Github was more demanding :) Needed to add typing here and there.

Pull request https://github.com/City-of-Helsinki/palvelutarjotin-ui/pull/80 might overlap with this quite badly. This branch should be checked against it.

In a refinement session it was said that this PR needs to be deployed this week before the next week's demo session.


Add tests to apartment data model

Add tests to check apartment creation and data retrieval from DB.

This was done in #72


deleted redundant placeholder

was already documented at this path: content/rancher/v2.x/en/concepts/volumes/_index.md (now renamed /volumes-and-storage/)


I installed flutter SDK but I can not find the flutter sdk path

Steps to Reproduce

I can`t open the flutter_console.bat in my computer.
I installed the flutter SDK using git or in the flutter dev website, but both of them I couldn`t find the path of flutter sdk in Android studio
Also reinstalled all of them(Android studio, flutter sdk), but I still I can not find the path.
I set the system variable path but it didn`t work
Finally in my console "flutter doctor" is not working

Logs

Logs

@onlyformestudy
This seems to be an issue with your setup rather than issue with Flutter framework. Please consider asking this question on Stackover flow. Please see https://flutter.dev/community for resources.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Cannot revert Configuration file option to "Application Configuration File"

In View > Options, the option "Configuration File for Settings and Connection Strings" defaults to "Application Configuration File" (I think). At some point, I set it to "Both (User file will override)", and now I can't set it back.
I'll open View > Options, switch it to "Application Configuration File", hit Save, and hit OK. If I re-open View > Options in the same program session, it'll still be set to "Application Configuration File". But if I exit Service Bus Explorer and restart it, the log says "The files C:\Users...\UserSettings.config and C:\ProgramData\chocolatey...\ServiceBusExplorer.exe.Config are used for the configuration settings.", and in View > Options, it is back to "Both (user file will override)".
This is Service Bus Explorer version 4.1.113 on Windows 10. SBE is installed via chocolatey. I have uninstalled and reinstalled SBE, and it didn't make a difference.

Looks related to https://github.com/paolosalvatori/ServiceBusExplorer/issues/280.

Good catch! It seems that Service Bus Explorer does not update the user configuration file which it would have to. Meanwhile to workaround this delete the line  from the User configuration file.

The workaround worked. Thanks!


Added Erik Serrano bio under _members folder

Hey @gwaygenomics I added my bio into the _members folder. Take a look

@gwaybio  added changes to my bio.

@gwaybio addressed all suggestions!


Update extension-file-operations.go

fix:
Unable to find delete route

thanks for that fix, I missed it while removing gorilla mux


SaveAs or Save results in empty file when using Opera Browser

How to reproduce

Open new draw using the opera browser.
Draw some retangles
Press "save" and store .excalidraw to desktop
File on desktop now as 0 bytes

What happens

I get an empty .excalidraw file

What I expected to happen

File on desktop with the  contents, containing information about the drawing.

Also, but don't know if has anything todo with it

Getting JS errors
DOMException: The request is not allowed by the user agent or the platform in the current context.

Duplicate of https://github.com/excalidraw/excalidraw/issues/2312 — it's caused by Opera itself and how she handles security around the FS API.
We're spread pretty thin right now and can't debug every browser on the market. I suggest you open an issue on their forum, linking to this issue.

Ah right, couldn't find that issue. Well, maybe others can find it now, using Chrome for now.
Guess this one can be closed as well then


when import backup nodes, they cannot drag and edit

vue demo ;  when import backup nodes, they cannot drag and edit

ps:
export data to db
import JSON.parse(node_data)


array.item() not defined on ShapedArray (defined on jnp.array)

This also does not work under jax.grad and other transformations.
It should be very easy to fix.
import jax

def test(x):
    return x.item()

test(jax.numpy.ones(1))
# 1.0
>>> jax.jit(test)(jax.numpy.ones(1))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/api.py", line 424, in cache_miss
    out_flat = xla.xla_call(
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/core.py", line 1661, in bind
    return call_bind(self, fun, *args, **params)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/core.py", line 1652, in call_bind
    outs = primitive.process(top_trace, fun, tracers, params)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/core.py", line 1664, in process
    return trace.process_call(self, fun, tracers, params)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/core.py", line 633, in process_call
    return primitive.impl(f, *tracers, **params)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/dispatch.py", line 128, in _xla_call_impl
    compiled_fun = _xla_callable(fun, device, backend, name, donated_invars,
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/linear_util.py", line 263, in memoized_fun
    ans = call(fun, *args)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/dispatch.py", line 155, in _xla_callable_uncached
    return lower_xla_callable(fun, device, backend, name, donated_invars,
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/profiler.py", line 206, in wrapper
    return func(*args, **kwargs)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/dispatch.py", line 169, in lower_xla_callable
    jaxpr, out_avals, consts = pe.trace_to_jaxpr_final(
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/_src/profiler.py", line 206, in wrapper
    return func(*args, **kwargs)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/interpreters/partial_eval.py", line 1566, in trace_to_jaxpr_final
    jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(fun, main, in_avals)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/interpreters/partial_eval.py", line 1543, in trace_to_subjaxpr_dynamic
    ans = fun.call_wrapped(*in_tracers)
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/linear_util.py", line 166, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))
  File "<stdin>", line 2, in test
  File "/home/filippovicentini/Documents/pythonenvs/netket_env/lib64/python3.8/site-packages/jax/core.py", line 574, in __getattr__
    attr = getattr(self.aval, name)
jax._src.traceback_util.UnfilteredStackTrace: AttributeError: 'ShapedArray' object has no attribute 'item'

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 2, in test
AttributeError: 'ShapedArray' object has no attribute 'item'

This seems reasonable to me – item() returns a Python scalar containing the value in the array. Traced arrays are abstract, and thus the value cannot be accessed. Maybe a more explicit error would be clearer?

Ah!
I just wanted to get a scalar ()- shaped numpy array and this looked like an easy way to do that

Ok, this is a bug of my brain, not of jax.
Sorry.


Fix spelling of StatevectorSampler import in API doc.

Just a minor fix for the import of StatevectorSampler in the docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
18 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 89.309%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.81%

crates/qasm2/src/lex.rs
5
92.19%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
59141

Relevant Lines:
66221

💛  - Coveralls


A Caprover Playground Deployment was inaccessible temporarily

The issue
A Threefold user had troubled connecting by SSH to a 3node with a Caprover instance.
The issue was fixed by doing nothing, simply waiting for it to resolve.
The user still wonders how that could have happened.
The information are available on this TF Forum post (JSON file and more).
Let me know if more information is needed.

Transferring to test_feedback, since we don't know if the issue is in the weblet.
Some pertinent information from the users report. The error they saw while attempting to SSH was:
ssh: connect to host <IP_ADDRESS> port 22: Connection refused

They also report some timeouts on the web services from Caprover and the WordPress instance deployed inside (at least one worked, others didn't).
Node id: 3010
The closest issue I could find is here, which was apparently a memory error. It looks like the deployer is also the farmer in this case. I suspect some kind of temporary failure in the node could be responsible.
Any insights on this one, @coesensbert?


Carthage ?

not supply ? when ?

Carthage should allready be supported. What kind of error you get?

Sorry !
you readme not description ! please close this issues !

Sorry!
you readme   not  description   thanks !


map option for map[XY]

Fixes #479.
My first take was to support Plot.normalizeX(basis, options) and Plot.normalizeY(basis, options). While that’s more consistent with Plot.mapX(map, options) and Plot.mapY(map, options), it’s not consistent with Plot.windowX(options) and Plot.windowY(options). So, I then decided it would be better to standardize on Plot.mapX(options) and Plot.mapY(options), and only use the two-argument form when you want to declare the output channels explicitly (e.g., Plot.map, Plot.group, and Plot.bin).
For backwards-compatibility we can continue to support the old form of Plot.mapX and Plot.mapY, but I consider it deprecated and removed it from the documentation.

We need to maintain backwards-compatibility for Observable until we ship version pinning. Otherwise notebooks will upgrade and break.
Also, I’ve realized that the pattern in this PR is inconsistent with the pattern I proposed for basic transforms in #472, so I want to think about how to resolve this discrepancy before landing.

Closing in favor of #494.


index out of bounds in Tabs

if Tabs is used as the root element the program will panic with an out of bounds index (on an empty Tree).
unless a different element has been displayed before (like a loading screen).
thread 'main' panicked at [..]\iced_aw\src\native\tabs.rs:315:22:
index out of bounds: the len is 0 but the index is 1

thats in diff() in impl Widget for Tabs, but there are more functions effected by this
if Tabs is put in a column for example this does not happen. wrapping it in a container still crashes tho.
i dont know how to best address this, i tried to handle the empty case in all the functions that use it, but that resulted in the tab contents not showing.

can you give the tabs_fix branch a try and see if it still errors?

ok then i fixed those. my compiler is not working ATM so it wasn't displaying the errors.

there is still an ! in that if that should not be there, but without that it works (did some more tests with&without wrapping elements & loading screens, all work)
Index: src/native/tabs.rs
@@ -314,3 +314,3 @@
     fn diff(&self, tree: &mut Tree) {
-        if !tree.children.is_empty() {
+        if tree.children.is_empty() {
             let tabs = Tree {

cannot speak for the modal changes, that have made there way into that branch, tho
but im wondering, is there a possibility for tree to only have 1 element? if so a checking len() != 2 might be better?
or could tree have 2 or more elements that are however not the tab children?

this is now fixed in the last PR #218


[BUG REPORT] Bark TTS stuck on 100% but no file is created

Describe the bug
A clear and concise description of what the bug is.
Doesnt complete inference, it stays on 100%
To Reproduce
Steps to reproduce the behavior:
Use Bark TTS, add text, using strict long
Expected behavior
A clear and concise description of what you expected to happen.
Finishes and produces file
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Does it say anything in the console?

Does it say anything in the console?

No there was nothing anywhere, the UI kept running but nothing was produced.
I did get it running later but the result was terrible that resulted in this sort of output "weeeeeee aarrrrrrrrrrrrrrreee goooooooooooinggggggg" with a load of noise too.

You might have had a bad prompt if that was the output, bark can have issues when the prompt is too short.


added e2e test to manager

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed

please update the title to be about "redirect routing rule"

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed


Flexvolume-driver logs a very high volume of INFO messages

Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT

Versions
CCM Version:
0.10.0
Environment:

Kubernetes version (use kubectl version):
1.15.6
OS (e.g. from /etc/os-release):
Oracle Linux Server 7.6
Kernel (e.g. uname -a):
4.14.35-1844.1.3.el7uek.x86_64
Others:

What happened?
I believe that oci-flexvolume-driver outputs a very high amount of logs, volume of which I would consider highly abnormal.
I think it's on average around 800-1500 log lines per minute per container, which is a lot.
Actually, oci-flexvolume-driver is by far the most "verbose" pod in my clusters, even on the default INFO level logging.
The actual contents of the logs are quite useless too (at a glance) - basically stuff like this many times per second
2020-12-31T16:18:58.758Z	INFO	client/utils.go:94	OCI using read rate limit configuration: QPS=20, bucket=5	{"pid": 26571, "version": "", "build": "", "command": "init"}

2020-12-31T16:18:58.758Z	INFO	client/utils.go:98	OCI using write rate limit configuration: QPS=20, bucket=5	{"pid": 26571, "version": "", "build": "", "command": "init"}

2020-12-31T16:18:58.775Z	INFO	metadata/instance_metadata.go:87	Metadata endpoint /opc/v2/instance/ returned response successfully

2020-12-31T16:18:58.776Z	INFO	metadata/instance_metadata.go:87	Metadata endpoint /opc/v2/instance/ returned response successfully

What you expected to happen?
I would be happier if oci-flexvolume-driver didn't output that many logs, or at least allowed me to reduce this verbosity.
How to reproduce it (as minimally and precisely as possible)?
I think this is the standard behavior of oci-flexvolume-driver on any environment, so it should be easy to reproduce
Anything else we need to know?
I think it's also worth investigating why the "init" operation happens so frequently - I don't have much knowledge into this stuff, but it seems quite unnatural.

Will look into it.