Induction not correct for List(A) when replacement of type A is done.

After
  import TLImplicits._
  import shapeless._
  val A = "A" :: Type
  val B = "B" :: Type
  val a = "a" :: A
  val a1 = "a1" :: A
  val b = "b" :: B

  val Nat = "Nat" :: Type
  val n = "n" :: Nat
  val m = "m" :: Nat
  val NatInd = ("0" ::: Nat) |: ("succ" ::: Nat -->>: Nat) =: Nat
  val zero :: succ :: HNil = NatInd.intros
  val one = succ(zero)
  val two = succ(one)
  val three = succ(two)

  val recNNN = NatInd.rec(Nat ->: Nat)
  val addn ="add(n)" :: Nat ->: Nat
  val add = recNNN(m :-> m)(n :-> (addn :-> (m :-> succ(addn(m)) )))

  val Bool = "Boolean" :: Type
  val bool = "b" :: Bool
  val BoolInd = ("true" ::: Bool) |: ("false" ::: Bool) =: Bool
  val tru :: fls :: HNil = BoolInd.intros
  val recBoolBool = BoolInd.rec(Bool)
  val not = recBoolBool(fls)(tru)
  val recBoolAAA = BoolInd.rec(A ->: A ->: A)
  val ifElse = A :~> recBoolAAA(a :-> (a1 :-> a))(a :-> (a1 :-> a1))

  val recNatBool = NatInd.rec(Bool)
  val isEven = recNatBool(tru)(n :-> (bool :-> not(bool)))

  val List = "List" :: Type ->: Type
  val ListInd = ("nil" ::: A ~>>: (List -> List(A))) |: ("cons" ::: A ~>>: (A ->>: (List :> List(A)) -->>: (List -> List(A)) )) =:: List
  val nil :: cons :: HNil = ListInd.intros
  val list = cons(Nat)(zero)(cons(Nat)(one)(cons(Nat)(two)(nil(Nat))))

  val recLALB = ListInd.rec(List(B))
  val f = "f" :: A ->: B
  val as = "as" :: List(A)
  val as1 = "as1" :: List(A)
  val bs = "bs" :: List(B)
  val mapf = recLALB(A :-> nil(B))(A :~> (a :-> (as :-> (bs :-> cons(B)(f(a))(bs) ))))
  val map = A :~> (B :~> (f :-> mapf(A)))

map(Nat)(Nat)(succ)(list).fansi produces cons(Nat)(f(0))(cons(Nat)(f(succ(0)))(cons(Nat)(f(succ(succ(0))))(nil(Nat)))) rather than cons(Nat)(succ(0))(cons(Nat)(succ(succ(0)))(cons(Nat)(succ(succ(succ(0))))(nil(Nat))))
After
  val indLALA = ListInd.induc(A :~> (as :-> List(A)))
  val p = "p" :: A ->: Bool
  val filterp = indLALA(A :~> nil(A))(A :~> (a :-> (as :-> (as1 :-> ifElse(List(A))(p(a))(cons(A)(a)(as1))(as1) ))))
  val filter = A :~> (p :-> filterp(A))

filter(Nat)(isEven)(list).fansi produces (((<function1>) ((p : ((Nat : 𝒰 _0) → (Boolean : 𝒰 _0))) (0 : (Nat : 𝒰 _0)) : (Boolean : 𝒰 _0)) : (((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0) → (((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0) → ((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0)))) ((((cons : ($i : 𝒰 _0 ~> ($i : 𝒰 _0) → (((List : ((𝒰 _0) → (𝒰 _0))) ($i : 𝒰 _0) : 𝒰 _0) → ((List : ((𝒰 _0) → (𝒰 _0))) ($i : 𝒰 _0) : 𝒰 _0)))) (Nat : 𝒰 _0) : ((Nat : 𝒰 _0) → (((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0) → ((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0)))) (0 : (Nat : 𝒰 _0)) : (((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0) → ((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0))) ((((<function1>) ((p : ((Nat : 𝒰 _0) → (Boolean : 𝒰 _0))) ((succ : ((Nat : 𝒰 _0) → (Nat : 𝒰 _0))) (0 : (Nat : 𝒰 _0)) : (Nat : 𝒰 _0)) : (Boolean : 𝒰 _0)) : (((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _0) : 𝒰 _0) → (((List : ((𝒰 _0) → (𝒰 _0))) (Nat : 𝒰 _... rather than cons(Nat)(zero)(cons(Nat)(two)(nil(Nat)))
After
  val opBAB = "op" :: B ->: A ->: B
  val seed = "seed" :: B
  val fbb = "f" :: B ->: B
  val recLABB = ListInd.rec(B ->: B)
  val foldlop = recLABB(A :-> (seed :-> seed))(A :~> (a :-> (as :-> (fbb :-> (seed :-> fbb(opBAB(seed)(a)) )))))
  val foldl = B :~> (A :~> (opBAB :-> (seed :-> foldlop(A))))

foldl(Nat)(Nat)(add)(zero)(list).fansi produces (seed : Nat) ↦ op(op(op(seed)(0))(succ(0)))(succ(succ(0))) rather than succ(succ(succ(0)))
After
  val recLAB = ListInd.rec(B)
  val opABB = "op" :: A ->: B ->: B
  val foldrop = recLAB(A :-> seed)(A :~> (a :-> (as :-> (b :-> opABB(a)(b) ))))
  val foldr = A :~> (B :~> (opABB :-> (seed :-> foldrop(A))))

foldr(Nat)(Nat)(add)(zero)(list).fansi produces op(0)(op(succ(0))(op(succ(succ(0)))(0))) rather than succ(succ(succ(0)))

This seems to be a problem with the actual induction code, not .fansi (even the expanded form in map(Nat)(Nat)(succ)(list)  has f in the expression, but all instances should be replaced by succ. Looks as if some nested replace is not going deep enough.

There is already some problem with substitution of the introduction rules, e.g., with the list example above.
(A :~> (a :-> (as :-> (bs :-> cons(B)(g(a))(bs) )))).replace(g, f).fansi
res77: String = "(A : 𝒰 ) ↦ (a : A) ↦ (as : List(A)) ↦ (bs : List(B)) ↦ cons(B)(g(a))(bs)"

we should have f in plave of g in the result.
On the other hand, as expected:
( (a :-> (as :-> (bs :-> cons(B)(g(a))(bs) )))).replace(g, f).fansi
res80: String = "(a : A) ↦ (as : List(A)) ↦ (bs : List(B)) ↦ cons(B)(f(a))(bs)"

The above is actually expected behaviour, as A gets replaced by A.newobj so g is also changed in the closure of this. This seems to be the behaviour in all the examples, where f. op etc are used in a lambda and one defines a lambda in terms of these.
It appears the correct way would be to define, for example
val f = "f" :: A ~>: (B ~>:(A ->: B)))

and then use f(A)(B) etc while making definitions. I have not tested this.

Yes, with last changes this works. Thanks.

Thanks a lot. You are now the expert on working concretely with my HoTT
implementation (ahead of me). As usual, pull requests are gratefully
accepted.
best regards,
Siddhartha
On Tue, Feb 28, 2017 at 4:22 PM Dmytro Mitin<EMAIL_ADDRESS>wrote:

Yes, with last changes this works. Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/siddhartha-gadgil/ProvingGround/issues/113#issuecomment-283007662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADatpJsrJwZPAMyLMMCL-8zvFrjDZ5xlks5rg_xPgaJpZM4MMDfv
.


Auto-install command invoker

After installing riff users should have at least one working invoker.
This includes:

adding invoker code

updating CLI descriptions to refer to a command rather than node example

updating Helm chart to install the invoker - investigate using two charts, one for the CRDs and one for the rest, also investigate using a post-install hook to create the invoker after the CRD has been created

This issue has gone stale, we're on Knative now! Please reopen if still relevant.


[KED-2896] Continuously validate graphql structure against the main schema

Description
Jira ticket - https://jira.quantumblack.com/browse/KED-2896
Development notes
We are using this package to compare differences between schema - https://github.com/Ambro17/graphql-schema-diff
It also has a very good cli view when schema don't match and what needs to be added/removed to make sure the schemas are aligned.
NOTE -  i had to make some changes to the Apollo schema like runIDs to runIds because on the BE run_IDs is not correct python style. Also had to add some '!' to highlight the need of the fields as they are not optional on BE.
QA notes

Checklist

[ ] Read the contributing guidelines
[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added new entries to the RELEASE.md file
[x] Added tests to cover my changes

The changes on the schema.graphql file looks good to me.
one thing to note: the schema outlined in schema.graphql file should always be consistent with that outlined in schema.js for the dev server ( schema.graphql is extracted from this file); please update schema.js with the proposed changes inschema.graphql so that the graphql dev server aligns with the latest schema.
Thank you 😊

@studioswong I was going to write this same comment! Then I poked around a bit and it seemed to me that this file isn't actually being used anywhere. Is that true? I can't find an instance of where it's used.

@studioswong I was going to write this same comment! Then I poked around a bit and it seemed to me that this file isn't actually being used anywhere. Is that true? I can't find an instance of where it's used.

Great question - I've responded to your question on slack but pasting it here again for reference:
"schema.js was set up as part of the mock server initially where it will be consumed as a  schemaLink within the apollo client to be validated within the mock server - this has been changed to use a typical HttpLink since we migrated to integrate with the real API hence it does not seem to be conusmed in the codebase. That said, this file is kept to give us the flexibility in case we hope to validate and test the schema on a local mock server if needed, and should be kept up to date with schema.graphql as a source of truth - I can further supplement this intent in a comment in a future PR."


Improve MathML for environments

This PR improves the MathML of array environments. Specifically, it improves

row spacing
column spacing
column alignment
vertical lines in {array} environments
horizontal lines from \hline and \hdashline.

To aid review, I have changed the page at webmathcomparison.net so that it runs a version of KaTeX that includes this PR.

Codecov Report

Merging #1910 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1910      +/-   ##
==========================================
+ Coverage   94.77%   94.82%   +0.05%
==========================================
  Files          79       79
  Lines        4670     4716      +46
  Branches      813      830      +17
==========================================
+ Hits         4426     4472      +46
  Misses        220      220
  Partials       24       24

Flag
Coverage Δ

#screenshotter
89.06% <100%> (+0.11%)
:arrow_up:

#test
85.94% <2.12%> (-0.83%)
:arrow_down:

Impacted Files
Coverage Δ

src/environments/array.js
98.57% <100%> (+0.27%)
:arrow_up:

Continue to review full report at Codecov.

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

The most recent commit pick ups the review comments.

@ronkok Thank you for your hard work! 😄

@ylemkimon  Thank you for the valuable reviews!


Advanced Permission Combinations by Per Content & Getting All Allowed Contents

Hi,
I've been trying to develop an internal staff portal for our company. There are departments, job grades, working areas, roles (user, editor, admin, super admin, etc...) and special groups (executives, etc) for user grouping.
User must have one (only one) department. User must have one (only one) job grades. User must work in minimum one area. User must have one (only one) roles. User may have one or more special groups.
Job grades and roles are hierarchical (an grade or role may be inherited of another one) but other ones not.
Users will see only allowed menus and access permitted routes.
User will also select which users can view it when posting a new content.
e.g:
Combination 1: (IT or Finance department) and (Job Grade is one of 9,10,11) and (Area is one of 1,5,8) and (Exclusive special group is one of 1,5,8) except user id=1
Combination 2: (HR department) and (Job Grade is 11) and user_id=3,4,5
Combinations can be related as AND/OR among themselves like Combination 1 AND combination 2
So, there will be lots of contents and every content will have different group permissions. I try to create a DB schema but it's very hard to get all contents that is visible to logged in user. Serialized data would be good for saving combination sets in db but it looks like impossible to get all contents for a user with it. How can i save combinations of group/user permissions in tables also?
Can your laravel-authentication-acl package meets my needs or what do you suggest for my issue?
Thanks.

Sorry the package for now don't allow that settings.


Truman Larval Flip-Out Collection is listed twice in 'List all datasets aligned to L3 CNS template - Wood2018' query

Listed once with 'unlicensed' and once with 'CC-BY-SA_4.0'. Data itself does not appear to be duplicated, and the dataset only appears once when directly searched for.

Support info:
Wed May 20 2020 12:01:21 GMT 0100 (British Summer Time)
Chrome 81.0.4044.138 [857,714]
http://v2-dev2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00049000&i=VFB_00049000
+ Adding L3 CNS template - Wood2018 to 1
+ Passing instance: VFB_00049000_slices
+ Buffered 18000 tiles
+ Query requested: alignedDatasets L3 CNS template - Wood2018
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles

This  is  an  artefact of  the current  pipeline.   It will be  fixed when we switch to the new (v2) pipeline in the summer.  I'm not sure it's worth the effort to find a  way to fix before then.


EOF when doing pachctl list file

Raanan Hadar 4/8/2020 3:29 pm
I encountered a weird bug in azure that I wanted to share, luckily the reproduction is relatively simple.
---
Ticket created from a Slack message by John Karabaic (he/him) in #users.

John Karabaic 4/8/2020 3:30 pm (private)
I have an input repo with videos and a simple '/*' pipeline where i take each video and save its frames as output using opencv.

Note added from a Slack message by John Karabaic (he/him<EMAIL_ADDRESS>in #users.

John Karabaic 4/8/2020 3:30 pm (private)
```import cv2
import os
this version is fine
def video_to_frames(video):
cap = cv2.VideoCapture(video)
video_name, ext = os.path.splitext(os.path.split(video)[1])
success = True
i = 0
while success:
success, frame = cap.read()
dest_path = os.path.join("/pfs/out", video_name + '_' + str(i)+'.jpg')
cv2.imwrite(dest_path,frame)
print("wrote frame:", str(i), "to:", dest_path)
i += 1
cap.release()
this version produces EOFs on Azure
def video_to_frames(video):
cap = cv2.VideoCapture(video)
video_name, ext = os.path.splitext(os.path.split(video)[1])
os.mkdir(os.path.join("/pfs/out", video_name))
success = True
i = 0
while success:
success, frame = cap.read()
dest_path = os.path.join("/pfs/out", video_name, str(i)+'.jpg')
cv2.imwrite(dest_path,frame)
print("wrote frame:", str(i), "to:", dest_path)
i += 1
cap.release()
for dirpath, dirs, files in os.walk("/pfs/in_repo"):
for file in files:
video_to_frames(os.path.join(dirpath, file))```

Note added from a Slack message by John Karabaic (he/him<EMAIL_ADDRESS>in #users.

John Karabaic 4/8/2020 3:30 pm (private)
just to clarify, i'm not seeing the EOF in the logs, i'm seeing it when doing a pachctl list file

Note added from a Slack message by John Karabaic (he/him<EMAIL_ADDRESS>in #users.

John Karabaic 4/8/2020 3:31 pm (private)
i see many "ERROR PPS master: error retrieving RC for "vid2frame": RC not found; retrying in 648.595633ms"

Note added from a Slack message by John Karabaic (he/him<EMAIL_ADDRESS>in #users.

John Karabaic 4/8/2020 3:31 pm (private)
and when i list the files i see

Note added from a Slack message by John Karabaic (he/him<EMAIL_ADDRESS>in #users.

John Karabaic 4/8/2020 3:31 pm (private)
ERROR pfs.API.ListFileStream {"duration":0.062201601,"error":"unexpected EOF","request":{"file":{"commit":{"repo":{"name":"vid2frame"},"id":"d5ee1ea618994272ac6c35efce997622"},"path":"/data"}},"response":"response stream with 436 objects"} []

Note added from a Slack message by John Karabaic (he/him<EMAIL_ADDRESS>in #users.
gz#16

Just to update on something interesting. I tried creating a pipeline that performs a groupby operation on the results of the above pipeline that is 'fine'. The pipeline performs an empty_files: true shuffle operation by creating a symlink to directories having the original movie names. The Job itself fails with unexpected EOF. I believe this is related but may allow to isolate the problem better.
If needed, I can provide you with the data a code to reproduce everything.

So just to update on my personal journey with this.
I reinstalled Pachyderm on AKS using minio azure S3 gateway feature to mask for Azure lack of compliance with S3. Using the same storage account as before, the former pipeline seems to be working now so far. I will keep you updated if this returns, but the current install instruction on azure are broken for me at least.
I am documenting here some yaml files which I wrote for deploying minio with azure gateway functionality inside aks, because these files are not in the official minio docs don't have any yaml files for this scenario, I assume that many azure users can benefit from them:
Here is the minio deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
  # This name uniquely identifies the Deployment
  name: minio-gw
spec:
  selector:
    matchLabels:
      app: minio # has to match .spec.template.metadata.labels
  strategy:
    # Specifies the strategy used to replace old Pods by new ones
    # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
    type: Recreate
  template:
    metadata:
      labels:
        # This label is used as a selector in Service definition
        app: minio
    spec:
      containers:
      - name: minio
        # Pulls the lastest Minio image from Docker Hub
        image: minio/minio:RELEASE.2020-04-15T19-42-18Z
        args:
        - gateway
        - azure
        env:
        # MinIO access key and secret key
        - name: MINIO_ACCESS_KEY
          value: <your_access_key_goes_here>
        - name: MINIO_SECRET_KEY
          value: <your_secret_key_goes_here>
        ports:
        - containerPort: 9000
        # Readiness probe detects situations when MinIO server instance
        # is not ready to accept traffic. Kubernetes doesn't forward
        # traffic to the pod while readiness checks fail.
        readinessProbe:
          httpGet:
            path: /minio/health/ready
            port: 9000
          initialDelaySeconds: 120
          periodSeconds: 20
        # Liveness probe detects situations where MinIO server instance
        # is not working properly and needs restart. Kubernetes automatically
        # restarts the pods if liveness checks fail.
        livenessProbe:
          httpGet:
            path: /minio/health/live
            port: 9000
          initialDelaySeconds: 120
          periodSeconds: 20

and the service:
apiVersion: v1
kind: Service
metadata:
  name: minio-service
spec:
  ports:
    - port: 9000
      targetPort: 9000
      protocol: TCP
  selector:
    app: minio

And I deployed pachyderm using the custom deploy:

use the following pachctl deploy command:

pachctl deploy custom --persistent-disk aws --object-store s3 foobar 10 <pachyderm_bucket_name>  'your_access_key_goes_here' 'your_secret_key_goes_here' 'http://minio-service:9000' --dynamic-etcd-nodes 1 --local-roles --output yaml --dry-run > custom_deploy.yaml

I changed the storage class in the custom_deploy.yaml file to 'managed-premium' which will properly allocated a dynamic persistent volume in your AKS cluster.

@nitinjainsj I have a cluster set up where I can reproduce this issue. @ me for info.

Agent comment from John Karabaic in Zendesk ticket #16:Hi, Raanan,
This was fixed in 1.10.3.  Can you confirm the fix on your side?

Will do.

Agent comment from Raanan Hadar in Zendesk ticket #16:hi, will set up an extra cluster and test this on my env. will update soon.

Agent comment from Raanan Hadar in Zendesk ticket #16:As I noted in the github issue, I tested this and it was indeed solved in 1.10.3 !


Explicitly export dependency to netty towards jbossws testsuite to be…

… sure Artemis client ends up using the same version that's in the container

@rhusar JBEAP-7438, added after opening up the PR due to Kabir's requiring it. If you want to spam jira even more with a WFLY or JBWS jira for this, I can create another one :-)

I would just link the original Jira this corresponds to then.


Removing everything in url after "#a" creates undefined measures

I wasn't able to recreate this


Update Kind and its image versions in gates

Description
It updates Kind from v0.17.0 to v0.22.0 and the hardcoded v1.23.13 images to v1.23.17.
Issues:
Refs: #1886

@HashNuke @taylor et al. Could you please trigger workflow to see what to do next here ?

Once we get our published release working on merges, we can test this and push it through if there are no issues verifying and testing.

I triggered a build earlier today. I see issues in the build about not being able to get a login shell. My hunch is this is happening because the image used is based on distroless, so we might have to identify a version of the kind k8s image that isn't using distroless.

@collivier  Could you please update this PR with the latest changes from the main branch? That should fix any build issues that aren't related to this PR.
Thanks.

@HashNuke yes I will have a look

PR updated as asked.
@HashNuke  could you please trigger a build as before to check vs latest changes. Thank you in advance.

Related to https://github.com/cnti-testcatalog/testsuite/commit/c0b0ddc83e4bc4d6a632811b8a6f02644bb0abf9
Failures:

  1) Security 'non_root_user' should pass with a non-root cnf
     Failure/Error: (/Root user not found/ =~ response_s).should_not be_nil

       Expected: nil not to be nil

     # spec/workload/security_spec.cr:13

  2) Security 'non_root_user' should fail with a root cnf
     Failure/Error: (/Root user found/ =~ response_s).should_not be_nil

       Expected: nil not to be nil

     # spec/workload/security_spec.cr:27

  3) Security 'non_root_user' should fail with a root cnf using a non-default namespace
     Failure/Error: (/Root user found/ =~ response_s).should_not be_nil

       Expected: nil not to be nil

     # spec/workload/security_spec.cr:41

Would you mind manually triggering verification please ? It was rebased on top of main and then now includes https://github.com/cnti-testcatalog/testsuite/commit/c0b0ddc83e4bc4d6a632811b8a6f02644bb0abf9


Allow MFA Triggers for Rest and Principal Attribute Per Application Return Multiple Providers

This will allow these mfa triggers to work properly when cas.authn.mfa.core.provider-selection-enabled = true , applied @jbanner6736 test case for Principal Attribute Per Application, /ci/tests/puppeteer/scenarios/mfa-provider-selection-trigger-principal-attribute . I wasn't sure on how to write a test for Rest, although we have been using it for a while now and no hiccups. I would gladly write a test for it, just need to some pointers on how to implement.
Service definition now works with,
"multifactorAuthenticationProviders" : [ "java.util.LinkedHashSet", [ "mfa-gauth", "mfa-webauthn" ] ],
"principalAttributeNameTrigger" : "memberof",
"principalAttributeValueToMatch" : "staff"

The rest endpoint can return multiple providers, comma-separated, 'mfa-gauth,mfa-webauthn'
Also, as noted by others when I was testing, mfa-webauthn has a webflow error when registering and then errors during forward to service, has flow exectution error as final flow destination, if you could please look into it.
2022-03-23 12:37:54,517 WARN [org.apereo.cas.web.flow.executor.EncryptedTranscoder] - <java.util.Optional>
java.io.NotSerializableException: java.util.Optional
Forum link here https://groups.google.com/a/apereo.org/g/cas-user/c/KQcalohFG6k
Thanks!

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

Thank you for the patch.

Please remove your changes for the principal-attribute trigger. This was fixed last week.
Make sure your current PR only contains changes for the REST trigger enhancements, and make sure it follows the same strategy for resolving providers as the principal-attribute trigger if necessary.
Then fix all styling/indentation/spacing issues.

Thanks again!

Forgot to mention:

Please remove the puppeteer tests you have for the principal-attribute trigger. Tests for this already exist. Please confirm, and if necessary, follow-up with a separate pull request for necessary changes.
If you look around the puppeteer test suite, you should fix scenarios that use a REST API server to mock responses. I'll try to point that out more clearly if I can.
Please make sure you update the docs to note the change for the REST API trigger.
Please update the release notes for RC to include the change.
Be sure to add unit tests for the REST trigger. Follow the same strategy as other REST-based components.

Doubly forgot to mention :), that I dont think returning a CSV is a scalable long-term solution. We have already run into scenarios where we'd want the API to return more than "1,2,3" or "1", and this would be limiting. I understand you're keep compatibility and that's great; I think at some point we might have to break this to allow for richer payloads to come through. So we might have to park this for now until I find better answers in the next few weeks.

@mmoayyed Ok thanks, I see those changes, I was working off Mar 18th master, I will close this PR for now. I will leave Rest alone until its decided on how the payloads should be returned, if you want to comment back here in the future that would be great and then I can adjust and submit new PR
Thanks!

Sure that is fine. Thank you.
Some background on the rest trigger; I think we'll end up merging this once this is all sorted out. I do think that the payload returned at some point would be similar to how rest authn or the interrupt rest payload would be, where there is a blob and a JSON struct rather than just a simple string. That said, I dont want to stop the progress made here, and so we might have to end up supporting all modes and payloads for compatibility purposes. We might do it with this PR,  where I would rebase those changes on top of the work you have done here, or after this is merged in separate commits.
On the webauthn note, we need more details. I see tests passing at the moment, and so either tests are missing something or  there is an underlying issue. If you have access to a webauthn setup, you're welcome to mod the tests and reproduce the failure as a separate PR and I can take a look at it.

@mmoayyed Ok sounds good, I'll re-work Rest based off new changes you made and submit PR for it with test. I need to adjust my IntelliJ settings to stop auto-formatting !
As for webauthn, the error comes from when not registered yet, scenario: user logs in, clicks register device (this is when "[org.apereo.cas.web.flow.executor.EncryptedTranscoder] - <java.util.Optional>
java.io.NotSerializableException: java.util.Optional" happens) after user registers device and cas tries to continue to login to service you get the flow execution error. I looked at tests for webauthn, and in their current state would pass because its either just checking if device registers or checks if webauthn login is working. Not a combination of registering then logging into service in same flow. Ill see if I can write a test to simulate that flow.


kotlin sample module

I think an example can save some time for new users

That's awesome, thank you so much! I'll take a look at it soon, but I completely agree that having a dedicated Kotlin sample could potentially save us quite a lot of raised issues.

So great! Let me take a look tonight 🙇

This is great again! As @shiraji mentioned it'd be perfect to convert remaining java files to .kt.
I'd say, after merging this PR we should make it default and remove java based example!

@hotchemi  I'll fix it as soon as I can and let you know

@aurae, I have fixed current remarks, ready for review

Thank you! We'll review momentarily.
Sent from my Samsung SM-N9005 using FastHub

Thank you! We'll review momentarily.

@horse315 Thx again! Let us merge and give it a go.


Better documentation

For someone new to HA, it is not clear how to actually install your integration. Okay, so I have HACS installed, now what?

Figured it out. Seems that "repositories" for HACS are always the github repo.


Added SSComposeCookBook [Compose collections]

A Collection of major Jetpack compose UI components which are commonly used.

@wasabeef Please have a look

@wasabeef @pgreze Any update?

@wasabeef @pgreze Any update?

@wasabeef Please have a look.

@wasabeef Kindly look into this one.

@wasabeef Kindly look into this one. @pgreze  Can you spare some time for this?

@yashwantGowla Thanks! and sorry for late reply.

Hello buddy
Thank you so much!
On Thu, 18 Aug, 2022, 13:26 Daichi Furiya, @.***> wrote:

Merged #326 https://github.com/wasabeef/awesome-android-ui/pull/326
into master.
—
Reply to this email directly, view it on GitHub
https://github.com/wasabeef/awesome-android-ui/pull/326#event-7211934281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWKDDWO24BEO37XFOPLJYLVZXUDVANCNFSM56AV7HDA
.
You are receiving this because you authored the thread.Message ID:
@.***>

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

您的邮件我已收到。


Make custom, user-defined plugins work

Ref #149

@mxstbr can you make it in away that if plugins are provided we don't register the default plugins? otherwise it might be a tough game for Angular2 or Ember people in the future 😄

That's the next step!


proxy not working

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-08T23:44:55.542Z)
OS Version: Linux x64 4.4.0-64-generic
Extensions:

Steps to Reproduce:

set http_proxy, https_proxy environment variables
open VSCode 1.9.1, click Extensions -> Show Popular Extensions, no result
open VSCode 1.6.1, click Extensions -> Show Popular Extensions, extension list displayed

Can you help us in #18103 ?


Sri-vaishnavi-PR.md

https://github.com/anuragverma108/SwapReads/issues/4752

Mention the issue number you were assinged to work on for that PR

https://github.com/anuragverma108/SwapReads/pull/4757
This PR has been closed. Cannot be reviewed further


Add Elasticsearch backend

Idea: make backend choosable in the model. For example, default to one or the other (or set a global variable for default DB?) and use a key in each model to override choosing that backend.

done


Some highlights configuration does not correctly fallback

Description
The documentation says that:

GitSignsChangedeleteNr fallbacks to GitSignsChangeNr
GitSignsTopdeleteNr fallbacks to GitSignsDeleteNr
GitSignsUntrackedNr fallbacks to GitSignsAddNr

I do have GitSignsChangeNr GitSignsDeleteNr GitSignsAddNr setting in place, but GitSignsChangedeleteNr GitSignsTopdeleteNr GitSignsUntrackedNr are not inheriting the configuration, I have to manually set it to work.
Without extra configuration the line number is shown as if there were no changes (color does not change).
Neovim version
v0.8.2
Operating system and version
Arch Linux x86_64 6.1.7-arch1-1
Expected behavior
I expect the setting to fallback.
Actual behavior
The setting is not fallback and I have to set manually.
Minimal config
vim.o.packpath = '/tmp/nvim/site'

local plugins = {
  gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/pack/test/start/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
end

require('gitsigns').setup{
  debug_mode = true,
  signcolumn = false,
  numhl      = true,
}

vim.cmd([[
  highlight! link SignColumn LineNr
  highlight GitSignsAddNr ctermbg=0 ctermfg=2
  highlight GitSignsChangeNr ctermbg=0 ctermfg=3
  highlight GitSignsDeleteNr ctermbg=0 ctermfg=9
]])

Steps to reproduce
Do the following in a file managed by git and without changes:

nvim --clean -u minimal.lua some_file
Run :set number to show line numbers
Remove the first line
First line number should be the color of GitSignsDeleteNr, but it stays the same color (as if unchanged).

Do some other changes that triggers GitSignsChangedeleteNr or GitSignsUntrackedNr and see that it does not fallback.
Gitsigns debug messages
No response

Remove the first line

The first line uses GitSignsTopdeleteNr.

GitSignsTopdeleteNr is not set so it should fallback to GitSignsDeleteNr right?

Do you have set termguicolors=true?

No I don't.

Ok, I think it's because the fallbacks aren't defined when Gitsigns sets up its highlights.
#730 should fix it. Can you check?

That was fast! Tested #730 here, the issue has been fixed!! :+1:
Thank you!!


No initial image prevents IPC usage

Hi,
I have a small golang application which prepares tmp images and tries to set them via hyprctl hyprpaper [preload/wallpaper]
This does not work if there is no initial preload/wallpaper specified in the static defined config. I would assume that this should also be possible.
Best regards

Please, read carefully. Have a line "A Wallpaper cannot be applied without preloading. The config is not reloaded dynamically." in Usage section.

This issue has been fixed and should probably be closed.


Text editor & annotation research

Investigate tools and data structures for retaining and displaying snippet annotations

For documentation only. Still far from perfect.
div element which allows user to type:
< div class='codeArea' contenteditable="true" >
Testing
< /div >
css:
.codeArea {
height:500px;
width:600px;
background-color: yellow;
}


Can't serve static attachement to Messenger App

Hi,
I setup a MSBotBuilder bot connected to a Facebook Messenger Bot/App.

I can display a Facebook card with a given image from my server in Web Messenger
I can't display the image of that same card in App Messenger
I can copy that image to my Dropbox and display it in App Messenger

My setup my resify like that:
server.get(/\/static\/?.*/, restify.serveStatic({
    directory: root,
    default: 'index.html',
    charSet: 'utf-8',
}));

And the server itself has a certificate. The image tested:
https://secure.encausse.net:3978/static/shot_horse2.png
I don't understand why Facebook Messenger App can display images that comes from my MSBotBuilder server but works with third party location. I set a full URL, not a relative one. And it works with Messenger webapp !

I have a similar issue. I generate charts based on the user input and upload the diagram into a blob container on Azure. I can see the charts on the local emulator and the messenger web app. But I can’t see the image on Skype and Facebook Messenger app. A download link works fine on every channel.
I’m using a HeroCard to show the image and the download link:
HeroCard plCard = new HeroCard()
            {
                Title = name,
                Text = text,
                Buttons = new List<CardAction>() { new CardAction(ActionTypes.OpenUrl, "Download Chart", value: imgURL) },
                Images = new List<CardImage>() { new CardImage(url: imgURL)},
            };

I have a similar issue. I generate charts based on the user input and upload the diagram into a blob container on Azure. I can see the charts on the local emulator and the messenger web app. But I can’t see the image on Skype and Facebook Messenger app. A download link works fine on every channel.
I’m using a HeroCard to show the image and the download link:
HeroCard plCard = new HeroCard()
            {
                Title = name,
                Text = text,
                Buttons = new List<CardAction>() { new CardAction(ActionTypes.OpenUrl, "Download Chart", value: imgURL) },
                Images = new List<CardImage>() { new CardImage(url: imgURL)},
            };

These may or may not resolve both the above issues but on investigation we found the following two issues:

Image URLs cannot include port numbers - these get rejected by the Skype image service
Image URLs need to be https with a root certificate trusted by Microsoft - or will get rejected by the Skype image service. You can check if the certificate is trusted by opening the URL in Explorer or Edge.


Bump images inside Drone pipeline

Closing in favor of https://github.com/rancher/kube-api-auth/pull/15.


switch to the vello renderer

This PR switches from the wgpu-piet renderer to vello.
Vello now uses wgpu. This is the same renderer used in Xilem. It has better support for text rendering, gradients and an overall more complete implementation than the current wgpu-piet renderer.

FWIW I can't launch blitz without it crashing with vello. Not sure what's up with it.

FWIW I can't launch blitz without it crashing with vello. Not sure what's up with it.

Are you on macOS? I tested on windows and Linux and it works but I don't have access to a macOS device. We can either revert this or open a new issue to discuss the bug

Yeah, macos m1.
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_compute_pipeline
    Internal error: Metal: program_source:460:29: warning: unused variable '_e379'
                        int _e379 = uint(tile_ix) < 1 + (_buffer_sizes.size6 - 0 - 8) / 8 ? metal::atomic_fetch_add_explicit(&tiles[tile_ix].backdrop, backdrop, metal::memory_order_relaxed) : DefaultConstructible();
                            ^
program_source:513:70: error: cannot take the address of an rvalue of type 'metal::uint' (aka 'unsigned int')
                        uint _e450 = metal::atomic_exchange_explicit(&uint(tile_ix_1) < 1 + (_buffer_sizes.size6 - 0 - 8) / 8 ? tiles[tile_ix_1].segments : DefaultConstructible(), _e447, metal::memory_order_relaxed);
                                                                     ^~~~~~~~~~~~~~~~

', /Users/jonkelley/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.14.2/src/backend/direct.rs:2403:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Seems to be a wgpu issue.


services/horizon: Add LedgerHashStore to Captive-Core config

LedgerHashStore was removed from Horizon's CaptiveCoreConfig in: https://github.com/stellar/go/commit/b7fde588a61abdcb52b13b1b802b3e827202013b. This change makes it impossible to PrepareRange using Captive-Core if there is any other ingestion instance running because CaptiveCoreBackend tries to load the hash of the ledger from archives when LedgerHashStore is not set. But ledgers are published every 5 minutes so they contain the hash of the latest ledger only for a brief amount of time (the moment when checkpoint is published).

If I'm understanding it right, it seems like there's a much more general issue that all captive-cores (ingesting to a single db) need to stay in sync at all times, because ingestion isn't idempotent...


Test against the current hhvm version

Q
A

Is bugfix?
yes for travis hhvm version

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
comma-separated list of tickets # fixed by the PR, if any fixes version of hhvm test run against

This provides the current HHVM version (3.15.2 as of this PR) and will track with each release (i.e. will be 3.16 when 3.16 is released).
If testing against HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/

Yes, current HHVM version that is used for testing is 3.6.6 which is kind of old, it was released on 31 Aug 2015,
It's a default version on precise dist.
trusty dist has HHVM 3.15.2 by default and build is failing because of these two tests:
There were 2 failures:

1) yii\tests\unit\framework\db\pgsql\CommandTest::testSaveSerializedObject

Failed asserting that 0 matches expected 1.

/home/travis/build/yiisoft/yii2/tests/framework/db/pgsql/CommandTest.php:86

/home/travis/build/yiisoft/yii2/vendor/phpunit/phpunit/phpunit:47

2) yii\tests\unit\framework\db\pgsql\CommandTest::testBindParamValue

Failed asserting that false is true.

/home/travis/build/yiisoft/yii2/tests/framework/db/CommandTest.php:199

/home/travis/build/yiisoft/yii2/vendor/phpunit/phpunit/phpunit:47

I faced the same problem after changing dist to trusty in PR #12840.
We have two options:

Set HHVM version to hhvm-3.6 as I did #12840. Then test will behave the same as for Trusty. See HHVM versions on Trusty section in Travis docs.
Allow failures until these two issues will be fixed (as it was with PHP 7.1 recently). I think in this case we can just add hhvm to existing matrix - allow_failures section along with php: nightly.

As for matrix - include. I have read Explicitly Including Jobs section in Travis docs, But what's the benefit of it related to HHVM?
Also note that in HHVM related build job you are using PostgreSQL 9.6.1. It should be 9.3 for all jobs according to current config.

@arogachev unless you are using the beta Trusty container for all tests you have to use the matrix include directive to set the hhvm testing to use the sudo required trusty for just hhvm.
In that the failures are specific to pgsql we could try testing on any LTS version before 3.15 when pgsql was moved from a 3rd party add on to the core of hhvm. hhvm-3.12 would likely be a good option that would exclude testing on pgsql, if that is the direction that is decided on. I personally think it's better to allow failure on hhvm or use other options to skip the pgsql tests and note the incompatibility with running yii2 on hhvm with pgsql.

@arogachev the hhvm test is now set for postgresql: "9.3" rather than the default PostgreSQL 9.2 as requested (note: PostgreSQL 9.6 is not currently an option on Travis as it was released in September 2016)

yii\tests\unit\framework\db\pgsql\CommandTest::testBindParamValue

Failed asserting that false is true.
/home/travis/build/yiisoft/yii2/tests/framework/db/CommandTest.php:199
/home/travis/build/yiisoft/yii2/vendor/phpunit/phpunit/phpunit:47

this can be fixed by applying the following patch to the test:
diff --git a/tests/framework/db/CommandTest.php b/tests/framework/db/CommandTest.php
index e3a4f6a..8d24723 100644
--- a/tests/framework/db/CommandTest.php
+++ b/tests/framework/db/CommandTest.php
@@ -193,7 +193,7 @@ SQL;
         $this->assertEquals($intCol, $row['int_col']);
         $this->assertEquals($charCol, $row['char_col']);
         $this->assertEquals($floatCol, $row['float_col']);
-        if ($this->driverName === 'mysql' || $this->driverName === 'sqlite' || $this->driverName === 'oci') {
+        if ($this->driverName === 'mysql' || $this->driverName === 'sqlite' || $this->driverName === 'oci' || (defined('HHVM_VERSION') && $this->driverName === 'pgsql')) {
             $this->assertEquals($blobCol, $row['blob_col']);
         } else {
             $this->assertTrue(is_resource($row['blob_col']));

yii\tests\unit\framework\db\pgsql\CommandTest::testSaveSerializedObject

Failed asserting that 0 matches expected 1.
/home/travis/build/yiisoft/yii2/tests/framework/db/pgsql/CommandTest.php:86
/home/travis/build/yiisoft/yii2/vendor/phpunit/phpunit/phpunit:47

This would mean that the number of rows affected by the insert query is returned as 0, which I would consider a bug in the pgsql implementation in hhvm. One row is inserted so 1 should be returned...

I would consider a bug in the pgsql implementation in hhvm

@cebe I would agree considering that hhvm's implementation is missing about 20 of the zend pgsql functions. If your underlying driver uses one of those missing functions that would be the related issue.

@cebe I would agree considering that hhvm's implementation is missing about 20 of the zend pgsql functions. If your underlying driver uses one of those missing functions that would be the related issue.

no, Yii uses the PDO layer of PHP, not the pg_* functions.

@cebe I applied your patch and have the following errors
There were 2 failures:
1) yii\tests\unit\framework\db\pgsql\CommandTest::testSaveSerializedObject
Failed asserting that 0 matches expected 1.
/tests/framework/db/pgsql/CommandTest.php:86
/vendor/phpunit/phpunit/phpunit:47
2) yii\tests\unit\framework\db\pgsql\CommandTest::testBindParamValue
Failed asserting that null matches expected Binary String: 0x101112.
/tests/framework/db/CommandTest.php:197
/vendor/phpunit/phpunit/phpunit:47

Yii uses the PDO layer of PHP, not the pg_* functions.

@cebe I'm not sure how closely coupled hhvm's PDO_pgsql module is to it's full pgsql.so module, They were implemented together in hhvm 3.15.0 as a direct port from the previous 3rd party module.

okay, now it looks like two HHVM bugs to me. thanks for investigation. I think we should isolate the issues and report them to HHVM. If they agree that these are bugs we can mark the tests as skipped as long as the issues are unfixed.

@cebe sounds like a plan. In the mean time, I would suggest we merge this PR with HHVM as an allowed failure until the tests are skipped or fixed.

merging with "allow failure" will prevent us from spotting hvvm specific problems in other PRs so I'd prefer to skip these specific tests on HHVM for now.

I am unable to reproduce the insert count issue with plain PDO: https://travis-ci.org/cebe/hhvm-bugreport/builds/176069208

I have reported the two failing tests as a separate issue #13010. I will merge this PR as soon as travis is green.

Merged, thank you!

@cebe You are welcome.
ps you could test hhvm via a newer LTS version that didn't have the pgsql module. hhvm 3.12 only recently went EOL use this code in the matrix
   # test against HHVM 3.12 LTS version by using trusty
    - php: hhvm-3.12
      sudo: true
      dist: trusty
      group: edge # Use edge image until the next travis CI image update
      addons:
        apt:
          packages:
            - mysql-server-5.6
            - mysql-client-core-5.6
            - mysql-client-5.6
      services:
        - mysql
      env: CUBRID_VERSION=9.3.0/CUBRID-<IP_ADDRESS>6 CUBRID_PDO_VERSION=<IP_ADDRESS>1

@photodude cool, can you send a PR so that we test against LTS and the latest version?

@cebe see PR #13012
Note: hhvm 3.15 is an LTS version but is also current until 3.16 is released. Both 3.15 and 3.16 include the PostgreSQL module that have a problem resulting in 2 tests being skipped.


Updates of SLR101

This corpus is kept in updating, so we recommend users to get it from GitHub
Update the BitTeX entry

thanks, merging

Could @jtrmal help to push this about.html to http://www.openslr.org/101/?  🙏

yeah, sorry, should be done now
y.
On Thu, Sep 30, 2021 at 3:39 AM Junbo Zhang @.***>
wrote:

Could @jtrmal https://github.com/jtrmal help to push this about.html to
http://www.openslr.org/101/? 🙏
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openslr-org/openslr/pull/16#issuecomment-930945369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUKYX65KA6HWEYVD3U4I7DUEQHZ7ANCNFSM5E5ODXFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


How can we restrict the scope on a Service Principle?

There is this note: "It is always a good practice to grant minimum access. You could restrict scope in the above Az CLI command to the specific App Service app and the Azure Container Registry where the container images are pushed to."
Indeed, we would like to restrict the scope as much as possible for our production environment. Can you please provide a quick example of how to do this or link to another relevant document if it's lengthy?

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

ID: 0449b0ac-2892-fc99-df82-26381b0f1e3c
Version Independent ID: 65d0d10b-56b5-656b-b55e-aee6dc0eb555
Content: Custom container CI/CD from GitHub Actions - Azure App Service
Content Source: articles/app-service/containers/deploy-container-github-action.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: jafreebe

@darzu Thanks for the feedback! We are currently investigating and will update you shortly.

@darzu Thanks for asking question. You may refer to below link might be helpful.
https://docs.microsoft.com/en-us/powershell/azure/create-azure-service-principal-azureps?view=azps-3.5.0

@darzu Since, we didn’t hear from you. We will now close this out but if you feel you need more information please just let us know.

I was able to find the documentation after some searching, that wasn't what this issue was about. I believe the Azure documentation for App Service would be improved if this link and preferably a small example was included in the original tutorial.


Doesn't work with google search results

It works properly on any other page, just on google search results doesn't react to any of the command not even j,k

I can't reproduce this in Firefox 77, browsing google.com. Any more info on this?
Is it possible that you have Google in your Saka Key blacklist? Or hit Shift-; to pass all keys to the page?

Sorru it is happeninh onlu in Opera
On Fri., Jun. 12, 2020, 07:03 Ori<EMAIL_ADDRESS>wrote:

I can't reproduce this in Firefox 77, browsing google.com. Any more info
on this?
Is it possible that you have Google in your Saka Key blacklist? Or hit
Shift-; to pass all keys to the page?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lusakasa/saka-key/issues/295#issuecomment-643066531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5HAKM3MR5VN5CZBQ4S2TRWGZLBANCNFSM4NP43WAQ
.


Expanded rows

Version update to 2.21.4
Merge branch 'master' into expanded-rows

Conflicts:
dist/vue-good-table.cjs.js (resolved by npm run bundle)
dist/vue-good-table.esm.js (resolved by npm run bundle)
dist/vue-good-table.js (resolved by npm run bundle)
dist/vue-good-table.min.js (resolved by npm run bundle)
dist/vue-good-table.min.js.map (resolved by npm run bundle)
src/components/Table.vue (resolved by custom merge)

docs has been also updated (by running npm run doc:dev & npm run doc:build)
@willhoyle I hope this is helpful for #https://github.com/xaksis/vue-good-table/issues/425

up

up


Rosidl python incompatability

This adds a warning to prevent users from running into https://github.com/ros2/rosidl_python/issues/141.
This is my first contribution to the docs. I followed the guides, had some issues in the developer guide, and cleaned those up in a separate commit.
If possible, please backport this into humble as that is where this issue showed up. It does not happen in galactic, at least right now, however it may be a good idea to warn users anyways such that when they move to humble, they aren't surprised.
Here's the new rendered changes:

@RFRIEDM-Trimble Thanks for iterating!


How to clean up historical data?

What do you want to know?
After the system runs for a long time, it will pile up a lot of data
Some of them can be discarded and  how to delete data safely?

by the way
Start an skywalking  without elk index, and the index will be automatically created.
However, deleting the index during running will cause program errors，and can't recover
It would be great if it could recover automatically

Read the documentation, TTL is included there.

However, deleting the index during running will cause program errors，and can't recover
It would be great if it could recover automatically

No one designs a system like this. This makes no sense. Are you application able to recreate the database after you delete all tables? I don't think so.


File API supposrt

SoundFile objects can now be initialized with File API File objects. Which will be loaded and played as normal from there.

Merged, thank you @johnpasquarello !
I'd like to build off your exmaple to make it work with the p5.dom library's createFileInput, .dragOver(), .dragLeave() and .drop()


Repo's description speaks of angular 2

Hi
The repo's description, on the landing page, is the following:
"Angular 2 QuickStart - source from the documentation"
I guess the 2 is too much ;)
cheers

Agree

This repository is now deprecated. The Angular Quickstart project was a nice starting point for creating Angular applications. Now we recommend using the Angular CLI to create new Angular projects.
Starting from 1 November 2017, all the Angular documentation, at angular.io, is based on the Angular CLI.
Let's get started


Is it possible to show autocomplete results at local language?

Hey,
Is it possible to show autocomplete results at local language?

Yes, set the "setMkt" and "setLang" options in the map control URL.


Allow reusable field group definitions in config file

- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
Reuse of configuration data, such as a group of fields being defined once and used in multiple collections, is dependent on YAML features. These features are difficult to understand and use, and aren't available in simpler formats like JSON.
- What is the expected behavior?
Netlify CMS should provide means for defining reusable configuration subsets, like field groups, that are easy to understand and use, and format independent.
This is based on the conversation in https://github.com/netlify/netlify-cms/issues/1186#issuecomment-382003132.

We should first determine if this is even a good idea at all. Can anyone think of reasons not to do this?

Hi @erquhart !
I'm currently using Netlify CMS to build my personal web site and i really like what i see 👏 😃  , but i'm a bit stucked right now with some features missing..
However, i was going to post that exact suggestion to start with, when i noticed your post.
Defining groups of fields is exactly what i neededbecause duplicating the same information in different sections is boring and error prone.
Here is what i was longing for (a new section in config.yaml) :
fieldsets:
  - name: "link"
    label: "Link"
    fields:
      - {label: "URL", name: "url", widget: "string"}
      - {label: "Text", name: "text", widget: "string"}
  - name: "button"
    label: "Button"
    fields:
      - {include: "link"}
      - {label: "Type", name: "type", widget: "select", options: ["primary", "info", "success"]}
  - name: "section_background"
    label: "Section Background"
    fields: # The fields for each document, usually in front matter
      - {label: "Background style", name: "bg_class", widget: "select", required: true, default: "white", options: [{label: "Background image (parallax)", value: "parallax-bg"}, {label: "Background image (fixed)", value: "fixed-bg"}, {label: "Grey background", value: "grey"}, {label: "White background", value: "white"}, {label: "Gradient 1", value: "gradient1"}, {label: "Gradient 2", value: "gradient2"}]}
      - {label: "Background Image", name: "bg_image", widget: "image"}
      - {label: "Photographer", name: "photographer", widget: "string"}
      - {label: "Overlay color", name: "overlay", widget: "color"}
  - name: "hero_section"
    label: "Hero section"
    fields:
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Headline", name: "headline", widget: "text"}
      - {include: "section_background"}
  - name: "call_to_action_section"
    label: "Call to action section"
    fields:
      - {include: ["hero_section", "button"]}

Notice how these fieldsets allow for easy composition between them and allow to follow the rules of atomic design.
It's interesting to note also that defining such a fieldset automatically defines a default widget for that group of fields, and that it could allow to declutter the interface by simply replacing the group of fields with a button : "Add link" or "Add Call to Action" when they are empty, and by the rendered widget when these fields have values.

Yep, this looks like a great approach. I was just noticing today that Contentful does just that - everything in the content model is defined as "Content Types", which are named groups of fields.
@tech4him1 @Benaiah @talves thoughts?

Would love to see support for this! Our use-case would be once-defined string translations that we can then set under every locale file.
Any way I could contribute?

@andreasvirkus sure, a proof-of-concept PR would get the ball rolling.

@chriswthomson this ticket is a nice-to-have for the most part. You can already reuse blocks of yaml (source), and you can write your config in js (source).
Sent with GitHawk

@erquhart - OK thanks!

To get aliases working I ended up doing it like this:
aliases:
  - &TITLE {label: 'Title', name: 'title', widget: 'string' }

publish_mode: editorial_workflow
collections:
  - name: 'products'
    label: 'Products'
    folder: 'content/english/products'
    create: true
    fields:
      - << : *TITLE

And just in case you want to alias a list of keys:
project: &PROJECT
  - { name: title, widget: string }
  - { name: description, widget: string }

collections:
  - name: public
     ...
     fields: *PROJECT
   - name: private
     ....
     fields: *PROJECT

Another approach is to use manual initialization. Then you can do something like this.
const titleField = { name: 'title', widget: 'string' }

const projectFields = [
  { ...titleField },
  { name: 'description', widget: 'string' }
]

init({
  config: {
    load_config_file: false,
    collections: [
      {
        name: 'public',
        ...
        fields: [...projectFields]
      },
      {
        name: 'private',
        ...
        fields: [...projectFields]
      }
  }
})

Collection summaries do not currently work when using beta manual initialization feature.

And just in case you want to alias a list of keys:
project: &PROJECT
  - { name: title, widget: string }
  - { name: description, widget: string }

collections:
  - name: public
     ...
     fields: *PROJECT
   - name: private
     ....
     fields: *PROJECT

@dafrie How can we add more keys under the alias?
For example:

project: &PROJECT
   - { name: title, widget: string }
   - { name: description, widget: string }

 collections:
   - name: public
      ...
      fields: *PROJECT
        - { name: type, widget: hidden, default: page }

Doesn't seem to work.

@erquhart For us this feature would improve the "page building" power of variable-type lists. For example, in defining a list of 'atoms' like,

icon [list]
heading [text]
body [markdown]

Followed by composed 'molecules' like,

Hero

image
icon, heading, and body fields [references to atoms]

I'm currently looking into whether we can use aliases to accomplish this for now but like seeing that your team is considering a more official feature.
Food for thought:
A different approach (that might touch on the "why not to do this" front) would be to leave the config spec alone and leverage the existing relation feature. I'll explain:
Atomic models can already live at the top level, then be linked by relation into object and variable-type list widgets to compose more complex models. This is actually more like how Contentful does it: when you set up a variable-type list model you can use checkboxes to choose which models are linkable, then when entering data you use a UI similar to Netlify CMS's relation feature where you pick which one you want from a select. The main difference is a "Create new item" option at the top of the dropdown with a circular UX flow that jumps you out of the current page into the component model page, lets you save that and then return to your preserved in-progress page edit.
That flow might be a pretty big UI lift for your team, but would be a way to avoid adding the complexity of field-set lookups in the config file. Devs can just make a variable-type list with relation entries, which surfaces the dropdown of existing entries and could be extended with a new property like create: true. It's also a solid "page builder" UX model proven out for years by Contentful. True, you end up with many more top-level models, but your UI is already built to handle that, so really it's just a way to quickly create new sub-models and keep working in the surrounding context such as a page. I think it's good in that it reinforces a content composition model that adds a ton of flexibility for editors, vs. a complicated referential configuration model aimed only at developers.
Again, I still like the field group idea but wanted to point out how your current UI and powerful variable-type lists and relation features mean you're just one "Create new item" UI feature away from supporting this in your current version! 🌞


Mafia option to build a single sub-component of a project.

Motivation: I have a project which has a library component and a pre-processor which generates some code, in this case it dumps out the generated code for a bunch of lenses. The generator needs to get built independently of the library.
Solution: Have an option to do an equivalent tocabal build generate which only builds the generate target in the cabal file.
For now my work around is to use a combination of
mafia lock  # Generate the build env / sandbox
cabal build generate

# nasty shell manipulation to copy generated code into library src

mafia build  # Build the actual library

I wouldn't mind taking a stab at this feature. Has anyone started looking into it yet?

@ggranberry Sorry, have done this a couple of times, your questions seem to make me see issues I have missed.
@tmcgilchrist @ggranberry Isn't this what mafia already does, it is just a layer of cabal build. You can always call mafia build <component with same syntax of cabal, i.e. mafia build lib:foo , mafia build exe:foo when there is a name clash, or mafia build foo when there isn't.

Currently mafia needs to be run in a directory with a cabal file. If that cabal file contains multiple targets (eg a library, one or more test suites, a benchmark and a number of executables) then it is possible to run mafia build <exe> or mafia build bench` and have mafia build whatever is needed for that target.
However, if I have say a git repo containing directories foo-core, foo-io and foo-cli, each with their own cabal file, then from the top level (which does not have a cabal file) mafia cannot do anything. I think @tmcgilchrist and @ggranberry are showing their exposure to stack (or maybe cabal new-build) here. With this directory structure and a top level stack.yaml file, it would be possible to run the command stack build foo-io:<component>.
So the question is, do we hack mafia to support this now and I don't think we should. Instead, I think we should wait just a bit until support for cabal.project files in the cabal new-build stuff is a little more fully baked. Once that stuff is done (and mafia supports cabal 2.2) then mafia could act as it does now when if finds a regular cabal file and act more like stack when it finds a cabal.project file.
I'm actually hacking a bit on erikd/jenga this weekend and hoping to get it reading stack.yaml files and writing cabal.project files.

@erikd Yeah, I've been using cabal-new for all my projects. I agree that waiting for cabal 2.2 support is probably the best action. I'll leave this one alone for now.


Add some more declarations for PyTypeObject

These PyTypeObject members are all needed for Sage.

Downstream: [http://trac.sagemath.org/ticket/18121]

And generally speaking, ref.pxd is the wrong place to have this declaration in the first place. CPython keeps it in object.h, so object.pxd would be more appropriate, I think. Same for PyObject*.

https://github.com/cython/cython/commit/2a7ae93aa40e72608d9f1f9923bd9699fed93575

Also note that instead of explicitly calling type.tp_new(type, args, kwargs), you can just call type.__new__(type, ...). Should do the same thing.

Also note that instead of explicitly calling type.tp_new(type, args, kwargs), you can just call type.new(type, ...). Should do the same thing.

That's not entirely true since Sage manually changes some tp_new calls (Cython currently does not allow to redefine __new__).

Does the long vs. unsigned long matter? I ask because I see long tp_flags in local/include/python2.7/object.h from Python 2.7.8.

destructor and visitproc involve garbage collection, so I wanted to avoid anything which might change the reference count, therefore I chose PyObject* instead of object.

And generally speaking, ref.pxd is the wrong place to have this declaration in the first place. CPython keeps it in object.h, so object.pxd would be more appropriate, I think. Same for PyObject*.

I agree with this. I just put them in ref.pxd since PyTypeObject was already there.

In the case of visitproc, I think that playing with refcounting in tp_traverse (when calling visit() is almost certainly the wrong thing to do. So I think that visitproc should be declared with PyObject*.

In tp_new, the Python type of the first argument is PyTypeObject*, so it really must be a cpython.type.type which is passed as first argument.

OK for the GC related slots:
https://github.com/cython/cython/commit/ec8ba63bc54839d00a07af9bcdc5129a25182a6c

Does the long vs. unsigned long matter? I ask because I see long tp_flags in local/include/python2.7/object.h from Python 2.7.8.

The declaration differs between Py3 and Py2. However, the flags in Py2.x
are not going to be extended any more, so Py3 wins.


[SPARK-41178][SQL] Fix parser rule precedence between JOIN and comma

What changes were proposed in this pull request?

This PR fixes a long-standing parser bug in Spark: JOIN should take precedence over comma when combining relations. For example, FROM t1, t2 JOIN t3 should result to t1 X (t2 X t3). However, it's (t1 X t2) X t3 today.
You can easily verify this behavior in other databases by running the query SELECT * FROM t1, t2 JOIN t3 ON t1.c and t3.c. It should fail as t1.c is not available when joining t2 and t3. I tested MySQL, Oracle and PostgreSQL, all of them fail, but Spark can run this query due to the wrong join order.
However, this bug has a large impact: it changes the join order which can lead to worse performance or unexpected analysis errors. To be safe, this PR hides the fix under a new ANSI sub-config.
Why are the changes needed?

bug fix
Does this PR introduce any user-facing change?

No, as the fix is turned off by default.
How was this patch tested?

new tests

cc @viirya @dongjoon-hyun @gengliangwang @MaxGekk

thanks for review, merging to master!


Update to Flutter 3.22.0 does not compile if using PageView

Steps to reproduce
Create a Flutter project with the 3.22.0 version
Write a simple Widget that uses PageView (1 simple page will suffice)
Expected results
The simple page is displayed on the screen embedded inside the PageView Widget.
Actual results
The application crushes as soon as it starts running, showing the following error:
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
../../../../../.pub-cache/hosted/pub.dev/page_indicator-0.4.1/lib/src/container.dart:56:42: Error: Property 'initialPage' cannot be accessed on 'PageController?' because it is potentially null.

'PageController' is from 'package:flutter/src/widgets/page_view.dart' ('../../../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/page_view.dart').
Try accessing using ?. instead.
final initPage = pageView.controller.initialPage;
^^^^^^^^^^^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home//snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
Error: Gradle task assembleDebug failed with exit code 1
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.0, on Ubuntu 22.04.4 LTS 6.5.0-27-generic,
    locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version
    34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.2)
[✓] IntelliJ IDEA Community Edition (version 2024.1)
[✓] VS Code (version 1.89.1)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

../../../../../.pub-cache/hosted/pub.dev/page_indicator-0.4.1

Issues in third-party packages need to be reported to the developers of the package.
Closing as this is not code that is part of the Flutter project.


Ability for the tf proxy to switch to terraform even when OpenTofu is present

Is your feature request related to a problem? Please describe.
From what I understand, if ~/.opentofu-version exists, tf will always choose OpenTofu. I switch between the two a lot, and it would be nice if tf always resolves to the last specified tenv <tool> use.
Describe the solution you'd like
The use command switches the tf proxy pointer:

$ tenv tofu use 1.7.0
OpenTofu 1.7.0 already installed
Written 1.7.0 in /Users/ant/.tenv/OpenTofu/version

$ tf version
OpenTofu v1.7.0
on darwin_amd64
+ provider registry.terraform.io/ryanwholey/pihole v0.2.0

$ tenv terraform use 1.5.3
Terraform 1.5.3 already installed
Written 1.5.3 in /Users/ant/.tenv/Terraform/version

$ tf version
Terraform v1.5.3
on darwin_amd64
+ provider registry.terraform.io/ryanwholey/pihole v0.2.0

Describe alternatives you've considered
I am typing out terraform when using terraform instead of the shorthand.

You switch between terraform and opentofu in the same project ?

The resolution order used by tf is here. It does not rely on $TENV_ROOT/<TOOL>/Version written by tenv <tool> use
However, you can use the -w flag to write a .opentofu-version or .terraform-version in the working directory (and rm .opentofu-version to avoid the .terraform-version hiding). As in :
$ tenv tofu use 1.7.0 -w
OpenTofu 1.7.0 already installed
Written 1.7.0 in /home/dvaumoron/go/src/github.com/tofuutils/tenv/.opentofu-version

You switch between terraform and opentofu in the same project ?

No, I have terraform on some work projects and opentofu on personal ones. Sorry I probably should have run those sample commands in a directory where I hadn't run init :)
Ah ok, I was hoping leaving out the -w would just set the home directory file version and that one would be prioritized, but I can adjust to just remember to use the -w on each project.

tf try the resolution order in working directory and does the same on parent directory and so on up to the root.

tf has been designed to rely on a .opentofu-version or a .terraform-version at each project root.

Thank you! I appreciate all the work you guys are putting into thi!


postfix completion reports incorrect position

VSCode Version: since 1.41 (also tried insider build)
OS Version: Ubuntu 18.04

Steps to Reproduce:

using ipatalas.vscode-postfix-ts  extension
inside a function type foo.le
perform a postfix completion after e and select let
code gets expanded to lelet name = foo

position reported for completion is after . instead of e
same thing happens with nadako.vshaxe extension, it works fine in 1.40.x

This happens when a completion item defines additional text edits that happen on the same line and before the current cursor position.

I just tried with latest insider build and your fix works for both extensions. Thanks a lot!

Discussed in the standup and agreed to be included for November Recovery.


Fix issue #1825: use of ! with instanceof should require parentheses

LGTM
@caitp @jugglinmike ?

looks good to me, I'm surprised this wasn't already happening =) genuinely shocked

Probably because Crockford wasn't using new and so never really used the code pattern that this would most likely appear in, therefore never considered :)

so, the only thing is, it's possible this will break peoples builds --- there's a trivial workaround, but it's not very nice to ship something like that in a patch release.
Maybe, this error should get its own message to at least make it obvious how to fix any build failures that it triggers (and give it its own relaxation option to turn it off)

so, the only thing is, it's possible this will break peoples builds --- there's a trivial workaround, but it's not very nice to ship something like that in a patch release.

Maybe, this error should get its own message to at least make it obvious how to fix any build failures that it triggers (and give it its own relaxation option to turn it off)

Nice catch :)

I'm in holidays for 1 week (the kind of holidays without a computer) so feel free to take it from here :)

so, the only thing is, it's possible this will break peoples builds --- there's a trivial workaround, but it's not very nice to ship something like that in a patch release.

If this shipped in a minor release instead, would it be ok ?

@julienw npm would still pull it in when people use the hat operator (like ^2.6.3 in package.json).
Maybe we could merge this and I could add some quick fixes to it tonight?

ok, I get it: minor versions include only backward compatible changes, and this is not one.
This is not that urgent, this is waiting for several months, so I can do the needed change when I come back if necessary. No need to rush.
In case you intend to do a major version this week, feel free to merge :p

\o/ thanks. And sorry for not taking the time to fix the comments ..


TOMEE-2314 - Code cleanup in modules listed in description

This was little to big but next time will make JIRA ticket for each module  before start coding
Modules worked in :
openejb-multicast,
openejb-axis,
openejb-common-cli,
openejb-ejbd,
openejb-server,
openejb-webservices,
tomee-common,
Usage of dimond operator, remove unused import and Java Doc

Would you please fix the conflict so I can merge it for you?
Yes next time, please prefer smaller PRs as they are easier to review

Yes sorry about that, I will not rush and do it properly next time and will try to fix the conflicts today

Thank you. Lemme know when done, I'm happy to do the boilerplate under the cover to get this in.

Here we go. Thanks a lot. Should be all in

Hey @cicekhayri
I am just curious: To which naming convention are you referring to in your first commit?
I thought, that constants consisting of more than one word will be separated by using "_", e.g. "CURRENTUNIVERSE" would be "CURRENT_UNIVERSE"

Oh it should be like you wrote CURRENT_UNIVERSE, I can try to fix it later today

Hi @cicekhayri
thanks for your fast response :)
I think, that there are a few more constants following this pattern.
Shall I provide feedback, there I think, it could be improved via comments in the respective commit (https://github.com/apache/tomee/pull/231/commits/4e07471da871abc578c1c8a9c453c9be39dbe238) ?

Absolutely it would be great 😊

Hey @cicekhayri ,
I added related comments related to JNC. Maybe you can open a new JIRA for improvements and reference it in the next related PR :) - Thank you very much!

Thank you so much I will try to fix it today 😊


remove README.rst

Try this for maintaining just one README file (.md) and get rid README.rst.
pysal/pointpats#24

pysal/pointpats#26

Addressed in #233


Refactor parsers to use named groups

/(?<timestamp>regexp)/ and similar, instead of the match group variables $1, $2 etc.

I started some work on this, it's in progress

Fixed in 1c9ad30


remove image

hopefully it works this time

removing one piece of code at a time to figure out what is causing the image to stay


Scale AKS nodepools

Is your feature request related to a problem? Please describe.
Ability to scale AKS node pools.
Describe the solution you'd like

Scaler to scale multiple node pools in an AKS cluster.
documentation on how to tag those clusters.

Initial Research
After looking into what possible options there are with regard to scaling in AKS, I found that it is not possible to vertically scale an existing AKS node pool, and is not being worked on (https://github.com/Azure/AKS/issues/132). That said there could be 2 potential options for Bellhop to help AKS node pools scale. More Discussion Required
Option 1 - Horizontal Scaling:
No vertical scaling, horizontal scaling only. I believe the idea is to complement what currently exists via VMSS and Cluster and Horizontal Pod Autoscaling.
Discussion Required:

What do we plan to add to Cluster Autoscaling?
Customer can already scale user host pools down to 0 nodes, we do not give the ability to do this for the system host pool.

https://docs.microsoft.com/en-us/azure/aks/scale-cluster#scale-user-node-pools-to-0

What value does Bellhop add here?

Option 2 - Vertical Scaling:
For ephemeral or stateless workloads, Bellhop could potentially be used to work around the vertical scaling issues in Azure. The idea is to create a new node pool with the desired worker node size, direct traffic to the new node pool, tear down previous node pool:
Initial workflow:

Customer adds required tags (to be determined) to their node pool
Engine identifies node pool and sends message to queue
Scaler picks up message and imports AKS scaler module
Scaler module creates new node pool with desired size worker nodes

Replication/Data transfer??
Adds "saveState-" tags to new node pool
Tear down old node pool

Scale up would reverse this process, and create a new node pool with the original node pool configuration


Missing support for serializable enums

Causing a failure for examples/checker_tests/good/table-entries-ser-enum-bmv2.p4 but I think it might be another face of the implicit casts issue #155.

I just came across this in my debugging of the interpreter; seems like a pretty simple fix for someone familiar with the type checker?

Looks like this has been fixed, the test passes on master (cd2faffa439d0f196f10f0ba28573d3d6a98ec3f).


Refine merkle tree construction

Resolves #511

Also I created an issue for the pre-image attack bit: https://github.com/codex-storage/nim-codex/issues/511. You could probably close it with this PR?

Also I created an issue for the pre-image attack bit: #511. You could probably close it with this PR?

I just marked this PR as resolving the #511

From our sync discussion:

We want to store the global multihash codec for the interior nodes as a type field and only store the digest bytes for each node
We want to additionally store the CID codec for the merkle root so we can continue using the existing repo as a storage backend
We should probably rework the tree to be a full tree, which means that it has to contain an even number of nodes at each level

The overhead from that would be one additional hash per level, but it will greatly simplify the logic for calculating the number of nodes, height, offsets, etc. For reference look at the https://en.wikipedia.org/wiki/Binary_tree#Properties_of_binary_trees
For serialization purposes, we don't need to store the duplicate/dummy nodes, so the overhead is mostly just in memory

@dryajov Let me know if the current data model as well as accessors are sufficient. Internally tree is stored just a seq[byte] while on the API MultiHash is used (bytes are converted to MultiHash)
MerkleTree* = object
    mcodec: MultiCodec
    digestSize: Natural
    leavesCount: Natural
    nodesBuffer: seq[byte]

proc root*(self: MerkleTree): MultiHash

proc leaves*(self: MerkleTree): seq[MultiHash]

Moved to a different PR


update plugin version 1.8.0

Docs Build status updates of commit 4a7f7f9:
:clock10: Full build: the average full build time is 73 min(s), this is based on the last 364 build(s) for this repository.

#sign-off

Docs Build status updates of commit 4a7f7f9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/spring-framework/deploy-spring-boot-java-app-with-maven-plugin.md
:warning:Warning
View (azure-java-stable) View (azure-java-preview) View (azure-java-legacy)
Details

docs-ref-conceptual/spring-framework/deploy-spring-boot-java-app-with-maven-plugin.md

Line 330: [Warning] Invalid file link:(~/docs-ref-conceptual/spring-framework/media/deploy-spring-boot-java-app-with-maven-plugin/AP03.png).
Line 330: [Warning] Invalid file link:(~/docs-ref-conceptual/spring-framework/media/deploy-spring-boot-java-app-with-maven-plugin/AP03.png).
Line 330: [Warning] Invalid file link:(~/docs-ref-conceptual/spring-framework/media/deploy-spring-boot-java-app-with-maven-plugin/AP03.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 75e022e:
:clock10: Full build: the average full build time is 73 min(s) 8 sec(s), this is based on the last 367 build(s) for this repository.

Docs Build status updates of commit 75e022e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/spring-framework/deploy-spring-boot-java-app-with-maven-plugin.md
:warning:Warning
View (azure-java-stable) View (azure-java-preview) View (azure-java-legacy)
Details

docs-ref-conceptual/spring-framework/deploy-spring-boot-java-app-with-maven-plugin.md

Line 330: [Warning] Invalid file link:(~/docs-ref-conceptual/spring-framework/media/deploy-spring-boot-java-app-with-maven-plugin/AP03.png).
Line 330: [Warning] Invalid file link:(~/docs-ref-conceptual/spring-framework/media/deploy-spring-boot-java-app-with-maven-plugin/AP03.png).
Line 330: [Warning] Invalid file link:(~/docs-ref-conceptual/spring-framework/media/deploy-spring-boot-java-app-with-maven-plugin/AP03.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off


support brew support in the future?

@hsingll Thank you for the interest in my project and your suggestion!
bclm can now be installed easily via a brew tap. See the updated README:
$ brew tap zackelia/formulae
$ brew install bclm


Possibility of URL tracking

Hi, Thanks for the package, will it be possible to get URL is the active window is browser. Close the issue at your continence. I plan to use this in an electron app

Hi @Srini-B !
This would only be possible on MacOS using applescript. I don't plan on implementing this one into the library since it can be done easily using other packages when you detect a browser as the frontmost application.
For example using https://www.npmjs.com/package/run-applescript you could execute tell app id "${appId}" to get the URL of active tab of front window.


I want to translate a Chinese version

I want to translate a Chinese version，Whether the request can then merge into PR。

Yes, you can create a README.{locale}.md file in this project


not response after switch window

windows 1803
wsl ubuntu version 18
wsl-terminal version v0.8.11
When is use alt + f2 create a new window and ctrl + tab to switch wsl window  the last window is not response.

this is not reproducible on 0.9.0. I will close it. If you can reproduce it please re-open.


Error in running "security_barrier_camera_demo.exe" with my trained models

Hi.
when I tested the security_barrier_camera_demo.exe with the following argument:
security_barrier_camera_demo.exe -m E:\models\vehicle-license-plate-detection-barrier-0106.xml   -m_lpr E:\models\license-plate-recognition-barrier-0001.xml  -i E:\models\car.bmp
I got the following result:
C:\Users\ngm\Documents\Intel\OpenVINO\in\intel64\Debug>security_barrier_camera_demo.exe -m E:\models\vehicle-license-plate-detection-barrier-0106.xml   -m_lpr E:\models\license-plate-recognition-barrier-0001.xml  -i E:\models\car.bmp
[ INFO ] InferenceEngine:
        API version ............ 2.0
        Build .................. 27579
        Description ....... API
[ INFO ] Files were added: 1
[ INFO ]     E:\models\car.bmp
[ INFO ] Loading device CPU
        CPU
        MKLDNNPlugin version ......... 2.0
        Build ........... 27579

[ INFO ] Loading detection model to the CPU plugin
[ INFO ] Loading Licence Plate Recognition (LPR) model to the CPU plugin
[ INFO ] Number of InferRequests: 1
[ INFO ] Display resolution: 1920x1080
[ INFO ] Number of allocated frames: 3
[ INFO ] Resizable input with support of ROI crop and auto resize is disabled
Mean overall time per all inputs: 13585.76ms / 0.07FPS for 1 frames
Detection InferRequests usage: 100.00%
[ INFO ] Execution successful

Also, I successfully  trained two model named my_plate_detector and my_lpr_model,    for license plate detection and license plate recognition using the "SSD Object Detection" and "LPRNet: License Plate Recognition" scripts in openvino_training_extensions on my own car and plate datasets. Both models perform perfect with python  lpr infer_ie and  ssd infer_ie scripts inside openvino_training_extensions.
Now I want to run the  security_barrier_camera_demo.exe with my trained models. When I pass the following arguments to cmd:
security_barrier_camera_demo.exe -m E:\models\my_plate_detector.xml  -m_lpr E:\models\my_lpr_model.xml  -i E:\models\img.jpg
I get the following error:
[ INFO ] InferenceEngine:
        API version ............ 2.0
        Build .................. 27579
        Description ....... API
[ INFO ] Files were added: 1
[ INFO ]     E:\models\img.jpg
[ INFO ] Loading device CPU
        CPU
        MKLDNNPlugin version ......... 2.0
        Build ........... 27579

[ INFO ] Loading detection model to the CPU plugin
[ INFO ] Loading Licence Plate Recognition (LPR) model to the CPU plugin
[ ERROR ] LPR should have 2 inputs

What does mean that "LPR should have 2 inputs"? Why  security_barrier_camera_demo.exe can not execute my lpr model?   I want to use my trained lpr model in c++ api but I don't know how can  I overcome this error. Also, I realized that I should change  the following piece of net_wrappers.hpp, in order that I use security_barrier_camera_demo.exe with my own models:
std::string getResults(InferenceEngine::InferRequest& inferRequest) {
        static const std::vector<std::string> items = {
                "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
                "<Anhui>", "<Beijing>", "<Chongqing>", "<Fujian>",
                "<Gansu>", "<Guangdong>", "<Guangxi>", "<Guizhou>",
                "<Hainan>", "<Hebei>", "<Heilongjiang>", "<Henan>",
                "<HongKong>", "<Hubei>", "<Hunan>", "<InnerMongolia>",
                "<Jiangsu>", "<Jiangxi>", "<Jilin>", "<Liaoning>",
                "<Macau>", "<Ningxia>", "<Qinghai>", "<Shaanxi>",
                "<Shandong>", "<Shanghai>", "<Shanxi>", "<Sichuan>",
                "<Tianjin>", "<Tibet>", "<Xinjiang>", "<Yunnan>",
                "<Zhejiang>", "<police>",
                "A", "B", "C", "D", "E", "F", "G", "H", "I", "J",
                "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T",
                "U", "V", "W", "X", "Y", "Z"
        };

Please guide me how can I use security_barrier_camera_demo.exe with my trained models. Thanks a lot.

Hi @farshadopencv
The license-plate-recognition-barrier-0001 model was converted from Caffe framework and have small differences from TF model. One of this is that the model have second input, that is some relic from the training framework.
Try to use my branch from https://github.com/AlexanderDokuchaev/open_model_zoo/tree/compatibility_with_ote_model.   security_barrier_camera_demo have been modified to works with the model from   openvino_training_extensions.

@AlexanderDokuchaev  Thanks so much. now it works fine with my trained models.


"Encoding not recognized"

Open folder with git enabled
Set "files.encoding": "utf8bom"
Reload window
See error in devtools console

[Extension Host] Error: Encoding not recognized: 'utf8bom' (searched as: 'utf8bom')
    at Object.getCodec (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/git/node_modules/iconv-lite/lib/index.js:102:23)
    at Object.getDecoder (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/git/node_modules/iconv-lite/lib/index.js:118:23)
    at Object.decode (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/git/node_modules/iconv-lite/lib/index.js:36:25)
    at Socket.once (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/git/out/git.js:126:59)
    at Object.onceWrapper (events.js:290:19)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

"utf8bom" is an encoding that we apparently support as it shows up in the intellisense for that setting. I thought that list came from encodings supported by iconv-lite. Not sure whether git is doing something different, or whether it doesn't work in the editor either. But, I had an issue filed about this encoding label not being supported by ripgrep so people are using it.

Yes, careful: we add this to the list of encodings because in the workbench we can deal with it. But it is not a iconv-lite encoding. No matter what, git should just check if the encoding is supported via encodingExists

Thanks @bpasero


Improve repository README

This PR simplifies the repository README content as follows:

'Hide' installation instructions for older releases
Remove references to :dev container images, which we don't build anymore (the one on quay is 9 months old!)
Remove --debug flag from the container instructions (debug should only be used for troubleshooting purposes to avoid excessive output)

What changes were proposed in this pull request?
See above

How was this pull request tested?
Reviewed updated REAME

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Documentation build failure should be resolved after https://github.com/elyra-ai/elyra/pull/2836 was merged and this branch was rebased.


update local to fix bug if a nodegroup doesn't have labels

Only tested the make infra with
variables:
node_groups:
test:
scaling_max_size: 2
subnet_ids: [
"priv-eu-west-1b"
]
labels:
test: "true"
and
variables:
node_groups:
test:
scaling_max_size: 2
subnet_ids: [
"priv-eu-west-1b"
]
in my haddock

Fail when applied


Current Date Displayed on Front-End of Blog Posts Instead of Published Date

Expected behavior
Published date should be displayed on front end of blog posts.
Actual behavior
Current date displayed on front end of blog posts.
Steps to reproduce behavior
Example here: https://www.chrisapappas.com/2019/02/11/grammys-2019-best-dressed/
See how this posts shows the date as 4/3/2019 (current date). The date published should be 2/11/2019. All the individual posts show this. However, the back end and post archive is fine.
This is the code in single.php:
$context                 = Timber::get_context();
$post                    = Timber::query_post();
$context['timberPost']   = $post;
$context['post']         = getSinglePost('post', $post->ID);
$context['comment_form'] = TimberHelper::get_comment_form();
$context['instagram']    = $instagramCachedResults;
if (post_password_required($post->ID)) {
Timber::render('single-password.twig', $context);
} else {
Timber::render(array('single-' . $post->ID . '.twig', 'single-' .
$post->post_type . '.twig', 'single.twig'), $context);

In a file called functions--custom-posts.php I see this code:
function getSinglePost($posttype = null, $id = null)
{
if ($id != null) {
    $postId = $id;
} else {
    $postId = get_the_id();
}

$attachedimage = new TimberImage(get_post_thumbnail_id());
$categories    = get_the_category();

// setup an array to change the post data returned
$singlePostArray = array(
    'date'       => strtotime(get_the_date()),
    'id'         => get_the_id(),
    'title'      => get_the_title(),
    'categories' => $categories,
    'content'    => get_the_content(),
    'excerpt'    => get_the_excerpt(),
    'tags'       => get_the_tags(),
    'post_type'  => $posttype,
    'image'      => $attachedimage,
    'link'       => get_permalink(),
);
if ($posttype == 'post') {
    $singlePostArray['custom'] = prepareBlogPostFields();
}

// Restores original Post Data
wp_reset_postdata();

return $singlePostArray;
}

Might be the update to PHP 7.2 that is causing it. But cannot figure out where the problem is.
What version of WordPress, PHP and Timber are you using?
WordPress 5.0.4, PHP 7.2, Timber 1.8.4
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
This website was recently handed over to us and I did not build the theme. But it is currently activated as a plugin. I already posted this question in Wordpress Stack Exchange, but cannot tag it with "Timber" because I don't have enough reputation. Thanks.

@jenclickspring at the post shows the date as 2/11/2019.

Yeah, I think we're good here. FWIW this line ...
'date'       => strtotime(get_the_date()),

in functions--custom-posts.php suggests that there might be some assumptions in the code about being in-loop for certain templates. Without seeing the whole theme, it's hard to know for sure, but it suggests the original authors of the theme aren't taking advantage of some natural behaviors of Timber\Post


package does not follow separation of concerns

Currently, the Unilateral class handles passing spread probabilities to the Node instances to help it compute its trans_prob. But the Node class should be able to do that itself based on its incoming Edge instances.

To wrap this up a little more:

The class Unilateral should request transition probabilities from the Node class, and send new parameters to the Edge class.
The Node class should request the parameters to compute its transition probability from the incoming Edge classes, and send the computed probability to the Unilateral class.
The Edge class should receive new spread probabilities from the Unilateral class, and send then to the Node class it points to upon request.

That way, everything is nicely encapsulated and modular. For example, if we want to change the parametrization, we would only need to modify the implementation in the Unilateral class.


prefilled tag in search result

Currently there is no out-of-the-box solution to display a list of links to articles with a certain tag.
Description of solution
Extend the search results module with a field 'prefilled tag' and a text field.
The results list should be populated like http://sitname/Search-Results?Search=[prefill]
The functionality of search results by tags already exists, so this would seem a small feature with great benefits...
Description of alternatives considered
Build a seperate module that pulls data from database etc. But that sounds way to complex and we don't need that...

This would need to be on the specific module level, I have created custom search items for ecommerce modules, the system supports creating your own search categories per module, but this would be something that articles module would need to implement. If I did not understand the issue correctly feel free to comment with more details...

Ok, I'll try to explain in a different way.

The aim is to create pages with links that are related to a certain topic. In this case 'Brexit'. Of course, there is an option to add a link module but that would be handwork and not desirable.
An easy solution is to use tags. The editor can create a vocabulary and add the tags to pages or modules. A way to have a page with links related to brexit would be http://dnndemo.tjeps.com/Search-Results?tag=brexit
So, just a page with a search results module where a predefined tag is added to the url.
Now, for editors to have control, they would need a field that allows them to add a tag.

The change would only be in the search results module.
Does this clarify things?

this can be done by adding some rewrite rules, for example:

you create a page /search/pages, and put the search results module on the page;
add some rewrite rules in web.config, to redirect the requests such as:
/search/pages/{tag}-> /search/pages?tag={tag}

then when request /search/pages/brexit, it will display the search result module with tag "brexit" defined, it will only display results which have the tag.  for rewrite rules, you can reference to https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module to get more information.

I guess that could work... But I rather won't have to hand over the keys to the web.config to editors...
BTW: working with the editor in mind, I tried to create a 'page' that redirects to the same page with ?tag={tag} but the results in 'too manu redirections. Which makes sense of course.

you don't have to list all the keys in web.config, the {tag} can be an expression to match all the keys, so one rule should be good enough to redirect all the keys.

@zyhfish as I am not as familiar with these kind of expressions, could you help out?
The default page of the search results is /Search-Results
So, how would the code snippet look like in the web.config?
Just:

<action type="Rewrite" url=/search-results?tag={tag}" />

??
I bet there is more to it :-)


⚠ AGEG website (prod) has degraded performance

In dee7193, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1682 ms

Resolved: AGEG website (prod) performance has improved in 5dbabea.