Why Karpenter waits more than specified in ttlSecondsAfterEmpty?

Hello.
Could you please explain why Karpenter waited 4 minutes instead of 2?
│ 2021-12-14T21:31:26.470Z    INFO    controller.node    Added TTL to empty node    {"commit": "870e2f6", "node": "ip-192-168-12-22.eu-central-1.compute.internal"}              │
│ 2021-12-14T21:31:47.047Z    INFO    controller.node    Removed emptiness TTL from node    {"commit": "870e2f6", "node": "ip-192-168-12-22.eu-central-1.compute.internal"}      │
│ 2021-12-14T21:32:02.114Z    INFO    controller.node    Added TTL to empty node    {"commit": "870e2f6", "node": "ip-192-168-12-22.eu-central-1.compute.internal"}              │
│ 2021-12-14T21:36:33.041Z    INFO    controller.node    Triggering termination after 2m0s for empty node    {"commit": "870e2f6", "node": "ip-192-168-12-22.eu-central-1.comput │
│ 2021-12-14T21:36:33.065Z    INFO    controller.termination    Cordoned node    {"commit": "870e2f6", "node": "ip-192-168-12-22.eu-central-1.compute.internal"}                 │
│ 2021-12-14T21:36:33.219Z    INFO    controller.termination    Deleted node    {"commit": "870e2f6", "node": "ip-192-168-12-22.eu-central-1.compute.internal"}

Can you share your Provisioner Spec(s)?

Hmm -- I wonder if something is wrong with the Node reconcile trigger. 2m0s looks like the controller thought it was up to date at least. Perhaps there's a time skew between the API Server's clock and your Karpenter's clock?

Thanks guys for quick reaction! :)
Let me describe a bit.
I can reproduce it with the following manifests (I reduced TTL time).
Provisioner:
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: default
spec:
  ttlSecondsAfterEmpty: 30
  taints:
    - key: example.com/special-taint
      effect: NoSchedule
  labels:
    test: test

  requirements:
    - key: "node.kubernetes.io/instance-type"
      operator: In
      values: ["m5.large"]
    - key: "topology.kubernetes.io/zone"
      operator: In
      values: ["eu-central-1a"]
    - key: "kubernetes.io/arch"
      operator: In
      values: ["arm64", "amd64"]
  provider:
    instanceProfile: KarpenterNodeInstanceProfile-ad-eks-c
    subnetSelector:
      kubernetes.io/cluster/ad-eks-c: '*'
    securityGroupSelector:
      "aws:eks:cluster-name": "ad-eks-c"

Pod:
apiVersion: v1
kind: Pod
metadata:
  name: test
  labels:
    app: test
spec:
  containers:
    - name: test
      image: bash
      command:
        - -cex
        - |
          sleep 600
          exit 0
      imagePullPolicy: IfNotPresent
  restartPolicy: Always
  tolerations:
    - key: example.com/special-taint
      effect: NoSchedule
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
          - matchExpressions:
              - key: test
                operator: In
                values:
                  - test

What I do:
➜ karpenter k apply -f provisioner.yaml
provisioner.karpenter.sh/default configured
➜ karpenter k apply -f testPod.yaml
pod/test created
➜ karpenter k delete -f testPod.yaml
pod "test" deleted
➜ karpenter k apply -f testPod.yaml
pod/test created
➜ karpenter k delete -f testPod.yaml
pod "test" deleted

As you can see I removed the pod when it was bounded to a node and than created it again.
And the node was empty more than 30 seconds, in this case it was more than 5 minutes (logs are correct - I saw the node in EC2 console as Running and in my k9s cluster as well):
2021-12-15T04:49:41.962Z    INFO    controller.provisioning    Waiting for unschedulable pods    {"commit": "870e2f6", "provisioner": "default"}             │
│ 2021-12-15T04:49:54.816Z    INFO    controller.provisioning    Batched 1 pods in 1.000863651s    {"commit": "870e2f6", "provisioner": "default"}             │
│ 2021-12-15T04:49:54.822Z    INFO    controller.provisioning    Computed packing of 1 node(s) for 1 pod(s) with instance type option(s) [m5.large]    {"commi │
│ 2021-12-15T04:49:56.806Z    INFO    controller.provisioning    Launched instance: i-0b4797124efbeab86, hostname: ip-192-168-48-74.eu-central-1.compute.inter │
│ 2021-12-15T04:49:56.820Z    INFO    controller.provisioning    Bound 1 pod(s) to node ip-192-168-48-74.eu-central-1.compute.internal    {"commit": "870e2f6" │
│ 2021-12-15T04:49:56.820Z    INFO    controller.provisioning    Waiting for unschedulable pods    {"commit": "870e2f6", "provisioner": "default"}             │
│ 2021-12-15T04:50:48.320Z    INFO    controller.node    Added TTL to empty node    {"commit": "870e2f6", "node": "ip-192-168-48-74.eu-central-1.compute.inter │
│ 2021-12-15T04:50:51.791Z    INFO    controller.node    Removed emptiness TTL from node    {"commit": "870e2f6", "node": "ip-192-168-48-74.eu-central-1.compu │
│ 2021-12-15T04:51:08.202Z    INFO    controller.node    Added TTL to empty node    {"commit": "870e2f6", "node": "ip-192-168-48-74.eu-central-1.compute.inter │
2021-12-15T04:56:28.659Z    INFO    controller.node    Triggering termination after 30s for empty node    {"commit": "870e2f6", "node": "ip-192-168-48-74.eu │
│ 2021-12-15T04:56:28.692Z    INFO    controller.termination    Cordoned node    {"commit": "870e2f6", "node": "ip-192-168-48-74.eu-central-1.compute.internal │
│ 2021-12-15T04:56:28.848Z    INFO    controller.termination    Deleted node    {"commit": "870e2f6", "node": "ip-192-168-48-74.eu-central-1.compute.internal" │

Version of Karpenter chart is 0.5.2

I tried reproducing this using the steps you mentioned above. I was able to do so quite consistently.
Samples -
2022-01-26T22:04:55.576Z	INFO	controller.node	Added TTL to empty node	{"commit": "2346ed5", "node": "ip-192-168-181-59.us-west-2.compute.internal"}
2022-01-26T22:04:59.274Z	INFO	controller.node	Removed emptiness TTL from node	{"commit": "2346ed5", "node": "ip-192-168-181-59.us-west-2.compute.internal"}
2022-01-26T22:05:15.478Z	INFO	controller.node	Added TTL to empty node	{"commit": "2346ed5", "node": "ip-192-168-181-59.us-west-2.compute.internal"}
2022-01-26T22:10:07.002Z	INFO	controller.node	Triggering termination after 30s for empty node{"commit": "2346ed5", "node": "ip-192-168-181-59.us-west-2.compute.internal"}
2022-01-26T22:10:07.047Z	INFO	controller.termination	Cordoned node	{"commit": "2346ed5", "node": "ip-192-168-181-59.us-west-2.compute.internal"}
2022-01-26T22:10:07.254Z	INFO	controller.termination	Deleted node	{"commit": "2346ed5", "node": "ip-192-168-181-59.us-west-2.compute.internal"}

2022-01-26T22:34:25.378Z	INFO	controller.node	Added TTL to empty node	{"commit": "2346ed5", "node": "ip-192-168-187-41.us-west-2.compute.internal"}
2022-01-26T22:34:29.172Z	INFO	controller.node	Removed emptiness TTL from node	{"commit": "2346ed5", "node": "ip-192-168-187-41.us-west-2.compute.internal"}
2022-01-26T22:34:45.405Z	INFO	controller.node	Added TTL to empty node	{"commit": "2346ed5", "node": "ip-192-168-187-41.us-west-2.compute.internal"}
2022-01-26T22:39:16.941Z	INFO	controller.node	Triggering termination after 30s for empty node	{"commit": "2346ed5", "node": "ip-192-168-187-41.us-west-2.compute.internal"}
2022-01-26T22:39:16.972Z	INFO	controller.termination	Cordoned node	{"commit": "2346ed5", "node": "ip-192-168-187-41.us-west-2.compute.internal"}
2022-01-26T22:39:17.191Z	INFO	controller.termination	Deleted node	{"commit": "2346ed5", "node": "ip-192-168-187-41.us-west-2.compute.internal"}

Like you identified earlier, the problem seems to only be caused when a node becomes empty, has pods and then becomes empty again in quick succession.
Looking at our code, what I found was that when we set a TTL (because the node is empty), we then requeue our reconciler event.
return reconcile.Result{RequeueAfter: ttl}, nil

The issue that happens now is that when the node becomes empty for the second time, the reconcile event ->return reconcile.Result{RequeueAfter: ttl}, nil is dropped. This is because there's already an outstanding reconcile event against that resource.

This is because there's already an outstanding reconcile event against that resource.

When that reconcile itself triggers shouldn't it return with another RequeueAfter, ensuring that it will re-reconcile?


Automatic Detect ffmpeg Path

See in ubuntu or fedora they have a common path for ffmpeg, so can rusty_ffmpeg do the same by default i.e. if env variable is not set then check in a set of directories, else return error.
Reference: CCExtractor now uses this, but most of the users won't set environment variable and some will except it to detect it automatically just like ffmpeg_sys_next
https://github.com/CCExtractor/ccextractor/issues/1412
cc @ldm0

Originally there was a linking fallback. It's disabled due to possibility of using version-incompatible FFmpeg. Will bring it back gated with a feature.

Will make a release after https://github.com/CCExtractor/rusty_ffmpeg/pull/86 gets merged

@prateekmedia You can use rsmpeg = { version = "0.14", features = ["link_system_ffmpeg"] } now.

Also ffmpeg5 feature is need I think @ldm0?

Also ffmpeg5 feature is needed I think @ldm0?

If you drop support for FFmpeg 4, it's needed.

@ldm0 can you look at this error, it is coming after removing env variables:
error[E0425]: cannot find value `AVPixelFormat_AV_PIX_FMT_X2BGR10LE` in this scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rusty_ffmpeg-0.13.0+ffmpeg.6.0/src/avutil/pixfmt.rs:104:86
    |
11  |         pub const $def: AVPixelFormat = $le;
    |         ------------------------------------ similarly named constant `AVPixelFormat_AV_PIX_FMT_X2BGR10` defined here

Full log here: https://github.com/CCExtractor/ccextractor/actions/runs/4476277260/jobs/7866479823

@ldm0 can you look at this error, it is coming after removing env variables:
error[E0425]: cannot find value `AVPixelFormat_AV_PIX_FMT_X2BGR10LE` in this scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rusty_ffmpeg-0.13.0+ffmpeg.6.0/src/avutil/pixfmt.rs:104:86
    |
11  |         pub const $def: AVPixelFormat = $le;
    |         ------------------------------------ similarly named constant `AVPixelFormat_AV_PIX_FMT_X2BGR10` defined here

Full log here: https://github.com/CCExtractor/ccextractor/actions/runs/4476277260/jobs/7866479823

AV_PIX_FMT_X2BGR10 was added in FFmpeg 5.0 and gated under ffmpeg5 feature, the ffmpeg inner libs installed by apt in CI should belongs to FFmpeg 4.*.
You can try removing ffmpeg5 feature.

These still come without ffmpeg5 flag
 --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rsmpeg-0.14.0+ffmpeg.6.0/src/avutil/frame.rs:232:29
    |
232 |                 self.size / size_of::<ffi::AVMotionVector>(),
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `usize`

error[E0277]: cannot divide `i32` by `usize`
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rsmpeg-0.14.0+ffmpeg.6.0/src/avutil/frame.rs:232:27
    |
232 |                 self.size / size_of::<ffi::AVMotionVector>(),
    |                           ^ no implementation for `i32 / usize`
    |
    = help: the trait `Div<usize>` is not implemented for `i32`
    = help: the following other types implement trait `Div<Rhs>`:
              <&'a i32 as Div<i32>>
              <&i32 as Div<&i32>>
              <i32 as Div<&i32>>
              <i32 as Div>

error[E0308]: mismatched types
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rsmpeg-0.14.0+ffmpeg.6.0/src/avutil/frame.rs:232:17
    |
230 |             slice::from_raw_parts(
    |             --------------------- arguments to this function are incorrect
231 |                 self.data as *const _ as *const ffi::AVMotionVector,
232 |                 self.size / size_of::<ffi::AVMotionVector>(),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `i32`
    |
note: function defined here
   --> /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/slice/raw.rs:92:21
help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
    |
232 |                 (self.size / size_of::<ffi::AVMotionVector>()).try_into().unwrap(),
    |                 +                                            +++++++++++++++++++++

Yeah, that's a seperate issue. let me check this out.


[ESP32] crash when trying to set a low cpu clock frequency

Hello,
I would like to change the default cpu frequency of the esp32 from 240M to a lower value to reduce power.
I don't know if this is supported, but I tried to modify the esp32.dts to set an other frequency, rebuild,flash... and after the bootloader finished, I see a few garbage characters in the serial output and then nothing.
I suspect that either I didn't change the clock properly or there is a bug somewhere in the DRAM or peripheral clock computation
To Reproduce
Steps to reproduce the behavior:

Build the samples/bluetooth/peripheral_ht (for example)
modify boards/xtensa/esp32/esp32.dts and replace ESP32_CLK_CPU_240M by any other supported value declared in include/dt-bindings/clock/esp32_clock.h, for example ESP32_CLK_CPU_160M
rebuild and flash
See error

Expected behavior
Changing the cpu clock should work and application should run properly
Impact
I need to got sub 100mA because it's a low power project
Logs and console output
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00                                                zmode:DIO, clock div:2                                                                                z
load:0x3fff0030,len:7264
load:0x40078000,len:14292
ho 0 tail 12 room 4
load:0x40080400,len:3688
entry 0x40080678
I (28) boot: ESP-IDF release/v4.3-94-g2308568ea 2nd stage bootloader
I (28) boot: compile time 22:00:32
I (28) boot: chip revision: 1
I (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed      : 40MHz
I (44) boot.esp32: SPI Mode       : DIO
I (49) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00100000
I (92) boot: End of partition table
I (96) boot_comm: chip revision: 1, min. application chip revision: 0
I (103) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=0449ch ( 17564) map
I (118) esp_image: segment 1: paddr=000144c4 vaddr=3ffbdb5c size=0121ch (  4636) load
I (122) esp_image: segment 2: paddr=000156e8 vaddr=3ffbed78 size=00174h (   372) load
I (129) esp_image: segment 3: paddr=00015864 vaddr=40080000 size=00400h (  1024) load
I (138) esp_image: segment 4: paddr=00015c6c vaddr=40080400 size=0a3ach ( 41900) load
I (164) esp_image: segment 5: paddr=00020020 vaddr=400d0020 size=25560h (152928) map
I (221) esp_image: segment 6: paddr=00045588 vaddr=4008a7ac size=05f28h ( 24360) load
I (241) boot: Loaded app from partition at offset 0x10000
I (241) boot: Disabling RNG early entropy source...                                                                    t쭗�~Ѩ٨Fxp�      izѨPX
Environment:

OS: Linux

I have a working PR for that. Will submit soon.


Ngrok is not generating link

Ngrok is not generating link please check your tool and update it

In the top of the screen, it shows
"line 27: lolcat:  command not found"

Bro ngrok is not generating link
In your grabcam tool please check
On Sat, 18 Sep, 2021, 6:33 pm PANKAJ KUMAR SHARMA, @.***>
wrote:

In the top of the screen, it shows
"line 27: lolcat: command not found"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-922273536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4CB5FQYNHIXQB5SP4DUCSEZNANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

The issue is ngrok is not present. ("identified by the error")
Run these below commands for getting ngrok and then again run the script. (Ref-https://www.darkhackerworld.com/2020/06/how-to-install-ngrok-in-termux.html)
pkg update && pkg upgrade -y
pkg install zip wget -y
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
unzip ngrok-stable-linux-arm.zip
chmod +x ngrok
Hope it helps.

Will grabcam tool work in Linux
On Mon, 20 Sep, 2021, 7:05 pm PANKAJ KUMAR SHARMA, @.***>
wrote:

The issue is ngrok is not present. ("identified by the error")
Run these below commands for getting ngrok and then again run the script.
(Ref-
https://www.darkhackerworld.com/2020/06/how-to-install-ngrok-in-termux.html
)
pkg update && pkg upgrade -y
pkg install zip wget -y
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
unzip ngrok-stable-linux-arm.zip
chmod +x ngrok
Hope it helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-922934385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4ARHDJPSNEPISWCLJ3UC42CLANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Still not giving link for me

It's working for me. Have a look.
Can you show your output of "ls" command.

Still not working
On Mon, 20 Sep, 2021, 7:15 pm Kepar 0001, @.***> wrote:

[image: Screenshot_20210920_094454_com.termux.jpg]
https://user-images.githubusercontent.com/67996155/134012861-323378d9-5c77-45d3-8fe0-0dae94c77fc5.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-922942023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4BWGBWRVDCMNNNXELTUC43GLANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-922942023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4BWGBWRVDCMNNNXELTUC43GLANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Bro before few days I checked your tool in Linux it is working fine and
Also generating link but when you update the tool it is not generating link
in Linux but it works in termux modify again it to make run it in Linux
because today all people are using Linux
On Mon, 20 Sep, 2021, 7:31 pm Lone Umar, @.***> wrote:

Okk I will send you
On Mon, 20 Sep, 2021, 7:26 pm Lone Umar, @.***> wrote:

Still not working
On Mon, 20 Sep, 2021, 7:15 pm Kepar 0001, @.***>
wrote:

[image: Screenshot_20210920_094454_com.termux.jpg]
https://user-images.githubusercontent.com/67996155/134012861-323378d9-5c77-45d3-8fe0-0dae94c77fc5.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-922942023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4BWGBWRVDCMNNNXELTUC43GLANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Still not working for me

Check ngrok token
On Mon, 20 Sep, 2021, 8:49 pm Kepar 0001, @.***> wrote:

[image: Screenshot_20210920_111831_com.termux.jpg]
https://user-images.githubusercontent.com/67996155/134027886-73b2ff68-ae5e-4b96-8520-d5c0c8905a2a.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-923025641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4BMQ2UWQBKQFKWH3TTUC5GH7ANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Check ngrok token
On Mon, 20 Sep, 2021, 8:49 pm Kepar 0001, @.***> wrote:

[image: Screenshot_20210920_111831_com.termux.jpg]
https://user-images.githubusercontent.com/67996155/134027886-73b2ff68-ae5e-4b96-8520-d5c0c8905a2a.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-923025641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4BMQ2UWQBKQFKWH3TTUC5GH7ANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

How

How?

Leave this topic thanks for reply
On Mon, 20 Sep, 2021, 8:56 pm Kepar 0001, @.***> wrote:

How?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-923032190,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4GVHBG374MY6CKU2CLUC5HCTANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

????

i just verified my ngrok token but like i just realise how tf i can connect to ngrok if hotspot disable my wifi

Bro grabcam tool is not saving picture of target
On Mon, 20 Sep, 2021, 9:08 pm Kepar 0001, @.***> wrote:

i just verified my ngrok token but like i just realise how tf i can
connect to ngrok if hotspot disable my wifi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-923043352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4D77BKRPRVVRPDMUBTUC5IPZANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Where is the image file of target??
On Tue, 21 Sep, 2021, 2:16 pm Lone Umar, @.***> wrote:

On Tue, 21 Sep, 2021, 2:14 pm Lone Umar, @.***> wrote:

Bro grabcam tool is not saving picture of target
On Mon, 20 Sep, 2021, 9:08 pm Kepar 0001, @.***>
wrote:

i just verified my ngrok token but like i just realise how tf i can
connect to ngrok if hotspot disable my wifi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/grabcam/issues/38#issuecomment-923043352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYUX4D77BKRPRVVRPDMUBTUC5IPZANCNFSM5EGPGURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Link not generate

Switch on hotspot before generating the link

[x] Try as root bro


Node/Mongo docker-compose's mongoDB container should be available to the local host

The mongo container should be available externally or at least give me the commented out docker-compose settings. This dev container is supposed to help me debug but isn't helpful if I can't see what eventually gets in the DB.
The container should also work for windows/linux/mac. Windows is picky about the host for a mongo container.

Another option to think about is to add the MongoDB extension to the devcontainer. That way the user can browse and manage the DB even without tools installed locally on their machine.
If Codespaces eventually supports compose, this would also be helpful there as the extension is available in the in-browser editor.

The container should also work for windows/linux/mac. Windows is picky about the host for a mongo container.

Can you be more specific? To be clear, MongoDB is in a separate container, so localhost inside the web container won't work on any platform if that is what you are referring to.  It's like having two machines sitting next to each other.

Another option to think about is to add the MongoDB extension to the devcontainer. That way the user can browse and manage the DB even without tools installed locally on their machine.

I'd tend to prefer this option rather than exposing a port by default without the developer knowing about it.

If Codespaces eventually supports compose, this would also be helpful there as the extension is available in the in-browser editor.

It actually does today!

It actually does today!

I have clearly missed the memo. This is great news!

On the dev container for mongodb/node, neither the mongodb or node app are available to the local computer because no ports are open. The only availability is from within an interactive terminal (or vscode debugging of that terminal).
Who is the main customer of this docker-compose setup?
Why not show the port syntax (commented out) in the docker-compose file for both web and db?

Port forwarding works - I didn't see it in the .devcontainer.json file - can it be added but commented out? Along with the note that it can be done temporarily from the command bar?

How do I forward ports in the .devcontainer.json file but for aach service in the docker-compose?

Yep, I added it into the devcontainer.json when you raised your earlier issue since it actually was supposed to be there. It's in pretty much every other definition - so it, just got missed here for some reason. ☹  Sorry about that!
Can also review extensions to see if there's one to include by default. Database ones have lower usage numbers but the Azure DB extension does support straight mongo as well.  Need to think through that a bit.


.pdf Samuel Kelsey: Page 3 Income

Excludes income listed first. Also, oddly, makes them lowercase.

Priority

Me!

Not me!

"Excludes income listed first" -- this isn't clear to me:
I thought maybe Source and Type were different but in the dictionary they seem similar:
IncomeSource	Source/type of the first income listed in a form

I updated this so Applicant is listed First. I coded the type and incomebyhh in the picture.

Field names should be updated to reflect income field names in dictionary, e.g.:
Income1Source
Income2Amount
Income3EarnerName

Changed field names according to field guide.  Thank you, @ursulakaczmarek!!!


rclc_executor_spin_some no time out when agent crashes

rclc_executor_spin_some no time out when agent crashes

Hardware description: Arduino Portenta H7
RTOS:
Installation type: micro_ros_setup,Arduino IDE
Version or commit hash: humble 2.0.5

Steps to reproduce the issue

Include it in your project using Sketch -> Include library -> Add .ZIP Library...
You can test micro-ROS examples located in this repo examples folder.

Follow the installation instructions to build the Adruino IDE environment
I wrote the following code
#include <micro_ros_arduino.h>
#include <rcl/rcl.h>
#include <rcl/error_handling.h>
#include <rclc/rclc.h>
#include <rclc/executor.h>
#include <rcl_logging_interface/rcl_logging_interface.h>
#include <rmw_microros/rmw_microros.h>

//type for sub/pub
#include <std_msgs/msg/u_int8.h>
#include <std_msgs/msg/u_int32.h>
#include <std_msgs/msg/int16.h>
#define DEBUG Serial1
#define ROS_DEBUG 0
#define DOMAIN_ID 20
#define RCCHECK(fn) { rcl_ret_t temp_rc = fn; if((temp_rc != RCL_RET_OK)){printf("Failed status on line %d: %d. Continuing.\n",__LINE__,(int)temp_rc);return false;}}
#define RCSOFTCHECK(fn) { rcl_ret_t temp_rc = fn; if((temp_rc != RCL_RET_OK)){printf("Failed status on line %d: %d. Continuing.\n",__LINE__,(int)temp_rc);}}

#define EXECUTE_EVERY_N_MS(MS, X)  do { \
  static volatile int64_t init = -1; \
  if (init == -1) { init = uxr_millis();} \
  if (uxr_millis() - init > MS) { X; init = uxr_millis();} \
} while (0)\

//pub
rcl_publisher_t hb_micro_ros_host_pub;
//topic msg for pub
std_msgs__msg__UInt8   hb_micro_ros_host_msg;
//sub
rcl_subscription_t hb_aw_sub;//empty
//topic msg for sub
std_msgs__msg__UInt8 hb_aw_msg;
// global data
rclc_executor_t executor;
rclc_support_t support;
rcl_allocator_t allocator;
rcl_node_t node;
rcl_init_options_t init_options;
rcl_timer_t timer_10;

enum states {
  WAITING_AGENT,
  AGENT_AVAILABLE,
  AGENT_CONNECTED,
  AGENT_DISCONNECTED
} state;

unsigned long time_main;
unsigned long time_timer;
unsigned long span;
unsigned long span_timer;

void HbAwCb(const void * msgin)
{
  Serial1.println("Hb aw sub");
}

void TimerCb10(rcl_timer_t * timer, int64_t last_call_time)
{
  span_timer = millis() - time_timer;
  Serial1.print("timer:");
  Serial1.println(span_timer);
  time_timer = millis();

  if (NULL != timer)
  {
    Serial1.print("pub");
    RCSOFTCHECK(rcl_publish(&hb_micro_ros_host_pub, &hb_micro_ros_host_msg, NULL));
    Serial1.println("done");
  }

}

void setup()
{
  set_microros_transports();//USB経由
  DEBUG.begin(115200);
  delay(2000);
  state = WAITING_AGENT;

  time_main = 0;
}

bool create_entities()
{
  unsigned int rcl_wait_timeout = 50;   // in ms
  allocator = rcl_get_default_allocator();//micro-ROSのためのメモリ管理
  init_options = rcl_get_zero_initialized_init_options();
  RCCHECK(rcl_init_options_init(&init_options, allocator));
  RCCHECK(rcl_init_options_set_domain_id(&init_options, DOMAIN_ID));

  //create init_options
  // rclc_support_t support;
  RCCHECK(rclc_support_init_with_options(&support, 0, NULL, &init_options, &allocator));

  // create node
  RCCHECK(rclc_node_init_default(&node, "microros_arduino_host_node", "", &support));

  /* Subscriber */
  RCCHECK(rclc_subscription_init_best_effort(
    &hb_aw_sub,
    &node,
    ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, UInt8),
    "hb_aw"));

  // create executor
  executor = rclc_executor_get_zero_initialized_executor();
  RCCHECK(rclc_executor_init(&executor, &support.context, 8, &allocator));
  RCCHECK(rclc_executor_set_timeout(&executor, RCL_MS_TO_NS(rcl_wait_timeout)));
  RCCHECK(rclc_executor_add_subscription(&executor, &hb_aw_sub,          &hb_aw_msg,          &HbAwCb,   ON_NEW_DATA));

  /* Publisher */
  /* =============== Publisher ===============*/

  //heart_beat arduino -> main pc
  RCCHECK(rclc_publisher_init_default(
    &hb_micro_ros_host_pub,
    &node,
    ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, UInt8),
    "hb_micro_ros_host"));//1byte

    /* =============== Publisher =============== */

  const unsigned int timer_timeout = 10;
  RCCHECK(rclc_timer_init_default(
    &timer_10,
    &support,
    RCL_MS_TO_NS(timer_timeout),
    TimerCb10));
  RCCHECK(rclc_executor_add_timer(&executor, &timer_10));
  return true;
}

void destroy_entities()
{
  rmw_context_t * rmw_context = rcl_context_get_rmw_context(&support.context);
  (void) rmw_uros_set_context_entity_destroy_session_timeout(rmw_context, 0);
  RCSOFTCHECK(rcl_publisher_fini(&hb_micro_ros_host_pub, &node));
  RCSOFTCHECK(rclc_support_fini(&support));
  RCSOFTCHECK(rcl_timer_fini(&timer_10));
  RCSOFTCHECK(rclc_executor_fini(&executor));
  RCSOFTCHECK(rcl_init_options_fini(&init_options));
}

void loop()
{
  // ubuntu pcとの接続をpingで確認しながら状態を決める
  // これでhostからの通信が途絶えてもrebootして正常起動できる
  switch (state) {
    case WAITING_AGENT:
      EXECUTE_EVERY_N_MS(500, state = (RMW_RET_OK == rmw_uros_ping_agent(100, 1)) ? AGENT_AVAILABLE : WAITING_AGENT;);
      break;

    case AGENT_AVAILABLE:
      state = (true == create_entities()) ? AGENT_CONNECTED : WAITING_AGENT;
      if (state == WAITING_AGENT) {
        destroy_entities();
      };
      break;

    case AGENT_CONNECTED:
      EXECUTE_EVERY_N_MS(200, state = (RMW_RET_OK == rmw_uros_ping_agent(100, 1)) ? AGENT_CONNECTED : AGENT_DISCONNECTED;);

      if (state == AGENT_CONNECTED) {
        DEBUG.println("AGENT_CONNECTED");
        span = millis() - time_main;
        Serial1.print("main:");
        Serial1.println(span);
        time_main = millis();
        rclc_executor_spin_some(&executor, RCL_MS_TO_NS(10));
      }
      else
      {
        DEBUG.println("AGENT_DISCONNECTED");
      }

      break;

    case AGENT_DISCONNECTED:

      destroy_entities();
      DEBUG.println("AGENT_DISCONNECTED DONE");
      state = WAITING_AGENT;
      break;

    default:
      break;
  }
}

When starting the agent, I build the agent and start it with the following command
docker run -it --rm -v /dev:/dev --privileged --net=host microros/micro-ros-agent:humble serial --dev [YOUR BOARD PORT] -v6

Expected behavior
In the above code
I want to switch to state=WAITING_AGENT when the agent suddenly stops.
Actual behavior
The loop is running normally before and during the startup of the agent.
However, when the agent stops during the loop startup, the program stops at rcl_publish(&hb_micro_ros_host_pub, &hb_micro_ros_host_msg, NULL) in this code, and the state=WAITING_AGENT is set to Not looping.
Also expecting to timeout on rclc_executor_spin_somed

Hi,
I don't use Arduino at all but would love to help.  As I understand your problem, ping is working OK but rcl_publish() somehow stops when your agent is gone.  Am I right?  If so, would you mind reducing your code down to a bare minimum?
I noticed that set_microros_transports();//USB経由 in your code, but I can't find any transport on USB for Arduino.
What transport are you using?
If rcl_publish() doesn't return, would you mind chekcing that your transport's write function return when agent is not there?
Hope this helps.

Sorry for the late reply.
Thanks for the advice.

but I can't find any transport on USB for Arduino.

I'm using the articles around here to create this code.
Also, if it is a hardware question, I am using a usb type c cable to communicate with the pc.


Adds configuration for CircleCI

Adds configuration for CircleCI.
Changes

Adds a circle.yml configuration file that runs the nodetests npm script

Checklist

[x] Unit tests
[x] Documentation

References
Based on https://github.com/echobind/ember-links-with-follower/blob/master/circle.yml
Fixes #16

🎸


[reloaded-ii mode] It only works when running through the launcher.

After adding modes through reload-ii and running XVI
Unlike other modes that apply even when running through steam
It seems that this mode only applies if it is run through a mod launcher.

Do you have any idea why the mod installed through reloaded-ii for me is not even working ?


Feat: UI update of the dashboard

Describe the feature
I would like to change the UI of the Dashboard making it more visible and satisfactory for the user experience .
I will use bootstrap icons and more visible to user.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

am i assigned  to this issue ??


Does not support https:// repos

$ git remote -v
origin    https://github.com/me/repo (fetch)
origin    https://github.com/me/repo (push)
upstream  https://github.com/them/repo (fetch)
upstream  https://github.com/them/repo (push)

Fails (on Mac OSX) with...
$ ./cci-config-generator.sh
Gathering info please wait...
fatal: 'git@com/me/repo (fetch).com:.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Paste your CircleCI API token here:

@Br3nda , @cclauss  - would you please try the referenced https://github.com/CircleCI-Public/circleci-config-generator/blob/issue-5-issue-1/cci-config-generator.sh which should address this issue?

The previous error was unrelated to OS< and assumed the presence of   @,:,. as field delimiters.  the @ will not be present in HTTPS formatted URLs.
I updated to use git remote get-url --push origin | perl -ne 'print $1 if /([^\/:]*\/[^\/]*?)(.git)?$/' which is passing the patterns I gleamed from all open issues

Fixed in #9


Build fails as nixpacks ignores readme file

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
$ rootlesskit nixpacks build . --name pyfilesystem-sync

╔═══════════════════════════════ Nixpacks v0.4.1 ══════════════════════════════╗
║ Setup      │ python38, gcc                                                   ║
║──────────────────────────────────────────────────────────────────────────────║
║ Install    │ python -m venv /opt/venv && . /opt/venv/bin/activate && pip     ║
║            │ install --upgrade build setuptools && pip install .             ║
║──────────────────────────────────────────────────────────────────────────────║
║ Build      │                                                                 ║
║──────────────────────────────────────────────────────────────────────────────║
║ Start      │ python -m pyfilesystem-sync                                     ║
╚══════════════════════════════════════════════════════════════════════════════╝

[+] Building 39.3s (11/12)
 => [internal] load build definition from Dockerfile                                            0.0s
 => => transferring dockerfile: 794B                                                            0.0s
 => [internal] load .dockerignore                                                               0.0s
 => => transferring context: 2B                                                                 0.0s
 => [internal] load metadata for ghcr.io/railwayapp/nixpacks:debian-1662422726                  1.6s
 => [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:debian-1662422726@sha256:ac27b084ba99f7566  13.0s
 => => resolve ghcr.io/railwayapp/nixpacks:debian-1662422726@sha256:ac27b084ba99f7566c0940a6a6  0.0s
 => => sha256:87f20938588dfe66c7e6550b52c6cf12eeb7e9f9fd6834eadc429c587a96a70c 3.88kB / 3.88kB  0.0s
 => => sha256:1efc276f4ff952c055dea726cfc96ec6a4fdb8b62d9eed816bd2b788f2860a 31.37MB / 31.37MB  1.5s
 => => sha256:7d83fb67ab4cb1e09e5eeba2222486be40482bd46251165c3c114045b94fc2 35.85MB / 35.85MB  1.2s
 => => sha256:b24bfc639ff4abea0e819ed4c237f4a0cfb6eefd023463e69b3f39b8fe76c9 85.48MB / 85.48MB  7.1s
 => => sha256:ac27b084ba99f7566c0940a6a62ac9510bcb811a441428425a89106cc7e335ff 1.05kB / 1.05kB  0.0s
 => => sha256:08dcd442f7c7825125e5a4ac1efedaaaa9b3ec7e9377a649f434a9c793e52079 1.16kB / 1.16kB  0.0s
 => => sha256:7a07c981cf851d5151d80aa71fc75666635a49d434cc489aaa29f146f626bc 24.77kB / 24.77kB  1.6s
 => => extracting sha256:1efc276f4ff952c055dea726cfc96ec6a4fdb8b62d9eed816bd2b788f2860ad7       0.7s
 => => extracting sha256:7d83fb67ab4cb1e09e5eeba2222486be40482bd46251165c3c114045b94fc22c       0.9s
 => => extracting sha256:b24bfc639ff4abea0e819ed4c237f4a0cfb6eefd023463e69b3f39b8fe76c97b       4.6s
 => => extracting sha256:7a07c981cf851d5151d80aa71fc75666635a49d434cc489aaa29f146f626bc4c       0.0s
 => [internal] load build context                                                               0.2s
 => => transferring context: 10.81MB                                                            0.2s
 => [stage-0 2/8] WORKDIR /app/                                                                 0.0s
 => [stage-0 3/8] COPY .nixpacks/setup.nix .nixpacks/setup.nix                                  0.0s
 => [stage-0 4/8] RUN nix-env -if .nixpacks/setup.nix && nix-collect-garbage -d                14.6s
 => [stage-0 5/8] RUN printf '\nPATH=/opt/venv/bin:$PATH' >> /root/.profile                     0.4s
 => [stage-0 6/8] COPY pyproject.toml /app/                                                     0.0s
 => ERROR [stage-0 7/8] RUN --mount=type=cache,id=JQ3zOliWKQM-/root/cache/pip,target=/root/.ca  9.5s
------
 > [stage-0 7/8] RUN --mount=type=cache,id=JQ3zOliWKQM-/root/cache/pip,target=/root/.cache/pip python -m venv /opt/venv && . /opt/venv/bin/activate && pip install --upgrade build setuptools && pip install .:
#11 4.019 Collecting build
#11 4.165   Downloading build-0.8.0-py3-none-any.whl (17 kB)
#11 4.171 Requirement already satisfied: setuptools in /opt/venv/lib/python3.8/site-packages (56.0.0)
#11 4.563 Collecting setuptools
#11 4.586   Downloading setuptools-65.3.0-py3-none-any.whl (1.2 MB)
#11 4.673      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 14.8 MB/s eta 0:00:00
#11 4.753 Collecting tomli>=1.0.0
#11 4.770   Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
#11 4.827 Collecting packaging>=19.0
#11 4.845   Downloading packaging-21.3-py3-none-any.whl (40 kB)
#11 4.850      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 11.6 MB/s eta 0:00:00
#11 4.886 Collecting pep517>=0.9.1
#11 4.904   Downloading pep517-0.13.0-py3-none-any.whl (18 kB)
#11 4.989 Collecting pyparsing!=3.0.5,>=2.0.2
#11 5.006   Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
#11 5.012      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 KB 28.9 MB/s eta 0:00:00
#11 5.204 Installing collected packages: tomli, setuptools, pyparsing, pep517, packaging, build
#11 5.219   Attempting uninstall: setuptools
#11 5.220     Found existing installation: setuptools 56.0.0
#11 5.270     Uninstalling setuptools-56.0.0:
#11 5.281       Successfully uninstalled setuptools-56.0.0
#11 5.899 Successfully installed build-0.8.0 packaging-21.3 pep517-0.13.0 pyparsing-3.0.9 setuptools-65.3.0 tomli-2.0.1
#11 6.035 WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
#11 6.035 You should consider upgrading via the '/opt/venv/bin/python -m pip install --upgrade pip' command.
#11 6.577 Processing /app
#11 6.724   Installing build dependencies: started
#11 8.840   Installing build dependencies: finished with status 'done'
#11 8.844   Getting requirements to build wheel: started
#11 9.090   Getting requirements to build wheel: finished with status 'done'
#11 9.092   Preparing metadata (pyproject.toml): started
#11 9.345   Preparing metadata (pyproject.toml): finished with status 'error'
#11 9.353   error: subprocess-exited-with-error
#11 9.353
#11 9.353   × Preparing metadata (pyproject.toml) did not run successfully.
#11 9.353   │ exit code: 1
#11 9.353   ╰─> [26 lines of output]
#11 9.353       Traceback (most recent call last):
#11 9.353         File "/opt/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
#11 9.353           main()
#11 9.353         File "/opt/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
#11 9.353           json_out['return_val'] = hook(**hook_input['kwargs'])
#11 9.353         File "/opt/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
#11 9.353           return hook(metadata_directory, config_settings)
#11 9.353         File "/tmp/pip-build-env-a09ea19i/overlay/lib/python3.8/site-packages/pdm/pep517/api.py", line 64, in prepare_metadata_for_build_wheel
#11 9.353           return _prepare_metadata(builder, metadata_directory)
#11 9.353         File "/tmp/pip-build-env-a09ea19i/overlay/lib/python3.8/site-packages/pdm/pep517/api.py", line 48, in _prepare_metadata
#11 9.353           builder._write_metadata_file(f)
#11 9.353         File "/tmp/pip-build-env-a09ea19i/overlay/lib/python3.8/site-packages/pdm/pep517/wheel.py", line 332, in _write_metadata_file
#11 9.353           fp.write(self.format_pkginfo())
#11 9.353         File "/tmp/pip-build-env-a09ea19i/overlay/lib/python3.8/site-packages/pdm/pep517/base.py", line 431, in format_pkginfo
#11 9.353           if meta.long_description:
#11 9.353         File "/tmp/pip-build-env-a09ea19i/overlay/lib/python3.8/site-packages/pdm/pep517/metadata.py", line 41, in __get__
#11 9.353           rv = self.fget(instance, rv)
#11 9.353         File "/tmp/pip-build-env-a09ea19i/overlay/lib/python3.8/site-packages/pdm/pep517/metadata.py", line 90, in _get_readme_content
#11 9.353           return Path(value).read_text(encoding=self.DEFAULT_ENCODING)
#11 9.353         File "/nix/store/xq59cyi96kny4v70flfb3ymrzmymk1k1-python3-3.8.13/lib/python3.8/pathlib.py", line 1236, in read_text
#11 9.353           with self.open(mode='r', encoding=encoding, errors=errors) as f:
#11 9.353         File "/nix/store/xq59cyi96kny4v70flfb3ymrzmymk1k1-python3-3.8.13/lib/python3.8/pathlib.py", line 1222, in open
#11 9.353           return io.open(self, mode, buffering, encoding, errors, newline,
#11 9.353         File "/nix/store/xq59cyi96kny4v70flfb3ymrzmymk1k1-python3-3.8.13/lib/python3.8/pathlib.py", line 1078, in _opener
#11 9.353           return self._accessor.open(self, flags, mode)
#11 9.353       FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
#11 9.353       [end of output]
#11 9.353
#11 9.353   note: This error originates from a subprocess, and is likely not a problem with pip.
#11 9.355 error: metadata-generation-failed
#11 9.355
#11 9.355 × Encountered error while generating package metadata.
#11 9.355 ╰─> See above for output.
#11 9.355
#11 9.355 note: This is an issue with the package mentioned above, not pip.
#11 9.355 hint: See above for details.
#11 9.359 WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
#11 9.359 You should consider upgrading via the '/opt/venv/bin/python -m pip install --upgrade pip' command.
------
executor failed running [/bin/bash -ol pipefail -c python -m venv /opt/venv && . /opt/venv/bin/activate && pip install --upgrade build setuptools && pip install .]: exit code: 1
Error: Docker build failed
[rootlesskit:child ] error: command [nixpacks build . --name pyfilesystem-sync] exited: exit status 1
[rootlesskit:parent] error: child exited: exit status 1

To reproduce
No idea. It fails even if I comment the readme section in pyproject.toml.
Expected behavior
No response
Environment
nixpacks 0.4.1

Can you please provide an example repo or share more about the Python project (pyproject.toml, file structure, etc.)

cat << EOF > pyproject.toml
[project]
name = "test"
version = "0.0.1"
requires-python = "*"
license = {text = "MIT"}
readme = "README.md"
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
EOF
touch README.md
rootlesskit nixpacks build . --name test


To  generate user prompts in command line interface

To add functions for view, add, update and delete data by connecting to database and generate user prompts

Generated user prompts


Adds new temperature endpoint /tas2km to API which queries the 2km historical and projected temperature coverages

This PR adds the new 2km temperature endpoint containing three models (5ModelAvg, GFDL-CM3, and NCAR-CCSM4), two scenarios (RCP 4.5 & RCP 8.5), all months, and all years for both historical (1901-2015) and projected (2006-2100).
The endpoint is only for point data currently:
localhost:5000/tas2km/point/65/-155
This endpoint has replaced the previous EDS endpoint for temperature which can be seen in:
localhost:5000/eds/temperature/65/-155
localhost:5000/eds/all/65/-155
The coverages for the historical and projected data only exist on Apollo currently so be sure to set your env var appropriately:
export API_RAS_BASE_URL=https://apollo.snap.uaf.edu/rasdaman/

@charparr @cstephen I think this API update is ready for review!


Order of function arguments

queryParamters and id often appear together as arguments accepted by a function. The order should be the same each time, so I should decide on which goes first. It seems natural for id to come first, and then params after. Params are optional, so I will have to restructure the pseudo-function overloading feature I have.

Arguement order is now the following: (id, queryParams, callback)


Error: Deployment failed. Please check your deployment package and try again.

I get this error in the Lambda Management Console. What am I doing wrong?

Figured out the problem. It didn't like my zip from a Mac


De-register our PBM reader, fallback on ImageMagick (fixes #336)

The 3-line fix for #336. It's a step backwards from weaning us from ImageMagick, but I'm comfortable with this until I finish the Colors->FileIO transition.

The AppVeyor failure LoadError: RegistryKeyLookupFailedCoderModulesPath' @ error/module.c/GetMagickModulePath/662` happens every time. Seems like an ImageMagick problem, anything we can do to fix?

Seems to have started happening somewhere between https://ci.appveyor.com/project/timholy/images-jl/build/1.0.241/job/rkxtwip3f4e5tdpc and https://ci.appveyor.com/project/timholy/images-jl/build/1.0.247/job/x48e3g9xq5ajx1ul, but only on 0.4? Maybe something isn't precompilation-safe on Windows?


Updating cAdvisor godep.

This adds support for Docker 1.6.

Monitoring e2e is green!

/cc @rjnagal @vishh @dchen1107

LGTM

What can I do with a PR touching 225 files :-)

Will merge once it is green.


Does this publish symbolpackages as well *.snupkg's?

Does this also publish snupkg's? Would like to have it do that too.

Not now but I don't see a reason why it can't though

What does this mean?  Does it, or doesn't it publish snupkgs ?


Fix emergency_upgrade_test_balances.sh

it fails with ShutdownForUpgrade: validator_weights cannot be missing

@rafal-ch believe this is Toms test failures


Development weblets docs

Description
Renaming files in playground docs
re-adding sections in weblets docs
Related Issues
#217
#120

I adjusted some inner TOC links, like sys admins TOC and others.

@AhmedHanafy725
It seems that SSH wasn't in the summary.md.
I added it in summary.md, and the toc for playground and sys admin.
Let me know if you want to put it elsewhere.

Maybe it would be better to have a SSH section in Getting Started, and have

SSH

SSH Remote Connection
SSH on WSL

I re-organized the SSH section to present the 3 main methods, openssh, putty and wsl.


Implement write-twice strategy for Bagger v1

This has the fewest unknowns for us and so should be our starting point.  It's the devil we know and then we can support devils we don't know.

This is partly done.  we just need to write the bagger configs in the agent.


Retrying loading of S3 artifacts breaks if the artifact is a directory

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
I run workflows using a very unstable MinIO as artifact repository. Under load, S3 requests against this MinIO are prone to lose their connections. This leads to some retries in the init/wait containers.
I noticed that for directory artifacts, these retries always produce a non-transient error:
artifact myArtifact failed to load: failed to get file: fileName is a directory.

The root cause seems to me that after the first attempt, the directory myArtifact.tmp has already been created. During the retry, the executor first tries to download the artifact as file:
https://github.com/argoproj/argo-workflows/blob/0adba4b3db288e9222814055937588ad0c601d85/workflow/artifacts/s3/s3.go#L85-L94
Which fails in the minio client:
https://github.com/minio/minio-go/blob/0be3a44757352b6e617ef00eb47829bce29baab1/api-get-object-file.go#L51-L57
Version
v3.4.6
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
This workflow would suffer from the issue if it came to a retry:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: directory-artifact-example
spec:
  entrypoint: generate-and-consume-artifact
  templates:
  - name: generate-and-consume-artifact
    steps:
    - - name: generate-artifact
        template: generate-artifact
    - - name: consume-artifact
        template: consume-artifact
        arguments:
          artifacts:
          - name: my-artifact
            from: "{{steps.generate-artifact.outputs.artifacts.my-artifact}}"

  - name: generate-artifact
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["mkdir -p /my_artifact; touch /my_artifact/file1; touch /my_artifact/file2"]
    outputs:
      artifacts:
      - name: my-artifact
        path: /my_artifact
        archive:
          none: {}
        s3:
          key: 'directory-artifact-example/my-artifact/'

  - name: consume-artifact
    inputs:
      artifacts:
      - name: my-artifact
        path: /my_artifact
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["ls -la /my_artifact"]

In order to simulate what happens when after a first unsuccessful download the directory my_artifact.tmp has already been created, I changed the workflow as follows:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: directory-artifact-example
spec:
  entrypoint: generate-and-consume-artifact
  volumeClaimTemplates:
    - metadata:
        name: volume
      spec:
        accessModes: [ "ReadWriteOnce" ]
        resources:
          requests:
            storage: 1Gi
  templates:
  - name: generate-and-consume-artifact
    steps:
    - - name: generate-artifact
        template: generate-artifact
    - - name: prepare-empty-directory
        template: prepare-empty-directory
    - - name: consume-artifact
        template: consume-artifact
        arguments:
          artifacts:
          - name: my-artifact
            from: "{{steps.generate-artifact.outputs.artifacts.my-artifact}}"

  - name: generate-artifact
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["mkdir -p /my_artifact; touch /my_artifact/file1; touch /my_artifact/file2"]
    outputs:
      artifacts:
      - name: my-artifact
        path: /my_artifact
        archive:
          none: {}
        s3:
          key: 'directory-artifact-example/my-artifact/'

  - name: prepare-empty-directory
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["mkdir /mount/my_artifact.tmp"]
      volumeMounts:
        - name: volume
          mountPath: /mount

  - name: consume-artifact
    inputs:
      artifacts:
      - name: my-artifact
        path: /mount/my_artifact
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["ls -la /mount/my_artifact"]
      volumeMounts:
        - name: volume
          mountPath: /mount

Logs from the workflow controller
I cannot easily get logs, but I hope they are not really relevant for this problem.
Logs from in your workflow's wait container
This is the init container. You can see the transient error and then the non-transient error from the retry.
{"level":"info","msg":"Starting Workflow Executor","time":"2023-04-25T15:13:44.931Z","version":"v3.4.6"}
{"Duration":1000000000,"Factor":1.6,"Jitter":0.5,"Steps":5,"level":"info","msg":"Using executor retry strategy","time":"2023-04-25T15:13:44.936Z"}
{"level":"info","msg":"Loading script source to /argo/staging/script","time":"2023-04-25T15:13:45.744Z"}
{"level":"info","msg":"Start loading input artifacts...","time":"2023-04-25T15:13:45.744Z"}
{"level":"info","msg":"Downloading artifact: my-artifact","time":"2023-04-25T15:13:45.744Z"}
{"level":"info","msg":"Specified artifact path /mount/my_artifact overlaps with volume mount at /mount/. Extracting to volume mount","time":"2023-04-25T15:13:45.744Z"}
{"level":"info","msg":"S3 Load path: /mainctrfs/mount/my_artifact.tmp, key: my-artifact/","time":"2023-04-25T15:13:45.744Z"}
{"endpoint":"minio:9000","level":"info","msg":"Creating minio client using static credentials","time":"2023-04-25T15:13:45.744Z"}
{"bucket":"artifact-bucket","endpoint":"minio:9000","key":"my-artifact/","level":"info","msg":"Getting file from s3","path":"/mainctrfs/mount/my_artifact.tmp","time":"2023-04-25T15:13:45.744Z"}
{"bucket":"artifact-bucket","endpoint":"minio:9000","key":"my-artifact/","level":"info","msg":"Getting directory from s3","path":"/mainctrfs/mount/my_artifact.tmp","time":"2023-04-25T15:13:45.862Z"}
{"bucket":"artifact-bucket","endpoint":"minio:9000","key":"my-artifact/","level":"info","msg":"Listing directory from s3","time":"2023-04-25T15:13:45.862Z"}
{"level":"info","msg":"Transient error: read tcp <IP_ADDRESS>:34096-\u003e<IP_ADDRESS>:9000: read: connection reset by peer","time":"2023-04-25T15:13:55.943Z"}
{"level":"info","msg":"S3 Load path: /mainctrfs/mount/my_artifact.tmp, key: my-artifact/","time":"2023-04-25T15:13:57.393Z"}
{"endpoint":"minio:9000","level":"info","msg":"Creating minio client using static credentials","time":"2023-04-25T15:13:57.393Z"}
{"bucket":"artifact-bucket","endpoint":"minio:9000","key":"my-artifact/","level":"info","msg":"Getting file from s3","path":"/mainctrfs/mount/my_artifact.tmp","time":"2023-04-25T15:13:57.393Z"}
{"level":"warning","msg":"Non-transient error: fileName is a directory.","time":"2023-04-25T15:13:57.394Z"}
{"artifactName":"my-artifact","duration":11649843351,"error":"failed to get file: fileName is a directory.","key":"my-artifact/","level":"info","msg":"Load artifact","time":"2023-04-25T15:13:57.394Z"}
{"level":"error","msg":"executor error: artifact my-artifact failed to load: failed to get file: fileName is a directory.","time":"2023-04-25T15:13:57.394Z"}
{"level":"info","msg":"Alloc=8911 TotalAlloc=14291 Sys=23762 NumGC=3 Goroutines=5","time":"2023-04-25T15:13:57.395Z"}
{"level":"fatal","msg":"artifact my-artifact failed to load: failed to get file: fileName is a directory.","time":"2023-04-25T15:13:57.395Z"}

related to https://github.com/argoproj/argo-workflows/issues/9908


Add ability to send pre-serialized data for efficiency

There's a pattern where you're sending data that's already serialized from another system (like a message bus) to the clients without first de-serializing and re-serializing. Here's an example:
https://github.com/gcsuk/Achievements/blob/f54479ca595bcf62fa17177b0ec101a7b918d8a5/src/Achievements/Achievements/EventListener.cs#L66-L76
The above code gets a utf8 JSON encoded message from the queue, turns it into a string, then turns that string into a UserAchievement<string> object. Then it calls IHubContext.User(...).SendAsync which turns that object back into a utf8 byte[] payload to send on the wire.
We should introduce a new type that encodes this information that IHubProtocols have native support for. Some considerations:

If connected clients are various protocols, what do we do? Do we store type information so that we can de-serialize in the original format and re-serialize in the correct format?

This sounds really tricky to get right... I see the value, but it's going to need a lot of design to get right.


Option to adjust Font sizes

Hai thanks for the plugin, can provide font size customization , for title, year & month texts

@mobin-sk the package has been updated , with arguments changed to textstyles.


[Feature request] Portable version

Hi! Here a just request for a portable version. Please!! ty!

There’s a portable version in the releases page.


How do you pronounce the "k3s"?

I remember seeing k3s can be expressed as k "ate" s somewhere on ibuildthecloud/k3s before, which is the exactly same pronunciation as k8s(k "eight" s), but I couldn't find it on any pages now 👀
Is it kates, or kes like leet language?

Lightweight Kubernetes. 5 less than k8s.
https://github.com/rancher/k3s#what-is-this

k3s is intended to be a fully compliant Kubernetes distribution with the following changes:

Legacy, alpha, non-default features are removed. Hopefully you shouldn't notice the
stuff that has been removed.
Removed most in-tree plugins (cloud providers and storage plugins) which can be replaced
with out of tree addons.
Add sqlite3 as the default storage mechanism. etcd3 is still available, but not the default.
Wrapped in simple launcher that handles a lot of the complexity of TLS and options.
Minimal to no OS dependencies (just a sane kernel and cgroup mounts needed). k3s packages required
dependencies

containerd
Flannel
CoreDNS
CNI
Host utilities (iptables, socat, etc)

k3s, 比k8s少5s

Guys, I'm asking how to pronounce the name. I know why it's written as k8s 😂

😂 Sorry for misunderstanding your meaning, the pronunciation of "k3s" seems to require rancher official to answer.

maybe kbeds :)   kubernetes for embeded device

Kubes, surely?

It's like lottery haha

Someone on HN suggested Kubernetres. 😂

Maybe like "K3", as if it didn't have an "s"?

Kes or keys

I feel like the community should decide.  I vote for Boaty McBoatFace.

...wouldn't it just be k-threes?  Although kubernetres is funny. 👍
k-threes fits with the whole "five less than eight" idea.

I likes "Kubes" since "K 3 (ube) S" matches what K8S (k UBERNETE s).

How do you vote?

I vote for Kubes.
The reasons are:

3-ube matches the word-building of 8-ubernete
Kubes is easy to pronounce and seems like an abbreviation of Kubernetes
it's literally meaningful to represent itself as a variant of Kubernetes

My vote is for :
"Kay" "Three" "Ess"

Since kubernetes is Greek why not stick with the theme
κυβερνήτης (10 Letters) -> kubernetes, means Governor, Helmsman, Captain
κύβος (5 letters) -> kubos, means Cube
k8s is pronounched as kates or k 8 s
k3s could be pronounced keys but since I usually go with k 8 s I'll probably say k 3 s

Looks like Kubes would be the most voted?

@ibuildthecloud

Just wanted to speak out against "Kubes" to differentiate it from "Qubes".
At least while talking to myself I'm gonna call it tetrahedrons, because in an odd way...
Qubes : K3s
VMs : containers
cubes : tetrahedrons (there's a little less to them)

So strange that there's still no canonical pronunciation. At least the dev team should call it some way when talking about it...
P.S.: I like Kubes [kjuːbs],

I've only ever heard @ibuildthecloud (the creator) pronounce it as "kay three ess" :-D


help: Add manage-inactive-streams.

I added "This helps prevent low-traffic streams from cluttering the left sidebar." at the end of the first paragraph for "Manage inactive streams" and merged the first two commits.
For the third commit, I agree the old text was problematic, but I'm worried that the changed text doesn't tell the user how to solve the problem.  Administrators can edit users' names and the user should contact and administrator if they want their name changed; "Name changes have been disabled in this organization" doesn't really address that.  Maybe "Contact an organization administrator to change your name" would be better?
Arguably, the ideal solution would be text that's aware of what system names are synced from and can mention that (E.g. LDAP or the RC Directory).  I suppose we could pass that data to the frontend for LDAP, and at least in that case, have it say something about that without too much trouble.

Updated. Not sure if this is what you meant?
Also, I put "administrator" instead of "organization administrator", since I think here it's clear from context?

Merged after some small further tweaks, thanks @rishig!


Add support for the gridOptions hash

The API will probably evolve further, but the options object is supported with most of the core functionality discussed for the MVP already supported.


Added requirements file for the project

Added a requirements.txt file for the project to enable easier download of dependencies

1+


split messages in separate posts

It would help if the main mail is in a separate post than the quoted part and separate from an email-footer
this way you could tidy up the matrix room with the redact buttons from duplicate quoted texts and footers if needed

Replies should now be parsed out of the messages by default.

This doesn't seem to work correctly yet.
Still only one post:
<EMAIL_ADDRESS>Re: [Freifunk-keys] Neue Commits im Schlüssel Repository sollten jetzt auch im Matrix Raum ankommen
Replies sind jetzt extra😃

Am 25. Februar 2017 06:10:41 MEZ, schrieb<EMAIL_ADDRESS>>Test
>_______________________________________________
>Freifunk-Keys mailing list
<EMAIL_ADDRESS>>https://lists.in-kiel.de/mailman/listinfo/freifunk-keys

It appears as though the library I used doesn't support other languages very well. Reopening to explore other libraries.

Now it should work. Let me know if you have any issues :)


Tags section- fix sort tags alphabetically.

In addition to what is already there

Numbers in ascending order(numbers must be at the end of the list)
If the tag contains only characters, it must be at the end of the list.
Forbid duplicate names at the time of creation. Even if you set a different color for the name.
Names with a small letter must be after names with a big letter if they begin with the same letter.

Need to apply this sorting when selecting tags(for addresses, contacts)
Please, fix sorting in the tags section.

Example:
A,
a,
b,
c,
0,
1a,
2,
3,
"#A",
"#a",

checked


gracefully handle master failover

fixes here include:

messenger does not abort upon transport errors
scheduler and executor observe network errors as indicators of disconnection
additional debugging flag for example scheduler
removed separate go-routine for message encoding
context.Context from sender (sched/exec driver) is preserved down to the transport level

fixes #155
fixes #160

connected to #155
connected to #160

mesos devs have confirmed that socket errors between executor and slave indicate "slave not running". this isn't bulletproof, especially if executor runs out of FDs. but it's how the native impl works


Added OpenCollective banner to the website

...

Cool! I was also gonna add the badges, nice. :)
Currently it looks good. Maybe when we have quite a few backers (making the section very long) would be better to put the sponsors first (which would be one or two lines of images) and then the wall of backers. But looks good as is.
I think I'm gonna merge and polish a few things, add the new logo, etc.

Hmm, gonna try to retinitify / add svg around.

Okay, I believe .svg is not supported yet. Will merge this and will iterate once support for .svg is rolled out.

What I don't like is that backers/sponsors are at the bottom. That's not very good exposure imo.

I locally moved them to the top and I think it's much better. You get to see them when you scroll for the feature list or whatever you are looking for.
If we feel like it's too large we can iterate and make two columns or something.

Gonna merge and iterate. Thanks @xdamman!

Yes, the retina version will be done on our side, you don't need to change anything, that was the whole point of https://github.com/OpenCollective/OpenCollective/issues/44 :-)

Awesome @xdamman :)


Parallelize generation of webviz_storage?

Relevant code:
https://github.com/equinor/webviz-config/blob/7b812455fbff62794e18176b85c0bbb626370673/webviz_config/webviz_store.py#L143-L163
Is it possible to parallellize this for each func or perhaps each argtuple using multiprocessing?

Build of webviz_store currently utilizes caching for "cache decorated functions".
Are the store building currently typically CPU bound (=multiprocessing) or I/O bound (=threading)?


Added simple usage-example in README

Simple examples like these are important for beginners and for quickly checking out how one can use your code.


Add CODEOWNERS

See https://github.com/Senzing/template-repository/issues/19

Pull Requests:

https://github.com/Senzing/template-docker/pull/50


License

Hello,
As this appears to be an open source project, the missing license info makes it basically not possible to use by others, as stated here https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository

However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license.

Could you please clarify this issue? And if it's intended for OSS, then could you kindly include the relevant file or update package.json with the "license" entry?
All the best and thank you for you great work!

Thanks, i added it.


documented last-change-trigger-time

Fixes: #38000

/kind documentation

/language en

Anyone is welcome to review this.
/unassign
however, I will take a look

/unassign

@kundan2707 : Please could you advise if you have the bandwidth to make the above changes suggested by Tim?

To be clear: I'd welcome more fixes, but I don't object to merging this as-is.

Approving as-is
/approve

Follow-up PR https://github.com/kubernetes/website/pull/45969


Add MANIFEST.in so that tests are included in source distributions

Hi,
I checked the source and I don't see where pytest-* is required. I also added a MANIFEST.in file because the PyPI distributions currently do not contain the tests. Adding them makes it easier for distributions that rely on PyPI download sources and run tests.

Thanks.
The pytest* requirements could be removed as well. I'll check that.

pytest is required by tox. See line 12 in tox.ini

Yes, I noticed later and I fixed the PR accordingly :)
On 23 Sep 2017 15:02, "Oliver"<EMAIL_ADDRESS>wrote:

pytest is required by tox. See line 12 in tox.ini
https://github.com/scarface-4711/denonavr/blob/master/tox.ini
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scarface-4711/denonavr/pull/31#issuecomment-331633232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEnANNXcAz8eMIRt8LlCD8ztzpp8w6DMks5slQF3gaJpZM4PaLcs
.

this explains why I did not find any changes in the test requirements :)


CDAT Migration Phase 2 - Replace cdp.viewer.OutputViewer

Related to #607
cdp references:
35 results - 20 files

conda-env/ci.yml:
  15    - cartopy_offlinedata
  16:   - cdp
  17    - cdms2

conda-env/dev.yml:
  13    - cartopy_offlinedata=0.2.4
  14:   - cdp=1.7.0
  15    - cdms2=3.1.5

docs/source/index.rst:
  55     diagnostics package through a unifying framework: `Community
  56:    Diagnostics Package (CDP) <https://github.com/CDAT/cdp>`_.
  57  -  is flexible for user-specified diagnostics and configuration for

docs/source/dev_guide/adding-new-diags-sets.rst:
  618          from .default_viewer import create_metadata
  619:         from cdp.cdp_viewer import OutputViewer
  620

  682
  683: We use the CDP Viewer to create the webpages.
  684  **This is not needed! Use whatever you want to create the webpages.**

docs/source/dev_guide/index.rst:
  10     adding-new-diags-sets
  11:    using-cdp-output-viewer
  12     releasing-e3sm-diags

docs/source/dev_guide/using-cdp-output-viewer.rst:
    1: How to use the CDP Output Viewer
    2  ================================

    6  - The basic framework of the `ESGF Output Viewer <https://github.com/ESGF/output_viewer>`__, consisting of indices, pages, groups, rows, and columns.
    7: - The process of using the `CDP Output Viewer <https://github.com/CDAT/cdp/blob/master/cdp/cdp_viewer.py>`__ (``cdp_viewer``), including explanations and examples related to the relevant functions.
    8
    9:   - CDP Output Viewer is based on the ESGF Output Viewer
   10

   86
   87: Using CDP Output Viewer (``cdp_viewer``)
   88  ----------------------------------------

  101
  102:     from cdp.cdp_viewer import OutputViewer
  103

  124
  125:     Viewer HTML generated at /Users/shaheen2/github/cdp/jupyter/index.html. Would you like to open in a browser? y/[n]: y
  126

e3sm_diags/parameter/core_parameter.py:
  2
  3: import cdp.cdp_parameter
  4
  5
  6: class CoreParameter(cdp.cdp_parameter.CDPParameter):
  7      def __init__(self):

e3sm_diags/parser/core_parser.py:
  1: import cdp.cdp_parser
  2

  5
  6: class CoreParser(cdp.cdp_parser.CDPParser):
  7      def __init__(self, *args, **kwargs):

e3sm_diags/viewer/annual_cycle_zonal_mean_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

e3sm_diags/viewer/area_mean_time_series_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

e3sm_diags/viewer/arm_diags_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

e3sm_diags/viewer/default_viewer.py:
  12  import numpy
  13: from cdp.cdp_viewer import OutputViewer
  14

e3sm_diags/viewer/enso_diags_viewer.py:
  3
  4: from cdp.cdp_viewer import OutputViewer
  5

e3sm_diags/viewer/mean_2d_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

e3sm_diags/viewer/qbo_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

e3sm_diags/viewer/streamflow_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

e3sm_diags/viewer/tc_analysis_viewer.py:
  2
  3: from cdp.cdp_viewer import OutputViewer
  4

I anticipate it will take a lot of time and work to write a new HTML output viewer from scratch using another Python library.
As a short-term solution, we should port cdp.cdp_viewer.py straight from the cdp package instead. It does not seem like there is that much code that needs to be ported over. We also need to add output_viewer as an e3sm_diags dependency.


workflow-level README

Description
Add workflow-level readme allowing for developers to describe individual workflows in a big .dockstor.yml
Order of precedence is:

Description in descriptors
.dockstore.yml path
Regular readme

Review Instructions
Use a .dockstore.yml in a repo that looks something like
version: 1.2
workflows:
  -  name: foobar
     subclass: wdl
     authors:
       - name: Denis Yuen
         orcid: 0000-0002-6130-1021
       - name: UCSC Genomics Institute
         role: Institute
         affiliation: UCSC
     publish: true
     primaryDescriptorPath: /Dockstore2.wdl
     testParameterFiles:
       - /dockstore.wdl.json
     filters:
       branches:
         - develop
       tags:
         - gwas*
  -  name: foobar2
     subclass: cwl
     publish: no
     primaryDescriptorPath: /Dockstore.cwl
     readMePath: /foobar2/readme.md
     testParameterFiles:
       - /dockstore.cwl.json
  -  subclass: CWL
     name: bloop
     primaryDescriptorPath: /Dockstore.cwl
     readMePath: /other-readme.md
     testParameterFiles:
       - /dockstore.cwl.json

to specify individual readme's for workflows
Issue
https://github.com/dockstore/dockstore/issues/5018
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Follow with https://ucsc-cgl.atlassian.net/browse/SEAB-5289


[Bugs] For Non3GPP accesses N3IWF/AMF is not creating integrity and ciphering keys with NAS connection identifier "0x02"

Hi,
I'm creating a NWu tool (similar to my SWu tool (https://github.com/fasferraz/SWu-IKEv2) but for 5G), and i'm doing tests with your free5GC core.
I notice that the AMF is creating the integrity and ciphering keys for NAS with bearerId/NAS connection identifier 0x01 when sending the NAS to the N3IWF. According to 33.501, for non3GPP accesses the NAS connection identifier should by 0x02 Check 33.501 7.2.1 for example.
NAS connection identifier 0x01 should be used for 3GPP accesses.
I didn't reach the point of calculating N3IWF key, but 33.501 also states the same:
"The AMF upon reception of the NAS SMC Complete from the UE or upon success of integrity protection
verification, initiates the NGAP procedure to set up the AN context. AMF shall compute the N3IWF key,
KN3IWF, using the uplink NAS COUNT associated with NAS connection identifier "0x02" as defined in Annex
A.9 for the establishment of the IPsec SA between the UE and the N3IWF and shall include it in the NGAP
Initial Context Setup Request sent to the N3IWF."
I've also another question about AN Parameters, mainly the NSSAI, where you are coding each S-NSSAI with 6 bytes. I think this should be coded with 5 bytes (when you don't have any mapped HPLMN SST/SD).
24.502 states that "When the AN-parameter type field indicates the requested NSSAI, the AN-parameter value field is coded according to value part of NSSAI information element as specified in subclause <IP_ADDRESS> of 3GPP TS 24.501 [4]."
Subclause <IP_ADDRESS> of 24.501 states that inside NSSAI IEI the "S-NSSAI value is coded as the length and value part of S-NSSAI information element as specified in subclause <IP_ADDRESS> starting with the second octet."
So if you are starting in second octet, you should exclude the S-NSSAI IEI:
S-NSSAI octet 2 is the length (1 bytes), and then you have SST (1 byte) and SD (3 bytes). So a total of 1+1+3=5 bytes.
if you check a normal 5G registration trace (Registration Accept message  you will notice that the NAS have each S-NSSAI inside the allowed NSSAI IEI coded with 5 bytes.

Hi, fasferraz,
Thanks for your report
About NAS connection identifier
The version of the 3GPP spec. to which our team usually references is f30.
In the TS 33.501 f30, it's mentioned

The IPsec SA is established between the UE and N3IWF by using the N3IWF key KN3IWF that was created in the UE using the uplink NAS COUNT associated with NAS connection identifier "1" as defined in Annex A.9 and was received by N3IWF from the AMF in step 12.

We feel weird why a static value "NAS connection identifier" vibrates between 0x01 and 0x02 in the 33.501 f30 at that time. Due to your mention, we found the recent version 33.501 where all values change to 0x02.
Thank you for finding the bug.
About NSSAI-related
Yes, your opinions on IEI are correct, and we will fix them in the future version.

Hi,
Hi,
I finished my application and i corrected some errors that i think i have found in AMF, AUSF and N3IWF.
I forked the repos and change them to solve some of the issues. Please check what i did here:
https://github.com/fasferraz/NWu-Non3GPP-5GC/wiki/Setup-Example
I never programmed in Go, so i don't know if my solution is completely correct. The links for the changes are in the link above.
For some of the issues i just adapted my code, because the changes would be more complicated to solve.
Hope it helps.

This issue has been mentioned on free5GC. There might be relevant details there:
https://forum.free5gc.org/t/nas-mac-verification-failed/491/4

@fasferraz
We already fixed this issue.
Please get the free5gc v3.0.6 to test again.
If it works, please close the issue.
Thanks.


Release on NPM?

Hi, can you release the current version on NPM?

it is actually released as a github package. I'd avoid to duplicate this if not required:
https://github.com/pagopa/io-functions-express/packages

Thanks for this repo!
We, and many others, use the default registry (NPM) for public packages. Would be nice if you could publish it to both, wouldn't want to have to make an exception.


⚠ Bofrost.ch has degraded performance

In d06e9dd, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2863 ms

Resolved: Bofrost.ch performance has improved in c430574.


#125 Adding pa11y-ci

Description
Get A11y running on the pipeline using pa11y-ci
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce
the testing if necessary.
Before PR's can be merged they will need to be tested by QA and approved where
applicable. To flag the change to QA assign @XGovFormBuilder/qa as one of the reviewers.

[ ] Ran the Branch QA work flow, there should be a new section in there called pa11y. You will see Accessibility errors on certain pages.

Checklist:

[x] My changes do not introduce any new linting errors
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation and versioning
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have rebased onto main and there are no code conflicts
[x] I have checked deployments are working in all environments
[ ] I have updated the architecture diagrams as per Contribute.md

smoke test is failing for this branch due to the issues discovered by running pa11y. Perhaps we need to raise a new task to fix these?

@adamdavies1 yep. If you're able to, would be good to fix them in this PR. if not, log them as issues mentioning this pull request. Looks like pa11y is working though - nice one!

@adamdavies1 yep. If you're able to, would be good to fix them in this PR. if not, log them as issues mentioning this pull request. Looks like pa11y is working though - nice one!

@jenbutongit should have a nice green pipeline now :)


Permissions explanation

Hello.
Can someone explain me why Crosswalk need ACCESS_WIFI_STATE permission ? I can understand why it need INTERNET permission and maybe ACCES_NETWORK_STATE but why wifi state permission ? Is it realy needed ?
Thanks in advance.

No one to answer?


Reallocator test suites

Reallocator needs some test suites

Implemented some base tests.
https://github.com/awslabs/karpenter/commit/cd774f5cfa4f74d3f6c7b5bcbf4820d4870c0325
Need more tests, but blocked on more robust implementation of the reallocation controller. Without that robust implementation, the GHA tests run into race-conditions.

we have tests now.


Streamline rules request

Description
Streamline rules request via RuleViewModelActor
Issues Resolved
Closes #278
Closes #268
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The windows cypress test failure was due to a slower loading time and unrelated to the changes made in this PR, hence it was okay to merge the changes.


Add AnimatedIcon boilerplate and dev design docs.

This PR contains a couple of dev design docs for the new AnimatedIcon control that I would also like the team to review. It also contains the boilerplate for the control with the idl commented out.

Has any thought been given to how this control would handle fallback.  If the compositor can't create the visuals - or if the user has turned Animations off in the OS settings?

Has any thought been given to how this control would handle fallback. If the compositor can't create the visuals - or if the user has turned Animations off in the OS settings?

If animations are turned off, we could jump to the final position without animating. We will need a fallback story if there is no platform support to even show the visual (which i assume is what you mean by compositor can't create the visuals). @simeoncran  as FYI

If animations are turned off, we could jump to the final position without animating. We will need a fallback story if there is no platform support to even show the visual (which i assume is what you mean by compositor can't create the visuals).
@ranjeshj  - interesting case. How far back do we need to support. If we can assume at least version 1803 (UAP v6) then it should always be possible to create the visuals, but they won't always look right, depending on the content. For example:
Radial gradients and masks require UAP v8. Path key frame animations require v11.
If the Lottie depends on radial gradients and masks for the non-animated frame then we can't do much with the Lottie file. If the Lottie depends on path key frame animations, the LottieGen could generate a separate non-animated Visual tree for the non-animated case.
A more general solution would be to have the designer provide a fallback image, preferably as an SVG so it retains the vector graphics goodness. Or LottieGen could generate an SVG (it can't currently do this, but it seems feasible) for a well known marker name.

Thoughts?

If animations are turned off, we could jump to the final position without animating. We will need a fallback story if there is no platform support to even show the visual (which i assume is what you mean by compositor can't create the visuals).
@ranjeshj  - interesting case. How far back do we need to support. If we can assume at least version 1803 (UAP v6) then it should always be possible to create the visuals, but they won't always look right, depending on the content. For example:
Radial gradients and masks require UAP v8. Path key frame animations require v11.
If the Lottie depends on radial gradients and masks for the non-animated frame then we can't do much with the Lottie file. If the Lottie depends on path key frame animations, the LottieGen could generate a separate non-animated Visual tree for the non-animated case.
A more general solution would be to have the designer provide a fallback image, preferably as an SVG so it retains the vector graphics goodness. Or LottieGen could generate an SVG (it can't currently do this, but it seems feasible) for a well known marker name.

Thoughts?

We currently support up to RS2 (1803 is RS4). This is a WinUI2 specific issue (non-issue in WinUI3), so if we can handle it gracefully in the AnimatedIcon or Lottie, that would be ideal. If we are using this in WinUI controls, we could light it up only in newer OSes using conditional markup (like use FontIcon for down-level and AnimatedIcon post 1803). An app directly using AnimatedIcon will need a fallback mechanism. One option is a fallback IconElement (which can be fonticon or the new ImageIcon which can host svg)

What is the future of this PR given that there is #3750 now?


How to use paged response?

I don't understand something. There is a way to get the next and previous URIs for the paged response but how do I use it? I don't see how to pass it back to the Configuration or let's say DevicesApi to request another page.

Only documentation is that from SmartThings own swagger: https://swagger.api.smartthings.com/public/st-api.yml


Removed compiled binary

As best practice, I've removed the compiled binary from the project, users who need the compiled binary will need to compile the project. Perhaps add this project to NuGet?
Also updated documentation to match these changes.

You are totally right, adding this project to NuGet is on the roadmap.
I just did not find time to do this yet. Once i do it, I will remove the binaries.
Until then I will leave this Pull Request open


[red-knot] don't emit divide-by-zero error if we can't be sure

If the LHS is just int or float type, that type includes custom subclasses which can arbitrarily override division behavior, so we shouldn't emit a divide-by-zero error in those cases.

After further thought, I'm questioning this change. In general we do emit diagnostics when an error is possible for some inhabitants of a type, but not other inhabitants. The user should fix it by narrowing their type annotation so it's specific to the type that wouldn't cause the error. I think the same logic applies here. So I'm inclined to revert this.


Splunk alert on errors

Summary
We need a good way to have an alert which occurs when there are errors in the logs, but we don't want to include errors from resource version conflicts which are transient.
The only way I can think of to do this is to use a Splunk Alert which looks for "error" level but filters out the resource version conflict errors. (From the log I'm looking at now, I see this text: "the object has been modified; please apply your changes to the latest version and try again". I am not sure whether this is always the exact text or not.)
According to @calvinx408, Splunk has the concept of a "federated alert". We can request splunk team (@avaz in Slack) to create the alert across all of splunk for our Numaflow AddOn, index "iks".

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

moved this to Internal repo: https://github.intuit.com/oss-analytics/numa-manifest-generator/issues/128


Ability to create a folder hierarchy containing decades?

Because my daily notes contain information spanning multiple generations of people, I would like to have the ability to have my folder hierarchy include a "decades" level, such as "1990s", "1920s", or "2020s". The rest of my hierarchy can easily be created using the {{date}} variable with the desired formatting, but unless the "Folder" field can interpret math or perform string manipulation, I don't see anything in the Moment formatting docs that would make this possible.
As a concrete example, if I have a daily note for February 11, 1959, I would like the folder hierarchy to look like this, with the YYYY-MM-DD being the actual daily note:
Calendar/1950s/1959/02/1959-02-11
Is there something I'm missing that makes this possible?

unfortunately moment does not have decades support
and while variables has simple date manipulation (add/subtract days/weeks etc) it is not enough to get decade
I think I'll extends variables with startOf/endOf support and add decade as one of options
so in your case it will look like something like {{date<startOf=decade>:YYYY[s]}}

That sounds great! If there's anything I can do to help test it, please let me know.

One last question: Until this feature is released, I can set up my folder hierarchy to be based only on year and month so that the hierarchy for my example February 11, 1959 daily note would look like this:
Calendar/1959/02/1959-01-11
Once a release with the decades feature is available, would I be facing any problems if I updated the "Folder" field and then manually created decades folders for the existing daily notes and manually moved the year folders into them? In other words, is there some statefulness that the plugin maintains that would then be inconsistent with the manually-modified folder hierarchy?

Plugin uses frontmatter properties from note to connect it to journal
So if folder settings changes - old notes are still in journal even if they are in old folder
And moving notes to different folder is totally fine from plugin standpoint
I also consider adding some kind of maintenance functionality to journal - so that after adjusting settings you can press a button and get existing notes moved/renamed to align with new settings.


How to listen to changes?

Hi there,
I am working with your dropdown. I like the implementation and have decided to invest time on it. I am using it with React.js and could not figure out how to listen to onChange event? Do you know how I can get a event dispatched from the library and save the selected list into a state?
I wish you a good day!
Gaurav

Hi I am using it in my Laravel project.
So here is how I am getting changes.
let's say there is a select element with multiple attribute and with id="selectDropDown". What  I did was to register an event listener on that select with perticular id and in the callback function you will get the changes that have been made. As if you see the code MultiselectDropdown down you will find there is dispatch of event to original select element.
I am not sure about React. you may get some clue.

Interesting. Thanks for the lead, I will try it today.


Add acknowledgement file to the repo

Acknowledgements template:
https://github.com/marbl/MUMmer3/blob/master/ACKNOWLEDGEMENTS

PR for the acknowledgement file here:
https://github.com/cioos-siooc/pyobistools/pull/42


koreader touch input doesn't work (stylus input is fine)

After setting up koreader on remarkable2, I have a problem with a touch input. It doesn't work. Operating using stylus works without any problems, but the touching using fingers does not. Is it a issue of the current remarkable2-framebuffer set-up or the koreader itself?

get the latest master of koreader
On Thu, 12 Nov 2020 at 12:20 Witos<EMAIL_ADDRESS>wrote:

After setting up koreader on remarkable2, I have a problem with a touch
input. It doesn't work. Operating using stylus works without any problems,
but the touching using fingers does not. Is it a issue of the current
remarkable2-framebuffer set-up or the koreader itself?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ddvk/remarkable2-framebuffer/issues/20, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIYZFLQQ6CV5MUYEGMQAP2TSPPAIDANCNFSM4TTE575Q
.

isn't the x axis also inverted? or is that fix in master?

no, there are a couple of fixes that need to be added  (x y adjustment and the inverted x)

On 12 Nov 2020, at 14:19, raisjn<EMAIL_ADDRESS>wrote:

isn't the x axis also inverted? or is that fix in master?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I built latest koreader master and tested. The problem remains. Maybe my set-up is wrong:
LD_PRELOAD=/home/root/fb/librm2fb_server.so /usr/bin/remarkable-shutdown &
LD_PRELOAD=/home/root/fb/librm2fb_client.so ./koreader.sh
?

koreader  needs some minor changes,  i ll push them
when i have time
On Thu, 12 Nov 2020 at 21:32 Witos<EMAIL_ADDRESS>wrote:

I built latest koreader master and tested. The problem remains. Maybe my
set-up is wrong:
LD_PRELOAD=/home/root/fb/librm2fb_server.so /usr/bin/remarkable-shutdown &
LD_PRELOAD=/home/root/fb/librm2fb_client.so ./koreader.sh
?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ddvk/remarkable2-framebuffer/issues/20#issuecomment-726326146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIYZFLWGQV63S2N62CDCZWLSPRA6PANCNFSM4TTE575Q
.

@Witos
here are the changes that needed for koreader:
(and the latest frontend/device/gesturerecognizer.lua)
https://github.com/ddvk/koreader/commit/31d1f7b25150b32a1de60514e365e71990219b2d

@ddvk , compiled your repo, there is a crash on start-up. Attaching crash.log
crash.log

i added a minor fix, you can get the latest version, same repo. i am ashamed to admit, but i can't compile koreader at the moment.

Damn it, I missed that you didn't commit your patch on master but on rm2, will try again. Maybe I can help with compilation somehow?
Generally, I'm interested in koreader / remarkable development,I know some stuff, I've been Linux embedded dev for few years..

#Good news: touch works, at least at basic level.
#Bad news: the screen is not refreshed properly. I had some minor issues in the previous koreader version but I fixed it turning "night mode" on and off. This time it doesn't help.I suspect it might be regression in koreader, I'll check vanilla version over the weekend. I'm using rm2-fb today checkout, and rm2 branch of koreader.

Good news: I rebooted the devices, set-up everything once again. It works like a charm. Will test it for the few days.

you can try the latest: lib2rmfb_server, should have refresh etc

Thanks @ddvk , I think it's worth to make Pull Request to koreader with this patch.
It works fine so far for me. Now I need to make wifi in Koreader work...


Updated phone authentication MFA options

Added Authenticator App - TOTP as an option for 2FA

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

#label:"aq-pr-triaged"

Dear @bolt-io
Thank you for your contribution.
Please commit our suggested changes. We'll then sign-off your PR.
Thanks.

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

Thanks for the suggestion, committed as requested @kengaderdus

#sign-off


Doc - Elaborate what 'vhd_prefix' parameter means

http://azure-sdk-for-python.readthedocs.org/en/v2.0.0rc1/ref/azure.mgmt.compute.models.html#azure.mgmt.compute.models.VirtualMachineCaptureParameters
For VirtualMachineCaptureParameters is vhd_prefix value given a vhd blob with this name:
myvhdblob.vhd

myvhdblob?

Hi @sedouard did you figure out this one?

Its the prefix of the VHD name. so if your vhd is os-disk123098135.vhd and your vhd prefix is set to 'os-disk' it gets copied.
I think it's to make it easier to copy the vhd without having to know the exact file name.