wiered attention weights when adding sequence of numbers.

I am trying to slightly modify your example of adding numbers such that the target is the sum of all the numbers in the sequence before delimiter. Below is the modified code

def add_numbers_before_delimiter(n: int, seq_length: int, delimiter: float = 0.0,
                                         index_1: int = None) -> (np.array, np.array):
    """
    Task: Add all the numbers that come before the delimiter.
    x = [1, 2, 3, 0, 4, 5, 6, 7, 8, 9]. Result is y =  6.
    @param n: number of samples in (x, y).
    @param seq_length: length of the sequence of x.
    @param delimiter: value of the delimiter. Default is 0.0
    @param index_1: index of the number that comes after the first 0.
    @return: returns two numpy.array x and y of shape (n, seq_length, 1) and (n, 1).
    """
    x = np.random.uniform(0, 1, (n, seq_length))
    y = np.zeros(shape=(n, 1))
    for i in range(len(x)):
        if index_1 is None:
            a = np.random.choice(range(1, len(x[i])), size=1, replace=False)
        else:
            a = index_1
        y[i] =  np.sum(x[i, 0:a])
        x[i, a] = delimiter

    x = np.expand_dims(x, axis=-1)
    return x, y

def main():
    numpy.random.seed(7)

    # data. definition of the problem.
    seq_length = 20
    x_train, y_train = add_numbers_before_delimiter(20_000, seq_length)
    x_val, y_val = add_numbers_before_delimiter(4_000, seq_length)

    # just arbitrary values. it's for visual purposes. easy to see than random values.
    test_index_1 = 4
    x_test, _ = add_numbers_before_delimiter(10, seq_length, 0, test_index_1)
    # x_test_mask is just a mask that, if applied to x_test, would still contain the information to solve the problem.
    # we expect the attention map to look like this mask.
    x_test_mask = np.zeros_like(x_test[..., 0])
    x_test_mask[:, test_index_1:test_index_1 + 1] = 1

    model = Sequential([
        LSTM(100, input_shape=(seq_length, 1), return_sequences=True),
        SelfAttention(name='attention_weight'),
        Dropout(0.2),
        Dense(1, activation='linear')
    ])

    model.compile(loss='mse', optimizer='adam')
    print(model.summary())

    output_dir = 'task_add_two_numbers'
    if not os.path.exists(output_dir):
        os.makedirs(output_dir)

    max_epoch = int(sys.argv[1]) if len(sys.argv) > 1 else 200

    class VisualiseAttentionMap(Callback):

        def on_epoch_end(self, epoch, logs=None):
            attention_map = get_activations(model, x_test, layer_names='attention_weight')['attention_weight']

            # top is attention map.
            # bottom is ground truth.
            plt.imshow(np.concatenate([attention_map, x_test_mask]), cmap='hot')

            iteration_no = str(epoch).zfill(3)
            plt.axis('off')
            plt.title(f'Iteration {iteration_no} / {max_epoch}')
            plt.savefig(f'{output_dir}/epoch_{iteration_no}.png')
            plt.close()
            plt.clf()

    model.fit(x_train, y_train, validation_data=(x_val, y_val), epochs=max_epoch,
              batch_size=64, callbacks=[VisualiseAttentionMap()])

if __name__ == '__main__':
    main()

I was expecting the model to focus on all values in x_test sequence before index 4. However as you can see in gif, the model focuses on just one point. Can you please elaborate where I am mistaking?
Thank in advance.

First if your loss converges to 0, that means your model is learning.
Regarding the attention weights, we can always have different explanations but the most plausible is:

We unroll the recurrent net on the sequence. At time t, you have technically a summary of all the information from 0 until t.
That means you don't need the outputs at time 0, 1, 2 but just time t is enough.
The attention layer shows this. If you only take the output of the LSTM at time t, then you can solve the problem.


build: proper warnings about LLVM 16

LLVM 16 was just released. I'm pretty sure we won't build properly against it because of the phase-out of typed pointers in LLVM IR, so warn prominently so that anybody building against it who has problems will know why.
Also, LLVM itself has bumped their toolchain requirements with the release of 16. Technically, I'm not sure if that extends to projects using the LLVM APIs, but warn anyway and hope for the best. If it fails, at least the warning will supply an explanation.
At a later time, we'll need to upgrade the code on our side to have the option of using opaque pointers so we can run with LLVM 16+.

LLVM 16 still works with typed pointers, at least per the documentation here
LLVM 16: Opaque pointers are enabled by default. Typed pointers are supported on a best-effort basis only and not tested.

The "not tested" part sounds scary, but in reality the LLVM test suite still is in transition from typed to opaque pointers, AFAIK.


Keywords appearance is off

Keywords appearance looks off, it has "," at the end of each keyword
See https://nanodash.knowledgepixels.com/explore?id=RAaj4KtUSWS_qQZatPcsuH1pvEVIFbbCTRigmP0NuSv8o
@ronentk

Fixed in #2 , on dev branch so will go live when @pepoospina  redeploys


Sway wants CAP_SYS_ADMIN

Issue description
Sway, enabled with programs.sway.enable, fails to run; wants CAP_SYS_ADMIN.
2019-05-01 20:05:07 - [sway/main.c:153] Linux homestead 5.0.9-hardened #1-NixOS SMP Sat Apr 20 07:17:05 UTC 2019 x86_64 GNU/Linux
2019-05-01 20:05:07 - [sway/main.c:169] Contents of /etc/os-release:
2019-05-01 20:05:07 - [sway/main.c:153] NAME=NixOS
2019-05-01 20:05:07 - [sway/main.c:153] ID=nixos
2019-05-01 20:05:07 - [sway/main.c:153] VERSION="19.03.172392.6d7ed964296 (Koi)"
2019-05-01 20:05:07 - [sway/main.c:153] VERSION_CODENAME=koi
2019-05-01 20:05:07 - [sway/main.c:153] VERSION_ID="19.03.172392.6d7ed964296"
2019-05-01 20:05:07 - [sway/main.c:153] PRETTY_NAME="NixOS 19.03.172392.6d7ed964296 (Koi)"
2019-05-01 20:05:07 - [sway/main.c:153] LOGO="nix-snowflake"
2019-05-01 20:05:07 - [sway/main.c:153] HOME_URL="https://nixos.org/"
2019-05-01 20:05:07 - [sway/main.c:153] SUPPORT_URL="https://nixos.org/nixos/support.html"
2019-05-01 20:05:07 - [sway/main.c:153] BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
2019-05-01 20:05:07 - [sway/main.c:141] LD_LIBRARY_PATH=/nix/store/zf8rx2mwm5drzaq72v1jmzh8b6rkvp12-sane-config/lib/sane:/run/opengl-driver/lib:/run/opengl-driver-32/lib
2019-05-01 20:05:07 - [sway/main.c:141] LD_PRELOAD=(null)
2019-05-01 20:05:07 - [sway/main.c:141] PATH=/home/dtheriault3/bin:/run/wrappers/bin:/home/dtheriault3/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/dtheriault3/bin
2019-05-01 20:05:07 - [sway/main.c:141] SWAYSOCK=(null)
2019-05-01 20:05:07 - [sway/server.c:39] Preparing Wayland server initialization
2019-05-01 20:05:07 - [backend/session/logind.c:576] Session '4' isn't a graphical session (type: 'tty')
2019-05-01 20:05:07 - [backend/session/direct-ipc.c:35] Do not have CAP_SYS_ADMIN; cannot become DRM master
2019-05-01 20:05:07 - [backend/session/session.c:96] Failed to load session backend
2019-05-01 20:05:07 - [backend/backend.c:282] Failed to start a DRM session
2019-05-01 20:05:07 - [backend/noop/backend.c:51] Creating noop backend
2019-05-01 20:05:07 - [sway/server.c:46] Unable to create backend

I've worked around this for a while now with a security wrapper (basically what the old program module had):
  security.wrappers.sway = {
    program = "sway-setcap";
    source = "${swaypkg}/bin/sway";
    capabilities = "cap_sys_ptrace,cap_sys_tty_config=eip";
    owner = "root";
    group = "sway";
    permissions = "u+rx,g+rx";
  };

Steps to reproduce
Set programs.sway.enable = true and run sway on TTY.
(I'm sure thats not all there is to it, but that's what I've figured out so far.)
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-linux"
host os: Linux 5.0.9-hardened, NixOS, 19.03.172392.6d7ed964296 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(dtheriault3): "nixos-17.09.3263.9e1d8b74706, unstable-19.03pre151837.ca2ba44cab4"
channels(root): "nixos-19.03.172392.6d7ed964296"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Update: it's something in my kernel config. Outside chance it's AMDGPU related; otherwise it's probably a rare enough change that this isn't actually a NixOS problem.

This was because of security.hideProcessInformation.
Closing now, seems this was my mistake.


Installation shall not proceed if errors/warning shown in chocolatey package

Describe the bug
Right now cChocoinstaller will download installation package and will execute it ignoring warnings from installation package and still adding environment variables etc to system
    Get-FileDownload -url $ChocoInstallScriptUrl -file $file
    . $file

Actual code for chocolatey install (below) will consider presence of folder where chocolatey is installed and presense any file there (which is where DSC downloads file) an indication that chocolatey is already installed. This will prevent chocolatey to be ever installed and lead to errors like below
function Test-ChocolateyInstalled {
    [CmdletBinding()]
    param()
    $checkPath = if ($env:ChocolateyInstall) { $env:ChocolateyInstall } else { 'C:\ProgramData\chocolatey' }
    if (Get-Command choco -CommandType Application -ErrorAction Ignore) {
        # choco is on the PATH, assume it's installed
        $true
    }
    elseif (-not (Test-Path $checkPath)) {
        # Install folder doesn't exist
        $false
    }
    elseif (-not (Get-ChildItem -Path $checkPath)) {
        # Install folder exists but is empty
        $false
    }
    else {
        # Install folder exists and is not empty
        $true
    }
}

Error
VERBOSE: [dominos-web]:                            [[cChocoInstaller]Install] Env:ChocolateyInstall has C:\Choco
VERBOSE: [dominos-web]:                            [[cChocoInstaller]Install] Downloading https://chocolatey.org/install.ps1 to C:\Choco\install.ps1
WARNING: [dominos-web]:                            [[cChocoInstaller]Install] An existing Chocolatey installation was detected. Installation will not continue.
For security reasons, this script will not overwrite existing installations.

Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
VERBOSE: [dominos-web]:                            [[cChocoInstaller]Install] Adding Choco to path
VERBOSE: [dominos-web]:                            [[cChocoInstaller]Install] Env:Path has C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Choco
The term 'Choco' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Packages\Plugins\Microsoft.Compute.CustomScriptExtension\1.10.9\Downloads\0\webserver\server.process.ps1:77 char:33
+ Start-DscConfiguration -path "$($env:temp)\prep" -wait -Verbose -erro ...
+                                 ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Choco:) [], CimException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : localhost

To Reproduce
   Node localhost {
      cChocoinstaller Install {
         InstallDir = "C:\Choco"

      }
}

Will fail
Expected behavior
Shall install chocolatey

I'm seeing the same behavior - cleaning things up, like the c:\choco directory, PATH variables, registry etc and just running the install from PowerShell directly on the same machine (without using DSC) seems to work fine.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

All was working fine yesterday.

Note we pushed a security fix to install.ps1 plus quite a bit of cleanup. We've checked quite a bit with it, but it's hard to catch every area of things that could occur.
Here's where the problem lies:
VERBOSE: [dominos-web]:                            [[cChocoInstaller]Install] Env:ChocolateyInstall has C:\Choco
VERBOSE: [dominos-web]:                            [[cChocoInstaller]Install] Downloading https://chocolatey.org/install.ps1 to C:\Choco\install.ps1
That should be downloaded elsewhere, not to the folder where the installation is. So yeah, the install script will detect the folder is already created and not install there.

To insulate yourself from changes that we are making in terms of the community and the packages repository (as we will be making quite a few over the next few months), it would be best to provide a script to point to a chocolatey nupkg in your internal infrastructure.
This is also going to be your best workaround while this gets fixed in Boxstarter.

I think issue on both sides

Chocolatey install script shall not consider non-empty folder as valid choco installation
DSC resource shall not proceed with setting environment variables unless installation succeeded while ignoring Warning being thrown in process

Chocolatey install script shall not consider non-empty folder as valid choco installation

The problem lies in that someone could pre-create the folder and drop a hijacking dll in here. Then when Chocolatey installs and puts folders on the SYSTEM path, those hijacking DLLs are still there. Even though it installs and asserts admin privileges to the default location (not to C:\Choco - you are left to handle those when you customize the path), it takes everything existing along for the ride.
So to fix the security issue, if there is an existing folder where Chocolatey was going to install, it just doesn't. Errorring in a terminating way on this is just completely out - that would cause a lot consternation that was is currently being seen.

DSC resource shall not proceed with setting environment variables unless installation succeeded while ignoring Warning being thrown in process

There are a few things to do in Boxstarter on this. I think we may see some small issues with other integrations as well.
I am sorry to hear we didn't catch this as part of our testing.

DSC resource has property ChocoInstallScriptURL, it would be good then to option to provide option to set in stone which version of install script resource will use so integration would not break when new versions are released (like what you can do with docker tags)

I think this is where the bug hits: https://github.com/chocolatey/cChoco/blob/feffeedcde2d93bcb570cb43ff483856c095ee88/DSCResources/cChocoInstaller/cChocoInstaller.psm1#L193

In the interim you can use following to make cChoco resource work. It's official install.ps1 file which does not consider Choco folder with single file as a valid chocolatey installation
   cChocoinstaller Install {
         InstallDir            = "C:\Choco"
         ChocoInstallScriptUrl = "https://gist.githubusercontent.com/artisticcheese/d934c1fb704a3e67b3c68283bcabca66/raw/9345bcb115ee7350172fa00085514212245a1c65/install.ps1"

      }

Why not create a branch to do this in instead of making the change in Master.  Then pushing a new release once its done so that we dont break working pipelines?

As @steviecoaster pointed, the problem is simply that cChoco downloads the install.ps1 into the very folder where chodolatey will reside. Can the folder simply be changed to %TMP%? Or perhaps, even provide an option as to where to download the script to?


Storage-initalizer doesn't set all env variables

/kind bug
What steps did you take and what happened:
I have KServe setup on Kubeflow. I follow S3 storage setup guide with Minio as endpoint.
Issue: For some reason only AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are being set in init container kserve/storage-initializer:v0.7.0, others like e.g. AWS_ENDPOINT_URL are missing.
Details:
apiVersion: v1
kind: Secret
metadata:
  name: minio-access-for-deployment
  namespace: prod
  annotations:
    serving.kserve.org/s3-endpoint: minio-service.kubeflow:9000
    serving.kserve.io/s3-usehttps: "0"
    serving.kserve.org/s3-verifyssl: "0"
    serving.kserve.org/s3-region: us-east-1
type: Opaque
stringData:
  AWS_ACCESS_KEY_ID: minio
  AWS_SECRET_ACCESS_KEY: minio123
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: deployer
  namespace: prod
secrets:
- name: minio-access-for-deployment

Created ISVC, only initContainers part:
  initContainers:
  - args:
    - s3://trained-models/9ca4758f-958e-43d9-8aa1-f5a00a1c8c02/
    - /mnt/models
    env:
    - name: AWS_ACCESS_KEY_ID
      valueFrom:
        secretKeyRef:
          key: AWS_ACCESS_KEY_ID
          name: minio-access-for-deployment
    - name: AWS_SECRET_ACCESS_KEY
      valueFrom:
        secretKeyRef:
          key: AWS_SECRET_ACCESS_KEY
          name: minio-access-for-deployment
    image: kserve/storage-initializer:v0.7.0
    imagePullPolicy: IfNotPresent
    name: storage-initializer
    resources:
      limits:
        cpu: "1"
        memory: 1Gi
      requests:
        cpu: 100m
        memory: 100Mi
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
    volumeMounts:
    - mountPath: /mnt/models
      name: kserve-provision-location
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-j44sg
      readOnly: true

Further down in the same ISVC I can see correct service account being set:
  serviceAccount: deployer
  serviceAccountName: deployer

storage-initializer logs:
/usr/local/lib/python3.7/site-packages/ray/autoscaler/_private/cli_logger.py:61: FutureWarning: Not all Ray CLI dependencies were found. In Ray 1.4+, the Ray CLI, autoscaler, and dashboard will only be usable via `pip install 'ray[default]'`. Please update your install command.
  "update your install command.", FutureWarning)
[I 220113 03:24:20 initializer-entrypoint:13] Initializing, args: src_uri [s3://trained-models/9ca4758f-958e-43d9-8aa1-f5a00a1c8c02/] dest_path[ [/mnt/models]
[I 220113 03:24:20 storage:52] Copying contents of s3://trained-models/9ca4758f-958e-43d9-8aa1-f5a00a1c8c02/ to local
[I 220113 03:24:21 credentials:1102] Found credentials in environment variables.
Traceback (most recent call last):
  File "/storage-initializer/scripts/initializer-entrypoint", line 14, in <module>
    kserve.Storage.download(src_uri, dest_path)
  File "/usr/local/lib/python3.7/site-packages/kserve/storage.py", line 69, in download
    Storage._download_s3(uri, out_dir)
  File "/usr/local/lib/python3.7/site-packages/kserve/storage.py", line 114, in _download_s3
    for obj in bucket.objects.filter(Prefix=bucket_path):
  File "/usr/local/lib/python3.7/site-packages/boto3/resources/collection.py", line 83, in __iter__
    for page in self.pages():
  File "/usr/local/lib/python3.7/site-packages/boto3/resources/collection.py", line 166, in pages
    for page in pages:
  File "/usr/local/lib/python3.7/site-packages/botocore/paginate.py", line 255, in __iter__
    response = self._make_request(current_kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/paginate.py", line 332, in _make_request
    return self._method(**current_kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 386, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 705, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidAccessKeyId) when calling the ListObjects operation: The AWS Access Key Id you provided does not exist in our records.

What did you expect to happen:
The AWS_ENDPOINT_URL env var to be set.
Anything else you would like to add:
I can see that in storage.py _download_3d boto3 is trying to read AWS_ENDPOINT_URL.
I can see that these `Envois are being defined in s3_secret.go BuildSecretEnvs, but for some reason it's not being set in my case.
Environment:

Istio Version: 1.9.6
Knative Version: 0.22.1
KFServing Version: 0.7
Kubeflow version: 1.4
Kubernetes version: (use kubectl version): 1.21 (K3d)
OS (e.g. from /etc/os-release): macOS

@bartgras you had a typo there it is serving.kserve.io not org

Omg! you're right. Thanks and sorry for confusion.


tls: failed to verify certificate: x509: certificate is valid for civitai.com, *.civitai.com, *.cloudflarestorage.com, *.discordapp.com, *.googleusercontent.com, not us-docker.pkg.dev

centos ，use cog push

Hi @yapianwan. This seems like a networking issue on your end. Are you attempting to run cog push through a VPN?

@mattt I did not use a VPN, but I set up Docker image acceleration when creating the image.set registry-mirrors�
�

@yapianwan Does installing ca-certificates resolve your issue?
apt-get install -y ca-certificates

@mattt Tried but the problem persists

@yapianwan It sounds like the Docker image acceleration you configured may be interfering with your system's TLS stack. So you might try disabling that.
From the information you've provided, I don't think this is a problem with Cog specifically, so I'm going to close this issue for now. If you can provide an example of docker push working for an image built by Cog but cog push not working, then I'd be very happy to reopen and take a look.


adjust attachment no-check header to most recent value

Based off some newer documentation and implementation checks, it appears that no-check value to be set for the X-Atlassian-Token header should be a value of no-check instead of nocheck; adjusting.
This commit also adds an undocumented CONFLUENCEBUILDER_LEGACY_NOCHECK environment option to use the legacy header value for users who may experience issues in their environments.
testing
Confluence versions to be tested against:

[ ] Confluence Cloud (Organization)
[ ] Confluence Cloud (User)
[ ] Confluence Server 6.13.x
[ ] Confluence Server 6.14.x
[ ] Confluence Server 6.15.x
[ ] Confluence Server 7.0.x
[ ] Confluence Server 7.1.x
[ ] Confluence Server 7.2.x
[ ] Confluence Server 7.3.x
[ ] Confluence Server 7.4.x
[ ] Confluence Server 7.5.x
[ ] Confluence Server 7.6.x
[ ] Confluence Server 7.7.x
[ ] Confluence Server 7.8.x
[ ] Confluence Server 7.9.x
[ ] Confluence Server 7.10.x
[ ] Confluence Server 7.11.x
[ ] Confluence Server 7.12.x

(see also #470)


internal error "onelogin_brands: enabled: Default cannot be set with Required"

Using provider 0.3.6.
Still trying to wrap my head around the contents of swag-api.yml and haven't been able to figure out exactly where this problem is, but trying to use the provider in any way results in
Error: InternalValidate
│
│   with provider["registry.terraform.io/onelogin/onelogin"],
│   on providers.tf line 13, in provider "onelogin":
│   13: provider "onelogin" {}
│
│ Internal validation of the provider failed! This is always a bug
│ with the provider itself, and not a user issue. Please report
│ this bug:
│
│ 1 error occurred:
│ 	* resource onelogin_brands: enabled: Default cannot be set with Required

Sample code:
terraform {

  required_version = ">= 1.0.0"

  required_providers {
    onelogin = {
      source = "onelogin/onelogin"
      version = "0.3.6"
    }
  }
}

provider "onelogin" {} # seems to be required, even if empty as shown here

resource "onelogin_apps" "ol-aws-admin" {
  connector_id = 30319
  name         = var.ol_application_friendly_name
  auth_method  = 2 # SAML
}

The branding has been removed from the spec, which has fixed that issue.
Version 0.3.8+ has a working authentication system, after getting from the generate token endpoint, it can be used by the provider.


Wav example

tested it with a bunch of wave files covering 8bit, 16bit, 24bit, 32bit integer formats and 32bit float format
let me know if I missed somethin

PR is updated with support for different sample rates via linear resampling

PR is updated with support for different sample rates via linear resampling

This is already built-in to oddio. You just need to create the cpal output at a supported output rate and create the oddio Frames as the appropriate input rate, and the implementation of Signal for Frames will take care of the rest. Sorry if that was unclear!

oh damn I missed that, will take that stuff out of the example then

Done


Videoplayer integration

Describe the feature you'd like
As the count of videos added to bookstack in my instance is constantly growing, the current implementation of video playback could be optimized.
As fas as i know, there is no better way to upload videos, as of uploading it as an attachment, then using the direct-link to that attachment and add it via "add media".
For me i found that way "working", but it is now as good as i could be.
For example, i had to play around with the width and height values, to find a nice sweetspot. Currently 840 and 420 looks fine:

This results in a display that uses the browser's default media player (Firefox):

It would be nice, there were like an Mediamanager also for videos, with an integrated videoplayer provided by bookstack. This would also optimize the streaming capabilities for the user and the video does not has to be viewed as an attachment (which also should be an available option)
Its not a must have feature, but a really "nice to have" thing.
I am using confluence at work, and there is also a video player provided, little features like a small "download" button and playback speed is also available :)
Thanks in advance!
Describe the benefits this would bring to existing BookStack users
Benefits would be a much smoother userexperience when providing videos.
Can the goal of this request already be achieved via other means?
Yes, as already described, the default method of the browser can be used when inserting media with the attachment link.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
1 to 5 years
Additional context
You are great!

Thanks for the suggestion @towerplease.
I'll probably close this off though in favor of  #882 and  #3274 as I feel they already cover the core demand for proper video handling.
Personally I'd probably not look to implement a custom video editor for BookStack, and prefer to remain using native browser functionality where possible since functionality is usually good enough for most BookStack use-cases. Often those features are available via browser at some level, or keeping things default could allow instances to customize with their own desired libraries.

Hi Dan,
thanks for having a look at the feature request. Surely i understand the decision in keeping browser-related features to keep bookstack slim. As i have a path to implement videos thats fine for me.


Revert ncc v0.28 that introduced a bug

action ends with "the script is loaded as a module, so skipping the execution"
message, even when we invoke it as action.
https://github.com/spotbugs/spotbugs/runs/3307086692
it seems it is a regression in the ncc side, so simply revert to older version
URL of RTD document: https://your-read-the-docs-project.readthedocs.io/en/revert-ncc/

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix builds on forked pull requests

Pull Request Details
Description
The action dorny/test-reporter@v1 requires write permissions, which are not available for pull requests from forked repositories.
This PR applies the same fix as in JetBrains/gradle-changelog-plugin#170. Due to dorny/test-reporter#343, this fix alone didn't work, so I also applied a workaround with commit b8ffd1631afcfead474d49c9985423c9634a698c.
Note that I also just created a pull request at dorny/test-reporter#436 which fixes the second issue according to my tests. Depending on whether and how fast the PR gets accepted, the workaround might become obsolete soon.
Related Issue

#179

Motivation and Context
Fix the build of #179.
How Has This Been Tested
I created a pull request on my fork with a failing unit test.
https://github.com/JojOatXGME/gradle-grammar-kit-plugin/pull/1
This demonstrates that the test reports are still working. However, this test does not demonstrate that the bug is actually fixed, since my pull request is not coming from a different fork. However, it worked for the gradle-changelog-plugin.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[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 change)

Checklist

[x] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

FYI, I would also suggest to set continue-on-error as I did at f4d17bddb6a6a31f9838a36cd9f992308432c1ff. This avoids redundant notifications due to the job failure. The job still creates a failed check-run for the pull request. The action also has an option fail-on-error: false, but it looks like the action convolutes the conclusion of the job with the conclusion of the report. If the option is used, it doesn't only prevent the job failure, but it also sets the state of the report to success.
https://github.com/dorny/test-reporter/blob/c40d89d5e987cd80f3a32b3c233556e22bdca958/src/main.ts#L184-L185

I removed the workaround (b8ffd1631afcfead474d49c9985423c9634a698c) from this pull request since dorny/test-reporter#438 and dorny/test-reporter#444 are resolved.
PS: Due to these fixes, the reports should also start to work again for the gradle-changelog-plugin. Test Report 105 at https://github.com/JetBrains/gradle-changelog-plugin/actions/workflows/test-report.yml seems to be the last failed run, future runs should work again. You may also try to re-run one of them to test it.

Thanks a lot for this PR and the research, sorry for delay in handling.


[BUG]:Event running issue with production data

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
See human-essentials-support thread starting Sept 25, 8:37 am.    This is preventing any work on any itemizable by the bank.
Expected Behavior
Things work normally!
Steps To Reproduce
see support thread
Environment
prod, but has been recreated in local

Criteria for Completion

[ ] bank back up and running.

Anything else?
No response
Code of Conduct

[X] I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

This has been addressed.  Thanks @dorner!


Migrate from sinon to jest spies

Migrate from sinon to jest spies
Description of what's changing
Replaced all sinon spies with jest spies resolving issue listed here: https://github.com/intuit/user-data-for-fraud-prevention/issues/7
What else might be impacted?
N/A
Checklist
[ x] Tests are written and maintain or improve code coverage
[ x] I've tested this in my application using yarn link (if applicable)
[x ] You consent to and are confident this change can be released with no regression

Hi @lucillewang ! Thanks for the contribution. Can you remove sinon from the dependencies too? https://github.com/lucillewang/user-data-for-fraud-prevention/blob/hacktoberfest-replace-sinon-with-jest/package.json#L67

Sinon has been removed from the package.json :)

Thanks for your contribution Lucille! I am going to merge this but please be aware that it will not count towards hacktoberfest statistics. From the digital ocean website:

I signed up for Hacktoberfest mid-October. Will pull requests that I created earlier in October count?

Yes, all pull requests created between Oct 1 and Oct 31 will count, regardless of when you register for Hacktoberfest. Pull requests created before Oct 1 but merged or marked as ready for review after do not count.


Strong Naming Issue

None of the sites work for me. I keep getting this:
Could not load file or assembly 'Microsoft.AspNet.WebHooks.Common' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Run build.cmd from the command line :)

Great. Thanks.

Sorry for interference. Is this issue related to is: #92 ?

Hi @garora, no it isn't. I haven't heard anything on that front :(

Thanks for head's up. I am still waiting on that. It a quite long time now
:(
On 15/05/2017 11:21 PM, "Henrik Frystyk Nielsen"<EMAIL_ADDRESS>wrote:

Hi @garora https://github.com/garora, no it isn't. I haven't heard
anything on that front :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/WebHooks/issues/135#issuecomment-301551885,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6_ObvNMrRnYr_PokrrfN__iu3oEdIlks5r6JCigaJpZM4NPlCb
.

This looks like a duplicate of #125. Both questions should be resolved following @HenrikFrystykNielsen's advice here or here.

Answered question is a duplicate of #125


[Bugfix] Ensure multistep lookahead allocation is compatible with cuda graph max capture

This PR fixes the issue described here: https://github.com/vllm-project/vllm/issues/8068.
The problem is that multistep lookahead block allocation may allocate more blocks than what max capture is using for the cuda graphs. The solution here is to simply ignore these extra additional blocks, since the model won't execute more than the max capture size / max_model_len anyway.

@SolitaryThinker

/ready

@alexm-neuralmagic great job! I was thinking how to pass lookahead slots number to the attention, but this PR of just taking the minimum of length for indexing makes sense, too!
Simple while effective 👍


32 bit ID inaccuracies

The method I wrote into the latest version of the package for converting SteamID to 32 bit for Dota 2 might be incorrect. Here's what I'm currently using (kind of hacky)
@toSteamID32 = (id)->
     sids = (steamidconvert.convertToText id).split ":"
     id = parseInt sids[2]
     id*(2+parseInt(sids[1]))+1

This works with SteamTracks' backend. I think this solution might need to be integrated into this package.

Fixed by #66.


Update include attribute in fusing element

Include attribute in fusing element need to reference "dist:".
It is required to build bundles.

I signed it!

Thanks for this contribution. Bundletool became more strict since this first shipped.


Replace Future with a function call.

Motivation:
Sometimes when you have a hammer everything looks like a nail.
In this case, my hammer was Futures. But we don't need to use a
Future here: these two classes are tightly coupled, and so we can
safely just call from one to the other.
A side note: while this appears to create a reference cycle, the
act of calling the function in question will actually break that
cycle. So it's all good!
Modifications:

Remove a future callback.
Have the stream channel hold a reference to the multiplexer.

Result:
Fewer heap allocations.

also awesome:
DEBUG: [["total_allocations": 109001, "remaining_allocations": 0], ["total_allocations": 109001, "remaining_allocations": 0], ["remaining_allocations": 0, "total_allocations": 109000], ["total_allocations": 109001, "remaining_allocations": 0], ["total_allocations": 109000, "remaining_allocations": 0], ["remaining_allocations": 0, "total_allocations": 109000], ["remaining_allocations": 0, "total_allocations": 109000], ["total_allocations": 109001, "remaining_allocations": 0], ["remaining_allocations": 0, "total_allocations": 109000], ["total_allocations": 109000, "remaining_allocations": 0]]

DEBUG: [["total_allocations": 106001, "remaining_allocations": 0], ["total_allocations": 106001, "remaining_allocations": 0], ["remaining_allocations": 0, "total_allocations": 106000], ["remaining_allocations": 0, "total_allocations": 106001], ["total_allocations": 106000, "remaining_allocations": 0], ["total_allocations": 106000, "remaining_allocations": 0], ["total_allocations": 106000, "remaining_allocations": 0], ["total_allocations": 106001, "remaining_allocations": 0], ["total_allocations": 106000, "remaining_allocations": 0], ["remaining_allocations": 0, "total_allocations": 106000]]


PF2E perception Support

The module https://github.com/reonZ/pf2e-perception and this module have a large overlap in automating perception flat checks, tho pf2e perception goes further in fully handling all perception (except for deafened). Having an option in this module to disable all of those flat checks for compatibility with pf2e perception would be a nice feature to have

Came here to request this. I love the flat-check automation that PF2e Flat Check does for other situations such as attempting to cast a spell while Stupefied, but having two modules roll flat checks based on vision/perception is jarring. The request would be to have this module allow for breaking out the two types of flat-checks in settings so that a user could enable this module for non-perception based checks only, or vice-versa.


Improve docfx_project/api/index.md

How about an example of using  Print to PDF while passing in PdfOptions?

Let's do it!


[ENH] Moved Project Flag to config file

Deals with #27, removes the --project flag from cis_proc.py and requires the config file to have a 'project' field. @tsalo

Looks good. Anything else you want to do or should I merge now?

Oh hold up. Can you update the example job file as well?

Awesome, thanks. Merging now.


rename database io histogram to match measurement scale

Scope & Purpose
Minor renaming of variables

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[ ] No backports required
[ ] Backports required for: (Please specify versions and link PRs)

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket number:
[ ] Design document:

Testing & Verification
(Please pick either of the following options)

[X] This change is a trivial rework / code cleanup without any test coverage.
[ ] The behavior in this PR was manually tested
[ ] This change is already covered by existing tests, such as (please describe tests).
[ ] This PR adds tests that were used to verify all changes:

[ ] Added new C++ Unit tests
[ ] Added new integration tests (e.g. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

[ ] There are tests in an external testing repository:
[ ] I ensured this code runs with ASan / TSan or other static verification tools

Link to Jenkins PR run:
Documentation

All new features should be accompanied by corresponding documentation.
Bugs and features should furthermore be documented in the CHANGELOG so that
support, end users, and other developers have a concise overview.

[ ] Added entry to Release Notes
[ ] Added a new section in the Manual
[ ] Added a new section in the HTTP API
[ ] Added Swagger examples for the HTTP API
[ ] Updated license information in LICENSES-OTHER-COMPONENTS.md for 3rd party libraries

External contributors / CLA Note
Please note that for legal reasons we require you to sign the Contributor Agreement
before we can accept your pull requests.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13726/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13726/

Obsoleted by https://github.com/arangodb/arangodb/pull/13444

Obsoleted by https://github.com/arangodb/arangodb/pull/13444


Firmware compiled with SDK 1.5

I was using firmware compiled with this SDK version and it suddenly disappeared from the repository. Can you please put it back or show how to use the other one? I'm using esptool.py to flash and when I try to use the one here I get a lot of weird characters when I do screen /dev/ttyUSB0 115200

The reason it disappeared was that I found the problem wit the newer one on some ESPs:
Sometimes, especially on old ESP-01s, there is a wrong or non-matching version of "esp_init_data_default.bin" in the flash. If the firmware files from above flash correctly but after reboot you see only garbage on the serial and/or the LED on GPIO2 is flashing rapidly, try to re-initialize this sector: download https://github.com/espressif/ESP8266_NONOS_SDK/raw/master/bin/esp_init_data_default_v08.bin and flash it to 0x7c000 for 512 kB modules (some ESP-01, Sonoff Switch), 0xfc000 for 1 MB modules (most ESP-01), or 0x3fc000 for 4 MB modules (most ESP-12, Wemos D1).
Could you try that?

I had the flashing LED/garbage serial issue and this fixed it for me, thanks so much!

this is the module I have. I'll try flashing this but I have no idea which of those it is :-(

This is a Wemos D1 Mini, use the settings for 4MB.


Game Crashes on Startup

crash-2024-01-02_<IP_ADDRESS>21-quilt_loader.txt

Rayon and Sodium Shadowy Path Blocks do not work with the sodium version you have installed.

Please read the crash reports before making them
This is not the place for support with mod problems. Issues on this repository are for issues with the loader itself, not crashes with mods. Please go to our discord for support.
Please use the same issue in the future and do not make multiple issues in rapid succession.

Rayon and Sodium Shadowy Path Blocks do not work with the sodium version you have installed.

Please read the crash reports before making them
This is not the place for support with mod problems. Issues on this repository are for issues with the loader itself, not crashes with mods. Please go to our discord for support.
Please use the same issue in the future and do not make multiple issues in rapid succession.

I read the crash report before making the issue, and couldn't figure out the issue. Also, disabling both mods and mods that require them shows the exact same error


Permissiond denied on cert.pem

I'm getting this error when I ssh into my local peer (via vagrant) and try to run any subutai command:
FATA[2018-10-01 21:33:53] Generating PEM certificate, open /var/lib/subutai/ssl/cert.pem: permission denied
Apparently, the file is there and the subutai user belongs to the "root" group:
sudo ls -lah /var/lib/subutai/ssl/cert.pem
-rw-r--r-- 1 root root 1.1K Sep 21 11:27 /var/lib/subutai/ssl/cert.pem
groups subutai
subutai : subutai root cdrom floppy sudo audio dip video plugdev netdev
This peer was installed via Vagrant with Control Center some weeks ago and has been updated regularly.

commands were run under subutai user whereas we need to run them under root


Misleading message for passWithNoTests.

🐛 Bug Report
The same message appears regardless of --passWithNoTest being specified or not:
No tests found, exiting with code 1
Run with --passWithNoTests to exit with code 0
Please note, that the response code is indeed correct: with --passWithNoTest it is 0, without - it is 1.
It's in runJest.ts line 204 or 215 - call to getNoTestsFoundMessage() function. Or in that function itself.
To Reproduce
Run jest against any project with no tests or no tests matching the pattern. See the console output.
Expected behavior
The printed message should reflect the reality. When no tests found and --passWithNoTests specified it should either not be present at all or should read:
No tests found, exiting with code 0
Link to repl or repo (highly encouraged)
N/A
Run npx envinfo --preset jest
N/A

There's a reason we ask for reproductions - this works like it should in Jest's repo:
$ y jest blahblah
yarn run v1.15.0
$ node ./packages/jest-cli/bin/jest.js blahblah
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/simen/Development/jest
  2151 files checked across 14 projects. Run with `--verbose` for more details.
Pattern: blahblah - 0 matches
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
$ echo $?
1
$ y jest blahblah --passWithNoTests
yarn run v1.15.0
$ node ./packages/jest-cli/bin/jest.js blahblah --passWithNoTests
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/simen/Development/jest
  2151 files checked across 14 projects. Run with `--verbose` for more details.
Pattern: blahblah - 0 matches
$ echo $?
0

@SimenB You've reproduced it perfectly well! As the bug description says, the exit code is just fine in both scenarios. But in the latter one there should be no console message at all or it should be different. It did actually return 0, but says that it did return 1, etc.

Ah, it's just the message! Gotcha, I thought you said the flag didn't work. Sorry about that.
Yeah that's a bug 🙂

@SimenB Can I take this up 🙂

Yeah, go for it!

#8595


Code for Multi Band Diffusion - Speech Part

Hello,
thank you for providing this research to the public.
Do you plan to provide code for the Speech section from https://ai.honu.io/papers/mbd ?
I was searching for it in demos, but couldn't find it.

Hello,
The code for MultiBandDiffusion is the same for all modalities. The pre-trained models are different, you can get the pre-trained models for compression (speech and Music here https://ai.honu.io/papers/mbd) with:
mbd = MultiBandDiffusion.get_mbd_24khz(bw=3.0)  # 1.5 or 6.0

The pre-trained model compatible with MusicGen is available different :
mbd = MultiBandDiffusion.get_mbd_musicgen()


How to configure profiles?

How to configure profiles?
I use mysql
Sorry my English is not good (Google Translate)

Not sure what you mean by profiles

Yeah sorry still don't know what you issue is


Unable to access JRiver docker via web

I set up JRiver docker on a QNAP running QTS 4.4.3 vith a VNS set up for more security.  If I use a web interface I get a JRiver screen but a red X at the top to the right of JRiver.  When I look at the QNAP Container station it shows an app withthe directory/User I used for the config with JRiverMC26 under that when I expand it.  When I look at the run informtion it appears to be taking a number of errors.
I'll send you the run info if you can tell me how to attach it.  It's in a TBZ file type and it doesn't look like my PC will handle converting/expanding that.

From the NAS itself I do get the full JRiver MC screen though it can't find my music libraries on the QNAP.  I'm not sure how to locate them.  When I select other locations and Computer my shares files don't appear.
Also I want to be able to stream to my OPPO UDP-205 via DLNA, etc.  D I need to set up anything extra?

Which Docker image are you using ?  It seems that you didn't open the issue on the right repository ?


ReadByte() returns -1 on timeout, not consistent with System.IO.Stream documentation

First of all, thanks for a great library!
A SerialPortStream with ReadTimeout set will return -1 when ReadByte() timeouts, -1 is according to System.IO.Stream documentation "end of stream" wich is not the case here.
This creates all sorts of problems in higher layer code that depends on Stream.
I think the expected behaviour is to raise a System.TimeoutException() ?

Thank you!


[arch][x86_64][mmu] fix virtual addr and physical addr validity check

just to fix issue #66

thanks, merged and committed.


Number of examples clarification for DE in POS

Hi, I saw that there are 22357 examples in the DE test set for POS, even though in the paper it says there are between 47 and 20,436 examples in the test set. Is that correct?
Also, it would be helpful if you could list the number of examples in the test set for each language in each task so we can check if what we have is correct after preprocessing.
Thank you!

Hi, thanks for your good point! We updated the preprocessing script after submitting the paper. The current number after the preprocessing is accurate, we will update the paper and add the correct numbers!

Junjie, can you try and add the expected number of examples after the processing?


Error on wrong data

Hi @frawau
We have received an issue from one of the users of BLE monitor (@LEJOUI) , in which we use your aioblescan, as you probably know.
https://github.com/custom-components/ble_monitor/issues/433
We did some debugging and found out that this user (sometimes) receives strange data, which causes an error in aioblescan.
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:87
First occurred: 18:34:47 (2 occurrences)
Last logged: 18:42:18

Error doing job: Fatal error: protocol.data_received() call failed.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 870, in _read_ready__data_received
    self._protocol.data_received(data)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1840, in data_received
    extra_data = ev.decode(packet)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1303, in decode
    data = ev.decode(data)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1350, in decode
    data = ev.decode(data)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 833, in decode
    data = field.decode(data)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1379, in decode
    data = ad.decode(data)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1646, in decode
    val.decode(data[: length.val - len(type)])
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 664, in decode
    data = mynbyte.decode(data)
  File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 623, in decode
    self.val = unpack(">%ds" % self.length, data[: self.length])[0][::-1]
struct.error: unpack requires a buffer of 4 bytes

We tried to cache some of the ble advertisements that caused the errors.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
HCI  Evt Len Sub Num Evt  Peer -------MAC-------   Len  Len Type Val    Len Type Val   Len Type -------Val---------------- RSSI--?????????????????????????????
type code    evt rep type addr                              flag            flag           flag
--------------------------------------------------------------------------------------------------------------------------------------------------------------
 04   3e 27  02  02   00   01  96 2f da 31 46 68   11   02   01  1a     02   0a  0c     0a  ff  4c 00 10 05 03 18 f8 89 18   ba   04 01 96 2f da 31 46 68 00 ba

There is something strange at the end. Normally, after the mac, you would have something like the total remaining length excl RSSI (in this case 11 in hex = 17 bytes). In the payload, this is split up in subparts with length, type and value:
02 01 1a (length 2, type 01, value 0a)
02 0a 0c (length 2, type 0a, value 0c)
0a ff 4c 00 10 05 03 18 f8 89 18, length 10, type ff, value the remaining 9 bytes
Next, you would get the RSSI value (ba). So far, so good.
But after that, there are additional bytes
04 01 96 2f da 31 46 68 00 ba
But I can't make sense of it, length isn't 4, I do see the same RSSI at the end (ba). But this does not make sense to me. I expect that aioblescan is failing on this part as is continues to decode data.
Error
  File "C:\Users\903494\Documents\decryptor\aioblescan_ext.py", line 627, in decode
    self.val = unpack(">%ds" % self.length, data[: self.length])[0][::-1]
struct.error: unpack requires a buffer of 4 bytes

It seems to fail, as in the AD_Structure class, it continues to decode this last part and than runs into trouble, as it tries do decode things with the wrong number of bytes or even no bytes.
Do you have any idea what could be wrong and how this can be fixed (or skip these advertisements?)

Hi,
Well, those extra octets do contain the MAC address again.
Beside that.. it does seem like garbage even though they seem to be included in the full length of the packet.
I noticed that user of yours  is using  a custom ATC1441 firmware. I would suspect something wrong with that. He does mention that it was working "in version 3.5 but not in version 4.0"  Not sure what version he is talking about...
Are you using the atcmithermometer plugin?  That one support the custom mode data. Maybe that could be used..
My solution would be for the app to catch the exception and throw the data. As you have noted the end of the message looks like garbage, so solving that in the protocol, would require some ugly hackery... probably not a good idea.
I am wondering: when did he update the firmware?  What firmware rev is he using? What is the diff between version 3.5 and 4?
I don't have one of those Xiaomi device, so I can't test anything.
Cheers

I'm not sure if all the failing data are ATC1441 format, I just took the last one to "study" what is wrong. They seem to be all from different devices. and also some in the "extended format" and some others not.
failing data: 043e4e02020300ae87bb59af011918ff4c000713010e2071aa37320010006164ff000000000000ae0001efa3f561b3761f02011a1bff4c000c0e00afe8e025efb044dbb3995e35da10065b1e5c501877bc
failing data: 043e4602020000eef0875da17c1109ff89004591624583320302fefe020104a80400eef0875da17c1f0309474e1aff89005504001f0111001a0d11064ad365128aac94fc68448160a8
failing data: 043e3c020202015b698bbad1471c03039ffe17169ffe0000000000000000000000000000000000000000bc04015b698bbad1470a09ffe000b213ca8d9b0fba
failing data: 043e2702020001962fda3146681102011a020a0c0aff4c0010050318f88918ba0401962fda31466800ba

The diff between version 3.5 and 4 is probably the BLE monitor version number, as we are now on 4.x. But I didn't change anything on the aioblescan part, so I doubt that has anything to do with it. I also haven't heard any complains from other users. I suspect a firmware issue to be honest. It looks like the advertisements are just messed up of for reason.
@LEJOUI could you answer the other questions, especially about whether you did or not did a firmware update?
Anyway, I guess a try except in BLE monitor would help, to just ignore these advertisements. I just was curious about how this can happen in the first place.

I am wondering: when did he update the firmware? What firmware rev is he using? What is the diff between version 3.5 and 4?

Hi!
Unfortunately I’m not sure when I flashed the thermometers an which rev they’re actually running, but the last one was around march/april this year. They have the ATC1441 firmware. The 3.5 and 4.0 is indeed regarding the BLE monitor version.

Maybe you can tell me the model of the Xiaomi thermometer you use. I'll get one and check it out... May take a little time...

I doubt that is is related to a specific sensor, I think it is something on the dongle/receiving side. The 4 failing advertisements from different devices (different macs) and are not in ATC format (ATC format should contain uuid16 == 0x181A), as far as I can see
Anyway, ATC sensors are 99% of the time LYWSD03MMC, flashed with ATC firmware

Maybe you can tell me the model of the Xiaomi thermometer you use. I'll get one and check it out... May take a little time...

Yes, LYWSD03MMC

Well, got an LYWSD03MMC, flashed it with version 3.1 from pvvx... And I have no problem with aioblescan. Tried on an Intel box running Linux 5.11 and a RPi 4 running Linix 5.10. Works fine using the atc decoding.
Temperature info {'mac address': 'a4:c1:38:6e:65:21', 'temperature': 26.0, 'humidity': 46, 'battery': 100, 'battery_volts': 3.154, 'counter': 33, 'rssi': -57}
Temperature info {'mac address': 'a4:c1:38:6e:65:21', 'temperature': 26.1, 'humidity': 46, 'battery': 100, 'battery_volts': 3.156, 'counter': 35, 'rssi': -54}
Temperature info {'mac address': 'a4:c1:38:6e:65:21', 'temperature': 26.3, 'humidity': 45, 'battery': 100, 'battery_volts': 3.159, 'counter': 37, 'rssi': -56}
Sorry but I don't think the problem is with aioblescan.
Try to change your BT dongle.  Maybe that'll help.

I agree, I think something is wrong with the hardware/firmware or perhaps the Operating System.

FWIW I saw that problem occur. I was using Ubuntu server 21.04 on a Raspberry Pi 4, and I saw that problem occur. It happened only once and after I restarted aioblescan, the problem was gone, and I have not seen it since.
I am closing this issue, since it really seems like a OS/Firmware/HW issue.


fix broken link

Before: '/lol/lcuapi/5.getting-started-with-the-lcu-websocket'
After: '/getting-started-with-the-lcu-websocket'

Looks good, thanks!


aborting a response interceptor

What is the proper way to cancel the response so it does not continue through the chain in the interceptor?

Requests cannot be canceled currently. See #333 for discussion around that.
As for canceling a response can you provide more information about what you are trying to do? What scenario do you have that you don't want the response from the request that has been made?

I'm closing this issue due to inactivity. Feel free to reopen it if needed.

well i want to test the response to see if they are still logged in,
basically if any log off response i cancel it so i dont have to test which
eatch request.
On Sat, Jul 16, 2016 at 12:38 PM, Matt Zabriskie<EMAIL_ADDRESS>wrote:

Requests cannot be canceled currently. See #333
https://github.com/mzabriskie/axios/issues/333 for discussion around
that.
As for canceling a response can you provide more information about what
you are trying to do? What scenario do you have that you don't want the
response from the request that has been made?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mzabriskie/axios/issues/277#issuecomment-233141869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFw0LOGQ24kf9CYse5zIAUGVkX_-uGrLks5qWRcUgaJpZM4H3YEh
.

--
Dalum Software Solutions
http://www.mygymsoftware.com
Phone: 1-877-401-4567
Fax: 1-877-401-4567


Fix typo in build.ps1 and use nuget.config

Was this being missing causing any issues?

Was this being missing causing any issues?

Yes. On my machine I have nuget package sources added machine-wide that require authentication. So your package install that runs from your runbuild script failed because no auth token was available.

Okie dokie


'Sliding window of team iterations' behaves not as expected

The example query under Query for items based on a sliding window of team iterations doesn't seem to work for me because there is no work item in @CurrentIteration - 2 and @CurrentIteration and @CurrentIteration + 2. Also even if I use or instead of and, the work items from @CurrentIteration - 1 and @CurrentIteration + 1 are not returned.
Am I or is the example doing something wrong?

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

ID: ba14ee34-2de7-706f-ae44-be969fde352b
Version Independent ID: f7ba18e9-42e4-ef07-e36b-377fb787aa72
Content: Query by date or current iteration - Azure Boards and TFS
Content Source: docs/boards/queries/query-by-date-or-current-iteration.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@Megadesty - Thank you for your inquiry.  I'm updating the topic with the following notes:
For the @CurrentIteration macro to work, the team must have selected an Iteration Path whose date range encompasses the current date. For details, see Define iteration paths (aka sprints) and configure team iterations. Also, queries that contain this macro are only valid when run from the the web portal.
For the @CurrentIteration +/- n macro to work, the team must have selected Iteration Paths that meet the +/- n criteria and date ranges encompass the current date for the @CurrentIteration. Also, queries contain this macro are only valid when run from the the web portal. For details about team selection of Iteration Paths, see Define iteration paths (aka sprints) and configure team iterations.
See also the section Client restrictions on the use of the @CurrentIteration macros later in the article.


docs: Re-add wml instructions for linking @faststore/api

What's the purpose of this pull request?
In #1055 we added instructions on properly linking, due to duplicate instances of the graphql-js package, a local @faststore/api package to a store. However, that section got removed by mistake in #1060 while we were migrating the documentation.
This PR adds the instructions back into the CONTRIBUTING.MD file: https://github.com/vtex/faststore/blob/docs/wml/CONTRIBUTING.MD#linking-local-changes-from-faststoreapi.
References

#1055
#1060's https://github.com/vtex/faststore/commit/3aa669c2c766e49b14bd7abea6fde48937a1eba2#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L93-L114

@filipewl what is needed to merge this pr?

@filipewl wands I think this PR is ready to merge. Can you try to trigger the CI again pls (checks incomplete 😞)?

Hey! I need to re-test the steps because there's more to it than what is initially described (e.g. you also need to install Watchman and even then there are some issues with it). I'll go over the steps again, also test it with the NextJS repo, and will update the docs accordingly.

Closing this as it's no longer needed now that we're using Turborepo. Thanks for the reminder @emersonlaurentino!


Upgrading to NetBeans 11.0.

Geertjan, I did some small tweaks, please let me know if you see any problems. Thanks!


ixgbevf: 4.3.3 -> 4.3.4

Motivation for this change
4.3.3 didn't build with linux 4.15.
ZHF #36453
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Tested, thanks. This will knock out a few failures!

Merged to release-18.03 as well.


Extract matchers from dart:unittest to separate library (dart:matchers)

This issue was originally filed by<EMAIL_ADDRESS>
Matchers are not only useful in unit testing, but also in a bunch of other contexts -- precondition checking, working with collections, specifying validations etc. Last time it was mentioned on the list is in https://groups.google.com/a/dartlang.org/group/misc/browse_thread/thread/cbdaa198dc9c8c97. Therefore, I propose to extract matchers from dart:unittest to a separate library, possibly called dart:matchers.

This issue has been moved to dart-lang/test#142.


Add "term notes" field

From discussion in Discord.

a "term notes" field, where you add extra stuff because sometimes you just have to have something like that.

Yeah it's too easy to get carried away with data management and stats and all sorts of other garbage, when really all you need to do is keep reading -- or rather, all that Lute is designed to do is to assist you in keeping reading. ... but if that assistance means extra notes to help you build your understanding, then maybe that's what it is.

(just wanted to say that, beside langnerd23's problem, term notes would be useful for other cases, like to say specific uses of a term, origin of the term etc, that you don't necessarily want to see in the translation field)

Some notes about this field:

should be optional
have to include it in the term form somehow.  Perhaps as a UserOption, or perhaps as a small icon you can click to add notes.  Not everyone is going to want it, and it's only needed in certain situations.
should be included in the term hover?
should be included in term CSV import and export

For DB design, the simplest thing to do is just to add a words.WoNotes field, and then to the Term model object a "notes" field.  Don't bother creating a separate table, even though it's only going to be used in a handful of situations, as a separate table creates joins, ref integrity, etc etc.  Doesn't matter if it's "wasted space" in the db file.

Dev notes for sizing:

db table migration for new optional field
add to db model, term model
add to db-term mapping in repository
tests to ensure note field is set/retrieved

import/export:

add to csv export (means it's required in the datatables query)
datatables query and test
add to csv import as optional field

UX:

decide how to show Notes field for term:  "add notes" button?  Regular field (getting cluttered...)?  User option to show notes field?

Reading:

include notes in the term popup


Irregularities in risk checking schedule (CWA 1.7.1, 1.9.1)

Avoid duplicates

[ ] Question is not already answered in the FAQ
[ ] Question has not already been asked in another issue

Your Question

Source File:
Line(s):
Question:

Since cwa 1.7.1, the schedule for risk checks is performed (roughly) every 4 hours, and it covers the hourly key files of today plus the daily files of the past 14 days.
In last time I saw a few irregularities on this expected behaviour. I would like to know if there is an explanation for this, or if it might indicate an issue with the current implementation / possible impact on the robustness.
I am aware that without WLAN a scheduled check is skipped. I am commuting to work in the morning, and back in the late evening, but here at home and in my office WLAN is usually available. I don't use any power saving options.
Especially last Thursday (03 Dec, 'vorgestern') the observed schedule was:
02:33 first check, 1 hourly file
06:30 and 10:30 check skipped
14:10 check with only 5 hourly files - why?
18:14 and 22:14 check as expected
22:30 and 22:45 two more checks - why?
(Does it try to make up for the skipped checks in the morning? 🤪)
Note: I don't remember for sure if these two additional checks were performed from the background or if I opened the app at that time.
cwa 1.7.1 / iOS 14.2 / iPhone 8
See screenshot and attached ENF log file
ExposureChecks-2020-12-05.json.txt

Possibly related: https://github.com/corona-warn-app/cwa-app-ios/issues/1649

Internal Tracking ID: EXPOSUREAPP-4289.

Hi @ndegendogo, we will forward this question to the developers. Hopefully we an come back with more information on Tuesday. Best wishes, DS

Corona-Warn-App Open Source Team

Thanks @dsarkar

Today (09 Dec):
it checked at 00:07 / 04:47 / 08:50 / 12:58;
then skipped 16:58;
then checked again at 21:22 - but only 15 hourly files - why?

Feedback from developers. Will translate it later to English.
Die Aktualisierung ist von mehreren Faktoren abhängig:

allg.

Die Anzahl der Files ist abhängig vom Aktualisierungszeitpunkt.

So sind es nachts in der Regel 15 Pakete und tagsüber deutlich mehr.
Je nach Uhrzeit, kommt immer ein weiteres "Stundenpaket" dazu.

Best wishes,
DS

Corona-Warn-App Open Source Team

Die Anzahl der Files ist abhängig vom Aktualisierungszeitpunkt.
So sind es nachts in der Regel 15 Pakete und tagsüber deutlich mehr.
Je nach Uhrzeit, kommt immer ein weiteres "Stundenpaket" dazu.

Yes, exactly, this is the pattern that I usually watch. Starting with 00:00 UTC (01:00 local time) the new uploaded keys are collected into the next hourly file, and this package is ready for download at the next full hour.
For example:
02:33 => 1 hourly file + 14 daily
06:30 => 5 hourly + 14 daily
10:30 => 9 hourly + 14 daily
14:10 => 13 hourly + 14 daily
18:14 => 17 hourly + 14 daily
22:14 => 21 hourly + 14 daily
However, on 03 December the pattern was different.

14:10 checked only 5 hourly files. What happened here? Did 06:30 download only but not check, and then 14:10 check only but no fresh download? Or did it start to download, was then interrupted prematurely after 5 files, and performed the check with all files available at that time?

Why do we see a successfull check (22:14) followed by another (22:30) and yet another (22:45)? Is it not expected to wait for minimum 4 hours?

@ndegendogo, roger. We will bring this to the developers, also in context with the other issue you have been reporting, possible context there. DS

@dsarkar thanks a lot.
I see many pre-releases the last time, so it looks like everybody is quite busy at the moment. 😀

Can you please retest with v1.9.1

Thanks - I'll continue to watch

Today again an irregularity. First check at 03:50; next check not at ~07:50, but two hours late at 09:39.
Interestingly, this one has only 6 hourly files - why?
cwa 1.9.1 / iOS 14.2 / iPhone 8
See screenshot and ENF log
ExposureChecks-2020-12-17.json.txt

Note: I was shopping around 07:50, this may explain the delay (no WLAN, possibly even connectivity interrupted during the download?).
Question: What is expected to happen in such a case?
Will it retry?
After 4 hours, or maybe even after 2 hours?
Could it be that the check at 09:39 is in fact a retry / leftover from 07:50, and therefore downloaded and checked only 6 hourly files?
(Just a crazy idea ... )

Does not seem like a typical interruption since all files in the 09:39 check have the correct timestamp...
So either the check at 07:50 was interrupted and interrupted at a very early point -> no log entry was written or it never started...
(Just a small remark: You could delete the 1.7.1 from the title after you are still experiencing this with 1.9.1)
Have a good night 💤

Does not seem like a typical interruption since all files in the 09:39 check have the correct timestamp...

@Ein-Tim ... whatever "typical" means.
Definitely it was not interrupted after call to ENF, as the timestamps show.

So either the check at 07:50 was interrupted at a very early point

Indeed, such an early interruption would be compatible with what we see.
And maybe interrupted during key download (hence only 6 hourly files), but then resumed  2 hours later at 09:39 with ENF / matching procedure?

Today I experienced something similar:

No checks happened between 20:48h yesterday and 13:06h today. The phone was mostly on a power supply and connected to wifi.

@Ein-Tim did you check the number of hourly files? Are they complete?
On my side it often misses a check in the morning, and recently I had a gap > 24h. My hourly files were always complete in last time. I think I mostly have WLAN coverage.

@ndegendogo
If I get everything correctly here, I think the hourly files are completely.
Nevertheless delays like this aren't good... But this was the first time I saw something like this, will keep monitoring 👍
Stay safe and happy holidays!

Stay safe and happy holidays

@Ein-Tim thanks- and same to you and your family!

@Ein-Tim please be aware there are only 6 checks every 24h allowed by Apple.
@ndegendogo 24h gaps can happen if the background scheduler breaks up (device condition, crash) and is recovered by iOS after 24h . You can check for ENA crash files in the analytics settings

You can check for ENA crash files in the analytics settings

@thomasaugsten thanks for the hint.
I had a check on 2020-12-20 at 05:46, but then no further check for the rest of that day. Also not on the following day 2020-12-21 till I opened cwa at 09:26.
I look into my analytics settings but do not see any entry related to this time.
Can it be that the server had any problems on that day?

No this is very unlikely because it is monitored and it would create a lot of reports. If you see again auch a behavior please create a sysdiagnose. Press all 3 buttons for 1 second

@thomasaugsten thanks again, and have a merry Christmas!

@thomasaugsten

please be aware there are only 6 checks every 24h allowed by Apple.

Wait, the rate limit dropped from 15 checks every 24h to 6?
Thank you for answering, merry Christmas!

With the update to ENF v2 yes
https://developer.apple.com/documentation/exposurenotification/enmanager/3650384-detectexposures#discussion

@thomasaugsten
Thank you so much for answering and also for answering so quick!
Have a nice evening and happy holidays! ❤

create a sysdiagnose. Press all 3 buttons for 1 second

just to remember, how: press both volume buttons and the power button ...

Today I got again a check with less than the full set of hourly files.
Possibly this was related to no internet coverage.
More details on the timeline:

14:05 I opened the app (still at version 1.9.1) and got a manually triggered check (the previous was 09:52, slightly more than 4 hours ago).
after this I updated to cwa version 1.10.1 and opened the app again.
I then disabled mobile data because I wanted to test behaviour for another ticket, and went out for a walk, out of coverage of my WLAN
14:30 I opened the app. No check as expected - the previous was just 25 min ago; (but maybe this restarted some timer)
during the afternoon I was at home, but forgot to re-enable mobile data
shortly before 18:00 I went shopping (possibly the check was due at that time and I had no internet?)
one hour later I went again for a walk (mobile data still disabled).
I opened the app at 19:49 and unexpectedly got a check (I thought that I had no WLAN coverage, but am not 100% sure about this).
this check at 19:49 shows 14 daily files, but only 16 hourly files.

cwa version 1.10.1 / iOS 14.2 / iPhone 8
Questions: Can this sequence of events explain why I got less than the full set of hourly files?
Do you need any more info (e.g. a sysdiagnose or similar?)
See also attached ENF log.
ExposureChecks-2020-12-30.json.txt

An aspect is maybe the app tries to download hourly package as often as possible. This means if WIFI is available in the best case every 2h in the background or when you manually open the app. The exposure check with the downloaded packages happens only all 4 hours because of the 6 per Day Limit of Apple. This means he will do an exposure check every 4h when new hourly packages are downloaded in the last 4h.

From my side everything what I have watched so far was explained. However, next week I expect "rougher" conditions; my holiday is over, I have to return to work, and I will have times without internet coverage then .
@Ein-Tim you also reported some irregularities here - do you want to keep this ticket open?

From my side everything what I have watched so far was explained. However, next week I expect "rougher" conditions; my holiday is over, I have to return to work, and I will have times without internet coverage then .
@Ein-Tim you also reported some irregularities here - do you want to keep this ticket open?

@ndegendogo
For me it is okay to close this issue 👍

@ndegendogo
For me it is okay to close this issue 👍


Monitor Website

Currently the website is monitored through a Kubernetes Healthcheck.
In addition to that, we should make sure that at least Typeform is reachable and send notification, if not.

If this issue is done (not using typeform and kubernetes anymore), i should close it. Let me know.


Is there any way to use spell checking build in browser?

Hello. Sorry for my English. I disable spell checking by spellChecker: false. How enable default spell checking build in eg. Firefox browser? I try add spellcheck="true" to  but it doesn't work.

It's not possible to integrate with the browser's spell checker, unfortunately. See: https://github.com/codemirror/CodeMirror/issues/1017


Illegal instruction (core dumped)

Possible install-time or require-time problem

[x] I have read the documentation relating to installation.
[x] I have ensured that the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime.

Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
If you are using npm v7 or later, does the user running npm install own the directory it is run in? yes
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
 Cannot read properties of null (reading 'matches')
npm verb exit 1
npm verb unfinished npm timer reify<PHONE_NUMBER>407
npm verb unfinished npm timer reify:loadTrees<PHONE_NUMBER>417
npm verb unfinished npm timer idealTree:buildDeps<PHONE_NUMBER>766
npm verb unfinished npm timer idealTree:node_modules/sharp<PHONE_NUMBER>473
npm verb code 1
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-07-28T07_26_47_798Z-debug-0.log

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

  System:
    OS: Linux 5.15 Alpine Linux
    CPU: (2) x64 AMD Turion(tm) II Neo N54L Dual-Core Processor
    Memory: 5.19 GB / 7.63 GB
    Container: Yes
    Shell: 1.36.0 - /bin/ash
  Binaries:
    Node: 20.2.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.6.6 - /usr/local/bin/npm
    pnpm: 8.6.10 - /usr/local/bin/pnpm
  npmPackages:
    sharp: ^0.32.4 => 0.32.4

(gdb) run -e "require('sharp')"
Starting program: /usr/local/bin/node -e "require('sharp')"
warning: Error disabling address space randomization: Operation not permitted
[New LWP 383]
[New LWP 384]
[New LWP 385]
[New LWP 386]
[New LWP 387]
[New LWP 388]

Thread 1 "node" received signal SIGILL, Illegal instruction.
0x00007f7703750363 in ?? ()
   from<EMAIL_ADDRESS>ibvips-cpp.so.42

I've got another user that has the same issue using an amd phenom ii x6 processor.

https://sharp.pixelplumbing.com/install#prebuilt-binaries

Linux x64 (glibc >= 2.17, musl >= 1.1.24, CPU with SSE4.2)

The AMD Turion II Neo N54L CPU is from 2010 and does not provide SSE4.2 intrinsics.
See also https://github.com/lovell/sharp/issues/2723

Is there an easy way to handle this problem for users with older CPUs? Like force another version of sharp/libvips with an environment variable and the various builds on your release page? This would ensure compatibility with older systems and still use the latest version on newer ones by simply not setting it.

sharp will always look for and use a globally-installed libvips at install time e.g. via most Linux package managers - https://sharp.pixelplumbing.com/install#custom-libvips
As you've seen, you can also build and provide your own custom binaries. All the scripts to do this are open source and available at https://github.com/lovell/sharp-libvips

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


Want to add the progress bar

✨ Feature Request
Description of the Feature
The site has no progress bar iwant to add this feature to your page.
Proposed Solution
Whenever the user comes and scrolls the website the progress bar increase or decrease on the basis of user's position on the page. It shows visually to user where he or she scrolls.

Yes

@srishti023 where you want to add ??in which page ?

I propose adding a progress bar to the Stations page. This will visually indicate the user’s navigation progress, enhancing the overall experience. It can help users track their movement across the page and make the interface more engaging.
HERE,
https://github.com/user-attachments/assets/eaafaaaa-9e3a-4b25-b97c-192df63299a6


Payload send but return internal server error

This is basically wrong state, i think i will fix later

https://github.com/datenshicommunity/trakteer-webhook-forwarder/commit/37dd15234a041fe8cef2fcabb17941d2d65ac4c5 closed


No menubar under Ubuntu 18.10

After upgrading Ubuntu 18.04 to 18.10 VS Code 1.29.1 has no menu bar and it shows up as "Visual Studio Code - URL Handler" in the Ubuntu desktop menu bar:

Clicking in the empty space where VS Code's menu bar used to be, drop down menu appear.

/duplicate https://github.com/Microsoft/vscode/issues/62593

I have Ubuntu 18.04 and the URL Handler appears in the title.

Should I ignore it?
Version: 1.29.1
Commit: bc24f98b5f70467bc689abf41cc5550ca637088e
Date: 2018-11-15T19:07:43.495Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64


RuntimeWarning: coroutine 'WebSocketCommonProtocol.close' was never awaited   self.websocket.close() RuntimeWarning: Enable tracemalloc to get the object allocation traceback

There was a import error in Pycharm,which pycharm always had, so i removed the lib folder and moved the cortex file,now the cortex file is with other files,but when i run this example.py i am getting these warning as follows
RuntimeWarning: coroutine 'WebSocketCommonProtocol.close' was never awaited
self.websocket.close()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
@nguoithichkhampha can you help me

@skshreyas4 , seems the structure of project is not correct. Can you run example from command line tool ?


#139-fixing signUp button

Related Issue
SignUp button taking too much padding on mobile screens
Closes: #139
Description of Changes
Decrease the padding of button
For example:

Added a new function to handle XYZ.
Updated the ABC module to fix the bug.
Refactored code in the DEF class for improved performance.
-->

Checklist:

[x ] My code adheres to the established style guidelines of this project.
[ x] I have conducted a self-review of my code.
[x ] I have included comments in areas that may be difficult to understand.
[x ] I have made corresponding updates to the project documentation.
[x ] My changes have not introduced any new warnings.

Screenshots
scrnli_27_05_2023_13-32-26.webm

@sourabhsikarwar pls verify and approve this pr


Update estimated visits

[x] Add couple refactors
[x] Update Estimated Visits to receive params:  :start and :end

sheeeeeeeeeeit... I don't really know why is failing. It worked on my CI's branch:


Direct url requirements in dependencies not supported

Issue description
pip 18.1 enabled PEP508 urls in setup.py requirements, as long as the parent pacage doesn't come from PyPI.
This is not apparently supported in the latest pipenv
Expected result
In a pipenv, latest version, pip 18.1.  I install a local package in dev mode.  this package has a url-requirement in setup.py
../mypacage/setup.py has a line:
install_requires=[
# url requirement for mypackage2
'mypackage2@git+https://github.com/foo/mypackage2.git',
pipenv install -e "../mypackage"
I expect dependency resolution to work, with mypackage2 being fetched from githum.
In fact, "pip install -e "../mypackage" works.
Actual result

pipenv install -e "../mypakacage"
results in the following error:

pipenv.patched.notpip._internal.exceptions.InstallationError: Direct url requirement (like mypapackage2@ git+https://github.com/foo/mypajckage2.git) are not allowed for dependencies

This is in fact a similar error that pip version 18.0 used to produce.

In fact we still have pip 18 vendored so that we can do dependency resolution so that’s probably why. Would love to upgrade that, but triaging other issues which make this slightly lower priority at the moment. Hopefully will be able to get this out next release.

A possible workaround is to convert the line internally (e.g. by requirementslib) before passing it to notpip. I agree this is low priority though.

I had been eagerly awaiting 18.1 release to be able to use pipenv properly for deploying a project based on private repos of interdependent packages.  I guess I'll have to wait a bit.

Pip 18.1 is now vendored and included in pipenv and will be in the next release.
Sorry for the trouble!


Fix afternoon wrap-around in am/pm mode, provider better 12-hour formatting

When setting a date in AmPm mode, the hour selector would incorrectly select an hour later for afternoon hours.
Additionally, it is more commonplace for 12-hour clocks to represent the 0th and 12th hour of the day as "12".
This PR addresses both the afternoon bug as well as the more standard formatting for 12-hour clock users.
I'm open to any/all feedback on the approach, thanks!

@florent37 - Anything I can do to help merge this in?

oh yes, I try tomorrow your code ;)

and will send a new version 👍

Thanks for the merge, and the project! I appreciate it

@florent37 - do you mind cutting a release?

1.0.6 published 👍
sorry for the delay


flutter run deploys apk to wrong user on phone with multiple accounts

Summary
Basically, if you have multiple users on an android phone, flutter deploys sometimes to the wrong user account. Unless you switch accounts, this looks like the deploy totally failed.
Steps to Reproduce

Setup an Android phone with multiple accounts
Build a flutter app
do a "flutter run"
flutter seems to hang, nothing happens (if actually used user has not logged in yet) or flutter seems to run but no app appears on phone (because it gets installed to an other account)
When checking the App via "Settings/memory/other apps" it sometimes says "not available for user".

Used hardware
BQ Aquaris X with Android 8.1.
Output from flutter doctor -v
Flutter (Channel beta, v0.11.3, on Microsoft Windows [Version 10.0.17134.345], locale de-DE)
    • Flutter version 0.11.3 at C:\tools\flutter
    • Framework revision 72bf075e8d (4 days ago), 2018-11-09 20:36:17 -0800
    • Engine revision 5646e86a6f
    • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\Oliver\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    X Android license status unknown.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] IntelliJ IDEA Community Edition (version 2018.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2
    • Flutter plugin version 29.1.2
    • Dart plugin version 182.3569.4

[!] VS Code (version 1.28.2)
    • VS Code at C:\Users\Oliver\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • Aquaris X • BJ106805 • android-arm64 • Android 8.1.0 (API 27)

Logs and explanation
from flutter run --verbose:
"executing: C:\Users\Oliver\AppData\Local\Android\sdk\platform-tools\adb -s BJ106805 shell am start -a
android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true
klages.de.bla/klages.de.bla.MainActivity"

This is missing the --user parameter. From the ADB manual:
"--user user_id | current: Specify which user to run as; if not specified, then run as the current user."
"then run as current user " either doesn't work or the definition of current  user is not what i would expect :-)

Duplicate of https://github.com/flutter/flutter/issues/20324.


[Request] Async polling methods for Bag

Bag is all about pushing and popping. Having non blocking methods would make it more niche to put it in a while let Some(_) = bag.pop() {} loop.

Hi @CR7273868,
Can you elaborate on the request? Bag, Stack, and Queue are all completely non-blocking and lock-free, so an asynchronous method won't be needed.
Does "Async polling" mean a polling method returning true when there is an entry available? (like in typical channel data structures)

That's an interesting idea, and it will be possible to implement something like,
async fn poll(&self) -> T {
  ...
}

async fn timed_poll(&self, timeout: Duration) -> Option<T> {
  ...
}


correct default logging directory defined in the README.md

the code https://github.com/aws/aws-imds-packet-analyzer/blob/main/src/imds_snoop.py lists /var/log/imds/ as the default folder
  # initialize logger
  if os.path.exists(LOGGING_CONFIG_FILE):
    print("Using config file as one was provided.")
    fileConfig(LOGGING_CONFIG_FILE)
    logger = logging.getLogger()
  else:  # No config file is preferred as we want to ensure the locked down folder is used.
    print("Logging to /var/log/imds/imds-trace.log")
    logger = logging.getLogger()
    c_handler = RotatingFileHandler('/var/log/imds/imds-trace.log', 'a', 1048576, 5, 'UTF-8')
    c_handler.setLevel(logging.INFO)
    c_format = logging.Formatter('[%(asctime)s] [%(levelname)s] %(message)s')
    c_handler.setFormatter(c_format)
    logger.addHandler(c_handler)

also verified after building and running as a service
root@pd-imds-v1:~# systemctl status -l imds_tracer_tool.service
● imds_tracer_tool.service - ImdsPacketAnalyzer IMDS detection tooling from AWS
     Loaded: loaded (/etc/systemd/system/imds_tracer_tool.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-11-14 09:48:26 UTC; 14min ago
   Main PID: 4186 (python3)
      Tasks: 1 (limit: 2329)
     Memory: 112.4M
        CPU: 3.763s
     CGroup: /system.slice/imds_tracer_tool.service
             └─4186 /usr/bin/python3 /home/ubuntu/aws-imds-packet-analyzer/src/imds_snoop.py

Nov 14 09:48:26 pd-imds-v1 systemd[1]: Started ImdsPacketAnalyzer IMDS detection tooling from AWS.
root@pd-imds-v1:~# ls -l /var/log/imds/
total 0
-rw-r--r-- 1 root root 0 Nov 14 09:48 imds-trace.log
root@pd-imds-v1:~#

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

Thank you for the corrections.  Merged.


Start go build and release tooling

Description
This is the core base of the go release tooling that will replace useage of Makefile and hack/release for a more cohesive process. It tries to adhere to standard go project layout
The borrows from the town in Bob the Builder: Ready Steady Build
Related issues/PRs
N/A
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note
I'm going to go with not required atm until it gets intergrated

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

Some outstanding issues that I am hoping to defer to a new PR

Publish

Creating Operator manifest list
Using command runner for rsync

Some additional optimization

Use types/reference for/ instead of the Image struct

/merge-when-ready squash-commits


FlxTween LogoBump

What is your question?
how do i make logo bump come out from the sky? and the go to the sky after clicking enter

Using tweens.
Set logoBumpin to be above the screen, then make it tween into its original position on skippedIntro.


[Improvement]  .prettierrc.js  contains  trailingComma twice

What would you like to be improved?
.prettierrc.js contains  trailingComma twice with different values
 trailingComma: 'es5',
 trailingComma: 'none'

How should we improve?
No response

@justinmclean What do you wish to fix? Remove one of it or use
module.exports = {
  trailingComma: ['none', 'es5'] // Add both values as elements of an array
};

instead?

Hey @jerryshao , I would like to work on this issue. please could you assign me this issue?

Hey @justinmclean,
Should I remove one of the trailingComma values (probably 'none'), or should I try to combine them somehow?

I'm not an expert on this, but I think we would only need one, e.g. es5 - however, it may be that that might cause the build to fail.


Added Song of Swords Character Sheet

Note: it says it also wants to commit the merged pull request I used to update my repo from yours... I'm not very confident with github, so if I have done something terribly wrong then I am sorry!

The pull request looks fine, seems you did everything right with Github.


Internal server error / Disconnect from server

https://github.com/Beyond-Reality/Beyond-Reality-Divergence/issues/128

Seems to be a bug in enviromine - https://github.com/EnviroMine/EnviroMine-1.7/issues/165 - it passes the wrong coordinates to the block being clicked.
I'll add a workaround in BDLib that will make it fail more gracefully in all my mods, but if the wrong coordinates end up pointing to a different tile entity it will still crash - i don't see a way to prevent that.

Workaround in - https://github.com/bdew/bdlib/commit/2d539e8013c4763c1dbad5b2d102254c18899d2e


Add button to manually run the populate daily slots method.

This will allow a user to manually populate the daily slots after setting up repeatable schedules. Otherwise they would need to wait for next cron run (nightly).

🚀


Blocks migration is taking too long

The dataset is: /DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1/MINIAODSIM
It seems that the migratrion of the following 4 blocks from the global to phys03 is taking days. Is it expected?
/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1/MINIAODSIM#3b842b96-ccac-11e5-92d9-001e67abef8c
/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1/MINIAODSIM#52470c42-ccf0-11e5-ac46-a0369f23cf8a
/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1/MINIAODSIM#782b5ea4-cca5-11e5-92d9-001e67abef8c
/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1/MINIAODSIM#9bda7aca-ccea-11e5-ac46-a0369f23cf8a

e.g. the first block in the list is actually in Phys03 now [1]
what exactly does ASO see about this ?
[1]
https://cmsweb.cern.ch/das/request?view=list&limit=50&instance=prod%2Fphys03&input=block%3D%2FDYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8%2FRunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1%2FMINIAODSIM%2352470c42-ccf0-11e5-ac46-a0369f23cf8a

here's the migration status [1]
indeed they are all listed as in progress [2]
but the dataset is fully migrated [3]
Need @yuyiguo to have a look at migration logs :-(
[1]

migrationIds
[1690130, 1690119, 1690121, 1690125]
for id in migrationIds:
status = apiMig.statusMigration(migration_rqst_id=id)
state = status[0].get("migration_status")
retry_count = status[0].get("retry_count")
print "migration id, state, retries : %d %d %d" % (id, state, retry_count)

... ... ... ... ... migration id, state, retries : 1690130 1 0
migration id, state, retries : 1690119 1 0
migration id, state, retries : 1690121 1 0
migration id, state, retries : 1690125 1 0

[2]
https://cms-http-group.web.cern.ch/cms-http-group/apidoc/dbs3-client/current/dbs.apis.html
[3]
https://cmsweb.cern.ch/das/request?view=list&limit=50&instance=prod%2Fphys03&input=dataset%3D%2FDYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8%2FRunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext4-v1%2FMINIAODSIM

I have to correct myself, only 61 out of 65 blocks are in phys03.
The 4 missing blocks are the 4 ones listed by Hassen.
and I misread DAS output when I wrote that block was present in Phys03 in my first comment :-(

Hi, all:
I was off yesterday. My investigation showed that the problem was caused the machine had memory problem during the middle of migration and DBS migration server had to restarted. So the migration processes started by the previous server became a orphans that states at status 1 forever.
Any idea when will cmsweb production nodes will stop the memory swap?

thanks Yuyi, can we somehow retrigger those migrations then ?
I do not know what's the status with cmsweb nodes, a problem with crabserver should have been fixed in the release installed last week but nodes keep crashing and I do not now if anybody has identified which service is creating the problems, i.e. if the crabserver issue was not solved of if something else it at play.

@belforte
@HassenRiahi
I manually migrated these four blocks and their parents. Please check and let me know if there are still problems.

Thanks Yuyi. It works fine now. All outputs of the user have been published correctly.

done.


Remove map_tasks() and map_basic_layers()

Removing map_tasks() and map_basic_layers() from high level graphs as they are not used anymore.

[x] Tests added / passed
[x] Passes black dask / flake8 dask

I think we might as well remove them now.
Since the current implementation ignores internal tasks, I don't think they will be of any use. Also, since shuffle doesn't implement them, they will be materialized when used.


Fix colors behind errors in the Python Interactive window.

For #3175
Also make sure empty markdown doesn't cause a split.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

I had a customer complain on the colorization issue that I fixed that colors still weren't working. That was because of this problem.


Formatting

Guys, think you messed the formatting on the CLI Options block there?

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

ID: 71b277e6-1f71-cf05-0d21-d24e5d25591b
Version Independent ID: 78a49db9-9652-b4a6-a059-2ee599e7c0bb
Content: How to Deploy the App-V Client
Content Source: mdop/appv-v5/how-to-deploy-the-app-v-client-gb18030.md
Product: w10
GitHub Login: @jamiejdt
Microsoft Alias: jamiet

@officedocsbot assign @mypil

@0xVox - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@nenonix - as discussed, kindly assist with this issue. Thank you.

@0xVox - Pull Request #4087 has been created by @nenonix to fix and close this issue once the PR is merged.
Thank you for your contribution to make the docs better! Much appreciated!