meta: Change file extensions to .MD?

See title.
Pros

Descriptions are easier to read (instead of a leading comment, we can have markdown)
Eliminates any possible confusion that YAGPDB CC has any relation to Lua or other programming languages
Can still have syntax highlighting in codeblocks

Cons

Harder to copy code on mobile

I've just forked the repo and updated my file extensions via a Bash script. I've probably did it wrong, but the code isn't showing correctly
Anyways, I think you could have two folders, one with .lua and the other with .MD files

@MatiasMFM2001 the idea here is not to simply copy all the existing code and change the file extension, but to move information about the CC itself (currently put in the leading comment) into the Markdown file itself so it is easier to read. Then, we can have a Code section (or similar) in a codeblock. This way we would retain current syntax highlighting while improving experience for users.
Personally, I am not in favor of the idea of having both .lua and .md files, but I can see the appeal (users can view CCs through the markdown files, and copy through the .lua file which is the code only). In this case I would argue that the .lua extension is not even needed - instead, cc.md and cc.source.txt.
Thanks for the input!

Ohhh, I understood!
I like the idea of only Markdown, but I'm thinking if I can solve it would be harder to copy on mobile. Maybe some "hybrid syntax"  that both Markdown and YAGPDB would be confortable with

I tried in my repo, with animal.md CC. I know {{/* is visible, but that allows Mobile users to tap on "View raw" and copy entire code to YAG's webpage, without worrying about syntax issues between languages

In this case I would argue that the .lua extension is not even needed - instead, cc.md and cc.source.txt.
Any thoughts about this? Great idea with the {{/*, but I'm somewhat hesitant about doing that as it's visually distracting (at least to me) and looks to be a typo at first glance.

Any thoughts about this?
I agree, you can open a .txt with any software so that will save headaches

Great idea with the {{/*, but I'm somewhat hesitant about doing that as it's visually distracting (at least to me) and looks to be a typo at first glance.
I agree that is unsightly, but I think is the only way to maintain compatibility with both languages, without asking users to manually delete X lines after copying the code to YAG's editor

I will still try to hide that

Closing in favor of #53, which is essentially this issue but more thought-out and with an implementation proposal.


Raise exception instead of returning None

In the case that you receive bad input, this would be an exception case. Otherwise it false through to essentially False which could cause bugs.

+1


Register

@JuliaRegistrator register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/50008
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" f782e0ff058f2fe72146666e65f1a07e5ba835b4
git push origin v0.1.1

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/50727
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.2 -m "<description of version>" 3aa160fba3b50eadfa0809edb5890615a4a02727
git push origin v0.1.2

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/54746
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.3 -m "<description of version>" 07b7c4e124e474874578e0616383eba4cc4602f9
git push origin v0.1.3

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/62483
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.4 -m "<description of version>" 0fc270e7b656e81cd0ee4b31727cc3ba6af62304
git push origin v0.1.4

Registration pull request created: JuliaRegistries/General/64073
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.5 -m "<description of version>" f7983f830b2a34c37a9de41c46e5bb3096b11bbe
git push origin v0.1.5

@JuliaRegistrator register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/92961
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" bb7a6ec81e0b5bf6a06c9fe926aea661e8423419
git push origin v0.2.1

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/98843
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.2 -m "<description of version>" db458aeec69ea6cba7e86cf054eb3f1516e83d70
git push origin v0.2.2


Update README.md with macOS installation instructions

Adds a section for M1 or M2 Mac computers with step-by-step instructions to install StableSwarmUl on macOS.
The launch-macos.sh script is the same as the 'launch-linux.sh' script and is included in a different PR.
This procedure has been tested on an M1 Mac computer with macOS 'Ventura' 13.4.1 (c)

❤ Thank you!


About Version 2.4.1

Update the version. The current version has not been updated for more than three years.
I think it's not active at the moment. If it goes on like this, it will affect the usage. Thank you.

Indeed, given the various PR's merged since the last release perhaps its time for 2.5.0 even.

2.4.1 was released afaik, pypi claims it was. The changelog wasn't updated though.


WIP: Tests for "streaming for resample image filter in case of linear transforms"

PR for only the tests that are expected to succeed with #82 in order to check their outcome without the changes to itkResampleImageFilter (which currently appear to effect other tests (like itkMultiResolutionPyramidImageFilterWithResampleFilterTest) as well)

@romangrothausmann Happy New Year! :champagne:
One of my resolutions is to get this awesome contribution in :-)
Would you mine, please

Squash all commits into a single ENH commit.
Rebase on current ITK master
Create the pull request against ITK master instead of release-4.13

We have the CI working on master, so that should help us move forward.
Thanks!


Failed to prewarm ingress

I wanted to capture this here as an issue we have encountered. We have migrated from 1.9.2 -> 1.10.2 on the way to 1.11.1, but we have a number of clusters, averaging around 200 kservices, many of which have been scaled down by knative. We aren't sure if this is net-kourier trying to start them up (these services are Ruby monoliths, they don't start fast :-( ) and timing out or some other issue.
{"severity":"EMERGENCY","timestamp":"2023-09-11T08:24:49.116874962Z","logger":"net-kourier-controller","caller":"ingress/controller.go:233","message":"Failed prewarm ingress","commit":"28aa7dc-dirty","error":"failed to translate ingress: failed to fetch service 'some-namespace/core-app-00001': Get \"https://<IP_ADDRESS>:443/api/v1/namespaces/some-namespace/services/core-app-00001\": context canceled","stacktrace":"knative.dev/net-kourier/pkg/reconciler/ingress.NewController\n\tknative.dev/net-kourier/pkg/reconciler/ingress/controller.go:233\nknative.dev/pkg/injection/sharedmain.ControllersAndWebhooksFromCtors\n\tknative.dev/pkg@v0.0.0-20230418073056-dfad48eaa5d0/injection/sharedmain/main.go:463\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20230418073056-dfad48eaa5d0/injection/sharedmain/main.go:273\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\tknative.dev/pkg@v0.0.0-20230418073056-dfad48eaa5d0/injection/sharedmain/main.go:210\nmain.main\n\tknative.dev/net-kourier/cmd/kourier/main.go:46\nruntime.main\n\truntime/proc.go:250"}

But even when I bring that particular service up, it still seems to be failing. I notice there is quite a lot of activity around this startup ingress issue, so we will upgrade to 1.11.1 and see if that resolves it. Currently the 1.9.2 deployment hasn't scaled down because the 1.10.2 can't come up as it keeps crashing so we are ok. These are all non-production clusters.

OK, I have upgraded to 1.11.0 and then overridden the image for net-kourier to the v1.11.1 version to see if it resolves this issue, and now it can't see secrets either:
{"severity":"EMERGENCY","timestamp":"2023-09-11T21:19:27.014030806Z","logger":"net-kourier-controller","caller":"ingress/controller.go:231","message":"Failed prewarm ingress","commit":"a48c118-dirty","error":"failed to translate ingress: failed to fetch secret: secret \"<secret-in-namespace>\" not found","stacktrace":"knative.dev/net-kourier/pkg/reconciler/ingress.NewController\n\tknative.dev/net-kourier/pkg/reconciler/ingress/controller.go:231\nknative.dev/pkg/injection/sharedmain.ControllersAndWebhooksFromCtors\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:463\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:273\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:210\nmain.main\n\tknative.dev/net-kourier/cmd/kourier/main.go:32\nruntime.main\n\truntime/proc.go:250"}

It seems to have permissions via the clusterrole to access secrets across the cluster so it can't be a permission thing.

as per request from @skonto
k logs -f net-kourier-controller-6f786c866c-dv4s6
2023/09/12 04:13:16 Registering 2 clients
2023/09/12 04:13:16 Registering 4 informer factories
2023/09/12 04:13:16 Registering 5 informers
2023/09/12 04:13:16 Registering 1 controllers
{"severity":"INFO","timestamp":"2023-09-12T04:13:16.746229637Z","logger":"net-kourier-controller","caller":"profiling/server.go:65","message":"Profiling enabled: false","commit":"a48c118-dirty"}
{"severity":"INFO","timestamp":"2023-09-12T04:13:16.75123909Z","logger":"net-kourier-controller","caller":"leaderelection/context.go:47","message":"Running with Standard leader election","commit":"a48c118-dirty"}
{"severity":"INFO","timestamp":"2023-09-12T04:13:16.89856344Z","logger":"net-kourier-controller","caller":"ingress/controller.go:211","message":"Priming the config with 91 ingresses","commit":"a48c118-dirty"}
{"severity":"EMERGENCY","timestamp":"2023-09-12T04:13:16.898781527Z","logger":"net-kourier-controller","caller":"ingress/controller.go:231","message":"Failed prewarm ingress","commit":"a48c118-dirty","error":"failed to translate ingress: failed to fetch secret: secret \"<secret-name>\" not found","stacktrace":"knative.dev/net-kourier/pkg/reconciler/ingress.NewController\n\tknative.dev/net-kourier/pkg/reconciler/ingress/controller.go:231\nknative.dev/pkg/injection/sharedmain.ControllersAndWebhooksFromCtors\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:463\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:273\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:210\nmain.main\n\tknative.dev/net-kourier/cmd/kourier/main.go:32\nruntime.main\n\truntime/proc.go:250"}

and the whole deployment if thats useful:
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "10"
    karpenter.sh/do-not-evict: "true"
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{"karpenter.sh/do-not-evict":"true"},"creationTimestamp":null,"labels":{"app.kubernetes.io/component":"net-kourier","app.kubernetes.io/name":"knative-serving","app.kubernetes.io/version":"1.11.1","networking.knative.dev/ingress-provider":"kourier"},"name":"net-kourier-controller","namespace":"knative-serving","ownerReferences":[{"apiVersion":"operator.knative.dev/v1beta1","blockOwnerDeletion":true,"controller":true,"kind":"KnativeServing","name":"knative-serving","uid":"c78e3f01-caaf-41e9-bdd2-cb9f3ddd3c72"}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"net-kourier-controller"}},"strategy":{"rollingUpdate":{"maxSurge":"100%","maxUnavailable":0},"type":"RollingUpdate"},"template":{"metadata":{"annotations":{"karpenter.sh/do-not-evict":"true","prometheus.io/path":"/metrics","prometheus.io/port":"9090","prometheus.io/scrape":"true"},"creationTimestamp":null,"labels":{"app":"net-kourier-controller"}},"spec":{"containers":[{"env":[{"name":"CERTS_SECRET_NAMESPACE"},{"name":"CERTS_SECRET_NAME"},{"name":"SYSTEM_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"METRICS_DOMAIN","value":"knative.dev/samples"},{"name":"KOURIER_GATEWAY_NAMESPACE","value":"knative-serving"},{"name":"ENABLE_SECRET_INFORMER_FILTERING_BY_CERT_UID","value":"false"},{"name":"KUBE_API_BURST","value":"200"},{"name":"KUBE_API_QPS","value":"200"}],"image":"gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier@sha256:941af346142848b92ec256ce75691d6b1e83632180a9dcb05f3ef7e7e51acfc9","livenessProbe":{"failureThreshold":6,"grpc":{"port":18000,"service":null},"periodSeconds":10},"name":"controller","ports":[{"containerPort":18000,"name":"http2-xds","protocol":"TCP"}],"readinessProbe":{"failureThreshold":3,"grpc":{"port":18000,"service":null},"periodSeconds":10},"resources":{"limits":{"cpu":"500m","memory":"500Mi"},"requests":{"cpu":"200m","memory":"200Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}],"restartPolicy":"Always","serviceAccountName":"net-kourier"}}},"status":{}}
    manifestival: new
  creationTimestamp: "2023-04-18T01:12:45Z"
  generation: 10
  labels:
    app.kubernetes.io/component: net-kourier
    app.kubernetes.io/name: knative-serving
    app.kubernetes.io/version: 1.11.1
    networking.knative.dev/ingress-provider: kourier
  name: net-kourier-controller
  namespace: knative-serving
  ownerReferences:
  - apiVersion: operator.knative.dev/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: KnativeServing
    name: knative-serving
    uid: c78e3f01-caaf-41e9-bdd2-cb9f3ddd3c72
  resourceVersion: "259433966"
  uid: e7847ee8-8285-44c1-b916-5898066dd072
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: net-kourier-controller
  strategy:
    rollingUpdate:
      maxSurge: 100%
      maxUnavailable: 0
    type: RollingUpdate
  template:
    metadata:
      annotations:
        karpenter.sh/do-not-evict: "true"
        prometheus.io/path: /metrics
        prometheus.io/port: "9090"
        prometheus.io/scrape: "true"
      creationTimestamp: null
      labels:
        app: net-kourier-controller
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: app
                  operator: In
                  values:
                  - net-kourier-controller
              topologyKey: kubernetes.io/hostname
            weight: 1
      containers:
      - env:
        - name: CERTS_SECRET_NAMESPACE
        - name: CERTS_SECRET_NAME
        - name: SYSTEM_NAMESPACE
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
        - name: METRICS_DOMAIN
          value: knative.dev/samples
        - name: KOURIER_GATEWAY_NAMESPACE
          value: knative-serving
        - name: ENABLE_SECRET_INFORMER_FILTERING_BY_CERT_UID
          value: "false"
        - name: KUBE_API_BURST
          value: "200"
        - name: KUBE_API_QPS
          value: "200"
        image: gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier@sha256:941af346142848b92ec256ce75691d6b1e83632180a9dcb05f3ef7e7e51acfc9
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 6
          grpc:
            port: 18000
            service: ""
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        name: controller
        ports:
        - containerPort: 18000
          name: http2-xds
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          grpc:
            port: 18000
            service: ""
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        resources:
          limits:
            cpu: 500m
            memory: 500Mi
          requests:
            cpu: 200m
            memory: 200Mi
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          readOnlyRootFilesystem: true
          runAsNonRoot: true
          seccompProfile:
            type: RuntimeDefault
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: net-kourier
      serviceAccountName: net-kourier
      terminationGracePeriodSeconds: 30
status:
  availableReplicas: 1
  collisionCount: 1
  conditions:
  - lastTransitionTime: "2023-08-26T12:48:55Z"
    lastUpdateTime: "2023-08-26T12:48:55Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2023-09-12T04:23:06Z"
    lastUpdateTime: "2023-09-12T04:23:06Z"
    message: ReplicaSet "net-kourier-controller-6f786c866c" has timed out progressing.
    reason: ProgressDeadlineExceeded
    status: "False"
    type: Progressing
  observedGeneration: 10
  readyReplicas: 1
  replicas: 2
  unavailableReplicas: 1
  updatedReplicas: 1

The ingress definition is
apiVersion: networking.internal.knative.dev/v1alpha1
kind: Ingress
metadata:
  annotations:
    argocd.argoproj.io/sync-wave: "20"
    networking.internal.knative.dev/rollout: '{"configurations":[{"configurationName":"core-app","percent":100,"revisions":[{"revisionName":"core-app-00002","percent":100}],"stepParams":{}}]}'
    networking.knative.dev/ingress.class: kourier.ingress.networking.knative.dev
    serving.knative.dev/creator: system:serviceaccount:argocd:argocd-application-controller
    serving.knative.dev/lastModifier: system:serviceaccount:argocd:argocd-application-controller
  creationTimestamp: "2023-07-19T22:09:15Z"
  finalizers:
  - ingresses.networking.internal.knative.dev
  generation: 2
  labels:
    app: core-app
    app.kubernetes.io/managed-by: Helm
    argocd.argoproj.io/instance: au-3120r-core
    core/branch: au-3120-3.0-nz
    helm.sh/chart: corenetto-0.2.49
    retailer/brand: merx
    retailer/country: nz
    retailer/retailer: merx
    serving.knative.dev/route: core-app
    serving.knative.dev/routeNamespace: au-3120r
    serving.knative.dev/service: core-app
  name: core-app
  namespace: au-3120r
  ownerReferences:
  - apiVersion: serving.knative.dev/v1
    blockOwnerDeletion: true
    controller: true
    kind: Route
    name: core-app
    uid: 08bbd761-ee3d-4fa4-809b-c5c3a33b6a05
  resourceVersion: "180141926"
  uid: f4acd8af-36f3-402c-84ad-3ce86f1bc40e
spec:
  httpOption: Redirected
  rules:
  - hosts:
    - core-app.au-3120r
    - core-app.au-3120r.svc
    - core-app.au-3120r.svc.cluster.local
    http:
      paths:
      - splits:
        - appendHeaders:
            Knative-Serving-Namespace: au-3120r
            Knative-Serving-Revision: core-app-00002
          percent: 100
          serviceName: core-app-00002
          serviceNamespace: au-3120r
          servicePort: 80
    visibility: ClusterLocal
  - hosts:
    - core-app.au-3120r.<redacted>
    http:
      paths:
      - splits:
        - appendHeaders:
            Knative-Serving-Namespace: au-3120r
            Knative-Serving-Revision: core-app-00002
          percent: 100
          serviceName: core-app-00002
          serviceNamespace: au-3120r
          servicePort: 80
    visibility: ExternalIP
  tls:
  - hosts:
    - core-app.au-3120r.<redacted>
    secretName: au-3120r.<redacted>
    secretNamespace: au-3120r
status:
  conditions:
  - lastTransitionTime: "2023-07-19T23:09:12Z"
    status: "True"
    type: LoadBalancerReady
  - lastTransitionTime: "2023-07-19T22:09:16Z"
    status: "True"
    type: NetworkConfigured
  - lastTransitionTime: "2023-07-19T23:09:12Z"
    status: "True"
    type: Ready
  observedGeneration: 2
  privateLoadBalancer:
    ingress:
    - domainInternal: kourier-internal.knative-serving.svc.cluster.local
  publicLoadBalancer:
    ingress:
    - domainInternal: kourier.knative-serving.svc.cluster.local


Spaces seemingly not allowed

Challenge create-reusable-css-with-mixins has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

This challenge took me a few extra minutes to figure out as it seems to want exact lines. I had originally started with:
@mixin border-radius( $radius ){
and
@include border-radius( 15px );
respectively (note the spaces around the arguments). Is this a limitation of Sass, or of FCC/the level? If it is a hard requirement, would it be worth documenting somewhere? I just know this is the type of thing that has frustrated me a lot in prior years with similar challenges, and I can imagine it driving away people less familiar.

@aksnowman Sass allows it. Wanna fix this?

Okay :+1:


Try Protractor.NET

Try re-implementing some of the e2e tests using Protractor.NET.  See if this can replace the slower, less reliable scripted tests - and see if they are any more reliable.

Nevermind. e2e tests are proving not worth it anymore


Implement TxDelegate & TxUndelegate Logic

Context

The previous pull request https://github.com/postech-dao/simperby/pull/303 had been messed up with plethora of threads, so I created new pull request for readability of code reviewers.

@junha1 I squashed the commit and request the merge.


Peer to Peer code review 23rd Dec,2022

@annaeliana7 Your Portfolio looks really great 🥇
<img src="https://media.giphy.com/media/S5h4gvxxc1qlG/giphy.gif%22 alt="">
However there are some changes that needs to be made.

[ ] You need to hide the main scroll bar when you are viewing the pop window. You can apply the style to the main using the command 'main.style.position = 'fixed'
[ ] You can make transition to be  smoother by adding ease in attribute.

@annaeliana7 Your Portfolio looks really great 🥇

You need to hide the main scroll bar when you are viewing the pop window. You can apply the style to the main using the command 'main.style.position = 'fixed'
You can make transition to be smoother by adding ease in attribute.


wrong automatic sql hint

Description
wrong authomatic sql hint
DBeaver Version
community edition 23.0.1
Operating System
windows 11 64bit
Database and driver
postgresql 14
Steps to reproduce

write SQL in SQL editor
select with table alias

SELECT * from greate_project gp where gp.ele
2. DBeaver show help hint with alias  "gp.election_id"

it is wrong, because if we choice DBeaver hint, we see wrong SQL query

Additional context
I did not notice this behavior on the previous version.
the hint that I can choose must not contain an alias

Hello @T0toRo
Unfortunately, I can't reproduce it for now.

Could you provide the whole query?
And screen from this preference page: Preferences -> Editors -> SQL Editor -> Code completion

Unfortunately after reboot Dbeaver this truble not repeated

The question about your preference page is still actual, even if the issue can't be reproduced stable.
Also please let us know, if you meet this issue again and provide the text of such query.

There has been no update for a long time.
If the issue is still actual for you - feel free to reopen it with additional info.


Plus button doesn't work.

Clicking on "+" button does nothing except for Transform Component that displays "Remove component" 3 times.
To Reproduce:

Create empty entity;
Add camera and sprite components;
Close all of the tree nodes.

How to fix:
------------const std::string typeName(typeid(T).name());
------------const std::string imguiPopupID = std::string("ComponentSettings") + typeName;
------------ImGui::PushID(imguiPopupID.c_str());
Add these 3 lines of code inside SceneHierarchyPanel::DrawComponent right after the first if-branch and before calling uiFunction call ImGui::PopID();

std::string allocates memory on the heap.
Doing so is not recommended every frame.
Isn't it better to use sprintf or some other way of formatting instead of using + operators on std::string?
Like this piece of code below:
static char imguiPopupID[64];
// sprintf_s or snprintf but not sprintf because it is not safe
sprintf_s(imguiPopupID, 64, "ComponentSettings%s", typeid(T).name())
ImGui::PushID(imguiPopupID);

Feel free creating a pull request


Invisible Armor Stands Show Up In Mirrors

Version: immersive-portals-0.13(forMc1.16.1withFabric).jar
2 Minute Video Demonstrating The Issue: https://youtu.be/p7BMzHYsRVg

Because this mod renders portal "in spectator mode" and invisible armor stand is visible in spectator mode. This could be fixed

Fixed. Will be in the next version


Fixed AssumptionException for protein group metadata

fixed AssumptionException for protein group metadata in WritePeptideGroupXml (reported by Rich)

I think it's because a non-metadata-friendly protein (cRAP contaminant accession) was grouped with metadata friendly proteins (trembl/swissprot).

Should this be cherry-picked to release?

Should this be cherry-picked to release?

Yes. This fix should probably be cherry picked to release. It's possible we won't ever release another 22.2 patch but if we do release one it would be good for this fix to be in it.


added 1 and 0 as alternative to True/False in if-else guide

added examples and tip about the use of 1/0 as alternative to True/False in if-else guide

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

@bauripalash Awesome! Thanks! Congrats on your first open source contribution to this repository!

@QuincyLarson , Thank You.


Tomb many graves do not actually contain lost inventory items.

Tomb many graves do not actually contain lost inventory items. They are giving nothing even when they should contain items.

Problem was corrected when server death rules were properly applied.


Reamde link "passed parameters inline to a nested deployment", links to google.com

Hi,
In the readme the link to "passed parameters inline to a nested deployment" links to google instead the suggested page.
Best regards,
Wouter

Fixed - thanks for reporting


Adds AnthropicChat LLM class for interfacing with Claude

This PR adds support for Anthropic's recently released chatbot, Claude, as a LangChain LLM by creating a wrapper AnthropicChat class around Anthropic's TypeScript SDK.
I based the new class of the existing OpenAIChat class, including adding support for users to pass in OpenAI style prefixMessages (ChatCompletionRequestMessage from their SDK). The new class will translate those messages into Anthropic's very particular prompting syntax, allowing for a relatively similar user-facing API.
This PR adds a dependency on Anthropic's official @anthropic-ai/sdk, and requires an Anthropic API key set as an environment variable named ANTHROPIC_API_KEY environment variable for the new test cases to pass, so it may require an update to the CI/CD runner.

I don't have Anthropic yet to test this out 😢 but I'm looking forward to speaking with Claude!
Since you added a new .env var, would you mind updating langchain/.env.example and examples/.env.example?
I noticed the two actually differed slightly, so here's a combined list (including the new ANTHROPIC_API_KEY):
ANTHROPIC_API_KEY=ADD_YOURS_HERE
COHERE_API_KEY=ADD_YOURS_HERE
HUGGINGFACEHUB_API_KEY=ADD_YOURS_HERE
OPENAI_API_KEY=ADD_YOURS_HERE
PINECONE_API_KEY=ADD_YOURS_HERE
PINECONE_ENVIRONMENT=ADD_YOURS_HERE
PINECONE_INDEX=ADD_YOURS_HERE
SERPAPI_API_KEY=ADD_YOURS_HERE
SERPER_API_KEY=ADD_YOURS_HERE
SUPABASE_PRIVATE_KEY=ADD_YOURS_HERE
SUPABASE_URL=ADD_YOURS_HERE

Thanks for this. I think ideally this would be a subclass of ChatModel, not LLM

@jacoblee93 thanks! You can ignore that combine method, it is optional, and as you say doesn't apply to this one

PTAL @nfcampos @agola11

Ah whoops, I merged my personal main branch and not the upstream one - will fix now.

Alright, merged the correct main branch this time!

I think the last failing test is some approvals check? This shouldn't touch any docs pages.


data-analysis: Add sum block

It's not uncommon to need the sum of a bunch of numbers.

GM hasn't passed my pr yet


Add sign in with Apple to the sample app

@renkelvin it seems in your latest commit the CI starts fail

@renkelvin it seems in your latest commit the CI starts fail

Yeah, there is a weird CI issue.


cog push fails without sudo if user is not in docker group, and fails with sudo if cog login is done without sudo

If the user hasn't set up Docker to work without sudo, cog push will fail unless you use sudo cog push.
However, cog login still works so the user will probably try
cog login
sudo cog push

This fails because cog login have saved credentials on the user's account, but sudo cog push tries to read credentials from the root user.
Perhaps we should warn the user about this, or at least add it to the documentation.

Also reported by @cloneofsimo as an annoying road block when getting started with Cog.

@andreasjansson, +1 to an annoying road block when getting started with Cog. But, glad I found this issue, saved me some heartache! Fwiw, I ran into this on a Lambda Cloud instance.

I ran into this problem (or something very similar) and I kept getting Failed to run docker-credential-desktop: exit status 1 when trying to authenticate on ubuntu. I fixed it by modifying my docker config file following these instructions, leaving this here in case it helps anyone


add_weight() got multiple values for argument 'name'

Traceback (most recent call last):
File "train.py", line 101, in
model = create_model(args, overall_maxlen, vocab)
File "/home/boyang/aspect extraction/Attention-Based-Aspect-Extraction-master/code/model.py", line 45, in create_model
b_constraint=MaxNorm(10))([e_w, y_s])
File "/home/boyang/anaconda2/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 75, in symbolic_fn_wrapper
return func(*args, **kwargs)
File "/home/boyang/anaconda2/lib/python3.7/site-packages/keras/engine/base_layer.py", line 463, in call
self.build(unpack_singleton(input_shapes))
File "/home/boyang/aspect extraction/Attention-Based-Aspect-Extraction-master/code/my_layers.py", line 42, in build
constraint=self.W_constraint)
TypeError: add_weight() got multiple values for argument 'name'
May I ask what type of error is this :)

Hello, I have seen this error, it's related to the new Keras versions. I'll get it fixed in a few days.

@zhangby2085 please check if there are still issues

A very big thank you for the information, have a nice day :)

python train.py --emb-name ../preprocessed_data/$domain/w2v_embedding --domain restaurant -o output_dir
Above command works well, when I give domain in beer:
boyang@fuzzy-string-matching:~/aspect extraction/Attention-Based-Aspect-Extraction-master/code$ python train.py --emb-name ../preprocessed_data/$domain/w2v_embedding --domain beer -o output_dir
Using TensorFlow backend.
2019-10-15 11:51:46,768 INFO Arguments:
2019-10-15 11:51:46,769 INFO   algorithm: adam
2019-10-15 11:51:46,769 INFO   aspect_size: 14
2019-10-15 11:51:46,769 INFO   batch_size: 32
2019-10-15 11:51:46,769 INFO   command: train.py --emb-name ../preprocessed_data//w2v_embedding --domain beer -o output_dir
2019-10-15 11:51:46,769 INFO   domain: beer
2019-10-15 11:51:46,769 INFO   emb_dim: 100
2019-10-15 11:51:46,769 INFO   emb_name: ../preprocessed_data//w2v_embedding
2019-10-15 11:51:46,769 INFO   epochs: 15
2019-10-15 11:51:46,769 INFO   maxlen: 256
2019-10-15 11:51:46,770 INFO   neg_size: 20
2019-10-15 11:51:46,770 INFO   ortho_reg: 0.1
2019-10-15 11:51:46,770 INFO   out_dir_path: output_dir
2019-10-15 11:51:46,770 INFO   seed: 1234
2019-10-15 11:51:46,770 INFO   vocab_size: 9000
Reading data from beer
Creating vocab ...
108059079 total words, 17156 unique words
keep the top 9000 words
Reading dataset ...
train set
 hit rate: 0.61%,  hit rate: 1.35%
test set
 hit rate: 0.55%,  hit rate: 1.31%
Traceback (most recent call last):
File "train.py", line 53, in
train_x = sequence.pad_sequences(train_x, maxlen=overall_maxlen)
File "/home/boyang/anaconda2/lib/python3.7/site-packages/keras_preprocessing/sequence.py", line 83, in pad_sequences
x = np.full((num_samples, maxlen) + sample_shape, value, dtype=dtype)
File "/home/boyang/anaconda2/lib/python3.7/site-packages/numpy/core/numeric.py", line 332, in full
a = empty(shape, dtype, order)
numpy.core._exceptions.MemoryError: Unable to allocate array with shape (16857450, 256) and data type int32
Please take a look :)


Missing sample(s) of image/canvas as content

All of the annotations accepting a label can also draw image or canvas instead of text. This is documented, but there are no samples.

It was already in my TODO list as shared . I’ll do asap


Fix pytorch backend to use GCS compatible API to load model

Looks ok to me. @CoderHam please review.


Error on open Aerojump

I can't launch the plugin, maybe the error still exists.
NVIM v0.4.3
init.vim
Plug 'ripxorip/aerojump.nvim', { 'do': ':UpdateRemotePlugins' }

Error detected while processing function remote#define#request:
line    2:
Error invoking '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:Aerojump' on channel 4 (python3-rplugin-host):
error caught in request handler '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:Aerojump [[], [90, 90]]':
Traceback (most recent call last):
  File "/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump/__init__.py", line 229, in Aerojump
    settings['input'] = args[0]
IndexError: list index out of range
Press ENTER or type command to continue

Thanks!

Hi! I think you are missing a parameter when starting the plugin. Whats the command you are using to summon the plugin?

Hi @ripxorip, I just installed the plugin and later I did :Aerojump
Error detected while processing function remote#define#CommandBootstrap[5]..remote#define#request:
line    2:
Error invoking '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:Aerojump' on channel 4 (python3-rplugin-host):
error caught in request handler '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:Aerojump [[], [1, 1]]':
Traceback (most recent call last):
  File "/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump/__init__.py", line 229, in Aerojump
    settings['input'] = args[0]
IndexError: list index out of range
Press ENTER or type command to continue

The only way that seems to work is if I use mapping keys on my vimrc:
nmap <Leader>as <Plug>(AerojumpSpace)
but even with that, does not seems to work on find words and I'm getting this other error after type:
Error detected while processing function remote#define#CommandBootstrap[5]..remote#define#request:
line    2:
Error invoking '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:AerojumpUp' on channel 4 (python3-rplugin-host):
error caught in request handler '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:AerojumpUp [[], [4, 4]]':
Traceback (most recent call last):
  File "/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump/__init__.py", line 314, in AerojumpUp
    self.__update_highlights(self.aj.get_highlights())
  File "/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump/aerojump.py", line 262, in get_highlights
    return self.highlights
AttributeError: 'AerojumpSpace' object has no attribute 'highlights'
Press ENTER or type command to continue

Well :Aeorjump without any additional params won't work since its expecting which mode etc to run. Are you running from the latest commit on master? Trying to reproduce your error but I am not able to. Are you running the plugin on an empty buffer perhaps?

Empty buffer shall not cause any crashes anymore.

You have run :UpdateRemotePlugins first?

Yes,
remote/host: python3 host registered plugins ['aerojump', 'deoplete', 'far']
remote/host: generated rplugin manifest: /Users/henryoliver/.local/share/nvim/rplugin.vim
Press ENTER or type command to continue

And just ran :PlugUpdate
  7 - aerojump.nvim: Already up to date.                                                                                │   10     current,

I can't find anything on the doc that say how can you actually use Aerojump beside the vimrc mapping, here is my vimrc mapping:
" Aerojump
nmap <Leader>j <Plug>(AerojumpBolt)
nmap <Leader>aa <Plug>(AerojumpDefault)

And here is an screenshot when I use aa (AerojumpDefault) on my project file (buffer with a file on it)

aa (AerojumpDefault) and typing the word React

Error detected while processing function remote#define#CommandBootstrap[5]..remote#define#request:
line    2:
Error invoking '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:AerojumpDown' on channel 4 (python3-rplugin-host):
error caught in request handler '/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump:command:AerojumpDown [[], [3, 3]]':
Traceback (most recent call last):
  File "/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump/__init__.py", line 332, in AerojumpDown
    self.__update_highlights(self.aj.get_highlights())
  File "/Users/henryoliver/.config/nvim/plugged/aerojump.nvim/rplugin/python3/aerojump/aerojump.py", line 262, in get_highlights
    return self.highlights
AttributeError: 'Aerojump' object has no attribute 'highlights'
Press ENTER or type command to continue

Something weird is happening there, it may be a conflict with Deoplete autocomplete plugin.

Aha!! I think I know what the problem is. Can you try once more but without any caps?

I wrote the plugin to be case insensitive so I think it gets confused when you start with a capital letter.

Ok, just updated everything, and did:

Open a very simple HTML file

Pressed <Leader>aa and typed the word meta

Nothing gets matched and when hit enter it just goes back to the buffer.

@ripxorip any idea about what could be the cause of this issue? Seems like the plugins tries to run into the input line instead of the current buffer.

Hi sorry for the delay. Are you by any chance running Mac/Linux? If so I would be interested to see if you could reproduce this behavior in an isolated environment such as Docker. That way I could easily debug it on my end. One other solution would be to provide you with an instrumented version of the plugin and sending me some logs. Cheers.

No problem @ripxorip, thanks for your help so far! I'm using macOS Catalina here. Could I send you some logs from the plugin? Is this possible? I think this may be a good start.

Thanks for the plugin!
I also have the issue below and the inability to have case sensitive search. I have a suspicion that it's colliding with another plugin, either CoC tab completion or Semshi python.
This is when running on Redhat linux, not Mac OSX.
AttributeError: 'Aerojump' object has no attribute 'highlights'


Use pathlib.Path instead of os.path

Following https://github.com/AppraiseDev/OCELoT/pull/25#discussion_r593222192, we would like to switch from using os.path to pathlib.Path.

I'd like to take this one up if this issue isn't closed yet.

@NovusEdge Hi! If you are still interested, feel free to work on this :) Can you please add a reply to indicate yay or nay? Thanks!
Note that we are currently running submissions for WMT22, so the latest code is in the dev branch, not main.

Please assign the issue to me, so that I can proceed and work on this

@cfedermann, I've made the changes. Please check the PR to see if everything is in order.


Cross-Site Scripting

Describe the bug
A short, clear and concise description of what the bug is.
To Reproduce
Provide a url where the bug can be reproduced. (Use for example: jsbin, codepen, jsfiddle.net or codesandbox.io
Steps to reproduce the behavior:
Provide all necessary steps to reproduce the bug.
What is the expected behavior
What happened instead
In what environment (browser/device etc.) does this bug happen/not happen:

Versions of lazysizes prior to 5.2.1-rc1 are vulnerable to Cross-Site Scripting. The video-embed plugin fails to sanitize the following attributes: data-vimeo, data-vimeoparams, data-youtube and data-ytparams. This allows attackers to execute arbitrary JavaScript in a victim's browser if the attacker has control over the vulnerable attributes.

We already have an issue for this.

😬 sorry.
On Mon, May 25, 2020 at 12:13 AM Alexander Farkas<EMAIL_ADDRESS>wrote:

Closed #785 https://github.com/aFarkas/lazysizes/issues/785.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aFarkas/lazysizes/issues/785#event-3369093232, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AG3ILZFBIU6SXRP3TWGVAGDRTILBTANCNFSM4NJG5XDA
.

--
Alex Wick, CEO
Cascadia Carbon Inc.
We build ClimateTech.
Https://carboncodex.app


Old prefix is present in French translation

If you do ".commands Administration" with the French translation of Nadeko it tells you to write .h Nameofthecommand to get help, and then gives the exemple ".h >8ball", with the wrong prefix

Just fixed, will be live on the next string update.


feat: vote for map change

Codecov Report

Merging #27 into master will decrease coverage by 46.15%.
The diff coverage is 57.89%.

@@             Coverage Diff             @@
##           master      #27       +/-   ##
===========================================
- Coverage   70.71%   24.55%   -46.16%
===========================================
  Files          58       58
  Lines         601      619       +18
  Branches       43       43
===========================================
- Hits          425      152      -273
- Misses        159      467      +308
+ Partials       17        0       -17

Impacted Files
Coverage Δ

src/app/queue/queue.service.ts
11.11% <0%> (-51.39%)
:arrow_down:

src/app/queue/queue.effects.ts
2.12% <0%> (-57.4%)
:arrow_down:

src/app/queue/queue.actions.ts
100% <100%> (ø)
:arrow_up:

src/app/queue/queue.selectors.ts
70% <75%> (+1.25%)
:arrow_up:

...c/app/queue/queue-status/queue-status.component.ts
92.3% <87.5%> (-7.7%)
:arrow_down:

src/app/shared/connect-string-to-link.pipe.ts
5.26% <0%> (-94.74%)
:arrow_down:

src/app/queue/queue-events.service.ts
6.66% <0%> (-93.34%)
:arrow_down:

...-server-dialog/add-game-server-dialog.component.ts
11.11% <0%> (-88.89%)
:arrow_down:

...players/player-details/player-details.component.ts
5.88% <0%> (-88.24%)
:arrow_down:

...ready-up-dialog/queue-ready-up-dialog.component.ts
14.28% <0%> (-85.72%)
:arrow_down:

... and 31 more

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 1919cf3...8a73f90. Read the comment docs.


$.fullscreen.exit(); doesn't work in IE8-10

In IE8-10 the function $.fullscreen.exit(); doesn't work the fullscreen will only close by pressing "esc".

Closed due to inactivity.


[BUG] Integration tests run with default configs that don't match RapidsConf defaults

@pmattione-nvidia discovered that integration_tests/src/main/python/spark_session.py has default configurations that will set spark.rapids.sql.castFloatToDecimal.enabled to false despite the config being defaulted to true in RapidsConf.  That means we're not really testing what we're shipping for most tests if they happen to involve operations that would require a cast of a float to a decimal.
Similarly there are many other cast-related configs being setup for integration test default that don't match what the defaults are in RapidsConf.  If we need to disable these operations because too many tests fail when they're enabled, that implies we should reconsider whether these configs should be enabled by default.

Related code in spark_session.py: https://github.com/NVIDIA/spark-rapids/blob/branch-24.08/integration_tests/src/main/python/spark_session.py#L44-L58.  Scope is to update conf settings in spark_session.py to match defaults in RapidsConf in the plugin.  Then run integration tests and investigate any failures (file issues as needed).

So, enforcing the default configs were added in https://github.com/NVIDIA/spark-rapids/pull/4917 for integration tests. This was to address https://github.com/NVIDIA/spark-rapids/issues/4893. I see how irritating one would feel if some cluster setting sneaks into the integration tests.
However, the problem I see with the current approach is that we have two places where we keep default configs, one in scala and another in python. As long as we have them separate, this issue of inconsistent defaults will keep coming back to us whenever we change the default of some config only in one place but not in another. I'd like to fix this issue once and for all. Two approaches in my mind. Both of them will use the scala code as the source of truth.

We could erase all existing spark-rapids config when the spark session is initialized.
We could expose default values of all spark-rapid, such as by adding RapidsConf.getAllDefaults(), so that they override any existing configs when the spark session is initialized.

Both look feasible and not hard to me. I wonder though if I'm missing something and they are actually not possible or hard.

+1 for the single source of truth RapidsConf generating the default conf dictionary for PyTests. It could be a generated file, just like we do for the doc to be loaded to init _default_conf

That would work too. Alright, I will try a couple of things and see what's best.

Reopening as we have reverted the fix in https://github.com/NVIDIA/spark-rapids/pull/11347.


Event handling :>

Hey hey
I like new ways to develop in a modern way with minimal resources and therefore I enjoy the ideas behind RE:DOM
Every app needs some buttons and event handlers for them, I saw you allow to setup those bindings in el('fu',{onclick: myFunc}, 'bar')
Do they work when the fu element is rendered after some async magic? Got frustrated with jQuery lately which didnt allow late bindings on dynamic elements.
And is it possible to use anonymous functions?

Hi!
el function returns the HTML element itself and all those properties are added synchronously here:
https://github.com/pakastin/redom/blob/master/src/el.js#L53
You can also use addEventListener if you like:
var foo = el('foo', 'bar')
foo.addEventListener('click', myFunc)

Anonymous functions are fine too. ;)

You should check out my talk from HelsinkiJS:
https://www.youtube.com/watch?v=0nh2EK1xveg
Hopefully that will clarify how things work under the hood.. 😎
If you have any further questions, I'm happy to help! Hope you like RE:DOM!

Hey hey :)
Wow, thats a fast answer! Ty <3 I will watch it :)
One more question though :D, are there custom events on el for after-render (to dom) and before-remove (from dom)? The idea behind those is to add animations for in/out
Toodaloo
Katja

There are custom "events" for Views:
class MyView {
  constructor () {
    this.el = el('foo', 'bar')
  }
  mounted () {
    console.log('Mounted to parent')
  }
  unmounted () {
    console.log('Unmounted from parent')
  }
}

..you can also use a regular function if you like:
function MyView () {
  this.el = el('foo', 'bar')
  this.mounted = function () {
    console.log('mounted to parent')
  }
  this.unmounted = function () {
    console.log('unmounted from parent')
  }
}

Notice for now those functions get called when mounted to parent, not necessarily to the DOM. That will probably change in the near future.

Good evening
Ah okay, then I probably need to watch how RE:DOM evolves. I really like the design philosophy, but as it stands another render lib candidate will work out better.
(I need to render a complex tree with animations on pretty much any element and to instantiate a view for every element is just to much overhead) - i think..
I would love an Animation API for RE:DOM like this <3: http://maquettejs.org/docs/typedoc/interfaces/maquette.vnodeproperties.html#enteranimation

Actually using el('foo', { mounted: onMounted }) should work too, because the code doesn't check if the element is HTML element or component:
https://github.com/pakastin/redom/blob/master/src/mount.js#L26

You can also use middleware, like following: el('foo', addEnterAnimation). enterAnimation gets called with the HTML element just created (addEnterAnimation(element)):
https://github.com/pakastin/redom/blob/master/src/el.js#L29

Really!?

I've done quite complex animations with RE:DOM:
http://codepen.io/pakastin/pen/aNYZee (the example is with FRZR though).
Notice how I'm animating elements on insert, reorder and remove ;)
Try resize the browser window and you'll see how responsive it is.


Can't compile the extension

Description
I have followed every instruction on the getting started page correctly and imported the v0.0.2 yymps, but whenever i try to compile i get a LoadLibraryW error with code 126, on every function of the extension (i believe) and it does not work at all. I have read that the error has something to do with the runtime not matching the extension version, but both should be x64. (I am using the latest gamemaker version, along with the latest version of this extension as of writing this)
compiler_log.txt
YYZ Link (It seems github doesn't support this format, so i hope i'm doing it right by uploading it to google drive and linking it here)
https://drive.google.com/file/d/1F--KxEPJsnKLntclOiNlmrTiImGkm9HN/view?usp=sharing
Expected Change
No response
Steps To Reproduce

Start GameMaker
Import the extension and follow the instructions
Try to compile
See the issue (?)

How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
Monthly
Which platform(s) are you seeing the problem on?
Windows
Compiler Log File

[X] I have attached my compiler log in a text file

Sample .yyz File

[X] I have attached a small sample project

@fixdude, we appreciate you bringing this to our attention. We've recently updated the package, so we kindly ask you to give it another try. Initially, the libraries were compiled without using Release mode, which may have caused issues if Visual Studio wasn't installed on your system, as it's needed for debug compilations. We've addressed this oversight, and the updated package should now function correctly on your machine.

i have tested the new extension like you asked, and it fully works. thanks for fixing it since i have been trying for days to use the extension and only at this time it has worked.


Plugin-based extension of beluga_amcl

Feature description
Beluga's design allows for compile-time extension via mixins. This is at odds with most extensible ROS packages, which enable runtime extension via (shared library-based) plugins. It would be beneficial for adoption to enable plugin-based extension of beluga_amcl.
Implementation considerations
We can either make entire particle filters pluggable, or particle filter building blocks by adding "trampoline" mixins. In both cases, interfaces need to be defined. We already have done so for the former.

Beluga no longer uses mixins and it is unlikely we'll go down the dynamic plugin path considering Beluga's design. Closing.

I did get asked about this by someone, and my answer was about the same lines.
However, providing a demo/example of how to create a node that does pluginize a pipeline stage (e.g. the sensor model) for a limited input type (e.g. 2D scans) might be valuable to show this is not totally off the cards if people are willing to go this path.


Is there a support for extracting images from pdf?

Feature request
Provide a parameter to determine whether to extract images from the pdf and give the support for it.
Motivation
There may exist several images in pdf that contain abundant information but it seems that there is no support for extracting images from pdf when I read the code.
Your contribution
I'd like to add the feature if it is really lacking.

This, and extracting tables would be very helpful!

Extracting images and graphical data from a PDF will be super handy!

Using Unstructured seems to be the solutions but if you rather implemented from scratch the steps could be:

Upload PDF and create text embeddings with metadata {contains_illustration: true | false}
Select PDF and pages with illustrations and convert them to PNG images with pdf-img-convert.js
Extract illustrations on the generated images using a Detectron2 model fine-tuned on digitized books illustrations
Create image embeddings with CLIP or a similar model


Handling of course TAs is a disaster and needs to be completely rewritten

Closing as this falls under the umbrella of #132.


The console.angie monitoring tool cannot display HTTP upstream information.

I want to view HTTP upstream information, but I can't see it after deployment. I saw it in the demo.

server {
    listen       8080;
    server_name  localhost;

    #charset koi8-r;

    #access_log  logs/host.access.log  main;

    location / {
        root   html;
        index  index.html index.htm;
    }
    location /console/ {
        allow all;

        alias /usr/share/angie-console-light/html/;
        index index.html;

    location /console/api/ {
             allow all;
            api /status/;
        }
    }
    location /status/ {
        api /status/;
        api_config_files on;
    }
    location =/p8s {
        prometheus all;
    }
    location /console/api/config/ {
        api /config/;
    }
    location /stats/ {
            api /status/http/server_zones/;
    }

Hi,
Have you configured a shared memory zone in your upstream blocks?
upstream backend {
    zone backend 1m;
    ....
}

All metrics information is stored in shared memory zones, so it need to be configured for upstream blocks.
See in the docs

https://angie.software/en/configuration/modules/http_api/#api-status-http-upstreams
https://angie.software/en/configuration/modules/http_upstream/#u-zone

Hi,
Have you configured a shared memory zone in your upstream blocks?
upstream backend {
    zone backend 1m;
    ....
}

All metrics information is stored in shared memory zones, so it need to be configured for upstream blocks.
See in the docs

https://angie.software/en/configuration/modules/http_api/#api-status-http-upstreams
@ https://angie.software/en/configuration/modules/http_upstream/#u-zone

Hello, return error: curl http://ip:8080/status/http/upstreams/btc-prod-xpert
{
"error": "PathNotFound",
"description": "Requested API entity "/status/http/upstreams/btc-prod-xpert" doesn't exist."

}

All metrics information is stored in shared memory zones, so it need to be configured for upstream blocks.
See in the docs

https://angie.software/en/configuration/modules/http_api/#api-status-http-upstreams
https://angie.software/en/configuration/modules/http_upstream/#u-zone

Could you please provide the details for me to review?

Since you've closed the ticket, I guess your problem is resolved. Is it right?


Getting Error while ArmNN Cross Compilation

Hi Team,
I am getting Below error in Cmake of armNN  cross compilation for yocto
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CXXOPTS_INCLUDE
@MatthewARM
Thanks for Help in Advance

Hi paragikjain,
That's a third party library we use to replace boost program options.
Could you please check that cxxopts.hpp exits in third-party/cxxopts?
Another possibility is that you are building with BUILD_PIPE_ONLY enabled, in which case the path would not be set.
Thanks
Finn

HI Finn
Thanks for the help
That header file is present in my case and the path is also added to cmake file and I am not using BUILD_PIPE_ONLY mode.
Still getting the same error

Hi Finn I have checked out older version of git and now that error has gone previously i was using 20 now i have checkout 18

Hi @Finn,
Is it planned to replace boost options by cxxopts?
Because it creates for Yocto project build system an unmet dependency to cxxopts.
Most of the armnn test are using boost options.
Why only ./TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp is using cxxopts?
Why can't we simply keep boost options which is already supported by the yocto build system?
Solution of @paragikjain is to checkout older version but it can't be the solution.
Thanks
Vincent

Hi @vinceab
Apologies missed this due to the issue being closed.
Yes Arm NN is going to remove all boost dependencies, we are currently in the process of phasing it out.
We are doing this due to a requirement from some of our partners.
If you have any issues with this please contact me and I will forward them on.
Thanks
Finn

Hi @FinnWilliamsArm ,
I have pushed a gerrit patch that fixe the issue for YOCTO build:
https://review.mlplatform.org/c/ml/armnn/+/3906
Vincent

Hey @vinceab
Oh that's great, thank you very much!
Finn


BlastOut filtered parameters

Hello,
I have sequences in my blastout.txt file that meet the conditions that I provided in my code, but are not in my blastout.filtered.txt file. What are the parameters by which sequences are filtered to the blastout.filtered file, and is there a way for me to adjust these?
Thanks

  --e FLOAT             E-value cutoff for target sequences. [1e-7]
  --id FLOAT            Identity cutoff (in percentage) for target sequences. [80]
  --qcov FLOAT          Query cover cutoff (in percentage) for target sequences. [75]
  --length INT          Aligned length cutoff (in amino acid) for target sequences. [25]

Hello,
I did a little more investigation and it appears that the tool does not work on an assembled genome as the filtering in the setup.py script only keeps the top result from a particular read.
Thanks for the response in any case.

yes, args-oap is read-based and does not work with contigs.


How to use in PHP native

How to use with PHP native sqli.

Infinite Scroll is a front-end plugin, designed to work with any HTML.


why vue-cli5.0.4 always build twice ?

Version
5.0.4
Reproduction link
github.com
Environment info
windows

Steps to reproduce
build
What is expected?
https://github.com/vuejs/vue-cli/issues/7127
What is actually happening?
https://github.com/vuejs/vue-cli/issues/7127

https://cli.vuejs.org/migrations/migrate-from-v4.html#vue-cli-service

https://cli.vuejs.org/migrations/migrate-from-v4.html#the-build-command-and-modern-mode


Implement missing internal components

[ ] Objects

[ ] Meshes

[ ] Bone
[ ] LensFlare
[ ] LineSegments
[ ] LOD
[ ] MorphAnimMesh
[ ] SkinnedMesh
[ ] Skeleton
[x] Sprite

[ ] Lights

[ ] HemisphereLight
[ ] Light

[ ] Helpers

[ ] BoundingBoxHelper
[ ] BoxHelper
[ ] DirectionalLightHelper
[ ] EdgesHelper
[ ] FaceNormalsHelper
[ ] GridHelper
[ ] HemisphereLightHelper
[ ] PointLightHelper
[ ] SpotLightHelper
[ ] VertexNormalsHelper
[ ] WireframeHelper

[ ] Materials

[ ] Material
[ ] MeshFaceMaterial
[x] RawShaderMaterial
[ ] SpriteCanvasMaterial
[x] SpriteMaterial

[ ] Textures

[ ] CubeTexture
[ ] CompressedTexture
[ ] DataTexture

[ ] Geometries

[x] CubeGeometry
[x] DodecahedronGeometry
[x] PlaneGeometry
[x] PolyhedronGeometry
[ ] ShapeGeometry
[x] TextGeometry
[x] TubeGeometry

[ ] Shapes

[ ] Curve
[ ] CurvePath
[ ] Gyroscope
[ ] Path

how should we start? :)

Good question and thanks for your interest! I will write a guide when I have some time an evening or during the weekend :)

Here's a draft ( I will add a better one to the wiki when I have more time ):
How to add new components
First of all, this will be a difficult task in the beginning.
I recommend looking at other components to see how they do things.
This is how I would add TextGeometry:

Create TextGeometryDescriptor.js in src/lib/descriptors/Geometry/:

import THREE from 'three';

import GeometryDescriptorBase from './GeometryDescriptorBase';

class TextGeometryDescriptor extends GeometryDescriptorBase {
  constructor(react3RendererInstance) {
    super(react3RendererInstance);

    // add prop declarations here
  }

  construct(props) {
    // props from http://threejs.org/docs/#Reference/Extras.Geometries/TextGeometry:
    const {
      text, // string

      font, // THREE.Font
      size, // number
      height, // number
      curveSegments, // number
      bevelEnabled, // bool
      bevelThickness, // number
      bevelSize, // number
    } = props;

    return new THREE.TextGeometry(text, {
      font,
      size,
      height,
      curveSegments,
      bevelEnabled,
      bevelThickness,
      bevelSize,
    });
  }
}

module.exports = TextGeometryDescriptor;

To add the props,

import PropTypes from 'react/lib/ReactPropTypes';

And then, for each prop, you can use this.hasProp(name, info).

The name property is what the component will accept
The info property has:

type : The PropType for that property

simple : If true, when the prop is present, it will update it directly on the created THREE object.

For example, a material opacity property is simple, it will behave as material.opacity = new value.
With simple === true, if a default property is set, then when the property is removed from the component, this value will be assigned to the object.

If simple is false:

update: how to update the object once the property is changed.
The parameters are: ( THREE object, new prop value )
For example, material.alphaTest property description is:

  this.hasProp('alphaTest', {
    type: PropTypes.number,
    updateInitial: true,
    update: (material, alphaTest) => {
      material.alphaTest = alphaTest;
      material.needsUpdate = true;
    },
  });

updateInitial: Should update be called when the object is constructed?

default: The value that will be passed into update if the property is deleted from the component.

TextGeometryDescriptor props:

text: type is string, and it's required, and I think the geometry will need to be re-constructed when this property changes. To force a reconstruction of the component, you can use this.triggerRemount. Such is magic. Since it will force re-construction, and it will be passed onto the constructor of TextGeometry, then updateInitial does not need to be set. let's make the default to be 'TEXT MISSING' to be extra helpful:
  this.hasProp('text', {
    type: PropTypes.string.isRequired,
    update: this.triggerRemount,
    default: 'TEXT MISSING',
  });

font: type is THREE.Font, required, will trigger remount. We can't have a default, sadly:
  this.hasProp('font', {
    type: PropTypes.instanceOf(THREE.Font).isRequired,
    update: this.triggerRemount,
  });

size: number, required, will trigger remount. No default as it's required:
  this.hasProp('size', {
    type: PropTypes.number.isRequired,
    update: this.triggerRemount,
  });

height: number, not required, will trigger remount, default is 50 from http://threejs.org/docs/#Reference/Extras.Geometries/TextGeometry:
  this.hasProp('height', {
    type: PropTypes.number,
    update: this.triggerRemount,
    default: 50,
  });

And so on:  this.hasProp('curveSegments', {
    type: PropTypes.number,
    update: this.triggerRemount,
    default: 12,
  });

  this.hasProp('bevelEnabled', {
    type: PropTypes.bool,
    update: this.triggerRemount,
    default: false,
  });

  this.hasProp('bevelThickness', {
    type: PropTypes.bool,
    update: this.triggerRemount,
    default: 10,
  });

  this.hasProp('bevelSize', {
    type: PropTypes.bool,
    update: this.triggerRemount,
    default: 8,
  });

Here's the completed file:
import THREE from 'three';

import GeometryDescriptorBase from './GeometryDescriptorBase';

import PropTypes from 'react/lib/ReactPropTypes';

class TextGeometryDescriptor extends GeometryDescriptorBase {
  constructor(react3RendererInstance) {
    super(react3RendererInstance);

    this.hasProp('text', {
      type: PropTypes.string.isRequired,
      update: this.triggerRemount,
      default: 'TEXT MISSING',
    });

    this.hasProp('font', {
      type: PropTypes.instanceOf(THREE.Font).isRequired,
      update: this.triggerRemount,
    });

    this.hasProp('size', {
      type: PropTypes.number.isRequired,
      update: this.triggerRemount,
    });

    this.hasProp('height', {
      type: PropTypes.number,
      update: this.triggerRemount,
      default: 50,
    });

    this.hasProp('curveSegments', {
      type: PropTypes.number,
      update: this.triggerRemount,
      default: 12,
    });

    this.hasProp('bevelEnabled', {
      type: PropTypes.bool,
      update: this.triggerRemount,
      default: false,
    });

    this.hasProp('bevelThickness', {
      type: PropTypes.bool,
      update: this.triggerRemount,
      default: 10,
    });

    this.hasProp('bevelSize', {
      type: PropTypes.bool,
      update: this.triggerRemount,
      default: 8,
    });
  }

  construct(props) {
    // props from http://threejs.org/docs/#Reference/Extras.Geometries/TextGeometry:
    const {
      text, // string

      font, // THREE.Font
      size, // number
      height, // number
      curveSegments, // number
      bevelEnabled, // bool
      bevelThickness, // number
      bevelSize, // number
    } = props;

    return new THREE.TextGeometry(text, {
      font,
      size,
      height,
      curveSegments,
      bevelEnabled,
      bevelThickness,
      bevelSize,
    });
  }
}

module.exports = TextGeometryDescriptor;

Let's add this component to ElementDescriptorContainer, this is the final step for implementation:

import TextGeometryDescriptor from './descriptors/Geometry/TextGeometryDescriptor';

this.descriptors = {
      // ...
      extrudeGeometry: new ExtrudeGeometryDescriptor(react3RendererInstance),
      textGeometry: new TextGeometryDescriptor(react3RendererInstance),
      // ...
};

Now you should be able to use <textGeometry/> ( after the PR is approved and merged) :)
BUT WAIT
Let's generate documentation for it as well!
In \docs\src\internalComponentCategories.js, we need to remove the TODO for TextGeometry in Geometries.TODO, and add it to Geometries.children underneath extrudeGeometry.
If we run gulp doc now, it should create the file for \docs\src\internalComponents\textGeometry.js.
In there, you can populate the description and properties:
import DocInfo from '../DocInfo';

class textGeometry extends DocInfo {
  getDescription() {
    return `Creates a [THREE.TextGeometry](http://threejs.org/docs/#Reference/Extras.Geometries/TextGeometry)`;
  }

  getAttributesText() {
    return {
      dynamic: '',
      name: '',
      resourceId: '',
      text: 'The text that needs to be shown.',
      font: 'The font for the text.',
      size: 'The size of the text.',
      height: 'The thickness to extrude text. Default is 50.',
      curveSegments: 'The number of points on the curves. Default is 12.',
      bevelEnabled: 'Turn on bevel. Default is false.',
      bevelThickness: 'How deep into text bevel goes. Default is 10.',
      bevelSize: 'How far from text outline is bevel. Default is 8.',
    };
  }
}

module.exports = textGeometry;

Now it should also appear in the wiki!
Testing: In another guide.

[x] Add basic descriptor guide
[x] Add basic documentation guide
[ ] Add CONTRIBUTING.md
[ ] Add Testing guide

Here's an example PR: https://github.com/toxicFork/react-three-renderer/pull/30

Just noticed that getDescription should have been empty and I should have used getIntro instead, fixed in the comment above :)

oh shoot. Thanks, I'll update and send another PR

No need! I fixed them during the merge of your PRs :)
On 24 February 2016 at 18:19, Bao Pham<EMAIL_ADDRESS>wrote:

oh shoot. Thanks, I'll update and send another PR
—
Reply to this email directly or view it on GitHub
https://github.com/toxicFork/react-three-renderer/issues/2#issuecomment-188389857
.

thanks!

Here is a list of new objects since r80.
Note: I don't know if you want to support all buffer geometries ?
Geometries:

[ ] ConeGeometry

Buffer Geometries:

[ ] ConeBufferGeometry
[ ] CylinderBufferGeometry
[ ] LatheBufferGeometry
[ ] RingBufferGeometry
[ ] SphereBufferGeometry
[ ] TorusBufferGeometry
[ ] TorusKnotBufferGeometry

Materials:

[ ] MeshStandardMaterial

Lights:

[ ] DirectionalLightShadow (needed ?)
[ ] LightShadow (needed ?)
[ ] SpotLightShadow (needed ?)

Note: I don't know if you want to support all buffer geometries ?

Well Colmea, if you're asking random strangers on the internet, then yes! Especially RingBufferGreometry.
(though hopefully I'll be able to do this myself as some stage too with the comprehensive guide at the top of the page)

Hello Folks,
Any updates on this ?
Lots of missing ThreeJS parts as I can see. But it's a huge work.
Let me follow some courses on React (I come from Angular) and ThreeJS and I'll be able to shoot some PRs.
Keep things up !

@3kynox well... it being huge work is the main problem, and to be able to have enough time and dedication to the project is also an issue, especially when it's not for money. As time passes more and more are being added but to be honest it's not as fast as I would like it to be.
I really appreciate all the attention and the issues and the pull requests, it's a bit scary but I'll try my best to at least make a part of the contribution guide so it'll be easier for everyone :)
looks at #88

Thanks for answer, I understand correctly the problem because busy times is the story of my life... Too much things to do.
About my question, can we use ThreeJS not implemented features (without native components so) ?

@toxicFork to move this issue into a GitHub project


Alexa stops listening

Thank you for reporting an issue with AssistantPi.
Please make sure you've updated to the latest version using
sudo /opt/AlexaPi/src/scripts/update.sh

This updates both AssistantPi and the tweaked Assistant SDK without having you to go through the installation process again.
Please check out these resources before submitting an issue:

AlexaPi Wiki
AlexaPi Debugging
AlexaPi Audio debugging
Google Assistant Troubleshooting
Google Assistant Audio Configuration

In order to help troubleshooting, be sure to include the following information:
Python 2 & 3 releases (python2 --version and python3 --version):
Whatever comes with Jessie Lite

Description of problem:
Alexa will stop listening after saying hello on boot.

Expected:
I expect Alexa to respond when I say Alexa

Steps to reproduce:

Install Assistant Pi with Google and airplay support
setup audio to pulse system wide as recommended
after a reboot, and after alexa says hello, call alexa

Traceback (if applicable):

Additional info:
python /opt/AlexaPi/src/main.py -d
INFO: pocketsphinx.c(152): Parsed model-specific feature parameters from /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/feat.params
Current configuration:
[NAME]                  [DEFLT]         [VALUE]
-agc                    none            none
-agcthresh              2.0             2.000000e+00
-allphone
-allphone_ci            no              no
-alpha                  0.97            9.700000e-01
-ascale                 20.0            2.000000e+01
-aw                     1               1
-backtrace              no              no
-beam                   1e-48           1.000000e-48
-bestpath               yes             yes
-bestpathlw             9.5             9.500000e+00
-ceplen                 13              13
-cmn                    live            batch
-cmninit                40,3,-1         41.00,-5.29,-0.12,5.09,2.48,-4.07,-1.37,-1.78,-5.08,-2.05,-6.45,-1.42,1.17
-compallsen             no              no
-debug                                  0
-dict                                   /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/cmudict-en-us.dict
-dictcase               no              no
-dither                 no              no
-doublebw               no              no
-ds                     1               1
-fdict
-feat                   1s_c_d_dd       1s_c_d_dd
-featparams
-fillprob               1e-8            1.000000e-08
-frate                  100             100
-fsg
-fsgusealtpron          yes             yes
-fsgusefiller           yes             yes
-fwdflat                yes             yes
-fwdflatbeam            1e-64           1.000000e-64
-fwdflatefwid           4               4
-fwdflatlw              8.5             8.500000e+00
-fwdflatsfwin           25              25
-fwdflatwbeam           7e-29           7.000000e-29
-fwdtree                yes             yes
-hmm                                    /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us
-input_endian           little          little
-jsgf
-keyphrase
-kws                                    /opt/AlexaPi/src/keyphrase.list
-kws_delay              10              10
-kws_plp                1e-1            1.000000e-01
-kws_threshold          1               1.000000e+00
-latsize                5000            5000
-lda
-ldadim                 0               0
-lifter                 0               22
-lm
-lmctl
-lmname
-logbase                1.0001          1.000100e+00
-logfn
-logspec                no              no
-lowerf                 133.33334       1.300000e+02
-lpbeam                 1e-40           1.000000e-40
-lponlybeam             7e-29           7.000000e-29
-lw                     6.5             6.500000e+00
-maxhmmpf               30000           30000
-maxwpf                 -1              -1
-mdef
-mean
-mfclogdir
-min_endfr              0               0
-mixw
-mixwfloor              0.0000001       1.000000e-07
-mllr
-mmap                   yes             yes
-ncep                   13              13
-nfft                   512             512
-nfilt                  40              25
-nwpen                  1.0             1.000000e+00
-pbeam                  1e-48           1.000000e-48
-pip                    1.0             1.000000e+00
-pl_beam                1e-10           1.000000e-10
-pl_pbeam               1e-10           1.000000e-10
-pl_pip                 1.0             1.000000e+00
-pl_weight              3.0             3.000000e+00
-pl_window              5               5
-rawlogdir
-remove_dc              no              no
-remove_noise           yes             yes
-remove_silence         yes             yes
-round_filters          yes             yes
-samprate               16000           1.600000e+04
-seed                   -1              -1
-sendump
-senlogdir
-senmgau
-silprob                0.005           5.000000e-03
-smoothspec             no              no
-svspec                                 0-12/13-25/26-38
-tmat
-tmatfloor              0.0001          1.000000e-04
-topn                   4               4
-topn_beam              0               0
-toprule
-transform              legacy          dct
-unit_area              yes             yes
-upperf                 6855.4976       6.800000e+03
-uw                     1.0             1.000000e+00
-vad_postspeech         50              50
-vad_prespeech          20              20
-vad_startspeech        10              10
-vad_threshold          2.0             2.000000e+00
-var
-varfloor               0.0001          1.000000e-04
-varnorm                no              no
-verbose                no              no
-warp_params
-warp_type              inverse_linear  inverse_linear
-wbeam                  7e-29           7.000000e-29
-wip                    0.65            6.500000e-01
-wlen                   0.025625        2.562500e-02

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
INFO: acmod.c(166): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/mdef
INFO: bin_mdef.c(516): 42 CI-phone, 137053 CD-phone, 3 emitstate/phone, 126 CI-sen, 5126 Sen, 29324 Sen-Seq
INFO: tmat.c(149): Reading HMM transition probability matrices: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/transition_matrices
INFO: acmod.c(117): Attempting to use PTM computation module
INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/means
INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/variances
INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(304): 222 variance values floored
INFO: ptm_mgau.c(476): Loading senones from dump file /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/sendump
INFO: ptm_mgau.c(500): BEGIN FILE FORMAT DESCRIPTION
INFO: ptm_mgau.c(563): Rows: 128, Columns: 5126
INFO: ptm_mgau.c(595): Using memory-mapped I/O for senones
INFO: ptm_mgau.c(838): Maximum top-N: 4
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 138824 * 20 bytes (2711 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/cmudict-en-us.dict
INFO: dict.c(213): Dictionary size 134723, allocated 1016 KiB for strings, 1679 KiB for phones
INFO: dict.c(336): 134723 words read
INFO: dict.c(358): Reading filler dictionary: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/noisedict
INFO: dict.c(213): Dictionary size 134728, allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 21336 bytes (20 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 21336 bytes (20 KiB) for single-phone word triphones
INFO: kws_search.c(406): KWS(beam: -1080, plp: -23, default threshold 0, delay 10)
2017-05-14 14:50:51 DEBUG: Setting up playback handler: VlcHandler
2017-05-14 14:50:54 INFO: Checking Internet Connection ...
2017-05-14 14:50:54 DEBUG: Starting new HTTPS connection (1): api.amazon.com
2017-05-14 14:50:54 DEBUG: https://api.amazon.com:443 "GET /auth/o2/token HTTP/1.1" 404 29
2017-05-14 14:50:54 INFO: Connection OK
2017-05-14 14:50:54 INFO: AVS token: Requesting a new one
2017-05-14 14:50:54 DEBUG: Starting new HTTPS connection (1): api.amazon.com
2017-05-14 14:50:54 DEBUG: https://api.amazon.com:443 "POST /auth/o2/token HTTP/1.1" 200 977
2017-05-14 14:50:54 INFO: AVS token: Obtained successfully
2017-05-14 14:50:54 DEBUG: Stopping audio play
2017-05-14 14:50:55 DEBUG: Playing audio: /opt/AlexaPi/src/resources/hello.mp3
2017-05-14 14:50:55 DEBUG: Player State: State.Opening
2017-05-14 14:50:55 DEBUG: Player State: State.Playing
2017-05-14 14:50:55 DEBUG: Started play.
2017-05-14 14:50:59 DEBUG: Player State: State.Ended
2017-05-14 14:50:59 DEBUG: Finished play.
INFO: kws_search.c(656): kws 2.47 CPU 0.356 xRT
INFO: kws_search.c(658): kws 7.20 wall 1.037 xRT
2017-05-14 14:51:02 DEBUG: Pocketsphinx Trigger found voice command: **google**
2017-05-14 14:51:02 INFO: Starting Assistant conversation
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/AlexaPi/src/main.py", line 595, in trigger_process
    if not assistant_handler(voice_command):
  File "/opt/AlexaPi/src/main.py", line 350, in assistant_handler
    p.expect('Recording audio .*')
  File "/usr/local/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 321, in expect
    timeout, searchwindowsize, async)
  File "/usr/local/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 345, in expect_list
    return exp.expect_loop(timeout)
  File "/usr/local/lib/python2.7/dist-packages/pexpect/expect.py", line 105, in expect_loop
    return self.eof(e)
  File "/usr/local/lib/python2.7/dist-packages/pexpect/expect.py", line 50, in eof
    raise EOF(msg)
EOF: End Of File (EOF). Exception style platform.
<pexpect.pty_spawn.spawn object at 0x75df0ab0>
command: /opt/AlexaPi/env/bin/python
args: ['/opt/AlexaPi/env/bin/python', '-m', 'googlesamples.assistant', '--credentials', '/etc/opt/AlexaPi/assistant_credentials.json']
buffer (last 100 chars): ''
before (last 100 chars): 'opt/AlexaPi/src/scripts/auth_assistant.sh  to initialize new OAuth2 credentials.\r\nassistant_record\r\n'
after: <class 'pexpect.exceptions.EOF'>
match: None
match_index: None
exitstatus: 0
flag_eof: True
pid: 957
child_fd: 13
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
    0: re.compile("Recording audio .*")

The logs are telling us that the script has crashed - it isn't listening anymore as the app isn't running.
I can even see why it crashed:
It starts with
2017-05-14 14:51:02 DEBUG: Pocketsphinx Trigger found voice command: **google**
2017-05-14 14:51:02 INFO: Starting Assistant conversation

The hotword recognition (mis-?)heard your command and triggered Assistant. Then it fails, and in the Traceback, it says it got stuck on Assistant complaining about
... initialize new OAuth2 credentials

You haven't done the Authorization with the Google API, this is why the script crashes when Assistant is triggered.

Hi there,
just a quick hint: I've completed the 1.0 release today, an important fix is included. Please run the Updater script or Assistant might crash otherwise.


Setting for using -make-world

Description
A little more control over Bucklescript would be amazing, I was thinking about something like:

A settings option for choosing bsb or bsb -make-world on save
A hotkey for calling bsb -clean and / or bsb -clean-world

Just convenience functions but maybe worth implementing :-)

Wow, my bad, I never realized! That button is all I need, thank you 👍

added a small entry in wiki: https://github.com/reasonml-editor/reasonml-idea-plugin/wiki/Bucklescript-compiler


update-manifests.sh script to install Numaplane Controller into wave-based directories

Summary
In our Control Repo, build an update-manifests.sh script to install Numaplane Controller into wave-based directories (described in Agent High Level Design document).
Essentially, we need to do something similar to the deployment of Numaflow cluster-level resources. They have an update-manifests.sh script which runs to take each version described in this file, and use kustomize to combine the Open Source yaml file with any Intuit-specific patches to create helm manifests for each wave directory.
Our open source yaml will be a file that lives in the repo, once this Issue is completed. This way each time our repo is tagged in Github with a new semantic version, we will have a file associated with that version.
Our Intuit-specific patches include:

cluster name added to the ConfigMap: this should be a helm parameter
credentials added to ConfigMap associated with github.intuit.com prefix (TBD)
the Deployment's Image Path needs to be changed from prefix quay.io/numaproj to prefix docker.intuit.com/quay-rmt/numaproj (Intuit proxy)

Use Cases
This will be run whenever we need to deploy a new (or existing) version of Numaplane to a wave. We'd update our versions.yaml file (similar to this) and then run the script.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

no longer doing this


[Suggestion] Auto Soft Ban Bypass

A soft ban can be bypassed by spinning a pokestop about 41 times. This could easily be implemented into the existing code. I'm very new to python and github, so I'm not sure where or how to suggest this. I was able to create a soft-ban bypass by modifying the "seen_fort_worker.py" file. The modification was done on line 110. The code is as follows below:
#raise RuntimeError(message)
count = 0
while (count < 41):
logger.log('Spinning Soft Ban.')
response_dict = self.api.call()
time.sleep(2)
longcountvar = longcountvar + 1
return 0
Expected Behavior
Remove the soft ban using a single pokestop.
Actual Behavior
The soft ban was removed after 2 pokestops instead.
Steps to Reproduce
Modify the "seen_fort_worker.py" file as described above, but with correct formatting.
Other Information
OS: lubuntu 16.04.1
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

Already implemented: #1614

The code looks like:
if not items_awarded and not experience_awarded and not pokestop_cooldown:                     count = 0                     while (count < 41):                         logger.log('Spinning Soft Ban.')                         self.api.fort_search(fort_id=fort['id'],                                              fort_latitude=lat,                                              fort_longitude=lng,                                              player_latitude=f2i(self.position[0]),                                              player_longitude=f2i(self.position[1]))                         response_dict = self.api.call()                         time.sleep(1)                         count = count + 1                     return 0

Thanks guys.

Unless it was a pure fluke (as I only teleported 5km for a short ban!) it seems to work with one small change (fort becomes self.fort) ...
if not items_awarded and not experience_awarded and not pokestop_cooldown:
    logger.log("[!] Did not find experience, items or cooldown. You are probably softbanned.", 'red')
        count = 0
        while (count < 41):
            logger.log('[!] Spinning soft ban...' + str(count), 'red')
            self.api.fort_search(fort_id=self.fort['id'], fort_latitude=lat, fort_longitude=lng, player_latitude=f2i(self.position[0]), player_longitude=f2i(self.position[1]))
            response_dict = self.api.call()
            time.sleep(1)
            count = count + 1
        return 0

[2016-07-29 21:07:12] [x] Starting PokemonGo Bot....
[2016-07-29 21:07:12] [#] Scanning area for objects (1 / 25)
[2016-07-29 21:07:12] [#] Walking from (53.166247, -0.537573) to (53.166247, -0.537573) for approx. 0.00 seconds
[2016-07-29 21:07:12] [#] (53.166247, -0.537573, 0)
[#] Attempting to evolve all pokemons ...
[2016-07-29 21:07:13] [#] Something rustles nearby!
[2016-07-29 21:07:19] [#] A Wild Weedle appeared! [CP 127] [Potential 0.4]
[2016-07-29 21:07:19] [#] IV [Stamina/Attack/Defense] = [4/0/14]
[2016-07-29 21:07:23] [x] Using Pokeball (chance: 41.52%)... (155 left!)
[2016-07-29 21:07:24] [x] Oh no! Weedle vanished! :(
[2016-07-29 21:07:29] [#] A Wild Pidgey appeared! [CP 46] [Potential 0.8]
[2016-07-29 21:07:29] [#] IV [Stamina/Attack/Defense] = [15/7/14]
[2016-07-29 21:07:34] [x] Using Pokeball (chance: 92.71%)... (154 left!)
[2016-07-29 21:07:34] [x] Oh no! Pidgey vanished! :(
[2016-07-29 21:07:45] [#] Found fort f454f165e87e496abbfaa7651a1e625c.16 at distance 0.00km
[2016-07-29 21:07:45] [#] Now at Pokestop: All Saints Primary School Gate - Spinning...
[2016-07-29 21:07:46] [+] Loot:
[2016-07-29 21:07:46] [#] Nothing found.
[2016-07-29 21:07:46] [!] Did not find experience, items or cooldown. You are probably softbanned.
[2016-07-29 21:07:46] [!] Spinning soft ban...0
[2016-07-29 21:07:48] [!] Spinning soft ban...1
[2016-07-29 21:07:49] [!] Spinning soft ban...2
[2016-07-29 21:07:50] [!] Spinning soft ban...3
[2016-07-29 21:07:52] [!] Spinning soft ban...4
[2016-07-29 21:07:53] [!] Spinning soft ban...5
[2016-07-29 21:07:54] [!] Spinning soft ban...6
[2016-07-29 21:07:56] [!] Spinning soft ban...7
[2016-07-29 21:07:57] [!] Spinning soft ban...8
[2016-07-29 21:07:58] [!] Spinning soft ban...9
[2016-07-29 21:08:00] [!] Spinning soft ban...10
[2016-07-29 21:08:01] [!] Spinning soft ban...11
[2016-07-29 21:08:02] [!] Spinning soft ban...12
[2016-07-29 21:08:04] [!] Spinning soft ban...13
[2016-07-29 21:08:05] [!] Spinning soft ban...14
[2016-07-29 21:08:06] [!] Spinning soft ban...15
[2016-07-29 21:08:08] [!] Spinning soft ban...16
[2016-07-29 21:08:09] [!] Spinning soft ban...17
[2016-07-29 21:08:10] [!] Spinning soft ban...18
[2016-07-29 21:08:12] [!] Spinning soft ban...19
[2016-07-29 21:08:13] [!] Spinning soft ban...20
[2016-07-29 21:08:14] [!] Spinning soft ban...21
[2016-07-29 21:08:16] [!] Spinning soft ban...22
[2016-07-29 21:08:17] [!] Spinning soft ban...23
[2016-07-29 21:08:19] [!] Spinning soft ban...24
[2016-07-29 21:08:20] [!] Spinning soft ban...25
[2016-07-29 21:08:21] [!] Spinning soft ban...26
[2016-07-29 21:08:23] [!] Spinning soft ban...27
[2016-07-29 21:08:24] [!] Spinning soft ban...28
[2016-07-29 21:08:25] [!] Spinning soft ban...29
[2016-07-29 21:08:27] [!] Spinning soft ban...30
[2016-07-29 21:08:28] [!] Spinning soft ban...31
[2016-07-29 21:08:29] [!] Spinning soft ban...32
[2016-07-29 21:08:31] [!] Spinning soft ban...33
[2016-07-29 21:08:32] [!] Spinning soft ban...34
[2016-07-29 21:08:33] [!] Spinning soft ban...35
[2016-07-29 21:08:35] [!] Spinning soft ban...36
[2016-07-29 21:08:36] [!] Spinning soft ban...37
[2016-07-29 21:08:37] [!] Spinning soft ban...38
[2016-07-29 21:08:39] [!] Spinning soft ban...39
[2016-07-29 21:08:40] [!] Spinning soft ban...40
[2016-07-29 21:08:42] [#] Found fort 22e8e2f1b00f47aea26bfe430b0ae46d.16 at distance 0.39km
[2016-07-29 21:08:42] [#] Need to move closer to Pokestop
[2016-07-29 21:08:42] [#] Walking from (53.166247, -0.537573) to (53.168723, -0.541776) for approx. 20.00 seconds
[2016-07-29 21:08:48] [#] Something rustles nearby!
[2016-07-29 21:08:48] [#] A Wild Zubat appeared! [CP 213] [Potential 0.67]
[2016-07-29 21:08:48] [#] IV [Stamina/Attack/Defense] = [9/8/13]
[2016-07-29 21:08:51] [x] Using Pokeball (chance: 41.52%)... (153 left!)
[2016-07-29 21:08:52] [x] Captured Zubat! [CP 213] [IV 0.67]
[2016-07-29 21:08:53] [x] Failed to evolve Zubat!
[2016-07-29 21:08:53] [x] Captured Zubat! [CP 213]

Thanks g0wfv! Your modification to the code worked perfectly. I teleported from ohio to california, and after the first pokestop I could catch pokemon again. I hope more people test this so it can be implemented into the project.


which vertical datum do we use in OBIS?

Overview
Some endpoints in OBIS ask for an additional z coordinate over (x,y) for a location. I hope z means vertical datum here. So, which particular datum do we follow - WGS 1984 or NAD 1983?
One of the endpoints that ask for (x, y, z) is occurrences/tile/{x}/{y}/{z}
A sample query:
https://api.obis.org/v3/occurrence/tile/1/1/1?scientificname=mola%20mola

I'm fairly certain it's WGS 1984

Yes WGS84 is what is required for OBIS and GBIF.

Noted, thank you!


mitxonline dashboard crashes when courserun has no upgrade deadline

What are the relevant tickets?
https://github.com/mitodl/hq/issues/5284
Description (What does it do?)
mitxonline dashboard crashes when courserun has no upgrade deadline
How can this be tested?

Create a course run with no upgrade deadline defined and course run enrollment for that course run.
Visit the dashboard and verify that the page loads correctly.
Update the course run to have an upgrade deadline in the future.
Visit the dashboard and verify that the page loads correctly.

@cp-at-mit I think this might be a related issue #2137. Does this PR fix this issue?

Yeah it sounds like this would resolve that requirement

I think this PR should make "upgrade deadline" be required field on the CourseRun model.

Are there CourseRuns with no upgrade deadline?

@cp-at-mit are there there many course runs in production that are missing it? What type of courses are those?

I think I saw 8 courses without an upgrade deadline.  I think they are just normal courses.

So all the upgrade_deadline does is that it prevents a user from enrolling in verified more after the deadline. So if there is no deadline I am assuming no verified mode is available for the course. So we can set the missing upgrade deadline values to any date in the past or now.

I think this PR should make "upgrade deadline" be required field on the CourseRun model.

While our current business rule is that all courses should offer certificates or sale and therefore have an upgrade deadline, I'm reluctant to add a validation for this.
Where would it be applied? How will it complicate the course configuration process, which is already quite messy? What do we do if the upgrade deadline hasn't been determined at the time of courserun creation? And does it tie our hands for offering new types of courses in the future, like SPOCs (small private courses) or other courses without certificates?


Motherduck is still on v0.9.2 so v0.10.1 isn't supported

failed to ingest source: failed to load motherduck extension Invalid Input Error: Initialization function "motherduck_init" from file "/home/rill/.duckdb/extensions/v0.10.1/linux_amd64/motherduck.duckdb_extension" threw an exception: "
It looks like you're using an unsupported version of DuckDB (0.10.1). MotherDuck currently only supports DuckDB 0.9.2. Please downgrade DuckDB to 0.9.2 to use MotherDuck.

For more information go to https://motherduck.com/docs/getting-started/connect-query-from-duckdb-cli"

from Motherduck
MotherDuck runs on vanilla DuckDB and currently supports DuckDB version v0.9.2 only. Support for v0.10.0 is coming soon!

Closing as both Rill and Motherduck are now on compatible 0.10.x track of duck