Hook useRouter next/router error @keystonejs/app-next 6.1.0

Bug report
Hook useRouter next/router error @keystonejs/app-next  6.1.0
Describe the bug
The error is simple I am using @keystonejs/app-next  6.1.0 and when I try to unstructured useRouter in pages or anywhere else it fails with the following message

if I change the dev command in package.json to cross-env NODE_ENV=development next ./app dev works fine, but when run from keystone instance it fails.
could someone know what's going on?
To Reproduce
Steps to reproduce the behaviour. Please provide code snippets or a repository:

create keystone with auth project
create next app npx create-next-app  // name: app
Config index.js
See error

my index.js
const { NextApp } = require('@keystonejs/app-next');
const { Keystone } = require('@keystonejs/keystone');
const { PasswordAuthStrategy } = require('@keystonejs/auth-password');
const { Text, Checkbox, Password } = require('@keystonejs/fields');
const { GraphQLApp } = require('@keystonejs/app-graphql');
const { AdminUIApp } = require('@keystonejs/app-admin-ui');
const initialiseData = require('./initial-data');

const { MongooseAdapter: Adapter } = require('@keystonejs/adapter-mongoose');
const PROJECT_NAME = 'example';
const adapterConfig = { mongoUri: 'mongodb://localhost/example' };
const { distDir } = require('./config');

const keystone = new Keystone({
  adapter: new Adapter(adapterConfig),
  onConnect: process.env.CREATE_TABLES !== 'true' && initialiseData,
});

// Access control functions
const userIsAdmin = ({ authentication: { item: user } }) => Boolean(user && user.isAdmin);
const userOwnsItem = ({ authentication: { item: user } }) => {
  if (!user) {
    return false;
  }

  // Instead of a boolean, you can return a GraphQL query:
  // https://www.keystonejs.com/api/access-control#graphqlwhere
  return { id: user.id };
};

const userIsAdminOrOwner = auth => {
  const isAdmin = access.userIsAdmin(auth);
  const isOwner = access.userOwnsItem(auth);
  return isAdmin ? isAdmin : isOwner;
};

const access = { userIsAdmin, userOwnsItem, userIsAdminOrOwner };

keystone.createList('User', {
  fields: {
    name: { type: Text },
    email: {
      type: Text,
      isUnique: true,
    },
    isAdmin: {
      type: Checkbox,
      // Field-level access controls
      // Here, we set more restrictive field access so a non-admin cannot make themselves admin.
      access: {
        update: access.userIsAdmin,
      },
    },
    password: {
      type: Password,
    },
  },
  // List-level access controls
  access: {
    read: access.userIsAdminOrOwner,
    update: access.userIsAdminOrOwner,
    create: access.userIsAdmin,
    delete: access.userIsAdmin,
    auth: true,
  },
});

const authStrategy = keystone.createAuthStrategy({
  type: PasswordAuthStrategy,
  list: 'User',
  config: { protectIdentities: process.env.NODE_ENV === 'production' },
});

module.exports = {
  keystone,
  apps: [
    new GraphQLApp(),
    new AdminUIApp({
      name: PROJECT_NAME,
      authStrategy,
    }),
    new NextApp({ dir: 'app' }),
  ],
  distDir
};

Screenshots
exact line where it fails using keystonejs

System information

OS: Windows
OS: Windows
@keystonejs/adapter-mongoose": "^11.1.0",
@keystonejs/app-admin-ui": "^7.4.1",
@keystonejs/app-graphql": "^6.2.2",
@keystonejs/app-next": "^6.1.0",
@keystonejs/auth-password": "^6.0.2",
@keystonejs/fields": "^22.0.1",
@keystonejs/keystone": "^19.2.1",
cross-env": "^7.0.3",
next": "10.0.9",
react": "17.0.2",
react-dom: "17.0.2"

Hi @rivaslive, apologies for the delay in responding to this issue, can you confirm you are still having issues?

I'm having the exact same issue as @rivaslive described, while I'm using:

@keystonejs/keystone 19.3.2
@keystonejs/app-next 6.1.1
next 10.2.0

When my nextjs app is initialized from keystone, useRouter always return undefined.
However, it works perfectly when it's initialized from next CLI.


Support of Scarthgap

Hello, is the support of Scarthgap of this layer planned?

Hi @Mohawi
Evolution of this layer is mostly driven by contributors, we don't have it planned, but if someone is willing to contribute support for new layers, that is very welcome and we will try to help to get it merged if possible.


WIP: Allow disabling of cleanup for all caches in Gradle user home

Previously, the org.gradle.cache.cleanup flag only disabled the cleanup of unused Gradle versions and related artifacts.  There was no way to disable cleanup of other caches.  This change causes this flag to also disable the cleanup of other caches under Gradle user home, specifically the artifact cache, the dependencies accessors cache, the artifact transform cache, the kotlin dsl workspace cache and the jar transform cache.

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle clean

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.


Crashing on game start

I used this mod successfully with Skyrim  SE/AE from GOG for one day. Then it suddenly started crashing my game just before the Bethesda logo shows up.

This version is no longer supported also would be helpful to produce a crash log from Trainwreck - A Crash Logger
 or Crash Logger SSE AE VR - PDB support
Updated version:
Improved Camera SE or Improved Camera SE


RFE: Support additional Docker Volume options

Plugin version (or commit ref) : sapk/plugin-rclone:latest
Docker version : 19.03.13
Plugin type : managed
Operating system: Ubuntu Server 20.02

Description
I am trying to use docker-volume-rclone as an alternative to RexRay/S3FS.
It almost works, but there are a few things missing:

Ability to specify GID, UID and umask. This gets accepted with using --opt but it does not seem to actually use the option.
Ability to specify rclone options such as allow-non-empty and allow-other. As before, the --opt gets accepted, but does not seem to do anything.
Ability to use plugin in Scope: Global for use with Docker in Swarm mode. Right now, the volume is local, which stops a container from moving between Docker hosts.

 I tried to inspect and chown the volume test contents with an intermediate container. This is probably due to fuse, so I should set the GID, GUID and umask at the point of volume creation.
docker run -v captain--test-s3:/mnt/s3-endpoint -it --rm --name ubuntu-permissions-fixer ubuntu /bin/bash
root@45395027f995:/# ls -lah /mnt/s3-endpoint/
total 0
drwxr-xr-x 1 root root 0 Nov 10 11:22 data
root@45395027f995:/# chown 1001:root -Rv /mnt/s3-endpoint/*
changed ownership of '/mnt/s3-endpoint/data' from root:root to 1001:root
root@45395027f995:/# ls -lah /mnt/s3-endpoint/
total 0
drwxr-xr-x 1 root root 0 Nov 10 11:22 data

I'm working alongside @iFloris on this and the docker-compose example and looking into the code after https://github.com/sapk/docker-volume-rclone/blob/master/rclone/driver/driver.go#L285 show'd that it was possible to use --opt args="parameters".
We we came to the following result:
docker volume create --driver sapk/plugin-rclone --opt config="$(base64 ~/.config/rclone/rclone.conf)" --opt args="--uid 33 --gid 33" --opt remote=wasabi-s3:captain--fileuploadtestdynamic/data --name captain--fileuploadtestdynamic

Which seems to work partly, as going into the container docker exec -i -t container-name /bin/bash the volume is mounted to shows the mount point /var/www/html/uploads and the test files at our S3 storage:
root@e3d98284156d:/var/www/html# ls -lhtrR
.:
total 20K
-rw-r--r-- 1 www-data www-data 4.6K Oct 28 14:02 index.php
drwxr-xr-x 1 www-data www-data    0 Nov 11 13:36 uploads
-rw-r--r-- 1 www-data www-data  574 Nov 11 13:47 Dockerfile

./uploads:
total 0
-rw-r--r-- 1 www-data www-data 0 Nov 11 12:09 File.txt
-rw-r--r-- 1 www-data www-data 0 Nov 11 12:14 File2.txt
-rw-r--r-- 1 www-data www-data 0 Nov 11 13:02 File3.txt
-rw-r--r-- 1 www-data www-data 0 Nov 11 13:49 File4.txt
-rw-r--r-- 1 www-data www-data 0 Nov 11 13:52 FileTwake.txt

We're also able to read & write files through docker exec -i -t container-name /bin/bash but unfortunately, Apache itself even though UID & GID and chmod rights are correct, can't see or use the mount point:

https://s3.eu-central-1.wasabisys.com/public-random/File-Upload-Test-Dynamic.png
https://s3.eu-central-1.wasabisys.com/public-random/index.php

The --allow-non-empty, --allow-root and --allow-other commands don't seem to pass along and play nice in the --opt args="parameters" area as the mount isn't available when these are added.
So we're probably overlooking something at this stage, any direction(s) or help would be much appreciated.
My guess is that it is something with rights in combination with how rclone has mounted the files in the volume trough the plugin.

Thanks for the details reports.
I think I narrowed the args problem that doesn't allow multiples args to be passed (the params are escaped with ").
I will test this and fix it.
For the scope Global, It can only be achieve with a controller architecture that will controller all the nodes .
In the meantime, the plugin is already compatible with swarm, you just need to install it on every nodes before and the volume will be available.

Thanks a lot @sapk for your efforts. We appreciate any and all help 😄

Running exec with -u flag (docker exec -i -t -u 33:33 ubuntu /bin/ls -lah /mnt) to set user I get /bin/ls: cannot access '/mnt': Permission denied which seems to be a way to reproduce the bug with a local mountpoint.
But using the flags --allow-other --allow-root seems to works as attended.
For details, that the commands I executed (the base64 for config expose a remote (local) at local-test:):
docker volume create --driver sapk/plugin-rclone --opt config="W2xvY2FsLXRlc3RdCnR5cGUgPSBsb2NhbAoK" --opt args="--uid 33 --gid 33" --opt remote=local-test:/ --name test
docker run -i -t -u 33:33 --rm -v test:/mnt ubuntu /bin/ls -lah /mnt
# result similar to you : /bin/ls: cannot access '/mnt': Permission denied

# (clean with docker volume rm test)
docker volume create --driver sapk/plugin-rclone --opt config="W2xvY2FsLXRlc3RdCnR5cGUgPSBsb2NhbAoK" --opt args="--uid 33 --gid 33 --allow-root --allow-other" --opt remote=local-test:/ --name test
docker run -i -t -u 33:33 --rm -v test:/mnt ubuntu /bin/ls -lah /mnt
# I get the content of the plugin root and can also read content of files.

Thank you @sapk for you're examples, we use CapRover, which does most of the work for us as a PaaS solution.
Specif icing -u 33:33 in the docker run command isn't something CapRover does and after testing without it, it works by 'simply' changing the 'args' from:
--opt args="--uid 33 --gid 33"

To:
--opt args="--uid 33 --gid 33 --allow-root --allow-other"

From the top of my mind, I've tested with both parameters --allow-root and --allow-other separately which didn't work, but not combined, which does just the trick.
So as it works now as shown here, that is great.
You're help is much appreciated!

To be honest I don't exactly know why we need both parameters --allow-root and --allow-other but it should be related to rclone/fuse.
The -u was just to simulate on ubuntu image the user change (USER in the dockerfile) that must occur in the docker image that you use. You shouldn't need it in prod.


Saving an image with a gif

First of all thank you for this repo! I added Giphy instead of the stickers and am able to add animated gifs to the editor, however, how could I export the final image with the gif sticker. Right now since it's taking a snapshot of the view, the gif cannot be animated, is there another way to do this and keep the gif animation?
The current conversion function:
    func toImage() -> UIImage {         UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.isOpaque, 0.0)         self.drawHierarchy(in: self.bounds, afterScreenUpdates: false)         let snapshotImageFromMyView = UIGraphicsGetImageFromCurrentImageContext()         UIGraphicsEndImageContext()         return snapshotImageFromMyView!     }

Considered exporting a small video?

Yes I've considered that, but have no idea how to accomplish this. Would you be able to assist me?

@stephannagel Here’s the current code I have https://stackoverflow.com/questions/62725463/exporting-instagram-snapchat-like-photos-with-gif-stickers-swift-for-ios

Hi @abeticlairon, Let's see if we can tackle this problem together. Can you share the whole library with me in a private message. No promises of course :)

@abeticlairon you tried to share the library, but I think the invite is no longer valid. Am I correct?

Sending a new one right away! Thank you.

Ok, its working. I will have a look at the code this weekend. A few deadlines for now :)

Thank you so much!

Hi @stephannagel after putting information from various StackOverflow threads together, I found a working solution and will post it sometime today! Thank you!

Hi @abeticlairon great stuff!! Did you go for video or animated gif? I'm very curious what you did :)

I went for the video as you suggested, I just updated the repo, thank you!


Add documentation for installing buildbox-casd

Looks like the documentation for installation does not have steps to install buildbox-casd. If it is there please link me to that. If not I am adding the resolution.
Getting this error while trying to build:
Error instantiating artifact cache: Did not find 'buildbox-casd' in PATH: /home/tlater/Documents/Work/buildstream/.tox/venv/bin:/home/tlater/.local/usr/bin:/home/tlater/.local/bin:/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

Running command in debian docker image:
$ bst build <element_name>

Resolution:
Install buildbox-common
Install buildbox-casd

Found for master: https://docs.buildstream.build/master/main_install.html


[Global Opt] Turn on transpose propagation by default

From the discussion on https://github.com/iree-org/iree/pull/19250, this should be made default. Testing locally revealed no regressions and the benchmarks from the linked issue have been removed (https://github.com/iree-org/iree/issues/15973).

Actually @IanWood1 did you test out locally that the issue they talked about in https://github.com/iree-org/iree/issues/15973 no longer appears?

We are able to handle matmul_transpose_b on CPU data-tiling. There were some regressions on non-DT path, but I think it is fine because it's not default on.

wooah nice, I've wanted to flip this flag for ages

Oh great!

[Sharing as an additional data point]
For ArmSME, since we don’t have DT yet, we rely on TransposeMatmulPass for pre-processing. This transformation has a significant impact for us, as SME is an outer-product extension (for regular SIMD extensions this is going to be less impactful).
The change itself is fine, but please lets retain the ability to set this flag back to false :) Thanks!

does --iree-global-opt-propagate-transposes=false not work here? It doesn't look like the flag was removed to me.

does --iree-global-opt-propagate-transposes=false not work here? It doesn't look like the flag was removed to me.

It does work :)
Sorry, I should've been clearer - I just wanted to leave this note for our future selves in case folks wanted to remove the flag. I don't see anyone suggesting that, so all good!

Ah ok cool, yeah no plans to remove it as of now.


HotRod: pool: Stop all the workers by closing the stop channel

Requirement - what kind of business use case are you trying to solve?
Instead of sending a signal on the stop chan, closing the stop chan is the correct way to stop all the workers; Reading from a closed chan is always successful.

Problem - what in Jaeger blocks you from solving the requirement?

Proposal - what do you suggest to solve the problem or improve the existing situation?
Close the stop channel instead of sending values to it.

Any open questions to address

not a bug as it's not causing any issues.

@yurishkuro sorry for the late reply,
IMHO, this is a bug. Assuming you have more than 1 worker, calling stop only stops 1 of the workers and not all, while as closing the chan stops all the workers. Please let me know if you still want me to rename the PR.


fix for Qt 5.10, 5.11

Qt 5.10 doesn't work right now, as it tries to open Qt Creator after installation and deadlocks in a headless environment (platform=minimal)
see #12

@mrgreywater ,
Sorry for the late reply. It works and thx a lot!


Textbox content is not visible properly when we focused the textbox. (WinUI_Desktop)

Describe the bug
Textbox content is not visible properly when we focused the textbox. We suspect this issue happens because we have set the Height and Width Manually to the textbox.
Steps to reproduce the bug

Run the sample.
Try to focus the TextBox.

Observed Behaviour:
You can see the textbox content ie. text is hidden.
Please refer to the code snippets from below:

Expected behavior
Textbox content ie. text is should be shown.
Screenshots
https://user-images.githubusercontent.com/89458634/142017887-6968ab36-3acd-4a84-8864-f1be0ef1d887.mp4
NuGet package version
No response
Windows app type

[ ] UWP
[ ] Win32

Device form factor
Desktop
Windows version
October 2020 Update (19042)
Additional context
Please refer to the below screenshots for the system information.

Looks like what's happening is that when there's more than one line of height, the clear-text button is overtaking the text area. So yes, it's setting that height triggers it.
Is the purpose of setting the height to allow multi-line and/or wrapping? If so you should set TextBox.AcceptsReturn and/or TextBox.TextWrapping (to Wrap or WrapWholeWords), and that will remove the clear button.

Closing this issue as by design.
By design, the delete button is square and sized to the height of the textbox.   Hence, if you create 300px high text box the delete button will be 300px wide and in a 300px textbox will not allow any space for valid text.
Since the textbox only shows the delete button if it does not wrap, and there is no known scenario where it would be sufficiently advantageous to set a textbox to dimensions that would cause this error  (e.g. for a textbox to need this height its font would have the extremely large and as such a smaller delete button would provide no significant improvement in user experience), we will consider this by design.
If these assumptions are in correct and there does exist such a scenario, feel free to reactive this issue or submit a feature request to support these types of dimensions.


Fix Logging Configuration

Recently realized that project depending on this package which do not have their own logging.conf file will run into errors  due to lack of existence of this file. So we went with a more basic configuration. For example, see this demo repo.
  File "/Users/bh2smith/Projects/bh2smith/dunecon-workshop/venv/lib/python3.10/site-packages/dune_client/client.py", line 28, in <module>
    logging.config.fileConfig(fname="logging.conf", disable_existing_loggers=False)
  File<EMAIL_ADDRESS>line 72, in fileConfig
    formatters = _create_formatters(cp)
  File<EMAIL_ADDRESS>line 105, in _create_formatters
    flist = cp["formatters"]["keys"]
  File<EMAIL_ADDRESS>line 964, in __getitem__
    raise KeyError(key)
KeyError: 'formatters'

Test Plan
CI (No logical changes)

Merging without approval because no logical changes. Still open to alternate log configuration suggestions.


Fix github badge

I fixed the github badged because it redirected wrong

Thank you so much @SantiagoBobrik 👏🏻


Potentially wrong CaretWidth property implementation in Caret.cs

Hi,
In 'Caret.cs' line 114, the set value is compared to '_caretHeight' field instead of '_caretWidth' field.
Some OnPropertyChanged events may not be fired.
This also may trigger false/unnecessary OnPropertyChanged events.

Thank you I will correct this soon :)

Corrected :) Thank you


GKE should allow subnet selection

GKE Cluster and node pool should allow subnet selection.Yet it should also support "empty" subnet
Update following components:

[x] gke-gcloud

Resolved via f9edca199c84e51fc853c8bceac7383877ba9fab


Why comment reusePort

in https://github.com/walkor/Workerman/commit/af6025976fba817eeb4d5fbf8d0c1059a5819da3#diff-3a250715fea88c39eb37f7ecc0118e633eaf0a599ff7fc7adf5d374fa8604fbfR2216

When reuseport is turned on, it is not easy to find repeated listening port errors. When dealing with the feedback from developers, you will find that many people listen to the port repeatedly, resulting in abnormal business. Therefore, reuseport is turned off by default. You can turn it on through ·$worker - > reuseport = true·.

OK


problem with application config

Hi, I'm having trouble getting the project started. Please tell us more about these config settings
[gateway_address]
owner = what parameter write here, nowhere not was able find that such "OWNER"?
waves_public_key = Why is this variable not a public key but a wallet Address?
coin_public_key = Here, too, to enter wallet address?
In advance thank you for help

owner needs to be the gateway address in the blockchain you want to connect. Same for coin_publicKey. waves_public_key is the same as the address for a nasty workaround.


run_tool default arguments

https://github.com/cta-observatory/ctapipe/blob/a633e0fb7d0620266c77d6fd68cf085314976b42/ctapipe/core/tool.py#L542
We only use run_tool in test files:
$ rg run_tool -l
ctapipe/conftest.py
ctapipe/core/__init__.py
ctapipe/core/tool.py
ctapipe/instrument/conftest.py
ctapipe/tools/tests/test_process_ml.py
ctapipe/tools/tests/test_process.py
ctapipe/tools/tests/test_merge.py
ctapipe/tools/tests/test_train.py
ctapipe/tools/tests/test_tools.py
ctapipe/tools/tests/test_apply_models.py
ctapipe/core/tests/test_tool.py
ctapipe/core/tests/test_traits.py

I assume it is not used externally.
I have two points to discuss:

It happens that cwd is not set properly and tests clutter the working directory with (prov-)log-files etc. Maybe it should have no default argument, so it gets set correctly by the developers implementing the tests?
raises is by default False, which I think is the wrong choice. One can either check correctly for raised errors when writing the tests, or if assert run_tool([...]) != 0 is really needed, set raises=False. I think this is mainly a quality of life change for developers debugging while implementing tests.

What do you think?

Maybe it should have no default argument, so it gets set correctly by the developers implementing the tests?

Or the default should be a tmpdir

What do you think?

Agreed.

Or the default should be a tmpdir

We are using at least dl1_tmp_path and dl2_tmp_path so I would say one should set it accordingly to whatever gets tested.
Not sure though if different temporary paths are needed at all


add positionFixed property, making popper with position: 'Fixed' as an option

seems some IE11 test are failing, arggg....

@FezVrasta Is there a way I can run the tests locally for IE with sacuelabs?

I think the easiest way is to download a free virtual machine from modern.ie and use it to run the tests.
You can copy the karma runner URL and open it in the VM browser and everything should work.

copied the karma URL to browser stack, its an IE issue, not sure why my commit raised it. possibly because we run them twice but im not sure.
https://connect.microsoft.com/IE/feedback/details/829392/calling-getboundingclientrect-on-an-html-element-that-has-not-been-added-to-the-dom-causes-unspecified-error

May you please rebase on top of master so that I can merge this?
I'm going to release these changes as popper.js@next so that who is interested can play with this for a while before we release it officially

https://en.wiktionary.org/wiki/awsome

You can install it with popper.js@next now


Upgrading Linux nodes page should specify that the drain and uncordon commands should be executed from the controlplane.

This is a Bug Report

Problem:
This is related to the page Upgrading Linux nodes.
The kubectl drain and kubectl uncordon commands should be executed on the controlplane node.
This is not obvious from the documentation.
A new user unfamiliar with the process of upgrade will invariably execute these commands on the worker node and will fail.
Proposed Solution:
Add instruction to execute the kubectl drain and kubectl uncordon commands from the controlplane node.
Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/

/assign

/sig docs
/language en


[DOCFIX] fix the Command-Line-Interface.md

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/890/
Test PASSed.

@LuQQiu please cherry-pick to master

@aaudiber I delete the getfacl and setfacl CLI in this PR because these two commands does not exist in master. Would it be better to create another PR with the same modification except deleting getfacl and setfacl?

Agree that we keep getfact/setfacl docs in master. Either cherry-pick this PR and then add those docs back, or create a fresh PR, whichever is easier


[v0.10] make x264 threads configurable

This may be my last PR in 2024.

I'll work on OpenH264 later, merging this.


Remove Benchmarks from Repository and Rewrite History

Currently there are around 40k benchmarks  (OpenQASM files) saved in this repository, requiring about 30GB space in the working directory. The cloning is also pretty nasty.
We should remove the benchmarks and rewrite the history so new clones are faster.
Fixing this issue also requires adjustment of the workflow for server deployment, since the ZIP file cannot be created anymore (and, thus, not be sync'ed to the server).

filter-repo seems like a good tool to do the job.
It's probably a good idea to delete all merged (and unnecessary) branches before the rewrite.

A history rewrite has been performed. A fresh clone now takes approximately 2.1MiB 🥳


x/build: darwin builders are missing

As per: https://farmer.golang.org/status/macs
Multiple darwin builders are missing.
# Notes: https://github.com/golang/build/tree/master/env/darwin/macstadium
Warn: macstadium_host04a missing, not seen for 24m22s
Warn: macstadium_host08a missing, not seen for 59m37s
Warn: macstadium_host08b missing, not seen for 59m37s
Warn: macstadium_host10b missing, not seen for 14m13s
Error: 4 machines missing, 20% of capacity

Three physical nodes appear to be unreachable. Attempting to reboot them via the vSphere interface. Instances: 12, 17 and 18.

Node 18 required a hard boot. All alerts are clearing now.


add @Ignore to flaky method in ClientLoanIntegrationTest (FINERACT-885)

testLoanScheduleWithInterestRecalculation_WITH_REST_DAILY_INTEREST_COMPOUND_INTEREST_FEE_STRATEGY_WITH_OVERDUE_CHARGE()

@awasum OK for you to also merge this one - another failing IT? @nikpawar89 any objections?

as per (new) #782 policy

@awasum OK for you to also merge this one - another failing IT? @nikpawar89 any objections?

Let Travis run..lets see. I will merge if Ok..But feel free to merge if it passes.


oetl [CSV]: support for missing columns, fix for EXCEL format

List of changes:

new flag to skip empty columns
fix for Excel predefined format to correctly handle empty headers
unit tests

@lvca @luigidellaquila Can you please have a peek at this? I can't handle csv exported from Excel properly. Thanks


Cytoscape Phylogeny [PYTHON]

App name
cytoscape-phylogeny
App

[x] This app is currently deployed on Dash(R) Gallery: https://dash-gallery.plotly.host/cytoscape-phylogeny/
[ ] This app is new

Source code repository
https://dash.plot.ly/cytoscape/biopython
Current appearance

Redesign

Playground deployment
[url of playground deployment]

@angeladaodao When you redesign this, please try to make it look similar to https://nextstrain.org/zika?dmin=2016-12-03!

cytoscape-phylogeny app.ai.zip

Is there a mobile mock up for this app?


Crashes on Alamofire 2.0?

Updated to Alamofire 2.0 and seeing a lot of crashes in production that I can't reproduce.
Anyone has seen this or any suggestions?
Could this even be related to Alamofire?
Has this maybe fixed in 3.0?
HTTPConnectionCacheEntry::notifyNextProtocolOfOpenConnection(NetConnection*, unsigned char)
read : Crashed: com.apple.NSURLConnectionLoader
0  libobjc.A.dylib<PHONE_NUMBER> objc_msgSend + 16
1  CFNetwork<PHONE_NUMBER> HTTPConnectionCacheEntry::notifyNextProtocolOfOpenConnection(NetConnection*, unsigned char) + 200
2  CFNetwork<PHONE_NUMBER> NetConnection::responseIsComplete(void*) + 256
3  CFNetwork<PHONE_NUMBER> HTTPNetStreamInfo::sendStreamIsComplete() + 72
4  CFNetwork<PHONE_NUMBER> HTTPNetStreamInfo::_streamImpl_Read(unsigned char*, long, CFStreamError*, unsigned char*) + 392
5  CFNetwork<PHONE_NUMBER> CoreStreamBase::_streamInterface_Read(unsigned char*, long) + 184
6  CFNetwork<PHONE_NUMBER> HTTPProtocol::bytesAvailable(unsigned char) + 224
7  CFNetwork<PHONE_NUMBER> HTTPProtocol::httpReadStreamEvent(unsigned long) + 596
8  CFNetwork<PHONE_NUMBER> CoreReadStreamClient::coreStreamEventsAvailable(unsigned long) + 64
9  CFNetwork<PHONE_NUMBER> CoreStreamBase::_callClientNow(CoreStreamClient*) + 64
10 CFNetwork<PHONE_NUMBER> ___ZN14CoreStreamBase34_streamSetEventAndScheduleDeliveryEmh_block_invoke + 40
11 CoreFoundation<PHONE_NUMBER> CFArrayApplyFunction + 68
12 CFNetwork<PHONE_NUMBER> RunloopBlockContext::perform() + 136
13 CFNetwork<PHONE_NUMBER> MultiplexerSource::perform() + 288
14 CFNetwork<PHONE_NUMBER> MultiplexerSource::_perform(void*) + 60
15 CoreFoundation<PHONE_NUMBER> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
16 CoreFoundation<PHONE_NUMBER> __CFRunLoopDoSources0 + 256
17 CoreFoundation<PHONE_NUMBER> __CFRunLoopRun + 632
18 CoreFoundation<PHONE_NUMBER> CFRunLoopRunSpecific + 452
19 Foundation<PHONE_NUMBER> +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
20 Foundation<PHONE_NUMBER> __NSThread__main__ + 1000
21 libsystem_pthread.dylib<PHONE_NUMBER> _pthread_body + 168
22 libsystem_pthread.dylib<PHONE_NUMBER> _pthread_body + 138
23 libsystem_pthread.dylib<PHONE_NUMBER> thread_start + 4```

This may be helpful

Hi @aryaxt,
This doesn't look like Alamofire activity to me. The call stack starts off with an NSURLConnection call and then many very low level calls in CFNetwork. I really doubt any of these calls are actually coming from Alamofire. I'd recommend you dig through the rest of your dependencies and try to figure out which ones could be making these calls. Something like Charles Proxy could also help you track down the network traffic.
Best of luck. 🍻


feat: NIP-45

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 92.784%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
463

Relevant Lines:
503

💛  - Coveralls


failFast & --enable-default-rulesets confusion

To me the meaning of "failFast" in the config file is unclear. In other contexts it usually means "fail as soon as a violation is found", or at least that's how it's used in Travis and Rubocop. Having that option would speed up tests where required.
Another confusing thing is the CLI has the --disable-default-rulesets option, which is basically the opposite of "failFast", so to enable all rules, you have to say "failFast" in the config file, but to disable all rules, you have to say --disable-default-rulesets on the command line.
It would be better to have enabling all rule and disabling default rules available in the same place (the options could be set in the config file, then overridden on the CLI).

@arturbosch I'd originally raised two issues here: one was that it was inconsistent that --disable-default-rulesets could be set on CLI but fail fast option couldn't (this was fixed in https://github.com/arturbosch/detekt/pull/1417).
The other was the use of the term "fail fast" which is still different to all other usages I've come across for lint/testing tools, but seems here to stay.
I think this can be closed unless you think there's something else that needs discussing here?


Fast is relative

We regularly deal with very large NFS-based directories.  These are on very, very fast NFS servers (multiple 100Gbps connections) serving thousands of clients and regularly hit >500K IOPS.
For a directory tree with 2,950,916 files and 232,782 directories, this took:
real	23m20.367s
user	0m2.605s
sys	1m26.131s
I had to delete a directory tree with 40M files yesterday so 3M isn't even all that large here.

Sounds like a complaint about NFS speeds and not a bug report.
"Fast is relative".... to what? What other tool are you using that can list files faster than this one?


ScalaMtags computes a wrong symbol for members in package objects

Given
package object K {
  val x = 42
}

the symbol for x should be _root.K.package.x. Right now it's _root_.K.x

I rebased this PR on top of #107 and fixed the bug

Nice! Let's rebase this on master once #107 is in and then merge

PSA it's necessary to clean the index cache to pickup this change as described here https://github.com/scalameta/language-server/blob/master/CONTRIBUTING.md#troubleshooting
Once we move to sql we can probably version the index so algorithmic changes to mtags bump up the version and invalidate older caches.


Added pcfile, library versioning, and enabled installation

I don't understand the point of installing headers or pkg-config files.
This does solve #6 though I would suggest only installing the library if default_library is shared or both.

Apologies for the delay.

I don't understand the point of installing headers or pkg-config files.

Your project libraries get linked to libfmt.so from the wrap that gets built.

This does solve #6 though I would suggest only installing the library if default_library is shared or both.

Makes sense. Fixed.

Sorry for the delay, just saw this in the notification area. Nowadays wraps should have a [provide] entry. With that added this should be good to merge.

Now that we're getting a meson install flag to skip installing subprojects, I'm less bothered by an addition like this. :)


Add survey-multi-choice plugin

Adds a simple multiple choice survey plugin. Much like the survey-likert plugin, the subject is presented questions and selects a single option.
/docs has been updated with the new plugin documentation. I've also added an example file in /tests&examples.

This looks awesome. I'll review it more carefully soon. Thank you!
:+1: :+1:

I suggest you add one more line to the jsPsych CSS file:
.jspsych-survey-multi-choice-horizontal .jspsych-survey-multi-choice-option {
  ...
  vertical-align: top;
}

If a person uses line-breaks (
) in their option labels, e.g.:
var likert_scale_2 = [
  "1
Significantly
Below Average",
  "2",
  "3",
  "4
Average",
  "5",
  "6",
  "7
Significantly
Above Average"
];

then the radio bullets will all align at the top.

I've added a fix and an improvement to the plugin.

The latest update was a requirement of a project that I'm working on. Feel free to take it or leave it.

merged this via #205


flow coverage --color doesn't work when output is a pipe

I love flow coverage --color!  But it sometimes produces a ton of output, so I want to pipe it to a pager like less.  Sadly, it assumes that anyone piping its output couldn't possibly want color, even if color was explicitly requested.  I'd love to have --color=always or some such, as many unix commands have, that says "no really, do color even if the output isn't a tty".

Which version are you using? I would expect https://github.com/facebook/flow/commit/40481090273ca94d14879122d1cb971fc1cb18da to have changed this in a recent version (can’t tell which one on my phone)

It sure does work now!  (In 0.89.0.)  My apologies for not checking first.


Upgrade to Pino v7

chore(deps): update logger dependencies
0.4.0

I think something about GitHub PRs is broken right now. I was unable to submit a review or a code suggestion. And now I see that GHA didn't run on the code changes I pushed.

The PR was created when github was having issues with github actions. Subsequently, the checks are not showing up on the PR but the tests failed in node v12 and v14 (succeeded in node16). Cannot replicate the issue locally by changing my node version.

On v8 now


ci: use gh in install.sh for artifacts download

This PR aims to avoid hitting the API rate limiting by using gh which should already be using GITHUB_TOKEN on Github's CI.

Codecov Report
Base: 6.87% // Head: 6.87% // No change to project coverage :thumbsup:

Coverage data is based on head (5960014) compared to base (1910a76).
 Consider uploading reports for the commit 926d806 to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #516   +/-   ##
=====================================
  Coverage   6.87%   6.87%
=====================================
  Files         11      11
  Lines       1716    1716
=====================================
  Hits         118     118
  Misses      1592    1592
  Partials       6       6

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

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

Let's just make sure we add helpful output if a user uses this script but doesn't have gh installed to go install it, and then test it on our supported platforms, then LGTM 👍

Thanks for the suggestion: I ended up testing this on Mac arm64 and Linux aarch64 (as reported by uname) alpine image. This needed some changes.
PTAL.

I've added a very simple installer test: example run: https://github.com/Kong/kubernetes-testing-framework/actions/runs/4076445875/jobs/7024196104#step:3:10
Plus: as noted above I've tested it manually which should do for now. The old behaviour of downloading via curl stays, so there shouldn't ™ be any surprises there.
PTAL.

Force merging because @shaneutt is not a member of team required to approve PRs in this repo 🤷


Add support for TWAs to launch on ARC++.

Hi Peter and Andre,
This change allows for TWAs to launch on ARC++. I've made this change in the CCT fallback strategy in case ARC++ ends up implementing native TWA support.
Thanks!

The code looks fine to me - add a few lines for the description and we're good to go.

@andreban do you have anything to add? Otherwise I'm happy to merge.

Using the package manager is the only way I know to reliably check if an APK is running on ARC++ unfortunately. I'll open up another pull request if I find a way.
I didn't feel that the launch was any slower, but I am running a fairly high sec device so I'm not sure how this will affect some lower spec devices.

Andre, we still want to check the PackageManager so we can be forward compatible in case ChromeOS CCT/TWA support improves and we can interact with the CustomTabsService the same way we would with Android.


[Bug]: Dependabot failing for AdminSite

What kind of bug is this?
Other (Provide below)
If you selected "Other" in the previous section, what kind of bug is it?
Dependabot failure
Describe the bug.
Dependabot is failing update check jobs for src/AdminSite/Server/AdminSite.Server.csproj. Seems to be related to these dependencies:

Microsoft.Identity.Web
Microsoft.Identity.Web.UI
Microsoft.Extensions.Http

Logs (Optional)
updater | Dependabot encountered '3' error(s) during execution, please check the logs for more details.
updater | +-------------------------------------------+
updater | |       Dependencies failed to update       |
updater | +---------------------------+---------------+
updater | | Microsoft.Identity.Web.UI | unknown_error |
updater | | Microsoft.Identity.Web    | unknown_error |
updater | | Microsoft.Extensions.Http | unknown_error |
updater | +---------------------------+---------------+

Might be related to this issue: https://github.com/dependabot/dependabot-core/issues/8530
From what it looks like, Dependabot is using .NET 7 during the process and that's causing it to fail since all of the projects are targetting .NET 8:
updater |   Updating global.json files.
updater |     Dependency [Microsoft.Extensions.Http] not found in any global.json files.
updater |   Updating dotnet-tools.json files.
updater |     Dependency [Microsoft.Extensions.Http] not found in any dotnet-tools.json files.
updater | Running for project [/home/dependabot/dependabot-updater/repo/src/AdminSite/Server/AdminSite.Server.csproj]
updater |   Running for SDK-style project
updater | dotnet build in GetAllPackageDependenciesAsync failed. STDOUT: MSBuild version 17.6.3+07e294721 for .NET
updater |   Determining projects to restore...
updater | /usr/local/dotnet/current/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(151,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0.  Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0. [/tmp/package-dependency-resolution_WgV2NM/Project.csproj]
updater |
updater | Build FAILED.
updater |
updater | /usr/local/dotnet/current/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(151,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0.  Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0. [/tmp/package-dependency-resolution_WgV2NM/Project.csproj]
updater |     0 Warning(s)
updater |     1 Error(s)
updater |
updater | Time Elapsed 00:00:02.53
updater |
updater |  STDERR:
updater |
updater |     Package [Microsoft.Extensions.Http] Does not exist as a dependency in [/home/dependabot/dependabot-updater/repo/src/AdminSite/Server/AdminSite.Server.csproj].
updater | Update complete.


Bug report dv.lists Evaluation Error: TypeError: e is not a function

What happened?
I am trying to learn how to use DataviewJS to do more advanced things beyond the norm, but I can't even seem to get anythign to render using dv.list as per the docs?
I am using just a very simple call from the docs to render a hard coded list but I get this error, and you can't even re-edit the block when this error appears
Evaluation Error: TypeError: e is not a function
    at l$1.__b (plugin:dataview:15036:2086)
    at l$1.__b (plugin:dataview:15038:811)
    at L$1 (plugin:dataview:15034:5047)
    at D$1 (plugin:dataview:15034:9062)
    at ReactRenderer.onload (plugin:dataview:15279:9)
    at e.load (app://obsidian.md/app.js:1:1167250)
    at e.addChild (app://obsidian.md/app.js:1:1167651)
    at DataviewApi.list (plugin:dataview:19460:19)
    at DataviewInlineApi.list (plugin:dataview:18838:25)
    at eval (eval at <anonymous> (plugin:dataview), <anonymous>:1:42)

DQL
No response
JS
dataviewjs
dv.list([1, 2, 3])

Dataview Version
0.5.66
Obsidian Version
1.5.12
OS
Windows

This started happening on dv.table as well.  Restarting Obsidian seems to have fixed it (for now) but I have no idea how started in the first place.

I'm not able to reproduce this issue, so please report back with a more reliable trigger on the potential bug.


Support VP8 codec streaming

Currently buffer streams are created with H264 and Opus. If remote tracks are not these codecs, clients cannot play the stream correctly.

Embed FFmpeg into the client


[Feature] Use the spotless plugin to format the code with one click

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
At present, although we use the checkstyle plugin to check the code style, some code is still not formatted.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

see #11272


CORS Error: Failed to load resource - 403 (Invalid origin)

I encountered a CORS error while trying to access the endpoint :6543/api/telegram/create. The server responded with a status code of 403, indicating that the origin is not allowed.
Error Message:
:6543/api/telegram/create:1 Failed to load resource: the server responded with a status of 403 (CORS Rejected - Invalid origin)

Steps to Reproduce:

Open the web application at http://192.xxx.xxx.xxx:6543/.
Attempt to create a telegram via the endpoint :6543/api/telegram/create.
Observe the error in the DevTools Console.

Expected Behavior: The request should be successfully processed by the server without any CORS issues.
Actual Behavior: The request is rejected by the server with a 403 status code due to CORS policy.

I didn’t encounter such an issue during my usage because both the web service and API service are accessed using the same address and port, which shouldn’t trigger a CORS error. However, others have raised this issue, indicating that there might indeed be a problem. So, I’d like to know the following:

Are you deploying directly using Docker?
Is the web page address you’re accessing in the browser consistent with the API request address observed in the console?
Could you please provide the Nginx logs? They should be located in the container at: /var/log/nginx.

Thanks.

Same issue here: running docker-compose using Unraid

Page blank after click create account, I see both API and the url I'm visiting is the same which is http://<IP_ADDRESS>:6543/

Nginx error.log, <IP_ADDRESS> is the PC client I'm using to access the webui of telegram-files

Container console env output

I didn’t encounter such an issue during my usage because both the web service and API service are accessed using the same address and port, which shouldn’t trigger a CORS error. However, others have raised this issue, indicating that there might indeed be a problem. So, I’d like to know the following:

Are you deploying directly using Docker?
Is the web page address you’re accessing in the browser consistent with the API request address observed in the console?
Could you please provide the Nginx logs? They should be located in the container at: /var/log/nginx.
The output content after running the 'env' command inside the container

Thanks.

using portainer. shouldnt cause any issue.
yes
error.log is empty and access.log just shows api health curl outputs <IP_ADDRESS> - - [29/Dec/2024:16:59:15 +0000] "GET /api/health HTTP/1.1" 200 76 "-" "curl/7.88.1"

Using TDLib from /app/tdlib/libs/linux_x64
                        -------------
__/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____
 _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___
  _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__
   _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___
    _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
     _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
      _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________
       _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_
        _\///______________\///______________\///__\///////////////__
                          Runtime Edition
        PM2 is a Production Process Manager for Node.js applications
                     with a built-in Load Balancer.
                Start and Daemonize any application:
                $ pm2 start app.js
                Load Balance 4 instances of api.js:
                $ pm2 start api.js -i 4
                Monitor in production:
                $ pm2 monitor
                Make pm2 auto-boot at server restart:
                $ pm2 startup
                To go further checkout:
                http://pm2.io/
                        -------------
pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages)
2024-12-28T23:51:45: PM2 log: Launching in no daemon mode
2024-12-28T23:51:45: PM2 log: [PM2][WARN] Applications telegram-files-web not running, starting...
2024-12-28T23:51:45: PM2 log: App [telegram-files-web:0] starting in -cluster mode-
2024-12-28T23:51:45: PM2 log: App [telegram-files-web:0] online
2024-12-28T23:51:45: PM2 log: [PM2] App [telegram-files-web] launched (1 instances)
Setting telegram.files log level to INFO
2024-12-28T23:51:45: PM2 log: ┌────┬───────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name                  │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼───────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0  │ telegram-files-web    │ default     │ 0.1.5   │ cluster │ 58       │ 0s     │ 0    │ online    │ 0%       │ 50.6mb   │ root     │ disabled │
└────┴───────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
2024-12-28T23:51:45: PM2 log: [--no-daemon] Continue to stream logs
2024-12-28T23:51:45: PM2 log: [--no-daemon] Exit on target PM2 exit pid=26
23:51:46 0|telegram-files-web  |    ▲ Next.js 15.0.3
23:51:46 0|telegram-files-web  |    - Local:        http://localhost:3000
23:51:46 0|telegram-files-web  |    - Network:      http://<IP_ADDRESS>:3000
23:51:46 0|telegram-files-web  |  ✓ Starting...
23:51:46 0|telegram-files-web  |  ✓ Ready in 424ms
[2024-12-28 23:51:46] [INFO] Database initialized
[2024-12-28 23:51:46] [INFO] API server started on port 8080
[2024-12-28 23:51:46] [INFO] Successfully deployed 0 telegram verticles
[2024-12-28 23:51:46] [INFO] Auto download verticle started!
|History scan interval: 120000 ms
|Download interval: 10000 ms
|Download limit: 5 per telegram account!
|Auto chats: 0

[2024-12-28 23:51:46] [INFO] ?Start success ```

@tediorelee
APP_ENV=devis incorrect, the correct one should be APP_ENV=prod.
The environment variable settings in docker-compose.yaml file can be directly specified as follows:
    environment:
      APP_ENV: "prod"

@axsddlr I think your problem is also caused by this reason. You can check the output of the env command in the container.

@tediorelee APP_ENV=devis incorrect, the correct one should be APP_ENV=prod. The environment variable settings in docker-compose.yaml file can be directly specified as follows:
    environment:
      APP_ENV: "prod"

@axsddlr I think your problem is also caused by this reason. You can check the output of the env command in the container.

that did the trick. I would suggest updating your env.example to prod
https://github.com/jarvis2f/telegram-files/blob/d83500cf1b0051e2e1082adf2c01d96b011a1120/.env.example#L1C1-L11C21

@jarvis2f That solved my issue too, thanks for the update, I just copied env.example and changed hash and id


Help with composition of signals

Hey!
Apologies if this is more of a PureScript question, but I am new to it.
I'm trying to separate out the logic of a complex function, and have managed to write a simple case that explains my issue.
How would you get the following to work (the only difference from the signal example in the concur docs is I've moved n+1 <$ D.button [P.onClick] [D.text "+"] to displayButton):
module Main where

import Prelude

import Concur.Core (Widget)
import Concur.Core.FRP (Signal, display, dyn, loopS, loopW)
import Concur.React (HTML)
import Concur.React.DOM as D
import Concur.React.Props as P
import Effect.Aff (Milliseconds(..), delay)
import Effect.Aff.Class (liftAff)

mainWidget :: forall a. Widget HTML a
mainWidget = do
  dyn $ loopS 0 \n -> do
    display $ D.text (show n)
    n' <- incrementTicker n
    counterSignal n'

-- Counter
counterSignal :: Int -> Signal HTML Int
counterSignal init = loopW init $ \n -> D.div'
  [ displayButton n
  , D.div' [D.text (show n)]
  , n-1 <$ D.button [P.onClick] [D.text "-"]
  ]

displayButton :: Int -> Signal HTML Int
displayButton init = loopW init $ \n -> do
    n+1 <$ D.button [P.onClick] [D.text "+"]

-- Timer
incrementTicker :: Int -> Signal HTML Int
incrementTicker init = loopW init $ \n -> do
  liftAff $ delay $ Milliseconds 1000.0
  pure (n+1)

Any help would be appreciated! I've gone through the concur docs a few times and am not sure how to get this to compile.

displayButton is a Signal, so you can't use it inside the loopW because loopW takes in a Widget (which it invokes repeatedly).
Perhaps you intended to make displayButton a Widget? Something like this -
displayButton :: Int -> Widget HTML Int
displayButton n =
  n+1 <$ D.button [P.onClick] [D.text "+"]

@tshakah hope that helped. I'm going to close this issue. Please feel free to reopen if you have any more questions.

Yes, it did - thanks! Sorry I didn't respond.


Error: This is R 3.2.2, package 'S4Vectors' needs >= 3.3.0

Hi,
When I ran bubbletree, it gave me the error below:
Loading required package: S4Vectors
Error: This is R 3.2.2, package 'S4Vectors' needs >= 3.3.0
In addition: Warning messages:
1: package 'IRanges' was built under R version 3.3.1
2: package 'BiocGenerics' was built under R version 3.3.1
Any solution? Thanks

Thanks for the report, I believe you are getting R packages compiled with a different version of R into your bcbio run. bcbio installs R and the dependencies and is currently based around 3.2. I pushed a fix to the latest development version which I hope will avoid this by ignoring R_LIBS. You can update with:
bcbio_nextgen.py upgrade -u development

and re-run in place. Hope this fixes it for you.

Sorry, Brad, I still got the same error after updating. I think 'S4Vectors' needs >= 3.3.0 while the R installed is only 3.2

Thanks much for testing this rorry about the continued problems. It looks like we're running into issues where we load both R 3.2 and 3.3 libraries through conda. Could you try doing:
bcbio_conda install -c bioconda 'bioconductor-biocgenerics=0.18.0' 'bioconductor-iranges=2.4.7'

to get R 3.2 compatible versions of the problem libraries? I hope this will resolve this for you in the short term.
In the slightly longer term, R 3.4 and a new bioconductor release are due out in a week and we'll work to move all the R dependencies in bcbio over to use this updated version. I'll leave this open to discuss the work on transitioning over to that and correctly fixing the incompatibilities. Thanks again for the patience and help debugging.

Thanks, Brad. I finally find the cause of the problem. In the prep-run.R under the bubbletree folder created for each sample, the first line is
.libPaths(c("/usr/local/lib/R/site-library")).
If I modify it to
.libPaths(c("/usr/local/share/bcbio/anaconda/lib/R/library"),
then the error disappears. But sadly, I encounter another error:
Error in limma::weighted.median(lrr, seg.size, na.rm = TRUE) :
NA weights not allowed
Calls: btpredict ... with -> with.default -> eval -> eval ->
Execution halted
Is it related to my tumor-only sample?

Thanks for identifying the import problem, that is a holdover from when we installed tools via custom R installs. Since we're now using conda for installs, I swapped it over in latest development to ensure we load only the anaconda library. Hopefully that will avoid the original problem going forward.
Your new error is a little bit trickier and sounds like BubbleTree is failing from having too little inputs at some point since it's trying to calculate a median on an empty input. We've tried to make BubbleTree relatively robust to these cases but have definitely not caught them all. My guess here is that your tumor-only sample might have an issue with either the CNV or variant call inputs. Are you using CNVkit and VarDict for the callers or other approaches? Do the outputs look reasonable?
We're working actively now to improve tumor-only difficult cases, with the discussion taking place in #1876 so hope this will be better in the future. Sorry to not have an exact solution but hopefully this helps.

Thanks, all of these R issues are all set-- R is at 3.5 now with support for R 3.6 on the way.


Importing TestRPCProvider gives an error.

Version: 1.6.0
Python: 2.7
OS: Ubuntu 14.04

What was wrong?
Importing TestRPCProvider gives an error.
In [1]: from web3 import Web3, TestRPCProvider
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-92ad247d8f86> in <module>()
----> 1 from web3 import Web3, TestRPCProvider

ImportError: cannot import name TestRPCProvider

Cute Animal Picture

yes, i also ran into this. I think the readme is outdated.

This is fixed in 1.7.1 and available on pypi or in the releases section of this repo. You can now import the TestRPCProvider directly from web3.


Stop the training and execute the next lines of code

Wouldn't be good to decide when to stop the execution of the fit() method during a training and execute the next lines? Or it would be bad in terms of performance since it needs to check every time if a specific key is pressed?
I think it would be good to stop training when a reasonable good loss value is seen.

You can use callbacks to stop training at any point, e.g. see EarlyStopping


make update (1.0.2)

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Pushed. Thanks.


chore: fix Build.md Markdown headers

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@nschonni, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot


500 Internal server error.

Hey, I keep getting 500 Internal server error for some reason. I've got an odd case where I'm using two repositories for my site; since I wanted to use plugins that aren't allowed with the --safe flag that github-pages uses for Jekyll. So I'm not sure if that's the issue. Basically my movw-0x16 repo is where all the site data is, I then build the site and push that to twentytwoo.github.io.
I've gotten the staticmanapp set up as a collaborator and I checked to see if I was declaring anything twice in my _config.yml, but nope; so I'm unsure as what to do now.
Also, I get redirected to https://api.staticman.net/v1/entry/twentytwoo/movw-0x16/master on send, yet it displays nothing but {}.
Here's my _config.yml:
https://github.com/twentytwoo/movw-0x16/blob/master/_config.yml
And the page with the form:
https://github.com/twentytwoo/movw-0x16/blob/master/_layouts/post.html

In your config file, requiredFields isn't indented properly, as it's outside the scope of the staticman object. This seems to be the problem.
Let me know if that does the trick.

Don't. It's easy to miss these things with YAML. Plus, better error handling from Staticman would probably help.


Replace the scope values in the recordings to suppress credscan warnings

Example:
.post('/aaaaa/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=aaaaa&scope=https%3A%2F%2Fstorage.azure.com%2F.default"

Scope value is not sensitive data, but replacing it with a common place holder value could help us in suppressing credscan warnings using regex pattern match.
Originally posted by @jeremymeng in https://github.com/Azure/azure-sdk-for-js/pull/12759#discussion_r596434526
Suppressing the credscan warnings will help us reduce the noise.
https://github.com/Azure/azure-sdk-for-js/pull/12759 can be used as a reference to consider replacements through the recorder.

#12759 can be used as a reference to consider replacements through the recorder.

I guess.. since this is part of the request body instead of the response, masking the scope through the recorder would result in not responding for the request during playback.
We(@sadasant) are thinking of other approaches such as modifying the requests before being sent during playback for some other issues. - This can potentially be handled when that is implemented in the recorder.
[Talked offline with @sima-zhu]

I spent some time exploring AAD scope occurrences in our recordings. Here are some cases and ideas that we could use to modify scope value when the request is made in playback mode, so the request can match sanitized recordings.

Requests sent by the TokenCredentials.  We could have a test wrapper around token credential that when in playback mode, sends requests using the sanitized scope value. This wrapper could live in test recorder.

class TestTokenCredential implements TokenCredential {
  constructor(private credential: TokenCredential) {}
  getToken(scopes: string | string[], options?: GetTokenOptions): Promise<AccessToken | null> {
    if (isPlaybackMode()) {
      return this.credential.getToken("https%3A%2F%2Fsanitized%2F", options);
    } else {
      return this.credential.getToken(scopes, options);
    }
  }
}

export function createRegistryClient(): ContainerRegistryClient {
  const endpoint = env.CONTAINER_REGISTRY_ENDPOINT;
  const credential = new ClientSecretCredential(
    env.AZURE_TENANT_ID,
    env.AZURE_CLIENT_ID,
    env.AZURE_CLIENT_SECRET
  );

  return new ContainerRegistryClient(endpoint, new TestTokenCredential(credential));
}

Normal Track 2 convenience clients. If the requests containing scope is sent by these clients, we could inject a policy that if in playback mode, sanitizes the request before sending it. We just need a way to inject it to the client's pipeline. Some prototype code at https://github.com/Azure/azure-sdk-for-js/pull/14914

This looks great and would be a great addition to the recorder.
For a similar task, I'm working on https://github.com/Azure/azure-sdk-for-js/pull/14897 to allow tweaking request bodies and matching new bodies with unique ids.

Hey @HarshaNalluru, I'm assigning this back to you because Sima is out on leave and you've begun working with @scbedd on a more general solution to JS recordings.  I'm hoping this can be something you work into that project.

https://github.com/Azure/azure-sdk-for-js/pull/14954


⚠ ClamAV has degraded performance

In 9ab5a43, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 56 ms

Resolved: ClamAV performance has improved in 22c490b.


Didn't find correct Github release-file to download

Describe the bug
I am trying use https://github.com/numToStr/snm with zinit but I am getting the following error
Downloading numtostr/snm…
Didn't find correct Github release-file to download, try adapting bpick-ICE (the current bpick is: *linux*).

Even though repository contains releases here https://github.com/numToStr/snm/releases
To Reproduce
Add these line to your .zshrc
zinit ice from"gh-r" as"program" mv"snm* -> snm" bpick"*linux*"
zinit load numtostr/snm

Expected behavior
Should install without any error
Versions:

$ZSH_VERSION:  5.8
Operating system name and version (uname -a): Linux hello-pc 5.10.2-2-MANJARO SMP PREEMPT Tue Dec 22 08:14:42 UTC 2020 x86_64 GNU/Linux

IDK what I did but it now working just fine. So I am closing this issue.

IDK what I did but it now working just fine. So I am closing this issue.


DO NOT MERGE: Fix the test failures on CI

Two test failures to fix:

Parallel test setup. This is breaking because Firedrake updated/fixed how they run parallel tests, so don't need to pin pytest to an old version. We just need to update our conftest.py to match theirs. Originally done in the memory_profiling branch and cherry-picked here so
The Williamson5 timeseries test is hanging. This test was written a while ago so the style is a bit out of date. This should be updated to use the ComparisonMiniapp instead, which will calculate the error of paradiag vs the serial solution. Changing to Galewsky to avoid the nasty initial conditions of Williamson5 is also probably a good idea

This PR was branched of #90 because that was a (relatively small) branch where the tests were failing. Now I have the CI tests passing I have moved the relevant commits to PR #92, which is branched off master. This means that it can be merged straight in to master without relying on #90 being merged and then pushed into the other open branches.


maintenace

various bug fixes & refactorings to reduce complexity

Codecov Report

Merging #109 into master will decrease coverage by 0.5%.
The diff coverage is 30.3%.

@@             Coverage Diff              @@
##             master     #109      +/-   ##
============================================
- Coverage     58.63%   58.12%   -0.51%
- Complexity     2261     2277      +16
============================================
  Files           279      279
  Lines          5596     5648      +52
============================================
+ Hits           3281     3283       +2
- Misses         2315     2365      +50

Impacted Files
Coverage Δ
Complexity Δ

...Controller/External/Api/Share/FilterController.php
81.81% <ø> (ø)
6 <0> (ø)
:arrow_down:

src/Service/ReportService.php
0% <ø> (ø)
79 <0> (ø)
:arrow_down:

src/Service/Sync/MapService.php
0% <0%> (ø)
26 <14> (+13)
:arrow_up:

src/Service/Sync/MapFileService.php
0% <0%> (ø)
8 <4> (ø)
:arrow_down:

src/Report/Report.php
0% <0%> (ø)
45 <2> (+2)
:arrow_up:

src/Model/SyncTransaction.php
59.37% <0%> (ø)
19 <0> (ø)
:arrow_down:

src/Service/Sync/DisplayNameService.php
95.41% <85.71%> (-2.95%)
44 <17> (+1)

src/Entity/Map.php
87.87% <0%> (-9.1%)
19% <0%> (ø)

Continue to review full report at Codecov.

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


Investigate Netflix metadata fields and their relationship to VMHub

This spreadsheet has definitions and examples:
https://drive.google.com/file/d/19yDldklBP1-zmVFZ5-PRwclwu738m7DD/view
It's linked from the Metadata Templates page here:
https://partnerhelp.netflixstudios.com/hc/en-us/articles/215620267-All-Metadata-Templates

duplicate of #18


All-In-One installer crashes terminal on installing libcec

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
37.0
Python release (python3 --version):
Python 3.4.2
Component/platform:
Installation of All-In-One-Installer
Description of problem:
Installer crashes and closes terminal session on installing lib-cec
Expected:
To install everything
Problem-relevant configuration.yaml entries and steps to reproduce:

Fresh Jessie Image
Install pip3
Change default password
Install All-In-One-Installer

Traceback (if applicable):
[localhost] out: Scanning dependencies of target _cec
[localhost] out: [ 88%] Built target cecc-client
[localhost] out: [ 92%] Built target cec-client
[localhost] out: [ 95%] Building CXX object src/libcec/CMakeFiles/_cec.dir/libcecPYTHON_wrap.cxx.o
[localhost] out: [ 97%] Linking CXX shared module _cec.so
[localhost] out: [100%] Built target _cec
[localhost] out:

[localhost] sudo: make install
[localhost] out: [ 83%] Built target cec
[localhost] out: [ 88%] Built target cec-client
[localhost] out: [ 92%] Built target cecc-client
[localhost] out: [100%] Built target _cec
[localhost] out: Install the project...
[localhost] out: -- Install configuration: ""
[localhost] out: -- Up-to-date: /usr/local/bin/./cec-client-4.0.2
[localhost] out: -- Up-to-date: /usr/local/bin/./cec-client
[localhost] out: -- Up-to-date: /usr/local/bin/./cecc-client-4.0.2
[localhost] out: -- Up-to-date: /usr/local/bin/./cecc-client
[localhost] out: -- Up-to-date: /usr/local/bin/./pyCecClient
[localhost] out: -- Installing: /usr/local/lib/python3.4/site-packages/cec/_cec.so
[localhost] out: -- Set runtime path of "/usr/local/lib/python3.4/site-packages/cec/_cec.so" to ""
[localhost] out: -- Up-to-date: /usr/local/lib/python3.4/site-packages/cec/__init__.py
[localhost] out: -- Up-to-date: /usr/local/lib/pkgconfig/libcec.pc
[localhost] out: -- Up-to-date: /usr/local/include/libcec/cec.h
[localhost] out: -- Up-to-date: /usr/local/include/libcec/cecc.h
[localhost] out: -- Up-to-date: /usr/local/include/libcec/cecloader.h
[localhost] out: -- Up-to-date: /usr/local/include/libcec/cectypes.h
[localhost] out: -- Up-to-date: /usr/local/include/libcec/version.h
[localhost] out: -- Installing: /usr/local/lib/libcec.so.4.0.2
[localhost] out: -- Up-to-date: /usr/local/lib/libcec.so.4
[localhost] out: -- Up-to-date: /usr/local/lib/libcec.so
[localhost] out: -- Set runtime path of "/usr/local/lib/libcec.so.4.0.2" to ""
[localhost] out:

Additional info:
I've tried this about 4 or 5 times, one of which broke my sd card into write protection mode due to the constant reflashing of the image. It  always hangs on this part.

Sorry, wrong issue tracker. Please use https://github.com/home-assistant/fabric-home-assistant/issues or the forum. Thanks

See https://github.com/home-assistant/fabric-home-assistant/issues/44


Make logo without background again

Changes
Sorry for bothering you, but I've invested too much time in this to give up right now.
Could you please remove the background ?
Checklist

[x] An issue to be fixed by this PR is listed above.
[x] New tests are added to ensure new features are working. Please refer to this page to see how to add a test.
[x] ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
[x] If this PR adds/changes features, documentations (in the ./website folder) are updated.
[x] CI is passing. Please refer to this page to see how to solve a failed CI.

Remark for PR creator

./frb_internal --help shows utilities for development.
If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

Hi, thanks for the PR! Since https://github.com/fzyzcjy/flutter_rust_bridge/pull/1501#issuecomment-1874194396, it seems that pub.dev, github, and crates.io all have nice UI with transparent background, so I will merge it.


Transits not popping out near the corresponding transit point on the map you transit to

SPT Version
3.10-BE
Project Type
Server
Expected Result
Using a transit from Factory to Customs should pop you out near the corresponding transit point on customs which would be the old gas station.
Actual Result
Taking transit from Factory to Customs spawned me near directors office building on the opposite side of the map from the Factory transit. Not sure if maybe this just hasn't been accounted for in SPT yet.
Steps To Reproduce
Transit from Factory to Customs
Server Log
Click and attach file. ↓
BepinEx Log
Click and attach file. ↓
Client Log
Click and attach file. ↓
Player Profile
No response
Screenshots
No response

Attachments

server-2024-11-06.log (156 KiB)
LogOutput.log (18 KiB)
2024.11.06_19-27-30_<IP_ADDRESS>.33420 traces.log (102 KiB)
672a94610005f5194e5af54d.json (801 KiB)

Originally written by atlas1337

I confirmed this.
I went to interchange and transitioned to customs. I did this in LIVE and it put me where I expected it to. However in BE it seems to just spawn you randomly.
I took the transition back to Interchange just to make sure, and same thing.

Originally written by Stealthsuit

Hopefully improved with: https://github.com/sp-tarkov/server/commit/84f8bb8711143210306dcbf3f382f9e1f50301ce

Originally written by chomp

Confirmed with today's release (060c7f) when transitioning from shoreline to lighthouse.
Transitioned from the only available point on shoreline and spawned on the PMC spawn closest to the lighthouse bridge.

Attachments

server-2024-11-11.log (72 KiB)
LogOutput.log (22 KiB)
2024.11.11_21-57-05_<IP_ADDRESS>.33420 traces.log (127 KiB)
67327d78000103f27d6e3ab8.json (762 KiB)
2024-11-11[14-11]_99.7, 1.9, 432.2_0.1, 0.5, 0.0, 0.9_9.31 (0).png (5644 KiB)

Originally written by Studentech

Taking a look at both logs, in the first one from @atlas1337:
2024-11-06 14:31:33.227 -05:00|<IP_ADDRESS>.33420|Error|Default|[Transit] Flag:False, RaidId:66f5750951530ca5ae09876d, Count:0, Locations:factory4_day ->
2024-11-06 14:39:30.353 -05:00|<IP_ADDRESS>.33420|Error|Default|[Transit] Flag:True, RaidId:66f5750951530ca5ae09876d, Count:1, Locations:bigmap -> bigmap ->
It didn't seem to remember where he was first, which was factory.
With chomps commit it's now (from @Studentech logs):
2024-11-11 14:00:13.620 -08:00|<IP_ADDRESS>.33420|Error|Default|[Transit] Flag:False, RaidId:67327e6ccde56104e80328a6, Count:0, Locations:Shoreline ->
2024-11-11 14:09:37.835 -08:00|<IP_ADDRESS>.33420|Error|Default|[Transit] Flag:True, RaidId:67327e6ccde56104e80328a6, Count:1, Locations:shoreline -> Lighthouse ->
These log entries are done by this code in the client:

Attachments

image.png (83 KiB)

Originally written by TetrisGG


Nest.SuffixExtensions.Suffix type annoyance

Its annoying when using the Suffix feature for fields that the type is not presevered, e.g.
Infer.Field<ElasticDocument>(f => f.Title)
is type Field
Infer.Field<ElasticDocument>(f => f.Title).Suffix("raw")
is type object

@catmanjan The suffix extension is intended for use inside the expression, evaluated by NEST. As such, your code should be...
Infer.Field<ElasticDocument>(f => f.Title.Suffix("raw"));


Issues calling MemoryPool::reclaim(size) in single-thread execution

Bug description
There might be some child tickets for the issues I encountered for this case:
Issue 1. "Executor was not supplied."  (Draft fix at https://github.com/facebookincubator/velox/pull/5647)
Issue 2. MemoryPool's capacity got shrink without setting an arbitrator (Draft fix at https://github.com/facebookincubator/velox/pull/5648)
To describe our scenario to use Memory::reclaim

Single-thread execution (Task::next)
Will not use shared arbitrator (one thread should not reclaim memory from another)

System information
Velox System Info v0.0.2
Commit: 9bcdc8333390cbed9b63473f70af1350016efd91
CMake Version: 3.16.3
System: Linux-5.4.0-152-generic
Arch: x86_64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 9.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 9.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
Relevant logs
No response

CC: @xiaoxmeng

@zhztheplayer can we schedule a meeting to discuss this? Thanks!

Fixed in https://github.com/facebookincubator/velox/commit/83f6d642720682a7164719bb268dce6f91b20cda.


Vulcanization looses order in the generated javascript file

Hi,
It seems that the vulcanization (when using csp and inline) process looses its order of javascript files.
For example, take a look at http://petermo.github.io/index.html which is generated from http://petermo.github.io/Imports.html
The latter works as expected but the first one doesn't. In the generated Vulcanized.js file there are some Polymer() calls before it is defined.
My expectation would be that when including polymer.js through the imports the generated javascript maintains that order.
Is this expected (thus my expectation is wrong), a bug or something else I'm doing wrong...
The version of vulcanize is 0.7.9 and is used within grunt. Is this enough or would any other information be required/welcome? Please let me know.

I have experienced this result as well; I am using --inline and --strip
It seems like https://github.com/Polymer/vulcanize/blob/master/lib/vulcan.js#L94-L114 should be the culprit, but a quick read of that code doesn't reveal to me why it would happen.
Could it be that searchAll($, constants.JS_SRC).each doesn't maintain the order of its results?

So we had this same issue - and the root cause was some invalid HTML. We had one polymer file that had some rogue characters which threw off the order. At the start of a file we had:
cv  <link rel="import" href="../polymer/polymer.html">

Having invalid html throws off the parser and was causing our script tag to be out of place.

Peter - try removing the closing / on your imports

@chiefcll That indeed seems to be the culprit. However, my code isn't invalid HTML.
Having it narrowed down a bit, I'm now thinking about creating a new issue that references http://www.w3.org/TR/html5/syntax.html#void-elements


Sparkline SVG should be responsive

As I understand it, by omitting the height and width attributes on the svg element it will cause the spark line to fill the parent container.  This is the behavior I hoped for.
I envision the default settings to only apply a height and width to the viewbox.  And expose two new properties on the component: svgHeight and svgWidth
Additionally, I think it would be great to expose preserveAspectRatio  with a default value of 'none'.
If you agree with this direction I'll happily submit a pull request

I agree with the decision, I was thinking about this as well.
Will happily accept a PR.

PR is done, but Travis is failing for some reason

@motiz88 commented on the pull request. Not sure if we're in alignment now or not.  But it looks like his previous pull request for TravisCI is a prerequisite for this one.  @borisyankov, what do you think?


VueDatePicker preventing enter transition when inside another component

Hi, I am working on a project with Vue3 + InertiaJS (Vite) + TailwindCSS + Headless UI, having a SlideOver component like this:

<template>
    <TransitionRoot as="template" :show="show">
        <Dialog as="div" class="relative z-10" @close="close">

                        <TransitionChild as="template"
                                         enter="transform transition ease-in-out duration-500 sm:duration-700"
                                         enter-from="translate-x-full"
                                         enter-to="translate-x-0"
                                         leave="transform transition ease-in-out duration-500 sm:duration-700"
                                         leave-from="translate-x-0"
                                         leave-to="translate-x-full"
                        >
                            <DialogPanel class="pointer-events-auto w-screen max-w-md">

                                            <DialogTitle class="text-xl font-semibold font-nunito leading-6 text-gray-900">{{ title }}</DialogTitle>

                                                <button type="button" class="rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2" @click="close">
                                                    Close panel
                                                    <XMarkIcon class="h-6 w-6" aria-hidden="true" />
                                                </button>

                                        <slot />

                            </DialogPanel>
                        </TransitionChild>

        </Dialog>
    </TransitionRoot>
</template>

The component transitions in & out just fine (from left to right and viceversa) when I pass in any slot, but when I insert the VueDatePicker inside that slot, the enter transition just does not work. Slideover does not transition, appearing inmediately.
However, leaving transition does work as expected.
Working example:
...
<SlideOver :show="open" :title="title" @close="open = false">
    <AnyComponent />
</SlideOver>
...

If:
...
<SlideOver :show="open" :title="title" @close="open = false">
    <VueDatePicker v-model="model" />
</SlideOver>
...

Or <VueDatePicker> is present inside <AnyComponent />, SlideOver does not transition enter.
Any ideas or any help?
Thanks in advance.

The same problem is happening to me, any ideas?

Also seeing this behaviour - anyone found a workaround?


Info tab

Existing features:

[x] Make interface selectable
[x] Hardware Address
[x] IP Address
[x] Link Speed
[x] Link Status
[ ] Vendor
[ ] Model
[x] Transfer Statistics

New features:

[x] Transferred bytes rather than just packets
[x] Delta per second
[ ] Line chart?
[x] Filter special interfaces (e.g., VPN)

(Screenshots courtesy of http://www.macosxtips.co.uk/index_files/how-to-use-network-utility.php, and as of macOS 10.6 Snow Leopard.)

I suspect an endianness problem or other type/marshalling mistake with the network statistics. Also, we should probably decouple those from GetAvailableInterfaces() so we can keep updating them.

Need to actually show the status, preferably similarly to how SysPrefs does it.

Still unclear how to get vendor and model. IORegistry, I think — it has an IOModel property that seems to match what Network Utility outputs.

I think we need to:

get all items in IOService:/ of type IOEthernetInterface. These have a property BSD Name that matches e.g. en0.
get their parents
get the properties IOModel and IOVendor (anything else we care about?)

https://stackoverflow.com/a/9141788/1600 looks close. IOServiceMatching(kIOEthernetInterfaceClass) seems to do step 1, and then there's IORegistryEntryGetParentEntry.


Tests for telescope module

Make pytest compatible tests for the telescope module.

This issue was resolved by #63 .


What's the XMLNS?

Severity	Code	Description	Project	File	Line	Suppression State
Error	XLS0414	The type 'icon:FontAwesome' was not found. Verify that you are not missing an assembly reference and

There's currently an issue with .Net Maui and custom namespaces. You'll have to use the clr-namespace version, it should be Jamjardavies.Icon.Maui.FontAwesome I believe.


usv gazebo dynamics plugin parameter

http://wiki.ros.org/usv_gazebo_plugins
We are analyzing the parameters in the plug-in through the link above. Looking at this, I wonder if there are any reference materials or papers on how variables such as xDotU and xDotV work and where they originate. There is no such explanation in the theory of operation here on the wiki.

Hi, I think you may be looking for our paper, Toward Maritime Robotic Simulation in Gazebo, which is linked from the documentation page and the README of this repository.
xDotU and xDotV and other parameters mentioned in the plugin documentation are discussed in the section on the Vehicle Model (p. 5). Does this answer your question?
I'm also tagging @bsb808, who worked on the plugin and this section of the paper.

@M1chaelM
I checked the above document and it is a good resource. thank you! But here another question arises. Starting from page 5, there are various parameters and expressions. I would like to know how these parameters are assigned to the plug-in. For example, I am curious about how the mass changes from 1kg to 5kg, how it is substituted into the plug-in, and where variables such as mass must be set to be substituted into the plug-in.


Add stacktrace label parsing

Coverage decreased (-0.7%) to 76.829% when pulling f61e4db98d4c62f9924c33a9a61bc438fe666888 on add_stacktrace_label_parsing into 942bc1091a6a9a53c9262464e20997fe5eafa270 on master.


add silencer, pascal, and scalaz 8

easy adds with few relatively few dependencies. (well, scalaz 8's list isn't that short, but they're pretty de-facto-standard stuff)
[info] Project scalaz8
[info]   depends on: cloc-plugin, kind-projector, macro-compat, macro-paradise, scala, scala-js-stubs, scala-parser-combinators, scalacheck, scalatest, shapeless, silencer, specs2
[info] Project silencer
[info]   depends on: cloc-plugin, scala, scalacheck, scalatest
[info] Project pascal
[info]   depends on: cloc-plugin, kind-projector, scala, scalacheck, scalatest

already green in local testing. fyi @xuwei-k

woah, awesome! ❤

Hey Seth...... thanks 👄


Remove stopListeningForNotifications (or call it if we need it)

We don't call stopListeningForNotifications in the LDTBaseViewController anywhere. Need to look into whether or not we should be?

Yes, we should be removing observers we don't need: http://stackoverflow.com/questions/6469209/objective-c-where-to-remove-observer-for-nsnotification


KAFKA-13818: Add generation to consumer assignor logs

Reading assignor logs is really confusing in large part because they are
spread across different layers of abstraction (the ConsumerCoordinator
and the ConsumerPartitionAssignor, which in Streams consists of several
layers of its own). Each layer in the abstraction reports useful information
that only it has access to, but because they are split over multiple lines, with
multiple members in the cluster, and (often) multiple rebalances taking place
in rapid succession, it's often hard to understand which logs are part of
which rebalance.
This PR attempts to improve the situation by adding a common prefix to
all assignment logs that includes the current generation number. Then,
debuggers can pull out all logs for a particular rebalance with a simple
grep "generationId=5". In order to add this useful context without violating
encapsulation, the PR simply adds a generic "dynamic log context" that
assignors can optionally participate in (by mixing in ContextualLogging).
I chose to keep these changes restricted to private APIs for the moment.
If this approach proves useful, we can propose a KIP at a later date to
make the APIs public.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Build failed. Looks concerning?

Thanks John, agree that generation ID would be useful to add to help group messages from different loggers together. The duplication and boilerplate in here don't seem great, though--I've opened up https://github.com/apache/kafka/pull/12023 as a PR against this branch to take a stab at addressing that. What do you think?

Note: I might want to adjust the approach here, as in a subsequent investigation, I have realized it would be quite nice to prefix the cluster membership lines with the generation id as well, but we would not want to include the entire log prefix on each line (I don't think we would anyway).
See https://issues.apache.org/jira/browse/KAFKA-14253 for the cluster member lines I'm thinking of.


Updating the Microsoft.Extensions.Primitives ns file

ASP.NET Core API Reference adding descriptions. Change for the Microsoft.Extensions.Primitives.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Unknown block type "cloudinary.asset", please specify a serializer for it in the serializers.types prop

hey 👋🏽
So I think I am very close here, I managed to make Cloudinary appear on Sanity, but on frontend (gatsby), I am getting this error:
Unknown block type "cloudinary.asset", please specify a serializer for it in the `serializers.types` prop

What does it means?

I don't have a lot of experience with this plugin (just built my first site using sanity as a cms). But from my experience the issue you found is related with use of block type (https://www.sanity.io/docs/block-type) without informing a proper serializer for it.
The @sanity/block-content-to-react package has the default serializers for a block type. But even this package doesn't include the serializer for cloudinary images/videos.
So basically you are able to create the content on Sanity and you should even be able to see that on the gatsby graphql development server. But when Gatsby try to convert the content from your block type it doesn't know how to translate that to react components.
If you are already using the  @sanity/block-content-to-react you probably are only missing a serializer for cloudinary image/videos, and you will have to build one. Unfortunately I haven't create one myself since I didn't need to include cloudinary on a block type. Here is a link for some serializers created for a block type for your reference:
https://github.com/sanity-io/block-content-to-hyperscript/blob/main/src/serializers.js


Fixed TSLint warnings for no-this-assignment rule for the following files:

azureBotService.ts
botConfigModel.ts
dispatchService.ts
endpointService.ts
fileService.ts
luisService.ts
qnaMakerService.ts

Pull Request Test Coverage Report for Build 143

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

Totals

Change from base Build 98:
0.0%

Covered Lines:
2592

Relevant Lines:
3521

💛  - Coveralls

Closed due to changes in master that would lead to several merge conflicts


Update copyright headers

As VDK is now owned by Broadcom and not VMware we should update the copyright headers to reflect that .
The change is “VMware, Inc.” can be replaced with “Broadcom”  (no inc)

First here https://github.com/vmware/versatile-data-kit/blob/main/NOTICE.txt
There was some automated way to update all files using I ma not sure if it would happen automatically upon change the above file . We use the following pre-commit hook:

https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
hooks:
- id: insert-license

Check this guideline before changing anything https://docs.google.com/document/d/1Agp9QB7C_FiKDiyQwTpNXaYbYDRzujSREvF94yDCgMM/edit

There should be no bulk update, just change the header automation for new commits.


Generate/add stubs for PEP561 and add py.typed

Need to figure out a way to extract the types from the Cython module to a *.pyi stub file and add a py.typed file. This should enable autocompletion and type checking.
This will require converting from a single file module to a package though. Not sure whether to place all code in an __init__.pyx or include an internal _cypcap.pyx and have __init__.py do a from ._cypcap import *

This also depends on either finding a third party way to do this or for Cython to add builtin support.

Apparently neither mypy nor pyright can successfully generate a draft stub file from a native Cython module 🤷♂

It seems there is some bizarre conflict here where pylance/pyright expects typing files to include docstrings and default values, but none of the existing ones do...

There seems to be some relevant progress in https://github.com/cython/cython/pull/3818. I would love to see this issue resolved, because as it is right now, my IDE fails to find any type info for cypcap and considers every reference to a cypcap method or class an error.

In the meantime it might also be worth checking out the existing .pyx -> .pyi generators mentioned here: https://github.com/cython/cython/pull/3818#issuecomment-1666687625


Wrong completion list for minecraft:structure nbtdoc registry; structures aren't indexed

Reported by NeunEinser

:tada: This issue has been resolved in version 3.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


doc new features

String extension funcs
Query string decoding queryMap
getHostProperty

I really don't understand this! This is "shoveling snow forward" as we say in French Canada:

pelleter par en avant

We're literally creating ~technical~ documentation debt for ourselves in my opinion. So my questions are:

Who are you writing that documentation for?
What do you think you're achieving by adding this? And doing this in this very way?

I have opinion on both of these, but I am really trying to understand where you are coming from?

Documenting exposed functions and capabilities for anyone writing wasm configuration and CEL predicates

The best I could find wrt the Strings extension is from the README.md on the cel-go implementation


Loss of connectivity - was WiFi connection fall down

I'm using a module NodeMCU 8266, I'm able to see Altherma data for days but suddenly the card loose connection and the red light start blinking very fast. Even if I try to reset the card or disconnect the power, nothing gonna change. I've replaced the card with a new one, but after one week, the problem is the same.
Only if I reprogram the card with same configuration it starts connecting again but just for few days. What could be the problem?
Thanks

Do you see logs on Serial/USB when the card is blinking red?

I too witness connection loss, might have been introduced by a recent code change.
It looks like this in the graphs, and the AlthermaSensor entity becomes Unavailable

I'll keep an eye on it.

At the moment I have assigned a fixed IP to the Altherma in order to exclude DHCP problem. Since now no issue, but let's wait a couple of weeks

I've set an alert on my phone in case of loss of connection.
On my side it happened during heating phase.

Even if I've set the static IP address it seems the problem is still occuring. Now my suspect is about the power supply. My ESP is using the power of Altherma pin X10A.
I've tried to disconnect that connection and connecting a USB power supply but, doing this, the card is stopping to providing data to home assistant anymore.

Looks like there are issues with the wifi selection when multiple AP broadcast the same SSID. In this case, the ESP might randomly choose the weaker one. See #224 and #213
Is it your case?

Dear Raomin,
It seems I have solved in this way:

replacing the ESP32 with a different model. Now I'm using the narrow one, with pin RX2/TX2 instead of GPIO 16 and 17.
connecting the power via USB cable and still connecting the ground to the Altherma pin.

In the last month I did not noticed any WiFi interruption.
Thanks


I can  Create on namespace with no name, but namespace is created.

  Name is a required field for Namespace.  Here is response error in console:
type":"error","links":{},"code":"Invalid","message":"Namespace "" is invalid: metadata.name: Required value: name or generateName is required",

I just checked in master and this is no longer possible so I'm moving to test.

Fixed


set containerd.io/image.remote.ref label to images and snapshots

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>This commit sets containerd.io/image.remote.ref label to images and corresponding snapshots.
e.g. docker.io/library/alpine:latest.
(Note that "image reference" differs from "image name": https://godoc.org/github.com/containerd/containerd/remotes#Resolver)
Future version MAY set containerd.io/image.remote.resolver explicitly as well, although we haven't decided any convention for resolver identifier string.
Note that we won't set any registry credential as labels.
Usecase: continuity snapshotter plugin with lazy-pull feature
I'm working on a project that uses continuity manifest (== info for getdents(2) and stat(2)) as an image layer, instead of legacy tar balls.
On initial client.Pull() and image.Unpack(), only the continuity manifest is pulled and unpacked.
This enables running containers without pulling the whole rootfs blobs, and lazily pulling blobs on demand.

POC (raw rootfs mounter without any containerd stuff): https://github.com/akihirosuda/filegrain
Presentation at ContainerCon (OpenSource Summit) North America 2017: https://www.slideshare.net/AkihiroSuda/filegrain-transportagnostic-finegrained-contentaddressable-container-image-layout

@stevvooe suggested me to implement this as a containerd snapshotter (and differ and contentstore) plugin, and I found that such a plugin would need to get remote reference information  (containerd.io/image.remote.ref) from the client.
Note that the plugin can resolve the registry credential by itself in its own way, probably via plugin-specific entries in /etc/containerd/config.toml:
# executes `docker-crendial-foobar get` for resolving the credential
[plugins.continuity]
    dockerAuthResolvingMethod = "docker-credential-plugin"
    dockerConfigJSON = "/root/.docker/config.json"

cc @stevvooe @dmcgowan @tonistiigi

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1569   +/-   ##
=======================================
  Coverage   42.36%   42.36%
=======================================
  Files          24       24
  Lines        3368     3368
=======================================
  Hits         1427     1427
  Misses       1612     1612
  Partials      329      329

Continue to review full report at Codecov.

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

What if the snapshot are used with multiple different references? How would that work?

closing per personal communication