Timestamp query filter for Comos DB Table doesn't work

Storage Explorer Version: 1.15.1
Build Number: 20200902.9
Platform/OS:  Windows 10
Architecture: x64
Regression From:  N/A
Bug Description
I have a Cosmos DB Table with some records. When I try to filter the records by the Timestamp column I alwas get 0 records regardles of timestamp filter settings. I tried the same functioinality at the Azure portal Data Eplorer, and it works correctly there.
Steps to Reproduce

Have any Cosmos DB Table with some rows;
Open Entities in the tree view;
Click Query button;
Remove all existing query conditions, if any;
Add a condition which filters by Timestamp column. Choose value to compare which definitely includes some of your rows timestamps, e.g. "Last 365 days". (text representation: Timestamp ge datetime'2019-10-29T17:48:09.514Z');
Run the query.

Expected Experience
Rows with timestamps falling into the filter range are shown.
Actual Experience
No rows are shown.

The Cosmos team recently deprecated our integration with Azure Storage Explorer. Here is the full deprecation notice from the 1.15.1 Storage Explorer release notes:

The Azure Cosmos DB integration with Storage Explorer has been deprecated. Any existing functionality will not be removed for a minimum of one year from this release. Users should use the Azure Portal, the Azure Portal desktop app, or the standalone Cosmos Explorer instead – all of which contain many new features that aren’t currently supported in Storage Explorer. Additionally, the Azure Cosmos DB team has also open sourced the data explorer project and will be investing in their own desktop tooling at a later date. Please keep an eye on their repository for more information.

Currently, we are not prioritizing new features or bug fixes for Cosmos in Azure Storage Explorer. If you the issue you are reporting also applies to the Azure Portal or https://cosmos.azure.com, please file an issue in our open source Cosmos Explorer repo


The leave request after applying has different data

I have applied for a leave from 2 PM to 4 PM (0.25 day)

when checking after applying, I found it's from 8 AM to 10 AM (and a complete 1 day)

also meeting and event has the same issue


⚠ api.piste.gouv.fr healthcheck has degraded performance

In a78be28, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 4912 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in f7fbd7d.


Proper parsing structured array from yaml based FrontMatter

I have faced exactly same problem like here: http://discuss.gohugo.io/t/use-an-array-of-structured-frontmatter-in-yaml/207
Since i use same markdown file as a input for pandoc converter i cant simply prefix structure by params:.

Have you tested this with TOML frontmatter?

Localy it works.
It looks like there is lack of automated tests for that.

Merged in 29e786a


[SPARK-10863][SPARKR] Method coltypes() to get R's data types of a DataFrame

It looks like this has changes from PR 8908 - generally we should avoid combining JIRA into a PR?

Can one of the admins verify this patch?

Oops, looks like since PR 8908 hasn't been resolved, those changes were also pushed into this branch. Let me create a new branch with the coltypes() changes only. Sounds good, @felixcheung? Thanks!

Yeah you can close this PR and create a new PR with the new branch.


Removing entity leak when transferring items from one stack that are …

…being merged into another stack of items fully.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/88/
Hooray Jenkins reported success with all tests good!


Inquiry for typo correction

Hi,
Thank you for sharing the source code of data2vec.
However, can I request a typo correction as follows?
From: Base netowkr -> ViT
To: Base network -> ViT
When I have time for this, I plan to try out this source code.
Thank you once more!

Thanks!


Feature Request: add fourth and fifth mouse button to Gesture detector

For desktop applications it would be useful to use the  mouse to navigate back and forward in the navigator with the fifths and forth mouse button. It looks like only 1., 2. and 3. mouse buttons are covered in GestureDetector
In this video I covered it with two finger trackpad gesture detector but most desktop users like mice
https://user-images.githubusercontent.com/15329494/202690873-52b359f8-9fe6-444a-a5dd-0f3b3b98ed61.mp4

Thanks for the report. Treating this as proposal / feature request.
There's another proposal to support middle mouse button scrolling: https://github.com/flutter/flutter/issues/66537.

Since we already have the data in the PointerEvent.buttons bitfield, it is still possible to find out if a tap was made using the fourth and fifth mouse button, but it's not clear that we want to add that to the higher level GestureDetector API, since it would involve increasing the number of parameters and callbacks significantly.
(Desktop Triage)
cc @dkwingsmt

Adding too many methods to GestureDetector is a problem, because this class is meant to be a hub for common gestures. Adding 4th and 5th buttons to GestureDetector needs careful discussion.
However, having tap gestures on the 4th and 5th buttons requires only trivial work already. Here's what you can do:

Create a FourthButtonTapGestureRecognizer, which inherits BaseTapGestureRecognizer.

BaseTapGestureRecognizer is created with extensibility in mind and supports any mouse buttons. Check out the definition of TapGestureRecognizer.

Build a RawGestureDetector with your FourthButtonTapGestureRecognizer.

Other gestures do not support buttons this way. But we can always refactor them in the same way as tap. Are there any other gestures you have in mind that need this?

Currently TapGestureReconizer will not recognize the 4th or 5th button since they are not included in addAllowedPointer.
Moreover, adding too many methods to GestureDetector needs careful discussion, because this class is meant to be a hub for common gestures.
However, having tap gestures on the 4th and 5th buttons requires only trivial work already. Here's what you can do:
* Create a `FourthButtonTapGestureRecognizer`, which inherits `BaseTapGestureRecognizer`.

  * `BaseTapGestureRecognizer` is created with extensibility in mind and supports any mouse buttons. Check out [the definition for `TapGestureRecognizer`](https://github.com/flutter/flutter/blob/3b15d6a501bd89b2860c116c2ae698d96002522d/packages/flutter/lib/src/gestures/tap.dart#L554).

* Build a `RawGestureDetector` with your `FourthButtonTapGestureRecognizer`.

  * Check out [the definition for `GestureDetector`](https://github.com/flutter/flutter/blob/3b15d6a501bd89b2860c116c2ae698d96002522d/packages/flutter/lib/src/widgets/gesture_detector.dart#L1019).

Other gestures do not support buttons this way. But we can always refactor them in the same way as tap. Are there any other gestures you have in mind that need this?

Thanks for the detailed answer! I will try this
No, 4th and 5th mouse button tap/click should be enough here I think :)

Currently TapGestureReconizer will not recognize the 4th or 5th button since they are not included in addAllowedPointer.
Moreover, adding too many methods to GestureDetector needs careful discussion, because this class is meant to be a hub for common gestures.
However, having tap gestures on the 4th and 5th buttons requires only trivial work already. Here's what you can do:
* Create a `FourthButtonTapGestureRecognizer`, which inherits `BaseTapGestureRecognizer`.

  * `BaseTapGestureRecognizer` is created with extensibility in mind and supports any mouse buttons. Check out [the definition for `TapGestureRecognizer`](https://github.com/flutter/flutter/blob/3b15d6a501bd89b2860c116c2ae698d96002522d/packages/flutter/lib/src/gestures/tap.dart#L554).

* Build a `RawGestureDetector` with your `FourthButtonTapGestureRecognizer`.

  * Check out [the definition for `GestureDetector`](https://github.com/flutter/flutter/blob/3b15d6a501bd89b2860c116c2ae698d96002522d/packages/flutter/lib/src/widgets/gesture_detector.dart#L1019).

Other gestures do not support buttons this way. But we can always refactor them in the same way as tap. Are there any other gestures you have in mind that need this?

Hey :wave:
Two years later I actually tried your suggestion :)
For some reason only the 3. button on the mouse wheel click works. Every value higher than 3 in down.buttons is not recognized at all

Hey @Feichtmeier, If you tried it on Linux, this is probably related to the engine not forwarding such events, see https://github.com/flutter/engine/blob/207f088f73cb00fa05aff170030df891d62cadf5/shell/platform/linux/fl_view.cc#L156-L179

Thanks, I created a new issue for this
https://github.com/flutter/flutter/issues/152128

Surprising that this hasn't been added/fixed yet
I struggled with this a bit but for other beginners I'm adding ready to go code, mainly based on dkwingsmt answer and Feichtmeiers published code here and in his other issue, all credits to them:
kBackMouseButton is part of the events.dart class, kForwardMouseButton etc also have the correct value there.
class MouseBackRecognizer extends BaseTapGestureRecognizer {
  GestureTapDownCallback? onTapDown;

  MouseBackRecognizer({
    super.debugOwner,
    super.supportedDevices,
    super.allowedButtonsFilter,
  });

  @override
  void handleTapCancel({
    required PointerDownEvent down,
    PointerCancelEvent? cancel,
    required String reason,
  }) {}

  @override
  void handleTapDown({required PointerDownEvent down}) {
    final TapDownDetails details = TapDownDetails(
      globalPosition: down.position,
      localPosition: down.localPosition,
      kind: getKindForPointer(down.pointer),
    );

    if (down.buttons == kBackMouseButton && onTapDown != null) {
      invokeCallback<void>('onTapDown', () => onTapDown!(details));
    }
  }

  @override
  void handleTapUp({
    required PointerDownEvent down,
    required PointerUpEvent up,
  }) {}
}

And then call it like this for example:
child: RawGestureDetector(
        gestures: <Type, GestureRecognizerFactory>{
          MouseBackRecognizer: GestureRecognizerFactoryWithHandlers<MouseBackRecognizer>(
                () => MouseBackRecognizer(),
                (instance) => instance.onTapDown = (details) => _doWhateverYouWantHere(context),
          ),
        },
        child: widget.child,
      ),


Merge steps

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/3604

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Better login admin css

Above are nice to haves, good to merge though. 👍

Changes mentioned above should be apart of there own branches due to this one getting too large and more than just cosmetics


Solution explorer shows negative number of projects in solution

Hello,
I encountered a bug, but maybe it's Visual Studio's fault and not this extension's. But I figured it's better to start here.
Steps to reproduce:

Create new solution, and two projects inside: Project1 and Project2.
Make a reference to Project2 in Project1.
"Filter projects"
In the pop-up window, deselect Project2
Ensure that the button "Load dependencies of selected objects" is active.
OK

Expected behaviour:
Nothing changes.
Outcome:
In the solution item, it says "2 of 1 project".
If we repeat this procedure a few more times, we will get negative number of projects ("2 of -3 projects")

Hi, thanks for reporting this. I can reproduce this as well.  As far as I can tell, this is a bug in Visual Studio. I've reported the bug at Developer Community, but I'll leave this issue open just in case it's something caused by the extension.
https://developercommunity.visualstudio.com/t/project-count-in-solution-explorer-is-wrong-after/1435652

Hi, This is really good tool for quickly loading and unloading a projects. Is it possible to extend this to include two checkbox for each project. other checkbox is to also select that projects in multiple start-up project configuration. It will be very useful feature.

The upstream issue has been closed, and will not be fixed by the Visual Studio team, so I'm going to close this one off as well since there's nothing I can do about it.


Bluetooth: host: remove CONFIG_BT_RECV_BLOCKING

This config selects a variant of the HCI driver interface that spills out host internals unto the drivers and even the Zephyr controller. It will now be removed in favor of driver interfaces that hide the internals of the host.
The new default is CONFIG_BT_RECV_WORKQ_BT.
Any out-of-tree driver using the removed interface can be easily adapted by copying the following implementations into the driver as private functions:

hci_driver.h:BT_HCI_EVT_FLAG_RECV_PRIO
hci_driver.h:BT_HCI_EVT_FLAG_RECV
hci_driver.h:bt_hci_evt_get_flags
hci_raw.c:bt_recv_prio

In combination these symbols function as a interface adapter. These symbols only make sense in conjunction with bt_recv_prio, so they are also removed in this PR.
See individual commits for a digestible diff.

The CI is having cough fits again. I don't think it's this PR's fault. Please review.


Unbilled expenses card on project details

Assigned to cal for the design, then we'll need to hook it up to load the expenses in, or at least the grand totals

addressed in sitecleanup2


UI Changes for TabBarController in iPhoneXR

I am using RDVTabBarControler How to adjust UI on iPhoneXR safe area layout guides.
Xcode 10.1
Swift 4.2
Please help
Thanks

I have the same issue

Please follow the below steps to resolve the issue.
Pods -> Pods -> RDVTabBarControllerSwift -> Open UIDevice+RDVTabBar.swift
Add below code on UIDevice+RDVTabBar.swift
fileprivate let IPHONEXR_HEIGHT: CGFloat = 896
internal func isIphoneXR() -> Bool {
return UIDevice.current.isIphoneXR()
}
Open RDVTabBarController.Swift file add isIphoneXR() code on else if
if isIphoneX() {
tabBarContainerHeight = TABBAR_HEIGHT_IPHONE_X
}else if isIphoneXR() {
tabBarContainerHeight = TABBAR_HEIGHT_IPHONE_X
}
Please let me know if issue is solved on your case.


Unable to build a devcontainer with podman

.devcontainer/Dockerfile:
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04

RUN apt-get update && apt-get install -y \
    foot-terminfo \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /opt/
 RUN wget https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz \
    && tar xzvf ./nvim-linux64.tar.gz \
    && rm ./nvim-linux64.tar.gz

ENV PATH="$PATH:/opt/nvim-linux64/bin"

.devcontainer/devcontainer.json:
{
  "name": "ide-py",
  "build": {
    "dockerfile": "Dockerfile"
  },
  "features": {
    "ghcr.io/devcontainers/features/python:1": {
      "version": "latest"
    }
  }
  //"runArgs": ["--security-opt", "label=disable"],
}

build command: devcontainer build --docker-path podman --workspace-folder ./

devcontainer Error Encountered
[3/3] STEP 10/13: RUN --mount=type=bind,from=dev_containers_feature_content_source,source=python_1,target=/tmp/build-features-src/python_1     cp -ar /tmp/build-features-src/python_1 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/python_1  && cd /tmp/dev-container-features/python_1  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/python_1
cp: cannot access '/tmp/build-features-src/python_1': Permission denied
Error: building at STEP "RUN --mount=type=bind,from=dev_containers_feature_content_source,source=python_1,target=/tmp/build-features-src/python_1 cp -ar /tmp/build-features-src/python_1 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/python_1  && cd /tmp/dev-container-features/python_1  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/python_1": while running runtime: exit status 1
Error: Command failed: podman buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-tdubiel/container-features/0.43.0-1686449407786/Dockerfile-with-features -t vsc-py-28d0486e1c2b00c4e973d123ef6f69141ddf0a260b975d4df1c9e87959307d37 --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-tdubiel/container-features/0.43.0-1686449407786 --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/home/tdubiel/Code/ide-toolbox-setup/py/.devcontainer
  at xte (/var/home/tdubiel/.nvm/versions/node/v18.16.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2005:1698)
  at async zw (/var/home/tdubiel/.nvm/versions/node/v18.16.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2004:1691)
  at async cne (/var/home/tdubiel/.nvm/versions/node/v18.16.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2152:20389)
  at async lne (/var/home/tdubiel/.nvm/versions/node/v18.16.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2152:18322)
{"outcome":"error","message":"Command failed: podman buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-tdubiel/container-features/0.43.0-1686449407786/Dockerfile-with-features -t vsc-py-28d0486e1c2b00c4e973d123ef6f69141ddf0a260b975d4df1c9e87959307d37 --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-tdubiel/container-features/0.43.0-1686449407786 --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/home/tdubiel/Code/ide-toolbox-setup/py/.devcontainer","description":"An error occurred building the image."}

podman info --debug output
host:
  arch: amd64
  buildahVersion: 1.29.0
  cgroupControllers:
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.1.7-2.fc38.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.7, commit: '
  cpuUtilization:
    idlePercent: 97.24
    systemPercent: 1.76
    userPercent: 0.99
  cpus: 16
  distribution:
    distribution: fedora
    variant: sericea
    version: "38"
  eventLogger: journald
  hostname: fedora
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 524288
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 524288
      size: 65536
  kernel: 6.2.9-300.fc38.x86_64
  linkmode: dynamic
  logDriver: journald
  memFree:<PHONE_NUMBER>8
  memTotal:<PHONE_NUMBER>8
  networkBackend: netavark
  ociRuntime:
    name: crun
    package: crun-1.8.3-2.fc38.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.8.3
      commit: 59f2beb7efb0d35611d5818fd0311883676f6f7e
      rundir: /run/user/1000/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
  os: linux
  remoteSocket:
    path: /run/user/1000/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: true
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.2.0-12.fc38.x86_64
    version: |-
      slirp4netns version 1.2.0
      commit: 656041d45cfca7a4176f6b7eed9e4fe6c11e8383
      libslirp: 4.7.0
      SLIRP_CONFIG_VERSION_MAX: 4
      libseccomp: 2.5.3
  swapFree:<PHONE_NUMBER>
  swapTotal:<PHONE_NUMBER>
  uptime: 2h 30m 42.00s (Approximately 0.08 days)
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries:
  search:
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - docker.io
  - quay.io
store:
  configFile: /var/home/tdubiel/.config/containers/storage.conf
  containerStore:
    number: 4
    paused: 0
    running: 3
    stopped: 1
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /home/tdubiel/.local/share/containers/storage
  graphRootAllocated:<PHONE_NUMBER>76
  graphRootUsed:<PHONE_NUMBER>
  graphStatus:
    Backing Filesystem: btrfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 48
  runRoot: /run/user/1000/containers
  transientStore: false
  volumePath: /home/tdubiel/.local/share/containers/storage/volumes
version:
  APIVersion: 4.4.2
  Built:<PHONE_NUMBER>
  BuiltTime: Wed Mar  1 05:22:39 2023
  GitCommit: ""
  GoVersion: go1.20.1
  Os: linux
  OsArch: linux/amd64
  Version: 4.4.2

env:

node --version: v18.16.0
devcontainer --version: 0.43.0

Possibly related topics?

SELinux shared labels: https://github.com/containers/podman/issues/15423

some to me, I think podman does not support podman buildx command

Related: https://github.com/microsoft/vscode-remote-release/issues/1333

@chrmarti - thank you sharing the related ticket
I must admit, I am not sure which rabbit hole to start with, or if the implication is that this won't work at all... an additional hint if this is possible would be appreciated

I created a $HOME/.config/containers/storage.conf, with these contents: (docs for future readers)
[storage]
driver = "overlay"

[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"

followed by podman system reset and a re-attempted devcontainer build..., but it failed in the same manner as before.

I then followed the above procedure, but for $HOME/.config/containers/containers.conf: (docs for future readers)
[containers]
volumes=["/tmp:/tmp:Z"]

This also failed, much earlier in the build process. This attempt was probably misguided.

If permissive/disabled SELinux is a viable solution, I would be open to that. This is my system for personal dev only

I'm not familiar with SELinux. Commenters in https://github.com/microsoft/vscode-remote-release/issues/1333 have suggested that the z/Z flags (https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label) might help, but I haven't tried. Note that the documentation warns about using Z on system folders.

@chrmarti, after looking into what the z/Z flags do, I found a way to do the same thing with SELinux commands. The below successfully builds the devcontainer, without permanently changing the system or SELinux config.
chcon tweaks SELinux so that the build succeeds, and restorecon reverts said-tweak
sudo chcon -R -t container_file_t /tmp/
devcontainer build --docker-path podman --workspace-folder ./
sudo restorecon -RFv /tmp/

Disclaimer: I lack the expertise to determine if there are downsides to doing this. It seems harmless
Notes for the curious:

The z flag does a similar thing to the above command, relabeling the directory as container_file_t (src)
restorecon required the F (force) flag. Without it, it would log the following when using the verbose flag: /tmp not reset as customized by admin to system_u:object_r:container_file_t:s0

@dubielt1 please consider re-opening this bug.
Making changes to the security settings on /tmp is not available to non-root users. At our facility we don't give root access to developers, only the sysadmins have this right.
podman fits into this approach perfectly because it allows us to build and use containers without root permission.
I've already asked our sysadmins to change the SELinux settings on /tmp on our workstation build. Their response was - that is the default settings that RedHat provide so we don't want to change them.
I assume at present devcontainers do not change the command line arguments they use based upon podman/docker. But really in order to support podman on its native distro of RedHat this needs to be the case. Or at least expose the arguments as a setting that we can override.
In the devcontainer JSON we get to specify the arguments for building containers. But the cause of this issue (which happens when adding 'features' to your devcontainer) is not exposed in the same way.

@chrmarti thanks! Sorry, I missed the mention of the commit.

@gilesknap I have added a fix that will use the z flag for this mount when using buildah. Hope that makes sense. This change will be in the next version of the CLI.

@chrmarti, @n1hility of Red Hat was taking a look at this issue too. Does this fix solve for all rootless use-cases of Podman powering devcontainers?

@worldofgeese This only takes care of the build context for adding feature scripts.


req.ip format error on saving with waterline

sails version 0.10.5.
in controller
var ip = req.ip;

::ffff:<IP_ADDRESS>

in waterline will get an error:

• undefined should be a ip (instead of "::ffff:<IP_ADDRESS>", which is a string)

What does the model definition look like?

register_ip : 'ip'

https://github.com/chriso/validator.js/pull/399

Looks like @RWOverdijk patched this up in Validator and the latest version of Anchor has it up to date. Calling this one closed.


Add books section into the QGIS Website.

There's a couple at locatepress.com :)

@g-sherman I will look into the website, thanks!

@g-sherman I added locatepress books. Could you check that none are missing?

Looks fine for locatepress books...

@rduivenvoorde, could you merge my PR?

@yjacolin yep, will have a look this evening, cannot check/build here...

@yjacolin thanks Yves, sorry for taking so long to pull
What about adding some images?

@rduivenvoorde I agree that some image could improve the page. but I wonder about legal issue. Currently, I copy-pasted the description from website. do you think this is a real issue?
I could try to improve the page, but probably not the next week as I am traveling.


Add Skeleton

Add Skeleton under Animation #1839

          1 Warning

:warning:
Found 4 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

264
502
https://github.com/hyperoslo/Cache

876
301
https://github.com/terflogag/FacebookImagePicker redirects tohttps://github.com/floriangbh/FacebookImagePicker

1376
301
https://github.com/SwiftOnEdge/Edge redirects tohttps://github.com/skylab-inc/Edge

2405
301
https://github.com/terflogag/OpenSourceController redirects tohttps://github.com/floriangbh/OpenSourceController

  Generated by :no_entry_sign: Danger

Activity Indicator may be a better fit.

@dkhamsing Moved to activity indicator

Thank you
Sent with GitHawk


Control fading transition duration

Is there a way to adjust the transition duration on the controls? It looks like javascript is setting the opacity. If a class was added/removed for visibility this would allow others to set the transition behavior in CSS.
(Thanks for the work on this! 👍 )

+1 for this - would love to be able to control fade behavior. Setting visibility via a class could offer nice flexibility (even allowing for custom easing).


fix(types): write options dryRun and partialSuccess (#711)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[X] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[X] Ensure the tests and linter pass
[X] Code coverage does not decrease (if any source code was changed)
[X] Appropriate docs were updated (if necessary)

Fixes #711 🦕

@googlebot I signed it!


[calendar] meeting room booking script data importing speed up

User Story
As ...the meeting room data may be large, importing the data into cosmosDB may be slow in current script
I want ... speed up the importing
so that ... need to add the cosmosDB importing tool into the script https://docs.microsoft.com/en-us/azure/cosmos-db/import-data
Acceptance Criteria
List your requirements.

[ ] ...
[ ] ...
[ ] ...

Resources
Provide any screenshots or conversation mockups to support your request.
Learn how to mock up bot conversations with .chat files.
Notes
Provide any additional information.

updated


Support always proxying requests for Docker rules

This PR let's us specify to always proxy requests for Docker rules.

This needs revision as always-proxy really is a property on domains -- not packages.

Thought about it, it's actually fine!


Problem pulling docker image

Network timed out while trying to connect to https://index.docker.io/v1/repositories/cloudera/quickstart/images. You may want to check your internet connection or if you are behind a proxy.

Have this also today, it was working yesterday fine.

There have been a couple of network incidents, which you can check here:
http://status.docker.com/
Closing this for now, but feel free to re-open if the issue persist past the network incident


terminus site redis clear is returning "[error] Redis cache not enabled"

Terminus version = 0.10.0
terminus site redis clear --site=my-site --env=dev is complaining that Redis is not installed when in fact, it is installed.
Connecting to Redis from the command line and running the keys * command shows all the keys currently cached and Redis is working fine.
This applies to both WordPress and Drupal 7.

@twooten I tried to recreate the issue, but could not. In fact, in 0.10.0, the site redis command seems to have been completely broken for a long time due to an issue with the Terminus/Models/Site#bindings function having an invalid API request string to retrieve a site's bindings.
I fixed the problem I found and opened PR #799, but I can't find a way to get it to tell me that Redis is uninstalled, even when I remove it from my site. As there is no text in Terminus to describe the issue, I believe the error must be coming from the platform instead. Would it be possible to get a screen shot of the command and its output? Does the fix in 799 do anything for it?


GH-138 Improve the overall performance of the interpretation process

Coverage decreased (-0.2%) to 56.14% when pulling c3a674f6267e1ea2801ee5a8c14aaf2840546dd2 on dzikoysk/gh-138 into 8d9b747c556221056953e43b0c9a6b9bc7500311 on master.


Update packages

I just ran npm install and I got these warnings.
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

These are indirect dependencies of libraries which I don't control.  I wouldn't want to cause more problems by potentially upgrading to newer versions of these unless there's a specific problem that you have hit?

Well... It actually builds and does not log any errors.
So I guess that's not a real problem.
But it seems that it is not making any changes to the write capacity, even though I'm saturating it.
Any tips on what problem I may be running into?

One raised issue is enough here.  I think you found the issue of the missed config settings, thanks for that.

Indeed one was enough. Sorry for the spam, I reported everything that seemed unrelated, but apparently only one was an actual issue.
Thank you!


UCS-83 : fixed line that made PEP unreachable fromUCS

Removed unused RULE_COMBINING class
fixed line missing

merging PR into master


Remap shortcut

Microsoft PowerToys version
0.69.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I remapped ALT + N to the ñ character, now everytime i try to edit Remap a shortcut it automaticly closes.
✔ Expected Behavior
To not close and be able to use it.
❌ Actual Behavior
It crashes.
Other Software
No response

Please send a /bugreport so we can try to replicate with your current settings. Thank you!

PowerToysReport_2023-04-25-17-09-48.zip

I've just updated to de new version, and the error persists.
PowerToysReport_2023-04-25-17-30-10.zip

...

Keyboard manager can now remap a key to a string, does that resolve this issue? /needinfo


Can't Edit Project, Service, Balancer or Containers from Main Project list page

v0.21.3
Steps:

Create a project
Add a Service and Balancer
From the main list page try to edit the Service or Balancer and save

Results:
Error

Expected:
No error
Comment:
My URL has undefined in it - static/services/projects/undefined/services/1s2/edit

v0.22.0-rc1
Verified fixed


GH-362: Check for char boundary before truncating

This PR resolves GH-362 by checking that the index try_smart_sequence is going to split at is actually a char boundary. If not, it just skips attempting that sequence (and that would be fine since we have no smart sequences starting in non-ascii character source representations).
You can try this out by doing \😀 in the playground. Previously, the compiler would crash (and the status would be stuck at Compiling...), but now it works as expected. This is the code handling the smart sequences ..., -- and ---, so you can try them out to see that they have not been broken. There might be better implementations of this, but I think this would be sufficient.

Brakes on: \k  --- :(

No longer brake

Looks good to me, but perhaps @Forsinge has more insight!

Looks good to me as well! Maybe there is a more descriptive name for x but I can't think of anything clever.


Minor fix to the import

import 'lite-captcha' -> import 'lite-recaptcha', or it will not work.
Thanks for this component...!
Best, Mark

Thanks a lot, @markhm!


Update Available Models

Issue #, if available:
Description of changes:
Updating the list of available models in GluonTS docs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@lostella what should I write under "Architecture/method" for DeepNPTS. Also, is the MQF2 model functional?


Fixed joind in username column migration

This PR

[x] Fixes error when running migration if any of the speaker urls is null in the database

Thanks @carnage


closes #20, adding apito feature metallic to Samba

I adding Apito sound feature, apito is metallic and have 5555 of sound volume.

Nice!


[UWP] Build errors

axmol version: 2.0, dev branch, https://github.com/axmolengine/axmol/tree/1948c4c06603973c4d952b01bf2ebb75111a8a9c
devices test on:
developing environments

NDK version: r23c
Xcode version: 14.2
Visual Studio:

VS version: 2022 (17.6+)
MSVC version: 1929, 1934, 19.35, 19.36, 19.37
Windows SDK version: 10.0.22621.0

cmake version:
Steps to Reproduce:

Generate a new project, such as axmol new -p org.axmol.hellocpp -d . -l cpp HelloCpp
Run: axmol build -p winuwp
Project builds partially, and no executable is generated
Open the HelloCpp.sln file. Attempt to build. Many errors are generated:

I can see that the file module.g.cpp does actually exist:

Is there something else that needs to be done in order to get a successful build?

Do you install visual studio C++ UWP workflow?

Do you install visual studio C++ UWP workflow?

I've got all of these already installed:

Is that what you are referring to?

Do you install visual studio C++ UWP workflow?

I've got all of these already installed:
Is that what you are referring to?

yes, i have tests, can build in engine root directory, can't build in unique project, I have no idea yet

This section of AXBuildHelpers.cmake:
macro (ax_setup_app_props app_name)
    if(WINRT)
        get_target_property(app_vcxproj_dir ${APP_NAME} BINARY_DIR)
        configure_file(
            "${_AX_ROOT}/cmake/Directory.Build.targets.in"
            "${app_vcxproj_dir}/Directory.Build.targets"
            COPYONLY
        )

The Directory.Build.targets.in contains this:
<Project>
  <ItemGroup>
    <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
  </ItemGroup>
  <ItemDefinitionGroup>
    <Midl><OutputDirectory /></Midl>
  </ItemDefinitionGroup>
</Project>

The issue may possibly be that $(GenerateFilesDir)` macro is mapped to this:

If we instead use this in Directory.Build.targets.in:
    <ClCompile Include="$(SolutionDir)$(GeneratedFilesDir)module.g.cpp" />
Then that error goes away, as it results in the full path. For example:
C:\dev\HelloCpp\build_winuwp_x64\Generated Files\module.g.cpp
There are other errors at the moment though after the above is fixed:

No, only module.g.cpp required


Fix links: bugs, homepage, funding

Landed in https://github.com/metarhia/metautil/commit/f3a350c9bef2e0f3486f56323440f7fbd96d533c

Landed in https://github.com/metarhia/metautil/commit/f3a350c9bef2e0f3486f56323440f7fbd96d533c


All versions up to v.<IP_ADDRESS> are crashing on Win7

All versions up to v.<IP_ADDRESS> are crashing on Win7 x64. Is this expected to work on Win7? Which .NET Framework is it advised to run on?
Details from the crash UI:
`Problem signature:
Problem Event Name:	CLR20r3
Problem Signature 01:	PrefetchBrowser.exe
Problem Signature 02:	<IP_ADDRESS>
Problem Signature 03:	602bc6f9
Problem Signature 04:	PoshExeHostWinV5
Problem Signature 05:	<IP_ADDRESS>
Problem Signature 06:	602bc6f9
Problem Signature 07:	3c
Problem Signature 08:	87
Problem Signature 09:	System.IO.FileNotFoundException
OS Version:	6.1.76<IP_ADDRESS>.256.48
Locale ID:	1033
Additional Information 1:	fdc5
Additional Information 2:	fdc51d2c66af9ab3d2cf6cf3252915ec
Additional Information 3:	e201
Additional Information 4:	e201afc90b8923e95bd6d39a4817f2e0
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
`
Same for MFT Browser.

Should work fine with any Windows 10/11 version.


missing assets when building for multiple targets on Windows

On Windows 10, when building with just one target (e.g. win-x86) everything works as expected. But when building with more than one target (in my case win-x86 and linux-x64), the asset files (e.g. index.html) go missing from all built targets. No error messages are produced during the build process, just that html and javascript files don't get copied to dist. All other required binaries are copied normally.

nevermind, it seems to be an issue with github actions


A11y_Azure Tools for VS Code_Azure Function_Create New Project_Screen Reader: Voice over is not announcing the dialog names while creating "New project", "Functions" and on "select subscription".

GitHubTags:
#A11yMAS; #A11yTCS; #A11ySev2; #AILimited; #Azure Tools for VS Code; #BM-AzureToolforVSCode-MAC-AUG2023; #DesktopApp;  #A11yWCAG1.3.1; #Info and Relationships; #Element:Dailog; #Screen reader; #Voiceover; #AINotInScope; #Device; #MAC;
OS Details:
Mac OS Ventura 13.5
Environment Details:
Application Name: Azure Tools for VS Code
Repro Steps:

Turn on Voiceover.
2.Open Visual studio code
3.Click on extension button and search for "Azure Functions"
Click on install and move to the "Azure" button
Click on "Create New Project Button" from the toolbar.
6.Verify Screen reader is reading the dialog names while creating "New project", "Functions" and on "Subscription".

Actual Result:
Voice over is not announcing the dialog names while creating "New project", "Functions" and on "Select subscription" like" Create new project", "Create new time Trigger(5/7)" etc.
Note: Similar issue is observed in "Create function" and " Select subscription" scenarios also.
Expected Result:
Voiceover should announce the dialog names while creating "New project", "Functions" and on "Subscription" like" Create new project", "Create new time Trigger(5/7)" etc.
Attachment:

Can you please confirm if this is still reproducing?
I have not been able to repro this on macOS v14.0.  When I start from the workspace toolbar, all of the selected commands are read, and once executing the command, all quick pick options are ready in list format.  This also has worked for me when entering through the command palette as well.

@MicroFish91 Here i am referring "dialog names" means " Create New project". Please refer highlighted part in below attached screenshot. similarly while creating "Functions" and on "Subscription" like" Create new project", "Create new time Trigger(5/7)" etc.

Similar issue already logged upstream with VS Code, tracking here: https://github.com/microsoft/vscode/issues/149387

Add Tag #A11yCAIOH

#Closed;
Verified the issue in environment:
Visual studio Code Version: 1.82.1 (Universal)
Issue is fixed. hence closing the bug please find added attcahment for reference.


Fix license (release-6.0)

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/7968
Problem Summary:
The license header should be "PingCAP, Inc" instead of "PingCAP, Ltd"
What is changed and how it works?
Fix the license by using the script in https://github.com/JaySon-Huang/licenseheaders/tree/my_fork, then format the code by .clang-format
gh repo clone JaySon-Huang/licenseheaders
./fix_license.sh /path/to/tiflash
cd /path/to/tiflash
python3 format-diff.py --diff_from `git merge-base upstream/master  HEAD`

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-unit-test

/run-unit-test

/run-unit-test


Update dependencies

Codecov Report
Patch and project coverage have no change.

Comparison is base (517ea80) 100.00% compared to head (91d14e3) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #233   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           41        41
  Lines         1609      1609
  Branches       278       278
=========================================
  Hits          1609      1609

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ion-footer with component which contains only is hiding the content area.

I have a keypad like component, which i put it in footer.
The content scroll size is not adjusting for footer area.
If i have footer like static ion-component like

Footer

Footer

then the content adjust automatically.
What behavior are you expecting?
The content should shrink.
Ionic 2 plunker:
http://plnkr.co/edit/gIQtXCiJwUVxr7fZwZOp?p=preview

Hello! Thanks for opening an issue with us! So i just tried to use your plunker that you made to reproduce this issue, but it seems there are some bugs with your component that are stopping the page from being able to be opened. Would you mind reviewing your plunker? Thanks for using Ionic!

Thanks. let me check.

I can open the page, by clicking on thanks button. Inspected the page in separate window and no error messages.

http://plnkr.co/edit/gIQtXCiJwUVxr7fZwZOp?p=preview

Hey! Weirdly its working for me now, not sure why it wasn't before, sorry about that! So the issue seems to be the css with your directive. I made a plunker here with just some plain html and can confirm that the scrolling content adjusts accordingly. So, since this issue seems to be an issue with your directive and not an issue with Ionic i am going to be closing for now. Thanks for using Ionic!


Make watchedObjects case insensitive

Right now the schema enforces it as case sensitive. Make it case insensitive, then convert toLower() before checking in code.

https://www.npmjs.com/package/ajv-keywords


Difference between FSQ and LFQ

Hi,
I was wondering about the difference between FSQ (finite scalar quantization) and LFQ (look-up free quantization) for vector quantization.
As for a single vector among the encoder output, whatever the architecture, if we consider the quantizer to only map to -1 and 1. Then what's the difference ?  Within LFQ, it still call the quantized vector to be a "codebook vector" within the "codebook". Well, in essence, that "codebook" is somewhat a concept manually made, it is no more than combinations of different quantization possibilities at each dimension, as it's not learned at all.
Then what's exactly made within FSQ, as the paper said: If we map each entry zi to L values (....., followed by rounding to integers), we obtain a quantized zˆ, where zˆ is one of Lˆd unique possible vectors (d is vector dimension, L is quantization levels, L being 2 is -1 and 1).  I believe this Lˆd possible vectors are the codebook itself anyway.
Hope someone could teach & discuss about this, many thanks!

how about https://github.com/zhaoyue-zephyrus/bsq-vit/blob/main/transcoder/models/quantizer/bsq.py

I think both of them are lookup-free quantization, while the LFQ method, a specific and simple instance of lookup-free quantization, just occupies this general term (so for clarity, I won't use abbreviation for this general approach).
The lookup-free quantization works without explicitly maintaining embeddings for index lookup (e.g., via nearest neighbor search), but using a pre-defined map (probably without any learnable parameter) to obtain an index. As you can verify, both LFQ and FSQ works like this.

Well, in essence, that "codebook" is somewhat a concept manually made, it is no more than combinations of different quantization possibilities at each dimension, as it's not learned at all.

Yes I agree, the "codebook" in this context is implicitly represented as a set of integers.
So, since both of them are lookup-free quantization, they can only differ in specific implementations, that is, the pre-defined map to obtain the index given the (projected) representation vector. As far as I can tell, LFQ simply uses sign function, and FSQ defines a function with  something like f(z) = round((L - 1) / 2 * tanh(z)).


Unable to download the data

Hi,
Are there any other links to download the 199 GB version of the dataset ? the downloading always fails with the current link.

Same problem on me

solved it using the wget with --continue

Thank you for reply!
I'm sorry but the original link has been broken(page not found)
If you don't mind, can you please share your dataset by google drive or some other way?

I have a same problem , the original link has been broken(page not found),and can not download the dataset.May be you can update the original link.Or if you don't mind, can you please share your dataset by google drive or some other way?

I download the dataset you mentioned "199GB version" by using wget


Some information of region is wrong.

[Enter feedback here]
Some information of region is wrong.
At the section Standard deployment model availability, some availability is wrong.
The availability in English page is not match to Korean page.

English page : https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#standard-deployment-model-availability
Korean page : https://learn.microsoft.com/ko-kr/azure/ai-services/openai/concepts/models#standard-deployment-model-availability

We can easily see japaneast part for example.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5f939b05-2f17-6383-00d4-c99bbc39011c
Version Independent ID: 6454961a-c54e-5ccb-d4f3-f1bc94f60b45
Content: Azure OpenAI Service models - Azure OpenAI
Content Source: articles/ai-services/openai/concepts/models.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@freetcat03 there is a localization delay with updates to docs on learn.microsoft.com. In the case of the Azure OpenAI docs updates are made first to the en-us version of the docs and then these changes propagate to all the languages the docs are localized into over a period of 1-4 weeks through a combination of both machine and human translation.
The en-us docs will always have the most up-to-date information.
Last week we noticed that we were invertedly showing models as available in japaneast and two other regions which were only available to a subset of customers rather than available to all customers including brand new customers. We have corrected this error in the en-us docs, but the change has not propagated to the other localized versions yet. This is expected behavior.

@mrbullwinkle
Thanks for your quick responses.
@freetcat03
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@freetcat03
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Fixed typo : rezetZoom -> resetzoom.

Fix for CR #300

@t20100
If we follow camel case, resetZoom should be the correct option and resetzoom get the deprecation warning. I do not care so much and whenever possible I try to avoid more-than-one-word keywords and if it is a keyword already existing in matplotlib I just use it. If it were my choice, I would just silence the deprecation warning and accept both forms silently.
Qt would write resetZoom, xScale, yScale and so on because it is self-consistent on the whole API (including keywords) while matplotlib writes xscale and yscale. So, please clarify. In fact, matplotlib does whatever it wants at will in what concern keywords:
Line2D(xdata, ydata, linewidth=None, linestyle=None, color=None, marker=None, markersize=None, markeredgewidth=None, markeredgecolor=None, markerfacecolor=None, markerfacecoloralt='none', fillstyle=None, antialiased=None, dash_capstyle=None, solid_capstyle=None, dash_joinstyle=None, solid_joinstyle=None, pickradius=5, drawstyle=None, markevery=None, **kwargs)

I also try to avoid more than one word arguments and when it happens my taste is to use lower case (without _ ).
xScale and yScale aguments come from PyMca where there is also xlabel and ylabel arguments.
I deprecated xScale and yScale in favor of origin and scale arguments in silx.
For silx plot API, I've used lower case for arguments, so resetZoom is a bug to me, I would only keep resetzoom.
I would keep lower case arguments in the plot unless we really want to enforce camelCase arguments through out silx.gui which would break compatibility with PyMca plot API (e.g.,  linewidth, xlabel, yaxis...).

Then, i merge that for the code quality.
But you still can continue to talk about the ideal API.

@t20100
OK. Let's say we assume that plot API will try to be lowercasewithoutunderscores.

Ok for me.


feat: argo app removal

This PR ensures that when an app is disabled in the values repo by setting the value of apps.<app-name>.enabled to false, its corresponding argo application and associated resources are removed from the cluster.
How to test:

enable loki via apl console
deploy changes
wait until the application is deployed
go to values repo and set apps.loki.enabled: false
Observe that corresponding ArgoCd application is removed
Observe that corresponding k8s resources are removed

Ah I didn't know we removed the finalizers just before deleting the application. What I previously did was setting the finalizers on the application yaml when creating it. That way people can like remove the finalizers if they want to keep stuff but delete the ArgoCD application. Now we will always add the finalizers even if the user doesn't want it. Is that something we want?

Ah I didn't know we removed the finalizers just before deleting the application. What I previously did was setting the finalizers on the application yaml when creating it. That way people can like remove the finalizers if they want to keep stuff but delete the ArgoCD application. Now we will always add the finalizers even if the user doesn't want it. Is that something we want?

We are not removing but rather adding the finalizers right before the deletion as described in the argocd docs. In theory your approach should also work but I only tested this one.


dashboard example: now loads data relative to yml config and not dashboard.py

https://github.com/bokeh/datashader/issues/27

Thanks!  I'll go ahead and merge this, even though the tests aren't passing, because it shouldn't affect the tests anyway.


Added test for JsonSerialize

just adding a test-case to make sure we won't regress marking php-src native interface methods as unused

Thanks


Integrated with junit

Integration with JUnit4 Framework and SpringBootTest.

ArkBootRunner  correspond  to SpringRunner
ArkJUnit4Runner correspond to JUnit4

Pull Request Test Coverage Report for Build 72

16 of 112 (14.29%) changed or added relevant lines in 11 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 29.991%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/pipeline/DeployBizStage.java
1
2
50.0%

sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/ArkContainer.java
2
5
40.0%

sofa-ark-parent/core/spi/src/main/java/com/alipay/sofa/ark/spi/argument/LaunchCommand.java
2
6
33.33%

sofa-ark-parent/support/ark-ide-starter/src/main/java/com/alipay/sofa/ark/ide/startup/SofaArkBootstrap.java
0
5
0.0%

sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/bootstrap/Launcher.java
0
6
0.0%

sofa-ark-parent/support/ark-springboot-starter/src/main/java/com/alipay/sofa/ark/springboot/runner/ArkBootRunner.java
10
17
58.82%

sofa-ark-parent/support/ark-ide-starter/src/main/java/com/alipay/sofa/ark/ide/runner/ArkJUnit4Runner.java
0
8
0.0%

sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/tester/TestHelper.java
0
8
0.0%

sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/tester/TestClassLoader.java
0
15
0.0%

sofa-ark-parent/support/ark-ide-starter/src/main/java/com/alipay/sofa/ark/ide/common/DelegateArkContainer.java
0
39
0.0%

Files with Coverage Reduction
New Missed Lines
%

sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/bootstrap/Launcher.java
1
0.0%

Totals

Change from base Build 67:
-0.1%

Covered Lines:
1014

Relevant Lines:
3381

💛  - Coveralls

@straybirdzls  ready

Samples and docs will be updated on another mr or any other plans?

@straybirdzls  docs would be updated in another mr.

Any documentation on how to run SOFA Ark with JUnit?

@khotyn  doc  will updated later in project of document.  U can refer to the readme file of the sample project, sample-springboot-ark. it introduces how to run test case in junit4 framework and springboot

I think we still need a SofaBootJUnit4Runner and SofaBootRunner instead of ArkJunit4Runner and ArkBootRunner, what's plan?

IDE start from  SofaArkBootstrap seems break. Will end in endless loop on container start and stop, start and stop ... Keep updated when it get fixed. @QilongZhang

@QilongZhang Yes, but in the next release, when the  SOFA Boot user need to use SOFA Ark in their test, they should have SofaBootRunner instead of ArkBootRunner. I mean we should have plan on it.

@khotyn  yeah, i agree with you.  i will make a plan with other partner


swaylock-effects: init at 1.6.0

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Don't forget to add yourself to the maintainers list in a separate commit titled maintainers: add bram209 (this is why CI is failing). See maintainers-list.nix for instructions and examples.

thanks @cole-h, added myself to the list : )

@cole-h thanks for the review, applied all your suggestions

Try with
security.pam.services.swaylock = {};

There's an evaluation error by @GrahamcOfBorg : https://gist.github.com/GrahamcOfBorg/fca3a8a7a7559c3836035ab2e357fa17 .

@GrahamcOfBorg eval
I think this was from when ShellCheck was marked as broken in a Haskell packages update.

closing since #84178 merged nearly the same


MSID: 99643 Version: 1 DOI: 10.1101/2<IP_ADDRESS>5003

MSID: 99643
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>5003
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=99643
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>5003

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/99643v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>5003
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/99643/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [author-contrb-no-aff-xref] Author Elisabeth V Oskoui has no affiliation.
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c4) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c47) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c49) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c50) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c51) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c121) has a publication-type='other'. Is that correct?


saving map results

Hi,
first of all, thanks for sharing this project.
I only have the question if there is a command that enables to also save the created map as .pcd file?
Thanks in advance.

Hi,
first of all, thanks for sharing this project.
I only have the question if there is a command that enables to also save the created map as .pcd file? Thanks in advance.

hello i have same problem too. did you sovle this problem?
if you solve this problem, can you share how to save map?
thank you


webpack.validateSchema is not a function

I just cloned repo, installed all the dependencies and use npm start.
os - Ubuntu 16.04

Try changing  "webpack-dev-server": "^2.1.0-beta.2", in package.json to "webpack-dev-server": "2.1.0-beta.2". Using npm install after.

Solution confirmed

So this was inactive very long time, but I just updated to angular 7, and project is now based off of angular CLI.  So probably you've moved on, but just thought I should respond and close all the issues =)


Added TDD yaml

Added TDD yaml files
Added support for codecov

The build threw the above warning. I think this can be fixed if we upgrade the action versions to actions/checkout@v3 and codecov/codecov-action@v3. Ways to use versioned actions
Linking checkout and codecov changelogs.

Made the v3 changes


Create Workflow (part 1), Enrich data with Data Transform in SAP Data Hub, trial edition 2.4

Tutorial URL: https://developers.sap.com/tutorials/datahub-trial-v2-workflow-part01.html
Please specify the step you are referring to: 5
I think it would have been an improvement to the Tutorial if 'set' 'Naming of the Graphs' was given.
The tutorial user has no idea what is coming next in the tutorials. It is not until tutorial 7 that we become aware that we must find the Graphs that we created in tutorial 5 and 6.
There was no explanation in tuturial 5 of 12 regarding the Graph Naming conventions. During tutorial 7 of 12 it was challenging to find the graphs previously created, as at the time of creation, we were naming our Graphs 'in the dark'.
Just a suggestion :)

Thank you for your suggestion.  It will be definitely better to add the naming instruction here. I will add it soon.

@schneidertho Has this been handled?

I checked it today. This still needs to be done (seems we forgot it). I will put it on my todo list for when we make the next update to the tutorials.

@schneidertho any updates?

@schneidertho any updates?

@Rob3487
The name is added in step 5.3

@roy-zhong Do you have a PR/commit you can point to to show it is complete (you can put this in the issue)? Can this be closed now?

@thecodester
This can be closed.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


npm install ionic-minify --save-dev

I installed this plugin but, unable to find the file you have mentioned, its behaving like below URL
https://github.com/Jiansen/ionic-minify

Which file are you looking for? I checked every link and all aof them are working


FORECAST.LINEAR Formula is not Working for me

String formulaForPrediction = 'FORECAST.LINEAR(A${listLen+2},C2:C${listLen+1},A2:A${listLen+1})';
CellIndex cellIndex= CellIndex.indexByColumnRow(columnIndex: 2,rowIndex: (listLen+1));
sheet.cell(cellIndex).setFormula(formulaForPrediction.toUpperCase());
And after Saving that file into my local Storage and open in to my system and just change the formula text from small to Capital it starts working but i want to Perform the same Operation using Command / Code

Sorry, for issues in this library, I'm doing some structure changes in my local repo and would be releasing soon.
Again sorry for the issues.... I'm trying my best to keep this project alive while searching for the jobs.
Thanks for understanding.
Much appreciated.


Take Over Control When Group Is Mismatched

The README says:

A good rule to follow is that if you always control lights together (like bulbs in a ceiling fixture), then they should be in a Zigbee group. Then, only expose the group (and not individual bulbs) in Home Assistant Dashboards and external systems like Google Home or Apple HomeKit.

Unfortunately, it's often the case that I want to change the color or brightness of single lights, and I have several overlapping zones of lights that I control. This means that, when controlling lights at a granularity lower than the groups that are exposed to Adaptive Lighting, I get annoying behavior:

Turning on a single light or subgroup of lights causes the whole group to be turned on by AL
Modifying a single light or subgroup of lights isn't noticed by AL, so the lights get changed back on the next adapt cycle

Pointing AL at each individual light or all the intersections of subgroups of lights destroys performance.
One potential solution to this issue would be to allow specifying to AL a separate set of "watched" lights from the control groups. These watched lights would not be used for control, but would be used to trigger "take over control". If a watched light is changed manually, or if a watched light is set to a different on/off state from others, take over control would be triggered. For example:
adaptive_lighting:
  lights:
    - light.living_room_lights
  watched_lights:
    - light.table_lamp
    - light.sconce_left
    - light.sconce_right
    # etc.

would only send adaptations to light.living_room_lights. If light.table_lamp is on, but light.sconce_left is on, however, light.living_room_lights would not be adapted. Similarly, if light.table_lamp has its color changed manually, light.living_room_lights would stop being adapted.

Can you elaborate a lil bit? Is your light.living_room_lights made up of different lights that you have listed in watched_lights?
Why not just create a separate config for each light? The section of the readme you linked to is specified for zigbee groups and you don't even say if you're using zigbee.

If you do not usually change all lights in a group together, you should have a separate adaptive-lighting switch created for each individual light.

In your example, does living_room_lights attributes get updated by all of watched_lights? Specifically what updates the color temp and brightness values of living_room_lights?
I see what you're saying now. I think the best way to handle this is with an automation for now? Just call adaptive_lighting.set_manual_control for the light if there's any state changes to the individual lights in your watched_lights

@th3w1zard1

Is your light.living_room_lights made up of different lights than the ones you have listed in watched_lights?

No, to clarify, in my example living_room_lights is a zigbee group which contains table_lamp, sconce_left, and sconce_right.

Why not just create a separate config for each light? The section of the readme you linked to is specified for zigbee groups and you don't even say if you're using zigbee.

Yes, I am using zigbee. Sorry, I figured that was implied from the question, but I realize now that I didn't specify. Thanks for clarifying! Manually specifying the individual lights as arguments to AL results in poor performance given that all of the lights are read and adapted individually.

I think the best way to handle this is with an automation for now? Just call adaptive_lighting.set_manual_control for the light if there's any state changes to the individual lights in your watched_lights

Right-- the trick is to figure out which state changes to the individual lights are triggered by (1) simple turn on (2) modification by adaptive_lighting or (3) manual brightness/color modification. (1) or (2) should not result in calls to set_manual_control, but (3) should. Simply listening to state changes for the lights would result in manual control in all cases (1, 2, and 3).

Hmm I see...
Try this automation. Input your lights in the correct spots.
alias: "[Adaptive Lighting] State Changed -> Set manual control DEV"
description: ""
trigger:
  - platform: event
    event_type: state_changed
condition:
  - condition: template
    value_template: "{{ domain == \"light\" }}"
  - condition: template
    value_template: "{{ newstate == \"on\" }}"
  - condition: template
    value_template: "{{ oldstate == \"on\" }}"
  - condition: template
    value_template: "{{ context_parent_id == none }}"
  - condition: template
    value_template: "{{ context_user_id == none }}"
  - condition: template
    value_template: "{{ \"adapt_lgt_\" not in context_id }}"
  - condition: template
    value_template: "{{ \"input_boolean.manual_control_\" ~ light[6:].state == 'off' }}"
  - condition: or
    conditions:
      - condition: template
        value_template: "{{ (new_color_temp|float(0) - old_color_temp|float(0))|abs >= 20 }}"
      - condition: template
        value_template: "{{ (new_brightness|float(0) -  old_brightness|float(0))|abs >= 25 }}"
  - condition: or
    conditions:
      - condition: template
        value_template: "{{ light == 'light.entity_id_individual_light_A' }}"
      - condition: template
        value_template: "{{ light == 'light.entity_id_individual_light_B and so on' }}"
action:
  - service: system_log.write
    data:
      message: >-
        Monitor Adaptive Lighting ({{ light }}/{{ newlight }}/{{ oldlight }})
        changed by {{ context_user_id }}/{{ context_id }}/{{ context_parent_id
        }}. Brightness ({{ old_brightness }}-> {{ new_brightness }}). Color Temp
        ({{ old_color_temp }}-> {{ new_color_temp }})
      level: warning
  - service: adaptive_lighting.set_manual_control
    data:
      entity_id: "{{ \"your_main_adaptive_lighting_switch_goes_here\" }}"
      lights: "{{ your_main_lightgroup_goes_here }}"
      manual_control: true
mode: parallel
max: 100
variables:
  light: "{{ trigger.event.data.entity_id | default }}"
  newlight: "{{ trigger.event.data.new_state.entity_id | default }}"
  oldlight: "{{ trigger.event.data.old_state.entity_id | default }}"
  domain: "{{ trigger.event.data.new_state.domain | default }}"
  newstate: "{{ trigger.event.data.new_state.state | default }}"
  oldstate: "{{ trigger.event.data.old_state.state | default }}"
  context_user_id: |-
    {% if trigger.event.data.new_state != None %}
      {{ trigger.event.data.new_state.context.user_id | default }}
    {% else %}
      {{ None }}
    {% endif %}
  context_id: |-
    {% if trigger.event.data.new_state != None %}
      {{ trigger.event.data.new_state.context.id | default }}
    {% else %}
      {{ None }}
    {% endif %}
  context_parent_id: |-
    {% if trigger.event.data.new_state != None %}
      {{ trigger.event.data.new_state.context.parent_id | default }}
    {% else %}
      {{ None }}
    {% endif %}
  new_brightness: |-
    {% if trigger.event.data.new_state != None %}
      {{ trigger.event.data.new_state.attributes.brightness | default }}
    {% else %}
      {{ None }}
    {% endif %}
  old_brightness: |-
    {% if trigger.event.data.old_state != None %}
      {{ trigger.event.data.old_state.attributes.brightness | default }}
    {% else %}
      {{ None }}
    {% endif %}
  new_color_temp: |-
    {% if trigger.event.data.new_state != None %}
      {{ trigger.event.data.new_state.attributes.color_temp | default }}
    {% else %}
      {{ None }}
    {% endif %}
  old_color_temp: |-
    {% if trigger.event.data.old_state != None %}
      {{ trigger.event.data.old_state.attributes.color_temp | default }}
    {% else %}
      {{ None }}
    {% endif %}

hopefully your feature can be implemented in the near future, but I expect this'll do what you want?
Don't worry about performance impact either, I remember running this automation on a raspberry pi a few years ago.

@th3w1zard1 It looks to me like that automation is looking for changes to individual lights that result in a change in brightness or color temperature, the context_id does not contain adapt_lgt_, no user_id or parent_id is set, and where the light was on both before and after the change. Does that sound right to you?
If so, is it enough to filter it down to just context_id does not contain adapt_lg nor a parent_id? I want manual mode to be disabled if any individual light is turned on or off (so the on before + on after isn't what I want), and I don't understand why we'd want to filter out changes with user_id values.

The automation I pasted already filters out light changes by adaptive lighting. You shouldn't need to edit it outside of the locations I marked for you to input your lights.

the 'adapt_lgt' stuff for context_id is necessary because otherwise any changes detected from adaptive-lighting will cause a manual control event.

@th3w1zard1 Amazing! Thank you-- I'll try it out.

@cramertj You might be able to get away with assigning all of your individual lights to AL with the latest update. I see you've mentioned significant performance issues without groups. @basnijholt and I added a check to ensure the service data differs from the light's actual state, in other words if AL detects that the light doesn't need to be updated, it won't call light.turn_on anymore.

[Copy pasting this message in a few recent open issues]
I just wanted to take a moment to express my heartfelt thanks to everyone that is active in this repo. Your contributions, from answering questions to addressing issues, have been invaluable. It's amazing to see how supportive and helpful our community is!
Adaptive Lighting is all about enhancing your living spaces with smart, sunlight-responsive lighting. We've had quite a few discussions and open issues recently, and I see this as a positive sign of our community's engagement and growth. If you come across anything in the documentation that's unclear or if you have suggestions for improvement, please don't hesitate to share!. Your feedback is crucial for making Adaptive Lighting better for everyone.
On a personal note, I've recently welcomed twin boys into my family, which has been an incredible and life-changing experience. As you can imagine, my time is now more limited, and while I'm doing my best to keep up with the project, there may be delays in my responses. I appreciate your understanding and patience during this time.
Rest assured, I'm fully committed to addressing any bugs, especially those related to new Home Assistant updates, as swiftly as possible. I understand that many issues may stem from hardware limitations or misunderstandings about things like Zigbee groups. Your continued support and collaboration in helping each other out not only strengthen our community but also enhance the Adaptive Lighting experience for all.
Thank you once again for your understanding, patience, and support. Let's keep our houses well lit and adaptive for maximal enjoyment of life! 🌞🏠🌙


Possible bug/wrong code in Fj function

In this fuction, this.totalDaysInEN is modified although the function has nothing to do with this value. Moreover, parameter variables (m,d) are not used at all.
Source: line 51~59 of #47cc73480eec6094df1a935a02ace30ffa8f9d58

https://github.com/MythicAngel/BanglaDateJS/commit/47cc73480eec6094df1a935a02ace30ffa8f9d58

Solved with https://github.com/MythicAngel/BanglaDateJS/commit/630734c3a211c058d308bec668eeac90e6956725


A TYPO in the footer

Hi! I was checking out this website for the first time and I noticed a typo in the footer on your website.
Apparently, it says "Make a component suggestion on out Github page". Instead of "out", it should be "our" Github page.
I checked your source code. I looked into _denali-site/includes/footer.html and on line 21, I see that it is "our" so typo isn't there. It's just on website.
I don't know if that's the source code for footer. I'm just a beginner in open source world but noticed it and am reporting it.

Thanks for filing an issue @Deep310 🙏

Glad I could contribute! @jkusa


NuxtHub doesn't always show complete list, and correct state of deployments in Cloudflare

Thanks for building NuxtHub, it's been really helpful, and a good alternative to Vercel for me.
Describe the bug
I deployed a GitHub project via NuxHub, and what I would expect is when I merge a branch or update the main branch the deployment should show up on the "Production Deployments" page on Nuxthub, but it doesn't. It only shows up on the original Cloudflare page.

Steps to reproduce
Steps to reproduce the behaviour:

Deploy a GH project
Commit and push several changes after the initial deployment
Go to production deployments, compare data with original cloudflare data

Expected behavior
It should show the correct number of deployments along with the correct status (failed or successful), right now it still shows just one deployment, and that one deployment has been pending for over 30 minutes.

I noticed this issue as well when the project does not have the @nuxthub/core module installed. Do you have it installed in your project?

No, I don't. I didn't know that I had to.
Will try adding it and let you know if it resolves this issue.
Thanks.


Glyph page in fnt file is set incorrectly when generated with FreeTypeFontGenerator

Issue details
Hi, I encountered an issue where the glyph page is set incorrectly when using FreeTypeFontGenerator. Specifically, the character 't' is packed in page 0, but the .fnt file sets it to page=2.

After checking the code, I noticed that the page is set in FreeTypeFontGenerator.createGlyph and it is always set to the last page. However, this is not always accurate because the image packer can choose any page to place the glyph (in my case, it chooses the first page instead of the last page).

Inside packer.pack(mainPixmap), the method knows which page the glyph goes into, but it doesn't return the page at the moment
I think this issue is similar to issue #6746.
Reproduction steps/code
None
Version of libGDX and/or relevant dependencies
1.12.1
Stacktrace
No exception
Please select the affected platforms

[ ] Android
[ ] iOS
[ ] HTML/GWT
[x] Windows
[ ] Linux
[ ] macOS

This should already be solved with this PR: https://github.com/libgdx/libgdx/pull/7357
Please test the snapshot version if you can. Thanks.

Oh yeah! Thank you.


Write a Python program to convert seconds to days

Description
Write a Python program to convert seconds to days
1 day = 24 hours = 1440 minutes = 86400 seconds
Input  : 432000
Output : 5

How to contribute

Save the solution in program/convert-seconds-to-days.py file
Add convert-seconds-to-days.py file in convert-seconds-to-days folder

!assign

completed in PR #3691


How to solve cross-domain issues

I am a Swarm Bee beginner. Currently, I have a problem！
I run a Swarm Bee node: (Succeeded!)

And, because the bee API URLs configured by default are consistent with my node, I haven't changed it.

However, after the project was run, this error occurred.
Access to XMLHttpRequest at 'http://localhost:1633/bzz' from origin 'http://localhost:3001' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Excuse me, How to solve this

The Gateway app is meant to be run on a dedicated site with its own domain name (for example https://gateway.etswarm.org/). It's possible to run it locally if you disable CORS in the browser or add the right headers in the app, but this is not supported for everyday usage only for development.
What do you want to use the Gateway app for? If you just want to upload and download files maybe it's better to check out the Dashboard app because it also can do that and it also has more functionality to manage your nodes (buying postage stamp, cash out cheques etc.).

Yes, I am currently in development, mainly testing the function of uploading and downloading files. But I don’t know where to add the right headers

It's a success! @agazso, you reminded me, I checked my Bee node again and added this configuration item:
cors-allowed-origins:'*'
successfully uploaded the file locally. thank you very much!

I'm happy it worked for you!


fix Dockerfile

fix TG $VERSION when TG_VERSION=latest in Dockerfile, was missing "v" in front of version number
:memo:  Brief description

:computer:  Commits

:file_folder:  Modified files

:warning: Additional information

[ ] Pushed to a branch with a proper name and provided proper commit message.
[ ] Provided a clear and concise description of what the issue is.

Check CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information

Hi, thanks for taking interest in my project!
The current behaviour is intended.
See download link in https://github.com/devops-infra/docker-terragrunt/blob/master/Dockerfile#L71
So VERSION is expected to be in v0.35.13 format, if TG_VERSION is latest it needs to generate version string in such format. If you want specific version TG_VERSION should be in 0.35.13 format, just like it's in https://github.com/devops-infra/docker-terragrunt/blob/master/Makefile#L6
Hope that helps to understand the mechanism behind it.

Hi, thanks for taking interest in my project! The current behaviour is intended. See download link in https://github.com/devops-infra/docker-terragrunt/blob/master/Dockerfile#L71 So VERSION is expected to be in v0.35.13 format, if TG_VERSION is latest it needs to generate version string in such format. If you want specific version TG_VERSION should be in 0.35.13 format, just like it's in https://github.com/devops-infra/docker-terragrunt/blob/master/Makefile#L6 Hope that helps to understand the mechanism behind it.

I understand, that's exactly what I'm proposing to fix.
In current Dockerfile VERSION variable used on LINE 71 will be generated WITHOUT "v" in front  in case of TG_VERSION=latest (because of sed call on LINE 66), but WITH "v" when specific version is specified via TG_VERSION (LINE 68).

Ah, yes, sorry, you're right!
I had jet lag after re:Invent and it seemed all ok, after some sleep I see my mistake. Haven't used latest in a long while since I hardcode versions now, so I missed that.

@all-contributors bot

@all-contributors please add @dsoudakov for bug, code


Add OpenAPI spec for System Agent API v2

Fix #2315
Signed-off-by: Anthony M. Bonafide<EMAIL_ADDRESS>

I took some creative liberties here and  diverged from some of the things that were in the other API specs for V2. The biggest ones are response types which encapsulate all the information from the response. This allows for a cleaner API and more usable when dealing with responses programmatically. For example, having requests which returned an array of multiple types would require the caller to perform some logic when deserializing the response. The other major change was getting rid of the 207 response codes from the non-batch endpoints. To me this makes more sense as the 207 response code is meant for WebDav and I think it makes more sense to respond to the caller with a 200 indicating we were able to process the whole request and obtain all the information successfully. Then it is up to the user to inspect the details of the request.
I was also toying with the idea of having metrics, config, and health by default return information from all services and the user can optionally provide query parameters to filter further. I am not sure where the best place to capture that idea, either here or in a new issue.

After a discussion with @michaelestrin , I realized I was headed in the wrong direction. I will re-work this to better align with the vision of the other existing OpenAPI documents. Please ignore my previous comment.

I updated the spec to match the other service's APIs for the V2.

Codecov Report

Merging #2333 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2333   +/-   ##
=======================================
  Coverage   37.33%   37.33%
=======================================
  Files         158      158
  Lines       12847    12847
=======================================
  Hits         4796     4796
  Misses       7789     7789
  Partials      262      262

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 0fd07d8...6e25fff. Read the comment docs.

Addressed code review comments, except for one unresolved comment which I was not clear what the suggested solution is.


Version checks in istioctl upgrade should support dev/alpha/beta images as a target version

The comparison should based goversion or something similar rather than just string comparing.
Here are some example versions:

1.4-dev
1.4-alpha.c4ec4b8c102da86d4d02f4b268f9af60a35dee1c
1.4.0-beta.3

All those three should be treated as 1.4.0.

Why is 1.4-dev 1.4.0? Pilot treats it as 1.4.99999999999999

with hashicorp/go-version, the version.NewVersion("1.4-dev") will return a version 1.4.0 with pre="dev". I understand why we treat the dev one as the top patch in the minor version.
maybe in the upgrade check we should replace patch version to x.x.99999999999999 if we see pre="dev".

I am actually wrong, it is treating it as 1.4.0. See https://github.com/istio/istio/blob/3f92dab766c248aa22139be1a891d6c2fff173e1/pilot/pkg/model/context.go#L650
We should use the same logic

btw, "1.4-dev" cannot pass the semver check.
https://jubianchi.github.io/semver-check/#/version/1.4-dev


feat: update node-python coreapp to Node.js 10

I can't suggest changes on lines out of range of the diff, but I suggest to change following
- && apt-get install -y --no-install-recommends gawk python-pip python-dev \
+ && apt-get install -y --no-install-recommends gawk python-pip python-dev python-setuptools \

and see whether it works.


Spamming log is definitely possible, though simply suppressing log for 5 seconds may not be a good way.
I will revert this change for now.

Coverage decreased (-0.01%) to 44.23% when pulling 390efb0e1475e05274420e1be319907b830599e4 on vtgateerr into b259e1ecbd421de7ac0d73021812f678f508d0fb on master.


OSError: [WinError 10038] an operation was Attempted on an object that is not a socket

Can't get proxy all, randomly error "OSError: [in winerror 10038] trying to perform an operation on an object that is not a socket".
Operating system windows 8.1, python 3.5 with anaconda.

After a few hours and attempts to run on Linux (there is an error There is no current event loop in thread 'Thread-N'.) came to the conclusion that the problem is that I have multiple threads trying to get a proxy, but at the same time asyncio with loop in the main thread and in the child works differently.

Changed the code, but now another problem. I get a few warnings, but I don't get a proxy.
`import asyncio
from proxybroker import Broker
import threading
async def show(proxies):
while True:
proxy = await proxies.get()
if proxy is None:
break
print('Found proxy: %s' % proxy)
def work():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
proxies = asyncio.Queue()
broker = Broker(proxies)
tasks = asyncio.gather(
    broker.find(types=['HTTP', 'HTTPS'], limit=10),
    show(proxies))
loop.run_until_complete(tasks)

threading.Thread(target=work).start()`
Has anyone ever faced such problems?

I think I found a bug.
It's working code. There are no errors and proxies come only when I explicitly declare and pass to providers. Otherwise I get errors that I wrote a comment above. I do not want to strictly transfer providers, I want to get everything at once, as in the default example)
`import threading
import asyncio
from proxybroker import Broker
async def show(proxies):
while True:
proxy = await proxies.get()
if proxy is None: break
print('Found proxy: %s' % proxy)
def main():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
proxies = asyncio.Queue(loop=loop)
providers = ['http://www.proxylists.net/', 'http://fineproxy.org/eng/fresh-proxies/']
broker = Broker(proxies, timeout=8, providers=providers, loop=loop)
tasks = asyncio.gather(
broker.find(types=['HTTP', 'HTTPS'], lvl='High', limit=20),
show(proxies))
loop.run_until_complete(tasks)
threading.Thread(target=main).start()`


Faas multis

Resolves:

CORS issues
Multiple selection on internal campaigns for multi events.
Test coverage is 100% on faas.js and /faas/utils.js

Test URLs:

Before: https://main--milo--adobecom.hlx.page/tools/faas
After: https://faas-multis--milo--adobecom.hlx.page/tools/faas

Notes:
To look multi selection, select AC multi-events from form template.

Looks good! A few comments.
Also I think it would be good to have a test that parses an encoded config and verifies that it creates the correct faas config.

I added some more expect to check things in config but I don't think it would be necessary to check all of objects in the config, in fact, it would fail and won't render the form from api with 500 error if config isn't correct.


Update Table.Row to use dynamic classNames

Context: There is no way to provide a className to a row in order to target that row for styling. This made it impossible to style the background colors of rows based on a property like whether a conversation is active or closed.
Solution: A <tr> already had a className given to it; this PR looks for the presence of a className property on the row prop and adds it as a class if it exists.

Pull Request Test Coverage Report for Build 2808

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2805:
0.0%

Covered Lines:
21

Relevant Lines:
21

💛  - Coveralls


add slovak language localization

Hey there!
Awesome work on the watch face, I love it 😍
I tried putting together a Slovak localization. I’m not really fluent in the Monkey C language, so I had to find my way around the code a little. I added couple of time override categories as some of the times in Slovak language require that.
Hope you’ll like it, let me know what you thing, I’ll be super happy if this gets released.
Have a great day! 👋

Also, I was wondering if there is a way of adding non-breaking space, without breaking the calculation of width 🤔

Wow I'm impressed you've figured so much out, even the fonts. I'll have to check it out!
I've used | in some translations to limit the number of rows. Is that what your after?

Thanks, the code was very readable IMO, you’ve done a great job there 🙂
I used bmfont for the fonts, I think you used the same? I had to manually change xadvance parameter for character 353, because bmfont partially clips it. I couldn’t find a way for setting it up, so this is something that is missing in the resources/fonts/roboto_text.bmfc setting file.
I completely missed the | for non-breaking spaces, l’ll test it out and update the PR.

Hmm ok it seems I broke other languages by adding those additional categories like textHalfHourOverridesArray and
textQuarterHourOverridesArray. Not sure how to fix that, but I guess they need to be defined in all languages? 🤔
Also, I seem to have removed character 32, which is pretty important 😂 Found out when I played with the | symbol. Let me fix that and update the PR.
Any help or pointers with the override categories problems appreciated 🙏

The character 32 is back, trying to fix the thing with new categories

Oh figured it out. Defaults on English language were missing, so exceptions were thrown on other languages. Fixed now, I’d say it’s ready now 🙂

I used bmfont as well. Tried replicating the clipping issue.. wow that's frustrating. Wish I could find a solution for that.

How were you able to figure out the correct xadvance for each font size? I have no idea.
Great job on the translation - time in Slovak is really tricky 🤯

How were you able to figure out the correct xadvance for each font size? I have no idea.

Trial and error my friend 😂
I added a little doc inside the folder for future changes. I know it’s not ideal, but if it gets broken, I’d be the first one to notice 🙂. I even tried the solution mentioned in docs, but had no luck there.


Make all LabHub commands require being a member of the organisation

This is one feature, not many, that needs to be done generically and implemented in all commands of labhub.
Also ideally it is built so that this security feature can be applied to other commands outside labhub, but that may be a follow up feature as this is urgently needed now and perfect is the enemy of good.


single session

Hi,
Thanks for an awesome little software!
I recently came across ttyd after an extensive google search thinking it was exactly what I needed. However, after starting to use it I noticed that the behaviour is slightly different:
ttyd will re-initialise every time a client connects with a web-browser. That means if I use it to run a command, say bash, it means it will create a new bash for every client that connects.
However, what I want is that it shares the same session with every client. Actually, I dont even need multiple clients. I would be happy if it disconnected one when accepting another.
So my questions are:

Does ttyd support this mode of operation?
If no, is that something you are planning to implement?

Thanks a lot
K

No, but you can use terminal multiplexer like tmux as a workaround, for example: ttyd tmux new -A -s ttyd vim
No, I'd like to keep ttyd simple, it just forward pty to the browser


Problem with "DUCKING"?

Getting this error with some tokens:

Not sure what might be going on...

Fixed in v0.5.8. It was a check for a Levels property, and if the property did not exist, it was throwing an error.


Does MMM-Keypress recognize mouse wheel movement?

I am trying to get a MagicMirror set up and am planning on using your MMM-Keypress module along with MMM-Pages to switch between a family dashboard and a slideshow of famous paintings.  I would love to be able to use a mouse wheelup and wheeldown to trigger the previous and next painting but can't figure out what to put for the key code.  Does your module support this?
Thanks!

It does not currently, but I can take a look and ill sse what I can do. Also, a star would be appreciated, so i can more easily see what modules I should develop further 😎

No worries...  My case is that I'm using MMM-BackgroundSlideshow and thought it would be cool to use the mousewheel to scroll through the images.  It's certainly not necessary or anything.
I'm new to github so I didn't know about the star thing (I assume it's like the like button on YouTube?) but I've starred the project now.  Thanks!


Problem Annotating Manta Tandem Duplications

I believe I found a bug. When I try to annotate a vcf that contains a tandem duplication called by Manta Duphold fails to add fold changes to the call.
Here's an example:
chr17   41632594        MantaDUP:TANDEM:1:37095:37095:6:0:0     T       <DUP:TANDEM>    39      PASS    END=41633246;SVTYPE=DUP;SVLEN=652;IMPRECISE;CIPOS=-202,202;CIEND=-271,272;AN=6;AC=1     GT:FT:GQ:PL:PR  0/1:PASS:36:86,0,276:19,10

If I change ALT to <DUP> Duphold has no issue annotating
chr17   41632594        MantaDUP:TANDEM:1:37095:37095:6:0:0     T       <DUP>   39      PASS    END=41633246;SVTYPE=DUP;SVLEN=652;IMPRECISE;CIPOS=-202,202;CIEND=-271,272;AN=6;AC=1;GCF=0.471669        GT:FT:GQ:PL:PR:DHFC:DHFFC:DHBFC 0/1:PASS:36:86,0,276:19,10:1.27586:1.02778:1.27586

command using version 0.1.4:
duphold -v test.vcf --drop --threads 1 --output test.duphold.vcf --fasta $REFERENCE  --bam crams/sample.1.cram

this should be easy to fix. Would checking that the ALT startswith <DUP or <DEL be sufficient? are there other types to think about?

That works for me. I'm not sure if it could affect other types of calls.
Only thing I could think about is maybe using the SVTYPE info field instead. Tried skimming through the source to see if that's possible but I don't have experience with nim. But doing that may cause Duphold to run slower because it would have to locate the specific field instead of a column.
4.2 VCF spec has a few examples with <DEL:x  so your proposed solution would cover those as well.

would you mind trying this and verifying that it works for your variants of interst? if so, I'll make a new release presently.
(just gunzip, chmod+x and it should be good to go).
duphold.gz

It works! Thank you for fixing this so quickly!

this is now out in latest release. thanks for reporting and testing.