Migration AddSemVer2LatestVersionColumns order causes migration confusion

The merge of SemVer2 changes included a migration which is ordered before several migrations which have already deployed. I’m not sure whether this ordering caused any issues with the INT deployment, but I think we should investigate before going to PROD.
201704242001472_AddSemVer2LatestVersionColumns.resx
201705031714183_AddIndexSemVerLevelKey.resx
201705032101231_SecurityPoliciesFix.resx
201705041614287_UserSecurityPolicies_SubscriptionColumn.resx
This does causes the following warning, indicating that the model and schema are not in sync:
ERROR: Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration.
EF apparently creates a model snapshot with each migration. Due to this ordering issue, the last 3 migrations likely don’t know about the AddSemVer2LatestVersionColumns migration… hence the message above.
See: https://stackoverflow.com/questions/19136066/why-does-add-migration-sometimes-create-duplicate-migrations
I suggest we do the following:

Remove the<PHONE_NUMBER>01472_AddSemVer2LatestVersionColumns migration
Recreate AddSemVer2LatestVersionColumns as the last migration
Rollback / reapply migrations in DEV/INT if ordering needs fixed

Fixed with #4062, merged to both master and dev. DEV/INT migration history was also updated.


one small barrier in starting the standalone cluster

Describe the bug
When I started a local standalone cluster according to the documentation, I encountered a small problem that the standalone cluster start failure.
Using the following command
bin/pulsar standalone

The error message is as follows:
Caused by: java.net.UnknownHostException: failed to resolve 'pdeMacBook-Pro.local' after 4 queries
	at io.netty.resolver.dns.DnsResolveContext.finishResolve(DnsResolveContext.java:848) ~[io.netty-netty-all-4.1.32.Final.jar:4.1.32.Final]
	at io.netty.resolver.dns.DnsResolveContext.tryToFinishResolve(DnsResolveContext.java:809) ~[io.netty-netty-all-4.1.32.Final.jar:4.1.32.Final]

To Reproduce
Steps to reproduce the behavior:
wget https://archive.apache.org/dist/pulsar/pulsar-2.4.2/apache-pulsar-2.4.2-bin.tar.gz
tar xvfz apache-pulsar-2.4.2-bin.tar.gz
bin/pulsar standalone

Desktop (please complete the following information):

OS: Mac OS

Additional context
Actually, I have solved this problem by editing "advertisedAddress" configuration in standalone.conf.

If this issue is important enough, i can add some tips in standalone documentation.

@Jennifer88huang @codelipenghui @zhaijack @sijie PTAL.

Actually, I have solved this problem by editing "advertisedAddress" configuration in standalone.conf.
@fangpengcheng95  right, you need advertisedAddress setting in conf file. or use command like: bin/pulsar standalone -a <IP_ADDRESS> to assign the advertisedAddress.

It is appreciate if you could improve the documentation.

#5998 is for the fix

Thanks @fangpengcheng95 for the PR


Customized date groups

I think it's best to use:
:customized-dates="[
  {
    dates: ['2019-03-21', '2019-03-22', '2019-03-23'],
    cssClass: 'booked'
  },
  {
    dates: ['2019-03-29', '2019-03-30'],
    cssClass: 'not-available'
  },
]"

That way we only need one property, and it's really clear what class to add to the specified dates.

perfect!

Updated!! Please take a look @MikaelEdebro

Hi! Sorry for the delay. Have been really busy with work and other stuff. :)
I'll have a look at this in the upcoming days. I'll just have to pull the branch and test locally, and write some docs in the readme.

No problem! Let me know if I can help with something

@sikandartariq1 It would be great if you can document this in https://github.com/MikaelEdebro/vue-airbnb-style-datepicker/blob/master/docs/INSTALLATION.md#props-and-events

Thanks for the contribution. This is now released in https://github.com/MikaelEdebro/vue-airbnb-style-datepicker/releases/tag/v2.6.0

Cool, thanks!


Block param names do not exist when changing languages

If you start an app in one language and use any blocks with parameters like in the following picture:

When you switch languages, the parameters get translated, but the local variables (get blocks within the block) are not reloaded in the new language, and they show out of scope errors, as seen in the following picture:

Users need to manually change all local var blocks to get rid of the errors.

Thanks!
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
On Thu, Feb 18, 2016 at 4:38 PM, Jos<EMAIL_ADDRESS>wrote:

If you start an app in one language and use any blocks with parameters
like in the following picture:
[image: english_params]
https://cloud.githubusercontent.com/assets/194925/13158970/5c0207b4-d687-11e5-8daf-547097c7573c.png
When you switch languages, the parameters get translated, but the local
variables (get blocks within the block) are not reloaded in the new
language, and they show out of scope errors, as seen in the following
picture:
[image: spanish_params]
https://cloud.githubusercontent.com/assets/194925/13159033/b68d2baa-d687-11e5-9a59-c854c44078b4.png
Users need to manually change all local var blocks to get rid of the
errors.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/708.

I am interested in solving in this bug. Can anyone say in which direction to proceed.

Hi @avinasha39 thanks for your interest.
First thing to look at would be to get familiar with the internationalisation code. You could create a component and see what's needed in terms of i18n. From there on, you could look at the actual code that does the translation (the code used by the component), and try to figure out what needs to be changed.

I have successfully build the app inventor but while trying to run in on local host i am getting a error .
i have downloaded google appengine-java-sdk-1.9.32
avinash@ubuntu:~/Downloads/appengine-java-sdk-1.9.32/bin$ ./dev_appserver.sh --localport=8888 --address=<IP_ADDRESS> &/Desktop/appinventor-sources/appinventor/appengine/war
[2] 6669
bash: /Desktop/appinventor-sources/appinventor/appengine/war: No such file or directory
[1]   Exit 1                  ./dev_appserver.sh --localport=8888 --address=<IP_ADDRESS>
avinash@ubuntu:~/Downloads/appengine-java-sdk-1.9.32/bin$ Usage: <dev-appserver> [options] <app directory>

Options:
 --help, -h                 Show this help message and exit.
 --sdk_root=DIR             Overrides where the SDK is located.
 --server=SERVER            The server to use to determine the latest
  -s SERVER                   SDK version.
 --address=ADDRESS          The address of the interface on the local machine
  -a ADDRESS                  to bind to (or <IP_ADDRESS> for all interfaces).
 --port=PORT                The port number to bind to on the local machine.
  -p PORT
 --disable_update_check     Disable the check for newer SDK versions.
 --generated_dir=DIR        Set the directory where generated files are created.
 --default_gcs_bucket=NAME  Set the default Google Cloud Storage bucket name.
 --jvm_flag=FLAG            Pass FLAG as a JVM argument. May be repeated to
                              supply multiple flags.

App inventor source code is in /Desktop/appinventor-sources/appinventor/appengine/
and  appengine-java-sdk   is in /Downloads/appengine-java-sdk-1.9.32

Not sure why the previous message is not appearing in the thread. Anyway,
please ask for help in the Open source forum at:
https://groups.google.com/forum/#!forum/app-inventor-open-source-dev
cheers,
José
On 3 March 2016 at 20:26, Avinash Agarwal<EMAIL_ADDRESS>wrote:

I have successfully build the app inventor but while trying to run in on
local host i am getting a error .
i have downloaded google appengine-java-sdk-1.9.32
avinash@ubuntu:~/Downloads/appengine-java-sdk-1.9.32/bin$ ./dev_appserver.sh --localport=8888 --address=<IP_ADDRESS> &/Desktop/appinventor-sources/appinventor/appengine/war
[2] 6669
bash: /Desktop/appinventor-sources/appinventor/appengine/war: No such file or directory
[1]   Exit 1                  ./dev_appserver.sh --localport=8888 --address=<IP_ADDRESS>
avinash@ubuntu:~/Downloads/appengine-java-sdk-1.9.32/bin$ Usage:  [options]
Options:
--help, -h                 Show this help message and exit.
--sdk_root=DIR             Overrides where the SDK is located.
--server=SERVER            The server to use to determine the latest
-s SERVER                   SDK version.
--address=ADDRESS          The address of the interface on the local machine
-a ADDRESS                  to bind to (or <IP_ADDRESS> for all interfaces).
--port=PORT                The port number to bind to on the local machine.
-p PORT
--disable_update_check     Disable the check for newer SDK versions.
--generated_dir=DIR        Set the directory where generated files are created.
--default_gcs_bucket=NAME  Set the default Google Cloud Storage bucket name.
--jvm_flag=FLAG            Pass FLAG as a JVM argument. May be repeated to
supply multiple flags.
App inventor source code is in
/Desktop/appinventor-sources/appinventor/appengine/
and appengine-java-sdk is in /Downloads/appengine-java-sdk-1.9.32
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/708#issuecomment-191948230
.

I was having trouble in running app inventor on local host , but after the command
./dev_appserver.sh --localport=8888 --address=<IP_ADDRESS> &/Desktop/appinventor-sources/appinventor/appengine/build/war
the problem was solved.
Thanks for all the trouble guys.

Hi, I'm interested in contributing to this.
Please, guide me ...
Thanks,
Yaqoob

I think this was fixed in PR #826 by commit f274d33. I do not see this behavior switching from English to Spanish with the latest version of AppInventor. Can anyone confirm that this is still an open issue?

I believe it is still an issue when I visited ai2.appinventor.mit.edu; i
tested it in Chinese.
On Sun, Sep 18, 2016 at 7:06 PM, Evan W. Patton<EMAIL_ADDRESS>wrote:

I think this was fixed in PR #826
https://github.com/mit-cml/appinventor-sources/pull/826 by commit
f274d33
https://github.com/mit-cml/appinventor-sources/commit/f274d33e1fd4397940ee918b1283c4cfbd8cbfa3.
I do not see this behavior switching from English to Spanish with the
latest version of AppInventor. Can anyone confirm that this is still an
open issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/708#issuecomment-247899897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsWg03eP6fXjlkO77b69heCkIDvJnCSks5qre4lgaJpZM4HdeiP
.

--
WeiHua James Li
<EMAIL_ADDRESS>

This was fixed, but now is not. I need to track down why this is broken again.

See the screenshot on this post as an example.


Release: 0.1.0

Changes in 0.1.0

@eopa: First release
@eopa: Changed name of project to angular-start

Coverage remained the same at 100.0% when pulling ec506eb07d2d709465429e684cc76df0a5e814b1 on release/0.1.0 into 9041b7dbd4e3e7943600bb56a826f3e8bb2b58ef on master.


Documentation site lagging behind the GitHub repo doc files?

There seems to be some discrepancy between live docs (browsing "latest" docs) and GitHub repository docs.
On doc site:

GitHub repo:

The doc site is missing $promise variable.

Oh, yeah, I see it now. Probably because the .html is static and it gets cached client side. All is good, thanks!


Fix lsp not triggering when opening a file from cli

This PR closes issue #3891
Just a note I am a beginner, so there might be better ways to solve it.

Hi, thanks for the PR but I cannot accept it. The *-local-vars-hook family of hooks were created specifically for launching servers (and LSP). Moving them off of them is not an acceptable solution and will introduce a multitude of other issues. Another solution is needed.
Thanks for the attempt, in any case.


Sonobuoy Conformance on EKS-A on Baremetal shows failures.

I was trying to run a Conformance test using Sonobuoy on EKS-A deployed on Bare metal with partner hardware Equinix. The Sonobuoy validation failed with following errors when I ran this with sonobuoy v0.56.10.
When i ran with Sonobuoy v0.50.0, Sonobuoy validation never made a progress and thats another error i want to report.
Appreciate if you can take a look in to these failures and lets us know if these are good to go or we will be having any bug fixes to EKSA version. Thanks in advance.

[Fail] [sig-scheduling] SchedulerPredicates [Serial] [It] validates that NodeSelector is respected if not matching  [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduling/predicates.go:436

[Fail] [sig-scheduling] SchedulerPredicates [Serial] [It] validates that there exists conflict between pods with same hostPort and protocol but one using <IP_ADDRESS> hostIP [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduling/predicates.go:1068

[Fail] [sig-apps] Daemon set [Serial] [It] should rollback without unnecessary restarts [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:432

[Fail] [sig-scheduling] SchedulerPredicates [Serial] [It] validates resource limits of pods that are allowed to run  [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduling/predicates.go:323```

Hey @elamaran11, thanks for reporting this. I'm not seeing any failures testing on bare metal hardware with v0.56.10. My initial impression is there is possibly something specific to Equinix Metal, and/or deployment options, etc.
Would you mind sharing the details of your cluster creation, please (cluster spec, hardware csv, etc)? Are you following the Equinix guide here?
I will test on Equinix Metal to see about reproducing. Thanks again for the report!

@jacobweinstock  Here is my hardware.csv file :
hostname,vendor,mac,ip_address,gateway,netmask,nameservers,disk,labels
eksa-node-cp-001,Equinix,10:70:fd:86:eb:f6,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,/dev/sda,type=cp
eksa-node-dp-001,Equinix,10:70:fd:7f:94:9e,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,/dev/sda,type=dp```

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Cluster
metadata:
name: my-eksa-cluster
namespace: default
spec:
bundlesRef:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
name: bundles-15
namespace: eksa-system
clusterNetwork:
cniConfig:
cilium: {}
pods:
cidrBlocks:
- <IP_ADDRESS>/16
services:
cidrBlocks:
- <IP_ADDRESS>/12
controlPlaneConfiguration:
count: 1
endpoint:
host: <IP_ADDRESS>
machineGroupRef:
kind: TinkerbellMachineConfig
name: my-eksa-cluster-cp
datacenterRef:
kind: TinkerbellDatacenterConfig
name: my-eksa-cluster
kubernetesVersion: "1.23"
managementCluster:
name: my-eksa-cluster
workerNodeGroupConfigurations:

count: 1
machineGroupRef:
kind: TinkerbellMachineConfig
name: my-eksa-cluster
name: md-0

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellDatacenterConfig
metadata:
name: my-eksa-cluster
namespace: default
spec:
tinkerbellIP: <IP_ADDRESS>

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellMachineConfig
metadata:
annotations:
anywhere.eks.amazonaws.com/control-plane: "true"
name: my-eksa-cluster-cp
namespace: default
spec:
hardwareSelector:
type: cp
osFamily: bottlerocket
templateRef:
kind: TinkerbellTemplateConfig
name: my-eksa-cluster
users:

name: ec2-user
sshAuthorizedKeys:

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellMachineConfig
metadata:
name: my-eksa-cluster
namespace: default
spec:
hardwareSelector:
type: dp
osFamily: bottlerocket
templateRef:
kind: TinkerbellTemplateConfig
name: my-eksa-cluster
users:

name: ec2-user
sshAuthorizedKeys:

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellTemplateConfig
metadata:
name: my-eksa-cluster
namespace: default
spec:
template:
global_timeout: 6000
id: ""
name: my-eksa-cluster
tasks:
- actions:
- environment:
COMPRESSED: "true"
DEST_DISK: /dev/sda
IMG_URL: https://anywhere-assets.eks.amazonaws.com/releases/bundles/15/artifacts/raw/1-23/bottlerocket-v1.23.7-eks-d-1-23-4-eks-a-15-amd64.img.gz
image: public.ecr.aws/eks-anywhere/tinkerbell/hub/image2disk:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-15
name: stream-image
timeout: 600
- environment:
CONTENTS: |
# Version is required, it will change as we support
# additional settings
version = 1
        # "eno1" is the interface name
        # Users may turn on dhcp4 and dhcp6 via boolean
        [enp1s0f0np0]
        dhcp4 = true
        dhcp6 = false
        # Define this interface as the "primary" interface
        # for the system.  This IP is what kubelet will use
        # as the node IP.  If none of the interfaces has
        # "primary" set, we choose the first interface in
        # the file
        primary = true
      DEST_DISK: /dev/sda12
      DEST_PATH: /net.toml
      DIRMODE: "0755"
      FS_TYPE: ext4
      GID: "0"
      MODE: "0644"
      UID: "0"
    image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-15
    name: write-netplan
    pid: host
    timeout: 90
  - environment:
      BOOTCONFIG_CONTENTS: |
        kernel {
            console = "ttyS1,115200n8"
        }
      DEST_DISK: /dev/sda12
      DEST_PATH: /bootconfig.data
      DIRMODE: "0700"
      FS_TYPE: ext4
      GID: "0"
      MODE: "0644"
      UID: "0"
    image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-15
    name: write-bootconfig
    pid: host
    timeout: 90
  - environment:
      DEST_DISK: /dev/sda12
      DEST_PATH: /user-data.toml
      DIRMODE: "0700"
      FS_TYPE: ext4
      GID: "0"
      HEGEL_URLS: http://<IP_ADDRESS>:50061,http://<IP_ADDRESS>:50061
      MODE: "0644"
      UID: "0"
    image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-15
    name: write-user-data
    pid: host
    timeout: 90
  - image: public.ecr.aws/eks-anywhere/tinkerbell/hub/reboot:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-15
    name: reboot-image
    pid: host
    timeout: 90
    volumes:
    - /worker:/worker
  name: my-eksa-cluster
  volumes:
  - /dev:/dev
  - /dev/console:/dev/console
  - /lib/firmware:/lib/firmware:ro
  worker: '{{.device_1}}'
version: "0.1"

Hey @elamaran11. Here's the results from my conformance test. I wasn't able to reproduce the failures you posted. I did get one failure, but it is only because my cluster had only a single worker node.
If you have only one worker node, Sonobuoy will throw the following error: [sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance] -- ref
I followed the guide from here, https://github.com/equinix-labs/terraform-equinix-metal-eks-anywhere, to setup the cluster.
cd terraform-equinix-metal-eks-anywhere/examples/deploy
terraform init
terraform apply

Then, on the admin node i ran the conformance test with sonobuoy version v0.56.10.
sonobuoy run --wait

Results
Plugin: e2e
Status: failed
Total: 7050
Passed: 343
Failed: 1
Skipped: 6706

Failed tests:
[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]

Plugin: systemd-logs
Status: passed
Total: 2
Passed: 2
Failed: 0
Skipped: 0

Run Details:
API Server version: v1.23.9-eks-68c1cba
Node health: 2/2 (100%)
Pods health: 35/36 (97%)
Details for failed pods:
sonobuoy/sonobuoy-e2e-job-62d8ed75dd74406a Ready:False: ContainersNotReady: containers with unready status: [e2e sonobuoy-worker]
Errors detected in files:
Errors:
1705 podlogs/kube-system/cilium-jdlsz/logs/cilium-agent.txt
1347 podlogs/kube-system/kube-controller-manager-<IP_ADDRESS>/logs/kube-controller-manager.txt
 588 podlogs/sonobuoy/sonobuoy-e2e-job-62d8ed75dd74406a/logs/e2e.txt
 107 podlogs/kube-system/kube-apiserver-<IP_ADDRESS>/logs/kube-apiserver.txt
  70 podlogs/kube-system/kube-scheduler-<IP_ADDRESS>/logs/kube-scheduler.txt
   8 podlogs/kube-system/kube-proxy-vkptp/logs/kube-proxy.txt
   8 podlogs/kube-system/kube-proxy-tp52s/logs/kube-proxy.txt
   5 podlogs/kube-system/cilium-6thdk/logs/cilium-agent.txt
   1 podlogs/kube-system/etcd-<IP_ADDRESS>/logs/etcd.txt
   1 podlogs/kube-system/kube-vip-<IP_ADDRESS>/logs/kube-vip.txt
Warnings:
486 podlogs/kube-system/kube-controller-manager-<IP_ADDRESS>/logs/kube-controller-manager.txt
379 podlogs/kube-system/cilium-jdlsz/logs/cilium-agent.txt
103 podlogs/kube-system/kube-apiserver-<IP_ADDRESS>/logs/kube-apiserver.txt
 37 podlogs/kube-system/kube-scheduler-<IP_ADDRESS>/logs/kube-scheduler.txt
 14 podlogs/sonobuoy/sonobuoy-e2e-job-62d8ed75dd74406a/logs/e2e.txt
 10 podlogs/kube-system/cilium-6thdk/logs/cilium-agent.txt
  4 podlogs/kube-system/etcd-<IP_ADDRESS>/logs/etcd.txt
  2 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt

Here is the final generated EKSA cluster config:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Cluster
metadata:
  name: my-eksa-cluster
spec:
  clusterNetwork:
    cniConfig:
      cilium: {}
    pods:
      cidrBlocks:
        - <IP_ADDRESS>/16
    services:
      cidrBlocks:
        - <IP_ADDRESS>/12
  controlPlaneConfiguration:
    count: 1
    endpoint:
      host: "<IP_ADDRESS>"
    machineGroupRef:
      kind: TinkerbellMachineConfig
      name: my-eksa-cluster-cp
  datacenterRef:
    kind: TinkerbellDatacenterConfig
    name: my-eksa-cluster
  kubernetesVersion: "1.23"
  managementCluster:
    name: my-eksa-cluster
  workerNodeGroupConfigurations:
    - count: 1
      machineGroupRef:
        kind: TinkerbellMachineConfig
        name: my-eksa-cluster
      name: md-0
---
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellDatacenterConfig
metadata:
  name: my-eksa-cluster
spec:
  tinkerbellIP: "<IP_ADDRESS>"
---
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellMachineConfig
metadata:
  name: my-eksa-cluster-cp
spec:
  hardwareSelector:
    type: cp
  osFamily: bottlerocket
  templateRef:
    kind: TinkerbellTemplateConfig
    name: cp-my-eksa-cluster-m3-small-x86
  users:
    - name: ec2-user
      sshAuthorizedKeys:
        - ssh-rsa AA...
---
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellMachineConfig
metadata:
  name: my-eksa-cluster
spec:
  hardwareSelector:
    type: dp
  osFamily: bottlerocket
  templateRef:
    kind: TinkerbellTemplateConfig
    name: dp-my-eksa-cluster-m3-small-x86
  users:
    - name: ec2-user
      sshAuthorizedKeys:
        - ssh-rsa AA...
---
{}
---
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellTemplateConfig
metadata:
  name: cp-my-eksa-cluster-m3-small-x86
spec:
  template:
    global_timeout: 6000
    id: ""
    name: cp-my-eksa-cluster-m3-small-x86
    tasks:
    - actions:
      - environment:
          COMPRESSED: "true"
          DEST_DISK: /dev/sda
          IMG_URL: https://anywhere-assets.eks.amazonaws.com/releases/bundles/17/artifacts/raw/1-23/bottlerocket-v1.23.9-eks-d-1-23-5-eks-a-17-amd64.img.gz
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/image2disk:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: stream-image
        timeout: 600
      - environment:
          CONTENTS: |
            # Version is required, it will change as we support
            # additional settings
            version = 1

            # "eno1" is the interface name
            # Users may turn on dhcp4 and dhcp6 via boolean
            [enp1s0f0np0]
            dhcp4 = true
            dhcp6 = false
            # Define this interface as the "primary" interface
            # for the system.  This IP is what kubelet will use
            # as the node IP.  If none of the interfaces has
            # "primary" set, we choose the first interface in
            # the file
            primary = true
          DEST_DISK: /dev/sda12
          DEST_PATH: /net.toml
          DIRMODE: "0755"
          FS_TYPE: ext4
          GID: "0"
          MODE: "0644"
          UID: "0"
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: write-netplan
        pid: host
        timeout: 90
      - environment:
          BOOTCONFIG_CONTENTS: |
            kernel {
                console = "ttyS1,115200n8"
            }
          DEST_DISK: /dev/sda12
          DEST_PATH: /bootconfig.data
          DIRMODE: "0700"
          FS_TYPE: ext4
          GID: "0"
          MODE: "0644"
          UID: "0"
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: write-bootconfig
        pid: host
        timeout: 90
      - environment:
          DEST_DISK: /dev/sda12
          DEST_PATH: /user-data.toml
          DIRMODE: "0700"
          FS_TYPE: ext4
          GID: "0"
          HEGEL_URLS: http://<IP_ADDRESS>:50061,http://<IP_ADDRESS>:50061
          MODE: "0644"
          UID: "0"
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: write-user-data
        pid: host
        timeout: 90
      - image: public.ecr.aws/eks-anywhere/tinkerbell/hub/reboot:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: reboot-image
        pid: host
        timeout: 90
        volumes:
        - /worker:/worker
      name: cp-my-eksa-cluster-m3-small-x86
      volumes:
        - /dev:/dev
        - /dev/console:/dev/console
        - /lib/firmware:/lib/firmware:ro
      worker: '{{.device_1}}'
    version: "0.1"
---
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellTemplateConfig
metadata:
  name: dp-my-eksa-cluster-m3-small-x86
spec:
  template:
    global_timeout: 6000
    id: ""
    name: dp-my-eksa-cluster-m3-small-x86
    tasks:
    - actions:
      - environment:
          COMPRESSED: "true"
          DEST_DISK: /dev/sda
          IMG_URL: https://anywhere-assets.eks.amazonaws.com/releases/bundles/17/artifacts/raw/1-23/bottlerocket-v1.23.9-eks-d-1-23-5-eks-a-17-amd64.img.gz
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/image2disk:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: stream-image
        timeout: 600
      - environment:
          CONTENTS: |
            # Version is required, it will change as we support
            # additional settings
            version = 1

            # "eno1" is the interface name
            # Users may turn on dhcp4 and dhcp6 via boolean
            [enp1s0f0np0]
            dhcp4 = true
            dhcp6 = false
            # Define this interface as the "primary" interface
            # for the system.  This IP is what kubelet will use
            # as the node IP.  If none of the interfaces has
            # "primary" set, we choose the first interface in
            # the file
            primary = true
          DEST_DISK: /dev/sda12
          DEST_PATH: /net.toml
          DIRMODE: "0755"
          FS_TYPE: ext4
          GID: "0"
          MODE: "0644"
          UID: "0"
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: write-netplan
        pid: host
        timeout: 90
      - environment:
          BOOTCONFIG_CONTENTS: |
            kernel {
                console = "ttyS1,115200n8"
            }
          DEST_DISK: /dev/sda12
          DEST_PATH: /bootconfig.data
          DIRMODE: "0700"
          FS_TYPE: ext4
          GID: "0"
          MODE: "0644"
          UID: "0"
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: write-bootconfig
        pid: host
        timeout: 90
      - environment:
          DEST_DISK: /dev/sda12
          DEST_PATH: /user-data.toml
          DIRMODE: "0700"
          FS_TYPE: ext4
          GID: "0"
          HEGEL_URLS: http://<IP_ADDRESS>:50061,http://<IP_ADDRESS>:50061
          MODE: "0644"
          UID: "0"
        image: public.ecr.aws/eks-anywhere/tinkerbell/hub/writefile:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: write-user-data
        pid: host
        timeout: 90
      - image: public.ecr.aws/eks-anywhere/tinkerbell/hub/reboot:6c0f0d437bde2c836d90b000312c8b25fa1b65e1-eks-a-17
        name: reboot-image
        pid: host
        timeout: 90
        volumes:
        - /worker:/worker
      name: dp-my-eksa-cluster-m3-small-x86
      volumes:
        - /dev:/dev
        - /dev/console:/dev/console
        - /lib/firmware:/lib/firmware:ro
      worker: '{{.device_1}}'
    version: "0.1"

Here is the hardware.csv:
hostname,vendor,mac,ip_address,gateway,netmask,nameservers,disk,labels
eksa-gi3g9q-node-cp-001,Equinix,10:70:fd:7f:99:a2,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,/dev/sda,type=cp
eksa-gi3g9q-node-dp-001,Equinix,10:70:fd:86:ee:aa,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,/dev/sda,type=dp

Hey @displague and @cprivitere, would either of you, by chance, have any thoughts or insights on this?

Looks like this was the only failed test. What does it test?

Looks like this was the only failed test, as you pointed out, because of the limited cluster size. What does it test?
Failed tests: [sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]

We've released v0.3.2 but I can't think of any significant changes you'd encounter in the previous builds.

Hey @displague, thanks for the response. Any insight into @elamaran11 's original failures at the very top, by chance?

Team -
ANy updates on this issue. We installed EKSA on Dell hardware and we ran Sonobuoy and we got same issues.

Team -
Any updates on this issue. We installed EKSA on Intell/Dell hardware for a customer and we ran Sonobuoy and we still see the following issues :
Summarizing 3 Failures:

[Fail] [sig-apps] Daemon set [Serial] [It] should rollback without unnecessary restarts [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:432

[Fail] [sig-scheduling] SchedulerPredicates [Serial] [It] validates that there exists conflict between pods with same hostPort and protocol but one using <IP_ADDRESS> hostIP [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduling/predicates.go:1068

[Fail] [sig-scheduling] SchedulerPredicates [Serial] [It] validates resource limits of pods that are allowed to run  [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduling/predicates.go:323

Ran 346 of 7044 Specs in 8646.423 seconds
FAIL! -- 343 Passed | 3 Failed | 0 Pending | 6698 Skipped
--- FAIL: TestE2E (8653.07s)


x/leverage: clear bad debt addresses which have gained collateral before being swept

Summary of Bug
🐞 🐞 🐞 🐞 🐞 🐞
Suppose the following sequence of events:

Borrower A is liquidated to zero collateral, 5 atom borrowed
Borrower A is registered as a bad debt, to be repaid next endblocker
Either before end of block, or later if atom reserves are exhausted, borrower A enables additional collateral

After these events, borrower A is still counted as a bad debt address, and EndBlock will attempt to repay all of its borrows, even though it is no longer undercollateralized.
Additionally, if borrower A is malicious, it can attempt to lend as much collateral as possible, then borrow as much as possible up to its new borrow limit, before the bad debt flag is cleared. Then EndBlock will pay off those debts for free, thus allowing the lent collateral to be withdrawn as well. Borrower A has stolen funds.
🐞 🐞 🐞 🐞 🐞 🐞
Le Solution
When sweeping bad debts to repay, clear the bad debt flag from any address that has nonzero collateral before action. GetBorrowerCollateral(ctx,addr).IsZero() can be used for this.
For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Yikes, very buggy indeed. Good catch. The user A here would have to submit multi-msg txs to execute this though, right?

They'd need the Liquidate + Lend/Enable + Borrow to occur before the next EndBlock and in that order -  or if reserves are exhausted (so bad debts aren't all repaid on the next EndBlock) then they could do it at their leisure.
An attacker's main difficulty would be intentionally achieving bad debt status without being liquidated by anyone first, but after that it's doable.

Yeah, that would be difficult but possible. Glad the fix is easy.
Do you think we have other edge cases like this? Would be neat to have invariants or simulations somehow catch this...


issues with libring (undefined reference to ring_core_0_17_8_....) while cross compiling to windows

On using an example flake.nix in the repo for cross compilation to windows (https://github.com/ipetkov/crane/blob/master/examples/cross-windows/flake.nix) I am getting these kind of errors during compilation:
 /nix/store/f03xyhj7d30cib79lmiw1xvp6xg2qbza-x86_64-w64-mingw32-binutils-2.41/bin/x86_64-w64-mingw32-ld: agent_code/target/x86_64-pc-windows-gnu/release/deps/libring-07cdff39a14e102f.rlib(ring-07cdff39a14e102f.ring.cd26c19d1cffd1c7-cgu.02.rcgu.o):ring.cd26c19d1cffd:(.text+0xaf0): undefined reference to `ring_core_0_17_8_LIMB_shr'
          /nix/store/f03xyhj7d30cib79lmiw1xvp6xg2qbza-x86_64-w64-mingw32-binutils-2.41/bin/x86_64-w64-mingw32-ld: agent_code/target/x86_64-pc-windows-gnu/release/deps/libring-07cdff39a14e102f.rlib(ring-07cdff39a14e102f.ring.cd26c19d1cffd1c7-cgu.02.rcgu.o):ring.cd26c19d1cffd:(.text+0xb7e): undefined reference to `ring_core_0_17_8_LIMBS_less_than'
          /nix/store/f03xyhj7d30cib79lmiw1xvp6xg2qbza-x86_64-w64-mingw32-binutils-2.41/bin/x86_64-w64-mingw32-ld: agent_code/target/x86_64-pc-windows-gnu/release/deps/libring-07cdff39a14e102f.rlib(ring-07cdff39a14e102f.ring.cd26c19d1cffd1c7-cgu.02.rcgu.o):ring.cd26c19d1cffd:(.text+0xb96): undefined reference to `ring_core_0_17_8_LIMBS_are_zero'
          /nix/store/f03xyhj7d30cib79lmiw1xvp6xg2qbza-x86_64-w64-mingw32-binutils-2.41/bin/x86_64-w64-mingw32-ld: agent_code/target/x86_64-pc-windows-gnu/release/deps/libring-07cdff39a14e102f.rlib(ring-07cdff39a14e102f.ring.cd26c19d1cffd1c7-cgu.02.rcgu.o):ring.cd26c19d1cffd:(.text+0xd8a): undefined reference to `ring_core_0_17_8_LIMBS_window5_split_window'

          .....

            = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

is there any way to fix these kind of errors? I wonder which packages or library paths I could be missing ?
(edit: fix formatting)

UPDATE:
I managed to fix it by adding
 TARGET_CC = "${pkgs.pkgsCross.mingwW64.stdenv.cc}/bin/${pkgs.pkgsCross.mingwW64.stdenv.cc.targetPrefix}cc";

If possible can this please be added to the example flake ?

I don't think cross-compilation is a specific focus of crane itself. It's complex and notoriously tricky, and different libraries with their C bindings etc. might have different requirements.
If you're interested in cross-compilation on top of crane, check https://github.com/rustshop/flakebox . You could contribute mingw target, and a lot of things have been already figured out there.

@drishal sure feel free to open a PR to update it!

@drishal sure feel free to open a PR to update it!

yes just opened a pull request :sweat_smile:


Preselect Single Value

Description
In any selection list where there is a single element, and the user is asked to select one, or at least one element, then it should be preselected.
The last commit is entirely optional. It simplifies SelectionRequirement. I am not 100% I prefer the new version, but it is more standard.
Screenshot

PR submission checklist

[x] I have tested account to account transfer flow and have confirmed that it works

This needs to be extended to also handle some more complex situations


support GopherJS bundles

https://github.com/gopherjs/gopherjs

A compiler from Go to JavaScript for running Go code in a browser

https://gopherjs.github.io/playground/

https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/

Gopherjs reverse engineering
Gopherjs is a compiler for the go language which compiles to pure javascript, it can be used to write go code which is executed on a webrowser, or where I found it, on a cordova app, while I was trying to reverse engineer an android apk.

https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#second-approach-analyzing-the-minified-code-structure

At a glance, we can get the following info:

First six lines, I will call it "header", it the same for all the projects, so we can ignore them, the only useful info is the go version, which also tell us the gopherjs version as they are linked.
Then we have a variable number of lines, were each line is a go package, we will split each of this lines in an individual file, so the IDE those not implode (which is what happens when you try to beautify the code all at once).
Lastly, we have 9 lines which are all the same for all the programs too, this is where everything starts whith the call to init(), but we will ignore this part for now.

https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#vscode-extension

To help with the decompiling process I will be writting a VScode extension which can be found here.

https://github.com/vik0t0r/gopherjsre

gopherjsRE is an attempt to make analysis of gopherjs produced files easier

https://github.com/vik0t0r/gopherjsre/blob/master/extension.js
https://github.com/vik0t0r/gopherjsre/blob/master/utils.js

https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#renaming-package-symbols
https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#renaiming-types-in-each-package
https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#renaiming-functions
https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#remove-goroutines-boilerplate
https://vik0t0r.github.io/posts/Gopherjs-reverse-engineering/#some-ideas-for-the-future

Some ideas for the future
Use a parser like this one to improve the decompiler extension. Or maybe run the code for its decompilation, as the $packages structure might contain really useful information, and maybe could be use for better reverse engineering.

Originally linked from https://gist.github.com/alexander-hanel/59af86b0154df44a2c9cebfba4996073?permalink_comment_id=4805421#gistcomment-4805421

cc // @vik0t0r FYI
See Also

https://github.com/j4k0xb/webcrack/issues/39
https://github.com/vik0t0r/gopherjsre/issues/1

This is an interesting project. I have checked a bit of details:
"use strict";
(function() {

// can be used to generate `go.mod` or `.go-version`
var $goVersion = "go1.17.9";
// prelude.js
var $global,$module;if(Error.stackTraceLimit=1/0,"undefined"!=typeof window?$glo

// chunks
$packages["github.com/gopherjs/gopherjs/js"]=(function(){var $pkg={},$init,A,B,J
$packages["runtime/internal/sys"]=(function(){var $pkg={},$init;$init=function()

Implementing such a feature is not overly complex. However, I would appreciate hearing more from @vik0t0r regarding their thoughts on this matter. I do not wish to merely duplicate the logic of another tool and potentially render it obsolete.

I will close this based on the response from the author in the original repo. For anyone who's interested in this, you can still manually run gopherjsRE and wakaru separately. Let's keep Wakaru focusing on being a JS debundler/unminifier.


Disable form initialization while submitting

Hi,
Thanks for the great work on redux-form. When initialValues are updated, INITIALIZE is called. This is great as it updates the form to the current version of the data. I have an edge case where the underlying data can change during submission, INITIALIZE resets the submitting flag, and thus it looks like the form is finished submitting. Is it possible not to INITIALIZE the form state while the form is submitting? (Would you accept a push request for that?)
Cheers,
Jaap

I assume that by the age of the question, you were probably using v5.
I never used it, but in v6 you can use enableReinitialize option. You could try using react-redux connect to set it to true only while not submitting. However, I don't know if it'll work (never tried).
Since you never manifested yourself again in this issue, I'll also assume you found a way out.
If you did, please let us know by posting your solution.


Revert "push images to the new Artifact Repository (#1325)"

This reverts commit 9f7724d31471e71c1ecf784f921331366010ada2.

Duplicate of https://github.com/nuclia/frontend/pull/1327


Appear From Under Animation When swiping

Is there a way to mimic appear from under an item when swiping up, in a real pager?
Something like this: https://youtu.be/Re3EHB5Rp9o?t=28s
This would look really nice.

I will try to do this!


PSScriptAnalyser Suggestions

Trim Trailing Whitespaces
Write-Colors to Write-ColorizedLine
Read-Installer-Values to Read-InstallerValue
Enter-PR-Parameters to Get-PRParameters
Remove-Manifest-Version to Remove-Manifest
Write-Locale-Manifests to Write-LocaleManifest

@Trenly

@Trenly I've been preparing something new, so it would take me some hours.

All PSScriptAnalyzer issues have been resolved


Fix hanging CORS test

Fixes https://github.com/aspnet/AspNetCore/issues/11354.
Copy pasta error, dispose wasn't stopping the right dotnet process.

Thanks @jkotalik!


For loop expression

support "for" loop expression in the form of native javascript inside the template.
Basically I need (having provided an item COUNT) to generate repetitive tamplate chunk.

Done with helper


SC4S_DEST_SPLUNK_INDEXED_FIELDS is not honored

Environment: -
docker version
Client:
 Version:           20.10.4
Server:
 Version:          20.10.4

SC4S Version:
REPOSITORY   TAG       IMAGE ID       CREATED        SIZE
splunk/scs   latest    8ec0fd765999   31 hours ago   520MB

Issue:-
Even after setting SC4S_DEST_SPLUNK_INDEXED_FIELDS in env_file as follow, no additional indexed fields are visible in Splunk.
env_file:-
SPLUNK_HEC_URL=https://inputs-xxxxx.xxxxx.xxxx.cloud
SPLUNK_HEC_TOKEN=0ad2989a-xxxx-xxxx-xxxx-xxxxxxxxxxxx
#Uncomment the following line if using untrusted SSL certificates
SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY=yes
SC4S_DEST_SPLUNK_HEC_TLS_VERIFY=1

#SC4S_DEST_SPLUNK_SC4S_METRICS_HEC=yes

SC4S_LISTEN_DEFAULT_TCP_PORT=514
#SC4S_LISTEN_DEFAULT_UDP_PORT=514
#SC4S_LISTEN_DEFAULT_RFC6587_PORT=601

### Section for TLS connections
#SC4S_SOURCE_TLS_ENABLE=yes
#SC4S_LISTEN_DEFAULT_TLS_PORT=6514
### Default TLS/TCP settings
SC4S_SOURCE_TCP_MAX_CONNECTIONS=2000
SC4S_SOURCE_TCP_IW_SIZE=20000000
SC4S_SOURCE_TCP_FETCH_LIMIT=2000
SC4S_IPV6_ENABLE=no

SC4S_DEST_GLOBAL_ALTERNATES=d_hec_debug
SC4S_DEST_SPLUNK_INDEXED_FIELDS=proto,destport

Expected Output:-
After setting SC4S_DEST_SPLUNK_INDEXED_FIELDS=proto,destport, splunk should use 2 additional indexed fields.
Do let me know if i need to add more details for debugging the issue.

After replicating the config above I did see the additional fields however I noticed the default config is incorrect these should be enabled by default that will be in the next release.

Please confirm after restart this works


feat: capture all errors in sentry

closes #225
Testing integration on dev:

I'll look into it, I can add a capture_message but it's not quite the same thing.

Cool !
Dont know if it s relevant but you can feed details to capture_exception
eg you can send origin : annuaire-site if request come from site

I'll look into it, I can add a capture_message but it's not quite the same thing.


Update the CSI components when their images change

When users specify new images for CSI components by changing LonghornDriverDeployer environment variables, we update the corresponding CSI component to use the new images.
longhorn/longhorn#1642

LGTM. Let me know when the tests passed.

E2E core tests pass except for test_ha_salvage  which is a known problem.


Cap max modal content width at 1100px

The DAC report mentioned a usability issue to do with the distance of the toggle from the text. It looks like the screenshot is referring to a user who's using ZoomText and has a very big screen, and on a very big screen, the toggle floats out to the right-hand side of the modal. This PR puts a limit on it, so it'll always be near the text no matter the screen size.

There was a conflict to do with the compiled CSS. I had a go at fixing it using the editor here on GitHub but the results were a little weird, so I recompiled it locally and pushed that up. All looks good now.


ci: Debug update-rust-toolchain

This is currently failing on nightly

Need to run on the main repo not the fork


Country dialog on network page does not load with info

Country dialog on network page does not load with info
As per title. Please see attached screenshot.

fbitem-5f8f9aca65a6fc0d0677bfe440ec39d391db6ce0
Reported by: @kbraak
System: Firefox 51.0.0 / Mac OS X 10.10.0
Referer: https://demo.gbif.org/the-gbif-network
Window size: width 1569 - height 968
API log
Site log

@MortenHofft IMHO this bug should be labelled a release blocker

This page has largely been reimplemnted to address this and other reported issues. I cannot reproduce it. Please reopen if you still see issues. Thanks


Add SHT_LLVM_DEPENDENT_LIBRARIES

I've seen this section in some binaries linked with clang. Builder understandably denied parsing the ELF due to an unknown section, so here we go.
There's some docs for it and it seems easy to parse, but AFAIK notes aren't parsed and no one's angry about that, so I'm leaving this as Data.
Does this approach look okay?

Done and done.


refactor(cli): optimize code of cli

Codecov Report

Merging #118 (cb8fa51) into dev (6fa3971) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #118   +/-   ##
=======================================
  Coverage   96.55%   96.55%
=======================================
  Files         201      201
  Lines        4534     4534
  Branches      906      906
=======================================
  Hits         4378     4378
  Misses        154      154
  Partials        2        2

Continue to review full report at Codecov.

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


Is 411's URL configurable?

I've put 411 into my ELK Docker Container (using https://github.com/kiwiz/411-docker), and intended to serve it using Nginx as a reverse proxy, so that (https://my-url/kibana) leads to kibana and (https://my-url/411) leads to 411;
Kibana plays nicely in this arrangement, but 411 does not, it's still looking for files from the site root; Off the top of everyone's head, this easily configurable? Or are you open to a pull request to the base URL part of the config?

Hi. 411 assumes that it lives on the root of the domain. PRs to change this are welcome! You'll have to add a new field to phplib/Site.php and upgrade logic to bin/migration.php.

*I've replaced master with the es-5.x branch.

Perfect, I will take a look in the next couple of days;


feat(layout-inspector): adding layout-inspector plugin

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


abnormal egg cylinder size terms

Need to create new child terms of abnormal egg cylinder morphology MP:0003085, including:
abnormal egg cylinder size / decreased egg cylinder size / increased egg cylinder size

several annotations refer to failure of/defect in elongation - should we add a term for this or group these with 'small'
we do have a term for abnormal primitive streak elongation
the question I have is when they talk about impaired elongation is that really just another way to say small?

added abnormal/increased/decreased size terms

See PMID: 36252218 and PMID: 32433954 for info on mouse egg-cylinder morphogenesis

add rudimentary egg cylinder as a narrow synonym for small

test


Ixia API call support

Hi,
We need ixia ondatra API call support to verify below on ATE.
ISIS :
i.)	Verifying overload bit on ISIS session
ii.)	Verifying metric on ISIS session.
BGP:
i.)	Verifying AS PATH in BGP rib route information
Thanks,
Prabha

This is probably a better question for the openconfig/ondatra team.  If these end up being big asks, it might be that we want to invest time an OTG-only version of these features.

Thanks @bstoll .
Ixia support has opened ticket with openconfig/Ondatra, I will close this ticket.


  Related: #507

If I say [skip ci], GitHub waits for Travis forever.
continuous-integration/travis-ci Expected — Waiting for status to be reported

So it's not a good solution.


Assorted improvements to Cube.intersection

🚀 Pull Request
Description
The first concern was that the documentation is not sufficiently specific. I think two key questions users will want answered when they read it are:

For coordinates with bounds, how much of a cell must overlap with the range in order to be included?
If requesting a full 0-360 degrees splits a cell, which side of the range does the cell go to?

From the code, it looks like the answers are, respectively:

Essentially any overlap, unless a very small range is requested, in which case it might miss a cell - only bounds/points are checked, not the intersection as intervals.
Lower, unless the requested range hits a cell bound exactly (only recently addressed, in #4059). This is always based on bounds, regardless of ignore_bounds, potentially taking a point out of the requested range (as in #3698).

Instead of simply documenting those quirks, I've tried to fix them. I also introduced a threshold argument, so that the answer to "how much overlap" is "configurable" instead of "0".

Consult Iris pull request check list

No whatsnew yet - mainly as I wasn't sure what category to put it under.

Ah! Evidently I missed the "several categories may be used" part...


Remove generated metadata when writing a resource

Closes #774, depends on #781 .
This solves the problem of writing metadata that we generated ourselves during a PATCH. To solve this we have to make sure that everything that generates metadata also has a similar function to remove that metadata again.
I'm not completely convinced this is the best solution to this problem as it sort of doubles the workload needed to add metadata. Specifically in the third commit the MetadataGenerator and AuxiliaryStrategy interfaces had to change to also have a function to remove the metadata again.
Another solution could have been to move to only add the metadata in a layer that encapsulates the patching store, that way it would never see that metadata. This would then still cause problems for users who want to update data locally and PUT the results back.

Going to investigate if perhaps this can be solved by using graphs in the RepresentationMedata to indicate metadata was generated.

Going to investigate if perhaps this can be solved by using graphs in the RepresentationMedata to indicate metadata was generated.


Switch to pyproject.toml for the project build?

pip-api is a pure Python package, so switching it fully over to pyproject.toml (the way we've done for pip-audit and sigstore-python) should be pretty straightforward.

Sounds good to me!

Cool! Should be very quick to do, so I'll stamp it out now 🙂

#156


{CI} pre-install bicep in CI environment

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

CI


DNS Challenge results in one of two errors

Hello,
I have a problem regarding the DNS Challenge. For some domains it works just fine, for others I can only generate a wildcard certificate but not a certificate for just example.com. I can't disclose the domains here but what I can say is that we use euroDNS as a DNS provider. They have an API but I believe that there is a already an issue: When adding a new record to the zone, the minimum TTL that I can provide is 600 seconds. Is that too long of a TTL for the acme protocol to work correctly?
The errors that I get are one of the 2:

Either I get the error DNS problem: NXDOMAIN looking up TXT for _acme-challenge.example.com - check that a DNS record exists for this domain. I know that the record has been added successfully since I can see it in the web interface of the DNS Zone. And i can see the records when using any of the DNS lookup tools (dig, mxtoolbox, nslookup, server-daten, etc.)

The code that I use to do the dnsValidation is the following (just in case it could be usefull):
var result = await dnsChallenge.Validate();

    var attempts = 0;
    var maxAttempts = 10;

    while (attempts < maxAttempts && (result.Status == ChallengeStatus.Pending || result.Status == ChallengeStatus.Processing))
    {
        Logger.WriteLine(Logger.Level.Low, $"Attempt {attempts + 1} for DNS Validation. Current status: {result.Status}");
        result = await dnsChallenge.Resource();
        System.Threading.Thread.Sleep(2000);
        attempts++;
    }

The thing is that the code never goes further than Attempt number 3. Either it succeeds or it will result in an invalid check.

The other error that I get is: Incorrect TXT record "lrFZIdrwN6-YG3ey65eyQ1Y-uQC-_G9s6ry_AOpGDRQ" (and 2 more) found at _acme-challenge.example.com. This happens after a while of not deleting records that are there from older challenges. But if I delete the records after doing the check, I go back to error number 1. Is this due to the TTL of 600 seconds mentioned in the first paragraph?

What are some things in general that I need to do in order for it to potentially solve the issue?
Cheers everyone

When you generate a certificate that includes both *.domain.com and domain.com you get two authorizations (one for each identifier). In the case of wildcards that actually updates the same _acme-challenge.domain.com but with a different value. That's just a quirk of ACME and it's not very intuitive. With most DNS providers you can specify multiple TXT record values to accommodate this.
You then submit each distinct challenge for validation (one for each identifier on the cert), then poll the order (or challenge) to see if the auth has validated or not. Once all are validated you can proceed to finalise the order and download your certificate.


Project status

I began integrating Leaflet.draw into the Wikipedia's map extension.  I noticed there are many pending pull requests, some of which seem very useful, such as object moving. Are there any plans to merge them?  Thanks!
cc: @IvanSanchez

I am wanting to make a pull request regarding #468 but am also wondering the status of the project. The last merged pull request was in January 2015 (#354) by @jacobtoye

Are there any "official" forks that are taking over active development of this project? If not, maybe forking is something to consider?

I don't think forking would be necessary. If someone is open to taking an active role as maintainer, we should discuss that rather than forking.
Of course a new maintainer would have to be somehow credible in the role, but I don't think anyone here would have a problem as long as it benefits the project. Forking should really be a last resort.

I've forked and have been maintaining over at https://github.com/ddproxy/Leaflet.draw but it's in no way up to date with the pull requests here. My primary focus was to bring touch events to be better supported - and I'm currently on an issue that seems related to Leaflet's touch event handler (https://github.com/ddproxy/Leaflet.draw/issues/18) rather than the project being at fault.
Is there any possibility of having several maintainers for the project so things can continue to progress rather than a single maintainer taking the blunt of the operation?

@ddproxy by now leaflet.draw has been adapted into Wikipedia's map editing function. We plan to released to production fairly soon -- first to the smaller WikiVoyage project to iron out all the bugs.  I would love to have touch support as well as other goodies, so I might switch to your fork. Please consider applying some of the pull requests if you have any spare cycles. Thank you!

+1 to please maintain this awesome plugin.

@nyurik Are there any specific ones you need in? I've merged several into my fork already and I'm reviewing a slew of additional ones now.
Apparently my fork isn't available on npm? - just a note to self...

@ddproxy I saw a few interesting ones, like #294, but nothing "must have" - just general upkeep and bugfixes.  Possibly unrelated - do you know how easy it would be to disable the whole "save/cancel" functionality? In our usecase, any change will show up in the geojson, and we will have undo/redo buttons as part of the text editor.  NPM would be very good to have, but of course I can copy by hand.

@nyurik Reviewing #294 for PR today/tomorrow.
Would you be able to jump on https://gitter.im/ddproxy/Leaflet.draw at some time to discuss or show what's going on now what the best method for disabling/rerouting those events would be? I don't use the toolbar in my app at all and instead trigger events via BackboneJS. I still test the toolbar for backwards compatibility though.

Pinging all recently active leaflet.draw forks.  I'm sure most of us would like to combine our efforts, so trying to get everyone on the same page.  @ddproxy, want to lead his? :))
CC: @aecavac, @bkane11, @cduzan, @chasemgray, @chdprimary, @drillinginfo, @electricpocket, @fly2279, @jamesmilneruk, @jekuno, @jonatascastro12, @jrfolk, @kaermorchen, @karttakeskus, @locarise, @olafurr, @onyx00, @p-a, @realscout, @semone, @simplot, @themarinegroup

I didn't realize there were so many active forks, this is on my todo list for this weekend and early next week. Thanks @nyurik for pulling together a list!

Looks like @ddproxy is a leaflet member, so if you want to start looking after .draw go ahead :)
It definitely needs a lot of love!

@danzel I hope to merge and release 0.2.5 today (which should close a handful of PR's) It's on my todo list for this weekend, along with rebuilding my dev server... and uh, cleaning my apartment ;)
After 0.2.5 release (or staged release) I'll close this issue.

I would be keen to merge my changes; fixes the issue where self intersection being set to false isn't preserved in editing mode. Happy to clean up the code and make a PR if this is happening!

@danzel @nyurik @JamesMilnerUK @IvanSanchez If I could get a review from a couple of you for https://github.com/Leaflet/Leaflet.draw/pull/484 - I'll release that PR as 0.2.5
I'm working through docs for deploying to npm, I'd really hate to change the npm-package name :(

Hi !
I just made a PR for this repository, but it seems that it lacks some maintenance (PR pendings are legion).
Is this repo still maintained ? @ddproxy you seem to be the latest to maintain the repository, do you need help ?


Ice Unit doesn't appear to be working

If I understand the upgrade correctly, and remember from past experience, the upgrade should be providing the frozen ingredients (snowballs) for Pam's Smoothies.  However, I'm not seeing the recipe show up in the cooking table when I have all the required ingredients except the snowballs.  I have to physically add snowballs to the fridge - which shouldn't be necessary with the upgrade?
Running version: 1.12.2-6.4.69

Duplicate #335


[Feature Request] Change Avg_GPA column to Avg_Letter_Grades

Overview
On 09-10-2024 we decided to change the average GPA in the compare page to average letter grade
On 09-17-2024 we finalized on this design for the LHS: LHS search-result-table Column Redesign
This feature request focuses only on the average gpa/letter-grade column
Proposal

[ ] Change the field to letters instead of numbers
[ ] Change the column header
[ ] Ensure sorting works (it should still sort based on average gpa)
[x] Change filtering to show letter grades
[ ] Include a gradient background

Supplementary Information
https://catalog.utdallas.edu/2024/graduate/policies/grades

I recommend 2 people work on this

Hi is it okay to assign this to me?

yes

Can I be assigned to this, too?

So @TyHil is going to join us and do the fourth checkbox :)

@TatvikReddy I added you, what would everyone like to do?

Tyler: change filter
Annie: change column header to "average grade", add the letter grade corresponding colors
Tatvik: change numbers to letters


When the views take in props, and are updated, swiper shows incorrect data/text and the page dots don't update until the user swipes.

Which OS ?
iOS 11
Version
Which versions are you using:

react-native-swiper 1.5.13
react-native v0.52.0

Expected behaviour
When the props change, the views simply update the appropriate data, and do not change text/show inaccurate information for the specific view.
Actual behaviour
Updating the state seems to go berserk for which view is visible.
How to reproduce it>
        <Swiper
          style={styles.wrapper}
          showsButtons={false}
          dot={<View style={styles.dot} />}
          activeDot={<View style={styles.activeDot} />}
        >
          <BalanceView
            balance={this.props.totalBalance}
            headerText="Total Balance"
            isLoading={false}
          />
          <BalanceView
            balance={this.props.availableBalance}
            headerText="Available Balance"
            isLoading={false}
          />
          <BalanceView
            balance={this.props.pendingBalance}
            headerText="Pending Balance"
            isLoading={false}
          />
        </Swiper>

What happens is, props update from 0,0,0 for all the balances, to the correct values.
ISSUES:
The text changes from "Total Balance" to "Pending Balance", without swiping.
The dots (there are 3, where the first one is the one selected) do not update to the third view (which they shouldn't)
Swiping left or right then shows the correct data, but swiping left or right from the first index, goes back to the first index again with correct data.
Steps to reproduce
Pass props into the Views of Swiper, and have the prop change after some time. The data does not update, and remain on the same index correctly.

+1 on this.

i tried to wrap the swiper in PureComponent and the swiper seems to behave normally, but i tried it again for my other components but it doesn't work


i cant log in

Prerequisites

[yes] Did you read FAQ section in readme.md?
[yes] Did you test with the latest releases or commit ?
[yes] Did you search for existing issues in Issues?

Description
i cant log in
Steps to Reproduce
enter username
enter password
press enter to exit
Expected behavior: [What you expected to happen]
log in
Actual behavior: [What actually happened]
press enter to exit.

Log file: [Attach the pixivutil.log file in the application folder, recommended to delete the old file, reproduce the issue, and upload the newly generated file here]
changelog.txt
Version
newest
note: i have put my username and password into the config file in hopes that it would work. it did not

Same as https://github.com/Nandaka/PixivUtil2/issues/1227. Username login doesn't work now. Use cookie login!

please refer to https://github.com/Nandaka/PixivUtil2/issues/1239


Uncaught TypeError: Cannot read property '_currentElement' of null

I get this error within a rails app together with react-rails.
I just tested the simplest example:
var fakeData =  [
{
"id": 0,
"name": "Mayer Leonard",
"city": "Kapowsin",
"state": "Hawaii",
"country": "United Kingdom",
"company": "Ovolo",
"favoriteNumber": 7
}
];
And I render the component within another component with <Griddle results={fakeData} />
Any idea?

Hi there! Would there be anyway for you to toss this example up as a repo by chance? I have never used react-rails but I'd like to make sure griddle works with it.

Hey @ryanlanciaux,
I pushed it in the following repo: https://github.com/MMore/react-rails-example
I am curious, where the problem is. Thank you!

I had the same error. I was able to solve it only by removing global
//= require react
//= require react_ujs

but this makes react-rails almost useless.
I think trouble is in the fact that react fails when there several imports of its code (require from asset pipeline and require from browserify in current case).
Is it possible to check if global React is defined and use it instead of require("react")?

Actually, it's known issue for browserify-rails. https://github.com/browserify-rails/browserify-rails/issues/9
It works for me with React and Griddle

@joxxoxo so did you solve this by using browserify-shim?

@kevinhughes27 yes, browserify-shim helped me in this case. Although then I had some other errors in different places so moved to the webpack instead of browserify (example).

I ended up following http://reactjsnews.com/setting-up-rails-for-react-and-jest/ since I was still having issues after setting up the shim

@kevinhughes27 Did that end up working for you? Is there something different that we should be doing or do you think it would be good to toss that in the docs? I haven't used this with rails so it would be nice to have some guidance in the docs around how to use this with Rails :)

I didn't end up using griddle but kept running into similar issues related to the double include of React. I fixed my double React includes using the advice in that post. Looks like double react includes were the issue here so I don't think there is anything that needs fixing in this repo.

Closing this one for now. Please open a new issue if additional problems are encountered. 👍


fix:Non-exhaustive PID error check

As reported by Jesse, we had a non-exhaustive PID error check. This is a Red/Green PR with test recreating the panic, and then a test demonstrating that the panic no longer exists.
https://discord.com/channels/818588653005176832/854119566413922365/1036524672046604359

Awesome to see that you found a clean solution for the matter @nathanhammond 💪

@nathanhammond did you also make a catch for creating a new daomon instance if the past one isn't running on command run?

@JesseKoldewijn it will spin one up if the PID file does not exist. It asks you to delete the file in the event that there is anything else wrong so as to provide an opportunity for debugging.


Redirect after payment with app

When a customer places an order from his phone with the non standard browser (eg chrome on ios ) and the order is paid via the app from their bank (eg ING, Rabobank), the bank's app redirects back to the succes page using the standard browser (safari). As the cookies and sessions don't match, the customer gets an empty shopping cart instead of the success page, which is very confusing.
I don't know who should fix this (Adyen, banks, Apple), or if it can be fixed at all, but it is causing quite a bit of confusion on the customers side.

Hi @oblomovx,
I understand your issue but this issue is on apple because it is always pushing you back to safari instead of android where you have the option to what browser you want to return. We are triggering the success page of Magento because session does not matter but magento core is checking on that url if the session is valid something magento should not do. You could do a rewrite on the core of magento to solve this issue.
Regards,
Rik
Adyen


Reminder test cases

Add test cases for edit reminders.

Codecov Report
Base: 52.62% // Head: 54.80% // Increases project coverage by +2.18% :tada:

Coverage data is based on head (dffa4d2) compared to base (a490524).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #196      +/-   ##
============================================
+ Coverage     52.62%   54.80%   +2.18%
- Complexity      708      730      +22
============================================
  Files           159      159
  Lines          3202     3202
  Branches        394      394
============================================
+ Hits           1685     1755      +70
+ Misses         1370     1292      -78
- Partials        147      155       +8

Impacted Files
Coverage Δ

...in/java/seedu/address/model/student/StudentId.java
80.00% <ø> (ø)

...in/java/seedu/address/model/reminder/Reminder.java
63.46% <0.00%> (+1.92%)
:arrow_up:

src/main/java/seedu/address/model/AddressBook.java
63.26% <0.00%> (+5.10%)
:arrow_up:

...rc/main/java/seedu/address/model/ModelManager.java
68.10% <0.00%> (+6.89%)
:arrow_up:

...edu/address/model/reminder/UniqueReminderList.java
49.09% <0.00%> (+7.27%)
:arrow_up:

...s/logic/commands/reminder/EditReminderCommand.java
83.87% <0.00%> (+83.87%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Checks for whatever Firefox 54.0a2 (2017-04-04) Dev Ed cares about

A LOT of fonts #notworking in #Firefox 54.0a2 (2017-04-04) Dev Ed on #MacOS

- https://twitter.com/mikhey786/status/849368617389096963
We should have checks for whatever Firefox 54.0a2 (2017-04-04) Dev Ed is failing our fonts on, and urgently prioritize shipping those fixes :)

OK. I asked for further user feedback about the issue there:

https://twitter.com/juca_gnu/status/852233351167606786
https://twitter.com/juca_gnu/status/852233987271663616

https://twitter.com/thisisclayton/status/852523836994146305 related

Here's how the site looks when I load it up:
https://twitter.com/mikhey786/status/852509976593608704

@davelab6 I have the impression that FontBakery already has got code for detecting this issue, since we have a  ot-sanitiser checker. I downloaded the font and tested it with ots manually (on the command line) and I could reproduce the exact same error message.

Do we have any further info about this one?
If the bundled otsanitise on Firefox is the source of the error messages, then fontbakery already detects the exact same issues with our otsanitise check. Unless I missed something, I think it is safe to close this issue, as we already detect such problems in the fonts being tested by fontbakery.


Update liff.js

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

Please change service UUID on your fork repo, and deploy it to your GitHub Pages.


Kavita

Two good plugins for manga and light novels. All of it sourced by the person themselves.Pretty good for those who have local libraries on their pc.

Komga has been made into a source but isn't on the community sources yet because of some limitations. You can find it on the Discord for now.

+1 Would be very interested in trying out Aidoku with a Kavita source. 😄
@Skittyblock @beerpiss A community member recently made a source for Kavita on Paperback, not sure if looking at their implementation would help. https://github.com/ACK72/kavya-paperback
If you are willing to develop it (I don't know rust unfortunately), then I can make you a channel for it in the Kavita discord server to get some immediate testing feedback.

Hi @therobbiedavis I'm currently thinking about developing it but like you I don't know rust for now. I'm going to try it and if I manage to do something maybe you can add me to the Kavita discord server for testing ? Thanks

Hi @therobbiedavis I'm currently thinking about developing it but like you I don't know rust for now. I'm going to try it and if I manage to do something maybe you can add me to the Kavita discord server for testing ? Thanks

Hey just following up. If you do end up making some progress just let me know and we can spin up a channel.


read route hostname from status RouterCanonicalHostname

@csrwng
spec.host always uses the default ingress domain.  This causes and issue when the Route is admitted by a non-default ingress controller, as likely will be needed with AWS private clusters.  Instead, read from status.ingress[0].routerCanonicalHostname once the route is admitted.

/test e2e-aws-pooled
/lgtm
/hold

There seems to be something wrong here.  I'll retest after investigation.

Totally misunderstood what the RouterCanonicalHostname is for.  This doesn't work at all.
/close


Crash after “Open With...”

Control+click “Open With...” menu showed two versions of Atom.app: 1.0.0 and 1.0.2. Selecting 1.0.2 lead to the editor crashing.

Which OS are you using, @theorosendorf? Can you still reproduce the problem?

OS X 10.10.4
No longer producible...


Release/0.3.0

Thank you very much for reviewing @Bukashk0zzz !
For prettifier just using Prettier locally (after extracting code from the template). Only setting is for single quotes, e.g.
npx prettier --single-quote --write templateCode.js

Finally public Logs standard description is here @adatzer @paulboocock  https://github.com/stape-io/gtm-standards/blob/main/standards/GTMS-3.md


cmd/server: add tests for searcher calls to parse data files

Codecov Report

Merging #59 into master will increase coverage by 2.35%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   69.28%   71.63%   +2.35%
==========================================
  Files           9        9
  Lines         892      892
==========================================
+ Hits          618      639      +21
+ Misses        243      217      -26
- Partials       31       36       +5


Is there a way of setting nested params?

For a post request i have a nested param. Something like this :
{
  "user" : {
    "name": "test",
    "email"<EMAIL_ADDRESS>    "phone": "424234234",
    "password": "password",
    "password_confirmation": "password"
  }
}

How would I send params in swagger_api :create?

This should be supported. See: https://github.com/richhollis/swagger-docs/issues/2


Updated home page behavior with Hugo v >=0.58

hugo server

Building sites … WARN 2019/09/23 13:33:41 In the next Hugo version (0.58.0) we will change how $home.Pages behaves. If you want to list all regular pages, replace .Pages or .Data.Pages with .Site.RegularPages in your home page template.

After updating hugo to v >= 0.58, the home page lists the top level pages, instead of the ones in /content/posts. Changing
-{{ range (.Paginate .Pages).Pages }}
+{{ range .Site.RegularPages }}

in /layouts/index.html preserves the existing behavior.
Update: To preserve the paginanion
{{ $paginator := .Paginate (.Site.RegularPages) }}
<div class="catalogue">
    {{ range $paginator.Pages }}
        {{ .Render "summary" }}
    {{ end }}
</div>

You are a saviour. I was looking for a solution for several hours

Hi @deniskyashif, thanks for bringing this to my attention! I will update the theme as soon as possible.

Could you check if the current version of the theme solves this problem? Thanks a lot!

Could you check if the current version of the theme solves this problem? Thanks a lot!

Yes, it works. Thanks for the fix!


Greasing QUIC bit (RFC 9287)

Hello!
I wanted the greasing QUIC bit feature in quic-go. Hence I copied the implementation from #3521  on the current master which has highly refactored header handling (writing & parsing).
While the greasing and handling seems to work for long header packets. It is not working for short headers when the corresponding peer sends a short header with QUIC bit 0. Due to this the integration test for grease_quic_bit is also failing.
While I have been working on debugging further. I am sharing the draft PR to get some help

Get feedback on what I might be missing, Since this was already done and folks here are well aware of the refactoring changes.
To keep up the #3521 effort from being lost due to refactoring

Any help is appreciated.
Thanks.

Hi @naveenrajm7! I changed my mind on implementing this extension since working on #3521, see https://github.com/quic-go/quic-go/issues/3133#issuecomment-1862118677. That's the reason there hasn't been any progress on that PR. I should've documented my reasoning on the issue earlier, sorry for that!

Interesting reason. I guess I'm on my own to fix this one.
Thanks for your clarification  :)


Documentation: Tuning guide

It would be nice if there was a comprehensive tuning guide with a little more in-depth explanation of the parameters available via Lua configuration files, implications what happens when they are changed, and recommendations for making adjustments (e.g. what to do if Cartographer fails to recognize loop closures because they end up being too far away). Although this would require some effort, I think it would be beneficial in long term, because the volume of tuning-related issues on Github should be decreased, saving you time.
Edit by @SirVer: Added checkboxes

[x] Tuning guide for slipping in local SLAM.
[ ] Screencaps for local SLAM
[ ] Tuning of loop closure.
[ ] Explanation of Huber scale.

Some notes: A larger Huber scale adjusts the Huber loss function so that outliers have a larger effect. The parameter should be tuned so that it encompasses only inlier constraints.
Increasing the loop closure search window:  see SPARSE_POSE_GRAPH.constraint_builder.fast_correlative_scan_matcher.linear_search_window and SPARSE_POSE_GRAPH.constraint_builder.max_constraint_distance in cartographer/configuration_files/sparse_pose_graph.lua.

What is the unit for the SPARSE_POSE_GRAPH.constraint_builder.max_constraint_distance parameter? Is it meters? pixels? voxels?

Meters. Similar with other distances.

Great, thanks for the clarification!

Closing, we have a tuning guide in the docs. Extension proposals via PRs are always welcome :+1:


revert guild/components which causes site to crash

@n1ru4l I think the upgrade came with some API changes @B2o5T did? that's why build is failing now?


Can your model predict curve?

I find you just draw a line in your visualization code, but can it predict a curve?

The model predicts a set of points that can then be interpolated. The code draws a line as an approximation. Please take a look at the paper for more details.

The model predicts a set of points that can then be interpolated. The code draws a line as an approximation. Please take a look at the paper for more details.

The model predicts a set of points that can then be interpolated. The code draws a line as an approximation. Please take a look at the paper for more details.

Ok, thanks a lot!

The model predicts a set of points that can then be interpolated. The code draws a line as an approximation. Please take a look at the paper for more details.

Ok, thanks a lot!


MetaModelInc  module offline training  should call eval for validation predict.

🐛 Bug Description

To Reproduce
Steps to reproduce the behavior:

create any module with  bn or dropout layer
run offline training
inloop training missed  model.eval(), caused   batch normalization or dropout layer cannot work as predict model.

Expected Behavior
prediction should not dropout any value or using dynamic batch mean and var for batch normalization.  The run_task function should be modified from :
def run_task(self, meta_input, phase):
""" A single naive incremental learning task """
.........
with torch.no_grad():
pred = self.framework(meta_input["X_test"].to(self.framework.device), None)
return pred.detach().cpu().numpy()
to
def run_task(self, meta_input, phase):
""" A single naive incremental learning task """
.........
with torch.no_grad():
self.framework.eval()
pred = self.framework(meta_input["X_test"].to(self.framework.device), None)
return pred.detach().cpu().numpy()

@you-n-g can I work on this issue?

We have checked out the snippet in qlib-main\qlib\contrib\meta\data_selection\model.py and we add self.tn.eval() in validation phase(line 73). Can you specify your question? Where did you find this problem


[nrf fromlist] twister: short build paths - fix

This changes was introduced to this open Upstream PR:
https://github.com/zephyrproject-rtos/zephyr/pull/41930
First part of "short build paths" was introduced to sdk-zephyr repo in
this commit:
https://github.com/nrfconnect/sdk-zephyr/commit/ee43917f19aadae60845528d541d08561f051dc0
This fix allow to avoid situation when Twister create original "long path" build directory, before "short build path" try to create such directory and this cause an error.
Signed-off-by: Piotr Golyzniak<EMAIL_ADDRESS>

Please rebase onto the new history in main

I believe you'll need to add
"squash! " in the commit body, i.e.
"squash! [nrf fromlist] twister: add option to create shorter build paths"
to help keep an order in the history


Update README to Replace Cloud9 Deployment Instructions with SageMaker

The current deployment instructions in this repository's README use Cloud9, but as Cloud9 has been deprecated, we need to use SageMaker instead. Could you please update the README to include instructions for deploying using SageMaker?

Thank you for bringing this up.
I've updated the README with new instructions for deploying using Amazon SageMaker Studio Code Editor.
Please take a look at the updated README and let us know if you need any clarification or have additional feedback. We appreciate you taking the time to improve the project documentation.

@maekawataiki
Thank you for the update.
I followed the new instructions for SageMaker but encountered the following issues. Could you please check them?

The output of echo "export AWS_DEFAULT_ACCOUNT=$(aws sts get-caller-identity --query Account --output text)" seems to assign the account ID to AWS_DEFAULT_ACCOUNT, but when executing echo $AWS_DEFAULT_ACCOUNT, the output is empty and it appears not to be set.

For now, I directly edited /etc/environment to set AWS_DEFAULT_ACCOUNT.

The command echo "export AWS_DEFAULT_REGION=$(aws configure get region)" does not set the default region because aws configure get region returns empty.

Should I set the default region with aws configure set region us-west-2?

After a certain period of time, SageMaker shuts down.

The AutoStopIdleTimeInMinutes setting for sagemaker-studio-code-editor-template is set to 60 minutes, but this seems insufficient, so it might be better to change it to 120-180 minutes.

When running cdk bootstrap, I encounter the error bash: cdk: command not found.

First, I executed npm install -g aws-cdk and confirmed it was installed.
After the error bash: cdk: command not found occurred with cdk bootstrap, I tried running npm install -g aws-cdk, but then I got bash: npm: command not found, indicating that the npm command is unavailable.

@yhayano-ponotech  Thank you for the feedback.
For AWS_DEFAULT_ACCOUNT and AWS_DEFAULT_REGION, the updated command only prints command and user need to execute printed command which is not clearly stated. I've updated the doc so the value is set properly on first time.
For AutoStopIdleTimeInMinutes, the ideal duration depends on workload. We may change AutoStopIdleTimeInMinutes as Cfn parameter.
For cdk not found problem, the globally installed library initialized on instant restarts, so it needs to be installed every time runtime restart. I wasn't able to replicate npm: command not found, can you share steps to reproduce the problem?

@maekawataiki
Thank you for your support.
We are currently facing the following issues, and I would appreciate it if you could kindly check:

The output of aws configure get region is still empty. Could it be that running aws configure set region [region name] is necessary?
The cdn deploy process halts at 84/104. I have recorded the entire workflow, so please review the footage at your convenience.

https://youtu.be/TZecCDCt6es

Here is my case,

aws ecr create-repository --repository-name comfyui --image-scanning-configuration scanOnPush=true

In 2:30, https://youtu.be/TZecCDCt6es?feature=shared&t=186
It breaks my console...
`
{
"repository": {
"repositoryArn": "arn:aws:ecr:us-west-2:879381280413:repository/comfyui2",
"registryId": "(879...userid)",
"repositoryName": "comfyui2",
"repositoryUri": "(879...userid).dkr.ecr.us-west-2.amazonaws.com/comfyui2",
"createdAt": "2024-10-24T04:37:40.402000+00:00",
"imageTagMutability": "MUTABLE",
"imageScanningConfiguration": {
"scanOnPush": true
},
"encryptionConfiguration": {
"encryptionType": "AES256"
}
}
}
...skipping...
`

@maekawataiki
I increased the EbsSizeInGb when launching the SageMaker template. After that, the cdk deploy no longer got stuck at 84/104. However, the following error occurred.
ComfyUIStack: creating CloudFormation changeset...
3:33:26 AM | CREATE_FAILED        | AWS::ECS::Service                             | ComfyUIService6B91FEDA
Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: f3a5b98e-291f-ae33-5190-80dacd50cf42, HandlerErrorCode: GeneralService
Exception)

3:33:29 AM | DELETE_FAILED        | AWS::ECS::ClusterCapacityProviderAssociations | ComfyUICluster789D947D
Resource handler returned message: "The specified capacity provider is in use and cannot be removed. (Service: AmazonECS; Status Code: 400; Error Code: ResourceInUseException; Request ID: 04c42d87-83e4-
4c38-9270-a2b8c096863c; Proxy: null)" (RequestToken: 6d7370db-b516-1713-0c07-531a07d14678, HandlerErrorCode: null)

3:34:37 AM | DELETE_FAILED        | AWS::CloudFormation::CustomResource           | SelfSignedCertCustomResource
Received response status [FAILED] from custom resource. Message returned: Error: An error occurred (ResourceInUseException) when calling the DeleteCertificate operation: Certificate arn:aws:acm:us-west-
2:296062558999:certificate/e2f816fd-7845-4696-ab98-db54cebdd05f in account<PHONE_NUMBER>99 is in use.

Logs: /aws/lambda/ComfyUIStack-RegisterSelfSignedCertCF8717EB-ahnDLExlfZWz

at invokeUserFunction (/var/task/framework.js:2:6)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
❌  ComfyUIStack failed: The stack named ComfyUIStack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_FAILED (The following resource(s) failed to delete: [ComfyUICluster789D947D, SelfSignedCertCustomResource]. ): Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: f3a5b98e-291f-ae33-5190-80dacd50cf42, HandlerErrorCode: GeneralServiceException), Resource handler returned message: "The specified capacity provider is in use and cannot be removed. (Service: AmazonECS; Status Code: 400; Error Code: ResourceInUseException; Request ID: 04c42d87-83e4-4c38-9270-a2b8c096863c; Proxy: null)" (RequestToken: 6d7370db-b516-1713-0c07-531a07d14678, HandlerErrorCode: null), Received response status [FAILED] from custom resource. Message returned: Error: An error occurred (ResourceInUseException) when calling the DeleteCertificate operation: Certificate arn:aws:acm:us-west-2:296062558999:certificate/e2f816fd-7845-4696-ab98-db54cebdd05f in account<PHONE_NUMBER>99 is in use.

Logs: /aws/lambda/ComfyUIStack-RegisterSelfSignedCertCF8717EB-ahnDLExlfZWz

    at invokeUserFunction (/var/task/framework.js:2:6)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async onEvent (/var/task/framework.js:1:369)
    at async Runtime.handler (/var/task/cfn-response.js:1:1826) (RequestId: 508d1373-f189-4259-91e4-a336e13ae016)

Reason: No Container Instances were found in your capacity provider. For more information, see the Troubleshooting section of the Amazon ECS Developer Guide.

It seems underlying ASG has some problem. Can you check ASG events and share detail?

ECS Deployment Circuit Breaker was triggered'." (RequestToken: f3a5b98e-291f-ae33-5190-80dacd50cf42, HandlerErrorCode: GeneralService
Exception)

This is due to circuit breaker I recently added and reverted in #19. Can you pull latest version and see first error persists?

@maekawataiki
The README has been updated, and I encountered the following error while following the updated README instructions. Could you please check it?
sagemaker-user@default:~/cost-effective-aws-deployment-of-comfyui$ cdk bootstrap
`cdk synth` may hang in Docker on Linux 5.6-5.10. See https://github.com/aws/aws-cdk/issues/21379 for workarounds.
[WARNING] aws-cdk-lib.aws_ec2.InstanceProps#keyName is deprecated.
  - Use `keyPair` instead - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair
  This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_ec2.InstanceProps#keyName is deprecated.
  - Use `keyPair` instead - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair
  This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_autoscaling.StepScalingActionProps#cooldown is deprecated.
  cooldown is not valid with step scaling action
  This API will be removed in the next major release.
Traceback (most recent call last):
  File "/home/sagemaker-user/cost-effective-aws-deployment-of-comfyui/app.py", line 10, in <module>
    comfy_ui_stack = ComfyUIStack(
                     ^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/jsii/_runtime.py", line 118, in __call__
    inst = super(JSIIMeta, cast(JSIIMeta, cls)).__call__(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sagemaker-user/cost-effective-aws-deployment-of-comfyui/comfyui_aws_stack/comfyui_aws_stack.py", line 338, in __init__
    docker_image_asset = ecr_assets.DockerImageAsset(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/jsii/_runtime.py", line 118, in __call__
    inst = super(JSIIMeta, cast(JSIIMeta, cls)).__call__(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/aws_cdk/aws_ecr_assets/__init__.py", line 415, in __init__
    props = DockerImageAssetProps(
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/aws_cdk/aws_ecr_assets/__init__.py", line 1204, in __init__
    check_type(argname="argument network_mode", value=network_mode, expected_type=type_hints["network_mode"])
  File "/opt/conda/lib/python3.11/site-packages/typeguard/__init__.py", line 757, in check_type
    checker_func(argname, value, expected_type, memo)
  File "/opt/conda/lib/python3.11/site-packages/typeguard/__init__.py", line 558, in check_union
    raise TypeError('type of {} must be one of ({}); got {} instead'.
TypeError: type of argument network_mode must be one of (aws_cdk.aws_ecr_assets.NetworkMode, NoneType); got str instead
Subprocess exited with error 1

Reason: No Container Instances were found in your capacity provider. For more information, see the Troubleshooting section of the Amazon ECS Developer Guide.

The issue was due to missing quota for G instances. Updated doc.


C++ runtime initialization

Initial research results:

Things that may be useful and needs special support:

Global constructors (static and global variables initialisation)
Local static variables (locking function to ensure proper init are expected)
new and delete operators overload
Placement versions of each above

Done with #42


Add Twelfths Sizes

Thanks @davebeesley!
I was just avoiding having to spell twelfth in my markup 😂


How to approve an external Pull request

I would suggest that at least two developers should approve an external pull request. Even though more than two reviewers are named. That means two of them. If we are unsure we can name a reviewer in comment and ask for his/her opinion.
If it is an internal PR one reviewer should be enough.
@oemof/oemof-developer-group Do you agree?

Here are examples:
PR 320 is approved by me so a second developer could merge it or approve it.
https://github.com/oemof/oemof/pull/320
For PR319 some changes are requested by me. In that case it shouldn't be merged without discussion even though two other developers approve it afterwards.
https://github.com/oemof/oemof/pull/319

In the WebCo @gnn, @birgits, @beritRLI agreed.

Should this be written down in the docs? If so, where?
Is there any objection to close this issue?

Properbly this was related to the long existing packages, eg solph, demand lib, .... I don't know how oemof.tabular, oemof.thermal wants to handle that. Generally, in my opintion, the proposal is good for all oemof repos - at least, I approve for all packages I am contributing so far.
I think this is not something for the documentation, rather for the Wiki, since it is kind of internal agreement. - So, this should be added in the wiki of the solph-package: https://github.com/oemof/oemof-solph/wiki/Developer-notes-for-oemof-teams#how-to-review-and-merging-rules
btw, due to the unbundling, the oemof-solph wiki seems to need some clean-up anyway - some things can go to the docu, some to the oemof-solph wiki, some to the oemof-oemof wiki.

@joroeder if you think that might be an issue. Can you open a new one?

I have put this information to the oemof-solph wiki https://github.com/oemof/oemof-solph/wiki/Developer-notes-for-oemof-teams#how-to-review-and-merging-rules. So, the results/agreement of this issue is noted somewhere, and I will close this issue. If there is anything against, please re-open this issue again.
For the other issues, I just mentioned above, of the docs of oemof-oemof and the general structure of oemof-solph, there are already two issues (https://github.com/oemof/oemof/issues/69, #67) - when things are sorted out there, we can directly implement and clean up the docs of both (solph and oemof in PRs).


Pass in specific pytest command?

Is it possible to pass in a specifc pytest command? I'm running python in a docker environment so I need to pass in a custom command.

Have the same issue. Found solution on similar GitHub Action: Pytest Coverage Comment
The bottom example in readme shows how to use it when you running the pytest inside docker:
- name: Run unit tests (pytest)
  run: |
    docker run -v /tmp:/tmp $IMAGE_TAG python3 -m pytest --cov-report=term-missing:skip-covered --junitxml=/tmp/pytest.xml --cov=src tests/ | tee /tmp/pytest-coverage.txt

- name: Pytest coverage comment
  uses<EMAIL_ADDRESS>  with:
    pytest-coverage-path: /tmp/pytest-coverage.txt
    junitxml-path: /tmp/pytest.xml


The auto-padding class should not exist

There is no auto value for padding in CSS, only for margin.
The class is defined here:
https://github.com/beercss/beercss/blob/15104221584466af436a09a817be80865e1d444c/src/cdn/helpers/paddings.css#L13-L15
And here is the padding syntax description from MDN:
https://developer.mozilla.org/docs/Web/CSS/padding#syntax

True


inconsistancy in chapter 6

In the code errata on line 107 buy signals are created when the spread is below the threshold,
Yet on line 255, buys are created when the spread is above the threshold, this doesn't make sense.
https://github.com/hgeorgako/rfortraders/blob/master/Chapter_06/code.R

buy_signals <- ifelse(spread <= level -
   lower_threshold, 1, 0)

buys <- ifelse(data_out$spread > threshold, 1, 0)

Thanks Dane. Will investigate this and update the code.


Block on displaying selected interpreter in the status bar on startup

For https://github.com/microsoft/vscode-python-internalbacklog/issues/149 closes https://github.com/microsoft/vscode-python-internalbacklog/issues/156
This means we need to make the process of getting active interpreter faster.

@karrtikr can you rebase with main. The Sonar issue should be fixed in main.


Range computation uses vectors and not iterables

In builtin_range (vm/src/builtins.rs), the elements of a range are in a vector, thereby taking up O(n) size when iterating over n elements, when this could be O(1) using an iterator.

I'll work on this if nobody else has started.

@mcon I believe this is implemented correctly now. Could you re-check and close this issue if you can confirm this issue is no longer present?

Closing this issue, since I believe it is implemented.


Bug with Expression in EF CORE 3

Hi, since the update of ef core this method doesn't work anymore. It used to build an expression based on generic parameters to do a FindAll (avoid n+1 in my case)
https://github.com/erwan-joly/EFCore3TPHError/blob/master/POC EF Core 3/Program.cs#L24
since the update i'm getting "Null TypeMapping in Sql Tree"
Is there an easy way to fix it ?
this is the exemple expression not working : e => value(System.Object[]).Contains(Convert(e.Id, Object))
this expression works fine: s => new [] {new Guid()}.Contains(s.Id)
Steps to reproduce
execute the code from the linked github repo
Further technical details
EF Core version: 3
Database provider: NPGSQL
Target framework: NET Core 3.0
Operating system:
IDE: Visual Studio 2019 16.3

Conversion to object array throws it off. Is there any reason why are you creating object array rather than actual type?

This is a small example in the real project the type is decided at runtime. Casting to object was what I was doing before to avoid to copy past everywhere. Also it get the advantage of the params keyword

The reason it is throwing is exactly object[]. An object array can have different types in it. But Inexpression on database does not allow it. Hence we require that type of array & argument to Contains to be a type provider can handle.

Is there anyway i use
params TPrimaryKey[]
Where TPrimaryKey : EFSupportedInterface
or something similar ?

That is the correct way to do. Using actual property type dynamically to create contains over specific List/Array.


fix(hash): fix nullptr ub in hash function

pass 0 int const char* will be nullptr. nullptr + 4 is ub,

Already fixed in #1033.


cxxrtl: Remove redundant divmod

Self-explanatory.

I think this change has made the tests/fmt/always_comb_tb.cc test hang, making CI jobs on master stuck. I am looking into it.

Hang appears to be fixed by #4067