redirect_url returning ‘server not found’

Correct me if I'm wrong but I thought the redirect_url property was for the link to the page on your site that handles success or failure of a transaction depending on the status query param. I set mine to the page on the site waiting to handle the query params but I keep getting a server not found error. What am I doing wrong?

Hello @vinosamari
Apologies for the late response.
Please share a screenshot of the redirect page showing the error.

No problem @toybz i figured out the issue and to be honest it made me get a broader understanding of debugging Vue/Nuxt. I'm trying to use the web hook to verify transactions and I'm using Cloudflare workers for that. I'm still on it but so far it's all good.

Happy to hear this @vinosamari

One more thing @toybz. Can I set the value of the redirect_url properly to an environment variable(process.env.FLW_REDIRECT_ITL) so that I can test the whole user flow in development easily. The present value is a hard-coded link to the appropriate url(example.com/verify-transaction)on the site.

Hello @vinosamari
Yes, you can set it using deployment variables


Microk8s traefik

This is probably a Q+A rather than a bug. I'm having a go at using microk8s traefik addon.
Looking at the spec it seems the dashboard should be enabled at '/'. Once enable if I go to the ip of the server I get a traefik 404 page. Similarly, if I run
kubectl port-forward -n traefik service/traefik-web-ui 1080:8080
and try and access the dashboard through <IP_ADDRESS>:1080/ I also get the traefik 404
This is probably a very dumb question but any help would be greatly appreciated.
Another question that may be the source of a lot more of my confusion, why is port 8080 used and not port 80? If I add an ingress with host traefik.example.com and path '/' and then go to traefik.example.com/ I will get nothing whereas with traefik.example.com:8080/ I get the traefik 404.
inspection-report-20201228_111603.tar.gz

@JElgar the service name isn't traefik-web-ui.  It is traefik-ingress-service instead.
Can you try kubectl -n traefik port-forward svc/traefik-ingress-service 1080:8080?

I also seem to be experiencing the same issues. Port 8080 returns "404 page not found", the problem was not solved with the above command.
I'm new to Kubernetes and microk8s so I may have done something wrong, but so far this is all I have done:
1.) Install Ubuntu Server ARM64 on RPI V4
2.) sudo usermod -a -G microk8s <username> - add user to microk8s group
3.) Restart to apply new user group
4.) snap install microk8s --classic
5.) apt-get update -qq & apt-get install -qq -y iptables-persistent & iptables -P FORWARD ACCEPT
6.) microk8s enable dashboard dns host-access portainer registry storage traefik
7.) snap alias microk8s.kubectl kubectl
8.) Generate Token and then sudo microk8s dashboard-proxy
9.) Log into Kubernetes Dashboard - Working
10.) Attempt to access Traefik on Port 8080 - Returns "404 page not found"
11.) kubectl port-forward -n traefik service/traefik-web-ui 1080:8080
12.) Attempt to access Traefik on Port 8080 again - Still Returns "404 page not found"
Let me know if there is any more information that I can provide to help.

How about accessong the page with http://localhost:1080/dasboard/
Im looking at this docs.
https://doc.traefik.io/traefik/operations/dashboard/#insecure-mode
Do you see traefik-web-ui service resource in traefik namespace?

Using port 1080 shows "This site can't be reached", if run step 11 from my previous message however, I see "404 page not found".
Checking out the traefik namespace I do see the traefik-web-ui under "Ingress", under Applications in this resource pool it only shows "traefik-ingress-controller".

Using port 1080 shows "This site can't be reached", if run step 11 from my previous message however, I see "404 page not found".
Checking out the traefik namespace I do see the traefik-web-ui under "Ingress", under Applications in this resource pool it only shows "traefik-ingress-controller".

Looks like this is the reason (traefik pod log):
E0107 05:32:27.518090       1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.2/tools/cache/reflector.go:125: Failed to list *v1beta1.IngressClass: ingressclasses.networking.k8s.io is forbidden: User "system:serviceaccount:traefik:traefik-ingress-controller" cannot list resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope

Looks like this is the reason (traefik pod log):
E0107 05:32:27.518090       1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.2/tools/cache/reflector.go:125: Failed to list *v1beta1.IngressClass: ingressclasses.networking.k8s.io is forbidden: User "system:serviceaccount:traefik:traefik-ingress-controller" cannot list resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope

Hi microk8s enable traefik is just an ingress controller, on top of it user can change as per his requirement.
for dashboard to work, pl edit daemonset file and add

--api.insecure=true
--api.dashboard=true
also change entrypoint port as per requirement. however its not secured

Hi microk8s enable traefik is just an ingress controller, on top of it user can change as per his requirement.
for dashboard to work, pl edit daemonset file and add

--api.insecure=true
--api.dashboard=true
also change entrypoint port as per requirement. however its not secured

You also need to change the web entrypoint to something else than :8080 since the dashboard will bind this port and create problem.
Here is an example that work:
apiVersion: v1
kind: ServiceAccount
metadata:
  name: traefik-ingress-controller
  namespace: default
---
kind: DaemonSet
apiVersion: apps/v1
metadata:
  name: traefik-ingress-controller
  namespace: default
  labels:
    k8s-app: traefik-ingress-lb
spec:
  selector:
    matchLabels:
      k8s-app: traefik-ingress-lb
      name: traefik-ingress-lb
  template:
    metadata:
      labels:
        k8s-app: traefik-ingress-lb
        name: traefik-ingress-lb
    spec:
      tolerations:
      - effect: NoSchedule
        operator: Exists
      serviceAccountName: traefik-ingress-controller
      terminationGracePeriodSeconds: 60
      hostNetwork: true
      containers:
      - image: traefik:2.3
        name: traefik-ingress-lb
        ports:
        - name: http
          containerPort: 8080
          hostPort: 8080
        securityContext:
          capabilities:
            drop:
            - ALL
            add:
            - NET_BIND_SERVICE
        args:
        - --providers.kubernetesingress=true
        - --providers.kubernetesingress.ingressendpoint.ip=<IP_ADDRESS>
        - --api.dashboard=true
        - --api.insecure=true
        - --log=true
        - --log.level=INFO
        - --accesslog=true
        - --accesslog.filepath=/dev/stdout
        - --accesslog.format=json
        - --entrypoints.web.address=:80
        - --entrypoints.websecure.address=:8443
---
kind: Deployment
apiVersion: apps/v1
metadata:
  namespace: default
  name: whoami
  labels:
    app: whoami

spec:
  replicas: 2
  selector:
    matchLabels:
      app: whoami
  template:
    metadata:
      labels:
        app: whoami
    spec:
      containers:
        - name: whoami
          image: traefik/whoami
          ports:
            - name: web
              containerPort: 80
---
kind: Service
apiVersion: v1
metadata:
  name: traefik-ingress-service
  namespace: default
spec:
  selector:
    k8s-app: traefik-ingress-lb
  ports:
    - protocol: TCP
      port: 8080
      name: admin
---
apiVersion: v1
kind: Service
metadata:
  name: whoami

spec:
  ports:
    - protocol: TCP
      name: web
      port: 80
  selector:
    app: whoami
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: traefik-ingress-controller
rules:
  - apiGroups:
      - ""
    resources:
      - services
      - endpoints
      - secrets
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - extensions
    resources:
      - ingresses
    verbs:
      - get
      - list
      - watch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: traefik-ingress-controller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: traefik-ingress-controller
subjects:
- kind: ServiceAccount
  name: traefik-ingress-controller
  namespace: default
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: traefik-web-ui
  namespace: default
spec:
  rules:
  - host: <your host>
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: traefik-web-ui
            port:
              number: 8080
      - path: /
        pathType: Prefix
        backend:
          service:
            name: whoami
            port:
              number: 80

You also need to change the web entrypoint to something else than :8080 since the dashboard will bind this port and create problem.
Here is an example that work:
apiVersion: v1
kind: ServiceAccount
metadata:
  name: traefik-ingress-controller
  namespace: default
---
kind: DaemonSet
apiVersion: apps/v1
metadata:
  name: traefik-ingress-controller
  namespace: default
  labels:
    k8s-app: traefik-ingress-lb
spec:
  selector:
    matchLabels:
      k8s-app: traefik-ingress-lb
      name: traefik-ingress-lb
  template:
    metadata:
      labels:
        k8s-app: traefik-ingress-lb
        name: traefik-ingress-lb
    spec:
      tolerations:
      - effect: NoSchedule
        operator: Exists
      serviceAccountName: traefik-ingress-controller
      terminationGracePeriodSeconds: 60
      hostNetwork: true
      containers:
      - image: traefik:2.3
        name: traefik-ingress-lb
        ports:
        - name: http
          containerPort: 8080
          hostPort: 8080
        securityContext:
          capabilities:
            drop:
            - ALL
            add:
            - NET_BIND_SERVICE
        args:
        - --providers.kubernetesingress=true
        - --providers.kubernetesingress.ingressendpoint.ip=<IP_ADDRESS>
        - --api.dashboard=true
        - --api.insecure=true
        - --log=true
        - --log.level=INFO
        - --accesslog=true
        - --accesslog.filepath=/dev/stdout
        - --accesslog.format=json
        - --entrypoints.web.address=:80
        - --entrypoints.websecure.address=:8443
---
kind: Deployment
apiVersion: apps/v1
metadata:
  namespace: default
  name: whoami
  labels:
    app: whoami

spec:
  replicas: 2
  selector:
    matchLabels:
      app: whoami
  template:
    metadata:
      labels:
        app: whoami
    spec:
      containers:
        - name: whoami
          image: traefik/whoami
          ports:
            - name: web
              containerPort: 80
---
kind: Service
apiVersion: v1
metadata:
  name: traefik-ingress-service
  namespace: default
spec:
  selector:
    k8s-app: traefik-ingress-lb
  ports:
    - protocol: TCP
      port: 8080
      name: admin
---
apiVersion: v1
kind: Service
metadata:
  name: whoami

spec:
  ports:
    - protocol: TCP
      name: web
      port: 80
  selector:
    app: whoami
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: traefik-ingress-controller
rules:
  - apiGroups:
      - ""
    resources:
      - services
      - endpoints
      - secrets
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - extensions
    resources:
      - ingresses
    verbs:
      - get
      - list
      - watch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: traefik-ingress-controller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: traefik-ingress-controller
subjects:
- kind: ServiceAccount
  name: traefik-ingress-controller
  namespace: default
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: traefik-web-ui
  namespace: default
spec:
  rules:
  - host: <your host>
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: traefik-web-ui
            port:
              number: 8080
      - path: /
        pathType: Prefix
        backend:
          service:
            name: whoami
            port:
              number: 80

Thanks guys for these info.  @balasu do you think it will be good to have option to enable the traefik dashboard when enabling the traefik addon?
Thanks!

Thanks guys for these info.  @balasu do you think it will be good to have option to enable the traefik dashboard when enabling the traefik addon?
Thanks!

Hi @balchua , it depends on the usecase, microk8s enable traefik is just an ingress controller for underlying cluster. if there is a requirement, traefik ingress controller has to be installed as CRD where its secured.
https://doc.traefik.io/traefik/user-guides/crd-acme/

Hi @balchua , it depends on the usecase, microk8s enable traefik is just an ingress controller for underlying cluster. if there is a requirement, traefik ingress controller has to be installed as CRD where its secured.
https://doc.traefik.io/traefik/user-guides/crd-acme/

Im no traefik guru, but providing option to enable the traefik dashboard will provide better UX.
Wdyt?

Im no traefik guru, but providing option to enable the traefik dashboard will provide better UX.
Wdyt?

yes, let me check with traefik team as well. however i think we should move to CRD based implementation for a better secured deployment rather than exposing the UI on insecured way

yes, let me check with traefik team as well. however i think we should move to CRD based implementation for a better secured deployment rather than exposing the UI on insecured way

Is there any update on this feature?

Hi @vrsarin Sorry for the delayed reply, Traefik CRD implementation currently parked as many changes are going thru. Incase there is a requirement to use UI, users can use portainer dashboard to management the cluster and deploy applications

Hello, for me it was missing docker installation... After docker installation traefik dashboard appeared (no 404 😃 ).

thx for the patch @HtheChemist. i can now access the traefik-dashboard. that said, i'm unable to add a new ingress-route, event the above provided whoami ingress example fails for me.
thoughts?
microk8s:2.2.0
traefik enabled
a curl .../whoami logs the following, noting the routerName is 'dashboard@internal' ... not the route i registered per the above patch while changing the whoami pathPrefix to '/whoami':
{"ClientAddr":"<IP_ADDRESS>:59948","ClientHost":"<IP_ADDRESS>","ClientPort":"59948","ClientUsername":"-","DownstreamContentSize":19,"DownstreamStatus":404,"Duration":175694,"OriginContentSize":19,"OriginDuration":116763,"OriginStatus":404,"Overhead":58931,"RequestAddr":"<IP_ADDRESS>:8080","RequestContentSize":0,"RequestCount":181,"RequestHost":"<IP_ADDRESS>","RequestMethod":"GET","RequestPath":"/whoami","RequestPort":"8080","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"dashboard@internal","StartLocal":"2021-11-30T07:09:54.913197696Z","StartUTC":"2021-11-30T07:09:54.913197696Z","entryPointName":"traefik","level":"info","msg":"","time":"2021-11-30T07:09:54Z"}

@jwtodd: it seems that you request the port 8080, have you tried with port 80?

the multipass host, osx, endpoint is on 8080 which does resolve to the dashboard via the 'dasboard@internal' route.
just not sure how to add additional application routes.
traefik worked for us under docker-desktop with  traefik.containo.us/v1alpha1:IntegressRoute defs.

In your Traefik ingress Deamonset, change the entrypoint to the following:
        - --entrypoints.web.address=:80
        - --entrypoints.websecure.address=:8443

The /whoami container should be also changed to :80 (for example in a:
kind: Deployment
apiVersion: apps/v1
metadata:
  namespace: default
  name: whoami
  labels:
    app: whoami

spec:
  replicas: 2
  selector:
    matchLabels:
      app: whoami
  template:
    metadata:
      labels:
        app: whoami
    spec:
      containers:
        - name: whoami
          image: traefik/whoami
          ports:
            - name: web
              containerPort: 80

And then add a service on port 80 for whoami.:
apiVersion: v1
kind: Service
metadata:
  name: whoami

spec:
  ports:
    - protocol: TCP
      name: web
      port: 80
  selector:
    app: whoami

Note that this port can be any port EXCEPT the same port as the dashboard. I am unsure why
In my local deployment, my ingress are the following:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: local-ingress
  namespace: local
spec:
  entryPoints:
    - web
  routes:
  - match: PathPrefix(`/`)
    kind: Rule
    services:
    - name: django
      port: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: traefik-web-ui
  namespace: default
spec:
  rules:
  - http:
      paths:
      - path: /dashboard/
        pathType: Prefix
        backend:
          service:
            name: traefik
            port:
              number: 8080

Since it work for my use I have not investigated further. If you insist on using port 8080 you can probably add an ingress with a path of / that also point to traefik.

thx! ... will give this a go shortly. i just want it to work so no insistence on port 8080
i did change --entrypoints.web.address=80 but i didn't map whoami back to 80. that could be the issue.
thx tons for the above. will report back shortly.

Hi,
I have a 6 nodes cluster with traefik enabled, how can I change the Daemonset (I also have portainer enabled, it seems I can't change the yaml from there...)
Thank you.

hello @urbaman
I'm new in Microk8s, but to edit ds of Traefik under >
$microk8s.enable traefik
you can run this line:
microk8s.kubectl -n traefik edit ds traefik-ingress-controller
I hope it works by the command line. But, you can also edit in the Kubernetes Dashboard if it is enabled. In the left side menu look for Deamon Sets. It's the second from top to bottom.
Success for you.

This looks to be resolved, closing the issue.
Please re-open or create a new one for any questions, thank you!


Fix user guide

Generally fixes wording, errors, and typos throughout the document
Add sortc, sortp, sorte, and exit to the Command Summary
Split Overview and Structure of InternBuddy into its own section
Add section explaining the restrictions on each parameter type
Add section explaining Archive feature
Add note that lists cannot have duplicate entries as well as notes on what counts as a duplicate entry

Codecov Report

Merging #156 (2d1869f) into master (106f0bb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #156   +/-   ##
=========================================
  Coverage     70.68%   70.68%
  Complexity      776      776
=========================================
  Files           121      121
  Lines          2610     2610
  Branches        371      371
=========================================
  Hits           1845     1845
  Misses          628      628
  Partials        137      137

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 106f0bb...2d1869f. Read the comment docs.


Updating codahale metrics-core to 3.2.2

codahale metrics-core 3.3.2 http://metrics.dropwizard.io/3.2.2/about/release-notes.html

Thanks @chrisgray !


fix unexpected switching animation

fixes #60
fixes #59

Thanks for working on this.
I'm still seeing the animation problem when I start on the "Accounts" tab in the Example app and then switch to the "General" tab.

You can reproduce this issue by starting on "General" tab and then switch to "Accounts" tab.  If you set translatesAutoresizingMaskIntoConstraints to be false, then the animation will work correctly.(Tested on macOS 13.2.1)

Thanks ;)

I wonder if
a) this may be too intrusive? If the view was assembled from code, this might already be false; but if it's from IB, could this break things?
b) we should add a comment above the new line to explain why this is needed?

I wonder if
a) this may be too intrusive? If the view was assembled from code, this might already be false; but if it's from IB, could this break things? b) we should add a comment above the new line to explain why this is needed?

By default, the property is set to true for any view you programmatically create. If you add views in Interface Builder, the system automatically sets this property to false.https://developer.apple.com/documentation/uikit/uiview/1622572-translatesautoresizingmaskintoco
Although it's UIView, but it seems the same to NSView.


Wording Clarification on PMP Action

The description of PMP action says: "Attempting to execute a store, store-conditional (regardless of success), or AMO
instruction whose effective address lies within a PMP region without write permissions raisesstore access-fault exception."
This might give the idea that the store-conditional could succeed in this case.  Of course it can't.  But it might avoid confusion if "regardless of success" were changed to "regardless of potential success"

Or maybe just delete “regardless of success”?

That's my preference.
An SC succeeds whenever the lock on the cacheline is retained, even if the
write will fail, so the old wording is ok though misleading and the
proposed wording is not specific enough to make a distinction about lock
success.
On Fri, Jul 17, 2020, 15:40 Andrew Waterman<EMAIL_ADDRESS>wrote:

Or maybe just delete “regardless of success”?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/542#issuecomment-660302975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAWIKMUVJ7J4TNUMTCQHY3R4CSKJANCNFSM4O6PFAHA
.

Removing is fine with me too.

OK, done.  Thanks for bringing this up.


How to delay eureka client registration eureka server?

In K8S, I have a Spring Boot application which is also a Eureka client. The normal behavior of the application is to register with Eureka server on start up as UP. I have a requirement that the application shouldn't register with the Eureka server until k8s readiness finished

Off the top of my head, set initial status to out of service then you're looking update it on some event

thanks


The TypeScript language service died 5 times right after it got started. The service will not be restarted

VSCode Version: Code 1.11.1 (d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39, 2017-04-06T13:58:12.954Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

npm-intellisense
christian-kohler
1.3.0

vscode-eslint
dbaeumer
1.2.8

vscode-npm-source
dkundel
1.0.0

vscode-generate-getter-setter
DSKWRK
0.4.2

code-runner
formulahendry
0.6.15

terminal
formulahendry
0.0.7

live-html-previewer
hdg
0.0.1

vscode-angular2-emmet
jakethashi
1.0.11

Angular2
johnpapa
2.2.3

node-module-intellisense
leizongmin
1.3.0

vscode-extension-auto-import
moppitz
1.3.3

vscode-less
mrmlnc
0.6.2

node-modules-resolve
naumovs
1.0.2

vscode-icons
robertohuertasm
7.5.1

bootstrap4-vscode
thekalinga
2.3.3

theme-monokai-black
vip32bit
0.1.0

expresssnippet
vladmrnv
0.1.0

html-less-class-completion
wangkechun
0.0.6

html-css-class-completion
Zignd
1.0.3

Steps to Reproduce:

unknown

A few questions:

Do you see any other messages or just the warning/error about TypeScript not being restarted?
Are you using a custom typescript.tsdk setting?
Does this happen for all projects you open, or only some projects?
Does it happen if you disable extension? Try launching code with --disable-extensions

Can you also try collecting the TypeScript server logs:

In VSCode 1.11, add a setting"typescript.tsserver.log": "verbose"
Reload VSCode and reproduce the issue
Run the Open TS Server Log file command
Share the output from there.

Log collection may not actually work in this case since TypeScript is crashing on boot. Let me know if this is the case
Thanks

Do you see any other messages or just the warning/error about TypeScript not being restarted?
no other messages.
Are you using a custom typescript.tsdk setting?
no
Does this happen for all projects you open, or only some projects?
yes
Does it happen if you disable extension? Try launching code with --disable-extensions
Still appears after disabling all extensions.
TypeScript server log command did not produce any output.

please notice that I updated vs code to 1.11.2 and still facing the same issue.

Let's try the old method of log collection then:
From a command line, run:
Windows:
set TSS_LOG=-level verbose -file c:\tmp\tsserver.log
code

Reproduce the problem in VSCode and then share the tsserver.log file found in  c:\tmp\tsserver.log
If you still don't see anything there, instead try:

Set "typescript.tsserver.trace": "verbose", in your user settings

Restart VSCode and reproduce the problem
Open the output pane and share the output from TypeScript

⚠Warning: The TypeScript log/trage may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

Thanks

I'm having the same issue too. I've tried setting typescript.tsserver.trace, typescript.tsserver.log to verbose and running code with env variable: TSS_LOG="-level verbose -file ~/tss.log" but I'm not able to see any logs.
Stacktrace:
shell.ts:475
Service died.: Error: Service died.
    at Object.keys.forEach (/usr/share/code/resources/app/extensions/typescript/out/typescriptServiceClient.js:622:45)
    at Array.forEach (native)
    at TypeScriptServiceClient.serviceExited (/usr/share/code/resources/app/extensions/typescript/out/typescriptServiceClient.js:621:37)
    at ChildProcess.childProcess.on (/usr/share/code/resources/app/extensions/typescript/out/typescriptServiceClient.js:435:34)
    at emitTwo (events.js:111:20)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

That did not work for me either. However, I figured out the root cause of this issue for me. I think that the issue is in the value for  "typescript.tsdk" in the user settings inside settings.json
I remember that I changed because the windows path format C:\Users\username......\typescript\lib was giving error "invalid escape character". So, I changed it just to get rid of this error message and that introduced this issue.
I set it back to the old value and now I am not getting this issue anymore. But, the windows path format is not accepted and VSCode gives a Warning message: typescript\lib does not point to a valid tsserver install. Falling back to bundled TypeScript version.
What should be the value for "typescript.tsdk" in the user settings?

Alright, it works fine now. Either set  "typescript.tsdk": "./node_modules/typescript/lib" which refers to the local installation for the current project.
Or,  using the double slash to refer to the global installation "typescript.tsdk": "C:\Users\username\AppData\Roaming\npm\node_modules\typescript\lib".

Glad you found a solution. Here's more information about configuring the typescript.tsdk setting: https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions On windows, you can use windows style paths as long as the backslashes are escaped. This is a quirk of the json format that we use to store settings. For workspace local tsdk settings, I recommend using unix style paths
Closing since it sounds like the issue has been resolved


ITA to skilled trades bc

ITA To SkilledTradesBC Label Changes and Changes in requirement.txt file (We have created the PR #891 but instead of that we have created this new PR and also add some module in /workspace/api/requirements.txt file )

This is a duplicate branch because PR #922 already includes these changes.


Implement copy to clipboard feature

Implement copy to clipboard to all the code sections

Issue resolved in commit 35f1c6c.


Images Not Showed

Such as same users in past, some images are not showed on this PrestaShop eCommerce:
https://ecosistemigroup.com/it/
I've Ubuntu 16.04 64bit with Apache and I've installed today the latest version today.
I've to disable conversion by jpg to webp, I've solved for various images but not for all..!

Hi
The images that don´t show are by 403 Forbiden error, maybe you have some rule in .httaccess that do that.
When you run https://ecosistemigroup.com/it/?PageSpeedFilters=`debug , the debug messages in the html code are normal

The PrestaShop .htaccess rules have interference with mod_pagespeed?

Not necesarly.  But some thing is blocking these request and the easy response is a .httacces or a firewall rule.
I take a closer look and see that headers from the forbiden request are at least curious.
A normal image have the header content-type set to some like image/jpg, image/webp and so.
But these images have a content-type text/html.
When a url is rewrited by pagespeed have some "clues" about it in the headers:
etag is set to W/0 or PSA+some string, have a link header to point to the canonical url, an X-Original-Content-Length to show the original size.....
But these images don´t have any of these headers, like pagespeed don´t touch it.

So the probllem is not the pagespeed module, I think.

I've solved by adding this code to Apache .conf file:
<Location /img/cms>
    <IfModule mod_rewrite.c>
      RewriteEngine Off
    </IfModule>
</Location>

These module is for rewriting url, you may test that disabling it don´t break the site

Yes.. I've disabled this folder by rewrite and now the mod_pagespeed images rewrite work

@LuigiMdg
In your posted configuration, the line: "RewriteEngine Off" is a misconfiguration, and adding it to your system will not change any system behavior.
Why "RewriteEngine Off" is allowed by Apache is that, if you include multiple "RewriteRule" parameters in your configuration, then instead of commenting them all, you can explicitly using “RewriteEngine Off” to disable all "RewriteRule".
More importantly, the default value of “RewriteEngine" is already an "off", so adding “RewriteEngine Off" is quite unnecessary and it may cause confusion to users.
Since herein there is no "RewriteRule", deleting “RewriteEngine Off” would be ideal.
Related Apache source code snippet:
run_rewritemap_programs(server_rec *s , apr_pool_t *p){
if (conf->state == ENGINE_DISABLED) { // usage of "RewriteEngine"
  return APR_SUCCESS; // early return
rewritemap_program(...); // usage of "RewriteRule"
}


Some changes to be made

Due to changes in Gateway and internal handling of certain objects in Discord, following changes need to be made:

[x] (Channel) Make .IsNSFW on channels rely on JSON property rather than channel's name.
[x] (Guild) .DefaultChannel is no longer the channel with the same ID as the guild, but rather highest channel visible to the user.

I guess this is completed now.


Updating to react 0.14 rc1

Really excited to get this working with react 0.14 rc1.
Going to see how I can help.

I just released<EMAIL_ADDRESS>which works with<EMAIL_ADDRESS>kodyl/react-document-meta#3

I too would like to see this updated for React 0.14.

Perhaps you can also upgrade to react-router 1.0.0-rc1?

See #182
I'm taking a look at this today, but I've yet to use React Router so I'll probably get nowhere.

Fixed by #214.


PT-1451 | Add sidebar layout

Description :sparkles:
Adds support for sidebar layout for CMS pages when sidebar has content.
Retains old single column layout for pages that do not have any sidebar content.
Issues :bug:
Closes :no_good_woman:
PT-1451
Related :handshake:
Testing :alembic:
Automated tests :gear:
Added a test case into the integration tests of the CMS page that checks that the sidebar layout is used when the sidebar has content. This case can later be extended to check that sidebar content is rendered correctly.
This was a bit hazardous in that the test cases can't be run, because the bootstrapping library that's used does not support our version of next.
Manual testing :construction_worker_man:
Used /cms-page/kulttuurikasvatus to verify behaviour with and without sidebar content.
Screenshots :camera_flash:

Sidebar comes after main content on mobile

Codecov Report

Merging #216 (df714f4) into master (65c6c97) will decrease coverage by 0.11%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #216      +/-   ##
==========================================
- Coverage   84.79%   84.67%   -0.12%
==========================================
  Files         117      118       +1
  Lines        3558     3563       +5
  Branches      801      801
==========================================
  Hits         3017     3017
- Misses        533      538       +5
  Partials        8        8

Impacted Files
Coverage Δ

src/headless-cms/components/CmsPageContent.tsx
0.00% <0.00%> (ø)

src/headless-cms/components/CmsSidebarLayout.tsx
0.00% <0.00%> (ø)

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 65c6c97...df714f4. Read the comment docs.


Lux animations

$ git commit -m "[New champion] Lux"
"Adding animations to Lux, as well as the module.this pull is only animations no module has been created yet working on it."

Will Save the files Offline for now until the Dev folders become more permanent.


[C++] Regression in 4.3: std::set_terminate fails to set termination handler

Tested versions

Reproducible in 4.3.stable
Not reproducible in 4.2.2.stable

System information
Arch Linux - Ryzen 5 5600X (x86_64)
Issue description
The C++ function std::set_terminate sets the termination function when an exception's not handled. In Godot 4.3.stable, this function doesn't seem to do anything: the stock termination handler is always used. In 4.2.2.stable, this issue isn't there - the function is called.
This doesn't seem to depend on the version of godot_cpp - same version is used (latest) therefore the bug's in the main engine presumably.
Steps to reproduce

Download the MRP
git submodule update --init to obtain godot-cpp
Use scons to build the library + godot-cpp
Open the project using godot 4.2.2 (with console). It will crash, however the terminate handler will be called, printing a few extra lines before crashing.
Launch godot 4.3 (with console output)
Open the project. It will also crash, however the output will be of the standard C++ terminate handler.

Minimal reproduction project (MRP)
mrp.zip

I'm not familiar with that API, but note that both Godot and godot-cpp disable exceptions out of the box since 4.2-stable. For godot-cpp: https://github.com/godotengine/godot-cpp/pull/1216
Are you building Godot and godot-cpp with disable_exceptions=no?
You mention it worked in 4.2.2, were you using the godot-4.2.2-stable tag of godot-cpp, or an earlier version with updated extension API json?

I checked the MRP and I see you're passing -fexceptions explicitly, and you're lucky that it ends after the -fno-exceptions defined by godot-cpp by default. I would recommend using env["disable_exceptions"] = False instead.
Original MRP commit for godot-cpp:
g++ -o godot-cpp/gen/src/classes/audio_stream.linux.template_debug.x86_64.o -c -fno-gnu-unique -fno-exceptions -std=c++17 -fPIC -Wwrite-strings -m64 -march=x86-64 -O2 -fvisibility=hidden -fexceptions -DHOT_RELOAD_ENABLED -DLINUX_ENABLED -DUNIX_ENABLED -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -DNDEBUG -Igodot-cpp/gdextension -Igodot-cpp/include -Igodot-cpp/gen/include -Igodot-cpp/src godot-cpp/gen/src/classes/audio_stream.cpp

godot-4.3-stable
g++ -o godot-cpp/gen/src/classes/expression.linux.template_debug.x86_64.o -c -fno-gnu-unique -std=c++17 -fno-exceptions -fPIC -Wwrite-strings -m64 -march=x86-64 -fvisibility=hidden -O2 -fexceptions -DLINUX_ENABLED -DUNIX_ENABLED -DTHREADS_ENABLED -DHOT_RELOAD_ENABLED -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -DNDEBUG -DGDEXTENSION -Igodot-cpp/gdextension -Igodot-cpp/include -Igodot-cpp/gen/include -Igodot-cpp/src godot-cpp/gen/src/classes/expression.cpp

So it should work fine in both cases, the problem must be something else.
I'll move this to godot-cpp as it's not established yet that it's a Godot bug, and not a godot-cpp one or config change.


ENH: do not rely on packaging module for generating wheel tags

Looking at the wheel tags generation code in packaging and in wheel it looks like it is full of cruft to support old interpreter versions. I tried to see how much effort it takes to have the most minimal compliant implementation. This for now only tests that my implementation returns the same values as the packaging-based one. Pushing it here just to have the tests run in CI.

The code turns out nice and simple. The most complex part is a workaround for some macOS SDK bug. It would be nice if more of this string fiddling would be implemented in the standard library, but it does not seem as fragile as I was fearing. @FFY00 It would be nice if sysconfig on Windows would expose SOABI too.
I went ahead and replaced the use of packaging code with this implementation for the generation of the tags. Please have a look. @eli-schwartz
The tests failures on macOS are due to the fact that a version of packaging with the macOS SDK workaround has not been released yet. I'm not sure what the best solution is here.

All green except mysterious failures on Homebrew with Python 3.10 and 3.11. I'm convinced these are test setup issues, but debugging the issues with the Cygwin job drained my divination power for the day.

  brew reinstall<EMAIL_ADDRESS>|| true

This command fails, but is told to report the job as successful regardless of whether it actually succeeded. I'm not sure what the point of this is supposed to be, other than to make errors less obvious. :)
...
It's a github actions bug, github actions has inherently broken homebrew: https://github.com/Homebrew/discussions/discussions/3895

  brew reinstall<EMAIL_ADDRESS>|| true

This command fails, but is told to report the job as successful regardless of whether it actually succeeded. I'm not sure what the point of this is supposed to be, other than to make errors less obvious. :)

The brew install fails to link the package because there are already binaries from Python 2.7 in place of the destinations of the homebrew links for the unversioned binaries. The brew link --overwrite solves overwrites the existing binaries with the homebrew links. The other solution I played with was to rm -f the I'll make sure to stick a comment explaining what that does once I solve the remaining issues, if it is possible.

It's a github actions bug, github actions has inherently broken homebrew:

Oh. Good to know. I'll read up about it.

The brew install fails to link the package because there are already binaries from Python 2.7 in place of the destinations of the homebrew links for the unversioned binaries.

Actually the GitHub Actions specific 3.11, not 2.7, but otherwise correct.

The issues with the Homebrew Python are due to this https://github.com/pypa/pip/issues/11539 I still don't know if it is due to a bug in pip or something weird in how Homebrew Python is setup. It is strange that I don't seem to encounter this error in my local setup, though.

@FFY00 I think this is now ready. After some serious debugging effort the CI should be happy now. Please take a look.
I would appreciate if we could cut a release after merging this, unless there are other important things pending. I would like to go back to release wheels for Python 3.7, which is the thing that originally prompted this work.

I would appreciate if we could cut a release after merging this

I'm happy to finish off #175 as soon as this goes if if you'd like that too - that's quite important for building on non-wheel-supported platforms.

Great work, by the way! :)

We have a couple things ready that are blocked by fixes on the PR, after we get this in we can merger all the blocked stuff and make a release.

The system ninja work would be very nice to have indeed.

This "passes" but the pytest -> test name change messes up the require checks. Personally, I prefer having a "pass" check that depends on all the other checks, and then only require that (once per workflow, unfortunately, but still much simpler than maintaining a bunch of checks, and if you change the checks all the old merged PRs don't change to orange dots).

Yeah. Sorry, I didn't realize that the rename would have caused this issue. However, also the readthedocs job is stuck, so this is not the only thing preventing this from being merged automatically. Now that all the CI jobs are fixed, can't we simply require that all jobs succeed? I'm not sure why the status of old PRs should change changing the definition of the checks for future PRs. It seems a GitHub bug to me.


Update the MI 4.0.0 migration docs

Description:
Update the MI 4.0.0 migration docs by cleaning up the MD files.

Closing this as this seems to be fixed now.


123

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Hello, you can see in screenshot
сб, 4 июл. 2020 г. в 09:01, docker-desktop-robot<EMAIL_ADDRESS>
We're closing this issue because it doesn't contain enough information for
us to investigate the problem.
If you'd like us to investigate further, could you please open a fresh
issue with a more detailed description?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/kitematic/issues/5706#issuecomment-653717493,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFZTSM7ARPCE6UJKBEQR53RZ2SQVANCNFSM4OPTTEOA
.


[CARBONDATA-3889] Cleanup code in carbondata-common module

Why is this PR needed?

Field can be 'final'
Redundant 'if' statement
Empty method
Redundant 'throws' clause
Anonymous type can be replaced with lambda
Typo
Redundant String operation

What changes were proposed in this PR?

change field to be 'final'
change redundant 'if' statement
remove Empty method
remove redundant 'throws' clause
change anonymous type  to lambda
fix typo
remove redundant String operation

Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1565/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3302/

retest this please

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1567/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3304/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1671/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3413/

LGTM


MQTT & Hazelcast retries and Redis redelivery settings

Description
This PR adds details on backOffMaxRetries for MQTT and Hazelcast and redelivery settings to Redis.
Issue reference
Resolves #1267
Resolves #1270
Resolves #1255

Please rebase on v1.1 branch


CSV ReadOptions column_names None defaults to an empty array

Describe the bug, including details regarding any error messages, version, and platform.
When using the ReadOptions type, and setting None to column_names. ReadOptions is then setting it to [].

E   TypeError: 'NoneType' object is not iterable

This means that it force us to define our columns manually, rather than it automatically discovering it from the head.
Any idea?
Component(s)
Python

Thanks for raising the issue! Is this about pyarrow.csv.ReadOptions? Are you using autogenerate_column_names?
Could you share a small snippet of your use case so it's easier for us to understand what is the use case you are looking for?

My bad!
skip_row=0 solved my problem!  - had it on 1 by default.  thought that skip_row is not related to the header and header would be discovered when setting it to 'None'.
Thanks for the quick response though appreciated!! 😄


Hotfix (nitpicky) locales #401

Changes Germany into German and realigns distances to fit header somewhat.

Thanks for the fix @RedDevilus!


Is there any other suitable datasets for arbitrary object animation?

Hi Aliaksandr,
Thank u so much for bringing us such a brilliant work! We've studied your work well following your paper.
And now we want to animate some other arbitrary object, apart from body and face. But we're suffering from finding a suitable dataset for arbitrary object animation.
Do u have any idea which public dataset of moving arbitrary object is suitable for training FOMM? Or is there such a public dataset except for BAIR dataset?
Thanks a lot!

Why you need another dataset?

Since the FOMM is for arbitrary object animation and we've already done well in body and face datasets, we would like to try some interesting animation out, do you have any ideas?

I don't know. I also used moving-gif dataset. You may coolect the dataset yourself.

OK, thank you so much


4 column layout with images in each column breaks outlook, inbox for ff, & yahoo ff

I tested slinky with a 4 column large and 2 column small grid layout which breaks outlook 2010, outlook 2013, ff yahoo, & ff google inbox.
 <row>
    <columns small="6" large="3">

        <spacer size="10"></spacer>

          PROD1NAME, $PROD1PRICE

    </columns>
    <columns small="6" large="3">

        <spacer size="10"></spacer>

          PROD1NAME, $PROD1PRICE

    </columns>
    <columns small="6" large="3">

        <spacer size="10"></spacer>

          PROD1NAME, $PROD1PRICE

    </columns>
    <columns small="6" large="3">

        <spacer size="10"></spacer>

          PROD1NAME, $PROD1PRICE

    </columns>
  </row>

A good rule of thumb is to add width and height attributes to your images and constrain them to their natural width in the grid. I inspected to find the image width and set them in the html

@rafibomb thanks for taking a look! I set width and heights to the images, but still came across the similar issue. Here is my test codepen:
http://codepen.io/buzzguy/pen/NRZZEo/
setting width and height to 325, appears to scale the images too tall on iphone and breaks outlook etc:

I did a few different tests with variable outcomes. setting only width to 325 fixed the scaling issue, but still breaks the layout in the same browsers

and then, you were saying they should be set in it's natural width in the grid which would be 125 x 125, which still broke in outlook.


Avoid dependency hell

One possibility to avoid problems like #69 would be to include those essential parts like pbr and setuptools_scm directly into PyScaffold.

The suggestion by @xhochy of specifying only minimum version seems to work for now and is used in the current version 2.4.2. Since maintaining a contrib-package is quite some work (re-wiring all the internal imports of every module for each release), this issue is not that pressing and beneficial as first thought.


Option to specify configuration file

Currently, succade is hardwired to load its configuration file from CONFIG_DIR/succade/succaderc, but we should have a -c command line argument that allows us to specify a config file. This would come in handy for testing as well.

If I'm not missing anything, implementing this should also enable us to have multiple bars (by starting multiple instances of succade, each with a different config file). This might not be the best way of achieving it (we can't optimize for blocks that are shared between multiple bars, etc etc), but it sure would be an easy way (implementation-wise) and it is better than nothing.

Implemented with v1.0.0 - there is now a -c command line argument.


BUG: Head component unexpectedly changes the $el passed in any method

Steps to reproduce the issue:

Clone this repo.
Do: composer i, npm i, php artisan serve, npm run dev.
Click the button that appears in the browser (component located in resources/js/Pages/Test.vue). Open the browser's console. You will notice there is 1 console log:

<template>
  <Head title="Something" />

  <button
    @click="doStuff($el)"
    v-text="`click me`"
    class="bg-red-500 hover:bg-red-600 p-2 rounded"
  />
</template>

<script setup>
import { Head } from '@inertiajs/vue3'

const doStuff = $el => console.log($el)
</script>

Remove the Head component from the template (actually remove it, don't comment it). Click the button again. Now, the console log has changed!

<template>
  <button
    @click="doStuff($el)"
    v-text="`click me`"
    class="bg-red-500 hover:bg-red-600 p-2 rounded"
  />
</template>

<script setup>
import { Head } from '@inertiajs/vue3'

const doStuff = $el => console.log($el)
</script>

So seems the Head component modifies something and makes that the elements that you pass in the functions of the template don't work fine 🤯.

Seems wrapping it all inside a div makes it work. Is not an Inertia bug,
More info: https://discord.com/channels/592327939920494592/601127114288136193/1084183744484741120


tzselect isn't refactored correctly.

I couldn't figure out how to get this bats test to run in an inspec command block.
My attempt is here.
The EOF is causing the issue I think, the control output can be viewed here.

Fixed by #4


CI: Don't require changelog & state machine labels for markdown only changes

Background
We should stop requiring changelog & state machine labels for PR's that only touch markdown files.
This will lower some of the fighting the CI / manual steps we & contributors have to do.

Hey @ValarDragon do you need any help? I'd like to work on the CI task like this. Can I pick up this task?

Hey @ValarDragon do you need any help? I'd like to work on the CI task like this. Can I pick up this task?

Hey @tungbq . We would appreciate help with this issue. Please feel free to PR a change

state machine labels

Thanks @p0mvn!
Hi @ValarDragon, regarding to the state machine labels that you mentioned, do they mean that they are in the required label list of https://github.com/osmosis-labs/osmosis/blob/main/.github/workflows/required_labels.yml workflow: "V:state/breaking, V:state/compatible/no_backport, V:state/compatible/backport"?

That's correct. There is one more label that is applicable: A:no-changelog

Please see: https://github.com/osmosis-labs/osmosis/pull/5311

Please see: #5311

I'm on vacation for last several days so could not check it earlier. I'm looking into it to find another approach to resolve this.

New approach has been proposed in #5357, please have a look.


Set new CI up

I do not know what happened to Travis CI, but the last commit which was build seems to be https://github.com/pavouk/lgi/commit/95418635aa8151a516d43166227ea2b9d4c4403f: https://travis-ci.org/github/pavouk/lgi/builds/673164708
The following commit does not have a CI link (the green arrow on the commit page): https://github.com/pavouk/lgi/commit/bdf41c6f883652595a648943f09f61abc11c88c6
This seems like a good reason/excuse to migrate away from Travis CI. I guess GitHub Actions is an obvious alternative, but I am open for suggestions. (Yay for more centralisation! :disappointed: )
(I'm not even sure if I could set Actions up or whether that requires help from @pavouk.

It should be enough to create a YAML file in .github/workflows. GitHub will do the rest.
Revoking Travis access, though, will probably require @pavouk’s assistance.


Fix two instances of same replica during replica addition

When adding a new replica to certain node, the node first creates a bootstrap replica and uses it to perform bootstrap work(i.e. allocate files and create new store). Afterwards, the node updates Helix
InstanceConfig which notifies all listeners in cluster (including itself). When dealing with InstanceConfig change, this node creates a second instance of same replica and adds it into in-mem clustermap.
The consequence is storage manager holds a different instance from Helix Cluster Manager, which mistakenly adds self replica into peer replicas when performing replication catchup. It blocks decommission process because there is always a self replica that will never catch up.
This PR fixes this problem by maintaining bootstrap replica set in cluster manager and it checks if there are existing replica instances when handling InstanceConfig change.

Codecov Report

Merging #1435 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1435      +/-   ##
============================================
+ Coverage     73.11%   73.13%   +0.02%
- Complexity     7630     7654      +24
============================================
  Files           550      552       +2
  Lines         42327    42400      +73
  Branches       5310     5321      +11
============================================
+ Hits          30948    31011      +63
- Misses         9833     9838       +5
- Partials       1546     1551       +5

Impacted Files
Coverage Δ
Complexity Δ

....ambry.clustermap/DynamicClusterChangeHandler.java
89.72% <100.00%> (+1.05%)
60.00 <0.00> (+2.00)

...m.github.ambry.clustermap/HelixClusterManager.java
89.41% <100.00%> (+0.22%)
63.00 <1.00> (+3.00)

...b.ambry.clustermap/HelixClusterManagerMetrics.java
98.90% <100.00%> (+0.02%)
19.00 <0.00> (ø)

...in/java/com.github.ambry.store/BlobStoreStats.java
70.41% <0.00%> (-1.67%)
103.00% <0.00%> (-2.00%)

.../main/java/com.github.ambry.store/ScanResults.java
81.25% <0.00%> (-1.57%)
16.00% <0.00%> (-1.00%)

...java/com.github.ambry.network/SSLTransmission.java
70.46% <0.00%> (-0.93%)
76.00% <0.00%> (ø%)

...ain/java/com.github.ambry.router/PutOperation.java
91.57% <0.00%> (-0.83%)
114.00% <0.00%> (-3.00%)

...va/com.github.ambry.rest/NettyResponseChannel.java
91.03% <0.00%> (-0.81%)
126.00% <0.00%> (+2.00%)
:arrow_down:

.../main/java/com.github.ambry.rest/NettyMetrics.java
100.00% <0.00%> (ø)
2.00% <0.00%> (ø%)

...b.ambry.network/CompositeNetworkClientFactory.java
100.00% <0.00%> (ø)
3.00% <0.00%> (?%)

... and 8 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 1ffefe1...1a33465. Read the comment docs.


Problems using on alpine based images while running docker in docker

This is not really anymore an issue at least for me, but just to make it easier for someone who runs into similar issue as well.
Even after following the guide, I ran into issues like:
docker: 'rollout' is not a docker command.
See 'docker --help'

AND
grep: unrecognized option: invert-match
BusyBox v1.36.1 (2023-07-27 17:12:24 UTC) multi-call binary.
Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A|B|C N] { PATTERN | -e PATTERN... | -f FILE... } [FILE]...
Search for PATTERN in FILEs (or stdin)
	-H	Add 'filename:' prefix
	-h	Do not add 'filename:' prefix
	-n	Add 'line_no:' prefix
	-l	Show only names of files that match
	-L	Show only names of files that don't match
	-c	Show only count of matching lines
	-o	Show only the matching part of line
	-q	Quiet. Return 0 if PATTERN is found, 1 otherwise
	-v	Select non-matching lines
	-s	Suppress open and read errors
	-r	Recurse
	-R	Recurse and dereference symlinks
	-i	Ignore case
	-w	Match whole words only
	-x	Match whole lines only
	-F	PATTERN is a literal (not regexp)
	-E	PATTERN is an extended regexp
	-m N	Match up to N times per file
	-A N	Print N lines of trailing context
	-B N	Print N lines of leading context
	-C N	Same as '-A N -B N'
	-e PTRN	Pattern to match
	-f FILE	Read pattern from file

For the first issue of rollout is not a docker command. If you run docker info, you'd see that docker fails to load the plugin and returns a warning as part of the message as follows:
WARNING: Plugin "/usr/local/libexec/docker/cli-plugins/docker-rollout" is not valid: failed to fetch metadata: fork/exec /usr/local/libexec/docker/cli-plugins/docker-rollout: no such file or directory

The problem here is that the docker-rollout plugin is being executed or supported on only bash currently. This might be a very trivial issue to resolve. I'd try to create an PR to fix this, but in the meantime, it's easy to document this issue.
The easy solution is to install bash in your alpine image.
apk add --update bash && rm -rf /var/cache/apk/*
Also, for the issue with grep, your alpine image comes with a stripped down grep package. You can fix this by simply running
apk add --no-cache --upgrade grep
These took me a couple of hours to resolve, but I thought it could save someone a lot of developer hours as well.
Nevertheless, I'll during my leisure time, develop an MR to address this.
Feel free to leave this open if it's cool to have this support, or close the issue if this is outside of the scope of the tool.

Thanks for sharing @damey2011! Maybe I can try to rewrite the script to use sh only, and basic grep features. Or at least check the availability of both programs and display a friendly message.

Yeah. That would make a huge difference.

I tested it, it works! only the cut -f 1 w command does not seem to work because the -w argument is not known on alpine.

It does continue though.

@theupriser Thanks for taking the time to test! I have updated the code with an equivalent of the unsupported -w option.

@rcknr Alright that's nice and fast! Thanks! Is it possible to release a sh version?

Fixed in #22

Released as https://github.com/Wowu/docker-rollout/releases/tag/v0.8


MOL2: Fails to sanitize ammonium if its formal charge is specified in @<TRIPOS>UNITY_ATOM_ATTR

Describe the bug
RDKit fails to sanitize a MOL2 file that contains ammonium/aminium (N.4 type) and formal charge of the nitrogen(s) in @<TRIPOS>UNITY_ATOM_ATTR record.
To Reproduce
from rdkit import Chem

m = Chem.MolFromMol2Block(
    """
@<TRIPOS>MOLECULE
ammonium
5 4
SMALL
GASTEIGER

@<TRIPOS>ATOM
  1 N   0.0000  0.0000  0.0000 N.4
  2 H   1.0268  0.0000  0.0000 H
  3 H  -0.3422  0.0000 -0.9681 H
  4 H  -0.3422  0.8384  0.4840 H
  5 H  -0.3422 -0.8384  0.4840 H
@<TRIPOS>BOND
  1 3 1 1
  2 1 2 1
  3 1 5 1
  4 1 4 1

# XXX
@<TRIPOS>UNITY_ATOM_ATTR
1 1
charge 1
""",
    sanitize=True,
)

if m:
    print(Chem.MolToMolBlock(m))

The above script issues
[01:32:54] Explicit valence for atom # 0 N, 4, is greater than permitted
[01:32:54] sanitise [01:32:54] ammonium:

with any formal charge (one and zero; of course zero is incorrect).
If sanitize is set to False, it gives NH₄ but not NH₄+.
If the @<TRIPOS>UNITY_ATOM_ATTR record is deleted, it works as expected.
Expected behavior
The block is recognized as NH₄+ independently on sanitization since the formal charge of one is reasonable.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):

RDKit version: 9249ca5cc840fc72ea3bb73c2ff1d71a1fbd3f47
OS: EndeavourOS
Python version (if relevant): 3.11.5 (but must be irrelevant)
Are you using conda? no
If you are using conda, which channel did you install the rdkit from?
If you are not using conda: how did you install the RDKit? from repo

Additional context
Add any other context about the problem here.

ping


Failed to connect to IP ComputeOnDesktop

Build of computeOnDesktop is done properly and in the HoloLens I see a window where I have to enter an IP adress.
I thought it might be an IP to target a running app on the HoloLens but I don't know how to map the adress of singular apps on the HoloLens. Or is the IP that I have to enter something completely different?

This would be the IP address of your HoloLens, you should be able to find it in Settings -> Network&Internet -> [your wifi] -> Advanced Options -> IPv4 address.
Note that I have just forked the Streamer tool into two more specialized tools. ComputeOnDesktop should work with the StreamerPV tool.

Hello @polszta I pulled the changes and tried the ComputeOnDesktop again, but it fails when connecting. It says that the connection could not be stablished because the remote machine constantly refused it. Do I need to mke any specific changes on ComputeOnDesktop in order to use the PV and VLC tools, or are those changes already implemented?

Hello @kemangjaka thank you for the information. I tried that and build it again but still the same error.

Just for a confirmation, you said,
Build of computeOnDesktop is done properly and in the HoloLens I see a window where I have to enter an IP adress.

that means, you run computeOnDesktop App at Hololens?
You should build and run the App on your desktop PC.
I think you have to do the following.

Run StreamerPV App on Hololens. (you would see RGB image at Hololens)
Run computeOnDesktop App on your desktop PC. (App window would rise on your desktop)
Enter the ip address of Hololens at your desktop PC.
you will see filtered PV image at your Hololens.

Hi, i also have issues trying to run compute on desktop. I basically follow this:

I think you have to do the following.

Run StreamerPV App on Hololens. (you would see RGB image at Hololens)
Run computeOnDesktop App on your desktop PC. (App window would rise on your desktop)
Enter the ip address of Hololens at your desktop PC.

I have the HoloLens connected via USB. However, i always get the error:
"No connection could be made because the target machine actively refused it.
WinRT information: No connection could be made because the target machine actively refused it."
Can anyone help?

Hi, you already tried SSL configuration issue and "Private Network " issue, right?

I think so:

I enabled "Private Networks" capability in the package.appxmanifest. Aside from that, Webcam and Internet (Client) are enabled.
I unchecked the "SSL connection required" box in the device portal

still get the same error, unfortunately...

You use Visual Studio 2017 and Windows 10, right?
The only difference of your environment and mine I know is connecting by USB or not...

Yes, I'm on Windows 10 64 bit System, using Visual Studio 2017.
Maybe the problem really is the USB connection. I'm working on a desktop PC, so I'll have to find a Wifi adapter somewhere to check if it will work over Wifi.
Thanks for pointing that out!

Hello, I am currently having this issue as well. any updates if something works for you?

Hi @jtrinidad6, I ran into so many problems with the Holo Lens that I stopped working with them.

Hello, I am currently having this issue as well. any updates if something works for you?

Hi, for me, using a Wifi connection instead of USB actually did the trick. However, I also ran into a lot of problems with HoloLensForCV and ended up writing my own application using this repo as a reference.


Needs a setting or way to enable main menu bar

OS/Platform
Debian, Ubuntu, and derivatives
Installed
Flatpak
Version
Version 118.0.5993.117 (Official Build, ungoogled-chromium) (64-bit)
Have you tested that this is not an upstream issue or an issue with your configuration?

[ ] I have tried reproducing this issue in Chrome and it could not be reproduced there
[ ] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[X] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description
I can find no info anywhere on how to enable the top menu bar
How to Reproduce?
New installation has no menu bar by default, and I can't find a way to enable it. Not in docs or chrome://flags etc.
Actual behaviour
No info on how to enable, not obvious if it can be enabled.
Expected behaviour
ability to show top menu bar
Relevant log output
N/A

Additional context
N/A

the only function that is not reachable through the existing menu(s) might be the file opening one (ctrl+o).
the "missing" menu bar might be caused by the (supposed) design philosophy of the chromium user interface (do not sacrifice viewing space for things not strictly needed).

The file open is the main thing I use that menu for!

This private E-mail including but not limited to any / all attachment(s), are lawfully protected in any public jurisdiction subject to 1a.
Nunc pro tunc "Now for Then" (retroactive): All Rights Reserved (Without Prejudice(2a)), Non Assumpsit(2b), and Without the United States(2c)
1a) Electronic Communications Privacy Act, 18 U.S.C. § 2510-2521
2a) Without Prejudice UCC 1-308, UCC 1-306.6, in other words: All Rights Reserved
2b) Non Assumpsit "Did not undertake" (compulsory contracts)
2c) United States as defined by 26 USC § 7701
2c § 7701.9) Legalese: “The United States government is a foreign corporation with respect to a state" (20 C.J.S. Corporations §1785)
2c § 7701.10) Legalese: "include" in Latin: "expressio unius est exclusio alterius" or "to express or include one thing implies the exclusion of the other." Black's Law Dictionary (8th, 9th ed. 2009)
The color of the text above designates political jurisdiction: red-private non-statutory, flesh and blood, man / woman, blue-administrative, admiralty law, corporate jurisdiction. These are also pen ink colors and are significant on legal documents. Underlined text are links to further information.

On Tuesday, November 28th, 2023 at 8:24 AM, touba-denrael @.***> wrote:

the only function that is not reachable through the existing menu(s) might be the file opening one (ctrl+o).

the "missing" menu bar might be caused by the (supposed) design philosophy of the chromium user interface (do not sacrifice viewing space for things not strictly needed).

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.[https://mail.proton.me/api/core/v4/images?Url=https%3A%2F%2Fgithub.com%2Fnotifications%2Fbeacon%2FACUQLMUIEV6BM6W3GDTZTBDYGXXZTA5CNFSM6AAAAAA66OVXWSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTNCK7EQ.gif&DryRun=0&UID=qkw75dp7njdk5qwuuk2vkhqhet2pid5m]

file open is the main thing

every [nearly every?] operating system uses the ctrl+o key combination for opening files in every [nearly every?] application.

This is an old issue, that didn't show much activity recently and probably lost its significance — closing.
If you have any more information to add, let us know.


[HOTFIX] ZEPPELIN-3405 fix permission checks with roles

What is this PR for?
hotfix for #2931
https://github.com/apache/zeppelin/pull/2931#issuecomment-383736331
What type of PR is it?
[Hot Fix]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3405
How should this be tested?
see PR description
Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

works


Handle bug undefined error when perform transaction

Descibe the bug
Handle bug undefined error when perform transaction
To reproduce the bug
Actual: Show message undefined error when perform transaction

Actual: Show alert update network
English:
Title: Update network
Content: Your selected network has lost connection. Update it by re-enabling it or changing network provider.
Action: Update
Tiếng Việt:
Title: Cập nhật mạng
Content: Mạng bạn chọn đã mất kết nối. Vui lòng cập nhật bằng cách bật lại mạng hoặc đổi provider.
Action: Cập nhật
Tiếng Trung:
Title: 更新网络
Content：您选择的网络已失去链接。通过重新启用它或更改网络提供商来更新它。
Action：重新网络

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-286-1327-merge-2024-01-05T05-18-27.ipa
Version web-runner: https://65954d411f616696751c1409--sw-web-runner.netlify.app/

[ ] Re-check the status network after updating the network
Steps:

Perform staking with any token
On the popup update network, select action update
Turn the network back on and return to the staking screen
Observe the displayed screen
Actual: Unable update network

https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/1c888ae0-eec2-4d3b-82fa-67b2563512a3

This was fixed in #1322

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-286-1327-merge-2024-01-06T03-50-13.ipa
Device test: IP 11

[ ] Show message Enable network in case of sign transaction when transfer all
Steps:

Perform transaction transfer all
Obserse the displayed screen

Actual: Show message require enable network
https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/a32923e4-b8fd-4135-8016-51cb5b6ffc0e

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-286-1327-merge-2024-01-06T04-59-48.ipa
Device test: IP 11
Validation passed.
https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/3252852d-b045-49cf-bdad-9efb3b07af83


Delay before the first shot

Does anyone have an implementation delay before the first shot for Osiris?

Why would you want that? (actual question?)

And yeah just put a if (mouse1.dodelay.config.aimbot.delay)
mouse1.down
not working code btw ^^

cus if u use AWP or Scout aim doesnt worked

If you would like me to i can try and dp this?

sure


Use new token refresh endpoint

Tokens issued via the v3 OAuth2 flow need to be renewed via the v3 refresh endpoint.
Also update the new login flow to return the refresh token required (i.e. from "step 3" rather than "step 4") to successfully issue new tokens. The final JWT output has a refresh token too, but this seems not to be used and so is discarded.

Looks like we need an Apiary stub for https://owner-api.teslamotors.com. I'll look at adding this

TeslaJS doesn't work at all for me without this patch! The existing refresh endpoint simply doesn't work with "v3" refresh tokens (which are the only ones you can get now).


feat(snownet): invalidate candidates

Invalidating candidates should give str0m a hint that it may have to switch to a different candidate pair.

@conectado I am not sure what the best way to test this is other than merging it and experimenting with it on the integration branch!

let's just push this to the integration branch and test it there

@conectado I am not sure what the best way to test this is other than merging it and experimenting with it on the integration branch!

let's just push this to the integration branch and test it there

Sounds good! It is based on another PR so we need to merge both :)

@conectado I am not sure what the best way to test this is other than merging it and experimenting with it on the integration branch!

let's just push this to the integration branch and test it there

Merging this as per the above comment.


[Feature Request] Standard Input and standard Output

I want to put unformatted code in standard input and get the formatted code from standard output. Currently only files are supported.

Actually, it is supported :)
If you provide - as the filename it will read from stdin and write to stdout

Nice! Thank you


Use byte offsets instead of locations in AST

Fixes #108

Taking a look at fixing the completion errors, I think I may have messed them up due to \r\n :/

Perhaps in the test helper function we could replace \n\r with \n?

In rustc raw strings always use \n for newlines, but since they are checked out as \r\n so when I counted them manually I set the wrong offsets. They only worked previously because the line and column fields were the primary way the locations were determined.

Might add a .gitattributes which disables autocrlf so it always checks out as \n

Not sure why this is failing!
     Running /home/travis/build/Marwes/gluon/target/debug/deps/repl-ef5bebea2058d017

running 4 tests

test repl::tests::compile_repl_test ... ok

test repl::tests::find_info ... ok

test repl::tests::find_kind ... ok
test repl::tests::type_of_expr ... FAILED

failures:

---- repl::tests::type_of_expr stdout ----

	thread 'repl::tests::type_of_expr' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:326

note: Run with `RUST_BACKTRACE=1` for a backtrace.

Its not failing locally?

It is as well :/

What says RUST_BACKTRACE=1?

haharrr
   1:        0x10d48ca19 - std::sys::backtrace::tracing::imp::write::h482d45d91246faa2
   2:        0x10d48f530 - std::panicking::default_hook::_{{closure}}::h89158f66286b674e
   3:        0x10d48e6df - std::panicking::default_hook::h9e30d428ee3b0c43
   4:        0x10d48ede6 - std::panicking::rust_panic_with_hook::h2224f33fb7bf2f4c
   5:        0x10d48ec84 - std::panicking::begin_panic::hcb11a4dc6d779ae5
   6:        0x10d48eb92 - std::panicking::begin_panic_fmt::h310416c62f3935b3
   7:        0x10d48eaf7 - rust_begin_unwind
   8:        0x10d4bc2a0 - core::panicking::panic_fmt::hc5789f4e80194729
   9:        0x10d4bc1a4 - core::panicking::panic::h1953378f4b37b561
  10:        0x10cdff1d1 - _<core..option..Option<T>>::unwrap::hc34fbdaa73345c47
  11:        0x10cdebf4b - gluon_base::error::InFile::new::h870da4ab659f56f3
  12:        0x10ce83b3f - gluon::Compiler::typecheck_expr_expected::_{{closure}}::h437090b56b05f78b
  13:        0x10ce13101 - _<core..result..Result<T, E>>::map_err::hdb2bd6c907f4b667
  14:        0x10ce7ccd2 - gluon::Compiler::typecheck_expr_expected::hbfc9c938e7a5fc1c
  15:        0x10ce7d624 - gluon::Compiler::typecheck_str::h2699ffbf9d3bcc5d
  16:        0x10cd7b4d6 - repl::repl::type_of_expr::hbf28cdb0209e8c95
  17:        0x10cd6a953 - _<fn(A) .> R as gluon_vm..api..VmFunction<'vm>>::unpack_and_call::h847a3693a23fec2f
  18:        0x10cd7fad3 - repl::repl::compile_repl::wrapper::h249ebd72ac283f03
  19:        0x10cd82ae4 - fn(&vm..thread..Thread) .> vm..thread..Status::fn_pointer_shim.16439::h5a6dee19077ef451
  20:        0x10d140b86 - gluon_vm::thread::Context::execute_function::h23fda8b309141593
  21:        0x10d143aa0 - gluon_vm::thread::Context::execute::ha3a2979a19af173b
  22:        0x10d13cc81 - gluon_vm::thread::Thread::call_context::h4872b6d4f3c264da
  23:        0x10d13fbe8 - _<gluon_vm..thread..Thread as gluon_vm..thread..ThreadInternal>::call_function::h92c8ef59273de6d8
  24:        0x10cd5b0ff - _<gluon_vm..api..Function<T, fn(A) .> R>>::call::h045137cc7d467925
  25:        0x10cd7fefb - repl::repl::tests::type_of_expr::hb9919e556f63907e
  26:        0x10cdbcace - _<F as alloc..boxed..FnBox<A>>::call_box::h6d40ac6ff8180289
  27:        0x10cdb5c54 - std::panicking::try::do_call::hf4aa30d569353639
  28:        0x10d48fb1a - __rust_maybe_catch_panic
  29:        0x10cdbc4d7 - _<F as alloc..boxed..FnBox<A>>::call_box::h116d9064e2ce57af
  30:        0x10d48de95 - std::sys::thread::Thread::new::thread_start::he0bf102845911132
  31:     0x7fff8537999c - _pthread_body
  32:     0x7fff85379919 - _pthread_start

Wooo, it passes!


Correct invalid keywords.txt KEYWORD_TOKENTYPE

Use of an invalid KEYWORD_TOKENTYPE value in keywords.txt causes the keyword to be colored by the default editor.function.style (as used by KEYWORD2, KEYWORD3, LITERAL2) in Arduino IDE 1.6.5 and newer. On Arduino IDE 1.6.4 and older this will cause the keyword to not be recognized for any special coloration.
Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keyword_tokentype

Thanks you very much for spotting that. Greatly appreciated! 👍


json-schemas: Don't set defauls to user & app metadata

Do not set defaults to the user profile object for the user_metadata and
app_metadata properties because Auth0 doesn't set them to empty Object
by default, it leaves them unset.

After merge this change, I will bump the version to 0.2.0 and publish it.


fix: do exercise recompilation correctly with --replace

Fixes #583

@erikmd I'll let you double-check this and merge, sorry for the trouble!

Yes @AltGr, that's OK now ✅ Thanks for your quick fix!


[Parser] Preserve empty getter functions for indentation

[Parser] Preserve empty getter functions to make sure indentation inside its body still works. rdar://28049927

Resolves SR-NNNN.

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test


Fix error logging

Extra arguments are not displayed in some logs (phonegap/adb logcat)

In browser debug consoles, each argument to console.error is expandable and inspectable.
Adding the concatenation/stringification as you've done breaks this.
Have you reported this to PhoneGap?
Instead, could you add a shim that runs before fengari that does something like:
(function() {
    var old_console = console.error;
    var join = [].join;
    console.error = function() {
        return old_console.call(this, join.call(arguments, "; "));
    }
})()


Add labs for KMM v2.0

Updated labs to match with changes at KMM v2.0.

/cc @yevgeny-shnaidman

/lgtm


InvalidRequestError: text-babbage-001 is no longer support

Exception detail
Exception has occurred: InvalidRequestError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
The model `text-babbage-001` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/site-packages/openai/api_requestor.py", line 794, in _interpret_response_line
    raise self.handle_error_response(
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/site-packages/openai/api_requestor.py", line 729, in _interpret_response
    self._interpret_response_line(
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/site-packages/openai/api_requestor.py", line 301, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 155, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/site-packages/openai/api_resources/completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/generators/openai.py", line 111, in _call_model
    response = self.generator.create(
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/site-packages/backoff/_sync.py", line 105, in retry
    ret = target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/generators/base.py", line 75, in generate
    return self._call_model(prompt)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/probes/base.py", line 96, in _execute_attempt
    this_attempt.outputs = self.generator.generate(this_attempt.prompt)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/probes/base.py", line 143, in probe
    attempts_completed.append(self._execute_attempt(this_attempt))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/harnesses/base.py", line 92, in run
    attempt_results = probe.probe(model)
                      ^^^^^^^^^^^^^^^^^^
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/harnesses/probewise.py", line 108, in run
    h.run(model, [probe], detectors, evaluator, announce_probe=False)
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/command.py", line 212, in probewise_run
    probewise_h.run(generator, probe_names, evaluator, buffs)
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/cli.py", line 473, in main
    command.probewise_run(generator, probe_names, evaluator, buffs)
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/__main__.py", line 13, in main
    cli.main(sys.argv[1:])
  File "/home/tianshu_intel/llm_vulnerability_scanner/garak/garak/__main__.py", line 17, in <module>
    main()
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "/home/tianshu_intel/anaconda3/envs/garak_cpu/lib/python3.11/runpy.py", line 198, in _run_module_as_main (Current frame)
    return _run_code(code, main_globals, None,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
openai.error.InvalidRequestError: The model `text-babbage-001` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations

Reason Analysis
text-babbage-001 is no longer support by OpenAI, see:
https://platform.openai.com/docs/deprecations#:~:text=2024-01-04-,text-babbage-001,-%240.0005 / 1K tokens
A Exception would be raise if I follow the test instruction on readme.md

The code has been updated in  to solve this deprecation however the readme.md is still using text-babbage-001 as example.

thanks for this, will fix!

fixed in #575


transfer learning with small size new domain dataset possible ?

Hi There,
I am using neuralcoref for my project. great work from you. thanks for sharing.
I am trying to use it for clustering sentences related to entity. and i am trying it for finance domain. and what i see , the default model is trained on news dataset. so when i try to use for finance domain , there are many cases where it failed to identify entity. and as you know there can be project specific entity requirements.
so thinking is there a way i can use transfer learning for training with new domain ?
Thanks in advance.

Hi have you figured it out? I'm interested in similar work, too. :)


add possibility to import installed libraries using name instead of full path

Currently when one wants to import python package that is installed, have to provide full package installation directory, using ie:
python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib()+'\SeleniumLibrary')"

This could be enhanced to use only module name, and let rfhub do the rest of the work.

@MaciejWiczk
I can take this issue if you want :)
Should it check first if the path exists if not look for this path based on library name?

@MarcinMaciaszek, this issue is in PR, but if You would like to continue this one, feel free to do so :)


[CI][Python] The pandas upstream_devel nightly build is skipping all pandas tests

The test-conda-python-3.11-pandas-upstream_devel is not working correctly, see eg https://github.com/ursacomputing/crossbow/actions/runs/7454906275/job/20283098411. This build is green, but that also partly because it just skipped all pandas related tests (the test-conda-python-3.10-pandas-nightly is working fine, this install pandas from a nightly wheel instead of building it from source).
I assume this is because the import of pandas fails. And the reason this import is failing is probably related to https://github.com/apache/arrow/issues/39532.
My current assumption is that we are building pandas from source, but in the isolated build for that still build with numpy 1.x. But the installed numpy version is the nightly numpy 2.0.0.dev. And then you get an incompatibility (to run with numpy 2.0, pandas also needs to be built against it)

(we still have the pandas-nightly build as well, so the lack of the upstream_devel build shouldn't be a release blocker)

This is fixed nowadays (see eg https://github.com/ursacomputing/crossbow/actions/runs/8682389305/job/23806826378 for the latest build), so closing this issue.
(this might be because pandas will now install numpy latest in its isolated build)


🧱 Measures, surveys, and the deliberation literature

This 🧱 major area focusses on the scientific needs of the project. Rather than creating intervention and measurement tools/code, it focusses on understanding which interventions and measurements we should be taking, and how they should be designed. Part of this work is to understand what exists in the literature already that can be adapted to our purposes, and another part is to identify and design instruments to measure scientific concepts that are unique to our project.
Some of the tasks involved include:

https://github.com/Watts-Lab/surveys/issues/34
https://github.com/Watts-Lab/surveys/issues/20
https://github.com/Watts-Lab/surveys/issues/63
https://github.com/Watts-Lab/deliberation-project/issues/71
https://github.com/Watts-Lab/deliberation-project/issues/69
https://github.com/Watts-Lab/surveys/issues/96
https://github.com/Watts-Lab/surveys/issues/70
https://github.com/Watts-Lab/surveys/issues/32

Skills you will get good at

understanding the polarization, deliberation literatures
understanding the scientific requirements of our work

Plan will be to go through the outcome variables in Mutz 2008 + other outcome variables we come across, and find out how they are operationalized, and how big their samples were, etc.

Notes from meeting w/ Dr. Watts on 6/1/23:

James introduced document extracting claims from papers to Watts
Explains that Linnea said there is a way to process large volume of papers at less levels of detail
Isaac explains what he's found in his preliminary literature search
Isaac says we need to account for numerous variables
Watts says we can rerun these experiments online (replicate these studies as they exist now)
Watts says we should be able to assign a numerical value to each paper's ability to employ certain dimensions of deliberation
Then we will have a map of dimensions--a space for us to investigate
Within space, we can say what has been done up to this point (even this would be interesting: are there clusters or huge gaps?)
How do we maximize our learning over this space? Do random or sortable sampling with some oversampling on points that have previously been sampled -- then step back and see what we've learned
We can see if we've found similar findings to other papers and draw conclusions: That's the goal
We need to find critical dimensions (knowing we can't include everything) and the mapping of papers to points in this space -- big accomplishment in and of itself
Emily writing a whole paper just on the exercise of team tasks (team synergy) -- different tasks more or less amenable to synergy... how do we know this? Look at what tasks have been studied in experiments and map dimensions by which tasks can be differentiated from each other
Making a good start on this map
Even papers that don't have experiments listed can be useful for determining dimensions
Watts: Would be smart to connect with Levendusky and Druckman -- ask them if we have the right dimensions and also ask if we mapped their study accurately
Watts says his paper on essay-writing is similar to this style of deliberation because it takes dissimilar people then finding common ground
Two separate dimension mappings: one from papers on experiments and another from nonexperiment papers
Better than teams, less straightforward than teams, because we can measure a lot dimensions easily (partisan strength, affective polarization, etc.)
We should ask Levendusky, Drcukman, Mutz about what papers we are missing
Watts: rename nonexperiment papers tab to be reference papers
Franceso Poletta (UC Irvine), Amy Gutmann, and Archon Fung (Harvard) -- good people to read to learn about how deliberation works
Mutz argues against Thompson (Gutmann collaborator) in her recent paper

NEXT STEPS

Not going to get into Linnea's level of detail -- not trying to extract data from papers and make predictions
Might have different papers depending on whether paper is experimental or not
Watts: My dream is simple web interface where you input your variables and what you're looking for and it gives you the best arrangement
Generate table and extract columns from the paper -- every paper fed through the same decision tree (keep sucking in more literature and converting to structured metadata)
System for deciding rows and columns -- should each row be a paper or a study?
Best prediciton for group that comes to the model with a problem with XYZ dimensions and we'll run experiment for you in exchange for data -- see whether model is right and learn from that experiment


 Some images are omitted due to unknown reasons.
Expected behavior
All images matching the filter or all untagged images created after the grace period should be listed and deleted
Observed behavior
Running the simple command ./gcr-cleaner-cli -repo europe-west1-docker.pkg.dev/project/repo/repo -grace="320h" -tag-filter-all "^ts_.*" --dry-run gives a list of all images which would be deleted:
However there are multiple problems with the output:

Untagged images are only found for images starting with sha:00 up to sha:47 (can clearly be seen because the list is sorted). There are no images in there starting with sha:5... or any other hex number.
Not all tagged images are found. For some reason ts_35121... is found but not ts_32555... even though they have been tagged on the same day

Removing the tag filter has the same outcome as does changing the grace value to bigger or smaller values. The total amount of images changes, so there does not seem to be a hard cap on the amount of images, it must be something different.
Coupled with the fact that we have multi-arch builds, so there's a lot of images in there that cannot be deleted due to dangling parents, this means that we are barely deleting any images in a 3h window.
Looking through the output by running the command with GCRCLEANER_LOG=DEBUG does not list any of the missing images as well.
Debug log output
The debug output is very big and might contain info that I don't want public.
I'd be happy to filter it if you can give me pointers on what would interest you specifically

How are you running gcr-cleaner?
CLI
gcr-cleaner version
v0.11.1
Environment
I installed with go install<EMAIL_ADDRESS>and I am using it under linux
The repository in question is very big. There's currently almost about 10TB of images in there, that's why we want to clean this up. The runtime is therefor also pretty slow and with a grace period of 720h we are barely getting the job to run in under 3h. However the dry run is very fast.
Additional information
No response

Hi @Macariel - thank you for opening a bug.

Untagged images are only found for images starting with sha:00 up to sha:47 (can clearly be seen because the list is sorted). There are no images in there starting with sha:5... or any other hex number.

Are the images included in the debug output? One of the very first lines will be the full list of images (as JSON) that it found.

Not all tagged images are found. For some reason ts_35121... is found but not ts_32555... even though they have been tagged on the same day

Same question - are those tags present in the list of all things gcr-cleaner found?
My initial guess is that the repo is so large, you're hitting rate limit/quota issues. Those should return an error though, so I'm skeptical.
Assuming you have enough CPUs, you can crank up the concurrency with -concurrency=1000. That will do 1000 operations in parallel, which should speed things up.

I've captured the debug output using the following command:
GCRCLEANER_LOG=debug ./gcr-cleaner-cli -grace="320h" -repo europe-west1-docker.pkg.dev/project/repo/repo -tag-filter-all "^(ts_.*)" > all 2>&1 --dry-run

Searching in the file for sha256:5 or ts_32555 yields no results. There are also no errors or warnings for that matter.
Looking for sha256:4 gives me results in the huge second line.
As for the rate limit, adjusting the grace period yields different results depending on the value:

grace "720h" -> 6514
grace "360h" -> 8364
grace "0h" -> 9904
Not sure if a rate limit would be dependent on the grace period here, also there are "only" around 50000 images in the repository,doesn't sound like too much for google.
Also I can fetch all images with the following gcloud command without a problem:

gcloud artifacts docker images list europe-west1-docker.pkg.dev/project/repo/repo --limit 100000 --sort-by "UPDATE_TIME" --include-tags --format=json

Thank you for taking a look! What else can I do to help you?

I guess this is not a bug then.
If you don't see a good way around it you can close the ticket :thinking:
Thank you very much for this insight!


dialect/sql/builder: make sql.NotIn() with empty args fallback to False()

This is basically the identical change to #2735, but for NotIn(). Also added tests for both cases.
This bug currently prevents anyone using NotIn() from upgrading from v0.10.x to v0.11.x.

fwiw i also ran go mod tidy

Hey @adayNU 👋
A small comment on this behavior, the x NOT IN (...) operator is equivalent to NOT (x IN (...)). Hence, the predicate should be true and not false in the case of an empty set. Thoughts?
The SQL standard requires at least one value, but SQLite allows this:
sqlite> select 1 in ();
0
sqlite> select 1 not in ();
1

This bug currently prevents anyone using NotIn() from upgrading from v0.10.x to v0.11.x.

Can you elaborate on why?

@a8m sorry for the delay here. Updated based on your feedback.
So for the first question - this is obviously correct lol. I (naively) compared the output of client.Debug from v0.10.x and v.0.11.x and saw the difference was that v0.10.x had the FALSE keyword. So fwiw, it looks like this was also a bug in v0.10.x, just a different one :) (in v0.11.x you end up with an invalid query, in v0.10.x you end up with a silent bug).
For the latter question, given the statement above, it doesn't really feel like a major blocker given it was incorrect in both versions and you can workaround it in v0.11.x by simply ensuring you don't call NotIn() w/o arguments.

Thanks for the contribution @adayNU 🙏🏻


chore: update dependencies

Two dev dependencies: "@types/node" and "nyc"
One prod dependency: "through2" (major version bump because it dropped support for older Node versions, but Winston requires 6+ anyway)

@kibertoad could you rebase this please?

@indexzero Done!

Great, thanks @kibertoad

Thanks helping out with the chores @kibertoad 🥇


Adding support for Addons

This simple change allows to update Add-ons. Tested with:
client = pygerduty.v2.PagerDuty(pagerduty_api_token)
my_addon = client.addons.show(addon_id)
service_ref = [ { "type": "service_reference", "id":service_id } ]
client.addons.update(my_addon.id,services=service_ref)

Hey thanks for contributing, and sorry for the late review. Could you please add some tests for this? See examples in the test directory, thanks!

Hi @cugini-dbx, sorry for late follow-up, I added some tests for the endpoints we use.

Merged, Thanks!


Documentation/website doesn't update version number

See attached image. I incremented the version a few times, but the version here is static.

Update: Just remove version number from the website. @henryleberre


[ART-2678] Fix opm binary location for OCP 4.6 on promote job

*this PR only solves part of the problem reported in ART-2678, i'll create another PR later wrapping the binary extraction in a retry loop or something along those lines.
UPDATE: retry follow up #2527

/lgtm


Show delayed routes on route display page

Right now, if it is past 11:15pm, we don't see the first bus route even though we should since its delayed

closed by #218


Dummy change for travis testing of cross validation

This is a dummy PR as per comment in https://github.com/ipython/traitlets/pull/31.

Fixed in traitlets, the test now passes, closing.

Thanks for confirming.
On Mon, Jun 15, 2015 at 12:02 PM, Sylvain Corlay<EMAIL_ADDRESS>wrote:

Fixed in traitlets, the test now passes, closing.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/pull/52#issuecomment-112174563.


Map 'GPL-2.0-only WITH Universal-FOSS-exception-1.0'

Found in 1.

The DCO check fails because your sign-off doesn't match the commiter email.

The DCO check fails because your sign-off doesn't match the commiter email.

Sorry about that, did the PR from a fresh clone of ort config. Fixed it now.

Nit: The commit message title now lacks a starting single quote.