More info in the readme

I'm a little uncertain about what this integration does. I assumed it would make it so I would no longer need to manually create an argTypes: {} object. Is that correct? I tried installing but was not sure my assumptions were correct.

I assumed it would make it so I would no longer need to manually create an argTypes: {} object
That is one of the goals.


No data for a defined duration in siddhi QL

Description:
i have a scenario where i want to push to output stream that no event was registered for a duration (say 5 minutes ). What can be the siddhi query for the same as
from e1 = InputStream (e1.fieldname == null)  . .. within 5 minutes
this kind of query will also need fieldName to be null which itself is a type of input
Using version 5.1.1
#926 #1337

I think, you are looking for a way to find out non occurrence patterns. Please refer the siddhi guide for more details.

@mohanvive  exactly what i was looking for. will try this and see if it works . thanks :)

works as below:
from every StreamName[condition1 == value1 ] for 30 sec
select field1
Insert into OutputStream


Synology Client: Needing rewrapping with wrapQtAppsHook

Describe the bug
Launching Synology Drive Client with fuzzel app launcher, nothing happens
Launching in terminal, it printed
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

I guess it could be fixed with the new wrapQtAppsHook
Steps To Reproduce

NixOS Setup with: (MyDotfiles)

Hyprland with xwayland
Hyprland ENVs on QT:

"QT_AUTO_SCREEN_SCALE_FACTOR, 1"
"QT_QPA_PLATFORM, wayland"
"QT_WAYLAND_DISABLE_WINDOWDECORATION, 1"

Launching Synology Drive Client

Expected behavior
A normal synology drive client would start
Notify maintainers

@jcouyang @MoritzBoehme
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240507.b211b39`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/f0ssy3p6898x9k880l23mhd0fl6rvrb2-source`

Add a :+1: reaction to issues you find important.

Sorry, I just saw this issue. I could not reproduce the error on my end (also hyprland). But I'm trying my best to get back to you with a fix soon.

Sorry, I just saw this issue. I could not reproduce the error on my end (also hyprland). But I'm trying my best to get back to you with a fix soon.

I'm on Unstable+Plasma6+Wayland, and I am experiencing the issue. Let me know if I can help you with any troubleshooting data.

I'm on Unstable+Plasma6+Wayland, and I am experiencing the issue. Let me know if I can help you with any troubleshooting data.

Thanks, that's a great starting point for me!

I was unable to reproduce the issue this evening on Plasma6. I made a project for reproduction here: https://git.moritzboeh.me/moritz/synology-drive-vm
I will try hyprland tomorrow.
Could you try deleting ~/.SynologyDrive/SynologyDrive.app/ in the meantime?
This has resolved issues in the past if I remember correctly...

@ailelix when trying to open your dotfiles I get a 404 error, maybe the repo is private?

I was unable to reproduce the issue this evening on Plasma6. I made a project for reproduction here: https://git.moritzboeh.me/moritz/synology-drive-vm I will try hyprland tomorrow. Could you try deleting ~/.SynologyDrive/SynologyDrive.app/ in the meantime? This has resolved issues in the past if I remember correctly...

Quick check: removing .SynologyDrive fixes the startup problem (good to know!), tomorrow I'll try the build.

Great to hear 👍
I'll have a look to see if we should just wrap the binary to this automatically...
What build exactly do you mean?

Great to hear 👍 I'll have a look to see if we should just wrap the binary to do this automatically... What build exactly do you mean?

https://git.moritzboeh.me/moritz/synology-drive-vm this one. I am no expert in the matter (I'm trying to contribute to the issue resolution, since I really need it 😅), I expect it to build a vm with my current NixOS status, so that I can try to run the client and report back errors, did I get that right?

Ah, that makes sense. I will try to work further on this in the coming days. It's just that I have some midterm exams coming up and have a lot to do for my Bachelor's thesis at the moment :(.
Is the deletion of the directory a hack that works for now though?

https://git.moritzboeh.me/moritz/synology-drive-vm this one. I am no expert in the matter (I'm trying to contribute to the issue resolution, since I really need it 😅), I expect it to build a vm with my current NixOS status, so that I can try to run the client and report back errors, did I get that right?

Regarding the building of the VM image: This is just a very simple VM with KDE under Wayland with synology drive client installed. You can try starting the client there. For me this was working as expected.

@ailelix when trying to open your dotfiles I get a 404 error, maybe the repo is private?

Sorry that I missed the github emails and temporarily closed that repo due to flake git issues
However, I didint find the .SynologyDrive under my home dir, even after launching the Drive App

Ah, that makes sense. I will try to work further on this in the coming days. It's just that I have some midterm exams coming up and have a lot to do for my Bachelor's thesis at the moment :(. Is the deletion of the directory a hack that works for now though?

Yes, deleting the directory works fine for me, I'll try to test the build today. Thank you!

Sorry that I missed the github emails and temporarily closed that repo due to flake git issues However, I didn't find the .SynologyDrive under my home dir, even after launching the Drive App

Mhh, strange. I'll try to add your config as another VM image, to test it out.

Here's my nix config for GTK and QT under Home Manager:
{ pkgs, ... }:
{
  # Set GTK Theme
  gtk = {
    enable = true;
    theme = {
      package = pkgs.graphite-gtk-theme;
      name = "Graphite-Dark";
    };
    iconTheme = {
      package = pkgs.tela-icon-theme;
      name = "Tela-manjaro-dark";
    };
    font = {
      name = "Noto Sans";
      size = 11;
    };
    # Declare dark mode and fcitx5 to gtk apps
    # Set IM in gtk config instead of env, see:
    # https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland
    gtk2.extraConfig = "gtk-im-module=\"fcitx\"";
    gtk3.extraConfig = {
      gtk-application-prefer-dark-theme = 1;
      gtk-im-module = "fcitx";
    };
    gtk4.extraConfig = {
      gtk-application-prefer-dark-theme = 1;
      gtk-im-module = "fcitx";
    };
  };
  # Set QT Theme
  qt = {
    enable = true;
    platformTheme.name = "gtk";
    style = {
      name = "adwaita-dark";
      package = pkgs.adwaita-qt;
    };
  };
}

And I have these environment variables set in hyprland: ( HomeManager, wayland.windowManager.hyprland.env )
env = [
  # Toolkit Backend Variables
  "GDK_BACKEND, wayland"
  "SDL_VIDEODRIVER, wayland"
  "CLUTTER_BACKEND, wayland"
  # XDG Specifications
  "XDG_CURRENT_DESKTOP, Hyprland"
  "XDG_SESSION_TYPE, wayland"
  "XDG_SESSION_DESKTOP, Hyprland"
  # QT Variables
  "QT_AUTO_SCREEN_SCALE_FACTOR, 1"
  "QT_QPA_PLATFORM, wayland"
  "QT_WAYLAND_DISABLE_WINDOWDECORATION, 1"
];

I am having the same issue:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.qpa.plugin: Could not find the Qt platform plugin " xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

I have Qt6 and Qt5compat installed


Please invite me to the GitHub Community Organization

Name
Jyoti prakash Rout
Discord Username (if applicable)
Jyoti#0398
Additional Context
I'm a Web Dev enthusiast & a junior pursuing my Bachelors in Computer Science & Engineering. I'm interested in Web Devlopment, Machine Learning & DevOps & I enjoy learning new things & stuff as well as I'm a Frontend Devloper with experience building Dynamic & Static Web pages. I am always interested in learning the answers to how, why, and what relates to the Technologies around me.
I would like to grow my programming skills by doing lots of Open Source contributions. Looking forward to learning, collaborating, and growing as a community.

Check your email or organisation page
Thank you for contribution 🙂
Please contribute in Unique-Github-Profiles


In Register process, empty registration fields give wrong errors

Hi,
The registration with an empty field gives errors that are not relevant, for example, "Invalid ID" even though the ID is (most likely) vaild, but the rest of the fields are empty.
If the ID is invalid, it should give an indication to what a valid ID should be like.

And now, that the rest of the fields are filled, I still get "invalid ID" error without instructions as to what a valid ID should be like (just as you did in the password field, where you wrote "Password must be at least 6 characters")

Hi Tom,
Please check the User Manual -

Its written exactly what are valid values for all the fields.
However, we understand that it is more user friendly
@dshames can you change?

I know that it is in the manual, and I read it. However, just as the password field gives an indication to what a valid password should be, the same goes for the ID. As part of the (correct) registration process, this is a "soft error" that should give the user the chance to recover with a more detailed info as to the way to recover from it.

We changed the label, a new jar will be uploaded very soon

Update change.
Please type pull on the command line
And repeat the jar running -
on the cmd type java -jar "Parking Managment.jar"
please let us know if there is a problem

Well done!
בתודה,
תום
On Mon, Jul 3, 2017 at 1:37 PM, inbal matityahu<EMAIL_ADDRESS>wrote:

Update change.
Please type pull on the command line
And repeat the jar running -
on the cmd type java -jar "Parking Managment.jar"
please let us know if there is a problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TechnionYP5777/SmartCity-ParkingManagement/issues/197#issuecomment-312611944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/API9erry4w0ZWE3TPtVoXvqVEAdNOLjhks5sKMSDgaJpZM4OMFfH
.


Handler for custom address pattern

Hi,
I was wondering if there was a way to specify a custom address pattern for an incoming OSC stream that has multiple address patterns - I want to specify a particular address pattern.
I'm having some trouble finding how that could be implemented so any help would be really appreciated.
Thanks!

You have access to all the incoming messages and bundles. You can set it up in any way you want.
Just setup a delegate to receive everything and handle the data accordingly.
Devin
On Apr 24, 2022, 9:05 PM -0700, allan1224 @.***>, wrote:

Hi,
I was wondering if there was a way to specify a custom address pattern for an incoming OSC stream that has multiple address patterns - I want to specify a particular address pattern.
I'm having some trouble finding how that could be implemented so any help would be really appreciated.
Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Make getItemCount available in getStateAndHelpers

Hello,
I see there is a resultCount variable used for ARIA statuses. I was wondering if there's a reason of why getItemCount or resultCount aren't available in the response object of getStateAndHelpers function.
Problem description:
My current problem is that I would like to show a No Results message only when the API results are available without adding another piece of state to manage it.
Suggested solution:
It would be good to expose the resultCount in Downshift and simply do something like:
{!resultCount && 'Nothing Found'}

Is there any possibility to do so?
Cheers.

Hi @Wgil!
I'm not sure this is going to do what you want it to. How do you know that the result count is 0 because there was nothing found vs it's 0 because they haven't been loaded yet?

I thought it could be:
{!resultCount && !loading && "Nothing found"}

but now I can't find any difference than checking for this.state.items.length 😅 . I think it got confused with isOpen. So now to show my items I'm going to do {isOpen && isLoaded && (...)}
I'm closing this,
Have happy holidays!


fix(core): skip existing items with null ids in StorageServiceSupport.fetchAllItemsOptimized

Even though it seems like the existing filters on items coming back from the database would make this unnecessary, given that existingItems starts empty and, from what I can tell, only contains (filtered) items from the database.
We've seen this happen in production though.  With any luck the logging will help us figure out why.

@mergifyio backport release-1.31.x


Problem of plugin finding SDK

Then dotnet-core plugin in consulo is not able to detect my .net core sdk.

The output of the command
dotnet --list-sdks
is the following
2.1.508 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
2.1.801 [C:\Program Files\dotnet\sdk]
2.2.401 [C:\Program Files\dotnet\sdk]
So if I understand correctly I have the sdk installed but consulo is unable to find the location, and I couldn't find a way to give consulo the sdk location manually.
When I try to run the project:

I get the following error:

Hello. Current .NET Core plugin is outdated. Last supported SDK was K runtime - and old first version.
After those versions - i paused dev for this plugin, due unstable Microsoft strategy, and limitation of my resources.
I can "revive" this plugin but need a time.
Regards,
Valery

Close by duplicate https://github.com/consulo/consulo-dotnet-core/issues/5
Trying add initial support


Which type of sites (live or not, aem_edge or all) should be enabled for broken-backlinks?

Overview
Which type of sites (live or not, aem_edge or all) should be enabled for broken-backlinks and more generally for SEO assessments?
Details
https://cq-dev.slack.com/archives/C05A45JBP9N/p1712563602198179
https://github.com/adobe/spacecat-audit-worker/blob/main/src/backlinks/handler.js#L55-L69
https://github.com/adobe/spacecat-api-service/blob/main/src/controllers/trigger/backlinks.js#L32
Proposed Actions
and now?

@solaris007 , @meryllblanchet , could you give your perspective for the question from the business/product pov, and from the technical pov if any limitation?


ai-forever/kandinsky-2 mix_images

Is it possible to use mix_images of ai-forever/kandinsky-2 with replicate-javascript, or only the parameters given in https://replicate.com/ai-forever/kandinsky-2 are allowed?

Hi @georgi1980. The available inputs for a given model on Replicate are documented in the API tab: https://replicate.com/ai-forever/kandinsky-2/api. That model doesn't have a mix_images parameter, so passing it either has no effect or will cause an error.


Numba much slower than np.sum, and more sensitive to summation axis

[x] I have tried using the latest released version of Numba (most recent is
visible in the release notes
(https://numba.readthedocs.io/en/stable/release-notes-overview.html).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

import numba
import numpy as np

for axis in range(3):

    def numpy_sum(x):
        return np.sum(x, axis=axis)

    numba_sum = numba.njit(numpy_sum)

    x_test = np.random.default_rng(0).normal(size=(128, 128, 128))
    np.testing.assert_allclose(numpy_sum(x_test), numba_sum(x_test))  # Trigger compilation

    print(f"{axis=}")
    %timeit numpy_sum(x_test)
    %timeit numba_sum(x_test)
    print()

# axis=0
# 2.6 ms ± 195 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
# 4.62 ms ± 204 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

# axis=1
# 1.73 ms ± 20 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
# 6.54 ms ± 521 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

# axis=2
# 2.06 ms ± 248 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)
# 26.8 ms ± 2.43 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

Numba is consistently slower than numpy, and performance is much more dependent on axis, with a 6x difference between fastest and slowed axis.
I've reproduced this on another machine and also on Google colab.

Hi @ricardoV94, thanks for the reproducer. I can confirm Numba is considerably slower than NumPy for np.sum(..., axis=axis).

I've also noticed that for some reason, np.sum within Numba isn't able to compete with Numpy at all.
However, if you literally type out what sum does, in the most primitive, naive way, Numba is perfectly able to beat Numpy:
@nb.njit(nb.float64[:, ::1](nb.float64[:, :, ::1]), fastmath=True, nogil=True)
def nb_sum_slow_axis2(x):
    return np.sum(x, axis=2)

@nb.njit(nb.float64[:, ::1](nb.float64[:, :, ::1]), fastmath=True, nogil=True)
def nb_sum_fast_axis2(x):
    n1, n2, n3 = x.shape
    out = np.empty((n1, n2), dtype=np.float64)
    for i1 in range(n1):
        for i2 in range(n2):
            result = nb.float64(0.0)
            for i3 in range(n3):
                result += x[i1, i2, i3]
            out[i1, i2] = result
    return out

x_test = np.random.default_rng(0).normal(size=(128, 128, 128))

%timeit np.sum(x_test, axis=2)
# 537 μs ± 8.01 μs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

%timeit nb_sum_slow_axis2(x_test)
# 3.75 ms ± 2.7 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)

%timeit nb_sum_fast_axis2(x_test)
# 163 μs ± 97.3 ns per loop (mean ± std. dev. of 7 runs, 10,000 loops each)

@pwuertz While I can make it competitive in reducing the last axis, this only works for c-contiguous arrays. If I mess the memory order, numba is just terrible, while numpy still manages a constant speed. Numba/llvm seem to not be able to do any loop reordering optimization. So the issue is not limited to the overloaded np.sum, but multidimensional reductions in general


Unable to build zksync-swift on Xcode 12.5.

Currently it's not possible to build zksync-swift on Xcode 12.5 due to issues in CryptoSwift module. Build fails with errors like this one in Generics.swift:
'exported: true' has no effect in '_specialize' attribute

Hey. please have a look web3swift version in develop branch. we already fixed all version issues there: https://github.com/skywinder/web3swift/
here is commit https://github.com/skywinder/web3swift/commit/43768058a047624224b4f41ae2a6ce6f7afd3c36

@skywinder, thanks for pointing to this commit/branch. It's possible to use branches for dependencies in SPM and we're doing this, but for CocoaPods it's not possible to point to branch in podspec (only tagged version), so question is: would you be able to release new version of web3swift, which is based on develop?


Pulling images uses Content-Type from the wrong response

Description
When pulling a manifest, there are two request/response. The first one is a HEAD in order to know whether the manifest exists, the second is a GET to retrieve it.
The spec mandates that the GET operation returns the Content-Type of the manifest, but there is no such requirement from the HEAD request.
https://github.com/distribution/distribution/blob/5cb406d511b7b9163bff9b6439072e4892e5ae3b/docs/spec/api.md#existing-manifests
Currently if the response from the HEAD request does not contain a Content-Type, then the pull fails.
Steps to reproduce the issue

Describe the results you received and expected
The value of MediaType should be calculated from the response from the GET request, and not from the HEAD request.
What version of containerd are you using?
1.6.6
Any other relevant information
Using Minikube v1.26.1

Click to check the information
$ runc --version
runc version 1.1.2
commit: a916309fff0f838eb94e928713dbc3c0d0ac7aa4
spec: 1.0.2-dev
go: go1.18.3
libseccomp: 2.4.4

$ crictl info
{
  "status": {
    "conditions": [
      {
        "type": "RuntimeReady",
        "status": true,
        "reason": "",
        "message": ""
      },
      {
        "type": "NetworkReady",
        "status": true,
        "reason": "",
        "message": ""
      }
    ]
  },
  "cniconfig": {
    "PluginDirs": [
      "/opt/cni/bin"
    ],
    "PluginConfDir": "/etc/cni/net.d",
    "PluginMaxConfNum": 1,
    "Prefix": "eth",
    "Networks": [
      {
        "Config": {
          "Name": "cni-loopback",
          "CNIVersion": "0.3.1",
          "Plugins": [
            {
              "Network": {
                "type": "loopback",
                "ipam": {},
                "dns": {}
              },
              "Source": "{\"type\":\"loopback\"}"
            }
          ],
          "Source": "{\n\"cniVersion\": \"0.3.1\",\n\"name\": \"cni-loopback\",\n\"plugins\": [{\n  \"type\": \"loopback\"\n}]\n}"
        },
        "IFName": "lo"
      },
      {
        "Config": {
          "Name": "bridge",
          "CNIVersion": "0.3.1",
          "Plugins": [
            {
              "Network": {
                "type": "bridge",
                "ipam": {
                  "type": "host-local"
                },
                "dns": {}
              },
              "Source": "{\"addIf\":\"true\",\"bridge\":\"bridge\",\"forceAddress\":false,\"hairpinMode\":true,\"ipMasq\":true,\"ipam\":{\"subnet\":\"<IP_ADDRESS>/16\",\"type\":\"host-local\"},\"isDefaultGateway\":true,\"type\":\"bridge\"}"
            },
            {
              "Network": {
                "type": "portmap",
                "capabilities": {
                  "portMappings": true
                },
                "ipam": {},
                "dns": {}
              },
              "Source": "{\"capabilities\":{\"portMappings\":true},\"type\":\"portmap\"}"
            }
          ],
          "Source": "\n{\n  \"cniVersion\": \"0.3.1\",\n  \"name\": \"bridge\",\n  \"plugins\": [\n    {\n      \"type\": \"bridge\",\n      \"bridge\": \"bridge\",\n      \"addIf\": \"true\",\n      \"isDefaultGateway\": true,\n      \"forceAddress\": false,\n      \"ipMasq\": true,\n      \"hairpinMode\": true,\n      \"ipam\": {\n          \"type\": \"host-local\",\n          \"subnet\": \"<IP_ADDRESS>/16\"\n      }\n    },\n    {\n      \"type\": \"portmap\",\n      \"capabilities\": {\n          \"portMappings\": true\n      }\n    }\n  ]\n}\n"
        },
        "IFName": "eth0"
      }
    ]
  },
  "config": {
    "containerd": {
      "snapshotter": "overlayfs",
      "defaultRuntimeName": "runc",
      "defaultRuntime": {
        "runtimeType": "",
        "runtimePath": "",
        "runtimeEngine": "",
        "PodAnnotations": null,
        "ContainerAnnotations": null,
        "runtimeRoot": "",
        "options": null,
        "privileged_without_host_devices": false,
        "baseRuntimeSpec": "",
        "cniConfDir": "",
        "cniMaxConfNum": 0
      },
      "untrustedWorkloadRuntime": {
        "runtimeType": "",
        "runtimePath": "",
        "runtimeEngine": "",
        "PodAnnotations": null,
        "ContainerAnnotations": null,
        "runtimeRoot": "",
        "options": null,
        "privileged_without_host_devices": false,
        "baseRuntimeSpec": "",
        "cniConfDir": "",
        "cniMaxConfNum": 0
      },
      "runtimes": {
        "runc": {
          "runtimeType": "io.containerd.runc.v2",
          "runtimePath": "",
          "runtimeEngine": "",
          "PodAnnotations": null,
          "ContainerAnnotations": null,
          "runtimeRoot": "",
          "options": {
            "BinaryName": "",
            "CriuImagePath": "",
            "CriuPath": "",
            "CriuWorkPath": "",
            "IoGid": 0,
            "IoUid": 0,
            "NoNewKeyring": false,
            "NoPivotRoot": false,
            "Root": "",
            "ShimCgroup": "",
            "SystemdCgroup": false
          },
          "privileged_without_host_devices": false,
          "baseRuntimeSpec": "",
          "cniConfDir": "",
          "cniMaxConfNum": 0
        }
      },
      "noPivot": false,
      "disableSnapshotAnnotations": true,
      "discardUnpackedLayers": false,
      "ignoreRdtNotEnabledErrors": false
    },
    "cni": {
      "binDir": "/opt/cni/bin",
      "confDir": "/etc/cni/net.d",
      "maxConfNum": 1,
      "confTemplate": "",
      "ipPref": ""
    },
    "registry": {
      "configPath": "",
      "mirrors": {
        "lmirelmann.local:8080": {
          "endpoint": [
            "http://lmirelmann.local:8080"
          ]
        }
      },
      "configs": null,
      "auths": null,
      "headers": null
    },
    "imageDecryption": {
      "keyModel": "node"
    },
    "disableTCPService": true,
    "streamServerAddress": "<IP_ADDRESS>",
    "streamServerPort": "0",
    "streamIdleTimeout": "4h0m0s",
    "enableSelinux": false,
    "selinuxCategoryRange": 1024,
    "sandboxImage": "k8s.gcr.io/pause:3.6",
    "statsCollectPeriod": 10,
    "systemdCgroup": false,
    "enableTLSStreaming": false,
    "x509KeyPairStreaming": {
      "tlsCertFile": "",
      "tlsKeyFile": ""
    },
    "maxContainerLogSize": 16384,
    "disableCgroup": false,
    "disableApparmor": false,
    "restrictOOMScoreAdj": false,
    "maxConcurrentDownloads": 3,
    "disableProcMount": false,
    "unsetSeccompProfile": "",
    "tolerateMissingHugetlbController": true,
    "disableHugetlbController": true,
    "device_ownership_from_security_context": false,
    "ignoreImageDefinedVolumes": false,
    "netnsMountsUnderStateDir": false,
    "enableUnprivilegedPorts": false,
    "enableUnprivilegedICMP": false,
    "containerdRootDir": "/mnt/vda1/var/lib/containerd",
    "containerdEndpoint": "/run/containerd/containerd.sock",
    "rootDir": "/mnt/vda1/var/lib/containerd/io.containerd.grpc.v1.cri",
    "stateDir": "/run/containerd/io.containerd.grpc.v1.cri"
  },
  "golang": "go1.18.3",
  "lastCNILoadStatus": "OK",
  "lastCNILoadStatus.default": "OK"
}

$ uname -a
Linux minikube 5.10.57 #1 SMP Sat Jul 16 03:51:15 UTC 2022 x86_64 GNU/Linux

Show configuration if it is related to CRI plugin.
version = 2
root = "/var/lib/containerd"
state = "/run/containerd"
oom_score = 0
imports = ["/etc/containerd/containerd.conf.d/02-containerd.conf"]

[grpc]
  address = "/run/containerd/containerd.sock"
  uid = 0
  gid = 0
  max_recv_message_size = 16777216
  max_send_message_size = 16777216

[debug]
  address = ""
  uid = 0
  gid = 0
  level = ""

[metrics]
  address = ""
  grpc_histogram = false

[cgroup]
  path = ""

[plugins]
  [plugins."io.containerd.monitor.v1.cgroups"]
    no_prometheus = false
  [plugins."io.containerd.grpc.v1.cri"]
    stream_server_address = ""
    stream_server_port = "10010"
    enable_selinux = false
sandbox_image = "k8s.gcr.io/pause:3.7"
    stats_collect_period = 10
    enable_tls_streaming = false
    max_container_log_line_size = 16384
restrict_oom_score_adj = false

    [plugins."io.containerd.grpc.v1.cri".containerd]
      discard_unpacked_layers = true
      snapshotter = "overlayfs"
      [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime]
        runtime_type = "io.containerd.runc.v2"
      [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime]
        runtime_type = ""
        runtime_engine = ""
        runtime_root = ""
      [plugins."io.containerd.grpc.v1.cri".containerd.runtimes]
        [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
          runtime_type = "io.containerd.runc.v2"
          [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
SystemdCgroup = false

    [plugins."io.containerd.grpc.v1.cri".cni]
      bin_dir = "/opt/cni/bin"
conf_dir = "/etc/cni/net.d"
      conf_template = ""
    [plugins."io.containerd.grpc.v1.cri".registry]
      [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
        [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
          endpoint = ["https://registry-1.docker.io"]
  [plugins."io.containerd.service.v1.diff-service"]
    default = ["walking"]
  [plugins."io.containerd.gc.v1.scheduler"]
    pause_threshold = 0.02
    deletion_threshold = 0
    mutation_threshold = 100
    schedule_delay = "0s"
    startup_delay = "100ms"

Perhaps the spec should call this out explicitly, but the HTTP spec expects a HEAD to return the same headers as GET, with the exception of some headers that may require calculation  (eg content length)
https://www.rfc-editor.org/rfc/rfc9110#name-head
Have you run into issues with a registy that doesn't return the same headers for HEAD as for GET?

One more data point, both the HEAD and GET requests are made, at a later validation step, there is the check for Content-Type in the HEAD response.

@lgalfaso do you have any update? Currently, we doesn't hit the error. Please let us know if you run into issues with specific registry.

@fuweid this report does not come from an error any existing registy, but from an error seen when updating manifest to a new media type, in which the manifest itself does not define a mediaType.

but from an error seen when updating manifest to a new media type, in which the manifest itself does not define a mediaType.

Would you share how to do that? push manifest without mediatype? I don't think it is valid.

The spec states the following

Clients SHOULD set the Content-Type header to the type of the manifest being pushed. All manifests SHOULD include a mediaType field declaring the type of the manifest being pushed. If a manifest includes a mediaType field, clients MUST set the Content-Type header to the value specified by the mediaType field.

Ref: https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-manifests
This means that mediaType is not mandatory, just that if this were present, then it must match the Content-Type.

Sorry for the late reply. If you push a manifest without media-type, how can we handle it in the follow-up?
And if there is a manifest without media-type, what kind of media-type will the GET response return? empty? or application/octet-stream.

The spec states

In a successful response, the Content-Type header will indicate the type of the returned manifest.

https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pull
The use of the word "will" is a little ambiguous, but my interpretation is that this should be understood as "must".

Sorry for the late reply.
For the issue you mentioned,

but from an error seen when updating manifest to a new media type, in which the manifest itself does not define a mediaType.

It works as expected. For the image pulling, we need to know what type the manifest is.
If it is empty or unsupported, containerd will return error.

The use of the word "will" is a little ambiguous, but my interpretation is that this should be understood as "must".

The distribution-spec also applies to other artifacts, not just container image. Again, we need the media type of manifest for pulling target layer blobs. If it is empty, pulling action will fail.
For the HEAD request, currently we don't break any functionality. And unfortunately I didn't find the history about this.
Maybe like what https://github.com/containerd/containerd/issues/7390#issuecomment-1242986635 said, it is just convention. Maybe we should file issue in distribution-spec repo to update the spec?
cc @thaJeztah @AkihiroSuda @dmcgowan

We actually hit this with JFrog Artifactory.
We are referencing the image using the digest, and when containerd resolves the image by digest, it makes a HEAD call first to the manifest endpoint with failover to the blob endpoint.
https://github.com/containerd/containerd/blob/3df2cc1a6ba18e1809786c6c9376f106a62bf91a/core/remotes/docker/resolver.go#L253-L265
The image registry has an inconsistent behavior for calls to the blobs endpoint for the manifest object. For HEAD calls, it returns 200 with content type application/octet-stream, while for GET calls, it returns 404... Nevertheless, this seems to be an undefined behavior in the OCI spec when someone calls the blobs endpoint for a manifest object.
Due to some random network congestion situation, when containerd tries to resolve an image, the first call to manifest object could actually fail, and containerd seems to then failover to this undefined path and caches the incorrect application/octet-stream as media type for the following image unpack attempts on the k8s node.
Besides the inconsistent behavior of the image registry between GET calls and HEAD calls on the blobs endpoint for manifest object digests, any reason why containerd has this failover path to call the blobs endpoint for a manifest when it's referenced by a digest?


New version: HTTPToolKit.HTTPToolKit version 1.14.7

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:


Include short example of limiting build directories

Why:
Add example of limiting compiled language builds

What's being changed:
Add example of limiting compiled language builds
Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@hohn
Thanks so much for opening a PR! I'll get this triaged for review :zap:

Hi @felicitymay, I moved the example to a separate section in the file you linked.

I think the test failure is spurious.

hello how i want to sign in to my main acc ?ive forgot to  backup my v2
before ?? is there other way for me to direct login ?
Pada Kha, 13 Jan 2022, 12:48 PG Felicity Chapman @.***>
menulis:

I think the test failure is spurious.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/13679#issuecomment-1011246213, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AWUZGJM2MMCOBZ4WSEZ7UJDUVWWEBANCNFSM5LF3P5NQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

테스트 실패는 가짜 라고 생각 합니다.

테스트 퍼팩트

We discussed this change with the PR author. We agreed that, although this example is helpful in some cases, it's not generally enough for inclusion in the docs. Omitting specific directories from compiled language extraction is an area that the development team is working on. They plan to document this when work is complete.

@hohn - many thanks for suggesting this example and bringing this discussion to the fore. It's much appreciated.


Bug 2021666: update crane-lib

This addresses an issue where crane-lib was not properly updating the
routePrefix when too long.

cc @pranavgaikwad


Opening a file through breadcrumbs does not add it to recent files

Issue Type: Bug
Pretty much the title. It's a very handy feature to open files in current folder through Ctrl+Shift+. shortcut (Focus Breadcrumbs), but unfortunately the files opened in this manner are not added to the list of recently opened files (File: Open Recent...) , so you'll have to open it in some other way to have it quickly accessible there.
VS Code version: Code 1.60.1 (83bd43bc519d15e50c4272c6cf5c1479df196a4d, 2021-09-10T17:07:10.714Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

That works as intended. The list of recently opened in the file menu is only updated when you go through "File > Open File..." or drop an external file into the window, it is not meant as a list to track each file you have opened because that would make the list grow large really quickly.
If you want a scalable list of recently opened files in a picker, use quick pick for files.


feat add input

Parts of: https://github.com/zakodium-oss/analysis-ui-components/issues/346

[x] Controlled component
[x] Forwards the native input props
[x] Placeholder
[x] 2 sizes
[x] With / without labels
[x] Size on Field too
[x] trailing / leading component (inline or not)
[ ] validation feedback
[x] handle required props

You can add the required prop to the Field component? There is an example in the issue of how a required field can look like.

Story with small and regular sizes next to each other
Story with small and regular sizes next to each other but with label (should work by setting a size prop to Field not Input

Do i have to add a "size" props on the FieldContext for Input @stropitek  ?

Do i have to add a "size" props on the FieldContext for Input

yep. If size set directly on input it takes precedence

@Sebastien-Ahkrin what is the state of this PR?

@Sebastien-Ahkrin what is the state of this PR?

@stropitek i'm working on Leading & Trailing addon actually, but actually i can make the pull request okay to check & merge. And i finalize my work on Trailing on a new pull request

Did you already work on the latest feedback that was given (no commits after them)?

i'm working on Leading & Trailing addon actually

Yes please don't include that in this PR

On Edge (the browser) there is the default black outline. It should be removed.

If the size prop is not used to change the appearance of the label, then there is no need to have it on Field

The outline on the input should stay when the input is focused

The label should have the same font size as the input.
Therefore I think it makes sense to add the variant prop to the Field component. It can be inherited by the input via the context.

@stropitek what navigator are you using and what's the name of the stories for this screen ?


Recommended method to install alpha version

I have:

[ x] searched open and closed issues for duplicates

Bug description
Is there a way to install by including the alpha versions in something like pip's requirements.txt or pyproject.toml for inclusion as a dependency for projects? Or is manual download and installation the primary method?
If not, what is the recommended procedure?
Steps to reproduce

add your steps here
as a list
using hyphens

Device info

Printer: Manufacturer Model XVI

python-escpos version: 0.0.0
python version: 0.0
operating system:

Instructions for installation of pre-release (alpha) builds is mentioned in the INSTALL file:
pip install python-escpos --pre


getForeignKey on Model does not depend on Primary Key

Laravel Version: 5.3.20
PHP Version: 7.0

Description:
When setting the primary key on a model like that:
class Category extends Model
{
	protected $primaryKey = 'hash';
}

And then calling the getForeignKey() method still returns category_id. For the moment, the method is implemented like that:
public function getForeignKey()
{
    return Str::snake(class_basename($this)).'_id';
}

My proposition would just to make:
public function getForeignKey()
{
    return Str::snake(class_basename($this)).'_' . $this->primaryKey;
}

Is their a particular reason the foreign key does not depend on the primary one?
If not, I would be very happy to make a pull request...

Makes sense to me! Can imagine this would break a few builds though

@ElMatella Added the PR for this.

Moving the discussion to the PR.


Add StateChangedNotifiService

[ ] Describe the purpose of the change

[ ] Create test cases for your changes if needed

[ ] Include the ticket id if possible (Collaborator only)

@vaishali-notifi can we close this pull request?


Error writing transmitter challenge: timeout

I am trying to get xDripG5 working with PassiveMode turned off (Dexcom App is uninstalled). However, I am getting the error "Error writing transmitter challenge: timeout"  Any ideas? Is there any 'tricks/configurations' to getting xDripG5 communication working as a "standalone" app? (No dexcom app).

Might be related to the pull request I just opened. I think authentication (which is only relevant when PassiveMode is off) was broken.

The code has changed a lot since this was filed. Going to close; if there are still issues, please reopen them with steps to reproduce using current code.


routerLinkActive not set when toggling lang

Hi,
I'm experiencing an issue with routerLinkActive. When I toggle the lang using the following
changeLanguage(lang: string) {
this.localize.changeLanguage(lang);
}
It does it's thing and changes the locale and the url accordingly but I loose my nav link highlight controlled by the routerLinkActive.  What should I look for? If I just navigate in without changing locale the highlighting work correctly
Thanks so much,
Yves

@gizbo Can you provide following information?

Version of localize-router
Version of angular
Route where this is happening

If possible, please provide minimal repo (e.g. plunkr) with this issue.

Hi, I've experienced same issue as @gizbo , here you are a plunker: http://plnkr.co/YyBzzt

Angular 4.1
<EMAIL_ADDRESS>
The selected route gives a yellow background on corresponding item of the main section menu via router-link-active, but when changing the language via the language selector menu, the class is not attached to corresponding main section item.

@plastikaweb Thanks for the plnkr. I will look into it.

I'm also interested in a fix for this, any news?


Always quote path arguments when resolving command-lines for libSwiftScan queries

Otherwise, if unquoted paths contain spaces, such paths will become treated as separate strings when we formulate a C string array to pass down to libSwiftScan API entry-points.
Resolves rdar://106712169

@swift-ci test

@swift-ci test Windows platform

Requires https://github.com/apple/swift/pull/65293 to land in a toolchain, first.

@swift-ci test


Undiagnosed Error

My twwpy is giving output as Tweeted Slide1.JPG but image is not being published on twitter.
Where can I find information about what I am doing wrong?

This isn't actionable at all, as there is no information here.
You need to provide the relevant code and/or full traceback, with the expected and actual behavior, for anyone to be able to help you.

Code being used
import tweepy
import configparser
import os
import threading
import time
import sys
WAIT_TIME = 300000
done = False
def get_tokens():
api_key = 'key'
api_secret_key = 'key secret'
access_token_key = 'token key'
access_token_secret = 'token secret'
return api_key, api_secret_key, access_token_key, access_token_secret
def animate():
for c in range(WAIT_TIME, -1, -1):
if done:
break
sys.stdout.write('\rWaiting for ' + str(c) + ' secs.... ')
sys.stdout.flush()
time.sleep(1)
sys.stdout.write('\rTweeting\n')
def write_tweeted_img(file_name):
file = open(r"new.txt", 'a') #file path
file.write('{}\n'.format(file_name))
file.close()
def check_img_tweeted(file_name):
with open(r"new.txt") as f: #file path
if file_name in f.read():
return True
return False
if name == 'main':
consumer_key, consumer_secret, access_token, access_secret = get_tokens()
count = 0
print('Connecting to Twitter...')
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)
api = tweepy.API(auth)
print('Connected!\n')

os.chdir(r"") #imge directory path
for image in os.listdir(r""): #imge directory path

    if check_img_tweeted(image):
        print('Already Tweeted {} before'.format(image))
        os.remove(image)
        continue

    try:
        api.search_tweets(image)
        print('Tweeted {}'.format(image))
        write_tweeted_img(image)
        count += 1
        os.remove(image)
        done = False

    except TweepError:
        continue

    t = threading.Thread(target=animate)
    t.start()
    time.sleep(WAIT_TIME)
    done = True

print('\nSuccessfully Tweeted {} Images'.format(count))`

import tweepy
import configparser
import os
import threading
import time
import sys
WAIT_TIME = 300000
done = False
def get_tokens():
api_key = 'key'
api_secret_key = 'key secret'
access_token_key = 'token key'
access_token_secret = 'token secret'
return api_key, api_secret_key, access_token_key, access_token_secret
def animate():
for c in range(WAIT_TIME, -1, -1):
if done:
break
sys.stdout.write('\rWaiting for ' + str(c) + ' secs.... ')
sys.stdout.flush()
time.sleep(1)
sys.stdout.write('\rTweeting\n')
def write_tweeted_img(file_name):
file = open(r"new.txt", 'a') #file path
file.write('{}\n'.format(file_name))
file.close()
def check_img_tweeted(file_name):
with open(r"new.txt") as f: #file path
if file_name in f.read():
return True
return False
if name == 'main':
consumer_key, consumer_secret, access_token, access_secret = get_tokens()
count = 0
print('Connecting to Twitter...')
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)
api = tweepy.API(auth)
print('Connected!\n')

os.chdir(r"") #imge directory path
for image in os.listdir(r""): #imge directory path

    if check_img_tweeted(image):
        print('Already Tweeted {} before'.format(image))
        os.remove(image)
        continue

    try:
        api.search_tweets(image)
        print('Tweeted {}'.format(image))
        write_tweeted_img(image)
        count += 1
        os.remove(image)
        done = False

    except TweepError:
        continue

    t = threading.Thread(target=animate)
    t.start()
    time.sleep(WAIT_TIME)
    done = True

print('\nSuccessfully Tweeted {} Images'.format(count))`

Code being used


Trying to fix #280

Just a simple thought, hope to give you some idea.

This PR is a similar idea I tried initially. If the view changes during the election, we have a hard stop. But it covers cases that lead to some errors on my side. Removing the stopVotingThread() from the ELECTION seems to make it work :smiley:
I'll pull your commits in to keep your changes and apply small changes. I'll let the tests run overnight, and we'll see how it goes. Thanks for reporting and coming up with a solution!

I found a problem when I'm running another test. GMS notify the VIEW_CHANGE to upper protocol before multicast a VIEW message, in lost majority case, the stopVotingThread() could block the event thread (100ms max) to prevent the VIEW message is sent before ElectedLeader message, so in participant nodes could unset the leader by the VIEW message after it set the leader by ElectedLeader message. without the stopVotingThread(), the VIEW message might being sent first, then the leader will be kept in other nodes even the false leader itself. but the stopVotingThread() is out of the option, so I'm thinking about to send the ElectedLeader message with null leader and 0 term in voting thread.
I will amend the commit, please take a look.
BTW since the elected message will be sent in another round of running, therefore the stopVotingThread() could stop the runner cause the election result could not being sent out, so it makes stopVotingThread() very "dangerous" I think.

@yfei-z To not push to your branch, I've created #286, if you're interested in trying that. It should fix the mentioned issues and seem stable in my local tests.


Fails to load on MacOS Mojave

Describe the bug
A clear and concise description of what the bug is.
Fails to load on MacOS Mojave, but the README states:

Download a pre-built package from the releases page.

To Reproduce
wget https://github.com/lensapp/lens/releases/download/v3.6.0-rc.1/Lens-3.6.0-rc.1-mac.zip

tar -xvf Lens-3.6.0-rc.1-mac.zip

./Lens.app/Contents/MacOS/Lens

uname -a
Darwin kosmos.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

Perhaps the README is missing some pre-reqs or steps? Or perhaps the MacOS download is invalid for Mojave?

Did you test dmg package?

As per the issue, this is regarding the zip that you distribute in the releases page.
Are some instructions or pre-reqs missing? Have you also seen the format error we (arkade contributors) ran into when trying to make it available as a download option? #821

@alexellis yes, releases contains a zip file for MacOS but we actually only link dmg package on release notes. Zip is something that is only generated for auto-updater.

I'm closing this since dmg file is the correct file to install Lens


fix openai api

PR type

[x] Bug Fix
[ ] New Feature
[ ] Document Updates
[ ] More Models or Datasets Support

FIX: https://github.com/modelscope/swift/issues/1348


update shader

I have updated OpenGLShader submodule, so if you can test to see if it solves the render issue.
If you get an actual log after:
Shader build log:
then post it here so that I can better understand what is not working.

So I finnally found the issue:
glm::mat4 someMatrix{};
Was not initializing at identity (depending on the version of glm I suppose)
On the other hand
glm::mat4 someMatrix{1.f};
Does initialize at identity

This pr is not needed


Update user_guide notebooks to fix website/html rendering

[x] TriMesh Visualizations need to be aggregated with any and/or set to a constant cmap that doesn't conflict with the background tiles (#176)
[x] HTML rendering of notebooks using Jupyter Run All results in map elements (TriMesh, maybe others?) that won't dynamically update on zoom. We discussed this, but I can't seem to find the issue.

I didn't realize that we needed an active server for datashaded maps. @philippjfr also demoed a tile renderer example that can be used as a workaround.


Add outlines vLLM OpenAI server

To use with Langchain / OpenAI add extra_body={"schema": yourSchema} or extra_body={"regex": yourRegex} example:
llm = ChatOpenAI ( openai_api_key="EMPTY",
                   openai_api_base="http://localhost:8000/v1",
                   model_name=model_path,
                   extra_body={"schema": json_schema },
                 )

Thanks for the PR! I see two issues this would close
https://github.com/outlines-dev/outlines/issues/512
https://github.com/outlines-dev/outlines/issues/594

I'd expect this to extend OpenAI's existing response_format field to include the schema, rather than use an extra_body field. Thoughts?

Thank you for opening a PR, this is impressive and I will need a few days to review it.

Wow looks amazing, so I understand now after I deploy outlines to my server, then I can just add another line into my litellm config pointing to outlines, and then it just works compatible with my existing UI?

@Soufiane-Ra could you solve the formatting issues?

Following this and would love to see any update

I'd expect this to extend OpenAI's existing response_format field to include the schema, rather than use an extra_body field. Thoughts?

I cannot agree. To be openai compatible we have to use extra_body. They  specified extra_body field exactly for the use case to pass custom application fields.
E.g. if you use openai library for sending requests to vllm.engine.openai.entrypoints.openai.apiserver and you use an extra JSON field which is not specified by official openai API, then the openai python library will raise an error (I tried that a couple of weeks ago). The same is true for the other, previous vLLM extensions by the way. So in my eyes every extension must be wrapped into extra_body. Otherwise we

are not openai compatible
cannot us the official openai python library with vLLM apiserver (at least not with vLLM extensions)

Just my two cents ...

Thank you for contributing! In the meantime vLLM integrated Outlines, and you can now use structured generation directly from there.


Issue747 future loops

Okay, here's a straw-man solution for #747 -- it at least honors the "loop=" arg to WebSockets (unless that's None, in which case it uses txaio's loop, if configured). Includes a simple test.
Something puzzling: I had to change the protocol= attribute for the factory to actually get an asyncio-specific protocol instance from the factory...
I also changed a couple RawSocket bare Future()s

Current coverage is 56.50% (diff: 60.71%)

Merging #750 into master will increase coverage by 0.02%

@@             master       #750   diff @@
==========================================
  Files            68         69     +1
  Lines         11175      11200    +25
  Methods           0          0
  Messages          0          0
  Branches       1734       1735     +1
==========================================
+ Hits           6312       6329    +17
- Misses         4309       4317     +8
  Partials        554        554

Powered by Codecov. Last update d00e6b7...778dcce

I think this is good as a stop gap, without anticipating what results from the #747 discussion


Fix nameof arguments in User model

FirstName and LastName were the wrong way round

Fixes #13230
@natstar93  thanks for this fix.

FYI this change has been reverted: https://github.com/aspnet/AspNetCore.Docs/pull/14732/commits/a4cb90c57bf913f723e0c20c0d6859d08acfa5ce
See: https://github.com/aspnet/AspNetCore.Docs/issues/14731 and https://github.com/aspnet/AspNetCore.Docs/pull/14732

@serpent5 please review

It's looks like this PR was wrong.

@Rick-Anderson Yeah, this one appears to have been incorrect. Would you like me to update the sample project to include a working example of exercising this stuff?

Would you like me to update the sample project to include a working example of exercising this stuff?

That would be great. Create an issue to track


Models loaded from S3 buckets do not support namespaces

Rasa version: 1.5.0
Rasa SDK version (if used & relevant): n/a
Rasa X version (if used & relevant): n/a
Python version:3.7.4
Operating system (windows, osx, ...): osx & linux
Issue: When working with many models, it helps to make use of S3 namespacing functionality (aka "folders") within buckets. Not being able to load models from buckets is a hindrance when working across projects.
Models can only be loaded from the root directory of an S3 bucket. This is because when the full S3 path passed in the -m flag is then passed, the full path is where the model is attempted to write to disk.
This full path is also used to attempt to decompress the model.
Error (including full traceback):
2019-12-06 09:04:53 ERROR    rasa.core.agent  - Could not load model due to [Errno 2] No such file or directory: 'projectA/20191205-192442.tar.gz'.
Experienced exception while trying to serve
Traceback (most recent call last):
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/sanic/app.py", line 1096, in run
    serve(**server_settings)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/sanic/server.py", line 742, in serve
    trigger_events(before_start, loop)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/sanic/server.py", line 604, in trigger_events
    loop.run_until_complete(result)
  File "uvloop/loop.pyx", line 1417, in uvloop.loop.Loop.run_until_complete
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/run.py", line 244, in load_agent_on_start
    action_endpoint=endpoints.action,
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/agent.py", line 249, in load_agent
    model_server=model_server,
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/agent.py", line 932, in load_from_remote_storage
    persistor.retrieve(model_name, target_path)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/nlu/persistor.py", line 55, in retrieve
    self._retrieve_tar(tar_name)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/nlu/persistor.py", line 157, in _retrieve_tar
    with io.open(target_filename, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'projectA/20191205-192442.tar.gz'
Traceback (most recent call last):
  File "/Users/cianclarke/Library/Python/3.7/bin/rasa", line 8, in <module>
    sys.exit(main())
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/__main__.py", line 76, in main
    cmdline_arguments.func(cmdline_arguments)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/cli/run.py", line 100, in run
    rasa.run(**vars(args))
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/run.py", line 56, in run
    **kwargs
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/run.py", line 202, in serve_application
    backlog=int(os.environ.get("SANIC_BACKLOG", "100")),
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/sanic/app.py", line 1096, in run
    serve(**server_settings)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/sanic/server.py", line 742, in serve
    trigger_events(before_start, loop)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/sanic/server.py", line 604, in trigger_events
    loop.run_until_complete(result)
  File "uvloop/loop.pyx", line 1417, in uvloop.loop.Loop.run_until_complete
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/run.py", line 244, in load_agent_on_start
    action_endpoint=endpoints.action,
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/agent.py", line 249, in load_agent
    model_server=model_server,
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/core/agent.py", line 932, in load_from_remote_storage
    persistor.retrieve(model_name, target_path)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/nlu/persistor.py", line 55, in retrieve
    self._retrieve_tar(tar_name)
  File "/Users/cianclarke/Library/Python/3.7/lib/python/site-packages/rasa/nlu/persistor.py", line 157, in _retrieve_tar
    with io.open(target_filename, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'projectA/20191205-192442.tar.gz'

Command or request that led to error:
rasa run -m "projectA/20191205-192442.tar.gz" -p 5005 -vv --remote-storage=aws

A PR fixing this issue to follow.

Thanks for raising this issue, @amn41 will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗


Create random data based on Pattern

First of all, great job on the library, it's really powerful considering its size (or lack there-of.)
I've come from using Faker in PHP and I think the following functions would be useful.
chance.lexify('Hello ???') // 'Hello wgt'
chance.bothify('Hello ##??') // 'Hello 42jz'
chance.asciify('Hello ***') // 'Hello R6+'
chance.regexify('[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}'); //<EMAIL_ADDRESS>
See https://github.com/fzaninotto/Faker#fakerproviderbase for reference.
This would help me achieve various things such as UK formatted post codes (I know this is intended, but the only example I could think of right now).

i add lexify, bothfiy and asciify in pull request #508


chore: migrate to memfs

What kind of change does this PR introduce?
dependency migration
closes #10377

Did you add tests for your changes?
Nope

Does this PR introduce a breaking change?
Nope

What needs to be documented once your changes are merged?
Nothing

Thanks


Fixing the coin image layout jank in the veBAL header

Description
Some of the coins in the veBAL page hero display too large which causes layout jank. This PR fixes this issue.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
Load the /vebal page and watch the hero. Ideally, the coin images should load gracefully.

This should be working now with no layout shift:
https://www.loom.com/share/7eb420745282445e9146fed65aa803c2


"RuntimeError: can't start new thread"

Exception in callback VoiceClient.handleGetState({'guild_id': '653083797763522580', 'traceback': {'RuntimeError': "can't start new thread"}})(),
handle: <Handle VoiceClient.handleGetState({'guild_id': '653083797763522580', 'traceback': {'RuntimeError': "can't start new thread"}})()>,
Traceback (most recent call last):,
  File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run,
    self._context.run(self._callback, *self._args),
  File "/usr/local/lib/python3.8/site-packages/discodo/client/voice_client.py", line 147, in handleGetState,
    options = data["options"],
KeyError: 'options'

https://github.com/kijk2869/discodo/blob/master/discodo/source/PyAVSource.py in line 140
Error when starting new thread.
Reproduce: Just make a lots of threads

Sorry for late response.
This may be some critical bug and require many works.
However, I'm so busy that I can't afford to do this now.
I'll work on it when I have time.
If possible before that, please open pr.


Firefox Security Warning

I'm getting a security warning in Firefox when logging on to the portal:

@SRGDamia1 - this is a "feature" of Firefox that will likely show up for any login on any site that does not use HTTPS.
https://support.mozilla.org/t5/Protect-your-privacy/Insecure-password-warning-in-Firefox/ta-p/27861

Should we be using HTTPS?


Forum posts have waves of mis-attribution and duplicate content

At least on Gear Talk, I've noticed this come and go, and appear as different permutations of incorrect data.

Thanks for pointing it out. Looks like #780 should have been reopened, so I'm going to do that and close this out.


All the contributors are not visible On readme.

Dynamically add the contributors to the readme.

@Ctoic assign me

@Ctoic I fixed the issue in pull request #59
please check

Sure @amankumarconnect you did a great job. Keep going i have merged your request.


horizontal scroll

Hi there,
I've looked through the props and issues, and I could just be missing something. Is there a way to set a width and overflow for the table so that the table can be scrollable horizontally, or will I have to do that with CSS?
Thanks.

The columns autosize to fit the width. If you size the columns beyond what can fit, the horizontal scroll will automatically be enabled. The table is designed to be "responsive" and does not support setting a horizontal width.  However, each column allows for a width property - which you could set to various amounts that would cause the scroll to kick in.
Please also consider joining the #react-table Slack channel (badge in the README in the doco) as the github issues are for broken code or feature requests. Thanks.

I have the same problem and spent a lot of time doing it. So I just wrapped a table to a div and set for div max-width: 100%;     overflow-x: auto;
I think it’s not actually for you now, but maybe somebody will have the same question

Thanks @AntonDeXy ,
<div style={{ maxWidth: '100%', overflowX: 'auto' }}>
              <table {...getTableProps()}> ........  </table>
</div>

However, when we attempted to use that, no dropdown menu opened. How can we fix this?


🎁 Added wordcount to editor.

Closes: https://github.com/TryGhost/Ghost/issues/8202
Adds the {{wordCount}} variable to the editor screen and positions it in the bottom left hand side of the screen.
Also adds a word-pluralize helper that does basic pluralisation of words.

Coverage increased (+0.05%) to 74.698% when pulling 9a9a56b45b1f6c32d331da0452df43c4bce5113c on disordinary:wordcount into 0a7154d1c4cf570b3f4579af74c2af0709a22ebb on TryGhost:master.

Coverage increased (+0.05%) to 74.698% when pulling 35228281ca40a7a25d3d07d303d5de863368bb3a on disordinary:wordcount into 0a7154d1c4cf570b3f4579af74c2af0709a22ebb on TryGhost:master.

Closed in favour of: https://github.com/TryGhost/Ghost-Admin/pull/668


Jesse: Watch<PHONE_NUMBER>3

Jesse requests the watch of the watch_number<PHONE_NUMBER>3. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


[DTLS] implement crypto_ccm.rs

as title

@rainliu
I've started to implement this feature and created draft PR.
If duplicate work, please reject it.

close this issue as it is implemented in https://github.com/webrtc-rs/webrtc/pull/22


wifiscanner::Error does not implement std::error::Error

Right now wifiscanner::Error does not implement std::error::Error. There is no reason why it couldn't and it would help interoperability with other crates.

I would like to work on this!


Breaks when there are scripts of type ld+json

So, this Schema.org blob breaks the vulcanization:
    <script type="application/ld+json">
      { "@context" : "http://schema.org",
      "@type" : "Organization",
      "name" : "SSAR North American Species Names Database",
      "url" : "https://ssarherps.org/cndb/",
      "logo" : "https://ssarherps.org/cndb/assets/favicon1024.png",
      "image" : "https://ssarherps.org/wp-content/uploads/2015/03/Pseudacris_crucifer-1425x460.jpg",
      "description" : "The Society for the Study of Amphibians and Reptiles's searchable database of North American reptiles and amphibians. Species accounts, photos, geolocation, and more."
      }
    </script>

It should make sure that  don't have a type that *isn't "text/javascript" or blank.

Vulcanize already checks the type of script: https://github.com/Polymer/vulcanize/blob/master/lib/matchers.js#L24-L33
I this is a duplicate of https://github.com/Polymer/hydrolysis/issues/152, which should be fixed in the next hydrolysis release.

@garlicnation: let's make another hydrolysis release soon :)


Fix Python macos x86 build

@xhochy
in ac6c776ecf5d3abb3561cab1e1727d87ae57a08b, the macos universal2 build for python 3.8 failed with
         error[E0463]: can't find crate for `core`
          |
          = note: the `x86_64-apple-darwin` target may not be installed
          = help: consider downloading the target with `rustup target add x86_64-apple-darwin`

I thought universal2 was aarch?
I added a line to install the x86_64-apple-darwin target for the universal2 builds. Now the Python 3.13 build test stage fails with
    × Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [2 lines of output]

        meson-python: error: Multi-architecture builds are not supported but $ARCHFLAGS='-arch arm64 -arch x86_64'
        [end of output]

Before I simply don't build for Python 3.13: Is there something I am misunderstanding here?

universal2 is x86 and aarch64 at the same time. I wouldn't build these wheels as they are quite heavy and barely used it you provide wheels for the architectures separately already.

Thanks @xhochy !


fix: click handler can now change dynamically

Alaska Airlines Pull Request
When testing ods-button I noticed that the buttonCallback property changing didn't actually change the button click callback being fired. This resolves the issue.
Summary:
When setting the buttonCallback property with a function during or near initial render of the component the function set would run when the button was clicked. However if I were to change the buttonCallback property later, with the intend of having that new function run on button click, I'd find that the originally set function would run. The problem was related to the buttonCallback being associated with the click event by value, and not by reference, so now matter how many times I changed buttonCallback the click event would still be bound to the original value provided and not the this object's reference of buttonCallback.
Now when the button is clicked the currently set instance of buttonCallback will be ran.
Type of change:

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Orion Design System Team

:tada: This PR is included in version 3.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SD-1603 Add LookupType term to Mounting algebra

In support of downstream sub-path permission handling

LGTM


Allow to join the Hallway without Website

I don't know if it follow your idea, but I see people which want to join the Hallway, but with a Work In Progress website.

The webring is to encourage people to build websites before taking part in the hallway.
Applicants need both :)

Get your point (I suspected it a bit, hence the "I don't know if it follow your idea").
Cheers!


Bump tracy-client to 0.15

Supercedes https://github.com/aclysma/profiling/pull/44

@aclysma are there any blockers here?
I believe this addresses the first point in https://github.com/aclysma/profiling/pull/44#issuecomment-1356942468
For the second one you mention:

It's annoying that the "correct" version of tracy to use will not be well-defined. But I don't think we can do anything about it from this crate.

So I assume nothing needs to be done here.
I think this crate could specify a specific version via a direct dependency on tracy-client-sys, but that might be a bit opinionated (although the end user can always patch in their own version of profiling if they really need to...).

The CI failure seems to be an unrelated clippy warning in the example code.

I didn't merge the PR because it failed CI. However looking again, I think the change I made in https://github.com/aclysma/profiling/commit/5f3fe75cd0426afd2bd0213ef8f20706fbc20e1f probably fixes this issue. I don't think I can force CI to re-run so I'll see if I can make another PR from your branch just to check that it is working.

I pushed your branch onto this repo and rebased it over latest to see if it builds: https://github.com/aclysma/profiling/tree/tracy-15

Looks like it builds fine, do you want to rebase your branch so that it passes CI or should I just merge this branch? https://github.com/aclysma/profiling/tree/tracy-15

Will merge the other branch in #51


[ko] Translate /docs/concepts/overview/working-with-objects/owners-dependents into korean

This is a Feature Request
What would you like to be added
Translate /docs/concepts/overview/working-with-objects/owners-dependents/ into korean
Why is this needed
Not translated yet /docs/concepts/overview/working-with-objects/owners-dependents/ into Korean
이전에 작업되던 PR이 있으나, Merge되지 않았기에 새롭게 번역하고자 합니다.
괜찮은지 확인부탁드리겠습니다!
/language ko
/assign

/sig docs


Regent reverses the order of do...end blocks

The following snipped prints 2 before 1:
import 'regent'
local task main()
  do
    regentlib.c.printf('1\n')
  end
  do
    regentlib.c.printf('2\n')
  end
end
regentlib.start(main)

Time for monads in Regent now @elliottslaughter? ;)

As a workaround, try running with -fflow 0.

Should be fixed in fbb6593b14aa0fac108504e14583e4f85418b41a.

Fixed!


Fix content type

Quick bug fix according to #30 issue and Tomasz's solution.

Nit:
there's a useful feature in Gihub - you can link and close issues automatically by providing the right commit message.
https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
By mentioning #issue_number, you've successfully linked the commit to the bug (which is cool, because the discussion in the bug is up to date).
If you think this commit fixes the issue, you can put fixes #issue_number in the message. After closing the PR, the bug will be automagically resolved.


Offline deployment broken for v93

Describe the bug
I'm trying to run create-env offline but the vsphere_cpi package doesn't compile. It looks like bundler is trying to fetch a missing dependency.
To Reproduce
Steps to reproduce the behavior:

Run create-env without the internet

CPI Error Log
fetcher.rb is 3rd in stack
Expected behavior
Ruby 3.1 should not be fetching anything
Release Version & Related Info (please complete the following information):
-v93

https://github.com/cloudfoundry/bosh-deployment/commit/f0cb03c59c1d2428f4ab87a6e415dc0a9546be0b
1.125 vsphere esxi ubuntu jammy

Hi @metron2
Yeah, we thought this was an issue due to the divergence of the BUNDLED WITH in the Gemfile.lock and the actual bundler version included in the ruby release package.
However we then found this commit from last year that should prevent bundler from trying to installed the BUNDLED WITH version at runtime (which does not work in offline environments).
So we're not totally sure why the problem is happening...
We have implemented some standardized auto-bumping of ruby which should keep the versions in sync and avoid the problem. That will be released in v94, probably today or tomorrow.
In the future we would like to add some offline environments to our testing, but haven't had the time to prioritize the creation of those.

v94 is working thanks @jpalermo


Add circle ci yml

Use Dockerfile to build docker image nethsix/ruby-tensorflow-ubuntu:0.0.1
Run specs in the docker image

@nethsix Thanks, can I merge this ?

@Arafatk If everyone's ok with Circle CI, you can first sign up for CircleCI here with a few clicks: https://github.com/integrations/circle-ci
After that, at the dashboard:

Select yourself
Select ruby-tensorflow repo

That should be it. You can then merge. It almost does nothing for now, because circle.yml config is set to perform CI only for branches that contains the string 'circle_ci'. Thus only the CI will happen for this merged branch (you may have to manually trigger it from the dashboard)

@Arafatk Thanks! I'll do another pull request with a new circle.yml within a day or two, if you have signed/set up Circle CI then when I do the pull request we should be able to see CircleCI perform the build and tests (fingers crossed).

@Arafatk great to see you made it work using Docker!
I have two questions though:

Could you set the image up so that it pulls from the branch that it is run on? Right not it just pulls the default branch from git clone https://github.com/Arafatk/ruby-tensorflow.git (which should be ../tensorflow.rb btw.), so it will pull from the master branch instead of the branch of the current PR.
I think we should recommend in our installation instructions to also use Docker for building setting up TensorFlow

@chrhansen

Thanks for pointing out that I need to pull from the branch that it is run from! Will work on this.
I think Docker is nice, I used it when trying out Tensorflow in Python, but it requires people to download, so perhaps we can leave both there but work on the order, e.g., Docker instructions first


Display uploads tab by default

When editing a component if you go back to an image or sound where you have uploaded some asset, you should see the "Upload" tab instead of the initial tab to select from provided images/sounds.

Actually, we'll get rid of it altogether.
https://github.com/phetsims/paper-land/issues/152


fine additional serverside API

it is advised not to use google API's for this project as it may be more complicated and we need to learn additional module for properly understand and use it.
we need to look into another serverside API

ideas to look into and research:

[ ] calendly API for appointment
[ ] tailwind CSS Framework

additional ideas.

[ ] choose two types: 1. gardening or 2.construction
[ ] look into flower and plant API for 1.
[ ] look into construction price list API for 2.

[ ] Canadian stat. holiday API

this will allow the app to inform the users if they are attempting to book an appointment which falls on a statutory holiday in Canada. (there are only 13 federal holidays.
there are many github resources for this:
https://holidayapi.com/countries/ca/2023


Fix wso2-cellery/sdk#755 - Add support to search for traces with pagination at server side

Purpose

Add support to search for traces with pagination at server side

Goals

Add support to search for traces with pagination at server side

Approach

Add support to search for traces with pagination at server side

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A

Codecov Report

Merging #83 into master will decrease coverage by 0.09%.
The diff coverage is 5.55%.

@@             Coverage Diff             @@
##             master      #83     +/-   ##
===========================================
- Coverage     26.85%   26.76%   -0.1%
  Complexity      257      257
===========================================
  Files           133      133
  Lines          5272     5295     +23
  Branches       1022     1031      +9
===========================================
+ Hits           1416     1417      +1
- Misses         3431     3449     +18
- Partials        425      429      +4

Impacted Files
Coverage Δ
Complexity Δ

...vability.ui/src/components/tracing/search/index.js
1.73% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ity.ui/src/components/tracing/search/TracesList.js
1.75% <0%> (-0.19%)
0 <0> (ø)

...llery/observability/api/DistributedTracingAPI.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ellery.observability.ui/src/utils/api/httpUtils.js
98.21% <100%> (ø)
0 <0> (ø)
:arrow_down:

...vability/api/siddhi/SiddhiStoreQueryTemplates.java
100% <100%> (ø)
3 <0> (ø)
:arrow_down:

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 a916cc5...c84be39. Read the comment docs.


Vulnerability roundup 111: tcpreplay-4.3.4: 2 advisories [5.5]

search, files

[ ] CVE-2021-45386 CVSSv3=5.5 (nixos-21.11, nixos-unstable)
[ ] CVE-2021-45387 CVSSv3=5.5 (nixos-21.11, nixos-unstable)

CVE details
CVE-2021-45386
tcpreplay 4.3.4 has a Reachable Assertion in add_tree_ipv6() at tree.c
CVE-2021-45387
tcpreplay 4.3.4 has a Reachable Assertion in add_tree_ipv4() at tree.c.

Scanned versions: nixos-21.11: 2128d0aa28e; nixos-unstable: 5aaed40d22f.
Cc @proteansec

We no longer support nixos-21.11, but this has been fixed in the currently supported NixOS versions:

nixos-22.05: tcpreplay-4.4.1
nixos-unstable: tcpreplay-4.4.2


Bump @volar/vue-language-server from 0.32.1 to 0.34.10 in /server

@volar/server is renamed to @volar/vue-language-server, see https://github.com/johnsoncodehk/volar/issues/876.

Before I create a release,
I'll create a PR to update the sublime-package.json file.


Uncaught TypeError: Cannot read property 'replace' of null

[Enter steps to reproduce:]

...
...

Atom: 1.30.0 x64
Electron: 2.0.5
OS: Mac OS X 10.13.6
Thrown From: hydrogen-python package 0.0.7
Stack Trace
Uncaught TypeError: Cannot read property 'replace' of null
At /Users/Yossi/.atom/packages/hydrogen-python/lib/main.js:186

TypeError: Cannot read property 'replace' of null
    at PythonKernelMod.execute (/packages/hydrogen-python/lib/main.js:186:17)
    at MiddlewareAdapter.execute (/packages/Hydrogen/lib/kernel.js:149:24)
    at Kernel.execute (/packages/Hydrogen/lib/kernel.js:287:33)
    at Object._createResultBubble (/packages/Hydrogen/lib/main.js:391:12)
    at /packages/Hydrogen/lib/main.js:487:14)
    at /packages/Hydrogen/lib/main.js:488:8
    at arrayEach (/packages/Hydrogen/node_modules/lodash/lodash.js:516:11)
    at Function.forEach (/packages/Hydrogen/node_modules/lodash/lodash.js:9342:14)
    at Object._runAll (/packages/Hydrogen/lib/main.js:482:7)
    at Object.runAll (/packages/Hydrogen/lib/main.js:462:12)
    at HTMLElement.hydrogenRunAll (/packages/Hydrogen/lib/main.js:106:40)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at Object.didConfirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:152:35)
    at SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-select-list/src/select-list-view.js:413:26)
    at HTMLDivElement.core:confirm (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-select-list/src/select-list-view.js:118:20)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:110:40)

Commands
  5x -1:14 core:move-down (input.hidden-input)
  3x -1:08.4.0 hydrogen:run-and-move-down (input.hidden-input)
  6x -1:05.6.0 core:move-up (input.hidden-input)
  8x -1:03.6.0 hydrogen:run-and-move-down (input.hidden-input)
     -0:43.4.0 core:select-all (input.hidden-input)
     -0:42.6.0 command-palette:toggle (input.hidden-input)
     -0:41.2.0 core:confirm (input.hidden-input)
     -0:41.1.0 hydrogen:run (input.hidden-input)
     -0:36.5.0 command-palette:toggle (input.hidden-input)
     -0:34.2.0 core:move-down (input.hidden-input)
     -0:33.8.0 core:confirm (input.hidden-input)
     -0:33.8.0 hydrogen:run-all (input.hidden-input)
     -0:15.7.0 command-palette:toggle (input.hidden-input)
  4x -0:13.4.0 core:backspace (input.hidden-input)
     -0:02.4.0 core:confirm (input.hidden-input)
     -0:02.4.0 hydrogen:run-all (input.hidden-input)

Non-Core Packages
atom-clock 0.1.16
atom-webbrowser 2.1.4
autocomplete-python 1.10.10
busy-signal 1.4.3
Hydrogen 2.5.1
hydrogen-python 0.0.7
intentions 1.1.5
language-latex 1.1.1
latex-tree 0.3.0
note-book 0.1.0
pandoc-convert 1.1.1
platformio-ide-terminal 2.8.4
python-tools 0.6.9
script 3.18.1
scroll-through-time 0.3.0
skim-displayline 0.0.1
teletype 0.13.3

Do you have the "Extend Executable Code" setting enabled?

@nikitakit it might be helpful to have a section of the issue template that asks for the enabled settings.

@nikitakit I didn’t the first time, but I enabled the optioned and the issue persists.

@yossibokor Since you seem to be running into this repeatedly, is there a set of steps I could use to reproduce?
The ideal case would be a snippet/file I could open in a new Atom tab, and instructions on what commands to run that trigger the bug.

This seems to be related to having a cell inside a if __name__ == "__main__": block. Investigating.

this is due to having empty cells - most commonly obtained through placing a final # %% at the end of the file. I have submitted a PR.


Document $environment

https://github.com/shoreditch-ops/artillery/issues/195

Where is this actually documented? The only reference I could find is on this page that doesn't actually explain the feature:
https://artillery.io/docs/http-reference/#logging

Thanks @BenSayers, documented now (in https://github.com/shoreditch-ops/artillery-docs/commit/16bf0b474d9c85d98e9cf0d8e85375688d29a17a). The website should be updated soon.

Thanks mate!


Refactored SID translation process to not throw during Test-TargetResource

Refactored SID translation process to only throw when called from Set-TargetResource.
Added verbose message to identify the policy where a SID can not be resolved from.

This change is

Codecov Report

Merging #88 into dev will increase coverage by <1%.
The diff coverage is 95%.

@@        Coverage Diff         @@
##           dev   #88    +/-   ##
==================================
+ Coverage   81%   81%   +<1%
==================================
  Files        5     5
  Lines      417   426     +9
==================================
+ Hits       338   347     +9
  Misses      79    79


Admin UI + generic components

<ce:form name="person">
    <admin:field label="bundle:person_type">
        <ui:dropdownlist name="ce:personType" entity="ce_person_type" display="name" value="id" />
    </admin:field>
</ce:form>

Use custom property to set HTML element name.
Wrapping form thanks to the custom property knows where to read user value from.
Use context object to pass loaded value to editor component.

On post, parse the template twice: 1) Provide request data, 2) Render output.

Lot of work has been done and concepts are in place.


Segfault on direct initializing json object

I'm currently updating from 2.x to 3.1.1: Now my default initialisation of json objects is causing a SEGFAULT:
Example:
json root = {
    {"command", "request_token"},
    {"payload", {
        {"token", child_info.token}
    }}
};

This code is working fine:
json root;
root = {
    {"command", "request_token"},
    {"payload", {
        {"token", child_info.token}
    }}
};

I'm experiencing this in only one single way to call the containing function:
I'm using a command string parsed from an json object, and a std::map to map that string to an enumeration object, which I pass to a switch statement to determine which function to be called.
If I skip the switch statement, and determine the calling of the function by directly comparing the command string, it won't crash.
I'm using gcc 4.9.2 with cross compiling to armv7.
Heres a backtrace after crashing:
#0  0x0003e32c in nlohmann::basic_json<std::map, std::vector, std::string, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer>::json_value::destroy(nlohmann::detail::value_t) ()
#1  0x0002cef4 in int (anonymous namespace)::command_expr_request_token<0, 0>(nlohmann::basic_json<std::map, std::vector, std::string, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer> const&, conn_info_t&, bio_st*, int, bool) [clone .isra.1043] ()
#2  0x00044b38 in parseCommand(nlohmann::basic_json<std::map, std::vector, std::string, bool, long long, unsigned long long, double, std::allocator, nlohmann::adl_serializer> const&, conn_info_t&, bio_st*) ()
#3  0x0006e4b4 in (anonymous namespace)::thread_child(bio_st*) ()
#4  0x4b2c7f68 in ?? () from /usr/lib/libstdc++.so.6
#5  0x4b146068 in ?? () from /lib/libpthread.so.0

What happens if you replace child_info.token by, let's say, 1? What is the type of child_info.token.

It's of type string; same behaviour when replaced with constant string (or other type or completely removed).
I made further tests with various initialisations:
json root_0 = {}; // working
json root_1 = {true}; // working
json root_2 = {10}; // working
json root_3 = {true, 10}; // working
json root_4 = {true, true}; // working
json root_5 = {11, 12}; // working
json root_6 = "{\"command\":\"test\"}"_json; // working
json root_7 = R"({"command": "test"})"_json; // working
json root_8 = {{13, 14}}; // not working
json root_9 = {"command"}; // not working
json root_10 = {"command", "test"}; // not working
json root_11 = {{"command", true}}; // not working
json root_12 = {{"command", 10}}; // not working
json root_13 = {{"command", "test"}}; // not working
json root_14 = json({{"command", "test"}}); // not working

Seems to be a problem with non basic types passed without parsing.

What is function parseCommand in your stack trace?

Do you know a cross compiler for macOS so I could try to reproduce the issue? The code in https://github.com/nlohmann/json/issues/973#issuecomment-365613645 runs without issues on my machine...

It's a server application which listens for json commands on tcp. The parseCommand function decides - dependand on an "command": "string" object in the request json - which function is called to answer this request. Implementation with std::map, an enum and switch is a bit hacky to avoid huge if blocks.
I'm using arm-poky-linux-gnueabi-g++ out of my poky sdk; don't know if it will run on macOS.
My tests (not very good ones as it shows) are working on both systems. Will try to compile my program for amd64 to see if the problem is platform or design dependand.
I will also try to create small example code recreating my call chain to hopefully reproduce this crash.

Unforunately I can't reproduce this in any other application. Only in my server application inside this specific type of function.
When I replace all occurencies of json root = {...} with json root; root = {...} everything is working fine. But there seems to be another underlying issue with my code.

I have no idea how to continue here.

I will head back if I can contribute more information. I'm currently busy with other projects, when I have some time debugging, I dig deeper into it.

Made some structural changes in my callchain, now the problem is gone:
My switch statement is no longer directly calling the corresponding function, it now returns a std::function which is called afterwards.
Still no clue if my problem is related to this library or some other problem with my code. Seems to be a combination - since it worked in v2. But feel free to close this issue.

Thanks for checking back! I shall close the issue.


Prefixes for buttons, tables, etc.

http://twitter.github.com/bootstrap/upgrading.html
looks like they added some prefixes to most of the elements, but it was only 20 hours ago so no big deal :) If you don't have time I could fork and try to do it!

I think most of the prefixes are already in our 2.0 branch.
Besides, I convert straight from the bootstrap LESS so any changes will be reflected in the gem.

They added some more yesterday I think (like .btn-*). Those weren't
implemented yesterday night for me in the 2.0 branch :)
Thank you !
Sent from my iPhone
Envoyé de mon iPhone
On 2012-02-01, at 7:11 AM, Thomas McDonald
<EMAIL_ADDRESS>wrote:

I think most of the prefixes are already in our 2.0 branch.
Besides, I convert straight from the bootstrap LESS so any changes will be reflected in the gem.

Reply to this email directly or view it on GitHub:
https://github.com/thomas-mcdonald/bootstrap-sass/issues/35#issuecomment-3757825


Auto-rules for structs?

If you're looking for an idea for something to do, I think it would be pretty cool if I could:
#[derive(AccordValidate)]
struct Account {
    #[accord_rule(length(1..64))]
    name: String,
    #[accord_rule(length(5..64), contains("@"), contains("."))]
    email: String,
    #[accord_rule(range(12..127))]
    age: i8,
}

And get an auto-impld Account::validate function. A similar thing like derive(AccordNew) or AccordBuilder seem like something that would also be nice so that it's impossible to even build invalid objects in the common case.

Thanks for the input! The derive feature is what I am exploring at the moment, and the auto-feature would also be awesome to have, and I'll definitely look at implementing something like that too.

@ChrisBuchholz Look at https://github.com/Keats/validator the validator_derive crate does exactly that

@Keats: Sergio of Rocket fame showed it to me yesterday. It's quite cool! Right now, Accord supports stable (and nightly, but with no extra features yet), and I'm working on some derive functionality for enhancing the rocket integration, and possibly other stuff also, using your validator to draw inspiration from!
I'm hoping to land some of the first stuff later today.

Looking at the README and issues, it seems that the plan (regarding structs only) is to build something very similar to validator with the main (only?) difference being the error messages?
Can you expand a bit on what's going to be different?

@Keats: Well, I have only looked at validator briefly, but I can tell you that my vision for Accord is pretty much what it is right now: that you can use the rules! macro to validate stuff and get great error messages that are serializable and are able to be directly dropped back to an application that can then use to inform the user about what problems their is with their input. There can always be added more validators of course. Except for that, the only thing missing in my main vision is the easier integration with frameworks like rocket, which can be added on the nightly version of accord with derive and other stuff.
I'm also gonna explore other ways of setting up the rules, like OP suggested, and like validator does, but that is not really priority. The priority is features that works on stable, which all of Accord does now, and even more features and better integration with third party frameworks (on nightly if its a must, like it is with rocket).
What are you poking at?

Just wanted to avoid duplication of work if the goals coincided but they don't: i18n support is an explicit non-goal for me.
Regarding the nightly, custom derive will be stable early february so don't worry too much about it!

@Keats: sure, no problem.
It is good the more brainpower is used on something, and although accord and validator differs on some aspects, it also overlaps in others. It is also sad if brainpower is scattered too much. Many can become a greater one. There might be a opportunity to merge the two projects for a greater good.
About the custom derive: sure, but some of the things I'm working on for nightly, like better rocket integration, will not be for maybe a year (since rocket will not), so accord has to modeled in a way that accord is not a showstopper for anyone, only the third party libraries/frameworks are, and that accord can work (with a varying degree of features) in most possible scenarios.


[README] use "host" docker network mode

It makes thing simpler

It doesn't work in macos.

Oh, I didn't know that! I'm using linux...


Incorrect Blend Mode support for Safari

According to what I checked before on iOS Safari in test cases of blend modes on MDN, the last four are also supported as well (Hue, Color, Saturation, Lumiosity) but IDK what version of safari is for full support. iOS 11+ and Safari 11+ should be full support of blend modes but IDK for some older ones unless someone else tests it.

Has been corrected.


isolateMS1B256 question

Is  bb |= bb >> 256 required?
Doesn't it just equate to bb |= 0?
Or am I being dumb...

@sillytuna  I think you are right!

Unrelated but I'm going to look at shifting the two classes to yul and checking gas use differences.


feat: add layerControlHideGroup property option

Implemented changes
This PR adds a layer property called layerControlHideGroup which allows rendering individual groups without their children, i.e. like a "normal layer".
The layer-type symbol is still shown as group to indicate that it is actually a group, but not rendered:
Screenshots

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have added a test related to this feature/fix
[x] For new features: I have created a story showcasing this new feature
[x] All checks have passed
[x] The PR title follows conventional commit style and reflects the type of change (major/minor/patch, breaking)
[x] The PR title describes the change within this element (each merged PR equals one entry in the element's changelog!)

I am unsure about two things:

the naming: if anyone has a better name than "hidden group" I'd gladly change it
if we should display the group icon in the layer or not. It might be confusing, but I don't know which other icon to show there instead (the contents could be raster, vector, etc.)

@silvester-pari, the name sounds okay to me. Maybe we can identify it using a tag and some opacity -

@silvester-pari, the name sounds okay to me. Maybe we can identify it using a tag and some opacity -

Thanks for the feedback, but it is not really about the group itself being hidden, but the layers inside the group are hidden, so only the group-level is shown (not possible to expand layers inside group). Maybe the name is confusing after all.

Maybe this should rather be a hideLayer -> individually hide layers. When group has only hidden layers, don't make it expandable.

Maybe this should rather be a hideLayer -> individually hide layers. When group has only hidden layers, don't make it expandable.

That's a good idea, this functionality already exists, we'd just need to add a check how many layers inside a group are hidden. I wonder if this is complicated, I'll give it a try.

Maybe this should rather be a hideLayer -> individually hide layers. When group has only hidden layers, don't make it expandable.

That's a good idea, this functionality already exists, we'd just need to add a check how many layers inside a group are hidden. I wonder if this is complicated, I'll give it a try.

Opened another PR that impolements just this: https://github.com/EOX-A/EOxElements/pull/651


Socket disconnections not always releasing tokens

If a client refreshes the browser, under some conditions, the connection count does not drop, which is calculated by number of active tokens.

Closing, new server/client architecture would never run into this problem, as far as I'm currently aware.