Executable name clash

$ gem install tablesmith
Fetching text-table-1.2.4.gem
Fetching tablesmith-0.6.0.gem
Successfully installed text-table-1.2.4
tablesmith's executable "console" conflicts with countries
Overwrite the executable? [yN]  N
ERROR:  Error installing tablesmith:
	"console" from tablesmith conflicts with installed executable from countries

ah - thx for the bug report. yeah, console probably doesn't need to be included in the gem. that's an oversight i think.

0.6.1 is released now without this file included.


Remove includes from .cabal-file

This is useless at best, and a common source of confusion.
https://github.com/haskell/cabal/pull/10145
https://github.com/sol/hpack/issues/355

Thanks! It might be worth doing something similar here in win32.cabal, which is where I originally copied this code from.

https://github.com/haskell/win32/pull/233


Dump the app if we cannot tap the demo

To help deflake https://github.com/flutter/flutter/issues/83298

test-exempt: is a test


generic question

I just found this, thanks a lot. My question is the following (and sorry if the question is too simple or not for you but I'm just getting familiar with all of this):
I have a IPTV service and I'm getting the m3u file through a url using the API of my provider with my user/pass. I see in the m3u a url with a ts file for every channel. My question is do I have to generate this m3u with some frequency?
I'm asking this because in the past I was using a different tvproxy and it automatically generated a token that was changed every 4h by the provider. I don't see this here but just in case.
Thanks again.

It'd mostly depend on your provider. In my case, nope, so it's probably the same for you!
T

Thanks.


JOB-101 Remapped owner_id to owner_email

This change allows the jobbergate application to use email as the owner
indicator for its entities. This allows the data migrated from legacy
jobbergate to be immediately assigned to the correct user. With the
custom claims added to the tokens issued by Auth0, jobbergate can handle
all of the filtering and permission control. Further, the data is
explorable without having the overhead of needing to map the Auth0 "sub"
claim to an existing user. See the issue on ClickUp for a through
explanation of the use-case.

Also updated the slurp project to user owner email
Also updated cli to use owner email
Also updated unit tests
Also updated docker-compose.yaml
Also renamed "jobbergateapi2" in jobbergate-api to just "jobbergate_api"

Task: https://app.clickup.com/t/18022949/JOB-101

Peer Review
Please follow the upstream omnivector documentation concerning
peer-review guidelines.

I know this seems like a beast of a PR, but the change is conceptually small and it wouldn't lend itself to being broken up into smaller chunks. I needed to integration test the update across jobbergate-cli, jobbegate-api, and jobbergate-slurp. So, the change needed to be applied in all three. My apologies for the big PR.


Mooderation Phase-1

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
Moderating Testimonials Phase - 1
Fixes #1201
Type of change

[✅ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Tested by me  in my local system
Checklist:

[✅] I have performed a self-review of my own code
[✅] I have commented my code, particularly in hard-to-understand areas
[✅] I have made corresponding changes to the documentation
[✅] My changes generate no new warnings
[✅] I have added tests that prove my fix is effective or that my feature works
[✅] New and existing unit tests pass locally with my changes
[✅] Any dependent changes have been merged and published in downstream modules

@yung-coder
Build fails


ios copy paste marker in system language

die copy paste funktion sollte in der systemsprache angezeigt werden

https://stackoverflow.com/questions/11224969/localizing-the-cutcopypaste-menu-on-ios

https://stackoverflow.com/questions/11224969/localizing-the-cutcopypaste-menu-on-ios

this does not work. I cannot change this dialogs that easy. I will say, this has low priority eighter.

this does not work. I cannot change this dialogs that easy. I will say, this has low priority eighter.


[Feature] Editing Recorded Playwright Script

Hi @ruifigueira ,
First off , Thanks for creating and maintaining such an incredible project. I've been exploring the Plugin and the source-code, and I'm impressed .
I’d like to contribute by adding a feature that allows users to edit the recorded Playwright scripts. I’ve tried a few approaches but haven’t had much luck. Could you offer any guidance on implementing this feature or point me in the right direction?
I added another component for popup and displayed the raw content in a tabular fashion. But i am not able to make the edits here reflect in the original script.

Hi @srivathsav01,
glad to know you enjoy it. Editing recorded playwright scripts would be a nice feature indeed, I didn't want to significantly change the recorder UI code and that's one of the reasons I never tried it (the other is that, if edited freely, player won't work because it relies on a structured action set).
Nevertheless, if you want to give it a try, you can look into crxRecorderApp.ts, which works as a middleware between the recorder UI and the recorder server.
Recorder server calls crxRecorderApp.setSources to push source changes into UI, and UI sends events to crxRecorderApp that are then forwarded into the recorder server. One possibility is to send a new event from UI, e.g updateSources, and handle it here:
https://github.com/ruifigueira/playwright-crx/blob/1b062f52dcc0dfdd1cec69a5f3114aae90c0b4c3/playwright/packages/playwright-core/src/server/recorder.ts#L122-L150
This requires patching actual playwright code, which I try to do only as a last resource, because thst is a conflict candidate everytime I merge their releases, but then again, I had to change a few things for player to work.

Hi @ruifigueira ,
I really like what you have done with playwright crx.
Just wanted to ask quick question. In the attached screen shot you can see we have array of pw steps but I can't use eval or new Function for executing pw script because of the permission issue in chrome extension manifest v3.
Is there any other way to execute dynamic pw steps using crx.

Extension service workers don't support eval or other form of dynamic evaluation, for security reasons. You need to rely on some JS interpreter to achieve that.


Impove the Ui and add more enhanced colors

Can i do that? @GarimaSingh0109

hey kindly assign it to me i try my best
-color palletee combination for attractive..

enhancing ui for better response...


fix ISTIO_DELTA_XDS in compatibility version 1.21 profile

Please provide a description of this PR:
Compatibility profile for v1.21 wouldn't disable delta XDS correctly.
proxyMetadata should be under meshConfig.defaultConfig in the meshConfig.
Current behavior:
      - name: PROXY_CONFIG
        value: |
          {"tracing":{"zipkin":{"address":"zipkin.istio-system:9411"}},"proxyMetadata":{"ISTIO_META_DNS_CAPTURE":"true"},"gatewayTopology":{"numTrustedProxies":2},"meshId":"my-mesh","holdApplicationUntilProxyStarts":true}

After patching:
      - name: PROXY_CONFIG
        value: |
          {"tracing":{"zipkin":{"address":"zipkin.istio-system:9411"}},"proxyMetadata":{"ISTIO_DELTA_XDS":"false","ISTIO_META_DNS_CAPTURE":"true"},"gatewayTopology":{"numTrustedProxies":2},"meshId":"my-mesh","holdApplicationUntilProxyStarts":true}

Hi @antoinedeschenes. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

/ok-to-test

@antoinedeschenes: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
9703c079d648458d8db15586efd7c9597a1e0169
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Should I fill a release note?

In this case its probably small enough to elide. Thanks for the fix!
/retest

/test integ-operator-controller_istio

@howardjohn: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test bookinfo-build
/test gencheck
/test integ-ambient
/test integ-basic-arm64
/test integ-cni
/test integ-distroless
/test integ-ds
/test integ-helm
/test integ-ipv6
/test integ-pilot
/test integ-pilot-istiodremote
/test integ-pilot-istiodremote-mc
/test integ-pilot-multicluster
/test integ-security
/test integ-security-istiodremote
/test integ-security-multicluster
/test integ-telemetry
/test integ-telemetry-discovery
/test integ-telemetry-istiodremote
/test integ-telemetry-mc
/test lint
/test macbuildcheck
/test release-notes
/test release-test
/test unit-tests
/test unit-tests-arm64

The following commands are available to trigger optional jobs:

/test benchmark
/test experimental-tracing
/test integ-ambient-calico
/test integ-ambient-dual
/test integ-ambient-ipv6
/test integ-assertion

Use /test all to run the following jobs that were automatically triggered:

gencheck_istio
integ-ambient_istio
integ-basic-arm64_istio
integ-cni_istio
integ-distroless_istio
integ-ds_istio
integ-helm_istio
integ-ipv6_istio
integ-pilot-istiodremote-mc_istio
integ-pilot-istiodremote_istio
integ-pilot-multicluster_istio
integ-pilot_istio
integ-security-istiodremote_istio
integ-security-multicluster_istio
integ-security_istio
integ-telemetry-discovery_istio
integ-telemetry-istiodremote_istio
integ-telemetry-mc_istio
integ-telemetry_istio
lint_istio
macbuildcheck_istio
release-notes_istio
release-test_istio
unit-tests-arm64_istio
unit-tests_istio

In response to this:

/test integ-operator-controller_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

/cherry-pick release-1.23

/cherry-pick release-1.22

@dhawton: new pull request created: #52240

In response to this:

/cherry-pick release-1.23

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@dhawton: new pull request created: #52241

In response to this:

/cherry-pick release-1.22

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


Control of implicit assignment index variable

In halide, functions expressed are (mainly) pure.  Implementationwise, however, there is an implicit assignment happening under the covers.
tvm extends halide with the notion of a n-dimensional tensor where each dimension has a byte-wise stride associated with it (either explicitly or implicitly).
In cortex I believe I came up with a generalization of the python broadcast semantics along with a simpler way of describing the elementwise operations (assignment, unary, binary, and ternary opterations).  I would like to try to support this generalization in TVM but it requires control over the assignment index variable.
This is what I mean:
[assign-index value] = operation(x,y,z,w)
dest[assign-index] = value.
This allows me to do things like broadcasting where the shape of the destination is taken into account (specifically broadcasting a vector into the rows or columns of a matrix with an assignment call).  It also means that all of the elementwise operations are described using an num-elems argument which is the logical number of elements that the operation's broadcast shape has.  It also allows me to perform and describe operations that are tensor operations but keep the underlying backing store 1-dimensional vectors (which I know is not a big deal but it is more flexibility).
So binary operation looks like:
a = b op c.
Regardless of the dimensionality of a,b,c, it was transmitted to cuda like (binary-op! a b c op num-elems) and I let one function that could convert from elem-index->tensor-buffer-index via the tensor's shape and the broadcast shape of the operation do all the heavy lifting on all sides of the equation.  This is slow if that function isn't specialized for simple cases but with TVM I can use dynamic specializations of the function and produce new binary-op functions based on specific combinations of shape and the max-shape of the operation.  This is my hope, anyway.
Basically in most of the tvm examples I have seen the destination is implicit but TVM itself has figured out how to perform an operation that arrives at an index value by going through the tensor's shape and strides (and byte_offset) after halide does it's work.
So, precisely I want to say something like:

perform the (non-reducing-or-scanning) operation over Y dimensions but at the end here is a transformation from the Y indices to one final index to use when writing the data.

Can I override or change this function as a user or do I need to limit my operations to always broadcasting specifically to the the shape of the result thus allowing (most of) the tvm system to work unchanged?

If i understand correctly, you are asking for a specific scatter operation with given index operations. For arbitrary flexible about the final index specification, we might need to come up with a new primitive other than compute. TVM is designed to be flexible on that, and we could possibly come up with a operator def like those in scan.
Supporting arbitrary index scan order, however, can have impact on bound inference and workload partitioning on GPU. That is why usually the "pull" style compute is preferred.
On the other hand, the thing that you ask for, like storing things back to a one dimensional vector store implicitly, can already be supported. The idea is that the Buffer is a symbolic definition of the Tensor. It does not have to correspond to a real Tensor object that has strides, but instead it only declares how the variables maps to the Tensor object. Since this is done at compile time, different Buffer can give us different specialization of NDArray data structure, as long as we specifies how we could map it to generic Buffer.
Finally, it might be helpful to take look at topi, which already contains support for numpy style broadcasting

Yes, possibly scatter actually thinking about it possibly reduction which of course can't work.
Thanks for the pointer to the buffer object; that is very helpful.
I am researching topi and no need to really consider anything new; I am just trying to figure out how all the pieces map to concrete operations and what actual bounds there are.
This is plenty for now for me to chew on.


I don't understand how to running my own instance

Hello there,
I try to run my own instance of this Bot because I want to customize its name, avatar, but also its games rules for a RolePlay server .. !
But I don't understand your instructions (i'm French but i do my best).
My goal is to host the BOT on a Raspberry Pie...

I installed the NET Core runtime there,
Then I cloned the "master" branch into an empty directory "MyPacMan" at "Home".
Then I read "clone the linux-release branch for Linux systems"....
I'm trying to do it but it's impossible in a non-empty directory.
So I do it in another empty directory, different from the one where the "main" branch is installed.
"MyPacMan-Linux" at "Home".
I add an application on Discord/Developer, I add a bot, I copy the Token, I past this Token in "config.json" present in the "bin" directory of the "MyPacMan"...
I apply the 777 permissions to the "Pacman.dll" file in the "MyPacMan-Linux" dir, execute it and get the error as an attachment

I'm lost, and I need help to understand !
I really like your BOT and installing it in a personalized way on my Discord server is very important to me!
So I hope you can help me understand better!
Where should we clone the "linux-release" branch?
How to launch and configure the BOT by the DLL?
What's this about emotes to add?
Thank you for your feedback :3

Hello!
I think the problem here is that the pre-existing linux-release branch only works on x64 linux systems, while the Raspberry Pi is an ARM linux system. To run it there, you would have to compile the bot yourself on a different machine following the instructions. Then, manually put the generated files in your raspberry pi instead of using clone.
If you need more help, I'd be glad to assist you.

Hello,
This is indeed the first time I have to compile a.NET project and I am not sure what I am doing....
I deployed a Debian 9 with the prerequisites (.NET runtime & Core SDK + Visual Studio Code).
I launch a terminal and try the given command:
dotnet publish PacManBot.csproj --runtime linux-arm --configuration Release --self-contained
But it gives me a mistake:
MSBUILD: error MSB1009: The project file does not exist.
Switch: PacManBot.csproj

Do I have to create a Visual Code project named PacManBot and invoked the command inside the directory?
How and where to add the NuGet source?
And I really don't understand how the "linux-release" branch works without the bin folder (with the missing "config.json" file in the branch), without the resources,...

Oh, there is a big difference with the branches: the main branch is the source code, ready to compile. The linux-release branch is the already compiled (published) program, just for convenience.
Try using dotnet publish on the main branch, where the  .csproj is found.
If it doesn't work, let me know.

Okay then I don't use the linux-release branch ! Thanks for the explanations !
I tried to add the nuGet package, but it returns an lot of errors :
root@own-pacman:/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own# dotnet add package Discord.Net --version 2.1.1
  Writing /tmp/tmpCIBV57.tmp
info : Adding PackageReference for package 'Discord.Net' into project '/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj'.
info : Restoring packages for /home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj...
info :   GET https://api.nuget.org/v3-flatcontainer/discord.addons.emojitools/index.json
info :   NotFound https://api.nuget.org/v3-flatcontainer/discord.addons.emojitools/index.json 467ms
info :   GET https://api.nuget.org/v3-flatcontainer/discord.net.rpc/index.json
info :   OK https://api.nuget.org/v3-flatcontainer/discord.net.rpc/index.json 511ms
error: Unable to find package Discord.Addons.EmojiTools. No packages exist with this id in source(s): nuget.org
error: Unable to find package Discord.Net.Rpc with version (>= 2.0.0-beta-00860)
error:   - Found 5 version(s) in nuget.org [ Nearest version: 1.0.2 ]
error: Detected package downgrade: Discord.Net.Core from 2.1.1 to 2.0.1. Reference the package directly from the project to select a different version.
error:  Pacman -> Discord.Net 2.1.1 -> Discord.Net.Core (>= 2.1.1)
error:  Pacman -> Discord.Net.Core (>= 2.0.1)
error: Detected package downgrade: Discord.Net.Rest from 2.1.1 to 2.0.1. Reference the package directly from the project to select a different version.
error:  Pacman -> Discord.Net 2.1.1 -> Discord.Net.Rest (>= 2.1.1)
error:  Pacman -> Discord.Net.Rest (>= 2.0.1)
error: Detected package downgrade: Discord.Net.WebSocket from 2.1.1 to 2.0.1. Reference the package directly from the project to select a different version.
error:  Pacman -> Discord.Net 2.1.1 -> Discord.Net.WebSocket (>= 2.1.1)
error:  Pacman -> Discord.Net.WebSocket (>= 2.0.1)
error: Detected package downgrade: Discord.Net.Commands from 2.1.1 to 2.0.1. Reference the package directly from the project to select a different version.
error:  Pacman -> Discord.Net 2.1.1 -> Discord.Net.Commands (>= 2.1.1)
error:  Pacman -> Discord.Net.Commands (>= 2.0.1)
error: Detected package downgrade: Discord.Net.Webhook from 2.1.1 to 2.0.1. Reference the package directly from the project to select a different version.
error:  Pacman -> Discord.Net 2.1.1 -> Discord.Net.Webhook (>= 2.1.1)
error:  Pacman -> Discord.Net.Webhook (>= 2.0.1)
error: Package 'Discord.Net' is incompatible with 'all' frameworks in project '/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj'.

And so, if i tried to publish :
root@own-pacman:/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own# dotnet publish PacManBot.csproj --runtime %RUNTIME% --configuration Release --self-contained
Microsoft (R) Build Engine version 16.2.32702+c4012a063 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj : error NU1102: Unable to find package Discord.Net.Rpc with version (>= 2.0.0-beta-00860)
/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj : error NU1102:   - Found 5 version(s) in nuget.org [ Nearest version: 1.0.2 ]
/home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj : error NU1101: Unable to find package Discord.Addons.EmojiTools. No packages exist with this id in source(s): nuget.org
  Restore failed in 1.98 sec for /home/yuzer/Documents/own-pacman/Pac-Man-Bot-Own/PacManBot.csproj.

I tried to add the package with Visual Studio (into a Windows client), with dependencies ..
But there's a lot of mistakes too :

If i change the "ItemGroup" of the .csproj file, it's okay but i don't think is the right way to do it.
(And that doesn't allow the addition of the package)
If i try to put the dotnet command into this projet i've a similar error :

(This error is exactly similar without manual updates of the .csproj file)

Oof, seems like I'm a bit outdated by now. Not sure how to fix the package thing.

Ah, sorry about that ._.'
Can I still customize the code without this Package?
Or force the use of old versions?

I think you can try updating the packages to the latest versions and delete the non-existent packages. That might be easy with Visual Studio.
When I last worked on the bot, I used a myget.org link, which might have the older versions or might not even exist anymore.

It occurred to me that you can try using this command to fix the packages. I'm not sure it'll work, but it's promising:
dotnet restore -s https://www.myget.org/F/discord-net/api/v3/index.json
Putting this here so at least other people can see.

The bot uses a different library now so I'll close this issue


Skip labeling?

I have a lot of data points on a single graph and I would like to have the ability to label only every X points on the x axis.
There's a discussion going on right here: https://github.com/nnnick/Chart.js/issues/12 but the merge request hasn't been accepted yet. Is there an official way to manage the excessive labeling on the X axis?

Duplicate, and fixed in v2.0


Tweak api.dart

Tweak wording of some comments, use enhanced enum features. Try to be consistent about making variables final.

@natebosch Drive-by commenting.


add ability to specify output path

now accepts options to specify the output path:
# output to path/to/res/screen
$ cordova-splash -p path/to/res -s screen

To improve compabitility with the cordova splash screen plugin, the default output path is now config/res.  Note this breaks backwards compatibility. The --compat switch preserves the previous behavior, i.e. uses the respective platforms path.

I need something like this <3


Add heartbeat to WebSocket subscriptions

We already have a heartbeat driver, we just need to hook into it for the lifecycle of WebSocket subscriptions

Completed in #3740


css generation fails

Inside a docker container where the tool is not running under a sudo user, the following error is raised and the generation stops

Generating css files from scss-templates
Exception occurred:
File "/usr/local/lib/python3.10/site-packages/sass.py", line 266, in compile_dirname
with io.open(
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.10/site-packages/builders/../themes/sphinx_simplepdf/static/styles/main.css'

It looks like the sphinx generation gets called by a different user than the one used for installing the python packages.
This can be a general problem and can happen on each system.
Looks like we need to generate the ``main.css``` inside the output folder of the sphinx documentation so that we can be sure to have the needed rights.
I'll try some stuff :)

How is pdf customization planed / intended? so currently 99% fits but i would like / need some adaptions. What is the intended way? Below is the generated css section in the html file.
My "custom" fsp.css is included too early e.g. to overwrite settings in styles/main.css (but currently not generated/available) or is this the intended "personal"  css file there i have to put my changes for sphinx_simplepdf?
  <link href="_static/pygments.css" rel="stylesheet" type="text/css"/>
  <link href="_static/main.css" rel="stylesheet" type="text/css"/>
  <link href="_static/css/fsp.css" rel="stylesheet" type="text/css"/>
  <link href="_static/styles/main.css" rel="stylesheet" type="text/css"/>
  <link href="_static/assets/jsonview.bundle.css" rel="stylesheet" type="text/css"/>
  <link href="_static/sphinx-needs/libs/html/datatables.min.css" rel="stylesheet" type="text/css"/>
  <link href="_static/sphinx-needs/common.css" rel="stylesheet" type="text/css"/>
  <link href="_static/sphinx-needs/styles.css" rel="stylesheet" type="text/css"/>
  <link href="_static/sphinx-needs/layouts.css" rel="stylesheet" type="text/css"/>
  <link href="_static/sphinx-needs/modern.css" rel="stylesheet" type="text/css"/>

So i would suggest new variables for footer/header configuration. If you would agree i would make a pull request with these variables / adapted _pages.scss:

footer [True/False] default: False if True a "seperator" like for header is added
header_left: string: default counter(page) #like now Have to figure out how to handle the strings stuff
header_center: string: default empty
header_right: string: default: string(heading) # like now
footer_left, footer_center, footer_right: same as above

ok, i have a closer look at the cover, just watched the _pages.scss for usage of the counter and title in the header. i will contact on further questions.

This should be solved by #18, which does not make any more file operations in the site-package folder of the python installation.
Please reopen, if there are still problems in docker.


node NotReady , microk8s inspect with no errors, random node drop out of cluster

Hello,
attaching microk8s inspect and output from working node. This appear unexpected and nothing I do make this nodes works
root@brixone:~# microk8s.kubectl get nodes
NAME       STATUS     ROLES    AGE   VERSION
prox2      Ready         30d   v1.19.6-34+8e3147de1f0c4f
msi55      NotReady      56d   v1.19.6-34+8e3147de1f0c4f
corosync   NotReady      56d   v1.19.6-34+8e3147de1f0c4f
brixone    Ready         55d   v1.19.6-34+8e3147de1f0c4f
prox3      Ready         30d   v1.19.6-34+8e3147de1f0c4f
prox1      Ready         30d   v1.19.6-34+8e3147de1f0c4f
Best Regards,
inspection-report-20210105_140959.tar.gz

Hi @golgotow
There is this in the apiserver logs:
dqlite: proxy: first: remote -> local: read tcp <IP_ADDRESS>:19001-><IP_ADDRESS>:47880: read: connection reset by peer

What are the IPs of the nodes you have?
Can you try to microk8s remove-node (maybe with --force) on the failing nodes and try to rejoin them?

Hi @golgotow
There is this in the apiserver logs:
dqlite: proxy: first: remote -> local: read tcp <IP_ADDRESS>:19001-><IP_ADDRESS>:47880: read: connection reset by peer

What are the IPs of the nodes you have?
Can you try to microk8s remove-node (maybe with --force) on the failing nodes and try to rejoin them?

Hi @ktsakalozos
I will tried to remove node today, but my question is why app in inspect is running, but for example api server on 16443 not listen? Any way to investigate it more ?
Best Regards

Hi @ktsakalozos
I will tried to remove node today, but my question is why app in inspect is running, but for example api server on 16443 not listen? Any way to investigate it more ?
Best Regards

Hello,
I have no idea what happen, on node prox3 I did microk8sk stop/start and whole cluster start to work properly, before that whole cluster look like stucked.
I will close this issue later if no point how to investigate this kind of situation.
Best Regards

Hello,
I have no idea what happen, on node prox3 I did microk8sk stop/start and whole cluster start to work properly, before that whole cluster look like stucked.
I will close this issue later if no point how to investigate this kind of situation.
Best Regards

whole cluster start to work after restarting one of nodes .

whole cluster start to work after restarting one of nodes .


Regarding dataset

Hi, I can't access the dataset from the link you have mentioned. It would be great if you could just check the link for any discrepancies or provide any alternate way for me to access your dataset.
Thanks!

I have just tested, the link still works on my side. I don't know if I would be able to help more than that. Can you check again?


Automation for stale issues

During our planning session today we were discussing the possibility of implementing some kind of automation for dealing with stale issues. What are our options on this front?

Would the following simple heuristic work for us?

If the issue has an assignee or is attached to a milestone, don't touch it.
Otherwise:

If the issue's been open for 30 days without any activity, mark it as stale (as a way of pinging the original participants to either assign the issue to someone or to a milestone)
If the issue's been open for 60 days and still nobody's responded, close it.

It should be easy enough to implement with something like this stale action.

A previous argument against using some kind of automated process to deal with stale issues is that this isn't a large, high-traffic project and we shouldn't need this sort of automation, because we should be able to stay on top of things.
The trouble with this perspective is that it's cheap to create an issue, but far more expensive to triage it, especially when you don't have the full context on it or if the issue's vague. Also, sometimes issues buried deep in the issues list, by happy coincidence, inadvertently become non-issues - should we really have to dedicate triaging effort to digging up context and verifying that those kinds of issues have been addressed?
I suppose the question comes down to: where do we want to spend our (limited) attention? I'd personally like to spend zero attention on non-issues and let them fade quietly into the night 😁

While the argument with regards to low effort to create issues might be true for cases where people look for support for proper setup and such, it's not strong enough of an argument to apply to all kind of issues.
There is a large range of issues which hold important information which stay relevant over long time periods, just current capacity and priority prevents them from being resolved more swiftly. To illustrate the point, in the tendermint go project just now 2 1/2 year old issues were closed because the dialog around led to informed next steps in form of an ADR and likely follow-up implementations.

Go-Tendermint implements this for PRs using stale bot but it's a three-line addition to do issues as well

There is a large range of issues which hold important information which stay relevant over long time periods, just current capacity and priority prevents them from being resolved more swiftly.

True. And my desire's not at all to cull those kinds of issues automatically. In an urgent/important framework, I'm hoping to automate away the non-urgent, non-important issues in a simple, shared, decentralized way.
In one of our upcoming team meetings we should chat more about our general issue housekeeping 😁

We've decided for now in favour of #721 instead of automation. Perhaps in future we might add such automation to the project, but #721 will go a long way to avoiding this problem in the first place.


Required tests

Please add here tests that you would like to see on perfjs.info

[x] int to string
[x] string to int
[ ] sorting 10, 100, 1000, 100000
[ ] data structures - hash table (object), array, linked list and etc. With basic operation add, delete, insert, search and etc.
[ ] queue and stack implementation
[ ] mutable and immutable data structures


update proposal order

name: Pull request
about: Proposa a pull request
title: "Issue762 update proposal order"
labels:
assignees: ''

Description

修改tab分頁鏈接, 預設引導審查數DESC排序。
透過dj-registry設置字段reviews.enough, 調整足夠的審查數。

Steps to Test This Pull Request
Expected behavior
More Information
Additional context

In Taiwan we may say "預設" rather than "默認" : )

剛才跑起來測一下發現我之前漏掉一個東西，預設排序要是 "review 數少的" 排在前面，所以現在剛好相反唷，再麻煩改一下，感恩!

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6b19260). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #775   +/-   ##
=========================================
  Coverage          ?   75.55%
=========================================
  Files             ?       70
  Lines             ?     2684
  Branches          ?        0
=========================================
  Hits              ?     2028
  Misses            ?      656
  Partials          ?        0

Impacted Files
Coverage Δ

src/reviews/context.py
90.90% <ø> (ø)

src/events/forms.py
84.61% <0.00%> (ø)

src/reviews/admin.py
72.72% <0.00%> (ø)

src/proposals/forms/speakers.py
97.18% <0.00%> (ø)

src/core/templatetags/pycontw_tools.py
100.00% <0.00%> (ø)

src/users/views.py
85.58% <0.00%> (ø)

src/proposals/management/commands/slack.py
100.00% <0.00%> (ø)

src/core/data.py
66.66% <0.00%> (ø)

src/users/models.py
90.38% <0.00%> (ø)

src/proposals/admin.py
100.00% <0.00%> (ø)

... and 61 more

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 6b19260...37fd54f. Read the comment docs.


Error: 7 PERMISSION_DENIED: Missing or insufficient permissions

Loading the homepage, throws the following error in the Heroku app log:
2021-02-25T13:41:30.991870+00:00 app[web.1]: error: Serving an error page for /reading-history/teams.json?limit=5 2021-02-25T13:41:30.991882+00:00 app[web.1]: { message: '7 PERMISSION_DENIED: Missing or insufficient permissions.', 2021-02-25T13:41:30.991884+00:00 app[web.1]: stack: 2021-02-25T13:41:30.991886+00:00 app[web.1]: 'Error: 7 PERMISSION_DENIED: Missing or insufficient permissions.\n    at Object.callErrorFromStatus (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call.js:30:26)\n    at Http2CallStream.call.on (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:96:33)\n    at Http2CallStream.emit (events.js:203:15)\n    at process.nextTick (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:100:22)\n    at process._tickCallback (internal/process/next_tick.js:61:11)', 2021-02-25T13:41:30.991887+00:00 app[web.1]: code: 7, 2021-02-25T13:41:30.991888+00:00 app[web.1]: details: 'Missing or insufficient permissions.', 2021-02-25T13:41:30.991889+00:00 app[web.1]: metadata: { internalRepr: {}, options: {} }, 2021-02-25T13:41:30.991890+00:00 app[web.1]: note: 2021-02-25T13:41:30.991890+00:00 app[web.1]: 'Exception occurred in retry method that was not classified as transient' }

On the latest deployment the error is still there albeit the message has slightly changed:
2023-08-03T18:10:41.505034+00:00 app[web.1]: error: Serving an error page for /reading-history/teams.json?limit=5
2023-08-03T18:10:41.505057+00:00 app[web.1]: {
2023-08-03T18:10:41.505057+00:00 app[web.1]: message: '7 PERMISSION_DENIED: Missing or insufficient permissions.',
2023-08-03T18:10:41.505057+00:00 app[web.1]: stack: 'Error: 7 PERMISSION_DENIED: Missing or insufficient permissions.\n' +
2023-08-03T18:10:41.505059+00:00 app[web.1]: '    at Object.callErrorFromStatus (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call.js:30:26)\n' +
2023-08-03T18:10:41.505061+00:00 app[web.1]: '    at Http2CallStream.<anonymous> (/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:96:33)\n' +
2023-08-03T18:10:41.505061+00:00 app[web.1]: '    at Http2CallStream.emit (node:events:526:35)\n' +
2023-08-03T18:10:41.505072+00:00 app[web.1]: '    at /app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:100:22\n' +
2023-08-03T18:10:41.505073+00:00 app[web.1]: '    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)',
2023-08-03T18:10:41.505073+00:00 app[web.1]: code: 7,
2023-08-03T18:10:41.505074+00:00 app[web.1]: details: 'Missing or insufficient permissions.',
2023-08-03T18:10:41.505074+00:00 app[web.1]: metadata: { internalRepr: {}, options: {} },
2023-08-03T18:10:41.505075+00:00 app[web.1]: note: 'Exception occurred in retry method that was not classified as transient'
2023-08-03T18:10:41.505075+00:00 app[web.1]: }


CVSL-465 Adding new job to remove AP conditions in PSS period

already moved this files in another PR. So closing this.


Core ios11 layout

Short description of what this resolves:
Adds support for ios11 layout in cordova app

Merging this. This covers most use cases, but there are issues with a footer inside of tabs because a footer is no longer the "last child" but it still thinks it is. I want to discuss the navigation structure with @manucorporat and @danbucholtz to make sure it is what we want before diving in to it.


Added patches to 1.23 and updated patch version

Issue #, if available:
closes https://github.com/aws/eks-distro/issues/1437
closes https://github.com/aws/eks-distro/issues/1431
Description of changes:

Update to 1.23.13
Fix two CVEs

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

/approve

Closes https://github.com/aws/eks-distro/issues/1407


Copy info from OCP to solution

Make a function to copy info like the variable names from an OCP to a solution. This will be useful for CTDirect for instance:
https://github.com/control-toolbox/CTDirect.jl/blob/ad6d56290229e1f5539d634c6f9d318c39846465/src/solution.jl#L31

Done!


New version: Adamant.Messenger version 4.4.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @vedantmgoyal2009,
This manifest adds Apps and Features entries that aren't present in previous PR versions. Should these entries also be added to the previous versions?
(Automated response - build 566.)


Incorrect behavior of required attributes.

Current version of this library (0.9.1) uses _.intersection for comparison changed and invalidated attributes. But if no attribute defined in model, we have passing validation for this attribute despite of { required: true } rule.

Hi @Ky6uk,
First of all, can you confirm that this is still happening in the current version (v0.11.1)? (I assume it is since I remember seeing that _.intersection code, but it's still worth double-checking!)
Second, can you give us a test case? If you can give us an example of how to trigger this behavior, we can turn that into a unit test and that will help a lot in trying to fix this.
Thanks!


Change default values for bn.format

Motivation
Current default parameters for bn.format are:
{
  precision: 3,
  minPrecision: 1
}

let's say the user has 0.002313 ETH, format will show: 0.002. Abbreviated.
Which looks good. But normally while using the SDK, the user will need the right value, instead of an abbreviated one.
We should change default parameters to:
{
  precision: DECIMAL_UNITS, // will be 9
  minPrecision: 3
}

Usage example
No response
Possible implementations
No response

i'd like to work on it ! @LuizAsFight

hi @ryuusama09 , thanks for the interest!
go for it my friend, just make sure to fix tests that will break

No work has been done on this one right? Can I pick this one up? @LuizAsFight


*** Error adding [prompt_spaces] to filename。    AttributeError: 'list' object has no attribute 'translate'

I input the prompt word, and then two errors are displayed like this, but the picture can still be drawn after waiting 8-10 minutes, that is, there is the above error prompt.
I input the prompt word： best quality, masterpiece,1girl,indoors。and then two errors are displayed like this
*** Error adding [prompt_spaces] to filename
Traceback (most recent call last):
File "M:\SD\sdwebui\modules\images.py", line 462, in apply
replacement = fun(self, *pattern_args)
File "M:\SD\sdwebui\modules\images.py", line 367, in
'prompt_spaces': lambda self: sanitize_filename_part(self.prompt, replace_spaces=False),
File "M:\SD\sdwebui\modules\images.py", line 332, in sanitize_filename_part
text = text.translate({ord(x): '_' for x in invalid_filename_chars})
AttributeError: 'list' object has no attribute 'translate'
提示：Python 运行时抛出了一个异常。请检查疑难解答页面。

me too，same issue when generate pic

I sorted this out by putting [seed] in settings as filename template (instead of default blank).

thanks for debugging it

I sorted this out by putting [seed] in settings as filename template (instead of default blank).

[seed]-1？seed how to set filename template？thanks

Settings > Saving images/grids > [wiki] filename pattern > enter "[seed]" and tick "add number to filename while saving."
You will get filenames like 0001 9384948.png with the parameters/prompts/etc. embedded in the file, you can check them using PNG Info. (I right-click the images I want to keep and use "save as" anyway.)

thanks!

设置 > 保存图像/网格 > [wiki] 文件名模式 > 输入“[种子]”并勾选“保存时向文件名添加数字”。
您将获得类似 0001 9384948.png 的文件名以及参数/提示/等。嵌入在文件中，您可以使用 PNG Info 来检查它们。（我右键单击要保留的图像并使用“另存为”。）
I set SEED, but still have the above error message. Don't you have the above error message here?


Test

Type: Incorrect
Summary:
Test
Details:
Test
Resolution:
Test
Affected definitions:

lodash 1.1.1

You can review the change introduced to the full definition at ClearlyDefined.


feat: utilize the AbstractElement provided by font-awesome to build SVG element

Problem Statement
As a user of the FontAwesomeIcon component, I wanted to utilize duotone icons and could not do so with this package.
Proposed Solution
Instead of trying to port over the "converter" logic from react-fontawesome, I was able to keep the "build the SVG by hand" mentality, while also utilizing the AbstractElement provided to us by FontAwesome already.
In doing so, I was able to utilize SolidJS control Flow elements to allow for the elements to remain reactive when and if a new icon is passed in via the icon property.
Notes

I did replace most of the svg's attributes with those provided to us by the AbstractElement as FontAwesome already did all of the calculations for us that we had been doing before.
With the current set-up the svg's class and style attributes are still being manually set as they had been before to keep with the previous logic before these changes.

Gifs
Before: no duotone, but allowed for switching of icons

After: with duotone support and also allowing to switch from a duotone to non-duotone icon

I merged your changes prior to your most recent commits.
I then worked on supporting duotone icons and it appears we have implemented similar logic. We may need to review the changes as we took differing approaches.
For testing in relying parties:
the version I merged your original changes to is v0.1.1
the version supporting duo icons is v0.2.0
I see the issue with the falcon resulting in undefined now. did you experience the same issue prior to your final commits?

I then worked on supporting duotone icons and it appears we have implemented similar logic. We may need to review the changes as we took differing approaches.

Yeah, I was basically utilizing the AbstractElement provide by FontAwesome, and when I was looking through the object, I realized that they had the g element group the paths for the duotone icons.  FontAwesome provides a class for the g tag as well, which may come into play along with the "primary" and "secondary" classes that I believe we can override with css-variables 🤷
I'm actually curious how faicon().icon[4] as string[] works, as I was seeing the faicon().icon[4] was either a string or an array depending on if it represented multiple paths.  Also, because I was going down the AbstractElement path, I didn't actually see which is the "primary" vs the "secondary" which I guess only really matters if we were applying the FontAwesome classes to the icons.

I see the issue with the falcon resulting in undefined now. did you experience the same issue prior to your final commits?

Technically if the implementor of the FontAwesomeIcon component did not properly load the FontAwesome icon, then the faicon() would fail to load and throw a pretty nasty error that was not easily debuggable.  This was my approach to help you understand that you need to actually import the icon to use it / fix the icon class, etc.
Since you are solving this with a fallback, my method probably is not required anymore.

Updated my code to utilize your "errSVG", otherwise everything is back up-to-date with the most recent changes.
This will allow us to see the changes / discuss them if you want.

This looks good. Wondering if we should provide a console error to help with an invalid icon too.
One thing I'm curious about is what other benefits the AbstractElement provides to us and whether it gets us any closer to supporting more of their props.
Just something I need to get more background knowledge on. This is mergeable as stands.

This looks good. Wondering if we should provide a console error to help with an invalid icon too.
One thing I'm curious about is what other benefits the AbstractElement provides to us and whether it gets us any closer to supporting more of their props.
Just something I need to get more background knowledge on. This is mergeable as stands.

Yup, I will admit that I have an even better idea to make this even more resilient / allow for us to map closer to the react-fontawesome converter.js file while remaining plain JSX.  Sleep does wonders to the brain.
I'll write up another PR tonight that will componentize this a bit better which will allow for natural recursion, without the need to hardcode the path or groups based on position in the starting children array.
From there we should be able to test our output against their "faicon.html" value that is the the "expanded out" raw HTML version of the AbstractElement.


[NextJS Test]: Consistent false positives with Table of Contents

Description
We are consistently seeing false positive Percy reports for the highlight indicator of the Table of Contents on the NextJS test page:

Component(s) impacted
Table of Contents
Browser
Chrome
Carbon for IBM.com version
Canary
Severity
Severity 4 = The problem is not visible to or noticeable to an average user. Affects minor functionality, no workaround needed.
Application/website
Carbon for IBM.com NextJS Test Application
Package
@carbon/ibmdotcom-react
CodeSandbox example
https://percy.io/538fc19a/Carbon-for-IBM.com-NextJS-Test-App-Upstream/builds/14936838/changed/844277403?browser=chrome&browser_ids=20&subcategories=unreviewed%2Cchanges_requested&viewLayout=side-by-side&viewMode=new&width=1280&widths=375%2C1280
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Putting this back in pending scheduling, tried a few things and still seeing this issue.


Adding SpinAppCRD documentation

Signed-off-by: tpmccallum<EMAIL_ADDRESS>

PR here https://github.com/spinkube/documentation/pull/95


Item typehint is strictly array in Writers

So, if the item can be an array, object or anything then shouldn't we remove the array typehint from the Writer interface? Because currently it only accepts arrays.

In other words: do we have to convert the item to an array when it arrives at the Writer?

It's not really easy to remove this, because some writers accept only arrays. I removed some month the array type hints from the converts/items.
For example the ExcelWriter use phpexcel to create the spreadsheet. And i have no idea how we can extract the properties.

In this case, shouldn't we make the assumption that by the end of the process (aka the workflow gets to the writer part) the item should be converted into an array?
I think we should clear this (in the documentation) so that everyone knows why is this.
See this library: https://github.com/plumphp/plum/
It is inspired by data-import and it says it accepts any kind of data.

I am leaving this open as a reminder for documentation.

See this library: https://github.com/plumphp/plum/

Interesting, I didn’t know about plumphp. I’ll contact Florian and see whether it makes sense to combine our efforts.

In this case, shouldn't we make the assumption that by the end of the process (aka the workflow gets to the writer part) the item should be converted into an array?

I think we should clear this (in the documentation) so that everyone knows why is this.

Agreed. I decided to have arrays as the data element format: most readers can output it, most writers can handle it (and some, such as PHPExcel require it).


fix redundant code

What is the purpose of the change
XXXXX
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

could you provide some detail about this PR?

could you provide some detail about this PR?

The second condition is uesless. Two conditions from different branches to solve same bug.


fix: showScrollbarOnlyOnHover not working correctly for ScrollIndicator

Description
ScrollIndicator component improvements
Adds showScrollbarOnlyOnHover functionality to ScrollIndicator
Fixes #16283
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manually tested

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=83e5aeb

/ok-to-test sha=e2a2ea4

/ok-to-test sha=e2a2ea4

Release has already been updated with the latest version of design-system (1.0.18). Hence merging this PR is not necessary anymore.


Dragging the scrollbar to scroll is extremely finnicky

When I use my mouse to left click-and-drag the scrollbar in Euporie Notebook, the scrolling is very irregular. Additionally, when I release the left mouse button, the scroll bar sometimes continues to be dragged with the vertical motion of my mouse; an additional click on the scrollbar seems to remove this effect.
The versions of software I am using, as well as a GIF that  demonstrates my issue, are included below.

euporie 2.0.7
Python 3.10.4
Ubuntu 22.04
gnome-terminal 3.44.0

Figured that as well in the browser notebook demo. Imho the mouse move event gets only delivered if you are perfectly on the bar, as soon as you move one pixel to the left or right the event gets not through anymore.
@joouha Would it be possible to keep tracking the mouse moves for scrolling, if mousedown was triggered on the scroll bar? schematically:

mousedown on scrollbar --> disable all other mouse handlers (eg. cell selection), enable mousemove-scroll handler
mousemove-scroll handler:

mousemove anywhere (or within app/terminal focus) while left button pressed --> scroll by vertical offset
exit: upon mouseup (left button) disable itself and restore all other needed event handlers

Thanks for reporting
@jerch Yes you are exactly correct - the current scrollbar implementation only recognizes drag events when the mouse is over the scrollbar itself.
There's no built-in support for this in prompt-toolkit, but I've got a couple of idea how it could be implemented - I'll take a stab this soon!

Even with the mouse maintained over the scrollbar, I've noticed that the scrolling resolution is lower when I scroll by dragging the scrollbar than when I scroll with the mouse scroll wheel, where I get line-by-line resolution.
Based on quick testing, scrolling with the scrollbar generally seems to move in increments of 5, 6, or 7 lines, depending on things (perhaps rounding related?). Additionally, when scrolling down and starting at the top of the cell, e.g. with line 1 at the top of the screen, excluding the top cell border (green in the image below), the screen first scrolls up to include the top cell border and maybe some of the next cell, before beginning to scroll down when you drag further. This causes the first "effective" increment to be lower (3 or 4 in my quick testing).

The low scrolling resolution when dragging the scroll-bar is because the mouse position is only reported to the nearest terminal character cell. Especially for long notebooks, this will result in large scroll jumps between scroll-bar positions, because the vertical cell resolution of a terminal is generally not very high.
I've just seen that some terminals support reporting mouse co-ordinates in pixel rather than terminal cell, so it might be possible to improve things here. This will be a bit complicated to implement though.

The initial scroll-bar jumping you're seeing looks like a bug caused by an off-by-one error to me - this should be fixable.

I've just seen that some terminals support reporting mouse co-ordinates in pixel rather than terminal cell, so it might be possible to improve things here. This will be a bit complicated to implement though.

Yes, there is an old DEC standard for this - locator protocol. But I think thats only implemented by very few terminals (xterm has it). I remember a discussion in terminal-wg about extending the SGR mouse protocol by pixel notions. Not sure if any terminal does that by now.

I found out about it here: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Extended-coordinates
WezTerm, Kitty, Foot & Countor also appear to support it
Would be really cool to have it in xterm.js :smiley:
The only problem is I'm not sure there's any way to detect whether a terminal supports it

Oh wow, didnt know that SGR-pixels is a thig in xterm. Thanks for the headsup.

The only problem is I'm not sure there's any way to detect whether a terminal supports it

You can try to detect the SGR-pixels mode state with DECRQM. This would either return:

0: not recognized
1: set
2: reset
3: permanently set
4: permanently reset

So a terminal properly implementing DECRQM should notify you with 0, if it does not know 1016. If it knows it, it would send 1 or 2, depending on its state.
For a terminal not imlementing DECRQM (no result at all) I think you can safely assume no support at for it. Currently xterm.js lacks both, as most older term libs do. Guess we should fix that in xterm.js...

@joouha SGR-pixels is now in xterm.js master, will see about DECRQM.

Yes, there is an old DEC standard for this - locator protocol. But I think thats only implemented by very few terminals (xterm has it). I remember a discussion in terminal-wg about extending the SGR mouse protocol by pixel notions. Not sure if any terminal does that by now. (Maybe I gonna warm up that topic for xterm.js, back then I kinda refused the idea of pixel precision, as it creates tons of event messages.)
Maybe @textshell knows, if there is some progress regarding a pixel precise SGR-like mouse report?

I would recommend against trying to do anything with the old locator protocol. It's been a bit since i looked at it, but it seemed like something best left historic when i looked. Iirc it's even off in common xterm configurations.
Not sure about SGR-Pixels mode. I personally dislike mixing pixels into terminal controls, because fractional cells would have been a more natural unit in my view. But you generally only get what terminals implement. But then guessing the scaling factor also when terminals a resized is going to be somewhat challenging.

Quick update - I've got both global mouse dragging and pixel-resolution scrolling working. I just need to tidy some things up a bit before pushing. But here's a sneaky preview:
pixel-scrolling.webm
(@willmcgugan - I feel like this SGR-Pixel scrollbar dragging is something that should be in texual. It would make your scroll-bars even more soothing!)

DECRQM also landed in xterm.js. The next major version (v5.0) will contain both, mouse SGR-pixels reports and DECRQM.

I've released v2.0.8, which includes fixes for both parts of this issue (you will need to use a terminal which supports SGR-pixel reporting, like wezterm, kitty, xterm, etc.).
@jerch This seems to work great in xterm.js v5.0.0 - thanks for implementing SGR-pixel support!
Now I need to update my browser notebook demo...


reorder texts by indices

It seems there is a small bug in train.py and decode.py. In train.py：
supervision_segments = supervision_segments[indices]
texts = supervisions['text']
assert feature.ndim == 3
# print(supervision_segments[:, 1] + supervision_segments[:, 2])

The "texts" is not reorder by indices, while supervision_segments have been reorder. And in decode.py there is same bug.
I reorder "texts" by indices and retrain the model, the WER reduce to 87.01% after 5 epoches.

Fantastic!
I wonder if it might be easier if we reorder our hyps by the inverse of the indices, so that we can process things in the same order as they were given to us?
maybe:
    def invert_permutation(indices):
         ans = torch.zeros(indices.shape, device=indices.device, dtype=torch.long)
         ans[indices] = torch.arange(0, indices.shape[0], device=indices.device)
         return ans

(note: would only work if indices has long type)

Let me merge for now though, so we have more meaningful WERs.

Now that we fixed this problem we may want to re-check tuning the bias scale.

@csukuangfj is there online documentation for the Python API of class _k2.RaggedInt ?  Or of RaggedShape?

@csukuangfj is there online documentation for the Python API of class _k2.RaggedInt ? Or of RaggedShape?

Doc for RaggedShape is added in https://github.com/k2-fsa/k2/pull/532
Will add doc for  _k2.RaggedInt later.


Environment

RxJS version: 7.2.0

Without a minimal reproduction demonstrating the problem, this isn't actionable. Issue templates exist for a reason.

There's no minimal reproduction because there's no information on the error message.
And so is RXJS <-> Angular <-> VSCode  relation.
And so it's better to keep on promises and callback hell.

So far our experiences, majority of this error is coming from application configuration / runtime / bundler or other surroundings.
We'd like to investigate further, but there's 0 way we can without additional information. If you believe this is core rxjs bugs please provide some more context other wise team member cannot try to reproduce, or debug.

@kwonoj I can't be more grateful of the simple clue you gifted me in so little words.
On times where compassion is a depleted value, when an anonymous empathetic  is patient and kind, you get a great knowledge of who is who in this business.
Your apparently small attention just encouraged me to share all the information I can on this matter.
Let me show you my gratitude one more time.


Audio/Video in single "ondataavailable" response

Original issue here:

https://github.com/muaz-khan/WebRTC-Experiment/issues/303#issuecomment-70055297

@viveksatle Plz use this forum for MediaStreamRecorder.js questions. Otherwise, directly send me emails at<EMAIL_ADDRESS>https://github.com/muaz-khan/WebRTC-Experiment is for general issues only.
BTW, I'll bring such kind of demo soon.

Fixed:

https://github.com/streamproc/MediaStreamRecorder/commit/28a74063633a4ad4dc961d0b88da38ddb70b68d6


fix: allow workflow.failures variable in exit hooks. Fixes #12789

Updated version of Original PR #12798:

Fixes #12330
Motivation
The Lifecycle-Hook docs say workflow.failures is available in exit hooks but it is failing during validation, check https://github.com/argoproj/argo-workflows/issues/12330#issuecomment-1995868147.
This seems to be a regression but I couldn't find the PR that introduced this issue so I just fixed it.
Modifications
The variable workflow.failures was added to the scope when validating the template used in exit hook like:

hooks:
    exit:
      template: fail

Verification
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: exit-handlers
spec:
  entrypoint: pass
  hooks:
    exit:
      template: fail
  templates:
  - name: pass
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["exit 1"]
  - name: fail
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["echo {{workflow.failures}}"]

@agilgur5
Thank your fix.

It looks like you resolved https://github.com/argoproj/argo-workflows/pull/12798#discussion_r1530090432 but not https://github.com/argoproj/argo-workflows/pull/12798#discussion_r1530089675

The above discussion is not yet complete, and just fixing the tests is not sufficient, is it?

@agilgur5 @tczhao ping

Hi @Bo0km4n
Sorry, couldn't reply soon enough.

please fix the lint issue (reasoning: Using require.NoError instead of assert.NoError will allow the tests to fail faster. assert.NoError allows the test to continue, only failing at the very end. require.NoError fails immediately)
Unless there are other challenge, the approach in #13246 does make more sense to me

It looks like you resolved #12798 (comment) but not #12798 (comment)

The above discussion is not yet complete, and just fixing the tests is not sufficient, is it?

You'd have to resolve that discussion as well.
I'll let Tianchu take lead on this as my hands are more than full 😅


TexLive needs to be upgraded

The newest version of TexLive is TexLive 2020.But the version which I can find in winget is TexLive 2019.It looks like it needs to be upgraded
TeX Live [TUG.TeXLive] Version: 2019 Publisher: TeX User Group AppMoniker: texlive Description: TeX Live is intended to be a straightforward way to get up and running with the TeX document production system. Homepage: https://www.tug.org/texlive/ License: LPPL/GPL License Url: https://www.tug.org/texlive/copying.html Installer:   Type: Nullsoft   Download Url: https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/2019/tlnet-final/install-tl-windows.exe   SHA256: 908185617d60d79f3873b65ac01e98aa104e13484028263d3bbbfd9b494316e3

Hey @kelejiayan, thanks for creating an issue for this. However, you've chosen the wrong project - winget-cli is for the actual winget program itself whereas your request is about a package. Package related requests belong in https://github.com/microsoft/winget-pkgs/issues


What could be the issue

java.lang.NullPointerException:` Decryption-Code is not set!
        at org.petschko.rpgmakermv.decrypt.Decrypter.decryptFile(Decrypter.java:217)
        at org.petschko.rpgmakermv.decrypt.GUI$GUI_Decryption.doInBackground(GUI.java:359)
        at org.petschko.rpgmakermv.decrypt.GUI$GUI_Decryption.doInBackground(GUI.java:275)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at javax.swing.SwingWorker.run(SwingWorker.java:334)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

Can you please tell me, what you've done before the error occoured?
"Decryption-Code is not set!" - Means that there is no Decryption-Key (Found?), but it should not crash so please tell me your steps to reproduce that =)

Is not crashing, for every file in the folder it just throws the error. I see it in the console. In the output folder I find just the encrypted files.

Ok, figured out, it seems the game is using some other technique to encrypt the game data to protect the System.json file. After I decrypted the System.json and placing it in the folder your tool worked properly.
Thanks!

Ah okay, glad you figured out on your own =) But thanks for reporting anyway

I will show a message if the Decryption-Key will not found so that it is less confusing - I will implement that! (Try it on my own it just try to decrypt no matter if the key is missing...)

Is added to the next Version. It also handles non-read access on the Decryption-Key-File
See: https://github.com/Petschko/Java-RPG-Maker-MV-Decrypter/commit/b11f259b478950af8e5fd908fde346686eb5331e


FIX - Broken link to documentation artifact

So far, CI doesn't expose the link to the documentation artifact.

no way to test this I guess since the CI's use the version in main to run ?

Codecov Report

Merging #620 (4edd438) into main (c0eef00) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #620   +/-   ##
=======================================
  Coverage   55.02%   55.02%
=======================================
  Files          44       44
  Lines        2853     2853
  Branches      524      524
=======================================
  Hits         1570     1570
  Misses       1165     1165
  Partials      118      118


Is it possible to use animations?

Like this or this. Could you provide an example?

Got it, thanks


Update for Xcode beta 4

Able to build project on Xcode beta 4 without change any APIs.

Hi,
I've just merged a PR (#133) that adds Xcode 8 b4 support. If there are any extra changes needed please update this PR or start a new one and I'll take a look. Thanks very much for your help!
Matt


add back :doc command

Looks like it's already there? 🤔

is it?

@sockmaster27 Ping

Ah, thought you meant in the REPL


Add endless-sky v0.9.8

i came here to make this PR, only to realize @r15ch13 had already made this suggestion in #1.
(btw, did you happen to get that tip from a certain devrant post?)
anyways, here's a working endless sky manifest.

Thanks! :smiley:

(btw, did you happen to get that tip from a certain devrant post?)

What do you mean? I don't know about it.

i meant r15tch13 ;)

@MCOfficer yep, stumbled over it on devrant :grin:


[feat] Create mate backend functionalities

Changes made
This PR adds functionalities to the backend so that mates can be added. The frontend communicates this function via GraphQL, and that has also been added. Only the types that are returnable has been added to the GQL schema for now (i.e. user is not typed yet).
Chain PRs:

backend [THIS] #49
frontend #50
migration script #51

New Models:

Mate
Family
Sync

For backward compatibility purposes, a new unassigned_family_id is created and added if it does not exist in the current user.
Screencapture (if applicable)
https://user-images.githubusercontent.com/12789302/138609928-7cf33369-2b42-49a7-8f52-ea3fbd2791ed.mov
Work left to be done

@EpicPi didn't touch error_bound since changing those would require refactoring of current code structures, which we would have to do anyways in another PR. Added another tix for it.


Do we know what the minimum version of sqlite3 is required?

I see you're using circle ci with an image that has sqlite v 3.27.2
I got independent evidence that the library works with 3.28.0
However, when I attempt to deploy to AWS linux (sqlite 3.7.17), as far as I can tell, as soon as any calls are made to the library (which does load via CDLL), the thread exits.
Is there some minimum version or is my app more likely crashing for some other reason?

Hmm... I didn't think this was using anything specific to recent SQLite versions (in fact, deliberately not using the recent versions of SQLite data structures internally).
To check on the AWS Linux system... which one specifically? (So I can try to reproduce the issue)

FROM amazon/aws-lambda-python:3.9 - pulled within the last few days.
I've already tried to yum install every possible version of sqlite, sqlite3, libsqlite3-dev, libsqlite3-devel -- only 1 of those exists and it reports the "lastest available is already installed"

On that image I get issue as well:
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested

and then when trying to connect to run a query
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction

or
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault

So I did suspect that the Docker image isn't suited to my platform.
But... running the command line program sqlite3 I can connect and query a database fine.
So it could well be something that's up with the code here. When developing for example, if I didn't define a function that ended up being called by SQLite, I would get a segmentation fault. It could be that that version of SQLite needs a function that hasn't been defined. Will ponder+investigate more.

This is not a final solution, but this is what I had to do to upgrade & use a different sqlite3 lib
FROM amazon/aws-lambda-python:3.9
RUN yum install -y tar gzip gcc make
# https://www.sqlite.org/2021/sqlite-tools-linux-x86-3360000.zip
COPY binaries/sqlite-autoconf-3360000.tar.gz /var/task
RUN ls /var/task/sqlite-autoconf-3360000.tar.gz
# curl https://www.sqlite.org/2020/sqlite-autoconf-3360000.tar.gz | tar xzf - && \
RUN tar -xzf /var/task/sqlite-autoconf-3360000.tar.gz && \
 cd /var/task/sqlite-autoconf-3360000 && ./configure && \
 cd /var/task/sqlite-autoconf-3360000 && make && \
 cd /var/task/sqlite-autoconf-3360000 && make install && \
 rm -r /var/task/sqlite-autoconf-3360000

and then
get_libsqlite3=lambda: cdll.LoadLibrary(
                                      {
                                          # 'linux': 'libsqlite3.so.0',
                                          'linux': '/usr/local/lib/libsqlite3.so',
                                          'darwin': 'libsqlite3.dylib'
                                      }[platform])

So there is some minimum version of sqlite, 3.36 works okay

(Thanks for the above code: suspect it will be useful)
Also, I have a suspected minimum version of SQLite: 2017-08-01 (3.20.0). Looking at https://www.sqlite.org/changes.html that version adds the sqlite3_prepare_v3 function, which is currently used here. I'll see if I can get sqlite3_prepare_v2 working

And I think I have: https://github.com/michalc/sqlite-s3-query/pull/12
(And now released to pypi)

So as of now, I think that the minimum version would be 2007-09-04 (3.5.0) alpha, but not actually tested anything before 2013-05-20 (3.7.17)


Release 8.1.0 introduce an undocummented breaking change in MatMenu

Reproduction
Working version on Material 8.0.0: https://stackblitz.com/edit/components-issue-6khp86
Non-working version on Material 8.1.0: https://stackblitz.com/edit/components-issue-bntnr9
Caused by https://github.com/angular/components/commit/49e8c59
Steps to reproduce:

Open menu
Try to use keyboard navigation - up-down arrows (does not work on version 8.1.0)

It also does not work in case of opening sub-menus by mouse hover
Expected Behavior
It should work the same since it is not mentioned in changelog and is introduced in minor version
Actual Behavior
In version 8.1.0 when mat-menu-item is used inside of nested component, it does not register to parent.
Environment

Angular: 8.0.0
CDK/Material: 8.1.0
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu):  Windows

I came across the very same problem after updating the versions recently and it's a pure blocker for me...

Also, if I am not mistaken, this blocks the only way how to use MatMenu for infinite nesting

I was just about to report this issue myself.
I wrote a small library for dynamic menu rendering (ng-action-outlet - feel free to use it) and this issue really is a show stopper.
This is either a BREAKING CHANGE either a bug. Preferably a bug, because we for sure need the possibility to infinitely nest menus.
I think this is the commit: 49e8c59

Any news here? We're waiting for this fix like children for Christmas...

This relates to the existing #16457.  There was PR (#16502) to revert the breaking change.  It was approved yet never merged, simply closed with no explanation.

@jelbourn can we get some kind of comment whether the mentioned pull request was closed intentionally? In our team we need to decide whether to implement some ugly workarounds to make it work with latest Material or whether we can wait some time for reverting the breaking change.
It would help us a lot to at least know what to expect. Thanks in advance!

That fact that menu items previously ignored component boundaries was a bug and was inconsistent with the way that all other Angular components work. The underlying issue also caused menu items to be in the wrong order for keyboard interaction, which is a pretty bad bug (especially for a11y). We have no plans of reverting this change, but we have been looking into other ways of programatically providing additional items for the menu.

@jelbourn thanks a lot for the explanation 👍

Bottom line is, currently material does not support programmatic nesting which breaks some applications. That's a bad news.

Could we perhaps keep this issue opened until the functionality is available again (unless it's not in your plans any more to support it)?

It's something we're thinking about more broadly, and it has implications on things like integrating virtual scrolling into the existing components, but there's no ETA now

To everyone looking for dynamic menus in angular 8 i made a working example:
https://stackblitz.com/edit/dynamic-material-menu-angular-8

I managed to update ng-action-outlet above Material ~8.1.0. This required a substantial refactoring though.
If you're writing your own component to render menus dynamically, the key is to maintain the direct menu nesting between mat-menu and mat-menu-item, without any components in between, due to that recent material change of querying for direct children only.
Example from @Harpush demonstrates this nicely: https://github.com/angular/components/issues/17073#issuecomment-548547557

Anyone interested in a library, here are the usage examples:


build: implement collective typecheck

This PR replaces #2057.
Implement a collective typecheck action that can be invoked in the root of the monorepo with yarn typecheck or in watch-mode with yarn watch:typecheck. Include the watch-mode typecheck action as part of yarn start (a.k.a yarn watch).
To activate collective typecheck for a package in the monorepo, its package.json file should specify:
{
  "embark-collective": {
    "typecheck": true
  }
}

-or-
{
  "embark-collective": {
    "typecheck": {...}
  }
}

Where {...} above is a tsconfig.json fragment that will be merged into the config generated for the package according the same rules that tsc applies when merging configs.
When collective typecheck begins, it generates a tsconfig.json for the root of the monorepo and for each package that is activated for the action. If the generated JSON is different than what's on disk for the respective root/package config, or if the config is not present on disk, then it will be written. Changes to generated tsconfig.json files should be committed; such changes will arise when there are structural changes to the monorepo, e.g. a package is added, removed, moved and/or the directory containing it is renamed. Since the configs are only generated at the beginning of collective typecheck, when structural changes are made in the monorepo yarn typecheck (or yarn start or yarn watch:typecheck) should be restarted.
Nearly all of the packages in the monorepo (i.e. all those for which it makes sense) have been activated for collective typecheck. Even those packages that don't contain .ts sources are activated because tsc can make better sense of the code base as a whole owing to the project references included in the generated tsconfig.json files. Also, owing to the fully cross-referenced tsconfig.json files, it's possible for tsc to type check the whole code base without babel (yarn build or yarn watch:build) having been run beforehand.
NOTE that a "cold typecheck" of the whole monorepo is resource intensive: on this author's 2019 MacBook Pro it takes around three minutes, the fans spin up, and tsc uses nearly 0.5 GB of RAM. However, once a full typecheck has completed, the next full typecheck will complete in a few seconds or less; and when running in watch-mode there is likewise a big speedup once a full typecheck has completed, whether that full check happened before it's running in watch-mode or when watch-mode itself resulted in a full check before switching automatically to incremental check, as well a corresponding big reduction in resource consumption. A full check will be needed any time yarn typecheck (or yarn start or yarn watch:typecheck) is run in a fresh clone plus yarn install, or after doing yarn reboot[:full] or yarn reset.
The combination of options in each generated package-level tsconfig.json and the root tsconfig.base.json result in tsc writing .d.ts files (TypeScript declaration files) into the dist/ directory of each package. That output is intended to live side-by-side with babel's output, and therefore the "rootDir" option in each generated config is set to "./src".
In projects activated for collective typecheck, .js may be converted to .ts and/or .ts sources may be added without any additional changes needed in package-level package.json.

Reorganize types in packages/core/typings (a.k.a @types/embark) into packages/core/core (embark-core), refactor other packages' imports accordingly, and delete packages/core/typings from the monorepo. This results in some similarly named but incompatible types exported from embark-core (e.g. Events and EmbarkEvents, the latter being the one from packages/core/typings); future refactoring should consolidate those types. To avoid circular dependency relationships it's also necessary to split out Engine from embark-core into its own package (embark-engine) and to introduce a bit of duplication, e.g. the Maybe type that's now defined in both embark-i18n and embark-core.
In the process of the types reorg, move many dependencies spec'd in various package.json to the package.json of the package/s that actually depend on them, e.g. many are moved from packages/embark/package.json to packages/core/engine/package.json. Related to those moves, fix some Node.js require-logic related to bug-prone dependency resolution.
Fix all type errors that appeared as a result of activating collective typecheck across the whole monorepo.
Reactivate tslint in packages/core/core and fix the remaining linter errors.
Tidy up and add a few items in the root package.json scripts.
Bump lerna from 3.16.4 to 3.19.0.
Bumpt typescript from 3.6.3 to 3.7.2.
Bumpt tslint from 5.16.0 to 5.20.1.
Make various changes related to packages' import/requireing packages that weren't spec'd in their respective package.json. More refactoring is needed in this regard, but changes were made as the problems were observed in the process of authoring this PR.

A proper commit message has been added and copied into this PR's description. 🎂
The WIP commits will be squashed if/when the PR receives approvals.


[ZDF] added current test case

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Other tests were no longer available (404) so I added a new/current one

Remove 404 test. Also try to find a test that will last longer (this one will expire in about a month).

Hope those changes are satisfactorily


apply() blocks ignore run-as when set by a plan

If a plan contains an apply() block and is called by another plan passing _run_as, the apply() block in the called plan will ignore _run_as when applying the catalog.
Example code:
plan a() {
  run_plan(b, _run_as => 'someone')
}

plan b() {
  apply('group') { }
}

In this case, running plan a will cause the apply() block to be evaluated as whatever the default user for the target is, rather than as "someone".
This misbehavior only happens for _run_as as a parameter to run_plan. Passing --run-as on the CLI or setting run-as in the inventory both work as expected.
This appears to happen because the applicator bypasses the executor and calls the transport directly, causing it to ignore the run_as variable on the executor.

Closed by #1196


Can't reset device linker

Issue Description:
I can't reset device linker
I used the device linker (Linked) and then shift + right click the normal block but nothing happens
What happens:
Nothing happens
What you expected to happen:
Reset Device Linker

Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

Thutcore: 8.2.0
Minecraft: 1.16.5
Forge: 1.16.5 36.2.1

I can't reset it too


Harmony Causes Failure to Start

Hello-
When I have Harmony in my config file homebridge won't start, if I remove it, it starts just fine. Below is the output I'm getting.

<EMAIL_ADDRESS>start /home/phil/homebridge
DEBUG=* node app.js || true

*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister
Starting HomeBridge server...

IMPORTANT: Homebridge is in the middle of some big changes.
Read more about it here:
https://github.com/nfarina/homebridge/wiki/Migration-Guide

Loading 2 platforms...
[Nest] Initializing Nest platform...
[Nest] Fetching Nest devices.
node-stringprep Cannot load StringPrep-0.7.2 bindings (using fallback). You may need to npm install node-stringprep +0ms
node-stringprep Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/node_modules/node-stringprep/node_modules/bindings/bindings.js:76:44)
at Object. (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/node_modules/node-stringprep/index.js:10:39)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32) +2ms
node-stringprep Cannot load StringPrep-0.7.2 bindings (using fallback). You may need to npm install node-stringprep +0ms
node-stringprep Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-core/node_modules/node-stringprep/node_modules/bindings/bindings.js:76:44)
at Object. (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-core/node_modules/node-stringprep/index.js:10:39)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32) +0ms
[Living Room Harmony Hub] Initializing LogitechHarmony platform...
[Living Room Harmony Hub] Searching for Logitech Harmony remote hubs...
harmonyhubjs:discover:explorer Explorer(61991) +0ms
harmonyhubjs:discover:ping Ping(61991) +2ms
harmonyhubjs:discover:explorer start() +0ms
harmonyhubjs:discover:responsecollector ResponseCollector(61991) +1ms
harmonyhubjs:discover:responsecollector start() +0ms
harmonyhubjs:discover:ping start() +17ms
Loading 1 accessories...
[Patio Lights] Initializing WeMo accessory...
[Patio Lights] Searching for WeMo device with exact name 'Patio Lights'...
harmonyhubjs:discover:ping emit() +1s
harmonyhubjs:discover:responsecollector handle new connection +591ms
harmonyhubjs:discover:responsecollector received data chunk +4ms
harmonyhubjs:discover:responsecollector connection closed. emitting data. +1ms
harmonyhubjs:discover:explorer discovered new hub Living Room Harmony Hub +1ms
[Living Room Harmony Hub] Found Logitech Harmony remote hub: <IP_ADDRESS>
harmonyhubjs:discover:explorer stop() +0ms
harmonyhubjs:discover:ping stop() +0ms
harmonyhubjs:discover:responsecollector stop() +0ms
[Living Room Harmony Hub] Connecting to Logitech Harmony remote hub...
harmonyhubjs:client:login login on hub <IP_ADDRESS> +1ms
harmonyhubjs:client:login:hub perform hub login +0ms
harmonyhubjs:client:login:hub retrieve identity by logging in as guest +0ms
node-stringprep Operation does not exist +5s nodeprep [TypeError: Cannot read property 'StringPrep' of undefined]
node-stringprep Operation does not exist +1ms resourceprep [TypeError: Cannot read property 'StringPrep' of undefined]
node-stringprep Operation does not exist +0ms nameprep [TypeError: Cannot read property 'StringPrep' of undefined]
xmpp:client:session start socket connection +0ms
xmpp:connection setup socket +0ms
xmpp:connection use lazy socket +1ms
xmpp:connection setup stream +1ms
xmpp:connection send: <stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" to="x.com"> +7ms
xmpp:connection receive: <stream:stream from='x.com' id='0d2b5891' version='1.0' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>stream:featuresPLAIN</stream:features> +17ms
node-stringprep Operation does not exist +31ms nodeprep [TypeError: Cannot read property 'StringPrep' of undefined]
node-stringprep Operation does not exist +0ms nameprep [TypeError: Cannot read property 'StringPrep' of undefined]
xmpp:connection send: Z3Vlc3RAeC5jb20AZ3Vlc3QAZ3Vlc3Q= +3ms
xmpp:connection receive:  +16ms
xmpp:connection send: <stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" to="x.com"> +1ms
xmpp:connection receive: <stream:stream from='x.com' id='0d2b5891' version='1.0' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>stream:features</stream:features> +13ms
xmpp:connection send: gatorade +1ms
xmpp:connection receive: 1111/gatorade +9ms
node-stringprep Operation does not exist +40ms resourceprep [TypeError: Cannot read property 'StringPrep' of undefined]
node-stringprep Operation does not exist +1ms nameprep [TypeError: Cannot read property 'StringPrep' of undefined]
harmonyhubjs:client:login:hub XMPP client connected +74ms
xmpp:connection send: method=pair:name=harmonyjs#iOS6.0.1#iPhone +2ms
xmpp:connection receive:  +12ms
harmonyhubjs:client:login:hub received XMPP stanza:  +13ms
xmpp:connection receive: serverIdentity=734df069-67bb-4e40-9041-ff95052667c8:hubId=97:identity=734df069-67bb-4e40-9041-ff95052667c8:status=succeeded:protocolVersion={XMPP="1.0", HTTP="1.0", RF="1.0", WEBSOCKET="1.0"}:hubProfiles={Harmony="2.0"}:productId=Pimento:friendlyName=Living Room Harmony Hub +185ms
harmonyhubjs:client:login:hub received XMPP stanza:  +187ms
/home/phil/homebridge/node_modules/harmonyhubjs-client/lib/login/hub.js:63
if(response.identity && response.identity !== undefined) {
^
TypeError: Cannot read property 'identity' of undefined
at Client. (/home/phil/homebridge/node_modules/harmonyhubjs-client/lib/login/hub.js:63:15)
at Client.emit (events.js:107:17)
at Client.onStanza (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/index.js:224:14)
at Connection.emit (events.js:107:17)
at Connection.onStanza (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:370:14)
at StreamParser. (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:226:14)
at StreamParser.emit (events.js:107:17)
at SaxLtx. (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:59:22)
at SaxLtx.emit (events.js:107:17)
at SaxLtx._handleTagOpening (/home/phil/homebridge/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/node_modules/ltx/lib/parsers/ltx.js:30:18)

same here

https://github.com/nfarina/homebridge/issues/185#issuecomment-141369530
helped to get it recognized, but I cannot use it because of an error that follows later

I'm new to this so I'm still not sure what to do, any progress on this?

It's hopefully fixed in #299.

Is there a way to know when it's merged?

If you're "following" the repo on github, you should get an email when a pull request is merged in. Along with lots of other emails.

Just merged.  Hope it helps


ReferenceError: debug is not defined

Hi, I'm getting an error when trying to get the magic link, it was working fine, and suddenly it started giving me that error, this is what my config looks like:
Passwordless.configureFromAmplify(
  Amplify.configure({
    ...awsConfig,
    region: awsConfig.aws_cognito_region,
    cognitoIdpEndpoint: awsConfig.aws_cognito_region,
    userPoolId: awsConfig.aws_user_pools_id,
    userPoolWebClientId: awsConfig.aws_user_pools_web_client_id,
  })
).with({
  fido2: {
    baseUrl: apiUrl,
    authenticatorSelection: {
      userVerification: 'required'
    },
    rp: {
      name: 'some-name,
      id: 'localhost'
    }
  },
  debug: console.debug
})

And this is the actual error:
ReferenceError: debug is not defined
    at respondToAuthChallenge (cognito-api.js:96:1)
    at eval (magic-link.js:38:47)

Closing it as the error was on our side, some debugs were added locally and it was cached.


Feature/save disaggs ths v2

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@c15dcb0). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage        ?   43.50%
=======================================
  Files           ?       28
  Lines           ?     1848
  Branches        ?      295
=======================================
  Hits            ?      804
  Misses          ?     1011
  Partials        ?       33


drivers/fpga: ice40: timing related fixes

Commit messages should hopefully be self-explanatory.
cc #52225/@cfriedt

I will give this a shot. The original timing was working quite perfectly according to my original ice-v wireless purple-pcb prototype and oscilloscope, but it was not working on the production variant.
@arbrauns - just to clarify, I assume yours is a production variant as well, right?

Not sure what exactly you mean by "production variant", but after my modifications, I was able to flash an iCE40 UP5K successfully. Actually, it also seems to work with 300us config delay, but possibly not reliably. The second change is required as mhz-delay-count is not necessarily defined. The third change is mostly cosmetic.

Not sure what exactly you mean by "production variant", but after my modifications,

Sorry - my original reply was before :coffee: and I assumed you were flashing an icev_wireless.
The pre-production PCB's were purple / OSH park.
Are you using a separate board? Custom or publicly available? Just curious.

It's a custom, proprietary board.

@arbrauns - I applied this change although I'm still seeing issues with the ice40_wireless.
Which application processor / micro are you using to load the bitstream to the ice40? Just curious.
It's kind of unfortunate that loading the ice59 bitstream requires an out-of-spec spi quirk, and also kind of unfortunate that zephyr's spi API doesn't support quirks..

I'm using an STM32L452, with the following device tree configuration:
&spi2 {
        pinctrl-0 = <&spi2_sck_pb13 &spi2_miso_pb14 &spi2_mosi_pb15>;
        pinctrl-names = "default";
        clock-frequency = <2000000>;
        cs-gpios = <&gpioc 1 GPIO_ACTIVE_LOW>;
        status = "okay";

        ice40@0 {
                compatible = "lattice,ice40-fpga";

                reg = <0>;
                spi-max-frequency = <1000000>;

                load-mode = <0>;
                cdone-gpios = <&gpioc 13 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
                creset-gpios = <&gpiob 1 GPIO_ACTIVE_HIGH>;
        };
};

Was just on vacation for a week. Sorry for the delay. Let me take a look at this again.

I'm building with GCC 12.2.0 for the board nrf52840dk_nrf52840 and maybe other compiler versions don't do this, but here the fpga_ice40_delay() function is optimized away completely. Here's the loop for reference:
https://github.com/zephyrproject-rtos/zephyr/blob/e3ae110a05d3427647a03fcbeff4478c195c5a48/drivers/fpga/fpga_ice40.c#L124-L136
You can verify this by commenting out the for loop and checking if build/zephyr/zephyr.lst changes at all; here it doesn't.
If I add __asm__(""); to the loop body then I can see the loop is there in the listing, although it is not inlined.
(There are a few other cases of no-op loops like this in the tree).

I'm building with GCC 12.2.0 for the board nrf52840dk_nrf52840 and maybe other compiler versions don't do this, but here the fpga_ice40_delay() function is optimized away completely. Here's the loop for reference:
https://github.com/zephyrproject-rtos/zephyr/blob/e3ae110a05d3427647a03fcbeff4478c195c5a48/drivers/fpga/fpga_ice40.c#L124-L136
You can verify this by commenting out the for loop and checking if build/zephyr/zephyr.lst changes at all; here it doesn't.
If I add __asm__(""); to the loop body then I can see the loop is there in the listing, although it is not inlined.
(There are a few other cases of no-op loops like this in the tree).

Good eye - yeah, it should probably be __asm__ __volatile__ (""). Should be fine if it isn't inlined.

@arbrauns can you address the comment from @cfriedt ?

Oh, sure, I can fix that here as well. I thought it wasn't direced at me because this PR doesn't touch that part of the code.


include syntax

Rule(s) related to or rule(s) missing
There seem to be a recent change (version 2.9.0) with the way you format includes.
But this new way, valid in twig v3, makes my code fail since i use twigjs and it does not support it
can i disable this particular rule ?
Expected behavior
{% include('template.html') with vars %}

Actual behavior
{{ include('template.html', vars) }}

Hi !
I dunno twigjs ; I'm curious, is there other syntaxes which are not supported ? Is it planned to be supported ?
I'll do some investigations and maybe only add the IncludeRule conditionnally or remove it of the standard by default.
Until then you can add a config and call "removeRule" in it. There is some doc about it.

i use twigjs on my nodejs projects and dont know any other thing that are not supported.
i filed an issue, and they likely will cover this case.
by the meantime i'll use this config :
<?php

$ruleset = new TwigCsFixer\Ruleset\Ruleset();

// You can start from a default standard
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer());

// And then add/remove/override some rules
$ruleset->removeRule(TwigCsFixer\Rules\Function\IncludeFunctionRule::class);

$config = new TwigCsFixer\Config\Config();
$config->setRuleset($ruleset);

return $config;

you can close the issue if you want.